sass.dart.js 5.2 MB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549355035513552355335543555355635573558355935603561356235633564356535663567356835693570357135723573357435753576357735783579358035813582358335843585358635873588358935903591359235933594359535963597359835993600360136023603360436053606360736083609361036113612361336143615361636173618361936203621362236233624362536263627362836293630363136323633363436353636363736383639364036413642364336443645364636473648364936503651365236533654365536563657365836593660366136623663366436653666366736683669367036713672367336743675367636773678367936803681368236833684368536863687368836893690369136923693369436953696369736983699370037013702370337043705370637073708370937103711371237133714371537163717371837193720372137223723372437253726372737283729373037313732373337343735373637373738373937403741374237433744374537463747374837493750375137523753375437553756375737583759376037613762376337643765376637673768376937703771377237733774377537763777377837793780378137823783378437853786378737883789379037913792379337943795379637973798379938003801380238033804380538063807380838093810381138123813381438153816381738183819382038213822382338243825382638273828382938303831383238333834383538363837383838393840384138423843384438453846384738483849385038513852385338543855385638573858385938603861386238633864386538663867386838693870387138723873387438753876387738783879388038813882388338843885388638873888388938903891389238933894389538963897389838993900390139023903390439053906390739083909391039113912391339143915391639173918391939203921392239233924392539263927392839293930393139323933393439353936393739383939394039413942394339443945394639473948394939503951395239533954395539563957395839593960396139623963396439653966396739683969397039713972397339743975397639773978397939803981398239833984398539863987398839893990399139923993399439953996399739983999400040014002400340044005400640074008400940104011401240134014401540164017401840194020402140224023402440254026402740284029403040314032403340344035403640374038403940404041404240434044404540464047404840494050405140524053405440554056405740584059406040614062406340644065406640674068406940704071407240734074407540764077407840794080408140824083408440854086408740884089409040914092409340944095409640974098409941004101410241034104410541064107410841094110411141124113411441154116411741184119412041214122412341244125412641274128412941304131413241334134413541364137413841394140414141424143414441454146414741484149415041514152415341544155415641574158415941604161416241634164416541664167416841694170417141724173417441754176417741784179418041814182418341844185418641874188418941904191419241934194419541964197419841994200420142024203420442054206420742084209421042114212421342144215421642174218421942204221422242234224422542264227422842294230423142324233423442354236423742384239424042414242424342444245424642474248424942504251425242534254425542564257425842594260426142624263426442654266426742684269427042714272427342744275427642774278427942804281428242834284428542864287428842894290429142924293429442954296429742984299430043014302430343044305430643074308430943104311431243134314431543164317431843194320432143224323432443254326432743284329433043314332433343344335433643374338433943404341434243434344434543464347434843494350435143524353435443554356435743584359436043614362436343644365436643674368436943704371437243734374437543764377437843794380438143824383438443854386438743884389439043914392439343944395439643974398439944004401440244034404440544064407440844094410441144124413441444154416441744184419442044214422442344244425442644274428442944304431443244334434443544364437443844394440444144424443444444454446444744484449445044514452445344544455445644574458445944604461446244634464446544664467446844694470447144724473447444754476447744784479448044814482448344844485448644874488448944904491449244934494449544964497449844994500450145024503450445054506450745084509451045114512451345144515451645174518451945204521452245234524452545264527452845294530453145324533453445354536453745384539454045414542454345444545454645474548454945504551455245534554455545564557455845594560456145624563456445654566456745684569457045714572457345744575457645774578457945804581458245834584458545864587458845894590459145924593459445954596459745984599460046014602460346044605460646074608460946104611461246134614461546164617461846194620462146224623462446254626462746284629463046314632463346344635463646374638463946404641464246434644464546464647464846494650465146524653465446554656465746584659466046614662466346644665466646674668466946704671467246734674467546764677467846794680468146824683468446854686468746884689469046914692469346944695469646974698469947004701470247034704470547064707470847094710471147124713471447154716471747184719472047214722472347244725472647274728472947304731473247334734473547364737473847394740474147424743474447454746474747484749475047514752475347544755475647574758475947604761476247634764476547664767476847694770477147724773477447754776477747784779478047814782478347844785478647874788478947904791479247934794479547964797479847994800480148024803480448054806480748084809481048114812481348144815481648174818481948204821482248234824482548264827482848294830483148324833483448354836483748384839484048414842484348444845484648474848484948504851485248534854485548564857485848594860486148624863486448654866486748684869487048714872487348744875487648774878487948804881488248834884488548864887488848894890489148924893489448954896489748984899490049014902490349044905490649074908490949104911491249134914491549164917491849194920492149224923492449254926492749284929493049314932493349344935493649374938493949404941494249434944494549464947494849494950495149524953495449554956495749584959496049614962496349644965496649674968496949704971497249734974497549764977497849794980498149824983498449854986498749884989499049914992499349944995499649974998499950005001500250035004500550065007500850095010501150125013501450155016501750185019502050215022502350245025502650275028502950305031503250335034503550365037503850395040504150425043504450455046504750485049505050515052505350545055505650575058505950605061506250635064506550665067506850695070507150725073507450755076507750785079508050815082508350845085508650875088508950905091509250935094509550965097509850995100510151025103510451055106510751085109511051115112511351145115511651175118511951205121512251235124512551265127512851295130513151325133513451355136513751385139514051415142514351445145514651475148514951505151515251535154515551565157515851595160516151625163516451655166516751685169517051715172517351745175517651775178517951805181518251835184518551865187518851895190519151925193519451955196519751985199520052015202520352045205520652075208520952105211521252135214521552165217521852195220522152225223522452255226522752285229523052315232523352345235523652375238523952405241524252435244524552465247524852495250525152525253525452555256525752585259526052615262526352645265526652675268526952705271527252735274527552765277527852795280528152825283528452855286528752885289529052915292529352945295529652975298529953005301530253035304530553065307530853095310531153125313531453155316531753185319532053215322532353245325532653275328532953305331533253335334533553365337533853395340534153425343534453455346534753485349535053515352535353545355535653575358535953605361536253635364536553665367536853695370537153725373537453755376537753785379538053815382538353845385538653875388538953905391539253935394539553965397539853995400540154025403540454055406540754085409541054115412541354145415541654175418541954205421542254235424542554265427542854295430543154325433543454355436543754385439544054415442544354445445544654475448544954505451545254535454545554565457545854595460546154625463546454655466546754685469547054715472547354745475547654775478547954805481548254835484548554865487548854895490549154925493549454955496549754985499550055015502550355045505550655075508550955105511551255135514551555165517551855195520552155225523552455255526552755285529553055315532553355345535553655375538553955405541554255435544554555465547554855495550555155525553555455555556555755585559556055615562556355645565556655675568556955705571557255735574557555765577557855795580558155825583558455855586558755885589559055915592559355945595559655975598559956005601560256035604560556065607560856095610561156125613561456155616561756185619562056215622562356245625562656275628562956305631563256335634563556365637563856395640564156425643564456455646564756485649565056515652565356545655565656575658565956605661566256635664566556665667566856695670567156725673567456755676567756785679568056815682568356845685568656875688568956905691569256935694569556965697569856995700570157025703570457055706570757085709571057115712571357145715571657175718571957205721572257235724572557265727572857295730573157325733573457355736573757385739574057415742574357445745574657475748574957505751575257535754575557565757575857595760576157625763576457655766576757685769577057715772577357745775577657775778577957805781578257835784578557865787578857895790579157925793579457955796579757985799580058015802580358045805580658075808580958105811581258135814581558165817581858195820582158225823582458255826582758285829583058315832583358345835583658375838583958405841584258435844584558465847584858495850585158525853585458555856585758585859586058615862586358645865586658675868586958705871587258735874587558765877587858795880588158825883588458855886588758885889589058915892589358945895589658975898589959005901590259035904590559065907590859095910591159125913591459155916591759185919592059215922592359245925592659275928592959305931593259335934593559365937593859395940594159425943594459455946594759485949595059515952595359545955595659575958595959605961596259635964596559665967596859695970597159725973597459755976597759785979598059815982598359845985598659875988598959905991599259935994599559965997599859996000600160026003600460056006600760086009601060116012601360146015601660176018601960206021602260236024602560266027602860296030603160326033603460356036603760386039604060416042604360446045604660476048604960506051605260536054605560566057605860596060606160626063606460656066606760686069607060716072607360746075607660776078607960806081608260836084608560866087608860896090609160926093609460956096609760986099610061016102610361046105610661076108610961106111611261136114611561166117611861196120612161226123612461256126612761286129613061316132613361346135613661376138613961406141614261436144614561466147614861496150615161526153615461556156615761586159616061616162616361646165616661676168616961706171617261736174617561766177617861796180618161826183618461856186618761886189619061916192619361946195619661976198619962006201620262036204620562066207620862096210621162126213621462156216621762186219622062216222622362246225622662276228622962306231623262336234623562366237623862396240624162426243624462456246624762486249625062516252625362546255625662576258625962606261626262636264626562666267626862696270627162726273627462756276627762786279628062816282628362846285628662876288628962906291629262936294629562966297629862996300630163026303630463056306630763086309631063116312631363146315631663176318631963206321632263236324632563266327632863296330633163326333633463356336633763386339634063416342634363446345634663476348634963506351635263536354635563566357635863596360636163626363636463656366636763686369637063716372637363746375637663776378637963806381638263836384638563866387638863896390639163926393639463956396639763986399640064016402640364046405640664076408640964106411641264136414641564166417641864196420642164226423642464256426642764286429643064316432643364346435643664376438643964406441644264436444644564466447644864496450645164526453645464556456645764586459646064616462646364646465646664676468646964706471647264736474647564766477647864796480648164826483648464856486648764886489649064916492649364946495649664976498649965006501650265036504650565066507650865096510651165126513651465156516651765186519652065216522652365246525652665276528652965306531653265336534653565366537653865396540654165426543654465456546654765486549655065516552655365546555655665576558655965606561656265636564656565666567656865696570657165726573657465756576657765786579658065816582658365846585658665876588658965906591659265936594659565966597659865996600660166026603660466056606660766086609661066116612661366146615661666176618661966206621662266236624662566266627662866296630663166326633663466356636663766386639664066416642664366446645664666476648664966506651665266536654665566566657665866596660666166626663666466656666666766686669667066716672667366746675667666776678667966806681668266836684668566866687668866896690669166926693669466956696669766986699670067016702670367046705670667076708670967106711671267136714671567166717671867196720672167226723672467256726672767286729673067316732673367346735673667376738673967406741674267436744674567466747674867496750675167526753675467556756675767586759676067616762676367646765676667676768676967706771677267736774677567766777677867796780678167826783678467856786678767886789679067916792679367946795679667976798679968006801680268036804680568066807680868096810681168126813681468156816681768186819682068216822682368246825682668276828682968306831683268336834683568366837683868396840684168426843684468456846684768486849685068516852685368546855685668576858685968606861686268636864686568666867686868696870687168726873687468756876687768786879688068816882688368846885688668876888688968906891689268936894689568966897689868996900690169026903690469056906690769086909691069116912691369146915691669176918691969206921692269236924692569266927692869296930693169326933693469356936693769386939694069416942694369446945694669476948694969506951695269536954695569566957695869596960696169626963696469656966696769686969697069716972697369746975697669776978697969806981698269836984698569866987698869896990699169926993699469956996699769986999700070017002700370047005700670077008700970107011701270137014701570167017701870197020702170227023702470257026702770287029703070317032703370347035703670377038703970407041704270437044704570467047704870497050705170527053705470557056705770587059706070617062706370647065706670677068706970707071707270737074707570767077707870797080708170827083708470857086708770887089709070917092709370947095709670977098709971007101710271037104710571067107710871097110711171127113711471157116711771187119712071217122712371247125712671277128712971307131713271337134713571367137713871397140714171427143714471457146714771487149715071517152715371547155715671577158715971607161716271637164716571667167716871697170717171727173717471757176717771787179718071817182718371847185718671877188718971907191719271937194719571967197719871997200720172027203720472057206720772087209721072117212721372147215721672177218721972207221722272237224722572267227722872297230723172327233723472357236723772387239724072417242724372447245724672477248724972507251725272537254725572567257725872597260726172627263726472657266726772687269727072717272727372747275727672777278727972807281728272837284728572867287728872897290729172927293729472957296729772987299730073017302730373047305730673077308730973107311731273137314731573167317731873197320732173227323732473257326732773287329733073317332733373347335733673377338733973407341734273437344734573467347734873497350735173527353735473557356735773587359736073617362736373647365736673677368736973707371737273737374737573767377737873797380738173827383738473857386738773887389739073917392739373947395739673977398739974007401740274037404740574067407740874097410741174127413741474157416741774187419742074217422742374247425742674277428742974307431743274337434743574367437743874397440744174427443744474457446744774487449745074517452745374547455745674577458745974607461746274637464746574667467746874697470747174727473747474757476747774787479748074817482748374847485748674877488748974907491749274937494749574967497749874997500750175027503750475057506750775087509751075117512751375147515751675177518751975207521752275237524752575267527752875297530753175327533753475357536753775387539754075417542754375447545754675477548754975507551755275537554755575567557755875597560756175627563756475657566756775687569757075717572757375747575757675777578757975807581758275837584758575867587758875897590759175927593759475957596759775987599760076017602760376047605760676077608760976107611761276137614761576167617761876197620762176227623762476257626762776287629763076317632763376347635763676377638763976407641764276437644764576467647764876497650765176527653765476557656765776587659766076617662766376647665766676677668766976707671767276737674767576767677767876797680768176827683768476857686768776887689769076917692769376947695769676977698769977007701770277037704770577067707770877097710771177127713771477157716771777187719772077217722772377247725772677277728772977307731773277337734773577367737773877397740774177427743774477457746774777487749775077517752775377547755775677577758775977607761776277637764776577667767776877697770777177727773777477757776777777787779778077817782778377847785778677877788778977907791779277937794779577967797779877997800780178027803780478057806780778087809781078117812781378147815781678177818781978207821782278237824782578267827782878297830783178327833783478357836783778387839784078417842784378447845784678477848784978507851785278537854785578567857785878597860786178627863786478657866786778687869787078717872787378747875787678777878787978807881788278837884788578867887788878897890789178927893789478957896789778987899790079017902790379047905790679077908790979107911791279137914791579167917791879197920792179227923792479257926792779287929793079317932793379347935793679377938793979407941794279437944794579467947794879497950795179527953795479557956795779587959796079617962796379647965796679677968796979707971797279737974797579767977797879797980798179827983798479857986798779887989799079917992799379947995799679977998799980008001800280038004800580068007800880098010801180128013801480158016801780188019802080218022802380248025802680278028802980308031803280338034803580368037803880398040804180428043804480458046804780488049805080518052805380548055805680578058805980608061806280638064806580668067806880698070807180728073807480758076807780788079808080818082808380848085808680878088808980908091809280938094809580968097809880998100810181028103810481058106810781088109811081118112811381148115811681178118811981208121812281238124812581268127812881298130813181328133813481358136813781388139814081418142814381448145814681478148814981508151815281538154815581568157815881598160816181628163816481658166816781688169817081718172817381748175817681778178817981808181818281838184818581868187818881898190819181928193819481958196819781988199820082018202820382048205820682078208820982108211821282138214821582168217821882198220822182228223822482258226822782288229823082318232823382348235823682378238823982408241824282438244824582468247824882498250825182528253825482558256825782588259826082618262826382648265826682678268826982708271827282738274827582768277827882798280828182828283828482858286828782888289829082918292829382948295829682978298829983008301830283038304830583068307830883098310831183128313831483158316831783188319832083218322832383248325832683278328832983308331833283338334833583368337833883398340834183428343834483458346834783488349835083518352835383548355835683578358835983608361836283638364836583668367836883698370837183728373837483758376837783788379838083818382838383848385838683878388838983908391839283938394839583968397839883998400840184028403840484058406840784088409841084118412841384148415841684178418841984208421842284238424842584268427842884298430843184328433843484358436843784388439844084418442844384448445844684478448844984508451845284538454845584568457845884598460846184628463846484658466846784688469847084718472847384748475847684778478847984808481848284838484848584868487848884898490849184928493849484958496849784988499850085018502850385048505850685078508850985108511851285138514851585168517851885198520852185228523852485258526852785288529853085318532853385348535853685378538853985408541854285438544854585468547854885498550855185528553855485558556855785588559856085618562856385648565856685678568856985708571857285738574857585768577857885798580858185828583858485858586858785888589859085918592859385948595859685978598859986008601860286038604860586068607860886098610861186128613861486158616861786188619862086218622862386248625862686278628862986308631863286338634863586368637863886398640864186428643864486458646864786488649865086518652865386548655865686578658865986608661866286638664866586668667866886698670867186728673867486758676867786788679868086818682868386848685868686878688868986908691869286938694869586968697869886998700870187028703870487058706870787088709871087118712871387148715871687178718871987208721872287238724872587268727872887298730873187328733873487358736873787388739874087418742874387448745874687478748874987508751875287538754875587568757875887598760876187628763876487658766876787688769877087718772877387748775877687778778877987808781878287838784878587868787878887898790879187928793879487958796879787988799880088018802880388048805880688078808880988108811881288138814881588168817881888198820882188228823882488258826882788288829883088318832883388348835883688378838883988408841884288438844884588468847884888498850885188528853885488558856885788588859886088618862886388648865886688678868886988708871887288738874887588768877887888798880888188828883888488858886888788888889889088918892889388948895889688978898889989008901890289038904890589068907890889098910891189128913891489158916891789188919892089218922892389248925892689278928892989308931893289338934893589368937893889398940894189428943894489458946894789488949895089518952895389548955895689578958895989608961896289638964896589668967896889698970897189728973897489758976897789788979898089818982898389848985898689878988898989908991899289938994899589968997899889999000900190029003900490059006900790089009901090119012901390149015901690179018901990209021902290239024902590269027902890299030903190329033903490359036903790389039904090419042904390449045904690479048904990509051905290539054905590569057905890599060906190629063906490659066906790689069907090719072907390749075907690779078907990809081908290839084908590869087908890899090909190929093909490959096909790989099910091019102910391049105910691079108910991109111911291139114911591169117911891199120912191229123912491259126912791289129913091319132913391349135913691379138913991409141914291439144914591469147914891499150915191529153915491559156915791589159916091619162916391649165916691679168916991709171917291739174917591769177917891799180918191829183918491859186918791889189919091919192919391949195919691979198919992009201920292039204920592069207920892099210921192129213921492159216921792189219922092219222922392249225922692279228922992309231923292339234923592369237923892399240924192429243924492459246924792489249925092519252925392549255925692579258925992609261926292639264926592669267926892699270927192729273927492759276927792789279928092819282928392849285928692879288928992909291929292939294929592969297929892999300930193029303930493059306930793089309931093119312931393149315931693179318931993209321932293239324932593269327932893299330933193329333933493359336933793389339934093419342934393449345934693479348934993509351935293539354935593569357935893599360936193629363936493659366936793689369937093719372937393749375937693779378937993809381938293839384938593869387938893899390939193929393939493959396939793989399940094019402940394049405940694079408940994109411941294139414941594169417941894199420942194229423942494259426942794289429943094319432943394349435943694379438943994409441944294439444944594469447944894499450945194529453945494559456945794589459946094619462946394649465946694679468946994709471947294739474947594769477947894799480948194829483948494859486948794889489949094919492949394949495949694979498949995009501950295039504950595069507950895099510951195129513951495159516951795189519952095219522952395249525952695279528952995309531953295339534953595369537953895399540954195429543954495459546954795489549955095519552955395549555955695579558955995609561956295639564956595669567956895699570957195729573957495759576957795789579958095819582958395849585958695879588958995909591959295939594959595969597959895999600960196029603960496059606960796089609961096119612961396149615961696179618961996209621962296239624962596269627962896299630963196329633963496359636963796389639964096419642964396449645964696479648964996509651965296539654965596569657965896599660966196629663966496659666966796689669967096719672967396749675967696779678967996809681968296839684968596869687968896899690969196929693969496959696969796989699970097019702970397049705970697079708970997109711971297139714971597169717971897199720972197229723972497259726972797289729973097319732973397349735973697379738973997409741974297439744974597469747974897499750975197529753975497559756975797589759976097619762976397649765976697679768976997709771977297739774977597769777977897799780978197829783978497859786978797889789979097919792979397949795979697979798979998009801980298039804980598069807980898099810981198129813981498159816981798189819982098219822982398249825982698279828982998309831983298339834983598369837983898399840984198429843984498459846984798489849985098519852985398549855985698579858985998609861986298639864986598669867986898699870987198729873987498759876987798789879988098819882988398849885988698879888988998909891989298939894989598969897989898999900990199029903990499059906990799089909991099119912991399149915991699179918991999209921992299239924992599269927992899299930993199329933993499359936993799389939994099419942994399449945994699479948994999509951995299539954995599569957995899599960996199629963996499659966996799689969997099719972997399749975997699779978997999809981998299839984998599869987998899899990999199929993999499959996999799989999100001000110002100031000410005100061000710008100091001010011100121001310014100151001610017100181001910020100211002210023100241002510026100271002810029100301003110032100331003410035100361003710038100391004010041100421004310044100451004610047100481004910050100511005210053100541005510056100571005810059100601006110062100631006410065100661006710068100691007010071100721007310074100751007610077100781007910080100811008210083100841008510086100871008810089100901009110092100931009410095100961009710098100991010010101101021010310104101051010610107101081010910110101111011210113101141011510116101171011810119101201012110122101231012410125101261012710128101291013010131101321013310134101351013610137101381013910140101411014210143101441014510146101471014810149101501015110152101531015410155101561015710158101591016010161101621016310164101651016610167101681016910170101711017210173101741017510176101771017810179101801018110182101831018410185101861018710188101891019010191101921019310194101951019610197101981019910200102011020210203102041020510206102071020810209102101021110212102131021410215102161021710218102191022010221102221022310224102251022610227102281022910230102311023210233102341023510236102371023810239102401024110242102431024410245102461024710248102491025010251102521025310254102551025610257102581025910260102611026210263102641026510266102671026810269102701027110272102731027410275102761027710278102791028010281102821028310284102851028610287102881028910290102911029210293102941029510296102971029810299103001030110302103031030410305103061030710308103091031010311103121031310314103151031610317103181031910320103211032210323103241032510326103271032810329103301033110332103331033410335103361033710338103391034010341103421034310344103451034610347103481034910350103511035210353103541035510356103571035810359103601036110362103631036410365103661036710368103691037010371103721037310374103751037610377103781037910380103811038210383103841038510386103871038810389103901039110392103931039410395103961039710398103991040010401104021040310404104051040610407104081040910410104111041210413104141041510416104171041810419104201042110422104231042410425104261042710428104291043010431104321043310434104351043610437104381043910440104411044210443104441044510446104471044810449104501045110452104531045410455104561045710458104591046010461104621046310464104651046610467104681046910470104711047210473104741047510476104771047810479104801048110482104831048410485104861048710488104891049010491104921049310494104951049610497104981049910500105011050210503105041050510506105071050810509105101051110512105131051410515105161051710518105191052010521105221052310524105251052610527105281052910530105311053210533105341053510536105371053810539105401054110542105431054410545105461054710548105491055010551105521055310554105551055610557105581055910560105611056210563105641056510566105671056810569105701057110572105731057410575105761057710578105791058010581105821058310584105851058610587105881058910590105911059210593105941059510596105971059810599106001060110602106031060410605106061060710608106091061010611106121061310614106151061610617106181061910620106211062210623106241062510626106271062810629106301063110632106331063410635106361063710638106391064010641106421064310644106451064610647106481064910650106511065210653106541065510656106571065810659106601066110662106631066410665106661066710668106691067010671106721067310674106751067610677106781067910680106811068210683106841068510686106871068810689106901069110692106931069410695106961069710698106991070010701107021070310704107051070610707107081070910710107111071210713107141071510716107171071810719107201072110722107231072410725107261072710728107291073010731107321073310734107351073610737107381073910740107411074210743107441074510746107471074810749107501075110752107531075410755107561075710758107591076010761107621076310764107651076610767107681076910770107711077210773107741077510776107771077810779107801078110782107831078410785107861078710788107891079010791107921079310794107951079610797107981079910800108011080210803108041080510806108071080810809108101081110812108131081410815108161081710818108191082010821108221082310824108251082610827108281082910830108311083210833108341083510836108371083810839108401084110842108431084410845108461084710848108491085010851108521085310854108551085610857108581085910860108611086210863108641086510866108671086810869108701087110872108731087410875108761087710878108791088010881108821088310884108851088610887108881088910890108911089210893108941089510896108971089810899109001090110902109031090410905109061090710908109091091010911109121091310914109151091610917109181091910920109211092210923109241092510926109271092810929109301093110932109331093410935109361093710938109391094010941109421094310944109451094610947109481094910950109511095210953109541095510956109571095810959109601096110962109631096410965109661096710968109691097010971109721097310974109751097610977109781097910980109811098210983109841098510986109871098810989109901099110992109931099410995109961099710998109991100011001110021100311004110051100611007110081100911010110111101211013110141101511016110171101811019110201102111022110231102411025110261102711028110291103011031110321103311034110351103611037110381103911040110411104211043110441104511046110471104811049110501105111052110531105411055110561105711058110591106011061110621106311064110651106611067110681106911070110711107211073110741107511076110771107811079110801108111082110831108411085110861108711088110891109011091110921109311094110951109611097110981109911100111011110211103111041110511106111071110811109111101111111112111131111411115111161111711118111191112011121111221112311124111251112611127111281112911130111311113211133111341113511136111371113811139111401114111142111431114411145111461114711148111491115011151111521115311154111551115611157111581115911160111611116211163111641116511166111671116811169111701117111172111731117411175111761117711178111791118011181111821118311184111851118611187111881118911190111911119211193111941119511196111971119811199112001120111202112031120411205112061120711208112091121011211112121121311214112151121611217112181121911220112211122211223112241122511226112271122811229112301123111232112331123411235112361123711238112391124011241112421124311244112451124611247112481124911250112511125211253112541125511256112571125811259112601126111262112631126411265112661126711268112691127011271112721127311274112751127611277112781127911280112811128211283112841128511286112871128811289112901129111292112931129411295112961129711298112991130011301113021130311304113051130611307113081130911310113111131211313113141131511316113171131811319113201132111322113231132411325113261132711328113291133011331113321133311334113351133611337113381133911340113411134211343113441134511346113471134811349113501135111352113531135411355113561135711358113591136011361113621136311364113651136611367113681136911370113711137211373113741137511376113771137811379113801138111382113831138411385113861138711388113891139011391113921139311394113951139611397113981139911400114011140211403114041140511406114071140811409114101141111412114131141411415114161141711418114191142011421114221142311424114251142611427114281142911430114311143211433114341143511436114371143811439114401144111442114431144411445114461144711448114491145011451114521145311454114551145611457114581145911460114611146211463114641146511466114671146811469114701147111472114731147411475114761147711478114791148011481114821148311484114851148611487114881148911490114911149211493114941149511496114971149811499115001150111502115031150411505115061150711508115091151011511115121151311514115151151611517115181151911520115211152211523115241152511526115271152811529115301153111532115331153411535115361153711538115391154011541115421154311544115451154611547115481154911550115511155211553115541155511556115571155811559115601156111562115631156411565115661156711568115691157011571115721157311574115751157611577115781157911580115811158211583115841158511586115871158811589115901159111592115931159411595115961159711598115991160011601116021160311604116051160611607116081160911610116111161211613116141161511616116171161811619116201162111622116231162411625116261162711628116291163011631116321163311634116351163611637116381163911640116411164211643116441164511646116471164811649116501165111652116531165411655116561165711658116591166011661116621166311664116651166611667116681166911670116711167211673116741167511676116771167811679116801168111682116831168411685116861168711688116891169011691116921169311694116951169611697116981169911700117011170211703117041170511706117071170811709117101171111712117131171411715117161171711718117191172011721117221172311724117251172611727117281172911730117311173211733117341173511736117371173811739117401174111742117431174411745117461174711748117491175011751117521175311754117551175611757117581175911760117611176211763117641176511766117671176811769117701177111772117731177411775117761177711778117791178011781117821178311784117851178611787117881178911790117911179211793117941179511796117971179811799118001180111802118031180411805118061180711808118091181011811118121181311814118151181611817118181181911820118211182211823118241182511826118271182811829118301183111832118331183411835118361183711838118391184011841118421184311844118451184611847118481184911850118511185211853118541185511856118571185811859118601186111862118631186411865118661186711868118691187011871118721187311874118751187611877118781187911880118811188211883118841188511886118871188811889118901189111892118931189411895118961189711898118991190011901119021190311904119051190611907119081190911910119111191211913119141191511916119171191811919119201192111922119231192411925119261192711928119291193011931119321193311934119351193611937119381193911940119411194211943119441194511946119471194811949119501195111952119531195411955119561195711958119591196011961119621196311964119651196611967119681196911970119711197211973119741197511976119771197811979119801198111982119831198411985119861198711988119891199011991119921199311994119951199611997119981199912000120011200212003120041200512006120071200812009120101201112012120131201412015120161201712018120191202012021120221202312024120251202612027120281202912030120311203212033120341203512036120371203812039120401204112042120431204412045120461204712048120491205012051120521205312054120551205612057120581205912060120611206212063120641206512066120671206812069120701207112072120731207412075120761207712078120791208012081120821208312084120851208612087120881208912090120911209212093120941209512096120971209812099121001210112102121031210412105121061210712108121091211012111121121211312114121151211612117121181211912120121211212212123121241212512126121271212812129121301213112132121331213412135121361213712138121391214012141121421214312144121451214612147121481214912150121511215212153121541215512156121571215812159121601216112162121631216412165121661216712168121691217012171121721217312174121751217612177121781217912180121811218212183121841218512186121871218812189121901219112192121931219412195121961219712198121991220012201122021220312204122051220612207122081220912210122111221212213122141221512216122171221812219122201222112222122231222412225122261222712228122291223012231122321223312234122351223612237122381223912240122411224212243122441224512246122471224812249122501225112252122531225412255122561225712258122591226012261122621226312264122651226612267122681226912270122711227212273122741227512276122771227812279122801228112282122831228412285122861228712288122891229012291122921229312294122951229612297122981229912300123011230212303123041230512306123071230812309123101231112312123131231412315123161231712318123191232012321123221232312324123251232612327123281232912330123311233212333123341233512336123371233812339123401234112342123431234412345123461234712348123491235012351123521235312354123551235612357123581235912360123611236212363123641236512366123671236812369123701237112372123731237412375123761237712378123791238012381123821238312384123851238612387123881238912390123911239212393123941239512396123971239812399124001240112402124031240412405124061240712408124091241012411124121241312414124151241612417124181241912420124211242212423124241242512426124271242812429124301243112432124331243412435124361243712438124391244012441124421244312444124451244612447124481244912450124511245212453124541245512456124571245812459124601246112462124631246412465124661246712468124691247012471124721247312474124751247612477124781247912480124811248212483124841248512486124871248812489124901249112492124931249412495124961249712498124991250012501125021250312504125051250612507125081250912510125111251212513125141251512516125171251812519125201252112522125231252412525125261252712528125291253012531125321253312534125351253612537125381253912540125411254212543125441254512546125471254812549125501255112552125531255412555125561255712558125591256012561125621256312564125651256612567125681256912570125711257212573125741257512576125771257812579125801258112582125831258412585125861258712588125891259012591125921259312594125951259612597125981259912600126011260212603126041260512606126071260812609126101261112612126131261412615126161261712618126191262012621126221262312624126251262612627126281262912630126311263212633126341263512636126371263812639126401264112642126431264412645126461264712648126491265012651126521265312654126551265612657126581265912660126611266212663126641266512666126671266812669126701267112672126731267412675126761267712678126791268012681126821268312684126851268612687126881268912690126911269212693126941269512696126971269812699127001270112702127031270412705127061270712708127091271012711127121271312714127151271612717127181271912720127211272212723127241272512726127271272812729127301273112732127331273412735127361273712738127391274012741127421274312744127451274612747127481274912750127511275212753127541275512756127571275812759127601276112762127631276412765127661276712768127691277012771127721277312774127751277612777127781277912780127811278212783127841278512786127871278812789127901279112792127931279412795127961279712798127991280012801128021280312804128051280612807128081280912810128111281212813128141281512816128171281812819128201282112822128231282412825128261282712828128291283012831128321283312834128351283612837128381283912840128411284212843128441284512846128471284812849128501285112852128531285412855128561285712858128591286012861128621286312864128651286612867128681286912870128711287212873128741287512876128771287812879128801288112882128831288412885128861288712888128891289012891128921289312894128951289612897128981289912900129011290212903129041290512906129071290812909129101291112912129131291412915129161291712918129191292012921129221292312924129251292612927129281292912930129311293212933129341293512936129371293812939129401294112942129431294412945129461294712948129491295012951129521295312954129551295612957129581295912960129611296212963129641296512966129671296812969129701297112972129731297412975129761297712978129791298012981129821298312984129851298612987129881298912990129911299212993129941299512996129971299812999130001300113002130031300413005130061300713008130091301013011130121301313014130151301613017130181301913020130211302213023130241302513026130271302813029130301303113032130331303413035130361303713038130391304013041130421304313044130451304613047130481304913050130511305213053130541305513056130571305813059130601306113062130631306413065130661306713068130691307013071130721307313074130751307613077130781307913080130811308213083130841308513086130871308813089130901309113092130931309413095130961309713098130991310013101131021310313104131051310613107131081310913110131111311213113131141311513116131171311813119131201312113122131231312413125131261312713128131291313013131131321313313134131351313613137131381313913140131411314213143131441314513146131471314813149131501315113152131531315413155131561315713158131591316013161131621316313164131651316613167131681316913170131711317213173131741317513176131771317813179131801318113182131831318413185131861318713188131891319013191131921319313194131951319613197131981319913200132011320213203132041320513206132071320813209132101321113212132131321413215132161321713218132191322013221132221322313224132251322613227132281322913230132311323213233132341323513236132371323813239132401324113242132431324413245132461324713248132491325013251132521325313254132551325613257132581325913260132611326213263132641326513266132671326813269132701327113272132731327413275132761327713278132791328013281132821328313284132851328613287132881328913290132911329213293132941329513296132971329813299133001330113302133031330413305133061330713308133091331013311133121331313314133151331613317133181331913320133211332213323133241332513326133271332813329133301333113332133331333413335133361333713338133391334013341133421334313344133451334613347133481334913350133511335213353133541335513356133571335813359133601336113362133631336413365133661336713368133691337013371133721337313374133751337613377133781337913380133811338213383133841338513386133871338813389133901339113392133931339413395133961339713398133991340013401134021340313404134051340613407134081340913410134111341213413134141341513416134171341813419134201342113422134231342413425134261342713428134291343013431134321343313434134351343613437134381343913440134411344213443134441344513446134471344813449134501345113452134531345413455134561345713458134591346013461134621346313464134651346613467134681346913470134711347213473134741347513476134771347813479134801348113482134831348413485134861348713488134891349013491134921349313494134951349613497134981349913500135011350213503135041350513506135071350813509135101351113512135131351413515135161351713518135191352013521135221352313524135251352613527135281352913530135311353213533135341353513536135371353813539135401354113542135431354413545135461354713548135491355013551135521355313554135551355613557135581355913560135611356213563135641356513566135671356813569135701357113572135731357413575135761357713578135791358013581135821358313584135851358613587135881358913590135911359213593135941359513596135971359813599136001360113602136031360413605136061360713608136091361013611136121361313614136151361613617136181361913620136211362213623136241362513626136271362813629136301363113632136331363413635136361363713638136391364013641136421364313644136451364613647136481364913650136511365213653136541365513656136571365813659136601366113662136631366413665136661366713668136691367013671136721367313674136751367613677136781367913680136811368213683136841368513686136871368813689136901369113692136931369413695136961369713698136991370013701137021370313704137051370613707137081370913710137111371213713137141371513716137171371813719137201372113722137231372413725137261372713728137291373013731137321373313734137351373613737137381373913740137411374213743137441374513746137471374813749137501375113752137531375413755137561375713758137591376013761137621376313764137651376613767137681376913770137711377213773137741377513776137771377813779137801378113782137831378413785137861378713788137891379013791137921379313794137951379613797137981379913800138011380213803138041380513806138071380813809138101381113812138131381413815138161381713818138191382013821138221382313824138251382613827138281382913830138311383213833138341383513836138371383813839138401384113842138431384413845138461384713848138491385013851138521385313854138551385613857138581385913860138611386213863138641386513866138671386813869138701387113872138731387413875138761387713878138791388013881138821388313884138851388613887138881388913890138911389213893138941389513896138971389813899139001390113902139031390413905139061390713908139091391013911139121391313914139151391613917139181391913920139211392213923139241392513926139271392813929139301393113932139331393413935139361393713938139391394013941139421394313944139451394613947139481394913950139511395213953139541395513956139571395813959139601396113962139631396413965139661396713968139691397013971139721397313974139751397613977139781397913980139811398213983139841398513986139871398813989139901399113992139931399413995139961399713998139991400014001140021400314004140051400614007140081400914010140111401214013140141401514016140171401814019140201402114022140231402414025140261402714028140291403014031140321403314034140351403614037140381403914040140411404214043140441404514046140471404814049140501405114052140531405414055140561405714058140591406014061140621406314064140651406614067140681406914070140711407214073140741407514076140771407814079140801408114082140831408414085140861408714088140891409014091140921409314094140951409614097140981409914100141011410214103141041410514106141071410814109141101411114112141131411414115141161411714118141191412014121141221412314124141251412614127141281412914130141311413214133141341413514136141371413814139141401414114142141431414414145141461414714148141491415014151141521415314154141551415614157141581415914160141611416214163141641416514166141671416814169141701417114172141731417414175141761417714178141791418014181141821418314184141851418614187141881418914190141911419214193141941419514196141971419814199142001420114202142031420414205142061420714208142091421014211142121421314214142151421614217142181421914220142211422214223142241422514226142271422814229142301423114232142331423414235142361423714238142391424014241142421424314244142451424614247142481424914250142511425214253142541425514256142571425814259142601426114262142631426414265142661426714268142691427014271142721427314274142751427614277142781427914280142811428214283142841428514286142871428814289142901429114292142931429414295142961429714298142991430014301143021430314304143051430614307143081430914310143111431214313143141431514316143171431814319143201432114322143231432414325143261432714328143291433014331143321433314334143351433614337143381433914340143411434214343143441434514346143471434814349143501435114352143531435414355143561435714358143591436014361143621436314364143651436614367143681436914370143711437214373143741437514376143771437814379143801438114382143831438414385143861438714388143891439014391143921439314394143951439614397143981439914400144011440214403144041440514406144071440814409144101441114412144131441414415144161441714418144191442014421144221442314424144251442614427144281442914430144311443214433144341443514436144371443814439144401444114442144431444414445144461444714448144491445014451144521445314454144551445614457144581445914460144611446214463144641446514466144671446814469144701447114472144731447414475144761447714478144791448014481144821448314484144851448614487144881448914490144911449214493144941449514496144971449814499145001450114502145031450414505145061450714508145091451014511145121451314514145151451614517145181451914520145211452214523145241452514526145271452814529145301453114532145331453414535145361453714538145391454014541145421454314544145451454614547145481454914550145511455214553145541455514556145571455814559145601456114562145631456414565145661456714568145691457014571145721457314574145751457614577145781457914580145811458214583145841458514586145871458814589145901459114592145931459414595145961459714598145991460014601146021460314604146051460614607146081460914610146111461214613146141461514616146171461814619146201462114622146231462414625146261462714628146291463014631146321463314634146351463614637146381463914640146411464214643146441464514646146471464814649146501465114652146531465414655146561465714658146591466014661146621466314664146651466614667146681466914670146711467214673146741467514676146771467814679146801468114682146831468414685146861468714688146891469014691146921469314694146951469614697146981469914700147011470214703147041470514706147071470814709147101471114712147131471414715147161471714718147191472014721147221472314724147251472614727147281472914730147311473214733147341473514736147371473814739147401474114742147431474414745147461474714748147491475014751147521475314754147551475614757147581475914760147611476214763147641476514766147671476814769147701477114772147731477414775147761477714778147791478014781147821478314784147851478614787147881478914790147911479214793147941479514796147971479814799148001480114802148031480414805148061480714808148091481014811148121481314814148151481614817148181481914820148211482214823148241482514826148271482814829148301483114832148331483414835148361483714838148391484014841148421484314844148451484614847148481484914850148511485214853148541485514856148571485814859148601486114862148631486414865148661486714868148691487014871148721487314874148751487614877148781487914880148811488214883148841488514886148871488814889148901489114892148931489414895148961489714898148991490014901149021490314904149051490614907149081490914910149111491214913149141491514916149171491814919149201492114922149231492414925149261492714928149291493014931149321493314934149351493614937149381493914940149411494214943149441494514946149471494814949149501495114952149531495414955149561495714958149591496014961149621496314964149651496614967149681496914970149711497214973149741497514976149771497814979149801498114982149831498414985149861498714988149891499014991149921499314994149951499614997149981499915000150011500215003150041500515006150071500815009150101501115012150131501415015150161501715018150191502015021150221502315024150251502615027150281502915030150311503215033150341503515036150371503815039150401504115042150431504415045150461504715048150491505015051150521505315054150551505615057150581505915060150611506215063150641506515066150671506815069150701507115072150731507415075150761507715078150791508015081150821508315084150851508615087150881508915090150911509215093150941509515096150971509815099151001510115102151031510415105151061510715108151091511015111151121511315114151151511615117151181511915120151211512215123151241512515126151271512815129151301513115132151331513415135151361513715138151391514015141151421514315144151451514615147151481514915150151511515215153151541515515156151571515815159151601516115162151631516415165151661516715168151691517015171151721517315174151751517615177151781517915180151811518215183151841518515186151871518815189151901519115192151931519415195151961519715198151991520015201152021520315204152051520615207152081520915210152111521215213152141521515216152171521815219152201522115222152231522415225152261522715228152291523015231152321523315234152351523615237152381523915240152411524215243152441524515246152471524815249152501525115252152531525415255152561525715258152591526015261152621526315264152651526615267152681526915270152711527215273152741527515276152771527815279152801528115282152831528415285152861528715288152891529015291152921529315294152951529615297152981529915300153011530215303153041530515306153071530815309153101531115312153131531415315153161531715318153191532015321153221532315324153251532615327153281532915330153311533215333153341533515336153371533815339153401534115342153431534415345153461534715348153491535015351153521535315354153551535615357153581535915360153611536215363153641536515366153671536815369153701537115372153731537415375153761537715378153791538015381153821538315384153851538615387153881538915390153911539215393153941539515396153971539815399154001540115402154031540415405154061540715408154091541015411154121541315414154151541615417154181541915420154211542215423154241542515426154271542815429154301543115432154331543415435154361543715438154391544015441154421544315444154451544615447154481544915450154511545215453154541545515456154571545815459154601546115462154631546415465154661546715468154691547015471154721547315474154751547615477154781547915480154811548215483154841548515486154871548815489154901549115492154931549415495154961549715498154991550015501155021550315504155051550615507155081550915510155111551215513155141551515516155171551815519155201552115522155231552415525155261552715528155291553015531155321553315534155351553615537155381553915540155411554215543155441554515546155471554815549155501555115552155531555415555155561555715558155591556015561155621556315564155651556615567155681556915570155711557215573155741557515576155771557815579155801558115582155831558415585155861558715588155891559015591155921559315594155951559615597155981559915600156011560215603156041560515606156071560815609156101561115612156131561415615156161561715618156191562015621156221562315624156251562615627156281562915630156311563215633156341563515636156371563815639156401564115642156431564415645156461564715648156491565015651156521565315654156551565615657156581565915660156611566215663156641566515666156671566815669156701567115672156731567415675156761567715678156791568015681156821568315684156851568615687156881568915690156911569215693156941569515696156971569815699157001570115702157031570415705157061570715708157091571015711157121571315714157151571615717157181571915720157211572215723157241572515726157271572815729157301573115732157331573415735157361573715738157391574015741157421574315744157451574615747157481574915750157511575215753157541575515756157571575815759157601576115762157631576415765157661576715768157691577015771157721577315774157751577615777157781577915780157811578215783157841578515786157871578815789157901579115792157931579415795157961579715798157991580015801158021580315804158051580615807158081580915810158111581215813158141581515816158171581815819158201582115822158231582415825158261582715828158291583015831158321583315834158351583615837158381583915840158411584215843158441584515846158471584815849158501585115852158531585415855158561585715858158591586015861158621586315864158651586615867158681586915870158711587215873158741587515876158771587815879158801588115882158831588415885158861588715888158891589015891158921589315894158951589615897158981589915900159011590215903159041590515906159071590815909159101591115912159131591415915159161591715918159191592015921159221592315924159251592615927159281592915930159311593215933159341593515936159371593815939159401594115942159431594415945159461594715948159491595015951159521595315954159551595615957159581595915960159611596215963159641596515966159671596815969159701597115972159731597415975159761597715978159791598015981159821598315984159851598615987159881598915990159911599215993159941599515996159971599815999160001600116002160031600416005160061600716008160091601016011160121601316014160151601616017160181601916020160211602216023160241602516026160271602816029160301603116032160331603416035160361603716038160391604016041160421604316044160451604616047160481604916050160511605216053160541605516056160571605816059160601606116062160631606416065160661606716068160691607016071160721607316074160751607616077160781607916080160811608216083160841608516086160871608816089160901609116092160931609416095160961609716098160991610016101161021610316104161051610616107161081610916110161111611216113161141611516116161171611816119161201612116122161231612416125161261612716128161291613016131161321613316134161351613616137161381613916140161411614216143161441614516146161471614816149161501615116152161531615416155161561615716158161591616016161161621616316164161651616616167161681616916170161711617216173161741617516176161771617816179161801618116182161831618416185161861618716188161891619016191161921619316194161951619616197161981619916200162011620216203162041620516206162071620816209162101621116212162131621416215162161621716218162191622016221162221622316224162251622616227162281622916230162311623216233162341623516236162371623816239162401624116242162431624416245162461624716248162491625016251162521625316254162551625616257162581625916260162611626216263162641626516266162671626816269162701627116272162731627416275162761627716278162791628016281162821628316284162851628616287162881628916290162911629216293162941629516296162971629816299163001630116302163031630416305163061630716308163091631016311163121631316314163151631616317163181631916320163211632216323163241632516326163271632816329163301633116332163331633416335163361633716338163391634016341163421634316344163451634616347163481634916350163511635216353163541635516356163571635816359163601636116362163631636416365163661636716368163691637016371163721637316374163751637616377163781637916380163811638216383163841638516386163871638816389163901639116392163931639416395163961639716398163991640016401164021640316404164051640616407164081640916410164111641216413164141641516416164171641816419164201642116422164231642416425164261642716428164291643016431164321643316434164351643616437164381643916440164411644216443164441644516446164471644816449164501645116452164531645416455164561645716458164591646016461164621646316464164651646616467164681646916470164711647216473164741647516476164771647816479164801648116482164831648416485164861648716488164891649016491164921649316494164951649616497164981649916500165011650216503165041650516506165071650816509165101651116512165131651416515165161651716518165191652016521165221652316524165251652616527165281652916530165311653216533165341653516536165371653816539165401654116542165431654416545165461654716548165491655016551165521655316554165551655616557165581655916560165611656216563165641656516566165671656816569165701657116572165731657416575165761657716578165791658016581165821658316584165851658616587165881658916590165911659216593165941659516596165971659816599166001660116602166031660416605166061660716608166091661016611166121661316614166151661616617166181661916620166211662216623166241662516626166271662816629166301663116632166331663416635166361663716638166391664016641166421664316644166451664616647166481664916650166511665216653166541665516656166571665816659166601666116662166631666416665166661666716668166691667016671166721667316674166751667616677166781667916680166811668216683166841668516686166871668816689166901669116692166931669416695166961669716698166991670016701167021670316704167051670616707167081670916710167111671216713167141671516716167171671816719167201672116722167231672416725167261672716728167291673016731167321673316734167351673616737167381673916740167411674216743167441674516746167471674816749167501675116752167531675416755167561675716758167591676016761167621676316764167651676616767167681676916770167711677216773167741677516776167771677816779167801678116782167831678416785167861678716788167891679016791167921679316794167951679616797167981679916800168011680216803168041680516806168071680816809168101681116812168131681416815168161681716818168191682016821168221682316824168251682616827168281682916830168311683216833168341683516836168371683816839168401684116842168431684416845168461684716848168491685016851168521685316854168551685616857168581685916860168611686216863168641686516866168671686816869168701687116872168731687416875168761687716878168791688016881168821688316884168851688616887168881688916890168911689216893168941689516896168971689816899169001690116902169031690416905169061690716908169091691016911169121691316914169151691616917169181691916920169211692216923169241692516926169271692816929169301693116932169331693416935169361693716938169391694016941169421694316944169451694616947169481694916950169511695216953169541695516956169571695816959169601696116962169631696416965169661696716968169691697016971169721697316974169751697616977169781697916980169811698216983169841698516986169871698816989169901699116992169931699416995169961699716998169991700017001170021700317004170051700617007170081700917010170111701217013170141701517016170171701817019170201702117022170231702417025170261702717028170291703017031170321703317034170351703617037170381703917040170411704217043170441704517046170471704817049170501705117052170531705417055170561705717058170591706017061170621706317064170651706617067170681706917070170711707217073170741707517076170771707817079170801708117082170831708417085170861708717088170891709017091170921709317094170951709617097170981709917100171011710217103171041710517106171071710817109171101711117112171131711417115171161711717118171191712017121171221712317124171251712617127171281712917130171311713217133171341713517136171371713817139171401714117142171431714417145171461714717148171491715017151171521715317154171551715617157171581715917160171611716217163171641716517166171671716817169171701717117172171731717417175171761717717178171791718017181171821718317184171851718617187171881718917190171911719217193171941719517196171971719817199172001720117202172031720417205172061720717208172091721017211172121721317214172151721617217172181721917220172211722217223172241722517226172271722817229172301723117232172331723417235172361723717238172391724017241172421724317244172451724617247172481724917250172511725217253172541725517256172571725817259172601726117262172631726417265172661726717268172691727017271172721727317274172751727617277172781727917280172811728217283172841728517286172871728817289172901729117292172931729417295172961729717298172991730017301173021730317304173051730617307173081730917310173111731217313173141731517316173171731817319173201732117322173231732417325173261732717328173291733017331173321733317334173351733617337173381733917340173411734217343173441734517346173471734817349173501735117352173531735417355173561735717358173591736017361173621736317364173651736617367173681736917370173711737217373173741737517376173771737817379173801738117382173831738417385173861738717388173891739017391173921739317394173951739617397173981739917400174011740217403174041740517406174071740817409174101741117412174131741417415174161741717418174191742017421174221742317424174251742617427174281742917430174311743217433174341743517436174371743817439174401744117442174431744417445174461744717448174491745017451174521745317454174551745617457174581745917460174611746217463174641746517466174671746817469174701747117472174731747417475174761747717478174791748017481174821748317484174851748617487174881748917490174911749217493174941749517496174971749817499175001750117502175031750417505175061750717508175091751017511175121751317514175151751617517175181751917520175211752217523175241752517526175271752817529175301753117532175331753417535175361753717538175391754017541175421754317544175451754617547175481754917550175511755217553175541755517556175571755817559175601756117562175631756417565175661756717568175691757017571175721757317574175751757617577175781757917580175811758217583175841758517586175871758817589175901759117592175931759417595175961759717598175991760017601176021760317604176051760617607176081760917610176111761217613176141761517616176171761817619176201762117622176231762417625176261762717628176291763017631176321763317634176351763617637176381763917640176411764217643176441764517646176471764817649176501765117652176531765417655176561765717658176591766017661176621766317664176651766617667176681766917670176711767217673176741767517676176771767817679176801768117682176831768417685176861768717688176891769017691176921769317694176951769617697176981769917700177011770217703177041770517706177071770817709177101771117712177131771417715177161771717718177191772017721177221772317724177251772617727177281772917730177311773217733177341773517736177371773817739177401774117742177431774417745177461774717748177491775017751177521775317754177551775617757177581775917760177611776217763177641776517766177671776817769177701777117772177731777417775177761777717778177791778017781177821778317784177851778617787177881778917790177911779217793177941779517796177971779817799178001780117802178031780417805178061780717808178091781017811178121781317814178151781617817178181781917820178211782217823178241782517826178271782817829178301783117832178331783417835178361783717838178391784017841178421784317844178451784617847178481784917850178511785217853178541785517856178571785817859178601786117862178631786417865178661786717868178691787017871178721787317874178751787617877178781787917880178811788217883178841788517886178871788817889178901789117892178931789417895178961789717898178991790017901179021790317904179051790617907179081790917910179111791217913179141791517916179171791817919179201792117922179231792417925179261792717928179291793017931179321793317934179351793617937179381793917940179411794217943179441794517946179471794817949179501795117952179531795417955179561795717958179591796017961179621796317964179651796617967179681796917970179711797217973179741797517976179771797817979179801798117982179831798417985179861798717988179891799017991179921799317994179951799617997179981799918000180011800218003180041800518006180071800818009180101801118012180131801418015180161801718018180191802018021180221802318024180251802618027180281802918030180311803218033180341803518036180371803818039180401804118042180431804418045180461804718048180491805018051180521805318054180551805618057180581805918060180611806218063180641806518066180671806818069180701807118072180731807418075180761807718078180791808018081180821808318084180851808618087180881808918090180911809218093180941809518096180971809818099181001810118102181031810418105181061810718108181091811018111181121811318114181151811618117181181811918120181211812218123181241812518126181271812818129181301813118132181331813418135181361813718138181391814018141181421814318144181451814618147181481814918150181511815218153181541815518156181571815818159181601816118162181631816418165181661816718168181691817018171181721817318174181751817618177181781817918180181811818218183181841818518186181871818818189181901819118192181931819418195181961819718198181991820018201182021820318204182051820618207182081820918210182111821218213182141821518216182171821818219182201822118222182231822418225182261822718228182291823018231182321823318234182351823618237182381823918240182411824218243182441824518246182471824818249182501825118252182531825418255182561825718258182591826018261182621826318264182651826618267182681826918270182711827218273182741827518276182771827818279182801828118282182831828418285182861828718288182891829018291182921829318294182951829618297182981829918300183011830218303183041830518306183071830818309183101831118312183131831418315183161831718318183191832018321183221832318324183251832618327183281832918330183311833218333183341833518336183371833818339183401834118342183431834418345183461834718348183491835018351183521835318354183551835618357183581835918360183611836218363183641836518366183671836818369183701837118372183731837418375183761837718378183791838018381183821838318384183851838618387183881838918390183911839218393183941839518396183971839818399184001840118402184031840418405184061840718408184091841018411184121841318414184151841618417184181841918420184211842218423184241842518426184271842818429184301843118432184331843418435184361843718438184391844018441184421844318444184451844618447184481844918450184511845218453184541845518456184571845818459184601846118462184631846418465184661846718468184691847018471184721847318474184751847618477184781847918480184811848218483184841848518486184871848818489184901849118492184931849418495184961849718498184991850018501185021850318504185051850618507185081850918510185111851218513185141851518516185171851818519185201852118522185231852418525185261852718528185291853018531185321853318534185351853618537185381853918540185411854218543185441854518546185471854818549185501855118552185531855418555185561855718558185591856018561185621856318564185651856618567185681856918570185711857218573185741857518576185771857818579185801858118582185831858418585185861858718588185891859018591185921859318594185951859618597185981859918600186011860218603186041860518606186071860818609186101861118612186131861418615186161861718618186191862018621186221862318624186251862618627186281862918630186311863218633186341863518636186371863818639186401864118642186431864418645186461864718648186491865018651186521865318654186551865618657186581865918660186611866218663186641866518666186671866818669186701867118672186731867418675186761867718678186791868018681186821868318684186851868618687186881868918690186911869218693186941869518696186971869818699187001870118702187031870418705187061870718708187091871018711187121871318714187151871618717187181871918720187211872218723187241872518726187271872818729187301873118732187331873418735187361873718738187391874018741187421874318744187451874618747187481874918750187511875218753187541875518756187571875818759187601876118762187631876418765187661876718768187691877018771187721877318774187751877618777187781877918780187811878218783187841878518786187871878818789187901879118792187931879418795187961879718798187991880018801188021880318804188051880618807188081880918810188111881218813188141881518816188171881818819188201882118822188231882418825188261882718828188291883018831188321883318834188351883618837188381883918840188411884218843188441884518846188471884818849188501885118852188531885418855188561885718858188591886018861188621886318864188651886618867188681886918870188711887218873188741887518876188771887818879188801888118882188831888418885188861888718888188891889018891188921889318894188951889618897188981889918900189011890218903189041890518906189071890818909189101891118912189131891418915189161891718918189191892018921189221892318924189251892618927189281892918930189311893218933189341893518936189371893818939189401894118942189431894418945189461894718948189491895018951189521895318954189551895618957189581895918960189611896218963189641896518966189671896818969189701897118972189731897418975189761897718978189791898018981189821898318984189851898618987189881898918990189911899218993189941899518996189971899818999190001900119002190031900419005190061900719008190091901019011190121901319014190151901619017190181901919020190211902219023190241902519026190271902819029190301903119032190331903419035190361903719038190391904019041190421904319044190451904619047190481904919050190511905219053190541905519056190571905819059190601906119062190631906419065190661906719068190691907019071190721907319074190751907619077190781907919080190811908219083190841908519086190871908819089190901909119092190931909419095190961909719098190991910019101191021910319104191051910619107191081910919110191111911219113191141911519116191171911819119191201912119122191231912419125191261912719128191291913019131191321913319134191351913619137191381913919140191411914219143191441914519146191471914819149191501915119152191531915419155191561915719158191591916019161191621916319164191651916619167191681916919170191711917219173191741917519176191771917819179191801918119182191831918419185191861918719188191891919019191191921919319194191951919619197191981919919200192011920219203192041920519206192071920819209192101921119212192131921419215192161921719218192191922019221192221922319224192251922619227192281922919230192311923219233192341923519236192371923819239192401924119242192431924419245192461924719248192491925019251192521925319254192551925619257192581925919260192611926219263192641926519266192671926819269192701927119272192731927419275192761927719278192791928019281192821928319284192851928619287192881928919290192911929219293192941929519296192971929819299193001930119302193031930419305193061930719308193091931019311193121931319314193151931619317193181931919320193211932219323193241932519326193271932819329193301933119332193331933419335193361933719338193391934019341193421934319344193451934619347193481934919350193511935219353193541935519356193571935819359193601936119362193631936419365193661936719368193691937019371193721937319374193751937619377193781937919380193811938219383193841938519386193871938819389193901939119392193931939419395193961939719398193991940019401194021940319404194051940619407194081940919410194111941219413194141941519416194171941819419194201942119422194231942419425194261942719428194291943019431194321943319434194351943619437194381943919440194411944219443194441944519446194471944819449194501945119452194531945419455194561945719458194591946019461194621946319464194651946619467194681946919470194711947219473194741947519476194771947819479194801948119482194831948419485194861948719488194891949019491194921949319494194951949619497194981949919500195011950219503195041950519506195071950819509195101951119512195131951419515195161951719518195191952019521195221952319524195251952619527195281952919530195311953219533195341953519536195371953819539195401954119542195431954419545195461954719548195491955019551195521955319554195551955619557195581955919560195611956219563195641956519566195671956819569195701957119572195731957419575195761957719578195791958019581195821958319584195851958619587195881958919590195911959219593195941959519596195971959819599196001960119602196031960419605196061960719608196091961019611196121961319614196151961619617196181961919620196211962219623196241962519626196271962819629196301963119632196331963419635196361963719638196391964019641196421964319644196451964619647196481964919650196511965219653196541965519656196571965819659196601966119662196631966419665196661966719668196691967019671196721967319674196751967619677196781967919680196811968219683196841968519686196871968819689196901969119692196931969419695196961969719698196991970019701197021970319704197051970619707197081970919710197111971219713197141971519716197171971819719197201972119722197231972419725197261972719728197291973019731197321973319734197351973619737197381973919740197411974219743197441974519746197471974819749197501975119752197531975419755197561975719758197591976019761197621976319764197651976619767197681976919770197711977219773197741977519776197771977819779197801978119782197831978419785197861978719788197891979019791197921979319794197951979619797197981979919800198011980219803198041980519806198071980819809198101981119812198131981419815198161981719818198191982019821198221982319824198251982619827198281982919830198311983219833198341983519836198371983819839198401984119842198431984419845198461984719848198491985019851198521985319854198551985619857198581985919860198611986219863198641986519866198671986819869198701987119872198731987419875198761987719878198791988019881198821988319884198851988619887198881988919890198911989219893198941989519896198971989819899199001990119902199031990419905199061990719908199091991019911199121991319914199151991619917199181991919920199211992219923199241992519926199271992819929199301993119932199331993419935199361993719938199391994019941199421994319944199451994619947199481994919950199511995219953199541995519956199571995819959199601996119962199631996419965199661996719968199691997019971199721997319974199751997619977199781997919980199811998219983199841998519986199871998819989199901999119992199931999419995199961999719998199992000020001200022000320004200052000620007200082000920010200112001220013200142001520016200172001820019200202002120022200232002420025200262002720028200292003020031200322003320034200352003620037200382003920040200412004220043200442004520046200472004820049200502005120052200532005420055200562005720058200592006020061200622006320064200652006620067200682006920070200712007220073200742007520076200772007820079200802008120082200832008420085200862008720088200892009020091200922009320094200952009620097200982009920100201012010220103201042010520106201072010820109201102011120112201132011420115201162011720118201192012020121201222012320124201252012620127201282012920130201312013220133201342013520136201372013820139201402014120142201432014420145201462014720148201492015020151201522015320154201552015620157201582015920160201612016220163201642016520166201672016820169201702017120172201732017420175201762017720178201792018020181201822018320184201852018620187201882018920190201912019220193201942019520196201972019820199202002020120202202032020420205202062020720208202092021020211202122021320214202152021620217202182021920220202212022220223202242022520226202272022820229202302023120232202332023420235202362023720238202392024020241202422024320244202452024620247202482024920250202512025220253202542025520256202572025820259202602026120262202632026420265202662026720268202692027020271202722027320274202752027620277202782027920280202812028220283202842028520286202872028820289202902029120292202932029420295202962029720298202992030020301203022030320304203052030620307203082030920310203112031220313203142031520316203172031820319203202032120322203232032420325203262032720328203292033020331203322033320334203352033620337203382033920340203412034220343203442034520346203472034820349203502035120352203532035420355203562035720358203592036020361203622036320364203652036620367203682036920370203712037220373203742037520376203772037820379203802038120382203832038420385203862038720388203892039020391203922039320394203952039620397203982039920400204012040220403204042040520406204072040820409204102041120412204132041420415204162041720418204192042020421204222042320424204252042620427204282042920430204312043220433204342043520436204372043820439204402044120442204432044420445204462044720448204492045020451204522045320454204552045620457204582045920460204612046220463204642046520466204672046820469204702047120472204732047420475204762047720478204792048020481204822048320484204852048620487204882048920490204912049220493204942049520496204972049820499205002050120502205032050420505205062050720508205092051020511205122051320514205152051620517205182051920520205212052220523205242052520526205272052820529205302053120532205332053420535205362053720538205392054020541205422054320544205452054620547205482054920550205512055220553205542055520556205572055820559205602056120562205632056420565205662056720568205692057020571205722057320574205752057620577205782057920580205812058220583205842058520586205872058820589205902059120592205932059420595205962059720598205992060020601206022060320604206052060620607206082060920610206112061220613206142061520616206172061820619206202062120622206232062420625206262062720628206292063020631206322063320634206352063620637206382063920640206412064220643206442064520646206472064820649206502065120652206532065420655206562065720658206592066020661206622066320664206652066620667206682066920670206712067220673206742067520676206772067820679206802068120682206832068420685206862068720688206892069020691206922069320694206952069620697206982069920700207012070220703207042070520706207072070820709207102071120712207132071420715207162071720718207192072020721207222072320724207252072620727207282072920730207312073220733207342073520736207372073820739207402074120742207432074420745207462074720748207492075020751207522075320754207552075620757207582075920760207612076220763207642076520766207672076820769207702077120772207732077420775207762077720778207792078020781207822078320784207852078620787207882078920790207912079220793207942079520796207972079820799208002080120802208032080420805208062080720808208092081020811208122081320814208152081620817208182081920820208212082220823208242082520826208272082820829208302083120832208332083420835208362083720838208392084020841208422084320844208452084620847208482084920850208512085220853208542085520856208572085820859208602086120862208632086420865208662086720868208692087020871208722087320874208752087620877208782087920880208812088220883208842088520886208872088820889208902089120892208932089420895208962089720898208992090020901209022090320904209052090620907209082090920910209112091220913209142091520916209172091820919209202092120922209232092420925209262092720928209292093020931209322093320934209352093620937209382093920940209412094220943209442094520946209472094820949209502095120952209532095420955209562095720958209592096020961209622096320964209652096620967209682096920970209712097220973209742097520976209772097820979209802098120982209832098420985209862098720988209892099020991209922099320994209952099620997209982099921000210012100221003210042100521006210072100821009210102101121012210132101421015210162101721018210192102021021210222102321024210252102621027210282102921030210312103221033210342103521036210372103821039210402104121042210432104421045210462104721048210492105021051210522105321054210552105621057210582105921060210612106221063210642106521066210672106821069210702107121072210732107421075210762107721078210792108021081210822108321084210852108621087210882108921090210912109221093210942109521096210972109821099211002110121102211032110421105211062110721108211092111021111211122111321114211152111621117211182111921120211212112221123211242112521126211272112821129211302113121132211332113421135211362113721138211392114021141211422114321144211452114621147211482114921150211512115221153211542115521156211572115821159211602116121162211632116421165211662116721168211692117021171211722117321174211752117621177211782117921180211812118221183211842118521186211872118821189211902119121192211932119421195211962119721198211992120021201212022120321204212052120621207212082120921210212112121221213212142121521216212172121821219212202122121222212232122421225212262122721228212292123021231212322123321234212352123621237212382123921240212412124221243212442124521246212472124821249212502125121252212532125421255212562125721258212592126021261212622126321264212652126621267212682126921270212712127221273212742127521276212772127821279212802128121282212832128421285212862128721288212892129021291212922129321294212952129621297212982129921300213012130221303213042130521306213072130821309213102131121312213132131421315213162131721318213192132021321213222132321324213252132621327213282132921330213312133221333213342133521336213372133821339213402134121342213432134421345213462134721348213492135021351213522135321354213552135621357213582135921360213612136221363213642136521366213672136821369213702137121372213732137421375213762137721378213792138021381213822138321384213852138621387213882138921390213912139221393213942139521396213972139821399214002140121402214032140421405214062140721408214092141021411214122141321414214152141621417214182141921420214212142221423214242142521426214272142821429214302143121432214332143421435214362143721438214392144021441214422144321444214452144621447214482144921450214512145221453214542145521456214572145821459214602146121462214632146421465214662146721468214692147021471214722147321474214752147621477214782147921480214812148221483214842148521486214872148821489214902149121492214932149421495214962149721498214992150021501215022150321504215052150621507215082150921510215112151221513215142151521516215172151821519215202152121522215232152421525215262152721528215292153021531215322153321534215352153621537215382153921540215412154221543215442154521546215472154821549215502155121552215532155421555215562155721558215592156021561215622156321564215652156621567215682156921570215712157221573215742157521576215772157821579215802158121582215832158421585215862158721588215892159021591215922159321594215952159621597215982159921600216012160221603216042160521606216072160821609216102161121612216132161421615216162161721618216192162021621216222162321624216252162621627216282162921630216312163221633216342163521636216372163821639216402164121642216432164421645216462164721648216492165021651216522165321654216552165621657216582165921660216612166221663216642166521666216672166821669216702167121672216732167421675216762167721678216792168021681216822168321684216852168621687216882168921690216912169221693216942169521696216972169821699217002170121702217032170421705217062170721708217092171021711217122171321714217152171621717217182171921720217212172221723217242172521726217272172821729217302173121732217332173421735217362173721738217392174021741217422174321744217452174621747217482174921750217512175221753217542175521756217572175821759217602176121762217632176421765217662176721768217692177021771217722177321774217752177621777217782177921780217812178221783217842178521786217872178821789217902179121792217932179421795217962179721798217992180021801218022180321804218052180621807218082180921810218112181221813218142181521816218172181821819218202182121822218232182421825218262182721828218292183021831218322183321834218352183621837218382183921840218412184221843218442184521846218472184821849218502185121852218532185421855218562185721858218592186021861218622186321864218652186621867218682186921870218712187221873218742187521876218772187821879218802188121882218832188421885218862188721888218892189021891218922189321894218952189621897218982189921900219012190221903219042190521906219072190821909219102191121912219132191421915219162191721918219192192021921219222192321924219252192621927219282192921930219312193221933219342193521936219372193821939219402194121942219432194421945219462194721948219492195021951219522195321954219552195621957219582195921960219612196221963219642196521966219672196821969219702197121972219732197421975219762197721978219792198021981219822198321984219852198621987219882198921990219912199221993219942199521996219972199821999220002200122002220032200422005220062200722008220092201022011220122201322014220152201622017220182201922020220212202222023220242202522026220272202822029220302203122032220332203422035220362203722038220392204022041220422204322044220452204622047220482204922050220512205222053220542205522056220572205822059220602206122062220632206422065220662206722068220692207022071220722207322074220752207622077220782207922080220812208222083220842208522086220872208822089220902209122092220932209422095220962209722098220992210022101221022210322104221052210622107221082210922110221112211222113221142211522116221172211822119221202212122122221232212422125221262212722128221292213022131221322213322134221352213622137221382213922140221412214222143221442214522146221472214822149221502215122152221532215422155221562215722158221592216022161221622216322164221652216622167221682216922170221712217222173221742217522176221772217822179221802218122182221832218422185221862218722188221892219022191221922219322194221952219622197221982219922200222012220222203222042220522206222072220822209222102221122212222132221422215222162221722218222192222022221222222222322224222252222622227222282222922230222312223222233222342223522236222372223822239222402224122242222432224422245222462224722248222492225022251222522225322254222552225622257222582225922260222612226222263222642226522266222672226822269222702227122272222732227422275222762227722278222792228022281222822228322284222852228622287222882228922290222912229222293222942229522296222972229822299223002230122302223032230422305223062230722308223092231022311223122231322314223152231622317223182231922320223212232222323223242232522326223272232822329223302233122332223332233422335223362233722338223392234022341223422234322344223452234622347223482234922350223512235222353223542235522356223572235822359223602236122362223632236422365223662236722368223692237022371223722237322374223752237622377223782237922380223812238222383223842238522386223872238822389223902239122392223932239422395223962239722398223992240022401224022240322404224052240622407224082240922410224112241222413224142241522416224172241822419224202242122422224232242422425224262242722428224292243022431224322243322434224352243622437224382243922440224412244222443224442244522446224472244822449224502245122452224532245422455224562245722458224592246022461224622246322464224652246622467224682246922470224712247222473224742247522476224772247822479224802248122482224832248422485224862248722488224892249022491224922249322494224952249622497224982249922500225012250222503225042250522506225072250822509225102251122512225132251422515225162251722518225192252022521225222252322524225252252622527225282252922530225312253222533225342253522536225372253822539225402254122542225432254422545225462254722548225492255022551225522255322554225552255622557225582255922560225612256222563225642256522566225672256822569225702257122572225732257422575225762257722578225792258022581225822258322584225852258622587225882258922590225912259222593225942259522596225972259822599226002260122602226032260422605226062260722608226092261022611226122261322614226152261622617226182261922620226212262222623226242262522626226272262822629226302263122632226332263422635226362263722638226392264022641226422264322644226452264622647226482264922650226512265222653226542265522656226572265822659226602266122662226632266422665226662266722668226692267022671226722267322674226752267622677226782267922680226812268222683226842268522686226872268822689226902269122692226932269422695226962269722698226992270022701227022270322704227052270622707227082270922710227112271222713227142271522716227172271822719227202272122722227232272422725227262272722728227292273022731227322273322734227352273622737227382273922740227412274222743227442274522746227472274822749227502275122752227532275422755227562275722758227592276022761227622276322764227652276622767227682276922770227712277222773227742277522776227772277822779227802278122782227832278422785227862278722788227892279022791227922279322794227952279622797227982279922800228012280222803228042280522806228072280822809228102281122812228132281422815228162281722818228192282022821228222282322824228252282622827228282282922830228312283222833228342283522836228372283822839228402284122842228432284422845228462284722848228492285022851228522285322854228552285622857228582285922860228612286222863228642286522866228672286822869228702287122872228732287422875228762287722878228792288022881228822288322884228852288622887228882288922890228912289222893228942289522896228972289822899229002290122902229032290422905229062290722908229092291022911229122291322914229152291622917229182291922920229212292222923229242292522926229272292822929229302293122932229332293422935229362293722938229392294022941229422294322944229452294622947229482294922950229512295222953229542295522956229572295822959229602296122962229632296422965229662296722968229692297022971229722297322974229752297622977229782297922980229812298222983229842298522986229872298822989229902299122992229932299422995229962299722998229992300023001230022300323004230052300623007230082300923010230112301223013230142301523016230172301823019230202302123022230232302423025230262302723028230292303023031230322303323034230352303623037230382303923040230412304223043230442304523046230472304823049230502305123052230532305423055230562305723058230592306023061230622306323064230652306623067230682306923070230712307223073230742307523076230772307823079230802308123082230832308423085230862308723088230892309023091230922309323094230952309623097230982309923100231012310223103231042310523106231072310823109231102311123112231132311423115231162311723118231192312023121231222312323124231252312623127231282312923130231312313223133231342313523136231372313823139231402314123142231432314423145231462314723148231492315023151231522315323154231552315623157231582315923160231612316223163231642316523166231672316823169231702317123172231732317423175231762317723178231792318023181231822318323184231852318623187231882318923190231912319223193231942319523196231972319823199232002320123202232032320423205232062320723208232092321023211232122321323214232152321623217232182321923220232212322223223232242322523226232272322823229232302323123232232332323423235232362323723238232392324023241232422324323244232452324623247232482324923250232512325223253232542325523256232572325823259232602326123262232632326423265232662326723268232692327023271232722327323274232752327623277232782327923280232812328223283232842328523286232872328823289232902329123292232932329423295232962329723298232992330023301233022330323304233052330623307233082330923310233112331223313233142331523316233172331823319233202332123322233232332423325233262332723328233292333023331233322333323334233352333623337233382333923340233412334223343233442334523346233472334823349233502335123352233532335423355233562335723358233592336023361233622336323364233652336623367233682336923370233712337223373233742337523376233772337823379233802338123382233832338423385233862338723388233892339023391233922339323394233952339623397233982339923400234012340223403234042340523406234072340823409234102341123412234132341423415234162341723418234192342023421234222342323424234252342623427234282342923430234312343223433234342343523436234372343823439234402344123442234432344423445234462344723448234492345023451234522345323454234552345623457234582345923460234612346223463234642346523466234672346823469234702347123472234732347423475234762347723478234792348023481234822348323484234852348623487234882348923490234912349223493234942349523496234972349823499235002350123502235032350423505235062350723508235092351023511235122351323514235152351623517235182351923520235212352223523235242352523526235272352823529235302353123532235332353423535235362353723538235392354023541235422354323544235452354623547235482354923550235512355223553235542355523556235572355823559235602356123562235632356423565235662356723568235692357023571235722357323574235752357623577235782357923580235812358223583235842358523586235872358823589235902359123592235932359423595235962359723598235992360023601236022360323604236052360623607236082360923610236112361223613236142361523616236172361823619236202362123622236232362423625236262362723628236292363023631236322363323634236352363623637236382363923640236412364223643236442364523646236472364823649236502365123652236532365423655236562365723658236592366023661236622366323664236652366623667236682366923670236712367223673236742367523676236772367823679236802368123682236832368423685236862368723688236892369023691236922369323694236952369623697236982369923700237012370223703237042370523706237072370823709237102371123712237132371423715237162371723718237192372023721237222372323724237252372623727237282372923730237312373223733237342373523736237372373823739237402374123742237432374423745237462374723748237492375023751237522375323754237552375623757237582375923760237612376223763237642376523766237672376823769237702377123772237732377423775237762377723778237792378023781237822378323784237852378623787237882378923790237912379223793237942379523796237972379823799238002380123802238032380423805238062380723808238092381023811238122381323814238152381623817238182381923820238212382223823238242382523826238272382823829238302383123832238332383423835238362383723838238392384023841238422384323844238452384623847238482384923850238512385223853238542385523856238572385823859238602386123862238632386423865238662386723868238692387023871238722387323874238752387623877238782387923880238812388223883238842388523886238872388823889238902389123892238932389423895238962389723898238992390023901239022390323904239052390623907239082390923910239112391223913239142391523916239172391823919239202392123922239232392423925239262392723928239292393023931239322393323934239352393623937239382393923940239412394223943239442394523946239472394823949239502395123952239532395423955239562395723958239592396023961239622396323964239652396623967239682396923970239712397223973239742397523976239772397823979239802398123982239832398423985239862398723988239892399023991239922399323994239952399623997239982399924000240012400224003240042400524006240072400824009240102401124012240132401424015240162401724018240192402024021240222402324024240252402624027240282402924030240312403224033240342403524036240372403824039240402404124042240432404424045240462404724048240492405024051240522405324054240552405624057240582405924060240612406224063240642406524066240672406824069240702407124072240732407424075240762407724078240792408024081240822408324084240852408624087240882408924090240912409224093240942409524096240972409824099241002410124102241032410424105241062410724108241092411024111241122411324114241152411624117241182411924120241212412224123241242412524126241272412824129241302413124132241332413424135241362413724138241392414024141241422414324144241452414624147241482414924150241512415224153241542415524156241572415824159241602416124162241632416424165241662416724168241692417024171241722417324174241752417624177241782417924180241812418224183241842418524186241872418824189241902419124192241932419424195241962419724198241992420024201242022420324204242052420624207242082420924210242112421224213242142421524216242172421824219242202422124222242232422424225242262422724228242292423024231242322423324234242352423624237242382423924240242412424224243242442424524246242472424824249242502425124252242532425424255242562425724258242592426024261242622426324264242652426624267242682426924270242712427224273242742427524276242772427824279242802428124282242832428424285242862428724288242892429024291242922429324294242952429624297242982429924300243012430224303243042430524306243072430824309243102431124312243132431424315243162431724318243192432024321243222432324324243252432624327243282432924330243312433224333243342433524336243372433824339243402434124342243432434424345243462434724348243492435024351243522435324354243552435624357243582435924360243612436224363243642436524366243672436824369243702437124372243732437424375243762437724378243792438024381243822438324384243852438624387243882438924390243912439224393243942439524396243972439824399244002440124402244032440424405244062440724408244092441024411244122441324414244152441624417244182441924420244212442224423244242442524426244272442824429244302443124432244332443424435244362443724438244392444024441244422444324444244452444624447244482444924450244512445224453244542445524456244572445824459244602446124462244632446424465244662446724468244692447024471244722447324474244752447624477244782447924480244812448224483244842448524486244872448824489244902449124492244932449424495244962449724498244992450024501245022450324504245052450624507245082450924510245112451224513245142451524516245172451824519245202452124522245232452424525245262452724528245292453024531245322453324534245352453624537245382453924540245412454224543245442454524546245472454824549245502455124552245532455424555245562455724558245592456024561245622456324564245652456624567245682456924570245712457224573245742457524576245772457824579245802458124582245832458424585245862458724588245892459024591245922459324594245952459624597245982459924600246012460224603246042460524606246072460824609246102461124612246132461424615246162461724618246192462024621246222462324624246252462624627246282462924630246312463224633246342463524636246372463824639246402464124642246432464424645246462464724648246492465024651246522465324654246552465624657246582465924660246612466224663246642466524666246672466824669246702467124672246732467424675246762467724678246792468024681246822468324684246852468624687246882468924690246912469224693246942469524696246972469824699247002470124702247032470424705247062470724708247092471024711247122471324714247152471624717247182471924720247212472224723247242472524726247272472824729247302473124732247332473424735247362473724738247392474024741247422474324744247452474624747247482474924750247512475224753247542475524756247572475824759247602476124762247632476424765247662476724768247692477024771247722477324774247752477624777247782477924780247812478224783247842478524786247872478824789247902479124792247932479424795247962479724798247992480024801248022480324804248052480624807248082480924810248112481224813248142481524816248172481824819248202482124822248232482424825248262482724828248292483024831248322483324834248352483624837248382483924840248412484224843248442484524846248472484824849248502485124852248532485424855248562485724858248592486024861248622486324864248652486624867248682486924870248712487224873248742487524876248772487824879248802488124882248832488424885248862488724888248892489024891248922489324894248952489624897248982489924900249012490224903249042490524906249072490824909249102491124912249132491424915249162491724918249192492024921249222492324924249252492624927249282492924930249312493224933249342493524936249372493824939249402494124942249432494424945249462494724948249492495024951249522495324954249552495624957249582495924960249612496224963249642496524966249672496824969249702497124972249732497424975249762497724978249792498024981249822498324984249852498624987249882498924990249912499224993249942499524996249972499824999250002500125002250032500425005250062500725008250092501025011250122501325014250152501625017250182501925020250212502225023250242502525026250272502825029250302503125032250332503425035250362503725038250392504025041250422504325044250452504625047250482504925050250512505225053250542505525056250572505825059250602506125062250632506425065250662506725068250692507025071250722507325074250752507625077250782507925080250812508225083250842508525086250872508825089250902509125092250932509425095250962509725098250992510025101251022510325104251052510625107251082510925110251112511225113251142511525116251172511825119251202512125122251232512425125251262512725128251292513025131251322513325134251352513625137251382513925140251412514225143251442514525146251472514825149251502515125152251532515425155251562515725158251592516025161251622516325164251652516625167251682516925170251712517225173251742517525176251772517825179251802518125182251832518425185251862518725188251892519025191251922519325194251952519625197251982519925200252012520225203252042520525206252072520825209252102521125212252132521425215252162521725218252192522025221252222522325224252252522625227252282522925230252312523225233252342523525236252372523825239252402524125242252432524425245252462524725248252492525025251252522525325254252552525625257252582525925260252612526225263252642526525266252672526825269252702527125272252732527425275252762527725278252792528025281252822528325284252852528625287252882528925290252912529225293252942529525296252972529825299253002530125302253032530425305253062530725308253092531025311253122531325314253152531625317253182531925320253212532225323253242532525326253272532825329253302533125332253332533425335253362533725338253392534025341253422534325344253452534625347253482534925350253512535225353253542535525356253572535825359253602536125362253632536425365253662536725368253692537025371253722537325374253752537625377253782537925380253812538225383253842538525386253872538825389253902539125392253932539425395253962539725398253992540025401254022540325404254052540625407254082540925410254112541225413254142541525416254172541825419254202542125422254232542425425254262542725428254292543025431254322543325434254352543625437254382543925440254412544225443254442544525446254472544825449254502545125452254532545425455254562545725458254592546025461254622546325464254652546625467254682546925470254712547225473254742547525476254772547825479254802548125482254832548425485254862548725488254892549025491254922549325494254952549625497254982549925500255012550225503255042550525506255072550825509255102551125512255132551425515255162551725518255192552025521255222552325524255252552625527255282552925530255312553225533255342553525536255372553825539255402554125542255432554425545255462554725548255492555025551255522555325554255552555625557255582555925560255612556225563255642556525566255672556825569255702557125572255732557425575255762557725578255792558025581255822558325584255852558625587255882558925590255912559225593255942559525596255972559825599256002560125602256032560425605256062560725608256092561025611256122561325614256152561625617256182561925620256212562225623256242562525626256272562825629256302563125632256332563425635256362563725638256392564025641256422564325644256452564625647256482564925650256512565225653256542565525656256572565825659256602566125662256632566425665256662566725668256692567025671256722567325674256752567625677256782567925680256812568225683256842568525686256872568825689256902569125692256932569425695256962569725698256992570025701257022570325704257052570625707257082570925710257112571225713257142571525716257172571825719257202572125722257232572425725257262572725728257292573025731257322573325734257352573625737257382573925740257412574225743257442574525746257472574825749257502575125752257532575425755257562575725758257592576025761257622576325764257652576625767257682576925770257712577225773257742577525776257772577825779257802578125782257832578425785257862578725788257892579025791257922579325794257952579625797257982579925800258012580225803258042580525806258072580825809258102581125812258132581425815258162581725818258192582025821258222582325824258252582625827258282582925830258312583225833258342583525836258372583825839258402584125842258432584425845258462584725848258492585025851258522585325854258552585625857258582585925860258612586225863258642586525866258672586825869258702587125872258732587425875258762587725878258792588025881258822588325884258852588625887258882588925890258912589225893258942589525896258972589825899259002590125902259032590425905259062590725908259092591025911259122591325914259152591625917259182591925920259212592225923259242592525926259272592825929259302593125932259332593425935259362593725938259392594025941259422594325944259452594625947259482594925950259512595225953259542595525956259572595825959259602596125962259632596425965259662596725968259692597025971259722597325974259752597625977259782597925980259812598225983259842598525986259872598825989259902599125992259932599425995259962599725998259992600026001260022600326004260052600626007260082600926010260112601226013260142601526016260172601826019260202602126022260232602426025260262602726028260292603026031260322603326034260352603626037260382603926040260412604226043260442604526046260472604826049260502605126052260532605426055260562605726058260592606026061260622606326064260652606626067260682606926070260712607226073260742607526076260772607826079260802608126082260832608426085260862608726088260892609026091260922609326094260952609626097260982609926100261012610226103261042610526106261072610826109261102611126112261132611426115261162611726118261192612026121261222612326124261252612626127261282612926130261312613226133261342613526136261372613826139261402614126142261432614426145261462614726148261492615026151261522615326154261552615626157261582615926160261612616226163261642616526166261672616826169261702617126172261732617426175261762617726178261792618026181261822618326184261852618626187261882618926190261912619226193261942619526196261972619826199262002620126202262032620426205262062620726208262092621026211262122621326214262152621626217262182621926220262212622226223262242622526226262272622826229262302623126232262332623426235262362623726238262392624026241262422624326244262452624626247262482624926250262512625226253262542625526256262572625826259262602626126262262632626426265262662626726268262692627026271262722627326274262752627626277262782627926280262812628226283262842628526286262872628826289262902629126292262932629426295262962629726298262992630026301263022630326304263052630626307263082630926310263112631226313263142631526316263172631826319263202632126322263232632426325263262632726328263292633026331263322633326334263352633626337263382633926340263412634226343263442634526346263472634826349263502635126352263532635426355263562635726358263592636026361263622636326364263652636626367263682636926370263712637226373263742637526376263772637826379263802638126382263832638426385263862638726388263892639026391263922639326394263952639626397263982639926400264012640226403264042640526406264072640826409264102641126412264132641426415264162641726418264192642026421264222642326424264252642626427264282642926430264312643226433264342643526436264372643826439264402644126442264432644426445264462644726448264492645026451264522645326454264552645626457264582645926460264612646226463264642646526466264672646826469264702647126472264732647426475264762647726478264792648026481264822648326484264852648626487264882648926490264912649226493264942649526496264972649826499265002650126502265032650426505265062650726508265092651026511265122651326514265152651626517265182651926520265212652226523265242652526526265272652826529265302653126532265332653426535265362653726538265392654026541265422654326544265452654626547265482654926550265512655226553265542655526556265572655826559265602656126562265632656426565265662656726568265692657026571265722657326574265752657626577265782657926580265812658226583265842658526586265872658826589265902659126592265932659426595265962659726598265992660026601266022660326604266052660626607266082660926610266112661226613266142661526616266172661826619266202662126622266232662426625266262662726628266292663026631266322663326634266352663626637266382663926640266412664226643266442664526646266472664826649266502665126652266532665426655266562665726658266592666026661266622666326664266652666626667266682666926670266712667226673266742667526676266772667826679266802668126682266832668426685266862668726688266892669026691266922669326694266952669626697266982669926700267012670226703267042670526706267072670826709267102671126712267132671426715267162671726718267192672026721267222672326724267252672626727267282672926730267312673226733267342673526736267372673826739267402674126742267432674426745267462674726748267492675026751267522675326754267552675626757267582675926760267612676226763267642676526766267672676826769267702677126772267732677426775267762677726778267792678026781267822678326784267852678626787267882678926790267912679226793267942679526796267972679826799268002680126802268032680426805268062680726808268092681026811268122681326814268152681626817268182681926820268212682226823268242682526826268272682826829268302683126832268332683426835268362683726838268392684026841268422684326844268452684626847268482684926850268512685226853268542685526856268572685826859268602686126862268632686426865268662686726868268692687026871268722687326874268752687626877268782687926880268812688226883268842688526886268872688826889268902689126892268932689426895268962689726898268992690026901269022690326904269052690626907269082690926910269112691226913269142691526916269172691826919269202692126922269232692426925269262692726928269292693026931269322693326934269352693626937269382693926940269412694226943269442694526946269472694826949269502695126952269532695426955269562695726958269592696026961269622696326964269652696626967269682696926970269712697226973269742697526976269772697826979269802698126982269832698426985269862698726988269892699026991269922699326994269952699626997269982699927000270012700227003270042700527006270072700827009270102701127012270132701427015270162701727018270192702027021270222702327024270252702627027270282702927030270312703227033270342703527036270372703827039270402704127042270432704427045270462704727048270492705027051270522705327054270552705627057270582705927060270612706227063270642706527066270672706827069270702707127072270732707427075270762707727078270792708027081270822708327084270852708627087270882708927090270912709227093270942709527096270972709827099271002710127102271032710427105271062710727108271092711027111271122711327114271152711627117271182711927120271212712227123271242712527126271272712827129271302713127132271332713427135271362713727138271392714027141271422714327144271452714627147271482714927150271512715227153271542715527156271572715827159271602716127162271632716427165271662716727168271692717027171271722717327174271752717627177271782717927180271812718227183271842718527186271872718827189271902719127192271932719427195271962719727198271992720027201272022720327204272052720627207272082720927210272112721227213272142721527216272172721827219272202722127222272232722427225272262722727228272292723027231272322723327234272352723627237272382723927240272412724227243272442724527246272472724827249272502725127252272532725427255272562725727258272592726027261272622726327264272652726627267272682726927270272712727227273272742727527276272772727827279272802728127282272832728427285272862728727288272892729027291272922729327294272952729627297272982729927300273012730227303273042730527306273072730827309273102731127312273132731427315273162731727318273192732027321273222732327324273252732627327273282732927330273312733227333273342733527336273372733827339273402734127342273432734427345273462734727348273492735027351273522735327354273552735627357273582735927360273612736227363273642736527366273672736827369273702737127372273732737427375273762737727378273792738027381273822738327384273852738627387273882738927390273912739227393273942739527396273972739827399274002740127402274032740427405274062740727408274092741027411274122741327414274152741627417274182741927420274212742227423274242742527426274272742827429274302743127432274332743427435274362743727438274392744027441274422744327444274452744627447274482744927450274512745227453274542745527456274572745827459274602746127462274632746427465274662746727468274692747027471274722747327474274752747627477274782747927480274812748227483274842748527486274872748827489274902749127492274932749427495274962749727498274992750027501275022750327504275052750627507275082750927510275112751227513275142751527516275172751827519275202752127522275232752427525275262752727528275292753027531275322753327534275352753627537275382753927540275412754227543275442754527546275472754827549275502755127552275532755427555275562755727558275592756027561275622756327564275652756627567275682756927570275712757227573275742757527576275772757827579275802758127582275832758427585275862758727588275892759027591275922759327594275952759627597275982759927600276012760227603276042760527606276072760827609276102761127612276132761427615276162761727618276192762027621276222762327624276252762627627276282762927630276312763227633276342763527636276372763827639276402764127642276432764427645276462764727648276492765027651276522765327654276552765627657276582765927660276612766227663276642766527666276672766827669276702767127672276732767427675276762767727678276792768027681276822768327684276852768627687276882768927690276912769227693276942769527696276972769827699277002770127702277032770427705277062770727708277092771027711277122771327714277152771627717277182771927720277212772227723277242772527726277272772827729277302773127732277332773427735277362773727738277392774027741277422774327744277452774627747277482774927750277512775227753277542775527756277572775827759277602776127762277632776427765277662776727768277692777027771277722777327774277752777627777277782777927780277812778227783277842778527786277872778827789277902779127792277932779427795277962779727798277992780027801278022780327804278052780627807278082780927810278112781227813278142781527816278172781827819278202782127822278232782427825278262782727828278292783027831278322783327834278352783627837278382783927840278412784227843278442784527846278472784827849278502785127852278532785427855278562785727858278592786027861278622786327864278652786627867278682786927870278712787227873278742787527876278772787827879278802788127882278832788427885278862788727888278892789027891278922789327894278952789627897278982789927900279012790227903279042790527906279072790827909279102791127912279132791427915279162791727918279192792027921279222792327924279252792627927279282792927930279312793227933279342793527936279372793827939279402794127942279432794427945279462794727948279492795027951279522795327954279552795627957279582795927960279612796227963279642796527966279672796827969279702797127972279732797427975279762797727978279792798027981279822798327984279852798627987279882798927990279912799227993279942799527996279972799827999280002800128002280032800428005280062800728008280092801028011280122801328014280152801628017280182801928020280212802228023280242802528026280272802828029280302803128032280332803428035280362803728038280392804028041280422804328044280452804628047280482804928050280512805228053280542805528056280572805828059280602806128062280632806428065280662806728068280692807028071280722807328074280752807628077280782807928080280812808228083280842808528086280872808828089280902809128092280932809428095280962809728098280992810028101281022810328104281052810628107281082810928110281112811228113281142811528116281172811828119281202812128122281232812428125281262812728128281292813028131281322813328134281352813628137281382813928140281412814228143281442814528146281472814828149281502815128152281532815428155281562815728158281592816028161281622816328164281652816628167281682816928170281712817228173281742817528176281772817828179281802818128182281832818428185281862818728188281892819028191281922819328194281952819628197281982819928200282012820228203282042820528206282072820828209282102821128212282132821428215282162821728218282192822028221282222822328224282252822628227282282822928230282312823228233282342823528236282372823828239282402824128242282432824428245282462824728248282492825028251282522825328254282552825628257282582825928260282612826228263282642826528266282672826828269282702827128272282732827428275282762827728278282792828028281282822828328284282852828628287282882828928290282912829228293282942829528296282972829828299283002830128302283032830428305283062830728308283092831028311283122831328314283152831628317283182831928320283212832228323283242832528326283272832828329283302833128332283332833428335283362833728338283392834028341283422834328344283452834628347283482834928350283512835228353283542835528356283572835828359283602836128362283632836428365283662836728368283692837028371283722837328374283752837628377283782837928380283812838228383283842838528386283872838828389283902839128392283932839428395283962839728398283992840028401284022840328404284052840628407284082840928410284112841228413284142841528416284172841828419284202842128422284232842428425284262842728428284292843028431284322843328434284352843628437284382843928440284412844228443284442844528446284472844828449284502845128452284532845428455284562845728458284592846028461284622846328464284652846628467284682846928470284712847228473284742847528476284772847828479284802848128482284832848428485284862848728488284892849028491284922849328494284952849628497284982849928500285012850228503285042850528506285072850828509285102851128512285132851428515285162851728518285192852028521285222852328524285252852628527285282852928530285312853228533285342853528536285372853828539285402854128542285432854428545285462854728548285492855028551285522855328554285552855628557285582855928560285612856228563285642856528566285672856828569285702857128572285732857428575285762857728578285792858028581285822858328584285852858628587285882858928590285912859228593285942859528596285972859828599286002860128602286032860428605286062860728608286092861028611286122861328614286152861628617286182861928620286212862228623286242862528626286272862828629286302863128632286332863428635286362863728638286392864028641286422864328644286452864628647286482864928650286512865228653286542865528656286572865828659286602866128662286632866428665286662866728668286692867028671286722867328674286752867628677286782867928680286812868228683286842868528686286872868828689286902869128692286932869428695286962869728698286992870028701287022870328704287052870628707287082870928710287112871228713287142871528716287172871828719287202872128722287232872428725287262872728728287292873028731287322873328734287352873628737287382873928740287412874228743287442874528746287472874828749287502875128752287532875428755287562875728758287592876028761287622876328764287652876628767287682876928770287712877228773287742877528776287772877828779287802878128782287832878428785287862878728788287892879028791287922879328794287952879628797287982879928800288012880228803288042880528806288072880828809288102881128812288132881428815288162881728818288192882028821288222882328824288252882628827288282882928830288312883228833288342883528836288372883828839288402884128842288432884428845288462884728848288492885028851288522885328854288552885628857288582885928860288612886228863288642886528866288672886828869288702887128872288732887428875288762887728878288792888028881288822888328884288852888628887288882888928890288912889228893288942889528896288972889828899289002890128902289032890428905289062890728908289092891028911289122891328914289152891628917289182891928920289212892228923289242892528926289272892828929289302893128932289332893428935289362893728938289392894028941289422894328944289452894628947289482894928950289512895228953289542895528956289572895828959289602896128962289632896428965289662896728968289692897028971289722897328974289752897628977289782897928980289812898228983289842898528986289872898828989289902899128992289932899428995289962899728998289992900029001290022900329004290052900629007290082900929010290112901229013290142901529016290172901829019290202902129022290232902429025290262902729028290292903029031290322903329034290352903629037290382903929040290412904229043290442904529046290472904829049290502905129052290532905429055290562905729058290592906029061290622906329064290652906629067290682906929070290712907229073290742907529076290772907829079290802908129082290832908429085290862908729088290892909029091290922909329094290952909629097290982909929100291012910229103291042910529106291072910829109291102911129112291132911429115291162911729118291192912029121291222912329124291252912629127291282912929130291312913229133291342913529136291372913829139291402914129142291432914429145291462914729148291492915029151291522915329154291552915629157291582915929160291612916229163291642916529166291672916829169291702917129172291732917429175291762917729178291792918029181291822918329184291852918629187291882918929190291912919229193291942919529196291972919829199292002920129202292032920429205292062920729208292092921029211292122921329214292152921629217292182921929220292212922229223292242922529226292272922829229292302923129232292332923429235292362923729238292392924029241292422924329244292452924629247292482924929250292512925229253292542925529256292572925829259292602926129262292632926429265292662926729268292692927029271292722927329274292752927629277292782927929280292812928229283292842928529286292872928829289292902929129292292932929429295292962929729298292992930029301293022930329304293052930629307293082930929310293112931229313293142931529316293172931829319293202932129322293232932429325293262932729328293292933029331293322933329334293352933629337293382933929340293412934229343293442934529346293472934829349293502935129352293532935429355293562935729358293592936029361293622936329364293652936629367293682936929370293712937229373293742937529376293772937829379293802938129382293832938429385293862938729388293892939029391293922939329394293952939629397293982939929400294012940229403294042940529406294072940829409294102941129412294132941429415294162941729418294192942029421294222942329424294252942629427294282942929430294312943229433294342943529436294372943829439294402944129442294432944429445294462944729448294492945029451294522945329454294552945629457294582945929460294612946229463294642946529466294672946829469294702947129472294732947429475294762947729478294792948029481294822948329484294852948629487294882948929490294912949229493294942949529496294972949829499295002950129502295032950429505295062950729508295092951029511295122951329514295152951629517295182951929520295212952229523295242952529526295272952829529295302953129532295332953429535295362953729538295392954029541295422954329544295452954629547295482954929550295512955229553295542955529556295572955829559295602956129562295632956429565295662956729568295692957029571295722957329574295752957629577295782957929580295812958229583295842958529586295872958829589295902959129592295932959429595295962959729598295992960029601296022960329604296052960629607296082960929610296112961229613296142961529616296172961829619296202962129622296232962429625296262962729628296292963029631296322963329634296352963629637296382963929640296412964229643296442964529646296472964829649296502965129652296532965429655296562965729658296592966029661296622966329664296652966629667296682966929670296712967229673296742967529676296772967829679296802968129682296832968429685296862968729688296892969029691296922969329694296952969629697296982969929700297012970229703297042970529706297072970829709297102971129712297132971429715297162971729718297192972029721297222972329724297252972629727297282972929730297312973229733297342973529736297372973829739297402974129742297432974429745297462974729748297492975029751297522975329754297552975629757297582975929760297612976229763297642976529766297672976829769297702977129772297732977429775297762977729778297792978029781297822978329784297852978629787297882978929790297912979229793297942979529796297972979829799298002980129802298032980429805298062980729808298092981029811298122981329814298152981629817298182981929820298212982229823298242982529826298272982829829298302983129832298332983429835298362983729838298392984029841298422984329844298452984629847298482984929850298512985229853298542985529856298572985829859298602986129862298632986429865298662986729868298692987029871298722987329874298752987629877298782987929880298812988229883298842988529886298872988829889298902989129892298932989429895298962989729898298992990029901299022990329904299052990629907299082990929910299112991229913299142991529916299172991829919299202992129922299232992429925299262992729928299292993029931299322993329934299352993629937299382993929940299412994229943299442994529946299472994829949299502995129952299532995429955299562995729958299592996029961299622996329964299652996629967299682996929970299712997229973299742997529976299772997829979299802998129982299832998429985299862998729988299892999029991299922999329994299952999629997299982999930000300013000230003300043000530006300073000830009300103001130012300133001430015300163001730018300193002030021300223002330024300253002630027300283002930030300313003230033300343003530036300373003830039300403004130042300433004430045300463004730048300493005030051300523005330054300553005630057300583005930060300613006230063300643006530066300673006830069300703007130072300733007430075300763007730078300793008030081300823008330084300853008630087300883008930090300913009230093300943009530096300973009830099301003010130102301033010430105301063010730108301093011030111301123011330114301153011630117301183011930120301213012230123301243012530126301273012830129301303013130132301333013430135301363013730138301393014030141301423014330144301453014630147301483014930150301513015230153301543015530156301573015830159301603016130162301633016430165301663016730168301693017030171301723017330174301753017630177301783017930180301813018230183301843018530186301873018830189301903019130192301933019430195301963019730198301993020030201302023020330204302053020630207302083020930210302113021230213302143021530216302173021830219302203022130222302233022430225302263022730228302293023030231302323023330234302353023630237302383023930240302413024230243302443024530246302473024830249302503025130252302533025430255302563025730258302593026030261302623026330264302653026630267302683026930270302713027230273302743027530276302773027830279302803028130282302833028430285302863028730288302893029030291302923029330294302953029630297302983029930300303013030230303303043030530306303073030830309303103031130312303133031430315303163031730318303193032030321303223032330324303253032630327303283032930330303313033230333303343033530336303373033830339303403034130342303433034430345303463034730348303493035030351303523035330354303553035630357303583035930360303613036230363303643036530366303673036830369303703037130372303733037430375303763037730378303793038030381303823038330384303853038630387303883038930390303913039230393303943039530396303973039830399304003040130402304033040430405304063040730408304093041030411304123041330414304153041630417304183041930420304213042230423304243042530426304273042830429304303043130432304333043430435304363043730438304393044030441304423044330444304453044630447304483044930450304513045230453304543045530456304573045830459304603046130462304633046430465304663046730468304693047030471304723047330474304753047630477304783047930480304813048230483304843048530486304873048830489304903049130492304933049430495304963049730498304993050030501305023050330504305053050630507305083050930510305113051230513305143051530516305173051830519305203052130522305233052430525305263052730528305293053030531305323053330534305353053630537305383053930540305413054230543305443054530546305473054830549305503055130552305533055430555305563055730558305593056030561305623056330564305653056630567305683056930570305713057230573305743057530576305773057830579305803058130582305833058430585305863058730588305893059030591305923059330594305953059630597305983059930600306013060230603306043060530606306073060830609306103061130612306133061430615306163061730618306193062030621306223062330624306253062630627306283062930630306313063230633306343063530636306373063830639306403064130642306433064430645306463064730648306493065030651306523065330654306553065630657306583065930660306613066230663306643066530666306673066830669306703067130672306733067430675306763067730678306793068030681306823068330684306853068630687306883068930690306913069230693306943069530696306973069830699307003070130702307033070430705307063070730708307093071030711307123071330714307153071630717307183071930720307213072230723307243072530726307273072830729307303073130732307333073430735307363073730738307393074030741307423074330744307453074630747307483074930750307513075230753307543075530756307573075830759307603076130762307633076430765307663076730768307693077030771307723077330774307753077630777307783077930780307813078230783307843078530786307873078830789307903079130792307933079430795307963079730798307993080030801308023080330804308053080630807308083080930810308113081230813308143081530816308173081830819308203082130822308233082430825308263082730828308293083030831308323083330834308353083630837308383083930840308413084230843308443084530846308473084830849308503085130852308533085430855308563085730858308593086030861308623086330864308653086630867308683086930870308713087230873308743087530876308773087830879308803088130882308833088430885308863088730888308893089030891308923089330894308953089630897308983089930900309013090230903309043090530906309073090830909309103091130912309133091430915309163091730918309193092030921309223092330924309253092630927309283092930930309313093230933309343093530936309373093830939309403094130942309433094430945309463094730948309493095030951309523095330954309553095630957309583095930960309613096230963309643096530966309673096830969309703097130972309733097430975309763097730978309793098030981309823098330984309853098630987309883098930990309913099230993309943099530996309973099830999310003100131002310033100431005310063100731008310093101031011310123101331014310153101631017310183101931020310213102231023310243102531026310273102831029310303103131032310333103431035310363103731038310393104031041310423104331044310453104631047310483104931050310513105231053310543105531056310573105831059310603106131062310633106431065310663106731068310693107031071310723107331074310753107631077310783107931080310813108231083310843108531086310873108831089310903109131092310933109431095310963109731098310993110031101311023110331104311053110631107311083110931110311113111231113311143111531116311173111831119311203112131122311233112431125311263112731128311293113031131311323113331134311353113631137311383113931140311413114231143311443114531146311473114831149311503115131152311533115431155311563115731158311593116031161311623116331164311653116631167311683116931170311713117231173311743117531176311773117831179311803118131182311833118431185311863118731188311893119031191311923119331194311953119631197311983119931200312013120231203312043120531206312073120831209312103121131212312133121431215312163121731218312193122031221312223122331224312253122631227312283122931230312313123231233312343123531236312373123831239312403124131242312433124431245312463124731248312493125031251312523125331254312553125631257312583125931260312613126231263312643126531266312673126831269312703127131272312733127431275312763127731278312793128031281312823128331284312853128631287312883128931290312913129231293312943129531296312973129831299313003130131302313033130431305313063130731308313093131031311313123131331314313153131631317313183131931320313213132231323313243132531326313273132831329313303133131332313333133431335313363133731338313393134031341313423134331344313453134631347313483134931350313513135231353313543135531356313573135831359313603136131362313633136431365313663136731368313693137031371313723137331374313753137631377313783137931380313813138231383313843138531386313873138831389313903139131392313933139431395313963139731398313993140031401314023140331404314053140631407314083140931410314113141231413314143141531416314173141831419314203142131422314233142431425314263142731428314293143031431314323143331434314353143631437314383143931440314413144231443314443144531446314473144831449314503145131452314533145431455314563145731458314593146031461314623146331464314653146631467314683146931470314713147231473314743147531476314773147831479314803148131482314833148431485314863148731488314893149031491314923149331494314953149631497314983149931500315013150231503315043150531506315073150831509315103151131512315133151431515315163151731518315193152031521315223152331524315253152631527315283152931530315313153231533315343153531536315373153831539315403154131542315433154431545315463154731548315493155031551315523155331554315553155631557315583155931560315613156231563315643156531566315673156831569315703157131572315733157431575315763157731578315793158031581315823158331584315853158631587315883158931590315913159231593315943159531596315973159831599316003160131602316033160431605316063160731608316093161031611316123161331614316153161631617316183161931620316213162231623316243162531626316273162831629316303163131632316333163431635316363163731638316393164031641316423164331644316453164631647316483164931650316513165231653316543165531656316573165831659316603166131662316633166431665316663166731668316693167031671316723167331674316753167631677316783167931680316813168231683316843168531686316873168831689316903169131692316933169431695316963169731698316993170031701317023170331704317053170631707317083170931710317113171231713317143171531716317173171831719317203172131722317233172431725317263172731728317293173031731317323173331734317353173631737317383173931740317413174231743317443174531746317473174831749317503175131752317533175431755317563175731758317593176031761317623176331764317653176631767317683176931770317713177231773317743177531776317773177831779317803178131782317833178431785317863178731788317893179031791317923179331794317953179631797317983179931800318013180231803318043180531806318073180831809318103181131812318133181431815318163181731818318193182031821318223182331824318253182631827318283182931830318313183231833318343183531836318373183831839318403184131842318433184431845318463184731848318493185031851318523185331854318553185631857318583185931860318613186231863318643186531866318673186831869318703187131872318733187431875318763187731878318793188031881318823188331884318853188631887318883188931890318913189231893318943189531896318973189831899319003190131902319033190431905319063190731908319093191031911319123191331914319153191631917319183191931920319213192231923319243192531926319273192831929319303193131932319333193431935319363193731938319393194031941319423194331944319453194631947319483194931950319513195231953319543195531956319573195831959319603196131962319633196431965319663196731968319693197031971319723197331974319753197631977319783197931980319813198231983319843198531986319873198831989319903199131992319933199431995319963199731998319993200032001320023200332004320053200632007320083200932010320113201232013320143201532016320173201832019320203202132022320233202432025320263202732028320293203032031320323203332034320353203632037320383203932040320413204232043320443204532046320473204832049320503205132052320533205432055320563205732058320593206032061320623206332064320653206632067320683206932070320713207232073320743207532076320773207832079320803208132082320833208432085320863208732088320893209032091320923209332094320953209632097320983209932100321013210232103321043210532106321073210832109321103211132112321133211432115321163211732118321193212032121321223212332124321253212632127321283212932130321313213232133321343213532136321373213832139321403214132142321433214432145321463214732148321493215032151321523215332154321553215632157321583215932160321613216232163321643216532166321673216832169321703217132172321733217432175321763217732178321793218032181321823218332184321853218632187321883218932190321913219232193321943219532196321973219832199322003220132202322033220432205322063220732208322093221032211322123221332214322153221632217322183221932220322213222232223322243222532226322273222832229322303223132232322333223432235322363223732238322393224032241322423224332244322453224632247322483224932250322513225232253322543225532256322573225832259322603226132262322633226432265322663226732268322693227032271322723227332274322753227632277322783227932280322813228232283322843228532286322873228832289322903229132292322933229432295322963229732298322993230032301323023230332304323053230632307323083230932310323113231232313323143231532316323173231832319323203232132322323233232432325323263232732328323293233032331323323233332334323353233632337323383233932340323413234232343323443234532346323473234832349323503235132352323533235432355323563235732358323593236032361323623236332364323653236632367323683236932370323713237232373323743237532376323773237832379323803238132382323833238432385323863238732388323893239032391323923239332394323953239632397323983239932400324013240232403324043240532406324073240832409324103241132412324133241432415324163241732418324193242032421324223242332424324253242632427324283242932430324313243232433324343243532436324373243832439324403244132442324433244432445324463244732448324493245032451324523245332454324553245632457324583245932460324613246232463324643246532466324673246832469324703247132472324733247432475324763247732478324793248032481324823248332484324853248632487324883248932490324913249232493324943249532496324973249832499325003250132502325033250432505325063250732508325093251032511325123251332514325153251632517325183251932520325213252232523325243252532526325273252832529325303253132532325333253432535325363253732538325393254032541325423254332544325453254632547325483254932550325513255232553325543255532556325573255832559325603256132562325633256432565325663256732568325693257032571325723257332574325753257632577325783257932580325813258232583325843258532586325873258832589325903259132592325933259432595325963259732598325993260032601326023260332604326053260632607326083260932610326113261232613326143261532616326173261832619326203262132622326233262432625326263262732628326293263032631326323263332634326353263632637326383263932640326413264232643326443264532646326473264832649326503265132652326533265432655326563265732658326593266032661326623266332664326653266632667326683266932670326713267232673326743267532676326773267832679326803268132682326833268432685326863268732688326893269032691326923269332694326953269632697326983269932700327013270232703327043270532706327073270832709327103271132712327133271432715327163271732718327193272032721327223272332724327253272632727327283272932730327313273232733327343273532736327373273832739327403274132742327433274432745327463274732748327493275032751327523275332754327553275632757327583275932760327613276232763327643276532766327673276832769327703277132772327733277432775327763277732778327793278032781327823278332784327853278632787327883278932790327913279232793327943279532796327973279832799328003280132802328033280432805328063280732808328093281032811328123281332814328153281632817328183281932820328213282232823328243282532826328273282832829328303283132832328333283432835328363283732838328393284032841328423284332844328453284632847328483284932850328513285232853328543285532856328573285832859328603286132862328633286432865328663286732868328693287032871328723287332874328753287632877328783287932880328813288232883328843288532886328873288832889328903289132892328933289432895328963289732898328993290032901329023290332904329053290632907329083290932910329113291232913329143291532916329173291832919329203292132922329233292432925329263292732928329293293032931329323293332934329353293632937329383293932940329413294232943329443294532946329473294832949329503295132952329533295432955329563295732958329593296032961329623296332964329653296632967329683296932970329713297232973329743297532976329773297832979329803298132982329833298432985329863298732988329893299032991329923299332994329953299632997329983299933000330013300233003330043300533006330073300833009330103301133012330133301433015330163301733018330193302033021330223302333024330253302633027330283302933030330313303233033330343303533036330373303833039330403304133042330433304433045330463304733048330493305033051330523305333054330553305633057330583305933060330613306233063330643306533066330673306833069330703307133072330733307433075330763307733078330793308033081330823308333084330853308633087330883308933090330913309233093330943309533096330973309833099331003310133102331033310433105331063310733108331093311033111331123311333114331153311633117331183311933120331213312233123331243312533126331273312833129331303313133132331333313433135331363313733138331393314033141331423314333144331453314633147331483314933150331513315233153331543315533156331573315833159331603316133162331633316433165331663316733168331693317033171331723317333174331753317633177331783317933180331813318233183331843318533186331873318833189331903319133192331933319433195331963319733198331993320033201332023320333204332053320633207332083320933210332113321233213332143321533216332173321833219332203322133222332233322433225332263322733228332293323033231332323323333234332353323633237332383323933240332413324233243332443324533246332473324833249332503325133252332533325433255332563325733258332593326033261332623326333264332653326633267332683326933270332713327233273332743327533276332773327833279332803328133282332833328433285332863328733288332893329033291332923329333294332953329633297332983329933300333013330233303333043330533306333073330833309333103331133312333133331433315333163331733318333193332033321333223332333324333253332633327333283332933330333313333233333333343333533336333373333833339333403334133342333433334433345333463334733348333493335033351333523335333354333553335633357333583335933360333613336233363333643336533366333673336833369333703337133372333733337433375333763337733378333793338033381333823338333384333853338633387333883338933390333913339233393333943339533396333973339833399334003340133402334033340433405334063340733408334093341033411334123341333414334153341633417334183341933420334213342233423334243342533426334273342833429334303343133432334333343433435334363343733438334393344033441334423344333444334453344633447334483344933450334513345233453334543345533456334573345833459334603346133462334633346433465334663346733468334693347033471334723347333474334753347633477334783347933480334813348233483334843348533486334873348833489334903349133492334933349433495334963349733498334993350033501335023350333504335053350633507335083350933510335113351233513335143351533516335173351833519335203352133522335233352433525335263352733528335293353033531335323353333534335353353633537335383353933540335413354233543335443354533546335473354833549335503355133552335533355433555335563355733558335593356033561335623356333564335653356633567335683356933570335713357233573335743357533576335773357833579335803358133582335833358433585335863358733588335893359033591335923359333594335953359633597335983359933600336013360233603336043360533606336073360833609336103361133612336133361433615336163361733618336193362033621336223362333624336253362633627336283362933630336313363233633336343363533636336373363833639336403364133642336433364433645336463364733648336493365033651336523365333654336553365633657336583365933660336613366233663336643366533666336673366833669336703367133672336733367433675336763367733678336793368033681336823368333684336853368633687336883368933690336913369233693336943369533696336973369833699337003370133702337033370433705337063370733708337093371033711337123371333714337153371633717337183371933720337213372233723337243372533726337273372833729337303373133732337333373433735337363373733738337393374033741337423374333744337453374633747337483374933750337513375233753337543375533756337573375833759337603376133762337633376433765337663376733768337693377033771337723377333774337753377633777337783377933780337813378233783337843378533786337873378833789337903379133792337933379433795337963379733798337993380033801338023380333804338053380633807338083380933810338113381233813338143381533816338173381833819338203382133822338233382433825338263382733828338293383033831338323383333834338353383633837338383383933840338413384233843338443384533846338473384833849338503385133852338533385433855338563385733858338593386033861338623386333864338653386633867338683386933870338713387233873338743387533876338773387833879338803388133882338833388433885338863388733888338893389033891338923389333894338953389633897338983389933900339013390233903339043390533906339073390833909339103391133912339133391433915339163391733918339193392033921339223392333924339253392633927339283392933930339313393233933339343393533936339373393833939339403394133942339433394433945339463394733948339493395033951339523395333954339553395633957339583395933960339613396233963339643396533966339673396833969339703397133972339733397433975339763397733978339793398033981339823398333984339853398633987339883398933990339913399233993339943399533996339973399833999340003400134002340033400434005340063400734008340093401034011340123401334014340153401634017340183401934020340213402234023340243402534026340273402834029340303403134032340333403434035340363403734038340393404034041340423404334044340453404634047340483404934050340513405234053340543405534056340573405834059340603406134062340633406434065340663406734068340693407034071340723407334074340753407634077340783407934080340813408234083340843408534086340873408834089340903409134092340933409434095340963409734098340993410034101341023410334104341053410634107341083410934110341113411234113341143411534116341173411834119341203412134122341233412434125341263412734128341293413034131341323413334134341353413634137341383413934140341413414234143341443414534146341473414834149341503415134152341533415434155341563415734158341593416034161341623416334164341653416634167341683416934170341713417234173341743417534176341773417834179341803418134182341833418434185341863418734188341893419034191341923419334194341953419634197341983419934200342013420234203342043420534206342073420834209342103421134212342133421434215342163421734218342193422034221342223422334224342253422634227342283422934230342313423234233342343423534236342373423834239342403424134242342433424434245342463424734248342493425034251342523425334254342553425634257342583425934260342613426234263342643426534266342673426834269342703427134272342733427434275342763427734278342793428034281342823428334284342853428634287342883428934290342913429234293342943429534296342973429834299343003430134302343033430434305343063430734308343093431034311343123431334314343153431634317343183431934320343213432234323343243432534326343273432834329343303433134332343333433434335343363433734338343393434034341343423434334344343453434634347343483434934350343513435234353343543435534356343573435834359343603436134362343633436434365343663436734368343693437034371343723437334374343753437634377343783437934380343813438234383343843438534386343873438834389343903439134392343933439434395343963439734398343993440034401344023440334404344053440634407344083440934410344113441234413344143441534416344173441834419344203442134422344233442434425344263442734428344293443034431344323443334434344353443634437344383443934440344413444234443344443444534446344473444834449344503445134452344533445434455344563445734458344593446034461344623446334464344653446634467344683446934470344713447234473344743447534476344773447834479344803448134482344833448434485344863448734488344893449034491344923449334494344953449634497344983449934500345013450234503345043450534506345073450834509345103451134512345133451434515345163451734518345193452034521345223452334524345253452634527345283452934530345313453234533345343453534536345373453834539345403454134542345433454434545345463454734548345493455034551345523455334554345553455634557345583455934560345613456234563345643456534566345673456834569345703457134572345733457434575345763457734578345793458034581345823458334584345853458634587345883458934590345913459234593345943459534596345973459834599346003460134602346033460434605346063460734608346093461034611346123461334614346153461634617346183461934620346213462234623346243462534626346273462834629346303463134632346333463434635346363463734638346393464034641346423464334644346453464634647346483464934650346513465234653346543465534656346573465834659346603466134662346633466434665346663466734668346693467034671346723467334674346753467634677346783467934680346813468234683346843468534686346873468834689346903469134692346933469434695346963469734698346993470034701347023470334704347053470634707347083470934710347113471234713347143471534716347173471834719347203472134722347233472434725347263472734728347293473034731347323473334734347353473634737347383473934740347413474234743347443474534746347473474834749347503475134752347533475434755347563475734758347593476034761347623476334764347653476634767347683476934770347713477234773347743477534776347773477834779347803478134782347833478434785347863478734788347893479034791347923479334794347953479634797347983479934800348013480234803348043480534806348073480834809348103481134812348133481434815348163481734818348193482034821348223482334824348253482634827348283482934830348313483234833348343483534836348373483834839348403484134842348433484434845348463484734848348493485034851348523485334854348553485634857348583485934860348613486234863348643486534866348673486834869348703487134872348733487434875348763487734878348793488034881348823488334884348853488634887348883488934890348913489234893348943489534896348973489834899349003490134902349033490434905349063490734908349093491034911349123491334914349153491634917349183491934920349213492234923349243492534926349273492834929349303493134932349333493434935349363493734938349393494034941349423494334944349453494634947349483494934950349513495234953349543495534956349573495834959349603496134962349633496434965349663496734968349693497034971349723497334974349753497634977349783497934980349813498234983349843498534986349873498834989349903499134992349933499434995349963499734998349993500035001350023500335004350053500635007350083500935010350113501235013350143501535016350173501835019350203502135022350233502435025350263502735028350293503035031350323503335034350353503635037350383503935040350413504235043350443504535046350473504835049350503505135052350533505435055350563505735058350593506035061350623506335064350653506635067350683506935070350713507235073350743507535076350773507835079350803508135082350833508435085350863508735088350893509035091350923509335094350953509635097350983509935100351013510235103351043510535106351073510835109351103511135112351133511435115351163511735118351193512035121351223512335124351253512635127351283512935130351313513235133351343513535136351373513835139351403514135142351433514435145351463514735148351493515035151351523515335154351553515635157351583515935160351613516235163351643516535166351673516835169351703517135172351733517435175351763517735178351793518035181351823518335184351853518635187351883518935190351913519235193351943519535196351973519835199352003520135202352033520435205352063520735208352093521035211352123521335214352153521635217352183521935220352213522235223352243522535226352273522835229352303523135232352333523435235352363523735238352393524035241352423524335244352453524635247352483524935250352513525235253352543525535256352573525835259352603526135262352633526435265352663526735268352693527035271352723527335274352753527635277352783527935280352813528235283352843528535286352873528835289352903529135292352933529435295352963529735298352993530035301353023530335304353053530635307353083530935310353113531235313353143531535316353173531835319353203532135322353233532435325353263532735328353293533035331353323533335334353353533635337353383533935340353413534235343353443534535346353473534835349353503535135352353533535435355353563535735358353593536035361353623536335364353653536635367353683536935370353713537235373353743537535376353773537835379353803538135382353833538435385353863538735388353893539035391353923539335394353953539635397353983539935400354013540235403354043540535406354073540835409354103541135412354133541435415354163541735418354193542035421354223542335424354253542635427354283542935430354313543235433354343543535436354373543835439354403544135442354433544435445354463544735448354493545035451354523545335454354553545635457354583545935460354613546235463354643546535466354673546835469354703547135472354733547435475354763547735478354793548035481354823548335484354853548635487354883548935490354913549235493354943549535496354973549835499355003550135502355033550435505355063550735508355093551035511355123551335514355153551635517355183551935520355213552235523355243552535526355273552835529355303553135532355333553435535355363553735538355393554035541355423554335544355453554635547355483554935550355513555235553355543555535556355573555835559355603556135562355633556435565355663556735568355693557035571355723557335574355753557635577355783557935580355813558235583355843558535586355873558835589355903559135592355933559435595355963559735598355993560035601356023560335604356053560635607356083560935610356113561235613356143561535616356173561835619356203562135622356233562435625356263562735628356293563035631356323563335634356353563635637356383563935640356413564235643356443564535646356473564835649356503565135652356533565435655356563565735658356593566035661356623566335664356653566635667356683566935670356713567235673356743567535676356773567835679356803568135682356833568435685356863568735688356893569035691356923569335694356953569635697356983569935700357013570235703357043570535706357073570835709357103571135712357133571435715357163571735718357193572035721357223572335724357253572635727357283572935730357313573235733357343573535736357373573835739357403574135742357433574435745357463574735748357493575035751357523575335754357553575635757357583575935760357613576235763357643576535766357673576835769357703577135772357733577435775357763577735778357793578035781357823578335784357853578635787357883578935790357913579235793357943579535796357973579835799358003580135802358033580435805358063580735808358093581035811358123581335814358153581635817358183581935820358213582235823358243582535826358273582835829358303583135832358333583435835358363583735838358393584035841358423584335844358453584635847358483584935850358513585235853358543585535856358573585835859358603586135862358633586435865358663586735868358693587035871358723587335874358753587635877358783587935880358813588235883358843588535886358873588835889358903589135892358933589435895358963589735898358993590035901359023590335904359053590635907359083590935910359113591235913359143591535916359173591835919359203592135922359233592435925359263592735928359293593035931359323593335934359353593635937359383593935940359413594235943359443594535946359473594835949359503595135952359533595435955359563595735958359593596035961359623596335964359653596635967359683596935970359713597235973359743597535976359773597835979359803598135982359833598435985359863598735988359893599035991359923599335994359953599635997359983599936000360013600236003360043600536006360073600836009360103601136012360133601436015360163601736018360193602036021360223602336024360253602636027360283602936030360313603236033360343603536036360373603836039360403604136042360433604436045360463604736048360493605036051360523605336054360553605636057360583605936060360613606236063360643606536066360673606836069360703607136072360733607436075360763607736078360793608036081360823608336084360853608636087360883608936090360913609236093360943609536096360973609836099361003610136102361033610436105361063610736108361093611036111361123611336114361153611636117361183611936120361213612236123361243612536126361273612836129361303613136132361333613436135361363613736138361393614036141361423614336144361453614636147361483614936150361513615236153361543615536156361573615836159361603616136162361633616436165361663616736168361693617036171361723617336174361753617636177361783617936180361813618236183361843618536186361873618836189361903619136192361933619436195361963619736198361993620036201362023620336204362053620636207362083620936210362113621236213362143621536216362173621836219362203622136222362233622436225362263622736228362293623036231362323623336234362353623636237362383623936240362413624236243362443624536246362473624836249362503625136252362533625436255362563625736258362593626036261362623626336264362653626636267362683626936270362713627236273362743627536276362773627836279362803628136282362833628436285362863628736288362893629036291362923629336294362953629636297362983629936300363013630236303363043630536306363073630836309363103631136312363133631436315363163631736318363193632036321363223632336324363253632636327363283632936330363313633236333363343633536336363373633836339363403634136342363433634436345363463634736348363493635036351363523635336354363553635636357363583635936360363613636236363363643636536366363673636836369363703637136372363733637436375363763637736378363793638036381363823638336384363853638636387363883638936390363913639236393363943639536396363973639836399364003640136402364033640436405364063640736408364093641036411364123641336414364153641636417364183641936420364213642236423364243642536426364273642836429364303643136432364333643436435364363643736438364393644036441364423644336444364453644636447364483644936450364513645236453364543645536456364573645836459364603646136462364633646436465364663646736468364693647036471364723647336474364753647636477364783647936480364813648236483364843648536486364873648836489364903649136492364933649436495364963649736498364993650036501365023650336504365053650636507365083650936510365113651236513365143651536516365173651836519365203652136522365233652436525365263652736528365293653036531365323653336534365353653636537365383653936540365413654236543365443654536546365473654836549365503655136552365533655436555365563655736558365593656036561365623656336564365653656636567365683656936570365713657236573365743657536576365773657836579365803658136582365833658436585365863658736588365893659036591365923659336594365953659636597365983659936600366013660236603366043660536606366073660836609366103661136612366133661436615366163661736618366193662036621366223662336624366253662636627366283662936630366313663236633366343663536636366373663836639366403664136642366433664436645366463664736648366493665036651366523665336654366553665636657366583665936660366613666236663366643666536666366673666836669366703667136672366733667436675366763667736678366793668036681366823668336684366853668636687366883668936690366913669236693366943669536696366973669836699367003670136702367033670436705367063670736708367093671036711367123671336714367153671636717367183671936720367213672236723367243672536726367273672836729367303673136732367333673436735367363673736738367393674036741367423674336744367453674636747367483674936750367513675236753367543675536756367573675836759367603676136762367633676436765367663676736768367693677036771367723677336774367753677636777367783677936780367813678236783367843678536786367873678836789367903679136792367933679436795367963679736798367993680036801368023680336804368053680636807368083680936810368113681236813368143681536816368173681836819368203682136822368233682436825368263682736828368293683036831368323683336834368353683636837368383683936840368413684236843368443684536846368473684836849368503685136852368533685436855368563685736858368593686036861368623686336864368653686636867368683686936870368713687236873368743687536876368773687836879368803688136882368833688436885368863688736888368893689036891368923689336894368953689636897368983689936900369013690236903369043690536906369073690836909369103691136912369133691436915369163691736918369193692036921369223692336924369253692636927369283692936930369313693236933369343693536936369373693836939369403694136942369433694436945369463694736948369493695036951369523695336954369553695636957369583695936960369613696236963369643696536966369673696836969369703697136972369733697436975369763697736978369793698036981369823698336984369853698636987369883698936990369913699236993369943699536996369973699836999370003700137002370033700437005370063700737008370093701037011370123701337014370153701637017370183701937020370213702237023370243702537026370273702837029370303703137032370333703437035370363703737038370393704037041370423704337044370453704637047370483704937050370513705237053370543705537056370573705837059370603706137062370633706437065370663706737068370693707037071370723707337074370753707637077370783707937080370813708237083370843708537086370873708837089370903709137092370933709437095370963709737098370993710037101371023710337104371053710637107371083710937110371113711237113371143711537116371173711837119371203712137122371233712437125371263712737128371293713037131371323713337134371353713637137371383713937140371413714237143371443714537146371473714837149371503715137152371533715437155371563715737158371593716037161371623716337164371653716637167371683716937170371713717237173371743717537176371773717837179371803718137182371833718437185371863718737188371893719037191371923719337194371953719637197371983719937200372013720237203372043720537206372073720837209372103721137212372133721437215372163721737218372193722037221372223722337224372253722637227372283722937230372313723237233372343723537236372373723837239372403724137242372433724437245372463724737248372493725037251372523725337254372553725637257372583725937260372613726237263372643726537266372673726837269372703727137272372733727437275372763727737278372793728037281372823728337284372853728637287372883728937290372913729237293372943729537296372973729837299373003730137302373033730437305373063730737308373093731037311373123731337314373153731637317373183731937320373213732237323373243732537326373273732837329373303733137332373333733437335373363733737338373393734037341373423734337344373453734637347373483734937350373513735237353373543735537356373573735837359373603736137362373633736437365373663736737368373693737037371373723737337374373753737637377373783737937380373813738237383373843738537386373873738837389373903739137392373933739437395373963739737398373993740037401374023740337404374053740637407374083740937410374113741237413374143741537416374173741837419374203742137422374233742437425374263742737428374293743037431374323743337434374353743637437374383743937440374413744237443374443744537446374473744837449374503745137452374533745437455374563745737458374593746037461374623746337464374653746637467374683746937470374713747237473374743747537476374773747837479374803748137482374833748437485374863748737488374893749037491374923749337494374953749637497374983749937500375013750237503375043750537506375073750837509375103751137512375133751437515375163751737518375193752037521375223752337524375253752637527375283752937530375313753237533375343753537536375373753837539375403754137542375433754437545375463754737548375493755037551375523755337554375553755637557375583755937560375613756237563375643756537566375673756837569375703757137572375733757437575375763757737578375793758037581375823758337584375853758637587375883758937590375913759237593375943759537596375973759837599376003760137602376033760437605376063760737608376093761037611376123761337614376153761637617376183761937620376213762237623376243762537626376273762837629376303763137632376333763437635376363763737638376393764037641376423764337644376453764637647376483764937650376513765237653376543765537656376573765837659376603766137662376633766437665376663766737668376693767037671376723767337674376753767637677376783767937680376813768237683376843768537686376873768837689376903769137692376933769437695376963769737698376993770037701377023770337704377053770637707377083770937710377113771237713377143771537716377173771837719377203772137722377233772437725377263772737728377293773037731377323773337734377353773637737377383773937740377413774237743377443774537746377473774837749377503775137752377533775437755377563775737758377593776037761377623776337764377653776637767377683776937770377713777237773377743777537776377773777837779377803778137782377833778437785377863778737788377893779037791377923779337794377953779637797377983779937800378013780237803378043780537806378073780837809378103781137812378133781437815378163781737818378193782037821378223782337824378253782637827378283782937830378313783237833378343783537836378373783837839378403784137842378433784437845378463784737848378493785037851378523785337854378553785637857378583785937860378613786237863378643786537866378673786837869378703787137872378733787437875378763787737878378793788037881378823788337884378853788637887378883788937890378913789237893378943789537896378973789837899379003790137902379033790437905379063790737908379093791037911379123791337914379153791637917379183791937920379213792237923379243792537926379273792837929379303793137932379333793437935379363793737938379393794037941379423794337944379453794637947379483794937950379513795237953379543795537956379573795837959379603796137962379633796437965379663796737968379693797037971379723797337974379753797637977379783797937980379813798237983379843798537986379873798837989379903799137992379933799437995379963799737998379993800038001380023800338004380053800638007380083800938010380113801238013380143801538016380173801838019380203802138022380233802438025380263802738028380293803038031380323803338034380353803638037380383803938040380413804238043380443804538046380473804838049380503805138052380533805438055380563805738058380593806038061380623806338064380653806638067380683806938070380713807238073380743807538076380773807838079380803808138082380833808438085380863808738088380893809038091380923809338094380953809638097380983809938100381013810238103381043810538106381073810838109381103811138112381133811438115381163811738118381193812038121381223812338124381253812638127381283812938130381313813238133381343813538136381373813838139381403814138142381433814438145381463814738148381493815038151381523815338154381553815638157381583815938160381613816238163381643816538166381673816838169381703817138172381733817438175381763817738178381793818038181381823818338184381853818638187381883818938190381913819238193381943819538196381973819838199382003820138202382033820438205382063820738208382093821038211382123821338214382153821638217382183821938220382213822238223382243822538226382273822838229382303823138232382333823438235382363823738238382393824038241382423824338244382453824638247382483824938250382513825238253382543825538256382573825838259382603826138262382633826438265382663826738268382693827038271382723827338274382753827638277382783827938280382813828238283382843828538286382873828838289382903829138292382933829438295382963829738298382993830038301383023830338304383053830638307383083830938310383113831238313383143831538316383173831838319383203832138322383233832438325383263832738328383293833038331383323833338334383353833638337383383833938340383413834238343383443834538346383473834838349383503835138352383533835438355383563835738358383593836038361383623836338364383653836638367383683836938370383713837238373383743837538376383773837838379383803838138382383833838438385383863838738388383893839038391383923839338394383953839638397383983839938400384013840238403384043840538406384073840838409384103841138412384133841438415384163841738418384193842038421384223842338424384253842638427384283842938430384313843238433384343843538436384373843838439384403844138442384433844438445384463844738448384493845038451384523845338454384553845638457384583845938460384613846238463384643846538466384673846838469384703847138472384733847438475384763847738478384793848038481384823848338484384853848638487384883848938490384913849238493384943849538496384973849838499385003850138502385033850438505385063850738508385093851038511385123851338514385153851638517385183851938520385213852238523385243852538526385273852838529385303853138532385333853438535385363853738538385393854038541385423854338544385453854638547385483854938550385513855238553385543855538556385573855838559385603856138562385633856438565385663856738568385693857038571385723857338574385753857638577385783857938580385813858238583385843858538586385873858838589385903859138592385933859438595385963859738598385993860038601386023860338604386053860638607386083860938610386113861238613386143861538616386173861838619386203862138622386233862438625386263862738628386293863038631386323863338634386353863638637386383863938640386413864238643386443864538646386473864838649386503865138652386533865438655386563865738658386593866038661386623866338664386653866638667386683866938670386713867238673386743867538676386773867838679386803868138682386833868438685386863868738688386893869038691386923869338694386953869638697386983869938700387013870238703387043870538706387073870838709387103871138712387133871438715387163871738718387193872038721387223872338724387253872638727387283872938730387313873238733387343873538736387373873838739387403874138742387433874438745387463874738748387493875038751387523875338754387553875638757387583875938760387613876238763387643876538766387673876838769387703877138772387733877438775387763877738778387793878038781387823878338784387853878638787387883878938790387913879238793387943879538796387973879838799388003880138802388033880438805388063880738808388093881038811388123881338814388153881638817388183881938820388213882238823388243882538826388273882838829388303883138832388333883438835388363883738838388393884038841388423884338844388453884638847388483884938850388513885238853388543885538856388573885838859388603886138862388633886438865388663886738868388693887038871388723887338874388753887638877388783887938880388813888238883388843888538886388873888838889388903889138892388933889438895388963889738898388993890038901389023890338904389053890638907389083890938910389113891238913389143891538916389173891838919389203892138922389233892438925389263892738928389293893038931389323893338934389353893638937389383893938940389413894238943389443894538946389473894838949389503895138952389533895438955389563895738958389593896038961389623896338964389653896638967389683896938970389713897238973389743897538976389773897838979389803898138982389833898438985389863898738988389893899038991389923899338994389953899638997389983899939000390013900239003390043900539006390073900839009390103901139012390133901439015390163901739018390193902039021390223902339024390253902639027390283902939030390313903239033390343903539036390373903839039390403904139042390433904439045390463904739048390493905039051390523905339054390553905639057390583905939060390613906239063390643906539066390673906839069390703907139072390733907439075390763907739078390793908039081390823908339084390853908639087390883908939090390913909239093390943909539096390973909839099391003910139102391033910439105391063910739108391093911039111391123911339114391153911639117391183911939120391213912239123391243912539126391273912839129391303913139132391333913439135391363913739138391393914039141391423914339144391453914639147391483914939150391513915239153391543915539156391573915839159391603916139162391633916439165391663916739168391693917039171391723917339174391753917639177391783917939180391813918239183391843918539186391873918839189391903919139192391933919439195391963919739198391993920039201392023920339204392053920639207392083920939210392113921239213392143921539216392173921839219392203922139222392233922439225392263922739228392293923039231392323923339234392353923639237392383923939240392413924239243392443924539246392473924839249392503925139252392533925439255392563925739258392593926039261392623926339264392653926639267392683926939270392713927239273392743927539276392773927839279392803928139282392833928439285392863928739288392893929039291392923929339294392953929639297392983929939300393013930239303393043930539306393073930839309393103931139312393133931439315393163931739318393193932039321393223932339324393253932639327393283932939330393313933239333393343933539336393373933839339393403934139342393433934439345393463934739348393493935039351393523935339354393553935639357393583935939360393613936239363393643936539366393673936839369393703937139372393733937439375393763937739378393793938039381393823938339384393853938639387393883938939390393913939239393393943939539396393973939839399394003940139402394033940439405394063940739408394093941039411394123941339414394153941639417394183941939420394213942239423394243942539426394273942839429394303943139432394333943439435394363943739438394393944039441394423944339444394453944639447394483944939450394513945239453394543945539456394573945839459394603946139462394633946439465394663946739468394693947039471394723947339474394753947639477394783947939480394813948239483394843948539486394873948839489394903949139492394933949439495394963949739498394993950039501395023950339504395053950639507395083950939510395113951239513395143951539516395173951839519395203952139522395233952439525395263952739528395293953039531395323953339534395353953639537395383953939540395413954239543395443954539546395473954839549395503955139552395533955439555395563955739558395593956039561395623956339564395653956639567395683956939570395713957239573395743957539576395773957839579395803958139582395833958439585395863958739588395893959039591395923959339594395953959639597395983959939600396013960239603396043960539606396073960839609396103961139612396133961439615396163961739618396193962039621396223962339624396253962639627396283962939630396313963239633396343963539636396373963839639396403964139642396433964439645396463964739648396493965039651396523965339654396553965639657396583965939660396613966239663396643966539666396673966839669396703967139672396733967439675396763967739678396793968039681396823968339684396853968639687396883968939690396913969239693396943969539696396973969839699397003970139702397033970439705397063970739708397093971039711397123971339714397153971639717397183971939720397213972239723397243972539726397273972839729397303973139732397333973439735397363973739738397393974039741397423974339744397453974639747397483974939750397513975239753397543975539756397573975839759397603976139762397633976439765397663976739768397693977039771397723977339774397753977639777397783977939780397813978239783397843978539786397873978839789397903979139792397933979439795397963979739798397993980039801398023980339804398053980639807398083980939810398113981239813398143981539816398173981839819398203982139822398233982439825398263982739828398293983039831398323983339834398353983639837398383983939840398413984239843398443984539846398473984839849398503985139852398533985439855398563985739858398593986039861398623986339864398653986639867398683986939870398713987239873398743987539876398773987839879398803988139882398833988439885398863988739888398893989039891398923989339894398953989639897398983989939900399013990239903399043990539906399073990839909399103991139912399133991439915399163991739918399193992039921399223992339924399253992639927399283992939930399313993239933399343993539936399373993839939399403994139942399433994439945399463994739948399493995039951399523995339954399553995639957399583995939960399613996239963399643996539966399673996839969399703997139972399733997439975399763997739978399793998039981399823998339984399853998639987399883998939990399913999239993399943999539996399973999839999400004000140002400034000440005400064000740008400094001040011400124001340014400154001640017400184001940020400214002240023400244002540026400274002840029400304003140032400334003440035400364003740038400394004040041400424004340044400454004640047400484004940050400514005240053400544005540056400574005840059400604006140062400634006440065400664006740068400694007040071400724007340074400754007640077400784007940080400814008240083400844008540086400874008840089400904009140092400934009440095400964009740098400994010040101401024010340104401054010640107401084010940110401114011240113401144011540116401174011840119401204012140122401234012440125401264012740128401294013040131401324013340134401354013640137401384013940140401414014240143401444014540146401474014840149401504015140152401534015440155401564015740158401594016040161401624016340164401654016640167401684016940170401714017240173401744017540176401774017840179401804018140182401834018440185401864018740188401894019040191401924019340194401954019640197401984019940200402014020240203402044020540206402074020840209402104021140212402134021440215402164021740218402194022040221402224022340224402254022640227402284022940230402314023240233402344023540236402374023840239402404024140242402434024440245402464024740248402494025040251402524025340254402554025640257402584025940260402614026240263402644026540266402674026840269402704027140272402734027440275402764027740278402794028040281402824028340284402854028640287402884028940290402914029240293402944029540296402974029840299403004030140302403034030440305403064030740308403094031040311403124031340314403154031640317403184031940320403214032240323403244032540326403274032840329403304033140332403334033440335403364033740338403394034040341403424034340344403454034640347403484034940350403514035240353403544035540356403574035840359403604036140362403634036440365403664036740368403694037040371403724037340374403754037640377403784037940380403814038240383403844038540386403874038840389403904039140392403934039440395403964039740398403994040040401404024040340404404054040640407404084040940410404114041240413404144041540416404174041840419404204042140422404234042440425404264042740428404294043040431404324043340434404354043640437404384043940440404414044240443404444044540446404474044840449404504045140452404534045440455404564045740458404594046040461404624046340464404654046640467404684046940470404714047240473404744047540476404774047840479404804048140482404834048440485404864048740488404894049040491404924049340494404954049640497404984049940500405014050240503405044050540506405074050840509405104051140512405134051440515405164051740518405194052040521405224052340524405254052640527405284052940530405314053240533405344053540536405374053840539405404054140542405434054440545405464054740548405494055040551405524055340554405554055640557405584055940560405614056240563405644056540566405674056840569405704057140572405734057440575405764057740578405794058040581405824058340584405854058640587405884058940590405914059240593405944059540596405974059840599406004060140602406034060440605406064060740608406094061040611406124061340614406154061640617406184061940620406214062240623406244062540626406274062840629406304063140632406334063440635406364063740638406394064040641406424064340644406454064640647406484064940650406514065240653406544065540656406574065840659406604066140662406634066440665406664066740668406694067040671406724067340674406754067640677406784067940680406814068240683406844068540686406874068840689406904069140692406934069440695406964069740698406994070040701407024070340704407054070640707407084070940710407114071240713407144071540716407174071840719407204072140722407234072440725407264072740728407294073040731407324073340734407354073640737407384073940740407414074240743407444074540746407474074840749407504075140752407534075440755407564075740758407594076040761407624076340764407654076640767407684076940770407714077240773407744077540776407774077840779407804078140782407834078440785407864078740788407894079040791407924079340794407954079640797407984079940800408014080240803408044080540806408074080840809408104081140812408134081440815408164081740818408194082040821408224082340824408254082640827408284082940830408314083240833408344083540836408374083840839408404084140842408434084440845408464084740848408494085040851408524085340854408554085640857408584085940860408614086240863408644086540866408674086840869408704087140872408734087440875408764087740878408794088040881408824088340884408854088640887408884088940890408914089240893408944089540896408974089840899409004090140902409034090440905409064090740908409094091040911409124091340914409154091640917409184091940920409214092240923409244092540926409274092840929409304093140932409334093440935409364093740938409394094040941409424094340944409454094640947409484094940950409514095240953409544095540956409574095840959409604096140962409634096440965409664096740968409694097040971409724097340974409754097640977409784097940980409814098240983409844098540986409874098840989409904099140992409934099440995409964099740998409994100041001410024100341004410054100641007410084100941010410114101241013410144101541016410174101841019410204102141022410234102441025410264102741028410294103041031410324103341034410354103641037410384103941040410414104241043410444104541046410474104841049410504105141052410534105441055410564105741058410594106041061410624106341064410654106641067410684106941070410714107241073410744107541076410774107841079410804108141082410834108441085410864108741088410894109041091410924109341094410954109641097410984109941100411014110241103411044110541106411074110841109411104111141112411134111441115411164111741118411194112041121411224112341124411254112641127411284112941130411314113241133411344113541136411374113841139411404114141142411434114441145411464114741148411494115041151411524115341154411554115641157411584115941160411614116241163411644116541166411674116841169411704117141172411734117441175411764117741178411794118041181411824118341184411854118641187411884118941190411914119241193411944119541196411974119841199412004120141202412034120441205412064120741208412094121041211412124121341214412154121641217412184121941220412214122241223412244122541226412274122841229412304123141232412334123441235412364123741238412394124041241412424124341244412454124641247412484124941250412514125241253412544125541256412574125841259412604126141262412634126441265412664126741268412694127041271412724127341274412754127641277412784127941280412814128241283412844128541286412874128841289412904129141292412934129441295412964129741298412994130041301413024130341304413054130641307413084130941310413114131241313413144131541316413174131841319413204132141322413234132441325413264132741328413294133041331413324133341334413354133641337413384133941340413414134241343413444134541346413474134841349413504135141352413534135441355413564135741358413594136041361413624136341364413654136641367413684136941370413714137241373413744137541376413774137841379413804138141382413834138441385413864138741388413894139041391413924139341394413954139641397413984139941400414014140241403414044140541406414074140841409414104141141412414134141441415414164141741418414194142041421414224142341424414254142641427414284142941430414314143241433414344143541436414374143841439414404144141442414434144441445414464144741448414494145041451414524145341454414554145641457414584145941460414614146241463414644146541466414674146841469414704147141472414734147441475414764147741478414794148041481414824148341484414854148641487414884148941490414914149241493414944149541496414974149841499415004150141502415034150441505415064150741508415094151041511415124151341514415154151641517415184151941520415214152241523415244152541526415274152841529415304153141532415334153441535415364153741538415394154041541415424154341544415454154641547415484154941550415514155241553415544155541556415574155841559415604156141562415634156441565415664156741568415694157041571415724157341574415754157641577415784157941580415814158241583415844158541586415874158841589415904159141592415934159441595415964159741598415994160041601416024160341604416054160641607416084160941610416114161241613416144161541616416174161841619416204162141622416234162441625416264162741628416294163041631416324163341634416354163641637416384163941640416414164241643416444164541646416474164841649416504165141652416534165441655416564165741658416594166041661416624166341664416654166641667416684166941670416714167241673416744167541676416774167841679416804168141682416834168441685416864168741688416894169041691416924169341694416954169641697416984169941700417014170241703417044170541706417074170841709417104171141712417134171441715417164171741718417194172041721417224172341724417254172641727417284172941730417314173241733417344173541736417374173841739417404174141742417434174441745417464174741748417494175041751417524175341754417554175641757417584175941760417614176241763417644176541766417674176841769417704177141772417734177441775417764177741778417794178041781417824178341784417854178641787417884178941790417914179241793417944179541796417974179841799418004180141802418034180441805418064180741808418094181041811418124181341814418154181641817418184181941820418214182241823418244182541826418274182841829418304183141832418334183441835418364183741838418394184041841418424184341844418454184641847418484184941850418514185241853418544185541856418574185841859418604186141862418634186441865418664186741868418694187041871418724187341874418754187641877418784187941880418814188241883418844188541886418874188841889418904189141892418934189441895418964189741898418994190041901419024190341904419054190641907419084190941910419114191241913419144191541916419174191841919419204192141922419234192441925419264192741928419294193041931419324193341934419354193641937419384193941940419414194241943419444194541946419474194841949419504195141952419534195441955419564195741958419594196041961419624196341964419654196641967419684196941970419714197241973419744197541976419774197841979419804198141982419834198441985419864198741988419894199041991419924199341994419954199641997419984199942000420014200242003420044200542006420074200842009420104201142012420134201442015420164201742018420194202042021420224202342024420254202642027420284202942030420314203242033420344203542036420374203842039420404204142042420434204442045420464204742048420494205042051420524205342054420554205642057420584205942060420614206242063420644206542066420674206842069420704207142072420734207442075420764207742078420794208042081420824208342084420854208642087420884208942090420914209242093420944209542096420974209842099421004210142102421034210442105421064210742108421094211042111421124211342114421154211642117421184211942120421214212242123421244212542126421274212842129421304213142132421334213442135421364213742138421394214042141421424214342144421454214642147421484214942150421514215242153421544215542156421574215842159421604216142162421634216442165421664216742168421694217042171421724217342174421754217642177421784217942180421814218242183421844218542186421874218842189421904219142192421934219442195421964219742198421994220042201422024220342204422054220642207422084220942210422114221242213422144221542216422174221842219422204222142222422234222442225422264222742228422294223042231422324223342234422354223642237422384223942240422414224242243422444224542246422474224842249422504225142252422534225442255422564225742258422594226042261422624226342264422654226642267422684226942270422714227242273422744227542276422774227842279422804228142282422834228442285422864228742288422894229042291422924229342294422954229642297422984229942300423014230242303423044230542306423074230842309423104231142312423134231442315423164231742318423194232042321423224232342324423254232642327423284232942330423314233242333423344233542336423374233842339423404234142342423434234442345423464234742348423494235042351423524235342354423554235642357423584235942360423614236242363423644236542366423674236842369423704237142372423734237442375423764237742378423794238042381423824238342384423854238642387423884238942390423914239242393423944239542396423974239842399424004240142402424034240442405424064240742408424094241042411424124241342414424154241642417424184241942420424214242242423424244242542426424274242842429424304243142432424334243442435424364243742438424394244042441424424244342444424454244642447424484244942450424514245242453424544245542456424574245842459424604246142462424634246442465424664246742468424694247042471424724247342474424754247642477424784247942480424814248242483424844248542486424874248842489424904249142492424934249442495424964249742498424994250042501425024250342504425054250642507425084250942510425114251242513425144251542516425174251842519425204252142522425234252442525425264252742528425294253042531425324253342534425354253642537425384253942540425414254242543425444254542546425474254842549425504255142552425534255442555425564255742558425594256042561425624256342564425654256642567425684256942570425714257242573425744257542576425774257842579425804258142582425834258442585425864258742588425894259042591425924259342594425954259642597425984259942600426014260242603426044260542606426074260842609426104261142612426134261442615426164261742618426194262042621426224262342624426254262642627426284262942630426314263242633426344263542636426374263842639426404264142642426434264442645426464264742648426494265042651426524265342654426554265642657426584265942660426614266242663426644266542666426674266842669426704267142672426734267442675426764267742678426794268042681426824268342684426854268642687426884268942690426914269242693426944269542696426974269842699427004270142702427034270442705427064270742708427094271042711427124271342714427154271642717427184271942720427214272242723427244272542726427274272842729427304273142732427334273442735427364273742738427394274042741427424274342744427454274642747427484274942750427514275242753427544275542756427574275842759427604276142762427634276442765427664276742768427694277042771427724277342774427754277642777427784277942780427814278242783427844278542786427874278842789427904279142792427934279442795427964279742798427994280042801428024280342804428054280642807428084280942810428114281242813428144281542816428174281842819428204282142822428234282442825428264282742828428294283042831428324283342834428354283642837428384283942840428414284242843428444284542846428474284842849428504285142852428534285442855428564285742858428594286042861428624286342864428654286642867428684286942870428714287242873428744287542876428774287842879428804288142882428834288442885428864288742888428894289042891428924289342894428954289642897428984289942900429014290242903429044290542906429074290842909429104291142912429134291442915429164291742918429194292042921429224292342924429254292642927429284292942930429314293242933429344293542936429374293842939429404294142942429434294442945429464294742948429494295042951429524295342954429554295642957429584295942960429614296242963429644296542966429674296842969429704297142972429734297442975429764297742978429794298042981429824298342984429854298642987429884298942990429914299242993429944299542996429974299842999430004300143002430034300443005430064300743008430094301043011430124301343014430154301643017430184301943020430214302243023430244302543026430274302843029430304303143032430334303443035430364303743038430394304043041430424304343044430454304643047430484304943050430514305243053430544305543056430574305843059430604306143062430634306443065430664306743068430694307043071430724307343074430754307643077430784307943080430814308243083430844308543086430874308843089430904309143092430934309443095430964309743098430994310043101431024310343104431054310643107431084310943110431114311243113431144311543116431174311843119431204312143122431234312443125431264312743128431294313043131431324313343134431354313643137431384313943140431414314243143431444314543146431474314843149431504315143152431534315443155431564315743158431594316043161431624316343164431654316643167431684316943170431714317243173431744317543176431774317843179431804318143182431834318443185431864318743188431894319043191431924319343194431954319643197431984319943200432014320243203432044320543206432074320843209432104321143212432134321443215432164321743218432194322043221432224322343224432254322643227432284322943230432314323243233432344323543236432374323843239432404324143242432434324443245432464324743248432494325043251432524325343254432554325643257432584325943260432614326243263432644326543266432674326843269432704327143272432734327443275432764327743278432794328043281432824328343284432854328643287432884328943290432914329243293432944329543296432974329843299433004330143302433034330443305433064330743308433094331043311433124331343314433154331643317433184331943320433214332243323433244332543326433274332843329433304333143332433334333443335433364333743338433394334043341433424334343344433454334643347433484334943350433514335243353433544335543356433574335843359433604336143362433634336443365433664336743368433694337043371433724337343374433754337643377433784337943380433814338243383433844338543386433874338843389433904339143392433934339443395433964339743398433994340043401434024340343404434054340643407434084340943410434114341243413434144341543416434174341843419434204342143422434234342443425434264342743428434294343043431434324343343434434354343643437434384343943440434414344243443434444344543446434474344843449434504345143452434534345443455434564345743458434594346043461434624346343464434654346643467434684346943470434714347243473434744347543476434774347843479434804348143482434834348443485434864348743488434894349043491434924349343494434954349643497434984349943500435014350243503435044350543506435074350843509435104351143512435134351443515435164351743518435194352043521435224352343524435254352643527435284352943530435314353243533435344353543536435374353843539435404354143542435434354443545435464354743548435494355043551435524355343554435554355643557435584355943560435614356243563435644356543566435674356843569435704357143572435734357443575435764357743578435794358043581435824358343584435854358643587435884358943590435914359243593435944359543596435974359843599436004360143602436034360443605436064360743608436094361043611436124361343614436154361643617436184361943620436214362243623436244362543626436274362843629436304363143632436334363443635436364363743638436394364043641436424364343644436454364643647436484364943650436514365243653436544365543656436574365843659436604366143662436634366443665436664366743668436694367043671436724367343674436754367643677436784367943680436814368243683436844368543686436874368843689436904369143692436934369443695436964369743698436994370043701437024370343704437054370643707437084370943710437114371243713437144371543716437174371843719437204372143722437234372443725437264372743728437294373043731437324373343734437354373643737437384373943740437414374243743437444374543746437474374843749437504375143752437534375443755437564375743758437594376043761437624376343764437654376643767437684376943770437714377243773437744377543776437774377843779437804378143782437834378443785437864378743788437894379043791437924379343794437954379643797437984379943800438014380243803438044380543806438074380843809438104381143812438134381443815438164381743818438194382043821438224382343824438254382643827438284382943830438314383243833438344383543836438374383843839438404384143842438434384443845438464384743848438494385043851438524385343854438554385643857438584385943860438614386243863438644386543866438674386843869438704387143872438734387443875438764387743878438794388043881438824388343884438854388643887438884388943890438914389243893438944389543896438974389843899439004390143902439034390443905439064390743908439094391043911439124391343914439154391643917439184391943920439214392243923439244392543926439274392843929439304393143932439334393443935439364393743938439394394043941439424394343944439454394643947439484394943950439514395243953439544395543956439574395843959439604396143962439634396443965439664396743968439694397043971439724397343974439754397643977439784397943980439814398243983439844398543986439874398843989439904399143992439934399443995439964399743998439994400044001440024400344004440054400644007440084400944010440114401244013440144401544016440174401844019440204402144022440234402444025440264402744028440294403044031440324403344034440354403644037440384403944040440414404244043440444404544046440474404844049440504405144052440534405444055440564405744058440594406044061440624406344064440654406644067440684406944070440714407244073440744407544076440774407844079440804408144082440834408444085440864408744088440894409044091440924409344094440954409644097440984409944100441014410244103441044410544106441074410844109441104411144112441134411444115441164411744118441194412044121441224412344124441254412644127441284412944130441314413244133441344413544136441374413844139441404414144142441434414444145441464414744148441494415044151441524415344154441554415644157441584415944160441614416244163441644416544166441674416844169441704417144172441734417444175441764417744178441794418044181441824418344184441854418644187441884418944190441914419244193441944419544196441974419844199442004420144202442034420444205442064420744208442094421044211442124421344214442154421644217442184421944220442214422244223442244422544226442274422844229442304423144232442334423444235442364423744238442394424044241442424424344244442454424644247442484424944250442514425244253442544425544256442574425844259442604426144262442634426444265442664426744268442694427044271442724427344274442754427644277442784427944280442814428244283442844428544286442874428844289442904429144292442934429444295442964429744298442994430044301443024430344304443054430644307443084430944310443114431244313443144431544316443174431844319443204432144322443234432444325443264432744328443294433044331443324433344334443354433644337443384433944340443414434244343443444434544346443474434844349443504435144352443534435444355443564435744358443594436044361443624436344364443654436644367443684436944370443714437244373443744437544376443774437844379443804438144382443834438444385443864438744388443894439044391443924439344394443954439644397443984439944400444014440244403444044440544406444074440844409444104441144412444134441444415444164441744418444194442044421444224442344424444254442644427444284442944430444314443244433444344443544436444374443844439444404444144442444434444444445444464444744448444494445044451444524445344454444554445644457444584445944460444614446244463444644446544466444674446844469444704447144472444734447444475444764447744478444794448044481444824448344484444854448644487444884448944490444914449244493444944449544496444974449844499445004450144502445034450444505445064450744508445094451044511445124451344514445154451644517445184451944520445214452244523445244452544526445274452844529445304453144532445334453444535445364453744538445394454044541445424454344544445454454644547445484454944550445514455244553445544455544556445574455844559445604456144562445634456444565445664456744568445694457044571445724457344574445754457644577445784457944580445814458244583445844458544586445874458844589445904459144592445934459444595445964459744598445994460044601446024460344604446054460644607446084460944610446114461244613446144461544616446174461844619446204462144622446234462444625446264462744628446294463044631446324463344634446354463644637446384463944640446414464244643446444464544646446474464844649446504465144652446534465444655446564465744658446594466044661446624466344664446654466644667446684466944670446714467244673446744467544676446774467844679446804468144682446834468444685446864468744688446894469044691446924469344694446954469644697446984469944700447014470244703447044470544706447074470844709447104471144712447134471444715447164471744718447194472044721447224472344724447254472644727447284472944730447314473244733447344473544736447374473844739447404474144742447434474444745447464474744748447494475044751447524475344754447554475644757447584475944760447614476244763447644476544766447674476844769447704477144772447734477444775447764477744778447794478044781447824478344784447854478644787447884478944790447914479244793447944479544796447974479844799448004480144802448034480444805448064480744808448094481044811448124481344814448154481644817448184481944820448214482244823448244482544826448274482844829448304483144832448334483444835448364483744838448394484044841448424484344844448454484644847448484484944850448514485244853448544485544856448574485844859448604486144862448634486444865448664486744868448694487044871448724487344874448754487644877448784487944880448814488244883448844488544886448874488844889448904489144892448934489444895448964489744898448994490044901449024490344904449054490644907449084490944910449114491244913449144491544916449174491844919449204492144922449234492444925449264492744928449294493044931449324493344934449354493644937449384493944940449414494244943449444494544946449474494844949449504495144952449534495444955449564495744958449594496044961449624496344964449654496644967449684496944970449714497244973449744497544976449774497844979449804498144982449834498444985449864498744988449894499044991449924499344994449954499644997449984499945000450014500245003450044500545006450074500845009450104501145012450134501445015450164501745018450194502045021450224502345024450254502645027450284502945030450314503245033450344503545036450374503845039450404504145042450434504445045450464504745048450494505045051450524505345054450554505645057450584505945060450614506245063450644506545066450674506845069450704507145072450734507445075450764507745078450794508045081450824508345084450854508645087450884508945090450914509245093450944509545096450974509845099451004510145102451034510445105451064510745108451094511045111451124511345114451154511645117451184511945120451214512245123451244512545126451274512845129451304513145132451334513445135451364513745138451394514045141451424514345144451454514645147451484514945150451514515245153451544515545156451574515845159451604516145162451634516445165451664516745168451694517045171451724517345174451754517645177451784517945180451814518245183451844518545186451874518845189451904519145192451934519445195451964519745198451994520045201452024520345204452054520645207452084520945210452114521245213452144521545216452174521845219452204522145222452234522445225452264522745228452294523045231452324523345234452354523645237452384523945240452414524245243452444524545246452474524845249452504525145252452534525445255452564525745258452594526045261452624526345264452654526645267452684526945270452714527245273452744527545276452774527845279452804528145282452834528445285452864528745288452894529045291452924529345294452954529645297452984529945300453014530245303453044530545306453074530845309453104531145312453134531445315453164531745318453194532045321453224532345324453254532645327453284532945330453314533245333453344533545336453374533845339453404534145342453434534445345453464534745348453494535045351453524535345354453554535645357453584535945360453614536245363453644536545366453674536845369453704537145372453734537445375453764537745378453794538045381453824538345384453854538645387453884538945390453914539245393453944539545396453974539845399454004540145402454034540445405454064540745408454094541045411454124541345414454154541645417454184541945420454214542245423454244542545426454274542845429454304543145432454334543445435454364543745438454394544045441454424544345444454454544645447454484544945450454514545245453454544545545456454574545845459454604546145462454634546445465454664546745468454694547045471454724547345474454754547645477454784547945480454814548245483454844548545486454874548845489454904549145492454934549445495454964549745498454994550045501455024550345504455054550645507455084550945510455114551245513455144551545516455174551845519455204552145522455234552445525455264552745528455294553045531455324553345534455354553645537455384553945540455414554245543455444554545546455474554845549455504555145552455534555445555455564555745558455594556045561455624556345564455654556645567455684556945570455714557245573455744557545576455774557845579455804558145582455834558445585455864558745588455894559045591455924559345594455954559645597455984559945600456014560245603456044560545606456074560845609456104561145612456134561445615456164561745618456194562045621456224562345624456254562645627456284562945630456314563245633456344563545636456374563845639456404564145642456434564445645456464564745648456494565045651456524565345654456554565645657456584565945660456614566245663456644566545666456674566845669456704567145672456734567445675456764567745678456794568045681456824568345684456854568645687456884568945690456914569245693456944569545696456974569845699457004570145702457034570445705457064570745708457094571045711457124571345714457154571645717457184571945720457214572245723457244572545726457274572845729457304573145732457334573445735457364573745738457394574045741457424574345744457454574645747457484574945750457514575245753457544575545756457574575845759457604576145762457634576445765457664576745768457694577045771457724577345774457754577645777457784577945780457814578245783457844578545786457874578845789457904579145792457934579445795457964579745798457994580045801458024580345804458054580645807458084580945810458114581245813458144581545816458174581845819458204582145822458234582445825458264582745828458294583045831458324583345834458354583645837458384583945840458414584245843458444584545846458474584845849458504585145852458534585445855458564585745858458594586045861458624586345864458654586645867458684586945870458714587245873458744587545876458774587845879458804588145882458834588445885458864588745888458894589045891458924589345894458954589645897458984589945900459014590245903459044590545906459074590845909459104591145912459134591445915459164591745918459194592045921459224592345924459254592645927459284592945930459314593245933459344593545936459374593845939459404594145942459434594445945459464594745948459494595045951459524595345954459554595645957459584595945960459614596245963459644596545966459674596845969459704597145972459734597445975459764597745978459794598045981459824598345984459854598645987459884598945990459914599245993459944599545996459974599845999460004600146002460034600446005460064600746008460094601046011460124601346014460154601646017460184601946020460214602246023460244602546026460274602846029460304603146032460334603446035460364603746038460394604046041460424604346044460454604646047460484604946050460514605246053460544605546056460574605846059460604606146062460634606446065460664606746068460694607046071460724607346074460754607646077460784607946080460814608246083460844608546086460874608846089460904609146092460934609446095460964609746098460994610046101461024610346104461054610646107461084610946110461114611246113461144611546116461174611846119461204612146122461234612446125461264612746128461294613046131461324613346134461354613646137461384613946140461414614246143461444614546146461474614846149461504615146152461534615446155461564615746158461594616046161461624616346164461654616646167461684616946170461714617246173461744617546176461774617846179461804618146182461834618446185461864618746188461894619046191461924619346194461954619646197461984619946200462014620246203462044620546206462074620846209462104621146212462134621446215462164621746218462194622046221462224622346224462254622646227462284622946230462314623246233462344623546236462374623846239462404624146242462434624446245462464624746248462494625046251462524625346254462554625646257462584625946260462614626246263462644626546266462674626846269462704627146272462734627446275462764627746278462794628046281462824628346284462854628646287462884628946290462914629246293462944629546296462974629846299463004630146302463034630446305463064630746308463094631046311463124631346314463154631646317463184631946320463214632246323463244632546326463274632846329463304633146332463334633446335463364633746338463394634046341463424634346344463454634646347463484634946350463514635246353463544635546356463574635846359463604636146362463634636446365463664636746368463694637046371463724637346374463754637646377463784637946380463814638246383463844638546386463874638846389463904639146392463934639446395463964639746398463994640046401464024640346404464054640646407464084640946410464114641246413464144641546416464174641846419464204642146422464234642446425464264642746428464294643046431464324643346434464354643646437464384643946440464414644246443464444644546446464474644846449464504645146452464534645446455464564645746458464594646046461464624646346464464654646646467464684646946470464714647246473464744647546476464774647846479464804648146482464834648446485464864648746488464894649046491464924649346494464954649646497464984649946500465014650246503465044650546506465074650846509465104651146512465134651446515465164651746518465194652046521465224652346524465254652646527465284652946530465314653246533465344653546536465374653846539465404654146542465434654446545465464654746548465494655046551465524655346554465554655646557465584655946560465614656246563465644656546566465674656846569465704657146572465734657446575465764657746578465794658046581465824658346584465854658646587465884658946590465914659246593465944659546596465974659846599466004660146602466034660446605466064660746608466094661046611466124661346614466154661646617466184661946620466214662246623466244662546626466274662846629466304663146632466334663446635466364663746638466394664046641466424664346644466454664646647466484664946650466514665246653466544665546656466574665846659466604666146662466634666446665466664666746668466694667046671466724667346674466754667646677466784667946680466814668246683466844668546686466874668846689466904669146692466934669446695466964669746698466994670046701467024670346704467054670646707467084670946710467114671246713467144671546716467174671846719467204672146722467234672446725467264672746728467294673046731467324673346734467354673646737467384673946740467414674246743467444674546746467474674846749467504675146752467534675446755467564675746758467594676046761467624676346764467654676646767467684676946770467714677246773467744677546776467774677846779467804678146782467834678446785467864678746788467894679046791467924679346794467954679646797467984679946800468014680246803468044680546806468074680846809468104681146812468134681446815468164681746818468194682046821468224682346824468254682646827468284682946830468314683246833468344683546836468374683846839468404684146842468434684446845468464684746848468494685046851468524685346854468554685646857468584685946860468614686246863468644686546866468674686846869468704687146872468734687446875468764687746878468794688046881468824688346884468854688646887468884688946890468914689246893468944689546896468974689846899469004690146902469034690446905469064690746908469094691046911469124691346914469154691646917469184691946920469214692246923469244692546926469274692846929469304693146932469334693446935469364693746938469394694046941469424694346944469454694646947469484694946950469514695246953469544695546956469574695846959469604696146962469634696446965469664696746968469694697046971469724697346974469754697646977469784697946980469814698246983469844698546986469874698846989469904699146992469934699446995469964699746998469994700047001470024700347004470054700647007470084700947010470114701247013470144701547016470174701847019470204702147022470234702447025470264702747028470294703047031470324703347034470354703647037470384703947040470414704247043470444704547046470474704847049470504705147052470534705447055470564705747058470594706047061470624706347064470654706647067470684706947070470714707247073470744707547076470774707847079470804708147082470834708447085470864708747088470894709047091470924709347094470954709647097470984709947100471014710247103471044710547106471074710847109471104711147112471134711447115471164711747118471194712047121471224712347124471254712647127471284712947130471314713247133471344713547136471374713847139471404714147142471434714447145471464714747148471494715047151471524715347154471554715647157471584715947160471614716247163471644716547166471674716847169471704717147172471734717447175471764717747178471794718047181471824718347184471854718647187471884718947190471914719247193471944719547196471974719847199472004720147202472034720447205472064720747208472094721047211472124721347214472154721647217472184721947220472214722247223472244722547226472274722847229472304723147232472334723447235472364723747238472394724047241472424724347244472454724647247472484724947250472514725247253472544725547256472574725847259472604726147262472634726447265472664726747268472694727047271472724727347274472754727647277472784727947280472814728247283472844728547286472874728847289472904729147292472934729447295472964729747298472994730047301473024730347304473054730647307473084730947310473114731247313473144731547316473174731847319473204732147322473234732447325473264732747328473294733047331473324733347334473354733647337473384733947340473414734247343473444734547346473474734847349473504735147352473534735447355473564735747358473594736047361473624736347364473654736647367473684736947370473714737247373473744737547376473774737847379473804738147382473834738447385473864738747388473894739047391473924739347394473954739647397473984739947400474014740247403474044740547406474074740847409474104741147412474134741447415474164741747418474194742047421474224742347424474254742647427474284742947430474314743247433474344743547436474374743847439474404744147442474434744447445474464744747448474494745047451474524745347454474554745647457474584745947460474614746247463474644746547466474674746847469474704747147472474734747447475474764747747478474794748047481474824748347484474854748647487474884748947490474914749247493474944749547496474974749847499475004750147502475034750447505475064750747508475094751047511475124751347514475154751647517475184751947520475214752247523475244752547526475274752847529475304753147532475334753447535475364753747538475394754047541475424754347544475454754647547475484754947550475514755247553475544755547556475574755847559475604756147562475634756447565475664756747568475694757047571475724757347574475754757647577475784757947580475814758247583475844758547586475874758847589475904759147592475934759447595475964759747598475994760047601476024760347604476054760647607476084760947610476114761247613476144761547616476174761847619476204762147622476234762447625476264762747628476294763047631476324763347634476354763647637476384763947640476414764247643476444764547646476474764847649476504765147652476534765447655476564765747658476594766047661476624766347664476654766647667476684766947670476714767247673476744767547676476774767847679476804768147682476834768447685476864768747688476894769047691476924769347694476954769647697476984769947700477014770247703477044770547706477074770847709477104771147712477134771447715477164771747718477194772047721477224772347724477254772647727477284772947730477314773247733477344773547736477374773847739477404774147742477434774447745477464774747748477494775047751477524775347754477554775647757477584775947760477614776247763477644776547766477674776847769477704777147772477734777447775477764777747778477794778047781477824778347784477854778647787477884778947790477914779247793477944779547796477974779847799478004780147802478034780447805478064780747808478094781047811478124781347814478154781647817478184781947820478214782247823478244782547826478274782847829478304783147832478334783447835478364783747838478394784047841478424784347844478454784647847478484784947850478514785247853478544785547856478574785847859478604786147862478634786447865478664786747868478694787047871478724787347874478754787647877478784787947880478814788247883478844788547886478874788847889478904789147892478934789447895478964789747898478994790047901479024790347904479054790647907479084790947910479114791247913479144791547916479174791847919479204792147922479234792447925479264792747928479294793047931479324793347934479354793647937479384793947940479414794247943479444794547946479474794847949479504795147952479534795447955479564795747958479594796047961479624796347964479654796647967479684796947970479714797247973479744797547976479774797847979479804798147982479834798447985479864798747988479894799047991479924799347994479954799647997479984799948000480014800248003480044800548006480074800848009480104801148012480134801448015480164801748018480194802048021480224802348024480254802648027480284802948030480314803248033480344803548036480374803848039480404804148042480434804448045480464804748048480494805048051480524805348054480554805648057480584805948060480614806248063480644806548066480674806848069480704807148072480734807448075480764807748078480794808048081480824808348084480854808648087480884808948090480914809248093480944809548096480974809848099481004810148102481034810448105481064810748108481094811048111481124811348114481154811648117481184811948120481214812248123481244812548126481274812848129481304813148132481334813448135481364813748138481394814048141481424814348144481454814648147481484814948150481514815248153481544815548156481574815848159481604816148162481634816448165481664816748168481694817048171481724817348174481754817648177481784817948180481814818248183481844818548186481874818848189481904819148192481934819448195481964819748198481994820048201482024820348204482054820648207482084820948210482114821248213482144821548216482174821848219482204822148222482234822448225482264822748228482294823048231482324823348234482354823648237482384823948240482414824248243482444824548246482474824848249482504825148252482534825448255482564825748258482594826048261482624826348264482654826648267482684826948270482714827248273482744827548276482774827848279482804828148282482834828448285482864828748288482894829048291482924829348294482954829648297482984829948300483014830248303483044830548306483074830848309483104831148312483134831448315483164831748318483194832048321483224832348324483254832648327483284832948330483314833248333483344833548336483374833848339483404834148342483434834448345483464834748348483494835048351483524835348354483554835648357483584835948360483614836248363483644836548366483674836848369483704837148372483734837448375483764837748378483794838048381483824838348384483854838648387483884838948390483914839248393483944839548396483974839848399484004840148402484034840448405484064840748408484094841048411484124841348414484154841648417484184841948420484214842248423484244842548426484274842848429484304843148432484334843448435484364843748438484394844048441484424844348444484454844648447484484844948450484514845248453484544845548456484574845848459484604846148462484634846448465484664846748468484694847048471484724847348474484754847648477484784847948480484814848248483484844848548486484874848848489484904849148492484934849448495484964849748498484994850048501485024850348504485054850648507485084850948510485114851248513485144851548516485174851848519485204852148522485234852448525485264852748528485294853048531485324853348534485354853648537485384853948540485414854248543485444854548546485474854848549485504855148552485534855448555485564855748558485594856048561485624856348564485654856648567485684856948570485714857248573485744857548576485774857848579485804858148582485834858448585485864858748588485894859048591485924859348594485954859648597485984859948600486014860248603486044860548606486074860848609486104861148612486134861448615486164861748618486194862048621486224862348624486254862648627486284862948630486314863248633486344863548636486374863848639486404864148642486434864448645486464864748648486494865048651486524865348654486554865648657486584865948660486614866248663486644866548666486674866848669486704867148672486734867448675486764867748678486794868048681486824868348684486854868648687486884868948690486914869248693486944869548696486974869848699487004870148702487034870448705487064870748708487094871048711487124871348714487154871648717487184871948720487214872248723487244872548726487274872848729487304873148732487334873448735487364873748738487394874048741487424874348744487454874648747487484874948750487514875248753487544875548756487574875848759487604876148762487634876448765487664876748768487694877048771487724877348774487754877648777487784877948780487814878248783487844878548786487874878848789487904879148792487934879448795487964879748798487994880048801488024880348804488054880648807488084880948810488114881248813488144881548816488174881848819488204882148822488234882448825488264882748828488294883048831488324883348834488354883648837488384883948840488414884248843488444884548846488474884848849488504885148852488534885448855488564885748858488594886048861488624886348864488654886648867488684886948870488714887248873488744887548876488774887848879488804888148882488834888448885488864888748888488894889048891488924889348894488954889648897488984889948900489014890248903489044890548906489074890848909489104891148912489134891448915489164891748918489194892048921489224892348924489254892648927489284892948930489314893248933489344893548936489374893848939489404894148942489434894448945489464894748948489494895048951489524895348954489554895648957489584895948960489614896248963489644896548966489674896848969489704897148972489734897448975489764897748978489794898048981489824898348984489854898648987489884898948990489914899248993489944899548996489974899848999490004900149002490034900449005490064900749008490094901049011490124901349014490154901649017490184901949020490214902249023490244902549026490274902849029490304903149032490334903449035490364903749038490394904049041490424904349044490454904649047490484904949050490514905249053490544905549056490574905849059490604906149062490634906449065490664906749068490694907049071490724907349074490754907649077490784907949080490814908249083490844908549086490874908849089490904909149092490934909449095490964909749098490994910049101491024910349104491054910649107491084910949110491114911249113491144911549116491174911849119491204912149122491234912449125491264912749128491294913049131491324913349134491354913649137491384913949140491414914249143491444914549146491474914849149491504915149152491534915449155491564915749158491594916049161491624916349164491654916649167491684916949170491714917249173491744917549176491774917849179491804918149182491834918449185491864918749188491894919049191491924919349194491954919649197491984919949200492014920249203492044920549206492074920849209492104921149212492134921449215492164921749218492194922049221492224922349224492254922649227492284922949230492314923249233492344923549236492374923849239492404924149242492434924449245492464924749248492494925049251492524925349254492554925649257492584925949260492614926249263492644926549266492674926849269492704927149272492734927449275492764927749278492794928049281492824928349284492854928649287492884928949290492914929249293492944929549296492974929849299493004930149302493034930449305493064930749308493094931049311493124931349314493154931649317493184931949320493214932249323493244932549326493274932849329493304933149332493334933449335493364933749338493394934049341493424934349344493454934649347493484934949350493514935249353493544935549356493574935849359493604936149362493634936449365493664936749368493694937049371493724937349374493754937649377493784937949380493814938249383493844938549386493874938849389493904939149392493934939449395493964939749398493994940049401494024940349404494054940649407494084940949410494114941249413494144941549416494174941849419494204942149422494234942449425494264942749428494294943049431494324943349434494354943649437494384943949440494414944249443494444944549446494474944849449494504945149452494534945449455494564945749458494594946049461494624946349464494654946649467494684946949470494714947249473494744947549476494774947849479494804948149482494834948449485494864948749488494894949049491494924949349494494954949649497494984949949500495014950249503495044950549506495074950849509495104951149512495134951449515495164951749518495194952049521495224952349524495254952649527495284952949530495314953249533495344953549536495374953849539495404954149542495434954449545495464954749548495494955049551495524955349554495554955649557495584955949560495614956249563495644956549566495674956849569495704957149572495734957449575495764957749578495794958049581495824958349584495854958649587495884958949590495914959249593495944959549596495974959849599496004960149602496034960449605496064960749608496094961049611496124961349614496154961649617496184961949620496214962249623496244962549626496274962849629496304963149632496334963449635496364963749638496394964049641496424964349644496454964649647496484964949650496514965249653496544965549656496574965849659496604966149662496634966449665496664966749668496694967049671496724967349674496754967649677496784967949680496814968249683496844968549686496874968849689496904969149692496934969449695496964969749698496994970049701497024970349704497054970649707497084970949710497114971249713497144971549716497174971849719497204972149722497234972449725497264972749728497294973049731497324973349734497354973649737497384973949740497414974249743497444974549746497474974849749497504975149752497534975449755497564975749758497594976049761497624976349764497654976649767497684976949770497714977249773497744977549776497774977849779497804978149782497834978449785497864978749788497894979049791497924979349794497954979649797497984979949800498014980249803498044980549806498074980849809498104981149812498134981449815498164981749818498194982049821498224982349824498254982649827498284982949830498314983249833498344983549836498374983849839498404984149842498434984449845498464984749848498494985049851498524985349854498554985649857498584985949860498614986249863498644986549866498674986849869498704987149872498734987449875498764987749878498794988049881498824988349884498854988649887498884988949890498914989249893498944989549896498974989849899499004990149902499034990449905499064990749908499094991049911499124991349914499154991649917499184991949920499214992249923499244992549926499274992849929499304993149932499334993449935499364993749938499394994049941499424994349944499454994649947499484994949950499514995249953499544995549956499574995849959499604996149962499634996449965499664996749968499694997049971499724997349974499754997649977499784997949980499814998249983499844998549986499874998849989499904999149992499934999449995499964999749998499995000050001500025000350004500055000650007500085000950010500115001250013500145001550016500175001850019500205002150022500235002450025500265002750028500295003050031500325003350034500355003650037500385003950040500415004250043500445004550046500475004850049500505005150052500535005450055500565005750058500595006050061500625006350064500655006650067500685006950070500715007250073500745007550076500775007850079500805008150082500835008450085500865008750088500895009050091500925009350094500955009650097500985009950100501015010250103501045010550106501075010850109501105011150112501135011450115501165011750118501195012050121501225012350124501255012650127501285012950130501315013250133501345013550136501375013850139501405014150142501435014450145501465014750148501495015050151501525015350154501555015650157501585015950160501615016250163501645016550166501675016850169501705017150172501735017450175501765017750178501795018050181501825018350184501855018650187501885018950190501915019250193501945019550196501975019850199502005020150202502035020450205502065020750208502095021050211502125021350214502155021650217502185021950220502215022250223502245022550226502275022850229502305023150232502335023450235502365023750238502395024050241502425024350244502455024650247502485024950250502515025250253502545025550256502575025850259502605026150262502635026450265502665026750268502695027050271502725027350274502755027650277502785027950280502815028250283502845028550286502875028850289502905029150292502935029450295502965029750298502995030050301503025030350304503055030650307503085030950310503115031250313503145031550316503175031850319503205032150322503235032450325503265032750328503295033050331503325033350334503355033650337503385033950340503415034250343503445034550346503475034850349503505035150352503535035450355503565035750358503595036050361503625036350364503655036650367503685036950370503715037250373503745037550376503775037850379503805038150382503835038450385503865038750388503895039050391503925039350394503955039650397503985039950400504015040250403504045040550406504075040850409504105041150412504135041450415504165041750418504195042050421504225042350424504255042650427504285042950430504315043250433504345043550436504375043850439504405044150442504435044450445504465044750448504495045050451504525045350454504555045650457504585045950460504615046250463504645046550466504675046850469504705047150472504735047450475504765047750478504795048050481504825048350484504855048650487504885048950490504915049250493504945049550496504975049850499505005050150502505035050450505505065050750508505095051050511505125051350514505155051650517505185051950520505215052250523505245052550526505275052850529505305053150532505335053450535505365053750538505395054050541505425054350544505455054650547505485054950550505515055250553505545055550556505575055850559505605056150562505635056450565505665056750568505695057050571505725057350574505755057650577505785057950580505815058250583505845058550586505875058850589505905059150592505935059450595505965059750598505995060050601506025060350604506055060650607506085060950610506115061250613506145061550616506175061850619506205062150622506235062450625506265062750628506295063050631506325063350634506355063650637506385063950640506415064250643506445064550646506475064850649506505065150652506535065450655506565065750658506595066050661506625066350664506655066650667506685066950670506715067250673506745067550676506775067850679506805068150682506835068450685506865068750688506895069050691506925069350694506955069650697506985069950700507015070250703507045070550706507075070850709507105071150712507135071450715507165071750718507195072050721507225072350724507255072650727507285072950730507315073250733507345073550736507375073850739507405074150742507435074450745507465074750748507495075050751507525075350754507555075650757507585075950760507615076250763507645076550766507675076850769507705077150772507735077450775507765077750778507795078050781507825078350784507855078650787507885078950790507915079250793507945079550796507975079850799508005080150802508035080450805508065080750808508095081050811508125081350814508155081650817508185081950820508215082250823508245082550826508275082850829508305083150832508335083450835508365083750838508395084050841508425084350844508455084650847508485084950850508515085250853508545085550856508575085850859508605086150862508635086450865508665086750868508695087050871508725087350874508755087650877508785087950880508815088250883508845088550886508875088850889508905089150892508935089450895508965089750898508995090050901509025090350904509055090650907509085090950910509115091250913509145091550916509175091850919509205092150922509235092450925509265092750928509295093050931509325093350934509355093650937509385093950940509415094250943509445094550946509475094850949509505095150952509535095450955509565095750958509595096050961509625096350964509655096650967509685096950970509715097250973509745097550976509775097850979509805098150982509835098450985509865098750988509895099050991509925099350994509955099650997509985099951000510015100251003510045100551006510075100851009510105101151012510135101451015510165101751018510195102051021510225102351024510255102651027510285102951030510315103251033510345103551036510375103851039510405104151042510435104451045510465104751048510495105051051510525105351054510555105651057510585105951060510615106251063510645106551066510675106851069510705107151072510735107451075510765107751078510795108051081510825108351084510855108651087510885108951090510915109251093510945109551096510975109851099511005110151102511035110451105511065110751108511095111051111511125111351114511155111651117511185111951120511215112251123511245112551126511275112851129511305113151132511335113451135511365113751138511395114051141511425114351144511455114651147511485114951150511515115251153511545115551156511575115851159511605116151162511635116451165511665116751168511695117051171511725117351174511755117651177511785117951180511815118251183511845118551186511875118851189511905119151192511935119451195511965119751198511995120051201512025120351204512055120651207512085120951210512115121251213512145121551216512175121851219512205122151222512235122451225512265122751228512295123051231512325123351234512355123651237512385123951240512415124251243512445124551246512475124851249512505125151252512535125451255512565125751258512595126051261512625126351264512655126651267512685126951270512715127251273512745127551276512775127851279512805128151282512835128451285512865128751288512895129051291512925129351294512955129651297512985129951300513015130251303513045130551306513075130851309513105131151312513135131451315513165131751318513195132051321513225132351324513255132651327513285132951330513315133251333513345133551336513375133851339513405134151342513435134451345513465134751348513495135051351513525135351354513555135651357513585135951360513615136251363513645136551366513675136851369513705137151372513735137451375513765137751378513795138051381513825138351384513855138651387513885138951390513915139251393513945139551396513975139851399514005140151402514035140451405514065140751408514095141051411514125141351414514155141651417514185141951420514215142251423514245142551426514275142851429514305143151432514335143451435514365143751438514395144051441514425144351444514455144651447514485144951450514515145251453514545145551456514575145851459514605146151462514635146451465514665146751468514695147051471514725147351474514755147651477514785147951480514815148251483514845148551486514875148851489514905149151492514935149451495514965149751498514995150051501515025150351504515055150651507515085150951510515115151251513515145151551516515175151851519515205152151522515235152451525515265152751528515295153051531515325153351534515355153651537515385153951540515415154251543515445154551546515475154851549515505155151552515535155451555515565155751558515595156051561515625156351564515655156651567515685156951570515715157251573515745157551576515775157851579515805158151582515835158451585515865158751588515895159051591515925159351594515955159651597515985159951600516015160251603516045160551606516075160851609516105161151612516135161451615516165161751618516195162051621516225162351624516255162651627516285162951630516315163251633516345163551636516375163851639516405164151642516435164451645516465164751648516495165051651516525165351654516555165651657516585165951660516615166251663516645166551666516675166851669516705167151672516735167451675516765167751678516795168051681516825168351684516855168651687516885168951690516915169251693516945169551696516975169851699517005170151702517035170451705517065170751708517095171051711517125171351714517155171651717517185171951720517215172251723517245172551726517275172851729517305173151732517335173451735517365173751738517395174051741517425174351744517455174651747517485174951750517515175251753517545175551756517575175851759517605176151762517635176451765517665176751768517695177051771517725177351774517755177651777517785177951780517815178251783517845178551786517875178851789517905179151792517935179451795517965179751798517995180051801518025180351804518055180651807518085180951810518115181251813518145181551816518175181851819518205182151822518235182451825518265182751828518295183051831518325183351834518355183651837518385183951840518415184251843518445184551846518475184851849518505185151852518535185451855518565185751858518595186051861518625186351864518655186651867518685186951870518715187251873518745187551876518775187851879518805188151882518835188451885518865188751888518895189051891518925189351894518955189651897518985189951900519015190251903519045190551906519075190851909519105191151912519135191451915519165191751918519195192051921519225192351924519255192651927519285192951930519315193251933519345193551936519375193851939519405194151942519435194451945519465194751948519495195051951519525195351954519555195651957519585195951960519615196251963519645196551966519675196851969519705197151972519735197451975519765197751978519795198051981519825198351984519855198651987519885198951990519915199251993519945199551996519975199851999520005200152002520035200452005520065200752008520095201052011520125201352014520155201652017520185201952020520215202252023520245202552026520275202852029520305203152032520335203452035520365203752038520395204052041520425204352044520455204652047520485204952050520515205252053520545205552056520575205852059520605206152062520635206452065520665206752068520695207052071520725207352074520755207652077520785207952080520815208252083520845208552086520875208852089520905209152092520935209452095520965209752098520995210052101521025210352104521055210652107521085210952110521115211252113521145211552116521175211852119521205212152122521235212452125521265212752128521295213052131521325213352134521355213652137521385213952140521415214252143521445214552146521475214852149521505215152152521535215452155521565215752158521595216052161521625216352164521655216652167521685216952170521715217252173521745217552176521775217852179521805218152182521835218452185521865218752188521895219052191521925219352194521955219652197521985219952200522015220252203522045220552206522075220852209522105221152212522135221452215522165221752218522195222052221522225222352224522255222652227522285222952230522315223252233522345223552236522375223852239522405224152242522435224452245522465224752248522495225052251522525225352254522555225652257522585225952260522615226252263522645226552266522675226852269522705227152272522735227452275522765227752278522795228052281522825228352284522855228652287522885228952290522915229252293522945229552296522975229852299523005230152302523035230452305523065230752308523095231052311523125231352314523155231652317523185231952320523215232252323523245232552326523275232852329523305233152332523335233452335523365233752338523395234052341523425234352344523455234652347523485234952350523515235252353523545235552356523575235852359523605236152362523635236452365523665236752368523695237052371523725237352374523755237652377523785237952380523815238252383523845238552386523875238852389523905239152392523935239452395523965239752398523995240052401524025240352404524055240652407524085240952410524115241252413524145241552416524175241852419524205242152422524235242452425524265242752428524295243052431524325243352434524355243652437524385243952440524415244252443524445244552446524475244852449524505245152452524535245452455524565245752458524595246052461524625246352464524655246652467524685246952470524715247252473524745247552476524775247852479524805248152482524835248452485524865248752488524895249052491524925249352494524955249652497524985249952500525015250252503525045250552506525075250852509525105251152512525135251452515525165251752518525195252052521525225252352524525255252652527525285252952530525315253252533525345253552536525375253852539525405254152542525435254452545525465254752548525495255052551525525255352554525555255652557525585255952560525615256252563525645256552566525675256852569525705257152572525735257452575525765257752578525795258052581525825258352584525855258652587525885258952590525915259252593525945259552596525975259852599526005260152602526035260452605526065260752608526095261052611526125261352614526155261652617526185261952620526215262252623526245262552626526275262852629526305263152632526335263452635526365263752638526395264052641526425264352644526455264652647526485264952650526515265252653526545265552656526575265852659526605266152662526635266452665526665266752668526695267052671526725267352674526755267652677526785267952680526815268252683526845268552686526875268852689526905269152692526935269452695526965269752698526995270052701527025270352704527055270652707527085270952710527115271252713527145271552716527175271852719527205272152722527235272452725527265272752728527295273052731527325273352734527355273652737527385273952740527415274252743527445274552746527475274852749527505275152752527535275452755527565275752758527595276052761527625276352764527655276652767527685276952770527715277252773527745277552776527775277852779527805278152782527835278452785527865278752788527895279052791527925279352794527955279652797527985279952800528015280252803528045280552806528075280852809528105281152812528135281452815528165281752818528195282052821528225282352824528255282652827528285282952830528315283252833528345283552836528375283852839528405284152842528435284452845528465284752848528495285052851528525285352854528555285652857528585285952860528615286252863528645286552866528675286852869528705287152872528735287452875528765287752878528795288052881528825288352884528855288652887528885288952890528915289252893528945289552896528975289852899529005290152902529035290452905529065290752908529095291052911529125291352914529155291652917529185291952920529215292252923529245292552926529275292852929529305293152932529335293452935529365293752938529395294052941529425294352944529455294652947529485294952950529515295252953529545295552956529575295852959529605296152962529635296452965529665296752968529695297052971529725297352974529755297652977529785297952980529815298252983529845298552986529875298852989529905299152992529935299452995529965299752998529995300053001530025300353004530055300653007530085300953010530115301253013530145301553016530175301853019530205302153022530235302453025530265302753028530295303053031530325303353034530355303653037530385303953040530415304253043530445304553046530475304853049530505305153052530535305453055530565305753058530595306053061530625306353064530655306653067530685306953070530715307253073530745307553076530775307853079530805308153082530835308453085530865308753088530895309053091530925309353094530955309653097530985309953100531015310253103531045310553106531075310853109531105311153112531135311453115531165311753118531195312053121531225312353124531255312653127531285312953130531315313253133531345313553136531375313853139531405314153142531435314453145531465314753148531495315053151531525315353154531555315653157531585315953160531615316253163531645316553166531675316853169531705317153172531735317453175531765317753178531795318053181531825318353184531855318653187531885318953190531915319253193531945319553196531975319853199532005320153202532035320453205532065320753208532095321053211532125321353214532155321653217532185321953220532215322253223532245322553226532275322853229532305323153232532335323453235532365323753238532395324053241532425324353244532455324653247532485324953250532515325253253532545325553256532575325853259532605326153262532635326453265532665326753268532695327053271532725327353274532755327653277532785327953280532815328253283532845328553286532875328853289532905329153292532935329453295532965329753298532995330053301533025330353304533055330653307533085330953310533115331253313533145331553316533175331853319533205332153322533235332453325533265332753328533295333053331533325333353334533355333653337533385333953340533415334253343533445334553346533475334853349533505335153352533535335453355533565335753358533595336053361533625336353364533655336653367533685336953370533715337253373533745337553376533775337853379533805338153382533835338453385533865338753388533895339053391533925339353394533955339653397533985339953400534015340253403534045340553406534075340853409534105341153412534135341453415534165341753418534195342053421534225342353424534255342653427534285342953430534315343253433534345343553436534375343853439534405344153442534435344453445534465344753448534495345053451534525345353454534555345653457534585345953460534615346253463534645346553466534675346853469534705347153472534735347453475534765347753478534795348053481534825348353484534855348653487534885348953490534915349253493534945349553496534975349853499535005350153502535035350453505535065350753508535095351053511535125351353514535155351653517535185351953520535215352253523535245352553526535275352853529535305353153532535335353453535535365353753538535395354053541535425354353544535455354653547535485354953550535515355253553535545355553556535575355853559535605356153562535635356453565535665356753568535695357053571535725357353574535755357653577535785357953580535815358253583535845358553586535875358853589535905359153592535935359453595535965359753598535995360053601536025360353604536055360653607536085360953610536115361253613536145361553616536175361853619536205362153622536235362453625536265362753628536295363053631536325363353634536355363653637536385363953640536415364253643536445364553646536475364853649536505365153652536535365453655536565365753658536595366053661536625366353664536655366653667536685366953670536715367253673536745367553676536775367853679536805368153682536835368453685536865368753688536895369053691536925369353694536955369653697536985369953700537015370253703537045370553706537075370853709537105371153712537135371453715537165371753718537195372053721537225372353724537255372653727537285372953730537315373253733537345373553736537375373853739537405374153742537435374453745537465374753748537495375053751537525375353754537555375653757537585375953760537615376253763537645376553766537675376853769537705377153772537735377453775537765377753778537795378053781537825378353784537855378653787537885378953790537915379253793537945379553796537975379853799538005380153802538035380453805538065380753808538095381053811538125381353814538155381653817538185381953820538215382253823538245382553826538275382853829538305383153832538335383453835538365383753838538395384053841538425384353844538455384653847538485384953850538515385253853538545385553856538575385853859538605386153862538635386453865538665386753868538695387053871538725387353874538755387653877538785387953880538815388253883538845388553886538875388853889538905389153892538935389453895538965389753898538995390053901539025390353904539055390653907539085390953910539115391253913539145391553916539175391853919539205392153922539235392453925539265392753928539295393053931539325393353934539355393653937539385393953940539415394253943539445394553946539475394853949539505395153952539535395453955539565395753958539595396053961539625396353964539655396653967539685396953970539715397253973539745397553976539775397853979539805398153982539835398453985539865398753988539895399053991539925399353994539955399653997539985399954000540015400254003540045400554006540075400854009540105401154012540135401454015540165401754018540195402054021540225402354024540255402654027540285402954030540315403254033540345403554036540375403854039540405404154042540435404454045540465404754048540495405054051540525405354054540555405654057540585405954060540615406254063540645406554066540675406854069540705407154072540735407454075540765407754078540795408054081540825408354084540855408654087540885408954090540915409254093540945409554096540975409854099541005410154102541035410454105541065410754108541095411054111541125411354114541155411654117541185411954120541215412254123541245412554126541275412854129541305413154132541335413454135541365413754138541395414054141541425414354144541455414654147541485414954150541515415254153541545415554156541575415854159541605416154162541635416454165541665416754168541695417054171541725417354174541755417654177541785417954180541815418254183541845418554186541875418854189541905419154192541935419454195541965419754198541995420054201542025420354204542055420654207542085420954210542115421254213542145421554216542175421854219542205422154222542235422454225542265422754228542295423054231542325423354234542355423654237542385423954240542415424254243542445424554246542475424854249542505425154252542535425454255542565425754258542595426054261542625426354264542655426654267542685426954270542715427254273542745427554276542775427854279542805428154282542835428454285542865428754288542895429054291542925429354294542955429654297542985429954300543015430254303543045430554306543075430854309543105431154312543135431454315543165431754318543195432054321543225432354324543255432654327543285432954330543315433254333543345433554336543375433854339543405434154342543435434454345543465434754348543495435054351543525435354354543555435654357543585435954360543615436254363543645436554366543675436854369543705437154372543735437454375543765437754378543795438054381543825438354384543855438654387543885438954390543915439254393543945439554396543975439854399544005440154402544035440454405544065440754408544095441054411544125441354414544155441654417544185441954420544215442254423544245442554426544275442854429544305443154432544335443454435544365443754438544395444054441544425444354444544455444654447544485444954450544515445254453544545445554456544575445854459544605446154462544635446454465544665446754468544695447054471544725447354474544755447654477544785447954480544815448254483544845448554486544875448854489544905449154492544935449454495544965449754498544995450054501545025450354504545055450654507545085450954510545115451254513545145451554516545175451854519545205452154522545235452454525545265452754528545295453054531545325453354534545355453654537545385453954540545415454254543545445454554546545475454854549545505455154552545535455454555545565455754558545595456054561545625456354564545655456654567545685456954570545715457254573545745457554576545775457854579545805458154582545835458454585545865458754588545895459054591545925459354594545955459654597545985459954600546015460254603546045460554606546075460854609546105461154612546135461454615546165461754618546195462054621546225462354624546255462654627546285462954630546315463254633546345463554636546375463854639546405464154642546435464454645546465464754648546495465054651546525465354654546555465654657546585465954660546615466254663546645466554666546675466854669546705467154672546735467454675546765467754678546795468054681546825468354684546855468654687546885468954690546915469254693546945469554696546975469854699547005470154702547035470454705547065470754708547095471054711547125471354714547155471654717547185471954720547215472254723547245472554726547275472854729547305473154732547335473454735547365473754738547395474054741547425474354744547455474654747547485474954750547515475254753547545475554756547575475854759547605476154762547635476454765547665476754768547695477054771547725477354774547755477654777547785477954780547815478254783547845478554786547875478854789547905479154792547935479454795547965479754798547995480054801548025480354804548055480654807548085480954810548115481254813548145481554816548175481854819548205482154822548235482454825548265482754828548295483054831548325483354834548355483654837548385483954840548415484254843548445484554846548475484854849548505485154852548535485454855548565485754858548595486054861548625486354864548655486654867548685486954870548715487254873548745487554876548775487854879548805488154882548835488454885548865488754888548895489054891548925489354894548955489654897548985489954900549015490254903549045490554906549075490854909549105491154912549135491454915549165491754918549195492054921549225492354924549255492654927549285492954930549315493254933549345493554936549375493854939549405494154942549435494454945549465494754948549495495054951549525495354954549555495654957549585495954960549615496254963549645496554966549675496854969549705497154972549735497454975549765497754978549795498054981549825498354984549855498654987549885498954990549915499254993549945499554996549975499854999550005500155002550035500455005550065500755008550095501055011550125501355014550155501655017550185501955020550215502255023550245502555026550275502855029550305503155032550335503455035550365503755038550395504055041550425504355044550455504655047550485504955050550515505255053550545505555056550575505855059550605506155062550635506455065550665506755068550695507055071550725507355074550755507655077550785507955080550815508255083550845508555086550875508855089550905509155092550935509455095550965509755098550995510055101551025510355104551055510655107551085510955110551115511255113551145511555116551175511855119551205512155122551235512455125551265512755128551295513055131551325513355134551355513655137551385513955140551415514255143551445514555146551475514855149551505515155152551535515455155551565515755158551595516055161551625516355164551655516655167551685516955170551715517255173551745517555176551775517855179551805518155182551835518455185551865518755188551895519055191551925519355194551955519655197551985519955200552015520255203552045520555206552075520855209552105521155212552135521455215552165521755218552195522055221552225522355224552255522655227552285522955230552315523255233552345523555236552375523855239552405524155242552435524455245552465524755248552495525055251552525525355254552555525655257552585525955260552615526255263552645526555266552675526855269552705527155272552735527455275552765527755278552795528055281552825528355284552855528655287552885528955290552915529255293552945529555296552975529855299553005530155302553035530455305553065530755308553095531055311553125531355314553155531655317553185531955320553215532255323553245532555326553275532855329553305533155332553335533455335553365533755338553395534055341553425534355344553455534655347553485534955350553515535255353553545535555356553575535855359553605536155362553635536455365553665536755368553695537055371553725537355374553755537655377553785537955380553815538255383553845538555386553875538855389553905539155392553935539455395553965539755398553995540055401554025540355404554055540655407554085540955410554115541255413554145541555416554175541855419554205542155422554235542455425554265542755428554295543055431554325543355434554355543655437554385543955440554415544255443554445544555446554475544855449554505545155452554535545455455554565545755458554595546055461554625546355464554655546655467554685546955470554715547255473554745547555476554775547855479554805548155482554835548455485554865548755488554895549055491554925549355494554955549655497554985549955500555015550255503555045550555506555075550855509555105551155512555135551455515555165551755518555195552055521555225552355524555255552655527555285552955530555315553255533555345553555536555375553855539555405554155542555435554455545555465554755548555495555055551555525555355554555555555655557555585555955560555615556255563555645556555566555675556855569555705557155572555735557455575555765557755578555795558055581555825558355584555855558655587555885558955590555915559255593555945559555596555975559855599556005560155602556035560455605556065560755608556095561055611556125561355614556155561655617556185561955620556215562255623556245562555626556275562855629556305563155632556335563455635556365563755638556395564055641556425564355644556455564655647556485564955650556515565255653556545565555656556575565855659556605566155662556635566455665556665566755668556695567055671556725567355674556755567655677556785567955680556815568255683556845568555686556875568855689556905569155692556935569455695556965569755698556995570055701557025570355704557055570655707557085570955710557115571255713557145571555716557175571855719557205572155722557235572455725557265572755728557295573055731557325573355734557355573655737557385573955740557415574255743557445574555746557475574855749557505575155752557535575455755557565575755758557595576055761557625576355764557655576655767557685576955770557715577255773557745577555776557775577855779557805578155782557835578455785557865578755788557895579055791557925579355794557955579655797557985579955800558015580255803558045580555806558075580855809558105581155812558135581455815558165581755818558195582055821558225582355824558255582655827558285582955830558315583255833558345583555836558375583855839558405584155842558435584455845558465584755848558495585055851558525585355854558555585655857558585585955860558615586255863558645586555866558675586855869558705587155872558735587455875558765587755878558795588055881558825588355884558855588655887558885588955890558915589255893558945589555896558975589855899559005590155902559035590455905559065590755908559095591055911559125591355914559155591655917559185591955920559215592255923559245592555926559275592855929559305593155932559335593455935559365593755938559395594055941559425594355944559455594655947559485594955950559515595255953559545595555956559575595855959559605596155962559635596455965559665596755968559695597055971559725597355974559755597655977559785597955980559815598255983559845598555986559875598855989559905599155992559935599455995559965599755998559995600056001560025600356004560055600656007560085600956010560115601256013560145601556016560175601856019560205602156022560235602456025560265602756028560295603056031560325603356034560355603656037560385603956040560415604256043560445604556046560475604856049560505605156052560535605456055560565605756058560595606056061560625606356064560655606656067560685606956070560715607256073560745607556076560775607856079560805608156082560835608456085560865608756088560895609056091560925609356094560955609656097560985609956100561015610256103561045610556106561075610856109561105611156112561135611456115561165611756118561195612056121561225612356124561255612656127561285612956130561315613256133561345613556136561375613856139561405614156142561435614456145561465614756148561495615056151561525615356154561555615656157561585615956160561615616256163561645616556166561675616856169561705617156172561735617456175561765617756178561795618056181561825618356184561855618656187561885618956190561915619256193561945619556196561975619856199562005620156202562035620456205562065620756208562095621056211562125621356214562155621656217562185621956220562215622256223562245622556226562275622856229562305623156232562335623456235562365623756238562395624056241562425624356244562455624656247562485624956250562515625256253562545625556256562575625856259562605626156262562635626456265562665626756268562695627056271562725627356274562755627656277562785627956280562815628256283562845628556286562875628856289562905629156292562935629456295562965629756298562995630056301563025630356304563055630656307563085630956310563115631256313563145631556316563175631856319563205632156322563235632456325563265632756328563295633056331563325633356334563355633656337563385633956340563415634256343563445634556346563475634856349563505635156352563535635456355563565635756358563595636056361563625636356364563655636656367563685636956370563715637256373563745637556376563775637856379563805638156382563835638456385563865638756388563895639056391563925639356394563955639656397563985639956400564015640256403564045640556406564075640856409564105641156412564135641456415564165641756418564195642056421564225642356424564255642656427564285642956430564315643256433564345643556436564375643856439564405644156442564435644456445564465644756448564495645056451564525645356454564555645656457564585645956460564615646256463564645646556466564675646856469564705647156472564735647456475564765647756478564795648056481564825648356484564855648656487564885648956490564915649256493564945649556496564975649856499565005650156502565035650456505565065650756508565095651056511565125651356514565155651656517565185651956520565215652256523565245652556526565275652856529565305653156532565335653456535565365653756538565395654056541565425654356544565455654656547565485654956550565515655256553565545655556556565575655856559565605656156562565635656456565565665656756568565695657056571565725657356574565755657656577565785657956580565815658256583565845658556586565875658856589565905659156592565935659456595565965659756598565995660056601566025660356604566055660656607566085660956610566115661256613566145661556616566175661856619566205662156622566235662456625566265662756628566295663056631566325663356634566355663656637566385663956640566415664256643566445664556646566475664856649566505665156652566535665456655566565665756658566595666056661566625666356664566655666656667566685666956670566715667256673566745667556676566775667856679566805668156682566835668456685566865668756688566895669056691566925669356694566955669656697566985669956700567015670256703567045670556706567075670856709567105671156712567135671456715567165671756718567195672056721567225672356724567255672656727567285672956730567315673256733567345673556736567375673856739567405674156742567435674456745567465674756748567495675056751567525675356754567555675656757567585675956760567615676256763567645676556766567675676856769567705677156772567735677456775567765677756778567795678056781567825678356784567855678656787567885678956790567915679256793567945679556796567975679856799568005680156802568035680456805568065680756808568095681056811568125681356814568155681656817568185681956820568215682256823568245682556826568275682856829568305683156832568335683456835568365683756838568395684056841568425684356844568455684656847568485684956850568515685256853568545685556856568575685856859568605686156862568635686456865568665686756868568695687056871568725687356874568755687656877568785687956880568815688256883568845688556886568875688856889568905689156892568935689456895568965689756898568995690056901569025690356904569055690656907569085690956910569115691256913569145691556916569175691856919569205692156922569235692456925569265692756928569295693056931569325693356934569355693656937569385693956940569415694256943569445694556946569475694856949569505695156952569535695456955569565695756958569595696056961569625696356964569655696656967569685696956970569715697256973569745697556976569775697856979569805698156982569835698456985569865698756988569895699056991569925699356994569955699656997569985699957000570015700257003570045700557006570075700857009570105701157012570135701457015570165701757018570195702057021570225702357024570255702657027570285702957030570315703257033570345703557036570375703857039570405704157042570435704457045570465704757048570495705057051570525705357054570555705657057570585705957060570615706257063570645706557066570675706857069570705707157072570735707457075570765707757078570795708057081570825708357084570855708657087570885708957090570915709257093570945709557096570975709857099571005710157102571035710457105571065710757108571095711057111571125711357114571155711657117571185711957120571215712257123571245712557126571275712857129571305713157132571335713457135571365713757138571395714057141571425714357144571455714657147571485714957150571515715257153571545715557156571575715857159571605716157162571635716457165571665716757168571695717057171571725717357174571755717657177571785717957180571815718257183571845718557186571875718857189571905719157192571935719457195571965719757198571995720057201572025720357204572055720657207572085720957210572115721257213572145721557216572175721857219572205722157222572235722457225572265722757228572295723057231572325723357234572355723657237572385723957240572415724257243572445724557246572475724857249572505725157252572535725457255572565725757258572595726057261572625726357264572655726657267572685726957270572715727257273572745727557276572775727857279572805728157282572835728457285572865728757288572895729057291572925729357294572955729657297572985729957300573015730257303573045730557306573075730857309573105731157312573135731457315573165731757318573195732057321573225732357324573255732657327573285732957330573315733257333573345733557336573375733857339573405734157342573435734457345573465734757348573495735057351573525735357354573555735657357573585735957360573615736257363573645736557366573675736857369573705737157372573735737457375573765737757378573795738057381573825738357384573855738657387573885738957390573915739257393573945739557396573975739857399574005740157402574035740457405574065740757408574095741057411574125741357414574155741657417574185741957420574215742257423574245742557426574275742857429574305743157432574335743457435574365743757438574395744057441574425744357444574455744657447574485744957450574515745257453574545745557456574575745857459574605746157462574635746457465574665746757468574695747057471574725747357474574755747657477574785747957480574815748257483574845748557486574875748857489574905749157492574935749457495574965749757498574995750057501575025750357504575055750657507575085750957510575115751257513575145751557516575175751857519575205752157522575235752457525575265752757528575295753057531575325753357534575355753657537575385753957540575415754257543575445754557546575475754857549575505755157552575535755457555575565755757558575595756057561575625756357564575655756657567575685756957570575715757257573575745757557576575775757857579575805758157582575835758457585575865758757588575895759057591575925759357594575955759657597575985759957600576015760257603576045760557606576075760857609576105761157612576135761457615576165761757618576195762057621576225762357624576255762657627576285762957630576315763257633576345763557636576375763857639576405764157642576435764457645576465764757648576495765057651576525765357654576555765657657576585765957660576615766257663576645766557666576675766857669576705767157672576735767457675576765767757678576795768057681576825768357684576855768657687576885768957690576915769257693576945769557696576975769857699577005770157702577035770457705577065770757708577095771057711577125771357714577155771657717577185771957720577215772257723577245772557726577275772857729577305773157732577335773457735577365773757738577395774057741577425774357744577455774657747577485774957750577515775257753577545775557756577575775857759577605776157762577635776457765577665776757768577695777057771577725777357774577755777657777577785777957780577815778257783577845778557786577875778857789577905779157792577935779457795577965779757798577995780057801578025780357804578055780657807578085780957810578115781257813578145781557816578175781857819578205782157822578235782457825578265782757828578295783057831578325783357834578355783657837578385783957840578415784257843578445784557846578475784857849578505785157852578535785457855578565785757858578595786057861578625786357864578655786657867578685786957870578715787257873578745787557876578775787857879578805788157882578835788457885578865788757888578895789057891578925789357894578955789657897578985789957900579015790257903579045790557906579075790857909579105791157912579135791457915579165791757918579195792057921579225792357924579255792657927579285792957930579315793257933579345793557936579375793857939579405794157942579435794457945579465794757948579495795057951579525795357954579555795657957579585795957960579615796257963579645796557966579675796857969579705797157972579735797457975579765797757978579795798057981579825798357984579855798657987579885798957990579915799257993579945799557996579975799857999580005800158002580035800458005580065800758008580095801058011580125801358014580155801658017580185801958020580215802258023580245802558026580275802858029580305803158032580335803458035580365803758038580395804058041580425804358044580455804658047580485804958050580515805258053580545805558056580575805858059580605806158062580635806458065580665806758068580695807058071580725807358074580755807658077580785807958080580815808258083580845808558086580875808858089580905809158092580935809458095580965809758098580995810058101581025810358104581055810658107581085810958110581115811258113581145811558116581175811858119581205812158122581235812458125581265812758128581295813058131581325813358134581355813658137581385813958140581415814258143581445814558146581475814858149581505815158152581535815458155581565815758158581595816058161581625816358164581655816658167581685816958170581715817258173581745817558176581775817858179581805818158182581835818458185581865818758188581895819058191581925819358194581955819658197581985819958200582015820258203582045820558206582075820858209582105821158212582135821458215582165821758218582195822058221582225822358224582255822658227582285822958230582315823258233582345823558236582375823858239582405824158242582435824458245582465824758248582495825058251582525825358254582555825658257582585825958260582615826258263582645826558266582675826858269582705827158272582735827458275582765827758278582795828058281582825828358284582855828658287582885828958290582915829258293582945829558296582975829858299583005830158302583035830458305583065830758308583095831058311583125831358314583155831658317583185831958320583215832258323583245832558326583275832858329583305833158332583335833458335583365833758338583395834058341583425834358344583455834658347583485834958350583515835258353583545835558356583575835858359583605836158362583635836458365583665836758368583695837058371583725837358374583755837658377583785837958380583815838258383583845838558386583875838858389583905839158392583935839458395583965839758398583995840058401584025840358404584055840658407584085840958410584115841258413584145841558416584175841858419584205842158422584235842458425584265842758428584295843058431584325843358434584355843658437584385843958440584415844258443584445844558446584475844858449584505845158452584535845458455584565845758458584595846058461584625846358464584655846658467584685846958470584715847258473584745847558476584775847858479584805848158482584835848458485584865848758488584895849058491584925849358494584955849658497584985849958500585015850258503585045850558506585075850858509585105851158512585135851458515585165851758518585195852058521585225852358524585255852658527585285852958530585315853258533585345853558536585375853858539585405854158542585435854458545585465854758548585495855058551585525855358554585555855658557585585855958560585615856258563585645856558566585675856858569585705857158572585735857458575585765857758578585795858058581585825858358584585855858658587585885858958590585915859258593585945859558596585975859858599586005860158602586035860458605586065860758608586095861058611586125861358614586155861658617586185861958620586215862258623586245862558626586275862858629586305863158632586335863458635586365863758638586395864058641586425864358644586455864658647586485864958650586515865258653586545865558656586575865858659586605866158662586635866458665586665866758668586695867058671586725867358674586755867658677586785867958680586815868258683586845868558686586875868858689586905869158692586935869458695586965869758698586995870058701587025870358704587055870658707587085870958710587115871258713587145871558716587175871858719587205872158722587235872458725587265872758728587295873058731587325873358734587355873658737587385873958740587415874258743587445874558746587475874858749587505875158752587535875458755587565875758758587595876058761587625876358764587655876658767587685876958770587715877258773587745877558776587775877858779587805878158782587835878458785587865878758788587895879058791587925879358794587955879658797587985879958800588015880258803588045880558806588075880858809588105881158812588135881458815588165881758818588195882058821588225882358824588255882658827588285882958830588315883258833588345883558836588375883858839588405884158842588435884458845588465884758848588495885058851588525885358854588555885658857588585885958860588615886258863588645886558866588675886858869588705887158872588735887458875588765887758878588795888058881588825888358884588855888658887588885888958890588915889258893588945889558896588975889858899589005890158902589035890458905589065890758908589095891058911589125891358914589155891658917589185891958920589215892258923589245892558926589275892858929589305893158932589335893458935589365893758938589395894058941589425894358944589455894658947589485894958950589515895258953589545895558956589575895858959589605896158962589635896458965589665896758968589695897058971589725897358974589755897658977589785897958980589815898258983589845898558986589875898858989589905899158992589935899458995589965899758998589995900059001590025900359004590055900659007590085900959010590115901259013590145901559016590175901859019590205902159022590235902459025590265902759028590295903059031590325903359034590355903659037590385903959040590415904259043590445904559046590475904859049590505905159052590535905459055590565905759058590595906059061590625906359064590655906659067590685906959070590715907259073590745907559076590775907859079590805908159082590835908459085590865908759088590895909059091590925909359094590955909659097590985909959100591015910259103591045910559106591075910859109591105911159112591135911459115591165911759118591195912059121591225912359124591255912659127591285912959130591315913259133591345913559136591375913859139591405914159142591435914459145591465914759148591495915059151591525915359154591555915659157591585915959160591615916259163591645916559166591675916859169591705917159172591735917459175591765917759178591795918059181591825918359184591855918659187591885918959190591915919259193591945919559196591975919859199592005920159202592035920459205592065920759208592095921059211592125921359214592155921659217592185921959220592215922259223592245922559226592275922859229592305923159232592335923459235592365923759238592395924059241592425924359244592455924659247592485924959250592515925259253592545925559256592575925859259592605926159262592635926459265592665926759268592695927059271592725927359274592755927659277592785927959280592815928259283592845928559286592875928859289592905929159292592935929459295592965929759298592995930059301593025930359304593055930659307593085930959310593115931259313593145931559316593175931859319593205932159322593235932459325593265932759328593295933059331593325933359334593355933659337593385933959340593415934259343593445934559346593475934859349593505935159352593535935459355593565935759358593595936059361593625936359364593655936659367593685936959370593715937259373593745937559376593775937859379593805938159382593835938459385593865938759388593895939059391593925939359394593955939659397593985939959400594015940259403594045940559406594075940859409594105941159412594135941459415594165941759418594195942059421594225942359424594255942659427594285942959430594315943259433594345943559436594375943859439594405944159442594435944459445594465944759448594495945059451594525945359454594555945659457594585945959460594615946259463594645946559466594675946859469594705947159472594735947459475594765947759478594795948059481594825948359484594855948659487594885948959490594915949259493594945949559496594975949859499595005950159502595035950459505595065950759508595095951059511595125951359514595155951659517595185951959520595215952259523595245952559526595275952859529595305953159532595335953459535595365953759538595395954059541595425954359544595455954659547595485954959550595515955259553595545955559556595575955859559595605956159562595635956459565595665956759568595695957059571595725957359574595755957659577595785957959580595815958259583595845958559586595875958859589595905959159592595935959459595595965959759598595995960059601596025960359604596055960659607596085960959610596115961259613596145961559616596175961859619596205962159622596235962459625596265962759628596295963059631596325963359634596355963659637596385963959640596415964259643596445964559646596475964859649596505965159652596535965459655596565965759658596595966059661596625966359664596655966659667596685966959670596715967259673596745967559676596775967859679596805968159682596835968459685596865968759688596895969059691596925969359694596955969659697596985969959700597015970259703597045970559706597075970859709597105971159712597135971459715597165971759718597195972059721597225972359724597255972659727597285972959730597315973259733597345973559736597375973859739597405974159742597435974459745597465974759748597495975059751597525975359754597555975659757597585975959760597615976259763597645976559766597675976859769597705977159772597735977459775597765977759778597795978059781597825978359784597855978659787597885978959790597915979259793597945979559796597975979859799598005980159802598035980459805598065980759808598095981059811598125981359814598155981659817598185981959820598215982259823598245982559826598275982859829598305983159832598335983459835598365983759838598395984059841598425984359844598455984659847598485984959850598515985259853598545985559856598575985859859598605986159862598635986459865598665986759868598695987059871598725987359874598755987659877598785987959880598815988259883598845988559886598875988859889598905989159892598935989459895598965989759898598995990059901599025990359904599055990659907599085990959910599115991259913599145991559916599175991859919599205992159922599235992459925599265992759928599295993059931599325993359934599355993659937599385993959940599415994259943599445994559946599475994859949599505995159952599535995459955599565995759958599595996059961599625996359964599655996659967599685996959970599715997259973599745997559976599775997859979599805998159982599835998459985599865998759988599895999059991599925999359994599955999659997599985999960000600016000260003600046000560006600076000860009600106001160012600136001460015600166001760018600196002060021600226002360024600256002660027600286002960030600316003260033600346003560036600376003860039600406004160042600436004460045600466004760048600496005060051600526005360054600556005660057600586005960060600616006260063600646006560066600676006860069600706007160072600736007460075600766007760078600796008060081600826008360084600856008660087600886008960090600916009260093600946009560096600976009860099601006010160102601036010460105601066010760108601096011060111601126011360114601156011660117601186011960120601216012260123601246012560126601276012860129601306013160132601336013460135601366013760138601396014060141601426014360144601456014660147601486014960150601516015260153601546015560156601576015860159601606016160162601636016460165601666016760168601696017060171601726017360174601756017660177601786017960180601816018260183601846018560186601876018860189601906019160192601936019460195601966019760198601996020060201602026020360204602056020660207602086020960210602116021260213602146021560216602176021860219602206022160222602236022460225602266022760228602296023060231602326023360234602356023660237602386023960240602416024260243602446024560246602476024860249602506025160252602536025460255602566025760258602596026060261602626026360264602656026660267602686026960270602716027260273602746027560276602776027860279602806028160282602836028460285602866028760288602896029060291602926029360294602956029660297602986029960300603016030260303603046030560306603076030860309603106031160312603136031460315603166031760318603196032060321603226032360324603256032660327603286032960330603316033260333603346033560336603376033860339603406034160342603436034460345603466034760348603496035060351603526035360354603556035660357603586035960360603616036260363603646036560366603676036860369603706037160372603736037460375603766037760378603796038060381603826038360384603856038660387603886038960390603916039260393603946039560396603976039860399604006040160402604036040460405604066040760408604096041060411604126041360414604156041660417604186041960420604216042260423604246042560426604276042860429604306043160432604336043460435604366043760438604396044060441604426044360444604456044660447604486044960450604516045260453604546045560456604576045860459604606046160462604636046460465604666046760468604696047060471604726047360474604756047660477604786047960480604816048260483604846048560486604876048860489604906049160492604936049460495604966049760498604996050060501605026050360504605056050660507605086050960510605116051260513605146051560516605176051860519605206052160522605236052460525605266052760528605296053060531605326053360534605356053660537605386053960540605416054260543605446054560546605476054860549605506055160552605536055460555605566055760558605596056060561605626056360564605656056660567605686056960570605716057260573605746057560576605776057860579605806058160582605836058460585605866058760588605896059060591605926059360594605956059660597605986059960600606016060260603606046060560606606076060860609606106061160612606136061460615606166061760618606196062060621606226062360624606256062660627606286062960630606316063260633606346063560636606376063860639606406064160642606436064460645606466064760648606496065060651606526065360654606556065660657606586065960660606616066260663606646066560666606676066860669606706067160672606736067460675606766067760678606796068060681606826068360684606856068660687606886068960690606916069260693606946069560696606976069860699607006070160702607036070460705607066070760708607096071060711607126071360714607156071660717607186071960720607216072260723607246072560726607276072860729607306073160732607336073460735607366073760738607396074060741607426074360744607456074660747607486074960750607516075260753607546075560756607576075860759607606076160762607636076460765607666076760768607696077060771607726077360774607756077660777607786077960780607816078260783607846078560786607876078860789607906079160792607936079460795607966079760798607996080060801608026080360804608056080660807608086080960810608116081260813608146081560816608176081860819608206082160822608236082460825608266082760828608296083060831608326083360834608356083660837608386083960840608416084260843608446084560846608476084860849608506085160852608536085460855608566085760858608596086060861608626086360864608656086660867608686086960870608716087260873608746087560876608776087860879608806088160882608836088460885608866088760888608896089060891608926089360894608956089660897608986089960900609016090260903609046090560906609076090860909609106091160912609136091460915609166091760918609196092060921609226092360924609256092660927609286092960930609316093260933609346093560936609376093860939609406094160942609436094460945609466094760948609496095060951609526095360954609556095660957609586095960960609616096260963609646096560966609676096860969609706097160972609736097460975609766097760978609796098060981609826098360984609856098660987609886098960990609916099260993609946099560996609976099860999610006100161002610036100461005610066100761008610096101061011610126101361014610156101661017610186101961020610216102261023610246102561026610276102861029610306103161032610336103461035610366103761038610396104061041610426104361044610456104661047610486104961050610516105261053610546105561056610576105861059610606106161062610636106461065610666106761068610696107061071610726107361074610756107661077610786107961080610816108261083610846108561086610876108861089610906109161092610936109461095610966109761098610996110061101611026110361104611056110661107611086110961110611116111261113611146111561116611176111861119611206112161122611236112461125611266112761128611296113061131611326113361134611356113661137611386113961140611416114261143611446114561146611476114861149611506115161152611536115461155611566115761158611596116061161611626116361164611656116661167611686116961170611716117261173611746117561176611776117861179611806118161182611836118461185611866118761188611896119061191611926119361194611956119661197611986119961200612016120261203612046120561206612076120861209612106121161212612136121461215612166121761218612196122061221612226122361224612256122661227612286122961230612316123261233612346123561236612376123861239612406124161242612436124461245612466124761248612496125061251612526125361254612556125661257612586125961260612616126261263612646126561266612676126861269612706127161272612736127461275612766127761278612796128061281612826128361284612856128661287612886128961290612916129261293612946129561296612976129861299613006130161302613036130461305613066130761308613096131061311613126131361314613156131661317613186131961320613216132261323613246132561326613276132861329613306133161332613336133461335613366133761338613396134061341613426134361344613456134661347613486134961350613516135261353613546135561356613576135861359613606136161362613636136461365613666136761368613696137061371613726137361374613756137661377613786137961380613816138261383613846138561386613876138861389613906139161392613936139461395613966139761398613996140061401614026140361404614056140661407614086140961410614116141261413614146141561416614176141861419614206142161422614236142461425614266142761428614296143061431614326143361434614356143661437614386143961440614416144261443614446144561446614476144861449614506145161452614536145461455614566145761458614596146061461614626146361464614656146661467614686146961470614716147261473614746147561476614776147861479614806148161482614836148461485614866148761488614896149061491614926149361494614956149661497614986149961500615016150261503615046150561506615076150861509615106151161512615136151461515615166151761518615196152061521615226152361524615256152661527615286152961530615316153261533615346153561536615376153861539615406154161542615436154461545615466154761548615496155061551615526155361554615556155661557615586155961560615616156261563615646156561566615676156861569615706157161572615736157461575615766157761578615796158061581615826158361584615856158661587615886158961590615916159261593615946159561596615976159861599616006160161602616036160461605616066160761608616096161061611616126161361614616156161661617616186161961620616216162261623616246162561626616276162861629616306163161632616336163461635616366163761638616396164061641616426164361644616456164661647616486164961650616516165261653616546165561656616576165861659616606166161662616636166461665616666166761668616696167061671616726167361674616756167661677616786167961680616816168261683616846168561686616876168861689616906169161692616936169461695616966169761698616996170061701617026170361704617056170661707617086170961710617116171261713617146171561716617176171861719617206172161722617236172461725617266172761728617296173061731617326173361734617356173661737617386173961740617416174261743617446174561746617476174861749617506175161752617536175461755617566175761758617596176061761617626176361764617656176661767617686176961770617716177261773617746177561776617776177861779617806178161782617836178461785617866178761788617896179061791617926179361794617956179661797617986179961800618016180261803618046180561806618076180861809618106181161812618136181461815618166181761818618196182061821618226182361824618256182661827618286182961830618316183261833618346183561836618376183861839618406184161842618436184461845618466184761848618496185061851618526185361854618556185661857618586185961860618616186261863618646186561866618676186861869618706187161872618736187461875618766187761878618796188061881618826188361884618856188661887618886188961890618916189261893618946189561896618976189861899619006190161902619036190461905619066190761908619096191061911619126191361914619156191661917619186191961920619216192261923619246192561926619276192861929619306193161932619336193461935619366193761938619396194061941619426194361944619456194661947619486194961950619516195261953619546195561956619576195861959619606196161962619636196461965619666196761968619696197061971619726197361974619756197661977619786197961980619816198261983619846198561986619876198861989619906199161992619936199461995619966199761998619996200062001620026200362004620056200662007620086200962010620116201262013620146201562016620176201862019620206202162022620236202462025620266202762028620296203062031620326203362034620356203662037620386203962040620416204262043620446204562046620476204862049620506205162052620536205462055620566205762058620596206062061620626206362064620656206662067620686206962070620716207262073620746207562076620776207862079620806208162082620836208462085620866208762088620896209062091620926209362094620956209662097620986209962100621016210262103621046210562106621076210862109621106211162112621136211462115621166211762118621196212062121621226212362124621256212662127621286212962130621316213262133621346213562136621376213862139621406214162142621436214462145621466214762148621496215062151621526215362154621556215662157621586215962160621616216262163621646216562166621676216862169621706217162172621736217462175621766217762178621796218062181621826218362184621856218662187621886218962190621916219262193621946219562196621976219862199622006220162202622036220462205622066220762208622096221062211622126221362214622156221662217622186221962220622216222262223622246222562226622276222862229622306223162232622336223462235622366223762238622396224062241622426224362244622456224662247622486224962250622516225262253622546225562256622576225862259622606226162262622636226462265622666226762268622696227062271622726227362274622756227662277622786227962280622816228262283622846228562286622876228862289622906229162292622936229462295622966229762298622996230062301623026230362304623056230662307623086230962310623116231262313623146231562316623176231862319623206232162322623236232462325623266232762328623296233062331623326233362334623356233662337623386233962340623416234262343623446234562346623476234862349623506235162352623536235462355623566235762358623596236062361623626236362364623656236662367623686236962370623716237262373623746237562376623776237862379623806238162382623836238462385623866238762388623896239062391623926239362394623956239662397623986239962400624016240262403624046240562406624076240862409624106241162412624136241462415624166241762418624196242062421624226242362424624256242662427624286242962430624316243262433624346243562436624376243862439624406244162442624436244462445624466244762448624496245062451624526245362454624556245662457624586245962460624616246262463624646246562466624676246862469624706247162472624736247462475624766247762478624796248062481624826248362484624856248662487624886248962490624916249262493624946249562496624976249862499625006250162502625036250462505625066250762508625096251062511625126251362514625156251662517625186251962520625216252262523625246252562526625276252862529625306253162532625336253462535625366253762538625396254062541625426254362544625456254662547625486254962550625516255262553625546255562556625576255862559625606256162562625636256462565625666256762568625696257062571625726257362574625756257662577625786257962580625816258262583625846258562586625876258862589625906259162592625936259462595625966259762598625996260062601626026260362604626056260662607626086260962610626116261262613626146261562616626176261862619626206262162622626236262462625626266262762628626296263062631626326263362634626356263662637626386263962640626416264262643626446264562646626476264862649626506265162652626536265462655626566265762658626596266062661626626266362664626656266662667626686266962670626716267262673626746267562676626776267862679626806268162682626836268462685626866268762688626896269062691626926269362694626956269662697626986269962700627016270262703627046270562706627076270862709627106271162712627136271462715627166271762718627196272062721627226272362724627256272662727627286272962730627316273262733627346273562736627376273862739627406274162742627436274462745627466274762748627496275062751627526275362754627556275662757627586275962760627616276262763627646276562766627676276862769627706277162772627736277462775627766277762778627796278062781627826278362784627856278662787627886278962790627916279262793627946279562796627976279862799628006280162802628036280462805628066280762808628096281062811628126281362814628156281662817628186281962820628216282262823628246282562826628276282862829628306283162832628336283462835628366283762838628396284062841628426284362844628456284662847628486284962850628516285262853628546285562856628576285862859628606286162862628636286462865628666286762868628696287062871628726287362874628756287662877628786287962880628816288262883628846288562886628876288862889628906289162892628936289462895628966289762898628996290062901629026290362904629056290662907629086290962910629116291262913629146291562916629176291862919629206292162922629236292462925629266292762928629296293062931629326293362934629356293662937629386293962940629416294262943629446294562946629476294862949629506295162952629536295462955629566295762958629596296062961629626296362964629656296662967629686296962970629716297262973629746297562976629776297862979629806298162982629836298462985629866298762988629896299062991629926299362994629956299662997629986299963000630016300263003630046300563006630076300863009630106301163012630136301463015630166301763018630196302063021630226302363024630256302663027630286302963030630316303263033630346303563036630376303863039630406304163042630436304463045630466304763048630496305063051630526305363054630556305663057630586305963060630616306263063630646306563066630676306863069630706307163072630736307463075630766307763078630796308063081630826308363084630856308663087630886308963090630916309263093630946309563096630976309863099631006310163102631036310463105631066310763108631096311063111631126311363114631156311663117631186311963120631216312263123631246312563126631276312863129631306313163132631336313463135631366313763138631396314063141631426314363144631456314663147631486314963150631516315263153631546315563156631576315863159631606316163162631636316463165631666316763168631696317063171631726317363174631756317663177631786317963180631816318263183631846318563186631876318863189631906319163192631936319463195631966319763198631996320063201632026320363204632056320663207632086320963210632116321263213632146321563216632176321863219632206322163222632236322463225632266322763228632296323063231632326323363234632356323663237632386323963240632416324263243632446324563246632476324863249632506325163252632536325463255632566325763258632596326063261632626326363264632656326663267632686326963270632716327263273632746327563276632776327863279632806328163282632836328463285632866328763288632896329063291632926329363294632956329663297632986329963300633016330263303633046330563306633076330863309633106331163312633136331463315633166331763318633196332063321633226332363324633256332663327633286332963330633316333263333633346333563336633376333863339633406334163342633436334463345633466334763348633496335063351633526335363354633556335663357633586335963360633616336263363633646336563366633676336863369633706337163372633736337463375633766337763378633796338063381633826338363384633856338663387633886338963390633916339263393633946339563396633976339863399634006340163402634036340463405634066340763408634096341063411634126341363414634156341663417634186341963420634216342263423634246342563426634276342863429634306343163432634336343463435634366343763438634396344063441634426344363444634456344663447634486344963450634516345263453634546345563456634576345863459634606346163462634636346463465634666346763468634696347063471634726347363474634756347663477634786347963480634816348263483634846348563486634876348863489634906349163492634936349463495634966349763498634996350063501635026350363504635056350663507635086350963510635116351263513635146351563516635176351863519635206352163522635236352463525635266352763528635296353063531635326353363534635356353663537635386353963540635416354263543635446354563546635476354863549635506355163552635536355463555635566355763558635596356063561635626356363564635656356663567635686356963570635716357263573635746357563576635776357863579635806358163582635836358463585635866358763588635896359063591635926359363594635956359663597635986359963600636016360263603636046360563606636076360863609636106361163612636136361463615636166361763618636196362063621636226362363624636256362663627636286362963630636316363263633636346363563636636376363863639636406364163642636436364463645636466364763648636496365063651636526365363654636556365663657636586365963660636616366263663636646366563666636676366863669636706367163672636736367463675636766367763678636796368063681636826368363684636856368663687636886368963690636916369263693636946369563696636976369863699637006370163702637036370463705637066370763708637096371063711637126371363714637156371663717637186371963720637216372263723637246372563726637276372863729637306373163732637336373463735637366373763738637396374063741637426374363744637456374663747637486374963750637516375263753637546375563756637576375863759637606376163762637636376463765637666376763768637696377063771637726377363774637756377663777637786377963780637816378263783637846378563786637876378863789637906379163792637936379463795637966379763798637996380063801638026380363804638056380663807638086380963810638116381263813638146381563816638176381863819638206382163822638236382463825638266382763828638296383063831638326383363834638356383663837638386383963840638416384263843638446384563846638476384863849638506385163852638536385463855638566385763858638596386063861638626386363864638656386663867638686386963870638716387263873638746387563876638776387863879638806388163882638836388463885638866388763888638896389063891638926389363894638956389663897638986389963900639016390263903639046390563906639076390863909639106391163912639136391463915639166391763918639196392063921639226392363924639256392663927639286392963930639316393263933639346393563936639376393863939639406394163942639436394463945639466394763948639496395063951639526395363954639556395663957639586395963960639616396263963639646396563966639676396863969639706397163972639736397463975639766397763978639796398063981639826398363984639856398663987639886398963990639916399263993639946399563996639976399863999640006400164002640036400464005640066400764008640096401064011640126401364014640156401664017640186401964020640216402264023640246402564026640276402864029640306403164032640336403464035640366403764038640396404064041640426404364044640456404664047640486404964050640516405264053640546405564056640576405864059640606406164062640636406464065640666406764068640696407064071640726407364074640756407664077640786407964080640816408264083640846408564086640876408864089640906409164092640936409464095640966409764098640996410064101641026410364104641056410664107641086410964110641116411264113641146411564116641176411864119641206412164122641236412464125641266412764128641296413064131641326413364134641356413664137641386413964140641416414264143641446414564146641476414864149641506415164152641536415464155641566415764158641596416064161641626416364164641656416664167641686416964170641716417264173641746417564176641776417864179641806418164182641836418464185641866418764188641896419064191641926419364194641956419664197641986419964200642016420264203642046420564206642076420864209642106421164212642136421464215642166421764218642196422064221642226422364224642256422664227642286422964230642316423264233642346423564236642376423864239642406424164242642436424464245642466424764248642496425064251642526425364254642556425664257642586425964260642616426264263642646426564266642676426864269642706427164272642736427464275642766427764278642796428064281642826428364284642856428664287642886428964290642916429264293642946429564296642976429864299643006430164302643036430464305643066430764308643096431064311643126431364314643156431664317643186431964320643216432264323643246432564326643276432864329643306433164332643336433464335643366433764338643396434064341643426434364344643456434664347643486434964350643516435264353643546435564356643576435864359643606436164362643636436464365643666436764368643696437064371643726437364374643756437664377643786437964380643816438264383643846438564386643876438864389643906439164392643936439464395643966439764398643996440064401644026440364404644056440664407644086440964410644116441264413644146441564416644176441864419644206442164422644236442464425644266442764428644296443064431644326443364434644356443664437644386443964440644416444264443644446444564446644476444864449644506445164452644536445464455644566445764458644596446064461644626446364464644656446664467644686446964470644716447264473644746447564476644776447864479644806448164482644836448464485644866448764488644896449064491644926449364494644956449664497644986449964500645016450264503645046450564506645076450864509645106451164512645136451464515645166451764518645196452064521645226452364524645256452664527645286452964530645316453264533645346453564536645376453864539645406454164542645436454464545645466454764548645496455064551645526455364554645556455664557645586455964560645616456264563645646456564566645676456864569645706457164572645736457464575645766457764578645796458064581645826458364584645856458664587645886458964590645916459264593645946459564596645976459864599646006460164602646036460464605646066460764608646096461064611646126461364614646156461664617646186461964620646216462264623646246462564626646276462864629646306463164632646336463464635646366463764638646396464064641646426464364644646456464664647646486464964650646516465264653646546465564656646576465864659646606466164662646636466464665646666466764668646696467064671646726467364674646756467664677646786467964680646816468264683646846468564686646876468864689646906469164692646936469464695646966469764698646996470064701647026470364704647056470664707647086470964710647116471264713647146471564716647176471864719647206472164722647236472464725647266472764728647296473064731647326473364734647356473664737647386473964740647416474264743647446474564746647476474864749647506475164752647536475464755647566475764758647596476064761647626476364764647656476664767647686476964770647716477264773647746477564776647776477864779647806478164782647836478464785647866478764788647896479064791647926479364794647956479664797647986479964800648016480264803648046480564806648076480864809648106481164812648136481464815648166481764818648196482064821648226482364824648256482664827648286482964830648316483264833648346483564836648376483864839648406484164842648436484464845648466484764848648496485064851648526485364854648556485664857648586485964860648616486264863648646486564866648676486864869648706487164872648736487464875648766487764878648796488064881648826488364884648856488664887648886488964890648916489264893648946489564896648976489864899649006490164902649036490464905649066490764908649096491064911649126491364914649156491664917649186491964920649216492264923649246492564926649276492864929649306493164932649336493464935649366493764938649396494064941649426494364944649456494664947649486494964950649516495264953649546495564956649576495864959649606496164962649636496464965649666496764968649696497064971649726497364974649756497664977649786497964980649816498264983649846498564986649876498864989649906499164992649936499464995649966499764998649996500065001650026500365004650056500665007650086500965010650116501265013650146501565016650176501865019650206502165022650236502465025650266502765028650296503065031650326503365034650356503665037650386503965040650416504265043650446504565046650476504865049650506505165052650536505465055650566505765058650596506065061650626506365064650656506665067650686506965070650716507265073650746507565076650776507865079650806508165082650836508465085650866508765088650896509065091650926509365094650956509665097650986509965100651016510265103651046510565106651076510865109651106511165112651136511465115651166511765118651196512065121651226512365124651256512665127651286512965130651316513265133651346513565136651376513865139651406514165142651436514465145651466514765148651496515065151651526515365154651556515665157651586515965160651616516265163651646516565166651676516865169651706517165172651736517465175651766517765178651796518065181651826518365184651856518665187651886518965190651916519265193651946519565196651976519865199652006520165202652036520465205652066520765208652096521065211652126521365214652156521665217652186521965220652216522265223652246522565226652276522865229652306523165232652336523465235652366523765238652396524065241652426524365244652456524665247652486524965250652516525265253652546525565256652576525865259652606526165262652636526465265652666526765268652696527065271652726527365274652756527665277652786527965280652816528265283652846528565286652876528865289652906529165292652936529465295652966529765298652996530065301653026530365304653056530665307653086530965310653116531265313653146531565316653176531865319653206532165322653236532465325653266532765328653296533065331653326533365334653356533665337653386533965340653416534265343653446534565346653476534865349653506535165352653536535465355653566535765358653596536065361653626536365364653656536665367653686536965370653716537265373653746537565376653776537865379653806538165382653836538465385653866538765388653896539065391653926539365394653956539665397653986539965400654016540265403654046540565406654076540865409654106541165412654136541465415654166541765418654196542065421654226542365424654256542665427654286542965430654316543265433654346543565436654376543865439654406544165442654436544465445654466544765448654496545065451654526545365454654556545665457654586545965460654616546265463654646546565466654676546865469654706547165472654736547465475654766547765478654796548065481654826548365484654856548665487654886548965490654916549265493654946549565496654976549865499655006550165502655036550465505655066550765508655096551065511655126551365514655156551665517655186551965520655216552265523655246552565526655276552865529655306553165532655336553465535655366553765538655396554065541655426554365544655456554665547655486554965550655516555265553655546555565556655576555865559655606556165562655636556465565655666556765568655696557065571655726557365574655756557665577655786557965580655816558265583655846558565586655876558865589655906559165592655936559465595655966559765598655996560065601656026560365604656056560665607656086560965610656116561265613656146561565616656176561865619656206562165622656236562465625656266562765628656296563065631656326563365634656356563665637656386563965640656416564265643656446564565646656476564865649656506565165652656536565465655656566565765658656596566065661656626566365664656656566665667656686566965670656716567265673656746567565676656776567865679656806568165682656836568465685656866568765688656896569065691656926569365694656956569665697656986569965700657016570265703657046570565706657076570865709657106571165712657136571465715657166571765718657196572065721657226572365724657256572665727657286572965730657316573265733657346573565736657376573865739657406574165742657436574465745657466574765748657496575065751657526575365754657556575665757657586575965760657616576265763657646576565766657676576865769657706577165772657736577465775657766577765778657796578065781657826578365784657856578665787657886578965790657916579265793657946579565796657976579865799658006580165802658036580465805658066580765808658096581065811658126581365814658156581665817658186581965820658216582265823658246582565826658276582865829658306583165832658336583465835658366583765838658396584065841658426584365844658456584665847658486584965850658516585265853658546585565856658576585865859658606586165862658636586465865658666586765868658696587065871658726587365874658756587665877658786587965880658816588265883658846588565886658876588865889658906589165892658936589465895658966589765898658996590065901659026590365904659056590665907659086590965910659116591265913659146591565916659176591865919659206592165922659236592465925659266592765928659296593065931659326593365934659356593665937659386593965940659416594265943659446594565946659476594865949659506595165952659536595465955659566595765958659596596065961659626596365964659656596665967659686596965970659716597265973659746597565976659776597865979659806598165982659836598465985659866598765988659896599065991659926599365994659956599665997659986599966000660016600266003660046600566006660076600866009660106601166012660136601466015660166601766018660196602066021660226602366024660256602666027660286602966030660316603266033660346603566036660376603866039660406604166042660436604466045660466604766048660496605066051660526605366054660556605666057660586605966060660616606266063660646606566066660676606866069660706607166072660736607466075660766607766078660796608066081660826608366084660856608666087660886608966090660916609266093660946609566096660976609866099661006610166102661036610466105661066610766108661096611066111661126611366114661156611666117661186611966120661216612266123661246612566126661276612866129661306613166132661336613466135661366613766138661396614066141661426614366144661456614666147661486614966150661516615266153661546615566156661576615866159661606616166162661636616466165661666616766168661696617066171661726617366174661756617666177661786617966180661816618266183661846618566186661876618866189661906619166192661936619466195661966619766198661996620066201662026620366204662056620666207662086620966210662116621266213662146621566216662176621866219662206622166222662236622466225662266622766228662296623066231662326623366234662356623666237662386623966240662416624266243662446624566246662476624866249662506625166252662536625466255662566625766258662596626066261662626626366264662656626666267662686626966270662716627266273662746627566276662776627866279662806628166282662836628466285662866628766288662896629066291662926629366294662956629666297662986629966300663016630266303663046630566306663076630866309663106631166312663136631466315663166631766318663196632066321663226632366324663256632666327663286632966330663316633266333663346633566336663376633866339663406634166342663436634466345663466634766348663496635066351663526635366354663556635666357663586635966360663616636266363663646636566366663676636866369663706637166372663736637466375663766637766378663796638066381663826638366384663856638666387663886638966390663916639266393663946639566396663976639866399664006640166402664036640466405664066640766408664096641066411664126641366414664156641666417664186641966420664216642266423664246642566426664276642866429664306643166432664336643466435664366643766438664396644066441664426644366444664456644666447664486644966450664516645266453664546645566456664576645866459664606646166462664636646466465664666646766468664696647066471664726647366474664756647666477664786647966480664816648266483664846648566486664876648866489664906649166492664936649466495664966649766498664996650066501665026650366504665056650666507665086650966510665116651266513665146651566516665176651866519665206652166522665236652466525665266652766528665296653066531665326653366534665356653666537665386653966540665416654266543665446654566546665476654866549665506655166552665536655466555665566655766558665596656066561665626656366564665656656666567665686656966570665716657266573665746657566576665776657866579665806658166582665836658466585665866658766588665896659066591665926659366594665956659666597665986659966600666016660266603666046660566606666076660866609666106661166612666136661466615666166661766618666196662066621666226662366624666256662666627666286662966630666316663266633666346663566636666376663866639666406664166642666436664466645666466664766648666496665066651666526665366654666556665666657666586665966660666616666266663666646666566666666676666866669666706667166672666736667466675666766667766678666796668066681666826668366684666856668666687666886668966690666916669266693666946669566696666976669866699667006670166702667036670466705667066670766708667096671066711667126671366714667156671666717667186671966720667216672266723667246672566726667276672866729667306673166732667336673466735667366673766738667396674066741667426674366744667456674666747667486674966750667516675266753667546675566756667576675866759667606676166762667636676466765667666676766768667696677066771667726677366774667756677666777667786677966780667816678266783667846678566786667876678866789667906679166792667936679466795667966679766798667996680066801668026680366804668056680666807668086680966810668116681266813668146681566816668176681866819668206682166822668236682466825668266682766828668296683066831668326683366834668356683666837668386683966840668416684266843668446684566846668476684866849668506685166852668536685466855668566685766858668596686066861668626686366864668656686666867668686686966870668716687266873668746687566876668776687866879668806688166882668836688466885668866688766888668896689066891668926689366894668956689666897668986689966900669016690266903669046690566906669076690866909669106691166912669136691466915669166691766918669196692066921669226692366924669256692666927669286692966930669316693266933669346693566936669376693866939669406694166942669436694466945669466694766948669496695066951669526695366954669556695666957669586695966960669616696266963669646696566966669676696866969669706697166972669736697466975669766697766978669796698066981669826698366984669856698666987669886698966990669916699266993669946699566996669976699866999670006700167002670036700467005670066700767008670096701067011670126701367014670156701667017670186701967020670216702267023670246702567026670276702867029670306703167032670336703467035670366703767038670396704067041670426704367044670456704667047670486704967050670516705267053670546705567056670576705867059670606706167062670636706467065670666706767068670696707067071670726707367074670756707667077670786707967080670816708267083670846708567086670876708867089670906709167092670936709467095670966709767098670996710067101671026710367104671056710667107671086710967110671116711267113671146711567116671176711867119671206712167122671236712467125671266712767128671296713067131671326713367134671356713667137671386713967140671416714267143671446714567146671476714867149671506715167152671536715467155671566715767158671596716067161671626716367164671656716667167671686716967170671716717267173671746717567176671776717867179671806718167182671836718467185671866718767188671896719067191671926719367194671956719667197671986719967200672016720267203672046720567206672076720867209672106721167212672136721467215672166721767218672196722067221672226722367224672256722667227672286722967230672316723267233672346723567236672376723867239672406724167242672436724467245672466724767248672496725067251672526725367254672556725667257672586725967260672616726267263672646726567266672676726867269672706727167272672736727467275672766727767278672796728067281672826728367284672856728667287672886728967290672916729267293672946729567296672976729867299673006730167302673036730467305673066730767308673096731067311673126731367314673156731667317673186731967320673216732267323673246732567326673276732867329673306733167332673336733467335673366733767338673396734067341673426734367344673456734667347673486734967350673516735267353673546735567356673576735867359673606736167362673636736467365673666736767368673696737067371673726737367374673756737667377673786737967380673816738267383673846738567386673876738867389673906739167392673936739467395673966739767398673996740067401674026740367404674056740667407674086740967410674116741267413674146741567416674176741867419674206742167422674236742467425674266742767428674296743067431674326743367434674356743667437674386743967440674416744267443674446744567446674476744867449674506745167452674536745467455674566745767458674596746067461674626746367464674656746667467674686746967470674716747267473674746747567476674776747867479674806748167482674836748467485674866748767488674896749067491674926749367494674956749667497674986749967500675016750267503675046750567506675076750867509675106751167512675136751467515675166751767518675196752067521675226752367524675256752667527675286752967530675316753267533675346753567536675376753867539675406754167542675436754467545675466754767548675496755067551675526755367554675556755667557675586755967560675616756267563675646756567566675676756867569675706757167572675736757467575675766757767578675796758067581675826758367584675856758667587675886758967590675916759267593675946759567596675976759867599676006760167602676036760467605676066760767608676096761067611676126761367614676156761667617676186761967620676216762267623676246762567626676276762867629676306763167632676336763467635676366763767638676396764067641676426764367644676456764667647676486764967650676516765267653676546765567656676576765867659676606766167662676636766467665676666766767668676696767067671676726767367674676756767667677676786767967680676816768267683676846768567686676876768867689676906769167692676936769467695676966769767698676996770067701677026770367704677056770667707677086770967710677116771267713677146771567716677176771867719677206772167722677236772467725677266772767728677296773067731677326773367734677356773667737677386773967740677416774267743677446774567746677476774867749677506775167752677536775467755677566775767758677596776067761677626776367764677656776667767677686776967770677716777267773677746777567776677776777867779677806778167782677836778467785677866778767788677896779067791677926779367794677956779667797677986779967800678016780267803678046780567806678076780867809678106781167812678136781467815678166781767818678196782067821678226782367824678256782667827678286782967830678316783267833678346783567836678376783867839678406784167842678436784467845678466784767848678496785067851678526785367854678556785667857678586785967860678616786267863678646786567866678676786867869678706787167872678736787467875678766787767878678796788067881678826788367884678856788667887678886788967890678916789267893678946789567896678976789867899679006790167902679036790467905679066790767908679096791067911679126791367914679156791667917679186791967920679216792267923679246792567926679276792867929679306793167932679336793467935679366793767938679396794067941679426794367944679456794667947679486794967950679516795267953679546795567956679576795867959679606796167962679636796467965679666796767968679696797067971679726797367974679756797667977679786797967980679816798267983679846798567986679876798867989679906799167992679936799467995679966799767998679996800068001680026800368004680056800668007680086800968010680116801268013680146801568016680176801868019680206802168022680236802468025680266802768028680296803068031680326803368034680356803668037680386803968040680416804268043680446804568046680476804868049680506805168052680536805468055680566805768058680596806068061680626806368064680656806668067680686806968070680716807268073680746807568076680776807868079680806808168082680836808468085680866808768088680896809068091680926809368094680956809668097680986809968100681016810268103681046810568106681076810868109681106811168112681136811468115681166811768118681196812068121681226812368124681256812668127681286812968130681316813268133681346813568136681376813868139681406814168142681436814468145681466814768148681496815068151681526815368154681556815668157681586815968160681616816268163681646816568166681676816868169681706817168172681736817468175681766817768178681796818068181681826818368184681856818668187681886818968190681916819268193681946819568196681976819868199682006820168202682036820468205682066820768208682096821068211682126821368214682156821668217682186821968220682216822268223682246822568226682276822868229682306823168232682336823468235682366823768238682396824068241682426824368244682456824668247682486824968250682516825268253682546825568256682576825868259682606826168262682636826468265682666826768268682696827068271682726827368274682756827668277682786827968280682816828268283682846828568286682876828868289682906829168292682936829468295682966829768298682996830068301683026830368304683056830668307683086830968310683116831268313683146831568316683176831868319683206832168322683236832468325683266832768328683296833068331683326833368334683356833668337683386833968340683416834268343683446834568346683476834868349683506835168352683536835468355683566835768358683596836068361683626836368364683656836668367683686836968370683716837268373683746837568376683776837868379683806838168382683836838468385683866838768388683896839068391683926839368394683956839668397683986839968400684016840268403684046840568406684076840868409684106841168412684136841468415684166841768418684196842068421684226842368424684256842668427684286842968430684316843268433684346843568436684376843868439684406844168442684436844468445684466844768448684496845068451684526845368454684556845668457684586845968460684616846268463684646846568466684676846868469684706847168472684736847468475684766847768478684796848068481684826848368484684856848668487684886848968490684916849268493684946849568496684976849868499685006850168502685036850468505685066850768508685096851068511685126851368514685156851668517685186851968520685216852268523685246852568526685276852868529685306853168532685336853468535685366853768538685396854068541685426854368544685456854668547685486854968550685516855268553685546855568556685576855868559685606856168562685636856468565685666856768568685696857068571685726857368574685756857668577685786857968580685816858268583685846858568586685876858868589685906859168592685936859468595685966859768598685996860068601686026860368604686056860668607686086860968610686116861268613686146861568616686176861868619686206862168622686236862468625686266862768628686296863068631686326863368634686356863668637686386863968640686416864268643686446864568646686476864868649686506865168652686536865468655686566865768658686596866068661686626866368664686656866668667686686866968670686716867268673686746867568676686776867868679686806868168682686836868468685686866868768688686896869068691686926869368694686956869668697686986869968700687016870268703687046870568706687076870868709687106871168712687136871468715687166871768718687196872068721687226872368724687256872668727687286872968730687316873268733687346873568736687376873868739687406874168742687436874468745687466874768748687496875068751687526875368754687556875668757687586875968760687616876268763687646876568766687676876868769687706877168772687736877468775687766877768778687796878068781687826878368784687856878668787687886878968790687916879268793687946879568796687976879868799688006880168802688036880468805688066880768808688096881068811688126881368814688156881668817688186881968820688216882268823688246882568826688276882868829688306883168832688336883468835688366883768838688396884068841688426884368844688456884668847688486884968850688516885268853688546885568856688576885868859688606886168862688636886468865688666886768868688696887068871688726887368874688756887668877688786887968880688816888268883688846888568886688876888868889688906889168892688936889468895688966889768898688996890068901689026890368904689056890668907689086890968910689116891268913689146891568916689176891868919689206892168922689236892468925689266892768928689296893068931689326893368934689356893668937689386893968940689416894268943689446894568946689476894868949689506895168952689536895468955689566895768958689596896068961689626896368964689656896668967689686896968970689716897268973689746897568976689776897868979689806898168982689836898468985689866898768988689896899068991689926899368994689956899668997689986899969000690016900269003690046900569006690076900869009690106901169012690136901469015690166901769018690196902069021690226902369024690256902669027690286902969030690316903269033690346903569036690376903869039690406904169042690436904469045690466904769048690496905069051690526905369054690556905669057690586905969060690616906269063690646906569066690676906869069690706907169072690736907469075690766907769078690796908069081690826908369084690856908669087690886908969090690916909269093690946909569096690976909869099691006910169102691036910469105691066910769108691096911069111691126911369114691156911669117691186911969120691216912269123691246912569126691276912869129691306913169132691336913469135691366913769138691396914069141691426914369144691456914669147691486914969150691516915269153691546915569156691576915869159691606916169162691636916469165691666916769168691696917069171691726917369174691756917669177691786917969180691816918269183691846918569186691876918869189691906919169192691936919469195691966919769198691996920069201692026920369204692056920669207692086920969210692116921269213692146921569216692176921869219692206922169222692236922469225692266922769228692296923069231692326923369234692356923669237692386923969240692416924269243692446924569246692476924869249692506925169252692536925469255692566925769258692596926069261692626926369264692656926669267692686926969270692716927269273692746927569276692776927869279692806928169282692836928469285692866928769288692896929069291692926929369294692956929669297692986929969300693016930269303693046930569306693076930869309693106931169312693136931469315693166931769318693196932069321693226932369324693256932669327693286932969330693316933269333693346933569336693376933869339693406934169342693436934469345693466934769348693496935069351693526935369354693556935669357693586935969360693616936269363693646936569366693676936869369693706937169372693736937469375693766937769378693796938069381693826938369384693856938669387693886938969390693916939269393693946939569396693976939869399694006940169402694036940469405694066940769408694096941069411694126941369414694156941669417694186941969420694216942269423694246942569426694276942869429694306943169432694336943469435694366943769438694396944069441694426944369444694456944669447694486944969450694516945269453694546945569456694576945869459694606946169462694636946469465694666946769468694696947069471694726947369474694756947669477694786947969480694816948269483694846948569486694876948869489694906949169492694936949469495694966949769498694996950069501695026950369504695056950669507695086950969510695116951269513695146951569516695176951869519695206952169522695236952469525695266952769528695296953069531695326953369534695356953669537695386953969540695416954269543695446954569546695476954869549695506955169552695536955469555695566955769558695596956069561695626956369564695656956669567695686956969570695716957269573695746957569576695776957869579695806958169582695836958469585695866958769588695896959069591695926959369594695956959669597695986959969600696016960269603696046960569606696076960869609696106961169612696136961469615696166961769618696196962069621696226962369624696256962669627696286962969630696316963269633696346963569636696376963869639696406964169642696436964469645696466964769648696496965069651696526965369654696556965669657696586965969660696616966269663696646966569666696676966869669696706967169672696736967469675696766967769678696796968069681696826968369684696856968669687696886968969690696916969269693696946969569696696976969869699697006970169702697036970469705697066970769708697096971069711697126971369714697156971669717697186971969720697216972269723697246972569726697276972869729697306973169732697336973469735697366973769738697396974069741697426974369744697456974669747697486974969750697516975269753697546975569756697576975869759697606976169762697636976469765697666976769768697696977069771697726977369774697756977669777697786977969780697816978269783697846978569786697876978869789697906979169792697936979469795697966979769798697996980069801698026980369804698056980669807698086980969810698116981269813698146981569816698176981869819698206982169822698236982469825698266982769828698296983069831698326983369834698356983669837698386983969840698416984269843698446984569846698476984869849698506985169852698536985469855698566985769858698596986069861698626986369864698656986669867698686986969870698716987269873698746987569876698776987869879698806988169882698836988469885698866988769888698896989069891698926989369894698956989669897698986989969900699016990269903699046990569906699076990869909699106991169912699136991469915699166991769918699196992069921699226992369924699256992669927699286992969930699316993269933699346993569936699376993869939699406994169942699436994469945699466994769948699496995069951699526995369954699556995669957699586995969960699616996269963699646996569966699676996869969699706997169972699736997469975699766997769978699796998069981699826998369984699856998669987699886998969990699916999269993699946999569996699976999869999700007000170002700037000470005700067000770008700097001070011700127001370014700157001670017700187001970020700217002270023700247002570026700277002870029700307003170032700337003470035700367003770038700397004070041700427004370044700457004670047700487004970050700517005270053700547005570056700577005870059700607006170062700637006470065700667006770068700697007070071700727007370074700757007670077700787007970080700817008270083700847008570086700877008870089700907009170092700937009470095700967009770098700997010070101701027010370104701057010670107701087010970110701117011270113701147011570116701177011870119701207012170122701237012470125701267012770128701297013070131701327013370134701357013670137701387013970140701417014270143701447014570146701477014870149701507015170152701537015470155701567015770158701597016070161701627016370164701657016670167701687016970170701717017270173701747017570176701777017870179701807018170182701837018470185701867018770188701897019070191701927019370194701957019670197701987019970200702017020270203702047020570206702077020870209702107021170212702137021470215702167021770218702197022070221702227022370224702257022670227702287022970230702317023270233702347023570236702377023870239702407024170242702437024470245702467024770248702497025070251702527025370254702557025670257702587025970260702617026270263702647026570266702677026870269702707027170272702737027470275702767027770278702797028070281702827028370284702857028670287702887028970290702917029270293702947029570296702977029870299703007030170302703037030470305703067030770308703097031070311703127031370314703157031670317703187031970320703217032270323703247032570326703277032870329703307033170332703337033470335703367033770338703397034070341703427034370344703457034670347703487034970350703517035270353703547035570356703577035870359703607036170362703637036470365703667036770368703697037070371703727037370374703757037670377703787037970380703817038270383703847038570386703877038870389703907039170392703937039470395703967039770398703997040070401704027040370404704057040670407704087040970410704117041270413704147041570416704177041870419704207042170422704237042470425704267042770428704297043070431704327043370434704357043670437704387043970440704417044270443704447044570446704477044870449704507045170452704537045470455704567045770458704597046070461704627046370464704657046670467704687046970470704717047270473704747047570476704777047870479704807048170482704837048470485704867048770488704897049070491704927049370494704957049670497704987049970500705017050270503705047050570506705077050870509705107051170512705137051470515705167051770518705197052070521705227052370524705257052670527705287052970530705317053270533705347053570536705377053870539705407054170542705437054470545705467054770548705497055070551705527055370554705557055670557705587055970560705617056270563705647056570566705677056870569705707057170572705737057470575705767057770578705797058070581705827058370584705857058670587705887058970590705917059270593705947059570596705977059870599706007060170602706037060470605706067060770608706097061070611706127061370614706157061670617706187061970620706217062270623706247062570626706277062870629706307063170632706337063470635706367063770638706397064070641706427064370644706457064670647706487064970650706517065270653706547065570656706577065870659706607066170662706637066470665706667066770668706697067070671706727067370674706757067670677706787067970680706817068270683706847068570686706877068870689706907069170692706937069470695706967069770698706997070070701707027070370704707057070670707707087070970710707117071270713707147071570716707177071870719707207072170722707237072470725707267072770728707297073070731707327073370734707357073670737707387073970740707417074270743707447074570746707477074870749707507075170752707537075470755707567075770758707597076070761707627076370764707657076670767707687076970770707717077270773707747077570776707777077870779707807078170782707837078470785707867078770788707897079070791707927079370794707957079670797707987079970800708017080270803708047080570806708077080870809708107081170812708137081470815708167081770818708197082070821708227082370824708257082670827708287082970830708317083270833708347083570836708377083870839708407084170842708437084470845708467084770848708497085070851708527085370854708557085670857708587085970860708617086270863708647086570866708677086870869708707087170872708737087470875708767087770878708797088070881708827088370884708857088670887708887088970890708917089270893708947089570896708977089870899709007090170902709037090470905709067090770908709097091070911709127091370914709157091670917709187091970920709217092270923709247092570926709277092870929709307093170932709337093470935709367093770938709397094070941709427094370944709457094670947709487094970950709517095270953709547095570956709577095870959709607096170962709637096470965709667096770968709697097070971709727097370974709757097670977709787097970980709817098270983709847098570986709877098870989709907099170992709937099470995709967099770998709997100071001710027100371004710057100671007710087100971010710117101271013710147101571016710177101871019710207102171022710237102471025710267102771028710297103071031710327103371034710357103671037710387103971040710417104271043710447104571046710477104871049710507105171052710537105471055710567105771058710597106071061710627106371064710657106671067710687106971070710717107271073710747107571076710777107871079710807108171082710837108471085710867108771088710897109071091710927109371094710957109671097710987109971100711017110271103711047110571106711077110871109711107111171112711137111471115711167111771118711197112071121711227112371124711257112671127711287112971130711317113271133711347113571136711377113871139711407114171142711437114471145711467114771148711497115071151711527115371154711557115671157711587115971160711617116271163711647116571166711677116871169711707117171172711737117471175711767117771178711797118071181711827118371184711857118671187711887118971190711917119271193711947119571196711977119871199712007120171202712037120471205712067120771208712097121071211712127121371214712157121671217712187121971220712217122271223712247122571226712277122871229712307123171232712337123471235712367123771238712397124071241712427124371244712457124671247712487124971250712517125271253712547125571256712577125871259712607126171262712637126471265712667126771268712697127071271712727127371274712757127671277712787127971280712817128271283712847128571286712877128871289712907129171292712937129471295712967129771298712997130071301713027130371304713057130671307713087130971310713117131271313713147131571316713177131871319713207132171322713237132471325713267132771328713297133071331713327133371334713357133671337713387133971340713417134271343713447134571346713477134871349713507135171352713537135471355713567135771358713597136071361713627136371364713657136671367713687136971370713717137271373713747137571376713777137871379713807138171382713837138471385713867138771388713897139071391713927139371394713957139671397713987139971400714017140271403714047140571406714077140871409714107141171412714137141471415714167141771418714197142071421714227142371424714257142671427714287142971430714317143271433714347143571436714377143871439714407144171442714437144471445714467144771448714497145071451714527145371454714557145671457714587145971460714617146271463714647146571466714677146871469714707147171472714737147471475714767147771478714797148071481714827148371484714857148671487714887148971490714917149271493714947149571496714977149871499715007150171502715037150471505715067150771508715097151071511715127151371514715157151671517715187151971520715217152271523715247152571526715277152871529715307153171532715337153471535715367153771538715397154071541715427154371544715457154671547715487154971550715517155271553715547155571556715577155871559715607156171562715637156471565715667156771568715697157071571715727157371574715757157671577715787157971580715817158271583715847158571586715877158871589715907159171592715937159471595715967159771598715997160071601716027160371604716057160671607716087160971610716117161271613716147161571616716177161871619716207162171622716237162471625716267162771628716297163071631716327163371634716357163671637716387163971640716417164271643716447164571646716477164871649716507165171652716537165471655716567165771658716597166071661716627166371664716657166671667716687166971670716717167271673716747167571676716777167871679716807168171682716837168471685716867168771688716897169071691716927169371694716957169671697716987169971700717017170271703717047170571706717077170871709717107171171712717137171471715717167171771718717197172071721717227172371724717257172671727717287172971730717317173271733717347173571736717377173871739717407174171742717437174471745717467174771748717497175071751717527175371754717557175671757717587175971760717617176271763717647176571766717677176871769717707177171772717737177471775717767177771778717797178071781717827178371784717857178671787717887178971790717917179271793717947179571796717977179871799718007180171802718037180471805718067180771808718097181071811718127181371814718157181671817718187181971820718217182271823718247182571826718277182871829718307183171832718337183471835718367183771838718397184071841718427184371844718457184671847718487184971850718517185271853718547185571856718577185871859718607186171862718637186471865718667186771868718697187071871718727187371874718757187671877718787187971880718817188271883718847188571886718877188871889718907189171892718937189471895718967189771898718997190071901719027190371904719057190671907719087190971910719117191271913719147191571916719177191871919719207192171922719237192471925719267192771928719297193071931719327193371934719357193671937719387193971940719417194271943719447194571946719477194871949719507195171952719537195471955719567195771958719597196071961719627196371964719657196671967719687196971970719717197271973719747197571976719777197871979719807198171982719837198471985719867198771988719897199071991719927199371994719957199671997719987199972000720017200272003720047200572006720077200872009720107201172012720137201472015720167201772018720197202072021720227202372024720257202672027720287202972030720317203272033720347203572036720377203872039720407204172042720437204472045720467204772048720497205072051720527205372054720557205672057720587205972060720617206272063720647206572066720677206872069720707207172072720737207472075720767207772078720797208072081720827208372084720857208672087720887208972090720917209272093720947209572096720977209872099721007210172102721037210472105721067210772108721097211072111721127211372114721157211672117721187211972120721217212272123721247212572126721277212872129721307213172132721337213472135721367213772138721397214072141721427214372144721457214672147721487214972150721517215272153721547215572156721577215872159721607216172162721637216472165721667216772168721697217072171721727217372174721757217672177721787217972180721817218272183721847218572186721877218872189721907219172192721937219472195721967219772198721997220072201722027220372204722057220672207722087220972210722117221272213722147221572216722177221872219722207222172222722237222472225722267222772228722297223072231722327223372234722357223672237722387223972240722417224272243722447224572246722477224872249722507225172252722537225472255722567225772258722597226072261722627226372264722657226672267722687226972270722717227272273722747227572276722777227872279722807228172282722837228472285722867228772288722897229072291722927229372294722957229672297722987229972300723017230272303723047230572306723077230872309723107231172312723137231472315723167231772318723197232072321723227232372324723257232672327723287232972330723317233272333723347233572336723377233872339723407234172342723437234472345723467234772348723497235072351723527235372354723557235672357723587235972360723617236272363723647236572366723677236872369723707237172372723737237472375723767237772378723797238072381723827238372384723857238672387723887238972390723917239272393723947239572396723977239872399724007240172402724037240472405724067240772408724097241072411724127241372414724157241672417724187241972420724217242272423724247242572426724277242872429724307243172432724337243472435724367243772438724397244072441724427244372444724457244672447724487244972450724517245272453724547245572456724577245872459724607246172462724637246472465724667246772468724697247072471724727247372474724757247672477724787247972480724817248272483724847248572486724877248872489724907249172492724937249472495724967249772498724997250072501725027250372504725057250672507725087250972510725117251272513725147251572516725177251872519725207252172522725237252472525725267252772528725297253072531725327253372534725357253672537725387253972540725417254272543725447254572546725477254872549725507255172552725537255472555725567255772558725597256072561725627256372564725657256672567725687256972570725717257272573725747257572576725777257872579725807258172582725837258472585725867258772588725897259072591725927259372594725957259672597725987259972600726017260272603726047260572606726077260872609726107261172612726137261472615726167261772618726197262072621726227262372624726257262672627726287262972630726317263272633726347263572636726377263872639726407264172642726437264472645726467264772648726497265072651726527265372654726557265672657726587265972660726617266272663726647266572666726677266872669726707267172672726737267472675726767267772678726797268072681726827268372684726857268672687726887268972690726917269272693726947269572696726977269872699727007270172702727037270472705727067270772708727097271072711727127271372714727157271672717727187271972720727217272272723727247272572726727277272872729727307273172732727337273472735727367273772738727397274072741727427274372744727457274672747727487274972750727517275272753727547275572756727577275872759727607276172762727637276472765727667276772768727697277072771727727277372774727757277672777727787277972780727817278272783727847278572786727877278872789727907279172792727937279472795727967279772798727997280072801728027280372804728057280672807728087280972810728117281272813728147281572816728177281872819728207282172822728237282472825728267282772828728297283072831728327283372834728357283672837728387283972840728417284272843728447284572846728477284872849728507285172852728537285472855728567285772858728597286072861728627286372864728657286672867728687286972870728717287272873728747287572876728777287872879728807288172882728837288472885728867288772888728897289072891728927289372894728957289672897728987289972900729017290272903729047290572906729077290872909729107291172912729137291472915729167291772918729197292072921729227292372924729257292672927729287292972930729317293272933729347293572936729377293872939729407294172942729437294472945729467294772948729497295072951729527295372954729557295672957729587295972960729617296272963729647296572966729677296872969729707297172972729737297472975729767297772978729797298072981729827298372984729857298672987729887298972990729917299272993729947299572996729977299872999730007300173002730037300473005730067300773008730097301073011730127301373014730157301673017730187301973020730217302273023730247302573026730277302873029730307303173032730337303473035730367303773038730397304073041730427304373044730457304673047730487304973050730517305273053730547305573056730577305873059730607306173062730637306473065730667306773068730697307073071730727307373074730757307673077730787307973080730817308273083730847308573086730877308873089730907309173092730937309473095730967309773098730997310073101731027310373104731057310673107731087310973110731117311273113731147311573116731177311873119731207312173122731237312473125731267312773128731297313073131731327313373134731357313673137731387313973140731417314273143731447314573146731477314873149731507315173152731537315473155731567315773158731597316073161731627316373164731657316673167731687316973170731717317273173731747317573176731777317873179731807318173182731837318473185731867318773188731897319073191731927319373194731957319673197731987319973200732017320273203732047320573206732077320873209732107321173212732137321473215732167321773218732197322073221732227322373224732257322673227732287322973230732317323273233732347323573236732377323873239732407324173242732437324473245732467324773248732497325073251732527325373254732557325673257732587325973260732617326273263732647326573266732677326873269732707327173272732737327473275732767327773278732797328073281732827328373284732857328673287732887328973290732917329273293732947329573296732977329873299733007330173302733037330473305733067330773308733097331073311733127331373314733157331673317733187331973320733217332273323733247332573326733277332873329733307333173332733337333473335733367333773338733397334073341733427334373344733457334673347733487334973350733517335273353733547335573356733577335873359733607336173362733637336473365733667336773368733697337073371733727337373374733757337673377733787337973380733817338273383733847338573386733877338873389733907339173392733937339473395733967339773398733997340073401734027340373404734057340673407734087340973410734117341273413734147341573416734177341873419734207342173422734237342473425734267342773428734297343073431734327343373434734357343673437734387343973440734417344273443734447344573446734477344873449734507345173452734537345473455734567345773458734597346073461734627346373464734657346673467734687346973470734717347273473734747347573476734777347873479734807348173482734837348473485734867348773488734897349073491734927349373494734957349673497734987349973500735017350273503735047350573506735077350873509735107351173512735137351473515735167351773518735197352073521735227352373524735257352673527735287352973530735317353273533735347353573536735377353873539735407354173542735437354473545735467354773548735497355073551735527355373554735557355673557735587355973560735617356273563735647356573566735677356873569735707357173572735737357473575735767357773578735797358073581735827358373584735857358673587735887358973590735917359273593735947359573596735977359873599736007360173602736037360473605736067360773608736097361073611736127361373614736157361673617736187361973620736217362273623736247362573626736277362873629736307363173632736337363473635736367363773638736397364073641736427364373644736457364673647736487364973650736517365273653736547365573656736577365873659736607366173662736637366473665736667366773668736697367073671736727367373674736757367673677736787367973680736817368273683736847368573686736877368873689736907369173692736937369473695736967369773698736997370073701737027370373704737057370673707737087370973710737117371273713737147371573716737177371873719737207372173722737237372473725737267372773728737297373073731737327373373734737357373673737737387373973740737417374273743737447374573746737477374873749737507375173752737537375473755737567375773758737597376073761737627376373764737657376673767737687376973770737717377273773737747377573776737777377873779737807378173782737837378473785737867378773788737897379073791737927379373794737957379673797737987379973800738017380273803738047380573806738077380873809738107381173812738137381473815738167381773818738197382073821738227382373824738257382673827738287382973830738317383273833738347383573836738377383873839738407384173842738437384473845738467384773848738497385073851738527385373854738557385673857738587385973860738617386273863738647386573866738677386873869738707387173872738737387473875738767387773878738797388073881738827388373884738857388673887738887388973890738917389273893738947389573896738977389873899739007390173902739037390473905739067390773908739097391073911739127391373914739157391673917739187391973920739217392273923739247392573926739277392873929739307393173932739337393473935739367393773938739397394073941739427394373944739457394673947739487394973950739517395273953739547395573956739577395873959739607396173962739637396473965739667396773968739697397073971739727397373974739757397673977739787397973980739817398273983739847398573986739877398873989739907399173992739937399473995739967399773998739997400074001740027400374004740057400674007740087400974010740117401274013740147401574016740177401874019740207402174022740237402474025740267402774028740297403074031740327403374034740357403674037740387403974040740417404274043740447404574046740477404874049740507405174052740537405474055740567405774058740597406074061740627406374064740657406674067740687406974070740717407274073740747407574076740777407874079740807408174082740837408474085740867408774088740897409074091740927409374094740957409674097740987409974100741017410274103741047410574106741077410874109741107411174112741137411474115741167411774118741197412074121741227412374124741257412674127741287412974130741317413274133741347413574136741377413874139741407414174142741437414474145741467414774148741497415074151741527415374154741557415674157741587415974160741617416274163741647416574166741677416874169741707417174172741737417474175741767417774178741797418074181741827418374184741857418674187741887418974190741917419274193741947419574196741977419874199742007420174202742037420474205742067420774208742097421074211742127421374214742157421674217742187421974220742217422274223742247422574226742277422874229742307423174232742337423474235742367423774238742397424074241742427424374244742457424674247742487424974250742517425274253742547425574256742577425874259742607426174262742637426474265742667426774268742697427074271742727427374274742757427674277742787427974280742817428274283742847428574286742877428874289742907429174292742937429474295742967429774298742997430074301743027430374304743057430674307743087430974310743117431274313743147431574316743177431874319743207432174322743237432474325743267432774328743297433074331743327433374334743357433674337743387433974340743417434274343743447434574346743477434874349743507435174352743537435474355743567435774358743597436074361743627436374364743657436674367743687436974370743717437274373743747437574376743777437874379743807438174382743837438474385743867438774388743897439074391743927439374394743957439674397743987439974400744017440274403744047440574406744077440874409744107441174412744137441474415744167441774418744197442074421744227442374424744257442674427744287442974430744317443274433744347443574436744377443874439744407444174442744437444474445744467444774448744497445074451744527445374454744557445674457744587445974460744617446274463744647446574466744677446874469744707447174472744737447474475744767447774478744797448074481744827448374484744857448674487744887448974490744917449274493744947449574496744977449874499745007450174502745037450474505745067450774508745097451074511745127451374514745157451674517745187451974520745217452274523745247452574526745277452874529745307453174532745337453474535745367453774538745397454074541745427454374544745457454674547745487454974550745517455274553745547455574556745577455874559745607456174562745637456474565745667456774568745697457074571745727457374574745757457674577745787457974580745817458274583745847458574586745877458874589745907459174592745937459474595745967459774598745997460074601746027460374604746057460674607746087460974610746117461274613746147461574616746177461874619746207462174622746237462474625746267462774628746297463074631746327463374634746357463674637746387463974640746417464274643746447464574646746477464874649746507465174652746537465474655746567465774658746597466074661746627466374664746657466674667746687466974670746717467274673746747467574676746777467874679746807468174682746837468474685746867468774688746897469074691746927469374694746957469674697746987469974700747017470274703747047470574706747077470874709747107471174712747137471474715747167471774718747197472074721747227472374724747257472674727747287472974730747317473274733747347473574736747377473874739747407474174742747437474474745747467474774748747497475074751747527475374754747557475674757747587475974760747617476274763747647476574766747677476874769747707477174772747737477474775747767477774778747797478074781747827478374784747857478674787747887478974790747917479274793747947479574796747977479874799748007480174802748037480474805748067480774808748097481074811748127481374814748157481674817748187481974820748217482274823748247482574826748277482874829748307483174832748337483474835748367483774838748397484074841748427484374844748457484674847748487484974850748517485274853748547485574856748577485874859748607486174862748637486474865748667486774868748697487074871748727487374874748757487674877748787487974880748817488274883748847488574886748877488874889748907489174892748937489474895748967489774898748997490074901749027490374904749057490674907749087490974910749117491274913749147491574916749177491874919749207492174922749237492474925749267492774928749297493074931749327493374934749357493674937749387493974940749417494274943749447494574946749477494874949749507495174952749537495474955749567495774958749597496074961749627496374964749657496674967749687496974970749717497274973749747497574976749777497874979749807498174982749837498474985749867498774988749897499074991749927499374994749957499674997749987499975000750017500275003750047500575006750077500875009750107501175012750137501475015750167501775018750197502075021750227502375024750257502675027750287502975030750317503275033750347503575036750377503875039750407504175042750437504475045750467504775048750497505075051750527505375054750557505675057750587505975060750617506275063750647506575066750677506875069750707507175072750737507475075750767507775078750797508075081750827508375084750857508675087750887508975090750917509275093750947509575096750977509875099751007510175102751037510475105751067510775108751097511075111751127511375114751157511675117751187511975120751217512275123751247512575126751277512875129751307513175132751337513475135751367513775138751397514075141751427514375144751457514675147751487514975150751517515275153751547515575156751577515875159751607516175162751637516475165751667516775168751697517075171751727517375174751757517675177751787517975180751817518275183751847518575186751877518875189751907519175192751937519475195751967519775198751997520075201752027520375204752057520675207752087520975210752117521275213752147521575216752177521875219752207522175222752237522475225752267522775228752297523075231752327523375234752357523675237752387523975240752417524275243752447524575246752477524875249752507525175252752537525475255752567525775258752597526075261752627526375264752657526675267752687526975270752717527275273752747527575276752777527875279752807528175282752837528475285752867528775288752897529075291752927529375294752957529675297752987529975300753017530275303753047530575306753077530875309753107531175312753137531475315753167531775318753197532075321753227532375324753257532675327753287532975330753317533275333753347533575336753377533875339753407534175342753437534475345753467534775348753497535075351753527535375354753557535675357753587535975360753617536275363753647536575366753677536875369753707537175372753737537475375753767537775378753797538075381753827538375384753857538675387753887538975390753917539275393753947539575396753977539875399754007540175402754037540475405754067540775408754097541075411754127541375414754157541675417754187541975420754217542275423754247542575426754277542875429754307543175432754337543475435754367543775438754397544075441754427544375444754457544675447754487544975450754517545275453754547545575456754577545875459754607546175462754637546475465754667546775468754697547075471754727547375474754757547675477754787547975480754817548275483754847548575486754877548875489754907549175492754937549475495754967549775498754997550075501755027550375504755057550675507755087550975510755117551275513755147551575516755177551875519755207552175522755237552475525755267552775528755297553075531755327553375534755357553675537755387553975540755417554275543755447554575546755477554875549755507555175552755537555475555755567555775558755597556075561755627556375564755657556675567755687556975570755717557275573755747557575576755777557875579755807558175582755837558475585755867558775588755897559075591755927559375594755957559675597755987559975600756017560275603756047560575606756077560875609756107561175612756137561475615756167561775618756197562075621756227562375624756257562675627756287562975630756317563275633756347563575636756377563875639756407564175642756437564475645756467564775648756497565075651756527565375654756557565675657756587565975660756617566275663756647566575666756677566875669756707567175672756737567475675756767567775678756797568075681756827568375684756857568675687756887568975690756917569275693756947569575696756977569875699757007570175702757037570475705757067570775708757097571075711757127571375714757157571675717757187571975720757217572275723757247572575726757277572875729757307573175732757337573475735757367573775738757397574075741757427574375744757457574675747757487574975750757517575275753757547575575756757577575875759757607576175762757637576475765757667576775768757697577075771757727577375774757757577675777757787577975780757817578275783757847578575786757877578875789757907579175792757937579475795757967579775798757997580075801758027580375804758057580675807758087580975810758117581275813758147581575816758177581875819758207582175822758237582475825758267582775828758297583075831758327583375834758357583675837758387583975840758417584275843758447584575846758477584875849758507585175852758537585475855758567585775858758597586075861758627586375864758657586675867758687586975870758717587275873758747587575876758777587875879758807588175882758837588475885758867588775888758897589075891758927589375894758957589675897758987589975900759017590275903759047590575906759077590875909759107591175912759137591475915759167591775918759197592075921759227592375924759257592675927759287592975930759317593275933759347593575936759377593875939759407594175942759437594475945759467594775948759497595075951759527595375954759557595675957759587595975960759617596275963759647596575966759677596875969759707597175972759737597475975759767597775978759797598075981759827598375984759857598675987759887598975990759917599275993759947599575996759977599875999760007600176002760037600476005760067600776008760097601076011760127601376014760157601676017760187601976020760217602276023760247602576026760277602876029760307603176032760337603476035760367603776038760397604076041760427604376044760457604676047760487604976050760517605276053760547605576056760577605876059760607606176062760637606476065760667606776068760697607076071760727607376074760757607676077760787607976080760817608276083760847608576086760877608876089760907609176092760937609476095760967609776098760997610076101761027610376104761057610676107761087610976110761117611276113761147611576116761177611876119761207612176122761237612476125761267612776128761297613076131761327613376134761357613676137761387613976140761417614276143761447614576146761477614876149761507615176152761537615476155761567615776158761597616076161761627616376164761657616676167761687616976170761717617276173761747617576176761777617876179761807618176182761837618476185761867618776188761897619076191761927619376194761957619676197761987619976200762017620276203762047620576206762077620876209762107621176212762137621476215762167621776218762197622076221762227622376224762257622676227762287622976230762317623276233762347623576236762377623876239762407624176242762437624476245762467624776248762497625076251762527625376254762557625676257762587625976260762617626276263762647626576266762677626876269762707627176272762737627476275762767627776278762797628076281762827628376284762857628676287762887628976290762917629276293762947629576296762977629876299763007630176302763037630476305763067630776308763097631076311763127631376314763157631676317763187631976320763217632276323763247632576326763277632876329763307633176332763337633476335763367633776338763397634076341763427634376344763457634676347763487634976350763517635276353763547635576356763577635876359763607636176362763637636476365763667636776368763697637076371763727637376374763757637676377763787637976380763817638276383763847638576386763877638876389763907639176392763937639476395763967639776398763997640076401764027640376404764057640676407764087640976410764117641276413764147641576416764177641876419764207642176422764237642476425764267642776428764297643076431764327643376434764357643676437764387643976440764417644276443764447644576446764477644876449764507645176452764537645476455764567645776458764597646076461764627646376464764657646676467764687646976470764717647276473764747647576476764777647876479764807648176482764837648476485764867648776488764897649076491764927649376494764957649676497764987649976500765017650276503765047650576506765077650876509765107651176512765137651476515765167651776518765197652076521765227652376524765257652676527765287652976530765317653276533765347653576536765377653876539765407654176542765437654476545765467654776548765497655076551765527655376554765557655676557765587655976560765617656276563765647656576566765677656876569765707657176572765737657476575765767657776578765797658076581765827658376584765857658676587765887658976590765917659276593765947659576596765977659876599766007660176602766037660476605766067660776608766097661076611766127661376614766157661676617766187661976620766217662276623766247662576626766277662876629766307663176632766337663476635766367663776638766397664076641766427664376644766457664676647766487664976650766517665276653766547665576656766577665876659766607666176662766637666476665766667666776668766697667076671766727667376674766757667676677766787667976680766817668276683766847668576686766877668876689766907669176692766937669476695766967669776698766997670076701767027670376704767057670676707767087670976710767117671276713767147671576716767177671876719767207672176722767237672476725767267672776728767297673076731767327673376734767357673676737767387673976740767417674276743767447674576746767477674876749767507675176752767537675476755767567675776758767597676076761767627676376764767657676676767767687676976770767717677276773767747677576776767777677876779767807678176782767837678476785767867678776788767897679076791767927679376794767957679676797767987679976800768017680276803768047680576806768077680876809768107681176812768137681476815768167681776818768197682076821768227682376824768257682676827768287682976830768317683276833768347683576836768377683876839768407684176842768437684476845768467684776848768497685076851768527685376854768557685676857768587685976860768617686276863768647686576866768677686876869768707687176872768737687476875768767687776878768797688076881768827688376884768857688676887768887688976890768917689276893768947689576896768977689876899769007690176902769037690476905769067690776908769097691076911769127691376914769157691676917769187691976920769217692276923769247692576926769277692876929769307693176932769337693476935769367693776938769397694076941769427694376944769457694676947769487694976950769517695276953769547695576956769577695876959769607696176962769637696476965769667696776968769697697076971769727697376974769757697676977769787697976980769817698276983769847698576986769877698876989769907699176992769937699476995769967699776998769997700077001770027700377004770057700677007770087700977010770117701277013770147701577016770177701877019770207702177022770237702477025770267702777028770297703077031770327703377034770357703677037770387703977040770417704277043770447704577046770477704877049770507705177052770537705477055770567705777058770597706077061770627706377064770657706677067770687706977070770717707277073770747707577076770777707877079770807708177082770837708477085770867708777088770897709077091770927709377094770957709677097770987709977100771017710277103771047710577106771077710877109771107711177112771137711477115771167711777118771197712077121771227712377124771257712677127771287712977130771317713277133771347713577136771377713877139771407714177142771437714477145771467714777148771497715077151771527715377154771557715677157771587715977160771617716277163771647716577166771677716877169771707717177172771737717477175771767717777178771797718077181771827718377184771857718677187771887718977190771917719277193771947719577196771977719877199772007720177202772037720477205772067720777208772097721077211772127721377214772157721677217772187721977220772217722277223772247722577226772277722877229772307723177232772337723477235772367723777238772397724077241772427724377244772457724677247772487724977250772517725277253772547725577256772577725877259772607726177262772637726477265772667726777268772697727077271772727727377274772757727677277772787727977280772817728277283772847728577286772877728877289772907729177292772937729477295772967729777298772997730077301773027730377304773057730677307773087730977310773117731277313773147731577316773177731877319773207732177322773237732477325773267732777328773297733077331773327733377334773357733677337773387733977340773417734277343773447734577346773477734877349773507735177352773537735477355773567735777358773597736077361773627736377364773657736677367773687736977370773717737277373773747737577376773777737877379773807738177382773837738477385773867738777388773897739077391773927739377394773957739677397773987739977400774017740277403774047740577406774077740877409774107741177412774137741477415774167741777418774197742077421774227742377424774257742677427774287742977430774317743277433774347743577436774377743877439774407744177442774437744477445774467744777448774497745077451774527745377454774557745677457774587745977460774617746277463774647746577466774677746877469774707747177472774737747477475774767747777478774797748077481774827748377484774857748677487774887748977490774917749277493774947749577496774977749877499775007750177502775037750477505775067750777508775097751077511775127751377514775157751677517775187751977520775217752277523775247752577526775277752877529775307753177532775337753477535775367753777538775397754077541775427754377544775457754677547775487754977550775517755277553775547755577556775577755877559775607756177562775637756477565775667756777568775697757077571775727757377574775757757677577775787757977580775817758277583775847758577586775877758877589775907759177592775937759477595775967759777598775997760077601776027760377604776057760677607776087760977610776117761277613776147761577616776177761877619776207762177622776237762477625776267762777628776297763077631776327763377634776357763677637776387763977640776417764277643776447764577646776477764877649776507765177652776537765477655776567765777658776597766077661776627766377664776657766677667776687766977670776717767277673776747767577676776777767877679776807768177682776837768477685776867768777688776897769077691776927769377694776957769677697776987769977700777017770277703777047770577706777077770877709777107771177712777137771477715777167771777718777197772077721777227772377724777257772677727777287772977730777317773277733777347773577736777377773877739777407774177742777437774477745777467774777748777497775077751777527775377754777557775677757777587775977760777617776277763777647776577766777677776877769777707777177772777737777477775777767777777778777797778077781777827778377784777857778677787777887778977790777917779277793777947779577796777977779877799778007780177802778037780477805778067780777808778097781077811778127781377814778157781677817778187781977820778217782277823778247782577826778277782877829778307783177832778337783477835778367783777838778397784077841778427784377844778457784677847778487784977850778517785277853778547785577856778577785877859778607786177862778637786477865778667786777868778697787077871778727787377874778757787677877778787787977880778817788277883778847788577886778877788877889778907789177892778937789477895778967789777898778997790077901779027790377904779057790677907779087790977910779117791277913779147791577916779177791877919779207792177922779237792477925779267792777928779297793077931779327793377934779357793677937779387793977940779417794277943779447794577946779477794877949779507795177952779537795477955779567795777958779597796077961779627796377964779657796677967779687796977970779717797277973779747797577976779777797877979779807798177982779837798477985779867798777988779897799077991779927799377994779957799677997779987799978000780017800278003780047800578006780077800878009780107801178012780137801478015780167801778018780197802078021780227802378024780257802678027780287802978030780317803278033780347803578036780377803878039780407804178042780437804478045780467804778048780497805078051780527805378054780557805678057780587805978060780617806278063780647806578066780677806878069780707807178072780737807478075780767807778078780797808078081780827808378084780857808678087780887808978090780917809278093780947809578096780977809878099781007810178102781037810478105781067810778108781097811078111781127811378114781157811678117781187811978120781217812278123781247812578126781277812878129781307813178132781337813478135781367813778138781397814078141781427814378144781457814678147781487814978150781517815278153781547815578156781577815878159781607816178162781637816478165781667816778168781697817078171781727817378174781757817678177781787817978180781817818278183781847818578186781877818878189781907819178192781937819478195781967819778198781997820078201782027820378204782057820678207782087820978210782117821278213782147821578216782177821878219782207822178222782237822478225782267822778228782297823078231782327823378234782357823678237782387823978240782417824278243782447824578246782477824878249782507825178252782537825478255782567825778258782597826078261782627826378264782657826678267782687826978270782717827278273782747827578276782777827878279782807828178282782837828478285782867828778288782897829078291782927829378294782957829678297782987829978300783017830278303783047830578306783077830878309783107831178312783137831478315783167831778318783197832078321783227832378324783257832678327783287832978330783317833278333783347833578336783377833878339783407834178342783437834478345783467834778348783497835078351783527835378354783557835678357783587835978360783617836278363783647836578366783677836878369783707837178372783737837478375783767837778378783797838078381783827838378384783857838678387783887838978390783917839278393783947839578396783977839878399784007840178402784037840478405784067840778408784097841078411784127841378414784157841678417784187841978420784217842278423784247842578426784277842878429784307843178432784337843478435784367843778438784397844078441784427844378444784457844678447784487844978450784517845278453784547845578456784577845878459784607846178462784637846478465784667846778468784697847078471784727847378474784757847678477784787847978480784817848278483784847848578486784877848878489784907849178492784937849478495784967849778498784997850078501785027850378504785057850678507785087850978510785117851278513785147851578516785177851878519785207852178522785237852478525785267852778528785297853078531785327853378534785357853678537785387853978540785417854278543785447854578546785477854878549785507855178552785537855478555785567855778558785597856078561785627856378564785657856678567785687856978570785717857278573785747857578576785777857878579785807858178582785837858478585785867858778588785897859078591785927859378594785957859678597785987859978600786017860278603786047860578606786077860878609786107861178612786137861478615786167861778618786197862078621786227862378624786257862678627786287862978630786317863278633786347863578636786377863878639786407864178642786437864478645786467864778648786497865078651786527865378654786557865678657786587865978660786617866278663786647866578666786677866878669786707867178672786737867478675786767867778678786797868078681786827868378684786857868678687786887868978690786917869278693786947869578696786977869878699787007870178702787037870478705787067870778708787097871078711787127871378714787157871678717787187871978720787217872278723787247872578726787277872878729787307873178732787337873478735787367873778738787397874078741787427874378744787457874678747787487874978750787517875278753787547875578756787577875878759787607876178762787637876478765787667876778768787697877078771787727877378774787757877678777787787877978780787817878278783787847878578786787877878878789787907879178792787937879478795787967879778798787997880078801788027880378804788057880678807788087880978810788117881278813788147881578816788177881878819788207882178822788237882478825788267882778828788297883078831788327883378834788357883678837788387883978840788417884278843788447884578846788477884878849788507885178852788537885478855788567885778858788597886078861788627886378864788657886678867788687886978870788717887278873788747887578876788777887878879788807888178882788837888478885788867888778888788897889078891788927889378894788957889678897788987889978900789017890278903789047890578906789077890878909789107891178912789137891478915789167891778918789197892078921789227892378924789257892678927789287892978930789317893278933789347893578936789377893878939789407894178942789437894478945789467894778948789497895078951789527895378954789557895678957789587895978960789617896278963789647896578966789677896878969789707897178972789737897478975789767897778978789797898078981789827898378984789857898678987789887898978990789917899278993789947899578996789977899878999790007900179002790037900479005790067900779008790097901079011790127901379014790157901679017790187901979020790217902279023790247902579026790277902879029790307903179032790337903479035790367903779038790397904079041790427904379044790457904679047790487904979050790517905279053790547905579056790577905879059790607906179062790637906479065790667906779068790697907079071790727907379074790757907679077790787907979080790817908279083790847908579086790877908879089790907909179092790937909479095790967909779098790997910079101791027910379104791057910679107791087910979110791117911279113791147911579116791177911879119791207912179122791237912479125791267912779128791297913079131791327913379134791357913679137791387913979140791417914279143791447914579146791477914879149791507915179152791537915479155791567915779158791597916079161791627916379164791657916679167791687916979170791717917279173791747917579176791777917879179791807918179182791837918479185791867918779188791897919079191791927919379194791957919679197791987919979200792017920279203792047920579206792077920879209792107921179212792137921479215792167921779218792197922079221792227922379224792257922679227792287922979230792317923279233792347923579236792377923879239792407924179242792437924479245792467924779248792497925079251792527925379254792557925679257792587925979260792617926279263792647926579266792677926879269792707927179272792737927479275792767927779278792797928079281792827928379284792857928679287792887928979290792917929279293792947929579296792977929879299793007930179302793037930479305793067930779308793097931079311793127931379314793157931679317793187931979320793217932279323793247932579326793277932879329793307933179332793337933479335793367933779338793397934079341793427934379344793457934679347793487934979350793517935279353793547935579356793577935879359793607936179362793637936479365793667936779368793697937079371793727937379374793757937679377793787937979380793817938279383793847938579386793877938879389793907939179392793937939479395793967939779398793997940079401794027940379404794057940679407794087940979410794117941279413794147941579416794177941879419794207942179422794237942479425794267942779428794297943079431794327943379434794357943679437794387943979440794417944279443794447944579446794477944879449794507945179452794537945479455794567945779458794597946079461794627946379464794657946679467794687946979470794717947279473794747947579476794777947879479794807948179482794837948479485794867948779488794897949079491794927949379494794957949679497794987949979500795017950279503795047950579506795077950879509795107951179512795137951479515795167951779518795197952079521795227952379524795257952679527795287952979530795317953279533795347953579536795377953879539795407954179542795437954479545795467954779548795497955079551795527955379554795557955679557795587955979560795617956279563795647956579566795677956879569795707957179572795737957479575795767957779578795797958079581795827958379584795857958679587795887958979590795917959279593795947959579596795977959879599796007960179602796037960479605796067960779608796097961079611796127961379614796157961679617796187961979620796217962279623796247962579626796277962879629796307963179632796337963479635796367963779638796397964079641796427964379644796457964679647796487964979650796517965279653796547965579656796577965879659796607966179662796637966479665796667966779668796697967079671796727967379674796757967679677796787967979680796817968279683796847968579686796877968879689796907969179692796937969479695796967969779698796997970079701797027970379704797057970679707797087970979710797117971279713797147971579716797177971879719797207972179722797237972479725797267972779728797297973079731797327973379734797357973679737797387973979740797417974279743797447974579746797477974879749797507975179752797537975479755797567975779758797597976079761797627976379764797657976679767797687976979770797717977279773797747977579776797777977879779797807978179782797837978479785797867978779788797897979079791797927979379794797957979679797797987979979800798017980279803798047980579806798077980879809798107981179812798137981479815798167981779818798197982079821798227982379824798257982679827798287982979830798317983279833798347983579836798377983879839798407984179842798437984479845798467984779848798497985079851798527985379854798557985679857798587985979860798617986279863798647986579866798677986879869798707987179872798737987479875798767987779878798797988079881798827988379884798857988679887798887988979890798917989279893798947989579896798977989879899799007990179902799037990479905799067990779908799097991079911799127991379914799157991679917799187991979920799217992279923799247992579926799277992879929799307993179932799337993479935799367993779938799397994079941799427994379944799457994679947799487994979950799517995279953799547995579956799577995879959799607996179962799637996479965799667996779968799697997079971799727997379974799757997679977799787997979980799817998279983799847998579986799877998879989799907999179992799937999479995799967999779998799998000080001800028000380004800058000680007800088000980010800118001280013800148001580016800178001880019800208002180022800238002480025800268002780028800298003080031800328003380034800358003680037800388003980040800418004280043800448004580046800478004880049800508005180052800538005480055800568005780058800598006080061800628006380064800658006680067800688006980070800718007280073800748007580076800778007880079800808008180082800838008480085800868008780088800898009080091800928009380094800958009680097800988009980100801018010280103801048010580106801078010880109801108011180112801138011480115801168011780118801198012080121801228012380124801258012680127801288012980130801318013280133801348013580136801378013880139801408014180142801438014480145801468014780148801498015080151801528015380154801558015680157801588015980160801618016280163801648016580166801678016880169801708017180172801738017480175801768017780178801798018080181801828018380184801858018680187801888018980190801918019280193801948019580196801978019880199802008020180202802038020480205802068020780208802098021080211802128021380214802158021680217802188021980220802218022280223802248022580226802278022880229802308023180232802338023480235802368023780238802398024080241802428024380244802458024680247802488024980250802518025280253802548025580256802578025880259802608026180262802638026480265802668026780268802698027080271802728027380274802758027680277802788027980280802818028280283802848028580286802878028880289802908029180292802938029480295802968029780298802998030080301803028030380304803058030680307803088030980310803118031280313803148031580316803178031880319803208032180322803238032480325803268032780328803298033080331803328033380334803358033680337803388033980340803418034280343803448034580346803478034880349803508035180352803538035480355803568035780358803598036080361803628036380364803658036680367803688036980370803718037280373803748037580376803778037880379803808038180382803838038480385803868038780388803898039080391803928039380394803958039680397803988039980400804018040280403804048040580406804078040880409804108041180412804138041480415804168041780418804198042080421804228042380424804258042680427804288042980430804318043280433804348043580436804378043880439804408044180442804438044480445804468044780448804498045080451804528045380454804558045680457804588045980460804618046280463804648046580466804678046880469804708047180472804738047480475804768047780478804798048080481804828048380484804858048680487804888048980490804918049280493804948049580496804978049880499805008050180502805038050480505805068050780508805098051080511805128051380514805158051680517805188051980520805218052280523805248052580526805278052880529805308053180532805338053480535805368053780538805398054080541805428054380544805458054680547805488054980550805518055280553805548055580556805578055880559805608056180562805638056480565805668056780568805698057080571805728057380574805758057680577805788057980580805818058280583805848058580586805878058880589805908059180592805938059480595805968059780598805998060080601806028060380604806058060680607806088060980610806118061280613806148061580616806178061880619806208062180622806238062480625806268062780628806298063080631806328063380634806358063680637806388063980640806418064280643806448064580646806478064880649806508065180652806538065480655806568065780658806598066080661806628066380664806658066680667806688066980670806718067280673806748067580676806778067880679806808068180682806838068480685806868068780688806898069080691806928069380694806958069680697806988069980700807018070280703807048070580706807078070880709807108071180712807138071480715807168071780718807198072080721807228072380724807258072680727807288072980730807318073280733807348073580736807378073880739807408074180742807438074480745807468074780748807498075080751807528075380754807558075680757807588075980760807618076280763807648076580766807678076880769807708077180772807738077480775807768077780778807798078080781807828078380784807858078680787807888078980790807918079280793807948079580796807978079880799808008080180802808038080480805808068080780808808098081080811808128081380814808158081680817808188081980820808218082280823808248082580826808278082880829808308083180832808338083480835808368083780838808398084080841808428084380844808458084680847808488084980850808518085280853808548085580856808578085880859808608086180862808638086480865808668086780868808698087080871808728087380874808758087680877808788087980880808818088280883808848088580886808878088880889808908089180892808938089480895808968089780898808998090080901809028090380904809058090680907809088090980910809118091280913809148091580916809178091880919809208092180922809238092480925809268092780928809298093080931809328093380934809358093680937809388093980940809418094280943809448094580946809478094880949809508095180952809538095480955809568095780958809598096080961809628096380964809658096680967809688096980970809718097280973809748097580976809778097880979809808098180982809838098480985809868098780988809898099080991809928099380994809958099680997809988099981000810018100281003810048100581006810078100881009810108101181012810138101481015810168101781018810198102081021810228102381024810258102681027810288102981030810318103281033810348103581036810378103881039810408104181042810438104481045810468104781048810498105081051810528105381054810558105681057810588105981060810618106281063810648106581066810678106881069810708107181072810738107481075810768107781078810798108081081810828108381084810858108681087810888108981090810918109281093810948109581096810978109881099811008110181102811038110481105811068110781108811098111081111811128111381114811158111681117811188111981120811218112281123811248112581126811278112881129811308113181132811338113481135811368113781138811398114081141811428114381144811458114681147811488114981150811518115281153811548115581156811578115881159811608116181162811638116481165811668116781168811698117081171811728117381174811758117681177811788117981180811818118281183811848118581186811878118881189811908119181192811938119481195811968119781198811998120081201812028120381204812058120681207812088120981210812118121281213812148121581216812178121881219812208122181222812238122481225812268122781228812298123081231812328123381234812358123681237812388123981240812418124281243812448124581246812478124881249812508125181252812538125481255812568125781258812598126081261812628126381264812658126681267812688126981270812718127281273812748127581276812778127881279812808128181282812838128481285812868128781288812898129081291812928129381294812958129681297812988129981300813018130281303813048130581306813078130881309813108131181312813138131481315813168131781318813198132081321813228132381324813258132681327813288132981330813318133281333813348133581336813378133881339813408134181342813438134481345813468134781348813498135081351813528135381354813558135681357813588135981360813618136281363813648136581366813678136881369813708137181372813738137481375813768137781378813798138081381813828138381384813858138681387813888138981390813918139281393813948139581396813978139881399814008140181402814038140481405814068140781408814098141081411814128141381414814158141681417814188141981420814218142281423814248142581426814278142881429814308143181432814338143481435814368143781438814398144081441814428144381444814458144681447814488144981450814518145281453814548145581456814578145881459814608146181462814638146481465814668146781468814698147081471814728147381474814758147681477814788147981480814818148281483814848148581486814878148881489814908149181492814938149481495814968149781498814998150081501815028150381504815058150681507815088150981510815118151281513815148151581516815178151881519815208152181522815238152481525815268152781528815298153081531815328153381534815358153681537815388153981540815418154281543815448154581546815478154881549815508155181552815538155481555815568155781558815598156081561815628156381564815658156681567815688156981570815718157281573815748157581576815778157881579815808158181582815838158481585815868158781588815898159081591815928159381594815958159681597815988159981600816018160281603816048160581606816078160881609816108161181612816138161481615816168161781618816198162081621816228162381624816258162681627816288162981630816318163281633816348163581636816378163881639816408164181642816438164481645816468164781648816498165081651816528165381654816558165681657816588165981660816618166281663816648166581666816678166881669816708167181672816738167481675816768167781678816798168081681816828168381684816858168681687816888168981690816918169281693816948169581696816978169881699817008170181702817038170481705817068170781708817098171081711817128171381714817158171681717817188171981720817218172281723817248172581726817278172881729817308173181732817338173481735817368173781738817398174081741817428174381744817458174681747817488174981750817518175281753817548175581756817578175881759817608176181762817638176481765817668176781768817698177081771817728177381774817758177681777817788177981780817818178281783817848178581786817878178881789817908179181792817938179481795817968179781798817998180081801818028180381804818058180681807818088180981810818118181281813818148181581816818178181881819818208182181822818238182481825818268182781828818298183081831818328183381834818358183681837818388183981840818418184281843818448184581846818478184881849818508185181852818538185481855818568185781858818598186081861818628186381864818658186681867818688186981870818718187281873818748187581876818778187881879818808188181882818838188481885818868188781888818898189081891818928189381894818958189681897818988189981900819018190281903819048190581906819078190881909819108191181912819138191481915819168191781918819198192081921819228192381924819258192681927819288192981930819318193281933819348193581936819378193881939819408194181942819438194481945819468194781948819498195081951819528195381954819558195681957819588195981960819618196281963819648196581966819678196881969819708197181972819738197481975819768197781978819798198081981819828198381984819858198681987819888198981990819918199281993819948199581996819978199881999820008200182002820038200482005820068200782008820098201082011820128201382014820158201682017820188201982020820218202282023820248202582026820278202882029820308203182032820338203482035820368203782038820398204082041820428204382044820458204682047820488204982050820518205282053820548205582056820578205882059820608206182062820638206482065820668206782068820698207082071820728207382074820758207682077820788207982080820818208282083820848208582086820878208882089820908209182092820938209482095820968209782098820998210082101821028210382104821058210682107821088210982110821118211282113821148211582116821178211882119821208212182122821238212482125821268212782128821298213082131821328213382134821358213682137821388213982140821418214282143821448214582146821478214882149821508215182152821538215482155821568215782158821598216082161821628216382164821658216682167821688216982170821718217282173821748217582176821778217882179821808218182182821838218482185821868218782188821898219082191821928219382194821958219682197821988219982200822018220282203822048220582206822078220882209822108221182212822138221482215822168221782218822198222082221822228222382224822258222682227822288222982230822318223282233822348223582236822378223882239822408224182242822438224482245822468224782248822498225082251822528225382254822558225682257822588225982260822618226282263822648226582266822678226882269822708227182272822738227482275822768227782278822798228082281822828228382284822858228682287822888228982290822918229282293822948229582296822978229882299823008230182302823038230482305823068230782308823098231082311823128231382314823158231682317823188231982320823218232282323823248232582326823278232882329823308233182332823338233482335823368233782338823398234082341823428234382344823458234682347823488234982350823518235282353823548235582356823578235882359823608236182362823638236482365823668236782368823698237082371823728237382374823758237682377823788237982380823818238282383823848238582386823878238882389823908239182392823938239482395823968239782398823998240082401824028240382404824058240682407824088240982410824118241282413824148241582416824178241882419824208242182422824238242482425824268242782428824298243082431824328243382434824358243682437824388243982440824418244282443824448244582446824478244882449824508245182452824538245482455824568245782458824598246082461824628246382464824658246682467824688246982470824718247282473824748247582476824778247882479824808248182482824838248482485824868248782488824898249082491824928249382494824958249682497824988249982500825018250282503825048250582506825078250882509825108251182512825138251482515825168251782518825198252082521825228252382524825258252682527825288252982530825318253282533825348253582536825378253882539825408254182542825438254482545825468254782548825498255082551825528255382554825558255682557825588255982560825618256282563825648256582566825678256882569825708257182572825738257482575825768257782578825798258082581825828258382584825858258682587825888258982590825918259282593825948259582596825978259882599826008260182602826038260482605826068260782608826098261082611826128261382614826158261682617826188261982620826218262282623826248262582626826278262882629826308263182632826338263482635826368263782638826398264082641826428264382644826458264682647826488264982650826518265282653826548265582656826578265882659826608266182662826638266482665826668266782668826698267082671826728267382674826758267682677826788267982680826818268282683826848268582686826878268882689826908269182692826938269482695826968269782698826998270082701827028270382704827058270682707827088270982710827118271282713827148271582716827178271882719827208272182722827238272482725827268272782728827298273082731827328273382734827358273682737827388273982740827418274282743827448274582746827478274882749827508275182752827538275482755827568275782758827598276082761827628276382764827658276682767827688276982770827718277282773827748277582776827778277882779827808278182782827838278482785827868278782788827898279082791827928279382794827958279682797827988279982800828018280282803828048280582806828078280882809828108281182812828138281482815828168281782818828198282082821828228282382824828258282682827828288282982830828318283282833828348283582836828378283882839828408284182842828438284482845828468284782848828498285082851828528285382854828558285682857828588285982860828618286282863828648286582866828678286882869828708287182872828738287482875828768287782878828798288082881828828288382884828858288682887828888288982890828918289282893828948289582896828978289882899829008290182902829038290482905829068290782908829098291082911829128291382914829158291682917829188291982920829218292282923829248292582926829278292882929829308293182932829338293482935829368293782938829398294082941829428294382944829458294682947829488294982950829518295282953829548295582956829578295882959829608296182962829638296482965829668296782968829698297082971829728297382974829758297682977829788297982980829818298282983829848298582986829878298882989829908299182992829938299482995829968299782998829998300083001830028300383004830058300683007830088300983010830118301283013830148301583016830178301883019830208302183022830238302483025830268302783028830298303083031830328303383034830358303683037830388303983040830418304283043830448304583046830478304883049830508305183052830538305483055830568305783058830598306083061830628306383064830658306683067830688306983070830718307283073830748307583076830778307883079830808308183082830838308483085830868308783088830898309083091830928309383094830958309683097830988309983100831018310283103831048310583106831078310883109831108311183112831138311483115831168311783118831198312083121831228312383124831258312683127831288312983130831318313283133831348313583136831378313883139831408314183142831438314483145831468314783148831498315083151831528315383154831558315683157831588315983160831618316283163831648316583166831678316883169831708317183172831738317483175831768317783178831798318083181831828318383184831858318683187831888318983190831918319283193831948319583196831978319883199832008320183202832038320483205832068320783208832098321083211832128321383214832158321683217832188321983220832218322283223832248322583226832278322883229832308323183232832338323483235832368323783238832398324083241832428324383244832458324683247832488324983250832518325283253832548325583256832578325883259832608326183262832638326483265832668326783268832698327083271832728327383274832758327683277832788327983280832818328283283832848328583286832878328883289832908329183292832938329483295832968329783298832998330083301833028330383304833058330683307833088330983310833118331283313833148331583316833178331883319833208332183322833238332483325833268332783328833298333083331833328333383334833358333683337833388333983340833418334283343833448334583346833478334883349833508335183352833538335483355833568335783358833598336083361833628336383364833658336683367833688336983370833718337283373833748337583376833778337883379833808338183382833838338483385833868338783388833898339083391833928339383394833958339683397833988339983400834018340283403834048340583406834078340883409834108341183412834138341483415834168341783418834198342083421834228342383424834258342683427834288342983430834318343283433834348343583436834378343883439834408344183442834438344483445834468344783448834498345083451834528345383454834558345683457834588345983460834618346283463834648346583466834678346883469834708347183472834738347483475834768347783478834798348083481834828348383484834858348683487834888348983490834918349283493834948349583496834978349883499835008350183502835038350483505835068350783508835098351083511835128351383514835158351683517835188351983520835218352283523835248352583526835278352883529835308353183532835338353483535835368353783538835398354083541835428354383544835458354683547835488354983550835518355283553835548355583556835578355883559835608356183562835638356483565835668356783568835698357083571835728357383574835758357683577835788357983580835818358283583835848358583586835878358883589835908359183592835938359483595835968359783598835998360083601836028360383604836058360683607836088360983610836118361283613836148361583616836178361883619836208362183622836238362483625836268362783628836298363083631836328363383634836358363683637836388363983640836418364283643836448364583646836478364883649836508365183652836538365483655836568365783658836598366083661836628366383664836658366683667836688366983670836718367283673836748367583676836778367883679836808368183682836838368483685836868368783688836898369083691836928369383694836958369683697836988369983700837018370283703837048370583706837078370883709837108371183712837138371483715837168371783718837198372083721837228372383724837258372683727837288372983730837318373283733837348373583736837378373883739837408374183742837438374483745837468374783748837498375083751837528375383754837558375683757837588375983760837618376283763837648376583766837678376883769837708377183772837738377483775837768377783778837798378083781837828378383784837858378683787837888378983790837918379283793837948379583796837978379883799838008380183802838038380483805838068380783808838098381083811838128381383814838158381683817838188381983820838218382283823838248382583826838278382883829838308383183832838338383483835838368383783838838398384083841838428384383844838458384683847838488384983850838518385283853838548385583856838578385883859838608386183862838638386483865838668386783868838698387083871838728387383874838758387683877838788387983880838818388283883838848388583886838878388883889838908389183892838938389483895838968389783898838998390083901839028390383904839058390683907839088390983910839118391283913839148391583916839178391883919839208392183922839238392483925839268392783928839298393083931839328393383934839358393683937839388393983940839418394283943839448394583946839478394883949839508395183952839538395483955839568395783958839598396083961839628396383964839658396683967839688396983970839718397283973839748397583976839778397883979839808398183982839838398483985839868398783988839898399083991839928399383994839958399683997839988399984000840018400284003840048400584006840078400884009840108401184012840138401484015840168401784018840198402084021840228402384024840258402684027840288402984030840318403284033840348403584036840378403884039840408404184042840438404484045840468404784048840498405084051840528405384054840558405684057840588405984060840618406284063840648406584066840678406884069840708407184072840738407484075840768407784078840798408084081840828408384084840858408684087840888408984090840918409284093840948409584096840978409884099841008410184102841038410484105841068410784108841098411084111841128411384114841158411684117841188411984120841218412284123841248412584126841278412884129841308413184132841338413484135841368413784138841398414084141841428414384144841458414684147841488414984150841518415284153841548415584156841578415884159841608416184162841638416484165841668416784168841698417084171841728417384174841758417684177841788417984180841818418284183841848418584186841878418884189841908419184192841938419484195841968419784198841998420084201842028420384204842058420684207842088420984210842118421284213842148421584216842178421884219842208422184222842238422484225842268422784228842298423084231842328423384234842358423684237842388423984240842418424284243842448424584246842478424884249842508425184252842538425484255842568425784258842598426084261842628426384264842658426684267842688426984270842718427284273842748427584276842778427884279842808428184282842838428484285842868428784288842898429084291842928429384294842958429684297842988429984300843018430284303843048430584306843078430884309843108431184312843138431484315843168431784318843198432084321843228432384324843258432684327843288432984330843318433284333843348433584336843378433884339843408434184342843438434484345843468434784348843498435084351843528435384354843558435684357843588435984360843618436284363843648436584366843678436884369843708437184372843738437484375843768437784378843798438084381843828438384384843858438684387843888438984390843918439284393843948439584396843978439884399844008440184402844038440484405844068440784408844098441084411844128441384414844158441684417844188441984420844218442284423844248442584426844278442884429844308443184432844338443484435844368443784438844398444084441844428444384444844458444684447844488444984450844518445284453844548445584456844578445884459844608446184462844638446484465844668446784468844698447084471844728447384474844758447684477844788447984480844818448284483844848448584486844878448884489844908449184492844938449484495844968449784498844998450084501845028450384504845058450684507845088450984510845118451284513845148451584516845178451884519845208452184522845238452484525845268452784528845298453084531845328453384534845358453684537845388453984540845418454284543845448454584546845478454884549845508455184552845538455484555845568455784558845598456084561845628456384564845658456684567845688456984570845718457284573845748457584576845778457884579845808458184582845838458484585845868458784588845898459084591845928459384594845958459684597845988459984600846018460284603846048460584606846078460884609846108461184612846138461484615846168461784618846198462084621846228462384624846258462684627846288462984630846318463284633846348463584636846378463884639846408464184642846438464484645846468464784648846498465084651846528465384654846558465684657846588465984660846618466284663846648466584666846678466884669846708467184672846738467484675846768467784678846798468084681846828468384684846858468684687846888468984690846918469284693846948469584696846978469884699847008470184702847038470484705847068470784708847098471084711847128471384714847158471684717847188471984720847218472284723847248472584726847278472884729847308473184732847338473484735847368473784738847398474084741847428474384744847458474684747847488474984750847518475284753847548475584756847578475884759847608476184762847638476484765847668476784768847698477084771847728477384774847758477684777847788477984780847818478284783847848478584786847878478884789847908479184792847938479484795847968479784798847998480084801848028480384804848058480684807848088480984810848118481284813848148481584816848178481884819848208482184822848238482484825848268482784828848298483084831848328483384834848358483684837848388483984840848418484284843848448484584846848478484884849848508485184852848538485484855848568485784858848598486084861848628486384864848658486684867848688486984870848718487284873848748487584876848778487884879848808488184882848838488484885848868488784888848898489084891848928489384894848958489684897848988489984900849018490284903849048490584906849078490884909849108491184912849138491484915849168491784918849198492084921849228492384924849258492684927849288492984930849318493284933849348493584936849378493884939849408494184942849438494484945849468494784948849498495084951849528495384954849558495684957849588495984960849618496284963849648496584966849678496884969849708497184972849738497484975849768497784978849798498084981849828498384984849858498684987849888498984990849918499284993849948499584996849978499884999850008500185002850038500485005850068500785008850098501085011850128501385014850158501685017850188501985020850218502285023850248502585026850278502885029850308503185032850338503485035850368503785038850398504085041850428504385044850458504685047850488504985050850518505285053850548505585056850578505885059850608506185062850638506485065850668506785068850698507085071850728507385074850758507685077850788507985080850818508285083850848508585086850878508885089850908509185092850938509485095850968509785098850998510085101851028510385104851058510685107851088510985110851118511285113851148511585116851178511885119851208512185122851238512485125851268512785128851298513085131851328513385134851358513685137851388513985140851418514285143851448514585146851478514885149851508515185152851538515485155851568515785158851598516085161851628516385164851658516685167851688516985170851718517285173851748517585176851778517885179851808518185182851838518485185851868518785188851898519085191851928519385194851958519685197851988519985200852018520285203852048520585206852078520885209852108521185212852138521485215852168521785218852198522085221852228522385224852258522685227852288522985230852318523285233852348523585236852378523885239852408524185242852438524485245852468524785248852498525085251852528525385254852558525685257852588525985260852618526285263852648526585266852678526885269852708527185272852738527485275852768527785278852798528085281852828528385284852858528685287852888528985290852918529285293852948529585296852978529885299853008530185302853038530485305853068530785308853098531085311853128531385314853158531685317853188531985320853218532285323853248532585326853278532885329853308533185332853338533485335853368533785338853398534085341853428534385344853458534685347853488534985350853518535285353853548535585356853578535885359853608536185362853638536485365853668536785368853698537085371853728537385374853758537685377853788537985380853818538285383853848538585386853878538885389853908539185392853938539485395853968539785398853998540085401854028540385404854058540685407854088540985410854118541285413854148541585416854178541885419854208542185422854238542485425854268542785428854298543085431854328543385434854358543685437854388543985440854418544285443854448544585446854478544885449854508545185452854538545485455854568545785458854598546085461854628546385464854658546685467854688546985470854718547285473854748547585476854778547885479854808548185482854838548485485854868548785488854898549085491854928549385494854958549685497854988549985500855018550285503855048550585506855078550885509855108551185512855138551485515855168551785518855198552085521855228552385524855258552685527855288552985530855318553285533855348553585536855378553885539855408554185542855438554485545855468554785548855498555085551855528555385554855558555685557855588555985560855618556285563855648556585566855678556885569855708557185572855738557485575855768557785578855798558085581855828558385584855858558685587855888558985590855918559285593855948559585596855978559885599856008560185602856038560485605856068560785608856098561085611856128561385614856158561685617856188561985620856218562285623856248562585626856278562885629856308563185632856338563485635856368563785638856398564085641856428564385644856458564685647856488564985650856518565285653856548565585656856578565885659856608566185662856638566485665856668566785668856698567085671856728567385674856758567685677856788567985680856818568285683856848568585686856878568885689856908569185692856938569485695856968569785698856998570085701857028570385704857058570685707857088570985710857118571285713857148571585716857178571885719857208572185722857238572485725857268572785728857298573085731857328573385734857358573685737857388573985740857418574285743857448574585746857478574885749857508575185752857538575485755857568575785758857598576085761857628576385764857658576685767857688576985770857718577285773857748577585776857778577885779857808578185782857838578485785857868578785788857898579085791857928579385794857958579685797857988579985800858018580285803858048580585806858078580885809858108581185812858138581485815858168581785818858198582085821858228582385824858258582685827858288582985830858318583285833858348583585836858378583885839858408584185842858438584485845858468584785848858498585085851858528585385854858558585685857858588585985860858618586285863858648586585866858678586885869858708587185872858738587485875858768587785878858798588085881858828588385884858858588685887858888588985890858918589285893858948589585896858978589885899859008590185902859038590485905859068590785908859098591085911859128591385914859158591685917859188591985920859218592285923859248592585926859278592885929859308593185932859338593485935859368593785938859398594085941859428594385944859458594685947859488594985950859518595285953859548595585956859578595885959859608596185962859638596485965859668596785968859698597085971859728597385974859758597685977859788597985980859818598285983859848598585986859878598885989859908599185992859938599485995859968599785998859998600086001860028600386004860058600686007860088600986010860118601286013860148601586016860178601886019860208602186022860238602486025860268602786028860298603086031860328603386034860358603686037860388603986040860418604286043860448604586046860478604886049860508605186052860538605486055860568605786058860598606086061860628606386064860658606686067860688606986070860718607286073860748607586076860778607886079860808608186082860838608486085860868608786088860898609086091860928609386094860958609686097860988609986100861018610286103861048610586106861078610886109861108611186112861138611486115861168611786118861198612086121861228612386124861258612686127861288612986130861318613286133861348613586136861378613886139861408614186142861438614486145861468614786148861498615086151861528615386154861558615686157861588615986160861618616286163861648616586166861678616886169861708617186172861738617486175861768617786178861798618086181861828618386184861858618686187861888618986190861918619286193861948619586196861978619886199862008620186202862038620486205862068620786208862098621086211862128621386214862158621686217862188621986220862218622286223862248622586226862278622886229862308623186232862338623486235862368623786238862398624086241862428624386244862458624686247862488624986250862518625286253862548625586256862578625886259862608626186262862638626486265862668626786268862698627086271862728627386274862758627686277862788627986280862818628286283862848628586286862878628886289862908629186292862938629486295862968629786298862998630086301863028630386304863058630686307863088630986310863118631286313863148631586316863178631886319863208632186322863238632486325863268632786328863298633086331863328633386334863358633686337863388633986340863418634286343863448634586346863478634886349863508635186352863538635486355863568635786358863598636086361863628636386364863658636686367863688636986370863718637286373863748637586376863778637886379863808638186382863838638486385863868638786388863898639086391863928639386394863958639686397863988639986400864018640286403864048640586406864078640886409864108641186412864138641486415864168641786418864198642086421864228642386424864258642686427864288642986430864318643286433864348643586436864378643886439864408644186442864438644486445864468644786448864498645086451864528645386454864558645686457864588645986460864618646286463864648646586466864678646886469864708647186472864738647486475864768647786478864798648086481864828648386484864858648686487864888648986490864918649286493864948649586496864978649886499865008650186502865038650486505865068650786508865098651086511865128651386514865158651686517865188651986520865218652286523865248652586526865278652886529865308653186532865338653486535865368653786538865398654086541865428654386544865458654686547865488654986550865518655286553865548655586556865578655886559865608656186562865638656486565865668656786568865698657086571865728657386574865758657686577865788657986580865818658286583865848658586586865878658886589865908659186592865938659486595865968659786598865998660086601866028660386604866058660686607866088660986610866118661286613866148661586616866178661886619866208662186622866238662486625866268662786628866298663086631866328663386634866358663686637866388663986640866418664286643866448664586646866478664886649866508665186652866538665486655866568665786658866598666086661866628666386664866658666686667866688666986670866718667286673866748667586676866778667886679866808668186682866838668486685866868668786688866898669086691866928669386694866958669686697866988669986700867018670286703867048670586706867078670886709867108671186712867138671486715867168671786718867198672086721867228672386724867258672686727867288672986730867318673286733867348673586736867378673886739867408674186742867438674486745867468674786748867498675086751867528675386754867558675686757867588675986760867618676286763867648676586766867678676886769867708677186772867738677486775867768677786778867798678086781867828678386784867858678686787867888678986790867918679286793867948679586796867978679886799868008680186802868038680486805868068680786808868098681086811868128681386814868158681686817868188681986820868218682286823868248682586826868278682886829868308683186832868338683486835868368683786838868398684086841868428684386844868458684686847868488684986850868518685286853868548685586856868578685886859868608686186862868638686486865868668686786868868698687086871868728687386874868758687686877868788687986880868818688286883868848688586886868878688886889868908689186892868938689486895868968689786898868998690086901869028690386904869058690686907869088690986910869118691286913869148691586916869178691886919869208692186922869238692486925869268692786928869298693086931869328693386934869358693686937869388693986940869418694286943869448694586946869478694886949869508695186952869538695486955869568695786958869598696086961869628696386964869658696686967869688696986970869718697286973869748697586976869778697886979869808698186982869838698486985869868698786988869898699086991869928699386994869958699686997869988699987000870018700287003870048700587006870078700887009870108701187012870138701487015870168701787018870198702087021870228702387024870258702687027870288702987030870318703287033870348703587036870378703887039870408704187042870438704487045870468704787048870498705087051870528705387054870558705687057870588705987060870618706287063870648706587066870678706887069870708707187072870738707487075870768707787078870798708087081870828708387084870858708687087870888708987090870918709287093870948709587096870978709887099871008710187102871038710487105871068710787108871098711087111871128711387114871158711687117871188711987120871218712287123871248712587126871278712887129871308713187132871338713487135871368713787138871398714087141871428714387144871458714687147871488714987150871518715287153871548715587156871578715887159871608716187162871638716487165871668716787168871698717087171871728717387174871758717687177871788717987180871818718287183871848718587186871878718887189871908719187192871938719487195871968719787198871998720087201872028720387204872058720687207872088720987210872118721287213872148721587216872178721887219872208722187222872238722487225872268722787228872298723087231872328723387234872358723687237872388723987240872418724287243872448724587246872478724887249872508725187252872538725487255872568725787258872598726087261872628726387264872658726687267872688726987270872718727287273872748727587276872778727887279872808728187282872838728487285872868728787288872898729087291872928729387294872958729687297872988729987300873018730287303873048730587306873078730887309873108731187312873138731487315873168731787318873198732087321873228732387324873258732687327873288732987330873318733287333873348733587336873378733887339873408734187342873438734487345873468734787348873498735087351873528735387354873558735687357873588735987360873618736287363873648736587366873678736887369873708737187372873738737487375873768737787378873798738087381873828738387384873858738687387873888738987390873918739287393873948739587396873978739887399874008740187402874038740487405874068740787408874098741087411874128741387414874158741687417874188741987420874218742287423874248742587426874278742887429874308743187432874338743487435874368743787438874398744087441874428744387444874458744687447874488744987450874518745287453874548745587456874578745887459874608746187462874638746487465874668746787468874698747087471874728747387474874758747687477874788747987480874818748287483874848748587486874878748887489874908749187492874938749487495874968749787498874998750087501875028750387504875058750687507875088750987510875118751287513875148751587516875178751887519875208752187522875238752487525875268752787528875298753087531875328753387534875358753687537875388753987540875418754287543875448754587546875478754887549875508755187552875538755487555875568755787558875598756087561875628756387564875658756687567875688756987570875718757287573875748757587576875778757887579875808758187582875838758487585875868758787588875898759087591875928759387594875958759687597875988759987600876018760287603876048760587606876078760887609876108761187612876138761487615876168761787618876198762087621876228762387624876258762687627876288762987630876318763287633876348763587636876378763887639876408764187642876438764487645876468764787648876498765087651876528765387654876558765687657876588765987660876618766287663876648766587666876678766887669876708767187672876738767487675876768767787678876798768087681876828768387684876858768687687876888768987690876918769287693876948769587696876978769887699877008770187702877038770487705877068770787708877098771087711877128771387714877158771687717877188771987720877218772287723877248772587726877278772887729877308773187732877338773487735877368773787738877398774087741877428774387744877458774687747877488774987750877518775287753877548775587756877578775887759877608776187762877638776487765877668776787768877698777087771877728777387774877758777687777877788777987780877818778287783877848778587786877878778887789877908779187792877938779487795877968779787798877998780087801878028780387804878058780687807878088780987810878118781287813878148781587816878178781887819878208782187822878238782487825878268782787828878298783087831878328783387834878358783687837878388783987840878418784287843878448784587846878478784887849878508785187852878538785487855878568785787858878598786087861878628786387864878658786687867878688786987870878718787287873878748787587876878778787887879878808788187882878838788487885878868788787888878898789087891878928789387894878958789687897878988789987900879018790287903879048790587906879078790887909879108791187912879138791487915879168791787918879198792087921879228792387924879258792687927879288792987930879318793287933879348793587936879378793887939879408794187942879438794487945879468794787948879498795087951879528795387954879558795687957879588795987960879618796287963879648796587966879678796887969879708797187972879738797487975879768797787978879798798087981879828798387984879858798687987879888798987990879918799287993879948799587996879978799887999880008800188002880038800488005880068800788008880098801088011880128801388014880158801688017880188801988020880218802288023880248802588026880278802888029880308803188032880338803488035880368803788038880398804088041880428804388044880458804688047880488804988050880518805288053880548805588056880578805888059880608806188062880638806488065880668806788068880698807088071880728807388074880758807688077880788807988080880818808288083880848808588086880878808888089880908809188092880938809488095880968809788098880998810088101881028810388104881058810688107881088810988110881118811288113881148811588116881178811888119881208812188122881238812488125881268812788128881298813088131881328813388134881358813688137881388813988140881418814288143881448814588146881478814888149881508815188152881538815488155881568815788158881598816088161881628816388164881658816688167881688816988170881718817288173881748817588176881778817888179881808818188182881838818488185881868818788188881898819088191881928819388194881958819688197881988819988200882018820288203882048820588206882078820888209882108821188212882138821488215882168821788218882198822088221882228822388224882258822688227882288822988230882318823288233882348823588236882378823888239882408824188242882438824488245882468824788248882498825088251882528825388254882558825688257882588825988260882618826288263882648826588266882678826888269882708827188272882738827488275882768827788278882798828088281882828828388284882858828688287882888828988290882918829288293882948829588296882978829888299883008830188302883038830488305883068830788308883098831088311883128831388314883158831688317883188831988320883218832288323883248832588326883278832888329883308833188332883338833488335883368833788338883398834088341883428834388344883458834688347883488834988350883518835288353883548835588356883578835888359883608836188362883638836488365883668836788368883698837088371883728837388374883758837688377883788837988380883818838288383883848838588386883878838888389883908839188392883938839488395883968839788398883998840088401884028840388404884058840688407884088840988410884118841288413884148841588416884178841888419884208842188422884238842488425884268842788428884298843088431884328843388434884358843688437884388843988440884418844288443884448844588446884478844888449884508845188452884538845488455884568845788458884598846088461884628846388464884658846688467884688846988470884718847288473884748847588476884778847888479884808848188482884838848488485884868848788488884898849088491884928849388494884958849688497884988849988500885018850288503885048850588506885078850888509885108851188512885138851488515885168851788518885198852088521885228852388524885258852688527885288852988530885318853288533885348853588536885378853888539885408854188542885438854488545885468854788548885498855088551885528855388554885558855688557885588855988560885618856288563885648856588566885678856888569885708857188572885738857488575885768857788578885798858088581885828858388584885858858688587885888858988590885918859288593885948859588596885978859888599886008860188602886038860488605886068860788608886098861088611886128861388614886158861688617886188861988620886218862288623886248862588626886278862888629886308863188632886338863488635886368863788638886398864088641886428864388644886458864688647886488864988650886518865288653886548865588656886578865888659886608866188662886638866488665886668866788668886698867088671886728867388674886758867688677886788867988680886818868288683886848868588686886878868888689886908869188692886938869488695886968869788698886998870088701887028870388704887058870688707887088870988710887118871288713887148871588716887178871888719887208872188722887238872488725887268872788728887298873088731887328873388734887358873688737887388873988740887418874288743887448874588746887478874888749887508875188752887538875488755887568875788758887598876088761887628876388764887658876688767887688876988770887718877288773887748877588776887778877888779887808878188782887838878488785887868878788788887898879088791887928879388794887958879688797887988879988800888018880288803888048880588806888078880888809888108881188812888138881488815888168881788818888198882088821888228882388824888258882688827888288882988830888318883288833888348883588836888378883888839888408884188842888438884488845888468884788848888498885088851888528885388854888558885688857888588885988860888618886288863888648886588866888678886888869888708887188872888738887488875888768887788878888798888088881888828888388884888858888688887888888888988890888918889288893888948889588896888978889888899889008890188902889038890488905889068890788908889098891088911889128891388914889158891688917889188891988920889218892288923889248892588926889278892888929889308893188932889338893488935889368893788938889398894088941889428894388944889458894688947889488894988950889518895288953889548895588956889578895888959889608896188962889638896488965889668896788968889698897088971889728897388974889758897688977889788897988980889818898288983889848898588986889878898888989889908899188992889938899488995889968899788998889998900089001890028900389004890058900689007890088900989010890118901289013890148901589016890178901889019890208902189022890238902489025890268902789028890298903089031890328903389034890358903689037890388903989040890418904289043890448904589046890478904889049890508905189052890538905489055890568905789058890598906089061890628906389064890658906689067890688906989070890718907289073890748907589076890778907889079890808908189082890838908489085890868908789088890898909089091890928909389094890958909689097890988909989100891018910289103891048910589106891078910889109891108911189112891138911489115891168911789118891198912089121891228912389124891258912689127891288912989130891318913289133891348913589136891378913889139891408914189142891438914489145891468914789148891498915089151891528915389154891558915689157891588915989160891618916289163891648916589166891678916889169891708917189172891738917489175891768917789178891798918089181891828918389184891858918689187891888918989190891918919289193891948919589196891978919889199892008920189202892038920489205892068920789208892098921089211892128921389214892158921689217892188921989220892218922289223892248922589226892278922889229892308923189232892338923489235892368923789238892398924089241892428924389244892458924689247892488924989250892518925289253892548925589256892578925889259892608926189262892638926489265892668926789268892698927089271892728927389274892758927689277892788927989280892818928289283892848928589286892878928889289892908929189292892938929489295892968929789298892998930089301893028930389304893058930689307893088930989310893118931289313893148931589316893178931889319893208932189322893238932489325893268932789328893298933089331893328933389334893358933689337893388933989340893418934289343893448934589346893478934889349893508935189352893538935489355893568935789358893598936089361893628936389364893658936689367893688936989370893718937289373893748937589376893778937889379893808938189382893838938489385893868938789388893898939089391893928939389394893958939689397893988939989400894018940289403894048940589406894078940889409894108941189412894138941489415894168941789418894198942089421894228942389424894258942689427894288942989430894318943289433894348943589436894378943889439894408944189442894438944489445894468944789448894498945089451894528945389454894558945689457894588945989460894618946289463894648946589466894678946889469894708947189472894738947489475894768947789478894798948089481894828948389484894858948689487894888948989490894918949289493894948949589496894978949889499895008950189502895038950489505895068950789508895098951089511895128951389514895158951689517895188951989520895218952289523895248952589526895278952889529895308953189532895338953489535895368953789538895398954089541895428954389544895458954689547895488954989550895518955289553895548955589556895578955889559895608956189562895638956489565895668956789568895698957089571895728957389574895758957689577895788957989580895818958289583895848958589586895878958889589895908959189592895938959489595895968959789598895998960089601896028960389604896058960689607896088960989610896118961289613896148961589616896178961889619896208962189622896238962489625896268962789628896298963089631896328963389634896358963689637896388963989640896418964289643896448964589646896478964889649896508965189652896538965489655896568965789658896598966089661896628966389664896658966689667896688966989670896718967289673896748967589676896778967889679896808968189682896838968489685896868968789688896898969089691896928969389694896958969689697896988969989700897018970289703897048970589706897078970889709897108971189712897138971489715897168971789718897198972089721897228972389724897258972689727897288972989730897318973289733897348973589736897378973889739897408974189742897438974489745897468974789748897498975089751897528975389754897558975689757897588975989760897618976289763897648976589766897678976889769897708977189772897738977489775897768977789778897798978089781897828978389784897858978689787897888978989790897918979289793897948979589796897978979889799898008980189802898038980489805898068980789808898098981089811898128981389814898158981689817898188981989820898218982289823898248982589826898278982889829898308983189832898338983489835898368983789838898398984089841898428984389844898458984689847898488984989850898518985289853898548985589856898578985889859898608986189862898638986489865898668986789868898698987089871898728987389874898758987689877898788987989880898818988289883898848988589886898878988889889898908989189892898938989489895898968989789898898998990089901899028990389904899058990689907899088990989910899118991289913899148991589916899178991889919899208992189922899238992489925899268992789928899298993089931899328993389934899358993689937899388993989940899418994289943899448994589946899478994889949899508995189952899538995489955899568995789958899598996089961899628996389964899658996689967899688996989970899718997289973899748997589976899778997889979899808998189982899838998489985899868998789988899898999089991899928999389994899958999689997899988999990000900019000290003900049000590006900079000890009900109001190012900139001490015900169001790018900199002090021900229002390024900259002690027900289002990030900319003290033900349003590036900379003890039900409004190042900439004490045900469004790048900499005090051900529005390054900559005690057900589005990060900619006290063900649006590066900679006890069900709007190072900739007490075900769007790078900799008090081900829008390084900859008690087900889008990090900919009290093900949009590096900979009890099901009010190102901039010490105901069010790108901099011090111901129011390114901159011690117901189011990120901219012290123901249012590126901279012890129901309013190132901339013490135901369013790138901399014090141901429014390144901459014690147901489014990150901519015290153901549015590156901579015890159901609016190162901639016490165901669016790168901699017090171901729017390174901759017690177901789017990180901819018290183901849018590186901879018890189901909019190192901939019490195901969019790198901999020090201902029020390204902059020690207902089020990210902119021290213902149021590216902179021890219902209022190222902239022490225902269022790228902299023090231902329023390234902359023690237902389023990240902419024290243902449024590246902479024890249902509025190252902539025490255902569025790258902599026090261902629026390264902659026690267902689026990270902719027290273902749027590276902779027890279902809028190282902839028490285902869028790288902899029090291902929029390294902959029690297902989029990300903019030290303903049030590306903079030890309903109031190312903139031490315903169031790318903199032090321903229032390324903259032690327903289032990330903319033290333903349033590336903379033890339903409034190342903439034490345903469034790348903499035090351903529035390354903559035690357903589035990360903619036290363903649036590366903679036890369903709037190372903739037490375903769037790378903799038090381903829038390384903859038690387903889038990390903919039290393903949039590396903979039890399904009040190402904039040490405904069040790408904099041090411904129041390414904159041690417904189041990420904219042290423904249042590426904279042890429904309043190432904339043490435904369043790438904399044090441904429044390444904459044690447904489044990450904519045290453904549045590456904579045890459904609046190462904639046490465904669046790468904699047090471904729047390474904759047690477904789047990480904819048290483904849048590486904879048890489904909049190492904939049490495904969049790498904999050090501905029050390504905059050690507905089050990510905119051290513905149051590516905179051890519905209052190522905239052490525905269052790528905299053090531905329053390534905359053690537905389053990540905419054290543905449054590546905479054890549905509055190552905539055490555905569055790558905599056090561905629056390564905659056690567905689056990570905719057290573905749057590576905779057890579905809058190582905839058490585905869058790588905899059090591905929059390594905959059690597905989059990600906019060290603906049060590606906079060890609906109061190612906139061490615906169061790618906199062090621906229062390624906259062690627906289062990630906319063290633906349063590636906379063890639906409064190642906439064490645906469064790648906499065090651906529065390654906559065690657906589065990660906619066290663906649066590666906679066890669906709067190672906739067490675906769067790678906799068090681906829068390684906859068690687906889068990690906919069290693906949069590696906979069890699907009070190702907039070490705907069070790708907099071090711907129071390714907159071690717907189071990720907219072290723907249072590726907279072890729907309073190732907339073490735907369073790738907399074090741907429074390744907459074690747907489074990750907519075290753907549075590756907579075890759907609076190762907639076490765907669076790768907699077090771907729077390774907759077690777907789077990780907819078290783907849078590786907879078890789907909079190792907939079490795907969079790798907999080090801908029080390804908059080690807908089080990810908119081290813908149081590816908179081890819908209082190822908239082490825908269082790828908299083090831908329083390834908359083690837908389083990840908419084290843908449084590846908479084890849908509085190852908539085490855908569085790858908599086090861908629086390864908659086690867908689086990870908719087290873908749087590876908779087890879908809088190882908839088490885908869088790888908899089090891908929089390894908959089690897908989089990900909019090290903909049090590906909079090890909909109091190912909139091490915909169091790918909199092090921909229092390924909259092690927909289092990930909319093290933909349093590936909379093890939909409094190942909439094490945909469094790948909499095090951909529095390954909559095690957909589095990960909619096290963909649096590966909679096890969909709097190972909739097490975909769097790978909799098090981909829098390984909859098690987909889098990990909919099290993909949099590996909979099890999910009100191002910039100491005910069100791008910099101091011910129101391014910159101691017910189101991020910219102291023910249102591026910279102891029910309103191032910339103491035910369103791038910399104091041910429104391044910459104691047910489104991050910519105291053910549105591056910579105891059910609106191062910639106491065910669106791068910699107091071910729107391074910759107691077910789107991080910819108291083910849108591086910879108891089910909109191092910939109491095910969109791098910999110091101911029110391104911059110691107911089110991110911119111291113911149111591116911179111891119911209112191122911239112491125911269112791128911299113091131911329113391134911359113691137911389113991140911419114291143911449114591146911479114891149911509115191152911539115491155911569115791158911599116091161911629116391164911659116691167911689116991170911719117291173911749117591176911779117891179911809118191182911839118491185911869118791188911899119091191911929119391194911959119691197911989119991200912019120291203912049120591206912079120891209912109121191212912139121491215912169121791218912199122091221912229122391224912259122691227912289122991230912319123291233912349123591236912379123891239912409124191242912439124491245912469124791248912499125091251912529125391254912559125691257912589125991260912619126291263912649126591266912679126891269912709127191272912739127491275912769127791278912799128091281912829128391284912859128691287912889128991290912919129291293912949129591296912979129891299913009130191302913039130491305913069130791308913099131091311913129131391314913159131691317913189131991320913219132291323913249132591326913279132891329913309133191332913339133491335913369133791338913399134091341913429134391344913459134691347913489134991350913519135291353913549135591356913579135891359913609136191362913639136491365913669136791368913699137091371913729137391374913759137691377913789137991380913819138291383913849138591386913879138891389913909139191392913939139491395913969139791398913999140091401914029140391404914059140691407914089140991410914119141291413914149141591416914179141891419914209142191422914239142491425914269142791428914299143091431914329143391434914359143691437914389143991440914419144291443914449144591446914479144891449914509145191452914539145491455914569145791458914599146091461914629146391464914659146691467914689146991470914719147291473914749147591476914779147891479914809148191482914839148491485914869148791488914899149091491914929149391494914959149691497914989149991500915019150291503915049150591506915079150891509915109151191512915139151491515915169151791518915199152091521915229152391524915259152691527915289152991530915319153291533915349153591536915379153891539915409154191542915439154491545915469154791548915499155091551915529155391554915559155691557915589155991560915619156291563915649156591566915679156891569915709157191572915739157491575915769157791578915799158091581915829158391584915859158691587915889158991590915919159291593915949159591596915979159891599916009160191602916039160491605916069160791608916099161091611916129161391614916159161691617916189161991620916219162291623916249162591626916279162891629916309163191632916339163491635916369163791638916399164091641916429164391644916459164691647916489164991650916519165291653916549165591656916579165891659916609166191662916639166491665916669166791668916699167091671916729167391674916759167691677916789167991680916819168291683916849168591686916879168891689916909169191692916939169491695916969169791698916999170091701917029170391704917059170691707917089170991710917119171291713917149171591716917179171891719917209172191722917239172491725917269172791728917299173091731917329173391734917359173691737917389173991740917419174291743917449174591746917479174891749917509175191752917539175491755917569175791758917599176091761917629176391764917659176691767917689176991770917719177291773917749177591776917779177891779917809178191782917839178491785917869178791788917899179091791917929179391794917959179691797917989179991800918019180291803918049180591806918079180891809918109181191812918139181491815918169181791818918199182091821918229182391824918259182691827918289182991830918319183291833918349183591836918379183891839918409184191842918439184491845918469184791848918499185091851918529185391854918559185691857918589185991860918619186291863918649186591866918679186891869918709187191872918739187491875918769187791878918799188091881918829188391884918859188691887918889188991890918919189291893918949189591896918979189891899919009190191902919039190491905919069190791908919099191091911919129191391914919159191691917919189191991920919219192291923919249192591926919279192891929919309193191932919339193491935919369193791938919399194091941919429194391944919459194691947919489194991950919519195291953919549195591956919579195891959919609196191962919639196491965919669196791968919699197091971919729197391974919759197691977919789197991980919819198291983919849198591986919879198891989919909199191992919939199491995919969199791998919999200092001920029200392004920059200692007920089200992010920119201292013920149201592016920179201892019920209202192022920239202492025920269202792028920299203092031920329203392034920359203692037920389203992040920419204292043920449204592046920479204892049920509205192052920539205492055920569205792058920599206092061920629206392064920659206692067920689206992070920719207292073920749207592076920779207892079920809208192082920839208492085920869208792088920899209092091920929209392094920959209692097920989209992100921019210292103921049210592106921079210892109921109211192112921139211492115921169211792118921199212092121921229212392124921259212692127921289212992130921319213292133921349213592136921379213892139921409214192142921439214492145921469214792148921499215092151921529215392154921559215692157921589215992160921619216292163921649216592166921679216892169921709217192172921739217492175921769217792178921799218092181921829218392184921859218692187921889218992190921919219292193921949219592196921979219892199922009220192202922039220492205922069220792208922099221092211922129221392214922159221692217922189221992220922219222292223922249222592226922279222892229922309223192232922339223492235922369223792238922399224092241922429224392244922459224692247922489224992250922519225292253922549225592256922579225892259922609226192262922639226492265922669226792268922699227092271922729227392274922759227692277922789227992280922819228292283922849228592286922879228892289922909229192292922939229492295922969229792298922999230092301923029230392304923059230692307923089230992310923119231292313923149231592316923179231892319923209232192322923239232492325923269232792328923299233092331923329233392334923359233692337923389233992340923419234292343923449234592346923479234892349923509235192352923539235492355923569235792358923599236092361923629236392364923659236692367923689236992370923719237292373923749237592376923779237892379923809238192382923839238492385923869238792388923899239092391923929239392394923959239692397923989239992400924019240292403924049240592406924079240892409924109241192412924139241492415924169241792418924199242092421924229242392424924259242692427924289242992430924319243292433924349243592436924379243892439924409244192442924439244492445924469244792448924499245092451924529245392454924559245692457924589245992460924619246292463924649246592466924679246892469924709247192472924739247492475924769247792478924799248092481924829248392484924859248692487924889248992490924919249292493924949249592496924979249892499925009250192502925039250492505925069250792508925099251092511925129251392514925159251692517925189251992520925219252292523925249252592526925279252892529925309253192532925339253492535925369253792538925399254092541925429254392544925459254692547925489254992550925519255292553925549255592556925579255892559925609256192562925639256492565925669256792568925699257092571925729257392574925759257692577925789257992580925819258292583925849258592586925879258892589925909259192592925939259492595925969259792598925999260092601926029260392604926059260692607926089260992610926119261292613926149261592616926179261892619926209262192622926239262492625926269262792628926299263092631926329263392634926359263692637926389263992640926419264292643926449264592646926479264892649926509265192652926539265492655926569265792658926599266092661926629266392664926659266692667926689266992670926719267292673926749267592676926779267892679926809268192682926839268492685926869268792688926899269092691926929269392694926959269692697926989269992700927019270292703927049270592706927079270892709927109271192712927139271492715927169271792718927199272092721927229272392724927259272692727927289272992730927319273292733927349273592736927379273892739927409274192742927439274492745927469274792748927499275092751927529275392754927559275692757927589275992760927619276292763927649276592766927679276892769927709277192772927739277492775927769277792778927799278092781927829278392784927859278692787927889278992790927919279292793927949279592796927979279892799928009280192802928039280492805928069280792808928099281092811928129281392814928159281692817928189281992820928219282292823928249282592826928279282892829928309283192832928339283492835928369283792838928399284092841928429284392844928459284692847928489284992850928519285292853928549285592856928579285892859928609286192862928639286492865928669286792868928699287092871928729287392874928759287692877928789287992880928819288292883928849288592886928879288892889928909289192892928939289492895928969289792898928999290092901929029290392904929059290692907929089290992910929119291292913929149291592916929179291892919929209292192922929239292492925929269292792928929299293092931929329293392934929359293692937929389293992940929419294292943929449294592946929479294892949929509295192952929539295492955929569295792958929599296092961929629296392964929659296692967929689296992970929719297292973929749297592976929779297892979929809298192982929839298492985929869298792988929899299092991929929299392994929959299692997929989299993000930019300293003930049300593006930079300893009930109301193012930139301493015930169301793018930199302093021930229302393024930259302693027930289302993030930319303293033930349303593036930379303893039930409304193042930439304493045930469304793048930499305093051930529305393054930559305693057930589305993060930619306293063930649306593066930679306893069930709307193072930739307493075930769307793078930799308093081930829308393084930859308693087930889308993090930919309293093930949309593096930979309893099931009310193102931039310493105931069310793108931099311093111931129311393114931159311693117931189311993120931219312293123931249312593126931279312893129931309313193132931339313493135931369313793138931399314093141931429314393144931459314693147931489314993150931519315293153931549315593156931579315893159931609316193162931639316493165931669316793168931699317093171931729317393174931759317693177931789317993180931819318293183931849318593186931879318893189931909319193192931939319493195931969319793198931999320093201932029320393204932059320693207932089320993210932119321293213932149321593216932179321893219932209322193222932239322493225932269322793228932299323093231932329323393234932359323693237932389323993240932419324293243932449324593246932479324893249932509325193252932539325493255932569325793258932599326093261932629326393264932659326693267932689326993270932719327293273932749327593276932779327893279932809328193282932839328493285932869328793288932899329093291932929329393294932959329693297932989329993300933019330293303933049330593306933079330893309933109331193312933139331493315933169331793318933199332093321933229332393324933259332693327933289332993330933319333293333933349333593336933379333893339933409334193342933439334493345933469334793348933499335093351933529335393354933559335693357933589335993360933619336293363933649336593366933679336893369933709337193372933739337493375933769337793378933799338093381933829338393384933859338693387933889338993390933919339293393933949339593396933979339893399934009340193402934039340493405934069340793408934099341093411934129341393414934159341693417934189341993420934219342293423934249342593426934279342893429934309343193432934339343493435934369343793438934399344093441934429344393444934459344693447934489344993450934519345293453934549345593456934579345893459934609346193462934639346493465934669346793468934699347093471934729347393474934759347693477934789347993480934819348293483934849348593486934879348893489934909349193492934939349493495934969349793498934999350093501935029350393504935059350693507935089350993510935119351293513935149351593516935179351893519935209352193522935239352493525935269352793528935299353093531935329353393534935359353693537935389353993540935419354293543935449354593546935479354893549935509355193552935539355493555935569355793558935599356093561935629356393564935659356693567935689356993570935719357293573935749357593576935779357893579935809358193582935839358493585935869358793588935899359093591935929359393594935959359693597935989359993600936019360293603936049360593606936079360893609936109361193612936139361493615936169361793618936199362093621936229362393624936259362693627936289362993630936319363293633936349363593636936379363893639936409364193642936439364493645936469364793648936499365093651936529365393654936559365693657936589365993660936619366293663936649366593666936679366893669936709367193672936739367493675936769367793678936799368093681936829368393684936859368693687936889368993690936919369293693936949369593696936979369893699937009370193702937039370493705937069370793708937099371093711937129371393714937159371693717937189371993720937219372293723937249372593726937279372893729937309373193732937339373493735937369373793738937399374093741937429374393744937459374693747937489374993750937519375293753937549375593756937579375893759937609376193762937639376493765937669376793768937699377093771937729377393774937759377693777937789377993780937819378293783937849378593786937879378893789937909379193792937939379493795937969379793798937999380093801938029380393804938059380693807938089380993810938119381293813938149381593816938179381893819938209382193822938239382493825938269382793828938299383093831938329383393834938359383693837938389383993840938419384293843938449384593846938479384893849938509385193852938539385493855938569385793858938599386093861938629386393864938659386693867938689386993870938719387293873938749387593876938779387893879938809388193882938839388493885938869388793888938899389093891938929389393894938959389693897938989389993900939019390293903939049390593906939079390893909939109391193912939139391493915939169391793918939199392093921939229392393924939259392693927939289392993930939319393293933939349393593936939379393893939939409394193942939439394493945939469394793948939499395093951939529395393954939559395693957939589395993960939619396293963939649396593966939679396893969939709397193972939739397493975939769397793978939799398093981939829398393984939859398693987939889398993990939919399293993939949399593996939979399893999940009400194002940039400494005940069400794008940099401094011940129401394014940159401694017940189401994020940219402294023940249402594026940279402894029940309403194032940339403494035940369403794038940399404094041940429404394044940459404694047940489404994050940519405294053940549405594056940579405894059940609406194062940639406494065940669406794068940699407094071940729407394074940759407694077940789407994080940819408294083940849408594086940879408894089940909409194092940939409494095940969409794098940999410094101941029410394104941059410694107941089410994110941119411294113941149411594116941179411894119941209412194122941239412494125941269412794128941299413094131941329413394134941359413694137941389413994140941419414294143941449414594146941479414894149941509415194152941539415494155941569415794158941599416094161941629416394164941659416694167941689416994170941719417294173941749417594176941779417894179941809418194182941839418494185941869418794188941899419094191941929419394194941959419694197941989419994200942019420294203942049420594206942079420894209942109421194212942139421494215942169421794218942199422094221942229422394224942259422694227942289422994230942319423294233942349423594236942379423894239942409424194242942439424494245942469424794248942499425094251942529425394254942559425694257942589425994260942619426294263942649426594266942679426894269942709427194272942739427494275942769427794278942799428094281942829428394284942859428694287942889428994290942919429294293942949429594296942979429894299943009430194302943039430494305943069430794308943099431094311943129431394314943159431694317943189431994320943219432294323943249432594326943279432894329943309433194332943339433494335943369433794338943399434094341943429434394344943459434694347943489434994350943519435294353943549435594356943579435894359943609436194362943639436494365943669436794368943699437094371943729437394374943759437694377943789437994380943819438294383943849438594386943879438894389943909439194392943939439494395943969439794398943999440094401944029440394404944059440694407944089440994410944119441294413944149441594416944179441894419944209442194422944239442494425944269442794428944299443094431944329443394434944359443694437944389443994440944419444294443944449444594446944479444894449944509445194452944539445494455944569445794458944599446094461944629446394464944659446694467944689446994470944719447294473944749447594476944779447894479944809448194482944839448494485944869448794488944899449094491944929449394494944959449694497944989449994500945019450294503945049450594506945079450894509945109451194512945139451494515945169451794518945199452094521945229452394524945259452694527945289452994530945319453294533945349453594536945379453894539945409454194542945439454494545945469454794548945499455094551945529455394554945559455694557945589455994560945619456294563945649456594566945679456894569945709457194572945739457494575945769457794578945799458094581945829458394584945859458694587945889458994590945919459294593945949459594596945979459894599946009460194602946039460494605946069460794608946099461094611946129461394614946159461694617946189461994620946219462294623946249462594626946279462894629946309463194632946339463494635946369463794638946399464094641946429464394644946459464694647946489464994650946519465294653946549465594656946579465894659946609466194662946639466494665946669466794668946699467094671946729467394674946759467694677946789467994680946819468294683946849468594686946879468894689946909469194692946939469494695946969469794698946999470094701947029470394704947059470694707947089470994710947119471294713947149471594716947179471894719947209472194722947239472494725947269472794728947299473094731947329473394734947359473694737947389473994740947419474294743947449474594746947479474894749947509475194752947539475494755947569475794758947599476094761947629476394764947659476694767947689476994770947719477294773947749477594776947779477894779947809478194782947839478494785947869478794788947899479094791947929479394794947959479694797947989479994800948019480294803948049480594806948079480894809948109481194812948139481494815948169481794818948199482094821948229482394824948259482694827948289482994830948319483294833948349483594836948379483894839948409484194842948439484494845948469484794848948499485094851948529485394854948559485694857948589485994860948619486294863948649486594866948679486894869948709487194872948739487494875948769487794878948799488094881948829488394884948859488694887948889488994890948919489294893948949489594896948979489894899949009490194902949039490494905949069490794908949099491094911949129491394914949159491694917949189491994920949219492294923949249492594926949279492894929949309493194932949339493494935949369493794938949399494094941949429494394944949459494694947949489494994950949519495294953949549495594956949579495894959949609496194962949639496494965949669496794968949699497094971949729497394974949759497694977949789497994980949819498294983949849498594986949879498894989949909499194992949939499494995949969499794998949999500095001950029500395004950059500695007950089500995010950119501295013950149501595016950179501895019950209502195022950239502495025950269502795028950299503095031950329503395034950359503695037950389503995040950419504295043950449504595046950479504895049950509505195052950539505495055950569505795058950599506095061950629506395064950659506695067950689506995070950719507295073950749507595076950779507895079950809508195082950839508495085950869508795088950899509095091950929509395094950959509695097950989509995100951019510295103951049510595106951079510895109951109511195112951139511495115951169511795118951199512095121951229512395124951259512695127951289512995130951319513295133951349513595136951379513895139951409514195142951439514495145951469514795148951499515095151951529515395154951559515695157951589515995160951619516295163951649516595166951679516895169951709517195172951739517495175951769517795178951799518095181951829518395184951859518695187951889518995190951919519295193951949519595196951979519895199952009520195202952039520495205952069520795208952099521095211952129521395214952159521695217952189521995220952219522295223952249522595226952279522895229952309523195232952339523495235952369523795238952399524095241952429524395244952459524695247952489524995250952519525295253952549525595256952579525895259952609526195262952639526495265952669526795268952699527095271952729527395274952759527695277952789527995280952819528295283952849528595286952879528895289952909529195292952939529495295952969529795298952999530095301953029530395304953059530695307953089530995310953119531295313953149531595316953179531895319953209532195322953239532495325953269532795328953299533095331953329533395334953359533695337953389533995340953419534295343953449534595346953479534895349953509535195352953539535495355953569535795358953599536095361953629536395364953659536695367953689536995370953719537295373953749537595376953779537895379953809538195382953839538495385953869538795388953899539095391953929539395394953959539695397953989539995400954019540295403954049540595406954079540895409954109541195412954139541495415954169541795418954199542095421954229542395424954259542695427954289542995430954319543295433954349543595436954379543895439954409544195442954439544495445954469544795448954499545095451954529545395454954559545695457954589545995460954619546295463954649546595466954679546895469954709547195472954739547495475954769547795478954799548095481954829548395484954859548695487954889548995490954919549295493954949549595496954979549895499955009550195502955039550495505955069550795508955099551095511955129551395514955159551695517955189551995520955219552295523955249552595526955279552895529955309553195532955339553495535955369553795538955399554095541955429554395544955459554695547955489554995550955519555295553955549555595556955579555895559955609556195562955639556495565955669556795568955699557095571955729557395574955759557695577955789557995580955819558295583955849558595586955879558895589955909559195592955939559495595955969559795598955999560095601956029560395604956059560695607956089560995610956119561295613956149561595616956179561895619956209562195622956239562495625956269562795628956299563095631956329563395634956359563695637956389563995640956419564295643956449564595646956479564895649956509565195652956539565495655956569565795658956599566095661956629566395664956659566695667956689566995670956719567295673956749567595676956779567895679956809568195682956839568495685956869568795688956899569095691956929569395694956959569695697956989569995700957019570295703957049570595706957079570895709957109571195712957139571495715957169571795718957199572095721957229572395724957259572695727957289572995730957319573295733957349573595736957379573895739957409574195742957439574495745957469574795748957499575095751957529575395754957559575695757957589575995760957619576295763957649576595766957679576895769957709577195772957739577495775957769577795778957799578095781957829578395784957859578695787957889578995790957919579295793957949579595796957979579895799958009580195802958039580495805958069580795808958099581095811958129581395814958159581695817958189581995820958219582295823958249582595826958279582895829958309583195832958339583495835958369583795838958399584095841958429584395844958459584695847958489584995850958519585295853958549585595856958579585895859958609586195862958639586495865958669586795868958699587095871958729587395874958759587695877958789587995880958819588295883958849588595886958879588895889958909589195892958939589495895958969589795898958999590095901959029590395904959059590695907959089590995910959119591295913959149591595916959179591895919959209592195922959239592495925959269592795928959299593095931959329593395934959359593695937959389593995940959419594295943959449594595946959479594895949959509595195952959539595495955959569595795958959599596095961959629596395964959659596695967959689596995970959719597295973959749597595976959779597895979959809598195982959839598495985959869598795988959899599095991959929599395994959959599695997959989599996000960019600296003960049600596006960079600896009960109601196012960139601496015960169601796018960199602096021960229602396024960259602696027960289602996030960319603296033960349603596036960379603896039960409604196042960439604496045960469604796048960499605096051960529605396054960559605696057960589605996060960619606296063960649606596066960679606896069960709607196072960739607496075960769607796078960799608096081960829608396084960859608696087960889608996090960919609296093960949609596096960979609896099961009610196102961039610496105961069610796108961099611096111961129611396114961159611696117961189611996120961219612296123961249612596126961279612896129961309613196132961339613496135961369613796138961399614096141961429614396144961459614696147961489614996150961519615296153961549615596156961579615896159961609616196162961639616496165961669616796168961699617096171961729617396174961759617696177961789617996180961819618296183961849618596186961879618896189961909619196192961939619496195961969619796198961999620096201962029620396204962059620696207962089620996210962119621296213962149621596216962179621896219962209622196222962239622496225962269622796228962299623096231962329623396234962359623696237962389623996240962419624296243962449624596246962479624896249962509625196252962539625496255962569625796258962599626096261962629626396264962659626696267962689626996270962719627296273962749627596276962779627896279962809628196282962839628496285962869628796288962899629096291962929629396294962959629696297962989629996300963019630296303963049630596306963079630896309963109631196312963139631496315963169631796318963199632096321963229632396324963259632696327963289632996330963319633296333963349633596336963379633896339963409634196342963439634496345963469634796348963499635096351963529635396354963559635696357963589635996360963619636296363963649636596366963679636896369963709637196372963739637496375963769637796378963799638096381963829638396384963859638696387963889638996390963919639296393963949639596396963979639896399964009640196402964039640496405964069640796408964099641096411964129641396414964159641696417964189641996420964219642296423964249642596426964279642896429964309643196432964339643496435964369643796438964399644096441964429644396444964459644696447964489644996450964519645296453964549645596456964579645896459964609646196462964639646496465964669646796468964699647096471964729647396474964759647696477964789647996480964819648296483964849648596486964879648896489964909649196492964939649496495964969649796498964999650096501965029650396504965059650696507965089650996510965119651296513965149651596516965179651896519965209652196522965239652496525965269652796528965299653096531965329653396534965359653696537965389653996540965419654296543965449654596546965479654896549965509655196552965539655496555965569655796558965599656096561965629656396564965659656696567965689656996570965719657296573965749657596576965779657896579965809658196582965839658496585965869658796588965899659096591965929659396594965959659696597965989659996600966019660296603966049660596606966079660896609966109661196612966139661496615966169661796618966199662096621966229662396624966259662696627966289662996630966319663296633966349663596636966379663896639966409664196642966439664496645966469664796648966499665096651966529665396654966559665696657966589665996660966619666296663966649666596666966679666896669966709667196672966739667496675966769667796678966799668096681966829668396684966859668696687966889668996690966919669296693966949669596696966979669896699967009670196702967039670496705967069670796708967099671096711967129671396714967159671696717967189671996720967219672296723967249672596726967279672896729967309673196732967339673496735967369673796738967399674096741967429674396744967459674696747967489674996750967519675296753967549675596756967579675896759967609676196762967639676496765967669676796768967699677096771967729677396774967759677696777967789677996780967819678296783967849678596786967879678896789967909679196792967939679496795967969679796798967999680096801968029680396804968059680696807968089680996810968119681296813968149681596816968179681896819968209682196822968239682496825968269682796828968299683096831968329683396834968359683696837968389683996840968419684296843968449684596846968479684896849968509685196852968539685496855968569685796858968599686096861968629686396864968659686696867968689686996870968719687296873968749687596876968779687896879968809688196882968839688496885968869688796888968899689096891968929689396894968959689696897968989689996900969019690296903969049690596906969079690896909969109691196912969139691496915969169691796918969199692096921969229692396924969259692696927969289692996930969319693296933969349693596936969379693896939969409694196942969439694496945969469694796948969499695096951969529695396954969559695696957969589695996960969619696296963969649696596966969679696896969969709697196972969739697496975969769697796978969799698096981969829698396984969859698696987969889698996990969919699296993969949699596996969979699896999970009700197002970039700497005970069700797008970099701097011970129701397014970159701697017970189701997020970219702297023970249702597026970279702897029970309703197032970339703497035970369703797038970399704097041970429704397044970459704697047970489704997050970519705297053970549705597056970579705897059970609706197062970639706497065970669706797068970699707097071970729707397074970759707697077970789707997080970819708297083970849708597086970879708897089970909709197092970939709497095970969709797098970999710097101971029710397104971059710697107971089710997110971119711297113971149711597116971179711897119971209712197122971239712497125971269712797128971299713097131971329713397134971359713697137971389713997140971419714297143971449714597146971479714897149971509715197152971539715497155971569715797158971599716097161971629716397164971659716697167971689716997170971719717297173971749717597176971779717897179971809718197182971839718497185971869718797188971899719097191971929719397194971959719697197971989719997200972019720297203972049720597206972079720897209972109721197212972139721497215972169721797218972199722097221972229722397224972259722697227972289722997230972319723297233972349723597236972379723897239972409724197242972439724497245972469724797248972499725097251972529725397254972559725697257972589725997260972619726297263972649726597266972679726897269972709727197272972739727497275972769727797278972799728097281972829728397284972859728697287972889728997290972919729297293972949729597296972979729897299973009730197302973039730497305973069730797308973099731097311973129731397314973159731697317973189731997320973219732297323973249732597326973279732897329973309733197332973339733497335973369733797338973399734097341973429734397344973459734697347973489734997350973519735297353973549735597356973579735897359973609736197362973639736497365973669736797368973699737097371973729737397374973759737697377973789737997380973819738297383973849738597386973879738897389973909739197392973939739497395973969739797398973999740097401974029740397404974059740697407974089740997410974119741297413974149741597416974179741897419974209742197422974239742497425974269742797428974299743097431974329743397434974359743697437974389743997440974419744297443974449744597446974479744897449974509745197452974539745497455974569745797458974599746097461974629746397464974659746697467974689746997470974719747297473974749747597476974779747897479974809748197482974839748497485974869748797488974899749097491974929749397494974959749697497974989749997500975019750297503975049750597506975079750897509975109751197512975139751497515975169751797518975199752097521975229752397524975259752697527975289752997530975319753297533975349753597536975379753897539975409754197542975439754497545975469754797548975499755097551975529755397554975559755697557975589755997560975619756297563975649756597566975679756897569975709757197572975739757497575975769757797578975799758097581975829758397584975859758697587975889758997590975919759297593975949759597596975979759897599976009760197602976039760497605976069760797608976099761097611976129761397614976159761697617976189761997620976219762297623976249762597626976279762897629976309763197632976339763497635976369763797638976399764097641976429764397644976459764697647976489764997650976519765297653976549765597656976579765897659976609766197662976639766497665976669766797668976699767097671976729767397674976759767697677976789767997680976819768297683976849768597686976879768897689976909769197692976939769497695976969769797698976999770097701977029770397704977059770697707977089770997710977119771297713977149771597716977179771897719977209772197722977239772497725977269772797728977299773097731977329773397734977359773697737977389773997740977419774297743977449774597746977479774897749977509775197752977539775497755977569775797758977599776097761977629776397764977659776697767977689776997770977719777297773977749777597776977779777897779977809778197782977839778497785977869778797788977899779097791977929779397794977959779697797977989779997800978019780297803978049780597806978079780897809978109781197812978139781497815978169781797818978199782097821978229782397824978259782697827978289782997830978319783297833978349783597836978379783897839978409784197842978439784497845978469784797848978499785097851978529785397854978559785697857978589785997860978619786297863978649786597866978679786897869978709787197872978739787497875978769787797878978799788097881978829788397884978859788697887978889788997890978919789297893978949789597896978979789897899979009790197902979039790497905979069790797908979099791097911979129791397914979159791697917979189791997920979219792297923979249792597926979279792897929979309793197932979339793497935979369793797938979399794097941979429794397944979459794697947979489794997950979519795297953979549795597956979579795897959979609796197962979639796497965979669796797968979699797097971979729797397974979759797697977979789797997980979819798297983979849798597986979879798897989979909799197992979939799497995979969799797998979999800098001980029800398004980059800698007980089800998010980119801298013980149801598016980179801898019980209802198022980239802498025980269802798028980299803098031980329803398034980359803698037980389803998040980419804298043980449804598046980479804898049980509805198052980539805498055980569805798058980599806098061980629806398064980659806698067980689806998070980719807298073980749807598076980779807898079980809808198082980839808498085980869808798088980899809098091980929809398094980959809698097980989809998100981019810298103981049810598106981079810898109981109811198112981139811498115981169811798118981199812098121981229812398124981259812698127981289812998130981319813298133981349813598136981379813898139981409814198142981439814498145981469814798148981499815098151981529815398154981559815698157981589815998160981619816298163981649816598166981679816898169981709817198172981739817498175981769817798178981799818098181981829818398184981859818698187981889818998190981919819298193981949819598196981979819898199982009820198202982039820498205982069820798208982099821098211982129821398214982159821698217982189821998220982219822298223982249822598226982279822898229982309823198232982339823498235982369823798238982399824098241982429824398244982459824698247982489824998250982519825298253982549825598256982579825898259982609826198262982639826498265982669826798268982699827098271982729827398274982759827698277982789827998280982819828298283982849828598286982879828898289982909829198292982939829498295982969829798298982999830098301983029830398304983059830698307983089830998310983119831298313983149831598316983179831898319983209832198322983239832498325983269832798328983299833098331983329833398334983359833698337983389833998340983419834298343983449834598346983479834898349983509835198352983539835498355983569835798358983599836098361983629836398364983659836698367983689836998370983719837298373983749837598376983779837898379983809838198382983839838498385983869838798388983899839098391983929839398394983959839698397983989839998400984019840298403984049840598406984079840898409984109841198412984139841498415984169841798418984199842098421984229842398424984259842698427984289842998430984319843298433984349843598436984379843898439984409844198442984439844498445984469844798448984499845098451984529845398454984559845698457984589845998460984619846298463984649846598466984679846898469984709847198472984739847498475984769847798478984799848098481984829848398484984859848698487984889848998490984919849298493984949849598496984979849898499985009850198502985039850498505985069850798508985099851098511985129851398514985159851698517985189851998520985219852298523985249852598526985279852898529985309853198532985339853498535985369853798538985399854098541985429854398544985459854698547985489854998550985519855298553985549855598556985579855898559985609856198562985639856498565985669856798568985699857098571985729857398574985759857698577985789857998580985819858298583985849858598586985879858898589985909859198592985939859498595985969859798598985999860098601986029860398604986059860698607986089860998610986119861298613986149861598616986179861898619986209862198622986239862498625986269862798628986299863098631986329863398634986359863698637986389863998640986419864298643986449864598646986479864898649986509865198652986539865498655986569865798658986599866098661986629866398664986659866698667986689866998670986719867298673986749867598676986779867898679986809868198682986839868498685986869868798688986899869098691986929869398694986959869698697986989869998700987019870298703987049870598706987079870898709987109871198712987139871498715987169871798718987199872098721987229872398724987259872698727987289872998730987319873298733987349873598736987379873898739987409874198742987439874498745987469874798748987499875098751987529875398754987559875698757987589875998760987619876298763987649876598766987679876898769987709877198772987739877498775987769877798778987799878098781987829878398784987859878698787987889878998790987919879298793987949879598796987979879898799988009880198802988039880498805988069880798808988099881098811988129881398814988159881698817988189881998820988219882298823988249882598826988279882898829988309883198832988339883498835988369883798838988399884098841988429884398844988459884698847988489884998850988519885298853988549885598856988579885898859988609886198862988639886498865988669886798868988699887098871988729887398874988759887698877988789887998880988819888298883988849888598886988879888898889988909889198892988939889498895988969889798898988999890098901989029890398904989059890698907989089890998910989119891298913989149891598916989179891898919989209892198922989239892498925989269892798928989299893098931989329893398934989359893698937989389893998940989419894298943989449894598946989479894898949989509895198952989539895498955989569895798958989599896098961989629896398964989659896698967989689896998970989719897298973989749897598976989779897898979989809898198982989839898498985989869898798988989899899098991989929899398994989959899698997989989899999000990019900299003990049900599006990079900899009990109901199012990139901499015990169901799018990199902099021990229902399024990259902699027990289902999030990319903299033990349903599036990379903899039990409904199042990439904499045990469904799048990499905099051990529905399054990559905699057990589905999060990619906299063990649906599066990679906899069990709907199072990739907499075990769907799078990799908099081990829908399084990859908699087990889908999090990919909299093990949909599096990979909899099991009910199102991039910499105991069910799108991099911099111991129911399114991159911699117991189911999120991219912299123991249912599126991279912899129991309913199132991339913499135991369913799138991399914099141991429914399144991459914699147991489914999150991519915299153991549915599156991579915899159991609916199162991639916499165991669916799168991699917099171991729917399174991759917699177991789917999180991819918299183991849918599186991879918899189991909919199192991939919499195991969919799198991999920099201992029920399204992059920699207992089920999210992119921299213992149921599216992179921899219992209922199222992239922499225992269922799228992299923099231992329923399234992359923699237992389923999240992419924299243992449924599246992479924899249992509925199252992539925499255992569925799258992599926099261992629926399264992659926699267992689926999270992719927299273992749927599276992779927899279992809928199282992839928499285992869928799288992899929099291992929929399294992959929699297992989929999300993019930299303993049930599306993079930899309993109931199312993139931499315993169931799318993199932099321993229932399324993259932699327993289932999330993319933299333993349933599336993379933899339993409934199342993439934499345993469934799348993499935099351993529935399354993559935699357993589935999360993619936299363993649936599366993679936899369993709937199372993739937499375993769937799378993799938099381993829938399384993859938699387993889938999390993919939299393993949939599396993979939899399994009940199402994039940499405994069940799408994099941099411994129941399414994159941699417994189941999420994219942299423994249942599426994279942899429994309943199432994339943499435994369943799438994399944099441994429944399444994459944699447994489944999450994519945299453994549945599456994579945899459994609946199462994639946499465994669946799468994699947099471994729947399474994759947699477994789947999480994819948299483994849948599486994879948899489994909949199492994939949499495994969949799498994999950099501995029950399504995059950699507995089950999510995119951299513995149951599516995179951899519995209952199522995239952499525995269952799528995299953099531995329953399534995359953699537995389953999540995419954299543995449954599546995479954899549995509955199552995539955499555995569955799558995599956099561995629956399564995659956699567995689956999570995719957299573995749957599576995779957899579995809958199582995839958499585995869958799588995899959099591995929959399594995959959699597995989959999600996019960299603996049960599606996079960899609996109961199612996139961499615996169961799618996199962099621996229962399624996259962699627996289962999630996319963299633996349963599636996379963899639996409964199642996439964499645996469964799648996499965099651996529965399654996559965699657996589965999660996619966299663996649966599666996679966899669996709967199672996739967499675996769967799678996799968099681996829968399684996859968699687996889968999690996919969299693996949969599696996979969899699997009970199702997039970499705997069970799708997099971099711997129971399714997159971699717997189971999720997219972299723997249972599726997279972899729997309973199732997339973499735997369973799738997399974099741997429974399744997459974699747997489974999750997519975299753997549975599756997579975899759997609976199762997639976499765997669976799768997699977099771997729977399774997759977699777997789977999780997819978299783997849978599786997879978899789997909979199792997939979499795997969979799798997999980099801998029980399804998059980699807998089980999810998119981299813998149981599816998179981899819998209982199822998239982499825998269982799828998299983099831998329983399834998359983699837998389983999840998419984299843998449984599846998479984899849998509985199852998539985499855998569985799858998599986099861998629986399864998659986699867998689986999870998719987299873998749987599876998779987899879998809988199882998839988499885998869988799888998899989099891998929989399894998959989699897998989989999900999019990299903999049990599906999079990899909999109991199912999139991499915999169991799918999199992099921999229992399924999259992699927999289992999930999319993299933999349993599936999379993899939999409994199942999439994499945999469994799948999499995099951999529995399954999559995699957999589995999960999619996299963999649996599966999679996899969999709997199972999739997499975999769997799978999799998099981999829998399984999859998699987999889998999990999919999299993999949999599996999979999899999100000100001100002100003100004100005100006100007100008100009100010100011100012100013100014100015100016100017100018100019100020100021100022100023100024100025100026100027100028100029100030100031100032100033100034100035100036100037100038100039100040100041100042100043100044100045100046100047100048100049100050100051100052100053100054100055100056100057100058100059100060100061100062100063100064100065100066100067100068100069100070100071100072100073100074100075100076100077100078100079100080100081100082100083100084100085100086100087100088100089100090100091100092100093100094100095100096100097100098100099100100100101100102100103100104100105100106100107100108100109100110100111100112100113100114100115100116100117100118100119100120100121100122100123100124100125100126100127100128100129100130100131100132100133100134100135100136100137100138100139100140100141100142100143100144100145100146100147100148100149100150100151100152100153100154100155100156100157100158100159100160100161100162100163100164100165100166100167100168100169100170100171100172100173100174100175100176100177100178100179100180100181100182100183100184100185100186100187100188100189100190100191100192100193100194100195100196100197100198100199100200100201100202100203100204100205100206100207100208100209100210100211100212100213100214100215100216100217100218100219100220100221100222100223100224100225100226100227100228100229100230100231100232100233100234100235100236100237100238100239100240100241100242100243100244100245100246100247100248100249100250100251100252100253100254100255100256100257100258100259100260100261100262100263100264100265100266100267100268100269100270100271100272100273100274100275100276100277100278100279100280100281100282100283100284100285100286100287100288100289100290100291100292100293100294100295100296100297100298100299100300100301100302100303100304100305100306100307100308100309100310100311100312100313100314100315100316100317100318100319100320100321100322100323100324100325100326100327100328100329100330100331100332100333100334100335100336100337100338100339100340100341100342100343100344100345100346100347100348100349100350100351100352100353100354100355100356100357100358100359100360100361100362100363100364100365100366100367100368100369100370100371100372100373100374100375100376100377100378100379100380100381100382100383100384100385100386100387100388100389100390100391100392100393100394100395100396100397100398100399100400100401100402100403100404100405100406100407100408100409100410100411100412100413100414100415100416100417100418100419100420100421100422100423100424100425100426100427100428100429100430100431100432100433100434100435100436100437100438100439100440100441100442100443100444100445100446100447100448100449100450100451100452100453100454100455100456100457100458100459100460100461100462100463100464100465100466100467100468100469100470100471100472100473100474100475100476100477100478100479100480100481100482100483100484100485100486100487100488100489100490100491100492100493100494100495100496100497100498100499100500100501100502100503100504100505100506100507100508100509100510100511100512100513100514100515100516100517100518100519100520100521100522100523100524100525100526100527100528100529100530100531100532100533100534100535100536100537100538100539100540100541100542100543100544100545100546100547100548100549100550100551100552100553100554100555100556100557100558100559100560100561100562100563100564100565100566100567100568100569100570100571100572100573100574100575100576100577100578100579100580100581100582100583100584100585100586100587100588100589100590100591100592100593100594100595100596100597100598100599100600100601100602100603100604100605100606100607100608100609100610100611100612100613100614100615100616100617100618100619100620100621100622100623100624100625100626100627100628100629100630100631100632100633100634100635100636100637100638100639100640100641100642100643100644100645100646100647100648100649100650100651100652100653100654100655100656100657100658100659100660100661100662100663100664100665100666100667100668100669100670100671100672100673100674100675100676100677100678100679100680100681100682100683100684100685100686100687100688100689100690100691100692100693100694100695100696100697100698100699100700100701100702100703100704100705100706100707100708100709100710100711100712100713100714100715100716100717100718100719100720100721100722100723100724100725100726100727100728100729100730100731100732100733100734100735100736100737100738100739100740100741100742100743100744100745100746100747100748100749100750100751100752100753100754100755100756100757100758100759100760100761100762100763100764100765100766100767100768100769100770100771100772100773100774100775100776100777100778100779100780100781100782100783100784100785100786100787100788100789100790100791100792100793100794100795100796100797100798100799100800100801100802100803100804100805100806100807100808100809100810100811100812100813100814100815100816100817100818100819100820100821100822100823100824100825100826100827100828100829100830100831100832100833100834100835100836100837100838100839100840100841100842100843100844100845100846100847100848100849100850100851100852100853100854100855100856100857100858100859100860100861100862100863100864100865100866100867100868100869100870100871100872100873100874100875100876100877100878100879100880100881100882100883100884100885100886100887100888100889100890100891100892100893100894100895100896100897100898100899100900100901100902100903100904100905100906100907100908100909100910100911100912100913100914100915100916100917100918100919100920100921100922100923100924100925100926100927100928100929100930100931100932100933100934100935100936100937100938100939100940100941100942100943100944100945100946100947100948100949100950100951100952100953100954100955100956100957100958100959100960100961100962100963100964100965100966100967100968100969100970100971100972100973100974100975100976100977100978100979100980100981100982100983100984100985100986100987100988100989100990100991100992100993100994100995100996100997100998100999101000101001101002101003101004101005101006101007101008101009101010101011101012101013101014101015101016101017101018101019101020101021101022101023101024101025101026101027101028101029101030101031101032101033101034101035101036101037101038101039101040101041101042101043101044101045101046101047101048101049101050101051101052101053101054101055101056101057101058101059101060101061101062101063101064101065101066101067101068101069101070101071101072101073101074101075101076101077101078101079101080101081101082101083101084101085101086101087101088101089101090101091101092101093101094101095101096101097101098101099101100101101101102101103101104101105101106101107101108101109101110101111101112101113101114101115101116101117101118101119101120101121101122101123101124101125101126101127101128101129101130101131101132101133101134101135101136101137101138101139101140101141101142101143101144101145101146101147101148101149101150101151101152101153101154101155101156101157101158101159101160101161101162101163101164101165101166101167101168101169101170101171101172101173101174101175101176101177101178101179101180101181101182101183101184101185101186101187101188101189101190101191101192101193101194101195101196101197101198101199101200101201101202101203101204101205101206101207101208101209101210101211101212101213101214101215101216101217101218101219101220101221101222101223101224101225101226101227101228101229101230101231101232101233101234101235101236101237101238101239101240101241101242101243101244101245101246101247101248101249101250101251101252101253101254101255101256101257101258101259101260101261101262101263101264101265101266101267101268101269101270101271101272101273101274101275101276101277101278101279101280101281101282101283101284101285101286101287101288101289101290101291101292101293101294101295101296101297101298101299101300101301101302101303101304101305101306101307101308101309101310101311101312101313101314101315101316101317101318101319101320101321101322101323101324101325101326101327101328101329101330101331101332101333101334101335101336101337101338101339101340101341101342101343101344101345101346101347101348101349101350101351101352101353101354101355101356101357101358101359101360101361101362101363101364101365101366101367101368101369101370101371101372101373101374101375101376101377101378101379101380101381101382101383101384101385101386101387101388101389101390101391101392101393101394101395101396101397101398101399101400101401101402101403101404101405101406101407101408101409101410101411101412101413101414101415101416101417101418101419101420101421101422101423101424101425101426101427101428101429101430101431101432101433101434101435101436101437101438101439101440101441101442101443101444101445101446101447101448101449101450101451101452101453101454101455101456101457101458101459101460101461101462101463101464101465101466101467101468101469101470101471101472101473101474101475101476101477101478101479101480101481101482101483101484101485101486101487101488101489101490101491101492101493101494101495101496101497101498101499101500101501101502101503101504101505101506101507101508101509101510101511101512101513101514101515101516101517101518101519101520101521101522101523101524101525101526101527101528101529101530101531101532101533101534101535101536101537101538101539101540101541101542101543101544101545101546101547101548101549101550101551101552101553101554101555101556101557101558101559101560101561101562101563101564101565101566101567101568101569101570101571101572101573101574101575101576101577101578101579101580101581101582101583101584101585101586101587101588101589101590101591101592101593101594101595101596101597101598101599101600101601101602101603101604101605101606101607101608101609101610101611101612101613101614101615101616101617101618101619101620101621101622101623101624101625101626101627101628101629101630101631101632101633101634101635101636101637101638101639101640101641101642101643101644101645101646101647101648101649101650101651101652101653101654101655101656101657101658101659101660101661101662101663101664101665101666101667101668101669101670101671101672101673101674101675101676101677101678101679101680101681101682101683101684101685101686101687101688101689101690101691101692101693101694101695101696101697101698101699101700101701101702101703101704101705101706101707101708101709101710101711101712101713101714101715101716101717101718101719101720101721101722101723101724101725101726101727101728101729101730101731101732101733101734101735101736101737101738101739101740101741101742101743101744101745101746101747101748101749101750101751101752101753101754101755101756101757101758101759101760101761101762101763101764101765101766101767101768101769101770101771101772101773101774101775101776101777101778101779101780101781101782101783101784101785101786101787101788101789101790101791101792101793101794101795101796101797101798101799101800101801101802101803101804101805101806101807101808101809101810101811101812101813101814101815101816101817101818101819101820101821101822101823101824101825101826101827101828101829101830101831101832101833101834101835101836101837101838101839101840101841101842101843101844101845101846101847101848101849101850101851101852101853101854101855101856101857101858101859101860101861101862101863101864101865101866101867101868101869101870101871101872101873101874101875101876101877101878101879101880101881101882101883101884101885101886101887101888101889101890101891101892101893101894101895101896101897101898101899101900101901101902101903101904101905101906101907101908101909101910101911101912101913101914101915101916101917101918101919101920101921101922101923101924101925101926101927101928101929101930101931101932101933101934101935101936101937101938101939101940101941101942101943101944101945101946101947101948101949101950101951101952101953101954101955101956101957101958101959101960101961101962101963101964101965101966101967101968101969101970101971101972101973101974101975101976101977101978101979101980101981101982101983101984101985101986101987101988101989101990101991101992101993101994101995101996101997101998101999102000102001102002102003102004102005102006102007102008102009102010102011102012102013102014102015102016102017102018102019102020102021102022102023102024102025102026102027102028102029102030102031102032102033102034102035102036102037102038102039102040102041102042102043102044102045102046102047102048102049102050102051102052102053102054102055102056102057102058102059102060102061102062102063102064102065102066102067102068102069102070102071102072102073102074102075102076102077102078102079102080102081102082102083102084102085102086102087102088102089102090102091102092102093102094102095102096102097102098102099102100102101102102102103102104102105102106102107102108102109102110102111102112102113102114102115102116102117102118102119102120102121102122102123102124102125102126102127102128102129102130102131102132102133102134102135102136102137102138102139102140102141102142102143102144102145102146102147102148102149102150102151102152102153102154102155102156102157102158102159102160102161102162102163102164102165102166102167102168102169102170102171102172102173102174102175102176102177102178102179102180102181102182102183102184102185102186102187102188102189102190102191102192102193102194102195102196102197102198102199102200102201102202102203102204102205102206102207102208102209102210102211102212102213102214102215102216102217102218102219102220102221102222102223102224102225102226102227102228102229102230102231102232102233102234102235102236102237102238102239102240102241102242102243102244102245102246102247102248102249102250102251102252102253102254102255102256102257102258102259102260102261102262102263102264102265102266102267102268102269102270102271102272102273102274102275102276102277102278102279102280102281102282102283102284102285102286102287102288102289102290102291102292102293102294102295102296102297102298102299102300102301102302102303102304102305102306102307102308102309102310102311102312102313102314102315102316102317102318102319102320102321102322102323102324102325102326102327102328102329102330102331102332102333102334102335102336102337102338102339102340102341102342102343102344102345102346102347102348102349102350102351102352102353102354102355102356102357102358102359102360102361102362102363102364102365102366102367102368102369102370102371102372102373102374102375102376102377102378102379102380102381102382102383102384102385102386102387102388102389102390102391102392102393102394102395102396102397102398102399102400102401102402102403102404102405102406102407102408102409102410102411102412102413102414102415102416102417102418102419102420102421102422102423102424102425102426102427102428102429102430102431102432102433102434102435102436102437102438102439102440102441102442102443102444102445102446102447102448102449102450102451102452102453102454102455102456102457102458102459102460102461102462102463102464102465102466102467102468102469102470102471102472102473102474102475102476102477102478102479102480102481102482102483102484102485102486102487102488102489102490102491102492102493102494102495102496102497102498102499102500102501102502102503102504102505102506102507102508102509102510102511102512102513102514102515102516102517102518102519102520102521102522102523102524102525102526102527102528102529102530102531102532102533102534102535102536102537102538102539102540102541102542102543102544102545102546102547102548102549102550102551102552102553102554102555102556102557102558102559102560102561102562102563102564102565102566102567102568102569102570102571102572102573102574102575102576102577102578102579102580102581102582102583102584102585102586102587102588102589102590102591102592102593102594102595102596102597102598102599102600102601102602102603102604102605102606102607102608102609102610102611102612102613102614102615102616102617102618102619102620102621102622102623102624102625102626102627102628102629102630102631102632102633102634102635102636102637102638102639102640102641102642102643102644102645102646102647102648102649102650102651102652102653102654102655102656102657102658102659102660102661102662102663102664102665102666102667102668102669102670102671102672102673102674102675102676102677102678102679102680102681102682102683102684102685102686102687102688102689102690102691102692102693102694102695102696102697102698102699102700102701102702102703102704102705102706102707102708102709102710102711102712102713102714102715102716102717102718102719102720102721102722102723102724102725102726102727102728102729102730102731102732102733102734102735102736102737102738102739102740102741102742102743102744102745102746102747102748102749102750102751102752102753102754102755102756102757102758102759102760102761102762102763102764102765102766102767102768102769102770102771102772102773102774102775102776102777102778102779102780102781102782102783102784102785102786102787102788102789102790102791102792102793102794102795102796102797102798102799102800102801102802102803102804102805102806102807102808102809102810102811102812102813102814102815102816102817102818102819102820102821102822102823102824102825102826102827102828102829102830102831102832102833102834102835102836102837102838102839102840102841102842102843102844102845102846102847102848102849102850102851102852102853102854102855102856102857102858102859102860102861102862102863102864102865102866102867102868102869102870102871102872102873102874102875102876102877102878102879102880102881102882102883102884102885102886102887102888102889102890102891102892102893102894102895102896102897102898102899102900102901102902102903102904102905102906102907102908102909102910102911102912102913102914102915102916102917102918102919102920102921102922102923102924102925102926102927102928102929102930102931102932102933102934102935102936102937102938102939102940102941102942102943102944102945102946102947102948102949102950102951102952102953102954102955102956102957102958102959102960102961102962102963102964102965102966102967102968102969102970102971102972102973102974102975102976102977102978102979102980102981102982102983102984102985102986102987102988102989102990102991102992102993102994102995102996102997102998102999103000103001103002103003103004103005103006103007103008103009103010103011103012103013103014103015103016103017103018103019103020103021103022103023103024103025103026103027103028103029103030103031103032103033103034103035103036103037103038103039103040103041103042103043103044103045103046103047103048103049103050103051103052103053103054103055103056103057103058103059103060103061103062103063103064103065103066103067103068103069103070103071103072103073103074103075103076103077103078103079103080103081103082103083103084103085103086103087103088103089103090103091103092103093103094103095103096103097103098103099103100103101103102103103103104103105103106103107103108103109103110103111103112103113103114103115103116103117103118103119103120103121103122103123103124103125103126103127103128103129103130103131103132103133103134103135103136103137103138103139103140103141103142103143103144103145103146103147103148103149103150103151103152103153103154103155103156103157103158103159103160103161103162103163103164103165103166103167103168103169103170103171103172103173103174103175103176103177103178103179103180103181103182103183103184103185103186103187103188103189103190103191103192103193103194103195103196103197103198103199103200103201103202103203103204103205103206103207103208103209103210103211103212103213103214103215103216103217103218103219103220103221103222103223103224103225103226103227103228103229103230103231103232103233103234103235103236103237103238103239103240103241103242103243103244103245103246103247103248103249103250103251103252103253103254103255103256103257103258103259103260103261103262103263103264103265103266103267103268103269103270103271103272103273103274103275103276103277103278103279103280103281103282103283103284103285103286103287103288103289103290103291103292103293103294103295103296103297103298103299103300103301103302103303103304103305103306103307103308103309103310103311103312103313103314103315103316103317103318103319103320103321103322103323103324103325103326103327103328103329103330103331103332103333103334103335103336103337103338103339103340103341103342103343103344103345103346103347103348103349103350103351103352103353103354103355103356103357103358103359103360103361103362103363103364103365103366103367103368103369103370103371103372103373103374103375103376103377103378103379103380103381103382103383103384103385103386103387103388103389103390103391103392103393103394103395103396103397103398103399103400103401103402103403103404103405103406103407103408103409103410103411103412103413103414103415103416103417103418103419103420103421103422103423103424103425103426103427103428103429103430103431103432103433103434103435103436103437103438103439103440103441103442103443103444103445103446103447103448103449103450103451103452103453103454103455103456103457103458103459103460103461103462103463103464103465103466103467103468103469103470103471103472103473103474103475103476103477103478103479103480103481103482103483103484103485103486103487103488103489103490103491103492103493103494103495103496103497103498103499103500103501103502103503103504103505103506103507103508103509103510103511103512103513103514103515103516103517103518103519103520103521103522103523103524103525103526103527103528103529103530103531103532103533103534103535103536103537103538103539103540103541103542103543103544103545103546103547103548103549103550103551103552103553103554103555103556103557103558103559103560103561103562103563103564103565103566103567103568103569103570103571103572103573103574103575103576103577103578103579103580103581103582103583103584103585103586103587103588103589103590103591103592103593103594103595103596103597103598103599103600103601103602103603103604103605103606103607103608103609103610103611103612103613103614103615103616103617103618103619103620103621103622103623103624103625103626103627103628103629103630103631103632103633103634103635103636103637103638103639103640103641103642103643103644103645103646103647103648103649103650103651103652103653103654103655103656103657103658103659103660103661103662103663103664103665103666103667103668103669103670103671103672103673103674103675103676103677103678103679103680103681103682103683103684103685103686103687103688103689103690103691103692103693103694103695103696103697103698103699103700103701103702103703103704103705103706103707103708103709103710103711103712103713103714103715103716103717103718103719103720103721103722103723103724103725103726103727103728103729103730103731103732103733103734103735103736103737103738103739103740103741103742103743103744103745103746103747103748103749103750103751103752103753103754103755103756103757103758103759103760103761103762103763103764103765103766103767103768103769103770103771103772103773103774103775103776103777103778103779103780103781103782103783103784103785103786103787103788103789103790103791103792103793103794103795103796103797103798103799103800103801103802103803103804103805103806103807103808103809103810103811103812103813103814103815103816103817103818103819103820103821103822103823103824103825103826103827103828103829103830103831103832103833103834103835103836103837103838103839103840103841103842103843103844103845103846103847103848103849103850103851103852103853103854103855103856103857103858103859103860103861103862103863103864103865103866103867103868103869103870103871103872103873103874103875103876103877103878103879103880103881103882103883103884103885103886103887103888103889103890103891103892103893103894103895103896103897103898103899103900103901103902103903103904103905103906103907103908103909103910103911103912103913103914103915103916103917103918103919103920103921103922103923103924103925103926103927103928103929103930103931103932103933103934103935103936103937103938103939103940103941103942103943103944103945103946103947103948103949103950103951103952103953103954103955103956103957103958103959103960103961103962103963103964103965103966103967103968103969103970103971103972103973103974103975103976103977103978103979103980103981103982103983103984103985103986103987103988103989103990103991103992103993103994103995103996103997103998103999104000104001104002104003104004104005104006104007104008104009104010104011104012104013104014104015104016104017104018104019104020104021104022104023104024104025104026104027104028104029104030104031104032104033104034104035104036104037104038104039104040104041104042104043104044104045104046104047104048104049104050104051104052104053104054104055104056104057104058104059104060104061104062104063104064104065104066104067104068104069104070104071104072104073104074104075104076104077104078104079104080104081104082104083104084104085104086104087104088104089104090104091104092104093104094104095104096104097104098104099104100104101104102104103104104104105104106104107104108104109104110104111104112104113104114104115104116104117104118104119104120104121104122104123104124104125104126104127104128104129104130104131104132104133104134104135104136104137104138104139104140104141104142104143104144104145104146104147104148104149104150104151104152104153104154104155104156104157104158104159104160104161104162104163104164104165104166104167104168104169104170104171104172104173104174104175104176104177104178104179104180104181104182104183104184104185104186104187104188104189104190104191104192104193104194104195104196104197104198104199104200104201104202104203104204104205104206104207104208104209104210104211104212104213104214104215104216104217104218104219104220104221104222104223104224104225104226104227104228104229104230104231104232104233104234104235104236104237104238104239104240104241104242104243104244104245104246104247104248104249104250104251104252104253104254104255104256104257104258104259104260104261104262104263104264104265104266104267104268104269104270104271104272104273104274104275104276104277104278104279104280104281104282104283104284104285104286104287104288104289104290104291104292104293104294104295104296104297104298104299104300104301104302104303104304104305104306104307104308104309104310104311104312104313104314104315104316104317104318104319104320104321104322104323104324104325104326104327104328104329104330104331104332104333104334104335104336104337104338104339104340104341104342104343104344104345104346104347104348104349104350104351104352104353104354104355104356104357104358104359104360104361104362104363104364104365104366104367104368104369104370104371104372104373104374104375104376104377104378104379104380104381104382104383104384104385104386104387104388104389104390104391104392104393104394104395104396104397104398104399104400104401104402104403104404104405104406104407104408104409104410104411104412104413104414104415104416104417104418104419104420104421104422104423104424104425104426104427104428104429104430104431104432104433104434104435104436104437104438104439104440104441104442104443104444104445104446104447104448104449104450104451104452104453104454104455104456104457104458104459104460104461104462104463104464104465104466104467104468104469104470104471104472104473104474104475104476104477104478104479104480104481104482104483104484104485104486104487104488104489104490104491104492104493104494104495104496104497104498104499104500104501104502104503104504104505104506104507104508104509104510104511104512104513104514104515104516104517104518104519104520104521104522104523104524104525104526104527104528104529104530104531104532104533104534104535104536104537104538104539104540104541104542104543104544104545104546104547104548104549104550104551104552104553104554104555104556104557104558104559104560104561104562104563104564104565104566104567104568104569104570104571104572104573104574104575104576104577104578104579104580104581104582104583104584104585104586104587104588104589104590104591104592104593104594104595104596104597104598104599104600104601104602104603104604104605104606104607104608104609104610104611104612104613104614104615104616104617104618104619104620104621104622104623104624104625104626104627104628104629104630104631104632104633104634104635104636104637104638104639104640104641104642104643104644104645104646104647104648104649104650104651104652104653104654104655104656104657104658104659104660104661104662104663104664104665104666104667104668104669104670104671104672104673104674104675104676104677104678104679104680104681104682104683104684104685104686104687104688104689104690104691104692104693104694104695104696104697104698104699104700104701104702104703104704104705104706104707104708104709104710104711104712104713104714104715104716104717104718104719104720104721104722104723104724104725104726104727104728104729104730104731104732104733104734104735104736104737104738104739104740104741104742104743104744104745104746104747104748104749104750104751104752104753104754104755104756104757104758104759104760104761104762104763104764104765104766104767104768104769104770104771104772104773104774104775104776104777104778104779104780104781104782104783104784104785104786104787104788104789104790104791104792104793104794104795104796104797104798104799104800104801104802104803104804104805104806104807104808104809104810104811104812104813104814104815104816104817104818104819104820104821104822104823104824104825104826104827104828104829104830104831104832104833104834104835104836104837104838104839104840104841104842104843104844104845104846104847104848104849104850104851104852104853104854104855104856104857104858104859104860104861104862104863104864104865104866104867104868104869104870104871104872104873104874104875104876104877104878104879104880104881104882104883104884104885104886104887104888104889104890104891104892104893104894104895104896104897104898104899104900104901104902104903104904104905104906104907104908104909104910104911104912104913104914104915104916104917104918104919104920104921104922104923104924104925104926104927104928104929104930104931104932104933104934104935104936104937104938104939104940104941104942104943104944104945104946104947104948104949104950104951104952104953104954104955104956104957104958104959104960104961104962104963104964104965104966104967104968104969104970104971104972104973104974104975104976104977104978104979104980104981104982104983104984104985104986104987104988104989104990104991104992104993104994104995104996104997104998104999105000105001105002105003105004105005105006105007105008105009105010105011105012105013105014105015105016105017105018105019105020105021105022105023105024105025105026105027105028105029105030105031105032105033105034105035105036105037105038105039105040105041105042105043105044105045105046105047105048105049105050105051105052105053105054105055105056105057105058105059105060105061105062105063105064105065105066105067105068105069105070105071105072105073105074105075105076105077105078105079105080105081105082105083105084105085105086105087105088105089105090105091105092105093105094105095105096105097105098105099105100105101105102105103105104105105105106105107105108105109105110105111105112105113105114105115105116105117105118105119105120105121105122105123105124105125105126105127105128105129105130105131105132105133105134105135105136105137105138105139105140105141105142105143105144105145105146105147105148105149105150105151105152105153105154105155105156105157105158105159105160105161105162105163105164105165105166105167105168105169105170105171105172105173105174105175105176105177105178105179105180105181105182105183105184105185105186105187105188105189105190105191105192105193105194105195105196105197105198105199105200105201105202105203105204105205105206105207105208105209105210105211105212105213105214105215105216105217105218105219105220105221105222105223105224105225105226105227105228105229105230105231105232105233105234105235105236105237105238105239105240105241105242105243105244105245105246105247105248105249105250105251105252105253105254105255105256105257105258105259105260105261105262105263105264105265105266105267105268105269105270105271105272105273105274105275105276105277105278105279105280105281105282105283105284105285105286105287105288105289105290105291105292105293105294105295105296105297105298105299105300105301105302105303105304105305105306105307105308105309105310105311105312105313105314105315105316105317105318105319105320105321105322105323105324105325105326105327105328105329105330105331105332105333105334105335105336105337105338105339105340105341105342105343105344105345105346105347105348105349105350105351105352105353105354105355105356105357105358105359105360105361105362105363105364105365105366105367105368105369105370105371105372105373105374105375105376105377105378105379105380105381105382105383105384105385105386105387105388105389105390105391105392105393105394105395105396105397105398105399105400105401105402105403105404105405105406105407105408105409105410105411105412105413105414105415105416105417105418105419105420105421105422105423105424105425105426105427105428105429105430105431105432105433105434105435105436105437105438105439105440105441105442105443105444105445105446105447105448105449105450105451105452105453105454105455105456105457105458105459105460105461105462105463105464105465105466105467105468105469105470105471105472105473105474105475105476105477105478105479105480105481105482105483105484105485105486105487105488105489105490105491105492105493105494105495105496105497105498105499105500105501105502105503105504105505105506105507105508105509105510105511105512105513105514105515105516105517105518105519105520105521105522105523105524105525105526105527105528105529105530105531105532105533105534105535105536105537105538105539105540105541105542105543105544105545105546105547105548105549105550105551105552105553105554105555105556105557105558105559105560105561105562105563105564105565105566105567105568105569105570105571105572105573105574105575105576105577105578105579105580105581105582105583105584105585105586105587105588105589105590105591105592105593105594105595105596105597105598105599105600105601105602105603105604105605105606105607105608105609105610105611105612105613105614105615105616105617105618105619105620105621105622105623105624105625105626105627105628105629105630105631105632105633105634105635105636105637105638105639105640105641105642105643105644105645105646105647105648105649105650105651105652105653105654105655105656105657105658105659105660105661105662105663105664105665105666105667105668105669105670105671105672105673105674105675105676105677105678105679105680105681105682105683105684105685105686105687105688105689105690105691105692105693105694105695105696105697105698105699105700105701105702105703105704105705105706105707105708105709105710105711105712105713105714105715105716105717105718105719105720105721105722105723105724105725105726105727105728105729105730105731105732105733105734105735105736105737105738105739105740105741105742105743105744105745105746105747105748105749105750105751105752105753105754105755105756105757105758105759105760105761105762105763105764105765105766105767105768105769105770105771105772105773105774105775105776105777105778105779105780105781105782105783105784105785105786105787105788105789105790105791105792105793105794105795105796105797105798105799105800105801105802105803105804105805105806105807105808105809105810105811105812105813105814105815105816105817105818105819105820105821105822105823105824105825105826105827105828105829105830105831105832105833105834105835105836105837105838105839105840105841105842105843105844105845105846105847105848105849105850105851105852105853105854105855105856105857105858105859105860105861105862105863105864105865105866105867105868105869105870105871105872105873105874105875105876105877105878105879105880105881105882105883105884105885105886105887105888105889105890105891105892105893105894105895105896105897105898105899105900105901105902105903105904105905105906105907105908105909105910105911105912105913105914105915105916105917105918105919105920105921105922105923105924105925105926105927105928105929105930105931105932105933105934105935105936105937105938105939105940105941105942105943105944105945105946105947105948105949105950105951105952105953105954105955105956105957105958105959105960105961105962105963105964105965105966105967105968105969105970105971105972105973105974105975105976105977105978105979105980105981105982105983105984105985105986105987105988105989105990105991105992105993105994105995105996105997105998105999106000106001106002106003106004106005106006106007106008106009106010106011106012106013106014106015106016106017106018106019106020106021106022106023106024106025106026106027106028106029106030106031106032106033106034106035106036106037106038106039106040106041106042106043106044106045106046106047106048106049106050106051106052106053106054106055106056106057106058106059106060106061106062106063106064106065106066106067106068106069106070106071106072106073106074106075106076106077106078106079106080106081106082106083106084106085106086106087106088106089106090106091106092106093106094106095106096106097106098106099106100106101106102106103106104106105106106106107106108106109106110106111106112106113106114106115106116106117106118106119106120106121106122106123106124106125106126106127106128106129106130106131106132106133106134106135106136106137106138106139106140106141106142106143106144106145106146106147106148106149106150106151106152106153106154106155106156106157106158106159106160106161106162106163106164106165106166106167106168106169106170106171106172106173106174106175106176106177106178106179106180106181106182106183106184106185106186106187106188106189106190106191106192106193106194106195106196106197106198106199106200106201106202106203106204106205106206106207106208106209106210106211106212106213106214106215106216106217106218106219106220106221106222106223106224106225106226106227106228106229106230106231106232106233106234106235106236106237106238106239106240106241106242106243106244106245106246106247106248106249106250106251106252106253106254106255106256106257106258106259106260106261106262106263106264106265106266106267106268106269106270106271106272106273106274106275106276106277106278106279106280106281106282106283106284106285106286106287106288106289106290106291106292106293106294106295106296106297106298106299106300106301106302106303106304106305106306106307106308106309106310106311106312106313106314106315106316106317106318106319106320106321106322106323106324106325106326106327106328106329106330106331106332106333106334106335106336106337106338106339106340106341106342106343106344106345106346106347106348106349106350106351106352106353106354106355106356106357106358106359106360106361106362106363106364106365106366106367106368106369106370106371106372106373106374106375106376106377106378106379106380106381106382106383106384106385106386106387106388106389106390106391106392106393106394106395106396106397106398106399106400106401106402106403106404106405106406106407106408106409106410106411106412106413106414106415106416106417106418106419106420106421106422106423106424106425106426106427106428106429106430106431106432106433106434106435106436106437106438106439106440106441106442106443106444106445106446106447106448106449106450106451106452106453106454106455106456106457106458106459106460106461106462106463106464106465106466106467106468106469106470106471106472106473106474106475106476106477106478106479106480106481106482106483106484106485106486106487106488106489106490106491106492106493106494106495106496106497106498106499106500106501106502106503106504106505106506106507106508106509106510106511106512106513106514106515106516106517106518106519106520106521106522106523106524106525106526106527106528106529106530106531106532106533106534106535106536106537106538106539106540106541106542106543106544106545106546106547106548106549106550106551106552106553106554106555106556106557106558106559106560106561106562106563106564106565106566106567106568106569106570106571106572106573106574106575106576106577106578106579106580106581106582106583106584106585106586106587106588106589106590106591106592106593106594106595106596106597106598106599106600106601106602106603106604106605106606106607106608106609106610106611106612106613106614106615106616106617106618106619106620106621106622106623106624106625106626106627106628106629106630106631106632106633106634106635106636106637106638106639106640106641106642106643106644106645106646106647106648106649106650106651106652106653106654106655106656106657106658106659106660106661106662106663106664106665106666106667106668106669106670106671106672106673106674106675106676106677106678106679106680106681106682106683106684106685106686106687106688106689106690106691106692106693106694106695106696106697106698106699106700106701106702106703106704106705106706106707106708106709106710106711106712106713106714106715106716106717106718106719106720106721106722106723106724106725106726106727106728106729106730106731106732106733106734106735106736106737106738106739106740106741106742106743106744106745106746106747106748106749106750106751106752106753106754106755106756106757106758106759106760106761106762106763106764106765106766106767106768106769106770106771106772106773106774106775106776106777106778106779106780106781106782106783106784106785106786106787106788106789106790106791106792106793106794106795106796106797106798106799106800106801106802106803106804106805106806106807106808106809106810106811106812106813106814106815106816106817106818106819106820106821106822106823106824106825106826106827106828106829106830106831106832106833106834106835106836106837106838106839106840106841106842106843106844106845106846106847106848106849106850106851106852106853106854106855106856106857106858106859106860106861106862106863106864106865106866106867106868106869106870106871106872106873106874106875106876106877106878106879106880106881106882106883106884106885106886106887106888106889106890106891106892106893106894106895106896106897106898106899106900106901106902106903106904106905106906106907106908106909106910106911106912106913106914106915106916106917106918106919106920106921106922106923106924106925106926106927106928106929106930106931106932106933106934106935106936106937106938106939106940106941106942106943106944106945106946106947106948106949106950106951106952106953106954106955106956106957106958106959106960106961106962106963106964106965106966106967106968106969106970106971106972106973106974106975106976106977106978106979106980106981106982106983106984106985106986106987106988106989106990106991106992106993106994106995106996106997106998106999107000107001107002107003107004107005107006107007107008107009107010107011107012107013107014107015107016107017107018107019107020107021107022107023107024107025107026107027107028107029107030107031107032107033107034107035107036107037107038107039107040107041107042107043107044107045107046107047107048107049107050107051107052107053107054107055107056107057107058107059107060107061107062107063107064107065107066107067107068107069107070107071107072107073107074107075107076107077107078107079107080107081107082107083107084107085107086107087107088107089107090107091107092107093107094107095107096107097107098107099107100107101107102107103107104107105107106107107107108107109107110107111107112107113107114107115107116107117107118107119107120107121107122107123107124107125107126107127107128107129107130107131107132107133107134107135107136107137107138107139107140107141107142107143107144107145107146107147107148107149107150107151107152107153107154107155107156107157107158107159107160107161107162107163107164107165107166107167107168107169107170107171107172107173107174107175107176107177107178107179107180107181107182107183107184107185107186107187107188107189107190107191107192107193107194107195107196107197107198107199107200107201107202107203107204107205107206107207107208107209107210107211107212107213107214107215107216107217107218107219107220107221107222107223107224107225107226107227107228107229107230107231107232107233107234107235107236107237107238107239107240107241107242107243107244107245107246107247107248107249107250107251107252107253107254107255107256107257107258107259107260107261107262107263107264107265107266107267107268107269107270107271107272107273107274107275107276107277107278107279107280107281107282107283107284107285107286107287107288107289107290107291107292107293107294107295107296107297107298107299107300107301107302107303107304107305107306107307107308107309107310107311107312107313107314107315107316107317107318107319107320107321107322107323107324107325107326107327107328107329107330107331107332107333107334107335107336107337107338107339107340107341107342107343107344107345107346107347107348107349107350107351107352107353107354107355107356107357107358107359107360107361107362107363107364107365107366107367107368107369107370107371107372107373107374107375107376107377107378107379107380107381107382107383107384107385107386107387107388107389107390107391107392107393107394107395107396107397107398107399107400107401107402107403107404107405107406107407107408107409107410107411107412107413107414107415107416107417107418107419107420107421107422107423107424107425107426107427107428107429107430107431107432107433107434107435107436107437107438107439107440107441107442107443107444107445107446107447107448107449107450107451107452107453107454107455107456107457107458107459107460107461107462107463107464107465107466107467107468107469107470107471107472107473107474107475107476107477107478107479107480107481107482107483107484107485107486107487107488107489107490107491107492107493107494107495107496107497107498107499107500107501107502107503107504107505107506107507107508107509107510107511107512107513107514107515107516107517107518107519107520107521107522107523107524107525107526107527107528107529107530107531107532107533107534107535107536107537107538107539107540107541107542107543107544107545107546107547107548107549107550107551107552107553107554107555107556107557107558107559107560107561107562107563107564107565107566107567107568107569107570107571107572107573107574107575107576107577107578107579107580107581107582107583107584107585107586107587107588107589107590107591107592107593107594107595107596107597107598107599107600107601107602107603107604107605107606107607107608107609107610107611107612107613107614107615107616107617107618107619107620107621107622107623107624107625107626107627107628107629107630107631107632107633107634107635107636107637107638107639107640107641107642107643107644107645107646107647107648107649107650107651107652107653107654107655107656107657107658107659107660107661107662107663107664107665107666107667107668107669107670107671107672107673107674107675107676107677107678107679107680107681107682107683107684107685107686107687107688107689107690107691107692107693107694107695107696107697107698107699107700107701107702107703107704107705107706107707107708107709107710107711107712107713107714107715107716107717107718107719107720107721107722107723107724107725107726107727107728107729107730107731107732107733107734107735107736107737107738107739107740107741107742107743107744107745107746107747107748107749107750107751107752107753107754107755107756107757107758107759107760107761107762107763107764107765107766107767107768107769107770107771107772107773107774107775107776107777107778107779107780107781107782107783107784107785107786107787107788107789107790107791107792107793107794107795107796107797107798107799107800107801107802107803107804107805107806107807107808107809107810107811107812107813107814107815107816107817107818107819107820107821107822107823107824107825107826107827107828107829107830107831107832107833107834107835107836107837107838107839107840107841107842107843107844107845107846107847107848107849107850107851107852107853107854107855107856107857107858107859107860107861107862107863107864107865107866107867107868107869107870107871107872107873107874107875107876107877107878107879107880107881107882107883107884107885107886107887107888107889107890107891107892107893107894107895107896107897107898107899107900107901107902107903107904107905107906107907107908107909107910107911107912107913107914107915107916107917107918107919107920107921107922107923107924107925107926107927107928107929107930107931107932107933107934107935107936107937107938107939107940107941107942107943107944107945107946107947107948107949107950107951107952107953107954107955107956107957107958107959107960107961107962107963107964107965107966107967107968107969107970107971107972107973107974107975107976107977107978107979107980107981107982107983107984107985107986107987107988107989107990107991107992107993107994107995107996107997107998107999108000108001108002108003108004108005108006108007108008108009108010108011108012108013108014108015108016108017108018108019108020108021108022108023108024108025108026108027108028108029108030108031108032108033108034108035108036108037108038108039108040108041108042108043108044108045108046108047108048108049108050108051108052108053108054108055108056108057108058108059108060108061108062108063108064108065108066108067108068108069108070108071108072108073108074108075108076108077108078108079108080108081108082108083108084108085108086108087108088108089108090108091108092108093108094108095108096108097108098108099108100108101108102108103108104108105108106108107108108108109108110108111108112108113108114108115108116108117108118108119108120108121108122108123108124108125108126108127108128108129108130108131108132108133108134108135108136108137108138108139108140108141108142108143108144108145108146108147108148108149108150108151108152108153108154108155108156108157108158108159108160108161108162108163108164108165108166108167108168108169108170108171108172108173108174108175108176108177108178108179108180108181108182108183108184108185108186108187108188108189108190108191108192108193108194108195108196108197108198108199108200108201108202108203108204108205108206108207108208108209108210108211108212108213108214108215108216108217108218108219108220108221108222108223108224108225108226108227108228108229108230108231108232108233108234108235108236108237108238108239108240108241108242108243108244108245108246108247108248108249108250108251108252108253108254108255108256108257108258108259108260108261108262108263108264108265108266108267108268108269108270108271108272108273108274108275108276108277108278108279108280108281108282108283108284108285108286108287108288108289108290108291108292108293108294108295108296108297108298108299108300108301108302108303108304108305108306108307108308108309108310108311108312108313108314108315108316108317108318108319108320108321108322108323108324108325108326108327108328108329108330108331108332108333108334108335108336108337108338108339108340108341108342108343108344108345108346108347108348108349108350108351108352108353108354108355108356108357108358108359108360108361108362108363108364108365108366108367108368108369108370108371108372108373108374108375108376108377108378108379108380108381108382108383108384108385108386108387108388108389108390108391108392108393108394108395108396108397108398108399108400108401108402108403108404108405108406108407108408108409108410108411108412108413108414108415108416108417108418108419108420108421108422108423108424108425108426108427108428108429108430108431108432108433108434108435108436108437108438108439108440108441108442108443108444108445108446108447108448108449108450108451108452108453108454108455108456108457108458108459108460108461108462108463108464108465108466108467108468108469108470108471108472108473108474108475108476108477108478108479108480108481108482108483108484108485108486108487108488108489108490108491108492108493108494108495108496108497108498108499108500108501108502108503108504108505108506108507108508108509108510108511108512108513108514108515108516108517108518108519108520108521108522108523108524108525108526108527108528108529108530108531108532108533108534108535108536108537108538108539108540108541108542108543108544108545108546108547108548108549108550108551108552108553108554108555108556108557108558108559108560108561108562108563108564108565108566108567108568108569108570108571108572108573108574108575108576108577108578108579108580108581108582108583108584108585108586108587108588108589108590108591108592108593108594108595108596108597108598108599108600108601108602108603108604108605108606108607108608108609108610108611108612108613108614108615108616108617108618108619108620108621108622108623108624108625108626108627108628108629108630108631108632108633108634108635108636108637108638108639108640108641108642108643108644108645108646108647108648108649108650108651108652108653108654108655108656108657108658108659108660108661108662108663108664108665108666108667108668108669108670108671108672108673108674108675108676108677108678108679108680108681108682108683108684108685108686108687108688108689108690108691108692108693108694108695108696108697108698108699108700108701108702108703108704108705108706108707108708108709108710108711108712108713108714108715108716108717108718108719108720108721108722108723108724108725108726108727108728108729108730108731108732108733108734108735108736108737108738108739108740108741108742108743108744108745108746108747108748108749108750108751108752108753108754108755108756108757108758108759108760108761108762108763108764108765108766108767108768108769108770108771108772108773108774108775108776108777108778108779108780108781108782108783108784108785108786108787108788108789108790108791108792108793108794108795108796108797108798108799108800108801108802108803108804108805108806108807108808108809108810108811108812108813108814108815108816108817108818108819108820108821108822108823108824108825108826108827108828108829108830108831108832108833108834108835108836108837108838108839108840108841108842108843108844108845108846108847108848108849108850108851108852108853108854108855108856108857108858108859108860108861108862108863108864108865108866108867108868108869108870108871108872108873108874108875108876108877108878108879108880108881108882108883108884108885108886108887108888108889108890108891108892108893108894108895108896108897108898108899108900108901108902108903108904108905108906108907108908108909108910108911108912108913108914108915108916108917108918108919108920108921108922108923108924108925108926108927108928108929108930108931108932108933108934108935108936108937108938108939108940108941108942108943108944108945108946108947108948108949108950108951108952108953108954108955108956108957108958108959108960108961108962108963108964108965108966108967108968108969108970108971108972108973108974108975108976108977108978108979108980108981108982108983108984108985108986108987108988108989108990108991108992108993108994108995108996108997108998108999109000109001109002109003109004109005109006109007109008109009109010109011109012109013109014109015109016109017109018109019109020109021109022109023109024109025109026109027109028109029109030109031109032109033109034109035109036109037109038109039109040109041109042109043109044109045109046109047109048109049109050109051109052109053109054109055109056109057109058109059109060109061109062109063109064109065109066109067109068109069109070109071109072109073109074109075109076109077109078109079109080109081109082109083109084109085109086109087109088109089109090109091109092109093109094109095109096109097109098109099109100109101109102109103109104109105109106109107109108109109109110109111109112109113109114109115109116109117109118109119109120109121109122109123109124109125109126109127109128109129109130109131109132109133109134109135109136109137109138109139109140109141109142109143109144109145109146109147109148109149109150109151109152109153109154109155109156109157109158109159109160109161109162109163109164109165109166109167109168109169109170109171109172109173109174109175109176109177109178109179109180109181109182109183109184109185109186109187109188109189109190109191109192109193109194109195109196109197109198109199109200109201109202109203109204109205109206109207109208109209109210109211109212109213109214109215109216109217109218109219109220109221109222109223109224109225109226109227109228109229109230109231109232109233109234109235109236109237109238109239109240109241109242109243109244109245109246109247109248109249109250109251109252109253109254109255109256109257109258109259109260109261109262109263109264109265109266109267109268109269109270109271109272109273109274109275109276109277109278109279109280109281109282109283109284109285109286109287109288109289109290109291109292109293109294109295109296109297109298109299109300109301109302109303109304109305109306109307109308109309109310109311109312109313109314109315109316109317109318109319109320109321109322109323109324109325109326109327109328109329109330109331109332109333109334109335109336109337109338109339109340109341109342109343109344109345109346109347109348109349109350109351109352109353109354109355109356109357109358109359109360109361109362109363109364109365109366109367109368109369109370109371109372109373109374109375109376109377109378109379109380109381109382109383109384109385109386109387109388109389109390109391109392109393109394109395109396109397109398109399109400109401109402109403109404109405109406109407109408109409109410109411109412109413109414109415109416109417109418109419109420109421109422109423109424109425109426109427109428109429109430109431109432109433109434109435109436109437109438109439109440109441109442109443109444109445109446109447109448109449109450109451109452109453109454109455109456109457109458109459109460109461109462109463109464109465109466109467109468109469109470109471109472109473109474109475109476109477109478109479109480109481109482109483109484109485109486109487109488109489109490109491109492109493109494109495109496109497109498109499109500109501109502109503109504109505109506109507109508109509109510109511109512109513109514109515109516109517109518109519109520109521109522109523109524109525109526109527109528109529109530109531109532109533109534109535109536109537109538109539109540109541109542109543109544109545109546109547109548109549109550109551109552109553109554109555109556109557109558109559109560109561109562109563109564109565109566109567109568109569109570109571109572109573109574109575109576109577109578109579109580109581109582109583109584109585109586109587109588109589109590109591109592109593109594109595109596109597109598109599109600109601109602109603109604109605109606109607109608109609109610109611109612109613109614109615109616109617109618109619109620109621109622109623109624109625109626109627109628109629109630109631109632109633109634109635109636109637109638109639109640109641109642109643109644109645109646109647109648109649109650109651109652109653109654109655109656109657109658109659109660109661109662109663109664109665109666109667109668109669109670109671109672109673109674109675109676109677109678109679109680109681109682109683109684109685109686109687109688109689109690109691109692109693109694109695109696109697109698109699109700109701109702109703109704109705109706109707109708109709109710109711109712109713109714109715109716109717109718109719109720109721109722109723109724109725109726109727109728109729109730109731109732109733109734109735109736109737109738109739109740109741109742109743109744109745109746109747109748109749109750109751109752109753109754109755109756109757109758109759109760109761109762109763109764109765109766109767109768109769109770109771109772109773109774109775109776109777109778109779109780109781109782109783109784109785109786109787109788109789109790109791109792109793109794109795109796109797109798109799109800109801109802109803109804109805109806109807109808109809109810109811109812109813109814109815109816109817109818109819109820109821109822109823109824109825109826109827109828109829109830109831109832109833109834109835109836109837109838109839109840109841109842109843109844109845109846109847109848109849109850109851109852109853109854109855109856109857109858109859109860109861109862109863109864109865109866109867109868109869109870109871109872109873109874109875109876109877109878109879109880109881109882109883109884109885109886109887109888109889109890109891109892109893109894109895109896109897109898109899109900109901109902109903109904109905109906109907109908109909109910109911109912109913109914109915109916109917109918109919109920109921109922109923109924109925109926109927109928109929109930109931109932109933109934109935109936109937109938109939109940109941109942109943109944109945109946109947109948109949109950109951109952109953109954109955109956109957109958109959109960109961109962109963109964109965109966109967109968109969109970109971109972109973109974109975109976109977109978109979109980109981109982109983109984109985109986109987109988109989109990109991109992109993109994109995109996109997109998109999110000110001110002110003110004110005110006110007110008110009110010110011110012110013110014110015110016110017110018110019110020110021110022110023110024110025110026110027110028110029110030110031110032110033110034110035110036110037110038110039110040110041110042110043110044110045110046110047110048110049110050110051110052110053110054110055110056110057110058110059110060110061110062110063110064110065110066110067110068110069110070110071110072110073110074110075110076110077110078110079110080110081110082110083110084110085110086110087110088110089110090110091110092110093110094110095110096110097110098110099110100110101110102110103110104110105110106110107110108110109110110110111110112110113110114110115110116110117110118110119110120110121110122110123110124110125110126110127110128110129110130110131110132110133110134110135110136110137110138110139110140110141110142110143110144110145110146110147110148110149110150110151110152110153110154110155110156110157110158110159110160110161110162110163110164110165110166110167110168110169110170110171110172110173110174110175110176110177110178110179110180110181110182110183110184110185110186110187110188110189110190110191110192110193110194110195110196110197110198110199110200110201110202110203110204110205110206110207110208110209110210110211110212110213110214110215110216110217110218110219110220110221110222110223110224110225110226110227110228110229110230110231110232110233110234110235110236110237110238110239110240110241110242110243110244110245110246110247110248110249110250110251110252110253110254110255110256110257110258110259110260110261110262110263110264110265110266110267110268110269110270110271110272110273110274110275110276110277110278110279110280110281110282110283110284110285110286110287110288110289110290110291110292110293110294110295110296110297110298110299110300110301110302110303110304110305110306110307110308110309110310110311110312110313110314110315110316110317110318110319110320110321110322110323110324110325110326110327110328110329110330110331110332110333110334110335110336110337110338110339110340110341110342110343110344110345110346110347110348110349110350110351110352110353110354110355110356110357110358110359110360110361110362110363110364110365110366110367110368110369110370110371110372110373110374110375110376110377110378110379110380110381110382110383110384110385110386110387110388110389110390110391110392110393110394110395110396110397110398110399110400110401110402110403110404110405110406110407110408110409110410110411110412110413110414110415110416110417110418110419110420110421110422110423110424110425110426110427110428110429110430110431110432110433110434110435110436110437110438110439110440110441110442110443110444110445110446110447110448110449110450110451110452110453110454110455110456110457110458110459110460110461110462110463110464110465110466110467110468110469110470110471110472110473110474110475110476110477110478110479110480110481110482110483110484110485110486110487110488110489110490110491110492110493110494110495110496110497110498110499110500110501110502110503110504110505110506110507110508110509110510110511110512110513110514110515110516110517110518110519110520110521110522110523110524110525110526110527110528110529110530110531110532110533110534110535110536110537110538110539110540110541110542110543110544110545110546110547110548110549110550110551110552110553110554110555110556110557110558110559110560110561110562110563110564110565110566110567110568110569110570110571110572110573110574110575110576110577110578110579110580110581110582110583110584110585110586110587110588110589110590110591110592110593110594110595110596110597110598110599110600110601110602110603110604110605110606110607110608110609110610110611110612110613110614110615110616110617110618110619110620110621110622110623110624110625110626110627110628110629110630110631110632110633110634110635110636110637110638110639110640110641110642110643110644110645110646110647110648110649110650110651110652110653110654110655110656110657110658110659110660110661110662110663110664110665110666110667110668110669110670110671110672110673110674110675110676110677110678110679110680110681110682110683110684110685110686110687110688110689110690110691110692110693110694110695110696110697110698110699110700110701110702110703110704110705110706110707110708110709110710110711110712110713110714110715110716110717110718110719110720110721110722110723110724110725110726110727110728110729110730110731110732110733110734110735110736110737110738110739110740110741110742110743110744110745110746110747110748110749110750110751110752110753110754110755110756110757110758110759110760110761110762110763110764110765110766110767110768110769110770110771110772110773110774110775110776110777110778110779110780110781110782110783110784110785110786110787110788110789110790110791110792110793110794110795110796110797110798110799110800110801110802110803110804110805110806110807110808110809110810110811110812110813110814110815110816110817110818110819110820110821110822110823110824110825110826110827110828110829110830110831110832110833110834110835110836110837110838110839110840110841110842110843110844110845110846110847110848110849110850110851110852110853110854110855110856110857110858110859110860110861110862110863110864110865110866110867110868110869110870110871110872110873110874110875110876110877110878110879110880110881110882110883110884110885110886110887110888110889110890110891110892110893110894110895110896110897110898110899110900110901110902110903110904110905110906110907110908110909110910110911110912110913110914110915110916110917110918110919110920110921110922110923110924110925110926110927110928110929110930110931110932110933110934110935110936110937110938110939110940110941110942110943110944110945110946110947110948110949110950110951110952110953110954110955110956110957110958110959110960110961110962110963110964110965110966110967110968110969110970110971110972110973110974110975110976110977110978110979110980110981110982110983110984110985110986110987110988110989110990110991110992110993110994110995110996110997110998110999111000111001111002111003111004111005111006111007111008111009111010111011111012111013111014111015111016111017111018111019111020111021111022111023111024111025111026111027111028111029111030111031111032111033111034111035111036111037111038111039111040111041111042111043111044111045111046111047111048111049111050111051111052111053111054111055111056111057111058111059111060111061111062111063111064111065111066111067111068111069111070111071111072111073111074111075111076111077111078111079111080111081111082111083111084111085111086111087111088111089111090111091111092111093111094111095111096111097111098111099111100111101111102111103111104111105111106111107111108111109111110111111111112111113111114111115111116111117111118111119111120111121111122111123111124111125111126111127111128111129111130111131111132111133111134111135111136111137111138111139111140111141111142111143111144111145111146111147111148111149111150111151111152111153111154111155111156111157111158111159111160111161111162111163111164111165111166111167111168111169111170111171111172111173111174111175111176111177111178111179111180111181111182111183111184111185111186111187111188111189111190111191111192111193111194111195111196111197111198111199111200111201111202111203111204111205111206111207111208111209111210111211111212111213111214111215111216111217111218111219111220111221111222111223111224111225111226111227111228111229111230111231111232111233111234111235111236111237111238111239111240111241111242111243111244111245111246111247111248111249111250111251111252111253111254111255111256111257111258111259111260111261111262111263111264111265111266111267111268111269111270111271111272111273111274111275111276111277111278111279111280111281111282111283111284111285111286111287111288111289111290111291111292111293111294111295111296111297111298111299111300111301111302111303111304111305111306111307111308111309111310111311111312111313111314111315111316111317111318111319111320111321111322111323111324111325111326111327111328111329111330111331111332111333111334111335111336111337111338111339111340111341111342111343111344111345111346111347111348111349111350111351111352111353111354111355111356111357111358111359111360111361111362111363111364111365111366111367111368111369111370111371111372111373111374111375111376111377111378111379111380111381111382111383111384111385111386111387111388111389111390111391111392111393111394111395111396111397111398111399111400111401111402111403111404111405111406111407111408111409111410111411111412111413111414111415111416111417111418111419111420111421111422111423111424111425111426111427111428111429111430111431111432111433111434111435111436111437111438111439111440111441111442111443111444111445111446111447111448111449111450111451111452111453111454111455111456111457111458111459111460111461111462111463111464111465111466111467111468111469111470111471111472111473111474111475111476111477111478111479111480111481111482111483111484111485111486111487111488111489111490111491111492111493111494111495111496111497111498111499111500111501111502111503111504111505111506111507111508111509111510111511111512111513111514111515111516111517111518111519111520111521111522111523111524111525111526111527111528111529111530111531111532111533111534111535111536111537111538111539111540111541111542111543111544111545111546111547111548111549111550111551111552111553111554111555111556111557111558111559111560111561111562111563111564111565111566111567111568111569111570111571111572111573111574111575111576111577111578111579111580111581111582111583111584111585111586111587111588111589111590111591111592111593111594111595111596111597111598111599111600111601111602111603111604111605111606111607111608111609111610111611111612111613111614111615111616111617111618111619111620111621111622111623111624111625111626111627111628111629111630111631111632111633111634111635111636111637111638111639111640111641111642111643111644111645111646111647111648111649111650111651111652111653111654111655111656111657111658111659111660111661111662111663111664111665111666111667111668111669111670111671111672111673111674111675111676111677111678111679111680111681111682111683111684111685111686111687111688111689111690111691111692111693111694111695111696111697111698111699111700111701111702111703111704111705111706111707111708111709111710111711111712111713111714111715111716111717111718111719111720111721111722111723111724111725111726111727111728111729111730111731111732111733111734111735111736111737111738111739111740111741111742111743111744111745111746111747111748111749111750111751111752111753111754111755111756111757111758111759111760111761111762111763111764111765111766111767111768111769111770111771111772111773111774111775111776111777111778111779111780111781111782111783111784111785111786111787111788111789111790111791111792111793111794111795111796111797111798111799111800111801111802111803111804111805111806111807111808111809111810111811111812111813111814111815111816111817111818111819111820111821111822111823111824111825111826111827111828111829111830111831111832111833111834111835111836111837111838111839111840111841111842111843111844111845111846111847111848111849111850111851111852111853111854111855111856111857111858111859111860111861111862111863111864111865111866111867111868111869111870111871111872111873111874111875111876111877111878111879111880111881111882111883111884111885111886111887111888111889111890111891111892111893111894111895111896111897111898111899111900111901111902111903111904111905111906111907111908111909111910111911111912111913111914111915111916111917111918111919111920111921111922111923111924111925111926111927111928111929111930111931111932111933111934111935111936111937111938111939111940111941111942111943111944111945111946111947111948111949111950111951111952111953111954111955111956111957111958111959111960111961111962111963111964111965111966111967111968111969111970111971111972111973111974111975111976111977111978111979111980111981111982111983111984111985111986111987111988111989111990111991111992111993111994111995111996111997111998111999112000112001112002112003112004112005112006112007112008112009112010112011112012112013112014112015112016112017112018112019112020112021112022112023112024112025112026112027112028112029112030112031112032112033112034112035112036112037112038112039112040112041112042112043112044112045112046112047112048112049112050112051112052112053112054112055112056112057112058112059112060112061112062112063112064112065112066112067112068112069112070112071112072112073112074112075112076112077112078112079112080112081112082112083112084112085112086112087112088112089112090112091112092112093112094112095112096112097112098112099112100112101112102112103112104112105112106112107112108112109112110112111112112112113112114112115112116112117112118112119112120112121112122112123112124112125112126112127112128112129112130112131112132112133112134112135112136112137112138112139112140112141112142112143112144112145112146112147112148112149112150112151112152112153112154112155112156112157112158112159112160112161112162112163112164112165112166112167112168112169112170112171112172112173112174112175112176112177112178112179112180112181112182112183112184112185112186112187112188112189112190112191112192112193112194112195112196112197112198112199112200112201112202112203112204112205112206112207112208112209112210112211112212112213112214112215112216112217112218112219112220112221112222112223112224112225112226112227112228112229112230112231112232112233112234112235112236112237112238112239112240112241112242112243112244112245112246112247112248112249112250112251112252112253112254112255112256112257112258112259112260112261112262112263112264112265112266112267112268112269112270112271112272112273112274112275112276112277112278112279112280112281112282112283112284112285112286112287112288112289112290112291112292112293112294112295112296112297112298112299112300112301112302112303112304112305112306112307112308112309112310112311112312112313112314112315112316112317112318112319112320112321112322112323112324112325112326112327112328112329112330112331112332112333112334112335112336112337112338112339112340112341112342112343112344112345112346112347112348112349112350112351112352112353112354112355112356112357112358112359112360112361112362112363112364112365112366112367112368112369112370112371112372112373112374112375112376112377112378112379112380112381112382112383112384112385112386112387112388112389112390112391112392112393112394112395112396112397112398112399112400112401112402112403112404112405112406112407112408112409112410112411112412112413112414112415112416112417112418112419112420112421112422112423112424112425112426112427112428112429112430112431112432112433112434112435112436112437112438112439112440112441112442112443112444112445112446112447112448112449112450112451112452112453112454112455112456112457112458112459112460112461112462112463112464112465112466112467112468112469112470112471112472112473112474112475112476112477112478112479112480112481112482112483112484112485112486112487112488112489112490112491112492112493112494112495112496112497112498112499112500112501112502112503112504112505112506112507112508112509112510112511112512112513112514112515112516112517112518112519112520112521112522112523112524112525112526112527112528112529112530112531112532112533112534112535112536112537112538112539112540112541112542112543112544112545112546112547112548112549112550112551112552112553112554112555112556112557112558112559112560112561112562112563112564112565112566112567112568112569112570112571112572112573112574112575112576112577112578112579112580112581112582112583112584112585112586112587112588112589112590112591112592112593112594112595112596112597112598112599112600112601112602112603112604112605112606112607112608112609112610112611112612112613112614112615112616112617112618112619112620112621112622112623112624112625112626112627112628112629112630112631112632112633112634112635112636112637112638112639112640112641112642112643112644112645112646112647112648112649112650112651112652112653112654112655112656112657112658112659112660112661112662112663112664112665112666112667112668112669112670112671112672112673112674112675112676112677112678112679112680112681112682112683112684112685112686112687112688112689112690112691112692112693112694112695112696112697112698112699112700112701112702112703112704112705112706112707112708112709112710112711112712112713112714112715112716112717112718112719112720112721112722112723112724112725112726112727112728112729112730112731112732112733112734112735112736112737112738112739112740112741112742112743112744112745112746112747112748112749112750112751112752112753112754112755112756112757112758112759112760112761112762112763112764112765112766112767112768112769112770112771112772112773112774112775112776112777112778112779112780112781112782112783112784112785112786112787112788112789112790112791112792112793112794112795112796112797112798112799112800112801112802112803112804112805112806112807112808112809112810112811112812112813112814112815112816112817112818112819112820112821112822112823112824112825112826112827112828112829112830112831112832112833112834112835112836112837112838112839112840112841112842112843112844112845112846112847112848112849112850112851112852112853112854112855112856112857112858112859112860112861112862112863112864112865112866112867112868112869112870112871112872112873112874112875112876112877112878112879112880112881112882112883112884112885112886112887112888112889112890112891112892112893112894112895112896112897112898112899112900112901112902112903112904112905112906112907112908112909112910112911112912112913112914112915112916112917112918112919112920112921112922112923112924112925112926112927112928112929112930112931112932112933112934112935112936112937112938112939112940112941112942112943112944112945112946112947112948112949112950112951112952112953112954112955112956112957112958112959112960112961112962112963112964112965112966112967112968112969112970112971112972112973112974112975112976112977112978112979112980112981112982112983112984112985112986112987112988112989112990112991112992112993112994112995112996112997112998112999113000113001113002113003113004113005113006113007113008113009113010113011113012113013113014113015113016113017113018113019113020113021113022113023113024113025113026113027113028113029113030113031113032113033113034113035113036113037113038113039113040113041113042113043113044113045113046113047113048113049113050113051113052113053113054113055113056113057113058113059113060113061113062113063113064113065113066113067113068113069113070113071113072113073113074113075113076113077113078113079113080113081113082113083113084113085113086113087113088113089113090113091113092113093113094113095113096113097113098113099113100113101113102113103113104113105113106113107113108113109113110113111113112113113113114113115113116113117113118113119113120113121113122113123113124113125113126113127113128113129113130113131113132113133113134113135113136113137113138113139113140113141113142113143113144113145113146113147113148113149113150113151113152113153113154113155113156113157113158113159113160113161113162113163113164113165113166113167113168113169113170113171113172113173113174113175113176113177113178113179113180113181113182113183113184113185113186113187113188113189113190113191113192113193113194113195113196113197113198113199113200113201113202113203113204113205113206113207113208113209113210113211113212113213113214113215113216113217113218113219113220113221113222113223113224113225113226113227113228113229113230113231113232113233113234113235113236113237113238113239113240113241113242113243113244113245113246113247113248113249113250113251113252113253113254113255113256113257113258113259113260113261113262113263113264113265113266113267113268113269113270113271113272113273113274113275113276113277113278113279113280113281113282113283113284113285113286113287113288113289113290113291113292113293113294113295113296113297113298113299113300113301113302113303113304113305113306113307113308113309113310113311113312113313113314113315113316113317113318113319113320113321113322113323113324113325113326113327113328113329113330113331113332113333113334113335113336113337113338113339113340113341113342113343113344113345113346113347113348113349113350113351113352113353113354113355113356113357113358113359113360113361113362113363113364113365113366113367113368113369113370113371113372113373113374113375113376113377113378113379113380113381113382113383113384113385113386113387113388113389113390113391113392113393113394113395113396113397113398113399113400113401113402113403113404113405113406113407113408113409113410113411113412113413113414113415113416113417113418113419113420113421113422113423113424113425113426113427113428113429113430113431113432113433113434113435113436113437113438113439113440113441113442113443113444113445113446113447113448113449113450113451113452113453113454113455113456113457113458113459113460113461113462113463113464113465113466113467113468113469113470113471113472113473113474113475113476113477113478113479113480113481113482113483113484113485113486113487113488113489113490113491113492113493113494113495113496113497113498113499113500113501113502113503113504113505113506113507113508113509113510113511113512113513113514113515113516113517113518113519113520113521113522113523113524113525113526113527113528113529113530113531113532113533113534113535113536113537113538113539113540113541113542113543113544113545113546113547113548113549113550113551113552113553113554113555113556113557113558113559113560113561113562113563113564113565113566113567113568113569113570113571113572113573113574113575113576113577113578113579113580113581113582113583113584113585113586113587113588113589113590113591113592113593113594113595113596113597113598113599113600113601113602113603113604113605113606113607113608113609113610113611113612113613113614113615113616113617113618113619113620113621113622113623113624113625113626113627113628113629113630113631113632113633113634113635113636113637113638113639113640113641113642113643113644113645113646113647113648113649113650113651113652113653113654113655113656113657113658113659113660113661113662113663113664113665113666113667113668113669113670113671113672113673113674113675113676113677113678113679113680113681113682113683113684113685113686113687113688113689113690113691113692113693113694113695113696113697113698113699113700113701113702113703113704113705113706113707113708113709113710113711113712113713113714113715113716113717113718113719113720113721113722113723113724113725113726113727113728113729113730113731113732113733113734113735113736113737113738113739113740113741113742113743113744113745113746113747113748113749113750113751113752113753113754113755113756113757113758113759113760113761113762113763113764113765113766113767113768113769113770113771113772113773113774113775113776113777113778113779113780113781113782113783113784113785113786113787113788113789113790113791113792113793113794113795113796113797113798113799113800113801113802113803113804113805113806113807113808113809113810113811113812113813113814113815113816113817113818113819113820113821113822113823113824113825113826113827113828113829113830113831113832113833113834113835113836113837113838113839113840113841113842113843113844113845113846113847113848113849113850113851113852113853113854113855113856113857113858113859113860113861113862113863113864113865113866113867113868113869113870113871113872113873113874113875113876113877113878113879113880113881113882113883113884113885113886113887113888113889113890113891113892113893113894113895113896113897113898113899113900113901113902113903113904113905113906113907113908113909113910113911113912113913113914113915113916113917113918113919113920113921113922113923113924113925113926113927113928113929113930113931113932113933113934113935113936113937113938113939113940113941113942113943113944113945113946113947113948113949113950113951113952113953113954113955113956113957113958113959113960113961113962113963113964113965113966113967113968113969113970113971113972113973113974113975113976113977113978113979113980113981113982113983113984113985113986113987113988113989113990113991113992113993113994113995113996113997113998113999114000114001114002114003114004114005114006114007114008114009114010114011114012114013114014114015114016114017114018114019114020114021114022114023114024114025114026114027114028114029114030114031114032114033114034114035114036114037114038114039114040114041114042114043114044114045114046114047114048114049114050114051114052114053114054114055114056114057114058114059114060114061114062114063114064114065114066114067114068114069114070114071114072114073114074114075114076114077114078114079114080114081114082114083114084114085114086114087114088114089114090114091114092114093114094114095114096114097114098114099114100114101114102114103114104114105114106114107114108114109114110114111114112114113114114114115114116114117114118114119114120114121114122114123114124114125114126114127114128114129114130114131114132114133114134114135114136114137114138114139114140114141114142114143114144114145114146114147114148114149114150114151114152114153114154114155114156114157114158114159114160114161114162114163114164114165114166114167114168114169114170114171114172114173114174114175114176114177114178114179114180114181114182114183114184114185114186114187114188114189114190114191114192114193114194114195114196114197114198114199114200114201114202114203114204114205114206114207114208114209114210114211114212114213114214114215114216114217114218114219114220114221114222114223114224114225114226114227114228114229114230114231114232114233114234114235114236114237114238114239114240114241114242114243114244114245114246114247114248114249114250114251114252114253114254114255114256114257114258114259114260114261114262114263114264114265114266114267114268114269114270114271114272114273114274114275114276114277114278114279114280114281114282114283114284114285114286114287114288114289114290114291114292114293114294114295114296114297114298114299114300114301114302114303114304114305114306114307114308114309114310114311114312114313114314114315114316114317114318114319114320114321114322114323114324114325114326114327114328114329114330114331114332114333114334114335114336114337114338114339114340114341114342114343114344114345114346114347114348114349114350114351114352114353114354114355114356114357114358114359114360114361114362114363114364114365114366114367114368114369114370114371114372114373114374114375114376114377114378114379114380114381114382114383114384114385114386114387114388114389114390114391114392114393114394114395114396114397114398114399114400114401114402114403114404114405114406114407114408114409114410114411114412114413114414114415114416114417114418114419114420114421114422114423114424114425114426114427114428114429114430114431114432114433114434114435114436114437114438114439114440114441114442114443114444114445114446114447114448114449114450114451114452114453114454114455114456114457114458114459114460114461114462114463114464114465114466114467114468114469114470114471114472114473114474114475114476114477114478114479114480114481114482114483114484114485114486114487114488114489114490114491114492114493114494114495114496114497114498114499114500114501114502114503114504114505114506114507114508114509114510114511114512114513114514114515114516114517114518114519114520114521114522114523114524114525114526114527114528114529114530114531114532114533114534114535114536114537114538114539114540114541114542114543114544114545114546114547114548114549114550114551114552114553114554114555114556114557114558114559114560114561114562114563114564114565114566114567114568114569114570114571114572114573114574114575114576114577114578114579114580114581114582114583114584114585114586114587114588114589114590114591114592114593114594114595114596114597114598114599114600114601114602114603114604114605114606114607114608114609114610114611114612114613114614114615114616114617114618114619114620114621114622114623114624114625114626114627114628114629114630114631114632114633114634114635114636114637114638114639114640114641114642114643114644114645114646114647114648114649114650114651114652114653114654114655114656114657114658114659114660114661114662114663114664114665114666114667114668114669114670114671114672114673114674114675114676114677114678114679114680114681114682114683114684114685114686114687114688114689114690114691114692114693114694114695114696114697114698114699114700114701114702114703114704114705114706114707114708114709114710114711114712114713114714114715114716114717114718114719114720114721114722114723114724114725114726114727114728114729114730114731114732114733114734114735114736114737114738114739114740114741114742114743114744114745114746114747114748114749114750114751114752114753114754114755114756114757114758114759114760114761114762114763114764114765114766114767114768114769114770114771114772114773114774114775114776114777114778114779114780114781114782114783114784114785114786114787114788114789114790114791114792114793114794114795114796114797114798114799114800114801114802114803114804114805114806114807114808114809114810114811114812114813114814114815114816114817114818114819114820114821114822114823114824114825114826114827114828114829114830114831114832114833114834114835114836114837114838114839114840114841114842114843114844114845114846114847114848114849114850114851114852114853114854114855114856114857114858114859114860114861114862114863114864114865114866114867114868114869114870114871114872114873114874114875114876114877114878114879114880114881114882114883114884114885114886114887114888114889114890114891114892114893114894114895114896114897114898114899114900114901114902114903114904114905114906114907114908114909114910114911114912114913114914114915114916114917114918114919114920114921114922114923114924114925114926114927114928114929114930114931114932114933114934114935114936114937114938114939114940114941114942114943114944114945114946114947114948114949114950114951114952114953114954114955114956114957114958114959114960114961114962114963114964114965114966114967114968114969114970114971114972114973114974114975114976114977114978114979114980114981114982114983114984114985114986114987114988114989114990114991114992114993114994114995114996114997114998114999115000115001115002115003115004115005115006115007115008115009115010115011115012115013115014115015115016115017115018115019115020115021115022115023115024115025115026115027115028115029115030115031115032115033115034115035115036115037115038115039115040115041115042115043115044115045115046115047115048115049115050115051115052115053115054115055115056115057115058115059115060115061115062115063115064115065115066115067115068115069115070115071115072115073115074115075115076115077115078115079115080115081115082115083115084115085115086115087115088115089115090115091115092115093115094115095115096115097115098115099115100115101115102115103115104115105115106115107115108115109115110115111115112115113115114115115115116115117115118115119115120115121115122115123115124115125115126115127115128115129115130115131115132115133115134115135115136115137115138115139115140115141115142115143115144115145115146115147115148115149115150115151115152115153115154115155115156115157115158115159115160115161115162115163115164115165115166115167115168115169115170115171115172115173115174115175115176115177115178115179115180115181115182115183115184115185115186115187115188115189115190115191115192115193115194115195115196115197115198115199115200115201115202115203115204115205115206115207115208115209115210115211115212115213115214115215115216115217115218115219115220115221115222115223115224115225115226115227115228115229115230115231115232115233115234115235115236115237115238115239115240115241115242115243115244115245115246115247115248115249115250115251115252115253115254115255115256115257115258115259115260115261115262115263115264115265115266115267115268115269115270115271115272115273115274115275115276115277115278115279115280115281115282115283115284115285115286115287115288115289115290115291115292115293115294115295115296115297115298115299115300115301115302115303115304115305115306115307115308115309115310115311115312115313115314115315115316115317115318115319115320115321115322115323115324115325115326115327115328115329115330115331115332115333115334115335115336115337115338115339115340115341115342115343115344115345115346115347115348115349115350115351115352115353115354115355115356115357115358115359115360115361115362115363115364115365115366115367115368115369115370115371115372115373115374115375115376115377115378115379115380115381115382115383115384115385115386115387115388115389115390115391115392115393115394115395115396115397115398115399115400115401115402115403115404115405115406115407115408115409115410115411115412115413115414115415115416115417115418115419115420115421115422115423115424115425115426115427115428115429115430115431115432115433115434115435115436115437115438115439115440115441115442115443115444115445115446115447115448115449115450115451115452115453115454115455115456115457115458115459115460115461115462115463115464115465115466115467115468115469115470115471115472115473115474115475115476115477115478115479115480115481115482115483115484115485115486115487115488115489115490115491115492115493115494115495115496115497115498115499115500115501115502115503115504115505115506115507115508115509115510115511115512115513115514115515115516115517115518115519115520115521115522115523115524115525115526115527115528115529115530115531115532115533115534115535115536115537115538115539115540115541115542115543115544115545115546115547115548115549115550115551115552115553115554115555115556115557115558115559115560115561115562115563115564115565115566115567115568115569115570115571115572115573115574115575115576115577115578115579115580115581115582115583115584115585115586115587115588115589115590115591115592115593115594115595115596115597115598115599115600115601115602115603115604115605115606115607115608115609115610115611115612115613115614115615115616115617115618115619115620115621115622115623115624115625115626115627115628115629115630115631115632115633115634115635115636115637115638115639115640115641115642115643115644115645115646115647115648115649115650115651115652115653115654115655115656115657115658115659115660115661115662115663115664115665115666115667115668115669115670115671115672115673115674115675115676115677115678115679115680115681115682115683115684115685115686115687115688115689115690115691115692115693115694115695115696115697115698115699115700115701115702115703115704115705115706115707115708115709115710115711115712115713115714115715115716115717115718115719115720115721115722115723115724115725115726115727115728115729115730115731115732115733115734115735115736115737115738115739115740115741115742115743115744115745115746115747115748115749115750115751115752115753115754115755115756115757115758115759115760115761115762115763115764115765115766115767115768115769115770115771115772115773115774115775115776115777115778115779115780115781115782115783115784115785115786115787115788115789115790115791115792115793115794115795115796115797115798115799115800115801115802115803115804115805115806115807115808115809115810115811115812115813115814115815115816115817115818115819115820115821115822115823115824115825115826115827115828115829115830115831115832115833115834115835115836115837115838115839115840115841115842115843115844115845115846115847115848115849115850115851115852115853115854115855115856115857115858115859115860115861115862115863115864115865115866115867115868115869115870115871115872115873115874115875115876115877115878115879115880115881115882115883115884115885115886115887115888115889115890115891115892115893115894115895115896115897115898115899115900115901115902115903115904115905115906115907115908115909115910115911115912115913115914115915115916115917115918115919115920115921115922115923115924115925115926115927115928115929115930115931115932115933115934115935115936115937115938115939115940115941115942115943115944115945115946115947115948115949115950115951115952115953115954115955115956115957115958115959115960115961115962115963115964115965115966115967115968115969115970115971115972115973115974115975115976115977115978115979115980115981115982115983115984115985115986115987115988115989115990115991115992115993115994115995115996115997115998115999116000116001116002116003116004116005116006116007116008116009116010116011116012116013116014116015116016116017116018116019116020116021116022116023116024116025116026116027116028116029116030116031116032116033116034116035116036116037116038116039116040116041116042116043116044116045116046116047116048116049116050116051116052116053116054116055116056116057116058116059116060116061116062116063116064116065116066116067116068116069116070116071116072116073116074116075116076116077116078116079116080116081116082116083116084116085116086116087116088116089116090116091116092116093116094116095116096116097116098116099116100116101116102116103116104116105116106116107116108116109116110116111116112116113116114116115116116116117116118116119116120116121116122116123116124116125116126116127116128116129116130116131116132116133116134116135116136116137116138116139116140116141116142116143116144116145116146116147116148116149116150116151116152116153116154116155116156116157116158116159116160116161116162116163116164116165116166116167116168116169116170116171116172116173116174116175116176116177116178116179116180116181116182116183116184116185116186116187116188116189116190116191116192116193116194116195116196116197116198116199116200116201116202116203116204116205116206116207116208116209116210116211116212116213116214116215116216116217116218116219116220116221116222116223116224116225116226116227116228116229116230116231116232116233116234116235116236116237116238116239116240116241116242116243116244116245116246116247116248116249116250116251116252116253116254116255116256116257116258116259116260116261116262116263116264116265116266116267116268116269116270116271116272116273116274116275116276116277116278116279116280116281116282116283116284116285116286116287116288116289116290116291116292116293116294116295116296116297116298116299116300116301116302116303116304116305116306116307116308116309116310116311116312116313116314116315116316116317116318116319116320116321116322116323116324116325116326116327116328116329116330116331116332116333116334116335116336116337116338116339116340116341116342116343116344116345116346116347116348116349116350116351116352116353116354116355116356116357116358116359116360116361116362116363116364116365116366116367116368116369116370116371116372116373116374116375116376116377116378116379116380116381116382116383116384116385116386116387116388116389116390116391116392116393116394116395116396116397116398116399116400116401116402116403116404116405116406116407116408116409116410116411116412116413116414116415116416116417116418116419116420116421116422116423116424116425116426116427116428116429116430116431116432116433116434116435116436116437116438116439116440116441116442116443116444116445116446116447116448116449116450116451116452116453116454116455116456116457116458116459116460116461116462116463116464116465116466116467116468116469116470116471116472116473116474116475116476116477116478116479116480116481116482116483116484116485116486116487116488116489116490116491116492116493116494116495116496116497116498116499116500116501116502116503116504116505116506116507116508116509116510116511116512116513116514116515116516116517116518116519116520116521116522116523116524116525116526116527116528116529116530116531116532116533116534116535116536116537116538116539116540116541116542116543116544116545116546116547116548116549116550116551116552116553116554116555116556116557116558116559116560116561116562116563116564116565116566116567116568116569116570116571116572116573116574116575116576116577116578116579116580116581116582116583116584116585116586116587116588116589116590116591116592116593116594116595116596116597116598116599116600116601116602116603116604116605116606116607116608116609116610116611116612116613116614116615116616116617116618116619116620116621116622116623116624116625116626116627116628116629116630116631116632116633116634116635116636116637116638116639116640116641116642116643116644116645116646116647116648116649116650116651116652116653116654116655116656116657116658116659116660116661116662116663116664116665116666116667116668116669116670116671116672116673116674116675116676116677116678116679116680116681116682116683116684116685116686116687116688116689116690116691116692116693116694116695116696116697116698116699116700116701116702116703116704116705116706116707116708116709116710116711116712116713116714116715116716116717116718116719116720116721116722116723116724116725116726116727116728116729116730116731116732116733116734116735116736116737116738116739116740116741116742116743116744116745116746116747116748116749116750116751116752116753116754116755116756116757116758116759116760116761116762116763116764116765116766116767116768116769116770116771116772116773116774116775116776116777116778116779116780116781116782116783116784116785116786116787116788116789116790116791116792116793116794116795116796116797116798116799116800116801116802116803116804116805116806116807116808116809116810116811116812116813116814116815116816116817116818116819116820116821116822116823116824116825116826116827116828116829116830116831116832116833116834116835116836116837116838116839116840116841116842116843116844116845116846116847116848116849116850116851116852116853116854116855116856116857116858116859116860116861116862116863116864116865116866116867116868116869116870116871116872116873116874116875116876116877116878116879116880116881116882116883116884116885116886116887116888116889116890116891116892116893116894116895116896116897116898116899116900116901116902116903116904116905116906116907116908116909116910116911116912116913116914116915116916116917116918116919116920116921116922116923116924116925116926116927116928116929116930116931116932116933116934116935116936116937116938116939116940116941116942116943116944116945116946116947116948116949116950116951116952116953116954116955116956116957116958116959116960116961116962116963116964116965116966116967116968116969116970116971116972116973116974116975116976116977116978116979116980116981116982116983116984116985116986116987116988116989116990116991116992116993116994116995116996116997116998116999117000117001117002117003117004117005117006117007117008117009117010117011117012117013117014117015117016117017117018117019117020117021117022117023117024117025117026117027117028117029117030117031117032117033117034117035117036117037117038117039117040117041117042117043117044117045117046117047117048117049117050117051117052117053117054117055117056117057117058117059117060117061117062117063117064117065117066117067117068117069117070117071117072117073117074117075117076117077117078117079117080117081117082117083117084117085117086117087117088117089117090117091117092117093117094117095117096117097117098117099117100117101117102117103117104117105117106117107117108117109117110117111117112117113117114117115117116117117117118117119117120117121117122117123117124117125117126117127117128117129117130117131117132117133117134117135117136117137117138117139117140117141117142117143117144117145117146117147117148117149117150117151117152117153117154117155117156117157117158117159117160117161117162117163117164117165117166117167117168117169117170117171117172117173117174117175117176117177117178117179117180117181117182117183117184117185117186117187117188117189117190117191117192117193117194117195117196117197117198117199117200117201117202117203117204117205117206117207117208117209117210117211117212117213117214117215117216117217117218117219117220117221117222117223117224117225117226117227117228117229117230117231117232117233117234117235117236117237117238117239117240117241117242117243117244117245117246117247117248117249117250117251117252117253117254117255117256117257117258117259117260117261117262117263117264117265117266117267117268117269117270117271117272117273117274117275117276117277117278117279117280117281117282117283117284117285117286117287117288117289117290117291117292117293117294117295117296117297117298117299117300117301117302117303117304117305117306117307117308117309117310117311117312117313117314117315117316117317117318117319117320117321117322117323117324117325117326117327117328117329117330117331117332117333117334117335117336117337117338117339117340117341117342117343117344117345117346117347117348117349117350117351117352117353117354117355117356117357117358117359117360117361117362117363117364117365117366117367117368117369117370117371117372117373117374117375117376117377117378117379117380117381117382117383117384117385117386117387117388117389117390117391117392117393117394117395117396117397117398117399117400117401117402117403117404117405117406117407117408117409117410117411117412117413117414117415117416117417117418117419117420117421117422117423117424117425117426117427117428117429117430117431117432117433117434117435117436117437117438117439117440117441117442117443117444117445117446117447117448117449117450117451117452117453117454117455117456117457117458117459117460117461117462117463117464117465117466117467117468117469117470117471117472117473117474117475117476117477117478117479117480117481117482117483117484117485117486117487117488117489117490117491117492117493117494117495117496117497117498117499117500117501117502117503117504117505117506117507117508117509117510117511117512117513117514117515117516117517117518117519117520117521117522117523117524117525117526117527117528117529117530117531117532117533117534117535117536117537117538117539117540117541117542117543117544117545117546117547117548117549117550117551117552117553117554117555117556117557117558117559117560117561117562117563117564117565117566117567117568117569117570117571117572117573117574117575117576117577117578117579117580117581117582117583117584117585117586117587117588117589117590117591117592117593117594117595117596117597117598117599117600117601117602117603117604117605117606117607117608117609117610117611117612117613117614117615117616117617117618117619117620117621117622117623117624117625117626117627117628117629117630117631117632117633117634117635117636117637117638117639117640117641117642117643117644117645117646117647117648117649117650117651117652117653117654117655117656117657117658117659117660117661117662117663117664117665117666117667117668117669117670117671117672117673117674117675117676117677117678117679117680117681117682117683117684117685117686117687117688117689117690117691117692117693117694117695117696117697117698117699117700117701117702117703117704117705117706117707117708117709117710117711117712117713117714117715117716117717117718117719117720117721117722117723117724117725117726117727117728117729117730117731117732117733117734117735117736117737117738117739117740117741117742117743117744117745117746117747117748117749117750117751117752117753117754117755117756117757117758117759117760117761117762117763117764117765117766117767117768117769117770117771117772117773117774117775117776117777117778117779117780117781117782117783117784117785117786117787117788117789117790117791117792117793117794117795117796117797117798117799117800117801117802117803117804117805117806117807117808117809117810117811117812117813117814117815117816117817117818117819117820117821117822117823117824117825117826117827117828117829117830117831117832117833117834117835117836117837117838117839117840117841117842117843117844117845117846117847117848117849117850117851117852117853117854117855117856117857117858117859117860117861117862117863117864117865117866117867117868117869117870117871117872117873117874117875117876117877117878117879117880117881117882117883117884117885117886117887117888117889117890117891117892117893117894117895117896117897117898117899117900117901117902117903117904117905117906117907117908117909117910117911117912117913117914117915117916117917117918117919117920117921117922117923117924117925117926117927117928117929117930117931117932117933117934117935117936117937117938117939117940117941117942117943117944117945117946117947117948117949117950117951117952117953117954117955117956117957117958117959117960117961117962117963117964117965117966117967117968117969117970117971117972117973117974117975117976117977117978117979117980117981117982117983117984117985117986117987117988117989117990117991117992117993117994117995117996117997117998117999118000118001118002118003118004118005118006118007118008118009118010118011118012118013118014118015118016118017118018118019118020118021118022118023118024118025118026118027118028118029118030118031118032118033118034118035118036118037118038118039118040118041118042118043118044118045118046118047118048118049118050118051118052118053118054118055118056118057118058118059118060118061118062118063118064118065118066118067118068118069118070118071118072118073118074118075118076118077118078118079118080118081118082118083118084118085118086118087118088118089118090118091118092118093118094118095118096118097118098118099118100118101118102118103118104118105118106118107118108118109118110118111118112118113118114118115118116118117118118118119118120118121118122118123118124118125118126118127118128118129118130118131118132118133118134118135118136118137118138118139118140118141118142118143118144118145118146118147118148118149118150118151118152118153118154118155118156118157118158118159118160118161118162118163118164118165118166118167118168118169118170118171118172118173118174118175118176118177118178118179118180118181118182118183118184118185118186118187118188118189118190118191118192118193118194118195118196118197118198118199118200118201118202118203118204118205118206118207118208118209118210118211118212118213118214118215118216118217118218118219118220118221118222118223118224118225118226118227118228118229118230118231118232118233118234118235118236118237118238118239118240118241118242118243118244118245118246118247118248118249118250118251118252118253118254118255118256118257118258118259118260118261118262118263118264118265118266118267118268118269118270118271118272118273118274118275118276118277118278118279118280118281118282118283118284118285118286118287118288118289118290118291118292118293118294118295118296118297118298118299118300118301118302118303118304118305118306118307118308118309118310118311118312118313118314118315118316118317118318118319118320118321118322118323118324118325118326118327118328118329118330118331118332118333118334118335118336118337118338118339118340118341118342118343118344118345118346118347118348118349118350118351118352118353118354118355118356118357118358118359118360118361118362118363118364118365118366118367118368118369118370118371118372118373118374118375118376118377118378118379118380118381118382118383118384118385118386118387118388118389118390118391118392118393118394118395118396118397118398118399118400118401118402118403118404118405118406118407118408118409118410118411118412118413118414118415118416118417118418118419118420118421118422118423118424118425118426118427118428118429118430118431118432118433118434118435118436118437118438118439118440118441118442118443118444118445118446118447118448118449118450118451118452118453118454118455118456118457118458118459118460118461118462118463118464118465118466118467118468118469118470118471118472118473118474118475118476118477118478118479118480118481118482118483118484118485118486118487118488118489118490118491118492118493118494118495118496118497118498118499118500118501118502118503118504118505118506118507118508118509118510118511118512118513118514118515118516118517118518118519118520118521118522118523118524118525118526118527118528118529118530118531118532118533118534118535118536118537118538118539118540118541118542118543118544118545118546118547118548118549118550118551118552118553118554118555118556118557118558118559118560118561118562118563118564118565118566118567118568118569118570118571118572118573118574118575118576118577118578118579118580118581118582118583118584118585118586118587118588118589118590118591118592118593118594118595118596118597118598118599118600118601118602118603118604118605118606118607118608118609118610118611118612118613118614118615118616118617118618118619118620118621118622118623118624118625118626118627118628118629118630118631118632118633118634118635118636118637118638118639118640118641118642118643118644118645118646118647118648118649118650118651118652118653118654118655118656118657118658118659118660118661118662118663118664118665118666118667118668118669118670118671118672118673118674118675118676118677118678118679118680118681118682118683118684118685118686118687118688118689118690118691118692118693118694118695118696118697118698118699118700118701118702118703118704118705118706118707118708118709118710118711118712118713118714118715118716118717118718118719118720118721118722118723118724118725118726118727118728118729118730118731118732118733118734118735118736118737118738118739118740118741118742118743118744118745118746118747118748118749118750118751118752118753118754118755118756118757118758118759118760118761118762118763118764118765118766118767118768118769118770118771118772118773118774118775118776118777118778118779118780118781118782118783118784118785118786118787118788118789118790118791118792118793118794118795118796118797118798118799118800118801118802118803118804118805118806118807118808118809118810118811118812118813118814118815118816118817118818118819118820118821118822118823118824118825118826118827118828118829118830118831118832118833118834118835118836118837118838118839118840118841118842118843118844118845118846118847118848118849118850118851118852118853118854118855118856118857118858118859118860118861118862118863118864118865118866118867118868118869118870118871118872118873118874118875118876118877118878118879118880118881118882118883118884118885118886118887118888118889118890118891118892118893118894118895118896118897118898118899118900118901118902118903118904118905118906118907118908118909118910118911118912118913118914118915118916118917118918118919118920118921118922118923118924118925118926118927118928118929118930118931118932118933118934118935118936118937118938118939118940118941118942118943118944118945118946118947118948118949118950118951118952118953118954118955118956118957118958118959118960118961118962118963118964118965118966118967118968118969118970118971118972118973118974118975118976118977118978118979118980118981118982118983118984118985118986118987118988118989118990118991118992118993118994118995118996118997118998118999119000119001119002119003119004119005119006119007119008119009119010119011119012119013119014119015119016119017119018119019119020119021119022119023119024119025119026119027119028119029119030119031119032119033119034119035119036119037119038119039119040119041119042119043119044119045119046119047119048119049119050119051119052119053119054119055119056119057119058119059119060119061119062119063119064119065119066119067119068119069119070119071119072119073119074119075119076119077119078119079119080119081119082119083119084119085119086119087119088119089119090119091119092119093119094119095119096119097119098119099119100119101119102119103119104119105119106119107119108119109119110119111119112119113119114119115119116119117119118119119119120119121119122119123119124119125119126119127119128119129119130119131119132119133119134119135119136119137119138119139119140119141119142119143119144119145119146119147119148119149119150119151119152119153119154119155119156119157119158119159119160119161119162119163119164119165119166119167119168119169119170119171119172119173119174119175119176119177119178119179119180119181119182119183119184119185119186119187119188119189119190119191119192119193119194119195119196119197119198119199119200119201119202119203119204119205119206119207119208119209119210119211119212119213119214119215119216119217119218119219119220119221119222119223119224119225119226119227119228119229119230119231119232119233119234119235119236119237119238119239119240119241119242119243119244119245119246119247119248119249119250119251119252119253119254119255119256119257119258119259119260119261119262119263119264119265119266119267119268119269119270119271119272119273119274119275119276119277119278119279119280119281119282119283119284119285119286119287119288119289119290119291119292119293119294119295119296119297119298119299119300119301119302119303119304119305119306119307119308119309119310119311119312119313119314119315119316119317119318119319119320119321119322119323119324119325119326119327119328119329119330119331119332119333119334119335119336119337119338119339119340119341119342119343119344119345119346119347119348119349119350119351119352119353119354119355119356119357119358119359119360119361119362119363119364119365119366119367119368119369119370119371119372119373119374119375119376119377119378119379119380119381119382119383119384119385119386119387119388119389119390119391119392119393119394119395119396119397119398119399119400119401119402119403119404119405119406119407119408119409119410119411119412119413119414119415119416119417119418119419119420119421119422119423119424119425119426119427119428119429119430119431119432119433119434119435119436119437119438119439119440119441119442119443119444119445119446119447119448119449119450119451119452119453119454119455119456119457119458119459119460119461119462119463119464119465119466119467119468119469119470119471119472119473119474119475119476119477119478119479119480119481119482119483119484119485119486119487119488119489119490119491119492119493119494119495119496119497119498119499119500119501119502119503119504119505119506119507119508119509119510119511119512119513119514119515119516119517119518119519119520119521119522119523119524119525119526119527119528119529119530119531119532119533119534119535119536119537119538119539119540119541119542119543119544119545119546119547119548119549119550119551119552119553119554119555119556119557119558119559119560119561119562119563119564119565119566119567119568119569119570119571119572119573119574119575119576119577119578119579119580119581119582119583119584119585119586119587119588119589119590119591119592119593119594119595119596119597119598119599119600119601119602119603119604119605119606119607119608119609119610119611119612119613119614119615119616119617119618119619119620119621119622119623119624119625119626119627119628119629119630119631119632119633119634119635119636119637119638119639119640119641119642119643119644119645119646119647119648119649119650119651119652119653119654119655119656119657119658119659119660119661119662119663119664119665119666119667119668119669119670119671119672119673119674119675119676119677119678119679119680119681119682119683119684119685119686119687119688119689119690119691119692119693119694119695119696119697119698119699119700119701119702119703119704119705119706119707119708119709119710119711119712119713119714119715119716119717119718119719119720119721119722119723119724119725119726119727119728119729119730119731119732119733119734119735119736119737119738119739119740119741119742119743119744119745119746119747119748119749119750119751119752119753119754119755119756119757119758119759119760119761119762119763119764119765119766119767119768119769119770119771119772119773119774119775119776119777119778119779119780119781119782119783119784119785119786119787119788119789119790119791119792119793119794119795119796119797119798119799119800119801119802119803119804119805119806119807119808119809119810119811119812119813119814119815119816119817119818119819119820119821119822119823119824119825119826119827119828119829119830119831119832119833119834119835119836119837119838119839119840119841119842119843119844119845119846119847119848119849119850119851119852119853119854119855119856119857119858119859119860119861119862119863119864119865119866119867119868119869119870119871119872119873119874119875119876119877119878119879119880119881119882119883119884119885119886119887119888119889119890119891119892119893119894119895119896119897119898119899119900119901119902119903119904119905119906119907119908119909119910119911119912119913119914119915119916119917119918119919119920119921119922119923119924119925119926119927119928119929119930119931119932119933119934119935119936119937119938119939119940119941119942119943119944119945119946119947119948119949119950119951119952119953119954119955119956119957119958119959119960119961119962119963119964119965119966119967119968119969119970119971119972119973119974119975119976119977119978119979119980119981119982119983119984119985119986119987119988119989119990119991119992119993119994119995119996119997119998119999120000120001120002120003120004120005120006120007120008120009120010120011120012120013120014120015120016120017120018120019120020120021120022120023120024120025120026120027120028120029120030120031120032120033120034120035120036120037120038120039120040120041120042120043120044120045120046120047120048120049120050120051120052120053120054120055120056120057120058120059120060120061120062120063120064120065120066120067120068120069120070120071120072120073120074120075120076120077120078120079120080120081120082120083120084120085120086120087120088120089120090120091120092120093120094120095120096120097120098120099120100120101120102120103120104120105120106120107120108120109120110120111120112120113120114120115120116120117120118120119120120120121120122120123120124120125120126120127120128120129120130120131120132120133120134120135120136120137120138120139120140120141120142120143120144120145120146120147120148120149120150120151120152120153120154120155120156120157120158120159120160120161120162120163120164120165120166120167120168120169120170120171120172120173120174120175120176120177120178120179120180120181120182120183120184120185120186120187120188120189120190120191120192120193120194120195120196120197120198120199120200120201120202120203120204120205120206120207120208120209120210120211120212120213120214120215120216120217120218120219120220120221120222120223120224120225120226120227120228120229120230120231120232120233120234120235120236120237120238120239120240120241120242120243120244120245120246120247120248120249120250120251120252120253120254120255120256120257120258120259120260120261120262120263120264120265120266120267120268120269120270120271120272120273120274120275120276120277120278120279120280120281120282120283120284120285120286120287120288120289120290120291120292120293120294120295120296120297120298120299120300120301120302120303120304120305120306120307120308120309120310120311120312120313120314120315120316120317120318120319120320120321120322120323120324120325120326120327120328120329120330120331120332120333120334120335120336120337120338120339120340120341120342120343120344120345120346120347120348120349120350120351120352120353120354120355120356120357120358120359120360120361120362120363120364120365120366120367120368120369120370120371120372120373120374120375120376120377120378120379120380120381120382120383120384120385120386120387120388120389120390120391120392120393120394120395120396120397120398120399120400120401120402120403120404120405120406120407120408120409120410120411120412120413120414120415120416120417120418120419120420120421120422120423120424120425120426120427120428120429120430120431120432120433120434120435120436120437120438120439120440120441120442120443120444120445120446120447120448120449120450120451120452120453120454120455120456120457120458120459120460120461120462120463120464120465120466120467120468120469120470120471120472120473120474120475120476120477120478120479120480120481120482120483120484120485120486120487120488120489120490120491120492120493120494120495120496120497120498120499120500120501120502120503120504120505120506120507120508120509120510120511120512120513120514120515120516120517120518120519120520120521120522120523120524120525120526120527120528120529120530120531120532120533120534120535120536120537120538120539120540120541120542120543120544120545120546120547120548120549120550120551120552120553120554120555120556120557120558120559120560120561120562120563120564120565120566120567120568120569120570120571120572120573120574120575120576120577120578120579120580120581120582120583120584120585120586120587120588120589120590120591120592120593120594120595120596120597120598120599120600120601120602120603120604120605120606120607120608120609120610120611120612120613120614120615120616120617120618120619120620120621120622120623120624120625120626120627120628120629120630120631120632120633120634120635120636120637120638120639120640120641120642120643120644120645120646120647120648120649120650120651120652120653120654120655120656120657120658120659120660120661120662120663120664120665120666120667120668120669120670120671120672120673120674120675120676120677120678120679120680120681120682120683120684120685120686120687120688120689120690120691120692120693120694120695120696120697120698120699120700120701120702120703120704120705120706120707120708120709120710120711120712120713120714120715120716120717120718120719120720120721120722120723120724120725120726120727120728120729120730120731120732120733120734120735120736120737120738120739120740120741120742120743120744120745120746120747120748120749120750120751120752120753120754120755120756120757120758120759120760120761120762120763120764120765120766120767120768120769120770120771120772120773120774120775120776120777120778120779120780120781120782120783120784120785120786120787120788120789120790120791120792120793120794120795120796120797120798120799120800120801120802120803120804120805120806120807120808120809120810120811120812120813120814120815120816120817120818120819120820120821120822120823120824120825120826120827120828120829120830120831120832120833120834120835120836120837120838120839120840120841120842120843120844120845120846120847120848120849120850120851120852120853120854120855120856120857120858120859120860120861120862120863120864120865120866120867120868120869120870120871120872120873120874120875120876120877120878120879120880120881120882120883120884120885120886120887120888120889120890120891120892120893120894120895120896120897120898120899120900120901120902120903120904120905120906120907120908120909120910120911120912120913120914120915120916120917120918120919120920120921120922120923120924120925120926120927120928120929120930120931120932120933120934120935120936120937120938120939120940120941120942120943120944120945120946120947120948120949120950120951120952120953120954120955120956120957120958120959120960120961120962120963120964120965120966120967120968120969120970120971120972120973120974120975120976120977120978120979120980120981120982120983120984120985120986120987120988120989120990120991120992120993120994120995120996120997120998120999121000121001121002121003121004121005121006121007121008121009121010121011121012121013121014121015121016121017121018121019121020121021121022121023121024121025121026121027121028121029121030121031121032121033121034121035121036121037121038121039121040121041121042121043121044121045121046121047121048121049121050121051121052121053121054121055121056121057121058121059121060121061121062121063121064121065121066121067121068121069121070121071121072121073121074121075121076121077121078121079121080121081121082121083121084121085121086121087121088121089121090121091121092121093121094121095121096121097121098121099121100121101121102121103121104121105121106121107121108121109121110121111121112121113121114121115121116121117121118121119121120121121121122121123121124121125121126121127121128121129121130121131121132121133121134121135121136121137121138121139121140121141121142121143121144121145121146121147121148121149121150121151121152121153121154121155121156121157121158121159121160121161121162121163121164121165121166121167121168121169121170121171121172121173121174121175121176121177121178121179121180121181121182121183121184121185121186121187121188121189121190121191121192121193121194121195121196121197121198121199121200121201121202121203121204121205121206121207121208121209121210121211121212121213121214121215121216121217121218121219121220121221121222121223121224121225121226121227121228121229121230121231121232121233121234121235121236121237121238121239121240121241121242121243121244121245121246121247121248121249121250121251121252121253121254121255121256121257121258121259121260121261121262121263121264121265121266121267121268121269121270121271121272121273121274121275121276121277121278121279121280121281121282121283121284121285121286121287121288121289121290121291121292121293121294121295121296121297121298121299121300121301121302121303121304121305121306121307121308121309121310121311121312121313121314121315121316121317121318121319121320121321121322121323121324121325121326121327121328121329121330121331121332121333121334121335121336121337121338121339121340121341121342121343121344121345121346121347121348121349121350121351121352121353121354121355121356121357121358121359121360121361121362121363121364121365121366121367121368121369121370121371121372121373121374121375121376121377121378121379121380121381121382121383121384121385121386121387121388121389121390121391121392121393121394121395121396121397121398121399121400121401121402121403121404121405121406121407121408121409121410121411121412121413121414121415121416121417121418121419121420121421121422121423121424121425121426121427121428121429121430121431121432121433121434121435121436121437121438121439121440121441121442121443121444121445121446121447121448121449121450121451121452121453121454121455121456121457121458121459121460121461121462121463121464121465121466121467121468121469121470121471121472121473121474121475121476121477121478121479121480121481121482121483121484121485121486121487121488121489121490121491121492121493121494121495121496121497121498121499121500121501121502121503121504121505121506121507121508121509121510121511121512121513121514121515121516121517121518121519121520121521121522121523121524121525121526121527121528121529121530121531121532121533121534121535121536121537121538121539121540121541121542121543121544121545121546121547121548121549121550121551121552121553121554121555121556121557121558121559121560121561121562121563121564121565121566121567121568121569121570121571121572121573121574121575121576121577121578121579121580121581121582121583121584121585121586121587121588121589121590121591121592121593121594121595121596121597121598121599121600121601121602121603121604121605121606121607121608121609121610121611121612121613121614121615121616121617121618121619121620121621121622121623121624121625121626121627121628121629121630121631121632121633121634121635121636121637121638121639121640121641121642121643121644121645121646121647121648121649121650121651121652121653121654121655121656121657121658121659121660121661121662121663121664121665121666121667121668121669121670121671121672121673121674121675121676121677121678121679121680121681121682121683121684121685121686121687121688121689121690121691121692121693121694121695121696121697121698121699121700121701121702121703121704121705121706121707121708121709121710121711121712121713121714121715121716121717121718121719121720121721121722121723121724121725121726121727121728121729121730121731121732121733121734121735121736121737121738121739121740121741121742121743121744121745121746121747121748121749121750121751121752121753121754121755121756121757121758121759121760121761121762121763121764121765121766121767121768121769121770121771121772121773121774121775121776121777121778121779121780121781121782121783121784121785121786121787121788121789121790121791121792121793121794121795121796121797121798121799121800121801121802121803121804121805121806121807121808121809121810121811121812121813121814121815121816121817121818121819121820121821121822121823121824121825121826121827121828121829121830121831121832121833121834121835121836121837121838121839121840121841121842121843121844121845121846121847121848121849121850121851121852121853121854121855121856121857121858121859121860121861121862121863121864121865121866121867121868121869121870121871121872121873121874121875121876121877121878121879121880121881121882121883121884121885121886121887121888121889121890121891121892121893121894121895121896121897121898121899121900121901121902121903121904121905121906121907121908121909121910121911121912121913121914121915121916121917121918121919121920121921121922121923121924121925121926121927121928121929121930121931121932121933121934121935121936121937121938121939121940121941121942121943121944121945121946121947121948121949121950121951121952121953121954121955121956121957121958121959121960121961121962121963121964121965121966121967121968121969121970121971121972121973121974121975121976121977121978121979121980121981121982121983121984121985121986121987121988121989121990121991121992121993121994121995121996121997121998121999122000122001122002122003122004122005122006122007122008122009122010122011122012122013122014122015122016122017122018122019122020122021122022122023122024122025122026122027122028122029122030122031122032122033122034122035122036122037122038122039122040122041122042122043122044122045122046122047122048122049122050122051122052122053122054122055122056122057122058122059122060122061122062122063122064122065122066122067122068122069122070122071122072122073122074122075122076122077122078122079122080122081122082122083122084122085122086122087122088122089122090122091122092122093122094122095122096122097122098122099122100122101122102122103122104122105122106122107122108122109122110122111122112122113122114122115122116122117122118122119122120122121122122122123122124122125122126122127122128122129122130122131122132122133122134122135122136122137122138122139122140122141122142122143122144122145122146122147122148122149122150122151122152122153122154122155122156122157122158122159122160122161122162122163122164122165122166122167122168122169122170122171122172122173122174122175122176122177122178122179122180122181122182122183122184122185122186122187122188122189122190122191122192122193122194122195122196122197122198122199122200122201122202122203122204122205122206122207122208122209122210122211122212122213122214122215122216122217122218122219122220122221122222122223122224122225122226122227122228122229122230122231122232122233122234122235122236122237122238122239122240122241122242122243122244122245122246122247122248122249122250122251122252122253122254122255122256122257122258122259122260122261122262122263122264122265122266122267122268122269122270122271122272122273122274122275122276122277122278122279122280122281122282122283122284122285122286122287122288122289122290122291122292122293122294122295122296122297122298122299122300122301122302122303122304122305122306122307122308122309122310122311122312122313122314122315122316122317122318122319122320122321122322122323122324122325122326122327122328122329122330122331122332122333122334122335122336122337122338122339122340122341122342122343122344122345122346122347122348122349122350122351122352122353122354122355122356122357122358122359122360122361122362122363122364122365122366122367122368122369122370122371122372122373122374122375122376122377122378122379122380122381122382122383122384122385122386122387122388122389122390122391122392122393122394122395122396122397122398122399122400122401122402122403122404122405122406122407122408122409122410122411122412122413122414122415122416122417122418122419122420122421122422122423122424122425122426122427122428122429122430122431122432122433122434122435122436122437122438122439122440122441122442122443122444122445122446122447122448122449122450122451122452122453122454122455122456122457122458122459122460122461122462122463122464122465122466122467122468122469122470122471122472122473122474122475122476122477122478122479122480122481122482122483122484122485122486122487122488122489122490122491122492122493122494122495122496122497122498122499122500122501122502122503122504122505122506122507122508122509122510122511122512122513122514122515122516122517122518122519122520122521122522122523122524122525122526122527122528122529122530122531122532122533122534122535122536122537122538122539122540122541122542122543122544122545122546122547122548122549122550122551122552122553122554122555122556122557122558122559122560122561122562122563122564122565122566122567122568122569122570122571122572122573122574122575122576122577122578122579122580122581122582122583122584122585122586122587122588122589122590122591122592122593122594122595122596122597122598122599122600122601122602122603122604122605122606122607122608122609122610122611122612122613122614122615122616122617122618122619122620122621122622122623122624122625122626122627122628122629122630122631122632122633122634122635122636122637122638122639122640122641122642122643122644122645122646122647122648122649122650122651122652122653122654122655122656122657122658122659122660122661122662122663122664122665122666122667122668122669122670122671122672122673122674122675122676122677122678122679122680122681122682122683122684122685122686122687122688122689122690122691122692122693122694122695122696122697122698122699122700122701122702122703122704122705122706122707122708122709122710122711122712122713122714122715122716122717122718122719122720122721122722122723122724122725122726122727122728122729122730122731122732122733122734122735122736122737122738122739122740122741122742122743122744122745122746122747122748122749122750122751122752122753122754122755122756122757122758122759122760122761122762122763122764122765122766122767122768122769122770122771122772122773122774122775122776122777122778122779122780122781122782122783122784122785122786122787122788122789122790122791122792122793122794122795122796122797122798122799122800122801122802122803122804122805122806122807122808122809122810122811122812122813122814122815122816122817122818122819122820122821122822122823122824122825122826122827122828122829122830122831122832122833122834122835122836122837122838122839122840122841122842122843122844122845122846122847122848122849122850122851122852122853122854122855122856122857122858122859122860122861122862122863122864122865122866122867122868122869122870122871122872122873122874122875122876122877122878122879122880122881122882122883122884122885122886122887122888122889122890122891122892122893122894122895122896122897122898122899122900122901122902122903122904122905122906122907122908122909122910122911122912122913122914122915122916122917122918122919122920122921122922122923122924122925122926122927122928122929122930122931122932122933122934122935122936122937122938122939122940122941122942122943122944122945122946122947122948122949122950122951122952122953122954122955122956122957122958122959122960122961122962122963122964122965122966122967122968122969122970122971122972122973122974122975122976122977122978122979122980122981122982122983122984122985122986122987122988122989122990122991122992122993122994122995122996122997122998122999123000123001123002123003123004123005123006123007123008123009123010123011123012123013123014123015123016123017123018123019123020123021123022123023123024123025123026123027123028123029123030123031123032123033123034123035123036123037123038123039123040123041123042123043123044123045123046123047123048123049123050123051123052123053123054123055123056123057123058123059123060123061123062123063123064123065123066123067123068123069123070123071123072123073123074123075123076123077123078123079123080123081123082123083123084123085123086123087123088123089123090123091123092123093123094123095123096123097123098123099123100123101123102123103123104123105123106123107123108123109123110123111123112123113123114123115123116123117123118123119123120123121123122123123123124123125123126123127123128123129123130123131123132123133123134123135123136123137123138123139123140123141123142123143123144123145123146123147123148123149123150123151123152123153123154123155123156123157123158123159123160123161123162123163123164123165123166123167123168123169123170123171123172123173123174123175123176123177123178123179123180123181123182123183123184123185123186123187123188123189123190123191123192123193123194123195123196123197123198123199123200123201123202123203123204123205123206123207123208123209123210123211123212123213123214123215123216123217123218123219123220123221123222123223123224123225123226123227123228123229123230123231123232123233123234123235123236123237123238123239123240123241123242123243123244123245123246123247123248123249123250123251123252123253123254123255123256123257123258123259123260123261123262123263123264123265123266123267123268123269123270123271123272123273123274123275123276123277123278123279123280123281123282123283123284123285123286123287123288123289123290123291123292123293123294123295123296123297123298123299123300123301123302123303123304123305123306123307123308123309123310123311123312123313123314123315123316123317123318123319123320123321123322123323123324123325123326123327123328123329123330123331123332123333123334123335123336123337123338123339123340123341123342123343123344123345123346123347123348123349123350123351123352123353123354123355123356123357123358123359123360123361123362123363123364123365123366123367123368123369123370123371123372123373123374123375123376123377123378123379123380123381123382123383123384123385123386123387123388123389123390123391123392123393123394123395123396123397123398123399123400123401123402123403123404123405123406123407123408123409123410123411123412123413123414123415123416123417123418123419123420123421123422123423123424123425123426123427123428123429123430123431123432123433123434123435123436123437123438123439123440123441123442123443123444123445123446123447123448123449123450123451123452123453123454123455123456123457123458123459123460123461123462123463123464123465123466123467123468123469123470123471123472123473123474123475123476123477123478123479123480123481123482123483123484123485123486123487123488123489123490123491123492123493123494123495123496123497123498123499123500123501123502123503123504123505123506123507123508123509123510123511123512123513123514123515123516123517123518123519123520123521123522123523123524123525123526123527123528123529123530123531123532123533123534123535123536123537123538123539123540123541123542123543123544123545123546123547123548123549123550123551123552123553123554123555123556123557123558123559123560123561123562123563123564123565123566123567123568123569123570123571123572123573123574123575123576123577123578123579123580123581123582123583123584123585123586123587123588123589123590123591123592123593123594123595123596123597123598123599123600123601123602123603123604123605123606123607123608123609123610123611123612123613123614123615123616123617123618123619123620123621123622123623123624123625123626123627123628123629123630123631123632123633123634123635123636123637123638123639123640123641123642123643123644123645123646123647123648123649123650123651123652123653123654123655123656123657123658123659123660123661123662123663123664123665123666123667123668123669123670123671123672123673123674123675123676123677123678123679123680123681123682123683123684123685123686123687123688123689123690123691123692123693123694123695123696123697123698123699123700123701123702123703123704123705123706123707123708123709123710123711123712123713123714123715123716123717123718123719123720123721123722123723123724123725123726123727123728123729123730123731123732123733123734123735123736123737123738123739123740123741123742123743123744123745123746123747123748123749123750123751123752123753123754123755123756123757123758123759123760123761123762123763123764123765123766123767123768123769123770123771123772123773123774123775123776123777123778123779123780123781123782123783123784123785123786123787123788123789123790123791123792123793123794123795123796123797123798123799123800123801123802123803123804123805123806123807123808123809123810123811123812123813123814123815123816123817123818123819123820123821123822123823123824123825123826123827123828123829123830123831123832123833123834123835123836123837123838123839123840123841123842123843123844123845123846123847123848123849123850123851123852123853123854123855123856123857123858123859123860123861123862123863123864123865123866123867123868123869123870123871123872123873123874123875123876123877123878123879123880123881123882123883123884123885123886123887123888123889123890123891123892123893123894123895123896123897123898123899123900123901123902123903123904123905123906123907123908123909123910123911123912123913123914123915123916123917123918123919123920123921123922123923123924123925123926123927123928123929123930123931123932123933123934123935123936123937123938123939123940123941123942123943123944123945123946123947123948123949123950123951123952123953123954123955123956123957123958123959123960123961123962123963123964123965123966123967123968123969123970123971123972123973123974123975123976123977123978123979123980123981123982123983123984123985123986123987123988123989123990123991123992123993123994123995123996123997123998123999124000124001124002124003124004124005124006124007124008124009124010124011124012124013124014124015124016124017124018124019124020124021124022124023124024124025124026124027124028124029124030124031124032124033124034124035124036124037124038124039124040124041124042124043124044124045124046124047124048124049124050124051124052124053124054124055124056124057124058124059124060124061124062124063124064124065124066124067124068124069124070124071124072124073124074124075124076124077124078124079124080124081124082124083124084124085124086124087124088124089124090124091124092124093124094124095124096124097124098124099124100124101124102124103124104124105124106124107124108124109124110124111124112124113124114124115124116124117124118124119124120124121124122124123124124124125124126124127124128124129124130124131124132124133124134124135124136124137124138124139124140124141124142124143124144124145124146124147124148124149124150124151124152124153124154124155124156124157124158124159124160124161124162124163124164124165124166124167124168124169124170124171124172124173124174124175124176124177124178124179124180124181124182124183124184124185124186124187124188124189124190124191124192124193124194124195124196124197124198124199124200124201124202124203124204124205124206124207124208124209124210124211124212124213124214124215124216124217124218124219124220124221124222124223124224124225124226124227124228124229124230124231124232124233124234124235124236124237124238124239124240124241124242124243124244124245124246124247124248124249124250124251124252124253124254124255124256124257124258124259124260124261124262124263124264124265124266124267124268124269124270124271124272124273124274124275124276124277124278124279124280124281124282124283124284124285124286124287124288124289124290124291124292124293124294124295124296124297124298124299124300124301124302124303124304124305124306124307124308124309124310124311124312124313124314124315124316124317124318124319124320124321124322124323124324124325124326124327124328124329124330124331124332124333124334124335124336124337124338124339124340124341124342124343124344124345124346124347124348124349124350124351124352124353124354124355124356124357124358124359124360124361124362124363124364124365124366124367124368124369124370124371124372124373124374124375124376124377124378124379124380124381124382124383124384124385124386124387124388124389124390124391124392124393124394124395124396124397124398124399124400124401124402124403124404124405124406124407124408124409124410124411124412124413124414124415124416124417124418124419124420124421124422124423124424124425124426124427124428124429124430124431124432124433124434124435124436124437124438124439124440124441124442124443124444124445124446124447124448124449124450124451124452124453124454124455124456124457124458124459124460124461124462124463124464124465124466124467124468124469124470124471124472124473124474124475124476124477124478124479124480124481124482124483124484124485124486124487124488124489124490124491124492124493124494124495124496124497124498124499124500124501124502124503124504124505124506124507124508124509124510124511124512124513124514124515124516124517124518124519124520124521124522124523124524124525124526124527124528124529124530124531124532124533124534124535124536124537124538124539124540124541124542124543124544124545124546124547124548124549124550124551124552124553124554124555124556124557124558124559124560124561124562124563124564124565124566124567124568124569124570124571124572124573124574124575124576124577124578124579124580124581124582124583124584124585124586124587124588124589124590124591124592124593124594124595124596124597124598124599124600124601124602124603124604124605124606124607124608124609124610124611124612124613124614124615124616124617124618124619124620124621124622124623124624124625124626124627124628124629124630124631124632124633124634124635124636124637124638124639124640124641124642124643124644124645124646124647124648124649124650124651124652124653124654124655124656124657124658124659124660124661124662124663124664124665124666124667124668124669124670124671124672124673124674124675124676124677124678124679124680124681124682124683124684124685124686124687124688124689124690124691124692124693124694124695124696124697124698124699124700124701124702124703124704124705124706124707124708124709124710124711124712124713124714124715124716124717124718124719124720124721124722124723124724124725124726124727124728124729124730124731124732124733124734124735124736124737124738124739124740124741124742124743124744124745124746124747124748124749124750124751124752124753124754124755124756124757124758124759124760124761124762124763124764124765124766124767124768124769124770124771124772124773124774124775124776124777124778124779124780124781124782124783124784124785124786124787124788124789124790124791124792124793124794124795124796124797124798124799124800124801124802124803124804124805124806124807124808124809124810124811124812124813124814124815124816124817124818124819124820124821124822124823124824124825124826124827124828124829124830124831124832124833124834124835124836124837124838124839124840124841124842124843124844124845124846124847124848124849124850124851124852124853124854124855124856124857124858124859124860124861124862124863124864124865124866124867124868124869124870124871124872124873124874124875124876124877124878124879124880124881124882124883124884124885124886124887124888124889124890124891124892124893124894124895124896124897124898124899124900124901124902124903124904124905124906124907124908124909124910124911124912124913124914124915124916124917124918124919124920124921124922124923124924124925124926124927124928124929124930124931124932124933124934124935124936124937124938124939124940124941124942124943124944124945124946124947124948124949124950124951124952124953124954124955124956124957124958124959124960124961124962124963124964124965124966124967124968124969124970124971124972124973124974124975124976124977124978124979124980124981124982124983124984124985124986124987124988124989124990124991124992124993124994124995124996124997124998124999125000125001125002125003125004125005125006125007125008125009125010125011125012125013125014125015125016125017125018125019125020125021125022125023125024125025125026125027125028125029125030125031125032125033125034125035125036125037125038125039125040125041125042125043125044125045125046125047125048125049125050125051125052125053125054125055125056125057125058125059125060125061125062125063125064125065125066125067125068125069125070125071125072125073125074125075125076125077125078125079125080125081125082125083125084125085125086125087125088125089125090125091125092125093125094125095125096125097125098125099125100125101125102125103125104125105125106125107125108125109125110125111125112125113125114125115125116125117125118125119125120125121125122125123125124125125125126125127125128125129125130125131125132125133125134125135125136125137125138125139125140125141125142125143125144125145125146125147125148125149125150125151125152125153125154125155125156125157125158125159125160125161125162125163125164125165125166125167125168125169125170125171125172125173125174125175125176125177125178125179125180125181125182125183125184125185125186125187125188125189125190125191125192125193125194125195125196125197125198125199125200125201125202125203125204125205125206125207125208125209125210125211125212125213125214125215125216125217125218125219125220125221125222125223125224125225125226125227125228125229125230125231125232125233125234125235125236125237125238125239125240125241125242125243125244125245125246125247125248125249125250125251125252125253125254125255125256125257125258125259125260125261125262125263125264125265125266125267125268125269125270125271125272125273125274125275125276125277125278125279125280125281125282125283125284125285125286125287125288125289125290125291125292125293125294125295125296125297125298125299125300125301125302125303125304125305125306125307125308125309125310125311125312125313125314125315125316125317125318125319125320125321125322125323125324125325125326125327125328125329125330125331125332125333125334125335125336125337125338125339125340125341125342125343125344125345125346125347125348125349125350125351125352125353125354125355125356125357125358125359125360125361125362125363125364125365125366125367125368125369125370125371125372125373125374125375125376125377125378125379125380125381125382125383125384125385125386125387125388125389125390125391125392125393125394125395125396125397125398125399125400125401125402125403125404125405125406125407125408125409125410125411125412125413125414125415125416125417125418125419125420125421125422125423125424125425125426125427125428125429125430125431125432125433125434125435125436125437125438125439125440125441125442125443125444125445125446125447125448125449125450125451125452125453125454125455125456125457125458125459125460125461125462125463125464125465125466125467125468125469125470125471125472125473125474125475125476125477125478125479125480125481125482125483125484125485125486125487125488125489125490125491125492125493125494125495125496125497125498125499125500125501125502125503125504125505125506125507125508125509125510125511125512125513125514125515125516125517125518125519125520125521125522125523125524125525125526125527125528125529125530125531125532125533125534125535125536125537125538125539125540125541125542125543125544125545125546125547125548125549125550125551125552125553125554125555125556125557125558125559125560125561125562125563125564125565125566125567125568125569125570125571125572125573125574125575125576125577125578125579125580125581125582125583125584125585125586125587125588125589125590125591125592125593125594125595125596125597125598125599125600125601125602125603125604125605125606125607125608125609125610125611125612125613125614125615125616125617125618125619125620125621125622125623125624125625125626125627125628125629125630125631125632125633125634125635125636125637125638125639125640125641125642125643125644125645125646125647125648125649125650125651125652125653125654125655125656125657125658125659125660125661125662125663125664125665125666125667125668125669125670125671125672125673125674125675125676125677125678125679125680125681125682125683125684125685125686125687125688125689125690125691125692125693125694125695125696125697125698125699125700125701125702125703125704125705125706125707125708125709125710125711125712125713125714125715125716125717125718125719125720125721125722125723125724125725125726125727125728125729125730125731125732125733125734125735125736125737125738125739125740125741125742125743125744125745125746125747125748125749125750125751125752125753125754125755125756125757125758125759125760125761125762125763125764125765125766125767125768125769125770125771125772125773125774125775125776125777125778125779125780125781125782125783125784125785125786125787125788125789125790125791125792125793125794125795125796125797125798125799125800125801125802125803125804125805125806125807125808125809125810125811125812125813125814125815125816125817125818125819125820125821125822125823125824125825125826125827125828125829125830125831125832125833125834125835125836125837125838125839125840125841125842125843125844125845125846125847125848125849125850125851125852125853125854125855125856125857125858125859125860125861125862125863125864125865125866125867125868125869125870125871125872125873125874125875125876125877125878125879125880125881125882125883125884125885125886125887125888125889125890125891125892125893125894125895125896125897125898125899125900125901125902125903125904125905125906125907125908125909125910125911125912125913125914125915125916125917125918125919125920125921125922125923125924125925125926125927125928125929125930125931125932125933125934125935125936125937125938125939125940125941125942125943125944125945125946125947125948125949125950125951125952125953125954125955125956125957125958125959125960125961125962125963125964125965125966125967125968125969125970125971125972125973125974125975125976125977125978125979125980125981125982125983125984125985125986125987125988125989125990125991125992125993125994125995125996125997125998125999126000126001126002126003126004126005126006126007126008126009126010126011126012126013126014126015126016126017126018126019126020126021126022126023126024126025126026126027126028126029126030126031126032126033126034126035126036126037126038126039126040126041126042126043126044126045126046126047126048126049126050126051126052126053126054126055126056126057126058126059126060126061126062126063126064126065126066126067126068126069126070126071126072126073126074126075126076126077126078126079126080126081126082126083126084126085126086126087126088126089126090126091126092126093126094126095126096126097126098126099126100126101126102126103126104126105126106126107126108126109126110126111126112126113126114126115126116126117126118126119126120126121126122126123126124126125126126126127126128126129126130126131126132126133126134126135126136126137126138126139126140126141126142126143126144126145126146126147126148126149126150126151126152126153126154126155126156126157126158126159126160126161126162126163126164126165126166126167126168126169126170126171126172126173126174126175126176126177126178126179126180126181126182126183126184126185126186126187126188126189126190126191126192126193126194126195126196126197126198126199126200126201126202126203126204126205126206126207126208126209126210126211126212126213126214126215126216126217126218126219126220126221126222126223126224126225126226126227126228126229126230126231126232126233126234126235126236126237126238126239126240126241126242126243126244126245126246126247126248126249126250126251126252126253126254126255126256126257126258126259126260126261126262126263126264126265126266126267126268126269126270126271126272126273126274126275126276126277126278126279126280126281126282126283126284126285126286126287126288126289126290126291126292126293126294126295126296126297126298126299126300126301126302126303126304126305126306126307126308126309126310126311126312126313126314126315126316126317126318126319126320126321126322126323126324126325126326126327126328126329126330126331126332126333126334126335126336126337126338126339126340126341126342126343126344126345126346126347126348126349126350126351126352126353126354126355126356126357126358126359126360126361126362126363126364126365126366126367126368126369126370126371126372126373126374126375126376126377126378126379126380126381126382126383126384126385126386126387126388126389126390126391126392126393126394126395126396126397126398126399126400126401126402126403126404126405126406126407126408126409126410126411126412126413126414126415126416126417126418126419126420126421126422126423126424126425126426126427126428126429126430126431126432126433126434126435126436126437126438126439126440126441126442126443126444126445126446126447126448126449126450126451126452126453126454126455126456126457126458126459126460126461126462126463126464126465126466126467126468126469126470126471126472126473126474126475126476126477126478126479126480126481126482126483126484126485126486126487126488126489126490126491126492126493126494126495126496126497126498126499126500126501126502126503126504126505126506126507126508126509126510126511126512126513126514126515126516126517126518126519126520126521126522126523126524126525126526126527126528126529126530126531126532126533126534126535126536126537126538126539126540126541126542126543126544126545126546126547126548126549126550126551126552126553126554126555126556126557126558126559126560126561126562126563126564126565126566126567126568126569126570126571126572126573126574126575126576126577126578126579126580126581126582126583126584126585126586126587126588126589126590126591126592126593126594126595126596126597126598126599126600126601126602126603126604126605126606126607126608126609126610126611126612126613126614126615126616126617126618126619126620126621126622126623126624126625126626126627126628126629126630126631126632126633126634126635126636126637126638126639126640126641126642126643126644126645126646126647126648126649126650126651126652126653126654126655126656126657126658126659126660126661126662126663126664126665126666126667126668126669126670126671126672126673126674126675126676126677126678126679126680126681126682126683126684126685126686126687126688126689126690126691126692126693126694126695126696126697126698126699126700126701126702126703126704126705126706126707126708126709126710126711126712126713126714126715126716126717126718126719126720126721126722126723126724126725126726126727126728126729126730126731126732126733126734126735126736126737126738126739126740126741126742126743126744126745126746126747126748126749126750126751126752126753126754126755126756126757126758126759126760126761126762126763126764126765126766126767126768126769126770126771126772126773126774126775126776126777126778126779126780126781126782126783126784126785126786126787126788126789126790126791126792126793126794126795126796126797126798126799126800126801126802126803126804126805126806126807126808126809126810126811126812126813126814126815126816126817126818126819126820126821126822126823126824126825126826126827126828126829126830126831126832126833126834126835126836126837126838126839126840126841126842126843126844126845126846126847126848126849126850126851126852126853126854126855126856126857126858126859126860126861126862126863126864126865126866126867126868126869126870126871126872126873126874126875126876126877126878126879126880126881126882126883126884126885126886126887126888126889126890126891126892126893126894126895126896126897126898126899126900126901126902126903126904126905126906126907126908126909126910126911126912126913126914126915126916126917126918126919126920126921126922126923126924126925126926126927126928126929126930126931126932126933126934126935126936126937126938126939126940126941126942126943126944126945126946126947126948126949126950126951126952126953126954126955126956126957126958126959126960126961126962126963126964126965126966126967126968126969126970126971126972126973126974126975126976126977126978126979126980126981126982126983126984126985126986126987126988126989126990126991126992126993126994126995126996126997126998126999127000127001127002127003127004127005127006127007127008127009127010127011127012127013127014127015127016127017127018127019127020127021127022127023127024127025127026127027127028127029127030127031127032127033127034127035127036127037127038127039127040127041127042127043127044127045127046127047127048127049127050127051127052127053127054127055127056127057127058127059127060127061127062127063127064127065127066127067127068127069127070127071127072127073127074127075127076127077127078127079127080127081127082127083127084127085127086127087127088127089127090127091127092127093127094127095127096127097127098127099127100127101127102127103127104127105127106127107127108127109127110127111127112127113127114127115127116127117127118127119127120127121127122127123127124127125127126127127127128127129127130127131127132127133127134127135127136127137127138127139127140127141127142127143127144127145127146127147127148127149127150127151127152127153127154127155127156127157127158127159127160127161127162127163127164127165127166127167127168127169127170127171127172127173127174127175127176127177127178127179127180127181127182127183127184127185127186127187127188127189127190127191127192127193127194127195127196127197127198127199127200127201127202127203127204127205127206127207127208127209127210127211127212127213127214127215127216127217127218127219127220127221127222127223127224127225127226127227127228127229127230127231127232127233127234127235127236127237127238127239127240127241127242127243127244127245127246127247127248127249127250127251127252127253127254127255127256127257127258127259127260127261127262127263127264127265127266127267127268127269127270127271127272127273127274127275127276127277127278127279127280127281127282127283127284127285127286127287127288127289127290127291127292127293127294127295127296127297127298127299127300127301127302127303127304127305127306127307127308127309127310127311127312127313127314127315127316127317127318127319127320127321127322127323127324127325127326127327127328127329127330127331127332127333127334127335127336127337127338127339127340127341127342127343127344127345127346127347127348127349127350127351127352127353127354127355127356127357127358127359127360127361127362127363127364127365127366127367127368127369127370
  1. // Because of vitejs/vite#12340, there's no way to reliably detect whether we're
  2. // running as a (possibly bundled/polyfilled) ESM module or as a CommonJS
  3. // module. In order to work everywhere, we have to provide the load function via
  4. // a side channel on the global object. We write it as a stack so that multiple
  5. // cli_pkg packages can depend on one another without clobbering their exports.
  6. if (!globalThis._cliPkgExports) {
  7. globalThis._cliPkgExports = [];
  8. }
  9. let _cliPkgExports = {};
  10. globalThis._cliPkgExports.push(_cliPkgExports);
  11. _cliPkgExports.load = function(_cliPkgRequires, _cliPkgExportParam) {
  12. var dartNodeIsActuallyNode = typeof process !== "undefined" && (process.versions || {}).hasOwnProperty('node');
  13. // make sure to keep this as 'var'
  14. // we don't want block scoping
  15. var self = dartNodeIsActuallyNode ? Object.create(globalThis) : globalThis;
  16. self.scheduleImmediate = typeof setImmediate !== "undefined"
  17. ? function (cb) {
  18. setImmediate(cb);
  19. }
  20. : function(cb) {
  21. setTimeout(cb, 0);
  22. };
  23. // CommonJS globals.
  24. if (typeof require !== "undefined") {
  25. self.require = require;
  26. }
  27. self.exports = _cliPkgExportParam || _cliPkgExports;
  28. // Node.js specific exports, check to see if they exist & or polyfilled
  29. if (typeof process !== "undefined") {
  30. self.process = process;
  31. }
  32. if (typeof __dirname !== "undefined") {
  33. self.__dirname = __dirname;
  34. }
  35. if (typeof __filename !== "undefined") {
  36. self.__filename = __filename;
  37. }
  38. if (typeof Buffer !== "undefined") {
  39. self.Buffer = Buffer;
  40. }
  41. // if we're running in a browser, Dart supports most of this out of box
  42. // make sure we only run these in Node.js environment
  43. if (dartNodeIsActuallyNode) {
  44. // This line is to:
  45. // 1) Prevent Webpack from bundling.
  46. // 2) In Webpack on Node.js, make sure we're using the native Node.js require, which is available via __non_webpack_require__
  47. // https://github.com/mbullington/node_preamble.dart/issues/18#issuecomment-527305561
  48. var url = ("undefined" !== typeof __webpack_require__ ? __non_webpack_require__ : require)("url");
  49. // Setting `self.location=` in Electron throws a `TypeError`, so we define it
  50. // as a property instead to be safe.
  51. Object.defineProperty(self, "location", {
  52. value: {
  53. get href() {
  54. if (url.pathToFileURL) {
  55. return url.pathToFileURL(process.cwd()).href + "/";
  56. } else {
  57. // This isn't really a correct transformation, but it's the best we have
  58. // for versions of Node <10.12.0 which introduced `url.pathToFileURL()`.
  59. // For example, it will fail for paths that contain characters that need
  60. // to be escaped in URLs.
  61. return "file://" + (function() {
  62. var cwd = process.cwd();
  63. if (process.platform != "win32") return cwd;
  64. return "/" + cwd.replace(/\\/g, "/");
  65. })() + "/"
  66. }
  67. }
  68. }
  69. });
  70. (function() {
  71. function computeCurrentScript() {
  72. try {
  73. throw new Error();
  74. } catch(e) {
  75. var stack = e.stack;
  76. var re = new RegExp("^ *at [^(]*\\((.*):[0-9]*:[0-9]*\\)$", "mg");
  77. var lastMatch = null;
  78. do {
  79. var match = re.exec(stack);
  80. if (match != null) lastMatch = match;
  81. } while (match != null);
  82. return lastMatch[1];
  83. }
  84. }
  85. // Setting `self.document=` isn't known to throw an error anywhere like
  86. // `self.location=` does on Electron, but it's better to be future-proof
  87. // just in case..
  88. var cachedCurrentScript = null;
  89. Object.defineProperty(self, "document", {
  90. value: {
  91. get currentScript() {
  92. if (cachedCurrentScript == null) {
  93. cachedCurrentScript = {src: computeCurrentScript()};
  94. }
  95. return cachedCurrentScript;
  96. }
  97. }
  98. });
  99. })();
  100. self.dartDeferredLibraryLoader = function(uri, successCallback, errorCallback) {
  101. try {
  102. load(uri);
  103. successCallback();
  104. } catch (error) {
  105. errorCallback(error);
  106. }
  107. };
  108. }
  109. Object.defineProperty(self, 'parcel_watcher', { get: _cliPkgRequires.parcel_watcher });
  110. self.immutable = _cliPkgRequires.immutable;
  111. self.chokidar = _cliPkgRequires.chokidar;
  112. self.readline = _cliPkgRequires.readline;
  113. self.fs = _cliPkgRequires.fs;
  114. self.nodeModule = _cliPkgRequires.nodeModule;
  115. self.stream = _cliPkgRequires.stream;
  116. self.util = _cliPkgRequires.util;
  117. // Generated by dart2js (, trust primitives, omit checks, lax runtime type, csp, intern-composite-values), the Dart to JavaScript compiler version: 3.8.1.
  118. // The code supports the following hooks:
  119. // dartPrint(message):
  120. // if this function is defined it is called instead of the Dart [print]
  121. // method.
  122. //
  123. // dartMainRunner(main, args):
  124. // if this function is defined, the Dart [main] method will not be invoked
  125. // directly. Instead, a closure that will invoke [main], and its arguments
  126. // [args] is passed to [dartMainRunner].
  127. //
  128. // dartDeferredLibraryLoader(uri, successCallback, errorCallback, loadId, loadPriority):
  129. // if this function is defined, it will be called when a deferred library
  130. // is loaded. It should load and eval the javascript of `uri`, and call
  131. // successCallback. If it fails to do so, it should call errorCallback with
  132. // an error. The loadId argument is the deferred import that resulted in
  133. // this uri being loaded. The loadPriority argument is an arbitrary argument
  134. // string forwarded from the 'dart2js:load-priority' pragma option.
  135. // dartDeferredLibraryMultiLoader(uris, successCallback, errorCallback, loadId, loadPriority):
  136. // if this function is defined, it will be called when a deferred library
  137. // is loaded. It should load and eval the javascript of every URI in `uris`,
  138. // and call successCallback. If it fails to do so, it should call
  139. // errorCallback with an error. The loadId argument is the deferred import
  140. // that resulted in this uri being loaded. The loadPriority argument is an
  141. // arbitrary argument string forwarded from the 'dart2js:load-priority'
  142. // pragma option.
  143. //
  144. // dartCallInstrumentation(id, qualifiedName):
  145. // if this function is defined, it will be called at each entry of a
  146. // method or constructor. Used only when compiling programs with
  147. // --experiment-call-instrumentation.
  148. (function dartProgram() {
  149. function copyProperties(from, to) {
  150. var keys = Object.keys(from);
  151. for (var i = 0; i < keys.length; i++) {
  152. var key = keys[i];
  153. to[key] = from[key];
  154. }
  155. }
  156. function mixinPropertiesHard(from, to) {
  157. var keys = Object.keys(from);
  158. for (var i = 0; i < keys.length; i++) {
  159. var key = keys[i];
  160. if (!to.hasOwnProperty(key)) {
  161. to[key] = from[key];
  162. }
  163. }
  164. }
  165. function mixinPropertiesEasy(from, to) {
  166. Object.assign(to, from);
  167. }
  168. var supportsDirectProtoAccess = function() {
  169. var cls = function() {
  170. };
  171. cls.prototype = {p: {}};
  172. var object = new cls();
  173. if (!(Object.getPrototypeOf(object) && Object.getPrototypeOf(object).p === cls.prototype.p))
  174. return false;
  175. try {
  176. if (typeof navigator != "undefined" && typeof navigator.userAgent == "string" && navigator.userAgent.indexOf("Chrome/") >= 0)
  177. return true;
  178. if (typeof version == "function" && version.length == 0) {
  179. var v = version();
  180. if (/^\d+\.\d+\.\d+\.\d+$/.test(v))
  181. return true;
  182. }
  183. } catch (_) {
  184. }
  185. return false;
  186. }();
  187. function inherit(cls, sup) {
  188. cls.prototype.constructor = cls;
  189. cls.prototype["$is" + cls.name] = cls;
  190. if (sup != null) {
  191. if (supportsDirectProtoAccess) {
  192. Object.setPrototypeOf(cls.prototype, sup.prototype);
  193. return;
  194. }
  195. var clsPrototype = Object.create(sup.prototype);
  196. copyProperties(cls.prototype, clsPrototype);
  197. cls.prototype = clsPrototype;
  198. }
  199. }
  200. function inheritMany(sup, classes) {
  201. for (var i = 0; i < classes.length; i++) {
  202. inherit(classes[i], sup);
  203. }
  204. }
  205. function mixinEasy(cls, mixin) {
  206. mixinPropertiesEasy(mixin.prototype, cls.prototype);
  207. cls.prototype.constructor = cls;
  208. }
  209. function mixinHard(cls, mixin) {
  210. mixinPropertiesHard(mixin.prototype, cls.prototype);
  211. cls.prototype.constructor = cls;
  212. }
  213. function lazy(holder, name, getterName, initializer) {
  214. var uninitializedSentinel = holder;
  215. holder[name] = uninitializedSentinel;
  216. holder[getterName] = function() {
  217. if (holder[name] === uninitializedSentinel) {
  218. holder[name] = initializer();
  219. }
  220. holder[getterName] = function() {
  221. return this[name];
  222. };
  223. return holder[name];
  224. };
  225. }
  226. function lazyFinal(holder, name, getterName, initializer) {
  227. var uninitializedSentinel = holder;
  228. holder[name] = uninitializedSentinel;
  229. holder[getterName] = function() {
  230. if (holder[name] === uninitializedSentinel) {
  231. var value = initializer();
  232. if (holder[name] !== uninitializedSentinel) {
  233. A.throwLateFieldADI(name);
  234. }
  235. holder[name] = value;
  236. }
  237. var finalValue = holder[name];
  238. holder[getterName] = function() {
  239. return finalValue;
  240. };
  241. return finalValue;
  242. };
  243. }
  244. function makeConstList(list) {
  245. list.$flags = 7;
  246. return list;
  247. }
  248. function convertToFastObject(properties) {
  249. function t() {
  250. }
  251. t.prototype = properties;
  252. new t();
  253. return properties;
  254. }
  255. function convertAllToFastObject(arrayOfObjects) {
  256. for (var i = 0; i < arrayOfObjects.length; ++i) {
  257. convertToFastObject(arrayOfObjects[i]);
  258. }
  259. }
  260. var functionCounter = 0;
  261. function instanceTearOffGetter(isIntercepted, parameters) {
  262. var cache = null;
  263. return isIntercepted ? function(receiver) {
  264. if (cache === null)
  265. cache = A.closureFromTearOff(parameters);
  266. return new cache(receiver, this);
  267. } : function() {
  268. if (cache === null)
  269. cache = A.closureFromTearOff(parameters);
  270. return new cache(this, null);
  271. };
  272. }
  273. function staticTearOffGetter(parameters) {
  274. var cache = null;
  275. return function() {
  276. if (cache === null)
  277. cache = A.closureFromTearOff(parameters).prototype;
  278. return cache;
  279. };
  280. }
  281. var typesOffset = 0;
  282. function tearOffParameters(container, isStatic, isIntercepted, requiredParameterCount, optionalParameterDefaultValues, callNames, funsOrNames, funType, applyIndex, needsDirectAccess) {
  283. if (typeof funType == "number") {
  284. funType += typesOffset;
  285. }
  286. return {co: container, iS: isStatic, iI: isIntercepted, rC: requiredParameterCount, dV: optionalParameterDefaultValues, cs: callNames, fs: funsOrNames, fT: funType, aI: applyIndex || 0, nDA: needsDirectAccess};
  287. }
  288. function installStaticTearOff(holder, getterName, requiredParameterCount, optionalParameterDefaultValues, callNames, funsOrNames, funType, applyIndex) {
  289. var parameters = tearOffParameters(holder, true, false, requiredParameterCount, optionalParameterDefaultValues, callNames, funsOrNames, funType, applyIndex, false);
  290. var getterFunction = staticTearOffGetter(parameters);
  291. holder[getterName] = getterFunction;
  292. }
  293. function installInstanceTearOff(prototype, getterName, isIntercepted, requiredParameterCount, optionalParameterDefaultValues, callNames, funsOrNames, funType, applyIndex, needsDirectAccess) {
  294. isIntercepted = !!isIntercepted;
  295. var parameters = tearOffParameters(prototype, false, isIntercepted, requiredParameterCount, optionalParameterDefaultValues, callNames, funsOrNames, funType, applyIndex, !!needsDirectAccess);
  296. var getterFunction = instanceTearOffGetter(isIntercepted, parameters);
  297. prototype[getterName] = getterFunction;
  298. }
  299. function setOrUpdateInterceptorsByTag(newTags) {
  300. var tags = init.interceptorsByTag;
  301. if (!tags) {
  302. init.interceptorsByTag = newTags;
  303. return;
  304. }
  305. copyProperties(newTags, tags);
  306. }
  307. function setOrUpdateLeafTags(newTags) {
  308. var tags = init.leafTags;
  309. if (!tags) {
  310. init.leafTags = newTags;
  311. return;
  312. }
  313. copyProperties(newTags, tags);
  314. }
  315. function updateTypes(newTypes) {
  316. var types = init.types;
  317. var length = types.length;
  318. types.push.apply(types, newTypes);
  319. return length;
  320. }
  321. function updateHolder(holder, newHolder) {
  322. copyProperties(newHolder, holder);
  323. return holder;
  324. }
  325. var hunkHelpers = function() {
  326. var mkInstance = function(isIntercepted, requiredParameterCount, optionalParameterDefaultValues, callNames, applyIndex) {
  327. return function(container, getterName, name, funType) {
  328. return installInstanceTearOff(container, getterName, isIntercepted, requiredParameterCount, optionalParameterDefaultValues, callNames, [name], funType, applyIndex, false);
  329. };
  330. },
  331. mkStatic = function(requiredParameterCount, optionalParameterDefaultValues, callNames, applyIndex) {
  332. return function(container, getterName, name, funType) {
  333. return installStaticTearOff(container, getterName, requiredParameterCount, optionalParameterDefaultValues, callNames, [name], funType, applyIndex);
  334. };
  335. };
  336. return {inherit: inherit, inheritMany: inheritMany, mixin: mixinEasy, mixinHard: mixinHard, installStaticTearOff: installStaticTearOff, installInstanceTearOff: installInstanceTearOff, _instance_0u: mkInstance(0, 0, null, ["call$0"], 0), _instance_1u: mkInstance(0, 1, null, ["call$1"], 0), _instance_2u: mkInstance(0, 2, null, ["call$2"], 0), _instance_0i: mkInstance(1, 0, null, ["call$0"], 0), _instance_1i: mkInstance(1, 1, null, ["call$1"], 0), _instance_2i: mkInstance(1, 2, null, ["call$2"], 0), _static_0: mkStatic(0, null, ["call$0"], 0), _static_1: mkStatic(1, null, ["call$1"], 0), _static_2: mkStatic(2, null, ["call$2"], 0), makeConstList: makeConstList, lazy: lazy, lazyFinal: lazyFinal, updateHolder: updateHolder, convertToFastObject: convertToFastObject, updateTypes: updateTypes, setOrUpdateInterceptorsByTag: setOrUpdateInterceptorsByTag, setOrUpdateLeafTags: setOrUpdateLeafTags};
  337. }();
  338. function initializeDeferredHunk(hunk) {
  339. typesOffset = init.types.length;
  340. hunk(hunkHelpers, init, holders, $);
  341. }
  342. var J = {
  343. makeDispatchRecord(interceptor, proto, extension, indexability) {
  344. return {i: interceptor, p: proto, e: extension, x: indexability};
  345. },
  346. getNativeInterceptor(object) {
  347. var proto, objectProto, $constructor, interceptor, t1,
  348. record = object[init.dispatchPropertyName];
  349. if (record == null)
  350. if ($.initNativeDispatchFlag == null) {
  351. A.initNativeDispatch();
  352. record = object[init.dispatchPropertyName];
  353. }
  354. if (record != null) {
  355. proto = record.p;
  356. if (false === proto)
  357. return record.i;
  358. if (true === proto)
  359. return object;
  360. objectProto = Object.getPrototypeOf(object);
  361. if (proto === objectProto)
  362. return record.i;
  363. if (record.e === objectProto)
  364. throw A.wrapException(A.UnimplementedError$("Return interceptor for " + A.S(proto(object, record))));
  365. }
  366. $constructor = object.constructor;
  367. if ($constructor == null)
  368. interceptor = null;
  369. else {
  370. t1 = $._JS_INTEROP_INTERCEPTOR_TAG;
  371. if (t1 == null)
  372. t1 = $._JS_INTEROP_INTERCEPTOR_TAG = init.getIsolateTag("_$dart_js");
  373. interceptor = $constructor[t1];
  374. }
  375. if (interceptor != null)
  376. return interceptor;
  377. interceptor = A.lookupAndCacheInterceptor(object);
  378. if (interceptor != null)
  379. return interceptor;
  380. if (typeof object == "function")
  381. return B.JavaScriptFunction_methods;
  382. proto = Object.getPrototypeOf(object);
  383. if (proto == null)
  384. return B.PlainJavaScriptObject_methods;
  385. if (proto === Object.prototype)
  386. return B.PlainJavaScriptObject_methods;
  387. if (typeof $constructor == "function") {
  388. t1 = $._JS_INTEROP_INTERCEPTOR_TAG;
  389. if (t1 == null)
  390. t1 = $._JS_INTEROP_INTERCEPTOR_TAG = init.getIsolateTag("_$dart_js");
  391. Object.defineProperty($constructor, t1, {value: B.UnknownJavaScriptObject_methods, enumerable: false, writable: true, configurable: true});
  392. return B.UnknownJavaScriptObject_methods;
  393. }
  394. return B.UnknownJavaScriptObject_methods;
  395. },
  396. JSArray_JSArray$fixed($length, $E) {
  397. if ($length < 0 || $length > 4294967295)
  398. throw A.wrapException(A.RangeError$range($length, 0, 4294967295, "length", null));
  399. return J.JSArray_JSArray$markFixed(new Array($length), $E);
  400. },
  401. JSArray_JSArray$allocateFixed($length, $E) {
  402. if ($length > 4294967295)
  403. throw A.wrapException(A.RangeError$range($length, 0, 4294967295, "length", null));
  404. return J.JSArray_JSArray$markFixed(new Array($length), $E);
  405. },
  406. JSArray_JSArray$growable($length, $E) {
  407. if ($length < 0)
  408. throw A.wrapException(A.ArgumentError$("Length must be a non-negative integer: " + $length, null));
  409. return A._setArrayType(new Array($length), $E._eval$1("JSArray<0>"));
  410. },
  411. JSArray_JSArray$allocateGrowable($length, $E) {
  412. if ($length < 0)
  413. throw A.wrapException(A.ArgumentError$("Length must be a non-negative integer: " + $length, null));
  414. return A._setArrayType(new Array($length), $E._eval$1("JSArray<0>"));
  415. },
  416. JSArray_JSArray$markFixed(allocation, $E) {
  417. var t1 = A._setArrayType(allocation, $E._eval$1("JSArray<0>"));
  418. t1.$flags = 1;
  419. return t1;
  420. },
  421. JSArray__compareAny(a, b) {
  422. return J.compareTo$1$ns(a, b);
  423. },
  424. JSString__isWhitespace(codeUnit) {
  425. if (codeUnit < 256)
  426. switch (codeUnit) {
  427. case 9:
  428. case 10:
  429. case 11:
  430. case 12:
  431. case 13:
  432. case 32:
  433. case 133:
  434. case 160:
  435. return true;
  436. default:
  437. return false;
  438. }
  439. switch (codeUnit) {
  440. case 5760:
  441. case 8192:
  442. case 8193:
  443. case 8194:
  444. case 8195:
  445. case 8196:
  446. case 8197:
  447. case 8198:
  448. case 8199:
  449. case 8200:
  450. case 8201:
  451. case 8202:
  452. case 8232:
  453. case 8233:
  454. case 8239:
  455. case 8287:
  456. case 12288:
  457. case 65279:
  458. return true;
  459. default:
  460. return false;
  461. }
  462. },
  463. JSString__skipLeadingWhitespace(string, index) {
  464. var t1, codeUnit;
  465. for (t1 = string.length; index < t1;) {
  466. codeUnit = string.charCodeAt(index);
  467. if (codeUnit !== 32 && codeUnit !== 13 && !J.JSString__isWhitespace(codeUnit))
  468. break;
  469. ++index;
  470. }
  471. return index;
  472. },
  473. JSString__skipTrailingWhitespace(string, index) {
  474. var index0, codeUnit;
  475. for (; index > 0; index = index0) {
  476. index0 = index - 1;
  477. codeUnit = string.charCodeAt(index0);
  478. if (codeUnit !== 32 && codeUnit !== 13 && !J.JSString__isWhitespace(codeUnit))
  479. break;
  480. }
  481. return index;
  482. },
  483. getInterceptor$(receiver) {
  484. if (typeof receiver == "number") {
  485. if (Math.floor(receiver) == receiver)
  486. return J.JSInt.prototype;
  487. return J.JSNumNotInt.prototype;
  488. }
  489. if (typeof receiver == "string")
  490. return J.JSString.prototype;
  491. if (receiver == null)
  492. return J.JSNull.prototype;
  493. if (typeof receiver == "boolean")
  494. return J.JSBool.prototype;
  495. if (Array.isArray(receiver))
  496. return J.JSArray.prototype;
  497. if (typeof receiver != "object") {
  498. if (typeof receiver == "function")
  499. return J.JavaScriptFunction.prototype;
  500. if (typeof receiver == "symbol")
  501. return J.JavaScriptSymbol.prototype;
  502. if (typeof receiver == "bigint")
  503. return J.JavaScriptBigInt.prototype;
  504. return receiver;
  505. }
  506. if (receiver instanceof A.Object)
  507. return receiver;
  508. return J.getNativeInterceptor(receiver);
  509. },
  510. getInterceptor$ansx(receiver) {
  511. if (typeof receiver == "number")
  512. return J.JSNumber.prototype;
  513. if (typeof receiver == "string")
  514. return J.JSString.prototype;
  515. if (receiver == null)
  516. return receiver;
  517. if (Array.isArray(receiver))
  518. return J.JSArray.prototype;
  519. if (typeof receiver != "object") {
  520. if (typeof receiver == "function")
  521. return J.JavaScriptFunction.prototype;
  522. if (typeof receiver == "symbol")
  523. return J.JavaScriptSymbol.prototype;
  524. if (typeof receiver == "bigint")
  525. return J.JavaScriptBigInt.prototype;
  526. return receiver;
  527. }
  528. if (receiver instanceof A.Object)
  529. return receiver;
  530. return J.getNativeInterceptor(receiver);
  531. },
  532. getInterceptor$asx(receiver) {
  533. if (typeof receiver == "string")
  534. return J.JSString.prototype;
  535. if (receiver == null)
  536. return receiver;
  537. if (Array.isArray(receiver))
  538. return J.JSArray.prototype;
  539. if (typeof receiver != "object") {
  540. if (typeof receiver == "function")
  541. return J.JavaScriptFunction.prototype;
  542. if (typeof receiver == "symbol")
  543. return J.JavaScriptSymbol.prototype;
  544. if (typeof receiver == "bigint")
  545. return J.JavaScriptBigInt.prototype;
  546. return receiver;
  547. }
  548. if (receiver instanceof A.Object)
  549. return receiver;
  550. return J.getNativeInterceptor(receiver);
  551. },
  552. getInterceptor$ax(receiver) {
  553. if (receiver == null)
  554. return receiver;
  555. if (Array.isArray(receiver))
  556. return J.JSArray.prototype;
  557. if (typeof receiver != "object") {
  558. if (typeof receiver == "function")
  559. return J.JavaScriptFunction.prototype;
  560. if (typeof receiver == "symbol")
  561. return J.JavaScriptSymbol.prototype;
  562. if (typeof receiver == "bigint")
  563. return J.JavaScriptBigInt.prototype;
  564. return receiver;
  565. }
  566. if (receiver instanceof A.Object)
  567. return receiver;
  568. return J.getNativeInterceptor(receiver);
  569. },
  570. getInterceptor$in(receiver) {
  571. if (typeof receiver == "number") {
  572. if (Math.floor(receiver) == receiver)
  573. return J.JSInt.prototype;
  574. return J.JSNumNotInt.prototype;
  575. }
  576. if (receiver == null)
  577. return receiver;
  578. if (!(receiver instanceof A.Object))
  579. return J.UnknownJavaScriptObject.prototype;
  580. return receiver;
  581. },
  582. getInterceptor$ns(receiver) {
  583. if (typeof receiver == "number")
  584. return J.JSNumber.prototype;
  585. if (typeof receiver == "string")
  586. return J.JSString.prototype;
  587. if (receiver == null)
  588. return receiver;
  589. if (!(receiver instanceof A.Object))
  590. return J.UnknownJavaScriptObject.prototype;
  591. return receiver;
  592. },
  593. getInterceptor$s(receiver) {
  594. if (typeof receiver == "string")
  595. return J.JSString.prototype;
  596. if (receiver == null)
  597. return receiver;
  598. if (!(receiver instanceof A.Object))
  599. return J.UnknownJavaScriptObject.prototype;
  600. return receiver;
  601. },
  602. getInterceptor$x(receiver) {
  603. if (receiver == null)
  604. return receiver;
  605. if (typeof receiver != "object") {
  606. if (typeof receiver == "function")
  607. return J.JavaScriptFunction.prototype;
  608. if (typeof receiver == "symbol")
  609. return J.JavaScriptSymbol.prototype;
  610. if (typeof receiver == "bigint")
  611. return J.JavaScriptBigInt.prototype;
  612. return receiver;
  613. }
  614. if (receiver instanceof A.Object)
  615. return receiver;
  616. return J.getNativeInterceptor(receiver);
  617. },
  618. getInterceptor$z(receiver) {
  619. if (receiver == null)
  620. return receiver;
  621. if (!(receiver instanceof A.Object))
  622. return J.UnknownJavaScriptObject.prototype;
  623. return receiver;
  624. },
  625. set$AsyncCompiler$x(receiver, value) {
  626. return J.getInterceptor$x(receiver).set$AsyncCompiler(receiver, value);
  627. },
  628. set$CalculationInterpolation$x(receiver, value) {
  629. return J.getInterceptor$x(receiver).set$CalculationInterpolation(receiver, value);
  630. },
  631. set$CalculationOperation$x(receiver, value) {
  632. return J.getInterceptor$x(receiver).set$CalculationOperation(receiver, value);
  633. },
  634. set$Compiler$x(receiver, value) {
  635. return J.getInterceptor$x(receiver).set$Compiler(receiver, value);
  636. },
  637. set$Exception$x(receiver, value) {
  638. return J.getInterceptor$x(receiver).set$Exception(receiver, value);
  639. },
  640. set$FALSE$x(receiver, value) {
  641. return J.getInterceptor$x(receiver).set$FALSE(receiver, value);
  642. },
  643. set$Logger$x(receiver, value) {
  644. return J.getInterceptor$x(receiver).set$Logger(receiver, value);
  645. },
  646. set$NULL$x(receiver, value) {
  647. return J.getInterceptor$x(receiver).set$NULL(receiver, value);
  648. },
  649. set$NodePackageImporter$x(receiver, value) {
  650. return J.getInterceptor$x(receiver).set$NodePackageImporter(receiver, value);
  651. },
  652. set$SassArgumentList$x(receiver, value) {
  653. return J.getInterceptor$x(receiver).set$SassArgumentList(receiver, value);
  654. },
  655. set$SassBoolean$x(receiver, value) {
  656. return J.getInterceptor$x(receiver).set$SassBoolean(receiver, value);
  657. },
  658. set$SassCalculation$x(receiver, value) {
  659. return J.getInterceptor$x(receiver).set$SassCalculation(receiver, value);
  660. },
  661. set$SassColor$x(receiver, value) {
  662. return J.getInterceptor$x(receiver).set$SassColor(receiver, value);
  663. },
  664. set$SassFunction$x(receiver, value) {
  665. return J.getInterceptor$x(receiver).set$SassFunction(receiver, value);
  666. },
  667. set$SassList$x(receiver, value) {
  668. return J.getInterceptor$x(receiver).set$SassList(receiver, value);
  669. },
  670. set$SassMap$x(receiver, value) {
  671. return J.getInterceptor$x(receiver).set$SassMap(receiver, value);
  672. },
  673. set$SassMixin$x(receiver, value) {
  674. return J.getInterceptor$x(receiver).set$SassMixin(receiver, value);
  675. },
  676. set$SassNumber$x(receiver, value) {
  677. return J.getInterceptor$x(receiver).set$SassNumber(receiver, value);
  678. },
  679. set$SassString$x(receiver, value) {
  680. return J.getInterceptor$x(receiver).set$SassString(receiver, value);
  681. },
  682. set$TRUE$x(receiver, value) {
  683. return J.getInterceptor$x(receiver).set$TRUE(receiver, value);
  684. },
  685. set$Value$x(receiver, value) {
  686. return J.getInterceptor$x(receiver).set$Value(receiver, value);
  687. },
  688. set$Version$x(receiver, value) {
  689. return J.getInterceptor$x(receiver).set$Version(receiver, value);
  690. },
  691. set$cli_pkg_main_0_$x(receiver, value) {
  692. return J.getInterceptor$x(receiver).set$cli_pkg_main_0_(receiver, value);
  693. },
  694. set$compile$x(receiver, value) {
  695. return J.getInterceptor$x(receiver).set$compile(receiver, value);
  696. },
  697. set$compileAsync$x(receiver, value) {
  698. return J.getInterceptor$x(receiver).set$compileAsync(receiver, value);
  699. },
  700. set$compileString$x(receiver, value) {
  701. return J.getInterceptor$x(receiver).set$compileString(receiver, value);
  702. },
  703. set$compileStringAsync$x(receiver, value) {
  704. return J.getInterceptor$x(receiver).set$compileStringAsync(receiver, value);
  705. },
  706. set$context$x(receiver, value) {
  707. return J.getInterceptor$x(receiver).set$context(receiver, value);
  708. },
  709. set$dartValue$x(receiver, value) {
  710. return J.getInterceptor$x(receiver).set$dartValue(receiver, value);
  711. },
  712. set$deprecations$x(receiver, value) {
  713. return J.getInterceptor$x(receiver).set$deprecations(receiver, value);
  714. },
  715. set$exitCode$x(receiver, value) {
  716. return J.getInterceptor$x(receiver).set$exitCode(receiver, value);
  717. },
  718. set$info$x(receiver, value) {
  719. return J.getInterceptor$x(receiver).set$info(receiver, value);
  720. },
  721. set$initAsyncCompiler$x(receiver, value) {
  722. return J.getInterceptor$x(receiver).set$initAsyncCompiler(receiver, value);
  723. },
  724. set$initCompiler$x(receiver, value) {
  725. return J.getInterceptor$x(receiver).set$initCompiler(receiver, value);
  726. },
  727. set$length$asx(receiver, value) {
  728. return J.getInterceptor$asx(receiver).set$length(receiver, value);
  729. },
  730. set$loadParserExports_$x(receiver, value) {
  731. return J.getInterceptor$x(receiver).set$loadParserExports_(receiver, value);
  732. },
  733. set$render$x(receiver, value) {
  734. return J.getInterceptor$x(receiver).set$render(receiver, value);
  735. },
  736. set$renderSync$x(receiver, value) {
  737. return J.getInterceptor$x(receiver).set$renderSync(receiver, value);
  738. },
  739. set$sassFalse$x(receiver, value) {
  740. return J.getInterceptor$x(receiver).set$sassFalse(receiver, value);
  741. },
  742. set$sassNull$x(receiver, value) {
  743. return J.getInterceptor$x(receiver).set$sassNull(receiver, value);
  744. },
  745. set$sassTrue$x(receiver, value) {
  746. return J.getInterceptor$x(receiver).set$sassTrue(receiver, value);
  747. },
  748. set$types$x(receiver, value) {
  749. return J.getInterceptor$x(receiver).set$types(receiver, value);
  750. },
  751. get$$prototype$x(receiver) {
  752. return J.getInterceptor$x(receiver).get$$prototype(receiver);
  753. },
  754. get$_dartException$x(receiver) {
  755. return J.getInterceptor$x(receiver).get$_dartException(receiver);
  756. },
  757. get$alertAscii$x(receiver) {
  758. return J.getInterceptor$x(receiver).get$alertAscii(receiver);
  759. },
  760. get$alertColor$x(receiver) {
  761. return J.getInterceptor$x(receiver).get$alertColor(receiver);
  762. },
  763. get$argv$x(receiver) {
  764. return J.getInterceptor$x(receiver).get$argv(receiver);
  765. },
  766. get$brackets$x(receiver) {
  767. return J.getInterceptor$x(receiver).get$brackets(receiver);
  768. },
  769. get$charset$x(receiver) {
  770. return J.getInterceptor$x(receiver).get$charset(receiver);
  771. },
  772. get$code$x(receiver) {
  773. return J.getInterceptor$x(receiver).get$code(receiver);
  774. },
  775. get$current$x(receiver) {
  776. return J.getInterceptor$x(receiver).get$current(receiver);
  777. },
  778. get$dartValue$x(receiver) {
  779. return J.getInterceptor$x(receiver).get$dartValue(receiver);
  780. },
  781. get$debug$x(receiver) {
  782. return J.getInterceptor$x(receiver).get$debug(receiver);
  783. },
  784. get$denominatorUnits$x(receiver) {
  785. return J.getInterceptor$x(receiver).get$denominatorUnits(receiver);
  786. },
  787. get$end$z(receiver) {
  788. return J.getInterceptor$z(receiver).get$end(receiver);
  789. },
  790. get$env$x(receiver) {
  791. return J.getInterceptor$x(receiver).get$env(receiver);
  792. },
  793. get$exitCode$x(receiver) {
  794. return J.getInterceptor$x(receiver).get$exitCode(receiver);
  795. },
  796. get$fatalDeprecations$x(receiver) {
  797. return J.getInterceptor$x(receiver).get$fatalDeprecations(receiver);
  798. },
  799. get$fiber$x(receiver) {
  800. return J.getInterceptor$x(receiver).get$fiber(receiver);
  801. },
  802. get$file$x(receiver) {
  803. return J.getInterceptor$x(receiver).get$file(receiver);
  804. },
  805. get$filename$x(receiver) {
  806. return J.getInterceptor$x(receiver).get$filename(receiver);
  807. },
  808. get$first$ax(receiver) {
  809. return J.getInterceptor$ax(receiver).get$first(receiver);
  810. },
  811. get$functions$x(receiver) {
  812. return J.getInterceptor$x(receiver).get$functions(receiver);
  813. },
  814. get$futureDeprecations$x(receiver) {
  815. return J.getInterceptor$x(receiver).get$futureDeprecations(receiver);
  816. },
  817. get$hashCode$(receiver) {
  818. return J.getInterceptor$(receiver).get$hashCode(receiver);
  819. },
  820. get$id$x(receiver) {
  821. return J.getInterceptor$x(receiver).get$id(receiver);
  822. },
  823. get$importer$x(receiver) {
  824. return J.getInterceptor$x(receiver).get$importer(receiver);
  825. },
  826. get$importers$x(receiver) {
  827. return J.getInterceptor$x(receiver).get$importers(receiver);
  828. },
  829. get$isEmpty$asx(receiver) {
  830. return J.getInterceptor$asx(receiver).get$isEmpty(receiver);
  831. },
  832. get$isNotEmpty$asx(receiver) {
  833. return J.getInterceptor$asx(receiver).get$isNotEmpty(receiver);
  834. },
  835. get$isTTY$x(receiver) {
  836. return J.getInterceptor$x(receiver).get$isTTY(receiver);
  837. },
  838. get$iterator$ax(receiver) {
  839. return J.getInterceptor$ax(receiver).get$iterator(receiver);
  840. },
  841. get$keys$z(receiver) {
  842. return J.getInterceptor$z(receiver).get$keys(receiver);
  843. },
  844. get$last$ax(receiver) {
  845. return J.getInterceptor$ax(receiver).get$last(receiver);
  846. },
  847. get$length$asx(receiver) {
  848. return J.getInterceptor$asx(receiver).get$length(receiver);
  849. },
  850. get$loadPaths$x(receiver) {
  851. return J.getInterceptor$x(receiver).get$loadPaths(receiver);
  852. },
  853. get$logger$x(receiver) {
  854. return J.getInterceptor$x(receiver).get$logger(receiver);
  855. },
  856. get$message$x(receiver) {
  857. return J.getInterceptor$x(receiver).get$message(receiver);
  858. },
  859. get$method$x(receiver) {
  860. return J.getInterceptor$x(receiver).get$method(receiver);
  861. },
  862. get$mtime$x(receiver) {
  863. return J.getInterceptor$x(receiver).get$mtime(receiver);
  864. },
  865. get$name$x(receiver) {
  866. return J.getInterceptor$x(receiver).get$name(receiver);
  867. },
  868. get$numeratorUnits$x(receiver) {
  869. return J.getInterceptor$x(receiver).get$numeratorUnits(receiver);
  870. },
  871. get$options$x(receiver) {
  872. return J.getInterceptor$x(receiver).get$options(receiver);
  873. },
  874. get$parent$z(receiver) {
  875. return J.getInterceptor$z(receiver).get$parent(receiver);
  876. },
  877. get$path$x(receiver) {
  878. return J.getInterceptor$x(receiver).get$path(receiver);
  879. },
  880. get$platform$x(receiver) {
  881. return J.getInterceptor$x(receiver).get$platform(receiver);
  882. },
  883. get$quietDeps$x(receiver) {
  884. return J.getInterceptor$x(receiver).get$quietDeps(receiver);
  885. },
  886. get$quotes$x(receiver) {
  887. return J.getInterceptor$x(receiver).get$quotes(receiver);
  888. },
  889. get$realpathSync$x(receiver) {
  890. return J.getInterceptor$x(receiver).get$realpathSync(receiver);
  891. },
  892. get$release$x(receiver) {
  893. return J.getInterceptor$x(receiver).get$release(receiver);
  894. },
  895. get$reversed$ax(receiver) {
  896. return J.getInterceptor$ax(receiver).get$reversed(receiver);
  897. },
  898. get$runtimeType$(receiver) {
  899. return J.getInterceptor$(receiver).get$runtimeType(receiver);
  900. },
  901. get$separator$x(receiver) {
  902. return J.getInterceptor$x(receiver).get$separator(receiver);
  903. },
  904. get$sign$in(receiver) {
  905. if (typeof receiver === "number")
  906. return receiver > 0 ? 1 : receiver < 0 ? -1 : receiver;
  907. return J.getInterceptor$in(receiver).get$sign(receiver);
  908. },
  909. get$silenceDeprecations$x(receiver) {
  910. return J.getInterceptor$x(receiver).get$silenceDeprecations(receiver);
  911. },
  912. get$single$ax(receiver) {
  913. return J.getInterceptor$ax(receiver).get$single(receiver);
  914. },
  915. get$sourceMap$x(receiver) {
  916. return J.getInterceptor$x(receiver).get$sourceMap(receiver);
  917. },
  918. get$sourceMapIncludeSources$x(receiver) {
  919. return J.getInterceptor$x(receiver).get$sourceMapIncludeSources(receiver);
  920. },
  921. get$space$x(receiver) {
  922. return J.getInterceptor$x(receiver).get$space(receiver);
  923. },
  924. get$span$z(receiver) {
  925. return J.getInterceptor$z(receiver).get$span(receiver);
  926. },
  927. get$stderr$x(receiver) {
  928. return J.getInterceptor$x(receiver).get$stderr(receiver);
  929. },
  930. get$stdout$x(receiver) {
  931. return J.getInterceptor$x(receiver).get$stdout(receiver);
  932. },
  933. get$style$x(receiver) {
  934. return J.getInterceptor$x(receiver).get$style(receiver);
  935. },
  936. get$syntax$x(receiver) {
  937. return J.getInterceptor$x(receiver).get$syntax(receiver);
  938. },
  939. get$trace$z(receiver) {
  940. return J.getInterceptor$z(receiver).get$trace(receiver);
  941. },
  942. get$url$x(receiver) {
  943. return J.getInterceptor$x(receiver).get$url(receiver);
  944. },
  945. get$verbose$x(receiver) {
  946. return J.getInterceptor$x(receiver).get$verbose(receiver);
  947. },
  948. get$warn$x(receiver) {
  949. return J.getInterceptor$x(receiver).get$warn(receiver);
  950. },
  951. get$weight$x(receiver) {
  952. return J.getInterceptor$x(receiver).get$weight(receiver);
  953. },
  954. $add$ansx(receiver, a0) {
  955. if (typeof receiver == "number" && typeof a0 == "number")
  956. return receiver + a0;
  957. return J.getInterceptor$ansx(receiver).$add(receiver, a0);
  958. },
  959. $eq$(receiver, a0) {
  960. if (receiver == null)
  961. return a0 == null;
  962. if (typeof receiver != "object")
  963. return a0 != null && receiver === a0;
  964. return J.getInterceptor$(receiver).$eq(receiver, a0);
  965. },
  966. $index$asx(receiver, a0) {
  967. if (typeof a0 === "number")
  968. if (Array.isArray(receiver) || typeof receiver == "string" || A.isJsIndexable(receiver, receiver[init.dispatchPropertyName]))
  969. if (a0 >>> 0 === a0 && a0 < receiver.length)
  970. return receiver[a0];
  971. return J.getInterceptor$asx(receiver).$index(receiver, a0);
  972. },
  973. $indexSet$ax(receiver, a0, a1) {
  974. if (typeof a0 === "number")
  975. if ((Array.isArray(receiver) || A.isJsIndexable(receiver, receiver[init.dispatchPropertyName])) && !(receiver.$flags & 2) && a0 >>> 0 === a0 && a0 < receiver.length)
  976. return receiver[a0] = a1;
  977. return J.getInterceptor$ax(receiver).$indexSet(receiver, a0, a1);
  978. },
  979. $set$2$x(receiver, a0, a1) {
  980. return J.getInterceptor$x(receiver).$set$2(receiver, a0, a1);
  981. },
  982. add$1$ax(receiver, a0) {
  983. return J.getInterceptor$ax(receiver).add$1(receiver, a0);
  984. },
  985. addAll$1$ax(receiver, a0) {
  986. return J.getInterceptor$ax(receiver).addAll$1(receiver, a0);
  987. },
  988. allMatches$1$s(receiver, a0) {
  989. return J.getInterceptor$s(receiver).allMatches$1(receiver, a0);
  990. },
  991. allMatches$2$s(receiver, a0, a1) {
  992. return J.getInterceptor$s(receiver).allMatches$2(receiver, a0, a1);
  993. },
  994. any$1$ax(receiver, a0) {
  995. return J.getInterceptor$ax(receiver).any$1(receiver, a0);
  996. },
  997. apply$2$x(receiver, a0, a1) {
  998. return J.getInterceptor$x(receiver).apply$2(receiver, a0, a1);
  999. },
  1000. asImmutable$0$x(receiver) {
  1001. return J.getInterceptor$x(receiver).asImmutable$0(receiver);
  1002. },
  1003. asMutable$0$x(receiver) {
  1004. return J.getInterceptor$x(receiver).asMutable$0(receiver);
  1005. },
  1006. canonicalize$4$baseImporter$baseUrl$forImport$x(receiver, a0, a1, a2, a3) {
  1007. return J.getInterceptor$x(receiver).canonicalize$4$baseImporter$baseUrl$forImport(receiver, a0, a1, a2, a3);
  1008. },
  1009. cast$1$0$ax(receiver, $T1) {
  1010. return J.getInterceptor$ax(receiver).cast$1$0(receiver, $T1);
  1011. },
  1012. close$0$x(receiver) {
  1013. return J.getInterceptor$x(receiver).close$0(receiver);
  1014. },
  1015. codeUnitAt$1$s(receiver, a0) {
  1016. return J.getInterceptor$s(receiver).codeUnitAt$1(receiver, a0);
  1017. },
  1018. compareTo$1$ns(receiver, a0) {
  1019. return J.getInterceptor$ns(receiver).compareTo$1(receiver, a0);
  1020. },
  1021. contains$1$asx(receiver, a0) {
  1022. return J.getInterceptor$asx(receiver).contains$1(receiver, a0);
  1023. },
  1024. createInterface$1$x(receiver, a0) {
  1025. return J.getInterceptor$x(receiver).createInterface$1(receiver, a0);
  1026. },
  1027. createRequire$1$x(receiver, a0) {
  1028. return J.getInterceptor$x(receiver).createRequire$1(receiver, a0);
  1029. },
  1030. elementAt$1$ax(receiver, a0) {
  1031. return J.getInterceptor$ax(receiver).elementAt$1(receiver, a0);
  1032. },
  1033. endsWith$1$s(receiver, a0) {
  1034. return J.getInterceptor$s(receiver).endsWith$1(receiver, a0);
  1035. },
  1036. error$1$x(receiver, a0) {
  1037. return J.getInterceptor$x(receiver).error$1(receiver, a0);
  1038. },
  1039. every$1$ax(receiver, a0) {
  1040. return J.getInterceptor$ax(receiver).every$1(receiver, a0);
  1041. },
  1042. existsSync$1$x(receiver, a0) {
  1043. return J.getInterceptor$x(receiver).existsSync$1(receiver, a0);
  1044. },
  1045. expand$1$1$ax(receiver, a0, $T1) {
  1046. return J.getInterceptor$ax(receiver).expand$1$1(receiver, a0, $T1);
  1047. },
  1048. fillRange$3$ax(receiver, a0, a1, a2) {
  1049. return J.getInterceptor$ax(receiver).fillRange$3(receiver, a0, a1, a2);
  1050. },
  1051. fold$2$ax(receiver, a0, a1) {
  1052. return J.getInterceptor$ax(receiver).fold$2(receiver, a0, a1);
  1053. },
  1054. forEach$1$ax(receiver, a0) {
  1055. return J.getInterceptor$ax(receiver).forEach$1(receiver, a0);
  1056. },
  1057. getRange$2$ax(receiver, a0, a1) {
  1058. return J.getInterceptor$ax(receiver).getRange$2(receiver, a0, a1);
  1059. },
  1060. getTime$0$x(receiver) {
  1061. return J.getInterceptor$x(receiver).getTime$0(receiver);
  1062. },
  1063. isDirectory$0$x(receiver) {
  1064. return J.getInterceptor$x(receiver).isDirectory$0(receiver);
  1065. },
  1066. isFile$0$x(receiver) {
  1067. return J.getInterceptor$x(receiver).isFile$0(receiver);
  1068. },
  1069. isSymbolicLink$0$x(receiver) {
  1070. return J.getInterceptor$x(receiver).isSymbolicLink$0(receiver);
  1071. },
  1072. join$1$ax(receiver, a0) {
  1073. return J.getInterceptor$ax(receiver).join$1(receiver, a0);
  1074. },
  1075. listen$1$z(receiver, a0) {
  1076. return J.getInterceptor$z(receiver).listen$1(receiver, a0);
  1077. },
  1078. log$1$x(receiver, a0) {
  1079. return J.getInterceptor$x(receiver).log$1(receiver, a0);
  1080. },
  1081. lstatSync$1$x(receiver, a0) {
  1082. return J.getInterceptor$x(receiver).lstatSync$1(receiver, a0);
  1083. },
  1084. map$1$1$ax(receiver, a0, $T1) {
  1085. return J.getInterceptor$ax(receiver).map$1$1(receiver, a0, $T1);
  1086. },
  1087. matchAsPrefix$2$s(receiver, a0, a1) {
  1088. return J.getInterceptor$s(receiver).matchAsPrefix$2(receiver, a0, a1);
  1089. },
  1090. mkdirSync$1$x(receiver, a0) {
  1091. return J.getInterceptor$x(receiver).mkdirSync$1(receiver, a0);
  1092. },
  1093. native$1$x(receiver, a0) {
  1094. return J.getInterceptor$x(receiver).native$1(receiver, a0);
  1095. },
  1096. noSuchMethod$1$(receiver, a0) {
  1097. return J.getInterceptor$(receiver).noSuchMethod$1(receiver, a0);
  1098. },
  1099. on$2$x(receiver, a0, a1) {
  1100. return J.getInterceptor$x(receiver).on$2(receiver, a0, a1);
  1101. },
  1102. parse$0$z(receiver) {
  1103. return J.getInterceptor$z(receiver).parse$0(receiver);
  1104. },
  1105. readFileSync$2$x(receiver, a0, a1) {
  1106. return J.getInterceptor$x(receiver).readFileSync$2(receiver, a0, a1);
  1107. },
  1108. readdirSync$1$x(receiver, a0) {
  1109. return J.getInterceptor$x(receiver).readdirSync$1(receiver, a0);
  1110. },
  1111. remove$1$z(receiver, a0) {
  1112. return J.getInterceptor$z(receiver).remove$1(receiver, a0);
  1113. },
  1114. removeRange$2$ax(receiver, a0, a1) {
  1115. return J.getInterceptor$ax(receiver).removeRange$2(receiver, a0, a1);
  1116. },
  1117. replaceFirst$2$s(receiver, a0, a1) {
  1118. return J.getInterceptor$s(receiver).replaceFirst$2(receiver, a0, a1);
  1119. },
  1120. resolve$1$x(receiver, a0) {
  1121. return J.getInterceptor$x(receiver).resolve$1(receiver, a0);
  1122. },
  1123. run$0$x(receiver) {
  1124. return J.getInterceptor$x(receiver).run$0(receiver);
  1125. },
  1126. run$1$x(receiver, a0) {
  1127. return J.getInterceptor$x(receiver).run$1(receiver, a0);
  1128. },
  1129. setRange$4$ax(receiver, a0, a1, a2, a3) {
  1130. return J.getInterceptor$ax(receiver).setRange$4(receiver, a0, a1, a2, a3);
  1131. },
  1132. skip$1$ax(receiver, a0) {
  1133. return J.getInterceptor$ax(receiver).skip$1(receiver, a0);
  1134. },
  1135. sort$1$ax(receiver, a0) {
  1136. return J.getInterceptor$ax(receiver).sort$1(receiver, a0);
  1137. },
  1138. startsWith$1$s(receiver, a0) {
  1139. return J.getInterceptor$s(receiver).startsWith$1(receiver, a0);
  1140. },
  1141. statSync$1$x(receiver, a0) {
  1142. return J.getInterceptor$x(receiver).statSync$1(receiver, a0);
  1143. },
  1144. sublist$1$ax(receiver, a0) {
  1145. return J.getInterceptor$ax(receiver).sublist$1(receiver, a0);
  1146. },
  1147. substring$2$s(receiver, a0, a1) {
  1148. return J.getInterceptor$s(receiver).substring$2(receiver, a0, a1);
  1149. },
  1150. take$1$ax(receiver, a0) {
  1151. return J.getInterceptor$ax(receiver).take$1(receiver, a0);
  1152. },
  1153. then$1$2$onError$x(receiver, a0, a1, $T1) {
  1154. return J.getInterceptor$x(receiver).then$1$2$onError(receiver, a0, a1, $T1);
  1155. },
  1156. then$2$x(receiver, a0, a1) {
  1157. return J.getInterceptor$x(receiver).then$2(receiver, a0, a1);
  1158. },
  1159. toArray$0$x(receiver) {
  1160. return J.getInterceptor$x(receiver).toArray$0(receiver);
  1161. },
  1162. toList$0$ax(receiver) {
  1163. return J.getInterceptor$ax(receiver).toList$0(receiver);
  1164. },
  1165. toList$1$growable$ax(receiver, a0) {
  1166. return J.getInterceptor$ax(receiver).toList$1$growable(receiver, a0);
  1167. },
  1168. toSet$0$ax(receiver) {
  1169. return J.getInterceptor$ax(receiver).toSet$0(receiver);
  1170. },
  1171. toString$0$(receiver) {
  1172. return J.getInterceptor$(receiver).toString$0(receiver);
  1173. },
  1174. toString$1$color$(receiver, a0) {
  1175. return J.getInterceptor$(receiver).toString$1$color(receiver, a0);
  1176. },
  1177. trim$0$s(receiver) {
  1178. return J.getInterceptor$s(receiver).trim$0(receiver);
  1179. },
  1180. unlinkSync$1$x(receiver, a0) {
  1181. return J.getInterceptor$x(receiver).unlinkSync$1(receiver, a0);
  1182. },
  1183. visitAtRootRule$1$x(receiver, a0) {
  1184. return J.getInterceptor$x(receiver).visitAtRootRule$1(receiver, a0);
  1185. },
  1186. visitAtRule$1$x(receiver, a0) {
  1187. return J.getInterceptor$x(receiver).visitAtRule$1(receiver, a0);
  1188. },
  1189. visitBinaryOperationExpression$1$x(receiver, a0) {
  1190. return J.getInterceptor$x(receiver).visitBinaryOperationExpression$1(receiver, a0);
  1191. },
  1192. visitBooleanExpression$1$x(receiver, a0) {
  1193. return J.getInterceptor$x(receiver).visitBooleanExpression$1(receiver, a0);
  1194. },
  1195. visitColorExpression$1$x(receiver, a0) {
  1196. return J.getInterceptor$x(receiver).visitColorExpression$1(receiver, a0);
  1197. },
  1198. visitContentBlock$1$x(receiver, a0) {
  1199. return J.getInterceptor$x(receiver).visitContentBlock$1(receiver, a0);
  1200. },
  1201. visitContentRule$1$x(receiver, a0) {
  1202. return J.getInterceptor$x(receiver).visitContentRule$1(receiver, a0);
  1203. },
  1204. visitDebugRule$1$x(receiver, a0) {
  1205. return J.getInterceptor$x(receiver).visitDebugRule$1(receiver, a0);
  1206. },
  1207. visitDeclaration$1$x(receiver, a0) {
  1208. return J.getInterceptor$x(receiver).visitDeclaration$1(receiver, a0);
  1209. },
  1210. visitEachRule$1$x(receiver, a0) {
  1211. return J.getInterceptor$x(receiver).visitEachRule$1(receiver, a0);
  1212. },
  1213. visitErrorRule$1$x(receiver, a0) {
  1214. return J.getInterceptor$x(receiver).visitErrorRule$1(receiver, a0);
  1215. },
  1216. visitExtendRule$1$x(receiver, a0) {
  1217. return J.getInterceptor$x(receiver).visitExtendRule$1(receiver, a0);
  1218. },
  1219. visitForRule$1$x(receiver, a0) {
  1220. return J.getInterceptor$x(receiver).visitForRule$1(receiver, a0);
  1221. },
  1222. visitForwardRule$1$x(receiver, a0) {
  1223. return J.getInterceptor$x(receiver).visitForwardRule$1(receiver, a0);
  1224. },
  1225. visitFunctionExpression$1$x(receiver, a0) {
  1226. return J.getInterceptor$x(receiver).visitFunctionExpression$1(receiver, a0);
  1227. },
  1228. visitFunctionRule$1$x(receiver, a0) {
  1229. return J.getInterceptor$x(receiver).visitFunctionRule$1(receiver, a0);
  1230. },
  1231. visitIfExpression$1$x(receiver, a0) {
  1232. return J.getInterceptor$x(receiver).visitIfExpression$1(receiver, a0);
  1233. },
  1234. visitIfRule$1$x(receiver, a0) {
  1235. return J.getInterceptor$x(receiver).visitIfRule$1(receiver, a0);
  1236. },
  1237. visitImportRule$1$x(receiver, a0) {
  1238. return J.getInterceptor$x(receiver).visitImportRule$1(receiver, a0);
  1239. },
  1240. visitIncludeRule$1$x(receiver, a0) {
  1241. return J.getInterceptor$x(receiver).visitIncludeRule$1(receiver, a0);
  1242. },
  1243. visitInterpolatedFunctionExpression$1$x(receiver, a0) {
  1244. return J.getInterceptor$x(receiver).visitInterpolatedFunctionExpression$1(receiver, a0);
  1245. },
  1246. visitListExpression$1$x(receiver, a0) {
  1247. return J.getInterceptor$x(receiver).visitListExpression$1(receiver, a0);
  1248. },
  1249. visitLoudComment$1$x(receiver, a0) {
  1250. return J.getInterceptor$x(receiver).visitLoudComment$1(receiver, a0);
  1251. },
  1252. visitMapExpression$1$x(receiver, a0) {
  1253. return J.getInterceptor$x(receiver).visitMapExpression$1(receiver, a0);
  1254. },
  1255. visitMediaRule$1$x(receiver, a0) {
  1256. return J.getInterceptor$x(receiver).visitMediaRule$1(receiver, a0);
  1257. },
  1258. visitMixinRule$1$x(receiver, a0) {
  1259. return J.getInterceptor$x(receiver).visitMixinRule$1(receiver, a0);
  1260. },
  1261. visitNullExpression$1$x(receiver, a0) {
  1262. return J.getInterceptor$x(receiver).visitNullExpression$1(receiver, a0);
  1263. },
  1264. visitNumberExpression$1$x(receiver, a0) {
  1265. return J.getInterceptor$x(receiver).visitNumberExpression$1(receiver, a0);
  1266. },
  1267. visitParenthesizedExpression$1$x(receiver, a0) {
  1268. return J.getInterceptor$x(receiver).visitParenthesizedExpression$1(receiver, a0);
  1269. },
  1270. visitReturnRule$1$x(receiver, a0) {
  1271. return J.getInterceptor$x(receiver).visitReturnRule$1(receiver, a0);
  1272. },
  1273. visitSelectorExpression$1$x(receiver, a0) {
  1274. return J.getInterceptor$x(receiver).visitSelectorExpression$1(receiver, a0);
  1275. },
  1276. visitSilentComment$1$x(receiver, a0) {
  1277. return J.getInterceptor$x(receiver).visitSilentComment$1(receiver, a0);
  1278. },
  1279. visitStringExpression$1$x(receiver, a0) {
  1280. return J.getInterceptor$x(receiver).visitStringExpression$1(receiver, a0);
  1281. },
  1282. visitStyleRule$1$x(receiver, a0) {
  1283. return J.getInterceptor$x(receiver).visitStyleRule$1(receiver, a0);
  1284. },
  1285. visitStylesheet$1$x(receiver, a0) {
  1286. return J.getInterceptor$x(receiver).visitStylesheet$1(receiver, a0);
  1287. },
  1288. visitSupportsExpression$1$x(receiver, a0) {
  1289. return J.getInterceptor$x(receiver).visitSupportsExpression$1(receiver, a0);
  1290. },
  1291. visitSupportsRule$1$x(receiver, a0) {
  1292. return J.getInterceptor$x(receiver).visitSupportsRule$1(receiver, a0);
  1293. },
  1294. visitUnaryOperationExpression$1$x(receiver, a0) {
  1295. return J.getInterceptor$x(receiver).visitUnaryOperationExpression$1(receiver, a0);
  1296. },
  1297. visitUseRule$1$x(receiver, a0) {
  1298. return J.getInterceptor$x(receiver).visitUseRule$1(receiver, a0);
  1299. },
  1300. visitValueExpression$1$x(receiver, a0) {
  1301. return J.getInterceptor$x(receiver).visitValueExpression$1(receiver, a0);
  1302. },
  1303. visitVariableDeclaration$1$x(receiver, a0) {
  1304. return J.getInterceptor$x(receiver).visitVariableDeclaration$1(receiver, a0);
  1305. },
  1306. visitVariableExpression$1$x(receiver, a0) {
  1307. return J.getInterceptor$x(receiver).visitVariableExpression$1(receiver, a0);
  1308. },
  1309. visitWarnRule$1$x(receiver, a0) {
  1310. return J.getInterceptor$x(receiver).visitWarnRule$1(receiver, a0);
  1311. },
  1312. visitWhileRule$1$x(receiver, a0) {
  1313. return J.getInterceptor$x(receiver).visitWhileRule$1(receiver, a0);
  1314. },
  1315. watch$2$x(receiver, a0, a1) {
  1316. return J.getInterceptor$x(receiver).watch$2(receiver, a0, a1);
  1317. },
  1318. where$1$ax(receiver, a0) {
  1319. return J.getInterceptor$ax(receiver).where$1(receiver, a0);
  1320. },
  1321. write$1$x(receiver, a0) {
  1322. return J.getInterceptor$x(receiver).write$1(receiver, a0);
  1323. },
  1324. writeFileSync$2$x(receiver, a0, a1) {
  1325. return J.getInterceptor$x(receiver).writeFileSync$2(receiver, a0, a1);
  1326. },
  1327. yield$0$x(receiver) {
  1328. return J.getInterceptor$x(receiver).yield$0(receiver);
  1329. },
  1330. Interceptor: function Interceptor() {
  1331. },
  1332. JSBool: function JSBool() {
  1333. },
  1334. JSNull: function JSNull() {
  1335. },
  1336. JavaScriptObject: function JavaScriptObject() {
  1337. },
  1338. LegacyJavaScriptObject: function LegacyJavaScriptObject() {
  1339. },
  1340. PlainJavaScriptObject: function PlainJavaScriptObject() {
  1341. },
  1342. UnknownJavaScriptObject: function UnknownJavaScriptObject() {
  1343. },
  1344. JavaScriptFunction: function JavaScriptFunction() {
  1345. },
  1346. JavaScriptBigInt: function JavaScriptBigInt() {
  1347. },
  1348. JavaScriptSymbol: function JavaScriptSymbol() {
  1349. },
  1350. JSArray: function JSArray(t0) {
  1351. this.$ti = t0;
  1352. },
  1353. JSUnmodifiableArray: function JSUnmodifiableArray(t0) {
  1354. this.$ti = t0;
  1355. },
  1356. ArrayIterator: function ArrayIterator(t0, t1, t2) {
  1357. var _ = this;
  1358. _._iterable = t0;
  1359. _._length = t1;
  1360. _._index = 0;
  1361. _._current = null;
  1362. _.$ti = t2;
  1363. },
  1364. JSNumber: function JSNumber() {
  1365. },
  1366. JSInt: function JSInt() {
  1367. },
  1368. JSNumNotInt: function JSNumNotInt() {
  1369. },
  1370. JSString: function JSString() {
  1371. }
  1372. },
  1373. A = {JS_CONST: function JS_CONST() {
  1374. },
  1375. CastIterable_CastIterable(source, $S, $T) {
  1376. if (type$.EfficientLengthIterable_dynamic._is(source))
  1377. return new A._EfficientLengthCastIterable(source, $S._eval$1("@<0>")._bind$1($T)._eval$1("_EfficientLengthCastIterable<1,2>"));
  1378. return new A.CastIterable(source, $S._eval$1("@<0>")._bind$1($T)._eval$1("CastIterable<1,2>"));
  1379. },
  1380. LateError$fieldADI(fieldName) {
  1381. return new A.LateError("Field '" + fieldName + "' has been assigned during initialization.");
  1382. },
  1383. LateError$fieldNI(fieldName) {
  1384. return new A.LateError("Field '" + fieldName + "' has not been initialized.");
  1385. },
  1386. LateError$localNI(localName) {
  1387. return new A.LateError("Local '" + localName + "' has not been initialized.");
  1388. },
  1389. LateError$fieldAI(fieldName) {
  1390. return new A.LateError("Field '" + fieldName + "' has already been initialized.");
  1391. },
  1392. hexDigitValue(char) {
  1393. var letter,
  1394. digit = char ^ 48;
  1395. if (digit <= 9)
  1396. return digit;
  1397. letter = char | 32;
  1398. if (97 <= letter && letter <= 102)
  1399. return letter - 87;
  1400. return -1;
  1401. },
  1402. SystemHash_combine(hash, value) {
  1403. hash = hash + value & 536870911;
  1404. hash = hash + ((hash & 524287) << 10) & 536870911;
  1405. return hash ^ hash >>> 6;
  1406. },
  1407. SystemHash_finish(hash) {
  1408. hash = hash + ((hash & 67108863) << 3) & 536870911;
  1409. hash ^= hash >>> 11;
  1410. return hash + ((hash & 16383) << 15) & 536870911;
  1411. },
  1412. checkNotNullable(value, $name, $T) {
  1413. return value;
  1414. },
  1415. isToStringVisiting(object) {
  1416. var t1, i;
  1417. for (t1 = $.toStringVisiting.length, i = 0; i < t1; ++i)
  1418. if (object === $.toStringVisiting[i])
  1419. return true;
  1420. return false;
  1421. },
  1422. SubListIterable$(_iterable, _start, _endOrLength, $E) {
  1423. A.RangeError_checkNotNegative(_start, "start");
  1424. if (_endOrLength != null) {
  1425. A.RangeError_checkNotNegative(_endOrLength, "end");
  1426. if (_start > _endOrLength)
  1427. A.throwExpression(A.RangeError$range(_start, 0, _endOrLength, "start", null));
  1428. }
  1429. return new A.SubListIterable(_iterable, _start, _endOrLength, $E._eval$1("SubListIterable<0>"));
  1430. },
  1431. MappedIterable_MappedIterable(iterable, $function, $S, $T) {
  1432. if (type$.EfficientLengthIterable_dynamic._is(iterable))
  1433. return new A.EfficientLengthMappedIterable(iterable, $function, $S._eval$1("@<0>")._bind$1($T)._eval$1("EfficientLengthMappedIterable<1,2>"));
  1434. return new A.MappedIterable(iterable, $function, $S._eval$1("@<0>")._bind$1($T)._eval$1("MappedIterable<1,2>"));
  1435. },
  1436. TakeIterable_TakeIterable(iterable, takeCount, $E) {
  1437. var _s9_ = "takeCount";
  1438. A.ArgumentError_checkNotNull(takeCount, _s9_);
  1439. A.RangeError_checkNotNegative(takeCount, _s9_);
  1440. if (type$.EfficientLengthIterable_dynamic._is(iterable))
  1441. return new A.EfficientLengthTakeIterable(iterable, takeCount, $E._eval$1("EfficientLengthTakeIterable<0>"));
  1442. return new A.TakeIterable(iterable, takeCount, $E._eval$1("TakeIterable<0>"));
  1443. },
  1444. SkipIterable_SkipIterable(iterable, count, $E) {
  1445. var _s5_ = "count";
  1446. if (type$.EfficientLengthIterable_dynamic._is(iterable)) {
  1447. A.ArgumentError_checkNotNull(count, _s5_);
  1448. A.RangeError_checkNotNegative(count, _s5_);
  1449. return new A.EfficientLengthSkipIterable(iterable, count, $E._eval$1("EfficientLengthSkipIterable<0>"));
  1450. }
  1451. A.ArgumentError_checkNotNull(count, _s5_);
  1452. A.RangeError_checkNotNegative(count, _s5_);
  1453. return new A.SkipIterable(iterable, count, $E._eval$1("SkipIterable<0>"));
  1454. },
  1455. FollowedByIterable_FollowedByIterable$firstEfficient(first, second, $E) {
  1456. if (type$.EfficientLengthIterable_dynamic._is(second))
  1457. return new A.EfficientLengthFollowedByIterable(first, second, $E._eval$1("EfficientLengthFollowedByIterable<0>"));
  1458. return new A.FollowedByIterable(first, second, $E._eval$1("FollowedByIterable<0>"));
  1459. },
  1460. IterableElementError_noElement() {
  1461. return new A.StateError("No element");
  1462. },
  1463. IterableElementError_tooMany() {
  1464. return new A.StateError("Too many elements");
  1465. },
  1466. IterableElementError_tooFew() {
  1467. return new A.StateError("Too few elements");
  1468. },
  1469. Sort__doSort(a, left, right, compare) {
  1470. if (right - left <= 32)
  1471. A.Sort__insertionSort(a, left, right, compare);
  1472. else
  1473. A.Sort__dualPivotQuicksort(a, left, right, compare);
  1474. },
  1475. Sort__insertionSort(a, left, right, compare) {
  1476. var i, t1, el, j, j0;
  1477. for (i = left + 1, t1 = J.getInterceptor$asx(a); i <= right; ++i) {
  1478. el = t1.$index(a, i);
  1479. j = i;
  1480. while (true) {
  1481. if (!(j > left && compare.call$2(t1.$index(a, j - 1), el) > 0))
  1482. break;
  1483. j0 = j - 1;
  1484. t1.$indexSet(a, j, t1.$index(a, j0));
  1485. j = j0;
  1486. }
  1487. t1.$indexSet(a, j, el);
  1488. }
  1489. },
  1490. Sort__dualPivotQuicksort(a, left, right, compare) {
  1491. var t0, less, great, pivots_are_equal, k, ak, comp, great0, less0, t2,
  1492. sixth = B.JSInt_methods._tdivFast$1(right - left + 1, 6),
  1493. index1 = left + sixth,
  1494. index5 = right - sixth,
  1495. index3 = B.JSInt_methods._tdivFast$1(left + right, 2),
  1496. index2 = index3 - sixth,
  1497. index4 = index3 + sixth,
  1498. t1 = J.getInterceptor$asx(a),
  1499. el1 = t1.$index(a, index1),
  1500. el2 = t1.$index(a, index2),
  1501. el3 = t1.$index(a, index3),
  1502. el4 = t1.$index(a, index4),
  1503. el5 = t1.$index(a, index5);
  1504. if (compare.call$2(el1, el2) > 0) {
  1505. t0 = el2;
  1506. el2 = el1;
  1507. el1 = t0;
  1508. }
  1509. if (compare.call$2(el4, el5) > 0) {
  1510. t0 = el5;
  1511. el5 = el4;
  1512. el4 = t0;
  1513. }
  1514. if (compare.call$2(el1, el3) > 0) {
  1515. t0 = el3;
  1516. el3 = el1;
  1517. el1 = t0;
  1518. }
  1519. if (compare.call$2(el2, el3) > 0) {
  1520. t0 = el3;
  1521. el3 = el2;
  1522. el2 = t0;
  1523. }
  1524. if (compare.call$2(el1, el4) > 0) {
  1525. t0 = el4;
  1526. el4 = el1;
  1527. el1 = t0;
  1528. }
  1529. if (compare.call$2(el3, el4) > 0) {
  1530. t0 = el4;
  1531. el4 = el3;
  1532. el3 = t0;
  1533. }
  1534. if (compare.call$2(el2, el5) > 0) {
  1535. t0 = el5;
  1536. el5 = el2;
  1537. el2 = t0;
  1538. }
  1539. if (compare.call$2(el2, el3) > 0) {
  1540. t0 = el3;
  1541. el3 = el2;
  1542. el2 = t0;
  1543. }
  1544. if (compare.call$2(el4, el5) > 0) {
  1545. t0 = el5;
  1546. el5 = el4;
  1547. el4 = t0;
  1548. }
  1549. t1.$indexSet(a, index1, el1);
  1550. t1.$indexSet(a, index3, el3);
  1551. t1.$indexSet(a, index5, el5);
  1552. t1.$indexSet(a, index2, t1.$index(a, left));
  1553. t1.$indexSet(a, index4, t1.$index(a, right));
  1554. less = left + 1;
  1555. great = right - 1;
  1556. pivots_are_equal = J.$eq$(compare.call$2(el2, el4), 0);
  1557. if (pivots_are_equal)
  1558. for (k = less; k <= great; ++k) {
  1559. ak = t1.$index(a, k);
  1560. comp = compare.call$2(ak, el2);
  1561. if (comp === 0)
  1562. continue;
  1563. if (comp < 0) {
  1564. if (k !== less) {
  1565. t1.$indexSet(a, k, t1.$index(a, less));
  1566. t1.$indexSet(a, less, ak);
  1567. }
  1568. ++less;
  1569. } else
  1570. for (; true;) {
  1571. comp = compare.call$2(t1.$index(a, great), el2);
  1572. if (comp > 0) {
  1573. --great;
  1574. continue;
  1575. } else {
  1576. great0 = great - 1;
  1577. if (comp < 0) {
  1578. t1.$indexSet(a, k, t1.$index(a, less));
  1579. less0 = less + 1;
  1580. t1.$indexSet(a, less, t1.$index(a, great));
  1581. t1.$indexSet(a, great, ak);
  1582. great = great0;
  1583. less = less0;
  1584. break;
  1585. } else {
  1586. t1.$indexSet(a, k, t1.$index(a, great));
  1587. t1.$indexSet(a, great, ak);
  1588. great = great0;
  1589. break;
  1590. }
  1591. }
  1592. }
  1593. }
  1594. else
  1595. for (k = less; k <= great; ++k) {
  1596. ak = t1.$index(a, k);
  1597. if (compare.call$2(ak, el2) < 0) {
  1598. if (k !== less) {
  1599. t1.$indexSet(a, k, t1.$index(a, less));
  1600. t1.$indexSet(a, less, ak);
  1601. }
  1602. ++less;
  1603. } else if (compare.call$2(ak, el4) > 0)
  1604. for (; true;)
  1605. if (compare.call$2(t1.$index(a, great), el4) > 0) {
  1606. --great;
  1607. if (great < k)
  1608. break;
  1609. continue;
  1610. } else {
  1611. great0 = great - 1;
  1612. if (compare.call$2(t1.$index(a, great), el2) < 0) {
  1613. t1.$indexSet(a, k, t1.$index(a, less));
  1614. less0 = less + 1;
  1615. t1.$indexSet(a, less, t1.$index(a, great));
  1616. t1.$indexSet(a, great, ak);
  1617. less = less0;
  1618. } else {
  1619. t1.$indexSet(a, k, t1.$index(a, great));
  1620. t1.$indexSet(a, great, ak);
  1621. }
  1622. great = great0;
  1623. break;
  1624. }
  1625. }
  1626. t2 = less - 1;
  1627. t1.$indexSet(a, left, t1.$index(a, t2));
  1628. t1.$indexSet(a, t2, el2);
  1629. t2 = great + 1;
  1630. t1.$indexSet(a, right, t1.$index(a, t2));
  1631. t1.$indexSet(a, t2, el4);
  1632. A.Sort__doSort(a, left, less - 2, compare);
  1633. A.Sort__doSort(a, great + 2, right, compare);
  1634. if (pivots_are_equal)
  1635. return;
  1636. if (less < index1 && great > index5) {
  1637. for (; J.$eq$(compare.call$2(t1.$index(a, less), el2), 0);)
  1638. ++less;
  1639. for (; J.$eq$(compare.call$2(t1.$index(a, great), el4), 0);)
  1640. --great;
  1641. for (k = less; k <= great; ++k) {
  1642. ak = t1.$index(a, k);
  1643. if (compare.call$2(ak, el2) === 0) {
  1644. if (k !== less) {
  1645. t1.$indexSet(a, k, t1.$index(a, less));
  1646. t1.$indexSet(a, less, ak);
  1647. }
  1648. ++less;
  1649. } else if (compare.call$2(ak, el4) === 0)
  1650. for (; true;)
  1651. if (compare.call$2(t1.$index(a, great), el4) === 0) {
  1652. --great;
  1653. if (great < k)
  1654. break;
  1655. continue;
  1656. } else {
  1657. great0 = great - 1;
  1658. if (compare.call$2(t1.$index(a, great), el2) < 0) {
  1659. t1.$indexSet(a, k, t1.$index(a, less));
  1660. less0 = less + 1;
  1661. t1.$indexSet(a, less, t1.$index(a, great));
  1662. t1.$indexSet(a, great, ak);
  1663. less = less0;
  1664. } else {
  1665. t1.$indexSet(a, k, t1.$index(a, great));
  1666. t1.$indexSet(a, great, ak);
  1667. }
  1668. great = great0;
  1669. break;
  1670. }
  1671. }
  1672. A.Sort__doSort(a, less, great, compare);
  1673. } else
  1674. A.Sort__doSort(a, less, great, compare);
  1675. },
  1676. _CastIterableBase: function _CastIterableBase() {
  1677. },
  1678. CastIterator: function CastIterator(t0, t1) {
  1679. this._source = t0;
  1680. this.$ti = t1;
  1681. },
  1682. CastIterable: function CastIterable(t0, t1) {
  1683. this._source = t0;
  1684. this.$ti = t1;
  1685. },
  1686. _EfficientLengthCastIterable: function _EfficientLengthCastIterable(t0, t1) {
  1687. this._source = t0;
  1688. this.$ti = t1;
  1689. },
  1690. _CastListBase: function _CastListBase() {
  1691. },
  1692. _CastListBase_sort_closure: function _CastListBase_sort_closure(t0, t1) {
  1693. this.$this = t0;
  1694. this.compare = t1;
  1695. },
  1696. CastList: function CastList(t0, t1) {
  1697. this._source = t0;
  1698. this.$ti = t1;
  1699. },
  1700. CastSet: function CastSet(t0, t1, t2) {
  1701. this._source = t0;
  1702. this._emptySet = t1;
  1703. this.$ti = t2;
  1704. },
  1705. CastMap: function CastMap(t0, t1) {
  1706. this._source = t0;
  1707. this.$ti = t1;
  1708. },
  1709. CastMap_forEach_closure: function CastMap_forEach_closure(t0, t1) {
  1710. this.$this = t0;
  1711. this.f = t1;
  1712. },
  1713. CastMap_entries_closure: function CastMap_entries_closure(t0) {
  1714. this.$this = t0;
  1715. },
  1716. LateError: function LateError(t0) {
  1717. this._message = t0;
  1718. },
  1719. CodeUnits: function CodeUnits(t0) {
  1720. this._string = t0;
  1721. },
  1722. nullFuture_closure: function nullFuture_closure() {
  1723. },
  1724. SentinelValue: function SentinelValue() {
  1725. },
  1726. EfficientLengthIterable: function EfficientLengthIterable() {
  1727. },
  1728. ListIterable: function ListIterable() {
  1729. },
  1730. SubListIterable: function SubListIterable(t0, t1, t2, t3) {
  1731. var _ = this;
  1732. _.__internal$_iterable = t0;
  1733. _._start = t1;
  1734. _._endOrLength = t2;
  1735. _.$ti = t3;
  1736. },
  1737. ListIterator: function ListIterator(t0, t1, t2) {
  1738. var _ = this;
  1739. _.__internal$_iterable = t0;
  1740. _.__internal$_length = t1;
  1741. _.__internal$_index = 0;
  1742. _.__internal$_current = null;
  1743. _.$ti = t2;
  1744. },
  1745. MappedIterable: function MappedIterable(t0, t1, t2) {
  1746. this.__internal$_iterable = t0;
  1747. this._f = t1;
  1748. this.$ti = t2;
  1749. },
  1750. EfficientLengthMappedIterable: function EfficientLengthMappedIterable(t0, t1, t2) {
  1751. this.__internal$_iterable = t0;
  1752. this._f = t1;
  1753. this.$ti = t2;
  1754. },
  1755. MappedIterator: function MappedIterator(t0, t1, t2) {
  1756. var _ = this;
  1757. _.__internal$_current = null;
  1758. _._iterator = t0;
  1759. _._f = t1;
  1760. _.$ti = t2;
  1761. },
  1762. MappedListIterable: function MappedListIterable(t0, t1, t2) {
  1763. this._source = t0;
  1764. this._f = t1;
  1765. this.$ti = t2;
  1766. },
  1767. WhereIterable: function WhereIterable(t0, t1, t2) {
  1768. this.__internal$_iterable = t0;
  1769. this._f = t1;
  1770. this.$ti = t2;
  1771. },
  1772. WhereIterator: function WhereIterator(t0, t1) {
  1773. this._iterator = t0;
  1774. this._f = t1;
  1775. },
  1776. ExpandIterable: function ExpandIterable(t0, t1, t2) {
  1777. this.__internal$_iterable = t0;
  1778. this._f = t1;
  1779. this.$ti = t2;
  1780. },
  1781. ExpandIterator: function ExpandIterator(t0, t1, t2, t3) {
  1782. var _ = this;
  1783. _._iterator = t0;
  1784. _._f = t1;
  1785. _._currentExpansion = t2;
  1786. _.__internal$_current = null;
  1787. _.$ti = t3;
  1788. },
  1789. TakeIterable: function TakeIterable(t0, t1, t2) {
  1790. this.__internal$_iterable = t0;
  1791. this._takeCount = t1;
  1792. this.$ti = t2;
  1793. },
  1794. EfficientLengthTakeIterable: function EfficientLengthTakeIterable(t0, t1, t2) {
  1795. this.__internal$_iterable = t0;
  1796. this._takeCount = t1;
  1797. this.$ti = t2;
  1798. },
  1799. TakeIterator: function TakeIterator(t0, t1, t2) {
  1800. this._iterator = t0;
  1801. this._remaining = t1;
  1802. this.$ti = t2;
  1803. },
  1804. SkipIterable: function SkipIterable(t0, t1, t2) {
  1805. this.__internal$_iterable = t0;
  1806. this._skipCount = t1;
  1807. this.$ti = t2;
  1808. },
  1809. EfficientLengthSkipIterable: function EfficientLengthSkipIterable(t0, t1, t2) {
  1810. this.__internal$_iterable = t0;
  1811. this._skipCount = t1;
  1812. this.$ti = t2;
  1813. },
  1814. SkipIterator: function SkipIterator(t0, t1) {
  1815. this._iterator = t0;
  1816. this._skipCount = t1;
  1817. },
  1818. SkipWhileIterable: function SkipWhileIterable(t0, t1, t2) {
  1819. this.__internal$_iterable = t0;
  1820. this._f = t1;
  1821. this.$ti = t2;
  1822. },
  1823. SkipWhileIterator: function SkipWhileIterator(t0, t1) {
  1824. this._iterator = t0;
  1825. this._f = t1;
  1826. this._hasSkipped = false;
  1827. },
  1828. EmptyIterable: function EmptyIterable(t0) {
  1829. this.$ti = t0;
  1830. },
  1831. EmptyIterator: function EmptyIterator() {
  1832. },
  1833. FollowedByIterable: function FollowedByIterable(t0, t1, t2) {
  1834. this.__internal$_first = t0;
  1835. this._second = t1;
  1836. this.$ti = t2;
  1837. },
  1838. EfficientLengthFollowedByIterable: function EfficientLengthFollowedByIterable(t0, t1, t2) {
  1839. this.__internal$_first = t0;
  1840. this._second = t1;
  1841. this.$ti = t2;
  1842. },
  1843. FollowedByIterator: function FollowedByIterator(t0, t1) {
  1844. this._currentIterator = t0;
  1845. this._nextIterable = t1;
  1846. },
  1847. WhereTypeIterable: function WhereTypeIterable(t0, t1) {
  1848. this._source = t0;
  1849. this.$ti = t1;
  1850. },
  1851. WhereTypeIterator: function WhereTypeIterator(t0, t1) {
  1852. this._source = t0;
  1853. this.$ti = t1;
  1854. },
  1855. NonNullsIterable: function NonNullsIterable(t0, t1) {
  1856. this._source = t0;
  1857. this.$ti = t1;
  1858. },
  1859. NonNullsIterator: function NonNullsIterator(t0) {
  1860. this._source = t0;
  1861. this.__internal$_current = null;
  1862. },
  1863. FixedLengthListMixin: function FixedLengthListMixin() {
  1864. },
  1865. UnmodifiableListMixin: function UnmodifiableListMixin() {
  1866. },
  1867. UnmodifiableListBase: function UnmodifiableListBase() {
  1868. },
  1869. ReversedListIterable: function ReversedListIterable(t0, t1) {
  1870. this._source = t0;
  1871. this.$ti = t1;
  1872. },
  1873. Symbol: function Symbol(t0) {
  1874. this.__internal$_name = t0;
  1875. },
  1876. __CastListBase__CastIterableBase_ListMixin: function __CastListBase__CastIterableBase_ListMixin() {
  1877. },
  1878. ConstantMap_ConstantMap$from(other, $K, $V) {
  1879. var allStrings, k, object, index, index0, map,
  1880. keys = A.List_List$from(other.get$keys(other), true, $K),
  1881. t1 = keys.length,
  1882. _i = 0;
  1883. while (true) {
  1884. if (!(_i < t1)) {
  1885. allStrings = true;
  1886. break;
  1887. }
  1888. k = keys[_i];
  1889. if (typeof k != "string" || "__proto__" === k) {
  1890. allStrings = false;
  1891. break;
  1892. }
  1893. ++_i;
  1894. }
  1895. if (allStrings) {
  1896. object = {};
  1897. for (index = 0, _i = 0; _i < keys.length; keys.length === t1 || (0, A.throwConcurrentModificationError)(keys), ++_i, index = index0) {
  1898. k = keys[_i];
  1899. other.$index(0, k);
  1900. index0 = index + 1;
  1901. object[k] = index;
  1902. }
  1903. map = new A.ConstantStringMap(object, A.List_List$from(other.get$values(other), true, $V), $K._eval$1("@<0>")._bind$1($V)._eval$1("ConstantStringMap<1,2>"));
  1904. map.$keys = keys;
  1905. return map;
  1906. }
  1907. return new A.ConstantMapView(A.LinkedHashMap_LinkedHashMap$from(other, $K, $V), $K._eval$1("@<0>")._bind$1($V)._eval$1("ConstantMapView<1,2>"));
  1908. },
  1909. ConstantMap__throwUnmodifiable() {
  1910. throw A.wrapException(A.UnsupportedError$("Cannot modify unmodifiable Map"));
  1911. },
  1912. ConstantSet__throwUnmodifiable() {
  1913. throw A.wrapException(A.UnsupportedError$("Cannot modify constant Set"));
  1914. },
  1915. instantiate1(f, T1) {
  1916. var t1 = new A.Instantiation1(f, T1._eval$1("Instantiation1<0>"));
  1917. t1.Instantiation$1(f);
  1918. return t1;
  1919. },
  1920. unminifyOrTag(rawClassName) {
  1921. var preserved = init.mangledGlobalNames[rawClassName];
  1922. if (preserved != null)
  1923. return preserved;
  1924. return rawClassName;
  1925. },
  1926. isJsIndexable(object, record) {
  1927. var result;
  1928. if (record != null) {
  1929. result = record.x;
  1930. if (result != null)
  1931. return result;
  1932. }
  1933. return type$.JavaScriptIndexingBehavior_dynamic._is(object);
  1934. },
  1935. S(value) {
  1936. var result;
  1937. if (typeof value == "string")
  1938. return value;
  1939. if (typeof value == "number") {
  1940. if (value !== 0)
  1941. return "" + value;
  1942. } else if (true === value)
  1943. return "true";
  1944. else if (false === value)
  1945. return "false";
  1946. else if (value == null)
  1947. return "null";
  1948. result = J.toString$0$(value);
  1949. return result;
  1950. },
  1951. JSInvocationMirror$(_memberName, _internalName, _kind, _arguments, _namedArgumentNames, _typeArgumentCount) {
  1952. return new A.JSInvocationMirror(_memberName, _kind, _arguments, _namedArgumentNames, _typeArgumentCount);
  1953. },
  1954. Primitives_objectHashCode(object) {
  1955. var hash,
  1956. property = $.Primitives__identityHashCodeProperty;
  1957. if (property == null)
  1958. property = $.Primitives__identityHashCodeProperty = Symbol("identityHashCode");
  1959. hash = object[property];
  1960. if (hash == null) {
  1961. hash = Math.random() * 0x3fffffff | 0;
  1962. object[property] = hash;
  1963. }
  1964. return hash;
  1965. },
  1966. Primitives_parseInt(source, radix) {
  1967. var decimalMatch, maxCharCode, digitsPart, t1, i, _null = null,
  1968. match = /^\s*[+-]?((0x[a-f0-9]+)|(\d+)|([a-z0-9]+))\s*$/i.exec(source);
  1969. if (match == null)
  1970. return _null;
  1971. decimalMatch = match[3];
  1972. if (radix == null) {
  1973. if (decimalMatch != null)
  1974. return parseInt(source, 10);
  1975. if (match[2] != null)
  1976. return parseInt(source, 16);
  1977. return _null;
  1978. }
  1979. if (radix < 2 || radix > 36)
  1980. throw A.wrapException(A.RangeError$range(radix, 2, 36, "radix", _null));
  1981. if (radix === 10 && decimalMatch != null)
  1982. return parseInt(source, 10);
  1983. if (radix < 10 || decimalMatch == null) {
  1984. maxCharCode = radix <= 10 ? 47 + radix : 86 + radix;
  1985. digitsPart = match[1];
  1986. for (t1 = digitsPart.length, i = 0; i < t1; ++i)
  1987. if ((digitsPart.charCodeAt(i) | 32) > maxCharCode)
  1988. return _null;
  1989. }
  1990. return parseInt(source, radix);
  1991. },
  1992. Primitives_parseDouble(source) {
  1993. var result, trimmed;
  1994. if (!/^\s*[+-]?(?:Infinity|NaN|(?:\.\d+|\d+(?:\.\d*)?)(?:[eE][+-]?\d+)?)\s*$/.test(source))
  1995. return null;
  1996. result = parseFloat(source);
  1997. if (isNaN(result)) {
  1998. trimmed = B.JSString_methods.trim$0(source);
  1999. if (trimmed === "NaN" || trimmed === "+NaN" || trimmed === "-NaN")
  2000. return result;
  2001. return null;
  2002. }
  2003. return result;
  2004. },
  2005. Primitives_objectTypeName(object) {
  2006. var interceptor, dispatchName, $constructor, constructorName;
  2007. if (object instanceof A.Object)
  2008. return A._rtiToString(A.instanceType(object), null);
  2009. interceptor = J.getInterceptor$(object);
  2010. if (interceptor === B.Interceptor_methods || interceptor === B.JavaScriptObject_methods || type$.UnknownJavaScriptObject._is(object)) {
  2011. dispatchName = B.C_JS_CONST(object);
  2012. if (dispatchName !== "Object" && dispatchName !== "")
  2013. return dispatchName;
  2014. $constructor = object.constructor;
  2015. if (typeof $constructor == "function") {
  2016. constructorName = $constructor.name;
  2017. if (typeof constructorName == "string" && constructorName !== "Object" && constructorName !== "")
  2018. return constructorName;
  2019. }
  2020. }
  2021. return A._rtiToString(A.instanceType(object), null);
  2022. },
  2023. Primitives_safeToString(object) {
  2024. if (object == null || typeof object == "number" || A._isBool(object))
  2025. return J.toString$0$(object);
  2026. if (typeof object == "string")
  2027. return JSON.stringify(object);
  2028. if (object instanceof A.Closure)
  2029. return object.toString$0(0);
  2030. if (object instanceof A._Record)
  2031. return object._toString$1(true);
  2032. return "Instance of '" + A.Primitives_objectTypeName(object) + "'";
  2033. },
  2034. Primitives_currentUri() {
  2035. if (!!self.location)
  2036. return self.location.href;
  2037. return null;
  2038. },
  2039. Primitives__fromCharCodeApply(array) {
  2040. var result, i, i0, chunkEnd,
  2041. end = array.length;
  2042. if (end <= 500)
  2043. return String.fromCharCode.apply(null, array);
  2044. for (result = "", i = 0; i < end; i = i0) {
  2045. i0 = i + 500;
  2046. chunkEnd = i0 < end ? i0 : end;
  2047. result += String.fromCharCode.apply(null, array.slice(i, chunkEnd));
  2048. }
  2049. return result;
  2050. },
  2051. Primitives_stringFromCodePoints(codePoints) {
  2052. var t1, _i, i,
  2053. a = A._setArrayType([], type$.JSArray_int);
  2054. for (t1 = codePoints.length, _i = 0; _i < codePoints.length; codePoints.length === t1 || (0, A.throwConcurrentModificationError)(codePoints), ++_i) {
  2055. i = codePoints[_i];
  2056. if (!A._isInt(i))
  2057. throw A.wrapException(A.argumentErrorValue(i));
  2058. if (i <= 65535)
  2059. a.push(i);
  2060. else if (i <= 1114111) {
  2061. a.push(55296 + (B.JSInt_methods._shrOtherPositive$1(i - 65536, 10) & 1023));
  2062. a.push(56320 + (i & 1023));
  2063. } else
  2064. throw A.wrapException(A.argumentErrorValue(i));
  2065. }
  2066. return A.Primitives__fromCharCodeApply(a);
  2067. },
  2068. Primitives_stringFromCharCodes(charCodes) {
  2069. var t1, _i, i;
  2070. for (t1 = charCodes.length, _i = 0; _i < t1; ++_i) {
  2071. i = charCodes[_i];
  2072. if (!A._isInt(i))
  2073. throw A.wrapException(A.argumentErrorValue(i));
  2074. if (i < 0)
  2075. throw A.wrapException(A.argumentErrorValue(i));
  2076. if (i > 65535)
  2077. return A.Primitives_stringFromCodePoints(charCodes);
  2078. }
  2079. return A.Primitives__fromCharCodeApply(charCodes);
  2080. },
  2081. Primitives_stringFromNativeUint8List(charCodes, start, end) {
  2082. var i, result, i0, chunkEnd;
  2083. if (end <= 500 && start === 0 && end === charCodes.length)
  2084. return String.fromCharCode.apply(null, charCodes);
  2085. for (i = start, result = ""; i < end; i = i0) {
  2086. i0 = i + 500;
  2087. chunkEnd = i0 < end ? i0 : end;
  2088. result += String.fromCharCode.apply(null, charCodes.subarray(i, chunkEnd));
  2089. }
  2090. return result;
  2091. },
  2092. Primitives_stringFromCharCode(charCode) {
  2093. var bits;
  2094. if (0 <= charCode) {
  2095. if (charCode <= 65535)
  2096. return String.fromCharCode(charCode);
  2097. if (charCode <= 1114111) {
  2098. bits = charCode - 65536;
  2099. return String.fromCharCode((B.JSInt_methods._shrOtherPositive$1(bits, 10) | 55296) >>> 0, bits & 1023 | 56320);
  2100. }
  2101. }
  2102. throw A.wrapException(A.RangeError$range(charCode, 0, 1114111, null, null));
  2103. },
  2104. Primitives_lazyAsJsDate(receiver) {
  2105. if (receiver.date === void 0)
  2106. receiver.date = new Date(receiver._value);
  2107. return receiver.date;
  2108. },
  2109. Primitives_getYear(receiver) {
  2110. var t1 = A.Primitives_lazyAsJsDate(receiver).getFullYear() + 0;
  2111. return t1;
  2112. },
  2113. Primitives_getMonth(receiver) {
  2114. var t1 = A.Primitives_lazyAsJsDate(receiver).getMonth() + 1;
  2115. return t1;
  2116. },
  2117. Primitives_getDay(receiver) {
  2118. var t1 = A.Primitives_lazyAsJsDate(receiver).getDate() + 0;
  2119. return t1;
  2120. },
  2121. Primitives_getHours(receiver) {
  2122. var t1 = A.Primitives_lazyAsJsDate(receiver).getHours() + 0;
  2123. return t1;
  2124. },
  2125. Primitives_getMinutes(receiver) {
  2126. var t1 = A.Primitives_lazyAsJsDate(receiver).getMinutes() + 0;
  2127. return t1;
  2128. },
  2129. Primitives_getSeconds(receiver) {
  2130. var t1 = A.Primitives_lazyAsJsDate(receiver).getSeconds() + 0;
  2131. return t1;
  2132. },
  2133. Primitives_getMilliseconds(receiver) {
  2134. var t1 = A.Primitives_lazyAsJsDate(receiver).getMilliseconds() + 0;
  2135. return t1;
  2136. },
  2137. Primitives_functionNoSuchMethod($function, positionalArguments, namedArguments) {
  2138. var $arguments, namedArgumentList, t1 = {};
  2139. t1.argumentCount = 0;
  2140. $arguments = [];
  2141. namedArgumentList = [];
  2142. t1.argumentCount = positionalArguments.length;
  2143. B.JSArray_methods.addAll$1($arguments, positionalArguments);
  2144. t1.names = "";
  2145. if (namedArguments != null && namedArguments.__js_helper$_length !== 0)
  2146. namedArguments.forEach$1(0, new A.Primitives_functionNoSuchMethod_closure(t1, namedArgumentList, $arguments));
  2147. return J.noSuchMethod$1$($function, new A.JSInvocationMirror(B.Symbol_call, 0, $arguments, namedArgumentList, 0));
  2148. },
  2149. Primitives_applyFunction($function, positionalArguments, namedArguments) {
  2150. var t1, argumentCount, jsStub;
  2151. if (Array.isArray(positionalArguments))
  2152. t1 = namedArguments == null || namedArguments.__js_helper$_length === 0;
  2153. else
  2154. t1 = false;
  2155. if (t1) {
  2156. argumentCount = positionalArguments.length;
  2157. if (argumentCount === 0) {
  2158. if (!!$function.call$0)
  2159. return $function.call$0();
  2160. } else if (argumentCount === 1) {
  2161. if (!!$function.call$1)
  2162. return $function.call$1(positionalArguments[0]);
  2163. } else if (argumentCount === 2) {
  2164. if (!!$function.call$2)
  2165. return $function.call$2(positionalArguments[0], positionalArguments[1]);
  2166. } else if (argumentCount === 3) {
  2167. if (!!$function.call$3)
  2168. return $function.call$3(positionalArguments[0], positionalArguments[1], positionalArguments[2]);
  2169. } else if (argumentCount === 4) {
  2170. if (!!$function.call$4)
  2171. return $function.call$4(positionalArguments[0], positionalArguments[1], positionalArguments[2], positionalArguments[3]);
  2172. } else if (argumentCount === 5)
  2173. if (!!$function.call$5)
  2174. return $function.call$5(positionalArguments[0], positionalArguments[1], positionalArguments[2], positionalArguments[3], positionalArguments[4]);
  2175. jsStub = $function["call" + "$" + argumentCount];
  2176. if (jsStub != null)
  2177. return jsStub.apply($function, positionalArguments);
  2178. }
  2179. return A.Primitives__generalApplyFunction($function, positionalArguments, namedArguments);
  2180. },
  2181. Primitives__generalApplyFunction($function, positionalArguments, namedArguments) {
  2182. var $arguments, argumentCount, requiredParameterCount, defaultValuesClosure, t1, defaultValues, interceptor, jsFunction, maxArguments, missingDefaults, keys, _i, defaultValue, used, t2;
  2183. if (Array.isArray(positionalArguments))
  2184. $arguments = positionalArguments;
  2185. else
  2186. $arguments = A.List_List$_of(positionalArguments, type$.dynamic);
  2187. argumentCount = $arguments.length;
  2188. requiredParameterCount = $function.$requiredArgCount;
  2189. if (argumentCount < requiredParameterCount)
  2190. return A.Primitives_functionNoSuchMethod($function, $arguments, namedArguments);
  2191. defaultValuesClosure = $function.$defaultValues;
  2192. t1 = defaultValuesClosure == null;
  2193. defaultValues = !t1 ? defaultValuesClosure() : null;
  2194. interceptor = J.getInterceptor$($function);
  2195. jsFunction = interceptor["call*"];
  2196. if (typeof jsFunction == "string")
  2197. jsFunction = interceptor[jsFunction];
  2198. if (t1) {
  2199. if (namedArguments != null && namedArguments.__js_helper$_length !== 0)
  2200. return A.Primitives_functionNoSuchMethod($function, $arguments, namedArguments);
  2201. if (argumentCount === requiredParameterCount)
  2202. return jsFunction.apply($function, $arguments);
  2203. return A.Primitives_functionNoSuchMethod($function, $arguments, namedArguments);
  2204. }
  2205. if (Array.isArray(defaultValues)) {
  2206. if (namedArguments != null && namedArguments.__js_helper$_length !== 0)
  2207. return A.Primitives_functionNoSuchMethod($function, $arguments, namedArguments);
  2208. maxArguments = requiredParameterCount + defaultValues.length;
  2209. if (argumentCount > maxArguments)
  2210. return A.Primitives_functionNoSuchMethod($function, $arguments, null);
  2211. if (argumentCount < maxArguments) {
  2212. missingDefaults = defaultValues.slice(argumentCount - requiredParameterCount);
  2213. if ($arguments === positionalArguments)
  2214. $arguments = A.List_List$_of($arguments, type$.dynamic);
  2215. B.JSArray_methods.addAll$1($arguments, missingDefaults);
  2216. }
  2217. return jsFunction.apply($function, $arguments);
  2218. } else {
  2219. if (argumentCount > requiredParameterCount)
  2220. return A.Primitives_functionNoSuchMethod($function, $arguments, namedArguments);
  2221. if ($arguments === positionalArguments)
  2222. $arguments = A.List_List$_of($arguments, type$.dynamic);
  2223. keys = Object.keys(defaultValues);
  2224. if (namedArguments == null)
  2225. for (t1 = keys.length, _i = 0; _i < keys.length; keys.length === t1 || (0, A.throwConcurrentModificationError)(keys), ++_i) {
  2226. defaultValue = defaultValues[keys[_i]];
  2227. if (B.C__Required === defaultValue)
  2228. return A.Primitives_functionNoSuchMethod($function, $arguments, namedArguments);
  2229. B.JSArray_methods.add$1($arguments, defaultValue);
  2230. }
  2231. else {
  2232. for (t1 = keys.length, used = 0, _i = 0; _i < keys.length; keys.length === t1 || (0, A.throwConcurrentModificationError)(keys), ++_i) {
  2233. t2 = keys[_i];
  2234. if (namedArguments.containsKey$1(t2)) {
  2235. ++used;
  2236. B.JSArray_methods.add$1($arguments, namedArguments.$index(0, t2));
  2237. } else {
  2238. defaultValue = defaultValues[t2];
  2239. if (B.C__Required === defaultValue)
  2240. return A.Primitives_functionNoSuchMethod($function, $arguments, namedArguments);
  2241. B.JSArray_methods.add$1($arguments, defaultValue);
  2242. }
  2243. }
  2244. if (used !== namedArguments.__js_helper$_length)
  2245. return A.Primitives_functionNoSuchMethod($function, $arguments, namedArguments);
  2246. }
  2247. return jsFunction.apply($function, $arguments);
  2248. }
  2249. },
  2250. Primitives_extractStackTrace(error) {
  2251. var jsError = error.$thrownJsError;
  2252. if (jsError == null)
  2253. return null;
  2254. return A.getTraceFromException(jsError);
  2255. },
  2256. Primitives_trySetStackTrace(error, stackTrace) {
  2257. var jsError;
  2258. if (error.$thrownJsError == null) {
  2259. jsError = new Error();
  2260. A.initializeExceptionWrapper(error, jsError);
  2261. error.$thrownJsError = jsError;
  2262. jsError.stack = stackTrace.toString$0(0);
  2263. }
  2264. },
  2265. diagnoseIndexError(indexable, index) {
  2266. var $length, _s5_ = "index";
  2267. if (!A._isInt(index))
  2268. return new A.ArgumentError(true, index, _s5_, null);
  2269. $length = J.get$length$asx(indexable);
  2270. if (index < 0 || index >= $length)
  2271. return A.IndexError$withLength(index, $length, indexable, null, _s5_);
  2272. return A.RangeError$value(index, _s5_, null);
  2273. },
  2274. diagnoseRangeError(start, end, $length) {
  2275. if (start < 0 || start > $length)
  2276. return A.RangeError$range(start, 0, $length, "start", null);
  2277. if (end != null)
  2278. if (end < start || end > $length)
  2279. return A.RangeError$range(end, start, $length, "end", null);
  2280. return new A.ArgumentError(true, end, "end", null);
  2281. },
  2282. argumentErrorValue(object) {
  2283. return new A.ArgumentError(true, object, null, null);
  2284. },
  2285. wrapException(ex) {
  2286. return A.initializeExceptionWrapper(ex, new Error());
  2287. },
  2288. initializeExceptionWrapper(ex, wrapper) {
  2289. var t1;
  2290. if (ex == null)
  2291. ex = new A.TypeError();
  2292. wrapper.dartException = ex;
  2293. t1 = A.toStringWrapper;
  2294. if ("defineProperty" in Object) {
  2295. Object.defineProperty(wrapper, "message", {get: t1});
  2296. wrapper.name = "";
  2297. } else
  2298. wrapper.toString = t1;
  2299. return wrapper;
  2300. },
  2301. toStringWrapper() {
  2302. return J.toString$0$(this.dartException);
  2303. },
  2304. throwExpression(ex, wrapper) {
  2305. throw A.initializeExceptionWrapper(ex, wrapper == null ? new Error() : wrapper);
  2306. },
  2307. throwUnsupportedOperation(o, operation, verb) {
  2308. var wrapper;
  2309. if (operation == null)
  2310. operation = 0;
  2311. if (verb == null)
  2312. verb = 0;
  2313. wrapper = Error();
  2314. A.throwExpression(A._diagnoseUnsupportedOperation(o, operation, verb), wrapper);
  2315. },
  2316. _diagnoseUnsupportedOperation(o, encodedOperation, encodedVerb) {
  2317. var operation, table, tableLength, index, verb, object, flags, article, adjective;
  2318. if (typeof encodedOperation == "string")
  2319. operation = encodedOperation;
  2320. else {
  2321. table = "[]=;add;removeWhere;retainWhere;removeRange;setRange;setInt8;setInt16;setInt32;setUint8;setUint16;setUint32;setFloat32;setFloat64".split(";");
  2322. tableLength = table.length;
  2323. index = encodedOperation;
  2324. if (index > tableLength) {
  2325. encodedVerb = index / tableLength | 0;
  2326. index %= tableLength;
  2327. }
  2328. operation = table[index];
  2329. }
  2330. verb = typeof encodedVerb == "string" ? encodedVerb : "modify;remove from;add to".split(";")[encodedVerb];
  2331. object = type$.List_dynamic._is(o) ? "list" : "ByteData";
  2332. flags = o.$flags | 0;
  2333. article = "a ";
  2334. if ((flags & 4) !== 0)
  2335. adjective = "constant ";
  2336. else if ((flags & 2) !== 0) {
  2337. adjective = "unmodifiable ";
  2338. article = "an ";
  2339. } else
  2340. adjective = (flags & 1) !== 0 ? "fixed-length " : "";
  2341. return new A.UnsupportedError("'" + operation + "': Cannot " + verb + " " + article + adjective + object);
  2342. },
  2343. throwConcurrentModificationError(collection) {
  2344. throw A.wrapException(A.ConcurrentModificationError$(collection));
  2345. },
  2346. TypeErrorDecoder_extractPattern(message) {
  2347. var match, $arguments, argumentsExpr, expr, method, receiver;
  2348. message = A.quoteStringForRegExp(message.replace(String({}), "$receiver$"));
  2349. match = message.match(/\\\$[a-zA-Z]+\\\$/g);
  2350. if (match == null)
  2351. match = A._setArrayType([], type$.JSArray_String);
  2352. $arguments = match.indexOf("\\$arguments\\$");
  2353. argumentsExpr = match.indexOf("\\$argumentsExpr\\$");
  2354. expr = match.indexOf("\\$expr\\$");
  2355. method = match.indexOf("\\$method\\$");
  2356. receiver = match.indexOf("\\$receiver\\$");
  2357. 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);
  2358. },
  2359. TypeErrorDecoder_provokeCallErrorOn(expression) {
  2360. return function($expr$) {
  2361. var $argumentsExpr$ = "$arguments$";
  2362. try {
  2363. $expr$.$method$($argumentsExpr$);
  2364. } catch (e) {
  2365. return e.message;
  2366. }
  2367. }(expression);
  2368. },
  2369. TypeErrorDecoder_provokePropertyErrorOn(expression) {
  2370. return function($expr$) {
  2371. try {
  2372. $expr$.$method$;
  2373. } catch (e) {
  2374. return e.message;
  2375. }
  2376. }(expression);
  2377. },
  2378. JsNoSuchMethodError$(_message, match) {
  2379. var t1 = match == null,
  2380. t2 = t1 ? null : match.method;
  2381. return new A.JsNoSuchMethodError(_message, t2, t1 ? null : match.receiver);
  2382. },
  2383. unwrapException(ex) {
  2384. if (ex == null)
  2385. return new A.NullThrownFromJavaScriptException(ex);
  2386. if (ex instanceof A.ExceptionAndStackTrace)
  2387. return A.saveStackTrace(ex, ex.dartException);
  2388. if (typeof ex !== "object")
  2389. return ex;
  2390. if ("dartException" in ex)
  2391. return A.saveStackTrace(ex, ex.dartException);
  2392. return A._unwrapNonDartException(ex);
  2393. },
  2394. saveStackTrace(ex, error) {
  2395. if (type$.Error._is(error))
  2396. if (error.$thrownJsError == null)
  2397. error.$thrownJsError = ex;
  2398. return error;
  2399. },
  2400. _unwrapNonDartException(ex) {
  2401. var message, number, ieErrorCode, nsme, notClosure, nullCall, nullLiteralCall, undefCall, undefLiteralCall, nullProperty, undefProperty, undefLiteralProperty, match;
  2402. if (!("message" in ex))
  2403. return ex;
  2404. message = ex.message;
  2405. if ("number" in ex && typeof ex.number == "number") {
  2406. number = ex.number;
  2407. ieErrorCode = number & 65535;
  2408. if ((B.JSInt_methods._shrOtherPositive$1(number, 16) & 8191) === 10)
  2409. switch (ieErrorCode) {
  2410. case 438:
  2411. return A.saveStackTrace(ex, A.JsNoSuchMethodError$(A.S(message) + " (Error " + ieErrorCode + ")", null));
  2412. case 445:
  2413. case 5007:
  2414. A.S(message);
  2415. return A.saveStackTrace(ex, new A.NullError());
  2416. }
  2417. }
  2418. if (ex instanceof TypeError) {
  2419. nsme = $.$get$TypeErrorDecoder_noSuchMethodPattern();
  2420. notClosure = $.$get$TypeErrorDecoder_notClosurePattern();
  2421. nullCall = $.$get$TypeErrorDecoder_nullCallPattern();
  2422. nullLiteralCall = $.$get$TypeErrorDecoder_nullLiteralCallPattern();
  2423. undefCall = $.$get$TypeErrorDecoder_undefinedCallPattern();
  2424. undefLiteralCall = $.$get$TypeErrorDecoder_undefinedLiteralCallPattern();
  2425. nullProperty = $.$get$TypeErrorDecoder_nullPropertyPattern();
  2426. $.$get$TypeErrorDecoder_nullLiteralPropertyPattern();
  2427. undefProperty = $.$get$TypeErrorDecoder_undefinedPropertyPattern();
  2428. undefLiteralProperty = $.$get$TypeErrorDecoder_undefinedLiteralPropertyPattern();
  2429. match = nsme.matchTypeError$1(message);
  2430. if (match != null)
  2431. return A.saveStackTrace(ex, A.JsNoSuchMethodError$(message, match));
  2432. else {
  2433. match = notClosure.matchTypeError$1(message);
  2434. if (match != null) {
  2435. match.method = "call";
  2436. return A.saveStackTrace(ex, A.JsNoSuchMethodError$(message, match));
  2437. } else if (nullCall.matchTypeError$1(message) != null || nullLiteralCall.matchTypeError$1(message) != null || undefCall.matchTypeError$1(message) != null || undefLiteralCall.matchTypeError$1(message) != null || nullProperty.matchTypeError$1(message) != null || nullLiteralCall.matchTypeError$1(message) != null || undefProperty.matchTypeError$1(message) != null || undefLiteralProperty.matchTypeError$1(message) != null)
  2438. return A.saveStackTrace(ex, new A.NullError());
  2439. }
  2440. return A.saveStackTrace(ex, new A.UnknownJsTypeError(typeof message == "string" ? message : ""));
  2441. }
  2442. if (ex instanceof RangeError) {
  2443. if (typeof message == "string" && message.indexOf("call stack") !== -1)
  2444. return new A.StackOverflowError();
  2445. message = function(ex) {
  2446. try {
  2447. return String(ex);
  2448. } catch (e) {
  2449. }
  2450. return null;
  2451. }(ex);
  2452. return A.saveStackTrace(ex, new A.ArgumentError(false, null, null, typeof message == "string" ? message.replace(/^RangeError:\s*/, "") : message));
  2453. }
  2454. if (typeof InternalError == "function" && ex instanceof InternalError)
  2455. if (typeof message == "string" && message === "too much recursion")
  2456. return new A.StackOverflowError();
  2457. return ex;
  2458. },
  2459. getTraceFromException(exception) {
  2460. var trace;
  2461. if (exception instanceof A.ExceptionAndStackTrace)
  2462. return exception.stackTrace;
  2463. if (exception == null)
  2464. return new A._StackTrace(exception);
  2465. trace = exception.$cachedTrace;
  2466. if (trace != null)
  2467. return trace;
  2468. trace = new A._StackTrace(exception);
  2469. if (typeof exception === "object")
  2470. exception.$cachedTrace = trace;
  2471. return trace;
  2472. },
  2473. objectHashCode(object) {
  2474. if (object == null)
  2475. return J.get$hashCode$(object);
  2476. if (typeof object == "object")
  2477. return A.Primitives_objectHashCode(object);
  2478. return J.get$hashCode$(object);
  2479. },
  2480. constantHashCode(key) {
  2481. if (typeof key == "number")
  2482. return B.JSNumber_methods.get$hashCode(key);
  2483. if (key instanceof A._Type)
  2484. return A.Primitives_objectHashCode(key);
  2485. if (key instanceof A._Record)
  2486. return key.get$hashCode(key);
  2487. if (key instanceof A.Symbol)
  2488. return key.get$hashCode(0);
  2489. return A.objectHashCode(key);
  2490. },
  2491. fillLiteralMap(keyValuePairs, result) {
  2492. var index, index0, index1,
  2493. $length = keyValuePairs.length;
  2494. for (index = 0; index < $length; index = index1) {
  2495. index0 = index + 1;
  2496. index1 = index0 + 1;
  2497. result.$indexSet(0, keyValuePairs[index], keyValuePairs[index0]);
  2498. }
  2499. return result;
  2500. },
  2501. fillLiteralSet(values, result) {
  2502. var index,
  2503. $length = values.length;
  2504. for (index = 0; index < $length; ++index)
  2505. result.add$1(0, values[index]);
  2506. return result;
  2507. },
  2508. _invokeClosure(closure, numberOfArguments, arg1, arg2, arg3, arg4) {
  2509. switch (numberOfArguments) {
  2510. case 0:
  2511. return closure.call$0();
  2512. case 1:
  2513. return closure.call$1(arg1);
  2514. case 2:
  2515. return closure.call$2(arg1, arg2);
  2516. case 3:
  2517. return closure.call$3(arg1, arg2, arg3);
  2518. case 4:
  2519. return closure.call$4(arg1, arg2, arg3, arg4);
  2520. }
  2521. throw A.wrapException(new A._Exception("Unsupported number of arguments for wrapped closure"));
  2522. },
  2523. convertDartClosureToJS(closure, arity) {
  2524. var $function;
  2525. if (closure == null)
  2526. return null;
  2527. $function = closure.$identity;
  2528. if (!!$function)
  2529. return $function;
  2530. $function = A.convertDartClosureToJSUncached(closure, arity);
  2531. closure.$identity = $function;
  2532. return $function;
  2533. },
  2534. convertDartClosureToJSUncached(closure, arity) {
  2535. var entry;
  2536. switch (arity) {
  2537. case 0:
  2538. entry = closure.call$0;
  2539. break;
  2540. case 1:
  2541. entry = closure.call$1;
  2542. break;
  2543. case 2:
  2544. entry = closure.call$2;
  2545. break;
  2546. case 3:
  2547. entry = closure.call$3;
  2548. break;
  2549. case 4:
  2550. entry = closure.call$4;
  2551. break;
  2552. default:
  2553. entry = null;
  2554. }
  2555. if (entry != null)
  2556. return entry.bind(closure);
  2557. return function(closure, arity, invoke) {
  2558. return function(a1, a2, a3, a4) {
  2559. return invoke(closure, arity, a1, a2, a3, a4);
  2560. };
  2561. }(closure, arity, A._invokeClosure);
  2562. },
  2563. Closure_fromTearOff(parameters) {
  2564. var $prototype, $constructor, t2, trampoline, applyTrampoline, i, stub, stub0, stubName, stubCallName,
  2565. container = parameters.co,
  2566. isStatic = parameters.iS,
  2567. isIntercepted = parameters.iI,
  2568. needsDirectAccess = parameters.nDA,
  2569. applyTrampolineIndex = parameters.aI,
  2570. funsOrNames = parameters.fs,
  2571. callNames = parameters.cs,
  2572. $name = funsOrNames[0],
  2573. callName = callNames[0],
  2574. $function = container[$name],
  2575. t1 = parameters.fT;
  2576. t1.toString;
  2577. $prototype = isStatic ? Object.create(new A.StaticClosure().constructor.prototype) : Object.create(new A.BoundClosure(null, null).constructor.prototype);
  2578. $prototype.$initialize = $prototype.constructor;
  2579. $constructor = isStatic ? function static_tear_off() {
  2580. this.$initialize();
  2581. } : function tear_off(a, b) {
  2582. this.$initialize(a, b);
  2583. };
  2584. $prototype.constructor = $constructor;
  2585. $constructor.prototype = $prototype;
  2586. $prototype.$_name = $name;
  2587. $prototype.$_target = $function;
  2588. t2 = !isStatic;
  2589. if (t2)
  2590. trampoline = A.Closure_forwardCallTo($name, $function, isIntercepted, needsDirectAccess);
  2591. else {
  2592. $prototype.$static_name = $name;
  2593. trampoline = $function;
  2594. }
  2595. $prototype.$signature = A.Closure__computeSignatureFunction(t1, isStatic, isIntercepted);
  2596. $prototype[callName] = trampoline;
  2597. for (applyTrampoline = trampoline, i = 1; i < funsOrNames.length; ++i) {
  2598. stub = funsOrNames[i];
  2599. if (typeof stub == "string") {
  2600. stub0 = container[stub];
  2601. stubName = stub;
  2602. stub = stub0;
  2603. } else
  2604. stubName = "";
  2605. stubCallName = callNames[i];
  2606. if (stubCallName != null) {
  2607. if (t2)
  2608. stub = A.Closure_forwardCallTo(stubName, stub, isIntercepted, needsDirectAccess);
  2609. $prototype[stubCallName] = stub;
  2610. }
  2611. if (i === applyTrampolineIndex)
  2612. applyTrampoline = stub;
  2613. }
  2614. $prototype["call*"] = applyTrampoline;
  2615. $prototype.$requiredArgCount = parameters.rC;
  2616. $prototype.$defaultValues = parameters.dV;
  2617. return $constructor;
  2618. },
  2619. Closure__computeSignatureFunction(functionType, isStatic, isIntercepted) {
  2620. if (typeof functionType == "number")
  2621. return functionType;
  2622. if (typeof functionType == "string") {
  2623. if (isStatic)
  2624. throw A.wrapException("Cannot compute signature for static tearoff.");
  2625. return function(recipe, evalOnReceiver) {
  2626. return function() {
  2627. return evalOnReceiver(this, recipe);
  2628. };
  2629. }(functionType, A.BoundClosure_evalRecipe);
  2630. }
  2631. throw A.wrapException("Error in functionType of tearoff");
  2632. },
  2633. Closure_cspForwardCall(arity, needsDirectAccess, stubName, $function) {
  2634. var getReceiver = A.BoundClosure_receiverOf;
  2635. switch (needsDirectAccess ? -1 : arity) {
  2636. case 0:
  2637. return function(entry, receiverOf) {
  2638. return function() {
  2639. return receiverOf(this)[entry]();
  2640. };
  2641. }(stubName, getReceiver);
  2642. case 1:
  2643. return function(entry, receiverOf) {
  2644. return function(a) {
  2645. return receiverOf(this)[entry](a);
  2646. };
  2647. }(stubName, getReceiver);
  2648. case 2:
  2649. return function(entry, receiverOf) {
  2650. return function(a, b) {
  2651. return receiverOf(this)[entry](a, b);
  2652. };
  2653. }(stubName, getReceiver);
  2654. case 3:
  2655. return function(entry, receiverOf) {
  2656. return function(a, b, c) {
  2657. return receiverOf(this)[entry](a, b, c);
  2658. };
  2659. }(stubName, getReceiver);
  2660. case 4:
  2661. return function(entry, receiverOf) {
  2662. return function(a, b, c, d) {
  2663. return receiverOf(this)[entry](a, b, c, d);
  2664. };
  2665. }(stubName, getReceiver);
  2666. case 5:
  2667. return function(entry, receiverOf) {
  2668. return function(a, b, c, d, e) {
  2669. return receiverOf(this)[entry](a, b, c, d, e);
  2670. };
  2671. }(stubName, getReceiver);
  2672. default:
  2673. return function(f, receiverOf) {
  2674. return function() {
  2675. return f.apply(receiverOf(this), arguments);
  2676. };
  2677. }($function, getReceiver);
  2678. }
  2679. },
  2680. Closure_forwardCallTo(stubName, $function, isIntercepted, needsDirectAccess) {
  2681. if (isIntercepted)
  2682. return A.Closure_forwardInterceptedCallTo(stubName, $function, needsDirectAccess);
  2683. return A.Closure_cspForwardCall($function.length, needsDirectAccess, stubName, $function);
  2684. },
  2685. Closure_cspForwardInterceptedCall(arity, needsDirectAccess, stubName, $function) {
  2686. var getReceiver = A.BoundClosure_receiverOf,
  2687. getInterceptor = A.BoundClosure_interceptorOf;
  2688. switch (needsDirectAccess ? -1 : arity) {
  2689. case 0:
  2690. throw A.wrapException(new A.RuntimeError("Intercepted function with no arguments."));
  2691. case 1:
  2692. return function(entry, interceptorOf, receiverOf) {
  2693. return function() {
  2694. return interceptorOf(this)[entry](receiverOf(this));
  2695. };
  2696. }(stubName, getInterceptor, getReceiver);
  2697. case 2:
  2698. return function(entry, interceptorOf, receiverOf) {
  2699. return function(a) {
  2700. return interceptorOf(this)[entry](receiverOf(this), a);
  2701. };
  2702. }(stubName, getInterceptor, getReceiver);
  2703. case 3:
  2704. return function(entry, interceptorOf, receiverOf) {
  2705. return function(a, b) {
  2706. return interceptorOf(this)[entry](receiverOf(this), a, b);
  2707. };
  2708. }(stubName, getInterceptor, getReceiver);
  2709. case 4:
  2710. return function(entry, interceptorOf, receiverOf) {
  2711. return function(a, b, c) {
  2712. return interceptorOf(this)[entry](receiverOf(this), a, b, c);
  2713. };
  2714. }(stubName, getInterceptor, getReceiver);
  2715. case 5:
  2716. return function(entry, interceptorOf, receiverOf) {
  2717. return function(a, b, c, d) {
  2718. return interceptorOf(this)[entry](receiverOf(this), a, b, c, d);
  2719. };
  2720. }(stubName, getInterceptor, getReceiver);
  2721. case 6:
  2722. return function(entry, interceptorOf, receiverOf) {
  2723. return function(a, b, c, d, e) {
  2724. return interceptorOf(this)[entry](receiverOf(this), a, b, c, d, e);
  2725. };
  2726. }(stubName, getInterceptor, getReceiver);
  2727. default:
  2728. return function(f, interceptorOf, receiverOf) {
  2729. return function() {
  2730. var a = [receiverOf(this)];
  2731. Array.prototype.push.apply(a, arguments);
  2732. return f.apply(interceptorOf(this), a);
  2733. };
  2734. }($function, getInterceptor, getReceiver);
  2735. }
  2736. },
  2737. Closure_forwardInterceptedCallTo(stubName, $function, needsDirectAccess) {
  2738. var arity, t1;
  2739. if ($.BoundClosure__interceptorFieldNameCache == null)
  2740. $.BoundClosure__interceptorFieldNameCache = A.BoundClosure__computeFieldNamed("interceptor");
  2741. if ($.BoundClosure__receiverFieldNameCache == null)
  2742. $.BoundClosure__receiverFieldNameCache = A.BoundClosure__computeFieldNamed("receiver");
  2743. arity = $function.length;
  2744. t1 = A.Closure_cspForwardInterceptedCall(arity, needsDirectAccess, stubName, $function);
  2745. return t1;
  2746. },
  2747. closureFromTearOff(parameters) {
  2748. return A.Closure_fromTearOff(parameters);
  2749. },
  2750. BoundClosure_evalRecipe(closure, recipe) {
  2751. return A._Universe_evalInEnvironment(init.typeUniverse, A.instanceType(closure._receiver), recipe);
  2752. },
  2753. BoundClosure_receiverOf(closure) {
  2754. return closure._receiver;
  2755. },
  2756. BoundClosure_interceptorOf(closure) {
  2757. return closure._interceptor;
  2758. },
  2759. BoundClosure__computeFieldNamed(fieldName) {
  2760. var names, i, $name,
  2761. template = new A.BoundClosure("receiver", "interceptor"),
  2762. t1 = Object.getOwnPropertyNames(template);
  2763. t1.$flags = 1;
  2764. names = t1;
  2765. for (t1 = names.length, i = 0; i < t1; ++i) {
  2766. $name = names[i];
  2767. if (template[$name] === fieldName)
  2768. return $name;
  2769. }
  2770. throw A.wrapException(A.ArgumentError$("Field name " + fieldName + " not found.", null));
  2771. },
  2772. getIsolateAffinityTag($name) {
  2773. return init.getIsolateTag($name);
  2774. },
  2775. defineProperty(obj, property, value) {
  2776. Object.defineProperty(obj, property, {value: value, enumerable: false, writable: true, configurable: true});
  2777. },
  2778. lookupAndCacheInterceptor(obj) {
  2779. var interceptor, interceptorClass, altTag, mark, t1,
  2780. tag = $.getTagFunction.call$1(obj),
  2781. record = $.dispatchRecordsForInstanceTags[tag];
  2782. if (record != null) {
  2783. Object.defineProperty(obj, init.dispatchPropertyName, {value: record, enumerable: false, writable: true, configurable: true});
  2784. return record.i;
  2785. }
  2786. interceptor = $.interceptorsForUncacheableTags[tag];
  2787. if (interceptor != null)
  2788. return interceptor;
  2789. interceptorClass = init.interceptorsByTag[tag];
  2790. if (interceptorClass == null) {
  2791. altTag = $.alternateTagFunction.call$2(obj, tag);
  2792. if (altTag != null) {
  2793. record = $.dispatchRecordsForInstanceTags[altTag];
  2794. if (record != null) {
  2795. Object.defineProperty(obj, init.dispatchPropertyName, {value: record, enumerable: false, writable: true, configurable: true});
  2796. return record.i;
  2797. }
  2798. interceptor = $.interceptorsForUncacheableTags[altTag];
  2799. if (interceptor != null)
  2800. return interceptor;
  2801. interceptorClass = init.interceptorsByTag[altTag];
  2802. tag = altTag;
  2803. }
  2804. }
  2805. if (interceptorClass == null)
  2806. return null;
  2807. interceptor = interceptorClass.prototype;
  2808. mark = tag[0];
  2809. if (mark === "!") {
  2810. record = A.makeLeafDispatchRecord(interceptor);
  2811. $.dispatchRecordsForInstanceTags[tag] = record;
  2812. Object.defineProperty(obj, init.dispatchPropertyName, {value: record, enumerable: false, writable: true, configurable: true});
  2813. return record.i;
  2814. }
  2815. if (mark === "~") {
  2816. $.interceptorsForUncacheableTags[tag] = interceptor;
  2817. return interceptor;
  2818. }
  2819. if (mark === "-") {
  2820. t1 = A.makeLeafDispatchRecord(interceptor);
  2821. Object.defineProperty(Object.getPrototypeOf(obj), init.dispatchPropertyName, {value: t1, enumerable: false, writable: true, configurable: true});
  2822. return t1.i;
  2823. }
  2824. if (mark === "+")
  2825. return A.patchInteriorProto(obj, interceptor);
  2826. if (mark === "*")
  2827. throw A.wrapException(A.UnimplementedError$(tag));
  2828. if (init.leafTags[tag] === true) {
  2829. t1 = A.makeLeafDispatchRecord(interceptor);
  2830. Object.defineProperty(Object.getPrototypeOf(obj), init.dispatchPropertyName, {value: t1, enumerable: false, writable: true, configurable: true});
  2831. return t1.i;
  2832. } else
  2833. return A.patchInteriorProto(obj, interceptor);
  2834. },
  2835. patchInteriorProto(obj, interceptor) {
  2836. var proto = Object.getPrototypeOf(obj);
  2837. Object.defineProperty(proto, init.dispatchPropertyName, {value: J.makeDispatchRecord(interceptor, proto, null, null), enumerable: false, writable: true, configurable: true});
  2838. return interceptor;
  2839. },
  2840. makeLeafDispatchRecord(interceptor) {
  2841. return J.makeDispatchRecord(interceptor, false, null, !!interceptor.$isJavaScriptIndexingBehavior);
  2842. },
  2843. makeDefaultDispatchRecord(tag, interceptorClass, proto) {
  2844. var interceptor = interceptorClass.prototype;
  2845. if (init.leafTags[tag] === true)
  2846. return A.makeLeafDispatchRecord(interceptor);
  2847. else
  2848. return J.makeDispatchRecord(interceptor, proto, null, null);
  2849. },
  2850. initNativeDispatch() {
  2851. if (true === $.initNativeDispatchFlag)
  2852. return;
  2853. $.initNativeDispatchFlag = true;
  2854. A.initNativeDispatchContinue();
  2855. },
  2856. initNativeDispatchContinue() {
  2857. var map, tags, fun, i, tag, proto, record, interceptorClass;
  2858. $.dispatchRecordsForInstanceTags = Object.create(null);
  2859. $.interceptorsForUncacheableTags = Object.create(null);
  2860. A.initHooks();
  2861. map = init.interceptorsByTag;
  2862. tags = Object.getOwnPropertyNames(map);
  2863. if (typeof window != "undefined") {
  2864. window;
  2865. fun = function() {
  2866. };
  2867. for (i = 0; i < tags.length; ++i) {
  2868. tag = tags[i];
  2869. proto = $.prototypeForTagFunction.call$1(tag);
  2870. if (proto != null) {
  2871. record = A.makeDefaultDispatchRecord(tag, map[tag], proto);
  2872. if (record != null) {
  2873. Object.defineProperty(proto, init.dispatchPropertyName, {value: record, enumerable: false, writable: true, configurable: true});
  2874. fun.prototype = proto;
  2875. }
  2876. }
  2877. }
  2878. }
  2879. for (i = 0; i < tags.length; ++i) {
  2880. tag = tags[i];
  2881. if (/^[A-Za-z_]/.test(tag)) {
  2882. interceptorClass = map[tag];
  2883. map["!" + tag] = interceptorClass;
  2884. map["~" + tag] = interceptorClass;
  2885. map["-" + tag] = interceptorClass;
  2886. map["+" + tag] = interceptorClass;
  2887. map["*" + tag] = interceptorClass;
  2888. }
  2889. }
  2890. },
  2891. initHooks() {
  2892. var transformers, i, transformer, getTag, getUnknownTag, prototypeForTag,
  2893. hooks = B.C_JS_CONST0();
  2894. 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)))))));
  2895. if (typeof dartNativeDispatchHooksTransformer != "undefined") {
  2896. transformers = dartNativeDispatchHooksTransformer;
  2897. if (typeof transformers == "function")
  2898. transformers = [transformers];
  2899. if (Array.isArray(transformers))
  2900. for (i = 0; i < transformers.length; ++i) {
  2901. transformer = transformers[i];
  2902. if (typeof transformer == "function")
  2903. hooks = transformer(hooks) || hooks;
  2904. }
  2905. }
  2906. getTag = hooks.getTag;
  2907. getUnknownTag = hooks.getUnknownTag;
  2908. prototypeForTag = hooks.prototypeForTag;
  2909. $.getTagFunction = new A.initHooks_closure(getTag);
  2910. $.alternateTagFunction = new A.initHooks_closure0(getUnknownTag);
  2911. $.prototypeForTagFunction = new A.initHooks_closure1(prototypeForTag);
  2912. },
  2913. applyHooksTransformer(transformer, hooks) {
  2914. return transformer(hooks) || hooks;
  2915. },
  2916. _RecordN__equalValues(a, b) {
  2917. var i;
  2918. for (i = 0; i < a.length; ++i)
  2919. if (!J.$eq$(a[i], b[i]))
  2920. return false;
  2921. return true;
  2922. },
  2923. createRecordTypePredicate(shape, fieldRtis) {
  2924. var $length = fieldRtis.length,
  2925. $function = init.rttc["" + $length + ";" + shape];
  2926. if ($function == null)
  2927. return null;
  2928. if ($length === 0)
  2929. return $function;
  2930. if ($length === $function.length)
  2931. return $function.apply(null, fieldRtis);
  2932. return $function(fieldRtis);
  2933. },
  2934. JSSyntaxRegExp_makeNative(source, multiLine, caseSensitive, unicode, dotAll, extraFlags) {
  2935. var m = multiLine ? "m" : "",
  2936. i = caseSensitive ? "" : "i",
  2937. u = unicode ? "u" : "",
  2938. s = dotAll ? "s" : "",
  2939. regexp = function(source, modifiers) {
  2940. try {
  2941. return new RegExp(source, modifiers);
  2942. } catch (e) {
  2943. return e;
  2944. }
  2945. }(source, m + i + u + s + extraFlags);
  2946. if (regexp instanceof RegExp)
  2947. return regexp;
  2948. throw A.wrapException(A.FormatException$("Illegal RegExp pattern (" + String(regexp) + ")", source, null));
  2949. },
  2950. stringContainsUnchecked(receiver, other, startIndex) {
  2951. var t1;
  2952. if (typeof other == "string")
  2953. return receiver.indexOf(other, startIndex) >= 0;
  2954. else if (other instanceof A.JSSyntaxRegExp) {
  2955. t1 = B.JSString_methods.substring$1(receiver, startIndex);
  2956. return other._nativeRegExp.test(t1);
  2957. } else
  2958. return !J.allMatches$1$s(other, B.JSString_methods.substring$1(receiver, startIndex)).get$isEmpty(0);
  2959. },
  2960. escapeReplacement(replacement) {
  2961. if (replacement.indexOf("$", 0) >= 0)
  2962. return replacement.replace(/\$/g, "$$$$");
  2963. return replacement;
  2964. },
  2965. stringReplaceFirstRE(receiver, regexp, replacement, startIndex) {
  2966. var match = regexp._execGlobal$2(receiver, startIndex);
  2967. if (match == null)
  2968. return receiver;
  2969. return A.stringReplaceRangeUnchecked(receiver, match._match.index, match.get$end(0), replacement);
  2970. },
  2971. quoteStringForRegExp(string) {
  2972. if (/[[\]{}()*+?.\\^$|]/.test(string))
  2973. return string.replace(/[[\]{}()*+?.\\^$|]/g, "\\$&");
  2974. return string;
  2975. },
  2976. stringReplaceAllUnchecked(receiver, pattern, replacement) {
  2977. var nativeRegexp;
  2978. if (typeof pattern == "string")
  2979. return A.stringReplaceAllUncheckedString(receiver, pattern, replacement);
  2980. if (pattern instanceof A.JSSyntaxRegExp) {
  2981. nativeRegexp = pattern.get$_nativeGlobalVersion();
  2982. nativeRegexp.lastIndex = 0;
  2983. return receiver.replace(nativeRegexp, A.escapeReplacement(replacement));
  2984. }
  2985. return A.stringReplaceAllGeneral(receiver, pattern, replacement);
  2986. },
  2987. stringReplaceAllGeneral(receiver, pattern, replacement) {
  2988. var t1, startIndex, t2, match;
  2989. for (t1 = J.allMatches$1$s(pattern, receiver), t1 = t1.get$iterator(t1), startIndex = 0, t2 = ""; t1.moveNext$0();) {
  2990. match = t1.get$current(t1);
  2991. t2 = t2 + receiver.substring(startIndex, match.get$start(match)) + replacement;
  2992. startIndex = match.get$end(match);
  2993. }
  2994. t1 = t2 + receiver.substring(startIndex);
  2995. return t1.charCodeAt(0) == 0 ? t1 : t1;
  2996. },
  2997. stringReplaceAllUncheckedString(receiver, pattern, replacement) {
  2998. var $length, t1, i;
  2999. if (pattern === "") {
  3000. if (receiver === "")
  3001. return replacement;
  3002. $length = receiver.length;
  3003. t1 = "" + replacement;
  3004. for (i = 0; i < $length; ++i)
  3005. t1 = t1 + receiver[i] + replacement;
  3006. return t1.charCodeAt(0) == 0 ? t1 : t1;
  3007. }
  3008. if (receiver.indexOf(pattern, 0) < 0)
  3009. return receiver;
  3010. if (receiver.length < 500 || replacement.indexOf("$", 0) >= 0)
  3011. return receiver.split(pattern).join(replacement);
  3012. return receiver.replace(new RegExp(A.quoteStringForRegExp(pattern), "g"), A.escapeReplacement(replacement));
  3013. },
  3014. stringReplaceFirstUnchecked(receiver, pattern, replacement, startIndex) {
  3015. var index, t1, matches, match;
  3016. if (typeof pattern == "string") {
  3017. index = receiver.indexOf(pattern, startIndex);
  3018. if (index < 0)
  3019. return receiver;
  3020. return A.stringReplaceRangeUnchecked(receiver, index, index + pattern.length, replacement);
  3021. }
  3022. if (pattern instanceof A.JSSyntaxRegExp)
  3023. return startIndex === 0 ? receiver.replace(pattern._nativeRegExp, A.escapeReplacement(replacement)) : A.stringReplaceFirstRE(receiver, pattern, replacement, startIndex);
  3024. t1 = J.allMatches$2$s(pattern, receiver, startIndex);
  3025. matches = t1.get$iterator(t1);
  3026. if (!matches.moveNext$0())
  3027. return receiver;
  3028. match = matches.get$current(matches);
  3029. return B.JSString_methods.replaceRange$3(receiver, match.get$start(match), match.get$end(match), replacement);
  3030. },
  3031. stringReplaceRangeUnchecked(receiver, start, end, replacement) {
  3032. return receiver.substring(0, start) + replacement + receiver.substring(end);
  3033. },
  3034. _Record_1: function _Record_1(t0) {
  3035. this._0 = t0;
  3036. },
  3037. _Record_2: function _Record_2(t0, t1) {
  3038. this._0 = t0;
  3039. this._1 = t1;
  3040. },
  3041. _Record_2_forImport: function _Record_2_forImport(t0, t1) {
  3042. this._0 = t0;
  3043. this._1 = t1;
  3044. },
  3045. _Record_2_imports_modules: function _Record_2_imports_modules(t0, t1) {
  3046. this._0 = t0;
  3047. this._1 = t1;
  3048. },
  3049. _Record_2_loadedUrls_stylesheet: function _Record_2_loadedUrls_stylesheet(t0, t1) {
  3050. this._0 = t0;
  3051. this._1 = t1;
  3052. },
  3053. _Record_2_sourceMap: function _Record_2_sourceMap(t0, t1) {
  3054. this._0 = t0;
  3055. this._1 = t1;
  3056. },
  3057. _Record_3: function _Record_3(t0, t1, t2) {
  3058. this._0 = t0;
  3059. this._1 = t1;
  3060. this._2 = t2;
  3061. },
  3062. _Record_3_deprecation_message_span: function _Record_3_deprecation_message_span(t0, t1, t2) {
  3063. this._0 = t0;
  3064. this._1 = t1;
  3065. this._2 = t2;
  3066. },
  3067. _Record_3_forImport: function _Record_3_forImport(t0, t1, t2) {
  3068. this._0 = t0;
  3069. this._1 = t1;
  3070. this._2 = t2;
  3071. },
  3072. _Record_3_importer_isDependency: function _Record_3_importer_isDependency(t0, t1, t2) {
  3073. this._0 = t0;
  3074. this._1 = t1;
  3075. this._2 = t2;
  3076. },
  3077. _Record_3_originalUrl: function _Record_3_originalUrl(t0, t1, t2) {
  3078. this._0 = t0;
  3079. this._1 = t1;
  3080. this._2 = t2;
  3081. },
  3082. _Record_5_named_namedNodes_positional_positionalNodes_separator: function _Record_5_named_namedNodes_positional_positionalNodes_separator(t0) {
  3083. this._values = t0;
  3084. },
  3085. ConstantMapView: function ConstantMapView(t0, t1) {
  3086. this._map = t0;
  3087. this.$ti = t1;
  3088. },
  3089. ConstantMap: function ConstantMap() {
  3090. },
  3091. ConstantStringMap: function ConstantStringMap(t0, t1, t2) {
  3092. this._jsIndex = t0;
  3093. this._values = t1;
  3094. this.$ti = t2;
  3095. },
  3096. _KeysOrValues: function _KeysOrValues(t0, t1) {
  3097. this._elements = t0;
  3098. this.$ti = t1;
  3099. },
  3100. _KeysOrValuesOrElementsIterator: function _KeysOrValuesOrElementsIterator(t0, t1, t2) {
  3101. var _ = this;
  3102. _._elements = t0;
  3103. _.__js_helper$_length = t1;
  3104. _.__js_helper$_index = 0;
  3105. _.__js_helper$_current = null;
  3106. _.$ti = t2;
  3107. },
  3108. ConstantSet: function ConstantSet() {
  3109. },
  3110. ConstantStringSet: function ConstantStringSet(t0, t1, t2) {
  3111. this._jsIndex = t0;
  3112. this.__js_helper$_length = t1;
  3113. this.$ti = t2;
  3114. },
  3115. GeneralConstantSet: function GeneralConstantSet(t0, t1) {
  3116. this._elements = t0;
  3117. this.$ti = t1;
  3118. },
  3119. Instantiation: function Instantiation() {
  3120. },
  3121. Instantiation1: function Instantiation1(t0, t1) {
  3122. this._genericClosure = t0;
  3123. this.$ti = t1;
  3124. },
  3125. JSInvocationMirror: function JSInvocationMirror(t0, t1, t2, t3, t4) {
  3126. var _ = this;
  3127. _.__js_helper$_memberName = t0;
  3128. _.__js_helper$_kind = t1;
  3129. _._arguments = t2;
  3130. _._namedArgumentNames = t3;
  3131. _._typeArgumentCount = t4;
  3132. },
  3133. Primitives_functionNoSuchMethod_closure: function Primitives_functionNoSuchMethod_closure(t0, t1, t2) {
  3134. this._box_0 = t0;
  3135. this.namedArgumentList = t1;
  3136. this.$arguments = t2;
  3137. },
  3138. TypeErrorDecoder: function TypeErrorDecoder(t0, t1, t2, t3, t4, t5) {
  3139. var _ = this;
  3140. _._pattern = t0;
  3141. _._arguments = t1;
  3142. _._argumentsExpr = t2;
  3143. _._expr = t3;
  3144. _._method = t4;
  3145. _._receiver = t5;
  3146. },
  3147. NullError: function NullError() {
  3148. },
  3149. JsNoSuchMethodError: function JsNoSuchMethodError(t0, t1, t2) {
  3150. this.__js_helper$_message = t0;
  3151. this._method = t1;
  3152. this._receiver = t2;
  3153. },
  3154. UnknownJsTypeError: function UnknownJsTypeError(t0) {
  3155. this.__js_helper$_message = t0;
  3156. },
  3157. NullThrownFromJavaScriptException: function NullThrownFromJavaScriptException(t0) {
  3158. this._irritant = t0;
  3159. },
  3160. ExceptionAndStackTrace: function ExceptionAndStackTrace(t0, t1) {
  3161. this.dartException = t0;
  3162. this.stackTrace = t1;
  3163. },
  3164. _StackTrace: function _StackTrace(t0) {
  3165. this._exception = t0;
  3166. this._trace = null;
  3167. },
  3168. Closure: function Closure() {
  3169. },
  3170. Closure0Args: function Closure0Args() {
  3171. },
  3172. Closure2Args: function Closure2Args() {
  3173. },
  3174. TearOffClosure: function TearOffClosure() {
  3175. },
  3176. StaticClosure: function StaticClosure() {
  3177. },
  3178. BoundClosure: function BoundClosure(t0, t1) {
  3179. this._receiver = t0;
  3180. this._interceptor = t1;
  3181. },
  3182. RuntimeError: function RuntimeError(t0) {
  3183. this.message = t0;
  3184. },
  3185. _Required: function _Required() {
  3186. },
  3187. JsLinkedHashMap: function JsLinkedHashMap(t0) {
  3188. var _ = this;
  3189. _.__js_helper$_length = 0;
  3190. _._last = _._first = _.__js_helper$_rest = _._nums = _._strings = null;
  3191. _._modifications = 0;
  3192. _.$ti = t0;
  3193. },
  3194. JsLinkedHashMap_addAll_closure: function JsLinkedHashMap_addAll_closure(t0) {
  3195. this.$this = t0;
  3196. },
  3197. LinkedHashMapCell: function LinkedHashMapCell(t0, t1) {
  3198. var _ = this;
  3199. _.hashMapCellKey = t0;
  3200. _.hashMapCellValue = t1;
  3201. _._previous = _._next = null;
  3202. },
  3203. LinkedHashMapKeysIterable: function LinkedHashMapKeysIterable(t0, t1) {
  3204. this.__js_helper$_map = t0;
  3205. this.$ti = t1;
  3206. },
  3207. LinkedHashMapKeyIterator: function LinkedHashMapKeyIterator(t0, t1, t2) {
  3208. var _ = this;
  3209. _.__js_helper$_map = t0;
  3210. _._modifications = t1;
  3211. _._cell = t2;
  3212. _.__js_helper$_current = null;
  3213. },
  3214. LinkedHashMapValuesIterable: function LinkedHashMapValuesIterable(t0, t1) {
  3215. this.__js_helper$_map = t0;
  3216. this.$ti = t1;
  3217. },
  3218. LinkedHashMapValueIterator: function LinkedHashMapValueIterator(t0, t1, t2) {
  3219. var _ = this;
  3220. _.__js_helper$_map = t0;
  3221. _._modifications = t1;
  3222. _._cell = t2;
  3223. _.__js_helper$_current = null;
  3224. },
  3225. LinkedHashMapEntriesIterable: function LinkedHashMapEntriesIterable(t0, t1) {
  3226. this.__js_helper$_map = t0;
  3227. this.$ti = t1;
  3228. },
  3229. LinkedHashMapEntryIterator: function LinkedHashMapEntryIterator(t0, t1, t2, t3) {
  3230. var _ = this;
  3231. _.__js_helper$_map = t0;
  3232. _._modifications = t1;
  3233. _._cell = t2;
  3234. _.__js_helper$_current = null;
  3235. _.$ti = t3;
  3236. },
  3237. JsIdentityLinkedHashMap: function JsIdentityLinkedHashMap(t0) {
  3238. var _ = this;
  3239. _.__js_helper$_length = 0;
  3240. _._last = _._first = _.__js_helper$_rest = _._nums = _._strings = null;
  3241. _._modifications = 0;
  3242. _.$ti = t0;
  3243. },
  3244. JsConstantLinkedHashMap: function JsConstantLinkedHashMap(t0) {
  3245. var _ = this;
  3246. _.__js_helper$_length = 0;
  3247. _._last = _._first = _.__js_helper$_rest = _._nums = _._strings = null;
  3248. _._modifications = 0;
  3249. _.$ti = t0;
  3250. },
  3251. initHooks_closure: function initHooks_closure(t0) {
  3252. this.getTag = t0;
  3253. },
  3254. initHooks_closure0: function initHooks_closure0(t0) {
  3255. this.getUnknownTag = t0;
  3256. },
  3257. initHooks_closure1: function initHooks_closure1(t0) {
  3258. this.prototypeForTag = t0;
  3259. },
  3260. _Record: function _Record() {
  3261. },
  3262. _Record2: function _Record2() {
  3263. },
  3264. _Record1: function _Record1() {
  3265. },
  3266. _Record3: function _Record3() {
  3267. },
  3268. _RecordN: function _RecordN() {
  3269. },
  3270. JSSyntaxRegExp: function JSSyntaxRegExp(t0, t1) {
  3271. var _ = this;
  3272. _.pattern = t0;
  3273. _._nativeRegExp = t1;
  3274. _._hasCapturesCache = _._nativeAnchoredRegExp = _._nativeGlobalRegExp = null;
  3275. },
  3276. _MatchImplementation: function _MatchImplementation(t0) {
  3277. this._match = t0;
  3278. },
  3279. _AllMatchesIterable: function _AllMatchesIterable(t0, t1, t2) {
  3280. this._re = t0;
  3281. this.__js_helper$_string = t1;
  3282. this.__js_helper$_start = t2;
  3283. },
  3284. _AllMatchesIterator: function _AllMatchesIterator(t0, t1, t2) {
  3285. var _ = this;
  3286. _._regExp = t0;
  3287. _.__js_helper$_string = t1;
  3288. _._nextIndex = t2;
  3289. _.__js_helper$_current = null;
  3290. },
  3291. StringMatch: function StringMatch(t0, t1) {
  3292. this.start = t0;
  3293. this.pattern = t1;
  3294. },
  3295. _StringAllMatchesIterable: function _StringAllMatchesIterable(t0, t1, t2) {
  3296. this._input = t0;
  3297. this._pattern = t1;
  3298. this.__js_helper$_index = t2;
  3299. },
  3300. _StringAllMatchesIterator: function _StringAllMatchesIterator(t0, t1, t2) {
  3301. var _ = this;
  3302. _._input = t0;
  3303. _._pattern = t1;
  3304. _.__js_helper$_index = t2;
  3305. _.__js_helper$_current = null;
  3306. },
  3307. throwLateFieldADI(fieldName) {
  3308. throw A.initializeExceptionWrapper(A.LateError$fieldADI(fieldName), new Error());
  3309. },
  3310. throwUnnamedLateFieldNI() {
  3311. throw A.initializeExceptionWrapper(A.LateError$fieldNI(""), new Error());
  3312. },
  3313. throwUnnamedLateFieldAI() {
  3314. throw A.initializeExceptionWrapper(A.LateError$fieldAI(""), new Error());
  3315. },
  3316. throwUnnamedLateFieldADI() {
  3317. throw A.initializeExceptionWrapper(A.LateError$fieldADI(""), new Error());
  3318. },
  3319. _Cell$() {
  3320. var t1 = new A._Cell();
  3321. return t1.__late_helper$_value = t1;
  3322. },
  3323. _Cell: function _Cell() {
  3324. this.__late_helper$_value = null;
  3325. },
  3326. _ensureNativeList(list) {
  3327. return list;
  3328. },
  3329. NativeFloat64List_NativeFloat64List$fromList(elements) {
  3330. return new Float64Array(A._ensureNativeList(elements));
  3331. },
  3332. NativeInt8List__create1(arg) {
  3333. return new Int8Array(arg);
  3334. },
  3335. NativeUint8List_NativeUint8List($length) {
  3336. return new Uint8Array($length);
  3337. },
  3338. _checkValidIndex(index, list, $length) {
  3339. if (index >>> 0 !== index || index >= $length)
  3340. throw A.wrapException(A.diagnoseIndexError(list, index));
  3341. },
  3342. _checkValidRange(start, end, $length) {
  3343. var t1;
  3344. if (!(start >>> 0 !== start))
  3345. if (end == null)
  3346. t1 = start > $length;
  3347. else
  3348. t1 = end >>> 0 !== end || start > end || end > $length;
  3349. else
  3350. t1 = true;
  3351. if (t1)
  3352. throw A.wrapException(A.diagnoseRangeError(start, end, $length));
  3353. if (end == null)
  3354. return $length;
  3355. return end;
  3356. },
  3357. NativeByteBuffer: function NativeByteBuffer() {
  3358. },
  3359. NativeTypedData: function NativeTypedData() {
  3360. },
  3361. NativeByteData: function NativeByteData() {
  3362. },
  3363. NativeTypedArray: function NativeTypedArray() {
  3364. },
  3365. NativeTypedArrayOfDouble: function NativeTypedArrayOfDouble() {
  3366. },
  3367. NativeTypedArrayOfInt: function NativeTypedArrayOfInt() {
  3368. },
  3369. NativeFloat32List: function NativeFloat32List() {
  3370. },
  3371. NativeFloat64List: function NativeFloat64List() {
  3372. },
  3373. NativeInt16List: function NativeInt16List() {
  3374. },
  3375. NativeInt32List: function NativeInt32List() {
  3376. },
  3377. NativeInt8List: function NativeInt8List() {
  3378. },
  3379. NativeUint16List: function NativeUint16List() {
  3380. },
  3381. NativeUint32List: function NativeUint32List() {
  3382. },
  3383. NativeUint8ClampedList: function NativeUint8ClampedList() {
  3384. },
  3385. NativeUint8List: function NativeUint8List() {
  3386. },
  3387. _NativeTypedArrayOfDouble_NativeTypedArray_ListMixin: function _NativeTypedArrayOfDouble_NativeTypedArray_ListMixin() {
  3388. },
  3389. _NativeTypedArrayOfDouble_NativeTypedArray_ListMixin_FixedLengthListMixin: function _NativeTypedArrayOfDouble_NativeTypedArray_ListMixin_FixedLengthListMixin() {
  3390. },
  3391. _NativeTypedArrayOfInt_NativeTypedArray_ListMixin: function _NativeTypedArrayOfInt_NativeTypedArray_ListMixin() {
  3392. },
  3393. _NativeTypedArrayOfInt_NativeTypedArray_ListMixin_FixedLengthListMixin: function _NativeTypedArrayOfInt_NativeTypedArray_ListMixin_FixedLengthListMixin() {
  3394. },
  3395. Rti__getFutureFromFutureOr(universe, rti) {
  3396. var future = rti._precomputed1;
  3397. return future == null ? rti._precomputed1 = A._Universe__lookupInterfaceRti(universe, "Future", [rti._primary]) : future;
  3398. },
  3399. Rti__isUnionOfFunctionType(rti) {
  3400. var kind = rti._kind;
  3401. if (kind === 6 || kind === 7)
  3402. return A.Rti__isUnionOfFunctionType(rti._primary);
  3403. return kind === 11 || kind === 12;
  3404. },
  3405. Rti__getCanonicalRecipe(rti) {
  3406. return rti._canonicalRecipe;
  3407. },
  3408. pairwiseIsTest(fieldRtis, values) {
  3409. var i,
  3410. $length = values.length;
  3411. for (i = 0; i < $length; ++i)
  3412. if (!fieldRtis[i]._is(values[i]))
  3413. return false;
  3414. return true;
  3415. },
  3416. findType(recipe) {
  3417. return A._Universe_eval(init.typeUniverse, recipe, false);
  3418. },
  3419. instantiatedGenericFunctionType(genericFunctionRti, instantiationRti) {
  3420. var t1, cache, key, probe, rti;
  3421. if (genericFunctionRti == null)
  3422. return null;
  3423. t1 = instantiationRti._rest;
  3424. cache = genericFunctionRti._bindCache;
  3425. if (cache == null)
  3426. cache = genericFunctionRti._bindCache = new Map();
  3427. key = instantiationRti._canonicalRecipe;
  3428. probe = cache.get(key);
  3429. if (probe != null)
  3430. return probe;
  3431. rti = A._substitute(init.typeUniverse, genericFunctionRti._primary, t1, 0);
  3432. cache.set(key, rti);
  3433. return rti;
  3434. },
  3435. _substitute(universe, rti, typeArguments, depth) {
  3436. var baseType, substitutedBaseType, interfaceTypeArguments, substitutedInterfaceTypeArguments, base, substitutedBase, $arguments, substitutedArguments, t1, fields, substitutedFields, returnType, substitutedReturnType, functionParameters, substitutedFunctionParameters, bounds, substitutedBounds, index, argument,
  3437. kind = rti._kind;
  3438. switch (kind) {
  3439. case 5:
  3440. case 1:
  3441. case 2:
  3442. case 3:
  3443. case 4:
  3444. return rti;
  3445. case 6:
  3446. baseType = rti._primary;
  3447. substitutedBaseType = A._substitute(universe, baseType, typeArguments, depth);
  3448. if (substitutedBaseType === baseType)
  3449. return rti;
  3450. return A._Universe__lookupQuestionRti(universe, substitutedBaseType, true);
  3451. case 7:
  3452. baseType = rti._primary;
  3453. substitutedBaseType = A._substitute(universe, baseType, typeArguments, depth);
  3454. if (substitutedBaseType === baseType)
  3455. return rti;
  3456. return A._Universe__lookupFutureOrRti(universe, substitutedBaseType, true);
  3457. case 8:
  3458. interfaceTypeArguments = rti._rest;
  3459. substitutedInterfaceTypeArguments = A._substituteArray(universe, interfaceTypeArguments, typeArguments, depth);
  3460. if (substitutedInterfaceTypeArguments === interfaceTypeArguments)
  3461. return rti;
  3462. return A._Universe__lookupInterfaceRti(universe, rti._primary, substitutedInterfaceTypeArguments);
  3463. case 9:
  3464. base = rti._primary;
  3465. substitutedBase = A._substitute(universe, base, typeArguments, depth);
  3466. $arguments = rti._rest;
  3467. substitutedArguments = A._substituteArray(universe, $arguments, typeArguments, depth);
  3468. if (substitutedBase === base && substitutedArguments === $arguments)
  3469. return rti;
  3470. return A._Universe__lookupBindingRti(universe, substitutedBase, substitutedArguments);
  3471. case 10:
  3472. t1 = rti._primary;
  3473. fields = rti._rest;
  3474. substitutedFields = A._substituteArray(universe, fields, typeArguments, depth);
  3475. if (substitutedFields === fields)
  3476. return rti;
  3477. return A._Universe__lookupRecordRti(universe, t1, substitutedFields);
  3478. case 11:
  3479. returnType = rti._primary;
  3480. substitutedReturnType = A._substitute(universe, returnType, typeArguments, depth);
  3481. functionParameters = rti._rest;
  3482. substitutedFunctionParameters = A._substituteFunctionParameters(universe, functionParameters, typeArguments, depth);
  3483. if (substitutedReturnType === returnType && substitutedFunctionParameters === functionParameters)
  3484. return rti;
  3485. return A._Universe__lookupFunctionRti(universe, substitutedReturnType, substitutedFunctionParameters);
  3486. case 12:
  3487. bounds = rti._rest;
  3488. depth += bounds.length;
  3489. substitutedBounds = A._substituteArray(universe, bounds, typeArguments, depth);
  3490. base = rti._primary;
  3491. substitutedBase = A._substitute(universe, base, typeArguments, depth);
  3492. if (substitutedBounds === bounds && substitutedBase === base)
  3493. return rti;
  3494. return A._Universe__lookupGenericFunctionRti(universe, substitutedBase, substitutedBounds, true);
  3495. case 13:
  3496. index = rti._primary;
  3497. if (index < depth)
  3498. return rti;
  3499. argument = typeArguments[index - depth];
  3500. if (argument == null)
  3501. return rti;
  3502. return argument;
  3503. default:
  3504. throw A.wrapException(A.AssertionError$("Attempted to substitute unexpected RTI kind " + kind));
  3505. }
  3506. },
  3507. _substituteArray(universe, rtiArray, typeArguments, depth) {
  3508. var changed, i, rti, substitutedRti,
  3509. $length = rtiArray.length,
  3510. result = A._Utils_newArrayOrEmpty($length);
  3511. for (changed = false, i = 0; i < $length; ++i) {
  3512. rti = rtiArray[i];
  3513. substitutedRti = A._substitute(universe, rti, typeArguments, depth);
  3514. if (substitutedRti !== rti)
  3515. changed = true;
  3516. result[i] = substitutedRti;
  3517. }
  3518. return changed ? result : rtiArray;
  3519. },
  3520. _substituteNamed(universe, namedArray, typeArguments, depth) {
  3521. var changed, i, t1, t2, rti, substitutedRti,
  3522. $length = namedArray.length,
  3523. result = A._Utils_newArrayOrEmpty($length);
  3524. for (changed = false, i = 0; i < $length; i += 3) {
  3525. t1 = namedArray[i];
  3526. t2 = namedArray[i + 1];
  3527. rti = namedArray[i + 2];
  3528. substitutedRti = A._substitute(universe, rti, typeArguments, depth);
  3529. if (substitutedRti !== rti)
  3530. changed = true;
  3531. result.splice(i, 3, t1, t2, substitutedRti);
  3532. }
  3533. return changed ? result : namedArray;
  3534. },
  3535. _substituteFunctionParameters(universe, functionParameters, typeArguments, depth) {
  3536. var result,
  3537. requiredPositional = functionParameters._requiredPositional,
  3538. substitutedRequiredPositional = A._substituteArray(universe, requiredPositional, typeArguments, depth),
  3539. optionalPositional = functionParameters._optionalPositional,
  3540. substitutedOptionalPositional = A._substituteArray(universe, optionalPositional, typeArguments, depth),
  3541. named = functionParameters._named,
  3542. substitutedNamed = A._substituteNamed(universe, named, typeArguments, depth);
  3543. if (substitutedRequiredPositional === requiredPositional && substitutedOptionalPositional === optionalPositional && substitutedNamed === named)
  3544. return functionParameters;
  3545. result = new A._FunctionParameters();
  3546. result._requiredPositional = substitutedRequiredPositional;
  3547. result._optionalPositional = substitutedOptionalPositional;
  3548. result._named = substitutedNamed;
  3549. return result;
  3550. },
  3551. _setArrayType(target, rti) {
  3552. target[init.arrayRti] = rti;
  3553. return target;
  3554. },
  3555. closureFunctionType(closure) {
  3556. var signature = closure.$signature;
  3557. if (signature != null) {
  3558. if (typeof signature == "number")
  3559. return A.getTypeFromTypesTable(signature);
  3560. return closure.$signature();
  3561. }
  3562. return null;
  3563. },
  3564. instanceOrFunctionType(object, testRti) {
  3565. var rti;
  3566. if (A.Rti__isUnionOfFunctionType(testRti))
  3567. if (object instanceof A.Closure) {
  3568. rti = A.closureFunctionType(object);
  3569. if (rti != null)
  3570. return rti;
  3571. }
  3572. return A.instanceType(object);
  3573. },
  3574. instanceType(object) {
  3575. if (object instanceof A.Object)
  3576. return A._instanceType(object);
  3577. if (Array.isArray(object))
  3578. return A._arrayInstanceType(object);
  3579. return A._instanceTypeFromConstructor(J.getInterceptor$(object));
  3580. },
  3581. _arrayInstanceType(object) {
  3582. var rti = object[init.arrayRti],
  3583. defaultRti = type$.JSArray_dynamic;
  3584. if (rti == null)
  3585. return defaultRti;
  3586. if (rti.constructor !== defaultRti.constructor)
  3587. return defaultRti;
  3588. return rti;
  3589. },
  3590. _instanceType(object) {
  3591. var rti = object.$ti;
  3592. return rti != null ? rti : A._instanceTypeFromConstructor(object);
  3593. },
  3594. _instanceTypeFromConstructor(instance) {
  3595. var $constructor = instance.constructor,
  3596. probe = $constructor.$ccache;
  3597. if (probe != null)
  3598. return probe;
  3599. return A._instanceTypeFromConstructorMiss(instance, $constructor);
  3600. },
  3601. _instanceTypeFromConstructorMiss(instance, $constructor) {
  3602. var effectiveConstructor = instance instanceof A.Closure ? Object.getPrototypeOf(Object.getPrototypeOf(instance)).constructor : $constructor,
  3603. rti = A._Universe_findErasedType(init.typeUniverse, effectiveConstructor.name);
  3604. $constructor.$ccache = rti;
  3605. return rti;
  3606. },
  3607. getTypeFromTypesTable(index) {
  3608. var rti,
  3609. table = init.types,
  3610. type = table[index];
  3611. if (typeof type == "string") {
  3612. rti = A._Universe_eval(init.typeUniverse, type, false);
  3613. table[index] = rti;
  3614. return rti;
  3615. }
  3616. return type;
  3617. },
  3618. getRuntimeTypeOfDartObject(object) {
  3619. return A.createRuntimeType(A._instanceType(object));
  3620. },
  3621. getRuntimeTypeOfClosure(closure) {
  3622. var rti = A.closureFunctionType(closure);
  3623. return A.createRuntimeType(rti == null ? A.instanceType(closure) : rti);
  3624. },
  3625. _structuralTypeOf(object) {
  3626. var functionRti;
  3627. if (object instanceof A._Record)
  3628. return A.evaluateRtiForRecord(object.$recipe, object._getFieldValues$0());
  3629. functionRti = object instanceof A.Closure ? A.closureFunctionType(object) : null;
  3630. if (functionRti != null)
  3631. return functionRti;
  3632. if (type$.TrustedGetRuntimeType._is(object))
  3633. return J.get$runtimeType$(object)._rti;
  3634. if (Array.isArray(object))
  3635. return A._arrayInstanceType(object);
  3636. return A.instanceType(object);
  3637. },
  3638. createRuntimeType(rti) {
  3639. var t1 = rti._cachedRuntimeType;
  3640. return t1 == null ? rti._cachedRuntimeType = new A._Type(rti) : t1;
  3641. },
  3642. evaluateRtiForRecord(recordRecipe, valuesList) {
  3643. var bindings, i,
  3644. values = valuesList,
  3645. $length = values.length;
  3646. if ($length === 0)
  3647. return type$.Record_0;
  3648. bindings = A._Universe_evalInEnvironment(init.typeUniverse, A._structuralTypeOf(values[0]), "@<0>");
  3649. for (i = 1; i < $length; ++i)
  3650. bindings = A._Universe_bind(init.typeUniverse, bindings, A._structuralTypeOf(values[i]));
  3651. return A._Universe_evalInEnvironment(init.typeUniverse, bindings, recordRecipe);
  3652. },
  3653. typeLiteral(recipe) {
  3654. return A.createRuntimeType(A._Universe_eval(init.typeUniverse, recipe, false));
  3655. },
  3656. _installSpecializedIsTest(object) {
  3657. var kind, isFn, $name, predicate, testRti = this;
  3658. if (testRti === type$.Object)
  3659. return A._finishIsFn(testRti, object, A._isObject);
  3660. if (A.isTopType(testRti))
  3661. return A._finishIsFn(testRti, object, A._isTop);
  3662. kind = testRti._kind;
  3663. if (kind === 6)
  3664. return A._finishIsFn(testRti, object, A._generalNullableIsTestImplementation);
  3665. if (kind === 1)
  3666. return A._finishIsFn(testRti, object, A._isNever);
  3667. if (kind === 7)
  3668. return A._finishIsFn(testRti, object, A._isFutureOr);
  3669. if (testRti === type$.int)
  3670. isFn = A._isInt;
  3671. else if (testRti === type$.double || testRti === type$.num)
  3672. isFn = A._isNum;
  3673. else if (testRti === type$.String)
  3674. isFn = A._isString;
  3675. else
  3676. isFn = testRti === type$.bool ? A._isBool : null;
  3677. if (isFn != null)
  3678. return A._finishIsFn(testRti, object, isFn);
  3679. if (kind === 8) {
  3680. $name = testRti._primary;
  3681. if (testRti._rest.every(A.isTopType)) {
  3682. testRti._specializedTestResource = "$is" + $name;
  3683. if ($name === "List")
  3684. return A._finishIsFn(testRti, object, A._isListTestViaProperty);
  3685. return A._finishIsFn(testRti, object, A._isTestViaProperty);
  3686. }
  3687. } else if (kind === 10) {
  3688. predicate = A.createRecordTypePredicate(testRti._primary, testRti._rest);
  3689. return A._finishIsFn(testRti, object, predicate == null ? A._isNever : predicate);
  3690. }
  3691. return A._finishIsFn(testRti, object, A._generalIsTestImplementation);
  3692. },
  3693. _finishIsFn(testRti, object, isFn) {
  3694. testRti._is = isFn;
  3695. return testRti._is(object);
  3696. },
  3697. _installSpecializedAsCheck(object) {
  3698. var testRti = this,
  3699. asFn = A._generalAsCheckImplementation;
  3700. if (A.isTopType(testRti))
  3701. asFn = A._asTop;
  3702. else if (testRti === type$.Object)
  3703. asFn = A._asObject;
  3704. else if (A.isNullable(testRti))
  3705. asFn = A._generalNullableAsCheckImplementation;
  3706. if (testRti === type$.int)
  3707. asFn = A._asInt;
  3708. else if (testRti === type$.nullable_int)
  3709. asFn = A._asIntQ;
  3710. else if (testRti === type$.String)
  3711. asFn = A._asString;
  3712. else if (testRti === type$.nullable_String)
  3713. asFn = A._asStringQ;
  3714. else if (testRti === type$.bool)
  3715. asFn = A._asBool;
  3716. else if (testRti === type$.nullable_bool)
  3717. asFn = A._asBoolQ;
  3718. else if (testRti === type$.num)
  3719. asFn = A._asNum;
  3720. else if (testRti === type$.nullable_num)
  3721. asFn = A._asNumQ;
  3722. else if (testRti === type$.double)
  3723. asFn = A._asDouble;
  3724. else if (testRti === type$.nullable_double)
  3725. asFn = A._asDoubleQ;
  3726. testRti._as = asFn;
  3727. return testRti._as(object);
  3728. },
  3729. _generalIsTestImplementation(object) {
  3730. var testRti = this;
  3731. if (object == null)
  3732. return A.isNullable(testRti);
  3733. return A.isSubtype(init.typeUniverse, A.instanceOrFunctionType(object, testRti), testRti);
  3734. },
  3735. _generalNullableIsTestImplementation(object) {
  3736. if (object == null)
  3737. return true;
  3738. return this._primary._is(object);
  3739. },
  3740. _isTestViaProperty(object) {
  3741. var tag, testRti = this;
  3742. if (object == null)
  3743. return A.isNullable(testRti);
  3744. tag = testRti._specializedTestResource;
  3745. if (object instanceof A.Object)
  3746. return !!object[tag];
  3747. return !!J.getInterceptor$(object)[tag];
  3748. },
  3749. _isListTestViaProperty(object) {
  3750. var tag, testRti = this;
  3751. if (object == null)
  3752. return A.isNullable(testRti);
  3753. if (typeof object != "object")
  3754. return false;
  3755. if (Array.isArray(object))
  3756. return true;
  3757. tag = testRti._specializedTestResource;
  3758. if (object instanceof A.Object)
  3759. return !!object[tag];
  3760. return !!J.getInterceptor$(object)[tag];
  3761. },
  3762. _generalAsCheckImplementation(object) {
  3763. var testRti = this;
  3764. if (object == null) {
  3765. if (A.isNullable(testRti))
  3766. return object;
  3767. } else if (testRti._is(object))
  3768. return object;
  3769. throw A.initializeExceptionWrapper(A._errorForAsCheck(object, testRti), new Error());
  3770. },
  3771. _generalNullableAsCheckImplementation(object) {
  3772. var testRti = this;
  3773. if (object == null || testRti._is(object))
  3774. return object;
  3775. throw A.initializeExceptionWrapper(A._errorForAsCheck(object, testRti), new Error());
  3776. },
  3777. _errorForAsCheck(object, testRti) {
  3778. return new A._TypeError("TypeError: " + A._Error_compose(object, A._rtiToString(testRti, null)));
  3779. },
  3780. _Error_compose(object, checkedTypeDescription) {
  3781. return A.Error_safeToString(object) + ": type '" + A._rtiToString(A._structuralTypeOf(object), null) + "' is not a subtype of type '" + checkedTypeDescription + "'";
  3782. },
  3783. _TypeError__TypeError$forType(object, type) {
  3784. return new A._TypeError("TypeError: " + A._Error_compose(object, type));
  3785. },
  3786. _isFutureOr(object) {
  3787. var testRti = this;
  3788. return testRti._primary._is(object) || A.Rti__getFutureFromFutureOr(init.typeUniverse, testRti)._is(object);
  3789. },
  3790. _isObject(object) {
  3791. return object != null;
  3792. },
  3793. _asObject(object) {
  3794. if (object != null)
  3795. return object;
  3796. throw A.initializeExceptionWrapper(A._TypeError__TypeError$forType(object, "Object"), new Error());
  3797. },
  3798. _isTop(object) {
  3799. return true;
  3800. },
  3801. _asTop(object) {
  3802. return object;
  3803. },
  3804. _isNever(object) {
  3805. return false;
  3806. },
  3807. _isBool(object) {
  3808. return true === object || false === object;
  3809. },
  3810. _asBool(object) {
  3811. if (true === object)
  3812. return true;
  3813. if (false === object)
  3814. return false;
  3815. throw A.initializeExceptionWrapper(A._TypeError__TypeError$forType(object, "bool"), new Error());
  3816. },
  3817. _asBoolQ(object) {
  3818. if (true === object)
  3819. return true;
  3820. if (false === object)
  3821. return false;
  3822. if (object == null)
  3823. return object;
  3824. throw A.initializeExceptionWrapper(A._TypeError__TypeError$forType(object, "bool?"), new Error());
  3825. },
  3826. _asDouble(object) {
  3827. if (typeof object == "number")
  3828. return object;
  3829. throw A.initializeExceptionWrapper(A._TypeError__TypeError$forType(object, "double"), new Error());
  3830. },
  3831. _asDoubleQ(object) {
  3832. if (typeof object == "number")
  3833. return object;
  3834. if (object == null)
  3835. return object;
  3836. throw A.initializeExceptionWrapper(A._TypeError__TypeError$forType(object, "double?"), new Error());
  3837. },
  3838. _isInt(object) {
  3839. return typeof object == "number" && Math.floor(object) === object;
  3840. },
  3841. _asInt(object) {
  3842. if (typeof object == "number" && Math.floor(object) === object)
  3843. return object;
  3844. throw A.initializeExceptionWrapper(A._TypeError__TypeError$forType(object, "int"), new Error());
  3845. },
  3846. _asIntQ(object) {
  3847. if (typeof object == "number" && Math.floor(object) === object)
  3848. return object;
  3849. if (object == null)
  3850. return object;
  3851. throw A.initializeExceptionWrapper(A._TypeError__TypeError$forType(object, "int?"), new Error());
  3852. },
  3853. _isNum(object) {
  3854. return typeof object == "number";
  3855. },
  3856. _asNum(object) {
  3857. if (typeof object == "number")
  3858. return object;
  3859. throw A.initializeExceptionWrapper(A._TypeError__TypeError$forType(object, "num"), new Error());
  3860. },
  3861. _asNumQ(object) {
  3862. if (typeof object == "number")
  3863. return object;
  3864. if (object == null)
  3865. return object;
  3866. throw A.initializeExceptionWrapper(A._TypeError__TypeError$forType(object, "num?"), new Error());
  3867. },
  3868. _isString(object) {
  3869. return typeof object == "string";
  3870. },
  3871. _asString(object) {
  3872. if (typeof object == "string")
  3873. return object;
  3874. throw A.initializeExceptionWrapper(A._TypeError__TypeError$forType(object, "String"), new Error());
  3875. },
  3876. _asStringQ(object) {
  3877. if (typeof object == "string")
  3878. return object;
  3879. if (object == null)
  3880. return object;
  3881. throw A.initializeExceptionWrapper(A._TypeError__TypeError$forType(object, "String?"), new Error());
  3882. },
  3883. _rtiArrayToString(array, genericContext) {
  3884. var s, sep, i;
  3885. for (s = "", sep = "", i = 0; i < array.length; ++i, sep = ", ")
  3886. s += sep + A._rtiToString(array[i], genericContext);
  3887. return s;
  3888. },
  3889. _recordRtiToString(recordType, genericContext) {
  3890. var fieldCount, names, namesIndex, s, comma, i,
  3891. partialShape = recordType._primary,
  3892. fields = recordType._rest;
  3893. if ("" === partialShape)
  3894. return "(" + A._rtiArrayToString(fields, genericContext) + ")";
  3895. fieldCount = fields.length;
  3896. names = partialShape.split(",");
  3897. namesIndex = names.length - fieldCount;
  3898. for (s = "(", comma = "", i = 0; i < fieldCount; ++i, comma = ", ") {
  3899. s += comma;
  3900. if (namesIndex === 0)
  3901. s += "{";
  3902. s += A._rtiToString(fields[i], genericContext);
  3903. if (namesIndex >= 0)
  3904. s += " " + names[namesIndex];
  3905. ++namesIndex;
  3906. }
  3907. return s + "})";
  3908. },
  3909. _functionRtiToString(functionType, genericContext, bounds) {
  3910. var boundsLength, offset, i, t1, typeParametersText, typeSep, boundRti, kind, parameters, requiredPositional, requiredPositionalLength, optionalPositional, optionalPositionalLength, named, namedLength, returnTypeText, argumentsText, sep, _s2_ = ", ", outerContextLength = null;
  3911. if (bounds != null) {
  3912. boundsLength = bounds.length;
  3913. if (genericContext == null)
  3914. genericContext = A._setArrayType([], type$.JSArray_String);
  3915. else
  3916. outerContextLength = genericContext.length;
  3917. offset = genericContext.length;
  3918. for (i = boundsLength; i > 0; --i)
  3919. genericContext.push("T" + (offset + i));
  3920. for (t1 = type$.nullable_Object, typeParametersText = "<", typeSep = "", i = 0; i < boundsLength; ++i, typeSep = _s2_) {
  3921. typeParametersText = typeParametersText + typeSep + genericContext[genericContext.length - 1 - i];
  3922. boundRti = bounds[i];
  3923. kind = boundRti._kind;
  3924. if (!(kind === 2 || kind === 3 || kind === 4 || kind === 5 || boundRti === t1))
  3925. typeParametersText += " extends " + A._rtiToString(boundRti, genericContext);
  3926. }
  3927. typeParametersText += ">";
  3928. } else
  3929. typeParametersText = "";
  3930. t1 = functionType._primary;
  3931. parameters = functionType._rest;
  3932. requiredPositional = parameters._requiredPositional;
  3933. requiredPositionalLength = requiredPositional.length;
  3934. optionalPositional = parameters._optionalPositional;
  3935. optionalPositionalLength = optionalPositional.length;
  3936. named = parameters._named;
  3937. namedLength = named.length;
  3938. returnTypeText = A._rtiToString(t1, genericContext);
  3939. for (argumentsText = "", sep = "", i = 0; i < requiredPositionalLength; ++i, sep = _s2_)
  3940. argumentsText += sep + A._rtiToString(requiredPositional[i], genericContext);
  3941. if (optionalPositionalLength > 0) {
  3942. argumentsText += sep + "[";
  3943. for (sep = "", i = 0; i < optionalPositionalLength; ++i, sep = _s2_)
  3944. argumentsText += sep + A._rtiToString(optionalPositional[i], genericContext);
  3945. argumentsText += "]";
  3946. }
  3947. if (namedLength > 0) {
  3948. argumentsText += sep + "{";
  3949. for (sep = "", i = 0; i < namedLength; i += 3, sep = _s2_) {
  3950. argumentsText += sep;
  3951. if (named[i + 1])
  3952. argumentsText += "required ";
  3953. argumentsText += A._rtiToString(named[i + 2], genericContext) + " " + named[i];
  3954. }
  3955. argumentsText += "}";
  3956. }
  3957. if (outerContextLength != null) {
  3958. genericContext.toString;
  3959. genericContext.length = outerContextLength;
  3960. }
  3961. return typeParametersText + "(" + argumentsText + ") => " + returnTypeText;
  3962. },
  3963. _rtiToString(rti, genericContext) {
  3964. var questionArgument, s, argumentKind, $name, $arguments, t1,
  3965. kind = rti._kind;
  3966. if (kind === 5)
  3967. return "erased";
  3968. if (kind === 2)
  3969. return "dynamic";
  3970. if (kind === 3)
  3971. return "void";
  3972. if (kind === 1)
  3973. return "Never";
  3974. if (kind === 4)
  3975. return "any";
  3976. if (kind === 6) {
  3977. questionArgument = rti._primary;
  3978. s = A._rtiToString(questionArgument, genericContext);
  3979. argumentKind = questionArgument._kind;
  3980. return (argumentKind === 11 || argumentKind === 12 ? "(" + s + ")" : s) + "?";
  3981. }
  3982. if (kind === 7)
  3983. return "FutureOr<" + A._rtiToString(rti._primary, genericContext) + ">";
  3984. if (kind === 8) {
  3985. $name = A._unminifyOrTag(rti._primary);
  3986. $arguments = rti._rest;
  3987. return $arguments.length > 0 ? $name + ("<" + A._rtiArrayToString($arguments, genericContext) + ">") : $name;
  3988. }
  3989. if (kind === 10)
  3990. return A._recordRtiToString(rti, genericContext);
  3991. if (kind === 11)
  3992. return A._functionRtiToString(rti, genericContext, null);
  3993. if (kind === 12)
  3994. return A._functionRtiToString(rti._primary, genericContext, rti._rest);
  3995. if (kind === 13) {
  3996. t1 = rti._primary;
  3997. return genericContext[genericContext.length - 1 - t1];
  3998. }
  3999. return "?";
  4000. },
  4001. _unminifyOrTag(rawClassName) {
  4002. var preserved = init.mangledGlobalNames[rawClassName];
  4003. if (preserved != null)
  4004. return preserved;
  4005. return rawClassName;
  4006. },
  4007. _Universe_findRule(universe, targetType) {
  4008. var rule = universe.tR[targetType];
  4009. for (; typeof rule == "string";)
  4010. rule = universe.tR[rule];
  4011. return rule;
  4012. },
  4013. _Universe_findErasedType(universe, cls) {
  4014. var $length, erased, $arguments, i, $interface,
  4015. t1 = universe.eT,
  4016. probe = t1[cls];
  4017. if (probe == null)
  4018. return A._Universe_eval(universe, cls, false);
  4019. else if (typeof probe == "number") {
  4020. $length = probe;
  4021. erased = A._Universe__lookupTerminalRti(universe, 5, "#");
  4022. $arguments = A._Utils_newArrayOrEmpty($length);
  4023. for (i = 0; i < $length; ++i)
  4024. $arguments[i] = erased;
  4025. $interface = A._Universe__lookupInterfaceRti(universe, cls, $arguments);
  4026. t1[cls] = $interface;
  4027. return $interface;
  4028. } else
  4029. return probe;
  4030. },
  4031. _Universe_addRules(universe, rules) {
  4032. return A._Utils_objectAssign(universe.tR, rules);
  4033. },
  4034. _Universe_addErasedTypes(universe, types) {
  4035. return A._Utils_objectAssign(universe.eT, types);
  4036. },
  4037. _Universe_eval(universe, recipe, normalize) {
  4038. var rti,
  4039. t1 = universe.eC,
  4040. probe = t1.get(recipe);
  4041. if (probe != null)
  4042. return probe;
  4043. rti = A._Parser_parse(A._Parser_create(universe, null, recipe, false));
  4044. t1.set(recipe, rti);
  4045. return rti;
  4046. },
  4047. _Universe_evalInEnvironment(universe, environment, recipe) {
  4048. var probe, rti,
  4049. cache = environment._evalCache;
  4050. if (cache == null)
  4051. cache = environment._evalCache = new Map();
  4052. probe = cache.get(recipe);
  4053. if (probe != null)
  4054. return probe;
  4055. rti = A._Parser_parse(A._Parser_create(universe, environment, recipe, true));
  4056. cache.set(recipe, rti);
  4057. return rti;
  4058. },
  4059. _Universe_bind(universe, environment, argumentsRti) {
  4060. var argumentsRecipe, probe, rti,
  4061. cache = environment._bindCache;
  4062. if (cache == null)
  4063. cache = environment._bindCache = new Map();
  4064. argumentsRecipe = argumentsRti._canonicalRecipe;
  4065. probe = cache.get(argumentsRecipe);
  4066. if (probe != null)
  4067. return probe;
  4068. rti = A._Universe__lookupBindingRti(universe, environment, argumentsRti._kind === 9 ? argumentsRti._rest : [argumentsRti]);
  4069. cache.set(argumentsRecipe, rti);
  4070. return rti;
  4071. },
  4072. _Universe__installTypeTests(universe, rti) {
  4073. rti._as = A._installSpecializedAsCheck;
  4074. rti._is = A._installSpecializedIsTest;
  4075. return rti;
  4076. },
  4077. _Universe__lookupTerminalRti(universe, kind, key) {
  4078. var rti, t1,
  4079. probe = universe.eC.get(key);
  4080. if (probe != null)
  4081. return probe;
  4082. rti = new A.Rti(null, null);
  4083. rti._kind = kind;
  4084. rti._canonicalRecipe = key;
  4085. t1 = A._Universe__installTypeTests(universe, rti);
  4086. universe.eC.set(key, t1);
  4087. return t1;
  4088. },
  4089. _Universe__lookupQuestionRti(universe, baseType, normalize) {
  4090. var t1,
  4091. key = baseType._canonicalRecipe + "?",
  4092. probe = universe.eC.get(key);
  4093. if (probe != null)
  4094. return probe;
  4095. t1 = A._Universe__createQuestionRti(universe, baseType, key, normalize);
  4096. universe.eC.set(key, t1);
  4097. return t1;
  4098. },
  4099. _Universe__createQuestionRti(universe, baseType, key, normalize) {
  4100. var baseKind, t1, rti;
  4101. if (normalize) {
  4102. baseKind = baseType._kind;
  4103. t1 = true;
  4104. if (!A.isTopType(baseType))
  4105. if (!(baseType === type$.Null || baseType === type$.JSNull))
  4106. if (baseKind !== 6)
  4107. t1 = baseKind === 7 && A.isNullable(baseType._primary);
  4108. if (t1)
  4109. return baseType;
  4110. else if (baseKind === 1)
  4111. return type$.Null;
  4112. }
  4113. rti = new A.Rti(null, null);
  4114. rti._kind = 6;
  4115. rti._primary = baseType;
  4116. rti._canonicalRecipe = key;
  4117. return A._Universe__installTypeTests(universe, rti);
  4118. },
  4119. _Universe__lookupFutureOrRti(universe, baseType, normalize) {
  4120. var t1,
  4121. key = baseType._canonicalRecipe + "/",
  4122. probe = universe.eC.get(key);
  4123. if (probe != null)
  4124. return probe;
  4125. t1 = A._Universe__createFutureOrRti(universe, baseType, key, normalize);
  4126. universe.eC.set(key, t1);
  4127. return t1;
  4128. },
  4129. _Universe__createFutureOrRti(universe, baseType, key, normalize) {
  4130. var t1, rti;
  4131. if (normalize) {
  4132. t1 = baseType._kind;
  4133. if (A.isTopType(baseType) || baseType === type$.Object)
  4134. return baseType;
  4135. else if (t1 === 1)
  4136. return A._Universe__lookupInterfaceRti(universe, "Future", [baseType]);
  4137. else if (baseType === type$.Null || baseType === type$.JSNull)
  4138. return type$.nullable_Future_Null;
  4139. }
  4140. rti = new A.Rti(null, null);
  4141. rti._kind = 7;
  4142. rti._primary = baseType;
  4143. rti._canonicalRecipe = key;
  4144. return A._Universe__installTypeTests(universe, rti);
  4145. },
  4146. _Universe__lookupGenericFunctionParameterRti(universe, index) {
  4147. var rti, t1,
  4148. key = "" + index + "^",
  4149. probe = universe.eC.get(key);
  4150. if (probe != null)
  4151. return probe;
  4152. rti = new A.Rti(null, null);
  4153. rti._kind = 13;
  4154. rti._primary = index;
  4155. rti._canonicalRecipe = key;
  4156. t1 = A._Universe__installTypeTests(universe, rti);
  4157. universe.eC.set(key, t1);
  4158. return t1;
  4159. },
  4160. _Universe__canonicalRecipeJoin($arguments) {
  4161. var s, sep, i,
  4162. $length = $arguments.length;
  4163. for (s = "", sep = "", i = 0; i < $length; ++i, sep = ",")
  4164. s += sep + $arguments[i]._canonicalRecipe;
  4165. return s;
  4166. },
  4167. _Universe__canonicalRecipeJoinNamed($arguments) {
  4168. var s, sep, i, t1, nameSep,
  4169. $length = $arguments.length;
  4170. for (s = "", sep = "", i = 0; i < $length; i += 3, sep = ",") {
  4171. t1 = $arguments[i];
  4172. nameSep = $arguments[i + 1] ? "!" : ":";
  4173. s += sep + t1 + nameSep + $arguments[i + 2]._canonicalRecipe;
  4174. }
  4175. return s;
  4176. },
  4177. _Universe__lookupInterfaceRti(universe, $name, $arguments) {
  4178. var probe, rti, t1,
  4179. s = $name;
  4180. if ($arguments.length > 0)
  4181. s += "<" + A._Universe__canonicalRecipeJoin($arguments) + ">";
  4182. probe = universe.eC.get(s);
  4183. if (probe != null)
  4184. return probe;
  4185. rti = new A.Rti(null, null);
  4186. rti._kind = 8;
  4187. rti._primary = $name;
  4188. rti._rest = $arguments;
  4189. if ($arguments.length > 0)
  4190. rti._precomputed1 = $arguments[0];
  4191. rti._canonicalRecipe = s;
  4192. t1 = A._Universe__installTypeTests(universe, rti);
  4193. universe.eC.set(s, t1);
  4194. return t1;
  4195. },
  4196. _Universe__lookupBindingRti(universe, base, $arguments) {
  4197. var newBase, newArguments, key, probe, rti, t1;
  4198. if (base._kind === 9) {
  4199. newBase = base._primary;
  4200. newArguments = base._rest.concat($arguments);
  4201. } else {
  4202. newArguments = $arguments;
  4203. newBase = base;
  4204. }
  4205. key = newBase._canonicalRecipe + (";<" + A._Universe__canonicalRecipeJoin(newArguments) + ">");
  4206. probe = universe.eC.get(key);
  4207. if (probe != null)
  4208. return probe;
  4209. rti = new A.Rti(null, null);
  4210. rti._kind = 9;
  4211. rti._primary = newBase;
  4212. rti._rest = newArguments;
  4213. rti._canonicalRecipe = key;
  4214. t1 = A._Universe__installTypeTests(universe, rti);
  4215. universe.eC.set(key, t1);
  4216. return t1;
  4217. },
  4218. _Universe__lookupRecordRti(universe, partialShapeTag, fields) {
  4219. var rti, t1,
  4220. key = "+" + (partialShapeTag + "(" + A._Universe__canonicalRecipeJoin(fields) + ")"),
  4221. probe = universe.eC.get(key);
  4222. if (probe != null)
  4223. return probe;
  4224. rti = new A.Rti(null, null);
  4225. rti._kind = 10;
  4226. rti._primary = partialShapeTag;
  4227. rti._rest = fields;
  4228. rti._canonicalRecipe = key;
  4229. t1 = A._Universe__installTypeTests(universe, rti);
  4230. universe.eC.set(key, t1);
  4231. return t1;
  4232. },
  4233. _Universe__lookupFunctionRti(universe, returnType, parameters) {
  4234. var sep, key, probe, rti, t1,
  4235. s = returnType._canonicalRecipe,
  4236. requiredPositional = parameters._requiredPositional,
  4237. requiredPositionalLength = requiredPositional.length,
  4238. optionalPositional = parameters._optionalPositional,
  4239. optionalPositionalLength = optionalPositional.length,
  4240. named = parameters._named,
  4241. namedLength = named.length,
  4242. recipe = "(" + A._Universe__canonicalRecipeJoin(requiredPositional);
  4243. if (optionalPositionalLength > 0) {
  4244. sep = requiredPositionalLength > 0 ? "," : "";
  4245. recipe += sep + "[" + A._Universe__canonicalRecipeJoin(optionalPositional) + "]";
  4246. }
  4247. if (namedLength > 0) {
  4248. sep = requiredPositionalLength > 0 ? "," : "";
  4249. recipe += sep + "{" + A._Universe__canonicalRecipeJoinNamed(named) + "}";
  4250. }
  4251. key = s + (recipe + ")");
  4252. probe = universe.eC.get(key);
  4253. if (probe != null)
  4254. return probe;
  4255. rti = new A.Rti(null, null);
  4256. rti._kind = 11;
  4257. rti._primary = returnType;
  4258. rti._rest = parameters;
  4259. rti._canonicalRecipe = key;
  4260. t1 = A._Universe__installTypeTests(universe, rti);
  4261. universe.eC.set(key, t1);
  4262. return t1;
  4263. },
  4264. _Universe__lookupGenericFunctionRti(universe, baseFunctionType, bounds, normalize) {
  4265. var t1,
  4266. key = baseFunctionType._canonicalRecipe + ("<" + A._Universe__canonicalRecipeJoin(bounds) + ">"),
  4267. probe = universe.eC.get(key);
  4268. if (probe != null)
  4269. return probe;
  4270. t1 = A._Universe__createGenericFunctionRti(universe, baseFunctionType, bounds, key, normalize);
  4271. universe.eC.set(key, t1);
  4272. return t1;
  4273. },
  4274. _Universe__createGenericFunctionRti(universe, baseFunctionType, bounds, key, normalize) {
  4275. var $length, typeArguments, count, i, bound, substitutedBase, substitutedBounds, rti;
  4276. if (normalize) {
  4277. $length = bounds.length;
  4278. typeArguments = A._Utils_newArrayOrEmpty($length);
  4279. for (count = 0, i = 0; i < $length; ++i) {
  4280. bound = bounds[i];
  4281. if (bound._kind === 1) {
  4282. typeArguments[i] = bound;
  4283. ++count;
  4284. }
  4285. }
  4286. if (count > 0) {
  4287. substitutedBase = A._substitute(universe, baseFunctionType, typeArguments, 0);
  4288. substitutedBounds = A._substituteArray(universe, bounds, typeArguments, 0);
  4289. return A._Universe__lookupGenericFunctionRti(universe, substitutedBase, substitutedBounds, bounds !== substitutedBounds);
  4290. }
  4291. }
  4292. rti = new A.Rti(null, null);
  4293. rti._kind = 12;
  4294. rti._primary = baseFunctionType;
  4295. rti._rest = bounds;
  4296. rti._canonicalRecipe = key;
  4297. return A._Universe__installTypeTests(universe, rti);
  4298. },
  4299. _Parser_create(universe, environment, recipe, normalize) {
  4300. return {u: universe, e: environment, r: recipe, s: [], p: 0, n: normalize};
  4301. },
  4302. _Parser_parse(parser) {
  4303. var t2, i, ch, t3, array, end, item,
  4304. source = parser.r,
  4305. t1 = parser.s;
  4306. for (t2 = source.length, i = 0; i < t2;) {
  4307. ch = source.charCodeAt(i);
  4308. if (ch >= 48 && ch <= 57)
  4309. i = A._Parser_handleDigit(i + 1, ch, source, t1);
  4310. else if ((((ch | 32) >>> 0) - 97 & 65535) < 26 || ch === 95 || ch === 36 || ch === 124)
  4311. i = A._Parser_handleIdentifier(parser, i, source, t1, false);
  4312. else if (ch === 46)
  4313. i = A._Parser_handleIdentifier(parser, i, source, t1, true);
  4314. else {
  4315. ++i;
  4316. switch (ch) {
  4317. case 44:
  4318. break;
  4319. case 58:
  4320. t1.push(false);
  4321. break;
  4322. case 33:
  4323. t1.push(true);
  4324. break;
  4325. case 59:
  4326. t1.push(A._Parser_toType(parser.u, parser.e, t1.pop()));
  4327. break;
  4328. case 94:
  4329. t1.push(A._Universe__lookupGenericFunctionParameterRti(parser.u, t1.pop()));
  4330. break;
  4331. case 35:
  4332. t1.push(A._Universe__lookupTerminalRti(parser.u, 5, "#"));
  4333. break;
  4334. case 64:
  4335. t1.push(A._Universe__lookupTerminalRti(parser.u, 2, "@"));
  4336. break;
  4337. case 126:
  4338. t1.push(A._Universe__lookupTerminalRti(parser.u, 3, "~"));
  4339. break;
  4340. case 60:
  4341. t1.push(parser.p);
  4342. parser.p = t1.length;
  4343. break;
  4344. case 62:
  4345. A._Parser_handleTypeArguments(parser, t1);
  4346. break;
  4347. case 38:
  4348. A._Parser_handleExtendedOperations(parser, t1);
  4349. break;
  4350. case 63:
  4351. t3 = parser.u;
  4352. t1.push(A._Universe__lookupQuestionRti(t3, A._Parser_toType(t3, parser.e, t1.pop()), parser.n));
  4353. break;
  4354. case 47:
  4355. t3 = parser.u;
  4356. t1.push(A._Universe__lookupFutureOrRti(t3, A._Parser_toType(t3, parser.e, t1.pop()), parser.n));
  4357. break;
  4358. case 40:
  4359. t1.push(-3);
  4360. t1.push(parser.p);
  4361. parser.p = t1.length;
  4362. break;
  4363. case 41:
  4364. A._Parser_handleArguments(parser, t1);
  4365. break;
  4366. case 91:
  4367. t1.push(parser.p);
  4368. parser.p = t1.length;
  4369. break;
  4370. case 93:
  4371. array = t1.splice(parser.p);
  4372. A._Parser_toTypes(parser.u, parser.e, array);
  4373. parser.p = t1.pop();
  4374. t1.push(array);
  4375. t1.push(-1);
  4376. break;
  4377. case 123:
  4378. t1.push(parser.p);
  4379. parser.p = t1.length;
  4380. break;
  4381. case 125:
  4382. array = t1.splice(parser.p);
  4383. A._Parser_toTypesNamed(parser.u, parser.e, array);
  4384. parser.p = t1.pop();
  4385. t1.push(array);
  4386. t1.push(-2);
  4387. break;
  4388. case 43:
  4389. end = source.indexOf("(", i);
  4390. t1.push(source.substring(i, end));
  4391. t1.push(-4);
  4392. t1.push(parser.p);
  4393. parser.p = t1.length;
  4394. i = end + 1;
  4395. break;
  4396. default:
  4397. throw "Bad character " + ch;
  4398. }
  4399. }
  4400. }
  4401. item = t1.pop();
  4402. return A._Parser_toType(parser.u, parser.e, item);
  4403. },
  4404. _Parser_handleDigit(i, digit, source, stack) {
  4405. var t1, ch,
  4406. value = digit - 48;
  4407. for (t1 = source.length; i < t1; ++i) {
  4408. ch = source.charCodeAt(i);
  4409. if (!(ch >= 48 && ch <= 57))
  4410. break;
  4411. value = value * 10 + (ch - 48);
  4412. }
  4413. stack.push(value);
  4414. return i;
  4415. },
  4416. _Parser_handleIdentifier(parser, start, source, stack, hasPeriod) {
  4417. var t1, ch, t2, string, environment, recipe,
  4418. i = start + 1;
  4419. for (t1 = source.length; i < t1; ++i) {
  4420. ch = source.charCodeAt(i);
  4421. if (ch === 46) {
  4422. if (hasPeriod)
  4423. break;
  4424. hasPeriod = true;
  4425. } else {
  4426. if (!((((ch | 32) >>> 0) - 97 & 65535) < 26 || ch === 95 || ch === 36 || ch === 124))
  4427. t2 = ch >= 48 && ch <= 57;
  4428. else
  4429. t2 = true;
  4430. if (!t2)
  4431. break;
  4432. }
  4433. }
  4434. string = source.substring(start, i);
  4435. if (hasPeriod) {
  4436. t1 = parser.u;
  4437. environment = parser.e;
  4438. if (environment._kind === 9)
  4439. environment = environment._primary;
  4440. recipe = A._Universe_findRule(t1, environment._primary)[string];
  4441. if (recipe == null)
  4442. A.throwExpression('No "' + string + '" in "' + A.Rti__getCanonicalRecipe(environment) + '"');
  4443. stack.push(A._Universe_evalInEnvironment(t1, environment, recipe));
  4444. } else
  4445. stack.push(string);
  4446. return i;
  4447. },
  4448. _Parser_handleTypeArguments(parser, stack) {
  4449. var base,
  4450. t1 = parser.u,
  4451. $arguments = A._Parser_collectArray(parser, stack),
  4452. head = stack.pop();
  4453. if (typeof head == "string")
  4454. stack.push(A._Universe__lookupInterfaceRti(t1, head, $arguments));
  4455. else {
  4456. base = A._Parser_toType(t1, parser.e, head);
  4457. switch (base._kind) {
  4458. case 11:
  4459. stack.push(A._Universe__lookupGenericFunctionRti(t1, base, $arguments, parser.n));
  4460. break;
  4461. default:
  4462. stack.push(A._Universe__lookupBindingRti(t1, base, $arguments));
  4463. break;
  4464. }
  4465. }
  4466. },
  4467. _Parser_handleArguments(parser, stack) {
  4468. var requiredPositional, returnType, parameters,
  4469. t1 = parser.u,
  4470. head = stack.pop(),
  4471. optionalPositional = null, named = null;
  4472. if (typeof head == "number")
  4473. switch (head) {
  4474. case -1:
  4475. optionalPositional = stack.pop();
  4476. break;
  4477. case -2:
  4478. named = stack.pop();
  4479. break;
  4480. default:
  4481. stack.push(head);
  4482. break;
  4483. }
  4484. else
  4485. stack.push(head);
  4486. requiredPositional = A._Parser_collectArray(parser, stack);
  4487. head = stack.pop();
  4488. switch (head) {
  4489. case -3:
  4490. head = stack.pop();
  4491. if (optionalPositional == null)
  4492. optionalPositional = t1.sEA;
  4493. if (named == null)
  4494. named = t1.sEA;
  4495. returnType = A._Parser_toType(t1, parser.e, head);
  4496. parameters = new A._FunctionParameters();
  4497. parameters._requiredPositional = requiredPositional;
  4498. parameters._optionalPositional = optionalPositional;
  4499. parameters._named = named;
  4500. stack.push(A._Universe__lookupFunctionRti(t1, returnType, parameters));
  4501. return;
  4502. case -4:
  4503. stack.push(A._Universe__lookupRecordRti(t1, stack.pop(), requiredPositional));
  4504. return;
  4505. default:
  4506. throw A.wrapException(A.AssertionError$("Unexpected state under `()`: " + A.S(head)));
  4507. }
  4508. },
  4509. _Parser_handleExtendedOperations(parser, stack) {
  4510. var $top = stack.pop();
  4511. if (0 === $top) {
  4512. stack.push(A._Universe__lookupTerminalRti(parser.u, 1, "0&"));
  4513. return;
  4514. }
  4515. if (1 === $top) {
  4516. stack.push(A._Universe__lookupTerminalRti(parser.u, 4, "1&"));
  4517. return;
  4518. }
  4519. throw A.wrapException(A.AssertionError$("Unexpected extended operation " + A.S($top)));
  4520. },
  4521. _Parser_collectArray(parser, stack) {
  4522. var array = stack.splice(parser.p);
  4523. A._Parser_toTypes(parser.u, parser.e, array);
  4524. parser.p = stack.pop();
  4525. return array;
  4526. },
  4527. _Parser_toType(universe, environment, item) {
  4528. if (typeof item == "string")
  4529. return A._Universe__lookupInterfaceRti(universe, item, universe.sEA);
  4530. else if (typeof item == "number") {
  4531. environment.toString;
  4532. return A._Parser_indexToType(universe, environment, item);
  4533. } else
  4534. return item;
  4535. },
  4536. _Parser_toTypes(universe, environment, items) {
  4537. var i,
  4538. $length = items.length;
  4539. for (i = 0; i < $length; ++i)
  4540. items[i] = A._Parser_toType(universe, environment, items[i]);
  4541. },
  4542. _Parser_toTypesNamed(universe, environment, items) {
  4543. var i,
  4544. $length = items.length;
  4545. for (i = 2; i < $length; i += 3)
  4546. items[i] = A._Parser_toType(universe, environment, items[i]);
  4547. },
  4548. _Parser_indexToType(universe, environment, index) {
  4549. var typeArguments, len,
  4550. kind = environment._kind;
  4551. if (kind === 9) {
  4552. if (index === 0)
  4553. return environment._primary;
  4554. typeArguments = environment._rest;
  4555. len = typeArguments.length;
  4556. if (index <= len)
  4557. return typeArguments[index - 1];
  4558. index -= len;
  4559. environment = environment._primary;
  4560. kind = environment._kind;
  4561. } else if (index === 0)
  4562. return environment;
  4563. if (kind !== 8)
  4564. throw A.wrapException(A.AssertionError$("Indexed base must be an interface type"));
  4565. typeArguments = environment._rest;
  4566. if (index <= typeArguments.length)
  4567. return typeArguments[index - 1];
  4568. throw A.wrapException(A.AssertionError$("Bad index " + index + " for " + environment.toString$0(0)));
  4569. },
  4570. isSubtype(universe, s, t) {
  4571. var result,
  4572. sCache = s._isSubtypeCache;
  4573. if (sCache == null)
  4574. sCache = s._isSubtypeCache = new Map();
  4575. result = sCache.get(t);
  4576. if (result == null) {
  4577. result = A._isSubtype(universe, s, null, t, null);
  4578. sCache.set(t, result);
  4579. }
  4580. return result;
  4581. },
  4582. _isSubtype(universe, s, sEnv, t, tEnv) {
  4583. var sKind, leftTypeVariable, tKind, t1, t2, sBounds, tBounds, sLength, i, sBound, tBound;
  4584. if (s === t)
  4585. return true;
  4586. if (A.isTopType(t))
  4587. return true;
  4588. sKind = s._kind;
  4589. if (sKind === 4)
  4590. return true;
  4591. if (A.isTopType(s))
  4592. return false;
  4593. if (s._kind === 1)
  4594. return true;
  4595. leftTypeVariable = sKind === 13;
  4596. if (leftTypeVariable)
  4597. if (A._isSubtype(universe, sEnv[s._primary], sEnv, t, tEnv))
  4598. return true;
  4599. tKind = t._kind;
  4600. t1 = type$.Null;
  4601. if (s === t1 || s === type$.JSNull) {
  4602. if (tKind === 7)
  4603. return A._isSubtype(universe, s, sEnv, t._primary, tEnv);
  4604. return t === t1 || t === type$.JSNull || tKind === 6;
  4605. }
  4606. if (t === type$.Object) {
  4607. if (sKind === 7)
  4608. return A._isSubtype(universe, s._primary, sEnv, t, tEnv);
  4609. return sKind !== 6;
  4610. }
  4611. if (sKind === 7) {
  4612. if (!A._isSubtype(universe, s._primary, sEnv, t, tEnv))
  4613. return false;
  4614. return A._isSubtype(universe, A.Rti__getFutureFromFutureOr(universe, s), sEnv, t, tEnv);
  4615. }
  4616. if (sKind === 6)
  4617. return A._isSubtype(universe, t1, sEnv, t, tEnv) && A._isSubtype(universe, s._primary, sEnv, t, tEnv);
  4618. if (tKind === 7) {
  4619. if (A._isSubtype(universe, s, sEnv, t._primary, tEnv))
  4620. return true;
  4621. return A._isSubtype(universe, s, sEnv, A.Rti__getFutureFromFutureOr(universe, t), tEnv);
  4622. }
  4623. if (tKind === 6)
  4624. return A._isSubtype(universe, s, sEnv, t1, tEnv) || A._isSubtype(universe, s, sEnv, t._primary, tEnv);
  4625. if (leftTypeVariable)
  4626. return false;
  4627. t1 = sKind !== 11;
  4628. if ((!t1 || sKind === 12) && t === type$.Function)
  4629. return true;
  4630. t2 = sKind === 10;
  4631. if (t2 && t === type$.Record)
  4632. return true;
  4633. if (tKind === 12) {
  4634. if (s === type$.JavaScriptFunction)
  4635. return true;
  4636. if (sKind !== 12)
  4637. return false;
  4638. sBounds = s._rest;
  4639. tBounds = t._rest;
  4640. sLength = sBounds.length;
  4641. if (sLength !== tBounds.length)
  4642. return false;
  4643. sEnv = sEnv == null ? sBounds : sBounds.concat(sEnv);
  4644. tEnv = tEnv == null ? tBounds : tBounds.concat(tEnv);
  4645. for (i = 0; i < sLength; ++i) {
  4646. sBound = sBounds[i];
  4647. tBound = tBounds[i];
  4648. if (!A._isSubtype(universe, sBound, sEnv, tBound, tEnv) || !A._isSubtype(universe, tBound, tEnv, sBound, sEnv))
  4649. return false;
  4650. }
  4651. return A._isFunctionSubtype(universe, s._primary, sEnv, t._primary, tEnv);
  4652. }
  4653. if (tKind === 11) {
  4654. if (s === type$.JavaScriptFunction)
  4655. return true;
  4656. if (t1)
  4657. return false;
  4658. return A._isFunctionSubtype(universe, s, sEnv, t, tEnv);
  4659. }
  4660. if (sKind === 8) {
  4661. if (tKind !== 8)
  4662. return false;
  4663. return A._isInterfaceSubtype(universe, s, sEnv, t, tEnv);
  4664. }
  4665. if (t2 && tKind === 10)
  4666. return A._isRecordSubtype(universe, s, sEnv, t, tEnv);
  4667. return false;
  4668. },
  4669. _isFunctionSubtype(universe, s, sEnv, t, tEnv) {
  4670. var sParameters, tParameters, sRequiredPositional, tRequiredPositional, sRequiredPositionalLength, tRequiredPositionalLength, requiredPositionalDelta, sOptionalPositional, tOptionalPositional, sOptionalPositionalLength, tOptionalPositionalLength, i, t1, sNamed, tNamed, sNamedLength, tNamedLength, sIndex, tIndex, tName, sName, sIsRequired;
  4671. if (!A._isSubtype(universe, s._primary, sEnv, t._primary, tEnv))
  4672. return false;
  4673. sParameters = s._rest;
  4674. tParameters = t._rest;
  4675. sRequiredPositional = sParameters._requiredPositional;
  4676. tRequiredPositional = tParameters._requiredPositional;
  4677. sRequiredPositionalLength = sRequiredPositional.length;
  4678. tRequiredPositionalLength = tRequiredPositional.length;
  4679. if (sRequiredPositionalLength > tRequiredPositionalLength)
  4680. return false;
  4681. requiredPositionalDelta = tRequiredPositionalLength - sRequiredPositionalLength;
  4682. sOptionalPositional = sParameters._optionalPositional;
  4683. tOptionalPositional = tParameters._optionalPositional;
  4684. sOptionalPositionalLength = sOptionalPositional.length;
  4685. tOptionalPositionalLength = tOptionalPositional.length;
  4686. if (sRequiredPositionalLength + sOptionalPositionalLength < tRequiredPositionalLength + tOptionalPositionalLength)
  4687. return false;
  4688. for (i = 0; i < sRequiredPositionalLength; ++i) {
  4689. t1 = sRequiredPositional[i];
  4690. if (!A._isSubtype(universe, tRequiredPositional[i], tEnv, t1, sEnv))
  4691. return false;
  4692. }
  4693. for (i = 0; i < requiredPositionalDelta; ++i) {
  4694. t1 = sOptionalPositional[i];
  4695. if (!A._isSubtype(universe, tRequiredPositional[sRequiredPositionalLength + i], tEnv, t1, sEnv))
  4696. return false;
  4697. }
  4698. for (i = 0; i < tOptionalPositionalLength; ++i) {
  4699. t1 = sOptionalPositional[requiredPositionalDelta + i];
  4700. if (!A._isSubtype(universe, tOptionalPositional[i], tEnv, t1, sEnv))
  4701. return false;
  4702. }
  4703. sNamed = sParameters._named;
  4704. tNamed = tParameters._named;
  4705. sNamedLength = sNamed.length;
  4706. tNamedLength = tNamed.length;
  4707. for (sIndex = 0, tIndex = 0; tIndex < tNamedLength; tIndex += 3) {
  4708. tName = tNamed[tIndex];
  4709. for (; true;) {
  4710. if (sIndex >= sNamedLength)
  4711. return false;
  4712. sName = sNamed[sIndex];
  4713. sIndex += 3;
  4714. if (tName < sName)
  4715. return false;
  4716. sIsRequired = sNamed[sIndex - 2];
  4717. if (sName < tName) {
  4718. if (sIsRequired)
  4719. return false;
  4720. continue;
  4721. }
  4722. t1 = tNamed[tIndex + 1];
  4723. if (sIsRequired && !t1)
  4724. return false;
  4725. t1 = sNamed[sIndex - 1];
  4726. if (!A._isSubtype(universe, tNamed[tIndex + 2], tEnv, t1, sEnv))
  4727. return false;
  4728. break;
  4729. }
  4730. }
  4731. for (; sIndex < sNamedLength;) {
  4732. if (sNamed[sIndex + 1])
  4733. return false;
  4734. sIndex += 3;
  4735. }
  4736. return true;
  4737. },
  4738. _isInterfaceSubtype(universe, s, sEnv, t, tEnv) {
  4739. var rule, recipes, $length, supertypeArgs, i,
  4740. sName = s._primary,
  4741. tName = t._primary;
  4742. for (; sName !== tName;) {
  4743. rule = universe.tR[sName];
  4744. if (rule == null)
  4745. return false;
  4746. if (typeof rule == "string") {
  4747. sName = rule;
  4748. continue;
  4749. }
  4750. recipes = rule[tName];
  4751. if (recipes == null)
  4752. return false;
  4753. $length = recipes.length;
  4754. supertypeArgs = $length > 0 ? new Array($length) : init.typeUniverse.sEA;
  4755. for (i = 0; i < $length; ++i)
  4756. supertypeArgs[i] = A._Universe_evalInEnvironment(universe, s, recipes[i]);
  4757. return A._areArgumentsSubtypes(universe, supertypeArgs, null, sEnv, t._rest, tEnv);
  4758. }
  4759. return A._areArgumentsSubtypes(universe, s._rest, null, sEnv, t._rest, tEnv);
  4760. },
  4761. _areArgumentsSubtypes(universe, sArgs, sVariances, sEnv, tArgs, tEnv) {
  4762. var i,
  4763. $length = sArgs.length;
  4764. for (i = 0; i < $length; ++i)
  4765. if (!A._isSubtype(universe, sArgs[i], sEnv, tArgs[i], tEnv))
  4766. return false;
  4767. return true;
  4768. },
  4769. _isRecordSubtype(universe, s, sEnv, t, tEnv) {
  4770. var i,
  4771. sFields = s._rest,
  4772. tFields = t._rest,
  4773. sCount = sFields.length;
  4774. if (sCount !== tFields.length)
  4775. return false;
  4776. if (s._primary !== t._primary)
  4777. return false;
  4778. for (i = 0; i < sCount; ++i)
  4779. if (!A._isSubtype(universe, sFields[i], sEnv, tFields[i], tEnv))
  4780. return false;
  4781. return true;
  4782. },
  4783. isNullable(t) {
  4784. var kind = t._kind,
  4785. t1 = true;
  4786. if (!(t === type$.Null || t === type$.JSNull))
  4787. if (!A.isTopType(t))
  4788. if (kind !== 6)
  4789. t1 = kind === 7 && A.isNullable(t._primary);
  4790. return t1;
  4791. },
  4792. isTopType(t) {
  4793. var kind = t._kind;
  4794. return kind === 2 || kind === 3 || kind === 4 || kind === 5 || t === type$.nullable_Object;
  4795. },
  4796. _Utils_objectAssign(o, other) {
  4797. var i, key,
  4798. keys = Object.keys(other),
  4799. $length = keys.length;
  4800. for (i = 0; i < $length; ++i) {
  4801. key = keys[i];
  4802. o[key] = other[key];
  4803. }
  4804. },
  4805. _Utils_newArrayOrEmpty($length) {
  4806. return $length > 0 ? new Array($length) : init.typeUniverse.sEA;
  4807. },
  4808. Rti: function Rti(t0, t1) {
  4809. var _ = this;
  4810. _._as = t0;
  4811. _._is = t1;
  4812. _._cachedRuntimeType = _._specializedTestResource = _._isSubtypeCache = _._precomputed1 = null;
  4813. _._kind = 0;
  4814. _._canonicalRecipe = _._bindCache = _._evalCache = _._rest = _._primary = null;
  4815. },
  4816. _FunctionParameters: function _FunctionParameters() {
  4817. this._named = this._optionalPositional = this._requiredPositional = null;
  4818. },
  4819. _Type: function _Type(t0) {
  4820. this._rti = t0;
  4821. },
  4822. _Error: function _Error() {
  4823. },
  4824. _TypeError: function _TypeError(t0) {
  4825. this.__rti$_message = t0;
  4826. },
  4827. _AsyncRun__initializeScheduleImmediate() {
  4828. var t1, div, span;
  4829. if (self.scheduleImmediate != null)
  4830. return A.async__AsyncRun__scheduleImmediateJsOverride$closure();
  4831. if (self.MutationObserver != null && self.document != null) {
  4832. t1 = {};
  4833. div = self.document.createElement("div");
  4834. span = self.document.createElement("span");
  4835. t1.storedCallback = null;
  4836. new self.MutationObserver(A.convertDartClosureToJS(new A._AsyncRun__initializeScheduleImmediate_internalCallback(t1), 1)).observe(div, {childList: true});
  4837. return new A._AsyncRun__initializeScheduleImmediate_closure(t1, div, span);
  4838. } else if (self.setImmediate != null)
  4839. return A.async__AsyncRun__scheduleImmediateWithSetImmediate$closure();
  4840. return A.async__AsyncRun__scheduleImmediateWithTimer$closure();
  4841. },
  4842. _AsyncRun__scheduleImmediateJsOverride(callback) {
  4843. self.scheduleImmediate(A.convertDartClosureToJS(new A._AsyncRun__scheduleImmediateJsOverride_internalCallback(callback), 0));
  4844. },
  4845. _AsyncRun__scheduleImmediateWithSetImmediate(callback) {
  4846. self.setImmediate(A.convertDartClosureToJS(new A._AsyncRun__scheduleImmediateWithSetImmediate_internalCallback(callback), 0));
  4847. },
  4848. _AsyncRun__scheduleImmediateWithTimer(callback) {
  4849. A.Timer__createTimer(B.Duration_0, callback);
  4850. },
  4851. Timer__createTimer(duration, callback) {
  4852. var milliseconds = B.JSInt_methods._tdivFast$1(duration._duration, 1000);
  4853. return A._TimerImpl$(milliseconds < 0 ? 0 : milliseconds, callback);
  4854. },
  4855. _TimerImpl$(milliseconds, callback) {
  4856. var t1 = new A._TimerImpl(true);
  4857. t1._TimerImpl$2(milliseconds, callback);
  4858. return t1;
  4859. },
  4860. _TimerImpl$periodic(milliseconds, callback) {
  4861. var t1 = new A._TimerImpl(false);
  4862. t1._TimerImpl$periodic$2(milliseconds, callback);
  4863. return t1;
  4864. },
  4865. _makeAsyncAwaitCompleter($T) {
  4866. return new A._AsyncAwaitCompleter(new A._Future($.Zone__current, $T._eval$1("_Future<0>")), $T._eval$1("_AsyncAwaitCompleter<0>"));
  4867. },
  4868. _asyncStartSync(bodyFunction, completer) {
  4869. bodyFunction.call$2(0, null);
  4870. completer.isSync = true;
  4871. return completer._future;
  4872. },
  4873. _asyncAwait(object, bodyFunction) {
  4874. A._awaitOnObject(object, bodyFunction);
  4875. },
  4876. _asyncReturn(object, completer) {
  4877. completer.complete$1(object);
  4878. },
  4879. _asyncRethrow(object, completer) {
  4880. completer.completeError$2(A.unwrapException(object), A.getTraceFromException(object));
  4881. },
  4882. _awaitOnObject(object, bodyFunction) {
  4883. var t1, future,
  4884. thenCallback = new A._awaitOnObject_closure(bodyFunction),
  4885. errorCallback = new A._awaitOnObject_closure0(bodyFunction);
  4886. if (object instanceof A._Future)
  4887. object._thenAwait$1$2(thenCallback, errorCallback, type$.dynamic);
  4888. else {
  4889. t1 = type$.dynamic;
  4890. if (object instanceof A._Future)
  4891. object.then$1$2$onError(0, thenCallback, errorCallback, t1);
  4892. else {
  4893. future = new A._Future($.Zone__current, type$._Future_dynamic);
  4894. future._state = 8;
  4895. future._resultOrListeners = object;
  4896. future._thenAwait$1$2(thenCallback, errorCallback, t1);
  4897. }
  4898. }
  4899. },
  4900. _wrapJsFunctionForAsync($function) {
  4901. var $protected = function(fn, ERROR) {
  4902. return function(errorCode, result) {
  4903. while (true) {
  4904. try {
  4905. fn(errorCode, result);
  4906. break;
  4907. } catch (error) {
  4908. result = error;
  4909. errorCode = ERROR;
  4910. }
  4911. }
  4912. };
  4913. }($function, 1);
  4914. return $.Zone__current.registerBinaryCallback$3$1(new A._wrapJsFunctionForAsync_closure($protected), type$.void, type$.int, type$.dynamic);
  4915. },
  4916. _SyncStarIterator__terminatedBody(_1, _2, _3) {
  4917. return 0;
  4918. },
  4919. AsyncError_defaultStackTrace(error) {
  4920. var stackTrace;
  4921. if (type$.Error._is(error)) {
  4922. stackTrace = error.get$stackTrace();
  4923. if (stackTrace != null)
  4924. return stackTrace;
  4925. }
  4926. return B._StringStackTrace_OdL;
  4927. },
  4928. Future_Future$value(value, $T) {
  4929. var t1;
  4930. $T._as(value);
  4931. t1 = new A._Future($.Zone__current, $T._eval$1("_Future<0>"));
  4932. t1._asyncComplete$1(value);
  4933. return t1;
  4934. },
  4935. Future_wait(futures, eagerError, $T) {
  4936. var handleError, future, pos, e, s, t1, t2, exception, t3, t4, _box_0 = {}, cleanUp = null,
  4937. _future = new A._Future($.Zone__current, $T._eval$1("_Future<List<0>>"));
  4938. _box_0.values = null;
  4939. _box_0.remaining = 0;
  4940. _box_0.stackTrace = _box_0.error = null;
  4941. handleError = new A.Future_wait_handleError(_box_0, cleanUp, eagerError, _future);
  4942. try {
  4943. for (t1 = J.get$iterator$ax(futures), t2 = type$.Null; t1.moveNext$0();) {
  4944. future = t1.get$current(t1);
  4945. pos = _box_0.remaining;
  4946. J.then$1$2$onError$x(future, new A.Future_wait_closure(_box_0, pos, _future, $T, cleanUp, eagerError), handleError, t2);
  4947. ++_box_0.remaining;
  4948. }
  4949. t1 = _box_0.remaining;
  4950. if (t1 === 0) {
  4951. t1 = _future;
  4952. t1._completeWithValue$1(A._setArrayType([], $T._eval$1("JSArray<0>")));
  4953. return t1;
  4954. }
  4955. _box_0.values = A.List_List$filled(t1, null, false, $T._eval$1("0?"));
  4956. } catch (exception) {
  4957. e = A.unwrapException(exception);
  4958. s = A.getTraceFromException(exception);
  4959. if (_box_0.remaining === 0 || eagerError) {
  4960. t1 = _future;
  4961. t2 = e;
  4962. t3 = s;
  4963. t4 = A._interceptError(t2, t3);
  4964. if (t4 == null)
  4965. t2 = new A.AsyncError(t2, t3 == null ? A.AsyncError_defaultStackTrace(t2) : t3);
  4966. else
  4967. t2 = t4;
  4968. t1._asyncCompleteErrorObject$1(t2);
  4969. return t1;
  4970. } else {
  4971. _box_0.error = e;
  4972. _box_0.stackTrace = s;
  4973. }
  4974. }
  4975. return _future;
  4976. },
  4977. _interceptError(error, stackTrace) {
  4978. var replacement, t1, t2,
  4979. zone = $.Zone__current;
  4980. if (zone === B.C__RootZone)
  4981. return null;
  4982. replacement = zone.errorCallback$2(error, stackTrace);
  4983. if (replacement == null)
  4984. return null;
  4985. t1 = replacement.error;
  4986. t2 = replacement.stackTrace;
  4987. if (type$.Error._is(t1))
  4988. A.Primitives_trySetStackTrace(t1, t2);
  4989. return replacement;
  4990. },
  4991. _interceptUserError(error, stackTrace) {
  4992. var replacement;
  4993. if ($.Zone__current !== B.C__RootZone) {
  4994. replacement = A._interceptError(error, stackTrace);
  4995. if (replacement != null)
  4996. return replacement;
  4997. }
  4998. if (stackTrace == null)
  4999. if (type$.Error._is(error)) {
  5000. stackTrace = error.get$stackTrace();
  5001. if (stackTrace == null) {
  5002. A.Primitives_trySetStackTrace(error, B._StringStackTrace_OdL);
  5003. stackTrace = B._StringStackTrace_OdL;
  5004. }
  5005. } else
  5006. stackTrace = B._StringStackTrace_OdL;
  5007. else if (type$.Error._is(error))
  5008. A.Primitives_trySetStackTrace(error, stackTrace);
  5009. return new A.AsyncError(error, stackTrace);
  5010. },
  5011. _Future$zoneValue(value, _zone, $T) {
  5012. var t1 = new A._Future(_zone, $T._eval$1("_Future<0>"));
  5013. t1._state = 8;
  5014. t1._resultOrListeners = value;
  5015. return t1;
  5016. },
  5017. _Future$value(value, $T) {
  5018. var t1 = new A._Future($.Zone__current, $T._eval$1("_Future<0>"));
  5019. t1._state = 8;
  5020. t1._resultOrListeners = value;
  5021. return t1;
  5022. },
  5023. _Future__chainCoreFuture(source, target, sync) {
  5024. var t2, ignoreError, listeners, _box_0 = {},
  5025. t1 = _box_0.source = source;
  5026. for (; t2 = t1._state, (t2 & 4) !== 0;) {
  5027. t1 = t1._resultOrListeners;
  5028. _box_0.source = t1;
  5029. }
  5030. if (t1 === target) {
  5031. t2 = A.StackTrace_current();
  5032. target._asyncCompleteErrorObject$1(new A.AsyncError(new A.ArgumentError(true, t1, null, "Cannot complete a future with itself"), t2));
  5033. return;
  5034. }
  5035. ignoreError = target._state & 1;
  5036. t2 = t1._state = t2 | ignoreError;
  5037. if ((t2 & 24) === 0) {
  5038. listeners = target._resultOrListeners;
  5039. target._state = target._state & 1 | 4;
  5040. target._resultOrListeners = t1;
  5041. t1._prependListeners$1(listeners);
  5042. return;
  5043. }
  5044. if (!sync)
  5045. if (target._resultOrListeners == null)
  5046. t1 = (t2 & 16) === 0 || ignoreError !== 0;
  5047. else
  5048. t1 = false;
  5049. else
  5050. t1 = true;
  5051. if (t1) {
  5052. listeners = target._removeListeners$0();
  5053. target._cloneResult$1(_box_0.source);
  5054. A._Future__propagateToListeners(target, listeners);
  5055. return;
  5056. }
  5057. target._state ^= 2;
  5058. target._zone.scheduleMicrotask$1(new A._Future__chainCoreFuture_closure(_box_0, target));
  5059. },
  5060. _Future__propagateToListeners(source, listeners) {
  5061. var _box_0, t2, t3, hasError, nextListener, nextListener0, sourceResult, t4, zone, oldZone, result, current, _box_1 = {},
  5062. t1 = _box_1.source = source;
  5063. for (; true;) {
  5064. _box_0 = {};
  5065. t2 = t1._state;
  5066. t3 = (t2 & 16) === 0;
  5067. hasError = !t3;
  5068. if (listeners == null) {
  5069. if (hasError && (t2 & 1) === 0) {
  5070. t2 = t1._resultOrListeners;
  5071. t1._zone.handleUncaughtError$2(t2.error, t2.stackTrace);
  5072. }
  5073. return;
  5074. }
  5075. _box_0.listener = listeners;
  5076. nextListener = listeners._nextListener;
  5077. for (t1 = listeners; nextListener != null; t1 = nextListener, nextListener = nextListener0) {
  5078. t1._nextListener = null;
  5079. A._Future__propagateToListeners(_box_1.source, t1);
  5080. _box_0.listener = nextListener;
  5081. nextListener0 = nextListener._nextListener;
  5082. }
  5083. t2 = _box_1.source;
  5084. sourceResult = t2._resultOrListeners;
  5085. _box_0.listenerHasError = hasError;
  5086. _box_0.listenerValueOrError = sourceResult;
  5087. if (t3) {
  5088. t4 = t1.state;
  5089. t4 = (t4 & 1) !== 0 || (t4 & 15) === 8;
  5090. } else
  5091. t4 = true;
  5092. if (t4) {
  5093. zone = t1.result._zone;
  5094. if (hasError) {
  5095. t1 = t2._zone;
  5096. t1 = !(t1 === zone || t1.get$errorZone() === zone.get$errorZone());
  5097. } else
  5098. t1 = false;
  5099. if (t1) {
  5100. t1 = _box_1.source;
  5101. t2 = t1._resultOrListeners;
  5102. t1._zone.handleUncaughtError$2(t2.error, t2.stackTrace);
  5103. return;
  5104. }
  5105. oldZone = $.Zone__current;
  5106. if (oldZone !== zone)
  5107. $.Zone__current = zone;
  5108. else
  5109. oldZone = null;
  5110. t1 = _box_0.listener.state;
  5111. if ((t1 & 15) === 8)
  5112. new A._Future__propagateToListeners_handleWhenCompleteCallback(_box_0, _box_1, hasError).call$0();
  5113. else if (t3) {
  5114. if ((t1 & 1) !== 0)
  5115. new A._Future__propagateToListeners_handleValueCallback(_box_0, sourceResult).call$0();
  5116. } else if ((t1 & 2) !== 0)
  5117. new A._Future__propagateToListeners_handleError(_box_1, _box_0).call$0();
  5118. if (oldZone != null)
  5119. $.Zone__current = oldZone;
  5120. t1 = _box_0.listenerValueOrError;
  5121. if (t1 instanceof A._Future) {
  5122. t2 = _box_0.listener.$ti;
  5123. t2 = t2._eval$1("Future<2>")._is(t1) || !t2._rest[1]._is(t1);
  5124. } else
  5125. t2 = false;
  5126. if (t2) {
  5127. result = _box_0.listener.result;
  5128. if ((t1._state & 24) !== 0) {
  5129. current = result._resultOrListeners;
  5130. result._resultOrListeners = null;
  5131. listeners = result._reverseListeners$1(current);
  5132. result._state = t1._state & 30 | result._state & 1;
  5133. result._resultOrListeners = t1._resultOrListeners;
  5134. _box_1.source = t1;
  5135. continue;
  5136. } else
  5137. A._Future__chainCoreFuture(t1, result, true);
  5138. return;
  5139. }
  5140. }
  5141. result = _box_0.listener.result;
  5142. current = result._resultOrListeners;
  5143. result._resultOrListeners = null;
  5144. listeners = result._reverseListeners$1(current);
  5145. t1 = _box_0.listenerHasError;
  5146. t2 = _box_0.listenerValueOrError;
  5147. if (!t1) {
  5148. result._state = 8;
  5149. result._resultOrListeners = t2;
  5150. } else {
  5151. result._state = result._state & 1 | 16;
  5152. result._resultOrListeners = t2;
  5153. }
  5154. _box_1.source = result;
  5155. t1 = result;
  5156. }
  5157. },
  5158. _registerErrorHandler(errorHandler, zone) {
  5159. if (type$.dynamic_Function_Object_StackTrace._is(errorHandler))
  5160. return zone.registerBinaryCallback$3$1(errorHandler, type$.dynamic, type$.Object, type$.StackTrace);
  5161. if (type$.dynamic_Function_Object._is(errorHandler))
  5162. return zone.registerUnaryCallback$2$1(errorHandler, type$.dynamic, type$.Object);
  5163. throw A.wrapException(A.ArgumentError$value(errorHandler, "onError", string$.Error_));
  5164. },
  5165. _microtaskLoop() {
  5166. var entry, next;
  5167. for (entry = $._nextCallback; entry != null; entry = $._nextCallback) {
  5168. $._lastPriorityCallback = null;
  5169. next = entry.next;
  5170. $._nextCallback = next;
  5171. if (next == null)
  5172. $._lastCallback = null;
  5173. entry.callback.call$0();
  5174. }
  5175. },
  5176. _startMicrotaskLoop() {
  5177. $._isInCallbackLoop = true;
  5178. try {
  5179. A._microtaskLoop();
  5180. } finally {
  5181. $._lastPriorityCallback = null;
  5182. $._isInCallbackLoop = false;
  5183. if ($._nextCallback != null)
  5184. $.$get$_AsyncRun__scheduleImmediateClosure().call$1(A.async___startMicrotaskLoop$closure());
  5185. }
  5186. },
  5187. _scheduleAsyncCallback(callback) {
  5188. var newEntry = new A._AsyncCallbackEntry(callback),
  5189. lastCallback = $._lastCallback;
  5190. if (lastCallback == null) {
  5191. $._nextCallback = $._lastCallback = newEntry;
  5192. if (!$._isInCallbackLoop)
  5193. $.$get$_AsyncRun__scheduleImmediateClosure().call$1(A.async___startMicrotaskLoop$closure());
  5194. } else
  5195. $._lastCallback = lastCallback.next = newEntry;
  5196. },
  5197. _schedulePriorityAsyncCallback(callback) {
  5198. var entry, lastPriorityCallback, next,
  5199. t1 = $._nextCallback;
  5200. if (t1 == null) {
  5201. A._scheduleAsyncCallback(callback);
  5202. $._lastPriorityCallback = $._lastCallback;
  5203. return;
  5204. }
  5205. entry = new A._AsyncCallbackEntry(callback);
  5206. lastPriorityCallback = $._lastPriorityCallback;
  5207. if (lastPriorityCallback == null) {
  5208. entry.next = t1;
  5209. $._nextCallback = $._lastPriorityCallback = entry;
  5210. } else {
  5211. next = lastPriorityCallback.next;
  5212. entry.next = next;
  5213. $._lastPriorityCallback = lastPriorityCallback.next = entry;
  5214. if (next == null)
  5215. $._lastCallback = entry;
  5216. }
  5217. },
  5218. scheduleMicrotask(callback) {
  5219. var t1, _null = null,
  5220. currentZone = $.Zone__current;
  5221. if (B.C__RootZone === currentZone) {
  5222. A._rootScheduleMicrotask(_null, _null, B.C__RootZone, callback);
  5223. return;
  5224. }
  5225. if (B.C__RootZone === currentZone.get$_scheduleMicrotask().zone)
  5226. t1 = B.C__RootZone.get$errorZone() === currentZone.get$errorZone();
  5227. else
  5228. t1 = false;
  5229. if (t1) {
  5230. A._rootScheduleMicrotask(_null, _null, currentZone, currentZone.registerCallback$1$1(callback, type$.void));
  5231. return;
  5232. }
  5233. t1 = $.Zone__current;
  5234. t1.scheduleMicrotask$1(t1.bindCallbackGuarded$1(callback));
  5235. },
  5236. Stream_Stream$fromFuture(future, $T) {
  5237. var _null = null,
  5238. t1 = $T._eval$1("_SyncStreamController<0>"),
  5239. controller = new A._SyncStreamController(_null, _null, _null, _null, t1);
  5240. future.then$1$2$onError(0, new A.Stream_Stream$fromFuture_closure(controller, $T), new A.Stream_Stream$fromFuture_closure0(controller), type$.Null);
  5241. return new A._ControllerStream(controller, t1._eval$1("_ControllerStream<1>"));
  5242. },
  5243. StreamIterator_StreamIterator(stream) {
  5244. return new A._StreamIterator(A.checkNotNullable(stream, "stream", type$.Object));
  5245. },
  5246. StreamController_StreamController(onCancel, onListen, onPause, onResume, sync, $T) {
  5247. 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>"));
  5248. },
  5249. _runGuarded(notificationHandler) {
  5250. var e, s, exception;
  5251. if (notificationHandler == null)
  5252. return;
  5253. try {
  5254. notificationHandler.call$0();
  5255. } catch (exception) {
  5256. e = A.unwrapException(exception);
  5257. s = A.getTraceFromException(exception);
  5258. $.Zone__current.handleUncaughtError$2(e, s);
  5259. }
  5260. },
  5261. _ControllerSubscription$(_controller, onData, onError, onDone, cancelOnError, $T) {
  5262. var t1 = $.Zone__current,
  5263. t2 = cancelOnError ? 1 : 0,
  5264. t3 = onError != null ? 32 : 0,
  5265. t4 = A._BufferingStreamSubscription__registerDataHandler(t1, onData, $T),
  5266. t5 = A._BufferingStreamSubscription__registerErrorHandler(t1, onError),
  5267. t6 = onDone == null ? A.async___nullDoneHandler$closure() : onDone;
  5268. return new A._ControllerSubscription(_controller, t4, t5, t1.registerCallback$1$1(t6, type$.void), t1, t2 | t3, $T._eval$1("_ControllerSubscription<0>"));
  5269. },
  5270. _AddStreamState_makeErrorHandler(controller) {
  5271. return new A._AddStreamState_makeErrorHandler_closure(controller);
  5272. },
  5273. _BufferingStreamSubscription__registerDataHandler(zone, handleData, $T) {
  5274. var t1 = handleData == null ? A.async___nullDataHandler$closure() : handleData;
  5275. return zone.registerUnaryCallback$2$1(t1, type$.void, $T);
  5276. },
  5277. _BufferingStreamSubscription__registerErrorHandler(zone, handleError) {
  5278. if (handleError == null)
  5279. handleError = A.async___nullErrorHandler$closure();
  5280. if (type$.void_Function_Object_StackTrace._is(handleError))
  5281. return zone.registerBinaryCallback$3$1(handleError, type$.dynamic, type$.Object, type$.StackTrace);
  5282. if (type$.void_Function_Object._is(handleError))
  5283. return zone.registerUnaryCallback$2$1(handleError, type$.dynamic, type$.Object);
  5284. throw A.wrapException(A.ArgumentError$("handleError callback must take either an Object (the error), or both an Object (the error) and a StackTrace.", null));
  5285. },
  5286. _nullDataHandler(value) {
  5287. },
  5288. _nullErrorHandler(error, stackTrace) {
  5289. $.Zone__current.handleUncaughtError$2(error, stackTrace);
  5290. },
  5291. _nullDoneHandler() {
  5292. },
  5293. Timer_Timer(duration, callback) {
  5294. var t1 = $.Zone__current;
  5295. if (t1 === B.C__RootZone)
  5296. return t1.createTimer$2(duration, callback);
  5297. return t1.createTimer$2(duration, t1.bindCallbackGuarded$1(callback));
  5298. },
  5299. _rootHandleUncaughtError($self, $parent, zone, error, stackTrace) {
  5300. A._rootHandleError(error, stackTrace);
  5301. },
  5302. _rootHandleError(error, stackTrace) {
  5303. A._schedulePriorityAsyncCallback(new A._rootHandleError_closure(error, stackTrace));
  5304. },
  5305. _rootRun($self, $parent, zone, f) {
  5306. var old,
  5307. t1 = $.Zone__current;
  5308. if (t1 === zone)
  5309. return f.call$0();
  5310. $.Zone__current = zone;
  5311. old = t1;
  5312. try {
  5313. t1 = f.call$0();
  5314. return t1;
  5315. } finally {
  5316. $.Zone__current = old;
  5317. }
  5318. },
  5319. _rootRunUnary($self, $parent, zone, f, arg) {
  5320. var old,
  5321. t1 = $.Zone__current;
  5322. if (t1 === zone)
  5323. return f.call$1(arg);
  5324. $.Zone__current = zone;
  5325. old = t1;
  5326. try {
  5327. t1 = f.call$1(arg);
  5328. return t1;
  5329. } finally {
  5330. $.Zone__current = old;
  5331. }
  5332. },
  5333. _rootRunBinary($self, $parent, zone, f, arg1, arg2) {
  5334. var old,
  5335. t1 = $.Zone__current;
  5336. if (t1 === zone)
  5337. return f.call$2(arg1, arg2);
  5338. $.Zone__current = zone;
  5339. old = t1;
  5340. try {
  5341. t1 = f.call$2(arg1, arg2);
  5342. return t1;
  5343. } finally {
  5344. $.Zone__current = old;
  5345. }
  5346. },
  5347. _rootRegisterCallback($self, $parent, zone, f) {
  5348. return f;
  5349. },
  5350. _rootRegisterUnaryCallback($self, $parent, zone, f) {
  5351. return f;
  5352. },
  5353. _rootRegisterBinaryCallback($self, $parent, zone, f) {
  5354. return f;
  5355. },
  5356. _rootErrorCallback($self, $parent, zone, error, stackTrace) {
  5357. return null;
  5358. },
  5359. _rootScheduleMicrotask($self, $parent, zone, f) {
  5360. var t1, t2;
  5361. if (B.C__RootZone !== zone) {
  5362. t1 = B.C__RootZone.get$errorZone();
  5363. t2 = zone.get$errorZone();
  5364. f = t1 !== t2 ? zone.bindCallbackGuarded$1(f) : zone.bindCallback$1$1(f, type$.void);
  5365. }
  5366. A._scheduleAsyncCallback(f);
  5367. },
  5368. _rootCreateTimer($self, $parent, zone, duration, callback) {
  5369. return A.Timer__createTimer(duration, B.C__RootZone !== zone ? zone.bindCallback$1$1(callback, type$.void) : callback);
  5370. },
  5371. _rootCreatePeriodicTimer($self, $parent, zone, duration, callback) {
  5372. var milliseconds;
  5373. if (B.C__RootZone !== zone)
  5374. callback = zone.bindUnaryCallback$2$1(callback, type$.void, type$.Timer);
  5375. milliseconds = B.JSInt_methods._tdivFast$1(duration._duration, 1000);
  5376. return A._TimerImpl$periodic(milliseconds < 0 ? 0 : milliseconds, callback);
  5377. },
  5378. _rootPrint($self, $parent, zone, line) {
  5379. A.printString(line);
  5380. },
  5381. _printToZone(line) {
  5382. $.Zone__current.print$1(line);
  5383. },
  5384. _rootFork($self, $parent, zone, specification, zoneValues) {
  5385. var valueMap, t1, handleUncaughtError;
  5386. $.printToZone = A.async___printToZone$closure();
  5387. if (specification == null)
  5388. specification = B._ZoneSpecification_Ipa;
  5389. if (zoneValues == null)
  5390. valueMap = zone.get$_async$_map();
  5391. else {
  5392. t1 = type$.nullable_Object;
  5393. valueMap = A.HashMap_HashMap$from(zoneValues, t1, t1);
  5394. }
  5395. 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);
  5396. handleUncaughtError = specification.handleUncaughtError;
  5397. if (handleUncaughtError != null)
  5398. t1._handleUncaughtError = new A._ZoneFunction(t1, handleUncaughtError);
  5399. return t1;
  5400. },
  5401. runZoned(body, zoneValues, $R) {
  5402. return A._runZoned(body, zoneValues, null, $R);
  5403. },
  5404. _runZoned(body, zoneValues, specification, $R) {
  5405. return $.Zone__current.fork$2$specification$zoneValues(specification, zoneValues).run$1$1(0, body, $R);
  5406. },
  5407. _AsyncRun__initializeScheduleImmediate_internalCallback: function _AsyncRun__initializeScheduleImmediate_internalCallback(t0) {
  5408. this._box_0 = t0;
  5409. },
  5410. _AsyncRun__initializeScheduleImmediate_closure: function _AsyncRun__initializeScheduleImmediate_closure(t0, t1, t2) {
  5411. this._box_0 = t0;
  5412. this.div = t1;
  5413. this.span = t2;
  5414. },
  5415. _AsyncRun__scheduleImmediateJsOverride_internalCallback: function _AsyncRun__scheduleImmediateJsOverride_internalCallback(t0) {
  5416. this.callback = t0;
  5417. },
  5418. _AsyncRun__scheduleImmediateWithSetImmediate_internalCallback: function _AsyncRun__scheduleImmediateWithSetImmediate_internalCallback(t0) {
  5419. this.callback = t0;
  5420. },
  5421. _TimerImpl: function _TimerImpl(t0) {
  5422. this._once = t0;
  5423. this._handle = null;
  5424. this._tick = 0;
  5425. },
  5426. _TimerImpl_internalCallback: function _TimerImpl_internalCallback(t0, t1) {
  5427. this.$this = t0;
  5428. this.callback = t1;
  5429. },
  5430. _TimerImpl$periodic_closure: function _TimerImpl$periodic_closure(t0, t1, t2, t3) {
  5431. var _ = this;
  5432. _.$this = t0;
  5433. _.milliseconds = t1;
  5434. _.start = t2;
  5435. _.callback = t3;
  5436. },
  5437. _AsyncAwaitCompleter: function _AsyncAwaitCompleter(t0, t1) {
  5438. this._future = t0;
  5439. this.isSync = false;
  5440. this.$ti = t1;
  5441. },
  5442. _awaitOnObject_closure: function _awaitOnObject_closure(t0) {
  5443. this.bodyFunction = t0;
  5444. },
  5445. _awaitOnObject_closure0: function _awaitOnObject_closure0(t0) {
  5446. this.bodyFunction = t0;
  5447. },
  5448. _wrapJsFunctionForAsync_closure: function _wrapJsFunctionForAsync_closure(t0) {
  5449. this.$protected = t0;
  5450. },
  5451. _SyncStarIterator: function _SyncStarIterator(t0) {
  5452. var _ = this;
  5453. _._body = t0;
  5454. _._suspendedBodies = _._nestedIterator = _._datum = _._async$_current = null;
  5455. },
  5456. _SyncStarIterable: function _SyncStarIterable(t0, t1) {
  5457. this._outerHelper = t0;
  5458. this.$ti = t1;
  5459. },
  5460. AsyncError: function AsyncError(t0, t1) {
  5461. this.error = t0;
  5462. this.stackTrace = t1;
  5463. },
  5464. Future_wait_handleError: function Future_wait_handleError(t0, t1, t2, t3) {
  5465. var _ = this;
  5466. _._box_0 = t0;
  5467. _.cleanUp = t1;
  5468. _.eagerError = t2;
  5469. _._future = t3;
  5470. },
  5471. Future_wait_closure: function Future_wait_closure(t0, t1, t2, t3, t4, t5) {
  5472. var _ = this;
  5473. _._box_0 = t0;
  5474. _.pos = t1;
  5475. _._future = t2;
  5476. _.T = t3;
  5477. _.cleanUp = t4;
  5478. _.eagerError = t5;
  5479. },
  5480. _Completer: function _Completer() {
  5481. },
  5482. _AsyncCompleter: function _AsyncCompleter(t0, t1) {
  5483. this.future = t0;
  5484. this.$ti = t1;
  5485. },
  5486. _SyncCompleter: function _SyncCompleter(t0, t1) {
  5487. this.future = t0;
  5488. this.$ti = t1;
  5489. },
  5490. _FutureListener: function _FutureListener(t0, t1, t2, t3, t4) {
  5491. var _ = this;
  5492. _._nextListener = null;
  5493. _.result = t0;
  5494. _.state = t1;
  5495. _.callback = t2;
  5496. _.errorCallback = t3;
  5497. _.$ti = t4;
  5498. },
  5499. _Future: function _Future(t0, t1) {
  5500. var _ = this;
  5501. _._state = 0;
  5502. _._zone = t0;
  5503. _._resultOrListeners = null;
  5504. _.$ti = t1;
  5505. },
  5506. _Future__addListener_closure: function _Future__addListener_closure(t0, t1) {
  5507. this.$this = t0;
  5508. this.listener = t1;
  5509. },
  5510. _Future__prependListeners_closure: function _Future__prependListeners_closure(t0, t1) {
  5511. this._box_0 = t0;
  5512. this.$this = t1;
  5513. },
  5514. _Future__chainCoreFuture_closure: function _Future__chainCoreFuture_closure(t0, t1) {
  5515. this._box_0 = t0;
  5516. this.target = t1;
  5517. },
  5518. _Future__asyncCompleteWithValue_closure: function _Future__asyncCompleteWithValue_closure(t0, t1) {
  5519. this.$this = t0;
  5520. this.value = t1;
  5521. },
  5522. _Future__asyncCompleteErrorObject_closure: function _Future__asyncCompleteErrorObject_closure(t0, t1) {
  5523. this.$this = t0;
  5524. this.error = t1;
  5525. },
  5526. _Future__propagateToListeners_handleWhenCompleteCallback: function _Future__propagateToListeners_handleWhenCompleteCallback(t0, t1, t2) {
  5527. this._box_0 = t0;
  5528. this._box_1 = t1;
  5529. this.hasError = t2;
  5530. },
  5531. _Future__propagateToListeners_handleWhenCompleteCallback_closure: function _Future__propagateToListeners_handleWhenCompleteCallback_closure(t0, t1) {
  5532. this.joinedResult = t0;
  5533. this.originalSource = t1;
  5534. },
  5535. _Future__propagateToListeners_handleWhenCompleteCallback_closure0: function _Future__propagateToListeners_handleWhenCompleteCallback_closure0(t0) {
  5536. this.joinedResult = t0;
  5537. },
  5538. _Future__propagateToListeners_handleValueCallback: function _Future__propagateToListeners_handleValueCallback(t0, t1) {
  5539. this._box_0 = t0;
  5540. this.sourceResult = t1;
  5541. },
  5542. _Future__propagateToListeners_handleError: function _Future__propagateToListeners_handleError(t0, t1) {
  5543. this._box_1 = t0;
  5544. this._box_0 = t1;
  5545. },
  5546. _AsyncCallbackEntry: function _AsyncCallbackEntry(t0) {
  5547. this.callback = t0;
  5548. this.next = null;
  5549. },
  5550. Stream: function Stream() {
  5551. },
  5552. Stream_Stream$fromFuture_closure: function Stream_Stream$fromFuture_closure(t0, t1) {
  5553. this.controller = t0;
  5554. this.T = t1;
  5555. },
  5556. Stream_Stream$fromFuture_closure0: function Stream_Stream$fromFuture_closure0(t0) {
  5557. this.controller = t0;
  5558. },
  5559. Stream_length_closure: function Stream_length_closure(t0, t1) {
  5560. this._box_0 = t0;
  5561. this.$this = t1;
  5562. },
  5563. Stream_length_closure0: function Stream_length_closure0(t0, t1) {
  5564. this._box_0 = t0;
  5565. this.future = t1;
  5566. },
  5567. _StreamController: function _StreamController() {
  5568. },
  5569. _StreamController__subscribe_closure: function _StreamController__subscribe_closure(t0) {
  5570. this.$this = t0;
  5571. },
  5572. _StreamController__recordCancel_complete: function _StreamController__recordCancel_complete(t0) {
  5573. this.$this = t0;
  5574. },
  5575. _SyncStreamControllerDispatch: function _SyncStreamControllerDispatch() {
  5576. },
  5577. _AsyncStreamControllerDispatch: function _AsyncStreamControllerDispatch() {
  5578. },
  5579. _AsyncStreamController: function _AsyncStreamController(t0, t1, t2, t3, t4) {
  5580. var _ = this;
  5581. _._varData = null;
  5582. _._state = 0;
  5583. _._doneFuture = null;
  5584. _.onListen = t0;
  5585. _.onPause = t1;
  5586. _.onResume = t2;
  5587. _.onCancel = t3;
  5588. _.$ti = t4;
  5589. },
  5590. _SyncStreamController: function _SyncStreamController(t0, t1, t2, t3, t4) {
  5591. var _ = this;
  5592. _._varData = null;
  5593. _._state = 0;
  5594. _._doneFuture = null;
  5595. _.onListen = t0;
  5596. _.onPause = t1;
  5597. _.onResume = t2;
  5598. _.onCancel = t3;
  5599. _.$ti = t4;
  5600. },
  5601. _ControllerStream: function _ControllerStream(t0, t1) {
  5602. this._controller = t0;
  5603. this.$ti = t1;
  5604. },
  5605. _ControllerSubscription: function _ControllerSubscription(t0, t1, t2, t3, t4, t5, t6) {
  5606. var _ = this;
  5607. _._controller = t0;
  5608. _._onData = t1;
  5609. _._onError = t2;
  5610. _._onDone = t3;
  5611. _._zone = t4;
  5612. _._state = t5;
  5613. _._pending = _._cancelFuture = null;
  5614. _.$ti = t6;
  5615. },
  5616. _AddStreamState: function _AddStreamState() {
  5617. },
  5618. _AddStreamState_makeErrorHandler_closure: function _AddStreamState_makeErrorHandler_closure(t0) {
  5619. this.controller = t0;
  5620. },
  5621. _AddStreamState_cancel_closure: function _AddStreamState_cancel_closure(t0) {
  5622. this.$this = t0;
  5623. },
  5624. _StreamControllerAddStreamState: function _StreamControllerAddStreamState(t0, t1, t2) {
  5625. this._varData = t0;
  5626. this.addStreamFuture = t1;
  5627. this.addSubscription = t2;
  5628. },
  5629. _BufferingStreamSubscription: function _BufferingStreamSubscription() {
  5630. },
  5631. _BufferingStreamSubscription__sendError_sendError: function _BufferingStreamSubscription__sendError_sendError(t0, t1, t2) {
  5632. this.$this = t0;
  5633. this.error = t1;
  5634. this.stackTrace = t2;
  5635. },
  5636. _BufferingStreamSubscription__sendDone_sendDone: function _BufferingStreamSubscription__sendDone_sendDone(t0) {
  5637. this.$this = t0;
  5638. },
  5639. _StreamImpl: function _StreamImpl() {
  5640. },
  5641. _DelayedEvent: function _DelayedEvent() {
  5642. },
  5643. _DelayedData: function _DelayedData(t0) {
  5644. this.value = t0;
  5645. this.next = null;
  5646. },
  5647. _DelayedError: function _DelayedError(t0, t1) {
  5648. this.error = t0;
  5649. this.stackTrace = t1;
  5650. this.next = null;
  5651. },
  5652. _DelayedDone: function _DelayedDone() {
  5653. },
  5654. _PendingEvents: function _PendingEvents() {
  5655. this._state = 0;
  5656. this.lastPendingEvent = this.firstPendingEvent = null;
  5657. },
  5658. _PendingEvents_schedule_closure: function _PendingEvents_schedule_closure(t0, t1) {
  5659. this.$this = t0;
  5660. this.dispatch = t1;
  5661. },
  5662. _StreamIterator: function _StreamIterator(t0) {
  5663. this._subscription = null;
  5664. this._stateData = t0;
  5665. this._async$_hasValue = false;
  5666. },
  5667. _ForwardingStream: function _ForwardingStream() {
  5668. },
  5669. _ForwardingStreamSubscription: function _ForwardingStreamSubscription(t0, t1, t2, t3, t4, t5, t6) {
  5670. var _ = this;
  5671. _._stream = t0;
  5672. _._subscription = null;
  5673. _._onData = t1;
  5674. _._onError = t2;
  5675. _._onDone = t3;
  5676. _._zone = t4;
  5677. _._state = t5;
  5678. _._pending = _._cancelFuture = null;
  5679. _.$ti = t6;
  5680. },
  5681. _MapStream: function _MapStream(t0, t1, t2) {
  5682. this._transform = t0;
  5683. this._async$_source = t1;
  5684. this.$ti = t2;
  5685. },
  5686. _ZoneFunction: function _ZoneFunction(t0, t1) {
  5687. this.zone = t0;
  5688. this.$function = t1;
  5689. },
  5690. _ZoneSpecification: function _ZoneSpecification(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12) {
  5691. var _ = this;
  5692. _.handleUncaughtError = t0;
  5693. _.run = t1;
  5694. _.runUnary = t2;
  5695. _.runBinary = t3;
  5696. _.registerCallback = t4;
  5697. _.registerUnaryCallback = t5;
  5698. _.registerBinaryCallback = t6;
  5699. _.errorCallback = t7;
  5700. _.scheduleMicrotask = t8;
  5701. _.createTimer = t9;
  5702. _.createPeriodicTimer = t10;
  5703. _.print = t11;
  5704. _.fork = t12;
  5705. },
  5706. _ZoneDelegate: function _ZoneDelegate(t0) {
  5707. this._delegationTarget = t0;
  5708. },
  5709. _Zone: function _Zone() {
  5710. },
  5711. _CustomZone: function _CustomZone(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14) {
  5712. var _ = this;
  5713. _._run = t0;
  5714. _._runUnary = t1;
  5715. _._runBinary = t2;
  5716. _._registerCallback = t3;
  5717. _._registerUnaryCallback = t4;
  5718. _._registerBinaryCallback = t5;
  5719. _._errorCallback = t6;
  5720. _._scheduleMicrotask = t7;
  5721. _._createTimer = t8;
  5722. _._createPeriodicTimer = t9;
  5723. _._print = t10;
  5724. _._fork = t11;
  5725. _._handleUncaughtError = t12;
  5726. _._delegateCache = null;
  5727. _.parent = t13;
  5728. _._async$_map = t14;
  5729. },
  5730. _CustomZone_bindCallback_closure: function _CustomZone_bindCallback_closure(t0, t1, t2) {
  5731. this.$this = t0;
  5732. this.registered = t1;
  5733. this.R = t2;
  5734. },
  5735. _CustomZone_bindUnaryCallback_closure: function _CustomZone_bindUnaryCallback_closure(t0, t1, t2, t3) {
  5736. var _ = this;
  5737. _.$this = t0;
  5738. _.registered = t1;
  5739. _.T = t2;
  5740. _.R = t3;
  5741. },
  5742. _CustomZone_bindCallbackGuarded_closure: function _CustomZone_bindCallbackGuarded_closure(t0, t1) {
  5743. this.$this = t0;
  5744. this.registered = t1;
  5745. },
  5746. _rootHandleError_closure: function _rootHandleError_closure(t0, t1) {
  5747. this.error = t0;
  5748. this.stackTrace = t1;
  5749. },
  5750. _RootZone: function _RootZone() {
  5751. },
  5752. _RootZone_bindCallback_closure: function _RootZone_bindCallback_closure(t0, t1, t2) {
  5753. this.$this = t0;
  5754. this.f = t1;
  5755. this.R = t2;
  5756. },
  5757. _RootZone_bindUnaryCallback_closure: function _RootZone_bindUnaryCallback_closure(t0, t1, t2, t3) {
  5758. var _ = this;
  5759. _.$this = t0;
  5760. _.f = t1;
  5761. _.T = t2;
  5762. _.R = t3;
  5763. },
  5764. _RootZone_bindCallbackGuarded_closure: function _RootZone_bindCallbackGuarded_closure(t0, t1) {
  5765. this.$this = t0;
  5766. this.f = t1;
  5767. },
  5768. HashMap_HashMap($K, $V) {
  5769. return new A._HashMap($K._eval$1("@<0>")._bind$1($V)._eval$1("_HashMap<1,2>"));
  5770. },
  5771. _HashMap__getTableEntry(table, key) {
  5772. var entry = table[key];
  5773. return entry === table ? null : entry;
  5774. },
  5775. _HashMap__setTableEntry(table, key, value) {
  5776. if (value == null)
  5777. table[key] = table;
  5778. else
  5779. table[key] = value;
  5780. },
  5781. _HashMap__newHashTable() {
  5782. var table = Object.create(null);
  5783. A._HashMap__setTableEntry(table, "<non-identifier-key>", table);
  5784. delete table["<non-identifier-key>"];
  5785. return table;
  5786. },
  5787. LinkedHashMap_LinkedHashMap(equals, hashCode, isValidKey, $K, $V) {
  5788. if (isValidKey == null)
  5789. if (hashCode == null) {
  5790. if (equals == null)
  5791. return new A.JsLinkedHashMap($K._eval$1("@<0>")._bind$1($V)._eval$1("JsLinkedHashMap<1,2>"));
  5792. hashCode = A.collection___defaultHashCode$closure();
  5793. } else {
  5794. if (A.core__identityHashCode$closure() === hashCode && A.core__identical$closure() === equals)
  5795. return new A.JsIdentityLinkedHashMap($K._eval$1("@<0>")._bind$1($V)._eval$1("JsIdentityLinkedHashMap<1,2>"));
  5796. if (equals == null)
  5797. equals = A.collection___defaultEquals$closure();
  5798. }
  5799. else {
  5800. if (hashCode == null)
  5801. hashCode = A.collection___defaultHashCode$closure();
  5802. if (equals == null)
  5803. equals = A.collection___defaultEquals$closure();
  5804. }
  5805. return A._LinkedCustomHashMap$(equals, hashCode, isValidKey, $K, $V);
  5806. },
  5807. LinkedHashMap_LinkedHashMap$_literal(keyValuePairs, $K, $V) {
  5808. return A.fillLiteralMap(keyValuePairs, new A.JsLinkedHashMap($K._eval$1("@<0>")._bind$1($V)._eval$1("JsLinkedHashMap<1,2>")));
  5809. },
  5810. LinkedHashMap_LinkedHashMap$_empty($K, $V) {
  5811. return new A.JsLinkedHashMap($K._eval$1("@<0>")._bind$1($V)._eval$1("JsLinkedHashMap<1,2>"));
  5812. },
  5813. _LinkedCustomHashMap$(_equals, _hashCode, validKey, $K, $V) {
  5814. var t1 = validKey != null ? validKey : new A._LinkedCustomHashMap_closure($K);
  5815. return new A._LinkedCustomHashMap(_equals, _hashCode, t1, $K._eval$1("@<0>")._bind$1($V)._eval$1("_LinkedCustomHashMap<1,2>"));
  5816. },
  5817. LinkedHashSet_LinkedHashSet($E) {
  5818. return new A._LinkedHashSet($E._eval$1("_LinkedHashSet<0>"));
  5819. },
  5820. LinkedHashSet_LinkedHashSet$_empty($E) {
  5821. return new A._LinkedHashSet($E._eval$1("_LinkedHashSet<0>"));
  5822. },
  5823. LinkedHashSet_LinkedHashSet$_literal(values, $E) {
  5824. return A.fillLiteralSet(values, new A._LinkedHashSet($E._eval$1("_LinkedHashSet<0>")));
  5825. },
  5826. _LinkedHashSet__newHashTable() {
  5827. var table = Object.create(null);
  5828. table["<non-identifier-key>"] = table;
  5829. delete table["<non-identifier-key>"];
  5830. return table;
  5831. },
  5832. _LinkedHashSetIterator$(_set, _modifications, $E) {
  5833. var t1 = new A._LinkedHashSetIterator(_set, _modifications, $E._eval$1("_LinkedHashSetIterator<0>"));
  5834. t1._collection$_cell = _set._collection$_first;
  5835. return t1;
  5836. },
  5837. UnmodifiableListView$(source, $E) {
  5838. return new A.UnmodifiableListView(source, $E._eval$1("UnmodifiableListView<0>"));
  5839. },
  5840. _defaultEquals(a, b) {
  5841. return J.$eq$(a, b);
  5842. },
  5843. _defaultHashCode(a) {
  5844. return J.get$hashCode$(a);
  5845. },
  5846. HashMap_HashMap$from(other, $K, $V) {
  5847. var result = A.HashMap_HashMap($K, $V);
  5848. other.forEach$1(0, new A.HashMap_HashMap$from_closure(result, $K, $V));
  5849. return result;
  5850. },
  5851. IterableExtensions_get_firstOrNull(_this) {
  5852. var t2,
  5853. t1 = A._arrayInstanceType(_this),
  5854. iterator = new J.ArrayIterator(_this, _this.length, t1._eval$1("ArrayIterator<1>"));
  5855. if (iterator.moveNext$0()) {
  5856. t2 = iterator._current;
  5857. return t2 == null ? t1._precomputed1._as(t2) : t2;
  5858. }
  5859. return null;
  5860. },
  5861. LinkedHashMap_LinkedHashMap$from(other, $K, $V) {
  5862. var result = A.LinkedHashMap_LinkedHashMap(null, null, null, $K, $V);
  5863. other.forEach$1(0, new A.LinkedHashMap_LinkedHashMap$from_closure(result, $K, $V));
  5864. return result;
  5865. },
  5866. LinkedHashMap_LinkedHashMap$of(other, $K, $V) {
  5867. var t1 = A.LinkedHashMap_LinkedHashMap(null, null, null, $K, $V);
  5868. t1.addAll$1(0, other);
  5869. return t1;
  5870. },
  5871. LinkedHashSet_LinkedHashSet$from(elements, $E) {
  5872. var t1, _i,
  5873. result = A.LinkedHashSet_LinkedHashSet($E);
  5874. for (t1 = elements.length, _i = 0; _i < elements.length; elements.length === t1 || (0, A.throwConcurrentModificationError)(elements), ++_i)
  5875. result.add$1(0, $E._as(elements[_i]));
  5876. return result;
  5877. },
  5878. LinkedHashSet_LinkedHashSet$of(elements, $E) {
  5879. var t1 = A.LinkedHashSet_LinkedHashSet($E);
  5880. t1.addAll$1(0, elements);
  5881. return t1;
  5882. },
  5883. ListBase__compareAny(a, b) {
  5884. var t1 = type$.Comparable_dynamic;
  5885. return J.compareTo$1$ns(t1._as(a), t1._as(b));
  5886. },
  5887. MapBase_mapToString(m) {
  5888. var result, t1;
  5889. if (A.isToStringVisiting(m))
  5890. return "{...}";
  5891. result = new A.StringBuffer("");
  5892. try {
  5893. t1 = {};
  5894. $.toStringVisiting.push(m);
  5895. result._contents += "{";
  5896. t1.first = true;
  5897. m.forEach$1(0, new A.MapBase_mapToString_closure(t1, result));
  5898. result._contents += "}";
  5899. } finally {
  5900. $.toStringVisiting.pop();
  5901. }
  5902. t1 = result._contents;
  5903. return t1.charCodeAt(0) == 0 ? t1 : t1;
  5904. },
  5905. MapBase__fillMapWithIterables(map, keys, values) {
  5906. var keyIterator = keys.get$iterator(keys),
  5907. valueIterator = values.get$iterator(values),
  5908. hasNextKey = keyIterator.moveNext$0(),
  5909. hasNextValue = valueIterator.moveNext$0();
  5910. while (true) {
  5911. if (!(hasNextKey && hasNextValue))
  5912. break;
  5913. map.$indexSet(0, keyIterator.get$current(keyIterator), valueIterator.get$current(valueIterator));
  5914. hasNextKey = keyIterator.moveNext$0();
  5915. hasNextValue = valueIterator.moveNext$0();
  5916. }
  5917. if (hasNextKey || hasNextValue)
  5918. throw A.wrapException(A.ArgumentError$("Iterables do not have same length.", null));
  5919. },
  5920. ListQueue$($E) {
  5921. return new A.ListQueue(A.List_List$filled(A.ListQueue__calculateCapacity(null), null, false, $E._eval$1("0?")), $E._eval$1("ListQueue<0>"));
  5922. },
  5923. ListQueue__calculateCapacity(initialCapacity) {
  5924. return 8;
  5925. },
  5926. ListQueue__nextPowerOf2(number) {
  5927. var nextNumber;
  5928. number = (number << 1 >>> 0) - 1;
  5929. for (; true; number = nextNumber) {
  5930. nextNumber = (number & number - 1) >>> 0;
  5931. if (nextNumber === 0)
  5932. return number;
  5933. }
  5934. },
  5935. _ListQueueIterator$(queue, $E) {
  5936. return new A._ListQueueIterator(queue, queue._tail, queue._modificationCount, queue._head, $E._eval$1("_ListQueueIterator<0>"));
  5937. },
  5938. _UnmodifiableSetMixin__throwUnmodifiable() {
  5939. throw A.wrapException(A.UnsupportedError$("Cannot change an unmodifiable set"));
  5940. },
  5941. _HashMap: function _HashMap(t0) {
  5942. var _ = this;
  5943. _._collection$_length = 0;
  5944. _._collection$_keys = _._collection$_rest = _._collection$_nums = _._collection$_strings = null;
  5945. _.$ti = t0;
  5946. },
  5947. _HashMap_values_closure: function _HashMap_values_closure(t0) {
  5948. this.$this = t0;
  5949. },
  5950. _HashMap_addAll_closure: function _HashMap_addAll_closure(t0) {
  5951. this.$this = t0;
  5952. },
  5953. _IdentityHashMap: function _IdentityHashMap(t0) {
  5954. var _ = this;
  5955. _._collection$_length = 0;
  5956. _._collection$_keys = _._collection$_rest = _._collection$_nums = _._collection$_strings = null;
  5957. _.$ti = t0;
  5958. },
  5959. _HashMapKeyIterable: function _HashMapKeyIterable(t0, t1) {
  5960. this._map = t0;
  5961. this.$ti = t1;
  5962. },
  5963. _HashMapKeyIterator: function _HashMapKeyIterator(t0, t1, t2) {
  5964. var _ = this;
  5965. _._map = t0;
  5966. _._collection$_keys = t1;
  5967. _._offset = 0;
  5968. _._collection$_current = null;
  5969. _.$ti = t2;
  5970. },
  5971. _LinkedCustomHashMap: function _LinkedCustomHashMap(t0, t1, t2, t3) {
  5972. var _ = this;
  5973. _._equals = t0;
  5974. _._hashCode = t1;
  5975. _._validKey = t2;
  5976. _.__js_helper$_length = 0;
  5977. _._last = _._first = _.__js_helper$_rest = _._nums = _._strings = null;
  5978. _._modifications = 0;
  5979. _.$ti = t3;
  5980. },
  5981. _LinkedCustomHashMap_closure: function _LinkedCustomHashMap_closure(t0) {
  5982. this.K = t0;
  5983. },
  5984. _LinkedHashSet: function _LinkedHashSet(t0) {
  5985. var _ = this;
  5986. _._collection$_length = 0;
  5987. _._collection$_last = _._collection$_first = _._collection$_rest = _._collection$_nums = _._collection$_strings = null;
  5988. _._collection$_modifications = 0;
  5989. _.$ti = t0;
  5990. },
  5991. _LinkedIdentityHashSet: function _LinkedIdentityHashSet(t0) {
  5992. var _ = this;
  5993. _._collection$_length = 0;
  5994. _._collection$_last = _._collection$_first = _._collection$_rest = _._collection$_nums = _._collection$_strings = null;
  5995. _._collection$_modifications = 0;
  5996. _.$ti = t0;
  5997. },
  5998. _LinkedHashSetCell: function _LinkedHashSetCell(t0) {
  5999. this._element = t0;
  6000. this._collection$_previous = this._collection$_next = null;
  6001. },
  6002. _LinkedHashSetIterator: function _LinkedHashSetIterator(t0, t1, t2) {
  6003. var _ = this;
  6004. _._set = t0;
  6005. _._collection$_modifications = t1;
  6006. _._collection$_current = _._collection$_cell = null;
  6007. _.$ti = t2;
  6008. },
  6009. UnmodifiableListView: function UnmodifiableListView(t0, t1) {
  6010. this._collection$_source = t0;
  6011. this.$ti = t1;
  6012. },
  6013. HashMap_HashMap$from_closure: function HashMap_HashMap$from_closure(t0, t1, t2) {
  6014. this.result = t0;
  6015. this.K = t1;
  6016. this.V = t2;
  6017. },
  6018. LinkedHashMap_LinkedHashMap$from_closure: function LinkedHashMap_LinkedHashMap$from_closure(t0, t1, t2) {
  6019. this.result = t0;
  6020. this.K = t1;
  6021. this.V = t2;
  6022. },
  6023. ListBase: function ListBase() {
  6024. },
  6025. MapBase: function MapBase() {
  6026. },
  6027. MapBase_addAll_closure: function MapBase_addAll_closure(t0) {
  6028. this.$this = t0;
  6029. },
  6030. MapBase_entries_closure: function MapBase_entries_closure(t0) {
  6031. this.$this = t0;
  6032. },
  6033. MapBase_mapToString_closure: function MapBase_mapToString_closure(t0, t1) {
  6034. this._box_0 = t0;
  6035. this.result = t1;
  6036. },
  6037. UnmodifiableMapBase: function UnmodifiableMapBase() {
  6038. },
  6039. _MapBaseValueIterable: function _MapBaseValueIterable(t0, t1) {
  6040. this._map = t0;
  6041. this.$ti = t1;
  6042. },
  6043. _MapBaseValueIterator: function _MapBaseValueIterator(t0, t1, t2) {
  6044. var _ = this;
  6045. _._collection$_keys = t0;
  6046. _._map = t1;
  6047. _._collection$_current = null;
  6048. _.$ti = t2;
  6049. },
  6050. _UnmodifiableMapMixin: function _UnmodifiableMapMixin() {
  6051. },
  6052. MapView: function MapView() {
  6053. },
  6054. UnmodifiableMapView: function UnmodifiableMapView(t0, t1) {
  6055. this._map = t0;
  6056. this.$ti = t1;
  6057. },
  6058. ListQueue: function ListQueue(t0, t1) {
  6059. var _ = this;
  6060. _._table = t0;
  6061. _._modificationCount = _._tail = _._head = 0;
  6062. _.$ti = t1;
  6063. },
  6064. _ListQueueIterator: function _ListQueueIterator(t0, t1, t2, t3, t4) {
  6065. var _ = this;
  6066. _._queue = t0;
  6067. _._collection$_end = t1;
  6068. _._modificationCount = t2;
  6069. _._collection$_position = t3;
  6070. _._collection$_current = null;
  6071. _.$ti = t4;
  6072. },
  6073. SetBase: function SetBase() {
  6074. },
  6075. _SetBase: function _SetBase() {
  6076. },
  6077. _UnmodifiableSetMixin: function _UnmodifiableSetMixin() {
  6078. },
  6079. UnmodifiableSetView: function UnmodifiableSetView(t0, t1) {
  6080. this._collection$_source = t0;
  6081. this.$ti = t1;
  6082. },
  6083. _UnmodifiableMapView_MapView__UnmodifiableMapMixin: function _UnmodifiableMapView_MapView__UnmodifiableMapMixin() {
  6084. },
  6085. _UnmodifiableSetView_SetBase__UnmodifiableSetMixin: function _UnmodifiableSetView_SetBase__UnmodifiableSetMixin() {
  6086. },
  6087. _parseJson(source, reviver) {
  6088. var e, exception, t1, parsed = null;
  6089. try {
  6090. parsed = JSON.parse(source);
  6091. } catch (exception) {
  6092. e = A.unwrapException(exception);
  6093. t1 = A.FormatException$(String(e), null, null);
  6094. throw A.wrapException(t1);
  6095. }
  6096. t1 = A._convertJsonToDartLazy(parsed);
  6097. return t1;
  6098. },
  6099. _convertJsonToDartLazy(object) {
  6100. var i;
  6101. if (object == null)
  6102. return null;
  6103. if (typeof object != "object")
  6104. return object;
  6105. if (!Array.isArray(object))
  6106. return new A._JsonMap(object, Object.create(null));
  6107. for (i = 0; i < object.length; ++i)
  6108. object[i] = A._convertJsonToDartLazy(object[i]);
  6109. return object;
  6110. },
  6111. _Utf8Decoder__makeNativeUint8List(codeUnits, start, end) {
  6112. var bytes, t1, i, b,
  6113. $length = end - start;
  6114. if ($length <= 4096)
  6115. bytes = $.$get$_Utf8Decoder__reusableBuffer();
  6116. else
  6117. bytes = new Uint8Array($length);
  6118. for (t1 = J.getInterceptor$asx(codeUnits), i = 0; i < $length; ++i) {
  6119. b = t1.$index(codeUnits, start + i);
  6120. if ((b & 255) !== b)
  6121. b = 255;
  6122. bytes[i] = b;
  6123. }
  6124. return bytes;
  6125. },
  6126. _Utf8Decoder__convertInterceptedUint8List(allowMalformed, codeUnits, start, end) {
  6127. var decoder = allowMalformed ? $.$get$_Utf8Decoder__decoderNonfatal() : $.$get$_Utf8Decoder__decoder();
  6128. if (decoder == null)
  6129. return null;
  6130. if (0 === start && end === codeUnits.length)
  6131. return A._Utf8Decoder__useTextDecoder(decoder, codeUnits);
  6132. return A._Utf8Decoder__useTextDecoder(decoder, codeUnits.subarray(start, end));
  6133. },
  6134. _Utf8Decoder__useTextDecoder(decoder, codeUnits) {
  6135. var t1, exception;
  6136. try {
  6137. t1 = decoder.decode(codeUnits);
  6138. return t1;
  6139. } catch (exception) {
  6140. }
  6141. return null;
  6142. },
  6143. Base64Codec__checkPadding(source, sourceIndex, sourceEnd, firstPadding, paddingCount, $length) {
  6144. if (B.JSInt_methods.$mod($length, 4) !== 0)
  6145. throw A.wrapException(A.FormatException$("Invalid base64 padding, padded length must be multiple of four, is " + $length, source, sourceEnd));
  6146. if (firstPadding + paddingCount !== $length)
  6147. throw A.wrapException(A.FormatException$("Invalid base64 padding, '=' not at the end", source, sourceIndex));
  6148. if (paddingCount > 2)
  6149. throw A.wrapException(A.FormatException$("Invalid base64 padding, more than two '=' characters", source, sourceIndex));
  6150. },
  6151. _Base64Encoder_encodeChunk(alphabet, bytes, start, end, isLast, output, outputIndex, state) {
  6152. var t1, t2, i, byteOr, byte, outputIndex0, outputIndex1,
  6153. bits = state >>> 2,
  6154. expectedChars = 3 - (state & 3);
  6155. for (t1 = J.getInterceptor$asx(bytes), t2 = output.$flags | 0, i = start, byteOr = 0; i < end; ++i) {
  6156. byte = t1.$index(bytes, i);
  6157. byteOr = (byteOr | byte) >>> 0;
  6158. bits = (bits << 8 | byte) & 16777215;
  6159. --expectedChars;
  6160. if (expectedChars === 0) {
  6161. outputIndex0 = outputIndex + 1;
  6162. t2 & 2 && A.throwUnsupportedOperation(output);
  6163. output[outputIndex] = alphabet.charCodeAt(bits >>> 18 & 63);
  6164. outputIndex = outputIndex0 + 1;
  6165. output[outputIndex0] = alphabet.charCodeAt(bits >>> 12 & 63);
  6166. outputIndex0 = outputIndex + 1;
  6167. output[outputIndex] = alphabet.charCodeAt(bits >>> 6 & 63);
  6168. outputIndex = outputIndex0 + 1;
  6169. output[outputIndex0] = alphabet.charCodeAt(bits & 63);
  6170. bits = 0;
  6171. expectedChars = 3;
  6172. }
  6173. }
  6174. if (byteOr >= 0 && byteOr <= 255) {
  6175. if (isLast && expectedChars < 3) {
  6176. outputIndex0 = outputIndex + 1;
  6177. outputIndex1 = outputIndex0 + 1;
  6178. if (3 - expectedChars === 1) {
  6179. t2 & 2 && A.throwUnsupportedOperation(output);
  6180. output[outputIndex] = alphabet.charCodeAt(bits >>> 2 & 63);
  6181. output[outputIndex0] = alphabet.charCodeAt(bits << 4 & 63);
  6182. output[outputIndex1] = 61;
  6183. output[outputIndex1 + 1] = 61;
  6184. } else {
  6185. t2 & 2 && A.throwUnsupportedOperation(output);
  6186. output[outputIndex] = alphabet.charCodeAt(bits >>> 10 & 63);
  6187. output[outputIndex0] = alphabet.charCodeAt(bits >>> 4 & 63);
  6188. output[outputIndex1] = alphabet.charCodeAt(bits << 2 & 63);
  6189. output[outputIndex1 + 1] = 61;
  6190. }
  6191. return 0;
  6192. }
  6193. return (bits << 2 | 3 - expectedChars) >>> 0;
  6194. }
  6195. for (i = start; i < end;) {
  6196. byte = t1.$index(bytes, i);
  6197. if (byte < 0 || byte > 255)
  6198. break;
  6199. ++i;
  6200. }
  6201. throw A.wrapException(A.ArgumentError$value(bytes, "Not a byte value at index " + i + ": 0x" + B.JSInt_methods.toRadixString$1(t1.$index(bytes, i), 16), null));
  6202. },
  6203. JsonUnsupportedObjectError$(unsupportedObject, cause, partialResult) {
  6204. return new A.JsonUnsupportedObjectError(unsupportedObject, cause);
  6205. },
  6206. _defaultToEncodable(object) {
  6207. return object.toJson$0();
  6208. },
  6209. _JsonStringStringifier$(_sink, _toEncodable) {
  6210. return new A._JsonStringStringifier(_sink, [], A.convert___defaultToEncodable$closure());
  6211. },
  6212. _JsonStringStringifier_stringify(object, toEncodable, indent) {
  6213. var t1,
  6214. output = new A.StringBuffer(""),
  6215. stringifier = A._JsonStringStringifier$(output, toEncodable);
  6216. stringifier.writeObject$1(object);
  6217. t1 = output._contents;
  6218. return t1.charCodeAt(0) == 0 ? t1 : t1;
  6219. },
  6220. _Utf8Decoder_errorDescription(state) {
  6221. switch (state) {
  6222. case 65:
  6223. return "Missing extension byte";
  6224. case 67:
  6225. return "Unexpected extension byte";
  6226. case 69:
  6227. return "Invalid UTF-8 byte";
  6228. case 71:
  6229. return "Overlong encoding";
  6230. case 73:
  6231. return "Out of unicode range";
  6232. case 75:
  6233. return "Encoded surrogate";
  6234. case 77:
  6235. return "Unfinished UTF-8 octet sequence";
  6236. default:
  6237. return "";
  6238. }
  6239. },
  6240. _JsonMap: function _JsonMap(t0, t1) {
  6241. this._original = t0;
  6242. this._processed = t1;
  6243. this._data = null;
  6244. },
  6245. _JsonMap_values_closure: function _JsonMap_values_closure(t0) {
  6246. this.$this = t0;
  6247. },
  6248. _JsonMap_addAll_closure: function _JsonMap_addAll_closure(t0) {
  6249. this.$this = t0;
  6250. },
  6251. _JsonMapKeyIterable: function _JsonMapKeyIterable(t0) {
  6252. this._convert$_parent = t0;
  6253. },
  6254. _Utf8Decoder__decoder_closure: function _Utf8Decoder__decoder_closure() {
  6255. },
  6256. _Utf8Decoder__decoderNonfatal_closure: function _Utf8Decoder__decoderNonfatal_closure() {
  6257. },
  6258. AsciiCodec: function AsciiCodec() {
  6259. },
  6260. _UnicodeSubsetEncoder: function _UnicodeSubsetEncoder() {
  6261. },
  6262. AsciiEncoder: function AsciiEncoder(t0) {
  6263. this._subsetMask = t0;
  6264. },
  6265. Base64Codec: function Base64Codec() {
  6266. },
  6267. Base64Encoder: function Base64Encoder() {
  6268. },
  6269. _Base64Encoder: function _Base64Encoder(t0) {
  6270. this._convert$_state = 0;
  6271. this._alphabet = t0;
  6272. },
  6273. _Base64EncoderSink: function _Base64EncoderSink() {
  6274. },
  6275. _Utf8Base64EncoderSink: function _Utf8Base64EncoderSink(t0, t1) {
  6276. this._sink = t0;
  6277. this._encoder = t1;
  6278. },
  6279. ByteConversionSink: function ByteConversionSink() {
  6280. },
  6281. Codec: function Codec() {
  6282. },
  6283. Converter: function Converter() {
  6284. },
  6285. Encoding: function Encoding() {
  6286. },
  6287. JsonUnsupportedObjectError: function JsonUnsupportedObjectError(t0, t1) {
  6288. this.unsupportedObject = t0;
  6289. this.cause = t1;
  6290. },
  6291. JsonCyclicError: function JsonCyclicError(t0, t1) {
  6292. this.unsupportedObject = t0;
  6293. this.cause = t1;
  6294. },
  6295. JsonCodec: function JsonCodec() {
  6296. },
  6297. JsonEncoder: function JsonEncoder(t0) {
  6298. this._toEncodable = t0;
  6299. },
  6300. JsonDecoder: function JsonDecoder(t0) {
  6301. this._reviver = t0;
  6302. },
  6303. _JsonStringifier: function _JsonStringifier() {
  6304. },
  6305. _JsonStringifier_writeMap_closure: function _JsonStringifier_writeMap_closure(t0, t1) {
  6306. this._box_0 = t0;
  6307. this.keyValueList = t1;
  6308. },
  6309. _JsonStringStringifier: function _JsonStringStringifier(t0, t1, t2) {
  6310. this._sink = t0;
  6311. this._seen = t1;
  6312. this._toEncodable = t2;
  6313. },
  6314. StringConversionSink: function StringConversionSink() {
  6315. },
  6316. _StringSinkConversionSink: function _StringSinkConversionSink(t0) {
  6317. this._stringSink = t0;
  6318. },
  6319. _StringCallbackSink: function _StringCallbackSink(t0, t1) {
  6320. this._convert$_callback = t0;
  6321. this._stringSink = t1;
  6322. },
  6323. _Utf8StringSinkAdapter: function _Utf8StringSinkAdapter(t0, t1, t2) {
  6324. this._decoder = t0;
  6325. this._sink = t1;
  6326. this._stringSink = t2;
  6327. },
  6328. Utf8Codec: function Utf8Codec() {
  6329. },
  6330. Utf8Encoder: function Utf8Encoder() {
  6331. },
  6332. _Utf8Encoder: function _Utf8Encoder(t0) {
  6333. this._bufferIndex = 0;
  6334. this._buffer = t0;
  6335. },
  6336. Utf8Decoder: function Utf8Decoder(t0) {
  6337. this._allowMalformed = t0;
  6338. },
  6339. _Utf8Decoder: function _Utf8Decoder(t0) {
  6340. this.allowMalformed = t0;
  6341. this._convert$_state = 16;
  6342. this._charOrIndex = 0;
  6343. },
  6344. identityHashCode(object) {
  6345. return A.objectHashCode(object);
  6346. },
  6347. Function_apply($function, positionalArguments) {
  6348. return A.Primitives_applyFunction($function, positionalArguments, null);
  6349. },
  6350. Expando$() {
  6351. return new A.Expando(new WeakMap());
  6352. },
  6353. Expando__checkType(object) {
  6354. if (A._isBool(object) || typeof object == "number" || typeof object == "string" || object instanceof A._Record)
  6355. A.Expando__badExpandoKey(object);
  6356. },
  6357. Expando__badExpandoKey(object) {
  6358. throw A.wrapException(A.ArgumentError$value(object, "object", "Expandos are not allowed on strings, numbers, bools, records or null"));
  6359. },
  6360. int_parse(source, radix) {
  6361. var value = A.Primitives_parseInt(source, radix);
  6362. if (value != null)
  6363. return value;
  6364. throw A.wrapException(A.FormatException$(source, null, null));
  6365. },
  6366. double_parse(source) {
  6367. var value = A.Primitives_parseDouble(source);
  6368. if (value != null)
  6369. return value;
  6370. throw A.wrapException(A.FormatException$("Invalid double", source, null));
  6371. },
  6372. Error__throw(error, stackTrace) {
  6373. error = A.initializeExceptionWrapper(error, new Error());
  6374. error.stack = stackTrace.toString$0(0);
  6375. throw error;
  6376. },
  6377. List_List$filled($length, fill, growable, $E) {
  6378. var i,
  6379. result = growable ? J.JSArray_JSArray$growable($length, $E) : J.JSArray_JSArray$fixed($length, $E);
  6380. if ($length !== 0 && fill != null)
  6381. for (i = 0; i < result.length; ++i)
  6382. result[i] = fill;
  6383. return result;
  6384. },
  6385. List_List$from(elements, growable, $E) {
  6386. var t1,
  6387. list = A._setArrayType([], $E._eval$1("JSArray<0>"));
  6388. for (t1 = J.get$iterator$ax(elements); t1.moveNext$0();)
  6389. list.push(t1.get$current(t1));
  6390. if (growable)
  6391. return list;
  6392. list.$flags = 1;
  6393. return list;
  6394. },
  6395. List_List$of(elements, growable, $E) {
  6396. var t1;
  6397. if (growable)
  6398. t1 = A.List_List$_of(elements, $E);
  6399. else {
  6400. t1 = A.List_List$_of(elements, $E);
  6401. t1.$flags = 1;
  6402. t1 = t1;
  6403. }
  6404. return t1;
  6405. },
  6406. List_List$_of(elements, $E) {
  6407. var list, t1;
  6408. if (Array.isArray(elements))
  6409. return A._setArrayType(elements.slice(0), $E._eval$1("JSArray<0>"));
  6410. list = A._setArrayType([], $E._eval$1("JSArray<0>"));
  6411. for (t1 = J.get$iterator$ax(elements); t1.moveNext$0();)
  6412. list.push(t1.get$current(t1));
  6413. return list;
  6414. },
  6415. List_List$unmodifiable(elements, $E) {
  6416. var result = A.List_List$from(elements, false, $E);
  6417. result.$flags = 3;
  6418. return result;
  6419. },
  6420. String_String$fromCharCodes(charCodes, start, end) {
  6421. var t1, t2, maxLength, array, len;
  6422. A.RangeError_checkNotNegative(start, "start");
  6423. t1 = end == null;
  6424. t2 = !t1;
  6425. if (t2) {
  6426. maxLength = end - start;
  6427. if (maxLength < 0)
  6428. throw A.wrapException(A.RangeError$range(end, start, null, "end", null));
  6429. if (maxLength === 0)
  6430. return "";
  6431. }
  6432. if (Array.isArray(charCodes)) {
  6433. array = charCodes;
  6434. len = array.length;
  6435. if (t1)
  6436. end = len;
  6437. return A.Primitives_stringFromCharCodes(start > 0 || end < len ? array.slice(start, end) : array);
  6438. }
  6439. if (type$.NativeUint8List._is(charCodes))
  6440. return A.String__stringFromUint8List(charCodes, start, end);
  6441. if (t2)
  6442. charCodes = J.take$1$ax(charCodes, end);
  6443. if (start > 0)
  6444. charCodes = J.skip$1$ax(charCodes, start);
  6445. t1 = A.List_List$_of(charCodes, type$.int);
  6446. return A.Primitives_stringFromCharCodes(t1);
  6447. },
  6448. String_String$fromCharCode(charCode) {
  6449. return A.Primitives_stringFromCharCode(charCode);
  6450. },
  6451. String__stringFromUint8List(charCodes, start, endOrNull) {
  6452. var len = charCodes.length;
  6453. if (start >= len)
  6454. return "";
  6455. return A.Primitives_stringFromNativeUint8List(charCodes, start, endOrNull == null || endOrNull > len ? len : endOrNull);
  6456. },
  6457. RegExp_RegExp(source, multiLine) {
  6458. return new A.JSSyntaxRegExp(source, A.JSSyntaxRegExp_makeNative(source, multiLine, true, false, false, ""));
  6459. },
  6460. identical(a, b) {
  6461. return a == null ? b == null : a === b;
  6462. },
  6463. StringBuffer__writeAll(string, objects, separator) {
  6464. var iterator = J.get$iterator$ax(objects);
  6465. if (!iterator.moveNext$0())
  6466. return string;
  6467. if (separator.length === 0) {
  6468. do
  6469. string += A.S(iterator.get$current(iterator));
  6470. while (iterator.moveNext$0());
  6471. } else {
  6472. string += A.S(iterator.get$current(iterator));
  6473. for (; iterator.moveNext$0();)
  6474. string = string + separator + A.S(iterator.get$current(iterator));
  6475. }
  6476. return string;
  6477. },
  6478. NoSuchMethodError_NoSuchMethodError$withInvocation(receiver, invocation) {
  6479. return new A.NoSuchMethodError(receiver, invocation.get$memberName(), invocation.get$positionalArguments(), invocation.get$namedArguments());
  6480. },
  6481. Uri_base() {
  6482. var cachedUri, uri,
  6483. current = A.Primitives_currentUri();
  6484. if (current == null)
  6485. throw A.wrapException(A.UnsupportedError$("'Uri.base' is not supported"));
  6486. cachedUri = $.Uri__cachedBaseUri;
  6487. if (cachedUri != null && current === $.Uri__cachedBaseString)
  6488. return cachedUri;
  6489. uri = A.Uri_parse(current);
  6490. $.Uri__cachedBaseUri = uri;
  6491. $.Uri__cachedBaseString = current;
  6492. return uri;
  6493. },
  6494. _Uri__uriEncode(canonicalMask, text, encoding, spaceToPlus) {
  6495. var t1, bytes, i, t2, byte,
  6496. _s16_ = "0123456789ABCDEF";
  6497. if (encoding === B.C_Utf8Codec) {
  6498. t1 = $.$get$_Uri__needsNoEncoding();
  6499. t1 = t1._nativeRegExp.test(text);
  6500. } else
  6501. t1 = false;
  6502. if (t1)
  6503. return text;
  6504. bytes = B.C_Utf8Encoder.convert$1(text);
  6505. for (t1 = bytes.length, i = 0, t2 = ""; i < t1; ++i) {
  6506. byte = bytes[i];
  6507. if (byte < 128 && (string$.x00_____.charCodeAt(byte) & canonicalMask) !== 0)
  6508. t2 += A.Primitives_stringFromCharCode(byte);
  6509. else
  6510. t2 = spaceToPlus && byte === 32 ? t2 + "+" : t2 + "%" + _s16_[byte >>> 4 & 15] + _s16_[byte & 15];
  6511. }
  6512. return t2.charCodeAt(0) == 0 ? t2 : t2;
  6513. },
  6514. StackTrace_current() {
  6515. return A.getTraceFromException(new Error());
  6516. },
  6517. DateTime__fourDigits(n) {
  6518. var absN = Math.abs(n),
  6519. sign = n < 0 ? "-" : "";
  6520. if (absN >= 1000)
  6521. return "" + n;
  6522. if (absN >= 100)
  6523. return sign + "0" + absN;
  6524. if (absN >= 10)
  6525. return sign + "00" + absN;
  6526. return sign + "000" + absN;
  6527. },
  6528. DateTime__threeDigits(n) {
  6529. if (n >= 100)
  6530. return "" + n;
  6531. if (n >= 10)
  6532. return "0" + n;
  6533. return "00" + n;
  6534. },
  6535. DateTime__twoDigits(n) {
  6536. if (n >= 10)
  6537. return "" + n;
  6538. return "0" + n;
  6539. },
  6540. Duration$(microseconds, milliseconds) {
  6541. return new A.Duration(microseconds + 1000 * milliseconds);
  6542. },
  6543. EnumByName_byName(_this, $name) {
  6544. var _i, value;
  6545. for (_i = 0; _i < 4; ++_i) {
  6546. value = _this[_i];
  6547. if (value._name === $name)
  6548. return value;
  6549. }
  6550. throw A.wrapException(A.ArgumentError$value($name, "name", "No enum value with that name"));
  6551. },
  6552. Error_safeToString(object) {
  6553. if (typeof object == "number" || A._isBool(object) || object == null)
  6554. return J.toString$0$(object);
  6555. if (typeof object == "string")
  6556. return JSON.stringify(object);
  6557. return A.Primitives_safeToString(object);
  6558. },
  6559. Error_throwWithStackTrace(error, stackTrace) {
  6560. A.checkNotNullable(error, "error", type$.Object);
  6561. A.checkNotNullable(stackTrace, "stackTrace", type$.StackTrace);
  6562. A.Error__throw(error, stackTrace);
  6563. },
  6564. AssertionError$(message) {
  6565. return new A.AssertionError(message);
  6566. },
  6567. ArgumentError$(message, $name) {
  6568. return new A.ArgumentError(false, null, $name, message);
  6569. },
  6570. ArgumentError$value(value, $name, message) {
  6571. return new A.ArgumentError(true, value, $name, message);
  6572. },
  6573. ArgumentError_checkNotNull(argument, $name) {
  6574. return argument;
  6575. },
  6576. RangeError$(message) {
  6577. var _null = null;
  6578. return new A.RangeError(_null, _null, false, _null, _null, message);
  6579. },
  6580. RangeError$value(value, $name, message) {
  6581. return new A.RangeError(null, null, true, value, $name, message == null ? "Value not in range" : message);
  6582. },
  6583. RangeError$range(invalidValue, minValue, maxValue, $name, message) {
  6584. return new A.RangeError(minValue, maxValue, true, invalidValue, $name, message == null ? "Invalid value" : message);
  6585. },
  6586. RangeError_checkValueInInterval(value, minValue, maxValue, $name) {
  6587. if (value < minValue || value > maxValue)
  6588. throw A.wrapException(A.RangeError$range(value, minValue, maxValue, $name, null));
  6589. return value;
  6590. },
  6591. RangeError_checkValidRange(start, end, $length) {
  6592. if (0 > start || start > $length)
  6593. throw A.wrapException(A.RangeError$range(start, 0, $length, "start", null));
  6594. if (end != null) {
  6595. if (start > end || end > $length)
  6596. throw A.wrapException(A.RangeError$range(end, start, $length, "end", null));
  6597. return end;
  6598. }
  6599. return $length;
  6600. },
  6601. RangeError_checkNotNegative(value, $name) {
  6602. if (value < 0)
  6603. throw A.wrapException(A.RangeError$range(value, 0, null, $name, null));
  6604. return value;
  6605. },
  6606. IndexError$withLength(invalidValue, $length, indexable, message, $name) {
  6607. return new A.IndexError($length, true, invalidValue, $name, "Index out of range");
  6608. },
  6609. IndexError_check(index, $length, indexable, message, $name) {
  6610. if (0 > index || index >= $length)
  6611. throw A.wrapException(A.IndexError$withLength(index, $length, indexable, message, $name == null ? "index" : $name));
  6612. return index;
  6613. },
  6614. UnsupportedError$(message) {
  6615. return new A.UnsupportedError(message);
  6616. },
  6617. UnimplementedError$(message) {
  6618. return new A.UnimplementedError(message);
  6619. },
  6620. StateError$(message) {
  6621. return new A.StateError(message);
  6622. },
  6623. ConcurrentModificationError$(modifiedObject) {
  6624. return new A.ConcurrentModificationError(modifiedObject);
  6625. },
  6626. FormatException$(message, source, offset) {
  6627. return new A.FormatException(message, source, offset);
  6628. },
  6629. Iterable_Iterable$generate(count, generator, $E) {
  6630. if (count <= 0)
  6631. return new A.EmptyIterable($E._eval$1("EmptyIterable<0>"));
  6632. return new A._GeneratorIterable(count, generator, $E._eval$1("_GeneratorIterable<0>"));
  6633. },
  6634. Iterable_iterableToShortString(iterable, leftDelimiter, rightDelimiter) {
  6635. var parts, t1;
  6636. if (A.isToStringVisiting(iterable)) {
  6637. if (leftDelimiter === "(" && rightDelimiter === ")")
  6638. return "(...)";
  6639. return leftDelimiter + "..." + rightDelimiter;
  6640. }
  6641. parts = A._setArrayType([], type$.JSArray_String);
  6642. $.toStringVisiting.push(iterable);
  6643. try {
  6644. A._iterablePartsToStrings(iterable, parts);
  6645. } finally {
  6646. $.toStringVisiting.pop();
  6647. }
  6648. t1 = A.StringBuffer__writeAll(leftDelimiter, parts, ", ") + rightDelimiter;
  6649. return t1.charCodeAt(0) == 0 ? t1 : t1;
  6650. },
  6651. Iterable_iterableToFullString(iterable, leftDelimiter, rightDelimiter) {
  6652. var buffer, t1;
  6653. if (A.isToStringVisiting(iterable))
  6654. return leftDelimiter + "..." + rightDelimiter;
  6655. buffer = new A.StringBuffer(leftDelimiter);
  6656. $.toStringVisiting.push(iterable);
  6657. try {
  6658. t1 = buffer;
  6659. t1._contents = A.StringBuffer__writeAll(t1._contents, iterable, ", ");
  6660. } finally {
  6661. $.toStringVisiting.pop();
  6662. }
  6663. buffer._contents += rightDelimiter;
  6664. t1 = buffer._contents;
  6665. return t1.charCodeAt(0) == 0 ? t1 : t1;
  6666. },
  6667. _iterablePartsToStrings(iterable, parts) {
  6668. var next, ultimateString, penultimateString, penultimate, ultimate, ultimate0, elision,
  6669. it = iterable.get$iterator(iterable),
  6670. $length = 0, count = 0;
  6671. while (true) {
  6672. if (!($length < 80 || count < 3))
  6673. break;
  6674. if (!it.moveNext$0())
  6675. return;
  6676. next = A.S(it.get$current(it));
  6677. parts.push(next);
  6678. $length += next.length + 2;
  6679. ++count;
  6680. }
  6681. if (!it.moveNext$0()) {
  6682. if (count <= 5)
  6683. return;
  6684. ultimateString = parts.pop();
  6685. penultimateString = parts.pop();
  6686. } else {
  6687. penultimate = it.get$current(it);
  6688. ++count;
  6689. if (!it.moveNext$0()) {
  6690. if (count <= 4) {
  6691. parts.push(A.S(penultimate));
  6692. return;
  6693. }
  6694. ultimateString = A.S(penultimate);
  6695. penultimateString = parts.pop();
  6696. $length += ultimateString.length + 2;
  6697. } else {
  6698. ultimate = it.get$current(it);
  6699. ++count;
  6700. for (; it.moveNext$0(); penultimate = ultimate, ultimate = ultimate0) {
  6701. ultimate0 = it.get$current(it);
  6702. ++count;
  6703. if (count > 100) {
  6704. while (true) {
  6705. if (!($length > 75 && count > 3))
  6706. break;
  6707. $length -= parts.pop().length + 2;
  6708. --count;
  6709. }
  6710. parts.push("...");
  6711. return;
  6712. }
  6713. }
  6714. penultimateString = A.S(penultimate);
  6715. ultimateString = A.S(ultimate);
  6716. $length += ultimateString.length + penultimateString.length + 4;
  6717. }
  6718. }
  6719. if (count > parts.length + 2) {
  6720. $length += 5;
  6721. elision = "...";
  6722. } else
  6723. elision = null;
  6724. while (true) {
  6725. if (!($length > 80 && parts.length > 3))
  6726. break;
  6727. $length -= parts.pop().length + 2;
  6728. if (elision == null) {
  6729. $length += 5;
  6730. elision = "...";
  6731. }
  6732. }
  6733. if (elision != null)
  6734. parts.push(elision);
  6735. parts.push(penultimateString);
  6736. parts.push(ultimateString);
  6737. },
  6738. Map_castFrom(source, $K, $V, K2, V2) {
  6739. 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>"));
  6740. },
  6741. Object_hash(object1, object2, object3, object4) {
  6742. var t1;
  6743. if (B.C_SentinelValue === object3) {
  6744. t1 = J.get$hashCode$(object1);
  6745. object2 = J.get$hashCode$(object2);
  6746. return A.SystemHash_finish(A.SystemHash_combine(A.SystemHash_combine($.$get$_hashSeed(), t1), object2));
  6747. }
  6748. if (B.C_SentinelValue === object4) {
  6749. t1 = J.get$hashCode$(object1);
  6750. object2 = J.get$hashCode$(object2);
  6751. object3 = J.get$hashCode$(object3);
  6752. return A.SystemHash_finish(A.SystemHash_combine(A.SystemHash_combine(A.SystemHash_combine($.$get$_hashSeed(), t1), object2), object3));
  6753. }
  6754. t1 = J.get$hashCode$(object1);
  6755. object2 = J.get$hashCode$(object2);
  6756. object3 = J.get$hashCode$(object3);
  6757. object4 = J.get$hashCode$(object4);
  6758. object4 = A.SystemHash_finish(A.SystemHash_combine(A.SystemHash_combine(A.SystemHash_combine(A.SystemHash_combine($.$get$_hashSeed(), t1), object2), object3), object4));
  6759. return object4;
  6760. },
  6761. Object_hashAll(objects) {
  6762. var t1, _i,
  6763. hash = $.$get$_hashSeed();
  6764. for (t1 = objects.length, _i = 0; _i < objects.length; objects.length === t1 || (0, A.throwConcurrentModificationError)(objects), ++_i)
  6765. hash = A.SystemHash_combine(hash, J.get$hashCode$(objects[_i]));
  6766. return A.SystemHash_finish(hash);
  6767. },
  6768. print(object) {
  6769. var line = A.S(object),
  6770. toZone = $.printToZone;
  6771. if (toZone == null)
  6772. A.printString(line);
  6773. else
  6774. toZone.call$1(line);
  6775. },
  6776. Set_Set$unmodifiable(elements, $E) {
  6777. return new A.UnmodifiableSetView(A.LinkedHashSet_LinkedHashSet$of(elements, $E), $E._eval$1("UnmodifiableSetView<0>"));
  6778. },
  6779. Set_castFrom(source, newSet, $S, $T) {
  6780. return new A.CastSet(source, newSet, $S._eval$1("@<0>")._bind$1($T)._eval$1("CastSet<1,2>"));
  6781. },
  6782. _combineSurrogatePair(start, end) {
  6783. return 65536 + ((start & 1023) << 10) + (end & 1023);
  6784. },
  6785. Uri_Uri$dataFromString($content, encoding, mimeType) {
  6786. var encodingName, t1,
  6787. buffer = new A.StringBuffer(""),
  6788. indices = A._setArrayType([-1], type$.JSArray_int);
  6789. if (encoding == null)
  6790. encodingName = null;
  6791. else
  6792. encodingName = "utf-8";
  6793. if (encoding == null)
  6794. encoding = B.C_AsciiCodec;
  6795. A.UriData__writeUri(mimeType, encodingName, null, buffer, indices);
  6796. indices.push(buffer._contents.length);
  6797. buffer._contents += ",";
  6798. A.UriData__uriEncodeBytes(256, encoding.encode$1($content), buffer);
  6799. t1 = buffer._contents;
  6800. return new A.UriData(t1.charCodeAt(0) == 0 ? t1 : t1, indices, null).get$uri();
  6801. },
  6802. Uri_parse(uri) {
  6803. var delta, indices, schemeEnd, hostStart, portStart, pathStart, queryStart, fragmentStart, isSimple, scheme, t1, t2, schemeAuth, queryStart0, pathStart0, port, userInfoStart, userInfo, host, portNumber, path, query, _null = null,
  6804. end = uri.length;
  6805. if (end >= 5) {
  6806. delta = ((uri.charCodeAt(4) ^ 58) * 3 | uri.charCodeAt(0) ^ 100 | uri.charCodeAt(1) ^ 97 | uri.charCodeAt(2) ^ 116 | uri.charCodeAt(3) ^ 97) >>> 0;
  6807. if (delta === 0)
  6808. return A.UriData__parse(end < end ? B.JSString_methods.substring$2(uri, 0, end) : uri, 5, _null).get$uri();
  6809. else if (delta === 32)
  6810. return A.UriData__parse(B.JSString_methods.substring$2(uri, 5, end), 0, _null).get$uri();
  6811. }
  6812. indices = A.List_List$filled(8, 0, false, type$.int);
  6813. indices[0] = 0;
  6814. indices[1] = -1;
  6815. indices[2] = -1;
  6816. indices[7] = -1;
  6817. indices[3] = 0;
  6818. indices[4] = 0;
  6819. indices[5] = end;
  6820. indices[6] = end;
  6821. if (A._scan(uri, 0, end, 0, indices) >= 14)
  6822. indices[7] = end;
  6823. schemeEnd = indices[1];
  6824. if (schemeEnd >= 0)
  6825. if (A._scan(uri, 0, schemeEnd, 20, indices) === 20)
  6826. indices[7] = schemeEnd;
  6827. hostStart = indices[2] + 1;
  6828. portStart = indices[3];
  6829. pathStart = indices[4];
  6830. queryStart = indices[5];
  6831. fragmentStart = indices[6];
  6832. if (fragmentStart < queryStart)
  6833. queryStart = fragmentStart;
  6834. if (pathStart < hostStart)
  6835. pathStart = queryStart;
  6836. else if (pathStart <= schemeEnd)
  6837. pathStart = schemeEnd + 1;
  6838. if (portStart < hostStart)
  6839. portStart = pathStart;
  6840. isSimple = indices[7] < 0;
  6841. scheme = _null;
  6842. if (isSimple) {
  6843. isSimple = false;
  6844. if (!(hostStart > schemeEnd + 3)) {
  6845. t1 = portStart > 0;
  6846. if (!(t1 && portStart + 1 === pathStart)) {
  6847. if (!B.JSString_methods.startsWith$2(uri, "\\", pathStart))
  6848. if (hostStart > 0)
  6849. t2 = B.JSString_methods.startsWith$2(uri, "\\", hostStart - 1) || B.JSString_methods.startsWith$2(uri, "\\", hostStart - 2);
  6850. else
  6851. t2 = false;
  6852. else
  6853. t2 = true;
  6854. if (!t2) {
  6855. if (!(queryStart < end && queryStart === pathStart + 2 && B.JSString_methods.startsWith$2(uri, "..", pathStart)))
  6856. t2 = queryStart > pathStart + 2 && B.JSString_methods.startsWith$2(uri, "/..", queryStart - 3);
  6857. else
  6858. t2 = true;
  6859. if (!t2)
  6860. if (schemeEnd === 4) {
  6861. if (B.JSString_methods.startsWith$2(uri, "file", 0)) {
  6862. if (hostStart <= 0) {
  6863. if (!B.JSString_methods.startsWith$2(uri, "/", pathStart)) {
  6864. schemeAuth = "file:///";
  6865. delta = 3;
  6866. } else {
  6867. schemeAuth = "file://";
  6868. delta = 2;
  6869. }
  6870. uri = schemeAuth + B.JSString_methods.substring$2(uri, pathStart, end);
  6871. queryStart += delta;
  6872. fragmentStart += delta;
  6873. end = uri.length;
  6874. hostStart = 7;
  6875. portStart = 7;
  6876. pathStart = 7;
  6877. } else if (pathStart === queryStart) {
  6878. ++fragmentStart;
  6879. queryStart0 = queryStart + 1;
  6880. uri = B.JSString_methods.replaceRange$3(uri, pathStart, queryStart, "/");
  6881. ++end;
  6882. queryStart = queryStart0;
  6883. }
  6884. scheme = "file";
  6885. } else if (B.JSString_methods.startsWith$2(uri, "http", 0)) {
  6886. if (t1 && portStart + 3 === pathStart && B.JSString_methods.startsWith$2(uri, "80", portStart + 1)) {
  6887. fragmentStart -= 3;
  6888. pathStart0 = pathStart - 3;
  6889. queryStart -= 3;
  6890. uri = B.JSString_methods.replaceRange$3(uri, portStart, pathStart, "");
  6891. end -= 3;
  6892. pathStart = pathStart0;
  6893. }
  6894. scheme = "http";
  6895. }
  6896. } else if (schemeEnd === 5 && B.JSString_methods.startsWith$2(uri, "https", 0)) {
  6897. if (t1 && portStart + 4 === pathStart && B.JSString_methods.startsWith$2(uri, "443", portStart + 1)) {
  6898. fragmentStart -= 4;
  6899. pathStart0 = pathStart - 4;
  6900. queryStart -= 4;
  6901. uri = B.JSString_methods.replaceRange$3(uri, portStart, pathStart, "");
  6902. end -= 3;
  6903. pathStart = pathStart0;
  6904. }
  6905. scheme = "https";
  6906. }
  6907. isSimple = !t2;
  6908. }
  6909. }
  6910. }
  6911. }
  6912. if (isSimple)
  6913. return new A._SimpleUri(end < uri.length ? B.JSString_methods.substring$2(uri, 0, end) : uri, schemeEnd, hostStart, portStart, pathStart, queryStart, fragmentStart, scheme);
  6914. if (scheme == null)
  6915. if (schemeEnd > 0)
  6916. scheme = A._Uri__makeScheme(uri, 0, schemeEnd);
  6917. else {
  6918. if (schemeEnd === 0)
  6919. A._Uri__fail(uri, 0, "Invalid empty scheme");
  6920. scheme = "";
  6921. }
  6922. port = _null;
  6923. if (hostStart > 0) {
  6924. userInfoStart = schemeEnd + 3;
  6925. userInfo = userInfoStart < hostStart ? A._Uri__makeUserInfo(uri, userInfoStart, hostStart - 1) : "";
  6926. host = A._Uri__makeHost(uri, hostStart, portStart, false);
  6927. t1 = portStart + 1;
  6928. if (t1 < pathStart) {
  6929. portNumber = A.Primitives_parseInt(B.JSString_methods.substring$2(uri, t1, pathStart), _null);
  6930. port = A._Uri__makePort(portNumber == null ? A.throwExpression(A.FormatException$("Invalid port", uri, t1)) : portNumber, scheme);
  6931. }
  6932. } else {
  6933. host = _null;
  6934. userInfo = "";
  6935. }
  6936. path = A._Uri__makePath(uri, pathStart, queryStart, _null, scheme, host != null);
  6937. query = queryStart < fragmentStart ? A._Uri__makeQuery(uri, queryStart + 1, fragmentStart, _null) : _null;
  6938. return A._Uri$_internal(scheme, userInfo, host, port, path, query, fragmentStart < end ? A._Uri__makeFragment(uri, fragmentStart + 1, end) : _null);
  6939. },
  6940. Uri_decodeComponent(encodedComponent) {
  6941. return A._Uri__uriDecode(encodedComponent, 0, encodedComponent.length, B.C_Utf8Codec, false);
  6942. },
  6943. Uri__parseIPv4Address(host, start, end) {
  6944. var i, partStart, partIndex, char, part, partIndex0,
  6945. _s43_ = "IPv4 address should contain exactly 4 parts",
  6946. _s37_ = "each part must be in the range 0..255",
  6947. error = new A.Uri__parseIPv4Address_error(host),
  6948. result = new Uint8Array(4);
  6949. for (i = start, partStart = i, partIndex = 0; i < end; ++i) {
  6950. char = host.charCodeAt(i);
  6951. if (char !== 46) {
  6952. if ((char ^ 48) > 9)
  6953. error.call$2("invalid character", i);
  6954. } else {
  6955. if (partIndex === 3)
  6956. error.call$2(_s43_, i);
  6957. part = A.int_parse(B.JSString_methods.substring$2(host, partStart, i), null);
  6958. if (part > 255)
  6959. error.call$2(_s37_, partStart);
  6960. partIndex0 = partIndex + 1;
  6961. result[partIndex] = part;
  6962. partStart = i + 1;
  6963. partIndex = partIndex0;
  6964. }
  6965. }
  6966. if (partIndex !== 3)
  6967. error.call$2(_s43_, end);
  6968. part = A.int_parse(B.JSString_methods.substring$2(host, partStart, end), null);
  6969. if (part > 255)
  6970. error.call$2(_s37_, partStart);
  6971. result[partIndex] = part;
  6972. return result;
  6973. },
  6974. Uri_parseIPv6Address(host, start, end) {
  6975. var parts, i, partStart, wildcardSeen, seenDot, char, atEnd, t1, last, bytes, wildCardLength, index, value, j, _null = null,
  6976. error = new A.Uri_parseIPv6Address_error(host),
  6977. parseHex = new A.Uri_parseIPv6Address_parseHex(error, host);
  6978. if (host.length < 2)
  6979. error.call$2("address is too short", _null);
  6980. parts = A._setArrayType([], type$.JSArray_int);
  6981. for (i = start, partStart = i, wildcardSeen = false, seenDot = false; i < end; ++i) {
  6982. char = host.charCodeAt(i);
  6983. if (char === 58) {
  6984. if (i === start) {
  6985. ++i;
  6986. if (host.charCodeAt(i) !== 58)
  6987. error.call$2("invalid start colon.", i);
  6988. partStart = i;
  6989. }
  6990. if (i === partStart) {
  6991. if (wildcardSeen)
  6992. error.call$2("only one wildcard `::` is allowed", i);
  6993. parts.push(-1);
  6994. wildcardSeen = true;
  6995. } else
  6996. parts.push(parseHex.call$2(partStart, i));
  6997. partStart = i + 1;
  6998. } else if (char === 46)
  6999. seenDot = true;
  7000. }
  7001. if (parts.length === 0)
  7002. error.call$2("too few parts", _null);
  7003. atEnd = partStart === end;
  7004. t1 = B.JSArray_methods.get$last(parts);
  7005. if (atEnd && t1 !== -1)
  7006. error.call$2("expected a part after last `:`", end);
  7007. if (!atEnd)
  7008. if (!seenDot)
  7009. parts.push(parseHex.call$2(partStart, end));
  7010. else {
  7011. last = A.Uri__parseIPv4Address(host, partStart, end);
  7012. parts.push((last[0] << 8 | last[1]) >>> 0);
  7013. parts.push((last[2] << 8 | last[3]) >>> 0);
  7014. }
  7015. if (wildcardSeen) {
  7016. if (parts.length > 7)
  7017. error.call$2("an address with a wildcard must have less than 7 parts", _null);
  7018. } else if (parts.length !== 8)
  7019. error.call$2("an address without a wildcard must contain exactly 8 parts", _null);
  7020. bytes = new Uint8Array(16);
  7021. for (t1 = parts.length, wildCardLength = 9 - t1, i = 0, index = 0; i < t1; ++i) {
  7022. value = parts[i];
  7023. if (value === -1)
  7024. for (j = 0; j < wildCardLength; ++j) {
  7025. bytes[index] = 0;
  7026. bytes[index + 1] = 0;
  7027. index += 2;
  7028. }
  7029. else {
  7030. bytes[index] = B.JSInt_methods._shrOtherPositive$1(value, 8);
  7031. bytes[index + 1] = value & 255;
  7032. index += 2;
  7033. }
  7034. }
  7035. return bytes;
  7036. },
  7037. _Uri$_internal(scheme, _userInfo, _host, _port, path, _query, _fragment) {
  7038. return new A._Uri(scheme, _userInfo, _host, _port, path, _query, _fragment);
  7039. },
  7040. _Uri__Uri(host, path, pathSegments, scheme) {
  7041. var userInfo, query, fragment, port, isFile, t1, hasAuthority, t2, _null = null;
  7042. scheme = scheme == null ? "" : A._Uri__makeScheme(scheme, 0, scheme.length);
  7043. userInfo = A._Uri__makeUserInfo(_null, 0, 0);
  7044. host = A._Uri__makeHost(host, 0, host == null ? 0 : host.length, false);
  7045. query = A._Uri__makeQuery(_null, 0, 0, _null);
  7046. fragment = A._Uri__makeFragment(_null, 0, 0);
  7047. port = A._Uri__makePort(_null, scheme);
  7048. isFile = scheme === "file";
  7049. if (host == null)
  7050. t1 = userInfo.length !== 0 || port != null || isFile;
  7051. else
  7052. t1 = false;
  7053. if (t1)
  7054. host = "";
  7055. t1 = host == null;
  7056. hasAuthority = !t1;
  7057. path = A._Uri__makePath(path, 0, path == null ? 0 : path.length, pathSegments, scheme, hasAuthority);
  7058. t2 = scheme.length === 0;
  7059. if (t2 && t1 && !B.JSString_methods.startsWith$1(path, "/"))
  7060. path = A._Uri__normalizeRelativePath(path, !t2 || hasAuthority);
  7061. else
  7062. path = A._Uri__removeDotSegments(path);
  7063. return A._Uri$_internal(scheme, userInfo, t1 && B.JSString_methods.startsWith$1(path, "//") ? "" : host, port, path, query, fragment);
  7064. },
  7065. _Uri__defaultPort(scheme) {
  7066. if (scheme === "http")
  7067. return 80;
  7068. if (scheme === "https")
  7069. return 443;
  7070. return 0;
  7071. },
  7072. _Uri__fail(uri, index, message) {
  7073. throw A.wrapException(A.FormatException$(message, uri, index));
  7074. },
  7075. _Uri__Uri$file(path, windows) {
  7076. return windows ? A._Uri__makeWindowsFileUrl(path, false) : A._Uri__makeFileUri(path, false);
  7077. },
  7078. _Uri__checkNonWindowsPathReservedCharacters(segments, argumentError) {
  7079. var t1, _i, segment;
  7080. for (t1 = segments.length, _i = 0; _i < t1; ++_i) {
  7081. segment = segments[_i];
  7082. if (A.stringContainsUnchecked(segment, "/", 0)) {
  7083. t1 = A.UnsupportedError$("Illegal path character " + segment);
  7084. throw A.wrapException(t1);
  7085. }
  7086. }
  7087. },
  7088. _Uri__checkWindowsPathReservedCharacters(segments, argumentError, firstSegment) {
  7089. var t1, t2, t3, t4;
  7090. for (t1 = A.SubListIterable$(segments, firstSegment, null, A._arrayInstanceType(segments)._precomputed1), t2 = t1.$ti, t1 = new A.ListIterator(t1, t1.get$length(0), t2._eval$1("ListIterator<ListIterable.E>")), t2 = t2._eval$1("ListIterable.E"); t1.moveNext$0();) {
  7091. t3 = t1.__internal$_current;
  7092. if (t3 == null)
  7093. t3 = t2._as(t3);
  7094. t4 = A.RegExp_RegExp('["*/:<>?\\\\|]', false);
  7095. if (A.stringContainsUnchecked(t3, t4, 0))
  7096. if (argumentError)
  7097. throw A.wrapException(A.ArgumentError$("Illegal character in path", null));
  7098. else
  7099. throw A.wrapException(A.UnsupportedError$("Illegal character in path: " + t3));
  7100. }
  7101. },
  7102. _Uri__checkWindowsDriveLetter(charCode, argumentError) {
  7103. var t1,
  7104. _s21_ = "Illegal drive letter ";
  7105. if (!(65 <= charCode && charCode <= 90))
  7106. t1 = 97 <= charCode && charCode <= 122;
  7107. else
  7108. t1 = true;
  7109. if (t1)
  7110. return;
  7111. if (argumentError)
  7112. throw A.wrapException(A.ArgumentError$(_s21_ + A.String_String$fromCharCode(charCode), null));
  7113. else
  7114. throw A.wrapException(A.UnsupportedError$(_s21_ + A.String_String$fromCharCode(charCode)));
  7115. },
  7116. _Uri__makeFileUri(path, slashTerminated) {
  7117. var _null = null,
  7118. segments = A._setArrayType(path.split("/"), type$.JSArray_String);
  7119. if (B.JSString_methods.startsWith$1(path, "/"))
  7120. return A._Uri__Uri(_null, _null, segments, "file");
  7121. else
  7122. return A._Uri__Uri(_null, _null, segments, _null);
  7123. },
  7124. _Uri__makeWindowsFileUrl(path, slashTerminated) {
  7125. var t1, pathSegments, pathStart, hostPart, _s1_ = "\\", _null = null, _s4_ = "file";
  7126. if (B.JSString_methods.startsWith$1(path, "\\\\?\\"))
  7127. if (B.JSString_methods.startsWith$2(path, "UNC\\", 4))
  7128. path = B.JSString_methods.replaceRange$3(path, 0, 7, _s1_);
  7129. else {
  7130. path = B.JSString_methods.substring$1(path, 4);
  7131. if (path.length < 3 || path.charCodeAt(1) !== 58 || path.charCodeAt(2) !== 92)
  7132. throw A.wrapException(A.ArgumentError$value(path, "path", "Windows paths with \\\\?\\ prefix must be absolute"));
  7133. }
  7134. else
  7135. path = A.stringReplaceAllUnchecked(path, "/", _s1_);
  7136. t1 = path.length;
  7137. if (t1 > 1 && path.charCodeAt(1) === 58) {
  7138. A._Uri__checkWindowsDriveLetter(path.charCodeAt(0), true);
  7139. if (t1 === 2 || path.charCodeAt(2) !== 92)
  7140. throw A.wrapException(A.ArgumentError$value(path, "path", "Windows paths with drive letter must be absolute"));
  7141. pathSegments = A._setArrayType(path.split(_s1_), type$.JSArray_String);
  7142. A._Uri__checkWindowsPathReservedCharacters(pathSegments, true, 1);
  7143. return A._Uri__Uri(_null, _null, pathSegments, _s4_);
  7144. }
  7145. if (B.JSString_methods.startsWith$1(path, _s1_))
  7146. if (B.JSString_methods.startsWith$2(path, _s1_, 1)) {
  7147. pathStart = B.JSString_methods.indexOf$2(path, _s1_, 2);
  7148. t1 = pathStart < 0;
  7149. hostPart = t1 ? B.JSString_methods.substring$1(path, 2) : B.JSString_methods.substring$2(path, 2, pathStart);
  7150. pathSegments = A._setArrayType((t1 ? "" : B.JSString_methods.substring$1(path, pathStart + 1)).split(_s1_), type$.JSArray_String);
  7151. A._Uri__checkWindowsPathReservedCharacters(pathSegments, true, 0);
  7152. return A._Uri__Uri(hostPart, _null, pathSegments, _s4_);
  7153. } else {
  7154. pathSegments = A._setArrayType(path.split(_s1_), type$.JSArray_String);
  7155. A._Uri__checkWindowsPathReservedCharacters(pathSegments, true, 0);
  7156. return A._Uri__Uri(_null, _null, pathSegments, _s4_);
  7157. }
  7158. else {
  7159. pathSegments = A._setArrayType(path.split(_s1_), type$.JSArray_String);
  7160. A._Uri__checkWindowsPathReservedCharacters(pathSegments, true, 0);
  7161. return A._Uri__Uri(_null, _null, pathSegments, _null);
  7162. }
  7163. },
  7164. _Uri__makePort(port, scheme) {
  7165. if (port != null && port === A._Uri__defaultPort(scheme))
  7166. return null;
  7167. return port;
  7168. },
  7169. _Uri__makeHost(host, start, end, strictIPv6) {
  7170. var t1, t2, index, zoneIDstart, zoneID, i;
  7171. if (host == null)
  7172. return null;
  7173. if (start === end)
  7174. return "";
  7175. if (host.charCodeAt(start) === 91) {
  7176. t1 = end - 1;
  7177. if (host.charCodeAt(t1) !== 93)
  7178. A._Uri__fail(host, start, "Missing end `]` to match `[` in host");
  7179. t2 = start + 1;
  7180. index = A._Uri__checkZoneID(host, t2, t1);
  7181. if (index < t1) {
  7182. zoneIDstart = index + 1;
  7183. zoneID = A._Uri__normalizeZoneID(host, B.JSString_methods.startsWith$2(host, "25", zoneIDstart) ? index + 3 : zoneIDstart, t1, "%25");
  7184. } else
  7185. zoneID = "";
  7186. A.Uri_parseIPv6Address(host, t2, index);
  7187. return B.JSString_methods.substring$2(host, start, index).toLowerCase() + zoneID + "]";
  7188. }
  7189. for (i = start; i < end; ++i)
  7190. if (host.charCodeAt(i) === 58) {
  7191. index = B.JSString_methods.indexOf$2(host, "%", start);
  7192. index = index >= start && index < end ? index : end;
  7193. if (index < end) {
  7194. zoneIDstart = index + 1;
  7195. zoneID = A._Uri__normalizeZoneID(host, B.JSString_methods.startsWith$2(host, "25", zoneIDstart) ? index + 3 : zoneIDstart, end, "%25");
  7196. } else
  7197. zoneID = "";
  7198. A.Uri_parseIPv6Address(host, start, index);
  7199. return "[" + B.JSString_methods.substring$2(host, start, index) + zoneID + "]";
  7200. }
  7201. return A._Uri__normalizeRegName(host, start, end);
  7202. },
  7203. _Uri__checkZoneID(host, start, end) {
  7204. var index = B.JSString_methods.indexOf$2(host, "%", start);
  7205. return index >= start && index < end ? index : end;
  7206. },
  7207. _Uri__normalizeZoneID(host, start, end, prefix) {
  7208. var index, sectionStart, isNormalized, char, replacement, t1, t2, sourceLength, tail, slice,
  7209. buffer = prefix !== "" ? new A.StringBuffer(prefix) : null;
  7210. for (index = start, sectionStart = index, isNormalized = true; index < end;) {
  7211. char = host.charCodeAt(index);
  7212. if (char === 37) {
  7213. replacement = A._Uri__normalizeEscape(host, index, true);
  7214. t1 = replacement == null;
  7215. if (t1 && isNormalized) {
  7216. index += 3;
  7217. continue;
  7218. }
  7219. if (buffer == null)
  7220. buffer = new A.StringBuffer("");
  7221. t2 = buffer._contents += B.JSString_methods.substring$2(host, sectionStart, index);
  7222. if (t1)
  7223. replacement = B.JSString_methods.substring$2(host, index, index + 3);
  7224. else if (replacement === "%")
  7225. A._Uri__fail(host, index, "ZoneID should not contain % anymore");
  7226. buffer._contents = t2 + replacement;
  7227. index += 3;
  7228. sectionStart = index;
  7229. isNormalized = true;
  7230. } else if (char < 127 && (string$.x00_____.charCodeAt(char) & 1) !== 0) {
  7231. if (isNormalized && 65 <= char && 90 >= char) {
  7232. if (buffer == null)
  7233. buffer = new A.StringBuffer("");
  7234. if (sectionStart < index) {
  7235. buffer._contents += B.JSString_methods.substring$2(host, sectionStart, index);
  7236. sectionStart = index;
  7237. }
  7238. isNormalized = false;
  7239. }
  7240. ++index;
  7241. } else {
  7242. sourceLength = 1;
  7243. if ((char & 64512) === 55296 && index + 1 < end) {
  7244. tail = host.charCodeAt(index + 1);
  7245. if ((tail & 64512) === 56320) {
  7246. char = 65536 + ((char & 1023) << 10) + (tail & 1023);
  7247. sourceLength = 2;
  7248. }
  7249. }
  7250. slice = B.JSString_methods.substring$2(host, sectionStart, index);
  7251. if (buffer == null) {
  7252. buffer = new A.StringBuffer("");
  7253. t1 = buffer;
  7254. } else
  7255. t1 = buffer;
  7256. t1._contents += slice;
  7257. t2 = A._Uri__escapeChar(char);
  7258. t1._contents += t2;
  7259. index += sourceLength;
  7260. sectionStart = index;
  7261. }
  7262. }
  7263. if (buffer == null)
  7264. return B.JSString_methods.substring$2(host, start, end);
  7265. if (sectionStart < end) {
  7266. slice = B.JSString_methods.substring$2(host, sectionStart, end);
  7267. buffer._contents += slice;
  7268. }
  7269. t1 = buffer._contents;
  7270. return t1.charCodeAt(0) == 0 ? t1 : t1;
  7271. },
  7272. _Uri__normalizeRegName(host, start, end) {
  7273. var index, sectionStart, buffer, isNormalized, char, replacement, t1, slice, t2, sourceLength, tail,
  7274. _s128_ = string$.x00_____;
  7275. for (index = start, sectionStart = index, buffer = null, isNormalized = true; index < end;) {
  7276. char = host.charCodeAt(index);
  7277. if (char === 37) {
  7278. replacement = A._Uri__normalizeEscape(host, index, true);
  7279. t1 = replacement == null;
  7280. if (t1 && isNormalized) {
  7281. index += 3;
  7282. continue;
  7283. }
  7284. if (buffer == null)
  7285. buffer = new A.StringBuffer("");
  7286. slice = B.JSString_methods.substring$2(host, sectionStart, index);
  7287. if (!isNormalized)
  7288. slice = slice.toLowerCase();
  7289. t2 = buffer._contents += slice;
  7290. sourceLength = 3;
  7291. if (t1)
  7292. replacement = B.JSString_methods.substring$2(host, index, index + 3);
  7293. else if (replacement === "%") {
  7294. replacement = "%25";
  7295. sourceLength = 1;
  7296. }
  7297. buffer._contents = t2 + replacement;
  7298. index += sourceLength;
  7299. sectionStart = index;
  7300. isNormalized = true;
  7301. } else if (char < 127 && (_s128_.charCodeAt(char) & 32) !== 0) {
  7302. if (isNormalized && 65 <= char && 90 >= char) {
  7303. if (buffer == null)
  7304. buffer = new A.StringBuffer("");
  7305. if (sectionStart < index) {
  7306. buffer._contents += B.JSString_methods.substring$2(host, sectionStart, index);
  7307. sectionStart = index;
  7308. }
  7309. isNormalized = false;
  7310. }
  7311. ++index;
  7312. } else if (char <= 93 && (_s128_.charCodeAt(char) & 1024) !== 0)
  7313. A._Uri__fail(host, index, "Invalid character");
  7314. else {
  7315. sourceLength = 1;
  7316. if ((char & 64512) === 55296 && index + 1 < end) {
  7317. tail = host.charCodeAt(index + 1);
  7318. if ((tail & 64512) === 56320) {
  7319. char = 65536 + ((char & 1023) << 10) + (tail & 1023);
  7320. sourceLength = 2;
  7321. }
  7322. }
  7323. slice = B.JSString_methods.substring$2(host, sectionStart, index);
  7324. if (!isNormalized)
  7325. slice = slice.toLowerCase();
  7326. if (buffer == null) {
  7327. buffer = new A.StringBuffer("");
  7328. t1 = buffer;
  7329. } else
  7330. t1 = buffer;
  7331. t1._contents += slice;
  7332. t2 = A._Uri__escapeChar(char);
  7333. t1._contents += t2;
  7334. index += sourceLength;
  7335. sectionStart = index;
  7336. }
  7337. }
  7338. if (buffer == null)
  7339. return B.JSString_methods.substring$2(host, start, end);
  7340. if (sectionStart < end) {
  7341. slice = B.JSString_methods.substring$2(host, sectionStart, end);
  7342. if (!isNormalized)
  7343. slice = slice.toLowerCase();
  7344. buffer._contents += slice;
  7345. }
  7346. t1 = buffer._contents;
  7347. return t1.charCodeAt(0) == 0 ? t1 : t1;
  7348. },
  7349. _Uri__makeScheme(scheme, start, end) {
  7350. var i, containsUpperCase, codeUnit;
  7351. if (start === end)
  7352. return "";
  7353. if (!A._Uri__isAlphabeticCharacter(scheme.charCodeAt(start)))
  7354. A._Uri__fail(scheme, start, "Scheme not starting with alphabetic character");
  7355. for (i = start, containsUpperCase = false; i < end; ++i) {
  7356. codeUnit = scheme.charCodeAt(i);
  7357. if (!(codeUnit < 128 && (string$.x00_____.charCodeAt(codeUnit) & 8) !== 0))
  7358. A._Uri__fail(scheme, i, "Illegal scheme character");
  7359. if (65 <= codeUnit && codeUnit <= 90)
  7360. containsUpperCase = true;
  7361. }
  7362. scheme = B.JSString_methods.substring$2(scheme, start, end);
  7363. return A._Uri__canonicalizeScheme(containsUpperCase ? scheme.toLowerCase() : scheme);
  7364. },
  7365. _Uri__canonicalizeScheme(scheme) {
  7366. if (scheme === "http")
  7367. return "http";
  7368. if (scheme === "file")
  7369. return "file";
  7370. if (scheme === "https")
  7371. return "https";
  7372. if (scheme === "package")
  7373. return "package";
  7374. return scheme;
  7375. },
  7376. _Uri__makeUserInfo(userInfo, start, end) {
  7377. if (userInfo == null)
  7378. return "";
  7379. return A._Uri__normalizeOrSubstring(userInfo, start, end, 16, false, false);
  7380. },
  7381. _Uri__makePath(path, start, end, pathSegments, scheme, hasAuthority) {
  7382. var result,
  7383. isFile = scheme === "file",
  7384. ensureLeadingSlash = isFile || hasAuthority;
  7385. if (path == null) {
  7386. if (pathSegments == null)
  7387. return isFile ? "/" : "";
  7388. result = new A.MappedListIterable(pathSegments, new A._Uri__makePath_closure(), A._arrayInstanceType(pathSegments)._eval$1("MappedListIterable<1,String>")).join$1(0, "/");
  7389. } else if (pathSegments != null)
  7390. throw A.wrapException(A.ArgumentError$("Both path and pathSegments specified", null));
  7391. else
  7392. result = A._Uri__normalizeOrSubstring(path, start, end, 128, true, true);
  7393. if (result.length === 0) {
  7394. if (isFile)
  7395. return "/";
  7396. } else if (ensureLeadingSlash && !B.JSString_methods.startsWith$1(result, "/"))
  7397. result = "/" + result;
  7398. return A._Uri__normalizePath(result, scheme, hasAuthority);
  7399. },
  7400. _Uri__normalizePath(path, scheme, hasAuthority) {
  7401. var t1 = scheme.length === 0;
  7402. if (t1 && !hasAuthority && !B.JSString_methods.startsWith$1(path, "/") && !B.JSString_methods.startsWith$1(path, "\\"))
  7403. return A._Uri__normalizeRelativePath(path, !t1 || hasAuthority);
  7404. return A._Uri__removeDotSegments(path);
  7405. },
  7406. _Uri__makeQuery(query, start, end, queryParameters) {
  7407. if (query != null)
  7408. return A._Uri__normalizeOrSubstring(query, start, end, 256, true, false);
  7409. return null;
  7410. },
  7411. _Uri__makeFragment(fragment, start, end) {
  7412. if (fragment == null)
  7413. return null;
  7414. return A._Uri__normalizeOrSubstring(fragment, start, end, 256, true, false);
  7415. },
  7416. _Uri__normalizeEscape(source, index, lowerCase) {
  7417. var firstDigit, secondDigit, firstDigitValue, secondDigitValue, value,
  7418. t1 = index + 2;
  7419. if (t1 >= source.length)
  7420. return "%";
  7421. firstDigit = source.charCodeAt(index + 1);
  7422. secondDigit = source.charCodeAt(t1);
  7423. firstDigitValue = A.hexDigitValue(firstDigit);
  7424. secondDigitValue = A.hexDigitValue(secondDigit);
  7425. if (firstDigitValue < 0 || secondDigitValue < 0)
  7426. return "%";
  7427. value = firstDigitValue * 16 + secondDigitValue;
  7428. if (value < 127 && (string$.x00_____.charCodeAt(value) & 1) !== 0)
  7429. return A.Primitives_stringFromCharCode(lowerCase && 65 <= value && 90 >= value ? (value | 32) >>> 0 : value);
  7430. if (firstDigit >= 97 || secondDigit >= 97)
  7431. return B.JSString_methods.substring$2(source, index, index + 3).toUpperCase();
  7432. return null;
  7433. },
  7434. _Uri__escapeChar(char) {
  7435. var codeUnits, flag, encodedBytes, index, byte,
  7436. _s16_ = "0123456789ABCDEF";
  7437. if (char <= 127) {
  7438. codeUnits = new Uint8Array(3);
  7439. codeUnits[0] = 37;
  7440. codeUnits[1] = _s16_.charCodeAt(char >>> 4);
  7441. codeUnits[2] = _s16_.charCodeAt(char & 15);
  7442. } else {
  7443. if (char > 2047)
  7444. if (char > 65535) {
  7445. flag = 240;
  7446. encodedBytes = 4;
  7447. } else {
  7448. flag = 224;
  7449. encodedBytes = 3;
  7450. }
  7451. else {
  7452. flag = 192;
  7453. encodedBytes = 2;
  7454. }
  7455. codeUnits = new Uint8Array(3 * encodedBytes);
  7456. for (index = 0; --encodedBytes, encodedBytes >= 0; flag = 128) {
  7457. byte = B.JSInt_methods._shrReceiverPositive$1(char, 6 * encodedBytes) & 63 | flag;
  7458. codeUnits[index] = 37;
  7459. codeUnits[index + 1] = _s16_.charCodeAt(byte >>> 4);
  7460. codeUnits[index + 2] = _s16_.charCodeAt(byte & 15);
  7461. index += 3;
  7462. }
  7463. }
  7464. return A.String_String$fromCharCodes(codeUnits, 0, null);
  7465. },
  7466. _Uri__normalizeOrSubstring(component, start, end, charMask, escapeDelimiters, replaceBackslash) {
  7467. var t1 = A._Uri__normalize(component, start, end, charMask, escapeDelimiters, replaceBackslash);
  7468. return t1 == null ? B.JSString_methods.substring$2(component, start, end) : t1;
  7469. },
  7470. _Uri__normalize(component, start, end, charMask, escapeDelimiters, replaceBackslash) {
  7471. var t1, index, sectionStart, buffer, char, sourceLength, replacement, t2, tail, _null = null,
  7472. _s128_ = string$.x00_____;
  7473. for (t1 = !escapeDelimiters, index = start, sectionStart = index, buffer = _null; index < end;) {
  7474. char = component.charCodeAt(index);
  7475. if (char < 127 && (_s128_.charCodeAt(char) & charMask) !== 0)
  7476. ++index;
  7477. else {
  7478. sourceLength = 1;
  7479. if (char === 37) {
  7480. replacement = A._Uri__normalizeEscape(component, index, false);
  7481. if (replacement == null) {
  7482. index += 3;
  7483. continue;
  7484. }
  7485. if ("%" === replacement)
  7486. replacement = "%25";
  7487. else
  7488. sourceLength = 3;
  7489. } else if (char === 92 && replaceBackslash)
  7490. replacement = "/";
  7491. else if (t1 && char <= 93 && (_s128_.charCodeAt(char) & 1024) !== 0) {
  7492. A._Uri__fail(component, index, "Invalid character");
  7493. sourceLength = _null;
  7494. replacement = sourceLength;
  7495. } else {
  7496. if ((char & 64512) === 55296) {
  7497. t2 = index + 1;
  7498. if (t2 < end) {
  7499. tail = component.charCodeAt(t2);
  7500. if ((tail & 64512) === 56320) {
  7501. char = 65536 + ((char & 1023) << 10) + (tail & 1023);
  7502. sourceLength = 2;
  7503. }
  7504. }
  7505. }
  7506. replacement = A._Uri__escapeChar(char);
  7507. }
  7508. if (buffer == null) {
  7509. buffer = new A.StringBuffer("");
  7510. t2 = buffer;
  7511. } else
  7512. t2 = buffer;
  7513. t2._contents = (t2._contents += B.JSString_methods.substring$2(component, sectionStart, index)) + replacement;
  7514. index += sourceLength;
  7515. sectionStart = index;
  7516. }
  7517. }
  7518. if (buffer == null)
  7519. return _null;
  7520. if (sectionStart < end) {
  7521. t1 = B.JSString_methods.substring$2(component, sectionStart, end);
  7522. buffer._contents += t1;
  7523. }
  7524. t1 = buffer._contents;
  7525. return t1.charCodeAt(0) == 0 ? t1 : t1;
  7526. },
  7527. _Uri__mayContainDotSegments(path) {
  7528. if (B.JSString_methods.startsWith$1(path, "."))
  7529. return true;
  7530. return B.JSString_methods.indexOf$1(path, "/.") !== -1;
  7531. },
  7532. _Uri__removeDotSegments(path) {
  7533. var output, t1, t2, appendSlash, _i, segment;
  7534. if (!A._Uri__mayContainDotSegments(path))
  7535. return path;
  7536. output = A._setArrayType([], type$.JSArray_String);
  7537. for (t1 = path.split("/"), t2 = t1.length, appendSlash = false, _i = 0; _i < t2; ++_i) {
  7538. segment = t1[_i];
  7539. if (segment === "..") {
  7540. if (output.length !== 0) {
  7541. output.pop();
  7542. if (output.length === 0)
  7543. output.push("");
  7544. }
  7545. appendSlash = true;
  7546. } else {
  7547. appendSlash = "." === segment;
  7548. if (!appendSlash)
  7549. output.push(segment);
  7550. }
  7551. }
  7552. if (appendSlash)
  7553. output.push("");
  7554. return B.JSArray_methods.join$1(output, "/");
  7555. },
  7556. _Uri__normalizeRelativePath(path, allowScheme) {
  7557. var output, t1, t2, appendSlash, _i, segment;
  7558. if (!A._Uri__mayContainDotSegments(path))
  7559. return !allowScheme ? A._Uri__escapeScheme(path) : path;
  7560. output = A._setArrayType([], type$.JSArray_String);
  7561. for (t1 = path.split("/"), t2 = t1.length, appendSlash = false, _i = 0; _i < t2; ++_i) {
  7562. segment = t1[_i];
  7563. if (".." === segment) {
  7564. appendSlash = output.length !== 0 && B.JSArray_methods.get$last(output) !== "..";
  7565. if (appendSlash)
  7566. output.pop();
  7567. else
  7568. output.push("..");
  7569. } else {
  7570. appendSlash = "." === segment;
  7571. if (!appendSlash)
  7572. output.push(segment);
  7573. }
  7574. }
  7575. t1 = output.length;
  7576. if (t1 !== 0)
  7577. t1 = t1 === 1 && output[0].length === 0;
  7578. else
  7579. t1 = true;
  7580. if (t1)
  7581. return "./";
  7582. if (appendSlash || B.JSArray_methods.get$last(output) === "..")
  7583. output.push("");
  7584. if (!allowScheme)
  7585. output[0] = A._Uri__escapeScheme(output[0]);
  7586. return B.JSArray_methods.join$1(output, "/");
  7587. },
  7588. _Uri__escapeScheme(path) {
  7589. var i, char,
  7590. t1 = path.length;
  7591. if (t1 >= 2 && A._Uri__isAlphabeticCharacter(path.charCodeAt(0)))
  7592. for (i = 1; i < t1; ++i) {
  7593. char = path.charCodeAt(i);
  7594. if (char === 58)
  7595. return B.JSString_methods.substring$2(path, 0, i) + "%3A" + B.JSString_methods.substring$1(path, i + 1);
  7596. if (char > 127 || (string$.x00_____.charCodeAt(char) & 8) === 0)
  7597. break;
  7598. }
  7599. return path;
  7600. },
  7601. _Uri__packageNameEnd(uri, path) {
  7602. if (uri.isScheme$1("package") && uri._host == null)
  7603. return A._skipPackageNameChars(path, 0, path.length);
  7604. return -1;
  7605. },
  7606. _Uri__toWindowsFilePath(uri) {
  7607. var t2, hasDriveLetter, host,
  7608. segments = uri.get$pathSegments(),
  7609. t1 = segments.length;
  7610. if (t1 > 0) {
  7611. t2 = segments[0];
  7612. hasDriveLetter = t2.length === 2 && t2.charCodeAt(1) === 58;
  7613. } else
  7614. hasDriveLetter = false;
  7615. if (hasDriveLetter) {
  7616. A._Uri__checkWindowsDriveLetter(segments[0].charCodeAt(0), false);
  7617. A._Uri__checkWindowsPathReservedCharacters(segments, false, 1);
  7618. } else
  7619. A._Uri__checkWindowsPathReservedCharacters(segments, false, 0);
  7620. t2 = uri.get$hasAbsolutePath() && !hasDriveLetter ? "" + "\\" : "";
  7621. if (uri.get$hasAuthority()) {
  7622. host = uri.get$host();
  7623. if (host.length !== 0)
  7624. t2 = t2 + "\\" + host + "\\";
  7625. }
  7626. t2 = A.StringBuffer__writeAll(t2, segments, "\\");
  7627. t1 = hasDriveLetter && t1 === 1 ? t2 + "\\" : t2;
  7628. return t1.charCodeAt(0) == 0 ? t1 : t1;
  7629. },
  7630. _Uri__hexCharPairToByte(s, pos) {
  7631. var byte, i, charCode;
  7632. for (byte = 0, i = 0; i < 2; ++i) {
  7633. charCode = s.charCodeAt(pos + i);
  7634. if (48 <= charCode && charCode <= 57)
  7635. byte = byte * 16 + charCode - 48;
  7636. else {
  7637. charCode |= 32;
  7638. if (97 <= charCode && charCode <= 102)
  7639. byte = byte * 16 + charCode - 87;
  7640. else
  7641. throw A.wrapException(A.ArgumentError$("Invalid URL encoding", null));
  7642. }
  7643. }
  7644. return byte;
  7645. },
  7646. _Uri__uriDecode(text, start, end, encoding, plusToSpace) {
  7647. var simple, codeUnit, t1, bytes,
  7648. i = start;
  7649. while (true) {
  7650. if (!(i < end)) {
  7651. simple = true;
  7652. break;
  7653. }
  7654. codeUnit = text.charCodeAt(i);
  7655. if (codeUnit <= 127)
  7656. t1 = codeUnit === 37;
  7657. else
  7658. t1 = true;
  7659. if (t1) {
  7660. simple = false;
  7661. break;
  7662. }
  7663. ++i;
  7664. }
  7665. if (simple)
  7666. if (B.C_Utf8Codec === encoding)
  7667. return B.JSString_methods.substring$2(text, start, end);
  7668. else
  7669. bytes = new A.CodeUnits(B.JSString_methods.substring$2(text, start, end));
  7670. else {
  7671. bytes = A._setArrayType([], type$.JSArray_int);
  7672. for (t1 = text.length, i = start; i < end; ++i) {
  7673. codeUnit = text.charCodeAt(i);
  7674. if (codeUnit > 127)
  7675. throw A.wrapException(A.ArgumentError$("Illegal percent encoding in URI", null));
  7676. if (codeUnit === 37) {
  7677. if (i + 3 > t1)
  7678. throw A.wrapException(A.ArgumentError$("Truncated URI", null));
  7679. bytes.push(A._Uri__hexCharPairToByte(text, i + 1));
  7680. i += 2;
  7681. } else
  7682. bytes.push(codeUnit);
  7683. }
  7684. }
  7685. return B.Utf8Decoder_false.convert$1(bytes);
  7686. },
  7687. _Uri__isAlphabeticCharacter(codeUnit) {
  7688. var lowerCase = codeUnit | 32;
  7689. return 97 <= lowerCase && lowerCase <= 122;
  7690. },
  7691. UriData__writeUri(mimeType, charsetName, parameters, buffer, indices) {
  7692. var t1, slashIndex;
  7693. if (mimeType != null)
  7694. t1 = 10 === mimeType.length && A._caseInsensitiveCompareStart("text/plain", mimeType, 0) >= 0;
  7695. else
  7696. t1 = true;
  7697. if (t1)
  7698. mimeType = "";
  7699. if (mimeType.length === 0 || mimeType === "application/octet-stream")
  7700. t1 = buffer._contents += mimeType;
  7701. else {
  7702. slashIndex = A.UriData__validateMimeType(mimeType);
  7703. if (slashIndex < 0)
  7704. throw A.wrapException(A.ArgumentError$value(mimeType, "mimeType", "Invalid MIME type"));
  7705. t1 = A._Uri__uriEncode(512, B.JSString_methods.substring$2(mimeType, 0, slashIndex), B.C_Utf8Codec, false);
  7706. buffer._contents = (buffer._contents += t1) + "/";
  7707. t1 = A._Uri__uriEncode(512, B.JSString_methods.substring$1(mimeType, slashIndex + 1), B.C_Utf8Codec, false);
  7708. t1 = buffer._contents += t1;
  7709. }
  7710. if (charsetName != null) {
  7711. indices.push(t1.length);
  7712. indices.push(buffer._contents.length + 8);
  7713. buffer._contents += ";charset=";
  7714. t1 = A._Uri__uriEncode(512, charsetName, B.C_Utf8Codec, false);
  7715. buffer._contents += t1;
  7716. }
  7717. },
  7718. UriData__validateMimeType(mimeType) {
  7719. var t1, slashIndex, i;
  7720. for (t1 = mimeType.length, slashIndex = -1, i = 0; i < t1; ++i) {
  7721. if (mimeType.charCodeAt(i) !== 47)
  7722. continue;
  7723. if (slashIndex < 0) {
  7724. slashIndex = i;
  7725. continue;
  7726. }
  7727. return -1;
  7728. }
  7729. return slashIndex;
  7730. },
  7731. UriData__parse(text, start, sourceUri) {
  7732. var t1, i, slashIndex, char, equalsIndex, lastSeparator, t2, data,
  7733. _s17_ = "Invalid MIME type",
  7734. indices = A._setArrayType([start - 1], type$.JSArray_int);
  7735. for (t1 = text.length, i = start, slashIndex = -1, char = null; i < t1; ++i) {
  7736. char = text.charCodeAt(i);
  7737. if (char === 44 || char === 59)
  7738. break;
  7739. if (char === 47) {
  7740. if (slashIndex < 0) {
  7741. slashIndex = i;
  7742. continue;
  7743. }
  7744. throw A.wrapException(A.FormatException$(_s17_, text, i));
  7745. }
  7746. }
  7747. if (slashIndex < 0 && i > start)
  7748. throw A.wrapException(A.FormatException$(_s17_, text, i));
  7749. for (; char !== 44;) {
  7750. indices.push(i);
  7751. ++i;
  7752. for (equalsIndex = -1; i < t1; ++i) {
  7753. char = text.charCodeAt(i);
  7754. if (char === 61) {
  7755. if (equalsIndex < 0)
  7756. equalsIndex = i;
  7757. } else if (char === 59 || char === 44)
  7758. break;
  7759. }
  7760. if (equalsIndex >= 0)
  7761. indices.push(equalsIndex);
  7762. else {
  7763. lastSeparator = B.JSArray_methods.get$last(indices);
  7764. if (char !== 44 || i !== lastSeparator + 7 || !B.JSString_methods.startsWith$2(text, "base64", lastSeparator + 1))
  7765. throw A.wrapException(A.FormatException$("Expecting '='", text, i));
  7766. break;
  7767. }
  7768. }
  7769. indices.push(i);
  7770. t2 = i + 1;
  7771. if ((indices.length & 1) === 1)
  7772. text = B.C_Base64Codec.normalize$3(text, t2, t1);
  7773. else {
  7774. data = A._Uri__normalize(text, t2, t1, 256, true, false);
  7775. if (data != null)
  7776. text = B.JSString_methods.replaceRange$3(text, t2, t1, data);
  7777. }
  7778. return new A.UriData(text, indices, sourceUri);
  7779. },
  7780. UriData__uriEncodeBytes(canonicalMask, bytes, buffer) {
  7781. var t1, byteOr, i, byte, t2,
  7782. _s16_ = "0123456789ABCDEF";
  7783. for (t1 = bytes.length, byteOr = 0, i = 0; i < t1; ++i) {
  7784. byte = bytes[i];
  7785. byteOr |= byte;
  7786. if (byte < 128 && (string$.x00_____.charCodeAt(byte) & canonicalMask) !== 0) {
  7787. t2 = A.Primitives_stringFromCharCode(byte);
  7788. buffer._contents += t2;
  7789. } else {
  7790. t2 = A.Primitives_stringFromCharCode(37);
  7791. buffer._contents += t2;
  7792. t2 = A.Primitives_stringFromCharCode(_s16_.charCodeAt(byte >>> 4));
  7793. buffer._contents += t2;
  7794. t2 = A.Primitives_stringFromCharCode(_s16_.charCodeAt(byte & 15));
  7795. buffer._contents += t2;
  7796. }
  7797. }
  7798. if ((byteOr & 4294967040) !== 0)
  7799. for (i = 0; i < t1; ++i) {
  7800. byte = bytes[i];
  7801. if (byte > 255)
  7802. throw A.wrapException(A.ArgumentError$value(byte, "non-byte value", null));
  7803. }
  7804. },
  7805. _scan(uri, start, end, state, indices) {
  7806. var i, char, transition;
  7807. for (i = start; i < end; ++i) {
  7808. char = uri.charCodeAt(i) ^ 96;
  7809. if (char > 95)
  7810. char = 31;
  7811. transition = '\xe1\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\xe1\xe1\xe1\x01\xe1\xe1\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\xe1\xe3\xe1\xe1\x01\xe1\x01\xe1\xcd\x01\xe1\x01\x01\x01\x01\x01\x01\x01\x01\x0e\x03\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01"\x01\xe1\x01\xe1\xac\xe1\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\xe1\xe1\xe1\x01\xe1\xe1\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\xe1\xea\xe1\xe1\x01\xe1\x01\xe1\xcd\x01\xe1\x01\x01\x01\x01\x01\x01\x01\x01\x01\n\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01"\x01\xe1\x01\xe1\xac\xeb\x8b\x8b\x8b\x8b\x8b\x8b\x8b\x8b\x8b\x8b\x8b\x8b\x8b\x8b\x8b\x8b\x8b\x8b\x8b\x8b\x8b\x8b\x8b\x8b\x8b\x8b\xeb\xeb\xeb\x8b\xeb\xeb\x8b\x8b\x8b\x8b\x8b\x8b\x8b\x8b\x8b\x8b\x8b\x8b\x8b\x8b\x8b\x8b\x8b\x8b\x8b\x8b\x8b\x8b\x8b\x8b\x8b\x8b\xeb\x83\xeb\xeb\x8b\xeb\x8b\xeb\xcd\x8b\xeb\x8b\x8b\x8b\x8b\x8b\x8b\x8b\x8b\x92\x83\x8b\x8b\x8b\x8b\x8b\x8b\x8b\x8b\x8b\x8b\xeb\x8b\xeb\x8b\xeb\xac\xeb\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\xeb\xeb\xeb\v\xeb\xeb\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\xebD\xeb\xeb\v\xeb\v\xeb\xcd\v\xeb\v\v\v\v\v\v\v\v\x12D\v\v\v\v\v\v\v\v\v\v\xeb\v\xeb\v\xeb\xac\xe5\x05\x05\x05\x05\x05\x05\x05\x05\x05\x05\x05\x05\x05\x05\x05\x05\x05\x05\x05\x05\x05\x05\x05\x05\x05\x05\xe5\xe5\xe5\x05\xe5D\xe5\xe5\xe5\xe5\xe5\xe5\xe5\xe5\xe5\xe5\xe5\xe5\xe5\xe5\xe5\xe5\xe5\xe5\xe5\xe5\xe5\xe5\xe5\xe5\xe5\xe5\xe8\x8a\xe5\xe5\x05\xe5\x05\xe5\xcd\x05\xe5\x05\x05\x05\x05\x05\x05\x05\x05\x05\x8a\x05\x05\x05\x05\x05\x05\x05\x05\x05\x05f\x05\xe5\x05\xe5\xac\xe5\x05\x05\x05\x05\x05\x05\x05\x05\x05\x05\x05\x05\x05\x05\x05\x05\x05\x05\x05\x05\x05\x05\x05\x05\x05\x05\xe5\xe5\xe5\x05\xe5D\xe5\xe5\xe5\xe5\xe5\xe5\xe5\xe5\xe5\xe5\xe5\xe5\xe5\xe5\xe5\xe5\xe5\xe5\xe5\xe5\xe5\xe5\xe5\xe5\xe5\xe5\xe5\x8a\xe5\xe5\x05\xe5\x05\xe5\xcd\x05\xe5\x05\x05\x05\x05\x05\x05\x05\x05\x05\x8a\x05\x05\x05\x05\x05\x05\x05\x05\x05\x05f\x05\xe5\x05\xe5\xac\xe7\xe7\xe7\xe7\xe7\xe7\xe7\xe7\xe7\xe7\xe7\xe7\xe7\xe7\xe7\xe7\xe7\xe7\xe7\xe7\xe7\xe7\xe7\xe7\xe7\xe7\xe7\xe7\xe7\xe7\xe7\xe7D\xe7\xe7\xe7\xe7\xe7\xe7\xe7\xe7\xe7\xe7\xe7\xe7\xe7\xe7\xe7\xe7\xe7\xe7\xe7\xe7\xe7\xe7\xe7\xe7\xe7\xe7\xe7\x8a\xe7\xe7\xe7\xe7\xe7\xe7\xcd\xe7\xe7\xe7\xe7\xe7\xe7\xe7\xe7\xe7\xe7\xe7\x8a\xe7\x07\x07\x07\x07\x07\x07\x07\x07\x07\xe7\xe7\xe7\xe7\xe7\xac\xe7\xe7\xe7\xe7\xe7\xe7\xe7\xe7\xe7\xe7\xe7\xe7\xe7\xe7\xe7\xe7\xe7\xe7\xe7\xe7\xe7\xe7\xe7\xe7\xe7\xe7\xe7\xe7\xe7\xe7\xe7\xe7D\xe7\xe7\xe7\xe7\xe7\xe7\xe7\xe7\xe7\xe7\xe7\xe7\xe7\xe7\xe7\xe7\xe7\xe7\xe7\xe7\xe7\xe7\xe7\xe7\xe7\xe7\xe7\x8a\xe7\xe7\xe7\xe7\xe7\xe7\xcd\xe7\xe7\xe7\xe7\xe7\xe7\xe7\xe7\xe7\xe7\xe7\x8a\x07\x07\x07\x07\x07\x07\x07\x07\x07\x07\xe7\xe7\xe7\xe7\xe7\xac\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\x05\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\xeb\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\xeb\xeb\xeb\v\xeb\xeb\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\xeb\xea\xeb\xeb\v\xeb\v\xeb\xcd\v\xeb\v\v\v\v\v\v\v\v\x10\xea\v\v\v\v\v\v\v\v\v\v\xeb\v\xeb\v\xeb\xac\xeb\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\xeb\xeb\xeb\v\xeb\xeb\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\xeb\xea\xeb\xeb\v\xeb\v\xeb\xcd\v\xeb\v\v\v\v\v\v\v\v\x12\n\v\v\v\v\v\v\v\v\v\v\xeb\v\xeb\v\xeb\xac\xeb\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\xeb\xeb\xeb\v\xeb\xeb\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\xeb\xea\xeb\xeb\v\xeb\v\xeb\xcd\v\xeb\v\v\v\v\v\v\v\v\v\n\v\v\v\v\v\v\v\v\v\v\xeb\v\xeb\v\xeb\xac\xec\f\f\f\f\f\f\f\f\f\f\f\f\f\f\f\f\f\f\f\f\f\f\f\f\f\f\xec\xec\xec\f\xec\xec\f\f\f\f\f\f\f\f\f\f\f\f\f\f\f\f\f\f\f\f\f\f\f\f\f\f\xec\xec\xec\xec\f\xec\f\xec\xcd\f\xec\f\f\f\f\f\f\f\f\f\xec\f\f\f\f\f\f\f\f\f\f\xec\f\xec\f\xec\f\xed\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\xed\xed\xed\r\xed\xed\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\xed\xed\xed\xed\r\xed\r\xed\xed\r\xed\r\r\r\r\r\r\r\r\r\xed\r\r\r\r\r\r\r\r\r\r\xed\r\xed\r\xed\r\xe1\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\xe1\xe1\xe1\x01\xe1\xe1\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\xe1\xea\xe1\xe1\x01\xe1\x01\xe1\xcd\x01\xe1\x01\x01\x01\x01\x01\x01\x01\x01\x0f\xea\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01"\x01\xe1\x01\xe1\xac\xe1\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\xe1\xe1\xe1\x01\xe1\xe1\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\xe1\xe9\xe1\xe1\x01\xe1\x01\xe1\xcd\x01\xe1\x01\x01\x01\x01\x01\x01\x01\x01\x01\t\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01"\x01\xe1\x01\xe1\xac\xeb\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\xeb\xeb\xeb\v\xeb\xeb\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\xeb\xea\xeb\xeb\v\xeb\v\xeb\xcd\v\xeb\v\v\v\v\v\v\v\v\x11\xea\v\v\v\v\v\v\v\v\v\v\xeb\v\xeb\v\xeb\xac\xeb\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\xeb\xeb\xeb\v\xeb\xeb\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\xeb\xe9\xeb\xeb\v\xeb\v\xeb\xcd\v\xeb\v\v\v\v\v\v\v\v\v\t\v\v\v\v\v\v\v\v\v\v\xeb\v\xeb\v\xeb\xac\xeb\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\xeb\xeb\xeb\v\xeb\xeb\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\xeb\xea\xeb\xeb\v\xeb\v\xeb\xcd\v\xeb\v\v\v\v\v\v\v\v\x13\xea\v\v\v\v\v\v\v\v\v\v\xeb\v\xeb\v\xeb\xac\xeb\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\xeb\xeb\xeb\v\xeb\xeb\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\xeb\xea\xeb\xeb\v\xeb\v\xeb\xcd\v\xeb\v\v\v\v\v\v\v\v\v\xea\v\v\v\v\v\v\v\v\v\v\xeb\v\xeb\v\xeb\xac\xf5\x15\x15\x15\x15\x15\x15\x15\x15\x15\x15\x15\x15\x15\x15\x15\x15\x15\x15\x15\x15\x15\x15\x15\x15\x15\x15\xf5\xf5\xf5\xf5\xf5\xf5\xf5\xf5\xf5\xf5\xf5\xf5\xf5\xf5\xf5\xf5\xf5\xf5\xf5\xf5\xf5\xf5\xf5\xf5\xf5\xf5\xf5\xf5\xf5\xf5\xf5\xf5\xf5\xf5\xf5\xf5\xf5\xf5\xf5\xf5\xf5\xf5\xf5\xf5\xf5\xf5\xf5\xf5\xf5\xf5\xf5\xf5\xf5\xf5\xf5\xf5\xf5\xf5\xf5\xf5\xf5\xf5\xf5\xf5\xf5\xf5\xf5\xf5\xf5\xf5\x15\x15\x15\x15\x15\x15\x15\x15\x15\x15\x15\x15\x15\x15\x15\x15\x15\x15\x15\x15\x15\x15\x15\x15\x15\x15\xf5\xf5\xf5\xf5\xf5\xf5\xf5\xf5\xf5\xf5\xf5\xf5\xf5\xf5\xf5\xf5\xf5\xf5\xf5\xf5\xf5\xf5\xf5\xf5\xf5\xf5\xf5\xf5\xf5\xf5\xf5\xf5\xf5\xf5\xf5\xf5\xf5\xf5\xf5\xf5\xf5\xf5\xf5\xf5\xf5\xf5\xf5\xf5\x15\xf5\x15\x15\xf5\x15\x15\x15\x15\x15\x15\x15\x15\x15\x15\xf5\xf5\xf5\xf5\xf5\xf5'.charCodeAt(state * 96 + char);
  7812. state = transition & 31;
  7813. indices[transition >>> 5] = i;
  7814. }
  7815. return state;
  7816. },
  7817. _SimpleUri__packageNameEnd(uri) {
  7818. if (uri._schemeEnd === 7 && B.JSString_methods.startsWith$1(uri._uri, "package") && uri._hostStart <= 0)
  7819. return A._skipPackageNameChars(uri._uri, uri._pathStart, uri._queryStart);
  7820. return -1;
  7821. },
  7822. _skipPackageNameChars(source, start, end) {
  7823. var i, dots, char;
  7824. for (i = start, dots = 0; i < end; ++i) {
  7825. char = source.charCodeAt(i);
  7826. if (char === 47)
  7827. return dots !== 0 ? i : -1;
  7828. if (char === 37 || char === 58)
  7829. return -1;
  7830. dots |= char ^ 46;
  7831. }
  7832. return -1;
  7833. },
  7834. _caseInsensitiveCompareStart(prefix, string, start) {
  7835. var t1, result, i, stringChar, delta, lowerChar;
  7836. for (t1 = prefix.length, result = 0, i = 0; i < t1; ++i) {
  7837. stringChar = string.charCodeAt(start + i);
  7838. delta = prefix.charCodeAt(i) ^ stringChar;
  7839. if (delta !== 0) {
  7840. if (delta === 32) {
  7841. lowerChar = stringChar | delta;
  7842. if (97 <= lowerChar && lowerChar <= 122) {
  7843. result = 32;
  7844. continue;
  7845. }
  7846. }
  7847. return -1;
  7848. }
  7849. }
  7850. return result;
  7851. },
  7852. NoSuchMethodError_toString_closure: function NoSuchMethodError_toString_closure(t0, t1) {
  7853. this._box_0 = t0;
  7854. this.sb = t1;
  7855. },
  7856. DateTime: function DateTime(t0, t1, t2) {
  7857. this._value = t0;
  7858. this._microsecond = t1;
  7859. this.isUtc = t2;
  7860. },
  7861. Duration: function Duration(t0) {
  7862. this._duration = t0;
  7863. },
  7864. _Enum: function _Enum() {
  7865. },
  7866. Error: function Error() {
  7867. },
  7868. AssertionError: function AssertionError(t0) {
  7869. this.message = t0;
  7870. },
  7871. TypeError: function TypeError() {
  7872. },
  7873. ArgumentError: function ArgumentError(t0, t1, t2, t3) {
  7874. var _ = this;
  7875. _._hasValue = t0;
  7876. _.invalidValue = t1;
  7877. _.name = t2;
  7878. _.message = t3;
  7879. },
  7880. RangeError: function RangeError(t0, t1, t2, t3, t4, t5) {
  7881. var _ = this;
  7882. _.start = t0;
  7883. _.end = t1;
  7884. _._hasValue = t2;
  7885. _.invalidValue = t3;
  7886. _.name = t4;
  7887. _.message = t5;
  7888. },
  7889. IndexError: function IndexError(t0, t1, t2, t3, t4) {
  7890. var _ = this;
  7891. _.length = t0;
  7892. _._hasValue = t1;
  7893. _.invalidValue = t2;
  7894. _.name = t3;
  7895. _.message = t4;
  7896. },
  7897. NoSuchMethodError: function NoSuchMethodError(t0, t1, t2, t3) {
  7898. var _ = this;
  7899. _._core$_receiver = t0;
  7900. _._memberName = t1;
  7901. _._core$_arguments = t2;
  7902. _._namedArguments = t3;
  7903. },
  7904. UnsupportedError: function UnsupportedError(t0) {
  7905. this.message = t0;
  7906. },
  7907. UnimplementedError: function UnimplementedError(t0) {
  7908. this.message = t0;
  7909. },
  7910. StateError: function StateError(t0) {
  7911. this.message = t0;
  7912. },
  7913. ConcurrentModificationError: function ConcurrentModificationError(t0) {
  7914. this.modifiedObject = t0;
  7915. },
  7916. OutOfMemoryError: function OutOfMemoryError() {
  7917. },
  7918. StackOverflowError: function StackOverflowError() {
  7919. },
  7920. _Exception: function _Exception(t0) {
  7921. this.message = t0;
  7922. },
  7923. FormatException: function FormatException(t0, t1, t2) {
  7924. this.message = t0;
  7925. this.source = t1;
  7926. this.offset = t2;
  7927. },
  7928. Iterable: function Iterable() {
  7929. },
  7930. _GeneratorIterable: function _GeneratorIterable(t0, t1, t2) {
  7931. this.length = t0;
  7932. this._generator = t1;
  7933. this.$ti = t2;
  7934. },
  7935. MapEntry: function MapEntry(t0, t1, t2) {
  7936. this.key = t0;
  7937. this.value = t1;
  7938. this.$ti = t2;
  7939. },
  7940. Null: function Null() {
  7941. },
  7942. Object: function Object() {
  7943. },
  7944. _StringStackTrace: function _StringStackTrace(t0) {
  7945. this._stackTrace = t0;
  7946. },
  7947. Runes: function Runes(t0) {
  7948. this.string = t0;
  7949. },
  7950. RuneIterator: function RuneIterator(t0) {
  7951. var _ = this;
  7952. _.string = t0;
  7953. _._nextPosition = _._position = 0;
  7954. _._currentCodePoint = -1;
  7955. },
  7956. StringBuffer: function StringBuffer(t0) {
  7957. this._contents = t0;
  7958. },
  7959. Uri__parseIPv4Address_error: function Uri__parseIPv4Address_error(t0) {
  7960. this.host = t0;
  7961. },
  7962. Uri_parseIPv6Address_error: function Uri_parseIPv6Address_error(t0) {
  7963. this.host = t0;
  7964. },
  7965. Uri_parseIPv6Address_parseHex: function Uri_parseIPv6Address_parseHex(t0, t1) {
  7966. this.error = t0;
  7967. this.host = t1;
  7968. },
  7969. _Uri: function _Uri(t0, t1, t2, t3, t4, t5, t6) {
  7970. var _ = this;
  7971. _.scheme = t0;
  7972. _._userInfo = t1;
  7973. _._host = t2;
  7974. _._port = t3;
  7975. _.path = t4;
  7976. _._query = t5;
  7977. _._fragment = t6;
  7978. _.___Uri_hashCode_FI = _.___Uri_pathSegments_FI = _.___Uri__text_FI = $;
  7979. },
  7980. _Uri__makePath_closure: function _Uri__makePath_closure() {
  7981. },
  7982. UriData: function UriData(t0, t1, t2) {
  7983. this._text = t0;
  7984. this._separatorIndices = t1;
  7985. this._uriCache = t2;
  7986. },
  7987. _SimpleUri: function _SimpleUri(t0, t1, t2, t3, t4, t5, t6, t7) {
  7988. var _ = this;
  7989. _._uri = t0;
  7990. _._schemeEnd = t1;
  7991. _._hostStart = t2;
  7992. _._portStart = t3;
  7993. _._pathStart = t4;
  7994. _._queryStart = t5;
  7995. _._fragmentStart = t6;
  7996. _._schemeCache = t7;
  7997. _._hashCodeCache = null;
  7998. },
  7999. _DataUri: function _DataUri(t0, t1, t2, t3, t4, t5, t6) {
  8000. var _ = this;
  8001. _.scheme = t0;
  8002. _._userInfo = t1;
  8003. _._host = t2;
  8004. _._port = t3;
  8005. _.path = t4;
  8006. _._query = t5;
  8007. _._fragment = t6;
  8008. _.___Uri_hashCode_FI = _.___Uri_pathSegments_FI = _.___Uri__text_FI = $;
  8009. },
  8010. Expando: function Expando(t0) {
  8011. this._jsWeakMap = t0;
  8012. },
  8013. _convertDartFunctionFast(f) {
  8014. var ret,
  8015. existing = f.$dart_jsFunction;
  8016. if (existing != null)
  8017. return existing;
  8018. ret = function(_call, f) {
  8019. return function() {
  8020. return _call(f, Array.prototype.slice.apply(arguments));
  8021. };
  8022. }(A._callDartFunctionFast, f);
  8023. ret[$.$get$DART_CLOSURE_PROPERTY_NAME()] = f;
  8024. f.$dart_jsFunction = ret;
  8025. return ret;
  8026. },
  8027. _convertDartFunctionFastCaptureThis(f) {
  8028. var ret,
  8029. existing = f._$dart_jsFunctionCaptureThis;
  8030. if (existing != null)
  8031. return existing;
  8032. ret = function(_call, f) {
  8033. return function() {
  8034. return _call(f, this, Array.prototype.slice.apply(arguments));
  8035. };
  8036. }(A._callDartFunctionFastCaptureThis, f);
  8037. ret[$.$get$DART_CLOSURE_PROPERTY_NAME()] = f;
  8038. f._$dart_jsFunctionCaptureThis = ret;
  8039. return ret;
  8040. },
  8041. _callDartFunctionFast(callback, $arguments) {
  8042. return A.Function_apply(callback, $arguments);
  8043. },
  8044. _callDartFunctionFastCaptureThis(callback, $self, $arguments) {
  8045. var t1 = [$self];
  8046. B.JSArray_methods.addAll$1(t1, $arguments);
  8047. return A.Function_apply(callback, t1);
  8048. },
  8049. allowInterop(f) {
  8050. if (typeof f == "function")
  8051. return f;
  8052. else
  8053. return A._convertDartFunctionFast(f);
  8054. },
  8055. allowInteropCaptureThis(f) {
  8056. if (typeof f == "function")
  8057. throw A.wrapException(A.ArgumentError$("Function is already a JS function so cannot capture this.", null));
  8058. else
  8059. return A._convertDartFunctionFastCaptureThis(f);
  8060. },
  8061. _callDartFunctionFast2(callback, arg1, arg2, $length) {
  8062. if ($length >= 2)
  8063. return callback.call$2(arg1, arg2);
  8064. if ($length === 1)
  8065. return callback.call$1(arg1);
  8066. return callback.call$0();
  8067. },
  8068. _noJsifyRequired(o) {
  8069. return o == null || A._isBool(o) || typeof o == "number" || typeof o == "string" || type$.Int8List._is(o) || type$.Uint8List._is(o) || type$.Uint8ClampedList._is(o) || type$.Int16List._is(o) || type$.Uint16List._is(o) || type$.Int32List._is(o) || type$.Uint32List._is(o) || type$.Float32List._is(o) || type$.Float64List._is(o) || type$.ByteBuffer._is(o) || type$.ByteData._is(o);
  8070. },
  8071. jsify(object) {
  8072. if (A._noJsifyRequired(object))
  8073. return object;
  8074. return new A.jsify__convert(new A._IdentityHashMap(type$._IdentityHashMap_of_nullable_Object_and_nullable_Object)).call$1(object);
  8075. },
  8076. _callMethodUnchecked0(o, method) {
  8077. return o[method]();
  8078. },
  8079. callConstructor(constr, $arguments) {
  8080. var args, factoryFunction;
  8081. if ($arguments instanceof Array)
  8082. switch ($arguments.length) {
  8083. case 0:
  8084. return new constr();
  8085. case 1:
  8086. return new constr($arguments[0]);
  8087. case 2:
  8088. return new constr($arguments[0], $arguments[1]);
  8089. case 3:
  8090. return new constr($arguments[0], $arguments[1], $arguments[2]);
  8091. case 4:
  8092. return new constr($arguments[0], $arguments[1], $arguments[2], $arguments[3]);
  8093. }
  8094. args = [null];
  8095. B.JSArray_methods.addAll$1(args, $arguments);
  8096. factoryFunction = constr.bind.apply(constr, args);
  8097. String(factoryFunction);
  8098. return new factoryFunction();
  8099. },
  8100. promiseToFuture(jsPromise, $T) {
  8101. var t1 = new A._Future($.Zone__current, $T._eval$1("_Future<0>")),
  8102. completer = new A._AsyncCompleter(t1, $T._eval$1("_AsyncCompleter<0>"));
  8103. jsPromise.then(A.convertDartClosureToJS(new A.promiseToFuture_closure(completer), 1), A.convertDartClosureToJS(new A.promiseToFuture_closure0(completer), 1));
  8104. return t1;
  8105. },
  8106. jsify__convert: function jsify__convert(t0) {
  8107. this._convertedObjects = t0;
  8108. },
  8109. promiseToFuture_closure: function promiseToFuture_closure(t0) {
  8110. this.completer = t0;
  8111. },
  8112. promiseToFuture_closure0: function promiseToFuture_closure0(t0) {
  8113. this.completer = t0;
  8114. },
  8115. NullRejectionException: function NullRejectionException(t0) {
  8116. this.isUndefined = t0;
  8117. },
  8118. max(a, b) {
  8119. return Math.max(a, b);
  8120. },
  8121. pow(x, exponent) {
  8122. return Math.pow(x, exponent);
  8123. },
  8124. Random_Random() {
  8125. return B.C__JSRandom;
  8126. },
  8127. _JSRandom: function _JSRandom() {
  8128. },
  8129. ArgParser: function ArgParser(t0, t1, t2, t3, t4, t5, t6) {
  8130. var _ = this;
  8131. _._arg_parser$_options = t0;
  8132. _._aliases = t1;
  8133. _.options = t2;
  8134. _.commands = t3;
  8135. _._optionsAndSeparators = t4;
  8136. _.allowTrailingOptions = t5;
  8137. _.usageLineLength = t6;
  8138. },
  8139. ArgParser__addOption_closure: function ArgParser__addOption_closure(t0) {
  8140. this.$this = t0;
  8141. },
  8142. ArgParserException$(message, commands, argumentName, source, offset) {
  8143. return new A.ArgParserException(commands == null ? B.List_empty : A.List_List$unmodifiable(commands, type$.String), argumentName, message, source, offset);
  8144. },
  8145. ArgParserException: function ArgParserException(t0, t1, t2, t3, t4) {
  8146. var _ = this;
  8147. _.commands = t0;
  8148. _.argumentName = t1;
  8149. _.message = t2;
  8150. _.source = t3;
  8151. _.offset = t4;
  8152. },
  8153. ArgResults: function ArgResults(t0, t1, t2, t3) {
  8154. var _ = this;
  8155. _._parser = t0;
  8156. _._parsed = t1;
  8157. _.name = t2;
  8158. _.rest = t3;
  8159. },
  8160. Option: function Option(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13) {
  8161. var _ = this;
  8162. _.name = t0;
  8163. _.abbr = t1;
  8164. _.help = t2;
  8165. _.valueHelp = t3;
  8166. _.allowed = t4;
  8167. _.allowedHelp = t5;
  8168. _.defaultsTo = t6;
  8169. _.negatable = t7;
  8170. _.hideNegatedUsage = t8;
  8171. _.callback = t9;
  8172. _.type = t10;
  8173. _.splitCommas = t11;
  8174. _.mandatory = t12;
  8175. _.hide = t13;
  8176. },
  8177. OptionType: function OptionType(t0) {
  8178. this.name = t0;
  8179. },
  8180. Parser$(_commandName, _grammar, _args, _parent, rest) {
  8181. var t1 = A._setArrayType([], type$.JSArray_String);
  8182. if (rest != null)
  8183. B.JSArray_methods.addAll$1(t1, rest);
  8184. return new A.Parser0(_commandName, _parent, _grammar, _args, t1, A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.dynamic));
  8185. },
  8186. _isLetterOrDigit(codeUnit) {
  8187. var t1 = true;
  8188. if (!(codeUnit >= 65 && codeUnit <= 90))
  8189. if (!(codeUnit >= 97 && codeUnit <= 122))
  8190. t1 = codeUnit >= 48 && codeUnit <= 57;
  8191. return t1;
  8192. },
  8193. Parser0: function Parser0(t0, t1, t2, t3, t4, t5) {
  8194. var _ = this;
  8195. _._commandName = t0;
  8196. _._parser$_parent = t1;
  8197. _._grammar = t2;
  8198. _._args = t3;
  8199. _._parser$_rest = t4;
  8200. _._results = t5;
  8201. },
  8202. Parser_parse_closure: function Parser_parse_closure(t0) {
  8203. this.$this = t0;
  8204. },
  8205. Parser__setOption_closure: function Parser__setOption_closure() {
  8206. },
  8207. _Usage: function _Usage(t0, t1, t2) {
  8208. var _ = this;
  8209. _._usage$_optionsAndSeparators = t0;
  8210. _._usage$_buffer = t1;
  8211. _._currentColumn = 0;
  8212. _.___Usage__columnWidths_FI = $;
  8213. _._newlinesNeeded = 0;
  8214. _.lineLength = t2;
  8215. },
  8216. _Usage__writeOption_closure: function _Usage__writeOption_closure() {
  8217. },
  8218. _Usage__buildAllowedList_closure: function _Usage__buildAllowedList_closure(t0) {
  8219. this.option = t0;
  8220. },
  8221. FutureGroup: function FutureGroup(t0, t1, t2) {
  8222. var _ = this;
  8223. _._future_group$_pending = 0;
  8224. _._future_group$_closed = false;
  8225. _._future_group$_completer = t0;
  8226. _._future_group$_values = t1;
  8227. _.$ti = t2;
  8228. },
  8229. FutureGroup_add_closure: function FutureGroup_add_closure(t0, t1) {
  8230. this.$this = t0;
  8231. this.index = t1;
  8232. },
  8233. FutureGroup_add_closure0: function FutureGroup_add_closure0(t0) {
  8234. this.$this = t0;
  8235. },
  8236. ErrorResult: function ErrorResult(t0, t1) {
  8237. this.error = t0;
  8238. this.stackTrace = t1;
  8239. },
  8240. ValueResult: function ValueResult(t0, t1) {
  8241. this.value = t0;
  8242. this.$ti = t1;
  8243. },
  8244. StreamCompleter: function StreamCompleter(t0, t1) {
  8245. this._stream_completer$_stream = t0;
  8246. this.$ti = t1;
  8247. },
  8248. _CompleterStream: function _CompleterStream(t0) {
  8249. this._sourceStream = this._stream_completer$_controller = null;
  8250. this.$ti = t0;
  8251. },
  8252. StreamGroup: function StreamGroup(t0, t1, t2) {
  8253. var _ = this;
  8254. _.__StreamGroup__controller_A = $;
  8255. _._closed = false;
  8256. _._stream_group$_state = t0;
  8257. _._subscriptions = t1;
  8258. _.$ti = t2;
  8259. },
  8260. StreamGroup_add_closure: function StreamGroup_add_closure() {
  8261. },
  8262. StreamGroup_add_closure0: function StreamGroup_add_closure0(t0, t1) {
  8263. this.$this = t0;
  8264. this.stream = t1;
  8265. },
  8266. StreamGroup__onListen_closure: function StreamGroup__onListen_closure() {
  8267. },
  8268. StreamGroup__onCancel_closure: function StreamGroup__onCancel_closure(t0) {
  8269. this.$this = t0;
  8270. },
  8271. StreamGroup__listenToStream_closure: function StreamGroup__listenToStream_closure(t0, t1) {
  8272. this.$this = t0;
  8273. this.stream = t1;
  8274. },
  8275. _StreamGroupState: function _StreamGroupState(t0) {
  8276. this.name = t0;
  8277. },
  8278. StreamQueue: function StreamQueue(t0, t1, t2, t3) {
  8279. var _ = this;
  8280. _._stream_queue$_source = t0;
  8281. _._stream_queue$_subscription = null;
  8282. _._isDone = false;
  8283. _._eventsReceived = 0;
  8284. _._eventQueue = t1;
  8285. _._requestQueue = t2;
  8286. _.$ti = t3;
  8287. },
  8288. StreamQueue__ensureListening_closure: function StreamQueue__ensureListening_closure(t0) {
  8289. this.$this = t0;
  8290. },
  8291. StreamQueue__ensureListening_closure1: function StreamQueue__ensureListening_closure1(t0) {
  8292. this.$this = t0;
  8293. },
  8294. StreamQueue__ensureListening_closure0: function StreamQueue__ensureListening_closure0(t0) {
  8295. this.$this = t0;
  8296. },
  8297. _NextRequest: function _NextRequest(t0, t1) {
  8298. this._completer = t0;
  8299. this.$ti = t1;
  8300. },
  8301. isNodeJs() {
  8302. var t1 = self.process;
  8303. if (t1 == null)
  8304. t1 = null;
  8305. else {
  8306. t1 = J.get$release$x(t1);
  8307. t1 = t1 == null ? null : J.get$name$x(t1);
  8308. }
  8309. return J.$eq$(t1, "node");
  8310. },
  8311. isBrowser() {
  8312. return !A.isNodeJs() && self.document != null && typeof self.document.querySelector == "function";
  8313. },
  8314. wrapJSExceptions(callback) {
  8315. var error, error0, error1, error2, t1, exception;
  8316. if (!$.$get$_isStrictMode())
  8317. return callback.call$0();
  8318. try {
  8319. t1 = callback.call$0();
  8320. return t1;
  8321. } catch (exception) {
  8322. t1 = A.unwrapException(exception);
  8323. if (typeof t1 == "string") {
  8324. error = t1;
  8325. throw A.wrapException(error);
  8326. } else if (A._isBool(t1)) {
  8327. error0 = t1;
  8328. throw A.wrapException(error0);
  8329. } else if (typeof t1 == "number") {
  8330. error1 = t1;
  8331. throw A.wrapException(error1);
  8332. } else {
  8333. error2 = t1;
  8334. if (typeof error2 == "symbol" || typeof error2 == "bigint" || error2 == null)
  8335. throw A.wrapException(A._callMethodUnchecked0(error2, "toString"));
  8336. throw exception;
  8337. }
  8338. }
  8339. },
  8340. _isStrictMode_closure: function _isStrictMode_closure() {
  8341. },
  8342. Repl: function Repl(t0, t1, t2, t3) {
  8343. var _ = this;
  8344. _.prompt = t0;
  8345. _.continuation = t1;
  8346. _.validator = t2;
  8347. _.__Repl__adapter_A = $;
  8348. _.history = t3;
  8349. },
  8350. alwaysValid_closure: function alwaysValid_closure() {
  8351. },
  8352. ReplAdapter: function ReplAdapter(t0) {
  8353. this.repl = t0;
  8354. this.rl = null;
  8355. },
  8356. ReplAdapter_runAsync_closure: function ReplAdapter_runAsync_closure(t0, t1, t2, t3) {
  8357. var _ = this;
  8358. _._box_0 = t0;
  8359. _.$this = t1;
  8360. _.rl = t2;
  8361. _.runController = t3;
  8362. },
  8363. ReplAdapter_runAsync__closure: function ReplAdapter_runAsync__closure(t0) {
  8364. this.lineController = t0;
  8365. },
  8366. Stdin: function Stdin() {
  8367. },
  8368. Stdout: function Stdout() {
  8369. },
  8370. ReadlineModule: function ReadlineModule() {
  8371. },
  8372. ReadlineOptions: function ReadlineOptions() {
  8373. },
  8374. ReadlineInterface: function ReadlineInterface() {
  8375. },
  8376. EmptyUnmodifiableSet: function EmptyUnmodifiableSet(t0) {
  8377. this.$ti = t0;
  8378. },
  8379. _EmptyUnmodifiableSet_IterableBase_UnmodifiableSetMixin: function _EmptyUnmodifiableSet_IterableBase_UnmodifiableSetMixin() {
  8380. },
  8381. DefaultEquality: function DefaultEquality() {
  8382. },
  8383. IterableEquality: function IterableEquality() {
  8384. },
  8385. ListEquality: function ListEquality() {
  8386. },
  8387. _MapEntry: function _MapEntry(t0, t1, t2) {
  8388. this.equality = t0;
  8389. this.key = t1;
  8390. this.value = t2;
  8391. },
  8392. MapEquality: function MapEquality(t0) {
  8393. this.$ti = t0;
  8394. },
  8395. QueueList$(initialCapacity, $E) {
  8396. 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>"));
  8397. },
  8398. QueueList_QueueList$from(source, $E) {
  8399. var $length, queue, t1;
  8400. if (type$.List_dynamic._is(source)) {
  8401. $length = J.get$length$asx(source);
  8402. queue = A.QueueList$($length + 1, $E);
  8403. J.setRange$4$ax(queue._queue_list$_table, 0, $length, source, 0);
  8404. queue._queue_list$_tail = $length;
  8405. return queue;
  8406. } else {
  8407. t1 = A.QueueList$(null, $E);
  8408. t1.addAll$1(0, source);
  8409. return t1;
  8410. }
  8411. },
  8412. QueueList__computeInitialCapacity(initialCapacity) {
  8413. if (initialCapacity == null || initialCapacity < 8)
  8414. return 8;
  8415. ++initialCapacity;
  8416. if ((initialCapacity & initialCapacity - 1) >>> 0 === 0)
  8417. return initialCapacity;
  8418. return A.QueueList__nextPowerOf2(initialCapacity);
  8419. },
  8420. QueueList__nextPowerOf2(number) {
  8421. var nextNumber;
  8422. number = (number << 1 >>> 0) - 1;
  8423. for (; true; number = nextNumber) {
  8424. nextNumber = (number & number - 1) >>> 0;
  8425. if (nextNumber === 0)
  8426. return number;
  8427. }
  8428. },
  8429. QueueList: function QueueList(t0, t1, t2, t3) {
  8430. var _ = this;
  8431. _._queue_list$_table = t0;
  8432. _._queue_list$_head = t1;
  8433. _._queue_list$_tail = t2;
  8434. _.$ti = t3;
  8435. },
  8436. _CastQueueList: function _CastQueueList(t0, t1, t2, t3, t4) {
  8437. var _ = this;
  8438. _._queue_list$_delegate = t0;
  8439. _._queue_list$_table = t1;
  8440. _._queue_list$_head = t2;
  8441. _._queue_list$_tail = t3;
  8442. _.$ti = t4;
  8443. },
  8444. _QueueList_Object_ListMixin: function _QueueList_Object_ListMixin() {
  8445. },
  8446. UnionSet: function UnionSet(t0, t1) {
  8447. this._sets = t0;
  8448. this.$ti = t1;
  8449. },
  8450. UnionSet__iterable_closure: function UnionSet__iterable_closure(t0) {
  8451. this.$this = t0;
  8452. },
  8453. UnionSet_contains_closure: function UnionSet_contains_closure(t0, t1) {
  8454. this.$this = t0;
  8455. this.element = t1;
  8456. },
  8457. _UnionSet_SetBase_UnmodifiableSetMixin: function _UnionSet_SetBase_UnmodifiableSetMixin() {
  8458. },
  8459. UnmodifiableSetMixin__throw() {
  8460. throw A.wrapException(A.UnsupportedError$("Cannot modify an unmodifiable Set"));
  8461. },
  8462. UnmodifiableSetView0: function UnmodifiableSetView0(t0, t1) {
  8463. this._base = t0;
  8464. this.$ti = t1;
  8465. },
  8466. UnmodifiableSetMixin: function UnmodifiableSetMixin() {
  8467. },
  8468. _UnmodifiableSetView_DelegatingSet_UnmodifiableSetMixin: function _UnmodifiableSetView_DelegatingSet_UnmodifiableSetMixin() {
  8469. },
  8470. _DelegatingIterableBase: function _DelegatingIterableBase() {
  8471. },
  8472. DelegatingSet: function DelegatingSet(t0, t1) {
  8473. this._base = t0;
  8474. this.$ti = t1;
  8475. },
  8476. MapKeySet: function MapKeySet(t0, t1) {
  8477. this._baseMap = t0;
  8478. this.$ti = t1;
  8479. },
  8480. MapKeySet_difference_closure: function MapKeySet_difference_closure(t0, t1) {
  8481. this.$this = t0;
  8482. this.other = t1;
  8483. },
  8484. _MapKeySet__DelegatingIterableBase_UnmodifiableSetMixin: function _MapKeySet__DelegatingIterableBase_UnmodifiableSetMixin() {
  8485. },
  8486. BufferModule: function BufferModule() {
  8487. },
  8488. BufferConstants: function BufferConstants() {
  8489. },
  8490. Buffer: function Buffer() {
  8491. },
  8492. ConsoleModule: function ConsoleModule() {
  8493. },
  8494. Console: function Console() {
  8495. },
  8496. EventEmitter: function EventEmitter() {
  8497. },
  8498. fs() {
  8499. var t1 = $._fs;
  8500. return t1 == null ? $._fs = self.fs : t1;
  8501. },
  8502. FS: function FS() {
  8503. },
  8504. FSConstants: function FSConstants() {
  8505. },
  8506. Realpath: function Realpath() {
  8507. },
  8508. RealpathSync: function RealpathSync() {
  8509. },
  8510. FSWatcher: function FSWatcher() {
  8511. },
  8512. ReadStream: function ReadStream() {
  8513. },
  8514. ReadStreamOptions: function ReadStreamOptions() {
  8515. },
  8516. WriteStream: function WriteStream() {
  8517. },
  8518. WriteStreamOptions: function WriteStreamOptions() {
  8519. },
  8520. FileOptions: function FileOptions() {
  8521. },
  8522. StatOptions: function StatOptions() {
  8523. },
  8524. MkdirOptions: function MkdirOptions() {
  8525. },
  8526. RmdirOptions: function RmdirOptions() {
  8527. },
  8528. WatchOptions: function WatchOptions() {
  8529. },
  8530. WatchFileOptions: function WatchFileOptions() {
  8531. },
  8532. Stats: function Stats() {
  8533. },
  8534. Promise: function Promise() {
  8535. },
  8536. Date: function Date() {
  8537. },
  8538. JsError: function JsError() {
  8539. },
  8540. Atomics: function Atomics() {
  8541. },
  8542. Modules: function Modules() {
  8543. },
  8544. Module: function Module() {
  8545. },
  8546. Net: function Net() {
  8547. },
  8548. Socket: function Socket() {
  8549. },
  8550. NetAddress: function NetAddress() {
  8551. },
  8552. NetServer: function NetServer() {
  8553. },
  8554. NodeJsError: function NodeJsError() {
  8555. },
  8556. JsAssertionError: function JsAssertionError() {
  8557. },
  8558. JsRangeError: function JsRangeError() {
  8559. },
  8560. JsReferenceError: function JsReferenceError() {
  8561. },
  8562. JsSyntaxError: function JsSyntaxError() {
  8563. },
  8564. JsTypeError: function JsTypeError() {
  8565. },
  8566. JsSystemError: function JsSystemError() {
  8567. },
  8568. Process: function Process() {
  8569. },
  8570. CPUUsage: function CPUUsage() {
  8571. },
  8572. Release: function Release() {
  8573. },
  8574. StreamModule: function StreamModule() {
  8575. },
  8576. Readable: function Readable() {
  8577. },
  8578. Writable: function Writable() {
  8579. },
  8580. Duplex: function Duplex() {
  8581. },
  8582. Transform: function Transform() {
  8583. },
  8584. WritableOptions: function WritableOptions() {
  8585. },
  8586. ReadableOptions: function ReadableOptions() {
  8587. },
  8588. Immediate: function Immediate() {
  8589. },
  8590. Timeout: function Timeout() {
  8591. },
  8592. TTY: function TTY() {
  8593. },
  8594. TTYReadStream: function TTYReadStream() {
  8595. },
  8596. TTYWriteStream: function TTYWriteStream() {
  8597. },
  8598. jsify0(dartObject) {
  8599. if (A._isBasicType(dartObject))
  8600. return dartObject;
  8601. return A.jsify(dartObject);
  8602. },
  8603. _isBasicType(value) {
  8604. return false;
  8605. },
  8606. promiseToFuture0(promise, $T) {
  8607. var t1 = new A._Future($.Zone__current, $T._eval$1("_Future<0>")),
  8608. completer = new A._SyncCompleter(t1, $T._eval$1("_SyncCompleter<0>"));
  8609. J.then$2$x(promise, A.allowInterop(new A.promiseToFuture_closure1(completer)), A.allowInterop(new A.promiseToFuture_closure2(completer)));
  8610. return t1;
  8611. },
  8612. futureToPromise(future, $T) {
  8613. return new self.Promise(A.allowInterop(new A.futureToPromise_closure(future, $T)));
  8614. },
  8615. Util: function Util() {
  8616. },
  8617. promiseToFuture_closure1: function promiseToFuture_closure1(t0) {
  8618. this.completer = t0;
  8619. },
  8620. promiseToFuture_closure2: function promiseToFuture_closure2(t0) {
  8621. this.completer = t0;
  8622. },
  8623. futureToPromise_closure: function futureToPromise_closure(t0, t1) {
  8624. this.future = t0;
  8625. this.T = t1;
  8626. },
  8627. futureToPromise__closure: function futureToPromise__closure(t0, t1) {
  8628. this.resolve = t0;
  8629. this.T = t1;
  8630. },
  8631. Context_Context(style) {
  8632. return new A.Context(style, ".");
  8633. },
  8634. _parseUri(uri) {
  8635. if (typeof uri == "string")
  8636. return A.Uri_parse(uri);
  8637. if (type$.Uri._is(uri))
  8638. return uri;
  8639. throw A.wrapException(A.ArgumentError$value(uri, "uri", "Value must be a String or a Uri"));
  8640. },
  8641. _validateArgList(method, args) {
  8642. var numArgs, i, numArgs0, message, t1, t2, t3, t4;
  8643. for (numArgs = args.length, i = 1; i < numArgs; ++i) {
  8644. if (args[i] == null || args[i - 1] != null)
  8645. continue;
  8646. for (; numArgs >= 1; numArgs = numArgs0) {
  8647. numArgs0 = numArgs - 1;
  8648. if (args[numArgs0] != null)
  8649. break;
  8650. }
  8651. message = new A.StringBuffer("");
  8652. t1 = "" + (method + "(");
  8653. message._contents = t1;
  8654. t2 = A._arrayInstanceType(args);
  8655. t3 = t2._eval$1("SubListIterable<1>");
  8656. t4 = new A.SubListIterable(args, 0, numArgs, t3);
  8657. t4.SubListIterable$3(args, 0, numArgs, t2._precomputed1);
  8658. t3 = t1 + new A.MappedListIterable(t4, new A._validateArgList_closure(), t3._eval$1("MappedListIterable<ListIterable.E,String>")).join$1(0, ", ");
  8659. message._contents = t3;
  8660. message._contents = t3 + ("): part " + (i - 1) + " was null, but part " + i + " was not.");
  8661. throw A.wrapException(A.ArgumentError$(message.toString$0(0), null));
  8662. }
  8663. },
  8664. Context: function Context(t0, t1) {
  8665. this.style = t0;
  8666. this._context$_current = t1;
  8667. },
  8668. Context_joinAll_closure: function Context_joinAll_closure() {
  8669. },
  8670. Context_split_closure: function Context_split_closure() {
  8671. },
  8672. _validateArgList_closure: function _validateArgList_closure() {
  8673. },
  8674. _PathDirection: function _PathDirection(t0) {
  8675. this.name = t0;
  8676. },
  8677. _PathRelation: function _PathRelation(t0) {
  8678. this.name = t0;
  8679. },
  8680. InternalStyle: function InternalStyle() {
  8681. },
  8682. ParsedPath_ParsedPath$parse(path, style) {
  8683. var t1, parts, separators, start, i,
  8684. root = style.getRoot$1(path),
  8685. isRootRelative = style.isRootRelative$1(path);
  8686. if (root != null)
  8687. path = B.JSString_methods.substring$1(path, root.length);
  8688. t1 = type$.JSArray_String;
  8689. parts = A._setArrayType([], t1);
  8690. separators = A._setArrayType([], t1);
  8691. t1 = path.length;
  8692. if (t1 !== 0 && style.isSeparator$1(path.charCodeAt(0))) {
  8693. separators.push(path[0]);
  8694. start = 1;
  8695. } else {
  8696. separators.push("");
  8697. start = 0;
  8698. }
  8699. for (i = start; i < t1; ++i)
  8700. if (style.isSeparator$1(path.charCodeAt(i))) {
  8701. parts.push(B.JSString_methods.substring$2(path, start, i));
  8702. separators.push(path[i]);
  8703. start = i + 1;
  8704. }
  8705. if (start < t1) {
  8706. parts.push(B.JSString_methods.substring$1(path, start));
  8707. separators.push("");
  8708. }
  8709. return new A.ParsedPath(style, root, isRootRelative, parts, separators);
  8710. },
  8711. ParsedPath: function ParsedPath(t0, t1, t2, t3, t4) {
  8712. var _ = this;
  8713. _.style = t0;
  8714. _.root = t1;
  8715. _.isRootRelative = t2;
  8716. _.parts = t3;
  8717. _.separators = t4;
  8718. },
  8719. ParsedPath__splitExtension_closure: function ParsedPath__splitExtension_closure() {
  8720. },
  8721. ParsedPath__splitExtension_closure0: function ParsedPath__splitExtension_closure0() {
  8722. },
  8723. PathException$(message) {
  8724. return new A.PathException(message);
  8725. },
  8726. PathException: function PathException(t0) {
  8727. this.message = t0;
  8728. },
  8729. PathMap__create(context, $V) {
  8730. var t1 = {};
  8731. t1.context = context;
  8732. t1.context = $.$get$context();
  8733. 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);
  8734. },
  8735. PathMap: function PathMap(t0, t1) {
  8736. this._map = t0;
  8737. this.$ti = t1;
  8738. },
  8739. PathMap__create_closure: function PathMap__create_closure(t0) {
  8740. this._box_0 = t0;
  8741. },
  8742. PathMap__create_closure0: function PathMap__create_closure0(t0) {
  8743. this._box_0 = t0;
  8744. },
  8745. PathMap__create_closure1: function PathMap__create_closure1() {
  8746. },
  8747. Style__getPlatformStyle() {
  8748. if (A.Uri_base().get$scheme() !== "file")
  8749. return $.$get$Style_url();
  8750. var t1 = A.Uri_base();
  8751. if (!B.JSString_methods.endsWith$1(t1.get$path(t1), "/"))
  8752. return $.$get$Style_url();
  8753. if (A._Uri__Uri(null, "a/b", null, null).toFilePath$0() === "a\\b")
  8754. return $.$get$Style_windows();
  8755. return $.$get$Style_posix();
  8756. },
  8757. Style: function Style() {
  8758. },
  8759. PosixStyle: function PosixStyle(t0, t1, t2) {
  8760. this.separatorPattern = t0;
  8761. this.needsSeparatorPattern = t1;
  8762. this.rootPattern = t2;
  8763. },
  8764. UrlStyle: function UrlStyle(t0, t1, t2, t3) {
  8765. var _ = this;
  8766. _.separatorPattern = t0;
  8767. _.needsSeparatorPattern = t1;
  8768. _.rootPattern = t2;
  8769. _.relativeRootPattern = t3;
  8770. },
  8771. WindowsStyle: function WindowsStyle(t0, t1, t2, t3) {
  8772. var _ = this;
  8773. _.separatorPattern = t0;
  8774. _.needsSeparatorPattern = t1;
  8775. _.rootPattern = t2;
  8776. _.relativeRootPattern = t3;
  8777. },
  8778. WindowsStyle_absolutePathToUri_closure: function WindowsStyle_absolutePathToUri_closure() {
  8779. },
  8780. Version$_(major, minor, patch, preRelease, build, _text) {
  8781. var t1 = preRelease == null || preRelease.length === 0 ? A._setArrayType([], type$.JSArray_Object) : A.Version__splitParts(preRelease),
  8782. t2 = build == null || build.length === 0 ? A._setArrayType([], type$.JSArray_Object) : A.Version__splitParts(build);
  8783. if (major < 0)
  8784. A.throwExpression(A.ArgumentError$("Major version must be non-negative.", null));
  8785. if (minor < 0)
  8786. A.throwExpression(A.ArgumentError$("Minor version must be non-negative.", null));
  8787. if (patch < 0)
  8788. A.throwExpression(A.ArgumentError$("Patch version must be non-negative.", null));
  8789. return new A.Version(major, minor, patch, t1, t2, _text);
  8790. },
  8791. Version_Version(major, minor, patch, pre) {
  8792. var text = "" + major + "." + minor + "." + patch;
  8793. if (pre != null)
  8794. text += "-" + pre;
  8795. return A.Version$_(major, minor, patch, pre, null, text);
  8796. },
  8797. Version___parse_tearOff(text) {
  8798. return A.Version_Version$parse(text);
  8799. },
  8800. Version_Version$parse(text) {
  8801. var major, minor, patch, preRelease, build, t1, exception, _null = null,
  8802. _s17_ = 'Could not parse "',
  8803. match = $.$get$completeVersion().firstMatch$1(text);
  8804. if (match == null)
  8805. throw A.wrapException(A.FormatException$(_s17_ + text + '".', _null, _null));
  8806. try {
  8807. t1 = match._match[1];
  8808. t1.toString;
  8809. major = A.int_parse(t1, _null);
  8810. t1 = match._match[2];
  8811. t1.toString;
  8812. minor = A.int_parse(t1, _null);
  8813. t1 = match._match[3];
  8814. t1.toString;
  8815. patch = A.int_parse(t1, _null);
  8816. preRelease = match._match[5];
  8817. build = match._match[8];
  8818. t1 = A.Version$_(major, minor, patch, preRelease, build, text);
  8819. return t1;
  8820. } catch (exception) {
  8821. if (type$.FormatException._is(A.unwrapException(exception)))
  8822. throw A.wrapException(A.FormatException$(_s17_ + text + '".', _null, _null));
  8823. else
  8824. throw exception;
  8825. }
  8826. },
  8827. Version__splitParts(text) {
  8828. var t1 = type$.MappedListIterable_String_Object;
  8829. t1 = A.List_List$_of(new A.MappedListIterable(A._setArrayType(text.split("."), type$.JSArray_String), new A.Version__splitParts_closure(), t1), t1._eval$1("ListIterable.E"));
  8830. return t1;
  8831. },
  8832. Version: function Version(t0, t1, t2, t3, t4, t5) {
  8833. var _ = this;
  8834. _.major = t0;
  8835. _.minor = t1;
  8836. _.patch = t2;
  8837. _.preRelease = t3;
  8838. _.build = t4;
  8839. _._version$_text = t5;
  8840. },
  8841. Version__splitParts_closure: function Version__splitParts_closure() {
  8842. },
  8843. VersionRange_VersionRange(includeMax, max) {
  8844. return new A.VersionRange(null, max, false, true);
  8845. },
  8846. VersionRange: function VersionRange(t0, t1, t2, t3) {
  8847. var _ = this;
  8848. _.min = t0;
  8849. _.max = t1;
  8850. _.includeMin = t2;
  8851. _.includeMax = t3;
  8852. },
  8853. CssMediaQuery$type(type, conditions, modifier) {
  8854. return new A.CssMediaQuery(modifier, type, true, conditions == null ? B.List_empty : A.List_List$unmodifiable(conditions, type$.String));
  8855. },
  8856. CssMediaQuery$condition(conditions, conjunction) {
  8857. var t1 = A.List_List$unmodifiable(conditions, type$.String);
  8858. if (t1.length > 1 && conjunction == null)
  8859. A.throwExpression(A.ArgumentError$(string$.If_con, null));
  8860. return new A.CssMediaQuery(null, null, conjunction !== false, t1);
  8861. },
  8862. CssMediaQuery: function CssMediaQuery(t0, t1, t2, t3) {
  8863. var _ = this;
  8864. _.modifier = t0;
  8865. _.type = t1;
  8866. _.conjunction = t2;
  8867. _.conditions = t3;
  8868. },
  8869. _SingletonCssMediaQueryMergeResult: function _SingletonCssMediaQueryMergeResult(t0) {
  8870. this._name = t0;
  8871. },
  8872. MediaQuerySuccessfulMergeResult: function MediaQuerySuccessfulMergeResult(t0) {
  8873. this.query = t0;
  8874. },
  8875. ModifiableCssAtRule$($name, span, childless, value) {
  8876. var t1 = A._setArrayType([], type$.JSArray_ModifiableCssNode);
  8877. return new A.ModifiableCssAtRule($name, value, childless, span, new A.UnmodifiableListView(t1, type$.UnmodifiableListView_ModifiableCssNode), t1);
  8878. },
  8879. ModifiableCssAtRule: function ModifiableCssAtRule(t0, t1, t2, t3, t4, t5) {
  8880. var _ = this;
  8881. _.name = t0;
  8882. _.value = t1;
  8883. _.isChildless = t2;
  8884. _.span = t3;
  8885. _.children = t4;
  8886. _._children = t5;
  8887. _._indexInParent = _._parent = null;
  8888. _.isGroupEnd = false;
  8889. },
  8890. ModifiableCssComment: function ModifiableCssComment(t0, t1) {
  8891. var _ = this;
  8892. _.text = t0;
  8893. _.span = t1;
  8894. _._indexInParent = _._parent = null;
  8895. _.isGroupEnd = false;
  8896. },
  8897. ModifiableCssDeclaration$($name, value, span, interleavedRules, parsedAsCustomProperty, trace, valueSpanForMap) {
  8898. var t3,
  8899. t1 = interleavedRules == null ? B.List_empty13 : A.List_List$unmodifiable(interleavedRules, type$.CssStyleRule),
  8900. t2 = valueSpanForMap == null ? value.span : valueSpanForMap;
  8901. if (parsedAsCustomProperty)
  8902. if (!J.startsWith$1$s($name.value, "--"))
  8903. A.throwExpression(A.ArgumentError$(string$.parsed, null));
  8904. else {
  8905. t3 = value.value;
  8906. if (!(t3 instanceof A.SassString))
  8907. A.throwExpression(A.ArgumentError$(string$.If_par + value.toString$0(0) + "` of type " + A.getRuntimeTypeOfDartObject(t3).toString$0(0) + ").", null));
  8908. }
  8909. return new A.ModifiableCssDeclaration($name, value, parsedAsCustomProperty, t1, trace, t2, span);
  8910. },
  8911. ModifiableCssDeclaration: function ModifiableCssDeclaration(t0, t1, t2, t3, t4, t5, t6) {
  8912. var _ = this;
  8913. _.name = t0;
  8914. _.value = t1;
  8915. _.parsedAsCustomProperty = t2;
  8916. _.interleavedRules = t3;
  8917. _.trace = t4;
  8918. _.valueSpanForMap = t5;
  8919. _.span = t6;
  8920. _._indexInParent = _._parent = null;
  8921. _.isGroupEnd = false;
  8922. },
  8923. ModifiableCssImport: function ModifiableCssImport(t0, t1, t2) {
  8924. var _ = this;
  8925. _.url = t0;
  8926. _.modifiers = t1;
  8927. _.span = t2;
  8928. _._indexInParent = _._parent = null;
  8929. _.isGroupEnd = false;
  8930. },
  8931. ModifiableCssKeyframeBlock$(selector, span) {
  8932. var t1 = A._setArrayType([], type$.JSArray_ModifiableCssNode);
  8933. return new A.ModifiableCssKeyframeBlock(selector, span, new A.UnmodifiableListView(t1, type$.UnmodifiableListView_ModifiableCssNode), t1);
  8934. },
  8935. ModifiableCssKeyframeBlock: function ModifiableCssKeyframeBlock(t0, t1, t2, t3) {
  8936. var _ = this;
  8937. _.selector = t0;
  8938. _.span = t1;
  8939. _.children = t2;
  8940. _._children = t3;
  8941. _._indexInParent = _._parent = null;
  8942. _.isGroupEnd = false;
  8943. },
  8944. ModifiableCssMediaRule$(queries, span) {
  8945. var t1 = A.List_List$unmodifiable(queries, type$.CssMediaQuery),
  8946. t2 = A._setArrayType([], type$.JSArray_ModifiableCssNode);
  8947. if (J.get$isEmpty$asx(queries))
  8948. A.throwExpression(A.ArgumentError$value(queries, "queries", "may not be empty."));
  8949. return new A.ModifiableCssMediaRule(t1, span, new A.UnmodifiableListView(t2, type$.UnmodifiableListView_ModifiableCssNode), t2);
  8950. },
  8951. ModifiableCssMediaRule: function ModifiableCssMediaRule(t0, t1, t2, t3) {
  8952. var _ = this;
  8953. _.queries = t0;
  8954. _.span = t1;
  8955. _.children = t2;
  8956. _._children = t3;
  8957. _._indexInParent = _._parent = null;
  8958. _.isGroupEnd = false;
  8959. },
  8960. ModifiableCssNode: function ModifiableCssNode() {
  8961. },
  8962. ModifiableCssNode_hasFollowingSibling_closure: function ModifiableCssNode_hasFollowingSibling_closure() {
  8963. },
  8964. ModifiableCssParentNode: function ModifiableCssParentNode() {
  8965. },
  8966. ModifiableCssStyleRule$(_selector, span, fromPlainCss, originalSelector) {
  8967. var t1 = A._setArrayType([], type$.JSArray_ModifiableCssNode);
  8968. return new A.ModifiableCssStyleRule(_selector, originalSelector, span, fromPlainCss, new A.UnmodifiableListView(t1, type$.UnmodifiableListView_ModifiableCssNode), t1);
  8969. },
  8970. ModifiableCssStyleRule: function ModifiableCssStyleRule(t0, t1, t2, t3, t4, t5) {
  8971. var _ = this;
  8972. _._style_rule$_selector = t0;
  8973. _.originalSelector = t1;
  8974. _.span = t2;
  8975. _.fromPlainCss = t3;
  8976. _.children = t4;
  8977. _._children = t5;
  8978. _._indexInParent = _._parent = null;
  8979. _.isGroupEnd = false;
  8980. },
  8981. ModifiableCssStylesheet$(span) {
  8982. var t1 = A._setArrayType([], type$.JSArray_ModifiableCssNode);
  8983. return new A.ModifiableCssStylesheet(span, new A.UnmodifiableListView(t1, type$.UnmodifiableListView_ModifiableCssNode), t1);
  8984. },
  8985. ModifiableCssStylesheet: function ModifiableCssStylesheet(t0, t1, t2) {
  8986. var _ = this;
  8987. _.span = t0;
  8988. _.children = t1;
  8989. _._children = t2;
  8990. _._indexInParent = _._parent = null;
  8991. _.isGroupEnd = false;
  8992. },
  8993. ModifiableCssSupportsRule$(condition, span) {
  8994. var t1 = A._setArrayType([], type$.JSArray_ModifiableCssNode);
  8995. return new A.ModifiableCssSupportsRule(condition, span, new A.UnmodifiableListView(t1, type$.UnmodifiableListView_ModifiableCssNode), t1);
  8996. },
  8997. ModifiableCssSupportsRule: function ModifiableCssSupportsRule(t0, t1, t2, t3) {
  8998. var _ = this;
  8999. _.condition = t0;
  9000. _.span = t1;
  9001. _.children = t2;
  9002. _._children = t3;
  9003. _._indexInParent = _._parent = null;
  9004. _.isGroupEnd = false;
  9005. },
  9006. CssNode: function CssNode() {
  9007. },
  9008. CssParentNode: function CssParentNode() {
  9009. },
  9010. _IsInvisibleVisitor: function _IsInvisibleVisitor(t0, t1) {
  9011. this.includeBogus = t0;
  9012. this.includeComments = t1;
  9013. },
  9014. __IsInvisibleVisitor_Object_EveryCssVisitor: function __IsInvisibleVisitor_Object_EveryCssVisitor() {
  9015. },
  9016. CssStylesheet: function CssStylesheet(t0, t1) {
  9017. this.children = t0;
  9018. this.span = t1;
  9019. },
  9020. CssValue: function CssValue(t0, t1, t2) {
  9021. this.value = t0;
  9022. this.span = t1;
  9023. this.$ti = t2;
  9024. },
  9025. _FakeAstNode: function _FakeAstNode(t0) {
  9026. this._callback = t0;
  9027. },
  9028. ArgumentList$empty(span) {
  9029. return new A.ArgumentList(B.List_empty9, B.Map_empty4, null, null, span);
  9030. },
  9031. ArgumentList: function ArgumentList(t0, t1, t2, t3, t4) {
  9032. var _ = this;
  9033. _.positional = t0;
  9034. _.named = t1;
  9035. _.rest = t2;
  9036. _.keywordRest = t3;
  9037. _.span = t4;
  9038. },
  9039. AtRootQuery: function AtRootQuery(t0, t1, t2, t3) {
  9040. var _ = this;
  9041. _.include = t0;
  9042. _.names = t1;
  9043. _._all = t2;
  9044. _._at_root_query$_rule = t3;
  9045. },
  9046. ConfiguredVariable: function ConfiguredVariable(t0, t1, t2, t3) {
  9047. var _ = this;
  9048. _.name = t0;
  9049. _.expression = t1;
  9050. _.isGuarded = t2;
  9051. _.span = t3;
  9052. },
  9053. Expression: function Expression() {
  9054. },
  9055. BinaryOperationExpression: function BinaryOperationExpression(t0, t1, t2, t3) {
  9056. var _ = this;
  9057. _.operator = t0;
  9058. _.left = t1;
  9059. _.right = t2;
  9060. _.allowsSlash = t3;
  9061. },
  9062. BinaryOperator: function BinaryOperator(t0, t1, t2, t3, t4) {
  9063. var _ = this;
  9064. _.name = t0;
  9065. _.operator = t1;
  9066. _.precedence = t2;
  9067. _.isAssociative = t3;
  9068. _._name = t4;
  9069. },
  9070. BooleanExpression: function BooleanExpression(t0, t1) {
  9071. this.value = t0;
  9072. this.span = t1;
  9073. },
  9074. ColorExpression: function ColorExpression(t0, t1) {
  9075. this.value = t0;
  9076. this.span = t1;
  9077. },
  9078. FunctionExpression: function FunctionExpression(t0, t1, t2, t3, t4) {
  9079. var _ = this;
  9080. _.namespace = t0;
  9081. _.name = t1;
  9082. _.originalName = t2;
  9083. _.$arguments = t3;
  9084. _.span = t4;
  9085. },
  9086. IfExpression: function IfExpression(t0, t1) {
  9087. this.$arguments = t0;
  9088. this.span = t1;
  9089. },
  9090. InterpolatedFunctionExpression: function InterpolatedFunctionExpression(t0, t1, t2) {
  9091. this.name = t0;
  9092. this.$arguments = t1;
  9093. this.span = t2;
  9094. },
  9095. ListExpression: function ListExpression(t0, t1, t2, t3) {
  9096. var _ = this;
  9097. _.contents = t0;
  9098. _.separator = t1;
  9099. _.hasBrackets = t2;
  9100. _.span = t3;
  9101. },
  9102. ListExpression_toString_closure: function ListExpression_toString_closure(t0) {
  9103. this.$this = t0;
  9104. },
  9105. MapExpression: function MapExpression(t0, t1) {
  9106. this.pairs = t0;
  9107. this.span = t1;
  9108. },
  9109. NullExpression: function NullExpression(t0) {
  9110. this.span = t0;
  9111. },
  9112. NumberExpression: function NumberExpression(t0, t1, t2) {
  9113. this.value = t0;
  9114. this.unit = t1;
  9115. this.span = t2;
  9116. },
  9117. ParenthesizedExpression: function ParenthesizedExpression(t0, t1) {
  9118. this.expression = t0;
  9119. this.span = t1;
  9120. },
  9121. SelectorExpression: function SelectorExpression(t0) {
  9122. this.span = t0;
  9123. },
  9124. StringExpression_quoteText(text) {
  9125. var t1,
  9126. quote = A.StringExpression__bestQuote(A._setArrayType([text], type$.JSArray_String)),
  9127. buffer = new A.StringBuffer("");
  9128. buffer._contents = "" + A.Primitives_stringFromCharCode(quote);
  9129. A.StringExpression__quoteInnerText(text, quote, buffer, true);
  9130. t1 = A.Primitives_stringFromCharCode(quote);
  9131. t1 = buffer._contents += t1;
  9132. return t1.charCodeAt(0) == 0 ? t1 : t1;
  9133. },
  9134. StringExpression__quoteInnerText(text, quote, buffer, $static) {
  9135. var t1, t2, i, _1_0, _0_0, t3, t4, t5, t0;
  9136. for (t1 = text.length, t2 = t1 - 1, i = 0; i < t1; ++i) {
  9137. _1_0 = text.charCodeAt(i);
  9138. if (_1_0 === 10 || _1_0 === 13 || _1_0 === 12) {
  9139. buffer.writeCharCode$1(92);
  9140. buffer.writeCharCode$1(97);
  9141. if (i !== t2) {
  9142. _0_0 = text.charCodeAt(i + 1);
  9143. t3 = true;
  9144. if (!(_0_0 === 32 || _0_0 === 9 || _0_0 === 10 || _0_0 === 13 || _0_0 === 12))
  9145. if (!(_0_0 >= 48 && _0_0 <= 57))
  9146. if (!(_0_0 >= 97 && _0_0 <= 102))
  9147. t3 = _0_0 >= 65 && _0_0 <= 70;
  9148. if (t3)
  9149. buffer.writeCharCode$1(32);
  9150. }
  9151. continue;
  9152. }
  9153. t3 = 92 === _1_0;
  9154. if (t3)
  9155. t4 = _1_0;
  9156. else
  9157. t4 = null;
  9158. if (!t3) {
  9159. t3 = false;
  9160. t5 = _1_0 === quote;
  9161. if (t5)
  9162. t4 = _1_0;
  9163. if (!t5)
  9164. if (35 === _1_0)
  9165. if ($static)
  9166. if (i < t2) {
  9167. t3 = text.charCodeAt(i + 1) === 123;
  9168. if (t3)
  9169. t4 = _1_0;
  9170. t0 = t4;
  9171. t4 = t3;
  9172. t3 = t0;
  9173. } else {
  9174. t0 = t4;
  9175. t4 = t3;
  9176. t3 = t0;
  9177. }
  9178. else {
  9179. t0 = t4;
  9180. t4 = t3;
  9181. t3 = t0;
  9182. }
  9183. else {
  9184. t0 = t4;
  9185. t4 = t3;
  9186. t3 = t0;
  9187. }
  9188. else {
  9189. t3 = t4;
  9190. t4 = true;
  9191. }
  9192. } else {
  9193. t3 = t4;
  9194. t4 = true;
  9195. }
  9196. if (t4) {
  9197. buffer.writeCharCode$1(92);
  9198. buffer.writeCharCode$1(t3);
  9199. continue;
  9200. }
  9201. buffer.writeCharCode$1(_1_0);
  9202. }
  9203. },
  9204. StringExpression__bestQuote(strings) {
  9205. var t1, t2, t3, containsDoubleQuote, t4, t5;
  9206. for (t1 = J.get$iterator$ax(strings), t2 = type$.CodeUnits, t3 = t2._eval$1("ListIterator<ListBase.E>"), t2 = t2._eval$1("ListBase.E"), containsDoubleQuote = false; t1.moveNext$0();)
  9207. for (t4 = new A.CodeUnits(t1.get$current(t1)), t4 = new A.ListIterator(t4, t4.get$length(0), t3); t4.moveNext$0();) {
  9208. t5 = t4.__internal$_current;
  9209. if (t5 == null)
  9210. t5 = t2._as(t5);
  9211. if (t5 === 39)
  9212. return 34;
  9213. if (t5 === 34)
  9214. containsDoubleQuote = true;
  9215. }
  9216. return containsDoubleQuote ? 39 : 34;
  9217. },
  9218. StringExpression: function StringExpression(t0, t1) {
  9219. this.text = t0;
  9220. this.hasQuotes = t1;
  9221. },
  9222. SupportsExpression: function SupportsExpression(t0) {
  9223. this.condition = t0;
  9224. },
  9225. UnaryOperationExpression: function UnaryOperationExpression(t0, t1, t2) {
  9226. this.operator = t0;
  9227. this.operand = t1;
  9228. this.span = t2;
  9229. },
  9230. UnaryOperator: function UnaryOperator(t0, t1, t2) {
  9231. this.name = t0;
  9232. this.operator = t1;
  9233. this._name = t2;
  9234. },
  9235. ValueExpression: function ValueExpression(t0, t1) {
  9236. this.value = t0;
  9237. this.span = t1;
  9238. },
  9239. VariableExpression: function VariableExpression(t0, t1, t2) {
  9240. this.namespace = t0;
  9241. this.name = t1;
  9242. this.span = t2;
  9243. },
  9244. DynamicImport: function DynamicImport(t0, t1) {
  9245. this.urlString = t0;
  9246. this.span = t1;
  9247. },
  9248. StaticImport: function StaticImport(t0, t1, t2) {
  9249. this.url = t0;
  9250. this.modifiers = t1;
  9251. this.span = t2;
  9252. },
  9253. Interpolation$(contents, spans, span) {
  9254. var t1 = new A.Interpolation(A.List_List$unmodifiable(contents, type$.Object), A.List_List$unmodifiable(spans, type$.nullable_FileSpan), span);
  9255. t1.Interpolation$3(contents, spans, span);
  9256. return t1;
  9257. },
  9258. Interpolation: function Interpolation(t0, t1, t2) {
  9259. this.contents = t0;
  9260. this.spans = t1;
  9261. this.span = t2;
  9262. },
  9263. Interpolation_toString_closure: function Interpolation_toString_closure() {
  9264. },
  9265. Parameter: function Parameter(t0, t1, t2) {
  9266. this.name = t0;
  9267. this.defaultValue = t1;
  9268. this.span = t2;
  9269. },
  9270. ParameterList_ParameterList$parse(contents, url) {
  9271. return A.ScssParser$(contents, url).parseParameterList$0();
  9272. },
  9273. ParameterList: function ParameterList(t0, t1, t2) {
  9274. this.parameters = t0;
  9275. this.restParameter = t1;
  9276. this.span = t2;
  9277. },
  9278. ParameterList_verify_closure: function ParameterList_verify_closure() {
  9279. },
  9280. ParameterList_verify_closure0: function ParameterList_verify_closure0() {
  9281. },
  9282. Statement: function Statement() {
  9283. },
  9284. AtRootRule$(children, span, query) {
  9285. var t1 = A.List_List$unmodifiable(children, type$.Statement),
  9286. t2 = B.JSArray_methods.any$1(t1, new A.ParentStatement_closure());
  9287. return new A.AtRootRule(query, span, t1, t2);
  9288. },
  9289. AtRootRule: function AtRootRule(t0, t1, t2, t3) {
  9290. var _ = this;
  9291. _.query = t0;
  9292. _.span = t1;
  9293. _.children = t2;
  9294. _.hasDeclarations = t3;
  9295. },
  9296. AtRule$($name, span, children, value) {
  9297. var t1 = children == null ? null : A.List_List$unmodifiable(children, type$.Statement),
  9298. t2 = t1 == null ? null : B.JSArray_methods.any$1(t1, new A.ParentStatement_closure());
  9299. return new A.AtRule($name, value, span, t1, t2 === true);
  9300. },
  9301. AtRule: function AtRule(t0, t1, t2, t3, t4) {
  9302. var _ = this;
  9303. _.name = t0;
  9304. _.value = t1;
  9305. _.span = t2;
  9306. _.children = t3;
  9307. _.hasDeclarations = t4;
  9308. },
  9309. CallableDeclaration: function CallableDeclaration() {
  9310. },
  9311. ContentBlock$(parameters, children, span) {
  9312. var _s8_ = "@content",
  9313. t1 = A.stringReplaceAllUnchecked(_s8_, "_", "-"),
  9314. t2 = A.List_List$unmodifiable(children, type$.Statement),
  9315. t3 = B.JSArray_methods.any$1(t2, new A.ParentStatement_closure());
  9316. return new A.ContentBlock(t1, _s8_, parameters, span, t2, t3);
  9317. },
  9318. ContentBlock: function ContentBlock(t0, t1, t2, t3, t4, t5) {
  9319. var _ = this;
  9320. _.name = t0;
  9321. _.originalName = t1;
  9322. _.parameters = t2;
  9323. _.span = t3;
  9324. _.children = t4;
  9325. _.hasDeclarations = t5;
  9326. },
  9327. ContentRule: function ContentRule(t0, t1) {
  9328. this.$arguments = t0;
  9329. this.span = t1;
  9330. },
  9331. DebugRule: function DebugRule(t0, t1) {
  9332. this.expression = t0;
  9333. this.span = t1;
  9334. },
  9335. Declaration$($name, value, span) {
  9336. return new A.Declaration($name, value, span, null, false);
  9337. },
  9338. Declaration$nested($name, children, span, value) {
  9339. var t1 = A.List_List$unmodifiable(children, type$.Statement),
  9340. t2 = B.JSArray_methods.any$1(t1, new A.ParentStatement_closure());
  9341. return new A.Declaration($name, value, span, t1, t2);
  9342. },
  9343. Declaration: function Declaration(t0, t1, t2, t3, t4) {
  9344. var _ = this;
  9345. _.name = t0;
  9346. _.value = t1;
  9347. _.span = t2;
  9348. _.children = t3;
  9349. _.hasDeclarations = t4;
  9350. },
  9351. EachRule$(variables, list, children, span) {
  9352. var t1 = A.List_List$unmodifiable(variables, type$.String),
  9353. t2 = A.List_List$unmodifiable(children, type$.Statement),
  9354. t3 = B.JSArray_methods.any$1(t2, new A.ParentStatement_closure());
  9355. return new A.EachRule(t1, list, span, t2, t3);
  9356. },
  9357. EachRule: function EachRule(t0, t1, t2, t3, t4) {
  9358. var _ = this;
  9359. _.variables = t0;
  9360. _.list = t1;
  9361. _.span = t2;
  9362. _.children = t3;
  9363. _.hasDeclarations = t4;
  9364. },
  9365. EachRule_toString_closure: function EachRule_toString_closure() {
  9366. },
  9367. ErrorRule: function ErrorRule(t0, t1) {
  9368. this.expression = t0;
  9369. this.span = t1;
  9370. },
  9371. ExtendRule: function ExtendRule(t0, t1, t2) {
  9372. this.selector = t0;
  9373. this.isOptional = t1;
  9374. this.span = t2;
  9375. },
  9376. ForRule$(variable, from, to, children, span, exclusive) {
  9377. var t1 = A.List_List$unmodifiable(children, type$.Statement),
  9378. t2 = B.JSArray_methods.any$1(t1, new A.ParentStatement_closure());
  9379. return new A.ForRule(variable, from, to, exclusive, span, t1, t2);
  9380. },
  9381. ForRule: function ForRule(t0, t1, t2, t3, t4, t5, t6) {
  9382. var _ = this;
  9383. _.variable = t0;
  9384. _.from = t1;
  9385. _.to = t2;
  9386. _.isExclusive = t3;
  9387. _.span = t4;
  9388. _.children = t5;
  9389. _.hasDeclarations = t6;
  9390. },
  9391. ForwardRule: function ForwardRule(t0, t1, t2, t3, t4, t5, t6, t7) {
  9392. var _ = this;
  9393. _.url = t0;
  9394. _.shownMixinsAndFunctions = t1;
  9395. _.shownVariables = t2;
  9396. _.hiddenMixinsAndFunctions = t3;
  9397. _.hiddenVariables = t4;
  9398. _.prefix = t5;
  9399. _.configuration = t6;
  9400. _.span = t7;
  9401. },
  9402. FunctionRule$($name, parameters, children, span, comment) {
  9403. var t1 = A.stringReplaceAllUnchecked($name, "_", "-"),
  9404. t2 = A.List_List$unmodifiable(children, type$.Statement),
  9405. t3 = B.JSArray_methods.any$1(t2, new A.ParentStatement_closure());
  9406. return new A.FunctionRule(t1, $name, parameters, span, t2, t3);
  9407. },
  9408. FunctionRule: function FunctionRule(t0, t1, t2, t3, t4, t5) {
  9409. var _ = this;
  9410. _.name = t0;
  9411. _.originalName = t1;
  9412. _.parameters = t2;
  9413. _.span = t3;
  9414. _.children = t4;
  9415. _.hasDeclarations = t5;
  9416. },
  9417. IfClause$(expression, children) {
  9418. var t1 = A.List_List$unmodifiable(children, type$.Statement);
  9419. return new A.IfClause(expression, t1, B.JSArray_methods.any$1(t1, new A.IfRuleClause$__closure()));
  9420. },
  9421. ElseClause$(children) {
  9422. var t1 = A.List_List$unmodifiable(children, type$.Statement);
  9423. return new A.ElseClause(t1, B.JSArray_methods.any$1(t1, new A.IfRuleClause$__closure()));
  9424. },
  9425. IfRule: function IfRule(t0, t1, t2) {
  9426. this.clauses = t0;
  9427. this.lastClause = t1;
  9428. this.span = t2;
  9429. },
  9430. IfRule_toString_closure: function IfRule_toString_closure() {
  9431. },
  9432. IfRuleClause: function IfRuleClause() {
  9433. },
  9434. IfRuleClause$__closure: function IfRuleClause$__closure() {
  9435. },
  9436. IfRuleClause$___closure: function IfRuleClause$___closure() {
  9437. },
  9438. IfClause: function IfClause(t0, t1, t2) {
  9439. this.expression = t0;
  9440. this.children = t1;
  9441. this.hasDeclarations = t2;
  9442. },
  9443. ElseClause: function ElseClause(t0, t1) {
  9444. this.children = t0;
  9445. this.hasDeclarations = t1;
  9446. },
  9447. ImportRule: function ImportRule(t0, t1) {
  9448. this.imports = t0;
  9449. this.span = t1;
  9450. },
  9451. IncludeRule: function IncludeRule(t0, t1, t2, t3, t4, t5) {
  9452. var _ = this;
  9453. _.namespace = t0;
  9454. _.name = t1;
  9455. _.originalName = t2;
  9456. _.$arguments = t3;
  9457. _.content = t4;
  9458. _.span = t5;
  9459. },
  9460. LoudComment: function LoudComment(t0) {
  9461. this.text = t0;
  9462. },
  9463. MediaRule$(query, children, span) {
  9464. var t1 = A.List_List$unmodifiable(children, type$.Statement),
  9465. t2 = B.JSArray_methods.any$1(t1, new A.ParentStatement_closure());
  9466. return new A.MediaRule(query, span, t1, t2);
  9467. },
  9468. MediaRule: function MediaRule(t0, t1, t2, t3) {
  9469. var _ = this;
  9470. _.query = t0;
  9471. _.span = t1;
  9472. _.children = t2;
  9473. _.hasDeclarations = t3;
  9474. },
  9475. MixinRule$($name, parameters, children, span, comment) {
  9476. var t1 = A.stringReplaceAllUnchecked($name, "_", "-"),
  9477. t2 = A.List_List$unmodifiable(children, type$.Statement),
  9478. t3 = B.JSArray_methods.any$1(t2, new A.ParentStatement_closure());
  9479. return new A.MixinRule(t1, $name, parameters, span, t2, t3);
  9480. },
  9481. MixinRule: function MixinRule(t0, t1, t2, t3, t4, t5) {
  9482. var _ = this;
  9483. _.__MixinRule_hasContent_FI = $;
  9484. _.name = t0;
  9485. _.originalName = t1;
  9486. _.parameters = t2;
  9487. _.span = t3;
  9488. _.children = t4;
  9489. _.hasDeclarations = t5;
  9490. },
  9491. _HasContentVisitor: function _HasContentVisitor() {
  9492. },
  9493. __HasContentVisitor_Object_StatementSearchVisitor: function __HasContentVisitor_Object_StatementSearchVisitor() {
  9494. },
  9495. ParentStatement: function ParentStatement() {
  9496. },
  9497. ParentStatement_closure: function ParentStatement_closure() {
  9498. },
  9499. ParentStatement__closure: function ParentStatement__closure() {
  9500. },
  9501. ReturnRule: function ReturnRule(t0, t1) {
  9502. this.expression = t0;
  9503. this.span = t1;
  9504. },
  9505. SilentComment: function SilentComment(t0, t1) {
  9506. this.text = t0;
  9507. this.span = t1;
  9508. },
  9509. StyleRule$(selector, children, span) {
  9510. var t1 = A.List_List$unmodifiable(children, type$.Statement),
  9511. t2 = B.JSArray_methods.any$1(t1, new A.ParentStatement_closure());
  9512. return new A.StyleRule(selector, span, t1, t2);
  9513. },
  9514. StyleRule: function StyleRule(t0, t1, t2, t3) {
  9515. var _ = this;
  9516. _.selector = t0;
  9517. _.span = t1;
  9518. _.children = t2;
  9519. _.hasDeclarations = t3;
  9520. },
  9521. Stylesheet$(children, span) {
  9522. var t1 = A._setArrayType([], type$.JSArray_Record_3_nullable_Deprecation_deprecation_and_String_message_and_FileSpan_span),
  9523. t2 = A._setArrayType([], type$.JSArray_UseRule),
  9524. t3 = A._setArrayType([], type$.JSArray_ForwardRule),
  9525. t4 = A.List_List$unmodifiable(children, type$.Statement),
  9526. t5 = B.JSArray_methods.any$1(t4, new A.ParentStatement_closure());
  9527. t2 = new A.Stylesheet(span, false, t2, t3, new A.UnmodifiableListView(t1, type$.UnmodifiableListView_Record_3_nullable_Deprecation_deprecation_and_String_message_and_FileSpan_span), B.Map_empty6, t4, t5);
  9528. t2.Stylesheet$internal$5$globalVariables$plainCss(children, span, t1, null, false);
  9529. return t2;
  9530. },
  9531. Stylesheet$internal(children, span, parseTimeWarnings, globalVariables, plainCss) {
  9532. var t1 = A._setArrayType([], type$.JSArray_UseRule),
  9533. t2 = A._setArrayType([], type$.JSArray_ForwardRule),
  9534. t3 = globalVariables == null ? B.Map_empty6 : A.ConstantMap_ConstantMap$from(globalVariables, type$.String, type$.FileSpan),
  9535. t4 = A.List_List$unmodifiable(children, type$.Statement),
  9536. t5 = B.JSArray_methods.any$1(t4, new A.ParentStatement_closure());
  9537. t1 = new A.Stylesheet(span, plainCss, t1, t2, new A.UnmodifiableListView(parseTimeWarnings, type$.UnmodifiableListView_Record_3_nullable_Deprecation_deprecation_and_String_message_and_FileSpan_span), t3, t4, t5);
  9538. t1.Stylesheet$internal$5$globalVariables$plainCss(children, span, parseTimeWarnings, globalVariables, plainCss);
  9539. return t1;
  9540. },
  9541. Stylesheet_Stylesheet$parse(contents, syntax, url) {
  9542. var error, stackTrace, url0, t1, exception, t2;
  9543. try {
  9544. switch (syntax) {
  9545. case B.Syntax_Sass_sass:
  9546. t1 = new A.SassParser(A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.FileSpan), A._setArrayType([], type$.JSArray_Record_3_nullable_Deprecation_deprecation_and_String_message_and_FileSpan_span), A.SpanScanner$(contents, url), null).parse$0(0);
  9547. return t1;
  9548. case B.Syntax_SCSS_scss:
  9549. t1 = A.ScssParser$(contents, url).parse$0(0);
  9550. return t1;
  9551. case B.Syntax_CSS_css:
  9552. t1 = new A.CssParser(A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.FileSpan), A._setArrayType([], type$.JSArray_Record_3_nullable_Deprecation_deprecation_and_String_message_and_FileSpan_span), A.SpanScanner$(contents, url), null).parse$0(0);
  9553. return t1;
  9554. }
  9555. } catch (exception) {
  9556. t1 = A.unwrapException(exception);
  9557. if (t1 instanceof A.SassException) {
  9558. error = t1;
  9559. stackTrace = A.getTraceFromException(exception);
  9560. t1 = error;
  9561. t2 = J.getInterceptor$z(t1);
  9562. t1 = A.SourceSpanException.prototype.get$span.call(t2, t1);
  9563. url0 = t1.get$sourceUrl(t1);
  9564. if (url0 == null || url0.toString$0(0) === "stdin")
  9565. throw exception;
  9566. t1 = type$.Uri;
  9567. throw A.wrapException(A.throwWithTrace(error.withLoadedUrls$1(A.Set_Set$unmodifiable(A.LinkedHashSet_LinkedHashSet$_literal([url0], t1), t1)), error, stackTrace));
  9568. } else
  9569. throw exception;
  9570. }
  9571. },
  9572. Stylesheet: function Stylesheet(t0, t1, t2, t3, t4, t5, t6, t7) {
  9573. var _ = this;
  9574. _.span = t0;
  9575. _.plainCss = t1;
  9576. _._uses = t2;
  9577. _._forwards = t3;
  9578. _.parseTimeWarnings = t4;
  9579. _.globalVariables = t5;
  9580. _.children = t6;
  9581. _.hasDeclarations = t7;
  9582. },
  9583. SupportsRule$(condition, children, span) {
  9584. var t1 = A.List_List$unmodifiable(children, type$.Statement),
  9585. t2 = B.JSArray_methods.any$1(t1, new A.ParentStatement_closure());
  9586. return new A.SupportsRule(condition, span, t1, t2);
  9587. },
  9588. SupportsRule: function SupportsRule(t0, t1, t2, t3) {
  9589. var _ = this;
  9590. _.condition = t0;
  9591. _.span = t1;
  9592. _.children = t2;
  9593. _.hasDeclarations = t3;
  9594. },
  9595. UseRule: function UseRule(t0, t1, t2, t3) {
  9596. var _ = this;
  9597. _.url = t0;
  9598. _.namespace = t1;
  9599. _.configuration = t2;
  9600. _.span = t3;
  9601. },
  9602. VariableDeclaration$($name, expression, span, comment, global, guarded, namespace) {
  9603. if (namespace != null && global)
  9604. A.throwExpression(A.ArgumentError$(string$.Other_, null));
  9605. return new A.VariableDeclaration(namespace, $name, expression, guarded, global, span);
  9606. },
  9607. VariableDeclaration: function VariableDeclaration(t0, t1, t2, t3, t4, t5) {
  9608. var _ = this;
  9609. _.namespace = t0;
  9610. _.name = t1;
  9611. _.expression = t2;
  9612. _.isGuarded = t3;
  9613. _.isGlobal = t4;
  9614. _.span = t5;
  9615. },
  9616. WarnRule: function WarnRule(t0, t1) {
  9617. this.expression = t0;
  9618. this.span = t1;
  9619. },
  9620. WhileRule$(condition, children, span) {
  9621. var t1 = A.List_List$unmodifiable(children, type$.Statement),
  9622. t2 = B.JSArray_methods.any$1(t1, new A.ParentStatement_closure());
  9623. return new A.WhileRule(condition, span, t1, t2);
  9624. },
  9625. WhileRule: function WhileRule(t0, t1, t2, t3) {
  9626. var _ = this;
  9627. _.condition = t0;
  9628. _.span = t1;
  9629. _.children = t2;
  9630. _.hasDeclarations = t3;
  9631. },
  9632. SupportsAnything: function SupportsAnything(t0, t1) {
  9633. this.contents = t0;
  9634. this.span = t1;
  9635. },
  9636. SupportsDeclaration: function SupportsDeclaration(t0, t1, t2) {
  9637. this.name = t0;
  9638. this.value = t1;
  9639. this.span = t2;
  9640. },
  9641. SupportsFunction: function SupportsFunction(t0, t1, t2) {
  9642. this.name = t0;
  9643. this.$arguments = t1;
  9644. this.span = t2;
  9645. },
  9646. SupportsInterpolation: function SupportsInterpolation(t0, t1) {
  9647. this.expression = t0;
  9648. this.span = t1;
  9649. },
  9650. SupportsNegation: function SupportsNegation(t0, t1) {
  9651. this.condition = t0;
  9652. this.span = t1;
  9653. },
  9654. SupportsOperation$(left, right, operator, span) {
  9655. var lowerOperator = operator.toLowerCase();
  9656. if (lowerOperator !== "and" && lowerOperator !== "or")
  9657. A.throwExpression(A.ArgumentError$value(operator, "operator", 'may only be "and" or "or".'));
  9658. return new A.SupportsOperation(left, right, operator, span);
  9659. },
  9660. SupportsOperation: function SupportsOperation(t0, t1, t2, t3) {
  9661. var _ = this;
  9662. _.left = t0;
  9663. _.right = t1;
  9664. _.operator = t2;
  9665. _.span = t3;
  9666. },
  9667. Selector: function Selector() {
  9668. },
  9669. _IsInvisibleVisitor0: function _IsInvisibleVisitor0(t0) {
  9670. this.includeBogus = t0;
  9671. },
  9672. _IsBogusVisitor: function _IsBogusVisitor(t0) {
  9673. this.includeLeadingCombinator = t0;
  9674. },
  9675. _IsBogusVisitor_visitComplexSelector_closure: function _IsBogusVisitor_visitComplexSelector_closure(t0) {
  9676. this.$this = t0;
  9677. },
  9678. _IsUselessVisitor: function _IsUselessVisitor() {
  9679. },
  9680. _IsUselessVisitor_visitComplexSelector_closure: function _IsUselessVisitor_visitComplexSelector_closure(t0) {
  9681. this.$this = t0;
  9682. },
  9683. _ContainsParentSelectorVisitor: function _ContainsParentSelectorVisitor() {
  9684. },
  9685. __ContainsParentSelectorVisitor_Object_AnySelectorVisitor: function __ContainsParentSelectorVisitor_Object_AnySelectorVisitor() {
  9686. },
  9687. __IsBogusVisitor_Object_AnySelectorVisitor: function __IsBogusVisitor_Object_AnySelectorVisitor() {
  9688. },
  9689. __IsInvisibleVisitor_Object_AnySelectorVisitor: function __IsInvisibleVisitor_Object_AnySelectorVisitor() {
  9690. },
  9691. __IsUselessVisitor_Object_AnySelectorVisitor: function __IsUselessVisitor_Object_AnySelectorVisitor() {
  9692. },
  9693. AttributeSelector: function AttributeSelector(t0, t1, t2, t3, t4) {
  9694. var _ = this;
  9695. _.name = t0;
  9696. _.op = t1;
  9697. _.value = t2;
  9698. _.modifier = t3;
  9699. _.span = t4;
  9700. },
  9701. AttributeOperator: function AttributeOperator(t0, t1) {
  9702. this._attribute$_text = t0;
  9703. this._name = t1;
  9704. },
  9705. ClassSelector: function ClassSelector(t0, t1) {
  9706. this.name = t0;
  9707. this.span = t1;
  9708. },
  9709. Combinator: function Combinator(t0, t1) {
  9710. this._combinator$_text = t0;
  9711. this._name = t1;
  9712. },
  9713. ComplexSelector$(leadingCombinators, components, span, lineBreak) {
  9714. var t1 = A.List_List$unmodifiable(leadingCombinators, type$.CssValue_Combinator),
  9715. t2 = A.List_List$unmodifiable(components, type$.ComplexSelectorComponent);
  9716. if (t1.length === 0 && t2.length === 0)
  9717. A.throwExpression(A.ArgumentError$(string$.leadin, null));
  9718. return new A.ComplexSelector(t1, t2, lineBreak, span);
  9719. },
  9720. ComplexSelector: function ComplexSelector(t0, t1, t2, t3) {
  9721. var _ = this;
  9722. _.leadingCombinators = t0;
  9723. _.components = t1;
  9724. _.lineBreak = t2;
  9725. _.__ComplexSelector_specificity_FI = $;
  9726. _.span = t3;
  9727. },
  9728. ComplexSelector_specificity_closure: function ComplexSelector_specificity_closure() {
  9729. },
  9730. ComplexSelectorComponent: function ComplexSelectorComponent(t0, t1, t2) {
  9731. this.selector = t0;
  9732. this.combinators = t1;
  9733. this.span = t2;
  9734. },
  9735. ComplexSelectorComponent_toString_closure: function ComplexSelectorComponent_toString_closure() {
  9736. },
  9737. CompoundSelector$(components, span) {
  9738. var t1 = A.List_List$unmodifiable(components, type$.SimpleSelector);
  9739. if (t1.length === 0)
  9740. A.throwExpression(A.ArgumentError$("components may not be empty.", null));
  9741. return new A.CompoundSelector(t1, span);
  9742. },
  9743. CompoundSelector: function CompoundSelector(t0, t1) {
  9744. var _ = this;
  9745. _.components = t0;
  9746. _.__CompoundSelector_hasComplicatedSuperselectorSemantics_FI = _.__CompoundSelector_specificity_FI = $;
  9747. _.span = t1;
  9748. },
  9749. CompoundSelector_specificity_closure: function CompoundSelector_specificity_closure() {
  9750. },
  9751. CompoundSelector_hasComplicatedSuperselectorSemantics_closure: function CompoundSelector_hasComplicatedSuperselectorSemantics_closure() {
  9752. },
  9753. IDSelector: function IDSelector(t0, t1) {
  9754. this.name = t0;
  9755. this.span = t1;
  9756. },
  9757. IDSelector_unify_closure: function IDSelector_unify_closure(t0) {
  9758. this.$this = t0;
  9759. },
  9760. SelectorList$(components, span) {
  9761. var t1 = A.List_List$unmodifiable(components, type$.ComplexSelector);
  9762. if (t1.length === 0)
  9763. A.throwExpression(A.ArgumentError$("components may not be empty.", null));
  9764. return new A.SelectorList(t1, span);
  9765. },
  9766. SelectorList_SelectorList$parse(contents, allowParent, interpolationMap, plainCss) {
  9767. return new A.SelectorParser(allowParent, plainCss, A.SpanScanner$(contents, null), interpolationMap).parse$0(0);
  9768. },
  9769. SelectorList: function SelectorList(t0, t1) {
  9770. this.components = t0;
  9771. this.span = t1;
  9772. },
  9773. SelectorList_asSassList_closure: function SelectorList_asSassList_closure() {
  9774. },
  9775. SelectorList_nestWithin_closure: function SelectorList_nestWithin_closure(t0, t1, t2, t3) {
  9776. var _ = this;
  9777. _.$this = t0;
  9778. _.preserveParentSelectors = t1;
  9779. _.implicitParent = t2;
  9780. _.parent = t3;
  9781. },
  9782. SelectorList_nestWithin__closure: function SelectorList_nestWithin__closure(t0) {
  9783. this.complex = t0;
  9784. },
  9785. SelectorList_nestWithin__closure0: function SelectorList_nestWithin__closure0(t0) {
  9786. this.complex = t0;
  9787. },
  9788. SelectorList__nestWithinCompound_closure: function SelectorList__nestWithinCompound_closure() {
  9789. },
  9790. SelectorList__nestWithinCompound_closure0: function SelectorList__nestWithinCompound_closure0(t0) {
  9791. this.parent = t0;
  9792. },
  9793. SelectorList__nestWithinCompound_closure1: function SelectorList__nestWithinCompound_closure1(t0, t1, t2) {
  9794. this.parentSelector = t0;
  9795. this.resolvedSimples = t1;
  9796. this.component = t2;
  9797. },
  9798. SelectorList_withAdditionalCombinators_closure: function SelectorList_withAdditionalCombinators_closure(t0) {
  9799. this.combinators = t0;
  9800. },
  9801. _ParentSelectorVisitor: function _ParentSelectorVisitor() {
  9802. },
  9803. __ParentSelectorVisitor_Object_SelectorSearchVisitor: function __ParentSelectorVisitor_Object_SelectorSearchVisitor() {
  9804. },
  9805. ParentSelector: function ParentSelector(t0, t1) {
  9806. this.suffix = t0;
  9807. this.span = t1;
  9808. },
  9809. PlaceholderSelector: function PlaceholderSelector(t0, t1) {
  9810. this.name = t0;
  9811. this.span = t1;
  9812. },
  9813. PseudoSelector$($name, span, argument, element, selector) {
  9814. var t1 = !element,
  9815. t2 = t1 && !A.PseudoSelector__isFakePseudoElement($name);
  9816. return new A.PseudoSelector($name, A.unvendor($name), t2, t1, argument, selector, span);
  9817. },
  9818. PseudoSelector__isFakePseudoElement($name) {
  9819. switch ($name.charCodeAt(0)) {
  9820. case 97:
  9821. case 65:
  9822. return A.equalsIgnoreCase($name, "after");
  9823. case 98:
  9824. case 66:
  9825. return A.equalsIgnoreCase($name, "before");
  9826. case 102:
  9827. case 70:
  9828. return A.equalsIgnoreCase($name, "first-line") || A.equalsIgnoreCase($name, "first-letter");
  9829. default:
  9830. return false;
  9831. }
  9832. },
  9833. PseudoSelector: function PseudoSelector(t0, t1, t2, t3, t4, t5, t6) {
  9834. var _ = this;
  9835. _.name = t0;
  9836. _.normalizedName = t1;
  9837. _.isClass = t2;
  9838. _.isSyntacticClass = t3;
  9839. _.argument = t4;
  9840. _.selector = t5;
  9841. _.__PseudoSelector_specificity_FI = $;
  9842. _.span = t6;
  9843. },
  9844. PseudoSelector_specificity_closure: function PseudoSelector_specificity_closure(t0) {
  9845. this.$this = t0;
  9846. },
  9847. PseudoSelector_specificity__closure: function PseudoSelector_specificity__closure() {
  9848. },
  9849. PseudoSelector_specificity__closure0: function PseudoSelector_specificity__closure0() {
  9850. },
  9851. PseudoSelector_unify_closure: function PseudoSelector_unify_closure() {
  9852. },
  9853. QualifiedName: function QualifiedName(t0, t1) {
  9854. this.name = t0;
  9855. this.namespace = t1;
  9856. },
  9857. SimpleSelector: function SimpleSelector() {
  9858. },
  9859. SimpleSelector_isSuperselector_closure: function SimpleSelector_isSuperselector_closure(t0) {
  9860. this.$this = t0;
  9861. },
  9862. SimpleSelector_isSuperselector__closure: function SimpleSelector_isSuperselector__closure(t0) {
  9863. this.$this = t0;
  9864. },
  9865. TypeSelector: function TypeSelector(t0, t1) {
  9866. this.name = t0;
  9867. this.span = t1;
  9868. },
  9869. UniversalSelector: function UniversalSelector(t0, t1) {
  9870. this.namespace = t0;
  9871. this.span = t1;
  9872. },
  9873. compileAsync(path, charset, fatalDeprecations, futureDeprecations, importCache, logger, quietDeps, silenceDeprecations, sourceMap, style, syntax, verbose) {
  9874. return A.compileAsync$body(path, charset, fatalDeprecations, futureDeprecations, importCache, logger, quietDeps, silenceDeprecations, sourceMap, style, syntax, verbose);
  9875. },
  9876. compileAsync$body(path, charset, fatalDeprecations, futureDeprecations, importCache, logger, quietDeps, silenceDeprecations, sourceMap, style, syntax, verbose) {
  9877. var $async$goto = 0,
  9878. $async$completer = A._makeAsyncAwaitCompleter(type$.CompileResult),
  9879. $async$returnValue, t3, t4, t0, stylesheet, result, t1, t2;
  9880. var $async$compileAsync = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  9881. if ($async$errorCode === 1)
  9882. return A._asyncRethrow($async$result, $async$completer);
  9883. while (true)
  9884. switch ($async$goto) {
  9885. case 0:
  9886. // Function start
  9887. t1 = type$.Deprecation;
  9888. t2 = A.LinkedHashSet_LinkedHashSet$_empty(t1);
  9889. t2.addAll$1(0, silenceDeprecations);
  9890. t3 = A.LinkedHashSet_LinkedHashSet$_empty(t1);
  9891. t3.addAll$1(0, fatalDeprecations);
  9892. t4 = A.LinkedHashSet_LinkedHashSet$_empty(t1);
  9893. t4.addAll$1(0, futureDeprecations);
  9894. logger = new A.DeprecationProcessingLogger(A.LinkedHashMap_LinkedHashMap$_empty(t1, type$.int), logger, t2, t3, t4, !verbose);
  9895. logger.validate$0();
  9896. t1 = syntax === A.Syntax_forPath(path);
  9897. $async$goto = t1 ? 3 : 5;
  9898. break;
  9899. case 3:
  9900. // then
  9901. t1 = $.$get$FilesystemImporter_cwd();
  9902. t2 = A.isNodeJs() ? self.process : null;
  9903. if (!J.$eq$(t2 == null ? null : J.get$platform$x(t2), "win32")) {
  9904. t2 = A.isNodeJs() ? self.process : null;
  9905. t2 = J.$eq$(t2 == null ? null : J.get$platform$x(t2), "darwin");
  9906. } else
  9907. t2 = true;
  9908. if (t2) {
  9909. t2 = A.absolute(path, null, null, null, null, null, null, null, null, null, null, null, null, null, null);
  9910. t3 = $.$get$context();
  9911. t2 = A._realCasePath(t3.normalize$1(t2));
  9912. } else {
  9913. t2 = $.$get$context();
  9914. t3 = t2.canonicalize$1(0, path);
  9915. t0 = t3;
  9916. t3 = t2;
  9917. t2 = t0;
  9918. }
  9919. $async$goto = 6;
  9920. return A._asyncAwait(importCache.importCanonical$3$originalUrl(t1, t3.toUri$1(t2), t3.toUri$1(path)), $async$compileAsync);
  9921. case 6:
  9922. // returning from await.
  9923. t3 = $async$result;
  9924. t3.toString;
  9925. stylesheet = t3;
  9926. // goto join
  9927. $async$goto = 4;
  9928. break;
  9929. case 5:
  9930. // else
  9931. t1 = A.readFile(path);
  9932. stylesheet = A.Stylesheet_Stylesheet$parse(t1, syntax, $.$get$context().toUri$1(path));
  9933. case 4:
  9934. // join
  9935. $async$goto = 7;
  9936. return A._asyncAwait(A._compileStylesheet0(stylesheet, logger, importCache, null, $.$get$FilesystemImporter_cwd(), null, style, true, null, null, quietDeps, sourceMap, charset), $async$compileAsync);
  9937. case 7:
  9938. // returning from await.
  9939. result = $async$result;
  9940. logger.summarize$1$js(false);
  9941. $async$returnValue = result;
  9942. // goto return
  9943. $async$goto = 1;
  9944. break;
  9945. case 1:
  9946. // return
  9947. return A._asyncReturn($async$returnValue, $async$completer);
  9948. }
  9949. });
  9950. return A._asyncStartSync($async$compileAsync, $async$completer);
  9951. },
  9952. compileStringAsync(source, charset, fatalDeprecations, futureDeprecations, importCache, importer, logger, quietDeps, silenceDeprecations, sourceMap, style, syntax, verbose) {
  9953. return A.compileStringAsync$body(source, charset, fatalDeprecations, futureDeprecations, importCache, importer, logger, quietDeps, silenceDeprecations, sourceMap, style, syntax, verbose);
  9954. },
  9955. compileStringAsync$body(source, charset, fatalDeprecations, futureDeprecations, importCache, importer, logger, quietDeps, silenceDeprecations, sourceMap, style, syntax, verbose) {
  9956. var $async$goto = 0,
  9957. $async$completer = A._makeAsyncAwaitCompleter(type$.CompileResult),
  9958. $async$returnValue, t3, t4, stylesheet, _0_0, result, t1, t2;
  9959. var $async$compileStringAsync = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  9960. if ($async$errorCode === 1)
  9961. return A._asyncRethrow($async$result, $async$completer);
  9962. while (true)
  9963. switch ($async$goto) {
  9964. case 0:
  9965. // Function start
  9966. t1 = type$.Deprecation;
  9967. t2 = A.LinkedHashSet_LinkedHashSet$_empty(t1);
  9968. t2.addAll$1(0, silenceDeprecations);
  9969. t3 = A.LinkedHashSet_LinkedHashSet$_empty(t1);
  9970. t3.addAll$1(0, fatalDeprecations);
  9971. t4 = A.LinkedHashSet_LinkedHashSet$_empty(t1);
  9972. t4.addAll$1(0, futureDeprecations);
  9973. logger = new A.DeprecationProcessingLogger(A.LinkedHashMap_LinkedHashMap$_empty(t1, type$.int), logger, t2, t3, t4, !verbose);
  9974. logger.validate$0();
  9975. stylesheet = A.Stylesheet_Stylesheet$parse(source, syntax, null);
  9976. t1 = stylesheet.span;
  9977. _0_0 = t1.get$sourceUrl(t1);
  9978. if (type$.Uri._is(_0_0))
  9979. t2 = "" === _0_0.get$scheme();
  9980. else
  9981. t2 = false;
  9982. if (t2)
  9983. A.WarnForDeprecation_warnForDeprecation(logger, B.Deprecation_eJq, "Passing a relative `url` argument (" + A.S(t1.get$sourceUrl(t1)) + string$.x29x20to_cm, null, null);
  9984. $async$goto = 3;
  9985. return A._asyncAwait(A._compileStylesheet0(stylesheet, logger, importCache, null, importer, null, style, true, null, null, quietDeps, sourceMap, charset), $async$compileStringAsync);
  9986. case 3:
  9987. // returning from await.
  9988. result = $async$result;
  9989. logger.summarize$1$js(false);
  9990. $async$returnValue = result;
  9991. // goto return
  9992. $async$goto = 1;
  9993. break;
  9994. case 1:
  9995. // return
  9996. return A._asyncReturn($async$returnValue, $async$completer);
  9997. }
  9998. });
  9999. return A._asyncStartSync($async$compileStringAsync, $async$completer);
  10000. },
  10001. _compileStylesheet0(stylesheet, logger, importCache, nodeImporter, importer, functions, style, useSpaces, indentWidth, lineFeed, quietDeps, sourceMap, charset) {
  10002. return A._compileStylesheet$body(stylesheet, logger, importCache, nodeImporter, importer, functions, style, true, indentWidth, lineFeed, quietDeps, sourceMap, charset);
  10003. },
  10004. _compileStylesheet$body(stylesheet, logger, importCache, nodeImporter, importer, functions, style, useSpaces, indentWidth, lineFeed, quietDeps, sourceMap, charset) {
  10005. var $async$goto = 0,
  10006. $async$completer = A._makeAsyncAwaitCompleter(type$.CompileResult),
  10007. $async$returnValue, evaluateResult, serializeResult, resultSourceMap;
  10008. var $async$_compileStylesheet0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  10009. if ($async$errorCode === 1)
  10010. return A._asyncRethrow($async$result, $async$completer);
  10011. while (true)
  10012. switch ($async$goto) {
  10013. case 0:
  10014. // Function start
  10015. $async$goto = 3;
  10016. return A._asyncAwait(A._EvaluateVisitor$0(functions, importCache, logger, nodeImporter, quietDeps, sourceMap).run$2(0, importer, stylesheet), $async$_compileStylesheet0);
  10017. case 3:
  10018. // returning from await.
  10019. evaluateResult = $async$result;
  10020. serializeResult = A.serialize(evaluateResult._1, charset, indentWidth, false, lineFeed, logger, sourceMap, style, true);
  10021. resultSourceMap = serializeResult._1;
  10022. if (resultSourceMap != null)
  10023. A.mapInPlace(resultSourceMap.urls, new A._compileStylesheet_closure0(stylesheet, importCache));
  10024. evaluateResult.toString;
  10025. $async$returnValue = new A.CompileResult(serializeResult);
  10026. // goto return
  10027. $async$goto = 1;
  10028. break;
  10029. case 1:
  10030. // return
  10031. return A._asyncReturn($async$returnValue, $async$completer);
  10032. }
  10033. });
  10034. return A._asyncStartSync($async$_compileStylesheet0, $async$completer);
  10035. },
  10036. _compileStylesheet_closure0: function _compileStylesheet_closure0(t0, t1) {
  10037. this.stylesheet = t0;
  10038. this.importCache = t1;
  10039. },
  10040. AsyncEnvironment$() {
  10041. var t1 = type$.String,
  10042. t2 = type$.Module_AsyncCallable,
  10043. t3 = type$.AstNode,
  10044. t4 = type$.int,
  10045. t5 = type$.AsyncCallable,
  10046. t6 = type$.JSArray_Map_String_AsyncCallable;
  10047. 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);
  10048. },
  10049. AsyncEnvironment$_(_modules, _namespaceNodes, _globalModules, _importedModules, _forwardedModules, _nestedForwardedModules, _allModules, _variables, _variableNodes, _functions, _mixins, _content) {
  10050. var t1 = type$.String,
  10051. t2 = type$.int;
  10052. 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);
  10053. },
  10054. _EnvironmentModule__EnvironmentModule0(environment, css, preModuleComments, extensionStore, forwarded) {
  10055. var t1, t2, t3, t4, t5, t6, module, result, t7;
  10056. if (forwarded == null)
  10057. forwarded = B.Set_empty2;
  10058. t1 = type$.dynamic;
  10059. t1 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t1);
  10060. for (t2 = type$.Module_AsyncCallable, t3 = type$.List_CssComment, t4 = A.MapExtensions_get_pairs(preModuleComments, t2, t3), t4 = t4.get$iterator(t4), t5 = type$.CssComment; t4.moveNext$0();) {
  10061. t6 = t4.get$current(t4);
  10062. module = t6._0;
  10063. result = A.List_List$from(t6._1, false, t5);
  10064. result.$flags = 3;
  10065. t1.$indexSet(0, module, result);
  10066. }
  10067. t1 = A.ConstantMap_ConstantMap$from(t1, t2, t3);
  10068. t2 = A._EnvironmentModule__makeModulesByVariable0(forwarded);
  10069. t3 = A._EnvironmentModule__memberMap0(B.JSArray_methods.get$first(environment._async_environment$_variables), forwarded.map$1$1(0, new A._EnvironmentModule__EnvironmentModule_closure5(), type$.Map_String_Value), type$.Value);
  10070. t4 = A._EnvironmentModule__memberMap0(B.JSArray_methods.get$first(environment._async_environment$_variableNodes), forwarded.map$1$1(0, new A._EnvironmentModule__EnvironmentModule_closure6(), type$.Map_String_AstNode), type$.AstNode);
  10071. t5 = type$.Map_String_AsyncCallable;
  10072. t6 = type$.AsyncCallable;
  10073. t7 = A._EnvironmentModule__memberMap0(B.JSArray_methods.get$first(environment._async_environment$_functions), forwarded.map$1$1(0, new A._EnvironmentModule__EnvironmentModule_closure7(), t5), t6);
  10074. t6 = A._EnvironmentModule__memberMap0(B.JSArray_methods.get$first(environment._async_environment$_mixins), forwarded.map$1$1(0, new A._EnvironmentModule__EnvironmentModule_closure8(), t5), t6);
  10075. t5 = J.get$isNotEmpty$asx(css.get$children(css)) || preModuleComments.get$isNotEmpty(preModuleComments) || B.JSArray_methods.any$1(environment._async_environment$_allModules, new A._EnvironmentModule__EnvironmentModule_closure9());
  10076. return A._EnvironmentModule$_0(environment, css, t1, extensionStore, t2, t3, t4, t7, t6, t5, !extensionStore.get$isEmpty(extensionStore) || B.JSArray_methods.any$1(environment._async_environment$_allModules, new A._EnvironmentModule__EnvironmentModule_closure10()));
  10077. },
  10078. _EnvironmentModule__makeModulesByVariable0(forwarded) {
  10079. var modulesByVariable, t1, t2, t3, t4, t5;
  10080. if (forwarded.get$isEmpty(forwarded))
  10081. return B.Map_empty8;
  10082. modulesByVariable = A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.Module_AsyncCallable);
  10083. for (t1 = forwarded.get$iterator(forwarded); t1.moveNext$0();) {
  10084. t2 = t1.get$current(t1);
  10085. if (t2 instanceof A._EnvironmentModule0) {
  10086. for (t3 = t2._async_environment$_modulesByVariable, t3 = t3.get$values(t3), t3 = t3.get$iterator(t3); t3.moveNext$0();) {
  10087. t4 = t3.get$current(t3);
  10088. t5 = t4.get$variables();
  10089. A.setAll(modulesByVariable, t5.get$keys(t5), t4);
  10090. }
  10091. A.setAll(modulesByVariable, J.get$keys$z(B.JSArray_methods.get$first(t2._async_environment$_environment._async_environment$_variables)), t2);
  10092. } else {
  10093. t3 = t2.get$variables();
  10094. A.setAll(modulesByVariable, t3.get$keys(t3), t2);
  10095. }
  10096. }
  10097. return modulesByVariable;
  10098. },
  10099. _EnvironmentModule__memberMap0(localMap, otherMaps, $V) {
  10100. var t1, t2, t3;
  10101. localMap = new A.PublicMemberMapView(localMap, $V._eval$1("PublicMemberMapView<0>"));
  10102. if (otherMaps.get$isEmpty(otherMaps))
  10103. return localMap;
  10104. t1 = A._setArrayType([], $V._eval$1("JSArray<Map<String,0>>"));
  10105. for (t2 = otherMaps.get$iterator(otherMaps); t2.moveNext$0();) {
  10106. t3 = t2.get$current(t2);
  10107. if (t3.get$isNotEmpty(t3))
  10108. t1.push(t3);
  10109. }
  10110. t1.push(localMap);
  10111. if (t1.length === 1)
  10112. return localMap;
  10113. return A.MergedMapView$(t1, type$.String, $V);
  10114. },
  10115. _EnvironmentModule$_0(_environment, css, preModuleComments, extensionStore, _modulesByVariable, variables, variableNodes, functions, mixins, transitivelyContainsCss, transitivelyContainsExtensions) {
  10116. return new A._EnvironmentModule0(_environment._async_environment$_allModules, variables, variableNodes, functions, mixins, extensionStore, css, preModuleComments, transitivelyContainsCss, transitivelyContainsExtensions, _environment, _modulesByVariable);
  10117. },
  10118. AsyncEnvironment: function AsyncEnvironment(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14) {
  10119. var _ = this;
  10120. _._async_environment$_modules = t0;
  10121. _._async_environment$_namespaceNodes = t1;
  10122. _._async_environment$_globalModules = t2;
  10123. _._async_environment$_importedModules = t3;
  10124. _._async_environment$_forwardedModules = t4;
  10125. _._async_environment$_nestedForwardedModules = t5;
  10126. _._async_environment$_allModules = t6;
  10127. _._async_environment$_variables = t7;
  10128. _._async_environment$_variableNodes = t8;
  10129. _._async_environment$_variableIndices = t9;
  10130. _._async_environment$_functions = t10;
  10131. _._async_environment$_functionIndices = t11;
  10132. _._async_environment$_mixins = t12;
  10133. _._async_environment$_mixinIndices = t13;
  10134. _._async_environment$_content = t14;
  10135. _._async_environment$_inMixin = false;
  10136. _._async_environment$_inSemiGlobalScope = true;
  10137. _._async_environment$_lastVariableIndex = _._async_environment$_lastVariableName = null;
  10138. },
  10139. AsyncEnvironment__getVariableFromGlobalModule_closure: function AsyncEnvironment__getVariableFromGlobalModule_closure(t0) {
  10140. this.name = t0;
  10141. },
  10142. AsyncEnvironment_setVariable_closure: function AsyncEnvironment_setVariable_closure(t0, t1) {
  10143. this.$this = t0;
  10144. this.name = t1;
  10145. },
  10146. AsyncEnvironment_setVariable_closure0: function AsyncEnvironment_setVariable_closure0(t0) {
  10147. this.name = t0;
  10148. },
  10149. AsyncEnvironment_setVariable_closure1: function AsyncEnvironment_setVariable_closure1(t0, t1) {
  10150. this.$this = t0;
  10151. this.name = t1;
  10152. },
  10153. AsyncEnvironment__getFunctionFromGlobalModule_closure: function AsyncEnvironment__getFunctionFromGlobalModule_closure(t0) {
  10154. this.name = t0;
  10155. },
  10156. AsyncEnvironment__getMixinFromGlobalModule_closure: function AsyncEnvironment__getMixinFromGlobalModule_closure(t0) {
  10157. this.name = t0;
  10158. },
  10159. AsyncEnvironment_toModule_closure: function AsyncEnvironment_toModule_closure() {
  10160. },
  10161. AsyncEnvironment_toDummyModule_closure: function AsyncEnvironment_toDummyModule_closure() {
  10162. },
  10163. _EnvironmentModule0: function _EnvironmentModule0(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11) {
  10164. var _ = this;
  10165. _.upstream = t0;
  10166. _.variables = t1;
  10167. _.variableNodes = t2;
  10168. _.functions = t3;
  10169. _.mixins = t4;
  10170. _.extensionStore = t5;
  10171. _.css = t6;
  10172. _.preModuleComments = t7;
  10173. _.transitivelyContainsCss = t8;
  10174. _.transitivelyContainsExtensions = t9;
  10175. _._async_environment$_environment = t10;
  10176. _._async_environment$_modulesByVariable = t11;
  10177. },
  10178. _EnvironmentModule__EnvironmentModule_closure5: function _EnvironmentModule__EnvironmentModule_closure5() {
  10179. },
  10180. _EnvironmentModule__EnvironmentModule_closure6: function _EnvironmentModule__EnvironmentModule_closure6() {
  10181. },
  10182. _EnvironmentModule__EnvironmentModule_closure7: function _EnvironmentModule__EnvironmentModule_closure7() {
  10183. },
  10184. _EnvironmentModule__EnvironmentModule_closure8: function _EnvironmentModule__EnvironmentModule_closure8() {
  10185. },
  10186. _EnvironmentModule__EnvironmentModule_closure9: function _EnvironmentModule__EnvironmentModule_closure9() {
  10187. },
  10188. _EnvironmentModule__EnvironmentModule_closure10: function _EnvironmentModule__EnvironmentModule_closure10() {
  10189. },
  10190. AsyncImportCache__toImporters(importers, loadPaths, packageConfig) {
  10191. var t1, t2, t3, t4, _i, path, _null = null,
  10192. sassPath = A.getEnvironmentVariable("SASS_PATH");
  10193. if (A.isBrowser()) {
  10194. t1 = A._setArrayType([], type$.JSArray_AsyncImporter_2);
  10195. B.JSArray_methods.addAll$1(t1, importers);
  10196. return t1;
  10197. }
  10198. t1 = A._setArrayType([], type$.JSArray_AsyncImporter_2);
  10199. B.JSArray_methods.addAll$1(t1, importers);
  10200. for (t2 = J.get$iterator$ax(loadPaths); t2.moveNext$0();) {
  10201. t3 = t2.get$current(t2);
  10202. t1.push(new A.FilesystemImporter($.$get$context().absolute$15(t3, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null), false));
  10203. }
  10204. if (sassPath != null) {
  10205. t2 = A.isNodeJs() ? self.process : _null;
  10206. t3 = sassPath.split(J.$eq$(t2 == null ? _null : J.get$platform$x(t2), "win32") ? ";" : ":");
  10207. t4 = t3.length;
  10208. _i = 0;
  10209. for (; _i < t4; ++_i) {
  10210. path = t3[_i];
  10211. t1.push(new A.FilesystemImporter($.$get$context().absolute$15(path, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null), false));
  10212. }
  10213. }
  10214. return t1;
  10215. },
  10216. AsyncImportCache: function AsyncImportCache(t0, t1, t2, t3, t4, t5, t6) {
  10217. var _ = this;
  10218. _._async_import_cache$_importers = t0;
  10219. _._async_import_cache$_canonicalizeCache = t1;
  10220. _._async_import_cache$_perImporterCanonicalizeCache = t2;
  10221. _._async_import_cache$_nonCanonicalRelativeUrls = t3;
  10222. _._async_import_cache$_importCache = t4;
  10223. _._async_import_cache$_resultsCache = t5;
  10224. _._async_import_cache$_loadTimes = t6;
  10225. },
  10226. AsyncImportCache_canonicalize_closure: function AsyncImportCache_canonicalize_closure(t0, t1, t2, t3, t4, t5, t6) {
  10227. var _ = this;
  10228. _.$this = t0;
  10229. _.baseImporter = t1;
  10230. _.resolvedUrl = t2;
  10231. _.baseUrl = t3;
  10232. _.forImport = t4;
  10233. _.key = t5;
  10234. _.url = t6;
  10235. },
  10236. AsyncImportCache__canonicalize_closure: function AsyncImportCache__canonicalize_closure(t0, t1) {
  10237. this.importer = t0;
  10238. this.url = t1;
  10239. },
  10240. AsyncImportCache_importCanonical_closure: function AsyncImportCache_importCanonical_closure(t0, t1, t2, t3) {
  10241. var _ = this;
  10242. _.$this = t0;
  10243. _.importer = t1;
  10244. _.canonicalUrl = t2;
  10245. _.originalUrl = t3;
  10246. },
  10247. AsyncImportCache_humanize_closure: function AsyncImportCache_humanize_closure(t0) {
  10248. this.canonicalUrl = t0;
  10249. },
  10250. AsyncImportCache_humanize_closure0: function AsyncImportCache_humanize_closure0() {
  10251. },
  10252. AsyncImportCache_humanize_closure1: function AsyncImportCache_humanize_closure1() {
  10253. },
  10254. AsyncImportCache_humanize_closure2: function AsyncImportCache_humanize_closure2(t0) {
  10255. this.canonicalUrl = t0;
  10256. },
  10257. AsyncBuiltInCallable$mixin($name, parameters, callback, acceptsContent, url) {
  10258. return new A.AsyncBuiltInCallable($name, A.ScssParser$("@mixin " + $name + "(" + parameters + ") {", url).parseParameterList$0(), new A.AsyncBuiltInCallable$mixin_closure(callback), false);
  10259. },
  10260. AsyncBuiltInCallable: function AsyncBuiltInCallable(t0, t1, t2, t3) {
  10261. var _ = this;
  10262. _.name = t0;
  10263. _._parameters = t1;
  10264. _._async_built_in$_callback = t2;
  10265. _.acceptsContent = t3;
  10266. },
  10267. AsyncBuiltInCallable$mixin_closure: function AsyncBuiltInCallable$mixin_closure(t0) {
  10268. this.callback = t0;
  10269. },
  10270. AsyncBuiltInCallable_withDeprecationWarning_closure: function AsyncBuiltInCallable_withDeprecationWarning_closure(t0, t1, t2) {
  10271. this.$this = t0;
  10272. this.module = t1;
  10273. this.newName = t2;
  10274. },
  10275. BuiltInCallable$function($name, parameters, callback, url) {
  10276. return new A.BuiltInCallable($name, A._setArrayType([new A._Record_2(A.ScssParser$("@function " + $name + "(" + parameters + ") {", url).parseParameterList$0(), callback)], type$.JSArray_Record_2_ParameterList_and_Value_Function_List_Value), false);
  10277. },
  10278. BuiltInCallable$mixin($name, parameters, callback, acceptsContent, url) {
  10279. return new A.BuiltInCallable($name, A._setArrayType([new A._Record_2(A.ScssParser$("@mixin " + $name + "(" + parameters + ") {", url).parseParameterList$0(), new A.BuiltInCallable$mixin_closure(callback))], type$.JSArray_Record_2_ParameterList_and_Value_Function_List_Value), acceptsContent);
  10280. },
  10281. BuiltInCallable$overloadedFunction($name, overloads) {
  10282. var t2, t3, t4, t5, t6, t7, args, callback,
  10283. t1 = A._setArrayType([], type$.JSArray_Record_2_ParameterList_and_Value_Function_List_Value);
  10284. for (t2 = type$.String, t3 = A.MapExtensions_get_pairs(overloads, t2, type$.Value_Function_List_Value), t3 = t3.get$iterator(t3), t4 = "@function " + $name + "(", t5 = type$.FileSpan, t6 = type$.JSArray_Record_3_nullable_Deprecation_deprecation_and_String_message_and_FileSpan_span; t3.moveNext$0();) {
  10285. t7 = t3.get$current(t3);
  10286. args = t7._0;
  10287. callback = t7._1;
  10288. t1.push(new A._Record_2(new A.ScssParser(A.LinkedHashMap_LinkedHashMap$_empty(t2, t5), A._setArrayType([], t6), A.SpanScanner$(t4 + args + ") {", null), null).parseParameterList$0(), callback));
  10289. }
  10290. return new A.BuiltInCallable($name, t1, false);
  10291. },
  10292. BuiltInCallable: function BuiltInCallable(t0, t1, t2) {
  10293. this.name = t0;
  10294. this._overloads = t1;
  10295. this.acceptsContent = t2;
  10296. },
  10297. BuiltInCallable$mixin_closure: function BuiltInCallable$mixin_closure(t0) {
  10298. this.callback = t0;
  10299. },
  10300. BuiltInCallable_withDeprecationWarning_closure: function BuiltInCallable_withDeprecationWarning_closure(t0, t1, t2, t3) {
  10301. var _ = this;
  10302. _._box_0 = t0;
  10303. _.$this = t1;
  10304. _.module = t2;
  10305. _.newName = t3;
  10306. },
  10307. PlainCssCallable: function PlainCssCallable(t0) {
  10308. this.name = t0;
  10309. },
  10310. UserDefinedCallable: function UserDefinedCallable(t0, t1, t2, t3) {
  10311. var _ = this;
  10312. _.declaration = t0;
  10313. _.environment = t1;
  10314. _.inDependency = t2;
  10315. _.$ti = t3;
  10316. },
  10317. _compileStylesheet(stylesheet, logger, importCache, nodeImporter, importer, functions, style, useSpaces, indentWidth, lineFeed, quietDeps, sourceMap, charset) {
  10318. var serializeResult = A.serialize(A._EvaluateVisitor$(functions, importCache, logger, nodeImporter, quietDeps, sourceMap).run$2(0, importer, stylesheet)._1, charset, indentWidth, false, lineFeed, logger, sourceMap, style, true),
  10319. resultSourceMap = serializeResult._1;
  10320. if (resultSourceMap != null)
  10321. A.mapInPlace(resultSourceMap.urls, new A._compileStylesheet_closure(stylesheet, importCache));
  10322. return new A.CompileResult(serializeResult);
  10323. },
  10324. _compileStylesheet_closure: function _compileStylesheet_closure(t0, t1) {
  10325. this.stylesheet = t0;
  10326. this.importCache = t1;
  10327. },
  10328. CompileResult: function CompileResult(t0) {
  10329. this._serialize = t0;
  10330. },
  10331. Configuration: function Configuration(t0, t1) {
  10332. this._configuration$_values = t0;
  10333. this.__originalConfiguration = t1;
  10334. },
  10335. ExplicitConfiguration: function ExplicitConfiguration(t0, t1, t2) {
  10336. this.nodeWithSpan = t0;
  10337. this._configuration$_values = t1;
  10338. this.__originalConfiguration = t2;
  10339. },
  10340. ConfiguredValue: function ConfiguredValue(t0, t1, t2) {
  10341. this.value = t0;
  10342. this.configurationSpan = t1;
  10343. this.assignmentNode = t2;
  10344. },
  10345. Deprecation_fromId(id) {
  10346. return A.IterableExtension_firstWhereOrNull(B.List_rYe, new A.Deprecation_fromId_closure(id));
  10347. },
  10348. Deprecation_forVersion(version) {
  10349. var t2, _i, deprecation, $self, t3,
  10350. t1 = A.LinkedHashSet_LinkedHashSet$_empty(type$.Deprecation);
  10351. for (t2 = A.VersionRange_VersionRange(true, version).get$allows(), _i = 0; _i < 26; ++_i) {
  10352. deprecation = B.List_rYe[_i];
  10353. $self = deprecation._deprecatedIn;
  10354. t3 = $self == null ? null : A.Version___parse_tearOff($self);
  10355. t3 = t3 == null ? null : t2.call$1(t3);
  10356. if (t3 == null ? false : t3)
  10357. t1.add$1(0, deprecation);
  10358. }
  10359. return t1;
  10360. },
  10361. Deprecation: function Deprecation(t0, t1, t2) {
  10362. this.id = t0;
  10363. this._deprecatedIn = t1;
  10364. this._name = t2;
  10365. },
  10366. Deprecation_fromId_closure: function Deprecation_fromId_closure(t0) {
  10367. this.id = t0;
  10368. },
  10369. Environment$() {
  10370. var t1 = type$.String,
  10371. t2 = type$.Module_Callable,
  10372. t3 = type$.AstNode,
  10373. t4 = type$.int,
  10374. t5 = type$.Callable,
  10375. t6 = type$.JSArray_Map_String_Callable;
  10376. 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);
  10377. },
  10378. Environment$_(_modules, _namespaceNodes, _globalModules, _importedModules, _forwardedModules, _nestedForwardedModules, _allModules, _variables, _variableNodes, _functions, _mixins, _content) {
  10379. var t1 = type$.String,
  10380. t2 = type$.int;
  10381. 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);
  10382. },
  10383. _EnvironmentModule__EnvironmentModule(environment, css, preModuleComments, extensionStore, forwarded) {
  10384. var t1, t2, t3, t4, t5, t6, module, result, t7;
  10385. if (forwarded == null)
  10386. forwarded = B.Set_empty0;
  10387. t1 = type$.dynamic;
  10388. t1 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t1);
  10389. for (t2 = type$.Module_Callable, t3 = type$.List_CssComment, t4 = A.MapExtensions_get_pairs(preModuleComments, t2, t3), t4 = t4.get$iterator(t4), t5 = type$.CssComment; t4.moveNext$0();) {
  10390. t6 = t4.get$current(t4);
  10391. module = t6._0;
  10392. result = A.List_List$from(t6._1, false, t5);
  10393. result.$flags = 3;
  10394. t1.$indexSet(0, module, result);
  10395. }
  10396. t1 = A.ConstantMap_ConstantMap$from(t1, t2, t3);
  10397. t2 = A._EnvironmentModule__makeModulesByVariable(forwarded);
  10398. t3 = A._EnvironmentModule__memberMap(B.JSArray_methods.get$first(environment._variables), forwarded.map$1$1(0, new A._EnvironmentModule__EnvironmentModule_closure(), type$.Map_String_Value), type$.Value);
  10399. t4 = A._EnvironmentModule__memberMap(B.JSArray_methods.get$first(environment._variableNodes), forwarded.map$1$1(0, new A._EnvironmentModule__EnvironmentModule_closure0(), type$.Map_String_AstNode), type$.AstNode);
  10400. t5 = type$.Map_String_Callable;
  10401. t6 = type$.Callable;
  10402. t7 = A._EnvironmentModule__memberMap(B.JSArray_methods.get$first(environment._functions), forwarded.map$1$1(0, new A._EnvironmentModule__EnvironmentModule_closure1(), t5), t6);
  10403. t6 = A._EnvironmentModule__memberMap(B.JSArray_methods.get$first(environment._mixins), forwarded.map$1$1(0, new A._EnvironmentModule__EnvironmentModule_closure2(), t5), t6);
  10404. t5 = J.get$isNotEmpty$asx(css.get$children(css)) || preModuleComments.get$isNotEmpty(preModuleComments) || B.JSArray_methods.any$1(environment._allModules, new A._EnvironmentModule__EnvironmentModule_closure3());
  10405. return A._EnvironmentModule$_(environment, css, t1, extensionStore, t2, t3, t4, t7, t6, t5, !extensionStore.get$isEmpty(extensionStore) || B.JSArray_methods.any$1(environment._allModules, new A._EnvironmentModule__EnvironmentModule_closure4()));
  10406. },
  10407. _EnvironmentModule__makeModulesByVariable(forwarded) {
  10408. var modulesByVariable, t1, t2, t3, t4, t5;
  10409. if (forwarded.get$isEmpty(forwarded))
  10410. return B.Map_empty0;
  10411. modulesByVariable = A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.Module_Callable);
  10412. for (t1 = forwarded.get$iterator(forwarded); t1.moveNext$0();) {
  10413. t2 = t1.get$current(t1);
  10414. if (t2 instanceof A._EnvironmentModule) {
  10415. for (t3 = t2._modulesByVariable, t3 = t3.get$values(t3), t3 = t3.get$iterator(t3); t3.moveNext$0();) {
  10416. t4 = t3.get$current(t3);
  10417. t5 = t4.get$variables();
  10418. A.setAll(modulesByVariable, t5.get$keys(t5), t4);
  10419. }
  10420. A.setAll(modulesByVariable, J.get$keys$z(B.JSArray_methods.get$first(t2._environment$_environment._variables)), t2);
  10421. } else {
  10422. t3 = t2.get$variables();
  10423. A.setAll(modulesByVariable, t3.get$keys(t3), t2);
  10424. }
  10425. }
  10426. return modulesByVariable;
  10427. },
  10428. _EnvironmentModule__memberMap(localMap, otherMaps, $V) {
  10429. var t1, t2, t3;
  10430. localMap = new A.PublicMemberMapView(localMap, $V._eval$1("PublicMemberMapView<0>"));
  10431. if (otherMaps.get$isEmpty(otherMaps))
  10432. return localMap;
  10433. t1 = A._setArrayType([], $V._eval$1("JSArray<Map<String,0>>"));
  10434. for (t2 = otherMaps.get$iterator(otherMaps); t2.moveNext$0();) {
  10435. t3 = t2.get$current(t2);
  10436. if (t3.get$isNotEmpty(t3))
  10437. t1.push(t3);
  10438. }
  10439. t1.push(localMap);
  10440. if (t1.length === 1)
  10441. return localMap;
  10442. return A.MergedMapView$(t1, type$.String, $V);
  10443. },
  10444. _EnvironmentModule$_(_environment, css, preModuleComments, extensionStore, _modulesByVariable, variables, variableNodes, functions, mixins, transitivelyContainsCss, transitivelyContainsExtensions) {
  10445. return new A._EnvironmentModule(_environment._allModules, variables, variableNodes, functions, mixins, extensionStore, css, preModuleComments, transitivelyContainsCss, transitivelyContainsExtensions, _environment, _modulesByVariable);
  10446. },
  10447. Environment: function Environment(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14) {
  10448. var _ = this;
  10449. _._environment$_modules = t0;
  10450. _._namespaceNodes = t1;
  10451. _._globalModules = t2;
  10452. _._importedModules = t3;
  10453. _._forwardedModules = t4;
  10454. _._nestedForwardedModules = t5;
  10455. _._allModules = t6;
  10456. _._variables = t7;
  10457. _._variableNodes = t8;
  10458. _._variableIndices = t9;
  10459. _._functions = t10;
  10460. _._functionIndices = t11;
  10461. _._mixins = t12;
  10462. _._mixinIndices = t13;
  10463. _._content = t14;
  10464. _._inMixin = false;
  10465. _._inSemiGlobalScope = true;
  10466. _._lastVariableIndex = _._lastVariableName = null;
  10467. },
  10468. Environment__getVariableFromGlobalModule_closure: function Environment__getVariableFromGlobalModule_closure(t0) {
  10469. this.name = t0;
  10470. },
  10471. Environment_setVariable_closure: function Environment_setVariable_closure(t0, t1) {
  10472. this.$this = t0;
  10473. this.name = t1;
  10474. },
  10475. Environment_setVariable_closure0: function Environment_setVariable_closure0(t0) {
  10476. this.name = t0;
  10477. },
  10478. Environment_setVariable_closure1: function Environment_setVariable_closure1(t0, t1) {
  10479. this.$this = t0;
  10480. this.name = t1;
  10481. },
  10482. Environment__getFunctionFromGlobalModule_closure: function Environment__getFunctionFromGlobalModule_closure(t0) {
  10483. this.name = t0;
  10484. },
  10485. Environment__getMixinFromGlobalModule_closure: function Environment__getMixinFromGlobalModule_closure(t0) {
  10486. this.name = t0;
  10487. },
  10488. Environment_toModule_closure: function Environment_toModule_closure() {
  10489. },
  10490. Environment_toDummyModule_closure: function Environment_toDummyModule_closure() {
  10491. },
  10492. _EnvironmentModule: function _EnvironmentModule(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11) {
  10493. var _ = this;
  10494. _.upstream = t0;
  10495. _.variables = t1;
  10496. _.variableNodes = t2;
  10497. _.functions = t3;
  10498. _.mixins = t4;
  10499. _.extensionStore = t5;
  10500. _.css = t6;
  10501. _.preModuleComments = t7;
  10502. _.transitivelyContainsCss = t8;
  10503. _.transitivelyContainsExtensions = t9;
  10504. _._environment$_environment = t10;
  10505. _._modulesByVariable = t11;
  10506. },
  10507. _EnvironmentModule__EnvironmentModule_closure: function _EnvironmentModule__EnvironmentModule_closure() {
  10508. },
  10509. _EnvironmentModule__EnvironmentModule_closure0: function _EnvironmentModule__EnvironmentModule_closure0() {
  10510. },
  10511. _EnvironmentModule__EnvironmentModule_closure1: function _EnvironmentModule__EnvironmentModule_closure1() {
  10512. },
  10513. _EnvironmentModule__EnvironmentModule_closure2: function _EnvironmentModule__EnvironmentModule_closure2() {
  10514. },
  10515. _EnvironmentModule__EnvironmentModule_closure3: function _EnvironmentModule__EnvironmentModule_closure3() {
  10516. },
  10517. _EnvironmentModule__EnvironmentModule_closure4: function _EnvironmentModule__EnvironmentModule_closure4() {
  10518. },
  10519. SassException$(message, span, loadedUrls) {
  10520. return new A.SassException(loadedUrls == null ? B.Set_empty : A.Set_Set$unmodifiable(loadedUrls, type$.Uri), message, span);
  10521. },
  10522. MultiSpanSassException$(message, span, primaryLabel, secondarySpans, loadedUrls) {
  10523. var t1 = A.ConstantMap_ConstantMap$from(secondarySpans, type$.FileSpan, type$.String);
  10524. return new A.MultiSpanSassException(primaryLabel, t1, loadedUrls == null ? B.Set_empty : A.Set_Set$unmodifiable(loadedUrls, type$.Uri), message, span);
  10525. },
  10526. SassRuntimeException$(message, span, trace, loadedUrls) {
  10527. return new A.SassRuntimeException(trace, loadedUrls == null ? B.Set_empty : A.Set_Set$unmodifiable(loadedUrls, type$.Uri), message, span);
  10528. },
  10529. MultiSpanSassRuntimeException$(message, span, primaryLabel, secondarySpans, trace, loadedUrls) {
  10530. var t1 = A.ConstantMap_ConstantMap$from(secondarySpans, type$.FileSpan, type$.String);
  10531. return new A.MultiSpanSassRuntimeException(trace, primaryLabel, t1, loadedUrls == null ? B.Set_empty : A.Set_Set$unmodifiable(loadedUrls, type$.Uri), message, span);
  10532. },
  10533. SassFormatException$(message, span, loadedUrls) {
  10534. return new A.SassFormatException(loadedUrls == null ? B.Set_empty : A.Set_Set$unmodifiable(loadedUrls, type$.Uri), message, span);
  10535. },
  10536. MultiSpanSassFormatException$(message, span, primaryLabel, secondarySpans, loadedUrls) {
  10537. var t1 = A.ConstantMap_ConstantMap$from(secondarySpans, type$.FileSpan, type$.String);
  10538. return new A.MultiSpanSassFormatException(primaryLabel, t1, loadedUrls == null ? B.Set_empty : A.Set_Set$unmodifiable(loadedUrls, type$.Uri), message, span);
  10539. },
  10540. SassScriptException$(message, argumentName) {
  10541. return new A.SassScriptException(argumentName == null ? message : "$" + argumentName + ": " + message);
  10542. },
  10543. MultiSpanSassScriptException$(message, primaryLabel, secondarySpans) {
  10544. var t1 = A.ConstantMap_ConstantMap$from(secondarySpans, type$.FileSpan, type$.String);
  10545. return new A.MultiSpanSassScriptException(primaryLabel, t1, message);
  10546. },
  10547. SassException: function SassException(t0, t1, t2) {
  10548. this.loadedUrls = t0;
  10549. this._span_exception$_message = t1;
  10550. this._span = t2;
  10551. },
  10552. MultiSpanSassException: function MultiSpanSassException(t0, t1, t2, t3, t4) {
  10553. var _ = this;
  10554. _.primaryLabel = t0;
  10555. _.secondarySpans = t1;
  10556. _.loadedUrls = t2;
  10557. _._span_exception$_message = t3;
  10558. _._span = t4;
  10559. },
  10560. SassRuntimeException: function SassRuntimeException(t0, t1, t2, t3) {
  10561. var _ = this;
  10562. _.trace = t0;
  10563. _.loadedUrls = t1;
  10564. _._span_exception$_message = t2;
  10565. _._span = t3;
  10566. },
  10567. MultiSpanSassRuntimeException: function MultiSpanSassRuntimeException(t0, t1, t2, t3, t4, t5) {
  10568. var _ = this;
  10569. _.trace = t0;
  10570. _.primaryLabel = t1;
  10571. _.secondarySpans = t2;
  10572. _.loadedUrls = t3;
  10573. _._span_exception$_message = t4;
  10574. _._span = t5;
  10575. },
  10576. SassFormatException: function SassFormatException(t0, t1, t2) {
  10577. this.loadedUrls = t0;
  10578. this._span_exception$_message = t1;
  10579. this._span = t2;
  10580. },
  10581. MultiSpanSassFormatException: function MultiSpanSassFormatException(t0, t1, t2, t3, t4) {
  10582. var _ = this;
  10583. _.primaryLabel = t0;
  10584. _.secondarySpans = t1;
  10585. _.loadedUrls = t2;
  10586. _._span_exception$_message = t3;
  10587. _._span = t4;
  10588. },
  10589. SassScriptException: function SassScriptException(t0) {
  10590. this.message = t0;
  10591. },
  10592. MultiSpanSassScriptException: function MultiSpanSassScriptException(t0, t1, t2) {
  10593. this.primaryLabel = t0;
  10594. this.secondarySpans = t1;
  10595. this.message = t2;
  10596. },
  10597. compileStylesheet(options, graph, source, destination, ifModified) {
  10598. return A.compileStylesheet$body(options, graph, source, destination, ifModified);
  10599. },
  10600. compileStylesheet$body(options, graph, source, destination, ifModified) {
  10601. var $async$goto = 0,
  10602. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Record_3_int_and_String_and_nullable_String),
  10603. $async$returnValue, $async$handler = 2, $async$errorStack = [], error, stackTrace, message, error0, stackTrace0, path, message0, exception, t1, $async$exception;
  10604. var $async$compileStylesheet = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  10605. if ($async$errorCode === 1) {
  10606. $async$errorStack.push($async$result);
  10607. $async$goto = $async$handler;
  10608. }
  10609. while (true)
  10610. switch ($async$goto) {
  10611. case 0:
  10612. // Function start
  10613. $async$handler = 4;
  10614. $async$goto = 7;
  10615. return A._asyncAwait(A._compileStylesheetWithoutErrorHandling(options, graph, source, destination, ifModified), $async$compileStylesheet);
  10616. case 7:
  10617. // returning from await.
  10618. $async$handler = 2;
  10619. // goto after finally
  10620. $async$goto = 6;
  10621. break;
  10622. case 4:
  10623. // catch
  10624. $async$handler = 3;
  10625. $async$exception = $async$errorStack.pop();
  10626. t1 = A.unwrapException($async$exception);
  10627. if (t1 instanceof A.SassException) {
  10628. error = t1;
  10629. stackTrace = A.getTraceFromException($async$exception);
  10630. if (destination != null && !options.get$emitErrorCss())
  10631. A._tryDelete(destination);
  10632. message = J.toString$1$color$(error, options.get$color());
  10633. if (A._asBool(options._options.$index(0, "trace"))) {
  10634. t1 = A.getTrace(error);
  10635. if (t1 == null)
  10636. t1 = stackTrace;
  10637. } else
  10638. t1 = null;
  10639. $async$returnValue = A._getErrorWithStackTrace(65, message, t1);
  10640. // goto return
  10641. $async$goto = 1;
  10642. break;
  10643. } else if (t1 instanceof A.FileSystemException) {
  10644. error0 = t1;
  10645. stackTrace0 = A.getTraceFromException($async$exception);
  10646. path = error0.path;
  10647. message0 = path == null ? error0.message : "Error reading " + $.$get$context().relative$2$from(path, null) + ": " + error0.message + ".";
  10648. if (A._asBool(options._options.$index(0, "trace"))) {
  10649. t1 = A.getTrace(error0);
  10650. if (t1 == null)
  10651. t1 = stackTrace0;
  10652. } else
  10653. t1 = null;
  10654. $async$returnValue = A._getErrorWithStackTrace(66, message0, t1);
  10655. // goto return
  10656. $async$goto = 1;
  10657. break;
  10658. } else
  10659. throw $async$exception;
  10660. // goto after finally
  10661. $async$goto = 6;
  10662. break;
  10663. case 3:
  10664. // uncaught
  10665. // goto rethrow
  10666. $async$goto = 2;
  10667. break;
  10668. case 6:
  10669. // after finally
  10670. $async$returnValue = null;
  10671. // goto return
  10672. $async$goto = 1;
  10673. break;
  10674. case 1:
  10675. // return
  10676. return A._asyncReturn($async$returnValue, $async$completer);
  10677. case 2:
  10678. // rethrow
  10679. return A._asyncRethrow($async$errorStack.at(-1), $async$completer);
  10680. }
  10681. });
  10682. return A._asyncStartSync($async$compileStylesheet, $async$completer);
  10683. },
  10684. _compileStylesheetWithoutErrorHandling(options, graph, source, destination, ifModified) {
  10685. return A._compileStylesheetWithoutErrorHandling$body(options, graph, source, destination, ifModified);
  10686. },
  10687. _compileStylesheetWithoutErrorHandling$body(options, graph, source, destination, ifModified) {
  10688. var $async$goto = 0,
  10689. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  10690. $async$returnValue, $async$handler = 2, $async$errorStack = [], syntax, result, importCache, error, t1, exception, t2, t3, t4, t5, t6, t7, t8, t9, t10, result0, t11, t12, t13, t14, logger, stylesheet, _0_0, t0, css, buffer, sourceName, destinationName, nowStr, timestamp, importer, $async$exception;
  10691. var $async$_compileStylesheetWithoutErrorHandling = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  10692. if ($async$errorCode === 1) {
  10693. $async$errorStack.push($async$result);
  10694. $async$goto = $async$handler;
  10695. }
  10696. while (true)
  10697. switch ($async$goto) {
  10698. case 0:
  10699. // Function start
  10700. importer = $.$get$FilesystemImporter_cwd();
  10701. if (ifModified)
  10702. try {
  10703. t1 = false;
  10704. if (source != null)
  10705. if (destination != null) {
  10706. t1 = A.absolute(source, null, null, null, null, null, null, null, null, null, null, null, null, null, null);
  10707. t1 = !graph.modifiedSince$3($.$get$context().toUri$1(t1), A.modificationTime(destination), importer);
  10708. }
  10709. if (t1) {
  10710. // goto return
  10711. $async$goto = 1;
  10712. break;
  10713. }
  10714. } catch (exception) {
  10715. if (!(A.unwrapException(exception) instanceof A.FileSystemException))
  10716. throw exception;
  10717. }
  10718. syntax = null;
  10719. if (A._asBoolQ(options._ifParsed$1("indented")) === true)
  10720. syntax = B.Syntax_Sass_sass;
  10721. else if (source != null)
  10722. syntax = A.Syntax_forPath(source);
  10723. else
  10724. syntax = B.Syntax_SCSS_scss;
  10725. result = null;
  10726. $async$handler = 4;
  10727. t1 = options._options;
  10728. $async$goto = A._asBool(t1.$index(0, "async")) ? 7 : 9;
  10729. break;
  10730. case 7:
  10731. // then
  10732. t2 = type$.nullable_Record_3_AsyncImporter_and_Uri_and_Uri_originalUrl;
  10733. t3 = type$.Record_3_AsyncImporter_and_Uri_and_bool_forImport;
  10734. t4 = type$.Uri;
  10735. importCache = new A.AsyncImportCache(A.AsyncImportCache__toImporters(options.get$pkgImporters(), type$.List_String._as(t1.$index(0, "load-path")), null), A.LinkedHashMap_LinkedHashMap$_empty(type$.Record_2_Uri_and_bool_forImport, t2), A.LinkedHashMap_LinkedHashMap$_empty(t3, t2), A.LinkedHashMap_LinkedHashMap$_empty(t3, t4), A.LinkedHashMap_LinkedHashMap$_empty(t4, type$.nullable_Stylesheet), A.LinkedHashMap_LinkedHashMap$_empty(t4, type$.ImporterResult), A.LinkedHashMap_LinkedHashMap$_empty(t4, type$.DateTime));
  10736. $async$goto = source == null ? 10 : 12;
  10737. break;
  10738. case 10:
  10739. // then
  10740. $async$goto = 13;
  10741. return A._asyncAwait(A.readStdin(), $async$_compileStylesheetWithoutErrorHandling);
  10742. case 13:
  10743. // returning from await.
  10744. t2 = $async$result;
  10745. t3 = syntax;
  10746. t4 = A._asBool(t1.$index(0, "quiet")) ? $.$get$Logger_quiet() : new A.StderrLogger(options.get$color());
  10747. t5 = $.$get$FilesystemImporter_cwd();
  10748. t6 = J.$eq$(t1.$index(0, "style"), "compressed") ? B.OutputStyle_1 : B.OutputStyle_0;
  10749. t7 = A._asBool(t1.$index(0, "quiet-deps"));
  10750. t8 = A._asBool(t1.$index(0, "verbose"));
  10751. t9 = options.get$emitSourceMap();
  10752. t1 = A._asBool(t1.$index(0, "charset"));
  10753. t10 = options.get$silenceDeprecations(0);
  10754. $async$goto = 14;
  10755. return A._asyncAwait(A.compileStringAsync(t2, t1, options.get$fatalDeprecations(0), options.get$futureDeprecations(0), importCache, t5, t4, t7, t10, t9, t6, t3, t8), $async$_compileStylesheetWithoutErrorHandling);
  10756. case 14:
  10757. // returning from await.
  10758. result0 = $async$result;
  10759. // goto join
  10760. $async$goto = 11;
  10761. break;
  10762. case 12:
  10763. // else
  10764. t2 = syntax;
  10765. t3 = A._asBool(t1.$index(0, "quiet")) ? $.$get$Logger_quiet() : new A.StderrLogger(options.get$color());
  10766. t4 = J.$eq$(t1.$index(0, "style"), "compressed") ? B.OutputStyle_1 : B.OutputStyle_0;
  10767. t5 = A._asBool(t1.$index(0, "quiet-deps"));
  10768. t6 = A._asBool(t1.$index(0, "verbose"));
  10769. t7 = options.get$emitSourceMap();
  10770. t1 = A._asBool(t1.$index(0, "charset"));
  10771. t8 = options.get$silenceDeprecations(0);
  10772. $async$goto = 15;
  10773. return A._asyncAwait(A.compileAsync(source, t1, options.get$fatalDeprecations(0), options.get$futureDeprecations(0), importCache, t3, t5, t8, t7, t4, t2, t6), $async$_compileStylesheetWithoutErrorHandling);
  10774. case 15:
  10775. // returning from await.
  10776. result0 = $async$result;
  10777. case 11:
  10778. // join
  10779. result = result0;
  10780. // goto join
  10781. $async$goto = 8;
  10782. break;
  10783. case 9:
  10784. // else
  10785. graph.reloadAllModified$0();
  10786. $async$goto = source == null ? 16 : 18;
  10787. break;
  10788. case 16:
  10789. // then
  10790. $async$goto = 19;
  10791. return A._asyncAwait(A.readStdin(), $async$_compileStylesheetWithoutErrorHandling);
  10792. case 19:
  10793. // returning from await.
  10794. t2 = $async$result;
  10795. t3 = syntax;
  10796. t4 = A._asBool(t1.$index(0, "quiet")) ? $.$get$Logger_quiet() : new A.StderrLogger(options.get$color());
  10797. t5 = $.$get$FilesystemImporter_cwd();
  10798. t6 = J.$eq$(t1.$index(0, "style"), "compressed") ? B.OutputStyle_1 : B.OutputStyle_0;
  10799. t7 = A._asBool(t1.$index(0, "quiet-deps"));
  10800. t8 = A._asBool(t1.$index(0, "verbose"));
  10801. t9 = options.get$emitSourceMap();
  10802. t1 = A._asBool(t1.$index(0, "charset"));
  10803. t10 = options.get$silenceDeprecations(0);
  10804. t11 = options.get$fatalDeprecations(0);
  10805. t12 = options.get$futureDeprecations(0);
  10806. t13 = type$.Deprecation;
  10807. t14 = A.LinkedHashSet_LinkedHashSet$_empty(t13);
  10808. t14.addAll$1(0, t10);
  10809. t10 = A.LinkedHashSet_LinkedHashSet$_empty(t13);
  10810. t10.addAll$1(0, t11);
  10811. t11 = A.LinkedHashSet_LinkedHashSet$_empty(t13);
  10812. t11.addAll$1(0, t12);
  10813. logger = new A.DeprecationProcessingLogger(A.LinkedHashMap_LinkedHashMap$_empty(t13, type$.int), t4, t14, t10, t11, !t8);
  10814. logger.validate$0();
  10815. stylesheet = A.Stylesheet_Stylesheet$parse(t2, t3 == null ? B.Syntax_SCSS_scss : t3, null);
  10816. t2 = stylesheet.span;
  10817. _0_0 = t2.get$sourceUrl(t2);
  10818. if (type$.Uri._is(_0_0))
  10819. t3 = "" === _0_0.get$scheme();
  10820. else
  10821. t3 = false;
  10822. if (t3)
  10823. A.WarnForDeprecation_warnForDeprecation(logger, B.Deprecation_eJq, "Passing a relative `url` argument (" + A.S(t2.get$sourceUrl(t2)) + string$.x29x20to_cm, null, null);
  10824. result0 = A._compileStylesheet(stylesheet, logger, graph.importCache, null, t5, null, t6, true, null, null, t7, t9, t1);
  10825. logger.summarize$1$js(false);
  10826. // goto join
  10827. $async$goto = 17;
  10828. break;
  10829. case 18:
  10830. // else
  10831. t2 = syntax;
  10832. t3 = A._asBool(t1.$index(0, "quiet")) ? $.$get$Logger_quiet() : new A.StderrLogger(options.get$color());
  10833. importCache = graph.importCache;
  10834. t4 = J.$eq$(t1.$index(0, "style"), "compressed") ? B.OutputStyle_1 : B.OutputStyle_0;
  10835. t5 = A._asBool(t1.$index(0, "quiet-deps"));
  10836. t6 = A._asBool(t1.$index(0, "verbose"));
  10837. t7 = options.get$emitSourceMap();
  10838. t1 = A._asBool(t1.$index(0, "charset"));
  10839. t8 = options.get$silenceDeprecations(0);
  10840. t9 = options.get$fatalDeprecations(0);
  10841. t10 = options.get$futureDeprecations(0);
  10842. t11 = type$.Deprecation;
  10843. t12 = A.LinkedHashSet_LinkedHashSet$_empty(t11);
  10844. t12.addAll$1(0, t8);
  10845. t8 = A.LinkedHashSet_LinkedHashSet$_empty(t11);
  10846. t8.addAll$1(0, t9);
  10847. t9 = A.LinkedHashSet_LinkedHashSet$_empty(t11);
  10848. t9.addAll$1(0, t10);
  10849. logger = new A.DeprecationProcessingLogger(A.LinkedHashMap_LinkedHashMap$_empty(t11, type$.int), t3, t12, t8, t9, !t6);
  10850. logger.validate$0();
  10851. t3 = t2 == null || t2 === A.Syntax_forPath(source);
  10852. if (t3) {
  10853. t2 = $.$get$FilesystemImporter_cwd();
  10854. t3 = A.isNodeJs() ? self.process : null;
  10855. if (!J.$eq$(t3 == null ? null : J.get$platform$x(t3), "win32")) {
  10856. t3 = A.isNodeJs() ? self.process : null;
  10857. t3 = J.$eq$(t3 == null ? null : J.get$platform$x(t3), "darwin");
  10858. } else
  10859. t3 = true;
  10860. if (t3) {
  10861. t3 = A.absolute(source, null, null, null, null, null, null, null, null, null, null, null, null, null, null);
  10862. t6 = $.$get$context();
  10863. t3 = A._realCasePath(t6.normalize$1(t3));
  10864. } else {
  10865. t3 = $.$get$context();
  10866. t6 = t3.canonicalize$1(0, source);
  10867. t0 = t6;
  10868. t6 = t3;
  10869. t3 = t0;
  10870. }
  10871. t6 = importCache.importCanonical$3$originalUrl(t2, t6.toUri$1(t3), t6.toUri$1(source));
  10872. t6.toString;
  10873. stylesheet = t6;
  10874. } else {
  10875. t3 = A.readFile(source);
  10876. if (t2 == null)
  10877. t2 = A.Syntax_forPath(source);
  10878. stylesheet = A.Stylesheet_Stylesheet$parse(t3, t2, $.$get$context().toUri$1(source));
  10879. }
  10880. result0 = A._compileStylesheet(stylesheet, logger, importCache, null, $.$get$FilesystemImporter_cwd(), null, t4, true, null, null, t5, t7, t1);
  10881. logger.summarize$1$js(false);
  10882. case 17:
  10883. // join
  10884. result = result0;
  10885. case 8:
  10886. // join
  10887. $async$handler = 2;
  10888. // goto after finally
  10889. $async$goto = 6;
  10890. break;
  10891. case 4:
  10892. // catch
  10893. $async$handler = 3;
  10894. $async$exception = $async$errorStack.pop();
  10895. t1 = A.unwrapException($async$exception);
  10896. if (t1 instanceof A.SassException) {
  10897. error = t1;
  10898. if (options.get$emitErrorCss())
  10899. if (destination == null)
  10900. A.print(error.toCssString$0());
  10901. else {
  10902. A.ensureDir($.$get$context().dirname$1(destination));
  10903. A.writeFile(destination, error.toCssString$0() + "\n");
  10904. }
  10905. throw $async$exception;
  10906. } else
  10907. throw $async$exception;
  10908. // goto after finally
  10909. $async$goto = 6;
  10910. break;
  10911. case 3:
  10912. // uncaught
  10913. // goto rethrow
  10914. $async$goto = 2;
  10915. break;
  10916. case 6:
  10917. // after finally
  10918. css = result._serialize._0 + A._writeSourceMap(options, result._serialize._1, destination);
  10919. if (destination == null) {
  10920. if (css.length !== 0)
  10921. A.print(css);
  10922. } else {
  10923. A.ensureDir($.$get$context().dirname$1(destination));
  10924. A.writeFile(destination, css + "\n");
  10925. }
  10926. t1 = options._options;
  10927. if (!A._asBool(t1.$index(0, "quiet")))
  10928. t1 = !A._asBool(t1.$index(0, "update")) && !A._asBool(t1.$index(0, "watch"));
  10929. else
  10930. t1 = true;
  10931. if (t1) {
  10932. // goto return
  10933. $async$goto = 1;
  10934. break;
  10935. }
  10936. buffer = new A.StringBuffer("");
  10937. if (source == null)
  10938. sourceName = "stdin";
  10939. else {
  10940. t1 = $.$get$context();
  10941. sourceName = t1.prettyUri$1(t1.toUri$1(source));
  10942. }
  10943. destination.toString;
  10944. t1 = $.$get$context();
  10945. destinationName = t1.prettyUri$1(t1.toUri$1(destination));
  10946. nowStr = new A.DateTime(Date.now(), 0, false).toString$0(0);
  10947. timestamp = B.JSString_methods.substring$2(nowStr, 0, nowStr.length - 7);
  10948. t1 = options.get$color() ? buffer._contents = "" + "\x1b[90m" : "";
  10949. t1 = buffer._contents = t1 + ("[" + timestamp + "] ");
  10950. if (options.get$color())
  10951. t1 = buffer._contents = t1 + "\x1b[32m";
  10952. t1 += "Compiled " + sourceName + " to " + destinationName + ".";
  10953. buffer._contents = t1;
  10954. if (options.get$color())
  10955. buffer._contents = t1 + "\x1b[0m";
  10956. t1 = A.isNodeJs() ? self.process : null;
  10957. if (t1 != null) {
  10958. t1 = J.get$stdout$x(t1);
  10959. J.write$1$x(t1, buffer.toString$0(0) + "\n");
  10960. } else {
  10961. t1 = self.console;
  10962. J.log$1$x(t1, buffer);
  10963. }
  10964. case 1:
  10965. // return
  10966. return A._asyncReturn($async$returnValue, $async$completer);
  10967. case 2:
  10968. // rethrow
  10969. return A._asyncRethrow($async$errorStack.at(-1), $async$completer);
  10970. }
  10971. });
  10972. return A._asyncStartSync($async$_compileStylesheetWithoutErrorHandling, $async$completer);
  10973. },
  10974. _writeSourceMap(options, sourceMap, destination) {
  10975. var t1, sourceMapText, url, sourceMapPath, t2, escapedUrl;
  10976. if (sourceMap == null)
  10977. return "";
  10978. if (destination != null) {
  10979. t1 = $.$get$context();
  10980. sourceMap.targetUrl = t1.toUri$1(A.ParsedPath_ParsedPath$parse(destination, t1.style).get$basename()).toString$0(0);
  10981. }
  10982. A.mapInPlace(sourceMap.urls, new A._writeSourceMap_closure(options, destination));
  10983. t1 = options._options;
  10984. sourceMapText = B.C_JsonCodec.encode$2$toEncodable(sourceMap.toJson$1$includeSourceContents(A._asBool(t1.$index(0, "embed-sources"))), null);
  10985. if (A._asBool(t1.$index(0, "embed-source-map")))
  10986. url = A.Uri_Uri$dataFromString(sourceMapText, B.C_Utf8Codec, "application/json");
  10987. else {
  10988. destination.toString;
  10989. sourceMapPath = destination + ".map";
  10990. t2 = $.$get$context();
  10991. A.ensureDir(t2.dirname$1(sourceMapPath));
  10992. A.writeFile(sourceMapPath, sourceMapText);
  10993. url = t2.toUri$1(t2.relative$2$from(sourceMapPath, t2.dirname$1(destination)));
  10994. }
  10995. t2 = url.toString$0(0);
  10996. escapedUrl = A.stringReplaceAllUnchecked(t2, "*/", "%2A/");
  10997. t1 = (J.$eq$(t1.$index(0, "style"), "compressed") ? B.OutputStyle_1 : B.OutputStyle_0) === B.OutputStyle_1 ? "" : "\n\n";
  10998. return t1 + ("/*# sourceMappingURL=" + escapedUrl + " */");
  10999. },
  11000. _tryDelete(path) {
  11001. var exception;
  11002. try {
  11003. A.deleteFile(path);
  11004. } catch (exception) {
  11005. if (!(A.unwrapException(exception) instanceof A.FileSystemException))
  11006. throw exception;
  11007. }
  11008. },
  11009. _getErrorWithStackTrace(exitCode, error, stackTrace) {
  11010. return new A._Record_3(exitCode, error, stackTrace != null ? B.JSString_methods.trimRight$0(A.Trace_Trace$from(stackTrace).get$terse().toString$0(0)) : null);
  11011. },
  11012. _writeSourceMap_closure: function _writeSourceMap_closure(t0, t1) {
  11013. this.options = t0;
  11014. this.destination = t1;
  11015. },
  11016. ExecutableOptions__separator(text) {
  11017. var t1 = $.$get$ExecutableOptions__separatorBar(),
  11018. t2 = B.JSString_methods.$mul(t1, 3),
  11019. t3 = A.hasTerminal() ? "\x1b[1m" : "",
  11020. t4 = A.hasTerminal() ? "\x1b[0m" : "";
  11021. return t2 + " " + t3 + text + t4 + " " + B.JSString_methods.$mul(t1, 35 - text.length);
  11022. },
  11023. ExecutableOptions__fail(message) {
  11024. return A.throwExpression(A.UsageException$(message));
  11025. },
  11026. ExecutableOptions_ExecutableOptions$parse(args) {
  11027. var options, error, t1, t2, exception;
  11028. try {
  11029. t1 = $.$get$ExecutableOptions__parser();
  11030. t2 = A.ListQueue$(type$.String);
  11031. t2.addAll$1(0, args);
  11032. t2 = A.Parser$(null, t1, t2, null, null).parse$0(0);
  11033. if (t2.wasParsed$1("poll") && !A._asBool(t2.$index(0, "watch")))
  11034. A.ExecutableOptions__fail("--poll may not be passed without --watch.");
  11035. options = new A.ExecutableOptions(t2);
  11036. if (A._asBool(options._options.$index(0, "help")))
  11037. A.ExecutableOptions__fail("Compile Sass to CSS.");
  11038. return options;
  11039. } catch (exception) {
  11040. t1 = A.unwrapException(exception);
  11041. if (type$.FormatException._is(t1)) {
  11042. error = t1;
  11043. A.ExecutableOptions__fail(J.get$message$x(error));
  11044. } else
  11045. throw exception;
  11046. }
  11047. },
  11048. UsageException$(message) {
  11049. return new A.UsageException(message);
  11050. },
  11051. ExecutableOptions: function ExecutableOptions(t0) {
  11052. var _ = this;
  11053. _._options = t0;
  11054. _.__ExecutableOptions_interactive_FI = $;
  11055. _._sourcesToDestinations = null;
  11056. _.__ExecutableOptions__sourceDirectoriesToDestinations_F = $;
  11057. _._fatalDeprecations = null;
  11058. },
  11059. ExecutableOptions__parser_closure: function ExecutableOptions__parser_closure() {
  11060. },
  11061. ExecutableOptions_interactive_closure: function ExecutableOptions_interactive_closure(t0) {
  11062. this.$this = t0;
  11063. },
  11064. ExecutableOptions_emitErrorCss_closure: function ExecutableOptions_emitErrorCss_closure() {
  11065. },
  11066. ExecutableOptions_fatalDeprecations_closure: function ExecutableOptions_fatalDeprecations_closure(t0) {
  11067. this.$this = t0;
  11068. },
  11069. UsageException: function UsageException(t0) {
  11070. this.message = t0;
  11071. },
  11072. repl(options) {
  11073. return A.repl$body(options);
  11074. },
  11075. repl$body(options) {
  11076. var $async$goto = 0,
  11077. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  11078. $async$handler = 1, $async$errorStack = [], $async$next = [], repl, trackingLogger, warn, evaluator, line, node, warnings, _1_0, node0, warnings0, _2_0, node1, warnings1, _3_0, error, stackTrace, logger, t4, t5, t6, t7, t8, t9, line0, toZone, exception, t1, t2, t3, repl0;
  11079. var $async$repl = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  11080. if ($async$errorCode === 1) {
  11081. $async$errorStack.push($async$result);
  11082. $async$goto = $async$handler;
  11083. }
  11084. while (true)
  11085. switch ($async$goto) {
  11086. case 0:
  11087. // Function start
  11088. t1 = A._setArrayType([], type$.JSArray_String);
  11089. t2 = B.JSString_methods.$mul(" ", 3);
  11090. t3 = $.$get$alwaysValid();
  11091. repl0 = new A.Repl(">> ", t2, t3, t1);
  11092. repl0.__Repl__adapter_A = new A.ReplAdapter(repl0);
  11093. repl = repl0;
  11094. t1 = options._options;
  11095. trackingLogger = new A.TrackingLogger(A._asBool(t1.$index(0, "quiet")) ? $.$get$Logger_quiet() : new A.StderrLogger(options.get$color()));
  11096. logger = new A.DeprecationProcessingLogger(A.LinkedHashMap_LinkedHashMap$_empty(type$.Deprecation, type$.int), trackingLogger, options.get$silenceDeprecations(0), options.get$fatalDeprecations(0), options.get$futureDeprecations(0), !A._asBool(t1.$index(0, "verbose")));
  11097. logger.validate$0();
  11098. warn = new A.repl_warn(logger);
  11099. t2 = $.$get$FilesystemImporter_cwd();
  11100. evaluator = new A.Evaluator(A._EvaluateVisitor$(null, A.ImportCache$(options.get$pkgImporters(), type$.List_String._as(t1.$index(0, "load-path"))), logger, null, false, false), t2);
  11101. t2 = repl.__Repl__adapter_A;
  11102. t2 === $ && A.throwUnnamedLateFieldNI();
  11103. t2 = new A._StreamIterator(A.checkNotNullable(t2.runAsync$0(), "stream", type$.Object));
  11104. $async$handler = 2;
  11105. t1 = type$.String, t3 = type$.FileSpan, t4 = type$.JSArray_Record_3_nullable_Deprecation_deprecation_and_String_message_and_FileSpan_span, t5 = type$.Expression;
  11106. case 5:
  11107. // for condition
  11108. $async$goto = 7;
  11109. return A._asyncAwait(t2.moveNext$0(), $async$repl);
  11110. case 7:
  11111. // returning from await.
  11112. if (!$async$result) {
  11113. // goto after for
  11114. $async$goto = 6;
  11115. break;
  11116. }
  11117. line = t2.get$current(0);
  11118. if (J.trim$0$s(line).length === 0) {
  11119. // goto for condition
  11120. $async$goto = 5;
  11121. break;
  11122. }
  11123. try {
  11124. if (J.startsWith$1$s(line, "@")) {
  11125. node = null;
  11126. warnings = null;
  11127. _1_0 = new A.ScssParser(A.LinkedHashMap_LinkedHashMap$_empty(t1, t3), A._setArrayType([], t4), A.SpanScanner$(line, null), null).parseUseRule$0();
  11128. node = _1_0._0;
  11129. warnings = _1_0._1;
  11130. J.forEach$1$ax(warnings, warn);
  11131. t6 = evaluator;
  11132. t7 = node;
  11133. t6._visitor.runStatement$2(t6._importer, t7);
  11134. // goto for condition
  11135. $async$goto = 5;
  11136. break;
  11137. }
  11138. if (new A.Parser(A.SpanScanner$(line, null), null)._isVariableDeclarationLike$0()) {
  11139. node0 = null;
  11140. warnings0 = null;
  11141. _2_0 = new A.ScssParser(A.LinkedHashMap_LinkedHashMap$_empty(t1, t3), A._setArrayType([], t4), A.SpanScanner$(line, null), null).parseVariableDeclaration$0();
  11142. node0 = _2_0._0;
  11143. warnings0 = _2_0._1;
  11144. J.forEach$1$ax(warnings0, warn);
  11145. t6 = evaluator;
  11146. t7 = node0;
  11147. t6._visitor.runStatement$2(t6._importer, t7);
  11148. t7 = evaluator;
  11149. t6 = node0.name;
  11150. t8 = node0.span;
  11151. t9 = node0.namespace;
  11152. line0 = t7._visitor.runExpression$2(t7._importer, new A.VariableExpression(t9, t6, t8)).toString$0(0);
  11153. toZone = $.printToZone;
  11154. if (toZone == null)
  11155. A.printString(line0);
  11156. else
  11157. toZone.call$1(line0);
  11158. } else {
  11159. node1 = null;
  11160. warnings1 = null;
  11161. t6 = A._setArrayType([], t4);
  11162. t7 = new A.ScssParser(A.LinkedHashMap_LinkedHashMap$_empty(t1, t3), t6, A.SpanScanner$(line, null), null);
  11163. _3_0 = new A._Record_2(t7._parseSingleProduction$1$1(t7.get$_expression(), t5), t6);
  11164. node1 = _3_0._0;
  11165. warnings1 = _3_0._1;
  11166. J.forEach$1$ax(warnings1, warn);
  11167. t6 = evaluator;
  11168. t7 = node1;
  11169. line0 = t6._visitor.runExpression$2(t6._importer, t7).toString$0(0);
  11170. toZone = $.printToZone;
  11171. if (toZone == null)
  11172. A.printString(line0);
  11173. else
  11174. toZone.call$1(line0);
  11175. }
  11176. } catch (exception) {
  11177. t6 = A.unwrapException(exception);
  11178. if (t6 instanceof A.SassException) {
  11179. error = t6;
  11180. stackTrace = A.getTraceFromException(exception);
  11181. t6 = error;
  11182. t7 = typeof t6 != "string";
  11183. if (!t7 || typeof t6 == "number" || A._isBool(t6))
  11184. t6 = null;
  11185. else {
  11186. t8 = $.$get$_traces();
  11187. if (A._isBool(t6) || typeof t6 == "number" || !t7 || t6 instanceof A._Record)
  11188. A.Expando__badExpandoKey(t6);
  11189. t6 = t8._jsWeakMap.get(t6);
  11190. }
  11191. if (t6 == null)
  11192. t6 = stackTrace;
  11193. A._logError(error, t6, line, repl, options, trackingLogger);
  11194. } else
  11195. throw exception;
  11196. }
  11197. // goto for condition
  11198. $async$goto = 5;
  11199. break;
  11200. case 6:
  11201. // after for
  11202. $async$next.push(4);
  11203. // goto finally
  11204. $async$goto = 3;
  11205. break;
  11206. case 2:
  11207. // uncaught
  11208. $async$next = [1];
  11209. case 3:
  11210. // finally
  11211. $async$handler = 1;
  11212. $async$goto = 8;
  11213. return A._asyncAwait(t2.cancel$0(), $async$repl);
  11214. case 8:
  11215. // returning from await.
  11216. // goto the next finally handler
  11217. $async$goto = $async$next.pop();
  11218. break;
  11219. case 4:
  11220. // after finally
  11221. // implicit return
  11222. return A._asyncReturn(null, $async$completer);
  11223. case 1:
  11224. // rethrow
  11225. return A._asyncRethrow($async$errorStack.at(-1), $async$completer);
  11226. }
  11227. });
  11228. return A._asyncStartSync($async$repl, $async$completer);
  11229. },
  11230. _logError(error, stackTrace, line, repl, options, logger) {
  11231. var t2, spacesBeforeError, t3,
  11232. t1 = A.SourceSpanException.prototype.get$span.call(error, 0);
  11233. if (t1.get$sourceUrl(t1) == null)
  11234. if (!A._asBool(options._options.$index(0, "quiet")))
  11235. t1 = logger._emittedDebug || logger._emittedWarning;
  11236. else
  11237. t1 = false;
  11238. else
  11239. t1 = true;
  11240. if (t1) {
  11241. A.print(error.toString$1$color(0, options.get$color()));
  11242. return;
  11243. }
  11244. t1 = options.get$color() ? "" + "\x1b[31m" : "";
  11245. t2 = A.SourceSpanException.prototype.get$span.call(error, 0);
  11246. t2 = t2.get$start(t2);
  11247. spacesBeforeError = repl.prompt.length + t2.file.getColumn$1(t2.offset);
  11248. if (options.get$color()) {
  11249. t2 = A.SourceSpanException.prototype.get$span.call(error, 0);
  11250. t2 = t2.get$start(t2);
  11251. t2 = t2.file.getColumn$1(t2.offset) < line.length;
  11252. } else
  11253. t2 = false;
  11254. if (t2)
  11255. t1 = t1 + ("\x1b[1F\x1b[" + spacesBeforeError + "C") + (A.SourceSpanException.prototype.get$span.call(error, 0).get$text() + "\n");
  11256. t2 = B.JSString_methods.$mul(" ", spacesBeforeError);
  11257. t3 = A.SourceSpanException.prototype.get$span.call(error, 0);
  11258. t3 = t1 + t2 + (B.JSString_methods.$mul("^", Math.max(1, t3.get$length(t3))) + "\n");
  11259. t1 = options.get$color() ? t3 + "\x1b[0m" : t3;
  11260. t1 += "Error: " + error._span_exception$_message + "\n";
  11261. if (A._asBool(options._options.$index(0, "trace")))
  11262. t1 += A.Trace_Trace$from(stackTrace).get$terse().toString$0(0);
  11263. A.print(B.JSString_methods.trimRight$0(t1.charCodeAt(0) == 0 ? t1 : t1));
  11264. },
  11265. repl_warn: function repl_warn(t0) {
  11266. this.logger = t0;
  11267. },
  11268. watch(options, graph) {
  11269. return A.watch$body(options, graph);
  11270. },
  11271. watch$body(options, graph) {
  11272. var $async$goto = 0,
  11273. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  11274. $async$returnValue, t1, t2, t3, t4, t5, t6, dirWatcher, sourcesToDestinations, t7, t0;
  11275. var $async$watch = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  11276. if ($async$errorCode === 1)
  11277. return A._asyncRethrow($async$result, $async$completer);
  11278. while (true)
  11279. switch ($async$goto) {
  11280. case 0:
  11281. // Function start
  11282. options._ensureSources$0();
  11283. t1 = options.__ExecutableOptions__sourceDirectoriesToDestinations_F;
  11284. t1 === $ && A.throwUnnamedLateFieldNI();
  11285. t2 = type$.String;
  11286. t1 = t1.cast$2$0(0, t2, t2);
  11287. t1 = A.List_List$_of(t1.get$keys(t1), t2);
  11288. 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();) {
  11289. t4 = t3.get$current(t3);
  11290. t1.push($.$get$context().dirname$1(t4));
  11291. }
  11292. t3 = options._options;
  11293. B.JSArray_methods.addAll$1(t1, type$.List_String._as(t3.$index(0, "load-path")));
  11294. t4 = A._asBool(t3.$index(0, "poll"));
  11295. t5 = type$.Stream_WatchEvent;
  11296. t6 = A.PathMap__create(null, t5);
  11297. t5 = new A.StreamGroup(B._StreamGroupState_dormant, A.LinkedHashMap_LinkedHashMap$_empty(t5, type$.nullable_StreamSubscription_WatchEvent), type$.StreamGroup_WatchEvent);
  11298. t5.__StreamGroup__controller_A = A.StreamController_StreamController(t5.get$_onCancel(), t5.get$_onListen(), t5.get$_onPause(), t5.get$_onResume(), true, type$.WatchEvent);
  11299. dirWatcher = new A.MultiDirWatcher(new A.PathMap(t6, type$.PathMap_Stream_WatchEvent), t5, t4);
  11300. $async$goto = 3;
  11301. return A._asyncAwait(A.Future_wait(new A.MappedListIterable(t1, new A.watch_closure(dirWatcher), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,Future<~>>")), false, type$.void), $async$watch);
  11302. case 3:
  11303. // returning from await.
  11304. options._ensureSources$0();
  11305. sourcesToDestinations = options._sourcesToDestinations.cast$2$0(0, t2, t2);
  11306. for (t1 = J.get$iterator$ax(sourcesToDestinations.get$keys(sourcesToDestinations)); t1.moveNext$0();) {
  11307. t4 = t1.get$current(t1);
  11308. t5 = $.$get$FilesystemImporter_cwd();
  11309. t6 = self.process;
  11310. if (t6 == null)
  11311. t6 = null;
  11312. else {
  11313. t6 = J.get$release$x(t6);
  11314. t6 = t6 == null ? null : J.get$name$x(t6);
  11315. }
  11316. t6 = J.$eq$(t6, "node") ? self.process : null;
  11317. if (!J.$eq$(t6 == null ? null : J.get$platform$x(t6), "win32")) {
  11318. t6 = self.process;
  11319. if (t6 == null)
  11320. t6 = null;
  11321. else {
  11322. t6 = J.get$release$x(t6);
  11323. t6 = t6 == null ? null : J.get$name$x(t6);
  11324. }
  11325. t6 = J.$eq$(t6, "node") ? self.process : null;
  11326. t6 = J.$eq$(t6 == null ? null : J.get$platform$x(t6), "darwin");
  11327. } else
  11328. t6 = true;
  11329. if (t6) {
  11330. t6 = $.$get$context();
  11331. t7 = A._realCasePath(t6.normalize$1(t6.absolute$15(t4, null, null, null, null, null, null, null, null, null, null, null, null, null, null)));
  11332. t0 = t7;
  11333. t7 = t6;
  11334. t6 = t0;
  11335. } else {
  11336. t6 = $.$get$context();
  11337. t7 = t6.canonicalize$1(0, t4);
  11338. t0 = t7;
  11339. t7 = t6;
  11340. t6 = t0;
  11341. }
  11342. graph.addCanonical$4$recanonicalize(t5, t7.toUri$1(t6), t7.toUri$1(t4), false);
  11343. }
  11344. $async$goto = 4;
  11345. return A._asyncAwait(A.compileStylesheets(options, graph, sourcesToDestinations, true), $async$watch);
  11346. case 4:
  11347. // returning from await.
  11348. if (!$async$result && A._asBool(t3.$index(0, "stop-on-error"))) {
  11349. t1 = dirWatcher._group.__StreamGroup__controller_A;
  11350. t1 === $ && A.throwUnnamedLateFieldNI();
  11351. new A._ControllerStream(t1, A._instanceType(t1)._eval$1("_ControllerStream<1>")).listen$1(0, null).cancel$0();
  11352. // goto return
  11353. $async$goto = 1;
  11354. break;
  11355. }
  11356. A.print("Sass is watching for changes. Press Ctrl-C to stop.\n");
  11357. $async$goto = 5;
  11358. return A._asyncAwait(new A._Watcher(options, graph, A.LinkedHashMap_LinkedHashMap$_empty(t2, t2)).watch$1(0, dirWatcher), $async$watch);
  11359. case 5:
  11360. // returning from await.
  11361. case 1:
  11362. // return
  11363. return A._asyncReturn($async$returnValue, $async$completer);
  11364. }
  11365. });
  11366. return A._asyncStartSync($async$watch, $async$completer);
  11367. },
  11368. watch_closure: function watch_closure(t0) {
  11369. this.dirWatcher = t0;
  11370. },
  11371. _Watcher: function _Watcher(t0, t1, t2) {
  11372. this._watch$_options = t0;
  11373. this._graph = t1;
  11374. this._toRecompile = t2;
  11375. },
  11376. _Watcher__debounceEvents_closure: function _Watcher__debounceEvents_closure() {
  11377. },
  11378. EmptyExtensionStore: function EmptyExtensionStore() {
  11379. },
  11380. Extension: function Extension(t0, t1, t2, t3, t4) {
  11381. var _ = this;
  11382. _.extender = t0;
  11383. _.target = t1;
  11384. _.mediaContext = t2;
  11385. _.isOptional = t3;
  11386. _.span = t4;
  11387. },
  11388. Extender: function Extender(t0, t1) {
  11389. this.selector = t0;
  11390. this.isOriginal = t1;
  11391. this._extension = null;
  11392. },
  11393. ExtensionStore__extendOrReplace(selector, source, targets, mode, span) {
  11394. var t1, t2, t3, t4, t5, t6, t7, t8, _i, complex, compound, t9, t10, t11, _i0, simple, t12, _i1, t13, t14,
  11395. extender = A.ExtensionStore$_mode(mode);
  11396. if (!selector.accept$1(B._IsInvisibleVisitor_true))
  11397. extender._originals.addAll$1(0, selector.components);
  11398. 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) {
  11399. complex = t1[_i];
  11400. compound = complex.get$singleCompound();
  11401. if (compound == null)
  11402. throw A.wrapException(A.SassScriptException$("Can't extend complex selector " + complex.toString$0(0) + ".", null));
  11403. t9 = A.LinkedHashMap_LinkedHashMap$_empty(t7, t8);
  11404. for (t10 = compound.components, t11 = t10.length, _i0 = 0; _i0 < t11; ++_i0) {
  11405. simple = t10[_i0];
  11406. t12 = A.LinkedHashMap_LinkedHashMap$_empty(t5, t6);
  11407. for (_i1 = 0; _i1 < t4; ++_i1) {
  11408. complex = t3[_i1];
  11409. complex.get$specificity();
  11410. t13 = new A.Extender(complex, false);
  11411. t14 = new A.Extension(t13, simple, null, true, span);
  11412. t13._extension = t14;
  11413. t12.$indexSet(0, complex, t14);
  11414. }
  11415. t9.$indexSet(0, simple, t12);
  11416. }
  11417. selector = extender._extendList$2(selector, t9);
  11418. }
  11419. return selector;
  11420. },
  11421. ExtensionStore$() {
  11422. var t1 = type$.SimpleSelector;
  11423. return new A.ExtensionStore(A.LinkedHashMap_LinkedHashMap$_empty(t1, type$.Set_ModifiableBox_SelectorList), A.LinkedHashMap_LinkedHashMap$_empty(t1, type$.Map_ComplexSelector_Extension), A.LinkedHashMap_LinkedHashMap$_empty(t1, type$.List_Extension), A.LinkedHashMap_LinkedHashMap$_empty(type$.ModifiableBox_SelectorList, type$.List_CssMediaQuery), new A.JsIdentityLinkedHashMap(type$.JsIdentityLinkedHashMap_SimpleSelector_int), new A._LinkedIdentityHashSet(type$._LinkedIdentityHashSet_ComplexSelector), B.ExtendMode_normal_normal);
  11424. },
  11425. ExtensionStore$_mode(_mode) {
  11426. var t1 = type$.SimpleSelector;
  11427. return new A.ExtensionStore(A.LinkedHashMap_LinkedHashMap$_empty(t1, type$.Set_ModifiableBox_SelectorList), A.LinkedHashMap_LinkedHashMap$_empty(t1, type$.Map_ComplexSelector_Extension), A.LinkedHashMap_LinkedHashMap$_empty(t1, type$.List_Extension), A.LinkedHashMap_LinkedHashMap$_empty(type$.ModifiableBox_SelectorList, type$.List_CssMediaQuery), new A.JsIdentityLinkedHashMap(type$.JsIdentityLinkedHashMap_SimpleSelector_int), new A._LinkedIdentityHashSet(type$._LinkedIdentityHashSet_ComplexSelector), _mode);
  11428. },
  11429. ExtensionStore: function ExtensionStore(t0, t1, t2, t3, t4, t5, t6) {
  11430. var _ = this;
  11431. _._selectors = t0;
  11432. _._extensions = t1;
  11433. _._extensionsByExtender = t2;
  11434. _._mediaContexts = t3;
  11435. _._sourceSpecificity = t4;
  11436. _._originals = t5;
  11437. _._mode = t6;
  11438. },
  11439. ExtensionStore_extensionsWhereTarget_closure: function ExtensionStore_extensionsWhereTarget_closure() {
  11440. },
  11441. ExtensionStore__registerSelector_closure: function ExtensionStore__registerSelector_closure() {
  11442. },
  11443. ExtensionStore_addExtension_closure: function ExtensionStore_addExtension_closure() {
  11444. },
  11445. ExtensionStore_addExtension_closure0: function ExtensionStore_addExtension_closure0() {
  11446. },
  11447. ExtensionStore_addExtension_closure1: function ExtensionStore_addExtension_closure1(t0) {
  11448. this.complex = t0;
  11449. },
  11450. ExtensionStore__extendExistingExtensions_closure: function ExtensionStore__extendExistingExtensions_closure() {
  11451. },
  11452. ExtensionStore__extendExistingExtensions_closure0: function ExtensionStore__extendExistingExtensions_closure0() {
  11453. },
  11454. ExtensionStore_addExtensions_closure: function ExtensionStore_addExtensions_closure() {
  11455. },
  11456. ExtensionStore__extendComplex_closure: function ExtensionStore__extendComplex_closure(t0, t1, t2) {
  11457. this._box_0 = t0;
  11458. this.$this = t1;
  11459. this.complex = t2;
  11460. },
  11461. ExtensionStore__extendComplex__closure: function ExtensionStore__extendComplex__closure(t0, t1, t2) {
  11462. this._box_0 = t0;
  11463. this.$this = t1;
  11464. this.complex = t2;
  11465. },
  11466. ExtensionStore__extendCompound_closure: function ExtensionStore__extendCompound_closure() {
  11467. },
  11468. ExtensionStore__extendCompound_closure0: function ExtensionStore__extendCompound_closure0() {
  11469. },
  11470. ExtensionStore__extendCompound_closure1: function ExtensionStore__extendCompound_closure1(t0) {
  11471. this.original = t0;
  11472. },
  11473. ExtensionStore__extendSimple_withoutPseudo: function ExtensionStore__extendSimple_withoutPseudo(t0, t1, t2) {
  11474. this.$this = t0;
  11475. this.extensions = t1;
  11476. this.targetsUsed = t2;
  11477. },
  11478. ExtensionStore__extendSimple_closure: function ExtensionStore__extendSimple_closure(t0, t1) {
  11479. this.$this = t0;
  11480. this.withoutPseudo = t1;
  11481. },
  11482. ExtensionStore__extendSimple_closure0: function ExtensionStore__extendSimple_closure0() {
  11483. },
  11484. ExtensionStore__extendPseudo_closure: function ExtensionStore__extendPseudo_closure() {
  11485. },
  11486. ExtensionStore__extendPseudo_closure0: function ExtensionStore__extendPseudo_closure0() {
  11487. },
  11488. ExtensionStore__extendPseudo_closure1: function ExtensionStore__extendPseudo_closure1() {
  11489. },
  11490. ExtensionStore__extendPseudo_closure2: function ExtensionStore__extendPseudo_closure2(t0) {
  11491. this.pseudo = t0;
  11492. },
  11493. ExtensionStore__extendPseudo_closure3: function ExtensionStore__extendPseudo_closure3(t0, t1) {
  11494. this.pseudo = t0;
  11495. this.selector = t1;
  11496. },
  11497. ExtensionStore__trim_closure: function ExtensionStore__trim_closure(t0, t1) {
  11498. this._box_0 = t0;
  11499. this.complex1 = t1;
  11500. },
  11501. ExtensionStore__trim_closure0: function ExtensionStore__trim_closure0(t0, t1) {
  11502. this._box_0 = t0;
  11503. this.complex1 = t1;
  11504. },
  11505. ExtensionStore_clone_closure: function ExtensionStore_clone_closure(t0, t1, t2, t3) {
  11506. var _ = this;
  11507. _.$this = t0;
  11508. _.newSelectors = t1;
  11509. _.oldToNewSelectors = t2;
  11510. _.newMediaContexts = t3;
  11511. },
  11512. unifyComplex(complexes, span) {
  11513. var t2, trailingCombinator, leadingCombinator, unifiedBase, t3, t4, _0_6_isSet, _0_6, t5, newLeadingCombinator, base, _1_1, newTrailingCombinator, unifiedBase0, t6, t7, t8, _null = null,
  11514. t1 = J.getInterceptor$asx(complexes);
  11515. if (t1.get$length(complexes) === 1)
  11516. return complexes;
  11517. for (t2 = t1.get$iterator(complexes), trailingCombinator = _null, leadingCombinator = trailingCombinator, unifiedBase = leadingCombinator; t2.moveNext$0();) {
  11518. t3 = t2.get$current(t2);
  11519. if (t3.accept$1(B.C__IsUselessVisitor))
  11520. return _null;
  11521. t4 = t3.components;
  11522. _0_6_isSet = t4.length === 1;
  11523. if (_0_6_isSet) {
  11524. _0_6 = t3.leadingCombinators;
  11525. t5 = _0_6.length === 1;
  11526. } else {
  11527. _0_6 = _null;
  11528. t5 = false;
  11529. }
  11530. if (t5) {
  11531. newLeadingCombinator = (_0_6_isSet ? _0_6 : t3.leadingCombinators)[0];
  11532. if (leadingCombinator == null)
  11533. leadingCombinator = newLeadingCombinator;
  11534. else if (!(leadingCombinator.$ti._is(newLeadingCombinator) && J.$eq$(newLeadingCombinator.value, leadingCombinator.value)))
  11535. return _null;
  11536. }
  11537. base = B.JSArray_methods.get$last(t4);
  11538. _1_1 = base.combinators;
  11539. if (_1_1.length === 1) {
  11540. newTrailingCombinator = _1_1[0];
  11541. if (trailingCombinator != null)
  11542. t3 = !(trailingCombinator.$ti._is(newTrailingCombinator) && J.$eq$(newTrailingCombinator.value, trailingCombinator.value));
  11543. else
  11544. t3 = false;
  11545. if (t3)
  11546. return _null;
  11547. trailingCombinator = newTrailingCombinator;
  11548. }
  11549. unifiedBase0 = base.selector;
  11550. if (unifiedBase == null)
  11551. unifiedBase = unifiedBase0;
  11552. else {
  11553. unifiedBase = A.unifyCompound(unifiedBase, unifiedBase0);
  11554. if (unifiedBase == null)
  11555. return _null;
  11556. }
  11557. }
  11558. t2 = type$.JSArray_ComplexSelector;
  11559. t3 = A._setArrayType([], t2);
  11560. for (t4 = t1.get$iterator(complexes); t4.moveNext$0();) {
  11561. t5 = t4.get$current(t4);
  11562. t6 = t5.components;
  11563. t7 = t6.length;
  11564. if (t7 > 1) {
  11565. t8 = t5.leadingCombinators;
  11566. t3.push(A.ComplexSelector$(t8, B.JSArray_methods.take$1(t6, t7 - 1), t5.span, t5.lineBreak));
  11567. }
  11568. }
  11569. t4 = leadingCombinator == null ? B.List_empty0 : A._setArrayType([leadingCombinator], type$.JSArray_CssValue_Combinator);
  11570. unifiedBase.toString;
  11571. t5 = trailingCombinator == null ? B.List_empty0 : A._setArrayType([trailingCombinator], type$.JSArray_CssValue_Combinator);
  11572. base = A.ComplexSelector$(t4, A._setArrayType([new A.ComplexSelectorComponent(unifiedBase, A.List_List$unmodifiable(t5, type$.CssValue_Combinator), span)], type$.JSArray_ComplexSelectorComponent), span, t1.any$1(complexes, new A.unifyComplex_closure()));
  11573. if (t3.length === 0)
  11574. t1 = A._setArrayType([base], t2);
  11575. else {
  11576. t1 = A.List_List$_of(A.IterableExtension_get_exceptLast(t3), type$.ComplexSelector);
  11577. t1.push(B.JSArray_methods.get$last(t3).concatenate$2(base, span));
  11578. }
  11579. return A.weave(t1, span, false);
  11580. },
  11581. unifyCompound(compound1, compound2) {
  11582. var t1, t2, pseudoElementFound, _i, simple, unified,
  11583. result = compound1.components,
  11584. pseudoResult = A._setArrayType([], type$.JSArray_SimpleSelector);
  11585. for (t1 = compound2.components, t2 = t1.length, pseudoElementFound = false, _i = 0; _i < t2; ++_i) {
  11586. simple = t1[_i];
  11587. if (pseudoElementFound && simple instanceof A.PseudoSelector) {
  11588. unified = simple.unify$1(pseudoResult);
  11589. if (unified == null)
  11590. return null;
  11591. pseudoResult = unified;
  11592. } else {
  11593. pseudoElementFound = B.JSBool_methods.$or(pseudoElementFound, simple instanceof A.PseudoSelector && !simple.isClass);
  11594. unified = simple.unify$1(result);
  11595. if (unified == null)
  11596. return null;
  11597. result = unified;
  11598. }
  11599. }
  11600. t1 = A.List_List$_of(result, type$.SimpleSelector);
  11601. B.JSArray_methods.addAll$1(t1, pseudoResult);
  11602. return A.CompoundSelector$(t1, compound1.span);
  11603. },
  11604. unifyUniversalAndElement(selector1, selector2) {
  11605. var namespace, $name, t1,
  11606. _0_0 = A._namespaceAndName(selector1, "selector1"),
  11607. namespace1 = _0_0._0,
  11608. name1 = _0_0._1,
  11609. _1_0 = A._namespaceAndName(selector2, "selector2"),
  11610. namespace2 = _1_0._0,
  11611. name2 = _1_0._1;
  11612. if (namespace1 == namespace2 || namespace2 === "*")
  11613. namespace = namespace1;
  11614. else {
  11615. if (namespace1 !== "*")
  11616. return null;
  11617. namespace = namespace2;
  11618. }
  11619. if (name1 == name2 || name2 == null)
  11620. $name = name1;
  11621. else {
  11622. if (!(name1 == null || name1 === "*"))
  11623. return null;
  11624. $name = name2;
  11625. }
  11626. t1 = selector1.span;
  11627. return $name == null ? new A.UniversalSelector(namespace, t1) : new A.TypeSelector(new A.QualifiedName($name, namespace), t1);
  11628. },
  11629. _namespaceAndName(selector, $name) {
  11630. var t1, _0_4;
  11631. $label0$0: {
  11632. if (selector instanceof A.UniversalSelector) {
  11633. t1 = new A._Record_2(selector.namespace, null);
  11634. break $label0$0;
  11635. }
  11636. if (selector instanceof A.TypeSelector) {
  11637. _0_4 = selector.name;
  11638. t1 = new A._Record_2(_0_4.namespace, _0_4.name);
  11639. break $label0$0;
  11640. }
  11641. t1 = A.throwExpression(A.ArgumentError$value(selector, $name, string$.must_b));
  11642. }
  11643. return t1;
  11644. },
  11645. weave(complexes, span, forceLineBreak) {
  11646. var complex, t2, prefixes, t3, t4, t5, t6, i, t7, t8, _i, t9, t10, _i0, parentPrefix, t11, t12,
  11647. t1 = J.getInterceptor$asx(complexes);
  11648. if (t1.get$length(complexes) === 1) {
  11649. complex = t1.$index(complexes, 0);
  11650. if (!forceLineBreak || complex.lineBreak)
  11651. return complexes;
  11652. return A._setArrayType([A.ComplexSelector$(complex.leadingCombinators, complex.components, complex.span, true)], type$.JSArray_ComplexSelector);
  11653. }
  11654. t2 = type$.JSArray_ComplexSelector;
  11655. prefixes = A._setArrayType([t1.get$first(complexes)], t2);
  11656. for (t1 = t1.skip$1(complexes, 1), t3 = t1.$ti, t1 = new A.ListIterator(t1, t1.get$length(0), t3._eval$1("ListIterator<ListIterable.E>")), t4 = type$.ComplexSelectorComponent, t3 = t3._eval$1("ListIterable.E"); t1.moveNext$0();) {
  11657. t5 = t1.__internal$_current;
  11658. if (t5 == null)
  11659. t5 = t3._as(t5);
  11660. t6 = t5.components;
  11661. if (t6.length === 1) {
  11662. for (i = 0; i < prefixes.length; ++i)
  11663. prefixes[i] = prefixes[i].concatenate$3$forceLineBreak(t5, span, forceLineBreak);
  11664. continue;
  11665. }
  11666. t7 = A._setArrayType([], t2);
  11667. for (t8 = prefixes.length, _i = 0; _i < prefixes.length; prefixes.length === t8 || (0, A.throwConcurrentModificationError)(prefixes), ++_i) {
  11668. t9 = A._weaveParents(prefixes[_i], t5, span);
  11669. if (t9 == null)
  11670. t9 = B.List_empty1;
  11671. t10 = t9.length;
  11672. _i0 = 0;
  11673. for (; _i0 < t9.length; t9.length === t10 || (0, A.throwConcurrentModificationError)(t9), ++_i0) {
  11674. parentPrefix = t9[_i0];
  11675. t11 = B.JSArray_methods.get$last(t6);
  11676. t12 = A.List_List$_of(parentPrefix.components, t4);
  11677. t12.push(t11);
  11678. t11 = parentPrefix.lineBreak || forceLineBreak;
  11679. t7.push(A.ComplexSelector$(parentPrefix.leadingCombinators, t12, span, t11));
  11680. }
  11681. }
  11682. prefixes = t7;
  11683. }
  11684. return prefixes;
  11685. },
  11686. _weaveParents(prefix, base, span) {
  11687. var t1, queue1, queue2, trailingCombinators, _0_1, _0_3, _0_3_isSet, _0_30, rootish2, t2, rootish1, rootish, t3, t0, rootish_case_1, groups1, groups2, lcs, choices, t4, _i, group, t5, t6, t7, _i0, chunk, t8, t9, _null = null,
  11688. leadingCombinators = A._mergeLeadingCombinators(prefix.leadingCombinators, base.leadingCombinators);
  11689. if (leadingCombinators == null)
  11690. return _null;
  11691. t1 = type$.ComplexSelectorComponent;
  11692. queue1 = A.QueueList_QueueList$from(prefix.components, t1);
  11693. queue2 = A.QueueList_QueueList$from(A.IterableExtension_get_exceptLast(base.components), t1);
  11694. trailingCombinators = A._mergeTrailingCombinators(queue1, queue2, span, _null);
  11695. if (trailingCombinators == null)
  11696. return _null;
  11697. $label0$0: {
  11698. _0_1 = A._firstIfRootish(queue1);
  11699. _0_3 = A._firstIfRootish(queue2);
  11700. _0_3_isSet = _0_1 != null;
  11701. _0_30 = _null;
  11702. rootish2 = _null;
  11703. t2 = false;
  11704. if (_0_3_isSet) {
  11705. rootish1 = _0_1 == null ? t1._as(_0_1) : _0_1;
  11706. t2 = _0_3 != null;
  11707. if (t2)
  11708. rootish2 = _0_3 == null ? t1._as(_0_3) : _0_3;
  11709. _0_30 = _0_3;
  11710. } else
  11711. rootish1 = _null;
  11712. if (t2) {
  11713. rootish = A.unifyCompound(rootish1.selector, rootish2.selector);
  11714. if (rootish == null)
  11715. return _null;
  11716. t1 = rootish1.combinators;
  11717. t2 = rootish1.span;
  11718. t3 = type$.CssValue_Combinator;
  11719. queue1.addFirst$1(new A.ComplexSelectorComponent(rootish, A.List_List$unmodifiable(t1, t3), t2));
  11720. queue2.addFirst$1(new A.ComplexSelectorComponent(rootish, A.List_List$unmodifiable(rootish2.combinators, t3), t2));
  11721. break $label0$0;
  11722. }
  11723. t2 = _null;
  11724. t3 = false;
  11725. if (_0_1 != null) {
  11726. if (_0_3_isSet)
  11727. t2 = _0_30;
  11728. else {
  11729. t2 = _0_3;
  11730. _0_30 = t2;
  11731. _0_3_isSet = true;
  11732. }
  11733. t2 = t2 == null;
  11734. t3 = t2 ? _0_1 : _null;
  11735. t0 = t3;
  11736. t3 = t2;
  11737. t2 = t0;
  11738. }
  11739. if (!t3)
  11740. if (_0_1 == null) {
  11741. if (_0_3_isSet)
  11742. t3 = _0_30;
  11743. else {
  11744. t3 = _0_3;
  11745. _0_30 = t3;
  11746. _0_3_isSet = true;
  11747. }
  11748. t3 = t3 != null;
  11749. if (t3) {
  11750. rootish_case_1 = _0_3_isSet ? _0_30 : _0_3;
  11751. if (rootish_case_1 == null)
  11752. rootish_case_1 = t1._as(rootish_case_1);
  11753. t1 = rootish_case_1;
  11754. } else
  11755. t1 = t2;
  11756. t2 = t3;
  11757. } else {
  11758. t1 = t2;
  11759. t2 = false;
  11760. }
  11761. else {
  11762. t1 = t2;
  11763. t2 = true;
  11764. }
  11765. if (t2) {
  11766. queue1.addFirst$1(t1);
  11767. queue2.addFirst$1(t1);
  11768. }
  11769. }
  11770. groups1 = A._groupSelectors(queue1);
  11771. groups2 = A._groupSelectors(queue2);
  11772. t1 = type$.List_ComplexSelectorComponent;
  11773. lcs = A.longestCommonSubsequence(groups2, groups1, new A._weaveParents_closure(span), t1);
  11774. choices = A._setArrayType([], type$.JSArray_List_Iterable_ComplexSelectorComponent);
  11775. for (t2 = lcs.length, t3 = type$.JSArray_Iterable_ComplexSelectorComponent, t4 = type$.JSArray_ComplexSelectorComponent, _i = 0; _i < lcs.length; lcs.length === t2 || (0, A.throwConcurrentModificationError)(lcs), ++_i) {
  11776. group = lcs[_i];
  11777. t5 = A._setArrayType([], t3);
  11778. for (t6 = A._chunks(groups1, groups2, new A._weaveParents_closure0(group), t1), t7 = t6.length, _i0 = 0; _i0 < t6.length; t6.length === t7 || (0, A.throwConcurrentModificationError)(t6), ++_i0) {
  11779. chunk = t6[_i0];
  11780. t8 = A._setArrayType([], t4);
  11781. for (t9 = B.JSArray_methods.get$iterator(chunk); t9.moveNext$0();)
  11782. B.JSArray_methods.addAll$1(t8, t9.get$current(0));
  11783. t5.push(t8);
  11784. }
  11785. choices.push(t5);
  11786. choices.push(A._setArrayType([group], t3));
  11787. groups1.removeFirst$0();
  11788. groups2.removeFirst$0();
  11789. }
  11790. t2 = A._setArrayType([], t3);
  11791. for (t1 = A._chunks(groups1, groups2, new A._weaveParents_closure1(), t1), t3 = t1.length, _i = 0; _i < t1.length; t1.length === t3 || (0, A.throwConcurrentModificationError)(t1), ++_i) {
  11792. chunk = t1[_i];
  11793. t5 = A._setArrayType([], t4);
  11794. for (t6 = B.JSArray_methods.get$iterator(chunk); t6.moveNext$0();)
  11795. B.JSArray_methods.addAll$1(t5, t6.get$current(0));
  11796. t2.push(t5);
  11797. }
  11798. choices.push(t2);
  11799. B.JSArray_methods.addAll$1(choices, trailingCombinators);
  11800. t1 = A._setArrayType([], type$.JSArray_ComplexSelector);
  11801. for (t2 = J.get$iterator$ax(A.paths(new A.WhereIterable(choices, new A._weaveParents_closure2(), type$.WhereIterable_List_Iterable_ComplexSelectorComponent), type$.Iterable_ComplexSelectorComponent)), t3 = !prefix.lineBreak, t5 = base.lineBreak; t2.moveNext$0();) {
  11802. t6 = t2.get$current(t2);
  11803. t7 = A._setArrayType([], t4);
  11804. for (t6 = J.get$iterator$ax(t6); t6.moveNext$0();)
  11805. B.JSArray_methods.addAll$1(t7, t6.get$current(t6));
  11806. t1.push(A.ComplexSelector$(leadingCombinators, t7, span, !t3 || t5));
  11807. }
  11808. return t1;
  11809. },
  11810. _firstIfRootish(queue) {
  11811. var first, t1, t2, _i, simple, t3;
  11812. if (queue.get$length(0) >= 1) {
  11813. first = queue.$index(0, 0);
  11814. for (t1 = first.selector.components, t2 = t1.length, _i = 0; _i < t2; ++_i) {
  11815. simple = t1[_i];
  11816. t3 = false;
  11817. if (simple instanceof A.PseudoSelector)
  11818. if (simple.isClass)
  11819. t3 = $._rootishPseudoClasses.contains$1(0, simple.normalizedName);
  11820. if (t3) {
  11821. queue.removeFirst$0();
  11822. return first;
  11823. }
  11824. }
  11825. }
  11826. return null;
  11827. },
  11828. _mergeLeadingCombinators(combinators1, combinators2) {
  11829. var _0_4, t1, t2, _0_7, t3, _0_11, _0_11_isSet, combinators, _null = null;
  11830. $label0$0: {
  11831. _0_4 = combinators2;
  11832. t1 = _null;
  11833. t2 = type$.List_dynamic;
  11834. _0_7 = combinators1.length;
  11835. t3 = _0_7;
  11836. t3 = t3 > 1;
  11837. _0_11 = _null;
  11838. if (!t3) {
  11839. t3 = _0_4;
  11840. _0_11_isSet = t2._is(t3);
  11841. if (_0_11_isSet) {
  11842. t3 = _0_4;
  11843. _0_11 = (t3 == null ? type$.List_CssValue_Combinator._as(t3) : t3).length;
  11844. t3 = _0_11;
  11845. t3 = t3 > 1;
  11846. } else
  11847. t3 = false;
  11848. } else {
  11849. _0_11_isSet = false;
  11850. t3 = true;
  11851. }
  11852. if (t3)
  11853. break $label0$0;
  11854. t3 = _0_7;
  11855. t3 = t3 <= 0;
  11856. if (t3)
  11857. combinators = _0_4;
  11858. else
  11859. combinators = t1;
  11860. t1 = t3;
  11861. if (!t1) {
  11862. t1 = false;
  11863. t3 = _0_4;
  11864. if (t2._is(t3)) {
  11865. if (_0_11_isSet)
  11866. t1 = _0_11;
  11867. else {
  11868. t1 = _0_4;
  11869. _0_11 = (t1 == null ? type$.List_CssValue_Combinator._as(t1) : t1).length;
  11870. t1 = _0_11;
  11871. }
  11872. t1 = t1 <= 0;
  11873. }
  11874. combinators = combinators1;
  11875. } else
  11876. t1 = true;
  11877. if (t1) {
  11878. t1 = combinators;
  11879. break $label0$0;
  11880. }
  11881. t1 = B.C_ListEquality.equals$2(0, combinators1, combinators2) ? combinators1 : _null;
  11882. break $label0$0;
  11883. }
  11884. return t1;
  11885. },
  11886. _mergeTrailingCombinators(components1, components2, span, result) {
  11887. var _0_1, t1, _1_1, t2, t3, _4_1, _4_3, _4_5_isSet, _4_4, _4_5, component1, component2, t4, t5, choices, _2_0, _4_6, _4_7, followingComponents, nextComponents, _4_4_isSet, _4_9, _4_6_isSet, _4_7_isSet, _4_10_isSet, _4_10, next, following, _3_0, _4_4_isSet0, siblingComponents_case_0, siblingComponents_case_1, t6, combinator2, unified, t7, combinatorComponents_case_0, descendantComponents_case_0, t0, combinator_case_1, descendantComponents_case_1, combinatorComponents_case_1, _null = null;
  11888. if (result == null)
  11889. result = A.QueueList$(_null, type$.List_List_ComplexSelectorComponent);
  11890. $label0$0: {
  11891. _0_1 = components1.get$length(0);
  11892. if (_0_1 >= 1) {
  11893. t1 = components1.$index(0, _0_1 - 1).combinators;
  11894. break $label0$0;
  11895. }
  11896. t1 = B.List_empty0;
  11897. break $label0$0;
  11898. }
  11899. $label1$1: {
  11900. _1_1 = components2.get$length(0);
  11901. if (_1_1 >= 1) {
  11902. t2 = components2.$index(0, _1_1 - 1).combinators;
  11903. break $label1$1;
  11904. }
  11905. t2 = B.List_empty0;
  11906. break $label1$1;
  11907. }
  11908. t3 = t1.length;
  11909. if (t3 === 0 && t2.length === 0)
  11910. return result;
  11911. if (t3 > 1 || t2.length > 1)
  11912. return _null;
  11913. $label2$2: {
  11914. t3 = A.IterableExtension_get_firstOrNull(t1);
  11915. t3 = t3 == null ? _null : t3.value;
  11916. t2 = A.IterableExtension_get_firstOrNull(t2);
  11917. t2 = [t3, t2 == null ? _null : t2.value, components1, components2];
  11918. _4_1 = t2[0];
  11919. _4_3 = B.Combinator_55N === _4_1;
  11920. _4_5_isSet = _4_3;
  11921. if (_4_5_isSet) {
  11922. _4_4 = t2[1];
  11923. _4_5 = B.Combinator_55N === _4_4;
  11924. t3 = _4_5;
  11925. } else {
  11926. _4_4 = _null;
  11927. _4_5 = _4_4;
  11928. t3 = false;
  11929. }
  11930. if (t3) {
  11931. component1 = components1.removeLast$0(0);
  11932. component2 = components2.removeLast$0(0);
  11933. t2 = component1.selector;
  11934. t3 = component2.selector;
  11935. if (A.compoundIsSuperselector(t2, t3, _null))
  11936. result.addFirst$1(A._setArrayType([A._setArrayType([component2], type$.JSArray_ComplexSelectorComponent)], type$.JSArray_List_ComplexSelectorComponent));
  11937. else {
  11938. t4 = type$.JSArray_ComplexSelectorComponent;
  11939. t5 = type$.JSArray_List_ComplexSelectorComponent;
  11940. if (A.compoundIsSuperselector(t3, t2, _null))
  11941. result.addFirst$1(A._setArrayType([A._setArrayType([component1], t4)], t5));
  11942. else {
  11943. choices = A._setArrayType([A._setArrayType([component1, component2], t4), A._setArrayType([component2, component1], t4)], t5);
  11944. _2_0 = A.unifyCompound(t2, t3);
  11945. if (_2_0 != null)
  11946. choices.push(A._setArrayType([new A.ComplexSelectorComponent(_2_0, A.List_List$unmodifiable(A._setArrayType([B.JSArray_methods.get$first(t1)], type$.JSArray_CssValue_Combinator), type$.CssValue_Combinator), span)], t4));
  11947. result.addFirst$1(choices);
  11948. }
  11949. }
  11950. break $label2$2;
  11951. }
  11952. _4_6 = _null;
  11953. _4_7 = _null;
  11954. followingComponents = _null;
  11955. nextComponents = _null;
  11956. if (_4_3) {
  11957. if (_4_5_isSet) {
  11958. t3 = _4_4;
  11959. _4_4_isSet = _4_5_isSet;
  11960. } else {
  11961. _4_4 = t2[1];
  11962. t3 = _4_4;
  11963. _4_4_isSet = true;
  11964. }
  11965. _4_9 = B.Combinator_bOP === t3;
  11966. _4_6_isSet = _4_9;
  11967. if (_4_6_isSet) {
  11968. _4_6 = t2[2];
  11969. _4_7 = t2[3];
  11970. nextComponents = _4_7;
  11971. followingComponents = _4_6;
  11972. }
  11973. t3 = _4_6_isSet;
  11974. _4_7_isSet = t3;
  11975. } else {
  11976. _4_9 = _null;
  11977. _4_4_isSet = _4_5_isSet;
  11978. _4_6_isSet = false;
  11979. _4_7_isSet = false;
  11980. t3 = false;
  11981. }
  11982. _4_10_isSet = !t3;
  11983. if (_4_10_isSet) {
  11984. _4_10 = B.Combinator_bOP === _4_1;
  11985. t3 = _4_10;
  11986. if (t3) {
  11987. if (_4_5_isSet)
  11988. t3 = _4_5;
  11989. else {
  11990. if (_4_4_isSet)
  11991. t3 = _4_4;
  11992. else {
  11993. _4_4 = t2[1];
  11994. t3 = _4_4;
  11995. _4_4_isSet = true;
  11996. }
  11997. _4_5 = B.Combinator_55N === t3;
  11998. t3 = _4_5;
  11999. _4_5_isSet = true;
  12000. }
  12001. if (t3) {
  12002. if (_4_6_isSet)
  12003. nextComponents = _4_6;
  12004. else {
  12005. _4_6 = t2[2];
  12006. nextComponents = _4_6;
  12007. _4_6_isSet = true;
  12008. }
  12009. if (_4_7_isSet)
  12010. followingComponents = _4_7;
  12011. else {
  12012. _4_7 = t2[3];
  12013. followingComponents = _4_7;
  12014. _4_7_isSet = true;
  12015. }
  12016. }
  12017. } else
  12018. t3 = false;
  12019. } else {
  12020. _4_10 = _null;
  12021. t3 = true;
  12022. }
  12023. if (t3) {
  12024. next = nextComponents.removeLast$0(0);
  12025. following = followingComponents.removeLast$0(0);
  12026. t1 = following.selector;
  12027. t2 = next.selector;
  12028. t3 = type$.JSArray_ComplexSelectorComponent;
  12029. t4 = type$.JSArray_List_ComplexSelectorComponent;
  12030. if (A.compoundIsSuperselector(t1, t2, _null))
  12031. result.addFirst$1(A._setArrayType([A._setArrayType([next], t3)], t4));
  12032. else {
  12033. t4 = A._setArrayType([A._setArrayType([following, next], t3)], t4);
  12034. _3_0 = A.unifyCompound(t1, t2);
  12035. if (_3_0 != null)
  12036. t4.push(A._setArrayType([new A.ComplexSelectorComponent(_3_0, A.List_List$unmodifiable(next.combinators, type$.CssValue_Combinator), span)], t3));
  12037. result.addFirst$1(t4);
  12038. }
  12039. break $label2$2;
  12040. }
  12041. t3 = _null;
  12042. if (B.Combinator_0mp === _4_1) {
  12043. _4_4_isSet0 = true;
  12044. if (_4_3)
  12045. t4 = _4_9;
  12046. else {
  12047. if (_4_4_isSet)
  12048. t4 = _4_4;
  12049. else {
  12050. _4_4 = t2[1];
  12051. t4 = _4_4;
  12052. _4_4_isSet = _4_4_isSet0;
  12053. }
  12054. _4_9 = B.Combinator_bOP === t4;
  12055. t4 = _4_9;
  12056. }
  12057. if (!t4)
  12058. if (_4_5_isSet)
  12059. t4 = _4_5;
  12060. else {
  12061. if (_4_4_isSet)
  12062. t4 = _4_4;
  12063. else {
  12064. _4_4 = t2[1];
  12065. t4 = _4_4;
  12066. _4_4_isSet = _4_4_isSet0;
  12067. }
  12068. _4_5 = B.Combinator_55N === t4;
  12069. t4 = _4_5;
  12070. }
  12071. else
  12072. t4 = true;
  12073. if (t4) {
  12074. if (_4_7_isSet)
  12075. siblingComponents_case_0 = _4_7;
  12076. else {
  12077. _4_7 = t2[3];
  12078. siblingComponents_case_0 = _4_7;
  12079. _4_7_isSet = true;
  12080. }
  12081. t3 = siblingComponents_case_0;
  12082. }
  12083. } else
  12084. t4 = false;
  12085. if (!t4) {
  12086. if (_4_10_isSet)
  12087. t4 = _4_10;
  12088. else {
  12089. _4_10 = B.Combinator_bOP === _4_1;
  12090. t4 = _4_10;
  12091. }
  12092. if (!t4)
  12093. t4 = _4_3;
  12094. else
  12095. t4 = true;
  12096. if (t4) {
  12097. if (_4_4_isSet)
  12098. t4 = _4_4;
  12099. else {
  12100. _4_4 = t2[1];
  12101. t4 = _4_4;
  12102. _4_4_isSet = true;
  12103. }
  12104. t4 = B.Combinator_0mp === t4;
  12105. if (t4) {
  12106. if (_4_6_isSet)
  12107. siblingComponents_case_1 = _4_6;
  12108. else {
  12109. _4_6 = t2[2];
  12110. siblingComponents_case_1 = _4_6;
  12111. _4_6_isSet = true;
  12112. }
  12113. t3 = siblingComponents_case_1;
  12114. }
  12115. } else
  12116. t4 = false;
  12117. } else
  12118. t4 = true;
  12119. if (t4) {
  12120. result.addFirst$1(A._setArrayType([A._setArrayType([t3.removeLast$0(0)], type$.JSArray_ComplexSelectorComponent)], type$.JSArray_List_ComplexSelectorComponent));
  12121. break $label2$2;
  12122. }
  12123. t3 = _4_1 == null;
  12124. t4 = !t3;
  12125. t5 = false;
  12126. if (t4) {
  12127. _4_4_isSet0 = true;
  12128. if (_4_4_isSet)
  12129. t6 = _4_4;
  12130. else {
  12131. _4_4 = t2[1];
  12132. t6 = _4_4;
  12133. _4_4_isSet = _4_4_isSet0;
  12134. }
  12135. if (t6 != null) {
  12136. if (_4_4_isSet)
  12137. combinator2 = _4_4;
  12138. else {
  12139. _4_4 = t2[1];
  12140. combinator2 = _4_4;
  12141. _4_4_isSet = _4_4_isSet0;
  12142. }
  12143. t5 = _4_1 === (combinator2 == null ? type$.Combinator._as(combinator2) : combinator2);
  12144. }
  12145. }
  12146. if (t5) {
  12147. unified = A.unifyCompound(components1.removeLast$0(0).selector, components2.removeLast$0(0).selector);
  12148. if (unified == null)
  12149. return _null;
  12150. result.addFirst$1(A._setArrayType([A._setArrayType([new A.ComplexSelectorComponent(unified, A.List_List$unmodifiable(A._setArrayType([B.JSArray_methods.get$first(t1)], type$.JSArray_CssValue_Combinator), type$.CssValue_Combinator), span)], type$.JSArray_ComplexSelectorComponent)], type$.JSArray_List_ComplexSelectorComponent));
  12151. break $label2$2;
  12152. }
  12153. t1 = _null;
  12154. t5 = _null;
  12155. t6 = _null;
  12156. t7 = false;
  12157. if (t4) {
  12158. if (_4_4_isSet)
  12159. t4 = _4_4;
  12160. else {
  12161. _4_4 = t2[1];
  12162. t4 = _4_4;
  12163. _4_4_isSet = true;
  12164. }
  12165. t4 = t4 == null;
  12166. if (t4) {
  12167. if (_4_6_isSet)
  12168. combinatorComponents_case_0 = _4_6;
  12169. else {
  12170. _4_6 = t2[2];
  12171. combinatorComponents_case_0 = _4_6;
  12172. _4_6_isSet = true;
  12173. }
  12174. if (_4_7_isSet)
  12175. descendantComponents_case_0 = _4_7;
  12176. else {
  12177. _4_7 = t2[3];
  12178. descendantComponents_case_0 = _4_7;
  12179. _4_7_isSet = true;
  12180. }
  12181. t1 = descendantComponents_case_0;
  12182. t6 = t1;
  12183. t1 = _4_1;
  12184. t5 = combinatorComponents_case_0;
  12185. }
  12186. t0 = t6;
  12187. t6 = t4;
  12188. t4 = t5;
  12189. t5 = t0;
  12190. } else {
  12191. t4 = t5;
  12192. t5 = t6;
  12193. t6 = t7;
  12194. }
  12195. if (!t6)
  12196. if (t3) {
  12197. if (_4_4_isSet)
  12198. t3 = _4_4;
  12199. else {
  12200. _4_4 = t2[1];
  12201. t3 = _4_4;
  12202. _4_4_isSet = true;
  12203. }
  12204. t3 = t3 != null;
  12205. if (t3) {
  12206. combinator_case_1 = _4_4_isSet ? _4_4 : t2[1];
  12207. if (combinator_case_1 == null)
  12208. combinator_case_1 = type$.Combinator._as(combinator_case_1);
  12209. descendantComponents_case_1 = _4_6_isSet ? _4_6 : t2[2];
  12210. combinatorComponents_case_1 = _4_7_isSet ? _4_7 : t2[3];
  12211. t1 = combinatorComponents_case_1;
  12212. t2 = descendantComponents_case_1;
  12213. t4 = t2;
  12214. t2 = t1;
  12215. t1 = combinator_case_1;
  12216. } else {
  12217. t2 = t4;
  12218. t4 = t5;
  12219. }
  12220. t0 = t4;
  12221. t4 = t3;
  12222. t3 = t0;
  12223. } else {
  12224. t3 = t5;
  12225. t2 = t4;
  12226. t4 = false;
  12227. }
  12228. else {
  12229. t3 = t5;
  12230. t2 = t4;
  12231. t4 = true;
  12232. }
  12233. if (t4) {
  12234. if (t1 === B.Combinator_0mp) {
  12235. t1 = A.IterableExtension_get_lastOrNull(t3);
  12236. t1 = t1 == null ? _null : A.compoundIsSuperselector(t1.selector, t2.get$last(t2).selector, _null);
  12237. t1 = t1 === true;
  12238. } else
  12239. t1 = false;
  12240. if (t1)
  12241. t3.removeLast$0(0);
  12242. result.addFirst$1(A._setArrayType([A._setArrayType([t2.removeLast$0(0)], type$.JSArray_ComplexSelectorComponent)], type$.JSArray_List_ComplexSelectorComponent));
  12243. break $label2$2;
  12244. }
  12245. return _null;
  12246. }
  12247. return A._mergeTrailingCombinators(components1, components2, span, result);
  12248. },
  12249. _mustUnify(complex1, complex2) {
  12250. var t2, t3, t4,
  12251. t1 = A.LinkedHashSet_LinkedHashSet$_empty(type$.SimpleSelector);
  12252. for (t2 = J.get$iterator$ax(complex1); t2.moveNext$0();)
  12253. 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();)
  12254. t1.add$1(0, t3.get$current(0));
  12255. if (t1._collection$_length === 0)
  12256. return false;
  12257. return J.any$1$ax(complex2, new A._mustUnify_closure(t1));
  12258. },
  12259. _isUnique(simple) {
  12260. var t1;
  12261. if (!(simple instanceof A.IDSelector))
  12262. t1 = simple instanceof A.PseudoSelector && !simple.isClass;
  12263. else
  12264. t1 = true;
  12265. return t1;
  12266. },
  12267. _chunks(queue1, queue2, done, $T) {
  12268. var chunk2, _0_4, _0_7_isSet, _0_1, _0_7, _0_5, chunk, _0_5_isSet, t2,
  12269. t1 = $T._eval$1("JSArray<0>"),
  12270. chunk1 = A._setArrayType([], t1);
  12271. for (; !done.call$1(queue1);)
  12272. chunk1.push(queue1.removeFirst$0());
  12273. chunk2 = A._setArrayType([], t1);
  12274. for (; !done.call$1(queue2);)
  12275. chunk2.push(queue2.removeFirst$0());
  12276. $label0$0: {
  12277. _0_4 = chunk1.length <= 0;
  12278. _0_7_isSet = _0_4;
  12279. _0_1 = chunk1;
  12280. if (_0_7_isSet) {
  12281. _0_7 = chunk2.length <= 0;
  12282. t1 = _0_7;
  12283. _0_5 = chunk2;
  12284. } else {
  12285. _0_7 = null;
  12286. _0_5 = null;
  12287. t1 = false;
  12288. }
  12289. if (t1) {
  12290. t1 = A._setArrayType([], $T._eval$1("JSArray<List<0>>"));
  12291. break $label0$0;
  12292. }
  12293. if (_0_4)
  12294. if (_0_7_isSet) {
  12295. chunk = _0_5;
  12296. _0_5_isSet = _0_7_isSet;
  12297. } else {
  12298. chunk = chunk2;
  12299. _0_5 = chunk;
  12300. _0_5_isSet = true;
  12301. }
  12302. else {
  12303. _0_5_isSet = _0_7_isSet;
  12304. chunk = null;
  12305. }
  12306. if (!_0_4) {
  12307. if (_0_7_isSet)
  12308. t1 = _0_7;
  12309. else {
  12310. _0_7 = (_0_5_isSet ? _0_5 : chunk2).length <= 0;
  12311. t1 = _0_7;
  12312. }
  12313. chunk = _0_1;
  12314. } else
  12315. t1 = true;
  12316. if (t1) {
  12317. t1 = A._setArrayType([chunk], $T._eval$1("JSArray<List<0>>"));
  12318. break $label0$0;
  12319. }
  12320. t1 = A.List_List$_of(chunk1, $T);
  12321. B.JSArray_methods.addAll$1(t1, chunk2);
  12322. t2 = A.List_List$_of(chunk2, $T);
  12323. B.JSArray_methods.addAll$1(t2, chunk1);
  12324. t1 = A._setArrayType([t1, t2], $T._eval$1("JSArray<List<0>>"));
  12325. break $label0$0;
  12326. }
  12327. return t1;
  12328. },
  12329. paths(choices, $T) {
  12330. 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));
  12331. },
  12332. _groupSelectors(complex) {
  12333. var t2, t3, t4,
  12334. groups = A.QueueList$(null, type$.List_ComplexSelectorComponent),
  12335. t1 = type$.JSArray_ComplexSelectorComponent,
  12336. group = A._setArrayType([], t1);
  12337. for (t2 = complex.$ti, t3 = new A.ListIterator(complex, complex.get$length(0), t2._eval$1("ListIterator<ListBase.E>")), t2 = t2._eval$1("ListBase.E"); t3.moveNext$0();) {
  12338. t4 = t3.__internal$_current;
  12339. if (t4 == null)
  12340. t4 = t2._as(t4);
  12341. group.push(t4);
  12342. if (t4.combinators.length === 0) {
  12343. groups._queue_list$_add$1(group);
  12344. group = A._setArrayType([], t1);
  12345. }
  12346. }
  12347. if (group.length !== 0)
  12348. groups._queue_list$_add$1(group);
  12349. return groups;
  12350. },
  12351. listIsSuperselector(list1, list2) {
  12352. return B.JSArray_methods.every$1(list2, new A.listIsSuperselector_closure(list1));
  12353. },
  12354. _complexIsParentSuperselector(complex1, complex2) {
  12355. var t1, base, t2;
  12356. if (J.get$length$asx(complex1) > J.get$length$asx(complex2))
  12357. return false;
  12358. t1 = $.$get$bogusSpan();
  12359. base = new A.ComplexSelectorComponent(A.CompoundSelector$(A._setArrayType([new A.PlaceholderSelector("<temp>", t1)], type$.JSArray_SimpleSelector), t1), A.List_List$unmodifiable(B.List_empty0, type$.CssValue_Combinator), t1);
  12360. t1 = type$.ComplexSelectorComponent;
  12361. t2 = A.List_List$_of(complex1, t1);
  12362. t2.push(base);
  12363. t1 = A.List_List$_of(complex2, t1);
  12364. t1.push(base);
  12365. return A.complexIsSuperselector(t2, t1);
  12366. },
  12367. complexIsSuperselector(complex1, complex2) {
  12368. var t1, t2, previousCombinator, i1, i2, remaining1, remaining2, component1, t3, t4, endOfSubselector, component2, t5, combinator1, _null = null;
  12369. if (B.JSArray_methods.get$last(complex1).combinators.length !== 0)
  12370. return false;
  12371. if (B.JSArray_methods.get$last(complex2).combinators.length !== 0)
  12372. return false;
  12373. for (t1 = A._arrayInstanceType(complex2), t2 = t1._precomputed1, t1 = t1._eval$1("SubListIterable<1>"), previousCombinator = _null, i1 = 0, i2 = 0; true; previousCombinator = combinator1) {
  12374. remaining1 = complex1.length - i1;
  12375. remaining2 = complex2.length - i2;
  12376. if (remaining1 === 0 || remaining2 === 0)
  12377. return false;
  12378. if (remaining1 > remaining2)
  12379. return false;
  12380. component1 = complex1[i1];
  12381. t3 = component1.combinators;
  12382. if (t3.length > 1)
  12383. return false;
  12384. if (remaining1 === 1)
  12385. if (B.JSArray_methods.any$1(complex2, new A.complexIsSuperselector_closure()))
  12386. return false;
  12387. else {
  12388. t1 = component1.selector;
  12389. t2 = B.JSArray_methods.get$last(complex2).selector;
  12390. return A.compoundIsSuperselector(t1, t2, t1.get$hasComplicatedSuperselectorSemantics() ? B.JSArray_methods.sublist$2(complex2, i2, complex2.length - 1) : _null);
  12391. }
  12392. for (t4 = component1.selector, endOfSubselector = i2; true;) {
  12393. component2 = complex2[endOfSubselector];
  12394. if (component2.combinators.length > 1)
  12395. return false;
  12396. t5 = t4.get$hasComplicatedSuperselectorSemantics() ? B.JSArray_methods.sublist$2(complex2, i2, endOfSubselector) : _null;
  12397. if (A.compoundIsSuperselector(t4, component2.selector, t5))
  12398. break;
  12399. ++endOfSubselector;
  12400. if (endOfSubselector === complex2.length - 1)
  12401. return false;
  12402. }
  12403. t4 = new A.SubListIterable(complex2, 0, endOfSubselector, t1);
  12404. t4.SubListIterable$3(complex2, 0, endOfSubselector, t2);
  12405. if (!A._compatibleWithPreviousCombinator(previousCombinator, t4.skip$1(0, i2)))
  12406. return false;
  12407. component2 = complex2[endOfSubselector];
  12408. combinator1 = A.IterableExtension_get_firstOrNull(t3);
  12409. if (!A._isSupercombinator(combinator1, A.IterableExtension_get_firstOrNull(component2.combinators)))
  12410. return false;
  12411. ++i1;
  12412. i2 = endOfSubselector + 1;
  12413. if (complex1.length - i1 === 1) {
  12414. t3 = combinator1 == null;
  12415. if (J.$eq$(t3 ? _null : combinator1.value, B.Combinator_55N)) {
  12416. t3 = complex2.length - 1;
  12417. t4 = new A.SubListIterable(complex2, 0, t3, t1);
  12418. t4.SubListIterable$3(complex2, 0, t3, t2);
  12419. if (!t4.skip$1(0, i2).every$1(0, new A.complexIsSuperselector_closure0(combinator1)))
  12420. return false;
  12421. } else if (!t3)
  12422. if (complex2.length - i2 > 1)
  12423. return false;
  12424. }
  12425. }
  12426. },
  12427. _compatibleWithPreviousCombinator(previous, parents) {
  12428. if (parents.get$isEmpty(parents))
  12429. return true;
  12430. if (previous == null)
  12431. return true;
  12432. if (previous.value !== B.Combinator_55N)
  12433. return false;
  12434. return parents.every$1(0, new A._compatibleWithPreviousCombinator_closure());
  12435. },
  12436. _isSupercombinator(combinator1, combinator2) {
  12437. var t2, t3,
  12438. t1 = true;
  12439. if (!J.$eq$(combinator1, combinator2)) {
  12440. t2 = combinator1 == null;
  12441. if (t2)
  12442. t3 = J.$eq$(combinator2 == null ? null : combinator2.value, B.Combinator_0mp);
  12443. else
  12444. t3 = false;
  12445. if (!t3)
  12446. if (J.$eq$(t2 ? null : combinator1.value, B.Combinator_55N))
  12447. t1 = J.$eq$(combinator2 == null ? null : combinator2.value, B.Combinator_bOP);
  12448. else
  12449. t1 = false;
  12450. }
  12451. return t1;
  12452. },
  12453. compoundIsSuperselector(compound1, compound2, parents) {
  12454. var t1, _0_1, _0_5, _0_5_isSet, _0_50, index1, pseudo2, index2, t2, t3, pseudo1, t4, t5, _i, simple1, _null = null;
  12455. if (!compound1.get$hasComplicatedSuperselectorSemantics() && !compound2.get$hasComplicatedSuperselectorSemantics()) {
  12456. t1 = compound1.components;
  12457. if (t1.length > compound2.components.length)
  12458. return false;
  12459. return B.JSArray_methods.every$1(t1, new A.compoundIsSuperselector_closure(compound2));
  12460. }
  12461. _0_1 = A._findPseudoElementIndexed(compound1);
  12462. _0_5 = A._findPseudoElementIndexed(compound2);
  12463. t1 = type$.Record_2_nullable_Object_and_nullable_Object;
  12464. _0_5_isSet = t1._is(_0_1);
  12465. _0_50 = _null;
  12466. index1 = _null;
  12467. pseudo2 = _null;
  12468. index2 = _null;
  12469. t2 = false;
  12470. if (_0_5_isSet) {
  12471. t3 = _0_1 == null;
  12472. pseudo1 = (t3 ? t1._as(_0_1) : _0_1)._0;
  12473. index1 = (t3 ? t1._as(_0_1) : _0_1)._1;
  12474. t2 = t1._is(_0_5);
  12475. if (t2) {
  12476. t3 = _0_5 == null;
  12477. pseudo2 = (t3 ? t1._as(_0_5) : _0_5)._0;
  12478. index2 = (t3 ? t1._as(_0_5) : _0_5)._1;
  12479. }
  12480. t1 = t2;
  12481. _0_50 = _0_5;
  12482. } else {
  12483. t1 = t2;
  12484. pseudo1 = _null;
  12485. }
  12486. if (t1) {
  12487. if (pseudo1.isSuperselector$1(pseudo2)) {
  12488. t1 = compound1.components;
  12489. t2 = type$.int;
  12490. t3 = A._arrayInstanceType(t1)._precomputed1;
  12491. t4 = compound2.components;
  12492. t5 = A._arrayInstanceType(t4)._precomputed1;
  12493. t1 = A._compoundComponentsIsSuperselector(A.SubListIterable$(t1, 0, A.checkNotNullable(index1, "count", t2), t3), A.SubListIterable$(t4, 0, A.checkNotNullable(index2, "count", t2), t5), parents) && A._compoundComponentsIsSuperselector(A.SubListIterable$(t1, index1 + 1, _null, t3), A.SubListIterable$(t4, index2 + 1, _null, t5), parents);
  12494. } else
  12495. t1 = false;
  12496. return t1;
  12497. }
  12498. if (_0_1 == null)
  12499. t1 = (_0_5_isSet ? _0_50 : _0_5) != null;
  12500. else
  12501. t1 = true;
  12502. if (t1)
  12503. return false;
  12504. for (t1 = compound1.components, t2 = t1.length, t3 = compound2.components, _i = 0; _i < t2; ++_i) {
  12505. simple1 = t1[_i];
  12506. if (simple1 instanceof A.PseudoSelector)
  12507. t4 = simple1.selector != null;
  12508. else
  12509. t4 = false;
  12510. if (t4) {
  12511. if (!A._selectorPseudoIsSuperselector(simple1, compound2, parents))
  12512. return false;
  12513. } else if (!B.JSArray_methods.any$1(t3, simple1.get$isSuperselector()))
  12514. return false;
  12515. }
  12516. return true;
  12517. },
  12518. _findPseudoElementIndexed(compound) {
  12519. var t1, t2, i, simple;
  12520. for (t1 = compound.components, t2 = t1.length, i = 0; i < t2; ++i) {
  12521. simple = t1[i];
  12522. if (simple instanceof A.PseudoSelector && !simple.isClass)
  12523. return new A._Record_2(simple, i);
  12524. }
  12525. return null;
  12526. },
  12527. _compoundComponentsIsSuperselector(compound1, compound2, parents) {
  12528. var t1;
  12529. if (compound1.get$length(0) === 0)
  12530. return true;
  12531. if (compound2.get$length(0) === 0)
  12532. compound2 = A._setArrayType([new A.UniversalSelector("*", $.$get$bogusSpan())], type$.JSArray_SimpleSelector);
  12533. t1 = $.$get$bogusSpan();
  12534. return A.compoundIsSuperselector(A.CompoundSelector$(compound1, t1), A.CompoundSelector$(compound2, t1), parents);
  12535. },
  12536. _selectorPseudoIsSuperselector(pseudo1, compound2, parents) {
  12537. var selector1 = pseudo1.selector;
  12538. if (selector1 == null)
  12539. throw A.wrapException(A.ArgumentError$("Selector " + pseudo1.toString$0(0) + " must have a selector argument.", null));
  12540. switch (pseudo1.normalizedName) {
  12541. case "is":
  12542. case "matches":
  12543. case "any":
  12544. case "where":
  12545. 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));
  12546. case "has":
  12547. case "host":
  12548. case "host-context":
  12549. return A._selectorPseudoArgs(compound2, pseudo1.name, true).any$1(0, new A._selectorPseudoIsSuperselector_closure1(selector1));
  12550. case "slotted":
  12551. return A._selectorPseudoArgs(compound2, pseudo1.name, false).any$1(0, new A._selectorPseudoIsSuperselector_closure2(selector1));
  12552. case "not":
  12553. return B.JSArray_methods.every$1(selector1.components, new A._selectorPseudoIsSuperselector_closure3(compound2, pseudo1));
  12554. case "current":
  12555. return A._selectorPseudoArgs(compound2, pseudo1.name, true).any$1(0, new A._selectorPseudoIsSuperselector_closure4(selector1));
  12556. case "nth-child":
  12557. case "nth-last-child":
  12558. return B.JSArray_methods.any$1(compound2.components, new A._selectorPseudoIsSuperselector_closure5(pseudo1, selector1));
  12559. default:
  12560. throw A.wrapException("unreachable");
  12561. }
  12562. },
  12563. _selectorPseudoArgs(compound, $name, isClass) {
  12564. var t1 = type$.WhereTypeIterable_PseudoSelector;
  12565. return new A.NonNullsIterable(new A.MappedIterable(new A.WhereIterable(new A.WhereTypeIterable(compound.components, t1), new A._selectorPseudoArgs_closure(isClass, $name), t1._eval$1("WhereIterable<Iterable.E>")), new A._selectorPseudoArgs_closure0(), t1._eval$1("MappedIterable<Iterable.E,SelectorList?>")), type$.NonNullsIterable_SelectorList);
  12566. },
  12567. unifyComplex_closure: function unifyComplex_closure() {
  12568. },
  12569. _weaveParents_closure: function _weaveParents_closure(t0) {
  12570. this.span = t0;
  12571. },
  12572. _weaveParents_closure0: function _weaveParents_closure0(t0) {
  12573. this.group = t0;
  12574. },
  12575. _weaveParents_closure1: function _weaveParents_closure1() {
  12576. },
  12577. _weaveParents_closure2: function _weaveParents_closure2() {
  12578. },
  12579. _mustUnify_closure: function _mustUnify_closure(t0) {
  12580. this.uniqueSelectors = t0;
  12581. },
  12582. _mustUnify__closure: function _mustUnify__closure(t0) {
  12583. this.uniqueSelectors = t0;
  12584. },
  12585. paths_closure: function paths_closure(t0) {
  12586. this.T = t0;
  12587. },
  12588. paths__closure: function paths__closure(t0, t1) {
  12589. this.paths = t0;
  12590. this.T = t1;
  12591. },
  12592. paths___closure: function paths___closure(t0, t1) {
  12593. this.option = t0;
  12594. this.T = t1;
  12595. },
  12596. listIsSuperselector_closure: function listIsSuperselector_closure(t0) {
  12597. this.list1 = t0;
  12598. },
  12599. listIsSuperselector__closure: function listIsSuperselector__closure(t0) {
  12600. this.complex1 = t0;
  12601. },
  12602. complexIsSuperselector_closure: function complexIsSuperselector_closure() {
  12603. },
  12604. complexIsSuperselector_closure0: function complexIsSuperselector_closure0(t0) {
  12605. this.combinator1 = t0;
  12606. },
  12607. _compatibleWithPreviousCombinator_closure: function _compatibleWithPreviousCombinator_closure() {
  12608. },
  12609. compoundIsSuperselector_closure: function compoundIsSuperselector_closure(t0) {
  12610. this.compound2 = t0;
  12611. },
  12612. _selectorPseudoIsSuperselector_closure: function _selectorPseudoIsSuperselector_closure(t0) {
  12613. this.selector1 = t0;
  12614. },
  12615. _selectorPseudoIsSuperselector_closure0: function _selectorPseudoIsSuperselector_closure0(t0, t1) {
  12616. this.parents = t0;
  12617. this.compound2 = t1;
  12618. },
  12619. _selectorPseudoIsSuperselector_closure1: function _selectorPseudoIsSuperselector_closure1(t0) {
  12620. this.selector1 = t0;
  12621. },
  12622. _selectorPseudoIsSuperselector_closure2: function _selectorPseudoIsSuperselector_closure2(t0) {
  12623. this.selector1 = t0;
  12624. },
  12625. _selectorPseudoIsSuperselector_closure3: function _selectorPseudoIsSuperselector_closure3(t0, t1) {
  12626. this.compound2 = t0;
  12627. this.pseudo1 = t1;
  12628. },
  12629. _selectorPseudoIsSuperselector__closure: function _selectorPseudoIsSuperselector__closure(t0, t1) {
  12630. this.complex = t0;
  12631. this.pseudo1 = t1;
  12632. },
  12633. _selectorPseudoIsSuperselector___closure: function _selectorPseudoIsSuperselector___closure(t0) {
  12634. this.simple2 = t0;
  12635. },
  12636. _selectorPseudoIsSuperselector___closure0: function _selectorPseudoIsSuperselector___closure0(t0) {
  12637. this.simple2 = t0;
  12638. },
  12639. _selectorPseudoIsSuperselector_closure4: function _selectorPseudoIsSuperselector_closure4(t0) {
  12640. this.selector1 = t0;
  12641. },
  12642. _selectorPseudoIsSuperselector_closure5: function _selectorPseudoIsSuperselector_closure5(t0, t1) {
  12643. this.pseudo1 = t0;
  12644. this.selector1 = t1;
  12645. },
  12646. _selectorPseudoArgs_closure: function _selectorPseudoArgs_closure(t0, t1) {
  12647. this.isClass = t0;
  12648. this.name = t1;
  12649. },
  12650. _selectorPseudoArgs_closure0: function _selectorPseudoArgs_closure0() {
  12651. },
  12652. MergedExtension_merge(left, right) {
  12653. var t2, t3, t4,
  12654. t1 = left.extender.selector;
  12655. if (!t1.$eq(0, right.extender.selector) || !left.target.$eq(0, right.target))
  12656. throw A.wrapException(A.ArgumentError$(left.toString$0(0) + " and " + right.toString$0(0) + " aren't the same extension.", null));
  12657. t2 = left.mediaContext;
  12658. t3 = t2 == null;
  12659. if (!t3) {
  12660. t4 = right.mediaContext;
  12661. t4 = t4 != null && !B.C_ListEquality.equals$2(0, t2, t4);
  12662. } else
  12663. t4 = false;
  12664. if (t4)
  12665. throw A.wrapException(A.SassException$("From " + left.span.message$1(0, "") + string$.x0aYou_m, right.span, null));
  12666. if (right.isOptional && right.mediaContext == null)
  12667. return left;
  12668. if (left.isOptional && t3)
  12669. return right;
  12670. if (t3)
  12671. t2 = right.mediaContext;
  12672. t1.get$specificity();
  12673. t1 = new A.Extender(t1, false);
  12674. return t1._extension = new A.MergedExtension(left, right, t1, left.target, t2, true, left.span);
  12675. },
  12676. MergedExtension: function MergedExtension(t0, t1, t2, t3, t4, t5, t6) {
  12677. var _ = this;
  12678. _.left = t0;
  12679. _.right = t1;
  12680. _.extender = t2;
  12681. _.target = t3;
  12682. _.mediaContext = t4;
  12683. _.isOptional = t5;
  12684. _.span = t6;
  12685. },
  12686. ExtendMode: function ExtendMode(t0, t1) {
  12687. this.name = t0;
  12688. this._name = t1;
  12689. },
  12690. globalFunctions_closure: function globalFunctions_closure() {
  12691. },
  12692. _invert($arguments, global) {
  12693. var t2, color, rgb, channel2, space, weight, inSpace, t3, _1_9, channel0, channel1, t4, _s6_ = "weight", _s5_ = "space",
  12694. t1 = J.getInterceptor$asx($arguments),
  12695. weightNumber = t1.$index($arguments, 1).assertNumber$1(_s6_);
  12696. if (!(t1.$index($arguments, 0) instanceof A.SassNumber))
  12697. t2 = global && t1.$index($arguments, 0).get$isSpecialNumber();
  12698. else
  12699. t2 = true;
  12700. if (t2) {
  12701. if (weightNumber._number$_value !== 100 || !weightNumber.hasUnit$1("%"))
  12702. throw A.wrapException(string$.Only_oa);
  12703. return A._functionString("invert", t1.take$1($arguments, 1));
  12704. }
  12705. color = t1.$index($arguments, 0).assertColor$1("color");
  12706. if (t1.$index($arguments, 2).$eq(0, B.C__SassNull)) {
  12707. t1 = color._space;
  12708. if (!t1.get$isLegacyInternal())
  12709. throw A.wrapException(A.SassScriptException$(string$.To_usei + color.toString$0(0) + ", you must provide a $space.", "color"));
  12710. A._checkPercent(weightNumber, _s6_);
  12711. rgb = color.toSpace$1(B.RgbColorSpace_i0P);
  12712. channel2 = B.LinearChannel_vJ3;
  12713. return A._mixLegacy(A.SassColor_SassColor$rgbInternal(A._invertChannel(rgb, B.LinearChannel_qXC, rgb.channel0OrNull), A._invertChannel(rgb, B.LinearChannel_Z5r, rgb.channel1OrNull), A._invertChannel(rgb, channel2, rgb.channel2OrNull), color.alphaOrNull, null), color, weightNumber).toSpace$1(t1);
  12714. }
  12715. t1 = t1.$index($arguments, 2).assertString$1(_s5_);
  12716. t1.assertUnquoted$1(_s5_);
  12717. space = A.ColorSpace_fromName(t1._string$_text, _s5_);
  12718. weight = weightNumber.valueInRangeWithUnit$4(0, 100, _s6_, "%") / 100;
  12719. if (A.fuzzyEquals(weight, 0))
  12720. return color;
  12721. inSpace = color.toSpace$1(space);
  12722. $label0$0: {
  12723. if (B.HwbColorSpace_guQ === space) {
  12724. t1 = A._invertChannel(inSpace, space._channels[0], inSpace.channel0OrNull);
  12725. t2 = inSpace.alphaOrNull;
  12726. if (t2 == null)
  12727. t2 = 0;
  12728. t2 = A.SassColor_SassColor$hwb(t1, inSpace.channel2OrNull, inSpace.channel1OrNull, t2);
  12729. t1 = t2;
  12730. break $label0$0;
  12731. }
  12732. if (B.HslColorSpace_JQ2 === space || B.LchColorSpace_Bpv === space || B.OklchColorSpace_9Gj === space) {
  12733. t1 = space._channels;
  12734. t2 = A._invertChannel(inSpace, t1[0], inSpace.channel0OrNull);
  12735. t1 = A._invertChannel(inSpace, t1[2], inSpace.channel2OrNull);
  12736. t3 = inSpace.alphaOrNull;
  12737. if (t3 == null)
  12738. t3 = 0;
  12739. t3 = A.SassColor_SassColor$forSpaceInternal(space, t2, inSpace.channel1OrNull, t1, t3);
  12740. t1 = t3;
  12741. break $label0$0;
  12742. }
  12743. _1_9 = space._channels;
  12744. channel0 = _1_9[0];
  12745. channel1 = _1_9[1];
  12746. channel2 = _1_9[2];
  12747. t1 = A._invertChannel(inSpace, channel0, inSpace.channel0OrNull);
  12748. t2 = A._invertChannel(inSpace, channel1, inSpace.channel1OrNull);
  12749. t3 = A._invertChannel(inSpace, channel2, inSpace.channel2OrNull);
  12750. t4 = inSpace.alphaOrNull;
  12751. t1 = A.SassColor_SassColor$forSpaceInternal(space, t1, t2, t3, t4 == null ? 0 : t4);
  12752. break $label0$0;
  12753. }
  12754. return A.fuzzyEquals(weight, 1) ? t1.toSpace$2$legacyMissing(color._space, false) : color.interpolate$4$legacyMissing$weight(t1, A.InterpolationMethod$(space, null), false, 1 - weight);
  12755. },
  12756. _invertChannel(color, channel, value) {
  12757. var _0_2_isSet, _0_2, t1;
  12758. if (value == null)
  12759. A._missingChannelError(color, channel.name);
  12760. $label0$0: {
  12761. _0_2_isSet = channel instanceof A.LinearChannel;
  12762. if (_0_2_isSet) {
  12763. _0_2 = channel.min;
  12764. t1 = _0_2;
  12765. t1 = t1 < 0;
  12766. } else {
  12767. _0_2 = null;
  12768. t1 = false;
  12769. }
  12770. if (t1) {
  12771. t1 = -value;
  12772. break $label0$0;
  12773. }
  12774. if (_0_2_isSet)
  12775. t1 = 0 === _0_2;
  12776. else
  12777. t1 = false;
  12778. if (t1) {
  12779. t1 = channel.max - value;
  12780. break $label0$0;
  12781. }
  12782. if (channel.isPolarAngle) {
  12783. t1 = B.JSNumber_methods.$mod(value + 180, 360);
  12784. break $label0$0;
  12785. }
  12786. t1 = A.throwExpression(A.UnsupportedError$("Unknown channel " + channel.toString$0(0) + "."));
  12787. }
  12788. return t1;
  12789. },
  12790. _grayscale(colorArg) {
  12791. var hsl, t2, oklch,
  12792. color = colorArg.assertColor$1("color"),
  12793. t1 = color._space;
  12794. if (t1.get$isLegacyInternal()) {
  12795. hsl = color.toSpace$1(B.HslColorSpace_JQ2);
  12796. t2 = hsl.alphaOrNull;
  12797. if (t2 == null)
  12798. t2 = 0;
  12799. return A.SassColor_SassColor$hsl(hsl.channel0OrNull, 0, hsl.channel2OrNull, t2).toSpace$2$legacyMissing(t1, false);
  12800. } else {
  12801. oklch = color.toSpace$1(B.OklchColorSpace_9Gj);
  12802. t2 = oklch.alphaOrNull;
  12803. if (t2 == null)
  12804. t2 = 0;
  12805. return A.SassColor_SassColor$forSpaceInternal(B.OklchColorSpace_9Gj, oklch.channel0OrNull, 0, oklch.channel2OrNull, t2).toSpace$1(t1);
  12806. }
  12807. },
  12808. _updateComponents($arguments, adjust, change, scale) {
  12809. var t2, t3, keywords, originalColor, spaceKeyword, alphaArg, color, channelArgs, channelInfo, t4, value, channelIndex, result, i, alphaNumber, _null = null, _s5_ = "space",
  12810. t1 = J.getInterceptor$asx($arguments),
  12811. argumentList = type$.SassArgumentList._as(t1.$index($arguments, 1));
  12812. if (argumentList._list$_contents.length !== 0)
  12813. throw A.wrapException(A.SassScriptException$(string$.Only_op, _null));
  12814. argumentList._wereKeywordsAccessed = true;
  12815. t2 = type$.String;
  12816. t3 = type$.Value;
  12817. keywords = A.LinkedHashMap_LinkedHashMap$of(argumentList._keywords, t2, t3);
  12818. originalColor = t1.$index($arguments, 0).assertColor$1("color");
  12819. t1 = keywords.remove$1(0, _s5_);
  12820. spaceKeyword = t1 == null ? _null : t1.assertString$1(_s5_);
  12821. if (spaceKeyword == null)
  12822. spaceKeyword = _null;
  12823. else
  12824. spaceKeyword.assertUnquoted$1(_s5_);
  12825. alphaArg = keywords.remove$1(0, "alpha");
  12826. t1 = spaceKeyword == null;
  12827. if (t1 && originalColor._space.get$isLegacyInternal() && keywords.__js_helper$_length !== 0) {
  12828. t1 = A.NullableExtension_andThen(A._sniffLegacyColorSpace(keywords), new A._updateComponents_closure(originalColor));
  12829. color = t1 == null ? originalColor : t1;
  12830. } else
  12831. color = A._colorInSpace(originalColor, t1 ? B.C__SassNull : spaceKeyword, true);
  12832. channelArgs = A.List_List$filled(color.get$channels().length, _null, false, type$.nullable_Value);
  12833. t1 = color._space;
  12834. channelInfo = t1._channels;
  12835. for (t2 = A.MapExtensions_get_pairs(keywords, t2, t3), t2 = t2.get$iterator(t2); t2.moveNext$0();) {
  12836. t3 = {};
  12837. t4 = t2.get$current(t2);
  12838. t3.name = null;
  12839. t3.name = t4._0;
  12840. value = t4._1;
  12841. channelIndex = B.JSArray_methods.indexWhere$1(channelInfo, new A._updateComponents_closure0(t3));
  12842. if (channelIndex === -1)
  12843. throw A.wrapException(A.SassScriptException$("Color space " + t1.toString$0(0) + " doesn't have a channel with this name.", t3.name));
  12844. channelArgs[channelIndex] = value;
  12845. }
  12846. if (change)
  12847. result = A._changeColor(color, channelArgs, alphaArg);
  12848. else {
  12849. t2 = A._setArrayType([], type$.JSArray_nullable_SassNumber);
  12850. for (i = 0; i < 3; ++i) {
  12851. t3 = channelArgs[i];
  12852. t2.push(t3 == null ? _null : t3.assertNumber$1(channelInfo[i].name));
  12853. }
  12854. alphaNumber = alphaArg == null ? _null : alphaArg.assertNumber$1("alpha");
  12855. result = scale ? A.SassColor_SassColor$forSpaceInternal(t1, A._scaleChannel(color, channelInfo[0], color.channel0OrNull, t2[0]), A._scaleChannel(color, channelInfo[1], color.channel1OrNull, t2[1]), A._scaleChannel(color, channelInfo[2], color.channel2OrNull, t2[2]), A._scaleChannel(color, B.LinearChannel_XL8, color.alphaOrNull, alphaNumber)) : A._adjustColor(color, t2, alphaNumber);
  12856. }
  12857. return result.toSpace$2$legacyMissing(originalColor._space, false);
  12858. },
  12859. _changeColor(color, channelArgs, alphaArg) {
  12860. var t4, _s5_ = "alpha",
  12861. t1 = A._channelForChange(channelArgs[0], color, 0),
  12862. t2 = A._channelForChange(channelArgs[1], color, 1),
  12863. t3 = A._channelForChange(channelArgs[2], color, 2);
  12864. $label0$0: {
  12865. if (alphaArg == null) {
  12866. t4 = color.alphaOrNull;
  12867. if (t4 == null)
  12868. t4 = 0;
  12869. break $label0$0;
  12870. }
  12871. t4 = A._isNone(alphaArg);
  12872. if (t4) {
  12873. t4 = null;
  12874. break $label0$0;
  12875. }
  12876. t4 = alphaArg instanceof A.SassNumber;
  12877. if (t4 && !alphaArg.get$hasUnits()) {
  12878. t4 = alphaArg.valueInRange$3(0, 1, _s5_);
  12879. break $label0$0;
  12880. }
  12881. if (t4 && alphaArg.hasUnit$1("%")) {
  12882. t4 = alphaArg.valueInRangeWithUnit$4(0, 100, _s5_, "%") / 100;
  12883. break $label0$0;
  12884. }
  12885. if (t4) {
  12886. t4 = new A._changeColor_closure(alphaArg).call$0();
  12887. break $label0$0;
  12888. }
  12889. t4 = A.throwExpression(A.SassScriptException$(alphaArg.toString$0(0) + ' is not a number or unquoted "none".', _s5_));
  12890. }
  12891. return A._colorFromChannels(color._space, t1, t2, t3, t4, false, false);
  12892. },
  12893. _channelForChange(channelArg, color, channel) {
  12894. var _0_0, t1, t2;
  12895. if (channelArg == null) {
  12896. _0_0 = color.get$channelsOrNull()[channel];
  12897. $label0$0: {
  12898. if (_0_0 != null) {
  12899. t1 = color._space;
  12900. t2 = A.SassNumber_SassNumber(_0_0, (t1 === B.HslColorSpace_JQ2 || t1 === B.HwbColorSpace_guQ) && channel > 0 ? "%" : null);
  12901. t1 = t2;
  12902. break $label0$0;
  12903. }
  12904. t1 = null;
  12905. break $label0$0;
  12906. }
  12907. return t1;
  12908. }
  12909. if (A._isNone(channelArg))
  12910. return null;
  12911. if (channelArg instanceof A.SassNumber)
  12912. return channelArg;
  12913. throw A.wrapException(A.SassScriptException$(channelArg.toString$0(0) + ' is not a number or unquoted "none".', color._space._channels[channel].name));
  12914. },
  12915. _scaleChannel(color, channel, oldValue, factorArg) {
  12916. var t1, factor;
  12917. if (factorArg == null)
  12918. return oldValue;
  12919. if (!(channel instanceof A.LinearChannel))
  12920. throw A.wrapException(A.SassScriptException$("Channel isn't scalable.", channel.name));
  12921. if (oldValue == null)
  12922. A._missingChannelError(color, channel.name);
  12923. t1 = channel.name;
  12924. factorArg.assertUnit$2("%", t1);
  12925. factor = factorArg.valueInRangeWithUnit$4(-100, 100, t1, "%") / 100;
  12926. $label0$0: {
  12927. if (0 === factor) {
  12928. t1 = oldValue;
  12929. break $label0$0;
  12930. }
  12931. if (factor > 0) {
  12932. t1 = channel.max;
  12933. t1 = oldValue >= t1 ? oldValue : oldValue + (t1 - oldValue) * factor;
  12934. break $label0$0;
  12935. }
  12936. t1 = channel.min;
  12937. t1 = oldValue <= t1 ? oldValue : oldValue + (oldValue - t1) * factor;
  12938. break $label0$0;
  12939. }
  12940. return t1;
  12941. },
  12942. _adjustColor(color, channelArgs, alphaArg) {
  12943. var t1 = color._space,
  12944. t2 = t1._channels;
  12945. return A.SassColor_SassColor$forSpaceInternal(t1, A._adjustChannel(color, t2[0], color.channel0OrNull, channelArgs[0]), A._adjustChannel(color, t2[1], color.channel1OrNull, channelArgs[1]), A._adjustChannel(color, t2[2], color.channel2OrNull, channelArgs[2]), A.NullableExtension_andThen(A._adjustChannel(color, B.LinearChannel_XL8, color.alphaOrNull, alphaArg), new A._adjustColor_closure()));
  12946. },
  12947. _adjustChannel(color, channel, oldValue, adjustmentArg) {
  12948. var _0_1, _0_3, t1, _0_6_isSet, _0_6, _0_6_isSet0, t2, _0_11, result, min, max, _null = null;
  12949. if (adjustmentArg == null)
  12950. return oldValue;
  12951. if (oldValue == null)
  12952. A._missingChannelError(color, channel.name);
  12953. $label0$0: {
  12954. _0_1 = color._space;
  12955. _0_3 = B.HslColorSpace_JQ2 === _0_1;
  12956. t1 = _0_3;
  12957. if (!t1)
  12958. _0_6_isSet = B.HwbColorSpace_guQ === _0_1;
  12959. else
  12960. _0_6_isSet = true;
  12961. if (_0_6_isSet) {
  12962. t1 = channel.isPolarAngle;
  12963. _0_6 = channel;
  12964. } else {
  12965. _0_6 = _null;
  12966. t1 = false;
  12967. }
  12968. if (t1) {
  12969. adjustmentArg = A.SassNumber_SassNumber(A._angleValue(adjustmentArg, "hue"), _null);
  12970. break $label0$0;
  12971. }
  12972. t1 = false;
  12973. if (_0_3) {
  12974. _0_6_isSet0 = true;
  12975. if (_0_6_isSet)
  12976. t2 = _0_6;
  12977. else {
  12978. t2 = channel;
  12979. _0_6_isSet = _0_6_isSet0;
  12980. _0_6 = t2;
  12981. }
  12982. if (t2 instanceof A.LinearChannel) {
  12983. if (_0_6_isSet)
  12984. t1 = _0_6;
  12985. else {
  12986. t1 = channel;
  12987. _0_6_isSet = _0_6_isSet0;
  12988. _0_6 = t1;
  12989. }
  12990. _0_11 = type$.LinearChannel._as(t1).name;
  12991. t1 = _0_11;
  12992. if ("saturation" !== t1)
  12993. t1 = "lightness" === _0_11;
  12994. else
  12995. t1 = true;
  12996. }
  12997. }
  12998. if (t1) {
  12999. A._checkPercent(adjustmentArg, channel.name);
  13000. adjustmentArg = A.SassNumber_SassNumber(adjustmentArg._number$_value, "%");
  13001. break $label0$0;
  13002. }
  13003. if (B.LinearChannel_XL8 === (_0_6_isSet ? _0_6 : channel) && adjustmentArg.get$hasUnits()) {
  13004. A.warnForDeprecation("$alpha: Passing a number with unit " + adjustmentArg.get$unitString() + string$.x20is_de + adjustmentArg.unitSuggestion$1("alpha") + string$.x0a_Morex3af, B.Deprecation_jG1);
  13005. adjustmentArg = A.SassNumber_SassNumber(adjustmentArg._number$_value, _null);
  13006. }
  13007. }
  13008. t1 = A._channelFromValue(channel, adjustmentArg, false);
  13009. t1.toString;
  13010. result = oldValue + t1;
  13011. $label1$1: {
  13012. t1 = channel instanceof A.LinearChannel;
  13013. min = _null;
  13014. t2 = false;
  13015. if (t1)
  13016. if (channel.lowerClamped) {
  13017. min = channel.min;
  13018. t2 = result < min;
  13019. }
  13020. if (t2) {
  13021. t1 = oldValue < min ? Math.max(oldValue, result) : min;
  13022. break $label1$1;
  13023. }
  13024. max = _null;
  13025. t2 = false;
  13026. if (t1)
  13027. if (channel.upperClamped) {
  13028. max = channel.max;
  13029. t1 = result > max;
  13030. } else
  13031. t1 = t2;
  13032. else
  13033. t1 = t2;
  13034. if (t1) {
  13035. t1 = oldValue > max ? Math.min(oldValue, result) : max;
  13036. break $label1$1;
  13037. }
  13038. t1 = result;
  13039. break $label1$1;
  13040. }
  13041. return t1;
  13042. },
  13043. _sniffLegacyColorSpace(keywords) {
  13044. var t1, t2;
  13045. for (t1 = new A.LinkedHashMapKeyIterator(keywords, keywords._modifications, keywords._first); t1.moveNext$0();) {
  13046. t2 = t1.__js_helper$_current;
  13047. if ("red" === t2 || "green" === t2 || "blue" === t2)
  13048. return B.RgbColorSpace_i0P;
  13049. if ("saturation" === t2 || "lightness" === t2)
  13050. return B.HslColorSpace_JQ2;
  13051. if ("whiteness" === t2 || "blackness" === t2)
  13052. return B.HwbColorSpace_guQ;
  13053. }
  13054. return keywords.containsKey$1("hue") ? B.HslColorSpace_JQ2 : null;
  13055. },
  13056. _functionString($name, $arguments) {
  13057. return new A.SassString($name + "(" + J.map$1$1$ax($arguments, new A._functionString_closure(), type$.String).join$1(0, ", ") + ")", false);
  13058. },
  13059. _removedColorFunction($name, argument, negative) {
  13060. return A.BuiltInCallable$function($name, "$color, $amount", new A._removedColorFunction_closure($name, argument, negative), "sass:color");
  13061. },
  13062. _rgb($name, $arguments) {
  13063. var t3, t4,
  13064. t1 = J.getInterceptor$asx($arguments),
  13065. alpha = t1.get$length($arguments) > 3 ? t1.$index($arguments, 3) : null,
  13066. t2 = true;
  13067. if (!t1.$index($arguments, 0).get$isSpecialNumber())
  13068. if (!t1.$index($arguments, 1).get$isSpecialNumber())
  13069. if (!t1.$index($arguments, 2).get$isSpecialNumber()) {
  13070. t2 = alpha == null ? null : alpha.get$isSpecialNumber();
  13071. t2 = t2 === true;
  13072. }
  13073. if (t2)
  13074. return A._functionString($name, $arguments);
  13075. t2 = t1.$index($arguments, 0).assertNumber$1("red");
  13076. t3 = t1.$index($arguments, 1).assertNumber$1("green");
  13077. t1 = t1.$index($arguments, 2).assertNumber$1("blue");
  13078. t4 = A.NullableExtension_andThen(alpha, new A._rgb_closure());
  13079. return A._colorFromChannels(B.RgbColorSpace_i0P, t2, t3, t1, t4 == null ? 1 : t4, true, true);
  13080. },
  13081. _rgbTwoArg($name, $arguments) {
  13082. var t2, color,
  13083. t1 = J.getInterceptor$asx($arguments),
  13084. first = t1.$index($arguments, 0),
  13085. second = t1.$index($arguments, 1);
  13086. if (!first.get$isVar())
  13087. t2 = !(first instanceof A.SassColor) && second.get$isVar();
  13088. else
  13089. t2 = true;
  13090. if (t2)
  13091. return A._functionString($name, $arguments);
  13092. color = first.assertColor$1("color");
  13093. if (!color._space.get$isLegacyInternal())
  13094. throw A.wrapException(A.SassScriptException$("Expected " + color.toString$0(0) + string$.x20to_be_ + color.toString$0(0) + ", $alpha: " + second.toString$0(0) + ")", $name));
  13095. color.assertLegacy$1("color");
  13096. color = color.toSpace$1(B.RgbColorSpace_i0P);
  13097. if (second.get$isSpecialNumber())
  13098. return A._functionString($name, A._setArrayType([A.SassNumber_SassNumber(color.channel$1(0, "red"), null), A.SassNumber_SassNumber(color.channel$1(0, "green"), null), A.SassNumber_SassNumber(color.channel$1(0, "blue"), null), t1.$index($arguments, 1)], type$.JSArray_Value));
  13099. t1 = A._percentageOrUnitless(t1.$index($arguments, 1).assertNumber$1("alpha"), 1, "alpha");
  13100. return color.changeAlpha$1(isNaN(t1) ? 0 : B.JSNumber_methods.clamp$2(t1, 0, 1));
  13101. },
  13102. _hsl($name, $arguments) {
  13103. var t3, t4,
  13104. t1 = J.getInterceptor$asx($arguments),
  13105. alpha = t1.get$length($arguments) > 3 ? t1.$index($arguments, 3) : null,
  13106. t2 = true;
  13107. if (!t1.$index($arguments, 0).get$isSpecialNumber())
  13108. if (!t1.$index($arguments, 1).get$isSpecialNumber())
  13109. if (!t1.$index($arguments, 2).get$isSpecialNumber()) {
  13110. t2 = alpha == null ? null : alpha.get$isSpecialNumber();
  13111. t2 = t2 === true;
  13112. }
  13113. if (t2)
  13114. return A._functionString($name, $arguments);
  13115. t2 = t1.$index($arguments, 0).assertNumber$1("hue");
  13116. t3 = t1.$index($arguments, 1).assertNumber$1("saturation");
  13117. t1 = t1.$index($arguments, 2).assertNumber$1("lightness");
  13118. t4 = A.NullableExtension_andThen(alpha, new A._hsl_closure());
  13119. return A._colorFromChannels(B.HslColorSpace_JQ2, t2, t3, t1, t4 == null ? 1 : t4, true, false);
  13120. },
  13121. _angleValue(angleValue, $name) {
  13122. var angle = angleValue.assertNumber$1($name);
  13123. if (angle.compatibleWithUnit$1("deg"))
  13124. return angle.coerceValueToUnit$1("deg");
  13125. A.warnForDeprecation("$" + $name + ": Passing a unit other than deg (" + angle.toString$0(0) + string$.x29x20is_d + angle.unitSuggestion$1($name) + string$.x0a_See_, B.Deprecation_jG1);
  13126. return angle._number$_value;
  13127. },
  13128. _checkPercent(number, $name) {
  13129. if (number.hasUnit$1("%"))
  13130. return;
  13131. A.warnForDeprecation("$" + $name + ": Passing a number without unit % (" + number.toString$0(0) + string$.x29x20is_d + number.unitSuggestion$2($name, "%") + string$.x0a_Morex3af, B.Deprecation_jG1);
  13132. },
  13133. _percentageOrUnitless(number, max, $name) {
  13134. var value;
  13135. if (!number.get$hasUnits())
  13136. value = number._number$_value;
  13137. else if (number.hasUnit$1("%"))
  13138. value = max * number._number$_value / 100;
  13139. else
  13140. throw A.wrapException(A.SassScriptException$("Expected " + number.toString$0(0) + ' to have unit "%" or no units.', $name));
  13141. return value;
  13142. },
  13143. _mixLegacy(color1, color2, weight) {
  13144. var t2, alphaDistance, weight1, weight2, t3, t4, t5, t6, t7, t8,
  13145. rgb1 = color1.toSpace$1(B.RgbColorSpace_i0P),
  13146. rgb2 = color2.toSpace$1(B.RgbColorSpace_i0P),
  13147. weightScale = weight.valueInRange$3(0, 100, "weight") / 100,
  13148. normalizedWeight = weightScale * 2 - 1,
  13149. t1 = color1.alphaOrNull;
  13150. if (t1 == null)
  13151. t1 = 0;
  13152. t2 = color2.alphaOrNull;
  13153. alphaDistance = t1 - (t2 == null ? 0 : t2);
  13154. t1 = normalizedWeight * alphaDistance;
  13155. weight1 = ((t1 === -1 ? normalizedWeight : (normalizedWeight + alphaDistance) / (1 + t1)) + 1) / 2;
  13156. weight2 = 1 - weight1;
  13157. t1 = rgb1.channel0OrNull;
  13158. if (t1 == null)
  13159. t1 = 0;
  13160. t2 = rgb2.channel0OrNull;
  13161. if (t2 == null)
  13162. t2 = 0;
  13163. t3 = rgb1.channel1OrNull;
  13164. if (t3 == null)
  13165. t3 = 0;
  13166. t4 = rgb2.channel1OrNull;
  13167. if (t4 == null)
  13168. t4 = 0;
  13169. t5 = rgb1.channel2OrNull;
  13170. if (t5 == null)
  13171. t5 = 0;
  13172. t6 = rgb2.channel2OrNull;
  13173. if (t6 == null)
  13174. t6 = 0;
  13175. t7 = rgb1.alphaOrNull;
  13176. if (t7 == null)
  13177. t7 = 0;
  13178. t8 = rgb2.alphaOrNull;
  13179. if (t8 == null)
  13180. t8 = 0;
  13181. return A.SassColor_SassColor$rgbInternal(t1 * weight1 + t2 * weight2, t3 * weight1 + t4 * weight2, t5 * weight1 + t6 * weight2, t7 * weightScale + t8 * (1 - weightScale), null);
  13182. },
  13183. _opacify($name, $arguments) {
  13184. var result,
  13185. t1 = J.getInterceptor$asx($arguments),
  13186. color = t1.$index($arguments, 0).assertColor$1("color"),
  13187. amount = t1.$index($arguments, 1).assertNumber$1("amount");
  13188. if (!color._space.get$isLegacyInternal())
  13189. throw A.wrapException(A.SassScriptException$($name + string$.x28__is_oa, null));
  13190. t1 = color.alphaOrNull;
  13191. if (t1 == null)
  13192. t1 = 0;
  13193. t1 += amount.valueInRangeWithUnit$4(0, 1, "amount", "");
  13194. result = color.changeAlpha$1(isNaN(t1) ? 0 : B.JSNumber_methods.clamp$2(t1, 0, 1));
  13195. A.warnForDeprecation($name + "() is deprecated. " + A._suggestScaleAndAdjust(color, amount._number$_value, "alpha") + string$.x0a_Morex3ac, B.Deprecation_cyE);
  13196. return result;
  13197. },
  13198. _transparentize($name, $arguments) {
  13199. var result,
  13200. t1 = J.getInterceptor$asx($arguments),
  13201. color = t1.$index($arguments, 0).assertColor$1("color"),
  13202. amount = t1.$index($arguments, 1).assertNumber$1("amount");
  13203. if (!color._space.get$isLegacyInternal())
  13204. throw A.wrapException(A.SassScriptException$($name + string$.x28__is_oa, null));
  13205. t1 = color.alphaOrNull;
  13206. if (t1 == null)
  13207. t1 = 0;
  13208. t1 -= amount.valueInRangeWithUnit$4(0, 1, "amount", "");
  13209. result = color.changeAlpha$1(isNaN(t1) ? 0 : B.JSNumber_methods.clamp$2(t1, 0, 1));
  13210. A.warnForDeprecation($name + "() is deprecated. " + A._suggestScaleAndAdjust(color, -amount._number$_value, "alpha") + string$.x0a_Morex3ac, B.Deprecation_cyE);
  13211. return result;
  13212. },
  13213. _colorInSpace(colorUntyped, spaceUntyped, legacyMissing) {
  13214. var t1, _s5_ = "space",
  13215. color = colorUntyped.assertColor$1("color");
  13216. if (spaceUntyped.$eq(0, B.C__SassNull))
  13217. return color;
  13218. t1 = spaceUntyped.assertString$1(_s5_);
  13219. t1.assertUnquoted$1(_s5_);
  13220. return color.toSpace$2$legacyMissing(A.ColorSpace_fromName(t1._string$_text, _s5_), legacyMissing);
  13221. },
  13222. _parseChannels(functionName, input, $name, space) {
  13223. var parsedSlash, components, alphaValue, _2_0, _2_1, _2_5, _2_6_isSet, t1, _2_6, channels, first, rest, componentList, spaceName, i, channel, channelName, t2, t3, t4, _null = null;
  13224. if (input.get$isVar())
  13225. return A._functionString(functionName, A._setArrayType([input], type$.JSArray_Value));
  13226. parsedSlash = A._parseSlashChannels(input, $name);
  13227. if (parsedSlash == null)
  13228. return A._functionString(functionName, A._setArrayType([input], type$.JSArray_Value));
  13229. components = parsedSlash._0;
  13230. alphaValue = parsedSlash._1;
  13231. $label0$0: {
  13232. _2_0 = components.assertCommonListStyle$2$allowSlash($name, false);
  13233. _2_1 = _2_0.length;
  13234. if (_2_1 <= 0)
  13235. throw A.wrapException(A.SassScriptException$("Color component list may not be empty.", $name));
  13236. _2_5 = _2_1 >= 1;
  13237. _2_6_isSet = _2_5;
  13238. t1 = false;
  13239. if (_2_6_isSet) {
  13240. _2_6 = _2_0[0];
  13241. if (_2_6 instanceof A.SassString) {
  13242. type$.SassString._as(_2_6);
  13243. t1 = !_2_6._hasQuotes && _2_6._string$_text.toLowerCase() === "from";
  13244. }
  13245. } else
  13246. _2_6 = _null;
  13247. if (t1)
  13248. return A._functionString(functionName, A._setArrayType([input], type$.JSArray_Value));
  13249. t1 = components.get$isVar();
  13250. if (t1) {
  13251. channels = A._setArrayType([components], type$.JSArray_Value);
  13252. break $label0$0;
  13253. }
  13254. channels = _null;
  13255. if (_2_5) {
  13256. first = _2_6_isSet ? _2_6 : _2_0[0];
  13257. rest = B.JSArray_methods.sublist$1(_2_0, 1);
  13258. componentList = _2_0;
  13259. } else {
  13260. componentList = channels;
  13261. rest = componentList;
  13262. first = _null;
  13263. }
  13264. if (_2_5) {
  13265. if (space == null) {
  13266. spaceName = first.assertString$1($name);
  13267. spaceName.assertUnquoted$1($name);
  13268. space = spaceName.get$isVar() ? _null : A.ColorSpace_fromName(spaceName._string$_text, $name);
  13269. if (B.RgbColorSpace_i0P === space || B.HslColorSpace_JQ2 === space || B.HwbColorSpace_guQ === space || B.LabColorSpace_2nT === space || B.LchColorSpace_Bpv === space || B.OklabColorSpace_540 === space || B.OklchColorSpace_9Gj === space)
  13270. throw A.wrapException(A.SassScriptException$(string$.The_co + A.S(space) + ". Use the " + A.S(space) + "() function instead.", $name));
  13271. channels = rest;
  13272. } else
  13273. channels = componentList;
  13274. for (i = 0; i < channels.length; ++i) {
  13275. channel = channels[i];
  13276. t1 = false;
  13277. if (!channel.get$isSpecialNumber())
  13278. if (!(channel instanceof A.SassNumber))
  13279. t1 = !(channel instanceof A.SassString && !channel._hasQuotes && channel._string$_text.toLowerCase() === "none");
  13280. if (t1) {
  13281. t1 = _null;
  13282. if (space == null)
  13283. channelName = t1;
  13284. else {
  13285. t2 = space._channels;
  13286. t2 = i < 3 ? t2[i] : _null;
  13287. if (!(t2 == null))
  13288. t1 = new A._parseChannels_closure().call$1(t2.name);
  13289. channelName = t1;
  13290. }
  13291. if (channelName == null)
  13292. channelName = "channel " + (i + 1);
  13293. throw A.wrapException(A.SassScriptException$("Expected " + channelName + " to be a number, was " + channel.toString$0(0) + ".", $name));
  13294. }
  13295. }
  13296. break $label0$0;
  13297. }
  13298. throw A.wrapException("unreachable");
  13299. }
  13300. t1 = alphaValue == null;
  13301. t2 = t1 ? _null : alphaValue.get$isSpecialNumber();
  13302. if (t2 === true) {
  13303. if (channels.length === 3 && B.Set_9FDyj.contains$1(0, space)) {
  13304. t1 = A.List_List$_of(channels, type$.Value);
  13305. alphaValue.toString;
  13306. t1.push(alphaValue);
  13307. t1 = A._functionString(functionName, t1);
  13308. } else
  13309. t1 = A._functionString(functionName, A._setArrayType([input], type$.JSArray_Value));
  13310. return t1;
  13311. }
  13312. $label1$1: {
  13313. if (t1) {
  13314. t2 = 1;
  13315. break $label1$1;
  13316. }
  13317. if (alphaValue instanceof A.SassString && !alphaValue._hasQuotes && "none" === alphaValue._string$_text) {
  13318. t2 = _null;
  13319. break $label1$1;
  13320. }
  13321. t2 = A._percentageOrUnitless(alphaValue.assertNumber$1($name), 1, "alpha");
  13322. t2 = isNaN(t2) ? 0 : B.JSNumber_methods.clamp$2(t2, 0, 1);
  13323. break $label1$1;
  13324. }
  13325. if (space == null)
  13326. return A._functionString(functionName, A._setArrayType([input], type$.JSArray_Value));
  13327. if (B.JSArray_methods.any$1(channels, new A._parseChannels_closure0())) {
  13328. if (channels.length === 3 && B.Set_9FDyj.contains$1(0, space)) {
  13329. t2 = A.List_List$_of(channels, type$.Value);
  13330. if (!t1)
  13331. t2.push(alphaValue);
  13332. t1 = A._functionString(functionName, t2);
  13333. } else
  13334. t1 = A._functionString(functionName, A._setArrayType([input], type$.JSArray_Value));
  13335. return t1;
  13336. }
  13337. if (channels.length !== 3)
  13338. throw A.wrapException(A.SassScriptException$("The " + space.toString$0(0) + " color space has 3 channels but " + input.toString$0(0) + " has " + channels.length + ".", $name));
  13339. t1 = channels[0];
  13340. t1 = t1 instanceof A.SassNumber ? t1 : _null;
  13341. t3 = channels[1];
  13342. t3 = t3 instanceof A.SassNumber ? t3 : _null;
  13343. t4 = channels[2];
  13344. t4 = t4 instanceof A.SassNumber ? t4 : _null;
  13345. return A._colorFromChannels(space, t1, t3, t4, t2, true, space === B.RgbColorSpace_i0P);
  13346. },
  13347. _parseSlashChannels(input, $name) {
  13348. var _1_1, alphaValue, t1, components, _1_7, _1_8_isSet, _1_9, _1_8, initial, t2, _0_0, _0_1, channel3, alpha, _1_16, _1_16_isSet, _1_9_isSet, _1_9_isSet0, t3, _null = null,
  13349. _1_0 = input.assertCommonListStyle$2$allowSlash($name, true);
  13350. $label0$0: {
  13351. _1_1 = _1_0.length;
  13352. alphaValue = _null;
  13353. t1 = false;
  13354. if (_1_1 === 2) {
  13355. components = _1_0[0];
  13356. alphaValue = _1_0[1];
  13357. t1 = input.get$separator(input) === B.ListSeparator_bRz;
  13358. } else
  13359. components = _null;
  13360. if (t1) {
  13361. t1 = new A._Record_2(components, alphaValue);
  13362. break $label0$0;
  13363. }
  13364. t1 = input.get$separator(input);
  13365. if (t1 === B.ListSeparator_bRz) {
  13366. t1 = _1_0.length;
  13367. A.throwExpression(A.SassScriptException$(string$.Only_2 + t1 + " " + A.pluralize("was", t1, "were") + " passed.", $name));
  13368. }
  13369. _1_7 = _1_1 >= 1;
  13370. _1_8_isSet = _1_7;
  13371. _1_9 = _null;
  13372. t1 = false;
  13373. if (_1_8_isSet) {
  13374. _1_8 = B.JSArray_methods.sublist$2(_1_0, 0, _1_1 - 1);
  13375. initial = _1_8;
  13376. _1_9 = _1_0[_1_1 - 1];
  13377. t2 = _1_9;
  13378. if (t2 instanceof A.SassString) {
  13379. type$.SassString._as(_1_9);
  13380. t1 = !_1_9._hasQuotes;
  13381. }
  13382. } else {
  13383. initial = _null;
  13384. _1_8 = initial;
  13385. }
  13386. if (t1) {
  13387. if (_1_8_isSet)
  13388. t1 = _1_9;
  13389. else {
  13390. _1_9 = _1_0[_1_1 - 1];
  13391. t1 = _1_9;
  13392. }
  13393. _0_0 = type$.SassString._as(t1)._string$_text.split("/");
  13394. $label1$1: {
  13395. _0_1 = _0_0.length;
  13396. if (_0_1 === 1) {
  13397. t1 = new A._Record_2(input, _null);
  13398. break $label1$1;
  13399. }
  13400. if (_0_1 === 2) {
  13401. channel3 = _0_0[0];
  13402. alpha = _0_0[1];
  13403. t1 = A.List_List$_of(initial, type$.Value);
  13404. t1.push(A._parseNumberOrString(channel3));
  13405. t1 = new A._Record_2(A.SassList$(t1, B.ListSeparator_qSL, false), A._parseNumberOrString(alpha));
  13406. break $label1$1;
  13407. }
  13408. t1 = _null;
  13409. break $label1$1;
  13410. }
  13411. break $label0$0;
  13412. }
  13413. _1_16 = _null;
  13414. _1_16_isSet = false;
  13415. t1 = false;
  13416. if (_1_7) {
  13417. _1_9_isSet = true;
  13418. if (_1_8_isSet)
  13419. initial = _1_8;
  13420. else {
  13421. _1_8 = B.JSArray_methods.sublist$2(_1_0, 0, _1_1 - 1);
  13422. initial = _1_8;
  13423. }
  13424. if (_1_8_isSet) {
  13425. t2 = _1_9;
  13426. _1_9_isSet0 = _1_8_isSet;
  13427. } else {
  13428. _1_9 = _1_0[_1_1 - 1];
  13429. t2 = _1_9;
  13430. _1_9_isSet0 = _1_9_isSet;
  13431. }
  13432. _1_16_isSet = t2 instanceof A.SassNumber;
  13433. if (_1_16_isSet) {
  13434. if (_1_9_isSet0) {
  13435. t1 = _1_9;
  13436. _1_9_isSet = _1_9_isSet0;
  13437. } else {
  13438. _1_9 = _1_0[_1_1 - 1];
  13439. t1 = _1_9;
  13440. }
  13441. _1_16 = type$.SassNumber._as(t1).asSlash;
  13442. t1 = _1_16;
  13443. t1 = type$.Record_2_nullable_Object_and_nullable_Object._is(t1);
  13444. } else
  13445. _1_9_isSet = _1_9_isSet0;
  13446. } else {
  13447. initial = _null;
  13448. _1_9_isSet = _1_8_isSet;
  13449. }
  13450. if (t1) {
  13451. if (_1_16_isSet)
  13452. t1 = _1_16;
  13453. else {
  13454. if (_1_9_isSet)
  13455. t1 = _1_9;
  13456. else {
  13457. _1_9 = _1_0[_1_1 - 1];
  13458. t1 = _1_9;
  13459. _1_9_isSet = true;
  13460. }
  13461. _1_16 = type$.SassNumber._as(t1).asSlash;
  13462. t1 = _1_16;
  13463. _1_16_isSet = true;
  13464. }
  13465. if (t1 == null)
  13466. t1 = type$.Record_2_nullable_Object_and_nullable_Object._as(t1);
  13467. if (_1_16_isSet)
  13468. t2 = _1_16;
  13469. else {
  13470. if (_1_9_isSet)
  13471. t2 = _1_9;
  13472. else {
  13473. _1_9 = _1_0[_1_1 - 1];
  13474. t2 = _1_9;
  13475. }
  13476. _1_16 = type$.SassNumber._as(t2).asSlash;
  13477. t2 = _1_16;
  13478. }
  13479. if (t2 == null)
  13480. t2 = type$.Record_2_nullable_Object_and_nullable_Object._as(t2);
  13481. t3 = A.List_List$_of(initial, type$.Value);
  13482. t3.push(t1._0);
  13483. t1 = new A._Record_2(A.SassList$(t3, B.ListSeparator_qSL, false), t2._1);
  13484. break $label0$0;
  13485. }
  13486. t1 = new A._Record_2(input, _null);
  13487. break $label0$0;
  13488. }
  13489. return t1;
  13490. },
  13491. _parseNumberOrString(text) {
  13492. var t1, expression, exception;
  13493. try {
  13494. t1 = A.ScssParser$(text, null);
  13495. expression = t1._parseSingleProduction$1$1(t1.get$_number(), type$.NumberExpression);
  13496. t1 = A.SassNumber_SassNumber(expression.value, expression.unit);
  13497. return t1;
  13498. } catch (exception) {
  13499. if (type$.SassFormatException._is(A.unwrapException(exception)))
  13500. return new A.SassString(text, false);
  13501. else
  13502. throw exception;
  13503. }
  13504. },
  13505. _colorFromChannels(space, channel0, channel1, channel2, alpha, clamp, fromRgbFunction) {
  13506. var t1, t2, whiteness, blackness, t3;
  13507. switch (space) {
  13508. case B.HslColorSpace_JQ2:
  13509. if (channel1 != null)
  13510. A._checkPercent(channel1, "saturation");
  13511. if (channel2 != null)
  13512. A._checkPercent(channel2, "lightness");
  13513. t1 = space._channels;
  13514. return A.SassColor_SassColor$hsl(A.NullableExtension_andThen(channel0, new A._colorFromChannels_closure()), A._channelFromValue(t1[1], A._forcePercent(channel1), clamp), A._channelFromValue(t1[2], A._forcePercent(channel2), clamp), alpha);
  13515. case B.HwbColorSpace_guQ:
  13516. t1 = channel1 == null;
  13517. if (!t1)
  13518. channel1.assertUnit$2("%", "whiteness");
  13519. t2 = channel2 == null;
  13520. if (!t2)
  13521. channel2.assertUnit$2("%", "blackness");
  13522. whiteness = t1 ? null : channel1._number$_value;
  13523. blackness = t2 ? null : channel2._number$_value;
  13524. if (whiteness != null && blackness != null && whiteness + blackness > 100) {
  13525. t1 = whiteness + blackness;
  13526. whiteness = whiteness / t1 * 100;
  13527. blackness = blackness / t1 * 100;
  13528. }
  13529. return A.SassColor_SassColor$hwb(A.NullableExtension_andThen(channel0, new A._colorFromChannels_closure0()), whiteness, blackness, alpha);
  13530. case B.RgbColorSpace_i0P:
  13531. t1 = space._channels;
  13532. t2 = A._channelFromValue(t1[0], channel0, clamp);
  13533. t3 = A._channelFromValue(t1[1], channel1, clamp);
  13534. t1 = A._channelFromValue(t1[2], channel2, clamp);
  13535. return A.SassColor_SassColor$rgbInternal(t2, t3, t1, alpha, fromRgbFunction ? B.C__ColorFormatEnum : null);
  13536. default:
  13537. t1 = space._channels;
  13538. return A.SassColor_SassColor$forSpaceInternal(space, A._channelFromValue(t1[0], channel0, clamp), A._channelFromValue(t1[1], channel1, clamp), A._channelFromValue(t1[2], channel2, clamp), alpha);
  13539. }
  13540. },
  13541. _forcePercent(number) {
  13542. var t1, _0_3;
  13543. $label0$0: {
  13544. if (number == null) {
  13545. t1 = null;
  13546. break $label0$0;
  13547. }
  13548. _0_3 = number.get$numeratorUnits(number);
  13549. if (_0_3.length === 1)
  13550. t1 = "%" === _0_3[0] && number.get$denominatorUnits(number).length <= 0;
  13551. else
  13552. t1 = false;
  13553. if (t1) {
  13554. t1 = number;
  13555. break $label0$0;
  13556. }
  13557. t1 = A.SassNumber_SassNumber(number._number$_value, "%");
  13558. break $label0$0;
  13559. }
  13560. return t1;
  13561. },
  13562. _channelFromValue(channel, value, clamp) {
  13563. return A.NullableExtension_andThen(value, new A._channelFromValue_closure(channel, clamp));
  13564. },
  13565. _isNone(value) {
  13566. return value instanceof A.SassString && !value._hasQuotes && value._string$_text.toLowerCase() === "none";
  13567. },
  13568. _channelFunction($name, space, getter, global, unit) {
  13569. return A.BuiltInCallable$function($name, "$color", new A._channelFunction_closure(getter, unit, global, $name, space), "sass:color");
  13570. },
  13571. _suggestScaleAndAdjust(original, adjustment, channelName) {
  13572. var t2, oldValue, newValue, factor, t3, suggestion,
  13573. channel = channelName === "alpha" ? B.LinearChannel_XL8 : type$.LinearChannel._as(B.JSArray_methods.firstWhere$1(B.List_oAL, new A._suggestScaleAndAdjust_closure(channelName))),
  13574. t1 = channel === B.LinearChannel_XL8;
  13575. if (t1) {
  13576. t2 = original.alphaOrNull;
  13577. oldValue = t2 == null ? 0 : t2;
  13578. } else
  13579. oldValue = original.toSpace$1(B.HslColorSpace_JQ2).channel$1(0, channelName);
  13580. newValue = oldValue + adjustment;
  13581. if (adjustment !== 0) {
  13582. factor = A._Cell$();
  13583. t2 = channel.max;
  13584. if (newValue > t2)
  13585. factor.__late_helper$_value = 1;
  13586. else {
  13587. t3 = channel.min;
  13588. if (newValue < t3)
  13589. factor.__late_helper$_value = -1;
  13590. else if (adjustment > 0)
  13591. factor.__late_helper$_value = adjustment / (t2 - oldValue);
  13592. else
  13593. factor.__late_helper$_value = (newValue - oldValue) / (oldValue - t3);
  13594. }
  13595. suggestion = "Suggestion" + ("s:\n\ncolor.scale($color, $" + channelName + ": " + A.SassNumber_SassNumber(factor._readLocal$0() * 100, "%").toString$0(0) + ")\n");
  13596. } else
  13597. suggestion = "Suggestion:\n\n";
  13598. return suggestion + ("color.adjust($color, $" + channelName + ": " + A.SassNumber_SassNumber(adjustment, t1 ? null : "%").toString$0(0) + ")");
  13599. },
  13600. _missingChannelError(color, channel) {
  13601. return A.throwExpression(A.SassScriptException$(string$.Becaus + color.toString$0(0) + ").", channel));
  13602. },
  13603. _channelName(value) {
  13604. var t1 = value.assertString$1("channel");
  13605. t1.assertQuoted$1("channel");
  13606. return t1._string$_text;
  13607. },
  13608. _function5($name, $arguments, callback) {
  13609. return A.BuiltInCallable$function($name, $arguments, callback, "sass:color");
  13610. },
  13611. global_closure0: function global_closure0() {
  13612. },
  13613. global_closure1: function global_closure1() {
  13614. },
  13615. global_closure2: function global_closure2() {
  13616. },
  13617. global_closure3: function global_closure3() {
  13618. },
  13619. global_closure4: function global_closure4() {
  13620. },
  13621. global_closure5: function global_closure5() {
  13622. },
  13623. global_closure6: function global_closure6() {
  13624. },
  13625. global_closure7: function global_closure7() {
  13626. },
  13627. global_closure8: function global_closure8() {
  13628. },
  13629. global_closure9: function global_closure9() {
  13630. },
  13631. global_closure10: function global_closure10() {
  13632. },
  13633. global_closure11: function global_closure11() {
  13634. },
  13635. global_closure12: function global_closure12() {
  13636. },
  13637. global_closure13: function global_closure13() {
  13638. },
  13639. global_closure14: function global_closure14() {
  13640. },
  13641. global_closure15: function global_closure15() {
  13642. },
  13643. global_closure16: function global_closure16() {
  13644. },
  13645. global_closure17: function global_closure17() {
  13646. },
  13647. global_closure18: function global_closure18() {
  13648. },
  13649. global_closure19: function global_closure19() {
  13650. },
  13651. global_closure20: function global_closure20() {
  13652. },
  13653. global_closure21: function global_closure21() {
  13654. },
  13655. global_closure22: function global_closure22() {
  13656. },
  13657. global_closure23: function global_closure23() {
  13658. },
  13659. global_closure24: function global_closure24() {
  13660. },
  13661. global_closure25: function global_closure25() {
  13662. },
  13663. global_closure26: function global_closure26() {
  13664. },
  13665. global_closure27: function global_closure27() {
  13666. },
  13667. global_closure28: function global_closure28() {
  13668. },
  13669. global_closure29: function global_closure29() {
  13670. },
  13671. global_closure30: function global_closure30() {
  13672. },
  13673. global_closure31: function global_closure31() {
  13674. },
  13675. global_closure32: function global_closure32() {
  13676. },
  13677. global_closure33: function global_closure33() {
  13678. },
  13679. global_closure34: function global_closure34() {
  13680. },
  13681. global_closure35: function global_closure35() {
  13682. },
  13683. global__closure: function global__closure() {
  13684. },
  13685. global_closure36: function global_closure36() {
  13686. },
  13687. global_closure37: function global_closure37() {
  13688. },
  13689. global_closure38: function global_closure38() {
  13690. },
  13691. global_closure39: function global_closure39() {
  13692. },
  13693. global_closure40: function global_closure40() {
  13694. },
  13695. global_closure41: function global_closure41() {
  13696. },
  13697. global_closure42: function global_closure42() {
  13698. },
  13699. module_closure1: function module_closure1() {
  13700. },
  13701. module_closure2: function module_closure2() {
  13702. },
  13703. module_closure3: function module_closure3() {
  13704. },
  13705. module_closure4: function module_closure4() {
  13706. },
  13707. module_closure5: function module_closure5() {
  13708. },
  13709. module_closure6: function module_closure6() {
  13710. },
  13711. module_closure7: function module_closure7() {
  13712. },
  13713. module_closure8: function module_closure8() {
  13714. },
  13715. module_closure9: function module_closure9() {
  13716. },
  13717. module_closure10: function module_closure10() {
  13718. },
  13719. module_closure11: function module_closure11() {
  13720. },
  13721. module_closure12: function module_closure12() {
  13722. },
  13723. module_closure13: function module_closure13() {
  13724. },
  13725. module_closure14: function module_closure14() {
  13726. },
  13727. module__closure2: function module__closure2() {
  13728. },
  13729. module_closure15: function module_closure15() {
  13730. },
  13731. module_closure16: function module_closure16() {
  13732. },
  13733. module_closure17: function module_closure17() {
  13734. },
  13735. module_closure18: function module_closure18() {
  13736. },
  13737. module_closure19: function module_closure19() {
  13738. },
  13739. module_closure20: function module_closure20() {
  13740. },
  13741. module_closure21: function module_closure21() {
  13742. },
  13743. module_closure22: function module_closure22() {
  13744. },
  13745. module__closure1: function module__closure1(t0) {
  13746. this.channelName = t0;
  13747. },
  13748. module_closure23: function module_closure23() {
  13749. },
  13750. module_closure_toXyzNoMissing: function module_closure_toXyzNoMissing() {
  13751. },
  13752. module_closure24: function module_closure24() {
  13753. },
  13754. _mix_closure: function _mix_closure() {
  13755. },
  13756. _complement_closure: function _complement_closure() {
  13757. },
  13758. _adjust_closure: function _adjust_closure() {
  13759. },
  13760. _scale_closure: function _scale_closure() {
  13761. },
  13762. _change_closure: function _change_closure() {
  13763. },
  13764. _ieHexStr_closure: function _ieHexStr_closure() {
  13765. },
  13766. _ieHexStr_closure_hexString: function _ieHexStr_closure_hexString() {
  13767. },
  13768. _updateComponents_closure: function _updateComponents_closure(t0) {
  13769. this.originalColor = t0;
  13770. },
  13771. _updateComponents_closure0: function _updateComponents_closure0(t0) {
  13772. this._box_0 = t0;
  13773. },
  13774. _changeColor_closure: function _changeColor_closure(t0) {
  13775. this.alphaArg = t0;
  13776. },
  13777. _adjustColor_closure: function _adjustColor_closure() {
  13778. },
  13779. _functionString_closure: function _functionString_closure() {
  13780. },
  13781. _removedColorFunction_closure: function _removedColorFunction_closure(t0, t1, t2) {
  13782. this.name = t0;
  13783. this.argument = t1;
  13784. this.negative = t2;
  13785. },
  13786. _rgb_closure: function _rgb_closure() {
  13787. },
  13788. _hsl_closure: function _hsl_closure() {
  13789. },
  13790. _parseChannels_closure: function _parseChannels_closure() {
  13791. },
  13792. _parseChannels_closure0: function _parseChannels_closure0() {
  13793. },
  13794. _colorFromChannels_closure: function _colorFromChannels_closure() {
  13795. },
  13796. _colorFromChannels_closure0: function _colorFromChannels_closure0() {
  13797. },
  13798. _channelFromValue_closure: function _channelFromValue_closure(t0, t1) {
  13799. this.channel = t0;
  13800. this.clamp = t1;
  13801. },
  13802. _channelFunction_closure: function _channelFunction_closure(t0, t1, t2, t3, t4) {
  13803. var _ = this;
  13804. _.getter = t0;
  13805. _.unit = t1;
  13806. _.global = t2;
  13807. _.name = t3;
  13808. _.space = t4;
  13809. },
  13810. _suggestScaleAndAdjust_closure: function _suggestScaleAndAdjust_closure(t0) {
  13811. this.channelName = t0;
  13812. },
  13813. _function4($name, $arguments, callback) {
  13814. return A.BuiltInCallable$function($name, $arguments, callback, "sass:list");
  13815. },
  13816. _length_closure0: function _length_closure0() {
  13817. },
  13818. _nth_closure: function _nth_closure() {
  13819. },
  13820. _setNth_closure: function _setNth_closure() {
  13821. },
  13822. _join_closure: function _join_closure() {
  13823. },
  13824. _append_closure0: function _append_closure0() {
  13825. },
  13826. _zip_closure: function _zip_closure() {
  13827. },
  13828. _zip__closure: function _zip__closure() {
  13829. },
  13830. _zip__closure0: function _zip__closure0(t0) {
  13831. this._box_0 = t0;
  13832. },
  13833. _zip__closure1: function _zip__closure1(t0) {
  13834. this._box_0 = t0;
  13835. },
  13836. _index_closure0: function _index_closure0() {
  13837. },
  13838. _separator_closure: function _separator_closure() {
  13839. },
  13840. _isBracketed_closure: function _isBracketed_closure() {
  13841. },
  13842. _slash_closure: function _slash_closure() {
  13843. },
  13844. _modify(map, keys, modify, addNesting) {
  13845. var keyIterator = J.get$iterator$ax(keys);
  13846. return keyIterator.moveNext$0() ? new A._modify_modifyNestedMap(keyIterator, modify, addNesting).call$1(map) : modify.call$1(map);
  13847. },
  13848. _deepMergeImpl(map1, map2) {
  13849. var t2, t3, result, t4, key, value, _1_1, _1_3, _1_3_isSet, _1_30, resultMap, valueMap, merged,
  13850. t1 = map1._map$_contents;
  13851. if (t1.get$isEmpty(t1))
  13852. return map2;
  13853. t2 = map2._map$_contents;
  13854. if (t2.get$isEmpty(t2))
  13855. return map1;
  13856. t3 = type$.Value;
  13857. result = A.LinkedHashMap_LinkedHashMap$of(t1, t3, t3);
  13858. for (t1 = A.MapExtensions_get_pairs(t2, t3, t3), t1 = t1.get$iterator(t1), t2 = type$.SassMap; t1.moveNext$0();) {
  13859. t4 = t1.get$current(t1);
  13860. key = t4._0;
  13861. value = t4._1;
  13862. t4 = result.$index(0, key);
  13863. _1_1 = t4 == null ? null : t4.tryMap$0();
  13864. _1_3 = value.tryMap$0();
  13865. _1_3_isSet = _1_1 != null;
  13866. _1_30 = null;
  13867. t4 = false;
  13868. if (_1_3_isSet) {
  13869. resultMap = _1_1 == null ? t2._as(_1_1) : _1_1;
  13870. t4 = _1_3 != null;
  13871. _1_30 = _1_3;
  13872. } else
  13873. resultMap = null;
  13874. if (t4) {
  13875. valueMap = _1_3_isSet ? _1_30 : _1_3;
  13876. merged = A._deepMergeImpl(resultMap, valueMap == null ? t2._as(valueMap) : valueMap);
  13877. if (merged === resultMap)
  13878. continue;
  13879. result.$indexSet(0, key, merged);
  13880. } else
  13881. result.$indexSet(0, key, value);
  13882. }
  13883. return new A.SassMap(A.ConstantMap_ConstantMap$from(result, t3, t3));
  13884. },
  13885. _function3($name, $arguments, callback) {
  13886. return A.BuiltInCallable$function($name, $arguments, callback, "sass:map");
  13887. },
  13888. _get_closure: function _get_closure() {
  13889. },
  13890. _set_closure: function _set_closure() {
  13891. },
  13892. _set__closure0: function _set__closure0(t0) {
  13893. this.$arguments = t0;
  13894. },
  13895. _set_closure0: function _set_closure0() {
  13896. },
  13897. _set__closure: function _set__closure(t0) {
  13898. this._box_0 = t0;
  13899. },
  13900. _merge_closure: function _merge_closure() {
  13901. },
  13902. _merge_closure0: function _merge_closure0() {
  13903. },
  13904. _merge__closure: function _merge__closure(t0) {
  13905. this.map2 = t0;
  13906. },
  13907. _deepMerge_closure: function _deepMerge_closure() {
  13908. },
  13909. _deepRemove_closure: function _deepRemove_closure() {
  13910. },
  13911. _deepRemove__closure: function _deepRemove__closure(t0) {
  13912. this.keys = t0;
  13913. },
  13914. _remove_closure: function _remove_closure() {
  13915. },
  13916. _remove_closure0: function _remove_closure0() {
  13917. },
  13918. _keys_closure: function _keys_closure() {
  13919. },
  13920. _values_closure: function _values_closure() {
  13921. },
  13922. _hasKey_closure: function _hasKey_closure() {
  13923. },
  13924. _modify_modifyNestedMap: function _modify_modifyNestedMap(t0, t1, t2) {
  13925. this.keyIterator = t0;
  13926. this.modify = t1;
  13927. this.addNesting = t2;
  13928. },
  13929. _singleArgumentMathFunc($name, mathFunc) {
  13930. return A.BuiltInCallable$function($name, "$number", new A._singleArgumentMathFunc_closure(mathFunc), "sass:math");
  13931. },
  13932. _numberFunction($name, transform) {
  13933. return A.BuiltInCallable$function($name, "$number", new A._numberFunction_closure(transform), "sass:math");
  13934. },
  13935. _function2($name, $arguments, callback) {
  13936. return A.BuiltInCallable$function($name, $arguments, callback, "sass:math");
  13937. },
  13938. global_closure: function global_closure() {
  13939. },
  13940. module_closure0: function module_closure0() {
  13941. },
  13942. _ceil_closure: function _ceil_closure() {
  13943. },
  13944. _clamp_closure: function _clamp_closure() {
  13945. },
  13946. _floor_closure: function _floor_closure() {
  13947. },
  13948. _max_closure: function _max_closure() {
  13949. },
  13950. _min_closure: function _min_closure() {
  13951. },
  13952. _round_closure: function _round_closure() {
  13953. },
  13954. _hypot_closure: function _hypot_closure() {
  13955. },
  13956. _hypot__closure: function _hypot__closure() {
  13957. },
  13958. _log_closure: function _log_closure() {
  13959. },
  13960. _pow_closure: function _pow_closure() {
  13961. },
  13962. _atan2_closure: function _atan2_closure() {
  13963. },
  13964. _compatible_closure: function _compatible_closure() {
  13965. },
  13966. _isUnitless_closure: function _isUnitless_closure() {
  13967. },
  13968. _unit_closure: function _unit_closure() {
  13969. },
  13970. _percentage_closure: function _percentage_closure() {
  13971. },
  13972. _randomFunction_closure: function _randomFunction_closure() {
  13973. },
  13974. _div_closure: function _div_closure() {
  13975. },
  13976. _singleArgumentMathFunc_closure: function _singleArgumentMathFunc_closure(t0) {
  13977. this.mathFunc = t0;
  13978. },
  13979. _numberFunction_closure: function _numberFunction_closure(t0) {
  13980. this.transform = t0;
  13981. },
  13982. _function($name, $arguments, callback) {
  13983. return A.BuiltInCallable$function($name, $arguments, callback, "sass:meta");
  13984. },
  13985. _shared_closure: function _shared_closure() {
  13986. },
  13987. _shared_closure0: function _shared_closure0() {
  13988. },
  13989. _shared_closure1: function _shared_closure1() {
  13990. },
  13991. _shared_closure2: function _shared_closure2() {
  13992. },
  13993. moduleFunctions_closure: function moduleFunctions_closure() {
  13994. },
  13995. moduleFunctions_closure0: function moduleFunctions_closure0() {
  13996. },
  13997. moduleFunctions__closure: function moduleFunctions__closure() {
  13998. },
  13999. moduleFunctions_closure1: function moduleFunctions_closure1() {
  14000. },
  14001. _prependParent(compound) {
  14002. var _0_3, _0_4, t2, t3, rest,
  14003. t1 = A.EvaluationContext_currentOrNull(),
  14004. span = (t1 == null ? A.throwExpression(A.StateError$(string$.No_Sass)) : t1).get$currentCallableSpan(),
  14005. _0_0 = compound.components;
  14006. $label0$0: {
  14007. _0_3 = _0_0.length >= 1;
  14008. if (_0_3) {
  14009. _0_4 = _0_0[0];
  14010. t1 = _0_4 instanceof A.UniversalSelector;
  14011. } else {
  14012. _0_4 = null;
  14013. t1 = false;
  14014. }
  14015. t2 = null;
  14016. if (t1) {
  14017. t1 = t2;
  14018. break $label0$0;
  14019. }
  14020. t1 = false;
  14021. if (_0_3) {
  14022. t3 = _0_4;
  14023. if (t3 instanceof A.TypeSelector) {
  14024. t1 = _0_4;
  14025. t1 = type$.TypeSelector._as(t1).name.namespace != null;
  14026. }
  14027. }
  14028. if (t1) {
  14029. t1 = t2;
  14030. break $label0$0;
  14031. }
  14032. if (_0_3) {
  14033. t1 = _0_4;
  14034. t1 = t1 instanceof A.TypeSelector;
  14035. } else
  14036. t1 = false;
  14037. if (t1) {
  14038. t1 = _0_3 ? _0_4 : _0_0[0];
  14039. type$.TypeSelector._as(t1);
  14040. rest = B.JSArray_methods.sublist$1(_0_0, 1);
  14041. t1 = A._setArrayType([new A.ParentSelector(t1.name.name, span)], type$.JSArray_SimpleSelector);
  14042. B.JSArray_methods.addAll$1(t1, rest);
  14043. t1 = A.CompoundSelector$(t1, span);
  14044. break $label0$0;
  14045. }
  14046. t1 = A._setArrayType([new A.ParentSelector(null, span)], type$.JSArray_SimpleSelector);
  14047. B.JSArray_methods.addAll$1(t1, _0_0);
  14048. t1 = A.CompoundSelector$(t1, span);
  14049. break $label0$0;
  14050. }
  14051. return t1;
  14052. },
  14053. _function1($name, $arguments, callback) {
  14054. return A.BuiltInCallable$function($name, $arguments, callback, "sass:selector");
  14055. },
  14056. _nest_closure: function _nest_closure() {
  14057. },
  14058. _nest__closure: function _nest__closure(t0) {
  14059. this._box_0 = t0;
  14060. },
  14061. _nest__closure0: function _nest__closure0() {
  14062. },
  14063. _append_closure: function _append_closure() {
  14064. },
  14065. _append__closure: function _append__closure() {
  14066. },
  14067. _append__closure0: function _append__closure0(t0) {
  14068. this.span = t0;
  14069. },
  14070. _append___closure: function _append___closure(t0, t1) {
  14071. this.parent = t0;
  14072. this.span = t1;
  14073. },
  14074. _extend_closure: function _extend_closure() {
  14075. },
  14076. _replace_closure: function _replace_closure() {
  14077. },
  14078. _unify_closure: function _unify_closure() {
  14079. },
  14080. _isSuperselector_closure: function _isSuperselector_closure() {
  14081. },
  14082. _simpleSelectors_closure: function _simpleSelectors_closure() {
  14083. },
  14084. _simpleSelectors__closure: function _simpleSelectors__closure() {
  14085. },
  14086. _parse_closure: function _parse_closure() {
  14087. },
  14088. _codepointForIndex(index, lengthInCodepoints, allowNegative) {
  14089. var result;
  14090. if (index === 0)
  14091. return 0;
  14092. if (index > 0)
  14093. return Math.min(index - 1, lengthInCodepoints);
  14094. result = lengthInCodepoints + index;
  14095. if (result < 0 && !allowNegative)
  14096. return 0;
  14097. return result;
  14098. },
  14099. _function0($name, $arguments, callback) {
  14100. return A.BuiltInCallable$function($name, $arguments, callback, "sass:string");
  14101. },
  14102. module_closure: function module_closure() {
  14103. },
  14104. module__closure: function module__closure(t0) {
  14105. this.string = t0;
  14106. },
  14107. module__closure0: function module__closure0(t0) {
  14108. this.string = t0;
  14109. },
  14110. _unquote_closure: function _unquote_closure() {
  14111. },
  14112. _quote_closure: function _quote_closure() {
  14113. },
  14114. _length_closure: function _length_closure() {
  14115. },
  14116. _insert_closure: function _insert_closure() {
  14117. },
  14118. _index_closure: function _index_closure() {
  14119. },
  14120. _slice_closure: function _slice_closure() {
  14121. },
  14122. _toUpperCase_closure: function _toUpperCase_closure() {
  14123. },
  14124. _toLowerCase_closure: function _toLowerCase_closure() {
  14125. },
  14126. _uniqueId_closure: function _uniqueId_closure() {
  14127. },
  14128. ImportCache$(importers, loadPaths) {
  14129. var t1 = type$.nullable_Record_3_Importer_and_Uri_and_Uri_originalUrl,
  14130. t2 = type$.Record_3_Importer_and_Uri_and_bool_forImport,
  14131. t3 = type$.Uri;
  14132. return new A.ImportCache(A.ImportCache__toImporters(importers, loadPaths, null), A.LinkedHashMap_LinkedHashMap$_empty(type$.Record_2_Uri_and_bool_forImport, t1), A.LinkedHashMap_LinkedHashMap$_empty(t2, t1), A.LinkedHashMap_LinkedHashMap$_empty(t2, t3), A.LinkedHashMap_LinkedHashMap$_empty(t3, type$.nullable_Stylesheet), A.LinkedHashMap_LinkedHashMap$_empty(t3, type$.ImporterResult), A.LinkedHashMap_LinkedHashMap$_empty(t3, type$.DateTime));
  14133. },
  14134. ImportCache__toImporters(importers, loadPaths, packageConfig) {
  14135. var t1, t2, t3, t4, _i, path, _null = null,
  14136. sassPath = A.getEnvironmentVariable("SASS_PATH");
  14137. if (A.isBrowser()) {
  14138. t1 = A._setArrayType([], type$.JSArray_Importer);
  14139. B.JSArray_methods.addAll$1(t1, importers);
  14140. return t1;
  14141. }
  14142. t1 = A._setArrayType([], type$.JSArray_Importer);
  14143. B.JSArray_methods.addAll$1(t1, importers);
  14144. for (t2 = J.get$iterator$ax(loadPaths); t2.moveNext$0();) {
  14145. t3 = t2.get$current(t2);
  14146. t1.push(new A.FilesystemImporter($.$get$context().absolute$15(t3, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null), false));
  14147. }
  14148. if (sassPath != null) {
  14149. t2 = A.isNodeJs() ? self.process : _null;
  14150. t3 = sassPath.split(J.$eq$(t2 == null ? _null : J.get$platform$x(t2), "win32") ? ";" : ":");
  14151. t4 = t3.length;
  14152. _i = 0;
  14153. for (; _i < t4; ++_i) {
  14154. path = t3[_i];
  14155. t1.push(new A.FilesystemImporter($.$get$context().absolute$15(path, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null), false));
  14156. }
  14157. }
  14158. return t1;
  14159. },
  14160. ImportCache: function ImportCache(t0, t1, t2, t3, t4, t5, t6) {
  14161. var _ = this;
  14162. _._importers = t0;
  14163. _._canonicalizeCache = t1;
  14164. _._perImporterCanonicalizeCache = t2;
  14165. _._nonCanonicalRelativeUrls = t3;
  14166. _._importCache = t4;
  14167. _._resultsCache = t5;
  14168. _._loadTimes = t6;
  14169. },
  14170. ImportCache_canonicalize_closure: function ImportCache_canonicalize_closure(t0, t1, t2, t3, t4, t5, t6) {
  14171. var _ = this;
  14172. _.$this = t0;
  14173. _.baseImporter = t1;
  14174. _.resolvedUrl = t2;
  14175. _.baseUrl = t3;
  14176. _.forImport = t4;
  14177. _.key = t5;
  14178. _.url = t6;
  14179. },
  14180. ImportCache__canonicalize_closure: function ImportCache__canonicalize_closure(t0, t1) {
  14181. this.importer = t0;
  14182. this.url = t1;
  14183. },
  14184. ImportCache_importCanonical_closure: function ImportCache_importCanonical_closure(t0, t1, t2, t3) {
  14185. var _ = this;
  14186. _.$this = t0;
  14187. _.importer = t1;
  14188. _.canonicalUrl = t2;
  14189. _.originalUrl = t3;
  14190. },
  14191. ImportCache_humanize_closure: function ImportCache_humanize_closure(t0) {
  14192. this.canonicalUrl = t0;
  14193. },
  14194. ImportCache_humanize_closure0: function ImportCache_humanize_closure0() {
  14195. },
  14196. ImportCache_humanize_closure1: function ImportCache_humanize_closure1() {
  14197. },
  14198. ImportCache_humanize_closure2: function ImportCache_humanize_closure2(t0) {
  14199. this.canonicalUrl = t0;
  14200. },
  14201. Importer: function Importer() {
  14202. },
  14203. AsyncImporter: function AsyncImporter() {
  14204. },
  14205. CanonicalizeContext: function CanonicalizeContext(t0, t1) {
  14206. this._fromImport = t0;
  14207. this._containingUrl = t1;
  14208. this._wasContainingUrlAccessed = false;
  14209. },
  14210. FilesystemImporter: function FilesystemImporter(t0, t1) {
  14211. this._loadPath = t0;
  14212. this._loadPathDeprecated = t1;
  14213. },
  14214. FilesystemImporter_canonicalize_closure: function FilesystemImporter_canonicalize_closure() {
  14215. },
  14216. NoOpImporter: function NoOpImporter() {
  14217. },
  14218. NodePackageImporter: function NodePackageImporter() {
  14219. this.__NodePackageImporter__entryPointDirectory_F = $;
  14220. },
  14221. NodePackageImporter__nodePackageExportsResolve_closure: function NodePackageImporter__nodePackageExportsResolve_closure() {
  14222. },
  14223. NodePackageImporter__nodePackageExportsResolve_closure0: function NodePackageImporter__nodePackageExportsResolve_closure0() {
  14224. },
  14225. NodePackageImporter__nodePackageExportsResolve_closure1: function NodePackageImporter__nodePackageExportsResolve_closure1() {
  14226. },
  14227. NodePackageImporter__nodePackageExportsResolve_closure2: function NodePackageImporter__nodePackageExportsResolve_closure2(t0, t1, t2) {
  14228. this.$this = t0;
  14229. this.exports = t1;
  14230. this.packageRoot = t2;
  14231. },
  14232. NodePackageImporter__nodePackageExportsResolve__closure: function NodePackageImporter__nodePackageExportsResolve__closure(t0, t1, t2) {
  14233. this.$this = t0;
  14234. this.variant = t1;
  14235. this.packageRoot = t2;
  14236. },
  14237. NodePackageImporter__nodePackageExportsResolve__closure0: function NodePackageImporter__nodePackageExportsResolve__closure0() {
  14238. },
  14239. NodePackageImporter__getMainExport_closure: function NodePackageImporter__getMainExport_closure() {
  14240. },
  14241. ImporterResult: function ImporterResult(t0, t1, t2) {
  14242. this.contents = t0;
  14243. this._sourceMapUrl = t1;
  14244. this.syntax = t2;
  14245. },
  14246. fromImport() {
  14247. var t1 = type$.nullable_CanonicalizeContext._as($.Zone__current.$index(0, B.Symbol__canonicalizeContext));
  14248. t1 = t1 == null ? null : t1._fromImport;
  14249. return t1 === true;
  14250. },
  14251. canonicalizeContext() {
  14252. var t1,
  14253. _0_0 = $.Zone__current.$index(0, B.Symbol__canonicalizeContext);
  14254. $label0$0: {
  14255. if (_0_0 == null)
  14256. A.throwExpression(A.StateError$(string$.canoni));
  14257. if (_0_0 instanceof A.CanonicalizeContext) {
  14258. t1 = _0_0;
  14259. break $label0$0;
  14260. }
  14261. t1 = A.throwExpression(A.StateError$(string$.Unexpe + A.S(_0_0) + "."));
  14262. }
  14263. return t1;
  14264. },
  14265. resolveImportPath(path) {
  14266. var t1,
  14267. extension = A.ParsedPath_ParsedPath$parse(path, $.$get$context().style)._splitExtension$1(1)[1];
  14268. if (extension === ".sass" || extension === ".scss" || extension === ".css") {
  14269. t1 = A.fromImport() ? new A.resolveImportPath_closure(path, extension).call$0() : null;
  14270. return t1 == null ? A._exactlyOne(A._tryPath(path)) : t1;
  14271. }
  14272. t1 = A.fromImport() ? new A.resolveImportPath_closure0(path).call$0() : null;
  14273. if (t1 == null)
  14274. t1 = A._exactlyOne(A._tryPathWithExtensions(path));
  14275. return t1 == null ? A._tryPathAsDirectory(path) : t1;
  14276. },
  14277. _tryPathWithExtensions(path) {
  14278. var result = A._tryPath(path + ".sass");
  14279. B.JSArray_methods.addAll$1(result, A._tryPath(path + ".scss"));
  14280. return result.length !== 0 ? result : A._tryPath(path + ".css");
  14281. },
  14282. _tryPath(path) {
  14283. var t1 = $.$get$context(),
  14284. partial = A.join(t1.dirname$1(path), "_" + A.ParsedPath_ParsedPath$parse(path, t1.style).get$basename(), null);
  14285. t1 = A._setArrayType([], type$.JSArray_String);
  14286. if (A.fileExists(partial))
  14287. t1.push(partial);
  14288. if (A.fileExists(path))
  14289. t1.push(path);
  14290. return t1;
  14291. },
  14292. _tryPathAsDirectory(path) {
  14293. var t1;
  14294. if (!A.dirExists(path))
  14295. return null;
  14296. t1 = A.fromImport() ? new A._tryPathAsDirectory_closure(path).call$0() : null;
  14297. return t1 == null ? A._exactlyOne(A._tryPathWithExtensions(A.join(path, "index", null))) : t1;
  14298. },
  14299. _exactlyOne(paths) {
  14300. var _0_1, t1, path;
  14301. $label0$0: {
  14302. _0_1 = paths.length;
  14303. if (_0_1 <= 0) {
  14304. t1 = null;
  14305. break $label0$0;
  14306. }
  14307. if (_0_1 === 1) {
  14308. path = paths[0];
  14309. t1 = path;
  14310. break $label0$0;
  14311. }
  14312. t1 = A.throwExpression(string$.It_s_n + B.JSArray_methods.map$1$1(paths, new A._exactlyOne_closure(), type$.String).join$1(0, "\n"));
  14313. }
  14314. return t1;
  14315. },
  14316. resolveImportPath_closure: function resolveImportPath_closure(t0, t1) {
  14317. this.path = t0;
  14318. this.extension = t1;
  14319. },
  14320. resolveImportPath_closure0: function resolveImportPath_closure0(t0) {
  14321. this.path = t0;
  14322. },
  14323. _tryPathAsDirectory_closure: function _tryPathAsDirectory_closure(t0) {
  14324. this.path = t0;
  14325. },
  14326. _exactlyOne_closure: function _exactlyOne_closure() {
  14327. },
  14328. InterpolationBuffer: function InterpolationBuffer(t0, t1, t2) {
  14329. this._interpolation_buffer$_text = t0;
  14330. this._interpolation_buffer$_contents = t1;
  14331. this._spans = t2;
  14332. },
  14333. InterpolationMap$(_interpolation, targetLocations) {
  14334. var t1 = A.List_List$unmodifiable(targetLocations, type$.SourceLocation),
  14335. t2 = _interpolation.contents.length,
  14336. expectedLocations = Math.max(0, t2 - 1);
  14337. if (t1.length !== expectedLocations)
  14338. A.throwExpression(A.ArgumentError$("InterpolationMap must have " + A.S(expectedLocations) + string$.x20targe + t2 + " components.", null));
  14339. return new A.InterpolationMap(_interpolation, t1);
  14340. },
  14341. InterpolationMap: function InterpolationMap(t0, t1) {
  14342. this._interpolation = t0;
  14343. this._targetLocations = t1;
  14344. },
  14345. InterpolationMap_mapException_closure: function InterpolationMap_mapException_closure() {
  14346. },
  14347. _realCasePath(path) {
  14348. var prefix, _null = null,
  14349. t1 = A.isNodeJs() ? self.process : _null;
  14350. if (!J.$eq$(t1 == null ? _null : J.get$platform$x(t1), "win32")) {
  14351. t1 = A.isNodeJs() ? self.process : _null;
  14352. t1 = J.$eq$(t1 == null ? _null : J.get$platform$x(t1), "darwin");
  14353. } else
  14354. t1 = true;
  14355. if (!t1)
  14356. return path;
  14357. t1 = A.isNodeJs() ? self.process : _null;
  14358. if (J.$eq$(t1 == null ? _null : J.get$platform$x(t1), "win32")) {
  14359. prefix = B.JSString_methods.substring$2(path, 0, $.$get$context().style.rootLength$1(path));
  14360. t1 = prefix.length;
  14361. if (t1 !== 0 && A.CharacterExtension_get_isAlphabetic(prefix.charCodeAt(0)))
  14362. path = prefix.toUpperCase() + B.JSString_methods.substring$1(path, t1);
  14363. }
  14364. return new A._realCasePath_helper().call$1(path);
  14365. },
  14366. _realCasePath_helper: function _realCasePath_helper() {
  14367. },
  14368. _realCasePath_helper_closure: function _realCasePath_helper_closure(t0, t1, t2, t3) {
  14369. var _ = this;
  14370. _.path = t0;
  14371. _.realPath = t1;
  14372. _.helper = t2;
  14373. _.dirname = t3;
  14374. },
  14375. _realCasePath_helper__closure: function _realCasePath_helper__closure(t0) {
  14376. this.basename = t0;
  14377. },
  14378. printError(message) {
  14379. var t1 = A.isNodeJs() ? self.process : null;
  14380. if (t1 != null) {
  14381. t1 = J.get$stderr$x(t1);
  14382. J.write$1$x(t1, A.S(message == null ? "" : message) + "\n");
  14383. } else {
  14384. t1 = self.console;
  14385. J.error$1$x(t1, message == null ? "" : message);
  14386. }
  14387. },
  14388. readFile(path) {
  14389. var contents, sourceFile, t1, i;
  14390. if (!A.isNodeJs())
  14391. throw A.wrapException(A.UnsupportedError$("readFile() is only supported on Node.js"));
  14392. contents = A._asString(A._readFile(path, "utf8"));
  14393. if (!B.JSString_methods.contains$1(contents, "\ufffd"))
  14394. return contents;
  14395. sourceFile = A.SourceFile$fromString(contents, $.$get$context().toUri$1(path));
  14396. for (t1 = contents.length, i = 0; i < t1; ++i) {
  14397. if (contents.charCodeAt(i) !== 65533)
  14398. continue;
  14399. throw A.wrapException(A.SassException$("Invalid UTF-8.", A.FileLocation$_(sourceFile, i).pointSpan$0(), null));
  14400. }
  14401. return contents;
  14402. },
  14403. _readFile(path, encoding) {
  14404. return A._systemErrorToFileSystemException(new A._readFile_closure(path, encoding));
  14405. },
  14406. writeFile(path, contents) {
  14407. if (!A.isNodeJs())
  14408. throw A.wrapException(A.UnsupportedError$("writeFile() is only supported on Node.js"));
  14409. return A._systemErrorToFileSystemException(new A.writeFile_closure(path, contents));
  14410. },
  14411. deleteFile(path) {
  14412. if (!A.isNodeJs())
  14413. throw A.wrapException(A.UnsupportedError$("deleteFile() is only supported on Node.js"));
  14414. return A._systemErrorToFileSystemException(new A.deleteFile_closure(path));
  14415. },
  14416. readStdin() {
  14417. return A.readStdin$body();
  14418. },
  14419. readStdin$body() {
  14420. var $async$goto = 0,
  14421. $async$completer = A._makeAsyncAwaitCompleter(type$.String),
  14422. $async$returnValue, t3, completer, sink, t1, t2;
  14423. var $async$readStdin = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  14424. if ($async$errorCode === 1)
  14425. return A._asyncRethrow($async$result, $async$completer);
  14426. while (true)
  14427. switch ($async$goto) {
  14428. case 0:
  14429. // Function start
  14430. t1 = {};
  14431. t2 = A.isNodeJs() ? self.process : null;
  14432. if (t2 == null)
  14433. throw A.wrapException(A.UnsupportedError$("readStdin() is only supported on Node.js"));
  14434. t3 = new A._Future($.Zone__current, type$._Future_String);
  14435. completer = new A._AsyncCompleter(t3, type$._AsyncCompleter_String);
  14436. t1.contents = null;
  14437. sink = new A._StringCallbackSink(new A.readStdin_closure(t1, completer), new A.StringBuffer("")).asUtf8Sink$1(false);
  14438. t1 = J.getInterceptor$x(t2);
  14439. J.on$2$x(t1.get$stdin(t2), "data", A.allowInterop(new A.readStdin_closure0(sink)));
  14440. J.on$2$x(t1.get$stdin(t2), "end", A.allowInterop(new A.readStdin_closure1(sink)));
  14441. J.on$2$x(t1.get$stdin(t2), "error", A.allowInterop(new A.readStdin_closure2(completer)));
  14442. $async$returnValue = t3;
  14443. // goto return
  14444. $async$goto = 1;
  14445. break;
  14446. case 1:
  14447. // return
  14448. return A._asyncReturn($async$returnValue, $async$completer);
  14449. }
  14450. });
  14451. return A._asyncStartSync($async$readStdin, $async$completer);
  14452. },
  14453. fileExists(path) {
  14454. if (!A.isNodeJs())
  14455. throw A.wrapException(A.UnsupportedError$(string$.fileEx));
  14456. return A._systemErrorToFileSystemException(new A.fileExists_closure(path));
  14457. },
  14458. dirExists(path) {
  14459. if (!A.isNodeJs())
  14460. throw A.wrapException(A.UnsupportedError$("dirExists() is only supported on Node.js"));
  14461. return A._systemErrorToFileSystemException(new A.dirExists_closure(path));
  14462. },
  14463. linkExists(path) {
  14464. if (!A.isNodeJs())
  14465. throw A.wrapException(A.UnsupportedError$(string$.linkEx));
  14466. return A._systemErrorToFileSystemException(new A.linkExists_closure(path));
  14467. },
  14468. ensureDir(path) {
  14469. if (!A.isNodeJs())
  14470. throw A.wrapException(A.UnsupportedError$("ensureDir() is only supported on Node.js"));
  14471. return A._systemErrorToFileSystemException(new A.ensureDir_closure(path));
  14472. },
  14473. listDir(path, recursive) {
  14474. if (!A.isNodeJs())
  14475. throw A.wrapException(A.UnsupportedError$("listDir() is only supported on Node.js"));
  14476. return A._systemErrorToFileSystemException(new A.listDir_closure(recursive, path));
  14477. },
  14478. realpath(path) {
  14479. if (!A.isNodeJs())
  14480. throw A.wrapException(A.UnsupportedError$("listDir() is only supported on Node.js"));
  14481. return A._systemErrorToFileSystemException(new A.realpath_closure(path));
  14482. },
  14483. modificationTime(path) {
  14484. if (!A.isNodeJs())
  14485. throw A.wrapException(A.UnsupportedError$("modificationTime() is only supported on Node.js"));
  14486. return A._systemErrorToFileSystemException(new A.modificationTime_closure(path));
  14487. },
  14488. getEnvironmentVariable($name) {
  14489. var t1 = A.isNodeJs() ? self.process : null,
  14490. env = t1 == null ? null : J.get$env$x(t1);
  14491. if (env == null)
  14492. t1 = null;
  14493. else
  14494. t1 = A._asStringQ(env[$name]);
  14495. return t1;
  14496. },
  14497. _systemErrorToFileSystemException(callback) {
  14498. var error, t1, exception, t2;
  14499. try {
  14500. t1 = callback.call$0();
  14501. return t1;
  14502. } catch (exception) {
  14503. error = A.unwrapException(exception);
  14504. if (!type$.JsSystemError._is(error))
  14505. throw exception;
  14506. t1 = error;
  14507. t2 = J.getInterceptor$x(t1);
  14508. 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)));
  14509. }
  14510. },
  14511. hasTerminal() {
  14512. var t1 = A.isNodeJs() ? self.process : null;
  14513. return J.$eq$(t1 == null ? null : J.get$isTTY$x(J.get$stdout$x(t1)), true);
  14514. },
  14515. isWindows() {
  14516. var t1 = A.isNodeJs() ? self.process : null;
  14517. return J.$eq$(t1 == null ? null : J.get$platform$x(t1), "win32");
  14518. },
  14519. watchDir(path, poll) {
  14520. return A.watchDir$body(path, poll);
  14521. },
  14522. watchDir$body(path, poll) {
  14523. var $async$goto = 0,
  14524. $async$completer = A._makeAsyncAwaitCompleter(type$.Stream_WatchEvent),
  14525. $async$returnValue, _0_0, t2, parcel, controller, watcher, t3, t1, $async$temp1, $async$temp2, $async$temp3;
  14526. var $async$watchDir = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  14527. if ($async$errorCode === 1)
  14528. return A._asyncRethrow($async$result, $async$completer);
  14529. while (true)
  14530. switch ($async$goto) {
  14531. case 0:
  14532. // Function start
  14533. t1 = {};
  14534. if (!A.isNodeJs())
  14535. throw A.wrapException(A.UnsupportedError$("watchDir() is only supported on Node.js"));
  14536. t1.controller = null;
  14537. _0_0 = init.G.parcel_watcher;
  14538. if (_0_0 != null) {
  14539. t2 = !poll;
  14540. parcel = _0_0;
  14541. } else {
  14542. parcel = null;
  14543. t2 = false;
  14544. }
  14545. $async$goto = t2 ? 3 : 5;
  14546. break;
  14547. case 3:
  14548. // then
  14549. $async$temp1 = t1;
  14550. $async$temp2 = A;
  14551. $async$temp3 = A;
  14552. $async$goto = 6;
  14553. return A._asyncAwait(A.ParcelWatcher_subscribe(parcel, path, new A.watchDir_closure0(t1)), $async$watchDir);
  14554. case 6:
  14555. // returning from await.
  14556. controller = $async$temp1.controller = $async$temp2.StreamController_StreamController(new $async$temp3.watchDir_closure($async$result), null, null, null, false, type$.WatchEvent);
  14557. $async$returnValue = new A._ControllerStream(controller, A._instanceType(controller)._eval$1("_ControllerStream<1>"));
  14558. // goto return
  14559. $async$goto = 1;
  14560. break;
  14561. // goto join
  14562. $async$goto = 4;
  14563. break;
  14564. case 5:
  14565. // else
  14566. watcher = J.watch$2$x(self.chokidar, path, {usePolling: poll});
  14567. t2 = J.getInterceptor$x(watcher);
  14568. t2.on$2(watcher, "add", A.allowInterop(new A.watchDir_closure1(t1)));
  14569. t2.on$2(watcher, "change", A.allowInterop(new A.watchDir_closure2(t1)));
  14570. t2.on$2(watcher, "unlink", A.allowInterop(new A.watchDir_closure3(t1)));
  14571. t2.on$2(watcher, "error", A.allowInterop(new A.watchDir_closure4(t1)));
  14572. t3 = new A._Future($.Zone__current, type$._Future_Stream_WatchEvent);
  14573. t2.on$2(watcher, "ready", A.allowInterop(new A.watchDir_closure5(t1, watcher, new A._AsyncCompleter(t3, type$._AsyncCompleter_Stream_WatchEvent))));
  14574. $async$returnValue = t3;
  14575. // goto return
  14576. $async$goto = 1;
  14577. break;
  14578. case 4:
  14579. // join
  14580. case 1:
  14581. // return
  14582. return A._asyncReturn($async$returnValue, $async$completer);
  14583. }
  14584. });
  14585. return A._asyncStartSync($async$watchDir, $async$completer);
  14586. },
  14587. FileSystemException: function FileSystemException(t0, t1) {
  14588. this.message = t0;
  14589. this.path = t1;
  14590. },
  14591. _readFile_closure: function _readFile_closure(t0, t1) {
  14592. this.path = t0;
  14593. this.encoding = t1;
  14594. },
  14595. writeFile_closure: function writeFile_closure(t0, t1) {
  14596. this.path = t0;
  14597. this.contents = t1;
  14598. },
  14599. deleteFile_closure: function deleteFile_closure(t0) {
  14600. this.path = t0;
  14601. },
  14602. readStdin_closure: function readStdin_closure(t0, t1) {
  14603. this._box_0 = t0;
  14604. this.completer = t1;
  14605. },
  14606. readStdin_closure0: function readStdin_closure0(t0) {
  14607. this.sink = t0;
  14608. },
  14609. readStdin_closure1: function readStdin_closure1(t0) {
  14610. this.sink = t0;
  14611. },
  14612. readStdin_closure2: function readStdin_closure2(t0) {
  14613. this.completer = t0;
  14614. },
  14615. fileExists_closure: function fileExists_closure(t0) {
  14616. this.path = t0;
  14617. },
  14618. dirExists_closure: function dirExists_closure(t0) {
  14619. this.path = t0;
  14620. },
  14621. linkExists_closure: function linkExists_closure(t0) {
  14622. this.path = t0;
  14623. },
  14624. ensureDir_closure: function ensureDir_closure(t0) {
  14625. this.path = t0;
  14626. },
  14627. listDir_closure: function listDir_closure(t0, t1) {
  14628. this.recursive = t0;
  14629. this.path = t1;
  14630. },
  14631. listDir__closure: function listDir__closure(t0) {
  14632. this.path = t0;
  14633. },
  14634. listDir__closure0: function listDir__closure0() {
  14635. },
  14636. listDir_closure_list: function listDir_closure_list() {
  14637. },
  14638. listDir__list_closure: function listDir__list_closure(t0, t1) {
  14639. this.parent = t0;
  14640. this.list = t1;
  14641. },
  14642. realpath_closure: function realpath_closure(t0) {
  14643. this.path = t0;
  14644. },
  14645. modificationTime_closure: function modificationTime_closure(t0) {
  14646. this.path = t0;
  14647. },
  14648. watchDir_closure0: function watchDir_closure0(t0) {
  14649. this._box_0 = t0;
  14650. },
  14651. watchDir_closure: function watchDir_closure(t0) {
  14652. this.subscription = t0;
  14653. },
  14654. watchDir_closure1: function watchDir_closure1(t0) {
  14655. this._box_0 = t0;
  14656. },
  14657. watchDir_closure2: function watchDir_closure2(t0) {
  14658. this._box_0 = t0;
  14659. },
  14660. watchDir_closure3: function watchDir_closure3(t0) {
  14661. this._box_0 = t0;
  14662. },
  14663. watchDir_closure4: function watchDir_closure4(t0) {
  14664. this._box_0 = t0;
  14665. },
  14666. watchDir_closure5: function watchDir_closure5(t0, t1, t2) {
  14667. this._box_0 = t0;
  14668. this.watcher = t1;
  14669. this.completer = t2;
  14670. },
  14671. watchDir__closure: function watchDir__closure(t0) {
  14672. this.watcher = t0;
  14673. },
  14674. JSArray0: function JSArray0() {
  14675. },
  14676. Chokidar: function Chokidar() {
  14677. },
  14678. ChokidarOptions: function ChokidarOptions() {
  14679. },
  14680. ChokidarWatcher: function ChokidarWatcher() {
  14681. },
  14682. JSFunction: function JSFunction() {
  14683. },
  14684. ImmutableList: function ImmutableList() {
  14685. },
  14686. ImmutableMap: function ImmutableMap() {
  14687. },
  14688. NodeImporterResult: function NodeImporterResult() {
  14689. },
  14690. RenderContext: function RenderContext() {
  14691. },
  14692. RenderContextOptions: function RenderContextOptions() {
  14693. },
  14694. RenderContextResult: function RenderContextResult() {
  14695. },
  14696. RenderContextResultStats: function RenderContextResultStats() {
  14697. },
  14698. JSModule: function JSModule() {
  14699. },
  14700. JSModuleRequire: function JSModuleRequire() {
  14701. },
  14702. ParcelWatcher_subscribe(_this, path, callback) {
  14703. var result,
  14704. t1 = new A.ParcelWatcher_subscribe_closure(callback);
  14705. if (typeof t1 == "function")
  14706. A.throwExpression(A.ArgumentError$("Attempting to rewrap a JS function.", null));
  14707. result = function(_call, f) {
  14708. return function(arg1, arg2) {
  14709. return _call(f, arg1, arg2, arguments.length);
  14710. };
  14711. }(A._callDartFunctionFast2, t1);
  14712. result[$.$get$DART_CLOSURE_PROPERTY_NAME()] = t1;
  14713. return A.promiseToFuture(_this.subscribe(path, result), type$.JSObject);
  14714. },
  14715. ParcelWatcher_subscribe_closure: function ParcelWatcher_subscribe_closure(t0) {
  14716. this.callback = t0;
  14717. },
  14718. JSClass: function JSClass() {
  14719. },
  14720. JSUrl: function JSUrl() {
  14721. },
  14722. jsThrow0(error) {
  14723. return type$.Never._as($.$get$_jsThrow0().call$1(error));
  14724. },
  14725. _PropertyDescriptor: function _PropertyDescriptor() {
  14726. },
  14727. _RequireMain: function _RequireMain() {
  14728. },
  14729. WarnForDeprecation_warnForDeprecation(_this, deprecation, message, span, trace) {
  14730. _this.internalWarn$4$deprecation$span$trace(message, deprecation, span, trace);
  14731. },
  14732. LoggerWithDeprecationType: function LoggerWithDeprecationType() {
  14733. },
  14734. _QuietLogger: function _QuietLogger() {
  14735. },
  14736. DeprecationProcessingLogger: function DeprecationProcessingLogger(t0, t1, t2, t3, t4, t5) {
  14737. var _ = this;
  14738. _._warningCounts = t0;
  14739. _._inner = t1;
  14740. _.silenceDeprecations = t2;
  14741. _.fatalDeprecations = t3;
  14742. _.futureDeprecations = t4;
  14743. _.limitRepetition = t5;
  14744. },
  14745. DeprecationProcessingLogger_summarize_closure: function DeprecationProcessingLogger_summarize_closure() {
  14746. },
  14747. DeprecationProcessingLogger_summarize_closure0: function DeprecationProcessingLogger_summarize_closure0() {
  14748. },
  14749. StderrLogger: function StderrLogger(t0) {
  14750. this.color = t0;
  14751. },
  14752. TrackingLogger: function TrackingLogger(t0) {
  14753. this._tracking$_logger = t0;
  14754. this._emittedDebug = this._emittedWarning = false;
  14755. },
  14756. BuiltInModule$($name, functions, mixins, variables, $T) {
  14757. var t1 = A._Uri__Uri(null, $name, null, "sass"),
  14758. t2 = A.BuiltInModule__callableMap(functions, $T),
  14759. t3 = A.BuiltInModule__callableMap(mixins, $T),
  14760. t4 = variables == null ? B.Map_empty5 : new A.UnmodifiableMapView(variables, type$.UnmodifiableMapView_String_Value);
  14761. return new A.BuiltInModule(t1, t2, t3, t4, $T._eval$1("BuiltInModule<0>"));
  14762. },
  14763. BuiltInModule__callableMap(callables, $T) {
  14764. var t2, _i, callable,
  14765. t1 = type$.String;
  14766. if (callables == null)
  14767. t1 = A.LinkedHashMap_LinkedHashMap$_empty(t1, $T);
  14768. else {
  14769. t1 = A.LinkedHashMap_LinkedHashMap$_empty(t1, $T);
  14770. for (t2 = callables.length, _i = 0; _i < callables.length; callables.length === t2 || (0, A.throwConcurrentModificationError)(callables), ++_i) {
  14771. callable = callables[_i];
  14772. t1.$indexSet(0, callable.get$name(callable), callable);
  14773. }
  14774. t1 = new A.UnmodifiableMapView(t1, type$.$env_1_1_String._bind$1($T)._eval$1("UnmodifiableMapView<1,2>"));
  14775. }
  14776. return new A.UnmodifiableMapView(t1, type$.$env_1_1_String._bind$1($T)._eval$1("UnmodifiableMapView<1,2>"));
  14777. },
  14778. BuiltInModule: function BuiltInModule(t0, t1, t2, t3, t4) {
  14779. var _ = this;
  14780. _.url = t0;
  14781. _.functions = t1;
  14782. _.mixins = t2;
  14783. _.variables = t3;
  14784. _.$ti = t4;
  14785. },
  14786. ForwardedModuleView_ifNecessary(inner, rule, $T) {
  14787. var t2,
  14788. t1 = false;
  14789. if (rule.prefix == null)
  14790. if (rule.shownMixinsAndFunctions == null)
  14791. if (rule.shownVariables == null) {
  14792. t2 = rule.hiddenMixinsAndFunctions;
  14793. t2 = t2 == null ? null : t2._base.get$isEmpty(0);
  14794. if (t2 === true) {
  14795. t1 = rule.hiddenVariables;
  14796. t1 = t1 == null ? null : t1._base.get$isEmpty(0);
  14797. t1 = t1 === true;
  14798. }
  14799. }
  14800. if (t1)
  14801. return inner;
  14802. else
  14803. return A.ForwardedModuleView$(inner, rule, $T);
  14804. },
  14805. ForwardedModuleView$(_inner, _rule, $T) {
  14806. var t1 = _rule.prefix,
  14807. t2 = _rule.shownVariables,
  14808. t3 = _rule.hiddenVariables,
  14809. t4 = _rule.shownMixinsAndFunctions,
  14810. t5 = _rule.hiddenMixinsAndFunctions;
  14811. 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>"));
  14812. },
  14813. ForwardedModuleView__forwardedMap(map, prefix, safelist, blocklist, $V) {
  14814. var t1 = prefix == null,
  14815. t2 = false;
  14816. if (t1)
  14817. if (safelist == null)
  14818. t2 = blocklist == null || blocklist._base.get$isEmpty(0);
  14819. if (t2)
  14820. return map;
  14821. if (!t1)
  14822. map = new A.PrefixedMapView(map, prefix, $V._eval$1("PrefixedMapView<0>"));
  14823. if (safelist != null)
  14824. 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>"));
  14825. else if (blocklist != null && blocklist._base.get$isNotEmpty(0))
  14826. map = A.LimitedMapView$blocklist(map, blocklist, type$.String, $V);
  14827. return map;
  14828. },
  14829. ForwardedModuleView: function ForwardedModuleView(t0, t1, t2, t3, t4, t5, t6) {
  14830. var _ = this;
  14831. _._forwarded_view$_inner = t0;
  14832. _._rule = t1;
  14833. _.variables = t2;
  14834. _.variableNodes = t3;
  14835. _.functions = t4;
  14836. _.mixins = t5;
  14837. _.$ti = t6;
  14838. },
  14839. ShadowedModuleView_ifNecessary(inner, functions, mixins, variables, $T) {
  14840. 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;
  14841. },
  14842. ShadowedModuleView__shadowedMap(map, blocklist, $V) {
  14843. var t1 = A.ShadowedModuleView__needsBlocklist(map, blocklist);
  14844. return !t1 ? map : A.LimitedMapView$blocklist(map, blocklist, type$.String, $V);
  14845. },
  14846. ShadowedModuleView__needsBlocklist(map, blocklist) {
  14847. return map.get$isNotEmpty(map) && blocklist.any$1(0, map.get$containsKey());
  14848. },
  14849. ShadowedModuleView: function ShadowedModuleView(t0, t1, t2, t3, t4, t5) {
  14850. var _ = this;
  14851. _._shadowed_view$_inner = t0;
  14852. _.variables = t1;
  14853. _.variableNodes = t2;
  14854. _.functions = t3;
  14855. _.mixins = t4;
  14856. _.$ti = t5;
  14857. },
  14858. AtRootQueryParser: function AtRootQueryParser(t0, t1) {
  14859. this.scanner = t0;
  14860. this._interpolationMap = t1;
  14861. },
  14862. AtRootQueryParser_parse_closure: function AtRootQueryParser_parse_closure(t0) {
  14863. this.$this = t0;
  14864. },
  14865. _disallowedFunctionNames_closure: function _disallowedFunctionNames_closure() {
  14866. },
  14867. CssParser: function CssParser(t0, t1, t2, t3) {
  14868. var _ = this;
  14869. _._isUseAllowed = true;
  14870. _._inExpression = _._inParentheses = _._inStyleRule = _._stylesheet$_inUnknownAtRule = _._inControlDirective = _._inContentBlock = _._stylesheet$_inMixin = false;
  14871. _._globalVariables = t0;
  14872. _.warnings = t1;
  14873. _.lastSilentComment = null;
  14874. _.scanner = t2;
  14875. _._interpolationMap = t3;
  14876. },
  14877. KeyframeSelectorParser: function KeyframeSelectorParser(t0, t1) {
  14878. this.scanner = t0;
  14879. this._interpolationMap = t1;
  14880. },
  14881. KeyframeSelectorParser_parse_closure: function KeyframeSelectorParser_parse_closure(t0) {
  14882. this.$this = t0;
  14883. },
  14884. MediaQueryParser: function MediaQueryParser(t0, t1) {
  14885. this.scanner = t0;
  14886. this._interpolationMap = t1;
  14887. },
  14888. MediaQueryParser_parse_closure: function MediaQueryParser_parse_closure(t0) {
  14889. this.$this = t0;
  14890. },
  14891. Parser_isIdentifier(text) {
  14892. var exception;
  14893. try {
  14894. new A.Parser(A.SpanScanner$(text, null), null)._parseIdentifier$0();
  14895. return true;
  14896. } catch (exception) {
  14897. if (type$.SassFormatException._is(A.unwrapException(exception)))
  14898. return false;
  14899. else
  14900. throw exception;
  14901. }
  14902. },
  14903. Parser: function Parser(t0, t1) {
  14904. this.scanner = t0;
  14905. this._interpolationMap = t1;
  14906. },
  14907. Parser__parseIdentifier_closure: function Parser__parseIdentifier_closure(t0) {
  14908. this.$this = t0;
  14909. },
  14910. Parser_escape_closure: function Parser_escape_closure() {
  14911. },
  14912. Parser_scanIdentChar_matches: function Parser_scanIdentChar_matches(t0, t1) {
  14913. this.caseSensitive = t0;
  14914. this.char = t1;
  14915. },
  14916. Parser_spanFrom_closure: function Parser_spanFrom_closure(t0, t1) {
  14917. this.$this = t0;
  14918. this.span = t1;
  14919. },
  14920. SassParser: function SassParser(t0, t1, t2, t3) {
  14921. var _ = this;
  14922. _._currentIndentation = 0;
  14923. _._spaces = _._nextIndentationEnd = _._nextIndentation = null;
  14924. _._isUseAllowed = true;
  14925. _._inExpression = _._inParentheses = _._inStyleRule = _._stylesheet$_inUnknownAtRule = _._inControlDirective = _._inContentBlock = _._stylesheet$_inMixin = false;
  14926. _._globalVariables = t0;
  14927. _.warnings = t1;
  14928. _.lastSilentComment = null;
  14929. _.scanner = t2;
  14930. _._interpolationMap = t3;
  14931. },
  14932. SassParser_styleRuleSelector_closure: function SassParser_styleRuleSelector_closure() {
  14933. },
  14934. SassParser_children_closure: function SassParser_children_closure(t0, t1, t2) {
  14935. this.$this = t0;
  14936. this.child = t1;
  14937. this.children = t2;
  14938. },
  14939. SassParser__peekIndentation_closure: function SassParser__peekIndentation_closure() {
  14940. },
  14941. SassParser__peekIndentation_closure0: function SassParser__peekIndentation_closure0() {
  14942. },
  14943. SassParser__tryTrailingSemicolon_closure: function SassParser__tryTrailingSemicolon_closure() {
  14944. },
  14945. ScssParser$(contents, url) {
  14946. return new A.ScssParser(A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.FileSpan), A._setArrayType([], type$.JSArray_Record_3_nullable_Deprecation_deprecation_and_String_message_and_FileSpan_span), A.SpanScanner$(contents, url), null);
  14947. },
  14948. ScssParser: function ScssParser(t0, t1, t2, t3) {
  14949. var _ = this;
  14950. _._isUseAllowed = true;
  14951. _._inExpression = _._inParentheses = _._inStyleRule = _._stylesheet$_inUnknownAtRule = _._inControlDirective = _._inContentBlock = _._stylesheet$_inMixin = false;
  14952. _._globalVariables = t0;
  14953. _.warnings = t1;
  14954. _.lastSilentComment = null;
  14955. _.scanner = t2;
  14956. _._interpolationMap = t3;
  14957. },
  14958. SelectorParser: function SelectorParser(t0, t1, t2, t3) {
  14959. var _ = this;
  14960. _._allowParent = t0;
  14961. _._plainCss = t1;
  14962. _.scanner = t2;
  14963. _._interpolationMap = t3;
  14964. },
  14965. SelectorParser_parse_closure: function SelectorParser_parse_closure(t0) {
  14966. this.$this = t0;
  14967. },
  14968. SelectorParser_parseCompoundSelector_closure: function SelectorParser_parseCompoundSelector_closure(t0) {
  14969. this.$this = t0;
  14970. },
  14971. StylesheetParser: function StylesheetParser() {
  14972. },
  14973. StylesheetParser_parse_closure: function StylesheetParser_parse_closure(t0) {
  14974. this.$this = t0;
  14975. },
  14976. StylesheetParser_parse__closure: function StylesheetParser_parse__closure(t0) {
  14977. this.$this = t0;
  14978. },
  14979. StylesheetParser_parseParameterList_closure: function StylesheetParser_parseParameterList_closure(t0) {
  14980. this.$this = t0;
  14981. },
  14982. StylesheetParser_parseVariableDeclaration_closure: function StylesheetParser_parseVariableDeclaration_closure(t0) {
  14983. this.$this = t0;
  14984. },
  14985. StylesheetParser_parseUseRule_closure: function StylesheetParser_parseUseRule_closure(t0) {
  14986. this.$this = t0;
  14987. },
  14988. StylesheetParser__parseSingleProduction_closure: function StylesheetParser__parseSingleProduction_closure(t0, t1, t2) {
  14989. this.$this = t0;
  14990. this.production = t1;
  14991. this.T = t2;
  14992. },
  14993. StylesheetParser__statement_closure: function StylesheetParser__statement_closure(t0) {
  14994. this.$this = t0;
  14995. },
  14996. StylesheetParser_variableDeclarationWithoutNamespace_closure: function StylesheetParser_variableDeclarationWithoutNamespace_closure(t0, t1) {
  14997. this.$this = t0;
  14998. this.start = t1;
  14999. },
  15000. StylesheetParser_variableDeclarationWithoutNamespace_closure0: function StylesheetParser_variableDeclarationWithoutNamespace_closure0(t0) {
  15001. this.declaration = t0;
  15002. },
  15003. StylesheetParser__declarationOrBuffer_closure: function StylesheetParser__declarationOrBuffer_closure(t0) {
  15004. this.$this = t0;
  15005. },
  15006. StylesheetParser__declarationOrBuffer_closure0: function StylesheetParser__declarationOrBuffer_closure0(t0) {
  15007. this.$this = t0;
  15008. },
  15009. StylesheetParser__declarationOrBuffer_closure1: function StylesheetParser__declarationOrBuffer_closure1(t0) {
  15010. this.$this = t0;
  15011. },
  15012. StylesheetParser__styleRule_closure: function StylesheetParser__styleRule_closure(t0, t1, t2, t3) {
  15013. var _ = this;
  15014. _._box_0 = t0;
  15015. _.$this = t1;
  15016. _.wasInStyleRule = t2;
  15017. _.start = t3;
  15018. },
  15019. StylesheetParser__propertyOrVariableDeclaration_closure: function StylesheetParser__propertyOrVariableDeclaration_closure(t0) {
  15020. this.$this = t0;
  15021. },
  15022. StylesheetParser__tryDeclarationChildren_closure: function StylesheetParser__tryDeclarationChildren_closure(t0, t1) {
  15023. this.name = t0;
  15024. this.value = t1;
  15025. },
  15026. StylesheetParser__atRootRule_closure: function StylesheetParser__atRootRule_closure(t0) {
  15027. this.query = t0;
  15028. },
  15029. StylesheetParser__atRootRule_closure0: function StylesheetParser__atRootRule_closure0() {
  15030. },
  15031. StylesheetParser__eachRule_closure: function StylesheetParser__eachRule_closure(t0, t1, t2, t3) {
  15032. var _ = this;
  15033. _.$this = t0;
  15034. _.wasInControlDirective = t1;
  15035. _.variables = t2;
  15036. _.list = t3;
  15037. },
  15038. StylesheetParser__functionRule_closure: function StylesheetParser__functionRule_closure(t0, t1, t2) {
  15039. this.name = t0;
  15040. this.parameters = t1;
  15041. this.precedingComment = t2;
  15042. },
  15043. StylesheetParser__forRule_closure: function StylesheetParser__forRule_closure(t0, t1) {
  15044. this._box_0 = t0;
  15045. this.$this = t1;
  15046. },
  15047. StylesheetParser__forRule_closure0: function StylesheetParser__forRule_closure0(t0, t1, t2, t3, t4, t5) {
  15048. var _ = this;
  15049. _._box_0 = t0;
  15050. _.$this = t1;
  15051. _.wasInControlDirective = t2;
  15052. _.variable = t3;
  15053. _.from = t4;
  15054. _.to = t5;
  15055. },
  15056. StylesheetParser__memberList_closure: function StylesheetParser__memberList_closure(t0, t1, t2) {
  15057. this.$this = t0;
  15058. this.variables = t1;
  15059. this.identifiers = t2;
  15060. },
  15061. StylesheetParser__includeRule_closure: function StylesheetParser__includeRule_closure(t0) {
  15062. this.contentParameters_ = t0;
  15063. },
  15064. StylesheetParser_mediaRule_closure: function StylesheetParser_mediaRule_closure(t0) {
  15065. this.query = t0;
  15066. },
  15067. StylesheetParser__mixinRule_closure: function StylesheetParser__mixinRule_closure(t0, t1, t2, t3) {
  15068. var _ = this;
  15069. _.$this = t0;
  15070. _.name = t1;
  15071. _.parameters = t2;
  15072. _.precedingComment = t3;
  15073. },
  15074. StylesheetParser_mozDocumentRule_closure: function StylesheetParser_mozDocumentRule_closure(t0) {
  15075. this.$this = t0;
  15076. },
  15077. StylesheetParser_mozDocumentRule_closure0: function StylesheetParser_mozDocumentRule_closure0(t0, t1, t2, t3) {
  15078. var _ = this;
  15079. _._box_0 = t0;
  15080. _.$this = t1;
  15081. _.name = t2;
  15082. _.value = t3;
  15083. },
  15084. StylesheetParser_supportsRule_closure: function StylesheetParser_supportsRule_closure(t0) {
  15085. this.condition = t0;
  15086. },
  15087. StylesheetParser__whileRule_closure: function StylesheetParser__whileRule_closure(t0, t1, t2) {
  15088. this.$this = t0;
  15089. this.wasInControlDirective = t1;
  15090. this.condition = t2;
  15091. },
  15092. StylesheetParser_unknownAtRule_closure: function StylesheetParser_unknownAtRule_closure(t0, t1) {
  15093. this._box_0 = t0;
  15094. this.name = t1;
  15095. },
  15096. StylesheetParser__expression_resetState: function StylesheetParser__expression_resetState(t0, t1, t2) {
  15097. this._box_0 = t0;
  15098. this.$this = t1;
  15099. this.start = t2;
  15100. },
  15101. StylesheetParser__expression_resolveOneOperation: function StylesheetParser__expression_resolveOneOperation(t0, t1) {
  15102. this._box_0 = t0;
  15103. this.$this = t1;
  15104. },
  15105. StylesheetParser__expression_resolveOperations: function StylesheetParser__expression_resolveOperations(t0, t1) {
  15106. this._box_0 = t0;
  15107. this.resolveOneOperation = t1;
  15108. },
  15109. StylesheetParser__expression_addSingleExpression: function StylesheetParser__expression_addSingleExpression(t0, t1, t2, t3) {
  15110. var _ = this;
  15111. _._box_0 = t0;
  15112. _.$this = t1;
  15113. _.resetState = t2;
  15114. _.resolveOperations = t3;
  15115. },
  15116. StylesheetParser__expression_addOperator: function StylesheetParser__expression_addOperator(t0, t1, t2, t3) {
  15117. var _ = this;
  15118. _._box_0 = t0;
  15119. _.$this = t1;
  15120. _.resolveOneOperation = t2;
  15121. _.addSingleExpression = t3;
  15122. },
  15123. StylesheetParser__expression_resolveSpaceExpressions: function StylesheetParser__expression_resolveSpaceExpressions(t0, t1, t2) {
  15124. this._box_0 = t0;
  15125. this.$this = t1;
  15126. this.resolveOperations = t2;
  15127. },
  15128. StylesheetParser_expressionUntilComma_closure: function StylesheetParser_expressionUntilComma_closure(t0) {
  15129. this.$this = t0;
  15130. },
  15131. StylesheetParser__isHexColor_closure: function StylesheetParser__isHexColor_closure() {
  15132. },
  15133. StylesheetParser__unicodeRange_closure: function StylesheetParser__unicodeRange_closure() {
  15134. },
  15135. StylesheetParser__unicodeRange_closure0: function StylesheetParser__unicodeRange_closure0() {
  15136. },
  15137. StylesheetParser_namespacedExpression_closure: function StylesheetParser_namespacedExpression_closure(t0, t1) {
  15138. this.$this = t0;
  15139. this.start = t1;
  15140. },
  15141. StylesheetParser_trySpecialFunction_closure: function StylesheetParser_trySpecialFunction_closure() {
  15142. },
  15143. StylesheetParser__expressionUntilComparison_closure: function StylesheetParser__expressionUntilComparison_closure(t0) {
  15144. this.$this = t0;
  15145. },
  15146. StylesheetParser__publicIdentifier_closure: function StylesheetParser__publicIdentifier_closure(t0, t1) {
  15147. this.$this = t0;
  15148. this.start = t1;
  15149. },
  15150. StylesheetNode$_(_stylesheet, importer, canonicalUrl, allUpstream) {
  15151. var t1 = new A.StylesheetNode(_stylesheet, importer, canonicalUrl, allUpstream._1, allUpstream._0, A.LinkedHashSet_LinkedHashSet$_empty(type$.StylesheetNode));
  15152. t1.StylesheetNode$_$4(_stylesheet, importer, canonicalUrl, allUpstream);
  15153. return t1;
  15154. },
  15155. StylesheetGraph: function StylesheetGraph(t0, t1, t2) {
  15156. this._nodes = t0;
  15157. this.importCache = t1;
  15158. this._transitiveModificationTimes = t2;
  15159. },
  15160. StylesheetGraph_modifiedSince_transitiveModificationTime: function StylesheetGraph_modifiedSince_transitiveModificationTime(t0) {
  15161. this.$this = t0;
  15162. },
  15163. StylesheetGraph_modifiedSince_transitiveModificationTime_closure: function StylesheetGraph_modifiedSince_transitiveModificationTime_closure(t0, t1) {
  15164. this.node = t0;
  15165. this.transitiveModificationTime = t1;
  15166. },
  15167. StylesheetGraph__add_closure: function StylesheetGraph__add_closure(t0, t1, t2, t3) {
  15168. var _ = this;
  15169. _.$this = t0;
  15170. _.url = t1;
  15171. _.baseImporter = t2;
  15172. _.baseUrl = t3;
  15173. },
  15174. StylesheetGraph_addCanonical_closure: function StylesheetGraph_addCanonical_closure(t0, t1, t2, t3) {
  15175. var _ = this;
  15176. _.$this = t0;
  15177. _.importer = t1;
  15178. _.canonicalUrl = t2;
  15179. _.originalUrl = t3;
  15180. },
  15181. StylesheetGraph_reload_closure: function StylesheetGraph_reload_closure(t0, t1, t2) {
  15182. this.$this = t0;
  15183. this.node = t1;
  15184. this.canonicalUrl = t2;
  15185. },
  15186. StylesheetGraph__nodeFor_closure: function StylesheetGraph__nodeFor_closure(t0, t1, t2, t3, t4) {
  15187. var _ = this;
  15188. _.$this = t0;
  15189. _.url = t1;
  15190. _.baseImporter = t2;
  15191. _.baseUrl = t3;
  15192. _.forImport = t4;
  15193. },
  15194. StylesheetGraph__nodeFor_closure0: function StylesheetGraph__nodeFor_closure0(t0, t1) {
  15195. this._box_0 = t0;
  15196. this.$this = t1;
  15197. },
  15198. StylesheetNode: function StylesheetNode(t0, t1, t2, t3, t4, t5) {
  15199. var _ = this;
  15200. _._stylesheet = t0;
  15201. _.importer = t1;
  15202. _.canonicalUrl = t2;
  15203. _._upstream = t3;
  15204. _._upstreamImports = t4;
  15205. _._downstream = t5;
  15206. },
  15207. Syntax_forPath(path) {
  15208. var t1,
  15209. _0_0 = A.ParsedPath_ParsedPath$parse(path, $.$get$context().style)._splitExtension$1(1)[1];
  15210. $label0$0: {
  15211. if (".sass" === _0_0) {
  15212. t1 = B.Syntax_Sass_sass;
  15213. break $label0$0;
  15214. }
  15215. if (".css" === _0_0) {
  15216. t1 = B.Syntax_CSS_css;
  15217. break $label0$0;
  15218. }
  15219. t1 = B.Syntax_SCSS_scss;
  15220. break $label0$0;
  15221. }
  15222. return t1;
  15223. },
  15224. Syntax: function Syntax(t0, t1) {
  15225. this._syntax$_name = t0;
  15226. this._name = t1;
  15227. },
  15228. Box: function Box(t0, t1) {
  15229. this._box$_inner = t0;
  15230. this.$ti = t1;
  15231. },
  15232. ModifiableBox: function ModifiableBox(t0, t1) {
  15233. this.value = t0;
  15234. this.$ti = t1;
  15235. },
  15236. LazyFileSpan: function LazyFileSpan(t0) {
  15237. this._builder = t0;
  15238. this._lazy_file_span$_span = null;
  15239. },
  15240. LimitedMapView$blocklist(_map, blocklist, $K, $V) {
  15241. var t2, key,
  15242. t1 = A.LinkedHashSet_LinkedHashSet$_empty($K);
  15243. for (t2 = J.get$iterator$ax(_map.get$keys(_map)); t2.moveNext$0();) {
  15244. key = t2.get$current(t2);
  15245. if (!blocklist.contains$1(0, key))
  15246. t1.add$1(0, key);
  15247. }
  15248. return new A.LimitedMapView(_map, t1, $K._eval$1("@<0>")._bind$1($V)._eval$1("LimitedMapView<1,2>"));
  15249. },
  15250. LimitedMapView: function LimitedMapView(t0, t1, t2) {
  15251. this._limited_map_view$_map = t0;
  15252. this._limited_map_view$_keys = t1;
  15253. this.$ti = t2;
  15254. },
  15255. MapExtensions_get_pairs(_this, $K, $V) {
  15256. var t1 = _this.get$entries(_this);
  15257. return t1.map$1$1(t1, new A.MapExtensions_get_pairs_closure($K, $V), $K._eval$1("@<0>")._bind$1($V)._eval$1("+(1,2)"));
  15258. },
  15259. MapExtensions_get_pairs_closure: function MapExtensions_get_pairs_closure(t0, t1) {
  15260. this.K = t0;
  15261. this.V = t1;
  15262. },
  15263. MergedMapView$(maps, $K, $V) {
  15264. var t1 = $K._eval$1("@<0>")._bind$1($V);
  15265. t1 = new A.MergedMapView(A.LinkedHashMap_LinkedHashMap$_empty($K, t1._eval$1("Map<1,2>")), t1._eval$1("MergedMapView<1,2>"));
  15266. t1.MergedMapView$1(maps, $K, $V);
  15267. return t1;
  15268. },
  15269. MergedMapView: function MergedMapView(t0, t1) {
  15270. this._mapsByKey = t0;
  15271. this.$ti = t1;
  15272. },
  15273. MultiDirWatcher: function MultiDirWatcher(t0, t1, t2) {
  15274. this._watchers = t0;
  15275. this._group = t1;
  15276. this._poll = t2;
  15277. },
  15278. MultiSpan: function MultiSpan(t0, t1, t2) {
  15279. this._multi_span$_primary = t0;
  15280. this.primaryLabel = t1;
  15281. this.secondarySpans = t2;
  15282. },
  15283. NoSourceMapBuffer: function NoSourceMapBuffer(t0) {
  15284. this._no_source_map_buffer$_buffer = t0;
  15285. },
  15286. PrefixedMapView: function PrefixedMapView(t0, t1, t2) {
  15287. this._prefixed_map_view$_map = t0;
  15288. this._prefix = t1;
  15289. this.$ti = t2;
  15290. },
  15291. _PrefixedKeys: function _PrefixedKeys(t0) {
  15292. this._view = t0;
  15293. },
  15294. _PrefixedKeys_iterator_closure: function _PrefixedKeys_iterator_closure(t0) {
  15295. this.$this = t0;
  15296. },
  15297. PublicMemberMapView: function PublicMemberMapView(t0, t1) {
  15298. this._public_member_map_view$_inner = t0;
  15299. this.$ti = t1;
  15300. },
  15301. SourceMapBuffer: function SourceMapBuffer(t0, t1) {
  15302. var _ = this;
  15303. _._source_map_buffer$_buffer = t0;
  15304. _._entries = t1;
  15305. _._column = _._line = 0;
  15306. _._inSpan = false;
  15307. },
  15308. SourceMapBuffer_buildSourceMap_closure: function SourceMapBuffer_buildSourceMap_closure(t0, t1) {
  15309. this._box_0 = t0;
  15310. this.prefixLength = t1;
  15311. },
  15312. UnprefixedMapView: function UnprefixedMapView(t0, t1, t2) {
  15313. this._unprefixed_map_view$_map = t0;
  15314. this._unprefixed_map_view$_prefix = t1;
  15315. this.$ti = t2;
  15316. },
  15317. _UnprefixedKeys: function _UnprefixedKeys(t0) {
  15318. this._unprefixed_map_view$_view = t0;
  15319. },
  15320. _UnprefixedKeys_iterator_closure: function _UnprefixedKeys_iterator_closure(t0) {
  15321. this.$this = t0;
  15322. },
  15323. _UnprefixedKeys_iterator_closure0: function _UnprefixedKeys_iterator_closure0(t0) {
  15324. this.$this = t0;
  15325. },
  15326. toSentence(iter, conjunction) {
  15327. if (iter.get$length(iter) === 1)
  15328. return J.toString$0$(iter.get$first(iter));
  15329. return A.IterableExtension_get_exceptLast(iter).join$1(0, ", ") + (" " + conjunction + " " + A.S(iter.get$last(iter)));
  15330. },
  15331. indent(string, indentation) {
  15332. 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");
  15333. },
  15334. pluralize($name, number, plural) {
  15335. if (number === 1)
  15336. return $name;
  15337. if (plural != null)
  15338. return plural;
  15339. return $name + "s";
  15340. },
  15341. trimAscii(string, excludeEscape) {
  15342. var t1,
  15343. start = A._firstNonWhitespace(string);
  15344. if (start == null)
  15345. t1 = "";
  15346. else {
  15347. t1 = A._lastNonWhitespace(string, true);
  15348. t1.toString;
  15349. t1 = B.JSString_methods.substring$2(string, start, t1 + 1);
  15350. }
  15351. return t1;
  15352. },
  15353. trimAsciiRight(string, excludeEscape) {
  15354. var end = A._lastNonWhitespace(string, excludeEscape);
  15355. return end == null ? "" : B.JSString_methods.substring$2(string, 0, end + 1);
  15356. },
  15357. _firstNonWhitespace(string) {
  15358. var t1, i, t2;
  15359. for (t1 = string.length, i = 0; i < t1; ++i) {
  15360. t2 = string.charCodeAt(i);
  15361. if (!(t2 === 32 || t2 === 9 || t2 === 10 || t2 === 13 || t2 === 12))
  15362. return i;
  15363. }
  15364. return null;
  15365. },
  15366. _lastNonWhitespace(string, excludeEscape) {
  15367. var i, i0, codeUnit;
  15368. for (i = string.length - 1, i0 = i; i0 >= 0; --i0) {
  15369. codeUnit = string.charCodeAt(i0);
  15370. if (!(codeUnit === 32 || codeUnit === 9 || codeUnit === 10 || codeUnit === 13 || codeUnit === 12))
  15371. if (excludeEscape && i0 !== 0 && i0 !== i && codeUnit === 92)
  15372. return i0 + 1;
  15373. else
  15374. return i0;
  15375. }
  15376. return null;
  15377. },
  15378. isPublic(member) {
  15379. var start = member.charCodeAt(0);
  15380. return start !== 45 && start !== 95;
  15381. },
  15382. flattenVertically(iterable, $T) {
  15383. var result,
  15384. t1 = iterable.$ti._eval$1("@<ListIterable.E>")._bind$1($T._eval$1("QueueList<0>"))._eval$1("MappedListIterable<1,2>"),
  15385. queues = A.List_List$_of(new A.MappedListIterable(iterable, new A.flattenVertically_closure($T), t1), t1._eval$1("ListIterable.E"));
  15386. if (queues.length === 1)
  15387. return B.JSArray_methods.get$first(queues);
  15388. result = A._setArrayType([], $T._eval$1("JSArray<0>"));
  15389. for (; queues.length !== 0;) {
  15390. queues.$flags & 1 && A.throwUnsupportedOperation(queues, 16);
  15391. B.JSArray_methods._removeWhere$2(queues, new A.flattenVertically_closure0(result, $T), true);
  15392. }
  15393. return result;
  15394. },
  15395. codepointIndexToCodeUnitIndex(string, codepointIndex) {
  15396. var codeUnitIndex, i, codeUnitIndex0;
  15397. for (codeUnitIndex = 0, i = 0; i < codepointIndex; ++i) {
  15398. codeUnitIndex0 = codeUnitIndex + 1;
  15399. codeUnitIndex = string.charCodeAt(codeUnitIndex) >>> 10 === 54 ? codeUnitIndex0 + 1 : codeUnitIndex0;
  15400. }
  15401. return codeUnitIndex;
  15402. },
  15403. codeUnitIndexToCodepointIndex(string, codeUnitIndex) {
  15404. var codepointIndex, i;
  15405. for (codepointIndex = 0, i = 0; i < codeUnitIndex; i = (string.charCodeAt(i) >>> 10 === 54 ? i + 1 : i) + 1)
  15406. ++codepointIndex;
  15407. return codepointIndex;
  15408. },
  15409. frameForSpan(span, member, url) {
  15410. var t2, t3,
  15411. t1 = url == null ? span.get$sourceUrl(span) : url;
  15412. if (t1 == null)
  15413. t1 = $.$get$_noSourceUrl();
  15414. t2 = span.get$start(span);
  15415. t2 = t2.file.getLine$1(t2.offset);
  15416. t3 = span.get$start(span);
  15417. return new A.Frame(t1, t2 + 1, t3.file.getColumn$1(t3.offset) + 1, member);
  15418. },
  15419. declarationName(span) {
  15420. var text = span.get$text();
  15421. return A.trimAsciiRight(B.JSString_methods.substring$2(text, 0, B.JSString_methods.indexOf$1(text, ":")), false);
  15422. },
  15423. unvendor($name) {
  15424. var i,
  15425. t1 = $name.length;
  15426. if (t1 < 2)
  15427. return $name;
  15428. if ($name.charCodeAt(0) !== 45)
  15429. return $name;
  15430. if ($name.charCodeAt(1) === 45)
  15431. return $name;
  15432. for (i = 2; i < t1; ++i)
  15433. if ($name.charCodeAt(i) === 45)
  15434. return B.JSString_methods.substring$1($name, i + 1);
  15435. return $name;
  15436. },
  15437. equalsIgnoreCase(string1, string2) {
  15438. var t1, i;
  15439. if (string1 === string2)
  15440. return true;
  15441. if (string1 == null)
  15442. return false;
  15443. t1 = string1.length;
  15444. if (t1 !== string2.length)
  15445. return false;
  15446. for (i = 0; i < t1; ++i)
  15447. if (!A.characterEqualsIgnoreCase(string1.charCodeAt(i), string2.charCodeAt(i)))
  15448. return false;
  15449. return true;
  15450. },
  15451. startsWithIgnoreCase(string, prefix) {
  15452. var i,
  15453. t1 = prefix.length;
  15454. if (string.length < t1)
  15455. return false;
  15456. for (i = 0; i < t1; ++i)
  15457. if (!A.characterEqualsIgnoreCase(string.charCodeAt(i), prefix.charCodeAt(i)))
  15458. return false;
  15459. return true;
  15460. },
  15461. mapInPlace(list, $function) {
  15462. var i;
  15463. for (i = 0; i < list.length; ++i)
  15464. list[i] = $function.call$1(list[i]);
  15465. },
  15466. longestCommonSubsequence(list1, list2, select, $T) {
  15467. var t1, _i, selections, i, i0, j, selection, j0,
  15468. _length = list1.get$length(0) + 1,
  15469. lengths = J.JSArray_JSArray$allocateFixed(_length, type$.List_int);
  15470. for (t1 = type$.int, _i = 0; _i < _length; ++_i)
  15471. lengths[_i] = A.List_List$filled(((list2._queue_list$_tail - list2._queue_list$_head & J.get$length$asx(list2._queue_list$_table) - 1) >>> 0) + 1, 0, false, t1);
  15472. _length = list1.get$length(0);
  15473. selections = J.JSArray_JSArray$allocateFixed(_length, $T._eval$1("List<0?>"));
  15474. for (t1 = $T._eval$1("0?"), _i = 0; _i < _length; ++_i)
  15475. selections[_i] = A.List_List$filled((list2._queue_list$_tail - list2._queue_list$_head & J.get$length$asx(list2._queue_list$_table) - 1) >>> 0, null, false, t1);
  15476. for (i = 0; i < (list1._queue_list$_tail - list1._queue_list$_head & J.get$length$asx(list1._queue_list$_table) - 1) >>> 0; i = i0)
  15477. for (i0 = i + 1, j = 0; j < (list2._queue_list$_tail - list2._queue_list$_head & J.get$length$asx(list2._queue_list$_table) - 1) >>> 0; j = j0) {
  15478. selection = select.call$2(list1.$index(0, i), list2.$index(0, j));
  15479. selections[i][j] = selection;
  15480. t1 = lengths[i0];
  15481. j0 = j + 1;
  15482. t1[j0] = selection == null ? Math.max(t1[j], lengths[i][j0]) : lengths[i][j] + 1;
  15483. }
  15484. return new A.longestCommonSubsequence_backtrack(selections, lengths, $T).call$2(list1.get$length(0) - 1, list2.get$length(0) - 1);
  15485. },
  15486. removeFirstWhere(list, test, orElse) {
  15487. var i;
  15488. for (i = 0; i < list.length; ++i) {
  15489. if (!test.call$1(list[i]))
  15490. continue;
  15491. B.JSArray_methods.removeAt$1(list, i);
  15492. return;
  15493. }
  15494. orElse.call$0();
  15495. },
  15496. mapAddAll2(destination, source, K1, K2, $V) {
  15497. source.forEach$1(0, new A.mapAddAll2_closure(destination, K1, K2, $V));
  15498. },
  15499. setAll(map, keys, value) {
  15500. var t1;
  15501. for (t1 = J.get$iterator$ax(keys); t1.moveNext$0();)
  15502. map.$indexSet(0, t1.get$current(t1), value);
  15503. },
  15504. rotateSlice(list, start, end) {
  15505. var i, next,
  15506. element = list.$index(0, end - 1);
  15507. for (i = start; i < end; ++i, element = next) {
  15508. next = list.$index(0, i);
  15509. list.$indexSet(0, i, element);
  15510. }
  15511. },
  15512. mapAsync(iterable, callback, $E, $F) {
  15513. return A.mapAsync$body(iterable, callback, $E, $F, $F._eval$1("Iterable<0>"));
  15514. },
  15515. mapAsync$body(iterable, callback, $E, $F, $async$type) {
  15516. var $async$goto = 0,
  15517. $async$completer = A._makeAsyncAwaitCompleter($async$type),
  15518. $async$returnValue, t2, _i, t1, $async$temp1;
  15519. var $async$mapAsync = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  15520. if ($async$errorCode === 1)
  15521. return A._asyncRethrow($async$result, $async$completer);
  15522. while (true)
  15523. switch ($async$goto) {
  15524. case 0:
  15525. // Function start
  15526. t1 = A._setArrayType([], $F._eval$1("JSArray<0>"));
  15527. t2 = iterable.length, _i = 0;
  15528. case 3:
  15529. // for condition
  15530. if (!(_i < t2)) {
  15531. // goto after for
  15532. $async$goto = 5;
  15533. break;
  15534. }
  15535. $async$temp1 = t1;
  15536. $async$goto = 6;
  15537. return A._asyncAwait(callback.call$1(iterable[_i]), $async$mapAsync);
  15538. case 6:
  15539. // returning from await.
  15540. $async$temp1.push($async$result);
  15541. case 4:
  15542. // for update
  15543. ++_i;
  15544. // goto for condition
  15545. $async$goto = 3;
  15546. break;
  15547. case 5:
  15548. // after for
  15549. $async$returnValue = t1;
  15550. // goto return
  15551. $async$goto = 1;
  15552. break;
  15553. case 1:
  15554. // return
  15555. return A._asyncReturn($async$returnValue, $async$completer);
  15556. }
  15557. });
  15558. return A._asyncStartSync($async$mapAsync, $async$completer);
  15559. },
  15560. putIfAbsentAsync(map, key, ifAbsent, $K, $V) {
  15561. return A.putIfAbsentAsync$body(map, key, ifAbsent, $K, $V, $V);
  15562. },
  15563. putIfAbsentAsync$body(map, key, ifAbsent, $K, $V, $async$type) {
  15564. var $async$goto = 0,
  15565. $async$completer = A._makeAsyncAwaitCompleter($async$type),
  15566. $async$returnValue, t1, value;
  15567. var $async$putIfAbsentAsync = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  15568. if ($async$errorCode === 1)
  15569. return A._asyncRethrow($async$result, $async$completer);
  15570. while (true)
  15571. switch ($async$goto) {
  15572. case 0:
  15573. // Function start
  15574. if (map.containsKey$1(key)) {
  15575. t1 = map.$index(0, key);
  15576. $async$returnValue = t1 == null ? $V._as(t1) : t1;
  15577. // goto return
  15578. $async$goto = 1;
  15579. break;
  15580. }
  15581. $async$goto = 3;
  15582. return A._asyncAwait(ifAbsent.call$0(), $async$putIfAbsentAsync);
  15583. case 3:
  15584. // returning from await.
  15585. value = $async$result;
  15586. map.$indexSet(0, key, value);
  15587. $async$returnValue = value;
  15588. // goto return
  15589. $async$goto = 1;
  15590. break;
  15591. case 1:
  15592. // return
  15593. return A._asyncReturn($async$returnValue, $async$completer);
  15594. }
  15595. });
  15596. return A._asyncStartSync($async$putIfAbsentAsync, $async$completer);
  15597. },
  15598. copyMapOfMap(map, K1, K2, $V) {
  15599. var t3, key, child,
  15600. t1 = K2._eval$1("@<0>")._bind$1($V)._eval$1("Map<1,2>"),
  15601. t2 = A.LinkedHashMap_LinkedHashMap$_empty(K1, t1);
  15602. for (t1 = A.MapExtensions_get_pairs(map, K1, t1), t1 = t1.get$iterator(t1); t1.moveNext$0();) {
  15603. t3 = t1.get$current(t1);
  15604. key = t3._0;
  15605. child = t3._1;
  15606. t3 = A.LinkedHashMap_LinkedHashMap(null, null, null, K2, $V);
  15607. t3.addAll$1(0, child);
  15608. t2.$indexSet(0, key, t3);
  15609. }
  15610. return t2;
  15611. },
  15612. copyMapOfList(map, $K, $E) {
  15613. var t3,
  15614. t1 = $E._eval$1("List<0>"),
  15615. t2 = A.LinkedHashMap_LinkedHashMap$_empty($K, t1);
  15616. for (t1 = A.MapExtensions_get_pairs(map, $K, t1), t1 = t1.get$iterator(t1); t1.moveNext$0();) {
  15617. t3 = t1.get$current(t1);
  15618. t2.$indexSet(0, t3._0, J.toList$0$ax(t3._1));
  15619. }
  15620. return t2;
  15621. },
  15622. consumeEscapedCharacter(scanner) {
  15623. var _1_0, value, i, next, t1;
  15624. scanner.expectChar$1(92);
  15625. _1_0 = scanner.peekChar$0();
  15626. if (_1_0 == null)
  15627. return 65533;
  15628. if (_1_0 === 10 || _1_0 === 13 || _1_0 === 12)
  15629. scanner.error$1(0, "Expected escape sequence.");
  15630. if (A.CharacterExtension_get_isHex(_1_0)) {
  15631. for (value = 0, i = 0; i < 6; ++i) {
  15632. next = scanner.peekChar$0();
  15633. if (next != null) {
  15634. t1 = true;
  15635. if (!(next >= 48 && next <= 57))
  15636. if (!(next >= 97 && next <= 102))
  15637. t1 = next >= 65 && next <= 70;
  15638. t1 = !t1;
  15639. } else
  15640. t1 = true;
  15641. if (t1)
  15642. break;
  15643. value = (value << 4 >>> 0) + A.asHex(scanner.readChar$0());
  15644. }
  15645. t1 = scanner.peekChar$0();
  15646. if (t1 === 32 || t1 === 9 || t1 === 10 || t1 === 13 || t1 === 12)
  15647. scanner.readChar$0();
  15648. $label0$1: {
  15649. if (0 !== value)
  15650. t1 = value >= 55296 && value <= 57343 || value >= 1114111;
  15651. else
  15652. t1 = true;
  15653. if (t1) {
  15654. t1 = 65533;
  15655. break $label0$1;
  15656. }
  15657. t1 = value;
  15658. break $label0$1;
  15659. }
  15660. return t1;
  15661. }
  15662. return scanner.readChar$0();
  15663. },
  15664. throwWithTrace(error, originalError, trace) {
  15665. var t1 = A.getTrace(originalError);
  15666. A.attachTrace(error, t1 == null ? trace : t1);
  15667. throw A.wrapException(error);
  15668. },
  15669. attachTrace(error, trace) {
  15670. var t1;
  15671. if (trace.toString$0(0).length === 0)
  15672. return;
  15673. t1 = $.$get$_traces();
  15674. A.Expando__checkType(error);
  15675. if (t1._jsWeakMap.get(error) == null)
  15676. t1.$indexSet(0, error, trace);
  15677. },
  15678. getTrace(error) {
  15679. var t1;
  15680. if (typeof error == "string" || typeof error == "number" || A._isBool(error))
  15681. t1 = null;
  15682. else {
  15683. t1 = $.$get$_traces();
  15684. A.Expando__checkType(error);
  15685. t1 = t1._jsWeakMap.get(error);
  15686. }
  15687. return t1;
  15688. },
  15689. indent_closure: function indent_closure(t0) {
  15690. this.indentation = t0;
  15691. },
  15692. flattenVertically_closure: function flattenVertically_closure(t0) {
  15693. this.T = t0;
  15694. },
  15695. flattenVertically_closure0: function flattenVertically_closure0(t0, t1) {
  15696. this.result = t0;
  15697. this.T = t1;
  15698. },
  15699. longestCommonSubsequence_backtrack: function longestCommonSubsequence_backtrack(t0, t1, t2) {
  15700. this.selections = t0;
  15701. this.lengths = t1;
  15702. this.T = t2;
  15703. },
  15704. mapAddAll2_closure: function mapAddAll2_closure(t0, t1, t2, t3) {
  15705. var _ = this;
  15706. _.destination = t0;
  15707. _.K1 = t1;
  15708. _.K2 = t2;
  15709. _.V = t3;
  15710. },
  15711. SassApiValue_assertSelector(_this, allowParent, $name) {
  15712. var error, stackTrace, t1, exception,
  15713. string = _this._selectorString$1($name);
  15714. try {
  15715. t1 = A.SelectorList_SelectorList$parse(string, allowParent, null, false);
  15716. return t1;
  15717. } catch (exception) {
  15718. t1 = A.unwrapException(exception);
  15719. if (type$.SassFormatException._is(t1)) {
  15720. error = t1;
  15721. stackTrace = A.getTraceFromException(exception);
  15722. t1 = B.JSString_methods.replaceFirst$2(J.toString$0$(error), "Error: ", "");
  15723. A.throwWithTrace(new A.SassScriptException($name == null ? t1 : "$" + $name + ": " + t1), error, stackTrace);
  15724. } else
  15725. throw exception;
  15726. }
  15727. },
  15728. SassApiValue_assertCompoundSelector(_this, $name) {
  15729. var error, stackTrace, t1, exception,
  15730. allowParent = false,
  15731. string = _this._selectorString$1($name);
  15732. try {
  15733. t1 = new A.SelectorParser(allowParent, false, A.SpanScanner$(string, null), null).parseCompoundSelector$0();
  15734. return t1;
  15735. } catch (exception) {
  15736. t1 = A.unwrapException(exception);
  15737. if (type$.SassFormatException._is(t1)) {
  15738. error = t1;
  15739. stackTrace = A.getTraceFromException(exception);
  15740. t1 = B.JSString_methods.replaceFirst$2(J.toString$0$(error), "Error: ", "");
  15741. A.throwWithTrace(new A.SassScriptException("$" + $name + ": " + t1), error, stackTrace);
  15742. } else
  15743. throw exception;
  15744. }
  15745. },
  15746. Value: function Value() {
  15747. },
  15748. SassArgumentList$(contents, keywords, separator) {
  15749. var t1 = type$.Value;
  15750. t1 = new A.SassArgumentList(A.ConstantMap_ConstantMap$from(keywords, type$.String, t1), A.List_List$unmodifiable(contents, t1), separator, false);
  15751. t1.SassList$3$brackets(contents, separator, false);
  15752. return t1;
  15753. },
  15754. SassArgumentList: function SassArgumentList(t0, t1, t2, t3) {
  15755. var _ = this;
  15756. _._keywords = t0;
  15757. _._wereKeywordsAccessed = false;
  15758. _._list$_contents = t1;
  15759. _._separator = t2;
  15760. _._hasBrackets = t3;
  15761. },
  15762. SassBoolean: function SassBoolean(t0) {
  15763. this.value = t0;
  15764. },
  15765. SassCalculation_calc(argument) {
  15766. var t1,
  15767. _0_0 = A.SassCalculation__simplify(argument);
  15768. $label0$0: {
  15769. if (_0_0 instanceof A.SassNumber) {
  15770. t1 = _0_0;
  15771. break $label0$0;
  15772. }
  15773. if (_0_0 instanceof A.SassCalculation) {
  15774. t1 = _0_0;
  15775. break $label0$0;
  15776. }
  15777. t1 = new A.SassCalculation("calc", A.List_List$unmodifiable([_0_0], type$.Object));
  15778. break $label0$0;
  15779. }
  15780. return t1;
  15781. },
  15782. SassCalculation_min($arguments) {
  15783. var minimum, _i, arg, t2,
  15784. args = A.List_List$unmodifiable(new A.MappedListIterable($arguments, A.calculation_SassCalculation__simplify$closure(), A._arrayInstanceType($arguments)._eval$1("MappedListIterable<1,@>")), type$.Object),
  15785. t1 = args.length;
  15786. if (t1 === 0)
  15787. throw A.wrapException(A.ArgumentError$("min() must have at least one argument.", null));
  15788. for (minimum = null, _i = 0; _i < t1; ++_i) {
  15789. arg = args[_i];
  15790. if (arg instanceof A.SassNumber)
  15791. t2 = minimum != null && !minimum.isComparableTo$1(arg);
  15792. else
  15793. t2 = true;
  15794. if (t2) {
  15795. minimum = null;
  15796. break;
  15797. } else if (minimum == null || minimum.greaterThan$1(arg).value)
  15798. minimum = arg;
  15799. }
  15800. if (minimum != null)
  15801. return minimum;
  15802. A.SassCalculation__verifyCompatibleNumbers(args);
  15803. return new A.SassCalculation("min", args);
  15804. },
  15805. SassCalculation_max($arguments) {
  15806. var maximum, _i, arg, t2,
  15807. args = A.List_List$unmodifiable(new A.MappedListIterable($arguments, A.calculation_SassCalculation__simplify$closure(), A._arrayInstanceType($arguments)._eval$1("MappedListIterable<1,@>")), type$.Object),
  15808. t1 = args.length;
  15809. if (t1 === 0)
  15810. throw A.wrapException(A.ArgumentError$("max() must have at least one argument.", null));
  15811. for (maximum = null, _i = 0; _i < t1; ++_i) {
  15812. arg = args[_i];
  15813. if (arg instanceof A.SassNumber)
  15814. t2 = maximum != null && !maximum.isComparableTo$1(arg);
  15815. else
  15816. t2 = true;
  15817. if (t2) {
  15818. maximum = null;
  15819. break;
  15820. } else if (maximum == null || maximum.lessThan$1(arg).value)
  15821. maximum = arg;
  15822. }
  15823. if (maximum != null)
  15824. return maximum;
  15825. A.SassCalculation__verifyCompatibleNumbers(args);
  15826. return new A.SassCalculation("max", args);
  15827. },
  15828. SassCalculation_hypot($arguments) {
  15829. var first, subtotal, i, number, value, t2,
  15830. args = A.List_List$unmodifiable(new A.MappedListIterable($arguments, A.calculation_SassCalculation__simplify$closure(), A._arrayInstanceType($arguments)._eval$1("MappedListIterable<1,@>")), type$.Object),
  15831. t1 = args.length;
  15832. if (t1 === 0)
  15833. throw A.wrapException(A.ArgumentError$("hypot() must have at least one argument.", null));
  15834. A.SassCalculation__verifyCompatibleNumbers(args);
  15835. first = B.JSArray_methods.get$first(args);
  15836. if (!(first instanceof A.SassNumber) || first.hasUnit$1("%"))
  15837. return new A.SassCalculation("hypot", args);
  15838. for (subtotal = 0, i = 0; i < t1;) {
  15839. number = args[i];
  15840. if (!(number instanceof A.SassNumber) || !number.hasCompatibleUnits$1(first))
  15841. return new A.SassCalculation("hypot", args);
  15842. ++i;
  15843. value = number.convertValueToMatch$3(first, "numbers[" + i + "]", "numbers[1]");
  15844. subtotal += value * value;
  15845. }
  15846. t1 = Math.sqrt(subtotal);
  15847. t2 = first.get$numeratorUnits(first);
  15848. return A.SassNumber_SassNumber$withUnits(t1, first.get$denominatorUnits(first), t2);
  15849. },
  15850. SassCalculation_abs(argument) {
  15851. argument = A.SassCalculation__simplify(argument);
  15852. if (!(argument instanceof A.SassNumber))
  15853. return new A.SassCalculation("abs", A._setArrayType([argument], type$.JSArray_Object));
  15854. if (argument.hasUnit$1("%"))
  15855. A.warnForDeprecation(string$.Passinp + argument.toString$0(0) + ")\nTo emit a CSS abs() now: abs(#{" + argument.toString$0(0) + string$.x7d__Mor, B.Deprecation_pLJ);
  15856. return A.SassNumber_SassNumber(Math.abs(argument._number$_value), null).coerceToMatch$1(argument);
  15857. },
  15858. SassCalculation_exp(argument) {
  15859. argument = A.SassCalculation__simplify(argument);
  15860. if (!(argument instanceof A.SassNumber))
  15861. return new A.SassCalculation("exp", A._setArrayType([argument], type$.JSArray_Object));
  15862. argument.assertNoUnits$0();
  15863. return A.pow0(A.SassNumber_SassNumber(2.718281828459045, null), argument);
  15864. },
  15865. SassCalculation_sign(argument) {
  15866. var t1, _0_2, t2, arg;
  15867. argument = A.SassCalculation__simplify(argument);
  15868. $label0$0: {
  15869. t1 = argument instanceof A.SassNumber;
  15870. if (t1) {
  15871. _0_2 = argument._number$_value;
  15872. if (!isNaN(_0_2))
  15873. t2 = 0 === _0_2;
  15874. else
  15875. t2 = true;
  15876. } else
  15877. t2 = false;
  15878. if (t2) {
  15879. t1 = argument;
  15880. break $label0$0;
  15881. }
  15882. if (t1) {
  15883. t1 = !argument.hasUnit$1("%");
  15884. arg = argument;
  15885. } else {
  15886. arg = null;
  15887. t1 = false;
  15888. }
  15889. if (t1) {
  15890. t1 = A.SassNumber_SassNumber(J.get$sign$in(arg._number$_value), null).coerceToMatch$1(argument);
  15891. break $label0$0;
  15892. }
  15893. t1 = new A.SassCalculation("sign", A._setArrayType([argument], type$.JSArray_Object));
  15894. break $label0$0;
  15895. }
  15896. return t1;
  15897. },
  15898. SassCalculation_clamp(min, value, max) {
  15899. var t1, args;
  15900. if (value == null && max != null)
  15901. throw A.wrapException(A.ArgumentError$("If value is null, max must also be null.", null));
  15902. min = A.SassCalculation__simplify(min);
  15903. value = A.NullableExtension_andThen(value, A.calculation_SassCalculation__simplify$closure());
  15904. max = A.NullableExtension_andThen(max, A.calculation_SassCalculation__simplify$closure());
  15905. if (min instanceof A.SassNumber && value instanceof A.SassNumber && max instanceof A.SassNumber && min.hasCompatibleUnits$1(value) && min.hasCompatibleUnits$1(max)) {
  15906. if (value.lessThanOrEquals$1(min).value)
  15907. return min;
  15908. if (value.greaterThanOrEquals$1(max).value)
  15909. return max;
  15910. return value;
  15911. }
  15912. t1 = [min];
  15913. if (value != null)
  15914. t1.push(value);
  15915. if (max != null)
  15916. t1.push(max);
  15917. args = A.List_List$unmodifiable(t1, type$.Object);
  15918. A.SassCalculation__verifyCompatibleNumbers(args);
  15919. A.SassCalculation__verifyLength(args, 3);
  15920. return new A.SassCalculation("clamp", args);
  15921. },
  15922. SassCalculation_pow(base, exponent) {
  15923. var t1 = A._setArrayType([base], type$.JSArray_Object);
  15924. if (exponent != null)
  15925. t1.push(exponent);
  15926. A.SassCalculation__verifyLength(t1, 2);
  15927. base = A.SassCalculation__simplify(base);
  15928. exponent = A.NullableExtension_andThen(exponent, A.calculation_SassCalculation__simplify$closure());
  15929. if (!(base instanceof A.SassNumber) || !(exponent instanceof A.SassNumber))
  15930. return new A.SassCalculation("pow", t1);
  15931. base.assertNoUnits$0();
  15932. exponent.assertNoUnits$0();
  15933. return A.pow0(base, exponent);
  15934. },
  15935. SassCalculation_log(number, base) {
  15936. var t1, t2;
  15937. number = A.SassCalculation__simplify(number);
  15938. base = A.NullableExtension_andThen(base, A.calculation_SassCalculation__simplify$closure());
  15939. t1 = A._setArrayType([number], type$.JSArray_Object);
  15940. t2 = base != null;
  15941. if (t2)
  15942. t1.push(base);
  15943. if (number instanceof A.SassNumber)
  15944. t2 = t2 && !(base instanceof A.SassNumber);
  15945. else
  15946. t2 = true;
  15947. if (t2)
  15948. return new A.SassCalculation("log", t1);
  15949. number.assertNoUnits$0();
  15950. if (base instanceof A.SassNumber) {
  15951. base.assertNoUnits$0();
  15952. return A.log(number, base);
  15953. }
  15954. return A.log(number, null);
  15955. },
  15956. SassCalculation_atan2(y, x) {
  15957. var t1;
  15958. y = A.SassCalculation__simplify(y);
  15959. x = A.NullableExtension_andThen(x, A.calculation_SassCalculation__simplify$closure());
  15960. t1 = A._setArrayType([y], type$.JSArray_Object);
  15961. if (x != null)
  15962. t1.push(x);
  15963. A.SassCalculation__verifyLength(t1, 2);
  15964. A.SassCalculation__verifyCompatibleNumbers(t1);
  15965. if (!(y instanceof A.SassNumber) || !(x instanceof A.SassNumber) || y.hasUnit$1("%") || x.hasUnit$1("%") || !y.hasCompatibleUnits$1(x))
  15966. return new A.SassCalculation("atan2", t1);
  15967. return A.SassNumber_SassNumber$withUnits(Math.atan2(y._number$_value, x.convertValueToMatch$3(y, "x", "y")) * 57.29577951308232, null, A._setArrayType(["deg"], type$.JSArray_String));
  15968. },
  15969. SassCalculation_rem(dividend, modulus) {
  15970. var t1, result;
  15971. dividend = A.SassCalculation__simplify(dividend);
  15972. modulus = A.NullableExtension_andThen(modulus, A.calculation_SassCalculation__simplify$closure());
  15973. t1 = A._setArrayType([dividend], type$.JSArray_Object);
  15974. if (modulus != null)
  15975. t1.push(modulus);
  15976. A.SassCalculation__verifyLength(t1, 2);
  15977. A.SassCalculation__verifyCompatibleNumbers(t1);
  15978. if (!(dividend instanceof A.SassNumber) || !(modulus instanceof A.SassNumber) || !dividend.hasCompatibleUnits$1(modulus))
  15979. return new A.SassCalculation("rem", t1);
  15980. result = dividend.modulo$1(modulus);
  15981. t1 = modulus._number$_value;
  15982. if (A.DoubleWithSignedZero_get_signIncludingZero(t1) !== A.DoubleWithSignedZero_get_signIncludingZero(dividend._number$_value)) {
  15983. if (t1 == 1 / 0 || t1 == -1 / 0)
  15984. return dividend;
  15985. if (result._number$_value === 0)
  15986. return result.unaryMinus$0();
  15987. return result.minus$1(modulus);
  15988. }
  15989. return result;
  15990. },
  15991. SassCalculation_mod(dividend, modulus) {
  15992. var t1;
  15993. dividend = A.SassCalculation__simplify(dividend);
  15994. modulus = A.NullableExtension_andThen(modulus, A.calculation_SassCalculation__simplify$closure());
  15995. t1 = A._setArrayType([dividend], type$.JSArray_Object);
  15996. if (modulus != null)
  15997. t1.push(modulus);
  15998. A.SassCalculation__verifyLength(t1, 2);
  15999. A.SassCalculation__verifyCompatibleNumbers(t1);
  16000. if (!(dividend instanceof A.SassNumber) || !(modulus instanceof A.SassNumber) || !dividend.hasCompatibleUnits$1(modulus))
  16001. return new A.SassCalculation("mod", t1);
  16002. return dividend.modulo$1(modulus);
  16003. },
  16004. SassCalculation_roundInternal(strategyOrNumber, numberOrStep, step, inLegacySassFunction, span, warn) {
  16005. var t2, t3, _0_8_isSet, _0_6_isSet, _0_6_isSet0, t4, _0_14_isSet, _0_16, _0_18, _0_18_isSet, _0_20, _0_20_isSet, strategy, _0_9_isSet0, _0_12, _0_14, _0_16_isSet, t5, _0_12_isSet, _0_12_isSet0, rest, _null = null, _s5_ = "round",
  16006. _0_1 = A.SassCalculation__simplify(strategyOrNumber),
  16007. _0_6 = A.NullableExtension_andThen(numberOrStep, A.calculation_SassCalculation__simplify$closure()),
  16008. _0_9 = A.NullableExtension_andThen(step, A.calculation_SassCalculation__simplify$closure()),
  16009. _0_10 = _0_1,
  16010. _0_8 = _null,
  16011. _0_60 = _null,
  16012. _0_100 = _null,
  16013. _0_10_isSet = false,
  16014. _0_90 = _null,
  16015. _0_9_isSet = false,
  16016. number = _null,
  16017. t1 = false;
  16018. if (_0_1 instanceof A.SassNumber) {
  16019. t2 = _0_10;
  16020. t3 = type$.SassNumber;
  16021. _0_8_isSet = !t3._as(t2).get$hasUnits();
  16022. if (_0_8_isSet) {
  16023. number = t3._as(_0_10);
  16024. _0_8 = _0_6 == null;
  16025. _0_10_isSet = _0_8;
  16026. _0_60 = _0_6;
  16027. if (_0_10_isSet) {
  16028. _0_100 = _0_9 == null;
  16029. t1 = _0_100;
  16030. _0_90 = _0_9;
  16031. }
  16032. _0_9_isSet = _0_10_isSet;
  16033. }
  16034. _0_6_isSet = _0_8_isSet;
  16035. } else {
  16036. _0_8_isSet = false;
  16037. _0_6_isSet = false;
  16038. }
  16039. if (t1)
  16040. return A.SassNumber_SassNumber(B.JSNumber_methods.round$0(number._number$_value), _null);
  16041. t1 = false;
  16042. if (_0_10 instanceof A.SassNumber) {
  16043. t2 = _0_10;
  16044. type$.SassNumber._as(t2);
  16045. if (_0_8_isSet)
  16046. t3 = _0_8;
  16047. else {
  16048. if (_0_6_isSet)
  16049. t3 = _0_60;
  16050. else {
  16051. t3 = _0_6;
  16052. _0_60 = t3;
  16053. _0_6_isSet = true;
  16054. }
  16055. _0_8 = t3 == null;
  16056. t3 = _0_8;
  16057. _0_8_isSet = true;
  16058. }
  16059. if (t3) {
  16060. if (_0_10_isSet)
  16061. t1 = _0_100;
  16062. else {
  16063. if (_0_9_isSet)
  16064. t1 = _0_90;
  16065. else {
  16066. t1 = _0_9;
  16067. _0_90 = t1;
  16068. _0_9_isSet = true;
  16069. }
  16070. _0_100 = t1 == null;
  16071. t1 = _0_100;
  16072. _0_10_isSet = true;
  16073. }
  16074. t1 = t1 && inLegacySassFunction != null;
  16075. }
  16076. number = t2;
  16077. } else
  16078. number = _null;
  16079. if (t1) {
  16080. warn.call$2(string$.In_fut, B.Deprecation_1AX);
  16081. t1 = B.JSNumber_methods.round$0(number._number$_value);
  16082. t2 = number.get$numeratorUnits(number);
  16083. return A.SassNumber_SassNumber$withUnits(t1, number.get$denominatorUnits(number), t2);
  16084. }
  16085. step = _null;
  16086. t1 = false;
  16087. if (_0_10 instanceof A.SassNumber) {
  16088. _0_6_isSet0 = true;
  16089. t2 = _0_10;
  16090. t3 = type$.SassNumber;
  16091. t3._as(t2);
  16092. if (_0_6_isSet)
  16093. t4 = _0_60;
  16094. else {
  16095. t4 = _0_6;
  16096. _0_6_isSet = _0_6_isSet0;
  16097. _0_60 = t4;
  16098. }
  16099. if (t4 instanceof A.SassNumber) {
  16100. if (_0_6_isSet)
  16101. t4 = _0_60;
  16102. else {
  16103. t4 = _0_6;
  16104. _0_6_isSet = _0_6_isSet0;
  16105. _0_60 = t4;
  16106. }
  16107. t3._as(t4);
  16108. if (_0_10_isSet)
  16109. t1 = _0_100;
  16110. else {
  16111. if (_0_9_isSet)
  16112. t1 = _0_90;
  16113. else {
  16114. t1 = _0_9;
  16115. _0_90 = t1;
  16116. _0_9_isSet = true;
  16117. }
  16118. _0_100 = t1 == null;
  16119. t1 = _0_100;
  16120. _0_10_isSet = true;
  16121. }
  16122. t1 = t1 && !t2.hasCompatibleUnits$1(t4);
  16123. step = t4;
  16124. }
  16125. number = t2;
  16126. } else
  16127. number = _null;
  16128. if (t1) {
  16129. t1 = type$.JSArray_Object;
  16130. A.SassCalculation__verifyCompatibleNumbers(A._setArrayType([number, step], t1));
  16131. return new A.SassCalculation(_s5_, A._setArrayType([number, step], t1));
  16132. }
  16133. step = _null;
  16134. t1 = false;
  16135. if (_0_10 instanceof A.SassNumber) {
  16136. _0_6_isSet0 = true;
  16137. t2 = _0_10;
  16138. t3 = type$.SassNumber;
  16139. t3._as(t2);
  16140. if (_0_6_isSet)
  16141. t4 = _0_60;
  16142. else {
  16143. t4 = _0_6;
  16144. _0_6_isSet = _0_6_isSet0;
  16145. _0_60 = t4;
  16146. }
  16147. if (t4 instanceof A.SassNumber) {
  16148. if (_0_6_isSet)
  16149. t4 = _0_60;
  16150. else {
  16151. t4 = _0_6;
  16152. _0_6_isSet = _0_6_isSet0;
  16153. _0_60 = t4;
  16154. }
  16155. t3._as(t4);
  16156. if (_0_10_isSet)
  16157. t1 = _0_100;
  16158. else {
  16159. if (_0_9_isSet)
  16160. t1 = _0_90;
  16161. else {
  16162. t1 = _0_9;
  16163. _0_90 = t1;
  16164. _0_9_isSet = true;
  16165. }
  16166. _0_100 = t1 == null;
  16167. t1 = _0_100;
  16168. _0_10_isSet = true;
  16169. }
  16170. step = t4;
  16171. }
  16172. number = t2;
  16173. } else
  16174. number = _null;
  16175. if (t1) {
  16176. A.SassCalculation__verifyCompatibleNumbers(A._setArrayType([number, step], type$.JSArray_Object));
  16177. return A.SassCalculation__roundWithStep("nearest", number, step);
  16178. }
  16179. _0_14_isSet = _0_10 instanceof A.SassString;
  16180. _0_16 = _null;
  16181. _0_18 = _null;
  16182. _0_18_isSet = false;
  16183. _0_20 = _null;
  16184. _0_20_isSet = false;
  16185. strategy = _null;
  16186. number = _null;
  16187. step = _null;
  16188. t1 = false;
  16189. if (_0_14_isSet) {
  16190. _0_6_isSet0 = true;
  16191. _0_9_isSet0 = true;
  16192. t2 = _0_10;
  16193. _0_12 = type$.SassString._as(t2)._string$_text;
  16194. t2 = _0_12;
  16195. _0_14 = "nearest" === t2;
  16196. t2 = _0_14;
  16197. _0_16_isSet = !t2;
  16198. t2 = true;
  16199. if (_0_16_isSet) {
  16200. _0_16 = "up" === _0_12;
  16201. t3 = _0_16;
  16202. _0_18_isSet = !t3;
  16203. if (_0_18_isSet) {
  16204. _0_18 = "down" === _0_12;
  16205. t3 = _0_18;
  16206. _0_20_isSet = !t3;
  16207. if (_0_20_isSet) {
  16208. _0_20 = "to-zero" === _0_12;
  16209. t2 = _0_20;
  16210. }
  16211. }
  16212. }
  16213. if (t2) {
  16214. t2 = _0_10;
  16215. type$.SassString._as(t2);
  16216. if (_0_6_isSet)
  16217. t3 = _0_60;
  16218. else {
  16219. t3 = _0_6;
  16220. _0_6_isSet = _0_6_isSet0;
  16221. _0_60 = t3;
  16222. }
  16223. if (t3 instanceof A.SassNumber) {
  16224. if (_0_6_isSet)
  16225. t3 = _0_60;
  16226. else {
  16227. t3 = _0_6;
  16228. _0_6_isSet = _0_6_isSet0;
  16229. _0_60 = t3;
  16230. }
  16231. t4 = type$.SassNumber;
  16232. t4._as(t3);
  16233. if (_0_9_isSet)
  16234. t5 = _0_90;
  16235. else {
  16236. t5 = _0_9;
  16237. _0_9_isSet = _0_9_isSet0;
  16238. _0_90 = t5;
  16239. }
  16240. if (t5 instanceof A.SassNumber) {
  16241. if (_0_9_isSet)
  16242. t1 = _0_90;
  16243. else {
  16244. t1 = _0_9;
  16245. _0_9_isSet = _0_9_isSet0;
  16246. _0_90 = t1;
  16247. }
  16248. t4._as(t1);
  16249. t4 = !t3.hasCompatibleUnits$1(t1);
  16250. step = t1;
  16251. t1 = t4;
  16252. }
  16253. number = t3;
  16254. }
  16255. strategy = t2;
  16256. }
  16257. } else {
  16258. _0_12 = _null;
  16259. _0_14 = _0_12;
  16260. _0_16_isSet = false;
  16261. }
  16262. if (t1) {
  16263. t1 = type$.JSArray_Object;
  16264. A.SassCalculation__verifyCompatibleNumbers(A._setArrayType([number, step], t1));
  16265. return new A.SassCalculation(_s5_, A._setArrayType([strategy, number, step], t1));
  16266. }
  16267. strategy = _null;
  16268. number = _null;
  16269. step = _null;
  16270. t1 = false;
  16271. if (_0_10 instanceof A.SassString) {
  16272. _0_6_isSet0 = true;
  16273. _0_9_isSet0 = true;
  16274. _0_12_isSet = true;
  16275. if (_0_14_isSet) {
  16276. t2 = _0_14;
  16277. _0_12_isSet0 = _0_14_isSet;
  16278. } else {
  16279. t2 = _0_10;
  16280. _0_12 = type$.SassString._as(t2)._string$_text;
  16281. t2 = _0_12;
  16282. _0_14 = "nearest" === t2;
  16283. t2 = _0_14;
  16284. _0_12_isSet0 = _0_12_isSet;
  16285. _0_14_isSet = true;
  16286. }
  16287. t3 = true;
  16288. if (!t2) {
  16289. if (_0_16_isSet)
  16290. t2 = _0_16;
  16291. else {
  16292. if (_0_12_isSet0)
  16293. t2 = _0_12;
  16294. else {
  16295. t2 = _0_10;
  16296. _0_12 = type$.SassString._as(t2)._string$_text;
  16297. t2 = _0_12;
  16298. _0_12_isSet0 = _0_12_isSet;
  16299. }
  16300. _0_16 = "up" === t2;
  16301. t2 = _0_16;
  16302. _0_16_isSet = true;
  16303. }
  16304. if (!t2) {
  16305. if (_0_18_isSet)
  16306. t2 = _0_18;
  16307. else {
  16308. if (_0_12_isSet0)
  16309. t2 = _0_12;
  16310. else {
  16311. t2 = _0_10;
  16312. _0_12 = type$.SassString._as(t2)._string$_text;
  16313. t2 = _0_12;
  16314. _0_12_isSet0 = _0_12_isSet;
  16315. }
  16316. _0_18 = "down" === t2;
  16317. t2 = _0_18;
  16318. _0_18_isSet = true;
  16319. }
  16320. if (!t2)
  16321. if (_0_20_isSet) {
  16322. t2 = _0_20;
  16323. _0_12_isSet = _0_12_isSet0;
  16324. } else {
  16325. if (_0_12_isSet0) {
  16326. t2 = _0_12;
  16327. _0_12_isSet = _0_12_isSet0;
  16328. } else {
  16329. t2 = _0_10;
  16330. _0_12 = type$.SassString._as(t2)._string$_text;
  16331. t2 = _0_12;
  16332. }
  16333. _0_20 = "to-zero" === t2;
  16334. t2 = _0_20;
  16335. _0_20_isSet = true;
  16336. }
  16337. else {
  16338. t2 = t3;
  16339. _0_12_isSet = _0_12_isSet0;
  16340. }
  16341. } else {
  16342. t2 = t3;
  16343. _0_12_isSet = _0_12_isSet0;
  16344. }
  16345. } else {
  16346. t2 = t3;
  16347. _0_12_isSet = _0_12_isSet0;
  16348. }
  16349. if (t2) {
  16350. t2 = _0_10;
  16351. type$.SassString._as(t2);
  16352. if (_0_6_isSet)
  16353. t3 = _0_60;
  16354. else {
  16355. t3 = _0_6;
  16356. _0_6_isSet = _0_6_isSet0;
  16357. _0_60 = t3;
  16358. }
  16359. if (t3 instanceof A.SassNumber) {
  16360. if (_0_6_isSet)
  16361. t3 = _0_60;
  16362. else {
  16363. t3 = _0_6;
  16364. _0_6_isSet = _0_6_isSet0;
  16365. _0_60 = t3;
  16366. }
  16367. t4 = type$.SassNumber;
  16368. t4._as(t3);
  16369. if (_0_9_isSet)
  16370. t1 = _0_90;
  16371. else {
  16372. t1 = _0_9;
  16373. _0_9_isSet = _0_9_isSet0;
  16374. _0_90 = t1;
  16375. }
  16376. t1 = t1 instanceof A.SassNumber;
  16377. if (t1) {
  16378. if (_0_9_isSet)
  16379. t5 = _0_90;
  16380. else {
  16381. t5 = _0_9;
  16382. _0_9_isSet = _0_9_isSet0;
  16383. _0_90 = t5;
  16384. }
  16385. t4._as(t5);
  16386. step = t5;
  16387. }
  16388. number = t3;
  16389. }
  16390. strategy = t2;
  16391. }
  16392. } else
  16393. _0_12_isSet = _0_14_isSet;
  16394. if (t1) {
  16395. A.SassCalculation__verifyCompatibleNumbers(A._setArrayType([number, step], type$.JSArray_Object));
  16396. return A.SassCalculation__roundWithStep(strategy._string$_text, number, step);
  16397. }
  16398. strategy = _null;
  16399. rest = _null;
  16400. t1 = false;
  16401. if (_0_10 instanceof A.SassString) {
  16402. _0_6_isSet0 = true;
  16403. _0_12_isSet0 = true;
  16404. if (_0_14_isSet)
  16405. t2 = _0_14;
  16406. else {
  16407. if (_0_12_isSet)
  16408. t2 = _0_12;
  16409. else {
  16410. t2 = _0_10;
  16411. _0_12 = type$.SassString._as(t2)._string$_text;
  16412. t2 = _0_12;
  16413. _0_12_isSet = _0_12_isSet0;
  16414. }
  16415. _0_14 = "nearest" === t2;
  16416. t2 = _0_14;
  16417. _0_14_isSet = true;
  16418. }
  16419. t3 = true;
  16420. if (!t2) {
  16421. if (_0_16_isSet)
  16422. t2 = _0_16;
  16423. else {
  16424. if (_0_12_isSet)
  16425. t2 = _0_12;
  16426. else {
  16427. t2 = _0_10;
  16428. _0_12 = type$.SassString._as(t2)._string$_text;
  16429. t2 = _0_12;
  16430. _0_12_isSet = _0_12_isSet0;
  16431. }
  16432. _0_16 = "up" === t2;
  16433. t2 = _0_16;
  16434. _0_16_isSet = true;
  16435. }
  16436. if (!t2) {
  16437. if (_0_18_isSet)
  16438. t2 = _0_18;
  16439. else {
  16440. if (_0_12_isSet)
  16441. t2 = _0_12;
  16442. else {
  16443. t2 = _0_10;
  16444. _0_12 = type$.SassString._as(t2)._string$_text;
  16445. t2 = _0_12;
  16446. _0_12_isSet = _0_12_isSet0;
  16447. }
  16448. _0_18 = "down" === t2;
  16449. t2 = _0_18;
  16450. _0_18_isSet = true;
  16451. }
  16452. if (!t2)
  16453. if (_0_20_isSet)
  16454. t2 = _0_20;
  16455. else {
  16456. if (_0_12_isSet)
  16457. t2 = _0_12;
  16458. else {
  16459. t2 = _0_10;
  16460. _0_12 = type$.SassString._as(t2)._string$_text;
  16461. t2 = _0_12;
  16462. _0_12_isSet = _0_12_isSet0;
  16463. }
  16464. _0_20 = "to-zero" === t2;
  16465. t2 = _0_20;
  16466. _0_20_isSet = true;
  16467. }
  16468. else
  16469. t2 = t3;
  16470. } else
  16471. t2 = t3;
  16472. } else
  16473. t2 = t3;
  16474. if (t2) {
  16475. t2 = _0_10;
  16476. t3 = type$.SassString;
  16477. t3._as(t2);
  16478. if (_0_6_isSet)
  16479. t4 = _0_60;
  16480. else {
  16481. t4 = _0_6;
  16482. _0_6_isSet = _0_6_isSet0;
  16483. _0_60 = t4;
  16484. }
  16485. if (t4 instanceof A.SassString) {
  16486. if (_0_6_isSet)
  16487. t4 = _0_60;
  16488. else {
  16489. t4 = _0_6;
  16490. _0_6_isSet = _0_6_isSet0;
  16491. _0_60 = t4;
  16492. }
  16493. t3._as(t4);
  16494. if (_0_10_isSet)
  16495. t1 = _0_100;
  16496. else {
  16497. if (_0_9_isSet)
  16498. t1 = _0_90;
  16499. else {
  16500. t1 = _0_9;
  16501. _0_90 = t1;
  16502. _0_9_isSet = true;
  16503. }
  16504. _0_100 = t1 == null;
  16505. t1 = _0_100;
  16506. _0_10_isSet = true;
  16507. }
  16508. rest = t4;
  16509. }
  16510. strategy = t2;
  16511. }
  16512. }
  16513. if (t1)
  16514. return new A.SassCalculation(_s5_, A._setArrayType([strategy, rest], type$.JSArray_Object));
  16515. t1 = false;
  16516. if (_0_10 instanceof A.SassString) {
  16517. _0_12_isSet0 = true;
  16518. if (_0_14_isSet)
  16519. t2 = _0_14;
  16520. else {
  16521. if (_0_12_isSet)
  16522. t2 = _0_12;
  16523. else {
  16524. t2 = _0_10;
  16525. _0_12 = type$.SassString._as(t2)._string$_text;
  16526. t2 = _0_12;
  16527. _0_12_isSet = _0_12_isSet0;
  16528. }
  16529. _0_14 = "nearest" === t2;
  16530. t2 = _0_14;
  16531. _0_14_isSet = true;
  16532. }
  16533. t3 = true;
  16534. if (!t2) {
  16535. if (_0_16_isSet)
  16536. t2 = _0_16;
  16537. else {
  16538. if (_0_12_isSet)
  16539. t2 = _0_12;
  16540. else {
  16541. t2 = _0_10;
  16542. _0_12 = type$.SassString._as(t2)._string$_text;
  16543. t2 = _0_12;
  16544. _0_12_isSet = _0_12_isSet0;
  16545. }
  16546. _0_16 = "up" === t2;
  16547. t2 = _0_16;
  16548. _0_16_isSet = true;
  16549. }
  16550. if (!t2) {
  16551. if (_0_18_isSet)
  16552. t2 = _0_18;
  16553. else {
  16554. if (_0_12_isSet)
  16555. t2 = _0_12;
  16556. else {
  16557. t2 = _0_10;
  16558. _0_12 = type$.SassString._as(t2)._string$_text;
  16559. t2 = _0_12;
  16560. _0_12_isSet = _0_12_isSet0;
  16561. }
  16562. _0_18 = "down" === t2;
  16563. t2 = _0_18;
  16564. _0_18_isSet = true;
  16565. }
  16566. if (!t2)
  16567. if (_0_20_isSet)
  16568. t2 = _0_20;
  16569. else {
  16570. if (_0_12_isSet)
  16571. t2 = _0_12;
  16572. else {
  16573. t2 = _0_10;
  16574. _0_12 = type$.SassString._as(t2)._string$_text;
  16575. t2 = _0_12;
  16576. _0_12_isSet = _0_12_isSet0;
  16577. }
  16578. _0_20 = "to-zero" === t2;
  16579. t2 = _0_20;
  16580. _0_20_isSet = true;
  16581. }
  16582. else
  16583. t2 = t3;
  16584. } else
  16585. t2 = t3;
  16586. } else
  16587. t2 = t3;
  16588. if (t2) {
  16589. if (_0_6_isSet)
  16590. t2 = _0_60;
  16591. else {
  16592. t2 = _0_6;
  16593. _0_60 = t2;
  16594. _0_6_isSet = true;
  16595. }
  16596. if (t2 != null)
  16597. if (_0_10_isSet)
  16598. t1 = _0_100;
  16599. else {
  16600. if (_0_9_isSet)
  16601. t1 = _0_90;
  16602. else {
  16603. t1 = _0_9;
  16604. _0_90 = t1;
  16605. _0_9_isSet = true;
  16606. }
  16607. _0_100 = t1 == null;
  16608. t1 = _0_100;
  16609. _0_10_isSet = true;
  16610. }
  16611. }
  16612. }
  16613. if (t1)
  16614. throw A.wrapException(A.SassScriptException$(string$.If_str, _null));
  16615. t1 = false;
  16616. if (_0_10 instanceof A.SassString) {
  16617. _0_12_isSet0 = true;
  16618. if (_0_14_isSet)
  16619. t2 = _0_14;
  16620. else {
  16621. if (_0_12_isSet)
  16622. t2 = _0_12;
  16623. else {
  16624. t2 = _0_10;
  16625. _0_12 = type$.SassString._as(t2)._string$_text;
  16626. t2 = _0_12;
  16627. _0_12_isSet = _0_12_isSet0;
  16628. }
  16629. _0_14 = "nearest" === t2;
  16630. t2 = _0_14;
  16631. _0_14_isSet = true;
  16632. }
  16633. t3 = true;
  16634. if (!t2) {
  16635. if (_0_16_isSet)
  16636. t2 = _0_16;
  16637. else {
  16638. if (_0_12_isSet)
  16639. t2 = _0_12;
  16640. else {
  16641. t2 = _0_10;
  16642. _0_12 = type$.SassString._as(t2)._string$_text;
  16643. t2 = _0_12;
  16644. _0_12_isSet = _0_12_isSet0;
  16645. }
  16646. _0_16 = "up" === t2;
  16647. t2 = _0_16;
  16648. _0_16_isSet = true;
  16649. }
  16650. if (!t2) {
  16651. if (_0_18_isSet)
  16652. t2 = _0_18;
  16653. else {
  16654. if (_0_12_isSet)
  16655. t2 = _0_12;
  16656. else {
  16657. t2 = _0_10;
  16658. _0_12 = type$.SassString._as(t2)._string$_text;
  16659. t2 = _0_12;
  16660. _0_12_isSet = _0_12_isSet0;
  16661. }
  16662. _0_18 = "down" === t2;
  16663. t2 = _0_18;
  16664. _0_18_isSet = true;
  16665. }
  16666. if (!t2)
  16667. if (_0_20_isSet)
  16668. t2 = _0_20;
  16669. else {
  16670. if (_0_12_isSet)
  16671. t2 = _0_12;
  16672. else {
  16673. t2 = _0_10;
  16674. _0_12 = type$.SassString._as(t2)._string$_text;
  16675. t2 = _0_12;
  16676. _0_12_isSet = _0_12_isSet0;
  16677. }
  16678. _0_20 = "to-zero" === t2;
  16679. t2 = _0_20;
  16680. _0_20_isSet = true;
  16681. }
  16682. else
  16683. t2 = t3;
  16684. } else
  16685. t2 = t3;
  16686. } else
  16687. t2 = t3;
  16688. if (t2) {
  16689. if (_0_8_isSet)
  16690. t2 = _0_8;
  16691. else {
  16692. if (_0_6_isSet)
  16693. t2 = _0_60;
  16694. else {
  16695. t2 = _0_6;
  16696. _0_60 = t2;
  16697. _0_6_isSet = true;
  16698. }
  16699. _0_8 = t2 == null;
  16700. t2 = _0_8;
  16701. _0_8_isSet = true;
  16702. }
  16703. if (t2)
  16704. if (_0_10_isSet)
  16705. t1 = _0_100;
  16706. else {
  16707. if (_0_9_isSet)
  16708. t1 = _0_90;
  16709. else {
  16710. t1 = _0_9;
  16711. _0_90 = t1;
  16712. _0_9_isSet = true;
  16713. }
  16714. _0_100 = t1 == null;
  16715. t1 = _0_100;
  16716. _0_10_isSet = true;
  16717. }
  16718. }
  16719. }
  16720. if (t1)
  16721. throw A.wrapException(A.SassScriptException$(string$.Number, _null));
  16722. number = _0_10;
  16723. t1 = false;
  16724. if (_0_8_isSet)
  16725. t2 = _0_8;
  16726. else {
  16727. if (_0_6_isSet)
  16728. t2 = _0_60;
  16729. else {
  16730. t2 = _0_6;
  16731. _0_60 = t2;
  16732. _0_6_isSet = true;
  16733. }
  16734. _0_8 = t2 == null;
  16735. t2 = _0_8;
  16736. }
  16737. if (t2)
  16738. if (_0_10_isSet)
  16739. t1 = _0_100;
  16740. else {
  16741. if (_0_9_isSet)
  16742. t1 = _0_90;
  16743. else {
  16744. t1 = _0_9;
  16745. _0_90 = t1;
  16746. _0_9_isSet = true;
  16747. }
  16748. _0_100 = t1 == null;
  16749. t1 = _0_100;
  16750. _0_10_isSet = true;
  16751. }
  16752. if (t1)
  16753. return new A.SassCalculation(_s5_, A._setArrayType([number], type$.JSArray_Object));
  16754. number = _0_10;
  16755. step = _null;
  16756. t1 = false;
  16757. _0_6_isSet0 = true;
  16758. if (_0_6_isSet)
  16759. t2 = _0_60;
  16760. else {
  16761. t2 = _0_6;
  16762. _0_6_isSet = _0_6_isSet0;
  16763. _0_60 = t2;
  16764. }
  16765. if (t2 != null) {
  16766. if (_0_6_isSet)
  16767. step = _0_60;
  16768. else {
  16769. step = _0_6;
  16770. _0_6_isSet = _0_6_isSet0;
  16771. _0_60 = step;
  16772. }
  16773. if (step == null)
  16774. step = type$.Object._as(step);
  16775. if (_0_10_isSet)
  16776. t1 = _0_100;
  16777. else {
  16778. if (_0_9_isSet)
  16779. t1 = _0_90;
  16780. else {
  16781. t1 = _0_9;
  16782. _0_90 = t1;
  16783. _0_9_isSet = true;
  16784. }
  16785. _0_100 = t1 == null;
  16786. t1 = _0_100;
  16787. }
  16788. }
  16789. if (t1)
  16790. return new A.SassCalculation(_s5_, A._setArrayType([number, step], type$.JSArray_Object));
  16791. if (_0_10 instanceof A.SassString) {
  16792. t1 = true;
  16793. if (_0_14_isSet)
  16794. t2 = _0_14;
  16795. else {
  16796. if (_0_12_isSet)
  16797. t2 = _0_12;
  16798. else {
  16799. t2 = _0_10;
  16800. _0_12 = type$.SassString._as(t2)._string$_text;
  16801. t2 = _0_12;
  16802. _0_12_isSet = true;
  16803. }
  16804. _0_14 = "nearest" === t2;
  16805. t2 = _0_14;
  16806. }
  16807. if (!t2) {
  16808. if (_0_16_isSet)
  16809. t2 = _0_16;
  16810. else {
  16811. if (_0_12_isSet)
  16812. t2 = _0_12;
  16813. else {
  16814. t2 = _0_10;
  16815. _0_12 = type$.SassString._as(t2)._string$_text;
  16816. t2 = _0_12;
  16817. _0_12_isSet = true;
  16818. }
  16819. _0_16 = "up" === t2;
  16820. t2 = _0_16;
  16821. }
  16822. if (!t2) {
  16823. if (_0_18_isSet)
  16824. t2 = _0_18;
  16825. else {
  16826. if (_0_12_isSet)
  16827. t2 = _0_12;
  16828. else {
  16829. t2 = _0_10;
  16830. _0_12 = type$.SassString._as(t2)._string$_text;
  16831. t2 = _0_12;
  16832. _0_12_isSet = true;
  16833. }
  16834. _0_18 = "down" === t2;
  16835. t2 = _0_18;
  16836. }
  16837. if (!t2)
  16838. if (_0_20_isSet)
  16839. t1 = _0_20;
  16840. else {
  16841. if (_0_12_isSet)
  16842. t1 = _0_12;
  16843. else {
  16844. t1 = _0_10;
  16845. _0_12 = type$.SassString._as(t1)._string$_text;
  16846. t1 = _0_12;
  16847. }
  16848. _0_20 = "to-zero" === t1;
  16849. t1 = _0_20;
  16850. }
  16851. }
  16852. }
  16853. } else
  16854. t1 = false;
  16855. if (!t1)
  16856. if (_0_10 instanceof A.SassString) {
  16857. t1 = _0_10;
  16858. t1 = type$.SassString._as(t1).get$isVar();
  16859. } else
  16860. t1 = false;
  16861. else
  16862. t1 = true;
  16863. number = _null;
  16864. step = _null;
  16865. t2 = false;
  16866. if (t1) {
  16867. _0_6_isSet0 = true;
  16868. _0_9_isSet0 = true;
  16869. t1 = _0_10;
  16870. type$.SassString._as(t1);
  16871. if (_0_6_isSet)
  16872. t3 = _0_60;
  16873. else {
  16874. t3 = _0_6;
  16875. _0_6_isSet = _0_6_isSet0;
  16876. _0_60 = t3;
  16877. }
  16878. if (t3 != null) {
  16879. if (_0_6_isSet)
  16880. number = _0_60;
  16881. else {
  16882. number = _0_6;
  16883. _0_6_isSet = _0_6_isSet0;
  16884. _0_60 = number;
  16885. }
  16886. if (number == null)
  16887. number = type$.Object._as(number);
  16888. if (_0_9_isSet)
  16889. t2 = _0_90;
  16890. else {
  16891. t2 = _0_9;
  16892. _0_9_isSet = _0_9_isSet0;
  16893. _0_90 = t2;
  16894. }
  16895. t2 = t2 != null;
  16896. if (t2) {
  16897. if (_0_9_isSet)
  16898. step = _0_90;
  16899. else {
  16900. step = _0_9;
  16901. _0_9_isSet = _0_9_isSet0;
  16902. _0_90 = step;
  16903. }
  16904. if (step == null)
  16905. step = type$.Object._as(step);
  16906. }
  16907. }
  16908. strategy = t1;
  16909. t1 = t2;
  16910. } else {
  16911. t1 = t2;
  16912. strategy = _null;
  16913. }
  16914. if (t1)
  16915. return new A.SassCalculation(_s5_, A._setArrayType([strategy, number, step], type$.JSArray_Object));
  16916. t1 = false;
  16917. if ((_0_6_isSet ? _0_60 : _0_6) != null)
  16918. t1 = (_0_9_isSet ? _0_90 : _0_9) != null;
  16919. if (t1)
  16920. throw A.wrapException(A.SassScriptException$(A.S(strategyOrNumber) + string$.x20must_b, _null));
  16921. t1 = A.SassScriptException$("Invalid parameters.", _null);
  16922. throw A.wrapException(t1);
  16923. },
  16924. SassCalculation_calcSize(basis, value) {
  16925. var t1 = type$.JSArray_Object,
  16926. t2 = A._setArrayType([basis], t1);
  16927. if (value != null)
  16928. t2.push(value);
  16929. A.SassCalculation__verifyLength(t2, 2);
  16930. basis = A.SassCalculation__simplify(basis);
  16931. value = A.NullableExtension_andThen(value, A.calculation_SassCalculation__simplify$closure());
  16932. t1 = A._setArrayType([basis], t1);
  16933. if (value != null)
  16934. t1.push(value);
  16935. return new A.SassCalculation("calc-size", t1);
  16936. },
  16937. SassCalculation_operateInternal(operator, left, right, inLegacySassFunction, simplify, warn) {
  16938. var compatible, t1;
  16939. if (!simplify)
  16940. return new A.CalculationOperation(operator, left, right);
  16941. left = A.SassCalculation__simplify(left);
  16942. right = A.SassCalculation__simplify(right);
  16943. if (B.CalculationOperator_F7i === operator || B.CalculationOperator_oum === operator) {
  16944. if (left instanceof A.SassNumber && right instanceof A.SassNumber) {
  16945. compatible = left.hasCompatibleUnits$1(right);
  16946. if (!compatible && inLegacySassFunction != null && left.isComparableTo$1(right)) {
  16947. warn.call$2("In future versions of Sass, " + inLegacySassFunction + "() will be interpreted as the CSS " + inLegacySassFunction + string$.x28__cal + inLegacySassFunction + string$.x28__ins, B.Deprecation_1AX);
  16948. compatible = true;
  16949. }
  16950. if (compatible)
  16951. return operator === B.CalculationOperator_F7i ? left.plus$1(right) : left.minus$1(right);
  16952. }
  16953. A.SassCalculation__verifyCompatibleNumbers(A._setArrayType([left, right], type$.JSArray_Object));
  16954. if (right instanceof A.SassNumber) {
  16955. t1 = right._number$_value;
  16956. t1 = t1 < 0 && !A.fuzzyEquals(t1, 0);
  16957. } else
  16958. t1 = false;
  16959. if (t1) {
  16960. right = right.times$1(A.SassNumber_SassNumber(-1, null));
  16961. operator = operator === B.CalculationOperator_F7i ? B.CalculationOperator_oum : B.CalculationOperator_F7i;
  16962. }
  16963. return new A.CalculationOperation(operator, left, right);
  16964. } else if (left instanceof A.SassNumber && right instanceof A.SassNumber)
  16965. return operator === B.CalculationOperator_kkN ? left.times$1(right) : left.dividedBy$1(right);
  16966. else
  16967. return new A.CalculationOperation(operator, left, right);
  16968. },
  16969. SassCalculation__roundWithStep(strategy, number, step) {
  16970. var _0_2, t1, _0_6, _0_8_isSet, _0_8, _0_9_isSet, _0_9, _0_11, _0_13, stepWithNumberUnit, t2;
  16971. if (!A.LinkedHashSet_LinkedHashSet$_literal(["nearest", "up", "down", "to-zero"], type$.String).contains$1(0, strategy))
  16972. throw A.wrapException(A.ArgumentError$(strategy + string$.x20must_b, null));
  16973. _0_2 = number._number$_value;
  16974. if (_0_2 == 1 / 0 || _0_2 == -1 / 0) {
  16975. t1 = step._number$_value;
  16976. t1 = t1 == 1 / 0 || t1 == -1 / 0;
  16977. } else
  16978. t1 = false;
  16979. if (!t1) {
  16980. t1 = step._number$_value;
  16981. t1 = t1 === 0 || isNaN(_0_2) || isNaN(t1);
  16982. } else
  16983. t1 = true;
  16984. if (t1) {
  16985. t1 = number.get$numeratorUnits(number);
  16986. return A.SassNumber_SassNumber$withUnits(0 / 0, number.get$denominatorUnits(number), t1);
  16987. }
  16988. if (_0_2 == 1 / 0 || _0_2 == -1 / 0)
  16989. return number;
  16990. t1 = step._number$_value;
  16991. if (t1 == 1 / 0 || t1 == -1 / 0) {
  16992. $label0$0: {
  16993. if (0 === _0_2) {
  16994. t1 = number;
  16995. break $label0$0;
  16996. }
  16997. _0_6 = "nearest" === strategy;
  16998. t1 = _0_6;
  16999. _0_8_isSet = !t1;
  17000. if (_0_8_isSet) {
  17001. _0_8 = "to-zero" === strategy;
  17002. _0_9_isSet = _0_8;
  17003. } else {
  17004. _0_8 = null;
  17005. _0_9_isSet = true;
  17006. }
  17007. if (_0_9_isSet) {
  17008. _0_9 = _0_2 > 0;
  17009. t1 = _0_9;
  17010. } else {
  17011. _0_9 = null;
  17012. t1 = false;
  17013. }
  17014. if (t1) {
  17015. t1 = number.get$numeratorUnits(number);
  17016. t1 = A.SassNumber_SassNumber$withUnits(0, number.get$denominatorUnits(number), t1);
  17017. break $label0$0;
  17018. }
  17019. if (!_0_6)
  17020. if (_0_8_isSet)
  17021. t1 = _0_8;
  17022. else {
  17023. _0_8 = "to-zero" === strategy;
  17024. t1 = _0_8;
  17025. }
  17026. else
  17027. t1 = true;
  17028. if (t1) {
  17029. t1 = number.get$numeratorUnits(number);
  17030. t1 = A.SassNumber_SassNumber$withUnits(-0.0, number.get$denominatorUnits(number), t1);
  17031. break $label0$0;
  17032. }
  17033. _0_11 = "up" === strategy;
  17034. t1 = _0_11;
  17035. if (t1)
  17036. if (_0_9_isSet)
  17037. t1 = _0_9;
  17038. else {
  17039. _0_9 = _0_2 > 0;
  17040. t1 = _0_9;
  17041. }
  17042. else
  17043. t1 = false;
  17044. if (t1) {
  17045. t1 = number.get$numeratorUnits(number);
  17046. t1 = A.SassNumber_SassNumber$withUnits(1 / 0, number.get$denominatorUnits(number), t1);
  17047. break $label0$0;
  17048. }
  17049. if (_0_11) {
  17050. t1 = number.get$numeratorUnits(number);
  17051. t1 = A.SassNumber_SassNumber$withUnits(-0.0, number.get$denominatorUnits(number), t1);
  17052. break $label0$0;
  17053. }
  17054. _0_13 = "down" === strategy;
  17055. t1 = _0_13;
  17056. if (t1)
  17057. t1 = _0_2 < 0;
  17058. else
  17059. t1 = false;
  17060. if (t1) {
  17061. t1 = number.get$numeratorUnits(number);
  17062. t1 = A.SassNumber_SassNumber$withUnits(-1 / 0, number.get$denominatorUnits(number), t1);
  17063. break $label0$0;
  17064. }
  17065. if (_0_13) {
  17066. t1 = number.get$numeratorUnits(number);
  17067. t1 = A.SassNumber_SassNumber$withUnits(0, number.get$denominatorUnits(number), t1);
  17068. break $label0$0;
  17069. }
  17070. t1 = A.throwExpression(A.UnsupportedError$("Invalid argument: " + strategy + "."));
  17071. }
  17072. return t1;
  17073. }
  17074. stepWithNumberUnit = step.convertValueToMatch$1(number);
  17075. $label1$1: {
  17076. if ("nearest" === strategy) {
  17077. t1 = B.JSNumber_methods.round$0(_0_2 / stepWithNumberUnit);
  17078. t2 = number.get$numeratorUnits(number);
  17079. t2 = A.SassNumber_SassNumber$withUnits(t1 * stepWithNumberUnit, number.get$denominatorUnits(number), t2);
  17080. t1 = t2;
  17081. break $label1$1;
  17082. }
  17083. if ("up" === strategy) {
  17084. t2 = _0_2 / stepWithNumberUnit;
  17085. t1 = t1 < 0 ? B.JSNumber_methods.floor$0(t2) : B.JSNumber_methods.ceil$0(t2);
  17086. t2 = number.get$numeratorUnits(number);
  17087. t2 = A.SassNumber_SassNumber$withUnits(t1 * stepWithNumberUnit, number.get$denominatorUnits(number), t2);
  17088. t1 = t2;
  17089. break $label1$1;
  17090. }
  17091. if ("down" === strategy) {
  17092. t2 = _0_2 / stepWithNumberUnit;
  17093. t1 = t1 < 0 ? B.JSNumber_methods.ceil$0(t2) : B.JSNumber_methods.floor$0(t2);
  17094. t2 = number.get$numeratorUnits(number);
  17095. t2 = A.SassNumber_SassNumber$withUnits(t1 * stepWithNumberUnit, number.get$denominatorUnits(number), t2);
  17096. t1 = t2;
  17097. break $label1$1;
  17098. }
  17099. if ("to-zero" === strategy) {
  17100. t1 = _0_2 / stepWithNumberUnit;
  17101. if (_0_2 < 0) {
  17102. t1 = B.JSNumber_methods.ceil$0(t1);
  17103. t2 = number.get$numeratorUnits(number);
  17104. t2 = A.SassNumber_SassNumber$withUnits(t1 * stepWithNumberUnit, number.get$denominatorUnits(number), t2);
  17105. t1 = t2;
  17106. } else {
  17107. t1 = B.JSNumber_methods.floor$0(t1);
  17108. t2 = number.get$numeratorUnits(number);
  17109. t2 = A.SassNumber_SassNumber$withUnits(t1 * stepWithNumberUnit, number.get$denominatorUnits(number), t2);
  17110. t1 = t2;
  17111. }
  17112. break $label1$1;
  17113. }
  17114. t1 = number.get$numeratorUnits(number);
  17115. t1 = A.SassNumber_SassNumber$withUnits(0 / 0, number.get$denominatorUnits(number), t1);
  17116. break $label1$1;
  17117. }
  17118. return t1;
  17119. },
  17120. SassCalculation__simplify(arg) {
  17121. var t1, t2, _0_11_isSet, _0_15, _0_12, _0_16_isSet, text, _0_11, _0_16, t3, _0_12_isSet, _0_15_isSet, value, _null = null,
  17122. _s32_ = " can't be used in a calculation.";
  17123. $label0$0: {
  17124. if (arg instanceof A.SassNumber || arg instanceof A.CalculationOperation) {
  17125. t1 = arg;
  17126. break $label0$0;
  17127. }
  17128. t1 = arg instanceof A.SassString;
  17129. t2 = _null;
  17130. if (t1 && !arg._hasQuotes) {
  17131. t1 = arg;
  17132. break $label0$0;
  17133. }
  17134. if (t1)
  17135. A.throwExpression(A.SassScriptException$("Quoted string " + arg.toString$0(0) + _s32_, _null));
  17136. _0_11_isSet = arg instanceof A.SassCalculation;
  17137. _0_15 = _null;
  17138. _0_12 = _null;
  17139. _0_16_isSet = false;
  17140. text = _null;
  17141. t1 = false;
  17142. if (_0_11_isSet) {
  17143. _0_11 = "calc" === arg.name;
  17144. if (_0_11) {
  17145. _0_12 = arg.$arguments;
  17146. _0_15 = _0_12.length === 1;
  17147. _0_16_isSet = _0_15;
  17148. if (_0_16_isSet) {
  17149. _0_16 = _0_12[0];
  17150. t2 = _0_16;
  17151. if (t2 instanceof A.SassString) {
  17152. t2 = _0_16;
  17153. t3 = type$.SassString;
  17154. if (!t3._as(t2)._hasQuotes) {
  17155. t1 = _0_16;
  17156. text = t3._as(t1)._string$_text;
  17157. t1 = A.SassCalculation__needsParentheses(text);
  17158. }
  17159. }
  17160. } else
  17161. _0_16 = t2;
  17162. } else
  17163. _0_16 = t2;
  17164. _0_12_isSet = _0_11;
  17165. _0_15_isSet = _0_12_isSet;
  17166. } else {
  17167. _0_16 = t2;
  17168. _0_11 = _null;
  17169. _0_15_isSet = false;
  17170. _0_12_isSet = false;
  17171. }
  17172. if (t1) {
  17173. t1 = new A.SassString("(" + A.S(text) + ")", false);
  17174. break $label0$0;
  17175. }
  17176. t1 = false;
  17177. if (_0_11_isSet)
  17178. if (_0_11)
  17179. if (_0_15_isSet)
  17180. t1 = _0_15;
  17181. else {
  17182. if (_0_12_isSet)
  17183. t1 = _0_12;
  17184. else {
  17185. _0_12 = arg.$arguments;
  17186. t1 = _0_12;
  17187. _0_12_isSet = true;
  17188. }
  17189. _0_15 = t1.length === 1;
  17190. t1 = _0_15;
  17191. }
  17192. if (t1) {
  17193. if (_0_16_isSet)
  17194. value = _0_16;
  17195. else {
  17196. _0_16 = (_0_12_isSet ? _0_12 : arg.$arguments)[0];
  17197. value = _0_16;
  17198. }
  17199. t1 = value;
  17200. break $label0$0;
  17201. }
  17202. if (_0_11_isSet) {
  17203. t1 = arg;
  17204. break $label0$0;
  17205. }
  17206. if (arg instanceof A.Value)
  17207. A.throwExpression(A.SassScriptException$("Value " + arg.toString$0(0) + _s32_, _null));
  17208. t1 = A.throwExpression(A.ArgumentError$("Unexpected calculation argument " + A.S(arg) + ".", _null));
  17209. }
  17210. return t1;
  17211. },
  17212. SassCalculation__needsParentheses(text) {
  17213. var t1, couldBeVar, second, third, fourth, i, t2,
  17214. first = text.charCodeAt(0);
  17215. if (first === 32 || first === 9 || first === 10 || first === 13 || first === 12 || first === 47 || first === 42)
  17216. return true;
  17217. t1 = text.length;
  17218. couldBeVar = t1 >= 4 && A.characterEqualsIgnoreCase(first, 118);
  17219. if (t1 < 2)
  17220. return false;
  17221. second = text.charCodeAt(1);
  17222. if (second === 32 || second === 9 || second === 10 || second === 13 || second === 12 || second === 47 || second === 42)
  17223. return true;
  17224. couldBeVar = couldBeVar && A.characterEqualsIgnoreCase(second, 97);
  17225. if (t1 < 3)
  17226. return false;
  17227. third = text.charCodeAt(2);
  17228. if (third === 32 || third === 9 || third === 10 || third === 13 || third === 12 || third === 47 || third === 42)
  17229. return true;
  17230. couldBeVar = couldBeVar && A.characterEqualsIgnoreCase(third, 114);
  17231. if (t1 < 4)
  17232. return false;
  17233. fourth = text.charCodeAt(3);
  17234. if (couldBeVar && fourth === 40)
  17235. return true;
  17236. if (fourth === 32 || fourth === 9 || fourth === 10 || fourth === 13 || fourth === 12 || fourth === 47 || fourth === 42)
  17237. return true;
  17238. for (i = 4; i < t1; ++i) {
  17239. t2 = text.charCodeAt(i);
  17240. if (t2 === 32 || t2 === 9 || t2 === 10 || t2 === 13 || t2 === 12 || t2 === 47 || t2 === 42)
  17241. return true;
  17242. }
  17243. return false;
  17244. },
  17245. SassCalculation__verifyCompatibleNumbers(args) {
  17246. var t1, _i, t2, arg, i, number1, j, number2;
  17247. for (t1 = args.length, _i = 0; t2 = args.length, _i < t2; args.length === t1 || (0, A.throwConcurrentModificationError)(args), ++_i) {
  17248. arg = args[_i];
  17249. if (arg instanceof A.SassNumber && arg.get$hasComplexUnits())
  17250. throw A.wrapException(A.SassScriptException$("Number " + arg.toString$0(0) + " isn't compatible with CSS calculations.", null));
  17251. }
  17252. for (t1 = t2, i = 0; i < t1 - 1; ++i) {
  17253. number1 = args[i];
  17254. if (!(number1 instanceof A.SassNumber))
  17255. continue;
  17256. for (j = i + 1; t1 = args.length, j < t1; ++j) {
  17257. number2 = args[j];
  17258. if (!(number2 instanceof A.SassNumber))
  17259. continue;
  17260. if (number1.hasPossiblyCompatibleUnits$1(number2))
  17261. continue;
  17262. throw A.wrapException(A.SassScriptException$(number1.toString$0(0) + " and " + number2.toString$0(0) + " are incompatible.", null));
  17263. }
  17264. }
  17265. },
  17266. SassCalculation__verifyLength(args, expectedLength) {
  17267. var t1;
  17268. if (args.length === expectedLength)
  17269. return;
  17270. if (B.JSArray_methods.any$1(args, new A.SassCalculation__verifyLength_closure()))
  17271. return;
  17272. t1 = args.length;
  17273. throw A.wrapException(A.SassScriptException$("" + expectedLength + " arguments required, but only " + t1 + " " + A.pluralize("was", t1, "were") + " passed.", null));
  17274. },
  17275. SassCalculation__singleArgument($name, argument, mathFunc, forbidUnits) {
  17276. argument = A.SassCalculation__simplify(argument);
  17277. if (!(argument instanceof A.SassNumber))
  17278. return new A.SassCalculation($name, A._setArrayType([argument], type$.JSArray_Object));
  17279. if (forbidUnits)
  17280. argument.assertNoUnits$0();
  17281. return mathFunc.call$1(argument);
  17282. },
  17283. SassCalculation: function SassCalculation(t0, t1) {
  17284. this.name = t0;
  17285. this.$arguments = t1;
  17286. },
  17287. SassCalculation__verifyLength_closure: function SassCalculation__verifyLength_closure() {
  17288. },
  17289. CalculationOperation: function CalculationOperation(t0, t1, t2) {
  17290. this._operator = t0;
  17291. this._left = t1;
  17292. this._right = t2;
  17293. },
  17294. CalculationOperator: function CalculationOperator(t0, t1, t2, t3) {
  17295. var _ = this;
  17296. _.name = t0;
  17297. _.operator = t1;
  17298. _.precedence = t2;
  17299. _._name = t3;
  17300. },
  17301. SassColor_SassColor$rgb(red, green, blue, alpha) {
  17302. return A.SassColor_SassColor$rgbInternal(red, green, blue, alpha, null);
  17303. },
  17304. SassColor_SassColor$rgbInternal(red, green, blue, alpha, format) {
  17305. var _null = null,
  17306. t1 = red == null ? _null : red,
  17307. t2 = green == null ? _null : green,
  17308. t3 = blue == null ? _null : blue;
  17309. return A.SassColor$_forSpace(B.RgbColorSpace_i0P, t1, t2, t3, alpha == null ? _null : alpha, format);
  17310. },
  17311. SassColor_SassColor$hsl(hue, saturation, lightness, alpha) {
  17312. var _null = null,
  17313. t1 = hue == null ? _null : hue,
  17314. t2 = saturation == null ? _null : saturation,
  17315. t3 = lightness == null ? _null : lightness;
  17316. return A.SassColor_SassColor$forSpaceInternal(B.HslColorSpace_JQ2, t1, t2, t3, alpha == null ? _null : alpha);
  17317. },
  17318. SassColor_SassColor$hwb(hue, whiteness, blackness, alpha) {
  17319. var _null = null,
  17320. t1 = hue == null ? _null : hue,
  17321. t2 = whiteness == null ? _null : whiteness,
  17322. t3 = blackness == null ? _null : blackness;
  17323. return A.SassColor_SassColor$forSpaceInternal(B.HwbColorSpace_guQ, t1, t2, t3, alpha == null ? _null : alpha);
  17324. },
  17325. SassColor_SassColor$forSpaceInternal(space, channel0, channel1, channel2, alpha) {
  17326. var t1, t2, _null = null;
  17327. $label0$0: {
  17328. if (B.HslColorSpace_JQ2 === space) {
  17329. t1 = channel1 == null;
  17330. t2 = A.SassColor__normalizeHue(channel0, !t1 && channel1 < 0 && !A.fuzzyEquals(channel1, 0));
  17331. t2 = A.SassColor$_forSpace(space, t2, t1 ? _null : Math.abs(channel1), channel2, alpha, _null);
  17332. t1 = t2;
  17333. break $label0$0;
  17334. }
  17335. if (B.HwbColorSpace_guQ === space) {
  17336. t1 = A.SassColor$_forSpace(space, A.SassColor__normalizeHue(channel0, false), channel1, channel2, alpha, _null);
  17337. break $label0$0;
  17338. }
  17339. if (B.LchColorSpace_Bpv === space || B.OklchColorSpace_9Gj === space) {
  17340. t1 = channel1 == null;
  17341. t2 = t1 ? _null : Math.abs(channel1);
  17342. t2 = A.SassColor$_forSpace(space, channel0, t2, A.SassColor__normalizeHue(channel2, !t1 && channel1 < 0 && !A.fuzzyEquals(channel1, 0)), alpha, _null);
  17343. t1 = t2;
  17344. break $label0$0;
  17345. }
  17346. t1 = A.SassColor$_forSpace(space, channel0, channel1, channel2, alpha, _null);
  17347. break $label0$0;
  17348. }
  17349. return t1;
  17350. },
  17351. SassColor$_forSpace(_space, channel0OrNull, channel1OrNull, channel2OrNull, alpha, format) {
  17352. return new A.SassColor(_space, channel0OrNull, channel1OrNull, channel2OrNull, format, A.NullableExtension_andThen(alpha, new A.SassColor$_forSpace_closure()));
  17353. },
  17354. SassColor__normalizeHue(hue, invert) {
  17355. var t1, t2;
  17356. if (hue == null)
  17357. return hue;
  17358. t1 = B.JSNumber_methods.$mod(hue, 360);
  17359. t2 = invert ? 180 : 0;
  17360. return B.JSNumber_methods.$mod(t1 + 360 + t2, 360);
  17361. },
  17362. SassColor: function SassColor(t0, t1, t2, t3, t4, t5) {
  17363. var _ = this;
  17364. _._space = t0;
  17365. _.channel0OrNull = t1;
  17366. _.channel1OrNull = t2;
  17367. _.channel2OrNull = t3;
  17368. _.format = t4;
  17369. _.alphaOrNull = t5;
  17370. },
  17371. SassColor$_forSpace_closure: function SassColor$_forSpace_closure() {
  17372. },
  17373. _ColorFormatEnum: function _ColorFormatEnum() {
  17374. },
  17375. SpanColorFormat: function SpanColorFormat(t0) {
  17376. this._color$_span = t0;
  17377. },
  17378. ColorChannel: function ColorChannel(t0, t1, t2) {
  17379. this.name = t0;
  17380. this.isPolarAngle = t1;
  17381. this.associatedUnit = t2;
  17382. },
  17383. LinearChannel: function LinearChannel(t0, t1, t2, t3, t4, t5, t6, t7) {
  17384. var _ = this;
  17385. _.min = t0;
  17386. _.max = t1;
  17387. _.requiresPercent = t2;
  17388. _.lowerClamped = t3;
  17389. _.upperClamped = t4;
  17390. _.name = t5;
  17391. _.isPolarAngle = t6;
  17392. _.associatedUnit = t7;
  17393. },
  17394. GamutMapMethod_GamutMapMethod$fromName($name) {
  17395. var t1;
  17396. $label0$0: {
  17397. if ("clip" === $name) {
  17398. t1 = B.ClipGamutMap_clip;
  17399. break $label0$0;
  17400. }
  17401. if ("local-minde" === $name) {
  17402. t1 = B.LocalMindeGamutMap_A2x;
  17403. break $label0$0;
  17404. }
  17405. t1 = A.throwExpression(A.SassScriptException$('Unknown gamut map method "' + $name + '".', null));
  17406. }
  17407. return t1;
  17408. },
  17409. GamutMapMethod: function GamutMapMethod() {
  17410. },
  17411. ClipGamutMap: function ClipGamutMap(t0) {
  17412. this.name = t0;
  17413. },
  17414. LocalMindeGamutMap: function LocalMindeGamutMap(t0) {
  17415. this.name = t0;
  17416. },
  17417. InterpolationMethod$(space, hue) {
  17418. var t1;
  17419. if (space.get$isPolarInternal())
  17420. t1 = hue == null ? B.HueInterpolationMethod_0 : hue;
  17421. else
  17422. t1 = null;
  17423. if (!space.get$isPolarInternal() && hue != null)
  17424. A.throwExpression(A.ArgumentError$(string$.Hue_in + space.toString$0(0) + ".", null));
  17425. return new A.InterpolationMethod(space, t1);
  17426. },
  17427. InterpolationMethod_InterpolationMethod$fromValue(value, $name) {
  17428. var t1, space, hueMethod,
  17429. list = value.assertCommonListStyle$2$allowSlash($name, false);
  17430. if (list.length === 0)
  17431. throw A.wrapException(A.SassScriptException$(string$.Expecta, $name));
  17432. t1 = B.JSArray_methods.get$first(list).assertString$1($name);
  17433. t1.assertUnquoted$1($name);
  17434. space = A.ColorSpace_fromName(t1._string$_text, $name);
  17435. if (list.length === 1)
  17436. return A.InterpolationMethod$(space, null);
  17437. hueMethod = A.HueInterpolationMethod_HueInterpolationMethod$_fromValue(list[1], $name);
  17438. if (list.length === 2)
  17439. throw A.wrapException(A.SassScriptException$('Expected unquoted string "hue" after ' + value.toString$0(0) + ".", $name));
  17440. else {
  17441. t1 = list[2].assertString$1($name);
  17442. t1.assertUnquoted$1($name);
  17443. if (t1._string$_text.toLowerCase() !== "hue")
  17444. throw A.wrapException(A.SassScriptException$(string$.Expectu + value.toString$0(0) + ", was " + list[2].toString$0(0) + ".", $name));
  17445. else if (list.length > 3)
  17446. throw A.wrapException(A.SassScriptException$('Expected nothing after "hue" in ' + value.toString$0(0) + ".", $name));
  17447. else if (!space.get$isPolarInternal())
  17448. throw A.wrapException(A.SassScriptException$('Hue interpolation method "' + hueMethod.toString$0(0) + string$.x20hue__ + space.toString$0(0) + ".", $name));
  17449. }
  17450. return A.InterpolationMethod$(space, hueMethod);
  17451. },
  17452. HueInterpolationMethod_HueInterpolationMethod$_fromValue(value, $name) {
  17453. var _0_0,
  17454. t1 = value.assertString$1($name);
  17455. t1.assertUnquoted$0();
  17456. _0_0 = t1._string$_text.toLowerCase();
  17457. $label0$0: {
  17458. if ("shorter" === _0_0) {
  17459. t1 = B.HueInterpolationMethod_0;
  17460. break $label0$0;
  17461. }
  17462. if ("longer" === _0_0) {
  17463. t1 = B.HueInterpolationMethod_1;
  17464. break $label0$0;
  17465. }
  17466. if ("increasing" === _0_0) {
  17467. t1 = B.HueInterpolationMethod_2;
  17468. break $label0$0;
  17469. }
  17470. if ("decreasing" === _0_0) {
  17471. t1 = B.HueInterpolationMethod_3;
  17472. break $label0$0;
  17473. }
  17474. t1 = A.throwExpression(A.SassScriptException$("Unknown hue interpolation method " + value.toString$0(0) + ".", $name));
  17475. }
  17476. return t1;
  17477. },
  17478. InterpolationMethod: function InterpolationMethod(t0, t1) {
  17479. this.space = t0;
  17480. this.hue = t1;
  17481. },
  17482. HueInterpolationMethod: function HueInterpolationMethod(t0) {
  17483. this._name = t0;
  17484. },
  17485. ColorSpace_fromName($name, argumentName) {
  17486. var t1,
  17487. _0_0 = $name.toLowerCase();
  17488. $label0$0: {
  17489. if ("rgb" === _0_0) {
  17490. t1 = B.RgbColorSpace_i0P;
  17491. break $label0$0;
  17492. }
  17493. if ("hwb" === _0_0) {
  17494. t1 = B.HwbColorSpace_guQ;
  17495. break $label0$0;
  17496. }
  17497. if ("hsl" === _0_0) {
  17498. t1 = B.HslColorSpace_JQ2;
  17499. break $label0$0;
  17500. }
  17501. if ("srgb" === _0_0) {
  17502. t1 = B.SrgbColorSpace_thf;
  17503. break $label0$0;
  17504. }
  17505. if ("srgb-linear" === _0_0) {
  17506. t1 = B.SrgbLinearColorSpace_kUj;
  17507. break $label0$0;
  17508. }
  17509. if ("display-p3" === _0_0) {
  17510. t1 = B.DisplayP3ColorSpace_MmT;
  17511. break $label0$0;
  17512. }
  17513. if ("a98-rgb" === _0_0) {
  17514. t1 = B.A98RgbColorSpace_lf2;
  17515. break $label0$0;
  17516. }
  17517. if ("prophoto-rgb" === _0_0) {
  17518. t1 = B.ProphotoRgbColorSpace_BDz;
  17519. break $label0$0;
  17520. }
  17521. if ("rec2020" === _0_0) {
  17522. t1 = B.Rec2020ColorSpace_6oo;
  17523. break $label0$0;
  17524. }
  17525. if ("xyz" === _0_0 || "xyz-d65" === _0_0) {
  17526. t1 = B.XyzD65ColorSpace_WiJ;
  17527. break $label0$0;
  17528. }
  17529. if ("xyz-d50" === _0_0) {
  17530. t1 = B.XyzD50ColorSpace_2OB;
  17531. break $label0$0;
  17532. }
  17533. if ("lab" === _0_0) {
  17534. t1 = B.LabColorSpace_2nT;
  17535. break $label0$0;
  17536. }
  17537. if ("lch" === _0_0) {
  17538. t1 = B.LchColorSpace_Bpv;
  17539. break $label0$0;
  17540. }
  17541. if ("oklab" === _0_0) {
  17542. t1 = B.OklabColorSpace_540;
  17543. break $label0$0;
  17544. }
  17545. if ("oklch" === _0_0) {
  17546. t1 = B.OklchColorSpace_9Gj;
  17547. break $label0$0;
  17548. }
  17549. t1 = A.throwExpression(A.SassScriptException$('Unknown color space "' + $name + '".', argumentName));
  17550. }
  17551. return t1;
  17552. },
  17553. ColorSpace: function ColorSpace() {
  17554. },
  17555. A98RgbColorSpace: function A98RgbColorSpace(t0, t1) {
  17556. this.name = t0;
  17557. this._channels = t1;
  17558. },
  17559. DisplayP3ColorSpace: function DisplayP3ColorSpace(t0, t1) {
  17560. this.name = t0;
  17561. this._channels = t1;
  17562. },
  17563. HslColorSpace: function HslColorSpace(t0, t1) {
  17564. this.name = t0;
  17565. this._channels = t1;
  17566. },
  17567. HwbColorSpace: function HwbColorSpace(t0, t1) {
  17568. this.name = t0;
  17569. this._channels = t1;
  17570. },
  17571. HwbColorSpace_convert_toRgb: function HwbColorSpace_convert_toRgb(t0, t1) {
  17572. this._box_0 = t0;
  17573. this.factor = t1;
  17574. },
  17575. LabColorSpace: function LabColorSpace(t0, t1) {
  17576. this.name = t0;
  17577. this._channels = t1;
  17578. },
  17579. LchColorSpace: function LchColorSpace(t0, t1) {
  17580. this.name = t0;
  17581. this._channels = t1;
  17582. },
  17583. LmsColorSpace: function LmsColorSpace(t0, t1) {
  17584. this.name = t0;
  17585. this._channels = t1;
  17586. },
  17587. OklabColorSpace: function OklabColorSpace(t0, t1) {
  17588. this.name = t0;
  17589. this._channels = t1;
  17590. },
  17591. OklchColorSpace: function OklchColorSpace(t0, t1) {
  17592. this.name = t0;
  17593. this._channels = t1;
  17594. },
  17595. ProphotoRgbColorSpace: function ProphotoRgbColorSpace(t0, t1) {
  17596. this.name = t0;
  17597. this._channels = t1;
  17598. },
  17599. Rec2020ColorSpace: function Rec2020ColorSpace(t0, t1) {
  17600. this.name = t0;
  17601. this._channels = t1;
  17602. },
  17603. RgbColorSpace: function RgbColorSpace(t0, t1) {
  17604. this.name = t0;
  17605. this._channels = t1;
  17606. },
  17607. SrgbColorSpace: function SrgbColorSpace(t0, t1) {
  17608. this.name = t0;
  17609. this._channels = t1;
  17610. },
  17611. SrgbLinearColorSpace: function SrgbLinearColorSpace(t0, t1) {
  17612. this.name = t0;
  17613. this._channels = t1;
  17614. },
  17615. XyzD50ColorSpace: function XyzD50ColorSpace(t0, t1) {
  17616. this.name = t0;
  17617. this._channels = t1;
  17618. },
  17619. XyzD65ColorSpace: function XyzD65ColorSpace(t0, t1) {
  17620. this.name = t0;
  17621. this._channels = t1;
  17622. },
  17623. SassFunction: function SassFunction(t0, t1) {
  17624. this.callable = t0;
  17625. this._function$_compileContext = t1;
  17626. },
  17627. SassList$(contents, _separator, brackets) {
  17628. var t1 = new A.SassList(A.List_List$unmodifiable(contents, type$.Value), _separator, brackets);
  17629. t1.SassList$3$brackets(contents, _separator, brackets);
  17630. return t1;
  17631. },
  17632. SassList: function SassList(t0, t1, t2) {
  17633. this._list$_contents = t0;
  17634. this._separator = t1;
  17635. this._hasBrackets = t2;
  17636. },
  17637. SassList_isBlank_closure: function SassList_isBlank_closure() {
  17638. },
  17639. ListSeparator: function ListSeparator(t0, t1, t2) {
  17640. this._list$_name = t0;
  17641. this.separator = t1;
  17642. this._name = t2;
  17643. },
  17644. SassMap: function SassMap(t0) {
  17645. this._map$_contents = t0;
  17646. },
  17647. SassMixin: function SassMixin(t0, t1) {
  17648. this.callable = t0;
  17649. this._mixin$_compileContext = t1;
  17650. },
  17651. _SassNull: function _SassNull() {
  17652. },
  17653. conversionFactor(unit1, unit2) {
  17654. var _0_0;
  17655. if (unit1 === unit2)
  17656. return 1;
  17657. _0_0 = B.Map_NtHoP.$index(0, unit1);
  17658. if (_0_0 != null)
  17659. return _0_0.$index(0, unit2);
  17660. return null;
  17661. },
  17662. SassNumber_SassNumber(value, unit) {
  17663. return unit == null ? new A.UnitlessSassNumber(value, null) : new A.SingleUnitSassNumber(unit, value, null);
  17664. },
  17665. SassNumber_SassNumber$withUnits(value, denominatorUnits, numeratorUnits) {
  17666. var _0_4, t1, _0_6, _0_8_isSet, _0_10, _0_8, _0_10_isSet, _0_7, unit, _0_7_isSet, t2, _0_4_isSet, _0_7_isSet0, numerators, denominators, unsimplifiedDenominators, valueDouble, _i, denominator, simplifiedAway, i, factor, _1_2, _1_7_isSet, _1_7, _null = null,
  17667. _0_6_isSet = !false;
  17668. if (_0_6_isSet) {
  17669. _0_4 = numeratorUnits.length;
  17670. t1 = _0_4;
  17671. _0_6 = t1 <= 0;
  17672. _0_8_isSet = _0_6;
  17673. } else {
  17674. _0_4 = _null;
  17675. _0_6 = _0_4;
  17676. _0_8_isSet = true;
  17677. }
  17678. _0_10 = _null;
  17679. if (_0_8_isSet) {
  17680. _0_8 = denominatorUnits == null;
  17681. t1 = _0_8;
  17682. _0_10_isSet = !t1;
  17683. if (_0_10_isSet) {
  17684. _0_10 = (denominatorUnits == null ? type$.List_String._as(denominatorUnits) : denominatorUnits).length <= 0;
  17685. t1 = _0_10;
  17686. } else
  17687. t1 = true;
  17688. _0_7 = denominatorUnits;
  17689. } else {
  17690. _0_7 = _null;
  17691. _0_8 = _0_7;
  17692. _0_10_isSet = false;
  17693. t1 = false;
  17694. }
  17695. if (t1)
  17696. return new A.UnitlessSassNumber(value, _null);
  17697. unit = _null;
  17698. t1 = false;
  17699. _0_7_isSet = true;
  17700. if (_0_6_isSet) {
  17701. t2 = _0_4;
  17702. _0_4_isSet = _0_6_isSet;
  17703. } else {
  17704. _0_4 = numeratorUnits.length;
  17705. t2 = _0_4;
  17706. _0_4_isSet = true;
  17707. }
  17708. if (t2 === 1) {
  17709. unit = numeratorUnits[0];
  17710. if (_0_8_isSet) {
  17711. t1 = _0_8;
  17712. _0_7_isSet0 = _0_8_isSet;
  17713. } else {
  17714. _0_8 = denominatorUnits == null;
  17715. t1 = _0_8;
  17716. _0_7_isSet0 = _0_7_isSet;
  17717. _0_7 = denominatorUnits;
  17718. _0_8_isSet = true;
  17719. }
  17720. if (!t1)
  17721. if (_0_10_isSet) {
  17722. t1 = _0_10;
  17723. _0_7_isSet = _0_7_isSet0;
  17724. } else {
  17725. if (_0_7_isSet0) {
  17726. t1 = _0_7;
  17727. _0_7_isSet = _0_7_isSet0;
  17728. } else {
  17729. t1 = denominatorUnits;
  17730. _0_7 = t1;
  17731. }
  17732. _0_10 = (t1 == null ? type$.List_String._as(t1) : t1).length <= 0;
  17733. t1 = _0_10;
  17734. _0_10_isSet = true;
  17735. }
  17736. else {
  17737. _0_7_isSet = _0_7_isSet0;
  17738. t1 = true;
  17739. }
  17740. } else
  17741. _0_7_isSet = _0_8_isSet;
  17742. if (t1)
  17743. return new A.SingleUnitSassNumber(unit, value, _null);
  17744. t1 = false;
  17745. _0_7_isSet0 = true;
  17746. numerators = numeratorUnits;
  17747. if (_0_8_isSet)
  17748. t1 = _0_8;
  17749. else {
  17750. if (_0_7_isSet)
  17751. t1 = _0_7;
  17752. else {
  17753. t1 = denominatorUnits;
  17754. _0_7_isSet = _0_7_isSet0;
  17755. _0_7 = t1;
  17756. }
  17757. _0_8 = t1 == null;
  17758. t1 = _0_8;
  17759. }
  17760. if (!t1)
  17761. if (_0_10_isSet)
  17762. t1 = _0_10;
  17763. else {
  17764. if (_0_7_isSet)
  17765. t1 = _0_7;
  17766. else {
  17767. t1 = denominatorUnits;
  17768. _0_7_isSet = _0_7_isSet0;
  17769. _0_7 = t1;
  17770. }
  17771. _0_10 = (t1 == null ? type$.List_String._as(t1) : t1).length <= 0;
  17772. t1 = _0_10;
  17773. }
  17774. else
  17775. t1 = true;
  17776. if (t1)
  17777. return new A.ComplexSassNumber(A.List_List$unmodifiable(numerators, type$.String), B.List_empty, value, _null);
  17778. if (!false)
  17779. if (_0_6_isSet)
  17780. t1 = _0_6;
  17781. else {
  17782. if (_0_4_isSet)
  17783. t1 = _0_4;
  17784. else {
  17785. _0_4 = numeratorUnits.length;
  17786. t1 = _0_4;
  17787. }
  17788. _0_6 = t1 <= 0;
  17789. t1 = _0_6;
  17790. }
  17791. else
  17792. t1 = true;
  17793. denominators = _null;
  17794. if (t1) {
  17795. if (_0_7_isSet)
  17796. t1 = _0_7;
  17797. else {
  17798. t1 = denominatorUnits;
  17799. _0_7 = t1;
  17800. _0_7_isSet = true;
  17801. }
  17802. t1 = t1 != null;
  17803. if (t1) {
  17804. denominators = _0_7_isSet ? _0_7 : denominatorUnits;
  17805. if (denominators == null)
  17806. denominators = type$.List_String._as(denominators);
  17807. }
  17808. } else
  17809. t1 = false;
  17810. if (t1)
  17811. return new A.ComplexSassNumber(B.List_empty, A.List_List$unmodifiable(denominators, type$.String), value, _null);
  17812. numerators = A._setArrayType(numeratorUnits.slice(0), A._arrayInstanceType(numeratorUnits));
  17813. unsimplifiedDenominators = A._setArrayType(denominatorUnits.slice(0), A.instanceType(denominatorUnits));
  17814. denominators = A._setArrayType([], type$.JSArray_String);
  17815. for (t1 = unsimplifiedDenominators.length, valueDouble = value, _i = 0; _i < unsimplifiedDenominators.length; unsimplifiedDenominators.length === t1 || (0, A.throwConcurrentModificationError)(unsimplifiedDenominators), ++_i) {
  17816. denominator = unsimplifiedDenominators[_i];
  17817. i = 0;
  17818. while (true) {
  17819. if (!(i < numerators.length)) {
  17820. simplifiedAway = false;
  17821. break;
  17822. }
  17823. c$0: {
  17824. factor = A.conversionFactor(denominator, numerators[i]);
  17825. if (factor == null)
  17826. break c$0;
  17827. valueDouble *= factor;
  17828. B.JSArray_methods.removeAt$1(numerators, i);
  17829. simplifiedAway = true;
  17830. break;
  17831. }
  17832. ++i;
  17833. }
  17834. if (!simplifiedAway)
  17835. denominators.push(denominator);
  17836. }
  17837. $label0$1: {
  17838. _1_2 = numerators.length;
  17839. t1 = _1_2;
  17840. _1_7_isSet = t1 <= 0;
  17841. if (_1_7_isSet) {
  17842. _1_7 = denominators.length <= 0;
  17843. t1 = _1_7;
  17844. } else {
  17845. _1_7 = _null;
  17846. t1 = false;
  17847. }
  17848. if (t1) {
  17849. t1 = new A.UnitlessSassNumber(valueDouble, _null);
  17850. break $label0$1;
  17851. }
  17852. t1 = false;
  17853. if (_1_2 === 1) {
  17854. unit = numerators[0];
  17855. t1 = _1_7_isSet ? _1_7 : denominators.length <= 0;
  17856. } else
  17857. unit = _null;
  17858. if (t1) {
  17859. t1 = new A.SingleUnitSassNumber(unit, valueDouble, _null);
  17860. break $label0$1;
  17861. }
  17862. t1 = type$.String;
  17863. t1 = new A.ComplexSassNumber(A.List_List$unmodifiable(numerators, t1), A.List_List$unmodifiable(denominators, t1), valueDouble, _null);
  17864. break $label0$1;
  17865. }
  17866. return t1;
  17867. },
  17868. SassNumber: function SassNumber() {
  17869. },
  17870. SassNumber__coerceOrConvertValue_compatibilityException: function SassNumber__coerceOrConvertValue_compatibilityException(t0, t1, t2, t3, t4, t5, t6) {
  17871. var _ = this;
  17872. _.$this = t0;
  17873. _.other = t1;
  17874. _.otherName = t2;
  17875. _.otherHasUnits = t3;
  17876. _.name = t4;
  17877. _.newNumerators = t5;
  17878. _.newDenominators = t6;
  17879. },
  17880. SassNumber__coerceOrConvertValue_closure: function SassNumber__coerceOrConvertValue_closure(t0, t1) {
  17881. this._box_0 = t0;
  17882. this.newNumerator = t1;
  17883. },
  17884. SassNumber__coerceOrConvertValue_closure0: function SassNumber__coerceOrConvertValue_closure0(t0) {
  17885. this.compatibilityException = t0;
  17886. },
  17887. SassNumber__coerceOrConvertValue_closure1: function SassNumber__coerceOrConvertValue_closure1(t0, t1) {
  17888. this._box_0 = t0;
  17889. this.newDenominator = t1;
  17890. },
  17891. SassNumber__coerceOrConvertValue_closure2: function SassNumber__coerceOrConvertValue_closure2(t0) {
  17892. this.compatibilityException = t0;
  17893. },
  17894. SassNumber_plus_closure: function SassNumber_plus_closure() {
  17895. },
  17896. SassNumber_minus_closure: function SassNumber_minus_closure() {
  17897. },
  17898. SassNumber_multiplyUnits_closure: function SassNumber_multiplyUnits_closure(t0, t1) {
  17899. this._box_0 = t0;
  17900. this.numerator = t1;
  17901. },
  17902. SassNumber_multiplyUnits_closure0: function SassNumber_multiplyUnits_closure0(t0, t1) {
  17903. this.newNumerators = t0;
  17904. this.numerator = t1;
  17905. },
  17906. SassNumber_multiplyUnits_closure1: function SassNumber_multiplyUnits_closure1(t0, t1) {
  17907. this._box_0 = t0;
  17908. this.numerator = t1;
  17909. },
  17910. SassNumber_multiplyUnits_closure2: function SassNumber_multiplyUnits_closure2(t0, t1) {
  17911. this.newNumerators = t0;
  17912. this.numerator = t1;
  17913. },
  17914. SassNumber__areAnyConvertible_closure: function SassNumber__areAnyConvertible_closure(t0) {
  17915. this.units2 = t0;
  17916. },
  17917. SassNumber__canonicalizeUnitList_closure: function SassNumber__canonicalizeUnitList_closure() {
  17918. },
  17919. SassNumber__canonicalMultiplier_closure: function SassNumber__canonicalMultiplier_closure(t0) {
  17920. this.$this = t0;
  17921. },
  17922. SassNumber_unitSuggestion_closure: function SassNumber_unitSuggestion_closure() {
  17923. },
  17924. SassNumber_unitSuggestion_closure0: function SassNumber_unitSuggestion_closure0() {
  17925. },
  17926. ComplexSassNumber: function ComplexSassNumber(t0, t1, t2, t3) {
  17927. var _ = this;
  17928. _._numeratorUnits = t0;
  17929. _._denominatorUnits = t1;
  17930. _._number$_value = t2;
  17931. _.hashCache = null;
  17932. _.asSlash = t3;
  17933. },
  17934. SingleUnitSassNumber: function SingleUnitSassNumber(t0, t1, t2) {
  17935. var _ = this;
  17936. _._unit = t0;
  17937. _._number$_value = t1;
  17938. _.hashCache = null;
  17939. _.asSlash = t2;
  17940. },
  17941. SingleUnitSassNumber__coerceToUnit_closure: function SingleUnitSassNumber__coerceToUnit_closure(t0, t1) {
  17942. this.$this = t0;
  17943. this.unit = t1;
  17944. },
  17945. SingleUnitSassNumber__coerceValueToUnit_closure: function SingleUnitSassNumber__coerceValueToUnit_closure(t0) {
  17946. this.$this = t0;
  17947. },
  17948. SingleUnitSassNumber_multiplyUnits_closure: function SingleUnitSassNumber_multiplyUnits_closure(t0, t1) {
  17949. this._box_0 = t0;
  17950. this.$this = t1;
  17951. },
  17952. SingleUnitSassNumber_multiplyUnits_closure0: function SingleUnitSassNumber_multiplyUnits_closure0(t0, t1) {
  17953. this._box_0 = t0;
  17954. this.$this = t1;
  17955. },
  17956. UnitlessSassNumber: function UnitlessSassNumber(t0, t1) {
  17957. this._number$_value = t0;
  17958. this.hashCache = null;
  17959. this.asSlash = t1;
  17960. },
  17961. SassString$(_text, quotes) {
  17962. return new A.SassString(_text, quotes);
  17963. },
  17964. SassString: function SassString(t0, t1) {
  17965. var _ = this;
  17966. _._string$_text = t0;
  17967. _._hasQuotes = t1;
  17968. _.__SassString__sassLength_FI = $;
  17969. _._hashCache = null;
  17970. },
  17971. AnySelectorVisitor: function AnySelectorVisitor() {
  17972. },
  17973. AnySelectorVisitor_visitComplexSelector_closure: function AnySelectorVisitor_visitComplexSelector_closure(t0) {
  17974. this.$this = t0;
  17975. },
  17976. AnySelectorVisitor_visitCompoundSelector_closure: function AnySelectorVisitor_visitCompoundSelector_closure(t0) {
  17977. this.$this = t0;
  17978. },
  17979. _EvaluateVisitor$0(functions, importCache, logger, nodeImporter, quietDeps, sourceMap) {
  17980. var t1 = type$.Uri,
  17981. t2 = type$.Module_AsyncCallable,
  17982. t3 = A._setArrayType([], type$.JSArray_Record_2_String_and_AstNode);
  17983. t1 = new A._EvaluateVisitor0(importCache, nodeImporter, A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.AsyncCallable), A.LinkedHashMap_LinkedHashMap$_empty(t1, t2), A.LinkedHashMap_LinkedHashMap$_empty(t1, t2), A.LinkedHashMap_LinkedHashMap$_empty(t1, type$.Configuration), A.LinkedHashMap_LinkedHashMap$_empty(t1, type$.AstNode), logger, A.LinkedHashSet_LinkedHashSet$_empty(type$.Record_2_String_and_SourceSpan), quietDeps, sourceMap, new A.Object(), A.AsyncEnvironment$(), A.LinkedHashSet_LinkedHashSet$_empty(t1), A.LinkedHashMap_LinkedHashMap$_empty(t1, type$.nullable_AstNode), t3, B.Configuration_Map_empty_null);
  17984. t1._EvaluateVisitor$6$functions$importCache$logger$nodeImporter$quietDeps$sourceMap0(functions, importCache, logger, nodeImporter, quietDeps, sourceMap);
  17985. return t1;
  17986. },
  17987. _EvaluateVisitor0: function _EvaluateVisitor0(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15, t16) {
  17988. var _ = this;
  17989. _._async_evaluate$_importCache = t0;
  17990. _._async_evaluate$_nodeImporter = t1;
  17991. _._async_evaluate$_builtInFunctions = t2;
  17992. _._async_evaluate$_builtInModules = t3;
  17993. _._async_evaluate$_modules = t4;
  17994. _._async_evaluate$_moduleConfigurations = t5;
  17995. _._async_evaluate$_moduleNodes = t6;
  17996. _._async_evaluate$_logger = t7;
  17997. _._async_evaluate$_warningsEmitted = t8;
  17998. _._async_evaluate$_quietDeps = t9;
  17999. _._async_evaluate$_sourceMap = t10;
  18000. _._async_evaluate$_compileContext = t11;
  18001. _._async_evaluate$_environment = t12;
  18002. _._async_evaluate$_declarationName = _._async_evaluate$__parent = _._async_evaluate$_mediaQuerySources = _._async_evaluate$_mediaQueries = _._async_evaluate$_styleRuleIgnoringAtRoot = null;
  18003. _._async_evaluate$_member = "root stylesheet";
  18004. _._async_evaluate$_importSpan = _._async_evaluate$_callableNode = null;
  18005. _._async_evaluate$_inSupportsDeclaration = _._async_evaluate$_inKeyframes = _._async_evaluate$_atRootExcludingStyleRule = _._async_evaluate$_inUnknownAtRule = _._async_evaluate$_inFunction = false;
  18006. _._async_evaluate$_loadedUrls = t13;
  18007. _._async_evaluate$_activeModules = t14;
  18008. _._async_evaluate$_stack = t15;
  18009. _._async_evaluate$_importer = null;
  18010. _._async_evaluate$_inDependency = false;
  18011. _._async_evaluate$__extensionStore = _._async_evaluate$_preModuleComments = _._async_evaluate$_outOfOrderImports = _._async_evaluate$__endOfImports = _._async_evaluate$__root = _._async_evaluate$__stylesheet = null;
  18012. _._async_evaluate$_configuration = t16;
  18013. },
  18014. _EvaluateVisitor_closure12: function _EvaluateVisitor_closure12(t0) {
  18015. this.$this = t0;
  18016. },
  18017. _EvaluateVisitor_closure13: function _EvaluateVisitor_closure13(t0) {
  18018. this.$this = t0;
  18019. },
  18020. _EvaluateVisitor_closure14: function _EvaluateVisitor_closure14(t0) {
  18021. this.$this = t0;
  18022. },
  18023. _EvaluateVisitor_closure15: function _EvaluateVisitor_closure15(t0) {
  18024. this.$this = t0;
  18025. },
  18026. _EvaluateVisitor_closure16: function _EvaluateVisitor_closure16(t0) {
  18027. this.$this = t0;
  18028. },
  18029. _EvaluateVisitor_closure17: function _EvaluateVisitor_closure17(t0) {
  18030. this.$this = t0;
  18031. },
  18032. _EvaluateVisitor_closure18: function _EvaluateVisitor_closure18(t0) {
  18033. this.$this = t0;
  18034. },
  18035. _EvaluateVisitor_closure19: function _EvaluateVisitor_closure19(t0) {
  18036. this.$this = t0;
  18037. },
  18038. _EvaluateVisitor_closure20: function _EvaluateVisitor_closure20(t0) {
  18039. this.$this = t0;
  18040. },
  18041. _EvaluateVisitor__closure6: function _EvaluateVisitor__closure6(t0, t1, t2) {
  18042. this.$this = t0;
  18043. this.name = t1;
  18044. this.module = t2;
  18045. },
  18046. _EvaluateVisitor_closure21: function _EvaluateVisitor_closure21(t0) {
  18047. this.$this = t0;
  18048. },
  18049. _EvaluateVisitor__closure5: function _EvaluateVisitor__closure5(t0, t1, t2) {
  18050. this.$this = t0;
  18051. this.name = t1;
  18052. this.module = t2;
  18053. },
  18054. _EvaluateVisitor_closure22: function _EvaluateVisitor_closure22(t0) {
  18055. this.$this = t0;
  18056. },
  18057. _EvaluateVisitor_closure23: function _EvaluateVisitor_closure23(t0) {
  18058. this.$this = t0;
  18059. },
  18060. _EvaluateVisitor__closure3: function _EvaluateVisitor__closure3(t0, t1, t2) {
  18061. this.values = t0;
  18062. this.span = t1;
  18063. this.callableNode = t2;
  18064. },
  18065. _EvaluateVisitor__closure4: function _EvaluateVisitor__closure4(t0) {
  18066. this.$this = t0;
  18067. },
  18068. _EvaluateVisitor_closure24: function _EvaluateVisitor_closure24(t0) {
  18069. this.$this = t0;
  18070. },
  18071. _EvaluateVisitor_run_closure0: function _EvaluateVisitor_run_closure0(t0, t1, t2) {
  18072. this.$this = t0;
  18073. this.node = t1;
  18074. this.importer = t2;
  18075. },
  18076. _EvaluateVisitor_run__closure0: function _EvaluateVisitor_run__closure0(t0, t1, t2) {
  18077. this.$this = t0;
  18078. this.importer = t1;
  18079. this.node = t2;
  18080. },
  18081. _EvaluateVisitor__loadModule_closure1: function _EvaluateVisitor__loadModule_closure1(t0, t1) {
  18082. this._box_0 = t0;
  18083. this.callback = t1;
  18084. },
  18085. _EvaluateVisitor__loadModule_closure2: function _EvaluateVisitor__loadModule_closure2(t0, t1, t2, t3, t4, t5, t6) {
  18086. var _ = this;
  18087. _.$this = t0;
  18088. _.url = t1;
  18089. _.nodeWithSpan = t2;
  18090. _.baseUrl = t3;
  18091. _.namesInErrors = t4;
  18092. _.configuration = t5;
  18093. _.callback = t6;
  18094. },
  18095. _EvaluateVisitor__loadModule__closure1: function _EvaluateVisitor__loadModule__closure1(t0, t1) {
  18096. this.$this = t0;
  18097. this.message = t1;
  18098. },
  18099. _EvaluateVisitor__loadModule__closure2: function _EvaluateVisitor__loadModule__closure2(t0, t1, t2) {
  18100. this._box_1 = t0;
  18101. this.callback = t1;
  18102. this.firstLoad = t2;
  18103. },
  18104. _EvaluateVisitor__execute_closure0: function _EvaluateVisitor__execute_closure0(t0, t1, t2, t3, t4, t5, t6) {
  18105. var _ = this;
  18106. _.$this = t0;
  18107. _.importer = t1;
  18108. _.stylesheet = t2;
  18109. _.extensionStore = t3;
  18110. _.configuration = t4;
  18111. _.css = t5;
  18112. _.preModuleComments = t6;
  18113. },
  18114. _EvaluateVisitor__combineCss_closure1: function _EvaluateVisitor__combineCss_closure1() {
  18115. },
  18116. _EvaluateVisitor__combineCss_closure2: function _EvaluateVisitor__combineCss_closure2(t0) {
  18117. this.selectors = t0;
  18118. },
  18119. _EvaluateVisitor__combineCss_visitModule0: function _EvaluateVisitor__combineCss_visitModule0(t0, t1, t2, t3, t4, t5) {
  18120. var _ = this;
  18121. _.$this = t0;
  18122. _.seen = t1;
  18123. _.clone = t2;
  18124. _.css = t3;
  18125. _.imports = t4;
  18126. _.sorted = t5;
  18127. },
  18128. _EvaluateVisitor__extendModules_closure1: function _EvaluateVisitor__extendModules_closure1(t0) {
  18129. this.originalSelectors = t0;
  18130. },
  18131. _EvaluateVisitor__extendModules_closure2: function _EvaluateVisitor__extendModules_closure2() {
  18132. },
  18133. _EvaluateVisitor_visitAtRootRule_closure1: function _EvaluateVisitor_visitAtRootRule_closure1(t0, t1) {
  18134. this.$this = t0;
  18135. this.node = t1;
  18136. },
  18137. _EvaluateVisitor_visitAtRootRule_closure2: function _EvaluateVisitor_visitAtRootRule_closure2(t0, t1) {
  18138. this.$this = t0;
  18139. this.node = t1;
  18140. },
  18141. _EvaluateVisitor__scopeForAtRoot_closure5: function _EvaluateVisitor__scopeForAtRoot_closure5(t0, t1, t2) {
  18142. this.$this = t0;
  18143. this.newParent = t1;
  18144. this.node = t2;
  18145. },
  18146. _EvaluateVisitor__scopeForAtRoot_closure6: function _EvaluateVisitor__scopeForAtRoot_closure6(t0, t1) {
  18147. this.$this = t0;
  18148. this.innerScope = t1;
  18149. },
  18150. _EvaluateVisitor__scopeForAtRoot_closure7: function _EvaluateVisitor__scopeForAtRoot_closure7(t0, t1) {
  18151. this.$this = t0;
  18152. this.innerScope = t1;
  18153. },
  18154. _EvaluateVisitor__scopeForAtRoot__closure0: function _EvaluateVisitor__scopeForAtRoot__closure0(t0, t1) {
  18155. this.innerScope = t0;
  18156. this.callback = t1;
  18157. },
  18158. _EvaluateVisitor__scopeForAtRoot_closure8: function _EvaluateVisitor__scopeForAtRoot_closure8(t0, t1) {
  18159. this.$this = t0;
  18160. this.innerScope = t1;
  18161. },
  18162. _EvaluateVisitor__scopeForAtRoot_closure9: function _EvaluateVisitor__scopeForAtRoot_closure9() {
  18163. },
  18164. _EvaluateVisitor__scopeForAtRoot_closure10: function _EvaluateVisitor__scopeForAtRoot_closure10(t0, t1) {
  18165. this.$this = t0;
  18166. this.innerScope = t1;
  18167. },
  18168. _EvaluateVisitor_visitContentRule_closure0: function _EvaluateVisitor_visitContentRule_closure0(t0, t1) {
  18169. this.$this = t0;
  18170. this.content = t1;
  18171. },
  18172. _EvaluateVisitor_visitDeclaration_closure0: function _EvaluateVisitor_visitDeclaration_closure0(t0, t1) {
  18173. this._box_0 = t0;
  18174. this.$this = t1;
  18175. },
  18176. _EvaluateVisitor_visitEachRule_closure2: function _EvaluateVisitor_visitEachRule_closure2(t0, t1, t2) {
  18177. this._box_0 = t0;
  18178. this.$this = t1;
  18179. this.nodeWithSpan = t2;
  18180. },
  18181. _EvaluateVisitor_visitEachRule_closure3: function _EvaluateVisitor_visitEachRule_closure3(t0, t1, t2) {
  18182. this._box_1 = t0;
  18183. this.$this = t1;
  18184. this.nodeWithSpan = t2;
  18185. },
  18186. _EvaluateVisitor_visitEachRule_closure4: function _EvaluateVisitor_visitEachRule_closure4(t0, t1, t2, t3) {
  18187. var _ = this;
  18188. _.$this = t0;
  18189. _.list = t1;
  18190. _.setVariables = t2;
  18191. _.node = t3;
  18192. },
  18193. _EvaluateVisitor_visitEachRule__closure0: function _EvaluateVisitor_visitEachRule__closure0(t0, t1, t2) {
  18194. this.$this = t0;
  18195. this.setVariables = t1;
  18196. this.node = t2;
  18197. },
  18198. _EvaluateVisitor_visitEachRule___closure0: function _EvaluateVisitor_visitEachRule___closure0(t0) {
  18199. this.$this = t0;
  18200. },
  18201. _EvaluateVisitor_visitAtRule_closure2: function _EvaluateVisitor_visitAtRule_closure2(t0) {
  18202. this.$this = t0;
  18203. },
  18204. _EvaluateVisitor_visitAtRule_closure3: function _EvaluateVisitor_visitAtRule_closure3(t0, t1, t2) {
  18205. this.$this = t0;
  18206. this.name = t1;
  18207. this.children = t2;
  18208. },
  18209. _EvaluateVisitor_visitAtRule__closure0: function _EvaluateVisitor_visitAtRule__closure0(t0, t1) {
  18210. this.$this = t0;
  18211. this.children = t1;
  18212. },
  18213. _EvaluateVisitor_visitAtRule_closure4: function _EvaluateVisitor_visitAtRule_closure4() {
  18214. },
  18215. _EvaluateVisitor_visitForRule_closure4: function _EvaluateVisitor_visitForRule_closure4(t0, t1) {
  18216. this.$this = t0;
  18217. this.node = t1;
  18218. },
  18219. _EvaluateVisitor_visitForRule_closure5: function _EvaluateVisitor_visitForRule_closure5(t0, t1) {
  18220. this.$this = t0;
  18221. this.node = t1;
  18222. },
  18223. _EvaluateVisitor_visitForRule_closure6: function _EvaluateVisitor_visitForRule_closure6(t0) {
  18224. this.fromNumber = t0;
  18225. },
  18226. _EvaluateVisitor_visitForRule_closure7: function _EvaluateVisitor_visitForRule_closure7(t0, t1) {
  18227. this.toNumber = t0;
  18228. this.fromNumber = t1;
  18229. },
  18230. _EvaluateVisitor_visitForRule_closure8: function _EvaluateVisitor_visitForRule_closure8(t0, t1, t2, t3, t4, t5) {
  18231. var _ = this;
  18232. _._box_0 = t0;
  18233. _.$this = t1;
  18234. _.node = t2;
  18235. _.from = t3;
  18236. _.direction = t4;
  18237. _.fromNumber = t5;
  18238. },
  18239. _EvaluateVisitor_visitForRule__closure0: function _EvaluateVisitor_visitForRule__closure0(t0) {
  18240. this.$this = t0;
  18241. },
  18242. _EvaluateVisitor_visitForwardRule_closure1: function _EvaluateVisitor_visitForwardRule_closure1(t0, t1) {
  18243. this.$this = t0;
  18244. this.node = t1;
  18245. },
  18246. _EvaluateVisitor_visitForwardRule_closure2: function _EvaluateVisitor_visitForwardRule_closure2(t0, t1) {
  18247. this.$this = t0;
  18248. this.node = t1;
  18249. },
  18250. _EvaluateVisitor__registerCommentsForModule_closure0: function _EvaluateVisitor__registerCommentsForModule_closure0() {
  18251. },
  18252. _EvaluateVisitor_visitIfRule_closure0: function _EvaluateVisitor_visitIfRule_closure0(t0) {
  18253. this.$this = t0;
  18254. },
  18255. _EvaluateVisitor_visitIfRule__closure0: function _EvaluateVisitor_visitIfRule__closure0(t0, t1) {
  18256. this.$this = t0;
  18257. this.clause = t1;
  18258. },
  18259. _EvaluateVisitor_visitIfRule___closure0: function _EvaluateVisitor_visitIfRule___closure0(t0) {
  18260. this.$this = t0;
  18261. },
  18262. _EvaluateVisitor__visitDynamicImport_closure0: function _EvaluateVisitor__visitDynamicImport_closure0(t0, t1) {
  18263. this.$this = t0;
  18264. this.$import = t1;
  18265. },
  18266. _EvaluateVisitor__visitDynamicImport__closure3: function _EvaluateVisitor__visitDynamicImport__closure3(t0) {
  18267. this.$this = t0;
  18268. },
  18269. _EvaluateVisitor__visitDynamicImport__closure4: function _EvaluateVisitor__visitDynamicImport__closure4() {
  18270. },
  18271. _EvaluateVisitor__visitDynamicImport__closure5: function _EvaluateVisitor__visitDynamicImport__closure5() {
  18272. },
  18273. _EvaluateVisitor__visitDynamicImport__closure6: function _EvaluateVisitor__visitDynamicImport__closure6(t0, t1, t2, t3, t4) {
  18274. var _ = this;
  18275. _._box_0 = t0;
  18276. _.$this = t1;
  18277. _.loadsUserDefinedModules = t2;
  18278. _.environment = t3;
  18279. _.children = t4;
  18280. },
  18281. _EvaluateVisitor__applyMixin_closure1: function _EvaluateVisitor__applyMixin_closure1(t0, t1, t2, t3) {
  18282. var _ = this;
  18283. _.$this = t0;
  18284. _.$arguments = t1;
  18285. _.mixin = t2;
  18286. _.nodeWithSpanWithoutContent = t3;
  18287. },
  18288. _EvaluateVisitor__applyMixin__closure2: function _EvaluateVisitor__applyMixin__closure2(t0, t1, t2, t3) {
  18289. var _ = this;
  18290. _.$this = t0;
  18291. _.$arguments = t1;
  18292. _.mixin = t2;
  18293. _.nodeWithSpanWithoutContent = t3;
  18294. },
  18295. _EvaluateVisitor__applyMixin_closure2: function _EvaluateVisitor__applyMixin_closure2(t0, t1, t2, t3) {
  18296. var _ = this;
  18297. _.$this = t0;
  18298. _.contentCallable = t1;
  18299. _.mixin = t2;
  18300. _.nodeWithSpanWithoutContent = t3;
  18301. },
  18302. _EvaluateVisitor__applyMixin__closure1: function _EvaluateVisitor__applyMixin__closure1(t0, t1, t2) {
  18303. this.$this = t0;
  18304. this.mixin = t1;
  18305. this.nodeWithSpanWithoutContent = t2;
  18306. },
  18307. _EvaluateVisitor__applyMixin___closure0: function _EvaluateVisitor__applyMixin___closure0(t0, t1, t2) {
  18308. this.$this = t0;
  18309. this.mixin = t1;
  18310. this.nodeWithSpanWithoutContent = t2;
  18311. },
  18312. _EvaluateVisitor__applyMixin____closure0: function _EvaluateVisitor__applyMixin____closure0(t0, t1) {
  18313. this.$this = t0;
  18314. this.statement = t1;
  18315. },
  18316. _EvaluateVisitor_visitIncludeRule_closure2: function _EvaluateVisitor_visitIncludeRule_closure2(t0, t1) {
  18317. this.$this = t0;
  18318. this.node = t1;
  18319. },
  18320. _EvaluateVisitor_visitIncludeRule_closure3: function _EvaluateVisitor_visitIncludeRule_closure3(t0) {
  18321. this.$this = t0;
  18322. },
  18323. _EvaluateVisitor_visitIncludeRule_closure4: function _EvaluateVisitor_visitIncludeRule_closure4(t0) {
  18324. this.node = t0;
  18325. },
  18326. _EvaluateVisitor_visitMediaRule_closure2: function _EvaluateVisitor_visitMediaRule_closure2(t0, t1) {
  18327. this.$this = t0;
  18328. this.queries = t1;
  18329. },
  18330. _EvaluateVisitor_visitMediaRule_closure3: function _EvaluateVisitor_visitMediaRule_closure3(t0, t1, t2, t3, t4) {
  18331. var _ = this;
  18332. _.$this = t0;
  18333. _.mergedQueries = t1;
  18334. _.queries = t2;
  18335. _.mergedSources = t3;
  18336. _.node = t4;
  18337. },
  18338. _EvaluateVisitor_visitMediaRule__closure0: function _EvaluateVisitor_visitMediaRule__closure0(t0, t1) {
  18339. this.$this = t0;
  18340. this.node = t1;
  18341. },
  18342. _EvaluateVisitor_visitMediaRule___closure0: function _EvaluateVisitor_visitMediaRule___closure0(t0, t1) {
  18343. this.$this = t0;
  18344. this.node = t1;
  18345. },
  18346. _EvaluateVisitor_visitMediaRule_closure4: function _EvaluateVisitor_visitMediaRule_closure4(t0) {
  18347. this.mergedSources = t0;
  18348. },
  18349. _EvaluateVisitor_visitStyleRule_closure3: function _EvaluateVisitor_visitStyleRule_closure3(t0, t1) {
  18350. this.$this = t0;
  18351. this.node = t1;
  18352. },
  18353. _EvaluateVisitor_visitStyleRule_closure4: function _EvaluateVisitor_visitStyleRule_closure4() {
  18354. },
  18355. _EvaluateVisitor_visitStyleRule_closure6: function _EvaluateVisitor_visitStyleRule_closure6(t0, t1, t2) {
  18356. this.$this = t0;
  18357. this.rule = t1;
  18358. this.node = t2;
  18359. },
  18360. _EvaluateVisitor_visitStyleRule__closure0: function _EvaluateVisitor_visitStyleRule__closure0(t0, t1) {
  18361. this.$this = t0;
  18362. this.node = t1;
  18363. },
  18364. _EvaluateVisitor_visitStyleRule_closure5: function _EvaluateVisitor_visitStyleRule_closure5() {
  18365. },
  18366. _EvaluateVisitor__warnForBogusCombinators_closure0: function _EvaluateVisitor__warnForBogusCombinators_closure0() {
  18367. },
  18368. _EvaluateVisitor_visitSupportsRule_closure1: function _EvaluateVisitor_visitSupportsRule_closure1(t0, t1) {
  18369. this.$this = t0;
  18370. this.node = t1;
  18371. },
  18372. _EvaluateVisitor_visitSupportsRule__closure0: function _EvaluateVisitor_visitSupportsRule__closure0(t0, t1) {
  18373. this.$this = t0;
  18374. this.node = t1;
  18375. },
  18376. _EvaluateVisitor_visitSupportsRule_closure2: function _EvaluateVisitor_visitSupportsRule_closure2() {
  18377. },
  18378. _EvaluateVisitor__visitSupportsCondition_closure0: function _EvaluateVisitor__visitSupportsCondition_closure0(t0, t1) {
  18379. this._box_0 = t0;
  18380. this.$this = t1;
  18381. },
  18382. _EvaluateVisitor_visitVariableDeclaration_closure2: function _EvaluateVisitor_visitVariableDeclaration_closure2(t0, t1, t2) {
  18383. this._box_0 = t0;
  18384. this.$this = t1;
  18385. this.node = t2;
  18386. },
  18387. _EvaluateVisitor_visitVariableDeclaration_closure3: function _EvaluateVisitor_visitVariableDeclaration_closure3(t0, t1) {
  18388. this.$this = t0;
  18389. this.node = t1;
  18390. },
  18391. _EvaluateVisitor_visitVariableDeclaration_closure4: function _EvaluateVisitor_visitVariableDeclaration_closure4(t0, t1, t2) {
  18392. this.$this = t0;
  18393. this.node = t1;
  18394. this.value = t2;
  18395. },
  18396. _EvaluateVisitor_visitUseRule_closure0: function _EvaluateVisitor_visitUseRule_closure0(t0, t1) {
  18397. this.$this = t0;
  18398. this.node = t1;
  18399. },
  18400. _EvaluateVisitor_visitWarnRule_closure0: function _EvaluateVisitor_visitWarnRule_closure0(t0, t1) {
  18401. this.$this = t0;
  18402. this.node = t1;
  18403. },
  18404. _EvaluateVisitor_visitWhileRule_closure0: function _EvaluateVisitor_visitWhileRule_closure0(t0, t1) {
  18405. this.$this = t0;
  18406. this.node = t1;
  18407. },
  18408. _EvaluateVisitor_visitWhileRule__closure0: function _EvaluateVisitor_visitWhileRule__closure0(t0) {
  18409. this.$this = t0;
  18410. },
  18411. _EvaluateVisitor_visitBinaryOperationExpression_closure0: function _EvaluateVisitor_visitBinaryOperationExpression_closure0(t0, t1) {
  18412. this.$this = t0;
  18413. this.node = t1;
  18414. },
  18415. _EvaluateVisitor__slash_recommendation0: function _EvaluateVisitor__slash_recommendation0() {
  18416. },
  18417. _EvaluateVisitor_visitVariableExpression_closure0: function _EvaluateVisitor_visitVariableExpression_closure0(t0, t1) {
  18418. this.$this = t0;
  18419. this.node = t1;
  18420. },
  18421. _EvaluateVisitor_visitUnaryOperationExpression_closure0: function _EvaluateVisitor_visitUnaryOperationExpression_closure0(t0, t1) {
  18422. this.node = t0;
  18423. this.operand = t1;
  18424. },
  18425. _EvaluateVisitor_visitListExpression_closure0: function _EvaluateVisitor_visitListExpression_closure0(t0) {
  18426. this.$this = t0;
  18427. },
  18428. _EvaluateVisitor_visitFunctionExpression_closure2: function _EvaluateVisitor_visitFunctionExpression_closure2(t0, t1) {
  18429. this.$this = t0;
  18430. this.node = t1;
  18431. },
  18432. _EvaluateVisitor_visitFunctionExpression_closure3: function _EvaluateVisitor_visitFunctionExpression_closure3() {
  18433. },
  18434. _EvaluateVisitor_visitFunctionExpression_closure4: function _EvaluateVisitor_visitFunctionExpression_closure4(t0, t1, t2) {
  18435. this._box_0 = t0;
  18436. this.$this = t1;
  18437. this.node = t2;
  18438. },
  18439. _EvaluateVisitor__visitCalculation_closure0: function _EvaluateVisitor__visitCalculation_closure0(t0, t1) {
  18440. this.$this = t0;
  18441. this.node = t1;
  18442. },
  18443. _EvaluateVisitor__checkCalculationArguments_check0: function _EvaluateVisitor__checkCalculationArguments_check0(t0, t1) {
  18444. this.$this = t0;
  18445. this.node = t1;
  18446. },
  18447. _EvaluateVisitor__visitCalculationExpression_closure0: function _EvaluateVisitor__visitCalculationExpression_closure0(t0, t1, t2, t3) {
  18448. var _ = this;
  18449. _._box_0 = t0;
  18450. _.$this = t1;
  18451. _.node = t2;
  18452. _.inLegacySassFunction = t3;
  18453. },
  18454. _EvaluateVisitor__visitCalculationExpression__closure0: function _EvaluateVisitor__visitCalculationExpression__closure0(t0, t1) {
  18455. this.$this = t0;
  18456. this.node = t1;
  18457. },
  18458. _EvaluateVisitor_visitInterpolatedFunctionExpression_closure0: function _EvaluateVisitor_visitInterpolatedFunctionExpression_closure0(t0, t1, t2) {
  18459. this.$this = t0;
  18460. this.node = t1;
  18461. this.$function = t2;
  18462. },
  18463. _EvaluateVisitor__runUserDefinedCallable_closure0: function _EvaluateVisitor__runUserDefinedCallable_closure0(t0, t1, t2, t3, t4, t5) {
  18464. var _ = this;
  18465. _.$this = t0;
  18466. _.callable = t1;
  18467. _.evaluated = t2;
  18468. _.nodeWithSpan = t3;
  18469. _.run = t4;
  18470. _.V = t5;
  18471. },
  18472. _EvaluateVisitor__runUserDefinedCallable__closure0: function _EvaluateVisitor__runUserDefinedCallable__closure0(t0, t1, t2, t3, t4, t5) {
  18473. var _ = this;
  18474. _.$this = t0;
  18475. _.evaluated = t1;
  18476. _.callable = t2;
  18477. _.nodeWithSpan = t3;
  18478. _.run = t4;
  18479. _.V = t5;
  18480. },
  18481. _EvaluateVisitor__runUserDefinedCallable___closure0: function _EvaluateVisitor__runUserDefinedCallable___closure0(t0, t1, t2, t3, t4, t5) {
  18482. var _ = this;
  18483. _.$this = t0;
  18484. _.evaluated = t1;
  18485. _.callable = t2;
  18486. _.nodeWithSpan = t3;
  18487. _.run = t4;
  18488. _.V = t5;
  18489. },
  18490. _EvaluateVisitor__runUserDefinedCallable____closure0: function _EvaluateVisitor__runUserDefinedCallable____closure0() {
  18491. },
  18492. _EvaluateVisitor__runFunctionCallable_closure0: function _EvaluateVisitor__runFunctionCallable_closure0(t0, t1) {
  18493. this.$this = t0;
  18494. this.callable = t1;
  18495. },
  18496. _EvaluateVisitor__runBuiltInCallable_closure2: function _EvaluateVisitor__runBuiltInCallable_closure2(t0, t1, t2) {
  18497. this._box_0 = t0;
  18498. this.evaluated = t1;
  18499. this.namedSet = t2;
  18500. },
  18501. _EvaluateVisitor__runBuiltInCallable_closure3: function _EvaluateVisitor__runBuiltInCallable_closure3(t0, t1) {
  18502. this._box_0 = t0;
  18503. this.evaluated = t1;
  18504. },
  18505. _EvaluateVisitor__runBuiltInCallable_closure4: function _EvaluateVisitor__runBuiltInCallable_closure4() {
  18506. },
  18507. _EvaluateVisitor__evaluateArguments_closure3: function _EvaluateVisitor__evaluateArguments_closure3() {
  18508. },
  18509. _EvaluateVisitor__evaluateArguments_closure4: function _EvaluateVisitor__evaluateArguments_closure4(t0, t1) {
  18510. this.$this = t0;
  18511. this.restNodeForSpan = t1;
  18512. },
  18513. _EvaluateVisitor__evaluateArguments_closure5: function _EvaluateVisitor__evaluateArguments_closure5(t0, t1, t2, t3) {
  18514. var _ = this;
  18515. _.$this = t0;
  18516. _.named = t1;
  18517. _.restNodeForSpan = t2;
  18518. _.namedNodes = t3;
  18519. },
  18520. _EvaluateVisitor__evaluateArguments_closure6: function _EvaluateVisitor__evaluateArguments_closure6() {
  18521. },
  18522. _EvaluateVisitor__evaluateMacroArguments_closure3: function _EvaluateVisitor__evaluateMacroArguments_closure3(t0) {
  18523. this.restArgs = t0;
  18524. },
  18525. _EvaluateVisitor__evaluateMacroArguments_closure4: function _EvaluateVisitor__evaluateMacroArguments_closure4(t0, t1, t2) {
  18526. this.$this = t0;
  18527. this.restNodeForSpan = t1;
  18528. this.restArgs = t2;
  18529. },
  18530. _EvaluateVisitor__evaluateMacroArguments_closure5: function _EvaluateVisitor__evaluateMacroArguments_closure5(t0, t1, t2, t3) {
  18531. var _ = this;
  18532. _.$this = t0;
  18533. _.named = t1;
  18534. _.restNodeForSpan = t2;
  18535. _.restArgs = t3;
  18536. },
  18537. _EvaluateVisitor__evaluateMacroArguments_closure6: function _EvaluateVisitor__evaluateMacroArguments_closure6(t0, t1, t2) {
  18538. this.$this = t0;
  18539. this.keywordRestNodeForSpan = t1;
  18540. this.keywordRestArgs = t2;
  18541. },
  18542. _EvaluateVisitor__addRestMap_closure0: function _EvaluateVisitor__addRestMap_closure0(t0, t1, t2, t3, t4, t5) {
  18543. var _ = this;
  18544. _.$this = t0;
  18545. _.values = t1;
  18546. _.convert = t2;
  18547. _.expressionNode = t3;
  18548. _.map = t4;
  18549. _.nodeWithSpan = t5;
  18550. },
  18551. _EvaluateVisitor__verifyArguments_closure0: function _EvaluateVisitor__verifyArguments_closure0(t0, t1, t2) {
  18552. this.parameters = t0;
  18553. this.positional = t1;
  18554. this.named = t2;
  18555. },
  18556. _EvaluateVisitor_visitCssAtRule_closure1: function _EvaluateVisitor_visitCssAtRule_closure1(t0, t1) {
  18557. this.$this = t0;
  18558. this.node = t1;
  18559. },
  18560. _EvaluateVisitor_visitCssAtRule_closure2: function _EvaluateVisitor_visitCssAtRule_closure2() {
  18561. },
  18562. _EvaluateVisitor_visitCssKeyframeBlock_closure1: function _EvaluateVisitor_visitCssKeyframeBlock_closure1(t0, t1) {
  18563. this.$this = t0;
  18564. this.node = t1;
  18565. },
  18566. _EvaluateVisitor_visitCssKeyframeBlock_closure2: function _EvaluateVisitor_visitCssKeyframeBlock_closure2() {
  18567. },
  18568. _EvaluateVisitor_visitCssMediaRule_closure2: function _EvaluateVisitor_visitCssMediaRule_closure2(t0, t1) {
  18569. this.$this = t0;
  18570. this.node = t1;
  18571. },
  18572. _EvaluateVisitor_visitCssMediaRule_closure3: function _EvaluateVisitor_visitCssMediaRule_closure3(t0, t1, t2, t3) {
  18573. var _ = this;
  18574. _.$this = t0;
  18575. _.mergedQueries = t1;
  18576. _.node = t2;
  18577. _.mergedSources = t3;
  18578. },
  18579. _EvaluateVisitor_visitCssMediaRule__closure0: function _EvaluateVisitor_visitCssMediaRule__closure0(t0, t1) {
  18580. this.$this = t0;
  18581. this.node = t1;
  18582. },
  18583. _EvaluateVisitor_visitCssMediaRule___closure0: function _EvaluateVisitor_visitCssMediaRule___closure0(t0, t1) {
  18584. this.$this = t0;
  18585. this.node = t1;
  18586. },
  18587. _EvaluateVisitor_visitCssMediaRule_closure4: function _EvaluateVisitor_visitCssMediaRule_closure4(t0) {
  18588. this.mergedSources = t0;
  18589. },
  18590. _EvaluateVisitor_visitCssStyleRule_closure2: function _EvaluateVisitor_visitCssStyleRule_closure2(t0, t1, t2) {
  18591. this.$this = t0;
  18592. this.rule = t1;
  18593. this.node = t2;
  18594. },
  18595. _EvaluateVisitor_visitCssStyleRule__closure0: function _EvaluateVisitor_visitCssStyleRule__closure0(t0, t1) {
  18596. this.$this = t0;
  18597. this.node = t1;
  18598. },
  18599. _EvaluateVisitor_visitCssStyleRule_closure1: function _EvaluateVisitor_visitCssStyleRule_closure1() {
  18600. },
  18601. _EvaluateVisitor_visitCssSupportsRule_closure1: function _EvaluateVisitor_visitCssSupportsRule_closure1(t0, t1) {
  18602. this.$this = t0;
  18603. this.node = t1;
  18604. },
  18605. _EvaluateVisitor_visitCssSupportsRule__closure0: function _EvaluateVisitor_visitCssSupportsRule__closure0(t0, t1) {
  18606. this.$this = t0;
  18607. this.node = t1;
  18608. },
  18609. _EvaluateVisitor_visitCssSupportsRule_closure2: function _EvaluateVisitor_visitCssSupportsRule_closure2() {
  18610. },
  18611. _EvaluateVisitor__performInterpolationHelper_closure0: function _EvaluateVisitor__performInterpolationHelper_closure0(t0) {
  18612. this.interpolation = t0;
  18613. },
  18614. _EvaluateVisitor__serialize_closure0: function _EvaluateVisitor__serialize_closure0(t0, t1) {
  18615. this.value = t0;
  18616. this.quote = t1;
  18617. },
  18618. _EvaluateVisitor__expressionNode_closure0: function _EvaluateVisitor__expressionNode_closure0(t0, t1) {
  18619. this.$this = t0;
  18620. this.expression = t1;
  18621. },
  18622. _EvaluateVisitor__withoutSlash_recommendation0: function _EvaluateVisitor__withoutSlash_recommendation0() {
  18623. },
  18624. _EvaluateVisitor__stackFrame_closure0: function _EvaluateVisitor__stackFrame_closure0(t0) {
  18625. this.$this = t0;
  18626. },
  18627. _ImportedCssVisitor0: function _ImportedCssVisitor0(t0) {
  18628. this._async_evaluate$_visitor = t0;
  18629. },
  18630. _ImportedCssVisitor_visitCssAtRule_closure0: function _ImportedCssVisitor_visitCssAtRule_closure0() {
  18631. },
  18632. _ImportedCssVisitor_visitCssMediaRule_closure0: function _ImportedCssVisitor_visitCssMediaRule_closure0(t0) {
  18633. this.hasBeenMerged = t0;
  18634. },
  18635. _ImportedCssVisitor_visitCssStyleRule_closure0: function _ImportedCssVisitor_visitCssStyleRule_closure0() {
  18636. },
  18637. _ImportedCssVisitor_visitCssSupportsRule_closure0: function _ImportedCssVisitor_visitCssSupportsRule_closure0() {
  18638. },
  18639. _EvaluationContext0: function _EvaluationContext0(t0, t1) {
  18640. this._async_evaluate$_visitor = t0;
  18641. this._async_evaluate$_defaultWarnNodeWithSpan = t1;
  18642. },
  18643. cloneCssStylesheet(stylesheet, extensionStore) {
  18644. var _0_0 = extensionStore.clone$0();
  18645. return new A._Record_2(new A._CloneCssVisitor(_0_0._1)._visitChildren$2(A.ModifiableCssStylesheet$(stylesheet.get$span(stylesheet)), stylesheet), _0_0._0);
  18646. },
  18647. _CloneCssVisitor: function _CloneCssVisitor(t0) {
  18648. this._oldToNewSelectors = t0;
  18649. },
  18650. _EvaluateVisitor$(functions, importCache, logger, nodeImporter, quietDeps, sourceMap) {
  18651. var t1 = type$.Uri,
  18652. t2 = type$.Module_Callable,
  18653. t3 = A._setArrayType([], type$.JSArray_Record_2_String_and_AstNode);
  18654. t1 = new A._EvaluateVisitor(importCache, nodeImporter, A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.Callable), A.LinkedHashMap_LinkedHashMap$_empty(t1, t2), A.LinkedHashMap_LinkedHashMap$_empty(t1, t2), A.LinkedHashMap_LinkedHashMap$_empty(t1, type$.Configuration), A.LinkedHashMap_LinkedHashMap$_empty(t1, type$.AstNode), logger, A.LinkedHashSet_LinkedHashSet$_empty(type$.Record_2_String_and_SourceSpan), quietDeps, sourceMap, new A.Object(), A.Environment$(), A.LinkedHashSet_LinkedHashSet$_empty(t1), A.LinkedHashMap_LinkedHashMap$_empty(t1, type$.nullable_AstNode), t3, B.Configuration_Map_empty_null);
  18655. t1._EvaluateVisitor$6$functions$importCache$logger$nodeImporter$quietDeps$sourceMap(functions, importCache, logger, nodeImporter, quietDeps, sourceMap);
  18656. return t1;
  18657. },
  18658. Evaluator: function Evaluator(t0, t1) {
  18659. this._visitor = t0;
  18660. this._importer = t1;
  18661. },
  18662. _EvaluateVisitor: function _EvaluateVisitor(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15, t16) {
  18663. var _ = this;
  18664. _._evaluate$_importCache = t0;
  18665. _._evaluate$_nodeImporter = t1;
  18666. _._builtInFunctions = t2;
  18667. _._builtInModules = t3;
  18668. _._modules = t4;
  18669. _._moduleConfigurations = t5;
  18670. _._moduleNodes = t6;
  18671. _._logger = t7;
  18672. _._warningsEmitted = t8;
  18673. _._quietDeps = t9;
  18674. _._sourceMap = t10;
  18675. _._compileContext = t11;
  18676. _._environment = t12;
  18677. _._declarationName = _.__parent = _._mediaQuerySources = _._mediaQueries = _._styleRuleIgnoringAtRoot = null;
  18678. _._member = "root stylesheet";
  18679. _._importSpan = _._callableNode = null;
  18680. _._inSupportsDeclaration = _._inKeyframes = _._atRootExcludingStyleRule = _._inUnknownAtRule = _._inFunction = false;
  18681. _._loadedUrls = t13;
  18682. _._activeModules = t14;
  18683. _._stack = t15;
  18684. _._importer = null;
  18685. _._inDependency = false;
  18686. _.__extensionStore = _._preModuleComments = _._outOfOrderImports = _.__endOfImports = _.__root = _.__stylesheet = null;
  18687. _._configuration = t16;
  18688. },
  18689. _EvaluateVisitor_closure: function _EvaluateVisitor_closure(t0) {
  18690. this.$this = t0;
  18691. },
  18692. _EvaluateVisitor_closure0: function _EvaluateVisitor_closure0(t0) {
  18693. this.$this = t0;
  18694. },
  18695. _EvaluateVisitor_closure1: function _EvaluateVisitor_closure1(t0) {
  18696. this.$this = t0;
  18697. },
  18698. _EvaluateVisitor_closure2: function _EvaluateVisitor_closure2(t0) {
  18699. this.$this = t0;
  18700. },
  18701. _EvaluateVisitor_closure3: function _EvaluateVisitor_closure3(t0) {
  18702. this.$this = t0;
  18703. },
  18704. _EvaluateVisitor_closure4: function _EvaluateVisitor_closure4(t0) {
  18705. this.$this = t0;
  18706. },
  18707. _EvaluateVisitor_closure5: function _EvaluateVisitor_closure5(t0) {
  18708. this.$this = t0;
  18709. },
  18710. _EvaluateVisitor_closure6: function _EvaluateVisitor_closure6(t0) {
  18711. this.$this = t0;
  18712. },
  18713. _EvaluateVisitor_closure7: function _EvaluateVisitor_closure7(t0) {
  18714. this.$this = t0;
  18715. },
  18716. _EvaluateVisitor__closure2: function _EvaluateVisitor__closure2(t0, t1, t2) {
  18717. this.$this = t0;
  18718. this.name = t1;
  18719. this.module = t2;
  18720. },
  18721. _EvaluateVisitor_closure8: function _EvaluateVisitor_closure8(t0) {
  18722. this.$this = t0;
  18723. },
  18724. _EvaluateVisitor__closure1: function _EvaluateVisitor__closure1(t0, t1, t2) {
  18725. this.$this = t0;
  18726. this.name = t1;
  18727. this.module = t2;
  18728. },
  18729. _EvaluateVisitor_closure9: function _EvaluateVisitor_closure9(t0) {
  18730. this.$this = t0;
  18731. },
  18732. _EvaluateVisitor_closure10: function _EvaluateVisitor_closure10(t0) {
  18733. this.$this = t0;
  18734. },
  18735. _EvaluateVisitor__closure: function _EvaluateVisitor__closure(t0, t1, t2) {
  18736. this.values = t0;
  18737. this.span = t1;
  18738. this.callableNode = t2;
  18739. },
  18740. _EvaluateVisitor__closure0: function _EvaluateVisitor__closure0(t0) {
  18741. this.$this = t0;
  18742. },
  18743. _EvaluateVisitor_closure11: function _EvaluateVisitor_closure11(t0) {
  18744. this.$this = t0;
  18745. },
  18746. _EvaluateVisitor_run_closure: function _EvaluateVisitor_run_closure(t0, t1, t2) {
  18747. this.$this = t0;
  18748. this.node = t1;
  18749. this.importer = t2;
  18750. },
  18751. _EvaluateVisitor_run__closure: function _EvaluateVisitor_run__closure(t0, t1, t2) {
  18752. this.$this = t0;
  18753. this.importer = t1;
  18754. this.node = t2;
  18755. },
  18756. _EvaluateVisitor_runExpression_closure: function _EvaluateVisitor_runExpression_closure(t0, t1, t2) {
  18757. this.$this = t0;
  18758. this.importer = t1;
  18759. this.expression = t2;
  18760. },
  18761. _EvaluateVisitor_runExpression__closure: function _EvaluateVisitor_runExpression__closure(t0, t1) {
  18762. this.$this = t0;
  18763. this.expression = t1;
  18764. },
  18765. _EvaluateVisitor_runExpression___closure: function _EvaluateVisitor_runExpression___closure(t0, t1) {
  18766. this.$this = t0;
  18767. this.expression = t1;
  18768. },
  18769. _EvaluateVisitor_runStatement_closure: function _EvaluateVisitor_runStatement_closure(t0, t1, t2) {
  18770. this.$this = t0;
  18771. this.importer = t1;
  18772. this.statement = t2;
  18773. },
  18774. _EvaluateVisitor_runStatement__closure: function _EvaluateVisitor_runStatement__closure(t0, t1) {
  18775. this.$this = t0;
  18776. this.statement = t1;
  18777. },
  18778. _EvaluateVisitor_runStatement___closure: function _EvaluateVisitor_runStatement___closure(t0, t1) {
  18779. this.$this = t0;
  18780. this.statement = t1;
  18781. },
  18782. _EvaluateVisitor__loadModule_closure: function _EvaluateVisitor__loadModule_closure(t0, t1) {
  18783. this._box_0 = t0;
  18784. this.callback = t1;
  18785. },
  18786. _EvaluateVisitor__loadModule_closure0: function _EvaluateVisitor__loadModule_closure0(t0, t1, t2, t3, t4, t5, t6) {
  18787. var _ = this;
  18788. _.$this = t0;
  18789. _.url = t1;
  18790. _.nodeWithSpan = t2;
  18791. _.baseUrl = t3;
  18792. _.namesInErrors = t4;
  18793. _.configuration = t5;
  18794. _.callback = t6;
  18795. },
  18796. _EvaluateVisitor__loadModule__closure: function _EvaluateVisitor__loadModule__closure(t0, t1) {
  18797. this.$this = t0;
  18798. this.message = t1;
  18799. },
  18800. _EvaluateVisitor__loadModule__closure0: function _EvaluateVisitor__loadModule__closure0(t0, t1, t2) {
  18801. this._box_1 = t0;
  18802. this.callback = t1;
  18803. this.firstLoad = t2;
  18804. },
  18805. _EvaluateVisitor__execute_closure: function _EvaluateVisitor__execute_closure(t0, t1, t2, t3, t4, t5, t6) {
  18806. var _ = this;
  18807. _.$this = t0;
  18808. _.importer = t1;
  18809. _.stylesheet = t2;
  18810. _.extensionStore = t3;
  18811. _.configuration = t4;
  18812. _.css = t5;
  18813. _.preModuleComments = t6;
  18814. },
  18815. _EvaluateVisitor__combineCss_closure: function _EvaluateVisitor__combineCss_closure() {
  18816. },
  18817. _EvaluateVisitor__combineCss_closure0: function _EvaluateVisitor__combineCss_closure0(t0) {
  18818. this.selectors = t0;
  18819. },
  18820. _EvaluateVisitor__combineCss_visitModule: function _EvaluateVisitor__combineCss_visitModule(t0, t1, t2, t3, t4, t5) {
  18821. var _ = this;
  18822. _.$this = t0;
  18823. _.seen = t1;
  18824. _.clone = t2;
  18825. _.css = t3;
  18826. _.imports = t4;
  18827. _.sorted = t5;
  18828. },
  18829. _EvaluateVisitor__extendModules_closure: function _EvaluateVisitor__extendModules_closure(t0) {
  18830. this.originalSelectors = t0;
  18831. },
  18832. _EvaluateVisitor__extendModules_closure0: function _EvaluateVisitor__extendModules_closure0() {
  18833. },
  18834. _EvaluateVisitor_visitAtRootRule_closure: function _EvaluateVisitor_visitAtRootRule_closure(t0, t1) {
  18835. this.$this = t0;
  18836. this.node = t1;
  18837. },
  18838. _EvaluateVisitor_visitAtRootRule_closure0: function _EvaluateVisitor_visitAtRootRule_closure0(t0, t1) {
  18839. this.$this = t0;
  18840. this.node = t1;
  18841. },
  18842. _EvaluateVisitor__scopeForAtRoot_closure: function _EvaluateVisitor__scopeForAtRoot_closure(t0, t1, t2) {
  18843. this.$this = t0;
  18844. this.newParent = t1;
  18845. this.node = t2;
  18846. },
  18847. _EvaluateVisitor__scopeForAtRoot_closure0: function _EvaluateVisitor__scopeForAtRoot_closure0(t0, t1) {
  18848. this.$this = t0;
  18849. this.innerScope = t1;
  18850. },
  18851. _EvaluateVisitor__scopeForAtRoot_closure1: function _EvaluateVisitor__scopeForAtRoot_closure1(t0, t1) {
  18852. this.$this = t0;
  18853. this.innerScope = t1;
  18854. },
  18855. _EvaluateVisitor__scopeForAtRoot__closure: function _EvaluateVisitor__scopeForAtRoot__closure(t0, t1) {
  18856. this.innerScope = t0;
  18857. this.callback = t1;
  18858. },
  18859. _EvaluateVisitor__scopeForAtRoot_closure2: function _EvaluateVisitor__scopeForAtRoot_closure2(t0, t1) {
  18860. this.$this = t0;
  18861. this.innerScope = t1;
  18862. },
  18863. _EvaluateVisitor__scopeForAtRoot_closure3: function _EvaluateVisitor__scopeForAtRoot_closure3() {
  18864. },
  18865. _EvaluateVisitor__scopeForAtRoot_closure4: function _EvaluateVisitor__scopeForAtRoot_closure4(t0, t1) {
  18866. this.$this = t0;
  18867. this.innerScope = t1;
  18868. },
  18869. _EvaluateVisitor_visitContentRule_closure: function _EvaluateVisitor_visitContentRule_closure(t0, t1) {
  18870. this.$this = t0;
  18871. this.content = t1;
  18872. },
  18873. _EvaluateVisitor_visitDeclaration_closure: function _EvaluateVisitor_visitDeclaration_closure(t0, t1) {
  18874. this._box_0 = t0;
  18875. this.$this = t1;
  18876. },
  18877. _EvaluateVisitor_visitEachRule_closure: function _EvaluateVisitor_visitEachRule_closure(t0, t1, t2) {
  18878. this._box_0 = t0;
  18879. this.$this = t1;
  18880. this.nodeWithSpan = t2;
  18881. },
  18882. _EvaluateVisitor_visitEachRule_closure0: function _EvaluateVisitor_visitEachRule_closure0(t0, t1, t2) {
  18883. this._box_1 = t0;
  18884. this.$this = t1;
  18885. this.nodeWithSpan = t2;
  18886. },
  18887. _EvaluateVisitor_visitEachRule_closure1: function _EvaluateVisitor_visitEachRule_closure1(t0, t1, t2, t3) {
  18888. var _ = this;
  18889. _.$this = t0;
  18890. _.list = t1;
  18891. _.setVariables = t2;
  18892. _.node = t3;
  18893. },
  18894. _EvaluateVisitor_visitEachRule__closure: function _EvaluateVisitor_visitEachRule__closure(t0, t1, t2) {
  18895. this.$this = t0;
  18896. this.setVariables = t1;
  18897. this.node = t2;
  18898. },
  18899. _EvaluateVisitor_visitEachRule___closure: function _EvaluateVisitor_visitEachRule___closure(t0) {
  18900. this.$this = t0;
  18901. },
  18902. _EvaluateVisitor_visitAtRule_closure: function _EvaluateVisitor_visitAtRule_closure(t0) {
  18903. this.$this = t0;
  18904. },
  18905. _EvaluateVisitor_visitAtRule_closure0: function _EvaluateVisitor_visitAtRule_closure0(t0, t1, t2) {
  18906. this.$this = t0;
  18907. this.name = t1;
  18908. this.children = t2;
  18909. },
  18910. _EvaluateVisitor_visitAtRule__closure: function _EvaluateVisitor_visitAtRule__closure(t0, t1) {
  18911. this.$this = t0;
  18912. this.children = t1;
  18913. },
  18914. _EvaluateVisitor_visitAtRule_closure1: function _EvaluateVisitor_visitAtRule_closure1() {
  18915. },
  18916. _EvaluateVisitor_visitForRule_closure: function _EvaluateVisitor_visitForRule_closure(t0, t1) {
  18917. this.$this = t0;
  18918. this.node = t1;
  18919. },
  18920. _EvaluateVisitor_visitForRule_closure0: function _EvaluateVisitor_visitForRule_closure0(t0, t1) {
  18921. this.$this = t0;
  18922. this.node = t1;
  18923. },
  18924. _EvaluateVisitor_visitForRule_closure1: function _EvaluateVisitor_visitForRule_closure1(t0) {
  18925. this.fromNumber = t0;
  18926. },
  18927. _EvaluateVisitor_visitForRule_closure2: function _EvaluateVisitor_visitForRule_closure2(t0, t1) {
  18928. this.toNumber = t0;
  18929. this.fromNumber = t1;
  18930. },
  18931. _EvaluateVisitor_visitForRule_closure3: function _EvaluateVisitor_visitForRule_closure3(t0, t1, t2, t3, t4, t5) {
  18932. var _ = this;
  18933. _._box_0 = t0;
  18934. _.$this = t1;
  18935. _.node = t2;
  18936. _.from = t3;
  18937. _.direction = t4;
  18938. _.fromNumber = t5;
  18939. },
  18940. _EvaluateVisitor_visitForRule__closure: function _EvaluateVisitor_visitForRule__closure(t0) {
  18941. this.$this = t0;
  18942. },
  18943. _EvaluateVisitor_visitForwardRule_closure: function _EvaluateVisitor_visitForwardRule_closure(t0, t1) {
  18944. this.$this = t0;
  18945. this.node = t1;
  18946. },
  18947. _EvaluateVisitor_visitForwardRule_closure0: function _EvaluateVisitor_visitForwardRule_closure0(t0, t1) {
  18948. this.$this = t0;
  18949. this.node = t1;
  18950. },
  18951. _EvaluateVisitor__registerCommentsForModule_closure: function _EvaluateVisitor__registerCommentsForModule_closure() {
  18952. },
  18953. _EvaluateVisitor_visitIfRule_closure: function _EvaluateVisitor_visitIfRule_closure(t0) {
  18954. this.$this = t0;
  18955. },
  18956. _EvaluateVisitor_visitIfRule__closure: function _EvaluateVisitor_visitIfRule__closure(t0, t1) {
  18957. this.$this = t0;
  18958. this.clause = t1;
  18959. },
  18960. _EvaluateVisitor_visitIfRule___closure: function _EvaluateVisitor_visitIfRule___closure(t0) {
  18961. this.$this = t0;
  18962. },
  18963. _EvaluateVisitor__visitDynamicImport_closure: function _EvaluateVisitor__visitDynamicImport_closure(t0, t1) {
  18964. this.$this = t0;
  18965. this.$import = t1;
  18966. },
  18967. _EvaluateVisitor__visitDynamicImport__closure: function _EvaluateVisitor__visitDynamicImport__closure(t0) {
  18968. this.$this = t0;
  18969. },
  18970. _EvaluateVisitor__visitDynamicImport__closure0: function _EvaluateVisitor__visitDynamicImport__closure0() {
  18971. },
  18972. _EvaluateVisitor__visitDynamicImport__closure1: function _EvaluateVisitor__visitDynamicImport__closure1() {
  18973. },
  18974. _EvaluateVisitor__visitDynamicImport__closure2: function _EvaluateVisitor__visitDynamicImport__closure2(t0, t1, t2, t3, t4) {
  18975. var _ = this;
  18976. _._box_0 = t0;
  18977. _.$this = t1;
  18978. _.loadsUserDefinedModules = t2;
  18979. _.environment = t3;
  18980. _.children = t4;
  18981. },
  18982. _EvaluateVisitor__applyMixin_closure: function _EvaluateVisitor__applyMixin_closure(t0, t1, t2, t3) {
  18983. var _ = this;
  18984. _.$this = t0;
  18985. _.$arguments = t1;
  18986. _.mixin = t2;
  18987. _.nodeWithSpanWithoutContent = t3;
  18988. },
  18989. _EvaluateVisitor__applyMixin__closure0: function _EvaluateVisitor__applyMixin__closure0(t0, t1, t2, t3) {
  18990. var _ = this;
  18991. _.$this = t0;
  18992. _.$arguments = t1;
  18993. _.mixin = t2;
  18994. _.nodeWithSpanWithoutContent = t3;
  18995. },
  18996. _EvaluateVisitor__applyMixin_closure0: function _EvaluateVisitor__applyMixin_closure0(t0, t1, t2, t3) {
  18997. var _ = this;
  18998. _.$this = t0;
  18999. _.contentCallable = t1;
  19000. _.mixin = t2;
  19001. _.nodeWithSpanWithoutContent = t3;
  19002. },
  19003. _EvaluateVisitor__applyMixin__closure: function _EvaluateVisitor__applyMixin__closure(t0, t1, t2) {
  19004. this.$this = t0;
  19005. this.mixin = t1;
  19006. this.nodeWithSpanWithoutContent = t2;
  19007. },
  19008. _EvaluateVisitor__applyMixin___closure: function _EvaluateVisitor__applyMixin___closure(t0, t1, t2) {
  19009. this.$this = t0;
  19010. this.mixin = t1;
  19011. this.nodeWithSpanWithoutContent = t2;
  19012. },
  19013. _EvaluateVisitor__applyMixin____closure: function _EvaluateVisitor__applyMixin____closure(t0, t1) {
  19014. this.$this = t0;
  19015. this.statement = t1;
  19016. },
  19017. _EvaluateVisitor_visitIncludeRule_closure: function _EvaluateVisitor_visitIncludeRule_closure(t0, t1) {
  19018. this.$this = t0;
  19019. this.node = t1;
  19020. },
  19021. _EvaluateVisitor_visitIncludeRule_closure0: function _EvaluateVisitor_visitIncludeRule_closure0(t0) {
  19022. this.$this = t0;
  19023. },
  19024. _EvaluateVisitor_visitIncludeRule_closure1: function _EvaluateVisitor_visitIncludeRule_closure1(t0) {
  19025. this.node = t0;
  19026. },
  19027. _EvaluateVisitor_visitMediaRule_closure: function _EvaluateVisitor_visitMediaRule_closure(t0, t1) {
  19028. this.$this = t0;
  19029. this.queries = t1;
  19030. },
  19031. _EvaluateVisitor_visitMediaRule_closure0: function _EvaluateVisitor_visitMediaRule_closure0(t0, t1, t2, t3, t4) {
  19032. var _ = this;
  19033. _.$this = t0;
  19034. _.mergedQueries = t1;
  19035. _.queries = t2;
  19036. _.mergedSources = t3;
  19037. _.node = t4;
  19038. },
  19039. _EvaluateVisitor_visitMediaRule__closure: function _EvaluateVisitor_visitMediaRule__closure(t0, t1) {
  19040. this.$this = t0;
  19041. this.node = t1;
  19042. },
  19043. _EvaluateVisitor_visitMediaRule___closure: function _EvaluateVisitor_visitMediaRule___closure(t0, t1) {
  19044. this.$this = t0;
  19045. this.node = t1;
  19046. },
  19047. _EvaluateVisitor_visitMediaRule_closure1: function _EvaluateVisitor_visitMediaRule_closure1(t0) {
  19048. this.mergedSources = t0;
  19049. },
  19050. _EvaluateVisitor_visitStyleRule_closure: function _EvaluateVisitor_visitStyleRule_closure(t0, t1) {
  19051. this.$this = t0;
  19052. this.node = t1;
  19053. },
  19054. _EvaluateVisitor_visitStyleRule_closure0: function _EvaluateVisitor_visitStyleRule_closure0() {
  19055. },
  19056. _EvaluateVisitor_visitStyleRule_closure2: function _EvaluateVisitor_visitStyleRule_closure2(t0, t1, t2) {
  19057. this.$this = t0;
  19058. this.rule = t1;
  19059. this.node = t2;
  19060. },
  19061. _EvaluateVisitor_visitStyleRule__closure: function _EvaluateVisitor_visitStyleRule__closure(t0, t1) {
  19062. this.$this = t0;
  19063. this.node = t1;
  19064. },
  19065. _EvaluateVisitor_visitStyleRule_closure1: function _EvaluateVisitor_visitStyleRule_closure1() {
  19066. },
  19067. _EvaluateVisitor__warnForBogusCombinators_closure: function _EvaluateVisitor__warnForBogusCombinators_closure() {
  19068. },
  19069. _EvaluateVisitor_visitSupportsRule_closure: function _EvaluateVisitor_visitSupportsRule_closure(t0, t1) {
  19070. this.$this = t0;
  19071. this.node = t1;
  19072. },
  19073. _EvaluateVisitor_visitSupportsRule__closure: function _EvaluateVisitor_visitSupportsRule__closure(t0, t1) {
  19074. this.$this = t0;
  19075. this.node = t1;
  19076. },
  19077. _EvaluateVisitor_visitSupportsRule_closure0: function _EvaluateVisitor_visitSupportsRule_closure0() {
  19078. },
  19079. _EvaluateVisitor__visitSupportsCondition_closure: function _EvaluateVisitor__visitSupportsCondition_closure(t0, t1) {
  19080. this._box_0 = t0;
  19081. this.$this = t1;
  19082. },
  19083. _EvaluateVisitor_visitVariableDeclaration_closure: function _EvaluateVisitor_visitVariableDeclaration_closure(t0, t1, t2) {
  19084. this._box_0 = t0;
  19085. this.$this = t1;
  19086. this.node = t2;
  19087. },
  19088. _EvaluateVisitor_visitVariableDeclaration_closure0: function _EvaluateVisitor_visitVariableDeclaration_closure0(t0, t1) {
  19089. this.$this = t0;
  19090. this.node = t1;
  19091. },
  19092. _EvaluateVisitor_visitVariableDeclaration_closure1: function _EvaluateVisitor_visitVariableDeclaration_closure1(t0, t1, t2) {
  19093. this.$this = t0;
  19094. this.node = t1;
  19095. this.value = t2;
  19096. },
  19097. _EvaluateVisitor_visitUseRule_closure: function _EvaluateVisitor_visitUseRule_closure(t0, t1) {
  19098. this.$this = t0;
  19099. this.node = t1;
  19100. },
  19101. _EvaluateVisitor_visitWarnRule_closure: function _EvaluateVisitor_visitWarnRule_closure(t0, t1) {
  19102. this.$this = t0;
  19103. this.node = t1;
  19104. },
  19105. _EvaluateVisitor_visitWhileRule_closure: function _EvaluateVisitor_visitWhileRule_closure(t0, t1) {
  19106. this.$this = t0;
  19107. this.node = t1;
  19108. },
  19109. _EvaluateVisitor_visitWhileRule__closure: function _EvaluateVisitor_visitWhileRule__closure(t0) {
  19110. this.$this = t0;
  19111. },
  19112. _EvaluateVisitor_visitBinaryOperationExpression_closure: function _EvaluateVisitor_visitBinaryOperationExpression_closure(t0, t1) {
  19113. this.$this = t0;
  19114. this.node = t1;
  19115. },
  19116. _EvaluateVisitor__slash_recommendation: function _EvaluateVisitor__slash_recommendation() {
  19117. },
  19118. _EvaluateVisitor_visitVariableExpression_closure: function _EvaluateVisitor_visitVariableExpression_closure(t0, t1) {
  19119. this.$this = t0;
  19120. this.node = t1;
  19121. },
  19122. _EvaluateVisitor_visitUnaryOperationExpression_closure: function _EvaluateVisitor_visitUnaryOperationExpression_closure(t0, t1) {
  19123. this.node = t0;
  19124. this.operand = t1;
  19125. },
  19126. _EvaluateVisitor_visitListExpression_closure: function _EvaluateVisitor_visitListExpression_closure(t0) {
  19127. this.$this = t0;
  19128. },
  19129. _EvaluateVisitor_visitFunctionExpression_closure: function _EvaluateVisitor_visitFunctionExpression_closure(t0, t1) {
  19130. this.$this = t0;
  19131. this.node = t1;
  19132. },
  19133. _EvaluateVisitor_visitFunctionExpression_closure0: function _EvaluateVisitor_visitFunctionExpression_closure0() {
  19134. },
  19135. _EvaluateVisitor_visitFunctionExpression_closure1: function _EvaluateVisitor_visitFunctionExpression_closure1(t0, t1, t2) {
  19136. this._box_0 = t0;
  19137. this.$this = t1;
  19138. this.node = t2;
  19139. },
  19140. _EvaluateVisitor__visitCalculation_closure: function _EvaluateVisitor__visitCalculation_closure(t0, t1) {
  19141. this.$this = t0;
  19142. this.node = t1;
  19143. },
  19144. _EvaluateVisitor__checkCalculationArguments_check: function _EvaluateVisitor__checkCalculationArguments_check(t0, t1) {
  19145. this.$this = t0;
  19146. this.node = t1;
  19147. },
  19148. _EvaluateVisitor__visitCalculationExpression_closure: function _EvaluateVisitor__visitCalculationExpression_closure(t0, t1, t2, t3) {
  19149. var _ = this;
  19150. _._box_0 = t0;
  19151. _.$this = t1;
  19152. _.node = t2;
  19153. _.inLegacySassFunction = t3;
  19154. },
  19155. _EvaluateVisitor__visitCalculationExpression__closure: function _EvaluateVisitor__visitCalculationExpression__closure(t0, t1) {
  19156. this.$this = t0;
  19157. this.node = t1;
  19158. },
  19159. _EvaluateVisitor_visitInterpolatedFunctionExpression_closure: function _EvaluateVisitor_visitInterpolatedFunctionExpression_closure(t0, t1, t2) {
  19160. this.$this = t0;
  19161. this.node = t1;
  19162. this.$function = t2;
  19163. },
  19164. _EvaluateVisitor__runUserDefinedCallable_closure: function _EvaluateVisitor__runUserDefinedCallable_closure(t0, t1, t2, t3, t4, t5) {
  19165. var _ = this;
  19166. _.$this = t0;
  19167. _.callable = t1;
  19168. _.evaluated = t2;
  19169. _.nodeWithSpan = t3;
  19170. _.run = t4;
  19171. _.V = t5;
  19172. },
  19173. _EvaluateVisitor__runUserDefinedCallable__closure: function _EvaluateVisitor__runUserDefinedCallable__closure(t0, t1, t2, t3, t4, t5) {
  19174. var _ = this;
  19175. _.$this = t0;
  19176. _.evaluated = t1;
  19177. _.callable = t2;
  19178. _.nodeWithSpan = t3;
  19179. _.run = t4;
  19180. _.V = t5;
  19181. },
  19182. _EvaluateVisitor__runUserDefinedCallable___closure: function _EvaluateVisitor__runUserDefinedCallable___closure(t0, t1, t2, t3, t4, t5) {
  19183. var _ = this;
  19184. _.$this = t0;
  19185. _.evaluated = t1;
  19186. _.callable = t2;
  19187. _.nodeWithSpan = t3;
  19188. _.run = t4;
  19189. _.V = t5;
  19190. },
  19191. _EvaluateVisitor__runUserDefinedCallable____closure: function _EvaluateVisitor__runUserDefinedCallable____closure() {
  19192. },
  19193. _EvaluateVisitor__runFunctionCallable_closure: function _EvaluateVisitor__runFunctionCallable_closure(t0, t1) {
  19194. this.$this = t0;
  19195. this.callable = t1;
  19196. },
  19197. _EvaluateVisitor__runBuiltInCallable_closure: function _EvaluateVisitor__runBuiltInCallable_closure(t0, t1, t2) {
  19198. this._box_0 = t0;
  19199. this.evaluated = t1;
  19200. this.namedSet = t2;
  19201. },
  19202. _EvaluateVisitor__runBuiltInCallable_closure0: function _EvaluateVisitor__runBuiltInCallable_closure0(t0, t1) {
  19203. this._box_0 = t0;
  19204. this.evaluated = t1;
  19205. },
  19206. _EvaluateVisitor__runBuiltInCallable_closure1: function _EvaluateVisitor__runBuiltInCallable_closure1() {
  19207. },
  19208. _EvaluateVisitor__evaluateArguments_closure: function _EvaluateVisitor__evaluateArguments_closure() {
  19209. },
  19210. _EvaluateVisitor__evaluateArguments_closure0: function _EvaluateVisitor__evaluateArguments_closure0(t0, t1) {
  19211. this.$this = t0;
  19212. this.restNodeForSpan = t1;
  19213. },
  19214. _EvaluateVisitor__evaluateArguments_closure1: function _EvaluateVisitor__evaluateArguments_closure1(t0, t1, t2, t3) {
  19215. var _ = this;
  19216. _.$this = t0;
  19217. _.named = t1;
  19218. _.restNodeForSpan = t2;
  19219. _.namedNodes = t3;
  19220. },
  19221. _EvaluateVisitor__evaluateArguments_closure2: function _EvaluateVisitor__evaluateArguments_closure2() {
  19222. },
  19223. _EvaluateVisitor__evaluateMacroArguments_closure: function _EvaluateVisitor__evaluateMacroArguments_closure(t0) {
  19224. this.restArgs = t0;
  19225. },
  19226. _EvaluateVisitor__evaluateMacroArguments_closure0: function _EvaluateVisitor__evaluateMacroArguments_closure0(t0, t1, t2) {
  19227. this.$this = t0;
  19228. this.restNodeForSpan = t1;
  19229. this.restArgs = t2;
  19230. },
  19231. _EvaluateVisitor__evaluateMacroArguments_closure1: function _EvaluateVisitor__evaluateMacroArguments_closure1(t0, t1, t2, t3) {
  19232. var _ = this;
  19233. _.$this = t0;
  19234. _.named = t1;
  19235. _.restNodeForSpan = t2;
  19236. _.restArgs = t3;
  19237. },
  19238. _EvaluateVisitor__evaluateMacroArguments_closure2: function _EvaluateVisitor__evaluateMacroArguments_closure2(t0, t1, t2) {
  19239. this.$this = t0;
  19240. this.keywordRestNodeForSpan = t1;
  19241. this.keywordRestArgs = t2;
  19242. },
  19243. _EvaluateVisitor__addRestMap_closure: function _EvaluateVisitor__addRestMap_closure(t0, t1, t2, t3, t4, t5) {
  19244. var _ = this;
  19245. _.$this = t0;
  19246. _.values = t1;
  19247. _.convert = t2;
  19248. _.expressionNode = t3;
  19249. _.map = t4;
  19250. _.nodeWithSpan = t5;
  19251. },
  19252. _EvaluateVisitor__verifyArguments_closure: function _EvaluateVisitor__verifyArguments_closure(t0, t1, t2) {
  19253. this.parameters = t0;
  19254. this.positional = t1;
  19255. this.named = t2;
  19256. },
  19257. _EvaluateVisitor_visitCssAtRule_closure: function _EvaluateVisitor_visitCssAtRule_closure(t0, t1) {
  19258. this.$this = t0;
  19259. this.node = t1;
  19260. },
  19261. _EvaluateVisitor_visitCssAtRule_closure0: function _EvaluateVisitor_visitCssAtRule_closure0() {
  19262. },
  19263. _EvaluateVisitor_visitCssKeyframeBlock_closure: function _EvaluateVisitor_visitCssKeyframeBlock_closure(t0, t1) {
  19264. this.$this = t0;
  19265. this.node = t1;
  19266. },
  19267. _EvaluateVisitor_visitCssKeyframeBlock_closure0: function _EvaluateVisitor_visitCssKeyframeBlock_closure0() {
  19268. },
  19269. _EvaluateVisitor_visitCssMediaRule_closure: function _EvaluateVisitor_visitCssMediaRule_closure(t0, t1) {
  19270. this.$this = t0;
  19271. this.node = t1;
  19272. },
  19273. _EvaluateVisitor_visitCssMediaRule_closure0: function _EvaluateVisitor_visitCssMediaRule_closure0(t0, t1, t2, t3) {
  19274. var _ = this;
  19275. _.$this = t0;
  19276. _.mergedQueries = t1;
  19277. _.node = t2;
  19278. _.mergedSources = t3;
  19279. },
  19280. _EvaluateVisitor_visitCssMediaRule__closure: function _EvaluateVisitor_visitCssMediaRule__closure(t0, t1) {
  19281. this.$this = t0;
  19282. this.node = t1;
  19283. },
  19284. _EvaluateVisitor_visitCssMediaRule___closure: function _EvaluateVisitor_visitCssMediaRule___closure(t0, t1) {
  19285. this.$this = t0;
  19286. this.node = t1;
  19287. },
  19288. _EvaluateVisitor_visitCssMediaRule_closure1: function _EvaluateVisitor_visitCssMediaRule_closure1(t0) {
  19289. this.mergedSources = t0;
  19290. },
  19291. _EvaluateVisitor_visitCssStyleRule_closure0: function _EvaluateVisitor_visitCssStyleRule_closure0(t0, t1, t2) {
  19292. this.$this = t0;
  19293. this.rule = t1;
  19294. this.node = t2;
  19295. },
  19296. _EvaluateVisitor_visitCssStyleRule__closure: function _EvaluateVisitor_visitCssStyleRule__closure(t0, t1) {
  19297. this.$this = t0;
  19298. this.node = t1;
  19299. },
  19300. _EvaluateVisitor_visitCssStyleRule_closure: function _EvaluateVisitor_visitCssStyleRule_closure() {
  19301. },
  19302. _EvaluateVisitor_visitCssSupportsRule_closure: function _EvaluateVisitor_visitCssSupportsRule_closure(t0, t1) {
  19303. this.$this = t0;
  19304. this.node = t1;
  19305. },
  19306. _EvaluateVisitor_visitCssSupportsRule__closure: function _EvaluateVisitor_visitCssSupportsRule__closure(t0, t1) {
  19307. this.$this = t0;
  19308. this.node = t1;
  19309. },
  19310. _EvaluateVisitor_visitCssSupportsRule_closure0: function _EvaluateVisitor_visitCssSupportsRule_closure0() {
  19311. },
  19312. _EvaluateVisitor__performInterpolationHelper_closure: function _EvaluateVisitor__performInterpolationHelper_closure(t0) {
  19313. this.interpolation = t0;
  19314. },
  19315. _EvaluateVisitor__serialize_closure: function _EvaluateVisitor__serialize_closure(t0, t1) {
  19316. this.value = t0;
  19317. this.quote = t1;
  19318. },
  19319. _EvaluateVisitor__expressionNode_closure: function _EvaluateVisitor__expressionNode_closure(t0, t1) {
  19320. this.$this = t0;
  19321. this.expression = t1;
  19322. },
  19323. _EvaluateVisitor__withoutSlash_recommendation: function _EvaluateVisitor__withoutSlash_recommendation() {
  19324. },
  19325. _EvaluateVisitor__stackFrame_closure: function _EvaluateVisitor__stackFrame_closure(t0) {
  19326. this.$this = t0;
  19327. },
  19328. _ImportedCssVisitor: function _ImportedCssVisitor(t0) {
  19329. this._visitor = t0;
  19330. },
  19331. _ImportedCssVisitor_visitCssAtRule_closure: function _ImportedCssVisitor_visitCssAtRule_closure() {
  19332. },
  19333. _ImportedCssVisitor_visitCssMediaRule_closure: function _ImportedCssVisitor_visitCssMediaRule_closure(t0) {
  19334. this.hasBeenMerged = t0;
  19335. },
  19336. _ImportedCssVisitor_visitCssStyleRule_closure: function _ImportedCssVisitor_visitCssStyleRule_closure() {
  19337. },
  19338. _ImportedCssVisitor_visitCssSupportsRule_closure: function _ImportedCssVisitor_visitCssSupportsRule_closure() {
  19339. },
  19340. _EvaluationContext: function _EvaluationContext(t0, t1) {
  19341. this._visitor = t0;
  19342. this._defaultWarnNodeWithSpan = t1;
  19343. },
  19344. EveryCssVisitor: function EveryCssVisitor() {
  19345. },
  19346. EveryCssVisitor_visitCssAtRule_closure: function EveryCssVisitor_visitCssAtRule_closure(t0) {
  19347. this.$this = t0;
  19348. },
  19349. EveryCssVisitor_visitCssKeyframeBlock_closure: function EveryCssVisitor_visitCssKeyframeBlock_closure(t0) {
  19350. this.$this = t0;
  19351. },
  19352. EveryCssVisitor_visitCssMediaRule_closure: function EveryCssVisitor_visitCssMediaRule_closure(t0) {
  19353. this.$this = t0;
  19354. },
  19355. EveryCssVisitor_visitCssStyleRule_closure: function EveryCssVisitor_visitCssStyleRule_closure(t0) {
  19356. this.$this = t0;
  19357. },
  19358. EveryCssVisitor_visitCssStylesheet_closure: function EveryCssVisitor_visitCssStylesheet_closure(t0) {
  19359. this.$this = t0;
  19360. },
  19361. EveryCssVisitor_visitCssSupportsRule_closure: function EveryCssVisitor_visitCssSupportsRule_closure(t0) {
  19362. this.$this = t0;
  19363. },
  19364. expressionToCalc(expression) {
  19365. var t4,
  19366. t1 = A._setArrayType([B.C__MakeExpressionCalculationSafe.visitBinaryOperationExpression$1(0, expression)], type$.JSArray_Expression),
  19367. t2 = expression.get$span(0),
  19368. t3 = type$.Expression;
  19369. t1 = A.List_List$unmodifiable(t1, t3);
  19370. t3 = A.ConstantMap_ConstantMap$from(B.Map_empty4, type$.String, t3);
  19371. t4 = expression.get$span(0);
  19372. return new A.FunctionExpression(null, A.stringReplaceAllUnchecked("calc", "_", "-"), "calc", new A.ArgumentList(t1, t3, null, null, t2), t4);
  19373. },
  19374. _MakeExpressionCalculationSafe: function _MakeExpressionCalculationSafe() {
  19375. },
  19376. __MakeExpressionCalculationSafe_Object_ReplaceExpressionVisitor: function __MakeExpressionCalculationSafe_Object_ReplaceExpressionVisitor() {
  19377. },
  19378. _FindDependenciesVisitor: function _FindDependenciesVisitor(t0, t1, t2, t3, t4) {
  19379. var _ = this;
  19380. _._find_dependencies$_uses = t0;
  19381. _._find_dependencies$_forwards = t1;
  19382. _._metaLoadCss = t2;
  19383. _._imports = t3;
  19384. _._metaNamespaces = t4;
  19385. },
  19386. DependencyReport: function DependencyReport(t0, t1, t2, t3) {
  19387. var _ = this;
  19388. _.uses = t0;
  19389. _.forwards = t1;
  19390. _.metaLoadCss = t2;
  19391. _.imports = t3;
  19392. },
  19393. __FindDependenciesVisitor_Object_RecursiveStatementVisitor: function __FindDependenciesVisitor_Object_RecursiveStatementVisitor() {
  19394. },
  19395. IsCalculationSafeVisitor: function IsCalculationSafeVisitor() {
  19396. },
  19397. IsCalculationSafeVisitor_visitListExpression_closure: function IsCalculationSafeVisitor_visitListExpression_closure(t0) {
  19398. this.$this = t0;
  19399. },
  19400. RecursiveStatementVisitor: function RecursiveStatementVisitor() {
  19401. },
  19402. ReplaceExpressionVisitor: function ReplaceExpressionVisitor() {
  19403. },
  19404. ReplaceExpressionVisitor_visitListExpression_closure: function ReplaceExpressionVisitor_visitListExpression_closure(t0) {
  19405. this.$this = t0;
  19406. },
  19407. ReplaceExpressionVisitor_visitArgumentList_closure: function ReplaceExpressionVisitor_visitArgumentList_closure(t0) {
  19408. this.$this = t0;
  19409. },
  19410. ReplaceExpressionVisitor_visitInterpolation_closure: function ReplaceExpressionVisitor_visitInterpolation_closure(t0) {
  19411. this.$this = t0;
  19412. },
  19413. SelectorSearchVisitor: function SelectorSearchVisitor() {
  19414. },
  19415. SelectorSearchVisitor_visitComplexSelector_closure: function SelectorSearchVisitor_visitComplexSelector_closure(t0) {
  19416. this.$this = t0;
  19417. },
  19418. SelectorSearchVisitor_visitCompoundSelector_closure: function SelectorSearchVisitor_visitCompoundSelector_closure(t0) {
  19419. this.$this = t0;
  19420. },
  19421. serialize(node, charset, indentWidth, inspect, lineFeed, logger, sourceMap, style, useSpaces) {
  19422. var t1, css, t2, prefix,
  19423. visitor = A._SerializeVisitor$(2, inspect, lineFeed, logger, true, sourceMap, style, true);
  19424. node.accept$1(visitor);
  19425. t1 = visitor._serialize$_buffer;
  19426. css = t1.toString$0(0);
  19427. if (charset) {
  19428. t2 = new A.CodeUnits(css);
  19429. t2 = t2.any$1(t2, new A.serialize_closure());
  19430. } else
  19431. t2 = false;
  19432. if (t2)
  19433. prefix = style === B.OutputStyle_1 ? "\ufeff" : '@charset "UTF-8";\n';
  19434. else
  19435. prefix = "";
  19436. t1 = sourceMap ? t1.buildSourceMap$1$prefix(prefix) : null;
  19437. return new A._Record_2_sourceMap(prefix + css, t1);
  19438. },
  19439. serializeValue(value, inspect, quote) {
  19440. var _null = null,
  19441. visitor = A._SerializeVisitor$(_null, inspect, _null, _null, quote, false, _null, true);
  19442. value.accept$1(visitor);
  19443. return visitor._serialize$_buffer.toString$0(0);
  19444. },
  19445. serializeSelector(selector, inspect) {
  19446. var _null = null,
  19447. visitor = A._SerializeVisitor$(_null, true, _null, _null, true, false, _null, true);
  19448. selector.accept$1(visitor);
  19449. return visitor._serialize$_buffer.toString$0(0);
  19450. },
  19451. _SerializeVisitor$(indentWidth, inspect, lineFeed, logger, quote, sourceMap, style, useSpaces) {
  19452. var t1 = sourceMap ? new A.SourceMapBuffer(new A.StringBuffer(""), A._setArrayType([], type$.JSArray_Entry)) : new A.NoSourceMapBuffer(new A.StringBuffer("")),
  19453. t2 = style == null ? B.OutputStyle_0 : style,
  19454. t3 = indentWidth == null ? 2 : indentWidth,
  19455. t4 = logger == null ? B.StderrLogger_false : logger;
  19456. A.RangeError_checkValueInInterval(t3, 0, 10, "indentWidth");
  19457. return new A._SerializeVisitor(t1, t2, inspect, quote, 32, t3, B.LineFeed_lf, t4);
  19458. },
  19459. serialize_closure: function serialize_closure() {
  19460. },
  19461. _SerializeVisitor: function _SerializeVisitor(t0, t1, t2, t3, t4, t5, t6, t7) {
  19462. var _ = this;
  19463. _._serialize$_buffer = t0;
  19464. _._indentation = 0;
  19465. _._style = t1;
  19466. _._inspect = t2;
  19467. _._quote = t3;
  19468. _._indentCharacter = t4;
  19469. _._indentWidth = t5;
  19470. _._serialize$_lineFeed = t6;
  19471. _._serialize$_logger = t7;
  19472. },
  19473. _SerializeVisitor_visitCssComment_closure: function _SerializeVisitor_visitCssComment_closure(t0, t1) {
  19474. this.$this = t0;
  19475. this.node = t1;
  19476. },
  19477. _SerializeVisitor_visitCssAtRule_closure: function _SerializeVisitor_visitCssAtRule_closure(t0, t1) {
  19478. this.$this = t0;
  19479. this.node = t1;
  19480. },
  19481. _SerializeVisitor_visitCssMediaRule_closure: function _SerializeVisitor_visitCssMediaRule_closure(t0, t1) {
  19482. this.$this = t0;
  19483. this.node = t1;
  19484. },
  19485. _SerializeVisitor_visitCssImport_closure: function _SerializeVisitor_visitCssImport_closure(t0, t1) {
  19486. this.$this = t0;
  19487. this.node = t1;
  19488. },
  19489. _SerializeVisitor_visitCssImport__closure: function _SerializeVisitor_visitCssImport__closure(t0, t1) {
  19490. this.$this = t0;
  19491. this.node = t1;
  19492. },
  19493. _SerializeVisitor_visitCssKeyframeBlock_closure: function _SerializeVisitor_visitCssKeyframeBlock_closure(t0, t1) {
  19494. this.$this = t0;
  19495. this.node = t1;
  19496. },
  19497. _SerializeVisitor_visitCssStyleRule_closure: function _SerializeVisitor_visitCssStyleRule_closure(t0, t1) {
  19498. this.$this = t0;
  19499. this.node = t1;
  19500. },
  19501. _SerializeVisitor_visitCssSupportsRule_closure: function _SerializeVisitor_visitCssSupportsRule_closure(t0, t1) {
  19502. this.$this = t0;
  19503. this.node = t1;
  19504. },
  19505. _SerializeVisitor_visitCssDeclaration_closure: function _SerializeVisitor_visitCssDeclaration_closure(t0, t1) {
  19506. this.$this = t0;
  19507. this.node = t1;
  19508. },
  19509. _SerializeVisitor_visitCssDeclaration_closure0: function _SerializeVisitor_visitCssDeclaration_closure0(t0, t1) {
  19510. this.$this = t0;
  19511. this.node = t1;
  19512. },
  19513. _SerializeVisitor_visitList_closure: function _SerializeVisitor_visitList_closure() {
  19514. },
  19515. _SerializeVisitor_visitList_closure0: function _SerializeVisitor_visitList_closure0(t0, t1) {
  19516. this.$this = t0;
  19517. this.value = t1;
  19518. },
  19519. _SerializeVisitor_visitList_closure1: function _SerializeVisitor_visitList_closure1(t0) {
  19520. this.$this = t0;
  19521. },
  19522. _SerializeVisitor_visitMap_closure: function _SerializeVisitor_visitMap_closure(t0) {
  19523. this.$this = t0;
  19524. },
  19525. _SerializeVisitor_visitSelectorList_closure: function _SerializeVisitor_visitSelectorList_closure() {
  19526. },
  19527. _SerializeVisitor__write_closure: function _SerializeVisitor__write_closure(t0, t1) {
  19528. this.$this = t0;
  19529. this.value = t1;
  19530. },
  19531. _SerializeVisitor__visitChildren_closure: function _SerializeVisitor__visitChildren_closure(t0, t1) {
  19532. this.$this = t0;
  19533. this.child = t1;
  19534. },
  19535. _SerializeVisitor__visitChildren_closure0: function _SerializeVisitor__visitChildren_closure0(t0, t1) {
  19536. this.$this = t0;
  19537. this.child = t1;
  19538. },
  19539. OutputStyle: function OutputStyle(t0) {
  19540. this._name = t0;
  19541. },
  19542. LineFeed: function LineFeed(t0) {
  19543. this._name = t0;
  19544. },
  19545. StatementSearchVisitor: function StatementSearchVisitor() {
  19546. },
  19547. StatementSearchVisitor_visitIfRule_closure: function StatementSearchVisitor_visitIfRule_closure(t0) {
  19548. this.$this = t0;
  19549. },
  19550. StatementSearchVisitor_visitIfRule__closure0: function StatementSearchVisitor_visitIfRule__closure0(t0) {
  19551. this.$this = t0;
  19552. },
  19553. StatementSearchVisitor_visitIfRule_closure0: function StatementSearchVisitor_visitIfRule_closure0(t0) {
  19554. this.$this = t0;
  19555. },
  19556. StatementSearchVisitor_visitIfRule__closure: function StatementSearchVisitor_visitIfRule__closure(t0) {
  19557. this.$this = t0;
  19558. },
  19559. StatementSearchVisitor_visitChildren_closure: function StatementSearchVisitor_visitChildren_closure(t0) {
  19560. this.$this = t0;
  19561. },
  19562. Entry: function Entry(t0, t1, t2) {
  19563. this.source = t0;
  19564. this.target = t1;
  19565. this.identifierName = t2;
  19566. },
  19567. SingleMapping_SingleMapping$fromEntries(entries) {
  19568. var lines, t1, t2, urls, names, files, targetEntries, t3, lineNum, _i, sourceEntry, t4, t5, sourceUrl, t6, urlId,
  19569. sourceEntries = J.toList$0$ax(entries);
  19570. B.JSArray_methods.sort$0(sourceEntries);
  19571. lines = A._setArrayType([], type$.JSArray_TargetLineEntry);
  19572. t1 = type$.String;
  19573. t2 = type$.int;
  19574. urls = A.LinkedHashMap_LinkedHashMap$_empty(t1, t2);
  19575. names = A.LinkedHashMap_LinkedHashMap$_empty(t1, t2);
  19576. files = A.LinkedHashMap_LinkedHashMap$_empty(t2, type$.SourceFile);
  19577. targetEntries = A._Cell$();
  19578. for (t2 = sourceEntries.length, t3 = type$.JSArray_TargetEntry, lineNum = null, _i = 0; _i < sourceEntries.length; sourceEntries.length === t2 || (0, A.throwConcurrentModificationError)(sourceEntries), ++_i) {
  19579. sourceEntry = sourceEntries[_i];
  19580. if (lineNum == null || sourceEntry.target.line > lineNum) {
  19581. lineNum = sourceEntry.target.line;
  19582. t4 = A._setArrayType([], t3);
  19583. targetEntries.__late_helper$_value = t4;
  19584. lines.push(new A.TargetLineEntry(lineNum, t4));
  19585. }
  19586. t4 = sourceEntry.source;
  19587. t5 = t4.file;
  19588. sourceUrl = t5.url;
  19589. t6 = sourceUrl == null ? "" : sourceUrl.toString$0(0);
  19590. urlId = urls.putIfAbsent$2(t6, new A.SingleMapping_SingleMapping$fromEntries_closure(urls));
  19591. files.putIfAbsent$2(urlId, new A.SingleMapping_SingleMapping$fromEntries_closure0(sourceEntry));
  19592. t6 = targetEntries.__late_helper$_value;
  19593. if (t6 === targetEntries)
  19594. A.throwExpression(A.LateError$localNI(""));
  19595. t4 = t4.offset;
  19596. J.add$1$ax(t6, new A.TargetEntry(sourceEntry.target.column, urlId, t5.getLine$1(t4), t5.getColumn$1(t4), null));
  19597. }
  19598. t2 = urls.$ti;
  19599. t3 = t2._eval$1("LinkedHashMapValuesIterable<2>");
  19600. t3 = A.MappedIterable_MappedIterable(new A.LinkedHashMapValuesIterable(urls, t3), new A.SingleMapping_SingleMapping$fromEntries_closure1(files), t3._eval$1("Iterable.E"), type$.nullable_SourceFile);
  19601. t3 = A.List_List$_of(t3, A._instanceType(t3)._eval$1("Iterable.E"));
  19602. t2 = t2._eval$1("LinkedHashMapKeysIterable<1>");
  19603. t2 = A.List_List$_of(new A.LinkedHashMapKeysIterable(urls, t2), t2._eval$1("Iterable.E"));
  19604. t4 = names.$ti._eval$1("LinkedHashMapKeysIterable<1>");
  19605. t4 = A.List_List$_of(new A.LinkedHashMapKeysIterable(names, t4), t4._eval$1("Iterable.E"));
  19606. return new A.SingleMapping(t2, t4, t3, lines, null, A.LinkedHashMap_LinkedHashMap$_empty(t1, type$.dynamic));
  19607. },
  19608. Mapping: function Mapping() {
  19609. },
  19610. SingleMapping: function SingleMapping(t0, t1, t2, t3, t4, t5) {
  19611. var _ = this;
  19612. _.urls = t0;
  19613. _.names = t1;
  19614. _.files = t2;
  19615. _.lines = t3;
  19616. _.targetUrl = t4;
  19617. _.sourceRoot = null;
  19618. _.extensions = t5;
  19619. },
  19620. SingleMapping_SingleMapping$fromEntries_closure: function SingleMapping_SingleMapping$fromEntries_closure(t0) {
  19621. this.urls = t0;
  19622. },
  19623. SingleMapping_SingleMapping$fromEntries_closure0: function SingleMapping_SingleMapping$fromEntries_closure0(t0) {
  19624. this.sourceEntry = t0;
  19625. },
  19626. SingleMapping_SingleMapping$fromEntries_closure1: function SingleMapping_SingleMapping$fromEntries_closure1(t0) {
  19627. this.files = t0;
  19628. },
  19629. SingleMapping_toJson_closure: function SingleMapping_toJson_closure() {
  19630. },
  19631. SingleMapping_toJson_closure0: function SingleMapping_toJson_closure0(t0) {
  19632. this.result = t0;
  19633. },
  19634. TargetLineEntry: function TargetLineEntry(t0, t1) {
  19635. this.line = t0;
  19636. this.entries = t1;
  19637. },
  19638. TargetEntry: function TargetEntry(t0, t1, t2, t3, t4) {
  19639. var _ = this;
  19640. _.column = t0;
  19641. _.sourceUrlId = t1;
  19642. _.sourceLine = t2;
  19643. _.sourceColumn = t3;
  19644. _.sourceNameId = t4;
  19645. },
  19646. SourceFile$fromString(text, url) {
  19647. var t1 = new A.CodeUnits(text),
  19648. t2 = A._setArrayType([0], type$.JSArray_int),
  19649. t3 = typeof url == "string" ? A.Uri_parse(url) : type$.nullable_Uri._as(url);
  19650. t2 = new A.SourceFile(t3, t2, new Uint32Array(A._ensureNativeList(t1.toList$0(t1))));
  19651. t2.SourceFile$decoded$2$url(t1, url);
  19652. return t2;
  19653. },
  19654. SourceFile$decoded(decodedChars, url) {
  19655. var t1 = A._setArrayType([0], type$.JSArray_int),
  19656. t2 = typeof url == "string" ? A.Uri_parse(url) : type$.nullable_Uri._as(url);
  19657. t1 = new A.SourceFile(t2, t1, new Uint32Array(A._ensureNativeList(J.toList$0$ax(decodedChars))));
  19658. t1.SourceFile$decoded$2$url(decodedChars, url);
  19659. return t1;
  19660. },
  19661. FileLocation$_(file, offset) {
  19662. if (offset < 0)
  19663. A.throwExpression(A.RangeError$("Offset may not be negative, was " + offset + "."));
  19664. else if (offset > file._decodedChars.length)
  19665. A.throwExpression(A.RangeError$("Offset " + offset + string$.x20must_n + file.get$length(0) + "."));
  19666. return new A.FileLocation(file, offset);
  19667. },
  19668. _FileSpan$(file, _start, _end) {
  19669. if (_end < _start)
  19670. A.throwExpression(A.ArgumentError$("End " + _end + " must come after start " + _start + ".", null));
  19671. else if (_end > file._decodedChars.length)
  19672. A.throwExpression(A.RangeError$("End " + _end + string$.x20must_n + file.get$length(0) + "."));
  19673. else if (_start < 0)
  19674. A.throwExpression(A.RangeError$("Start may not be negative, was " + _start + "."));
  19675. return new A._FileSpan(file, _start, _end);
  19676. },
  19677. FileSpanExtension_subspan(_this, start, end) {
  19678. var t1, startOffset, t2;
  19679. A.RangeError_checkValidRange(start, end, _this.get$length(_this));
  19680. if (start === 0)
  19681. t1 = end == null || end === _this.get$length(_this);
  19682. else
  19683. t1 = false;
  19684. if (t1)
  19685. return _this;
  19686. startOffset = _this.get$start(_this).offset;
  19687. t1 = _this.get$file(_this);
  19688. t2 = end == null ? _this.get$end(_this).offset : startOffset + end;
  19689. return t1.span$2(0, startOffset + start, t2);
  19690. },
  19691. SourceFile: function SourceFile(t0, t1, t2) {
  19692. var _ = this;
  19693. _.url = t0;
  19694. _._lineStarts = t1;
  19695. _._decodedChars = t2;
  19696. _._cachedLine = null;
  19697. },
  19698. FileLocation: function FileLocation(t0, t1) {
  19699. this.file = t0;
  19700. this.offset = t1;
  19701. },
  19702. _FileSpan: function _FileSpan(t0, t1, t2) {
  19703. this.file = t0;
  19704. this._file$_start = t1;
  19705. this._end = t2;
  19706. },
  19707. Highlighter$(span, color) {
  19708. var t1 = A.Highlighter__collateLines(A._setArrayType([A._Highlight$(span, null, true)], type$.JSArray__Highlight)),
  19709. t2 = new A.Highlighter_closure(color).call$0(),
  19710. t3 = B.JSInt_methods.toString$0(B.JSArray_methods.get$last(t1).number + 1),
  19711. t4 = A.Highlighter__contiguous(t1) ? 0 : 3,
  19712. t5 = A._arrayInstanceType(t1);
  19713. 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(""));
  19714. },
  19715. Highlighter$multiple(primarySpan, primaryLabel, secondarySpans, color, primaryColor, secondaryColor) {
  19716. var t2, t3, t4, t5, t6,
  19717. t1 = A._setArrayType([A._Highlight$(primarySpan, primaryLabel, true)], type$.JSArray__Highlight);
  19718. for (t2 = secondarySpans.get$entries(secondarySpans), t2 = t2.get$iterator(t2); t2.moveNext$0();) {
  19719. t3 = t2.get$current(t2);
  19720. t1.push(A._Highlight$(t3.key, t3.value, false));
  19721. }
  19722. t1 = A.Highlighter__collateLines(t1);
  19723. if (color)
  19724. t2 = primaryColor == null ? "\x1b[31m" : primaryColor;
  19725. else
  19726. t2 = null;
  19727. if (color)
  19728. t3 = "\x1b[34m";
  19729. else
  19730. t3 = null;
  19731. t4 = B.JSInt_methods.toString$0(B.JSArray_methods.get$last(t1).number + 1);
  19732. t5 = A.Highlighter__contiguous(t1) ? 0 : 3;
  19733. t6 = A._arrayInstanceType(t1);
  19734. 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(""));
  19735. },
  19736. Highlighter__contiguous(lines) {
  19737. var i, thisLine, nextLine;
  19738. for (i = 0; i < lines.length - 1;) {
  19739. thisLine = lines[i];
  19740. ++i;
  19741. nextLine = lines[i];
  19742. if (thisLine.number + 1 !== nextLine.number && J.$eq$(thisLine.url, nextLine.url))
  19743. return false;
  19744. }
  19745. return true;
  19746. },
  19747. Highlighter__collateLines(highlights) {
  19748. var t1, t2,
  19749. highlightsByUrl = A.groupBy(highlights, new A.Highlighter__collateLines_closure(), type$._Highlight, type$.Object);
  19750. for (t1 = new A.LinkedHashMapValueIterator(highlightsByUrl, highlightsByUrl._modifications, highlightsByUrl._first); t1.moveNext$0();)
  19751. J.sort$1$ax(t1.__js_helper$_current, new A.Highlighter__collateLines_closure0());
  19752. t1 = A._instanceType(highlightsByUrl)._eval$1("LinkedHashMapEntriesIterable<1,2>");
  19753. t2 = t1._eval$1("ExpandIterable<Iterable.E,_Line>");
  19754. t1 = A.List_List$_of(new A.ExpandIterable(new A.LinkedHashMapEntriesIterable(highlightsByUrl, t1), new A.Highlighter__collateLines_closure1(), t2), t2._eval$1("Iterable.E"));
  19755. return t1;
  19756. },
  19757. _Highlight$(span, label, primary) {
  19758. var t2,
  19759. t1 = new A._Highlight_closure(span).call$0();
  19760. if (label == null)
  19761. t2 = null;
  19762. else
  19763. t2 = A.stringReplaceAllUnchecked(label, "\r\n", "\n");
  19764. return new A._Highlight(t1, primary, t2);
  19765. },
  19766. _Highlight__normalizeNewlines(span) {
  19767. var endOffset, t1, i, t2, t3, t4,
  19768. text = span.get$text();
  19769. if (!B.JSString_methods.contains$1(text, "\r\n"))
  19770. return span;
  19771. endOffset = span.get$end(span).get$offset();
  19772. for (t1 = text.length - 1, i = 0; i < t1; ++i)
  19773. if (text.charCodeAt(i) === 13 && text.charCodeAt(i + 1) === 10)
  19774. --endOffset;
  19775. t1 = span.get$start(span);
  19776. t2 = span.get$sourceUrl(span);
  19777. t3 = span.get$end(span).get$line();
  19778. t2 = A.SourceLocation$(endOffset, span.get$end(span).get$column(), t3, t2);
  19779. t3 = A.stringReplaceAllUnchecked(text, "\r\n", "\n");
  19780. t4 = span.get$context(span);
  19781. return A.SourceSpanWithContext$(t1, t2, t3, A.stringReplaceAllUnchecked(t4, "\r\n", "\n"));
  19782. },
  19783. _Highlight__normalizeTrailingNewline(span) {
  19784. var context, text, start, end, t1, t2, t3;
  19785. if (!B.JSString_methods.endsWith$1(span.get$context(span), "\n"))
  19786. return span;
  19787. if (B.JSString_methods.endsWith$1(span.get$text(), "\n\n"))
  19788. return span;
  19789. context = B.JSString_methods.substring$2(span.get$context(span), 0, span.get$context(span).length - 1);
  19790. text = span.get$text();
  19791. start = span.get$start(span);
  19792. end = span.get$end(span);
  19793. if (B.JSString_methods.endsWith$1(span.get$text(), "\n")) {
  19794. t1 = A.findLineStart(span.get$context(span), span.get$text(), span.get$start(span).get$column());
  19795. t1.toString;
  19796. t1 = t1 + span.get$start(span).get$column() + span.get$length(span) === span.get$context(span).length;
  19797. } else
  19798. t1 = false;
  19799. if (t1) {
  19800. text = B.JSString_methods.substring$2(span.get$text(), 0, span.get$text().length - 1);
  19801. if (text.length === 0)
  19802. end = start;
  19803. else {
  19804. t1 = span.get$end(span).get$offset();
  19805. t2 = span.get$sourceUrl(span);
  19806. t3 = span.get$end(span).get$line();
  19807. end = A.SourceLocation$(t1 - 1, A._Highlight__lastLineLength(context), t3 - 1, t2);
  19808. start = span.get$start(span).get$offset() === span.get$end(span).get$offset() ? end : span.get$start(span);
  19809. }
  19810. }
  19811. return A.SourceSpanWithContext$(start, end, text, context);
  19812. },
  19813. _Highlight__normalizeEndOfLine(span) {
  19814. var text, t1, t2, t3, t4;
  19815. if (span.get$end(span).get$column() !== 0)
  19816. return span;
  19817. if (span.get$end(span).get$line() === span.get$start(span).get$line())
  19818. return span;
  19819. text = B.JSString_methods.substring$2(span.get$text(), 0, span.get$text().length - 1);
  19820. t1 = span.get$start(span);
  19821. t2 = span.get$end(span).get$offset();
  19822. t3 = span.get$sourceUrl(span);
  19823. t4 = span.get$end(span).get$line();
  19824. t3 = A.SourceLocation$(t2 - 1, text.length - B.JSString_methods.lastIndexOf$1(text, "\n") - 1, t4 - 1, t3);
  19825. 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));
  19826. },
  19827. _Highlight__lastLineLength(text) {
  19828. var t1 = text.length;
  19829. if (t1 === 0)
  19830. return 0;
  19831. else if (text.charCodeAt(t1 - 1) === 10)
  19832. return t1 === 1 ? 0 : t1 - B.JSString_methods.lastIndexOf$2(text, "\n", t1 - 2) - 1;
  19833. else
  19834. return t1 - B.JSString_methods.lastIndexOf$1(text, "\n") - 1;
  19835. },
  19836. Highlighter: function Highlighter(t0, t1, t2, t3, t4, t5, t6) {
  19837. var _ = this;
  19838. _._lines = t0;
  19839. _._primaryColor = t1;
  19840. _._secondaryColor = t2;
  19841. _._paddingBeforeSidebar = t3;
  19842. _._maxMultilineSpans = t4;
  19843. _._multipleFiles = t5;
  19844. _._highlighter$_buffer = t6;
  19845. },
  19846. Highlighter_closure: function Highlighter_closure(t0) {
  19847. this.color = t0;
  19848. },
  19849. Highlighter$__closure: function Highlighter$__closure() {
  19850. },
  19851. Highlighter$___closure: function Highlighter$___closure() {
  19852. },
  19853. Highlighter$__closure0: function Highlighter$__closure0() {
  19854. },
  19855. Highlighter__collateLines_closure: function Highlighter__collateLines_closure() {
  19856. },
  19857. Highlighter__collateLines_closure0: function Highlighter__collateLines_closure0() {
  19858. },
  19859. Highlighter__collateLines_closure1: function Highlighter__collateLines_closure1() {
  19860. },
  19861. Highlighter__collateLines__closure: function Highlighter__collateLines__closure(t0) {
  19862. this.line = t0;
  19863. },
  19864. Highlighter_highlight_closure: function Highlighter_highlight_closure() {
  19865. },
  19866. Highlighter__writeFileStart_closure: function Highlighter__writeFileStart_closure(t0) {
  19867. this.$this = t0;
  19868. },
  19869. Highlighter__writeMultilineHighlights_closure: function Highlighter__writeMultilineHighlights_closure(t0, t1, t2) {
  19870. this.$this = t0;
  19871. this.startLine = t1;
  19872. this.line = t2;
  19873. },
  19874. Highlighter__writeMultilineHighlights_closure0: function Highlighter__writeMultilineHighlights_closure0(t0, t1) {
  19875. this.$this = t0;
  19876. this.highlight = t1;
  19877. },
  19878. Highlighter__writeMultilineHighlights_closure1: function Highlighter__writeMultilineHighlights_closure1(t0) {
  19879. this.$this = t0;
  19880. },
  19881. Highlighter__writeMultilineHighlights_closure2: function Highlighter__writeMultilineHighlights_closure2(t0, t1, t2, t3, t4, t5, t6) {
  19882. var _ = this;
  19883. _._box_0 = t0;
  19884. _.$this = t1;
  19885. _.current = t2;
  19886. _.startLine = t3;
  19887. _.line = t4;
  19888. _.highlight = t5;
  19889. _.endLine = t6;
  19890. },
  19891. Highlighter__writeMultilineHighlights__closure: function Highlighter__writeMultilineHighlights__closure(t0, t1) {
  19892. this._box_0 = t0;
  19893. this.$this = t1;
  19894. },
  19895. Highlighter__writeMultilineHighlights__closure0: function Highlighter__writeMultilineHighlights__closure0(t0, t1) {
  19896. this.$this = t0;
  19897. this.vertical = t1;
  19898. },
  19899. Highlighter__writeHighlightedText_closure: function Highlighter__writeHighlightedText_closure(t0, t1, t2, t3) {
  19900. var _ = this;
  19901. _.$this = t0;
  19902. _.text = t1;
  19903. _.startColumn = t2;
  19904. _.endColumn = t3;
  19905. },
  19906. Highlighter__writeIndicator_closure: function Highlighter__writeIndicator_closure(t0, t1, t2) {
  19907. this.$this = t0;
  19908. this.line = t1;
  19909. this.highlight = t2;
  19910. },
  19911. Highlighter__writeIndicator_closure0: function Highlighter__writeIndicator_closure0(t0, t1, t2) {
  19912. this.$this = t0;
  19913. this.line = t1;
  19914. this.highlight = t2;
  19915. },
  19916. Highlighter__writeIndicator_closure1: function Highlighter__writeIndicator_closure1(t0, t1, t2, t3) {
  19917. var _ = this;
  19918. _.$this = t0;
  19919. _.coversWholeLine = t1;
  19920. _.line = t2;
  19921. _.highlight = t3;
  19922. },
  19923. Highlighter__writeLabel_closure: function Highlighter__writeLabel_closure(t0, t1) {
  19924. this.$this = t0;
  19925. this.lines = t1;
  19926. },
  19927. Highlighter__writeLabel_closure0: function Highlighter__writeLabel_closure0(t0, t1) {
  19928. this.$this = t0;
  19929. this.text = t1;
  19930. },
  19931. Highlighter__writeSidebar_closure: function Highlighter__writeSidebar_closure(t0, t1, t2) {
  19932. this._box_0 = t0;
  19933. this.$this = t1;
  19934. this.end = t2;
  19935. },
  19936. _Highlight: function _Highlight(t0, t1, t2) {
  19937. this.span = t0;
  19938. this.isPrimary = t1;
  19939. this.label = t2;
  19940. },
  19941. _Highlight_closure: function _Highlight_closure(t0) {
  19942. this.span = t0;
  19943. },
  19944. _Line: function _Line(t0, t1, t2, t3) {
  19945. var _ = this;
  19946. _.text = t0;
  19947. _.number = t1;
  19948. _.url = t2;
  19949. _.highlights = t3;
  19950. },
  19951. SourceLocation$(offset, column, line, sourceUrl) {
  19952. var t1 = line == null,
  19953. t2 = t1 ? 0 : line,
  19954. t3 = column == null,
  19955. t4 = t3 ? offset : column;
  19956. if (offset < 0)
  19957. A.throwExpression(A.RangeError$("Offset may not be negative, was " + offset + "."));
  19958. else if (!t1 && line < 0)
  19959. A.throwExpression(A.RangeError$("Line may not be negative, was " + A.S(line) + "."));
  19960. else if (!t3 && column < 0)
  19961. A.throwExpression(A.RangeError$("Column may not be negative, was " + A.S(column) + "."));
  19962. return new A.SourceLocation(sourceUrl, offset, t2, t4);
  19963. },
  19964. SourceLocation: function SourceLocation(t0, t1, t2, t3) {
  19965. var _ = this;
  19966. _.sourceUrl = t0;
  19967. _.offset = t1;
  19968. _.line = t2;
  19969. _.column = t3;
  19970. },
  19971. SourceLocationMixin: function SourceLocationMixin() {
  19972. },
  19973. SourceSpanExtension_messageMultiple(_this, message, label, secondarySpans, color, primaryColor, secondaryColor) {
  19974. var t2, t3,
  19975. t1 = _this.get$start(_this);
  19976. t1 = t1.file.getLine$1(t1.offset);
  19977. t2 = _this.get$start(_this);
  19978. t2 = "" + ("line " + (t1 + 1) + ", column " + (t2.file.getColumn$1(t2.offset) + 1));
  19979. if (_this.get$sourceUrl(_this) != null) {
  19980. t1 = _this.get$sourceUrl(_this);
  19981. t3 = $.$get$context();
  19982. t1.toString;
  19983. t1 = t2 + (" of " + t3.prettyUri$1(t1));
  19984. } else
  19985. t1 = t2;
  19986. t1 = t1 + (": " + message + "\n") + A.Highlighter$multiple(_this, label, secondarySpans, color, primaryColor, secondaryColor).highlight$0();
  19987. return t1.charCodeAt(0) == 0 ? t1 : t1;
  19988. },
  19989. SourceSpanBase: function SourceSpanBase() {
  19990. },
  19991. SourceSpanException: function SourceSpanException() {
  19992. },
  19993. SourceSpanFormatException: function SourceSpanFormatException(t0, t1, t2) {
  19994. this.source = t0;
  19995. this._span_exception$_message = t1;
  19996. this._span = t2;
  19997. },
  19998. MultiSourceSpanException: function MultiSourceSpanException() {
  19999. },
  20000. MultiSourceSpanFormatException: function MultiSourceSpanFormatException(t0, t1, t2, t3, t4) {
  20001. var _ = this;
  20002. _.source = t0;
  20003. _.primaryLabel = t1;
  20004. _.secondarySpans = t2;
  20005. _._span_exception$_message = t3;
  20006. _._span = t4;
  20007. },
  20008. SourceSpanMixin: function SourceSpanMixin() {
  20009. },
  20010. SourceSpanWithContext$(start, end, text, _context) {
  20011. var t1 = new A.SourceSpanWithContext(_context, start, end, text);
  20012. t1.SourceSpanBase$3(start, end, text);
  20013. if (!B.JSString_methods.contains$1(_context, text))
  20014. A.throwExpression(A.ArgumentError$('The context line "' + _context + '" must contain "' + text + '".', null));
  20015. if (A.findLineStart(_context, text, start.get$column()) == null)
  20016. A.throwExpression(A.ArgumentError$('The span text "' + text + '" must start at column ' + (start.get$column() + 1) + ' in a line within "' + _context + '".', null));
  20017. return t1;
  20018. },
  20019. SourceSpanWithContext: function SourceSpanWithContext(t0, t1, t2, t3) {
  20020. var _ = this;
  20021. _._context = t0;
  20022. _.start = t1;
  20023. _.end = t2;
  20024. _.text = t3;
  20025. },
  20026. Chain_Chain$parse(chain) {
  20027. var t1, t2,
  20028. _s51_ = string$.x3d_____;
  20029. if (chain.length === 0)
  20030. return new A.Chain(A.List_List$unmodifiable(A._setArrayType([], type$.JSArray_Trace), type$.Trace));
  20031. t1 = $.$get$vmChainGap();
  20032. if (B.JSString_methods.contains$1(chain, t1)) {
  20033. t1 = B.JSString_methods.split$1(chain, t1);
  20034. t2 = A._arrayInstanceType(t1);
  20035. 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));
  20036. }
  20037. if (!B.JSString_methods.contains$1(chain, _s51_))
  20038. return new A.Chain(A.List_List$unmodifiable(A._setArrayType([A.Trace_Trace$parse(chain)], type$.JSArray_Trace), type$.Trace));
  20039. 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));
  20040. },
  20041. Chain: function Chain(t0) {
  20042. this.traces = t0;
  20043. },
  20044. Chain_Chain$parse_closure: function Chain_Chain$parse_closure() {
  20045. },
  20046. Chain_toTrace_closure: function Chain_toTrace_closure() {
  20047. },
  20048. Chain_toString_closure0: function Chain_toString_closure0() {
  20049. },
  20050. Chain_toString__closure0: function Chain_toString__closure0() {
  20051. },
  20052. Chain_toString_closure: function Chain_toString_closure(t0) {
  20053. this.longest = t0;
  20054. },
  20055. Chain_toString__closure: function Chain_toString__closure(t0) {
  20056. this.longest = t0;
  20057. },
  20058. Frame___parseVM_tearOff(frame) {
  20059. return A.Frame_Frame$parseVM(frame);
  20060. },
  20061. Frame_Frame$parseVM(frame) {
  20062. return A.Frame__catchFormatException(frame, new A.Frame_Frame$parseVM_closure(frame));
  20063. },
  20064. Frame___parseV8_tearOff(frame) {
  20065. return A.Frame_Frame$parseV8(frame);
  20066. },
  20067. Frame_Frame$parseV8(frame) {
  20068. return A.Frame__catchFormatException(frame, new A.Frame_Frame$parseV8_closure(frame));
  20069. },
  20070. Frame_Frame$_parseFirefoxEval(frame) {
  20071. return A.Frame__catchFormatException(frame, new A.Frame_Frame$_parseFirefoxEval_closure(frame));
  20072. },
  20073. Frame___parseFirefox_tearOff(frame) {
  20074. return A.Frame_Frame$parseFirefox(frame);
  20075. },
  20076. Frame_Frame$parseFirefox(frame) {
  20077. return A.Frame__catchFormatException(frame, new A.Frame_Frame$parseFirefox_closure(frame));
  20078. },
  20079. Frame___parseFriendly_tearOff(frame) {
  20080. return A.Frame_Frame$parseFriendly(frame);
  20081. },
  20082. Frame_Frame$parseFriendly(frame) {
  20083. return A.Frame__catchFormatException(frame, new A.Frame_Frame$parseFriendly_closure(frame));
  20084. },
  20085. Frame__uriOrPathToUri(uriOrPath) {
  20086. if (B.JSString_methods.contains$1(uriOrPath, $.$get$Frame__uriRegExp()))
  20087. return A.Uri_parse(uriOrPath);
  20088. else if (B.JSString_methods.contains$1(uriOrPath, $.$get$Frame__windowsRegExp()))
  20089. return A._Uri__Uri$file(uriOrPath, true);
  20090. else if (B.JSString_methods.startsWith$1(uriOrPath, "/"))
  20091. return A._Uri__Uri$file(uriOrPath, false);
  20092. if (B.JSString_methods.contains$1(uriOrPath, "\\"))
  20093. return $.$get$windows().toUri$1(uriOrPath);
  20094. return A.Uri_parse(uriOrPath);
  20095. },
  20096. Frame__catchFormatException(text, body) {
  20097. var t1, exception;
  20098. try {
  20099. t1 = body.call$0();
  20100. return t1;
  20101. } catch (exception) {
  20102. if (type$.FormatException._is(A.unwrapException(exception)))
  20103. return new A.UnparsedFrame(A._Uri__Uri(null, "unparsed", null, null), text);
  20104. else
  20105. throw exception;
  20106. }
  20107. },
  20108. Frame: function Frame(t0, t1, t2, t3) {
  20109. var _ = this;
  20110. _.uri = t0;
  20111. _.line = t1;
  20112. _.column = t2;
  20113. _.member = t3;
  20114. },
  20115. Frame_Frame$parseVM_closure: function Frame_Frame$parseVM_closure(t0) {
  20116. this.frame = t0;
  20117. },
  20118. Frame_Frame$parseV8_closure: function Frame_Frame$parseV8_closure(t0) {
  20119. this.frame = t0;
  20120. },
  20121. Frame_Frame$parseV8_closure_parseJsLocation: function Frame_Frame$parseV8_closure_parseJsLocation(t0) {
  20122. this.frame = t0;
  20123. },
  20124. Frame_Frame$_parseFirefoxEval_closure: function Frame_Frame$_parseFirefoxEval_closure(t0) {
  20125. this.frame = t0;
  20126. },
  20127. Frame_Frame$parseFirefox_closure: function Frame_Frame$parseFirefox_closure(t0) {
  20128. this.frame = t0;
  20129. },
  20130. Frame_Frame$parseFriendly_closure: function Frame_Frame$parseFriendly_closure(t0) {
  20131. this.frame = t0;
  20132. },
  20133. LazyTrace: function LazyTrace(t0) {
  20134. this._thunk = t0;
  20135. this.__LazyTrace__trace_FI = $;
  20136. },
  20137. LazyTrace_terse_closure: function LazyTrace_terse_closure(t0) {
  20138. this.$this = t0;
  20139. },
  20140. Trace_Trace$from(trace) {
  20141. if (type$.Trace._is(trace))
  20142. return trace;
  20143. if (trace instanceof A.Chain)
  20144. return trace.toTrace$0();
  20145. return new A.LazyTrace(new A.Trace_Trace$from_closure(trace));
  20146. },
  20147. Trace_Trace$parse(trace) {
  20148. var error, t1, exception;
  20149. try {
  20150. if (trace.length === 0) {
  20151. t1 = A.Trace$(A._setArrayType([], type$.JSArray_Frame), null);
  20152. return t1;
  20153. }
  20154. if (B.JSString_methods.contains$1(trace, $.$get$_v8Trace())) {
  20155. t1 = A.Trace$parseV8(trace);
  20156. return t1;
  20157. }
  20158. if (B.JSString_methods.contains$1(trace, "\tat ")) {
  20159. t1 = A.Trace$parseJSCore(trace);
  20160. return t1;
  20161. }
  20162. if (B.JSString_methods.contains$1(trace, $.$get$_firefoxSafariTrace()) || B.JSString_methods.contains$1(trace, $.$get$_firefoxEvalTrace())) {
  20163. t1 = A.Trace$parseFirefox(trace);
  20164. return t1;
  20165. }
  20166. if (B.JSString_methods.contains$1(trace, string$.x3d_____)) {
  20167. t1 = A.Chain_Chain$parse(trace).toTrace$0();
  20168. return t1;
  20169. }
  20170. if (B.JSString_methods.contains$1(trace, $.$get$_friendlyTrace())) {
  20171. t1 = A.Trace$parseFriendly(trace);
  20172. return t1;
  20173. }
  20174. t1 = A.Trace$parseVM(trace);
  20175. return t1;
  20176. } catch (exception) {
  20177. t1 = A.unwrapException(exception);
  20178. if (type$.FormatException._is(t1)) {
  20179. error = t1;
  20180. throw A.wrapException(A.FormatException$(J.get$message$x(error) + "\nStack trace:\n" + trace, null, null));
  20181. } else
  20182. throw exception;
  20183. }
  20184. },
  20185. Trace___parseVM_tearOff(trace) {
  20186. return A.Trace$parseVM(trace);
  20187. },
  20188. Trace$parseVM(trace) {
  20189. var t1 = A.List_List$unmodifiable(A.Trace__parseVM(trace), type$.Frame);
  20190. return new A.Trace(t1, new A._StringStackTrace(trace));
  20191. },
  20192. Trace__parseVM(trace) {
  20193. var $frames,
  20194. t1 = B.JSString_methods.trim$0(trace),
  20195. t2 = $.$get$vmChainGap(),
  20196. t3 = type$.WhereIterable_String,
  20197. lines = new A.WhereIterable(A._setArrayType(A.stringReplaceAllUnchecked(t1, t2, "").split("\n"), type$.JSArray_String), new A.Trace__parseVM_closure(), t3);
  20198. if (!lines.get$iterator(0).moveNext$0())
  20199. return A._setArrayType([], type$.JSArray_Frame);
  20200. t1 = A.TakeIterable_TakeIterable(lines, lines.get$length(0) - 1, t3._eval$1("Iterable.E"));
  20201. t1 = A.MappedIterable_MappedIterable(t1, A.frame_Frame___parseVM_tearOff$closure(), A._instanceType(t1)._eval$1("Iterable.E"), type$.Frame);
  20202. $frames = A.List_List$_of(t1, A._instanceType(t1)._eval$1("Iterable.E"));
  20203. if (!J.endsWith$1$s(lines.get$last(0), ".da"))
  20204. $frames.push(A.Frame_Frame$parseVM(lines.get$last(0)));
  20205. return $frames;
  20206. },
  20207. Trace$parseV8(trace) {
  20208. 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()),
  20209. t2 = type$.Frame;
  20210. t2 = A.List_List$unmodifiable(A.MappedIterable_MappedIterable(t1, A.frame_Frame___parseV8_tearOff$closure(), t1.$ti._eval$1("Iterable.E"), t2), t2);
  20211. return new A.Trace(t2, new A._StringStackTrace(trace));
  20212. },
  20213. Trace$parseJSCore(trace) {
  20214. 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);
  20215. return new A.Trace(t1, new A._StringStackTrace(trace));
  20216. },
  20217. Trace$parseFirefox(trace) {
  20218. 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);
  20219. return new A.Trace(t1, new A._StringStackTrace(trace));
  20220. },
  20221. Trace___parseFriendly_tearOff(trace) {
  20222. return A.Trace$parseFriendly(trace);
  20223. },
  20224. Trace$parseFriendly(trace) {
  20225. 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);
  20226. t1 = A.List_List$unmodifiable(t1, type$.Frame);
  20227. return new A.Trace(t1, new A._StringStackTrace(trace));
  20228. },
  20229. Trace$($frames, original) {
  20230. var t1 = A.List_List$unmodifiable($frames, type$.Frame);
  20231. return new A.Trace(t1, new A._StringStackTrace(original == null ? "" : original));
  20232. },
  20233. Trace: function Trace(t0, t1) {
  20234. this.frames = t0;
  20235. this.original = t1;
  20236. },
  20237. Trace_Trace$from_closure: function Trace_Trace$from_closure(t0) {
  20238. this.trace = t0;
  20239. },
  20240. Trace__parseVM_closure: function Trace__parseVM_closure() {
  20241. },
  20242. Trace$parseV8_closure: function Trace$parseV8_closure() {
  20243. },
  20244. Trace$parseJSCore_closure: function Trace$parseJSCore_closure() {
  20245. },
  20246. Trace$parseFirefox_closure: function Trace$parseFirefox_closure() {
  20247. },
  20248. Trace$parseFriendly_closure: function Trace$parseFriendly_closure() {
  20249. },
  20250. Trace_terse_closure: function Trace_terse_closure() {
  20251. },
  20252. Trace_foldFrames_closure: function Trace_foldFrames_closure(t0) {
  20253. this.oldPredicate = t0;
  20254. },
  20255. Trace_foldFrames_closure0: function Trace_foldFrames_closure0(t0) {
  20256. this._box_0 = t0;
  20257. },
  20258. Trace_toString_closure0: function Trace_toString_closure0() {
  20259. },
  20260. Trace_toString_closure: function Trace_toString_closure(t0) {
  20261. this.longest = t0;
  20262. },
  20263. UnparsedFrame: function UnparsedFrame(t0, t1) {
  20264. this.uri = t0;
  20265. this.member = t1;
  20266. },
  20267. TransformByHandlers_transformByHandlers(_this, onData, onDone, $S, $T) {
  20268. var _null = null, t1 = {},
  20269. controller = A.StreamController_StreamController(_null, _null, _null, _null, true, $T);
  20270. t1.subscription = null;
  20271. controller.onListen = new A.TransformByHandlers_transformByHandlers_closure(t1, _this, onData, controller, A.instantiate1(A.from_handlers__TransformByHandlers__defaultHandleError$closure(), $T), onDone, $S);
  20272. return controller.get$stream();
  20273. },
  20274. TransformByHandlers__defaultHandleError(error, stackTrace, sink) {
  20275. sink.addError$2(error, stackTrace);
  20276. },
  20277. TransformByHandlers_transformByHandlers_closure: function TransformByHandlers_transformByHandlers_closure(t0, t1, t2, t3, t4, t5, t6) {
  20278. var _ = this;
  20279. _._box_1 = t0;
  20280. _._this = t1;
  20281. _.onData = t2;
  20282. _.controller = t3;
  20283. _.handleError = t4;
  20284. _.handleDone = t5;
  20285. _.S = t6;
  20286. },
  20287. TransformByHandlers_transformByHandlers__closure: function TransformByHandlers_transformByHandlers__closure(t0, t1, t2) {
  20288. this.onData = t0;
  20289. this.controller = t1;
  20290. this.S = t2;
  20291. },
  20292. TransformByHandlers_transformByHandlers__closure1: function TransformByHandlers_transformByHandlers__closure1(t0, t1) {
  20293. this.handleError = t0;
  20294. this.controller = t1;
  20295. },
  20296. TransformByHandlers_transformByHandlers__closure0: function TransformByHandlers_transformByHandlers__closure0(t0, t1, t2) {
  20297. this._box_0 = t0;
  20298. this.handleDone = t1;
  20299. this.controller = t2;
  20300. },
  20301. TransformByHandlers_transformByHandlers__closure2: function TransformByHandlers_transformByHandlers__closure2(t0, t1) {
  20302. this._box_1 = t0;
  20303. this._box_0 = t1;
  20304. },
  20305. RateLimit__debounceAggregate(_this, duration, collect, leading, trailing, $T, $S) {
  20306. var t1 = {};
  20307. t1.soFar = t1.timer = null;
  20308. t1.emittedLatestAsLeading = t1.shouldClose = t1.hasPending = false;
  20309. 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);
  20310. },
  20311. _collect($event, soFar, $T) {
  20312. var t1 = soFar == null ? A._setArrayType([], $T._eval$1("JSArray<0>")) : soFar;
  20313. J.add$1$ax(t1, $event);
  20314. return t1;
  20315. },
  20316. RateLimit__debounceAggregate_closure: function RateLimit__debounceAggregate_closure(t0, t1, t2, t3, t4, t5, t6) {
  20317. var _ = this;
  20318. _._box_0 = t0;
  20319. _.S = t1;
  20320. _.collect = t2;
  20321. _.leading = t3;
  20322. _.duration = t4;
  20323. _.trailing = t5;
  20324. _.T = t6;
  20325. },
  20326. RateLimit__debounceAggregate_closure_emit: function RateLimit__debounceAggregate_closure_emit(t0, t1, t2) {
  20327. this._box_0 = t0;
  20328. this.sink = t1;
  20329. this.S = t2;
  20330. },
  20331. RateLimit__debounceAggregate__closure: function RateLimit__debounceAggregate__closure(t0, t1, t2, t3) {
  20332. var _ = this;
  20333. _._box_0 = t0;
  20334. _.trailing = t1;
  20335. _.emit = t2;
  20336. _.sink = t3;
  20337. },
  20338. RateLimit__debounceAggregate_closure0: function RateLimit__debounceAggregate_closure0(t0, t1, t2) {
  20339. this._box_0 = t0;
  20340. this.trailing = t1;
  20341. this.S = t2;
  20342. },
  20343. StringScannerException$(message, span, source) {
  20344. return new A.StringScannerException(source, message, span);
  20345. },
  20346. StringScannerException: function StringScannerException(t0, t1, t2) {
  20347. this.source = t0;
  20348. this._span_exception$_message = t1;
  20349. this._span = t2;
  20350. },
  20351. LineScanner$(string) {
  20352. return new A.LineScanner(null, string);
  20353. },
  20354. LineScanner: function LineScanner(t0, t1) {
  20355. var _ = this;
  20356. _._line_scanner$_column = _._line_scanner$_line = 0;
  20357. _.sourceUrl = t0;
  20358. _.string = t1;
  20359. _._string_scanner$_position = 0;
  20360. _._lastMatchPosition = _._lastMatch = null;
  20361. },
  20362. SpanScanner$(string, sourceUrl) {
  20363. var t2,
  20364. t1 = A.SourceFile$fromString(string, sourceUrl);
  20365. if (sourceUrl == null)
  20366. t2 = null;
  20367. else
  20368. t2 = typeof sourceUrl == "string" ? A.Uri_parse(sourceUrl) : type$.Uri._as(sourceUrl);
  20369. return new A.SpanScanner(t1, t2, string);
  20370. },
  20371. SpanScanner: function SpanScanner(t0, t1, t2) {
  20372. var _ = this;
  20373. _._sourceFile = t0;
  20374. _.sourceUrl = t1;
  20375. _.string = t2;
  20376. _._string_scanner$_position = 0;
  20377. _._lastMatchPosition = _._lastMatch = null;
  20378. },
  20379. _SpanScannerState: function _SpanScannerState(t0, t1) {
  20380. this._scanner = t0;
  20381. this.position = t1;
  20382. },
  20383. StringScanner$(string, position, sourceUrl) {
  20384. var t1;
  20385. if (sourceUrl == null)
  20386. t1 = null;
  20387. else
  20388. t1 = typeof sourceUrl == "string" ? A.Uri_parse(sourceUrl) : type$.Uri._as(sourceUrl);
  20389. return new A.StringScanner(t1, string);
  20390. },
  20391. StringScanner: function StringScanner(t0, t1) {
  20392. var _ = this;
  20393. _.sourceUrl = t0;
  20394. _.string = t1;
  20395. _._string_scanner$_position = 0;
  20396. _._lastMatchPosition = _._lastMatch = null;
  20397. },
  20398. AsciiGlyphSet: function AsciiGlyphSet() {
  20399. },
  20400. UnicodeGlyphSet: function UnicodeGlyphSet() {
  20401. },
  20402. WatchEvent: function WatchEvent(t0, t1) {
  20403. this.type = t0;
  20404. this.path = t1;
  20405. },
  20406. ChangeType: function ChangeType(t0) {
  20407. this._watch_event$_name = t0;
  20408. },
  20409. A98RgbColorSpace0: function A98RgbColorSpace0(t0, t1) {
  20410. this.name = t0;
  20411. this._space$_channels = t1;
  20412. },
  20413. AnySelectorVisitor0: function AnySelectorVisitor0() {
  20414. },
  20415. AnySelectorVisitor_visitComplexSelector_closure0: function AnySelectorVisitor_visitComplexSelector_closure0(t0) {
  20416. this.$this = t0;
  20417. },
  20418. AnySelectorVisitor_visitCompoundSelector_closure0: function AnySelectorVisitor_visitCompoundSelector_closure0(t0) {
  20419. this.$this = t0;
  20420. },
  20421. SupportsAnything0: function SupportsAnything0(t0, t1) {
  20422. this.contents = t0;
  20423. this.span = t1;
  20424. },
  20425. ArgumentList$empty0(span) {
  20426. return new A.ArgumentList0(B.List_empty23, B.Map_empty14, null, null, span);
  20427. },
  20428. ArgumentList0: function ArgumentList0(t0, t1, t2, t3, t4) {
  20429. var _ = this;
  20430. _.positional = t0;
  20431. _.named = t1;
  20432. _.rest = t2;
  20433. _.keywordRest = t3;
  20434. _.span = t4;
  20435. },
  20436. argumentListClass_closure: function argumentListClass_closure() {
  20437. },
  20438. argumentListClass__closure: function argumentListClass__closure() {
  20439. },
  20440. argumentListClass__closure0: function argumentListClass__closure0() {
  20441. },
  20442. SassArgumentList$0(contents, keywords, separator) {
  20443. var t1 = type$.Value_2;
  20444. t1 = new A.SassArgumentList0(A.ConstantMap_ConstantMap$from(keywords, type$.String, t1), A.List_List$unmodifiable(contents, t1), separator, false);
  20445. t1.SassList$3$brackets0(contents, separator, false);
  20446. return t1;
  20447. },
  20448. SassArgumentList0: function SassArgumentList0(t0, t1, t2, t3) {
  20449. var _ = this;
  20450. _._argument_list$_keywords = t0;
  20451. _._argument_list$_wereKeywordsAccessed = false;
  20452. _._list1$_contents = t1;
  20453. _._list1$_separator = t2;
  20454. _._list1$_hasBrackets = t3;
  20455. },
  20456. JSArray1: function JSArray1() {
  20457. },
  20458. AsyncImporter0: function AsyncImporter0() {
  20459. },
  20460. JSToDartAsyncImporter: function JSToDartAsyncImporter(t0, t1, t2) {
  20461. this._async0$_canonicalize = t0;
  20462. this._load = t1;
  20463. this._nonCanonicalSchemes = t2;
  20464. },
  20465. JSToDartAsyncImporter_canonicalize_closure: function JSToDartAsyncImporter_canonicalize_closure(t0, t1) {
  20466. this.$this = t0;
  20467. this.url = t1;
  20468. },
  20469. JSToDartAsyncImporter_load_closure: function JSToDartAsyncImporter_load_closure(t0, t1) {
  20470. this.$this = t0;
  20471. this.url = t1;
  20472. },
  20473. AsyncBuiltInCallable$mixin0($name, parameters, callback, acceptsContent, url) {
  20474. return new A.AsyncBuiltInCallable0($name, A.ScssParser$0("@mixin " + $name + "(" + parameters + ") {", url).parseParameterList$0(), new A.AsyncBuiltInCallable$mixin_closure0(callback), false);
  20475. },
  20476. AsyncBuiltInCallable0: function AsyncBuiltInCallable0(t0, t1, t2, t3) {
  20477. var _ = this;
  20478. _.name = t0;
  20479. _._async_built_in0$_parameters = t1;
  20480. _._async_built_in0$_callback = t2;
  20481. _.acceptsContent = t3;
  20482. },
  20483. AsyncBuiltInCallable$mixin_closure0: function AsyncBuiltInCallable$mixin_closure0(t0) {
  20484. this.callback = t0;
  20485. },
  20486. AsyncBuiltInCallable_withDeprecationWarning_closure0: function AsyncBuiltInCallable_withDeprecationWarning_closure0(t0, t1, t2) {
  20487. this.$this = t0;
  20488. this.module = t1;
  20489. this.newName = t2;
  20490. },
  20491. compileAsync0(path, charset, fatalDeprecations, functions, futureDeprecations, importCache, indentWidth, lineFeed, logger, nodeImporter, quietDeps, silenceDeprecations, sourceMap, style, syntax, useSpaces, verbose) {
  20492. return A.compileAsync$body0(path, charset, fatalDeprecations, functions, futureDeprecations, importCache, indentWidth, lineFeed, logger, nodeImporter, quietDeps, silenceDeprecations, sourceMap, style, syntax, useSpaces, verbose);
  20493. },
  20494. compileAsync$body0(path, charset, fatalDeprecations, functions, futureDeprecations, importCache, indentWidth, lineFeed, logger, nodeImporter, quietDeps, silenceDeprecations, sourceMap, style, syntax, useSpaces, verbose) {
  20495. var $async$goto = 0,
  20496. $async$completer = A._makeAsyncAwaitCompleter(type$.CompileResult_2),
  20497. $async$returnValue, t3, t4, t0, stylesheet, result, t1, t2;
  20498. var $async$compileAsync0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  20499. if ($async$errorCode === 1)
  20500. return A._asyncRethrow($async$result, $async$completer);
  20501. while (true)
  20502. switch ($async$goto) {
  20503. case 0:
  20504. // Function start
  20505. t1 = type$.Deprecation_3;
  20506. t2 = A.LinkedHashSet_LinkedHashSet$_empty(t1);
  20507. if (silenceDeprecations != null)
  20508. t2.addAll$1(0, silenceDeprecations);
  20509. t3 = A.LinkedHashSet_LinkedHashSet$_empty(t1);
  20510. if (fatalDeprecations != null)
  20511. t3.addAll$1(0, fatalDeprecations);
  20512. t4 = A.LinkedHashSet_LinkedHashSet$_empty(t1);
  20513. if (futureDeprecations != null)
  20514. t4.addAll$1(0, futureDeprecations);
  20515. logger = new A.DeprecationProcessingLogger0(A.LinkedHashMap_LinkedHashMap$_empty(t1, type$.int), logger, t2, t3, t4, !verbose);
  20516. logger.validate$0();
  20517. t1 = nodeImporter == null;
  20518. if (t1)
  20519. t2 = syntax == null || syntax === A.Syntax_forPath0(path);
  20520. else
  20521. t2 = false;
  20522. $async$goto = t2 ? 3 : 5;
  20523. break;
  20524. case 3:
  20525. // then
  20526. if (importCache == null)
  20527. importCache = A.AsyncImportCache$none();
  20528. t2 = $.$get$FilesystemImporter_cwd0();
  20529. t3 = A.isNodeJs() ? self.process : null;
  20530. if (!J.$eq$(t3 == null ? null : J.get$platform$x(t3), "win32")) {
  20531. t3 = A.isNodeJs() ? self.process : null;
  20532. t3 = J.$eq$(t3 == null ? null : J.get$platform$x(t3), "darwin");
  20533. } else
  20534. t3 = true;
  20535. if (t3) {
  20536. t3 = A.absolute(path, null, null, null, null, null, null, null, null, null, null, null, null, null, null);
  20537. t4 = $.$get$context();
  20538. t3 = A._realCasePath0(t4.normalize$1(t3));
  20539. } else {
  20540. t3 = $.$get$context();
  20541. t4 = t3.canonicalize$1(0, path);
  20542. t0 = t4;
  20543. t4 = t3;
  20544. t3 = t0;
  20545. }
  20546. $async$goto = 6;
  20547. return A._asyncAwait(importCache.importCanonical$3$originalUrl(t2, t4.toUri$1(t3), t4.toUri$1(path)), $async$compileAsync0);
  20548. case 6:
  20549. // returning from await.
  20550. t4 = $async$result;
  20551. t4.toString;
  20552. stylesheet = t4;
  20553. // goto join
  20554. $async$goto = 4;
  20555. break;
  20556. case 5:
  20557. // else
  20558. t2 = A.readFile0(path);
  20559. t3 = syntax == null ? A.Syntax_forPath0(path) : syntax;
  20560. stylesheet = A.Stylesheet_Stylesheet$parse0(t2, t3, $.$get$context().toUri$1(path));
  20561. case 4:
  20562. // join
  20563. $async$goto = 7;
  20564. return A._asyncAwait(A._compileStylesheet2(stylesheet, logger, importCache, nodeImporter, $.$get$FilesystemImporter_cwd0(), functions, style, useSpaces, indentWidth, lineFeed, quietDeps, sourceMap, charset), $async$compileAsync0);
  20565. case 7:
  20566. // returning from await.
  20567. result = $async$result;
  20568. logger.summarize$1$js(!t1);
  20569. $async$returnValue = result;
  20570. // goto return
  20571. $async$goto = 1;
  20572. break;
  20573. case 1:
  20574. // return
  20575. return A._asyncReturn($async$returnValue, $async$completer);
  20576. }
  20577. });
  20578. return A._asyncStartSync($async$compileAsync0, $async$completer);
  20579. },
  20580. compileStringAsync0(source, charset, fatalDeprecations, functions, futureDeprecations, importCache, importer, indentWidth, lineFeed, logger, nodeImporter, quietDeps, silenceDeprecations, sourceMap, style, syntax, url, useSpaces, verbose) {
  20581. return A.compileStringAsync$body0(source, charset, fatalDeprecations, functions, futureDeprecations, importCache, importer, indentWidth, lineFeed, logger, nodeImporter, quietDeps, silenceDeprecations, sourceMap, style, syntax, url, useSpaces, verbose);
  20582. },
  20583. compileStringAsync$body0(source, charset, fatalDeprecations, functions, futureDeprecations, importCache, importer, indentWidth, lineFeed, logger, nodeImporter, quietDeps, silenceDeprecations, sourceMap, style, syntax, url, useSpaces, verbose) {
  20584. var $async$goto = 0,
  20585. $async$completer = A._makeAsyncAwaitCompleter(type$.CompileResult_2),
  20586. $async$returnValue, t3, t4, stylesheet, _0_0, result, t1, t2;
  20587. var $async$compileStringAsync0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  20588. if ($async$errorCode === 1)
  20589. return A._asyncRethrow($async$result, $async$completer);
  20590. while (true)
  20591. switch ($async$goto) {
  20592. case 0:
  20593. // Function start
  20594. t1 = type$.Deprecation_3;
  20595. t2 = A.LinkedHashSet_LinkedHashSet$_empty(t1);
  20596. if (silenceDeprecations != null)
  20597. t2.addAll$1(0, silenceDeprecations);
  20598. t3 = A.LinkedHashSet_LinkedHashSet$_empty(t1);
  20599. if (fatalDeprecations != null)
  20600. t3.addAll$1(0, fatalDeprecations);
  20601. t4 = A.LinkedHashSet_LinkedHashSet$_empty(t1);
  20602. if (futureDeprecations != null)
  20603. t4.addAll$1(0, futureDeprecations);
  20604. logger = new A.DeprecationProcessingLogger0(A.LinkedHashMap_LinkedHashMap$_empty(t1, type$.int), logger, t2, t3, t4, !verbose);
  20605. logger.validate$0();
  20606. stylesheet = A.Stylesheet_Stylesheet$parse0(source, syntax == null ? B.Syntax_SCSS_scss0 : syntax, url);
  20607. _0_0 = stylesheet.span.file.url;
  20608. if (type$.Uri._is(_0_0) && "" === _0_0.get$scheme() && nodeImporter == null)
  20609. A.WarnForDeprecation_warnForDeprecation0(logger, B.Deprecation_pIR, "Passing a relative `url` argument (" + _0_0.toString$0(0) + string$.x29x20to_cm, null, null);
  20610. if (importer == null)
  20611. t1 = A.isBrowser() ? new A.NoOpImporter0() : $.$get$FilesystemImporter_cwd0();
  20612. else
  20613. t1 = importer;
  20614. $async$goto = 3;
  20615. return A._asyncAwait(A._compileStylesheet2(stylesheet, logger, importCache, nodeImporter, t1, functions, style, useSpaces, indentWidth, lineFeed, quietDeps, sourceMap, charset), $async$compileStringAsync0);
  20616. case 3:
  20617. // returning from await.
  20618. result = $async$result;
  20619. logger.summarize$1$js(nodeImporter != null);
  20620. $async$returnValue = result;
  20621. // goto return
  20622. $async$goto = 1;
  20623. break;
  20624. case 1:
  20625. // return
  20626. return A._asyncReturn($async$returnValue, $async$completer);
  20627. }
  20628. });
  20629. return A._asyncStartSync($async$compileStringAsync0, $async$completer);
  20630. },
  20631. _compileStylesheet2(stylesheet, logger, importCache, nodeImporter, importer, functions, style, useSpaces, indentWidth, lineFeed, quietDeps, sourceMap, charset) {
  20632. return A._compileStylesheet$body0(stylesheet, logger, importCache, nodeImporter, importer, functions, style, useSpaces, indentWidth, lineFeed, quietDeps, sourceMap, charset);
  20633. },
  20634. _compileStylesheet$body0(stylesheet, logger, importCache, nodeImporter, importer, functions, style, useSpaces, indentWidth, lineFeed, quietDeps, sourceMap, charset) {
  20635. var $async$goto = 0,
  20636. $async$completer = A._makeAsyncAwaitCompleter(type$.CompileResult_2),
  20637. $async$returnValue, evaluateResult, serializeResult, resultSourceMap;
  20638. var $async$_compileStylesheet2 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  20639. if ($async$errorCode === 1)
  20640. return A._asyncRethrow($async$result, $async$completer);
  20641. while (true)
  20642. switch ($async$goto) {
  20643. case 0:
  20644. // Function start
  20645. if (nodeImporter != null)
  20646. A.WarnForDeprecation_warnForDeprecation0(logger, B.Deprecation_F8y, string$.The_le, null, null);
  20647. $async$goto = 3;
  20648. return A._asyncAwait(A._EvaluateVisitor$2(functions, importCache, logger, nodeImporter, quietDeps, sourceMap).run$2(0, importer, stylesheet), $async$_compileStylesheet2);
  20649. case 3:
  20650. // returning from await.
  20651. evaluateResult = $async$result;
  20652. serializeResult = A.serialize0(evaluateResult._1, charset, indentWidth, false, lineFeed, logger, sourceMap, style, useSpaces);
  20653. resultSourceMap = serializeResult._1;
  20654. if (resultSourceMap != null && importCache != null)
  20655. A.mapInPlace0(resultSourceMap.urls, new A._compileStylesheet_closure2(stylesheet, importCache));
  20656. evaluateResult.toString;
  20657. $async$returnValue = new A.CompileResult0(evaluateResult, serializeResult);
  20658. // goto return
  20659. $async$goto = 1;
  20660. break;
  20661. case 1:
  20662. // return
  20663. return A._asyncReturn($async$returnValue, $async$completer);
  20664. }
  20665. });
  20666. return A._asyncStartSync($async$_compileStylesheet2, $async$completer);
  20667. },
  20668. _compileStylesheet_closure2: function _compileStylesheet_closure2(t0, t1) {
  20669. this.stylesheet = t0;
  20670. this.importCache = t1;
  20671. },
  20672. AsyncEnvironment$0() {
  20673. var t1 = type$.String,
  20674. t2 = type$.Module_AsyncCallable_2,
  20675. t3 = type$.AstNode_2,
  20676. t4 = type$.int,
  20677. t5 = type$.AsyncCallable_2,
  20678. t6 = type$.JSArray_Map_String_AsyncCallable_2;
  20679. 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);
  20680. },
  20681. AsyncEnvironment$_0(_modules, _namespaceNodes, _globalModules, _importedModules, _forwardedModules, _nestedForwardedModules, _allModules, _variables, _variableNodes, _functions, _mixins, _content) {
  20682. var t1 = type$.String,
  20683. t2 = type$.int;
  20684. 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);
  20685. },
  20686. _EnvironmentModule__EnvironmentModule2(environment, css, preModuleComments, extensionStore, forwarded) {
  20687. var t1, t2, t3, t4, t5, t6, module, result, t7;
  20688. if (forwarded == null)
  20689. forwarded = B.Set_empty6;
  20690. t1 = type$.dynamic;
  20691. t1 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t1);
  20692. for (t2 = type$.Module_AsyncCallable_2, t3 = type$.List_CssComment_2, t4 = A.MapExtensions_get_pairs0(preModuleComments, t2, t3), t4 = t4.get$iterator(t4), t5 = type$.CssComment_2; t4.moveNext$0();) {
  20693. t6 = t4.get$current(t4);
  20694. module = t6._0;
  20695. result = A.List_List$from(t6._1, false, t5);
  20696. result.$flags = 3;
  20697. t1.$indexSet(0, module, result);
  20698. }
  20699. t1 = A.ConstantMap_ConstantMap$from(t1, t2, t3);
  20700. t2 = A._EnvironmentModule__makeModulesByVariable2(forwarded);
  20701. t3 = A._EnvironmentModule__memberMap2(B.JSArray_methods.get$first(environment._async_environment0$_variables), forwarded.map$1$1(0, new A._EnvironmentModule__EnvironmentModule_closure17(), type$.Map_String_Value_2), type$.Value_2);
  20702. t4 = A._EnvironmentModule__memberMap2(B.JSArray_methods.get$first(environment._async_environment0$_variableNodes), forwarded.map$1$1(0, new A._EnvironmentModule__EnvironmentModule_closure18(), type$.Map_String_AstNode_2), type$.AstNode_2);
  20703. t5 = type$.Map_String_AsyncCallable_2;
  20704. t6 = type$.AsyncCallable_2;
  20705. t7 = A._EnvironmentModule__memberMap2(B.JSArray_methods.get$first(environment._async_environment0$_functions), forwarded.map$1$1(0, new A._EnvironmentModule__EnvironmentModule_closure19(), t5), t6);
  20706. t6 = A._EnvironmentModule__memberMap2(B.JSArray_methods.get$first(environment._async_environment0$_mixins), forwarded.map$1$1(0, new A._EnvironmentModule__EnvironmentModule_closure20(), t5), t6);
  20707. t5 = J.get$isNotEmpty$asx(css.get$children(css)) || preModuleComments.get$isNotEmpty(preModuleComments) || B.JSArray_methods.any$1(environment._async_environment0$_allModules, new A._EnvironmentModule__EnvironmentModule_closure21());
  20708. return A._EnvironmentModule$_2(environment, css, t1, extensionStore, t2, t3, t4, t7, t6, t5, !extensionStore.get$isEmpty(extensionStore) || B.JSArray_methods.any$1(environment._async_environment0$_allModules, new A._EnvironmentModule__EnvironmentModule_closure22()));
  20709. },
  20710. _EnvironmentModule__makeModulesByVariable2(forwarded) {
  20711. var modulesByVariable, t1, t2, t3, t4, t5;
  20712. if (forwarded.get$isEmpty(forwarded))
  20713. return B.Map_empty17;
  20714. modulesByVariable = A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.Module_AsyncCallable_2);
  20715. for (t1 = forwarded.get$iterator(forwarded); t1.moveNext$0();) {
  20716. t2 = t1.get$current(t1);
  20717. if (t2 instanceof A._EnvironmentModule2) {
  20718. for (t3 = t2._async_environment0$_modulesByVariable, t3 = t3.get$values(t3), t3 = t3.get$iterator(t3); t3.moveNext$0();) {
  20719. t4 = t3.get$current(t3);
  20720. t5 = t4.get$variables();
  20721. A.setAll0(modulesByVariable, t5.get$keys(t5), t4);
  20722. }
  20723. A.setAll0(modulesByVariable, J.get$keys$z(B.JSArray_methods.get$first(t2._async_environment0$_environment._async_environment0$_variables)), t2);
  20724. } else {
  20725. t3 = t2.get$variables();
  20726. A.setAll0(modulesByVariable, t3.get$keys(t3), t2);
  20727. }
  20728. }
  20729. return modulesByVariable;
  20730. },
  20731. _EnvironmentModule__memberMap2(localMap, otherMaps, $V) {
  20732. var t1, t2, t3;
  20733. localMap = new A.PublicMemberMapView0(localMap, $V._eval$1("PublicMemberMapView0<0>"));
  20734. if (otherMaps.get$isEmpty(otherMaps))
  20735. return localMap;
  20736. t1 = A._setArrayType([], $V._eval$1("JSArray<Map<String,0>>"));
  20737. for (t2 = otherMaps.get$iterator(otherMaps); t2.moveNext$0();) {
  20738. t3 = t2.get$current(t2);
  20739. if (t3.get$isNotEmpty(t3))
  20740. t1.push(t3);
  20741. }
  20742. t1.push(localMap);
  20743. if (t1.length === 1)
  20744. return localMap;
  20745. return A.MergedMapView$0(t1, type$.String, $V);
  20746. },
  20747. _EnvironmentModule$_2(_environment, css, preModuleComments, extensionStore, _modulesByVariable, variables, variableNodes, functions, mixins, transitivelyContainsCss, transitivelyContainsExtensions) {
  20748. return new A._EnvironmentModule2(_environment._async_environment0$_allModules, variables, variableNodes, functions, mixins, extensionStore, css, preModuleComments, transitivelyContainsCss, transitivelyContainsExtensions, _environment, _modulesByVariable);
  20749. },
  20750. AsyncEnvironment0: function AsyncEnvironment0(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14) {
  20751. var _ = this;
  20752. _._async_environment0$_modules = t0;
  20753. _._async_environment0$_namespaceNodes = t1;
  20754. _._async_environment0$_globalModules = t2;
  20755. _._async_environment0$_importedModules = t3;
  20756. _._async_environment0$_forwardedModules = t4;
  20757. _._async_environment0$_nestedForwardedModules = t5;
  20758. _._async_environment0$_allModules = t6;
  20759. _._async_environment0$_variables = t7;
  20760. _._async_environment0$_variableNodes = t8;
  20761. _._async_environment0$_variableIndices = t9;
  20762. _._async_environment0$_functions = t10;
  20763. _._async_environment0$_functionIndices = t11;
  20764. _._async_environment0$_mixins = t12;
  20765. _._async_environment0$_mixinIndices = t13;
  20766. _._async_environment0$_content = t14;
  20767. _._async_environment0$_inMixin = false;
  20768. _._async_environment0$_inSemiGlobalScope = true;
  20769. _._async_environment0$_lastVariableIndex = _._async_environment0$_lastVariableName = null;
  20770. },
  20771. AsyncEnvironment__getVariableFromGlobalModule_closure0: function AsyncEnvironment__getVariableFromGlobalModule_closure0(t0) {
  20772. this.name = t0;
  20773. },
  20774. AsyncEnvironment_setVariable_closure2: function AsyncEnvironment_setVariable_closure2(t0, t1) {
  20775. this.$this = t0;
  20776. this.name = t1;
  20777. },
  20778. AsyncEnvironment_setVariable_closure3: function AsyncEnvironment_setVariable_closure3(t0) {
  20779. this.name = t0;
  20780. },
  20781. AsyncEnvironment_setVariable_closure4: function AsyncEnvironment_setVariable_closure4(t0, t1) {
  20782. this.$this = t0;
  20783. this.name = t1;
  20784. },
  20785. AsyncEnvironment__getFunctionFromGlobalModule_closure0: function AsyncEnvironment__getFunctionFromGlobalModule_closure0(t0) {
  20786. this.name = t0;
  20787. },
  20788. AsyncEnvironment__getMixinFromGlobalModule_closure0: function AsyncEnvironment__getMixinFromGlobalModule_closure0(t0) {
  20789. this.name = t0;
  20790. },
  20791. AsyncEnvironment_toModule_closure0: function AsyncEnvironment_toModule_closure0() {
  20792. },
  20793. AsyncEnvironment_toDummyModule_closure0: function AsyncEnvironment_toDummyModule_closure0() {
  20794. },
  20795. _EnvironmentModule2: function _EnvironmentModule2(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11) {
  20796. var _ = this;
  20797. _.upstream = t0;
  20798. _.variables = t1;
  20799. _.variableNodes = t2;
  20800. _.functions = t3;
  20801. _.mixins = t4;
  20802. _.extensionStore = t5;
  20803. _.css = t6;
  20804. _.preModuleComments = t7;
  20805. _.transitivelyContainsCss = t8;
  20806. _.transitivelyContainsExtensions = t9;
  20807. _._async_environment0$_environment = t10;
  20808. _._async_environment0$_modulesByVariable = t11;
  20809. },
  20810. _EnvironmentModule__EnvironmentModule_closure17: function _EnvironmentModule__EnvironmentModule_closure17() {
  20811. },
  20812. _EnvironmentModule__EnvironmentModule_closure18: function _EnvironmentModule__EnvironmentModule_closure18() {
  20813. },
  20814. _EnvironmentModule__EnvironmentModule_closure19: function _EnvironmentModule__EnvironmentModule_closure19() {
  20815. },
  20816. _EnvironmentModule__EnvironmentModule_closure20: function _EnvironmentModule__EnvironmentModule_closure20() {
  20817. },
  20818. _EnvironmentModule__EnvironmentModule_closure21: function _EnvironmentModule__EnvironmentModule_closure21() {
  20819. },
  20820. _EnvironmentModule__EnvironmentModule_closure22: function _EnvironmentModule__EnvironmentModule_closure22() {
  20821. },
  20822. _EvaluateVisitor$2(functions, importCache, logger, nodeImporter, quietDeps, sourceMap) {
  20823. var t4,
  20824. t1 = type$.Uri,
  20825. t2 = type$.Module_AsyncCallable_2,
  20826. t3 = A._setArrayType([], type$.JSArray_Record_2_String_and_AstNode_2);
  20827. if (importCache == null)
  20828. t4 = nodeImporter == null ? A.AsyncImportCache$none() : null;
  20829. else
  20830. t4 = importCache;
  20831. t1 = new A._EvaluateVisitor2(t4, nodeImporter, A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.AsyncCallable_2), A.LinkedHashMap_LinkedHashMap$_empty(t1, t2), A.LinkedHashMap_LinkedHashMap$_empty(t1, t2), A.LinkedHashMap_LinkedHashMap$_empty(t1, type$.Configuration_2), A.LinkedHashMap_LinkedHashMap$_empty(t1, type$.AstNode_2), logger, A.LinkedHashSet_LinkedHashSet$_empty(type$.Record_2_String_and_SourceSpan), quietDeps, sourceMap, new A.Object(), A.AsyncEnvironment$0(), A.LinkedHashSet_LinkedHashSet$_empty(t1), A.LinkedHashMap_LinkedHashMap$_empty(t1, type$.nullable_AstNode_2), t3, B.Configuration_Map_empty_null0);
  20832. t1._EvaluateVisitor$6$functions$importCache$logger$nodeImporter$quietDeps$sourceMap2(functions, importCache, logger, nodeImporter, quietDeps, sourceMap);
  20833. return t1;
  20834. },
  20835. _EvaluateVisitor2: function _EvaluateVisitor2(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15, t16) {
  20836. var _ = this;
  20837. _._async_evaluate0$_importCache = t0;
  20838. _._async_evaluate0$_nodeImporter = t1;
  20839. _._async_evaluate0$_builtInFunctions = t2;
  20840. _._async_evaluate0$_builtInModules = t3;
  20841. _._async_evaluate0$_modules = t4;
  20842. _._async_evaluate0$_moduleConfigurations = t5;
  20843. _._async_evaluate0$_moduleNodes = t6;
  20844. _._async_evaluate0$_logger = t7;
  20845. _._async_evaluate0$_warningsEmitted = t8;
  20846. _._async_evaluate0$_quietDeps = t9;
  20847. _._async_evaluate0$_sourceMap = t10;
  20848. _._async_evaluate0$_compileContext = t11;
  20849. _._async_evaluate0$_environment = t12;
  20850. _._async_evaluate0$_declarationName = _._async_evaluate0$__parent = _._async_evaluate0$_mediaQuerySources = _._async_evaluate0$_mediaQueries = _._async_evaluate0$_styleRuleIgnoringAtRoot = null;
  20851. _._async_evaluate0$_member = "root stylesheet";
  20852. _._async_evaluate0$_importSpan = _._async_evaluate0$_callableNode = null;
  20853. _._async_evaluate0$_inSupportsDeclaration = _._async_evaluate0$_inKeyframes = _._async_evaluate0$_atRootExcludingStyleRule = _._async_evaluate0$_inUnknownAtRule = _._async_evaluate0$_inFunction = false;
  20854. _._async_evaluate0$_loadedUrls = t13;
  20855. _._async_evaluate0$_activeModules = t14;
  20856. _._async_evaluate0$_stack = t15;
  20857. _._async_evaluate0$_importer = null;
  20858. _._async_evaluate0$_inDependency = false;
  20859. _._async_evaluate0$__extensionStore = _._async_evaluate0$_preModuleComments = _._async_evaluate0$_outOfOrderImports = _._async_evaluate0$__endOfImports = _._async_evaluate0$__root = _._async_evaluate0$__stylesheet = null;
  20860. _._async_evaluate0$_configuration = t16;
  20861. },
  20862. _EvaluateVisitor_closure38: function _EvaluateVisitor_closure38(t0) {
  20863. this.$this = t0;
  20864. },
  20865. _EvaluateVisitor_closure39: function _EvaluateVisitor_closure39(t0) {
  20866. this.$this = t0;
  20867. },
  20868. _EvaluateVisitor_closure40: function _EvaluateVisitor_closure40(t0) {
  20869. this.$this = t0;
  20870. },
  20871. _EvaluateVisitor_closure41: function _EvaluateVisitor_closure41(t0) {
  20872. this.$this = t0;
  20873. },
  20874. _EvaluateVisitor_closure42: function _EvaluateVisitor_closure42(t0) {
  20875. this.$this = t0;
  20876. },
  20877. _EvaluateVisitor_closure43: function _EvaluateVisitor_closure43(t0) {
  20878. this.$this = t0;
  20879. },
  20880. _EvaluateVisitor_closure44: function _EvaluateVisitor_closure44(t0) {
  20881. this.$this = t0;
  20882. },
  20883. _EvaluateVisitor_closure45: function _EvaluateVisitor_closure45(t0) {
  20884. this.$this = t0;
  20885. },
  20886. _EvaluateVisitor_closure46: function _EvaluateVisitor_closure46(t0) {
  20887. this.$this = t0;
  20888. },
  20889. _EvaluateVisitor__closure14: function _EvaluateVisitor__closure14(t0, t1, t2) {
  20890. this.$this = t0;
  20891. this.name = t1;
  20892. this.module = t2;
  20893. },
  20894. _EvaluateVisitor_closure47: function _EvaluateVisitor_closure47(t0) {
  20895. this.$this = t0;
  20896. },
  20897. _EvaluateVisitor__closure13: function _EvaluateVisitor__closure13(t0, t1, t2) {
  20898. this.$this = t0;
  20899. this.name = t1;
  20900. this.module = t2;
  20901. },
  20902. _EvaluateVisitor_closure48: function _EvaluateVisitor_closure48(t0) {
  20903. this.$this = t0;
  20904. },
  20905. _EvaluateVisitor_closure49: function _EvaluateVisitor_closure49(t0) {
  20906. this.$this = t0;
  20907. },
  20908. _EvaluateVisitor__closure11: function _EvaluateVisitor__closure11(t0, t1, t2) {
  20909. this.values = t0;
  20910. this.span = t1;
  20911. this.callableNode = t2;
  20912. },
  20913. _EvaluateVisitor__closure12: function _EvaluateVisitor__closure12(t0) {
  20914. this.$this = t0;
  20915. },
  20916. _EvaluateVisitor_closure50: function _EvaluateVisitor_closure50(t0) {
  20917. this.$this = t0;
  20918. },
  20919. _EvaluateVisitor_run_closure2: function _EvaluateVisitor_run_closure2(t0, t1, t2) {
  20920. this.$this = t0;
  20921. this.node = t1;
  20922. this.importer = t2;
  20923. },
  20924. _EvaluateVisitor_run__closure2: function _EvaluateVisitor_run__closure2(t0, t1, t2) {
  20925. this.$this = t0;
  20926. this.importer = t1;
  20927. this.node = t2;
  20928. },
  20929. _EvaluateVisitor__loadModule_closure5: function _EvaluateVisitor__loadModule_closure5(t0, t1) {
  20930. this._box_0 = t0;
  20931. this.callback = t1;
  20932. },
  20933. _EvaluateVisitor__loadModule_closure6: function _EvaluateVisitor__loadModule_closure6(t0, t1, t2, t3, t4, t5, t6) {
  20934. var _ = this;
  20935. _.$this = t0;
  20936. _.url = t1;
  20937. _.nodeWithSpan = t2;
  20938. _.baseUrl = t3;
  20939. _.namesInErrors = t4;
  20940. _.configuration = t5;
  20941. _.callback = t6;
  20942. },
  20943. _EvaluateVisitor__loadModule__closure5: function _EvaluateVisitor__loadModule__closure5(t0, t1) {
  20944. this.$this = t0;
  20945. this.message = t1;
  20946. },
  20947. _EvaluateVisitor__loadModule__closure6: function _EvaluateVisitor__loadModule__closure6(t0, t1, t2) {
  20948. this._box_1 = t0;
  20949. this.callback = t1;
  20950. this.firstLoad = t2;
  20951. },
  20952. _EvaluateVisitor__execute_closure2: function _EvaluateVisitor__execute_closure2(t0, t1, t2, t3, t4, t5, t6) {
  20953. var _ = this;
  20954. _.$this = t0;
  20955. _.importer = t1;
  20956. _.stylesheet = t2;
  20957. _.extensionStore = t3;
  20958. _.configuration = t4;
  20959. _.css = t5;
  20960. _.preModuleComments = t6;
  20961. },
  20962. _EvaluateVisitor__combineCss_closure5: function _EvaluateVisitor__combineCss_closure5() {
  20963. },
  20964. _EvaluateVisitor__combineCss_closure6: function _EvaluateVisitor__combineCss_closure6(t0) {
  20965. this.selectors = t0;
  20966. },
  20967. _EvaluateVisitor__combineCss_visitModule2: function _EvaluateVisitor__combineCss_visitModule2(t0, t1, t2, t3, t4, t5) {
  20968. var _ = this;
  20969. _.$this = t0;
  20970. _.seen = t1;
  20971. _.clone = t2;
  20972. _.css = t3;
  20973. _.imports = t4;
  20974. _.sorted = t5;
  20975. },
  20976. _EvaluateVisitor__extendModules_closure5: function _EvaluateVisitor__extendModules_closure5(t0) {
  20977. this.originalSelectors = t0;
  20978. },
  20979. _EvaluateVisitor__extendModules_closure6: function _EvaluateVisitor__extendModules_closure6() {
  20980. },
  20981. _EvaluateVisitor_visitAtRootRule_closure5: function _EvaluateVisitor_visitAtRootRule_closure5(t0, t1) {
  20982. this.$this = t0;
  20983. this.node = t1;
  20984. },
  20985. _EvaluateVisitor_visitAtRootRule_closure6: function _EvaluateVisitor_visitAtRootRule_closure6(t0, t1) {
  20986. this.$this = t0;
  20987. this.node = t1;
  20988. },
  20989. _EvaluateVisitor__scopeForAtRoot_closure17: function _EvaluateVisitor__scopeForAtRoot_closure17(t0, t1, t2) {
  20990. this.$this = t0;
  20991. this.newParent = t1;
  20992. this.node = t2;
  20993. },
  20994. _EvaluateVisitor__scopeForAtRoot_closure18: function _EvaluateVisitor__scopeForAtRoot_closure18(t0, t1) {
  20995. this.$this = t0;
  20996. this.innerScope = t1;
  20997. },
  20998. _EvaluateVisitor__scopeForAtRoot_closure19: function _EvaluateVisitor__scopeForAtRoot_closure19(t0, t1) {
  20999. this.$this = t0;
  21000. this.innerScope = t1;
  21001. },
  21002. _EvaluateVisitor__scopeForAtRoot__closure2: function _EvaluateVisitor__scopeForAtRoot__closure2(t0, t1) {
  21003. this.innerScope = t0;
  21004. this.callback = t1;
  21005. },
  21006. _EvaluateVisitor__scopeForAtRoot_closure20: function _EvaluateVisitor__scopeForAtRoot_closure20(t0, t1) {
  21007. this.$this = t0;
  21008. this.innerScope = t1;
  21009. },
  21010. _EvaluateVisitor__scopeForAtRoot_closure21: function _EvaluateVisitor__scopeForAtRoot_closure21() {
  21011. },
  21012. _EvaluateVisitor__scopeForAtRoot_closure22: function _EvaluateVisitor__scopeForAtRoot_closure22(t0, t1) {
  21013. this.$this = t0;
  21014. this.innerScope = t1;
  21015. },
  21016. _EvaluateVisitor_visitContentRule_closure2: function _EvaluateVisitor_visitContentRule_closure2(t0, t1) {
  21017. this.$this = t0;
  21018. this.content = t1;
  21019. },
  21020. _EvaluateVisitor_visitDeclaration_closure2: function _EvaluateVisitor_visitDeclaration_closure2(t0, t1) {
  21021. this._box_0 = t0;
  21022. this.$this = t1;
  21023. },
  21024. _EvaluateVisitor_visitEachRule_closure8: function _EvaluateVisitor_visitEachRule_closure8(t0, t1, t2) {
  21025. this._box_0 = t0;
  21026. this.$this = t1;
  21027. this.nodeWithSpan = t2;
  21028. },
  21029. _EvaluateVisitor_visitEachRule_closure9: function _EvaluateVisitor_visitEachRule_closure9(t0, t1, t2) {
  21030. this._box_1 = t0;
  21031. this.$this = t1;
  21032. this.nodeWithSpan = t2;
  21033. },
  21034. _EvaluateVisitor_visitEachRule_closure10: function _EvaluateVisitor_visitEachRule_closure10(t0, t1, t2, t3) {
  21035. var _ = this;
  21036. _.$this = t0;
  21037. _.list = t1;
  21038. _.setVariables = t2;
  21039. _.node = t3;
  21040. },
  21041. _EvaluateVisitor_visitEachRule__closure2: function _EvaluateVisitor_visitEachRule__closure2(t0, t1, t2) {
  21042. this.$this = t0;
  21043. this.setVariables = t1;
  21044. this.node = t2;
  21045. },
  21046. _EvaluateVisitor_visitEachRule___closure2: function _EvaluateVisitor_visitEachRule___closure2(t0) {
  21047. this.$this = t0;
  21048. },
  21049. _EvaluateVisitor_visitAtRule_closure8: function _EvaluateVisitor_visitAtRule_closure8(t0) {
  21050. this.$this = t0;
  21051. },
  21052. _EvaluateVisitor_visitAtRule_closure9: function _EvaluateVisitor_visitAtRule_closure9(t0, t1, t2) {
  21053. this.$this = t0;
  21054. this.name = t1;
  21055. this.children = t2;
  21056. },
  21057. _EvaluateVisitor_visitAtRule__closure2: function _EvaluateVisitor_visitAtRule__closure2(t0, t1) {
  21058. this.$this = t0;
  21059. this.children = t1;
  21060. },
  21061. _EvaluateVisitor_visitAtRule_closure10: function _EvaluateVisitor_visitAtRule_closure10() {
  21062. },
  21063. _EvaluateVisitor_visitForRule_closure14: function _EvaluateVisitor_visitForRule_closure14(t0, t1) {
  21064. this.$this = t0;
  21065. this.node = t1;
  21066. },
  21067. _EvaluateVisitor_visitForRule_closure15: function _EvaluateVisitor_visitForRule_closure15(t0, t1) {
  21068. this.$this = t0;
  21069. this.node = t1;
  21070. },
  21071. _EvaluateVisitor_visitForRule_closure16: function _EvaluateVisitor_visitForRule_closure16(t0) {
  21072. this.fromNumber = t0;
  21073. },
  21074. _EvaluateVisitor_visitForRule_closure17: function _EvaluateVisitor_visitForRule_closure17(t0, t1) {
  21075. this.toNumber = t0;
  21076. this.fromNumber = t1;
  21077. },
  21078. _EvaluateVisitor_visitForRule_closure18: function _EvaluateVisitor_visitForRule_closure18(t0, t1, t2, t3, t4, t5) {
  21079. var _ = this;
  21080. _._box_0 = t0;
  21081. _.$this = t1;
  21082. _.node = t2;
  21083. _.from = t3;
  21084. _.direction = t4;
  21085. _.fromNumber = t5;
  21086. },
  21087. _EvaluateVisitor_visitForRule__closure2: function _EvaluateVisitor_visitForRule__closure2(t0) {
  21088. this.$this = t0;
  21089. },
  21090. _EvaluateVisitor_visitForwardRule_closure5: function _EvaluateVisitor_visitForwardRule_closure5(t0, t1) {
  21091. this.$this = t0;
  21092. this.node = t1;
  21093. },
  21094. _EvaluateVisitor_visitForwardRule_closure6: function _EvaluateVisitor_visitForwardRule_closure6(t0, t1) {
  21095. this.$this = t0;
  21096. this.node = t1;
  21097. },
  21098. _EvaluateVisitor__registerCommentsForModule_closure2: function _EvaluateVisitor__registerCommentsForModule_closure2() {
  21099. },
  21100. _EvaluateVisitor_visitIfRule_closure2: function _EvaluateVisitor_visitIfRule_closure2(t0) {
  21101. this.$this = t0;
  21102. },
  21103. _EvaluateVisitor_visitIfRule__closure2: function _EvaluateVisitor_visitIfRule__closure2(t0, t1) {
  21104. this.$this = t0;
  21105. this.clause = t1;
  21106. },
  21107. _EvaluateVisitor_visitIfRule___closure2: function _EvaluateVisitor_visitIfRule___closure2(t0) {
  21108. this.$this = t0;
  21109. },
  21110. _EvaluateVisitor__visitDynamicImport_closure2: function _EvaluateVisitor__visitDynamicImport_closure2(t0, t1) {
  21111. this.$this = t0;
  21112. this.$import = t1;
  21113. },
  21114. _EvaluateVisitor__visitDynamicImport__closure11: function _EvaluateVisitor__visitDynamicImport__closure11(t0) {
  21115. this.$this = t0;
  21116. },
  21117. _EvaluateVisitor__visitDynamicImport__closure12: function _EvaluateVisitor__visitDynamicImport__closure12() {
  21118. },
  21119. _EvaluateVisitor__visitDynamicImport__closure13: function _EvaluateVisitor__visitDynamicImport__closure13() {
  21120. },
  21121. _EvaluateVisitor__visitDynamicImport__closure14: function _EvaluateVisitor__visitDynamicImport__closure14(t0, t1, t2, t3, t4) {
  21122. var _ = this;
  21123. _._box_0 = t0;
  21124. _.$this = t1;
  21125. _.loadsUserDefinedModules = t2;
  21126. _.environment = t3;
  21127. _.children = t4;
  21128. },
  21129. _EvaluateVisitor__applyMixin_closure5: function _EvaluateVisitor__applyMixin_closure5(t0, t1, t2, t3) {
  21130. var _ = this;
  21131. _.$this = t0;
  21132. _.$arguments = t1;
  21133. _.mixin = t2;
  21134. _.nodeWithSpanWithoutContent = t3;
  21135. },
  21136. _EvaluateVisitor__applyMixin__closure6: function _EvaluateVisitor__applyMixin__closure6(t0, t1, t2, t3) {
  21137. var _ = this;
  21138. _.$this = t0;
  21139. _.$arguments = t1;
  21140. _.mixin = t2;
  21141. _.nodeWithSpanWithoutContent = t3;
  21142. },
  21143. _EvaluateVisitor__applyMixin_closure6: function _EvaluateVisitor__applyMixin_closure6(t0, t1, t2, t3) {
  21144. var _ = this;
  21145. _.$this = t0;
  21146. _.contentCallable = t1;
  21147. _.mixin = t2;
  21148. _.nodeWithSpanWithoutContent = t3;
  21149. },
  21150. _EvaluateVisitor__applyMixin__closure5: function _EvaluateVisitor__applyMixin__closure5(t0, t1, t2) {
  21151. this.$this = t0;
  21152. this.mixin = t1;
  21153. this.nodeWithSpanWithoutContent = t2;
  21154. },
  21155. _EvaluateVisitor__applyMixin___closure2: function _EvaluateVisitor__applyMixin___closure2(t0, t1, t2) {
  21156. this.$this = t0;
  21157. this.mixin = t1;
  21158. this.nodeWithSpanWithoutContent = t2;
  21159. },
  21160. _EvaluateVisitor__applyMixin____closure2: function _EvaluateVisitor__applyMixin____closure2(t0, t1) {
  21161. this.$this = t0;
  21162. this.statement = t1;
  21163. },
  21164. _EvaluateVisitor_visitIncludeRule_closure8: function _EvaluateVisitor_visitIncludeRule_closure8(t0, t1) {
  21165. this.$this = t0;
  21166. this.node = t1;
  21167. },
  21168. _EvaluateVisitor_visitIncludeRule_closure9: function _EvaluateVisitor_visitIncludeRule_closure9(t0) {
  21169. this.$this = t0;
  21170. },
  21171. _EvaluateVisitor_visitIncludeRule_closure10: function _EvaluateVisitor_visitIncludeRule_closure10(t0) {
  21172. this.node = t0;
  21173. },
  21174. _EvaluateVisitor_visitMediaRule_closure8: function _EvaluateVisitor_visitMediaRule_closure8(t0, t1) {
  21175. this.$this = t0;
  21176. this.queries = t1;
  21177. },
  21178. _EvaluateVisitor_visitMediaRule_closure9: function _EvaluateVisitor_visitMediaRule_closure9(t0, t1, t2, t3, t4) {
  21179. var _ = this;
  21180. _.$this = t0;
  21181. _.mergedQueries = t1;
  21182. _.queries = t2;
  21183. _.mergedSources = t3;
  21184. _.node = t4;
  21185. },
  21186. _EvaluateVisitor_visitMediaRule__closure2: function _EvaluateVisitor_visitMediaRule__closure2(t0, t1) {
  21187. this.$this = t0;
  21188. this.node = t1;
  21189. },
  21190. _EvaluateVisitor_visitMediaRule___closure2: function _EvaluateVisitor_visitMediaRule___closure2(t0, t1) {
  21191. this.$this = t0;
  21192. this.node = t1;
  21193. },
  21194. _EvaluateVisitor_visitMediaRule_closure10: function _EvaluateVisitor_visitMediaRule_closure10(t0) {
  21195. this.mergedSources = t0;
  21196. },
  21197. _EvaluateVisitor_visitStyleRule_closure11: function _EvaluateVisitor_visitStyleRule_closure11(t0, t1) {
  21198. this.$this = t0;
  21199. this.node = t1;
  21200. },
  21201. _EvaluateVisitor_visitStyleRule_closure12: function _EvaluateVisitor_visitStyleRule_closure12() {
  21202. },
  21203. _EvaluateVisitor_visitStyleRule_closure14: function _EvaluateVisitor_visitStyleRule_closure14(t0, t1, t2) {
  21204. this.$this = t0;
  21205. this.rule = t1;
  21206. this.node = t2;
  21207. },
  21208. _EvaluateVisitor_visitStyleRule__closure2: function _EvaluateVisitor_visitStyleRule__closure2(t0, t1) {
  21209. this.$this = t0;
  21210. this.node = t1;
  21211. },
  21212. _EvaluateVisitor_visitStyleRule_closure13: function _EvaluateVisitor_visitStyleRule_closure13() {
  21213. },
  21214. _EvaluateVisitor__warnForBogusCombinators_closure2: function _EvaluateVisitor__warnForBogusCombinators_closure2() {
  21215. },
  21216. _EvaluateVisitor_visitSupportsRule_closure5: function _EvaluateVisitor_visitSupportsRule_closure5(t0, t1) {
  21217. this.$this = t0;
  21218. this.node = t1;
  21219. },
  21220. _EvaluateVisitor_visitSupportsRule__closure2: function _EvaluateVisitor_visitSupportsRule__closure2(t0, t1) {
  21221. this.$this = t0;
  21222. this.node = t1;
  21223. },
  21224. _EvaluateVisitor_visitSupportsRule_closure6: function _EvaluateVisitor_visitSupportsRule_closure6() {
  21225. },
  21226. _EvaluateVisitor__visitSupportsCondition_closure2: function _EvaluateVisitor__visitSupportsCondition_closure2(t0, t1) {
  21227. this._box_0 = t0;
  21228. this.$this = t1;
  21229. },
  21230. _EvaluateVisitor_visitVariableDeclaration_closure8: function _EvaluateVisitor_visitVariableDeclaration_closure8(t0, t1, t2) {
  21231. this._box_0 = t0;
  21232. this.$this = t1;
  21233. this.node = t2;
  21234. },
  21235. _EvaluateVisitor_visitVariableDeclaration_closure9: function _EvaluateVisitor_visitVariableDeclaration_closure9(t0, t1) {
  21236. this.$this = t0;
  21237. this.node = t1;
  21238. },
  21239. _EvaluateVisitor_visitVariableDeclaration_closure10: function _EvaluateVisitor_visitVariableDeclaration_closure10(t0, t1, t2) {
  21240. this.$this = t0;
  21241. this.node = t1;
  21242. this.value = t2;
  21243. },
  21244. _EvaluateVisitor_visitUseRule_closure2: function _EvaluateVisitor_visitUseRule_closure2(t0, t1) {
  21245. this.$this = t0;
  21246. this.node = t1;
  21247. },
  21248. _EvaluateVisitor_visitWarnRule_closure2: function _EvaluateVisitor_visitWarnRule_closure2(t0, t1) {
  21249. this.$this = t0;
  21250. this.node = t1;
  21251. },
  21252. _EvaluateVisitor_visitWhileRule_closure2: function _EvaluateVisitor_visitWhileRule_closure2(t0, t1) {
  21253. this.$this = t0;
  21254. this.node = t1;
  21255. },
  21256. _EvaluateVisitor_visitWhileRule__closure2: function _EvaluateVisitor_visitWhileRule__closure2(t0) {
  21257. this.$this = t0;
  21258. },
  21259. _EvaluateVisitor_visitBinaryOperationExpression_closure2: function _EvaluateVisitor_visitBinaryOperationExpression_closure2(t0, t1) {
  21260. this.$this = t0;
  21261. this.node = t1;
  21262. },
  21263. _EvaluateVisitor__slash_recommendation2: function _EvaluateVisitor__slash_recommendation2() {
  21264. },
  21265. _EvaluateVisitor_visitVariableExpression_closure2: function _EvaluateVisitor_visitVariableExpression_closure2(t0, t1) {
  21266. this.$this = t0;
  21267. this.node = t1;
  21268. },
  21269. _EvaluateVisitor_visitUnaryOperationExpression_closure2: function _EvaluateVisitor_visitUnaryOperationExpression_closure2(t0, t1) {
  21270. this.node = t0;
  21271. this.operand = t1;
  21272. },
  21273. _EvaluateVisitor_visitListExpression_closure2: function _EvaluateVisitor_visitListExpression_closure2(t0) {
  21274. this.$this = t0;
  21275. },
  21276. _EvaluateVisitor_visitFunctionExpression_closure8: function _EvaluateVisitor_visitFunctionExpression_closure8(t0, t1) {
  21277. this.$this = t0;
  21278. this.node = t1;
  21279. },
  21280. _EvaluateVisitor_visitFunctionExpression_closure9: function _EvaluateVisitor_visitFunctionExpression_closure9() {
  21281. },
  21282. _EvaluateVisitor_visitFunctionExpression_closure10: function _EvaluateVisitor_visitFunctionExpression_closure10(t0, t1, t2) {
  21283. this._box_0 = t0;
  21284. this.$this = t1;
  21285. this.node = t2;
  21286. },
  21287. _EvaluateVisitor__visitCalculation_closure2: function _EvaluateVisitor__visitCalculation_closure2(t0, t1) {
  21288. this.$this = t0;
  21289. this.node = t1;
  21290. },
  21291. _EvaluateVisitor__checkCalculationArguments_check2: function _EvaluateVisitor__checkCalculationArguments_check2(t0, t1) {
  21292. this.$this = t0;
  21293. this.node = t1;
  21294. },
  21295. _EvaluateVisitor__visitCalculationExpression_closure2: function _EvaluateVisitor__visitCalculationExpression_closure2(t0, t1, t2, t3) {
  21296. var _ = this;
  21297. _._box_0 = t0;
  21298. _.$this = t1;
  21299. _.node = t2;
  21300. _.inLegacySassFunction = t3;
  21301. },
  21302. _EvaluateVisitor__visitCalculationExpression__closure2: function _EvaluateVisitor__visitCalculationExpression__closure2(t0, t1) {
  21303. this.$this = t0;
  21304. this.node = t1;
  21305. },
  21306. _EvaluateVisitor_visitInterpolatedFunctionExpression_closure2: function _EvaluateVisitor_visitInterpolatedFunctionExpression_closure2(t0, t1, t2) {
  21307. this.$this = t0;
  21308. this.node = t1;
  21309. this.$function = t2;
  21310. },
  21311. _EvaluateVisitor__runUserDefinedCallable_closure2: function _EvaluateVisitor__runUserDefinedCallable_closure2(t0, t1, t2, t3, t4, t5) {
  21312. var _ = this;
  21313. _.$this = t0;
  21314. _.callable = t1;
  21315. _.evaluated = t2;
  21316. _.nodeWithSpan = t3;
  21317. _.run = t4;
  21318. _.V = t5;
  21319. },
  21320. _EvaluateVisitor__runUserDefinedCallable__closure2: function _EvaluateVisitor__runUserDefinedCallable__closure2(t0, t1, t2, t3, t4, t5) {
  21321. var _ = this;
  21322. _.$this = t0;
  21323. _.evaluated = t1;
  21324. _.callable = t2;
  21325. _.nodeWithSpan = t3;
  21326. _.run = t4;
  21327. _.V = t5;
  21328. },
  21329. _EvaluateVisitor__runUserDefinedCallable___closure2: function _EvaluateVisitor__runUserDefinedCallable___closure2(t0, t1, t2, t3, t4, t5) {
  21330. var _ = this;
  21331. _.$this = t0;
  21332. _.evaluated = t1;
  21333. _.callable = t2;
  21334. _.nodeWithSpan = t3;
  21335. _.run = t4;
  21336. _.V = t5;
  21337. },
  21338. _EvaluateVisitor__runUserDefinedCallable____closure2: function _EvaluateVisitor__runUserDefinedCallable____closure2() {
  21339. },
  21340. _EvaluateVisitor__runFunctionCallable_closure2: function _EvaluateVisitor__runFunctionCallable_closure2(t0, t1) {
  21341. this.$this = t0;
  21342. this.callable = t1;
  21343. },
  21344. _EvaluateVisitor__runBuiltInCallable_closure8: function _EvaluateVisitor__runBuiltInCallable_closure8(t0, t1, t2) {
  21345. this._box_0 = t0;
  21346. this.evaluated = t1;
  21347. this.namedSet = t2;
  21348. },
  21349. _EvaluateVisitor__runBuiltInCallable_closure9: function _EvaluateVisitor__runBuiltInCallable_closure9(t0, t1) {
  21350. this._box_0 = t0;
  21351. this.evaluated = t1;
  21352. },
  21353. _EvaluateVisitor__runBuiltInCallable_closure10: function _EvaluateVisitor__runBuiltInCallable_closure10() {
  21354. },
  21355. _EvaluateVisitor__evaluateArguments_closure11: function _EvaluateVisitor__evaluateArguments_closure11() {
  21356. },
  21357. _EvaluateVisitor__evaluateArguments_closure12: function _EvaluateVisitor__evaluateArguments_closure12(t0, t1) {
  21358. this.$this = t0;
  21359. this.restNodeForSpan = t1;
  21360. },
  21361. _EvaluateVisitor__evaluateArguments_closure13: function _EvaluateVisitor__evaluateArguments_closure13(t0, t1, t2, t3) {
  21362. var _ = this;
  21363. _.$this = t0;
  21364. _.named = t1;
  21365. _.restNodeForSpan = t2;
  21366. _.namedNodes = t3;
  21367. },
  21368. _EvaluateVisitor__evaluateArguments_closure14: function _EvaluateVisitor__evaluateArguments_closure14() {
  21369. },
  21370. _EvaluateVisitor__evaluateMacroArguments_closure11: function _EvaluateVisitor__evaluateMacroArguments_closure11(t0) {
  21371. this.restArgs = t0;
  21372. },
  21373. _EvaluateVisitor__evaluateMacroArguments_closure12: function _EvaluateVisitor__evaluateMacroArguments_closure12(t0, t1, t2) {
  21374. this.$this = t0;
  21375. this.restNodeForSpan = t1;
  21376. this.restArgs = t2;
  21377. },
  21378. _EvaluateVisitor__evaluateMacroArguments_closure13: function _EvaluateVisitor__evaluateMacroArguments_closure13(t0, t1, t2, t3) {
  21379. var _ = this;
  21380. _.$this = t0;
  21381. _.named = t1;
  21382. _.restNodeForSpan = t2;
  21383. _.restArgs = t3;
  21384. },
  21385. _EvaluateVisitor__evaluateMacroArguments_closure14: function _EvaluateVisitor__evaluateMacroArguments_closure14(t0, t1, t2) {
  21386. this.$this = t0;
  21387. this.keywordRestNodeForSpan = t1;
  21388. this.keywordRestArgs = t2;
  21389. },
  21390. _EvaluateVisitor__addRestMap_closure2: function _EvaluateVisitor__addRestMap_closure2(t0, t1, t2, t3, t4, t5) {
  21391. var _ = this;
  21392. _.$this = t0;
  21393. _.values = t1;
  21394. _.convert = t2;
  21395. _.expressionNode = t3;
  21396. _.map = t4;
  21397. _.nodeWithSpan = t5;
  21398. },
  21399. _EvaluateVisitor__verifyArguments_closure2: function _EvaluateVisitor__verifyArguments_closure2(t0, t1, t2) {
  21400. this.parameters = t0;
  21401. this.positional = t1;
  21402. this.named = t2;
  21403. },
  21404. _EvaluateVisitor_visitCssAtRule_closure5: function _EvaluateVisitor_visitCssAtRule_closure5(t0, t1) {
  21405. this.$this = t0;
  21406. this.node = t1;
  21407. },
  21408. _EvaluateVisitor_visitCssAtRule_closure6: function _EvaluateVisitor_visitCssAtRule_closure6() {
  21409. },
  21410. _EvaluateVisitor_visitCssKeyframeBlock_closure5: function _EvaluateVisitor_visitCssKeyframeBlock_closure5(t0, t1) {
  21411. this.$this = t0;
  21412. this.node = t1;
  21413. },
  21414. _EvaluateVisitor_visitCssKeyframeBlock_closure6: function _EvaluateVisitor_visitCssKeyframeBlock_closure6() {
  21415. },
  21416. _EvaluateVisitor_visitCssMediaRule_closure8: function _EvaluateVisitor_visitCssMediaRule_closure8(t0, t1) {
  21417. this.$this = t0;
  21418. this.node = t1;
  21419. },
  21420. _EvaluateVisitor_visitCssMediaRule_closure9: function _EvaluateVisitor_visitCssMediaRule_closure9(t0, t1, t2, t3) {
  21421. var _ = this;
  21422. _.$this = t0;
  21423. _.mergedQueries = t1;
  21424. _.node = t2;
  21425. _.mergedSources = t3;
  21426. },
  21427. _EvaluateVisitor_visitCssMediaRule__closure2: function _EvaluateVisitor_visitCssMediaRule__closure2(t0, t1) {
  21428. this.$this = t0;
  21429. this.node = t1;
  21430. },
  21431. _EvaluateVisitor_visitCssMediaRule___closure2: function _EvaluateVisitor_visitCssMediaRule___closure2(t0, t1) {
  21432. this.$this = t0;
  21433. this.node = t1;
  21434. },
  21435. _EvaluateVisitor_visitCssMediaRule_closure10: function _EvaluateVisitor_visitCssMediaRule_closure10(t0) {
  21436. this.mergedSources = t0;
  21437. },
  21438. _EvaluateVisitor_visitCssStyleRule_closure6: function _EvaluateVisitor_visitCssStyleRule_closure6(t0, t1, t2) {
  21439. this.$this = t0;
  21440. this.rule = t1;
  21441. this.node = t2;
  21442. },
  21443. _EvaluateVisitor_visitCssStyleRule__closure2: function _EvaluateVisitor_visitCssStyleRule__closure2(t0, t1) {
  21444. this.$this = t0;
  21445. this.node = t1;
  21446. },
  21447. _EvaluateVisitor_visitCssStyleRule_closure5: function _EvaluateVisitor_visitCssStyleRule_closure5() {
  21448. },
  21449. _EvaluateVisitor_visitCssSupportsRule_closure5: function _EvaluateVisitor_visitCssSupportsRule_closure5(t0, t1) {
  21450. this.$this = t0;
  21451. this.node = t1;
  21452. },
  21453. _EvaluateVisitor_visitCssSupportsRule__closure2: function _EvaluateVisitor_visitCssSupportsRule__closure2(t0, t1) {
  21454. this.$this = t0;
  21455. this.node = t1;
  21456. },
  21457. _EvaluateVisitor_visitCssSupportsRule_closure6: function _EvaluateVisitor_visitCssSupportsRule_closure6() {
  21458. },
  21459. _EvaluateVisitor__performInterpolationHelper_closure2: function _EvaluateVisitor__performInterpolationHelper_closure2(t0) {
  21460. this.interpolation = t0;
  21461. },
  21462. _EvaluateVisitor__serialize_closure2: function _EvaluateVisitor__serialize_closure2(t0, t1) {
  21463. this.value = t0;
  21464. this.quote = t1;
  21465. },
  21466. _EvaluateVisitor__expressionNode_closure2: function _EvaluateVisitor__expressionNode_closure2(t0, t1) {
  21467. this.$this = t0;
  21468. this.expression = t1;
  21469. },
  21470. _EvaluateVisitor__withoutSlash_recommendation2: function _EvaluateVisitor__withoutSlash_recommendation2() {
  21471. },
  21472. _EvaluateVisitor__stackFrame_closure2: function _EvaluateVisitor__stackFrame_closure2(t0) {
  21473. this.$this = t0;
  21474. },
  21475. _ImportedCssVisitor2: function _ImportedCssVisitor2(t0) {
  21476. this._async_evaluate0$_visitor = t0;
  21477. },
  21478. _ImportedCssVisitor_visitCssAtRule_closure2: function _ImportedCssVisitor_visitCssAtRule_closure2() {
  21479. },
  21480. _ImportedCssVisitor_visitCssMediaRule_closure2: function _ImportedCssVisitor_visitCssMediaRule_closure2(t0) {
  21481. this.hasBeenMerged = t0;
  21482. },
  21483. _ImportedCssVisitor_visitCssStyleRule_closure2: function _ImportedCssVisitor_visitCssStyleRule_closure2() {
  21484. },
  21485. _ImportedCssVisitor_visitCssSupportsRule_closure2: function _ImportedCssVisitor_visitCssSupportsRule_closure2() {
  21486. },
  21487. _EvaluationContext2: function _EvaluationContext2(t0, t1) {
  21488. this._async_evaluate0$_visitor = t0;
  21489. this._async_evaluate0$_defaultWarnNodeWithSpan = t1;
  21490. },
  21491. JSToDartAsyncFileImporter: function JSToDartAsyncFileImporter(t0) {
  21492. this._findFileUrl = t0;
  21493. },
  21494. JSToDartAsyncFileImporter_canonicalize_closure: function JSToDartAsyncFileImporter_canonicalize_closure(t0, t1) {
  21495. this.$this = t0;
  21496. this.url = t1;
  21497. },
  21498. AsyncImportCache$(importers, loadPaths, packageConfig) {
  21499. var t1 = type$.nullable_Record_3_AsyncImporter_and_Uri_and_Uri_originalUrl_2,
  21500. t2 = type$.Record_3_AsyncImporter_and_Uri_and_bool_forImport_2,
  21501. t3 = type$.Uri;
  21502. return new A.AsyncImportCache0(A.AsyncImportCache__toImporters0(importers, loadPaths, packageConfig), A.LinkedHashMap_LinkedHashMap$_empty(type$.Record_2_Uri_and_bool_forImport, t1), A.LinkedHashMap_LinkedHashMap$_empty(t2, t1), A.LinkedHashMap_LinkedHashMap$_empty(t2, t3), A.LinkedHashMap_LinkedHashMap$_empty(t3, type$.nullable_Stylesheet_2), A.LinkedHashMap_LinkedHashMap$_empty(t3, type$.ImporterResult_2), A.LinkedHashMap_LinkedHashMap$_empty(t3, type$.DateTime));
  21503. },
  21504. AsyncImportCache$none() {
  21505. var t1 = type$.nullable_Record_3_AsyncImporter_and_Uri_and_Uri_originalUrl_2,
  21506. t2 = type$.Record_3_AsyncImporter_and_Uri_and_bool_forImport_2,
  21507. t3 = type$.Uri;
  21508. return new A.AsyncImportCache0(B.List_empty29, A.LinkedHashMap_LinkedHashMap$_empty(type$.Record_2_Uri_and_bool_forImport, t1), A.LinkedHashMap_LinkedHashMap$_empty(t2, t1), A.LinkedHashMap_LinkedHashMap$_empty(t2, t3), A.LinkedHashMap_LinkedHashMap$_empty(t3, type$.nullable_Stylesheet_2), A.LinkedHashMap_LinkedHashMap$_empty(t3, type$.ImporterResult_2), A.LinkedHashMap_LinkedHashMap$_empty(t3, type$.DateTime));
  21509. },
  21510. AsyncImportCache__toImporters0(importers, loadPaths, packageConfig) {
  21511. var t1, t2, t3, t4, _i, path, _null = null,
  21512. sassPath = A.getEnvironmentVariable0("SASS_PATH");
  21513. if (A.isBrowser()) {
  21514. t1 = A._setArrayType([], type$.JSArray_AsyncImporter);
  21515. if (importers != null)
  21516. B.JSArray_methods.addAll$1(t1, importers);
  21517. return t1;
  21518. }
  21519. t1 = A._setArrayType([], type$.JSArray_AsyncImporter);
  21520. if (importers != null)
  21521. B.JSArray_methods.addAll$1(t1, importers);
  21522. if (loadPaths != null)
  21523. for (t2 = J.get$iterator$ax(loadPaths); t2.moveNext$0();) {
  21524. t3 = t2.get$current(t2);
  21525. t1.push(new A.FilesystemImporter0($.$get$context().absolute$15(t3, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null), false));
  21526. }
  21527. if (sassPath != null) {
  21528. t2 = A.isNodeJs() ? self.process : _null;
  21529. t3 = sassPath.split(J.$eq$(t2 == null ? _null : J.get$platform$x(t2), "win32") ? ";" : ":");
  21530. t4 = t3.length;
  21531. _i = 0;
  21532. for (; _i < t4; ++_i) {
  21533. path = t3[_i];
  21534. t1.push(new A.FilesystemImporter0($.$get$context().absolute$15(path, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null), false));
  21535. }
  21536. }
  21537. return t1;
  21538. },
  21539. AsyncImportCache0: function AsyncImportCache0(t0, t1, t2, t3, t4, t5, t6) {
  21540. var _ = this;
  21541. _._async_import_cache0$_importers = t0;
  21542. _._async_import_cache0$_canonicalizeCache = t1;
  21543. _._async_import_cache0$_perImporterCanonicalizeCache = t2;
  21544. _._async_import_cache0$_nonCanonicalRelativeUrls = t3;
  21545. _._async_import_cache0$_importCache = t4;
  21546. _._async_import_cache0$_resultsCache = t5;
  21547. _._async_import_cache0$_loadTimes = t6;
  21548. },
  21549. AsyncImportCache_canonicalize_closure0: function AsyncImportCache_canonicalize_closure0(t0, t1, t2, t3, t4, t5, t6) {
  21550. var _ = this;
  21551. _.$this = t0;
  21552. _.baseImporter = t1;
  21553. _.resolvedUrl = t2;
  21554. _.baseUrl = t3;
  21555. _.forImport = t4;
  21556. _.key = t5;
  21557. _.url = t6;
  21558. },
  21559. AsyncImportCache__canonicalize_closure0: function AsyncImportCache__canonicalize_closure0(t0, t1) {
  21560. this.importer = t0;
  21561. this.url = t1;
  21562. },
  21563. AsyncImportCache_importCanonical_closure0: function AsyncImportCache_importCanonical_closure0(t0, t1, t2, t3) {
  21564. var _ = this;
  21565. _.$this = t0;
  21566. _.importer = t1;
  21567. _.canonicalUrl = t2;
  21568. _.originalUrl = t3;
  21569. },
  21570. AsyncImportCache_humanize_closure3: function AsyncImportCache_humanize_closure3(t0) {
  21571. this.canonicalUrl = t0;
  21572. },
  21573. AsyncImportCache_humanize_closure4: function AsyncImportCache_humanize_closure4() {
  21574. },
  21575. AsyncImportCache_humanize_closure5: function AsyncImportCache_humanize_closure5() {
  21576. },
  21577. AsyncImportCache_humanize_closure6: function AsyncImportCache_humanize_closure6(t0) {
  21578. this.canonicalUrl = t0;
  21579. },
  21580. AtRootQueryParser0: function AtRootQueryParser0(t0, t1) {
  21581. this.scanner = t0;
  21582. this._parser1$_interpolationMap = t1;
  21583. },
  21584. AtRootQueryParser_parse_closure0: function AtRootQueryParser_parse_closure0(t0) {
  21585. this.$this = t0;
  21586. },
  21587. AtRootQuery0: function AtRootQuery0(t0, t1, t2, t3) {
  21588. var _ = this;
  21589. _.include = t0;
  21590. _.names = t1;
  21591. _._at_root_query0$_all = t2;
  21592. _._at_root_query0$_rule = t3;
  21593. },
  21594. AtRootRule$0(children, span, query) {
  21595. var t1 = A.List_List$unmodifiable(children, type$.Statement_2),
  21596. t2 = B.JSArray_methods.any$1(t1, new A.ParentStatement_closure0());
  21597. return new A.AtRootRule0(query, span, t1, t2);
  21598. },
  21599. AtRootRule0: function AtRootRule0(t0, t1, t2, t3) {
  21600. var _ = this;
  21601. _.query = t0;
  21602. _.span = t1;
  21603. _.children = t2;
  21604. _.hasDeclarations = t3;
  21605. },
  21606. ModifiableCssAtRule$0($name, span, childless, value) {
  21607. var t1 = A._setArrayType([], type$.JSArray_ModifiableCssNode_2);
  21608. return new A.ModifiableCssAtRule0($name, value, childless, span, new A.UnmodifiableListView(t1, type$.UnmodifiableListView_ModifiableCssNode_2), t1);
  21609. },
  21610. ModifiableCssAtRule0: function ModifiableCssAtRule0(t0, t1, t2, t3, t4, t5) {
  21611. var _ = this;
  21612. _.name = t0;
  21613. _.value = t1;
  21614. _.isChildless = t2;
  21615. _.span = t3;
  21616. _.children = t4;
  21617. _._node$_children = t5;
  21618. _._node$_indexInParent = _._node$_parent = null;
  21619. _.isGroupEnd = false;
  21620. },
  21621. AtRule$0($name, span, children, value) {
  21622. var t1 = children == null ? null : A.List_List$unmodifiable(children, type$.Statement_2),
  21623. t2 = t1 == null ? null : B.JSArray_methods.any$1(t1, new A.ParentStatement_closure0());
  21624. return new A.AtRule0($name, value, span, t1, t2 === true);
  21625. },
  21626. AtRule0: function AtRule0(t0, t1, t2, t3, t4) {
  21627. var _ = this;
  21628. _.name = t0;
  21629. _.value = t1;
  21630. _.span = t2;
  21631. _.children = t3;
  21632. _.hasDeclarations = t4;
  21633. },
  21634. AttributeSelector0: function AttributeSelector0(t0, t1, t2, t3, t4) {
  21635. var _ = this;
  21636. _.name = t0;
  21637. _.op = t1;
  21638. _.value = t2;
  21639. _.modifier = t3;
  21640. _.span = t4;
  21641. },
  21642. AttributeOperator0: function AttributeOperator0(t0, t1) {
  21643. this._attribute0$_text = t0;
  21644. this._name = t1;
  21645. },
  21646. BinaryOperationExpression0: function BinaryOperationExpression0(t0, t1, t2, t3) {
  21647. var _ = this;
  21648. _.operator = t0;
  21649. _.left = t1;
  21650. _.right = t2;
  21651. _.allowsSlash = t3;
  21652. },
  21653. BinaryOperator0: function BinaryOperator0(t0, t1, t2, t3, t4) {
  21654. var _ = this;
  21655. _.name = t0;
  21656. _.operator = t1;
  21657. _.precedence = t2;
  21658. _.isAssociative = t3;
  21659. _._name = t4;
  21660. },
  21661. BooleanExpression0: function BooleanExpression0(t0, t1) {
  21662. this.value = t0;
  21663. this.span = t1;
  21664. },
  21665. booleanClass_closure: function booleanClass_closure() {
  21666. },
  21667. booleanClass__closure: function booleanClass__closure() {
  21668. },
  21669. legacyBooleanClass_closure: function legacyBooleanClass_closure() {
  21670. },
  21671. legacyBooleanClass__closure: function legacyBooleanClass__closure() {
  21672. },
  21673. legacyBooleanClass__closure0: function legacyBooleanClass__closure0() {
  21674. },
  21675. SassBoolean0: function SassBoolean0(t0) {
  21676. this.value = t0;
  21677. },
  21678. Box0: function Box0(t0, t1) {
  21679. this._box0$_inner = t0;
  21680. this.$ti = t1;
  21681. },
  21682. ModifiableBox0: function ModifiableBox0(t0, t1) {
  21683. this.value = t0;
  21684. this.$ti = t1;
  21685. },
  21686. BuiltInCallable$function0($name, parameters, callback, url) {
  21687. return new A.BuiltInCallable0($name, A._setArrayType([new A._Record_2(A.ScssParser$0("@function " + $name + "(" + parameters + ") {", url).parseParameterList$0(), callback)], type$.JSArray_Record_2_ParameterList_and_Value_Function_List_Value_2), false);
  21688. },
  21689. BuiltInCallable$mixin0($name, parameters, callback, acceptsContent, url) {
  21690. return new A.BuiltInCallable0($name, A._setArrayType([new A._Record_2(A.ScssParser$0("@mixin " + $name + "(" + parameters + ") {", url).parseParameterList$0(), new A.BuiltInCallable$mixin_closure0(callback))], type$.JSArray_Record_2_ParameterList_and_Value_Function_List_Value_2), acceptsContent);
  21691. },
  21692. BuiltInCallable$overloadedFunction0($name, overloads) {
  21693. var t2, t3, t4, t5, t6, t7, args, callback,
  21694. t1 = A._setArrayType([], type$.JSArray_Record_2_ParameterList_and_Value_Function_List_Value_2);
  21695. for (t2 = type$.String, t3 = A.MapExtensions_get_pairs0(overloads, t2, type$.Value_Function_List_Value_2), t3 = t3.get$iterator(t3), t4 = "@function " + $name + "(", t5 = type$.FileSpan, t6 = type$.JSArray_Record_3_nullable_Deprecation_deprecation_and_String_message_and_FileSpan_span_2; t3.moveNext$0();) {
  21696. t7 = t3.get$current(t3);
  21697. args = t7._0;
  21698. callback = t7._1;
  21699. t1.push(new A._Record_2(new A.ScssParser0(A.LinkedHashMap_LinkedHashMap$_empty(t2, t5), A._setArrayType([], t6), A.SpanScanner$(t4 + args + ") {", null), null).parseParameterList$0(), callback));
  21700. }
  21701. return new A.BuiltInCallable0($name, t1, false);
  21702. },
  21703. BuiltInCallable0: function BuiltInCallable0(t0, t1, t2) {
  21704. this.name = t0;
  21705. this._built_in$_overloads = t1;
  21706. this.acceptsContent = t2;
  21707. },
  21708. BuiltInCallable$mixin_closure0: function BuiltInCallable$mixin_closure0(t0) {
  21709. this.callback = t0;
  21710. },
  21711. BuiltInCallable_withDeprecationWarning_closure0: function BuiltInCallable_withDeprecationWarning_closure0(t0, t1, t2, t3) {
  21712. var _ = this;
  21713. _._box_0 = t0;
  21714. _.$this = t1;
  21715. _.module = t2;
  21716. _.newName = t3;
  21717. },
  21718. BuiltInModule$0($name, functions, mixins, variables, $T) {
  21719. var t1 = A._Uri__Uri(null, $name, null, "sass"),
  21720. t2 = A.BuiltInModule__callableMap0(functions, $T),
  21721. t3 = A.BuiltInModule__callableMap0(mixins, $T),
  21722. t4 = variables == null ? B.Map_empty15 : new A.UnmodifiableMapView(variables, type$.UnmodifiableMapView_String_Value_2);
  21723. return new A.BuiltInModule0(t1, t2, t3, t4, $T._eval$1("BuiltInModule0<0>"));
  21724. },
  21725. BuiltInModule__callableMap0(callables, $T) {
  21726. var t2, _i, callable,
  21727. t1 = type$.String;
  21728. if (callables == null)
  21729. t1 = A.LinkedHashMap_LinkedHashMap$_empty(t1, $T);
  21730. else {
  21731. t1 = A.LinkedHashMap_LinkedHashMap$_empty(t1, $T);
  21732. for (t2 = callables.length, _i = 0; _i < callables.length; callables.length === t2 || (0, A.throwConcurrentModificationError)(callables), ++_i) {
  21733. callable = callables[_i];
  21734. t1.$indexSet(0, callable.get$name(callable), callable);
  21735. }
  21736. t1 = new A.UnmodifiableMapView(t1, type$.$env_1_1_String._bind$1($T)._eval$1("UnmodifiableMapView<1,2>"));
  21737. }
  21738. return new A.UnmodifiableMapView(t1, type$.$env_1_1_String._bind$1($T)._eval$1("UnmodifiableMapView<1,2>"));
  21739. },
  21740. BuiltInModule0: function BuiltInModule0(t0, t1, t2, t3, t4) {
  21741. var _ = this;
  21742. _.url = t0;
  21743. _.functions = t1;
  21744. _.mixins = t2;
  21745. _.variables = t3;
  21746. _.$ti = t4;
  21747. },
  21748. _assertCalculationValue(arg) {
  21749. var t1;
  21750. $label0$0: {
  21751. if (!(arg instanceof A.SassNumber0))
  21752. t1 = arg instanceof A.SassString0 && !arg._string0$_hasQuotes || arg instanceof A.SassCalculation0 || arg instanceof A.CalculationOperation0 || arg instanceof A.CalculationInterpolation;
  21753. else
  21754. t1 = true;
  21755. if (t1) {
  21756. t1 = null;
  21757. break $label0$0;
  21758. }
  21759. t1 = A.jsThrow0(new self.Error("Argument `" + A.S(arg) + "` must be one of SassNumber, unquoted SassString, SassCalculation, CalculationOperation, CalculationInterpolation"));
  21760. }
  21761. return t1;
  21762. },
  21763. _isValidClampArg(arg) {
  21764. var t1;
  21765. $label0$0: {
  21766. if (!(arg instanceof A.CalculationInterpolation))
  21767. t1 = arg instanceof A.SassString0 && !arg._string0$_hasQuotes;
  21768. else
  21769. t1 = true;
  21770. break $label0$0;
  21771. }
  21772. return t1;
  21773. },
  21774. calculationClass_closure: function calculationClass_closure() {
  21775. },
  21776. calculationClass__closure: function calculationClass__closure() {
  21777. },
  21778. calculationClass__closure0: function calculationClass__closure0() {
  21779. },
  21780. calculationClass__closure1: function calculationClass__closure1() {
  21781. },
  21782. calculationClass__closure2: function calculationClass__closure2() {
  21783. },
  21784. calculationClass__closure3: function calculationClass__closure3() {
  21785. },
  21786. calculationClass__closure4: function calculationClass__closure4() {
  21787. },
  21788. calculationClass__closure5: function calculationClass__closure5() {
  21789. },
  21790. calculationOperationClass_closure: function calculationOperationClass_closure() {
  21791. },
  21792. calculationOperationClass__closure: function calculationOperationClass__closure() {
  21793. },
  21794. calculationOperationClass___closure: function calculationOperationClass___closure(t0) {
  21795. this.strOperator = t0;
  21796. },
  21797. calculationOperationClass__closure0: function calculationOperationClass__closure0() {
  21798. },
  21799. calculationOperationClass__closure1: function calculationOperationClass__closure1() {
  21800. },
  21801. calculationOperationClass__closure2: function calculationOperationClass__closure2() {
  21802. },
  21803. calculationOperationClass__closure3: function calculationOperationClass__closure3() {
  21804. },
  21805. calculationOperationClass__closure4: function calculationOperationClass__closure4() {
  21806. },
  21807. calculationInterpolationClass_closure: function calculationInterpolationClass_closure() {
  21808. },
  21809. calculationInterpolationClass__closure: function calculationInterpolationClass__closure() {
  21810. },
  21811. calculationInterpolationClass__closure0: function calculationInterpolationClass__closure0() {
  21812. },
  21813. calculationInterpolationClass__closure1: function calculationInterpolationClass__closure1() {
  21814. },
  21815. calculationInterpolationClass__closure2: function calculationInterpolationClass__closure2() {
  21816. },
  21817. SassCalculation_calc0(argument) {
  21818. var t1,
  21819. _0_0 = A.SassCalculation__simplify0(argument);
  21820. $label0$0: {
  21821. if (_0_0 instanceof A.SassNumber0) {
  21822. t1 = _0_0;
  21823. break $label0$0;
  21824. }
  21825. if (_0_0 instanceof A.SassCalculation0) {
  21826. t1 = _0_0;
  21827. break $label0$0;
  21828. }
  21829. t1 = new A.SassCalculation0("calc", A.List_List$unmodifiable([_0_0], type$.Object));
  21830. break $label0$0;
  21831. }
  21832. return t1;
  21833. },
  21834. SassCalculation_min0($arguments) {
  21835. var minimum, _i, arg, t2,
  21836. args = A.List_List$unmodifiable(new A.MappedListIterable($arguments, A.calculation0_SassCalculation__simplify$closure(), A._arrayInstanceType($arguments)._eval$1("MappedListIterable<1,@>")), type$.Object),
  21837. t1 = args.length;
  21838. if (t1 === 0)
  21839. throw A.wrapException(A.ArgumentError$("min() must have at least one argument.", null));
  21840. for (minimum = null, _i = 0; _i < t1; ++_i) {
  21841. arg = args[_i];
  21842. if (arg instanceof A.SassNumber0)
  21843. t2 = minimum != null && !minimum.isComparableTo$1(arg);
  21844. else
  21845. t2 = true;
  21846. if (t2) {
  21847. minimum = null;
  21848. break;
  21849. } else if (minimum == null || minimum.greaterThan$1(arg).value)
  21850. minimum = arg;
  21851. }
  21852. if (minimum != null)
  21853. return minimum;
  21854. A.SassCalculation__verifyCompatibleNumbers0(args);
  21855. return new A.SassCalculation0("min", args);
  21856. },
  21857. SassCalculation_max0($arguments) {
  21858. var maximum, _i, arg, t2,
  21859. args = A.List_List$unmodifiable(new A.MappedListIterable($arguments, A.calculation0_SassCalculation__simplify$closure(), A._arrayInstanceType($arguments)._eval$1("MappedListIterable<1,@>")), type$.Object),
  21860. t1 = args.length;
  21861. if (t1 === 0)
  21862. throw A.wrapException(A.ArgumentError$("max() must have at least one argument.", null));
  21863. for (maximum = null, _i = 0; _i < t1; ++_i) {
  21864. arg = args[_i];
  21865. if (arg instanceof A.SassNumber0)
  21866. t2 = maximum != null && !maximum.isComparableTo$1(arg);
  21867. else
  21868. t2 = true;
  21869. if (t2) {
  21870. maximum = null;
  21871. break;
  21872. } else if (maximum == null || maximum.lessThan$1(arg).value)
  21873. maximum = arg;
  21874. }
  21875. if (maximum != null)
  21876. return maximum;
  21877. A.SassCalculation__verifyCompatibleNumbers0(args);
  21878. return new A.SassCalculation0("max", args);
  21879. },
  21880. SassCalculation_hypot0($arguments) {
  21881. var first, subtotal, i, number, value, t2,
  21882. args = A.List_List$unmodifiable(new A.MappedListIterable($arguments, A.calculation0_SassCalculation__simplify$closure(), A._arrayInstanceType($arguments)._eval$1("MappedListIterable<1,@>")), type$.Object),
  21883. t1 = args.length;
  21884. if (t1 === 0)
  21885. throw A.wrapException(A.ArgumentError$("hypot() must have at least one argument.", null));
  21886. A.SassCalculation__verifyCompatibleNumbers0(args);
  21887. first = B.JSArray_methods.get$first(args);
  21888. if (!(first instanceof A.SassNumber0) || first.hasUnit$1("%"))
  21889. return new A.SassCalculation0("hypot", args);
  21890. for (subtotal = 0, i = 0; i < t1;) {
  21891. number = args[i];
  21892. if (!(number instanceof A.SassNumber0) || !number.hasCompatibleUnits$1(first))
  21893. return new A.SassCalculation0("hypot", args);
  21894. ++i;
  21895. value = number.convertValueToMatch$3(first, "numbers[" + i + "]", "numbers[1]");
  21896. subtotal += value * value;
  21897. }
  21898. t1 = Math.sqrt(subtotal);
  21899. t2 = first.get$numeratorUnits(first);
  21900. return A.SassNumber_SassNumber$withUnits0(t1, first.get$denominatorUnits(first), t2);
  21901. },
  21902. SassCalculation_abs0(argument) {
  21903. argument = A.SassCalculation__simplify0(argument);
  21904. if (!(argument instanceof A.SassNumber0))
  21905. return new A.SassCalculation0("abs", A._setArrayType([argument], type$.JSArray_Object));
  21906. if (argument.hasUnit$1("%"))
  21907. A.warnForDeprecation0(string$.Passinp + argument.toString$0(0) + ")\nTo emit a CSS abs() now: abs(#{" + argument.toString$0(0) + string$.x7d__Mor, B.Deprecation_UYp);
  21908. return A.SassNumber_SassNumber0(Math.abs(argument._number1$_value), null).coerceToMatch$1(argument);
  21909. },
  21910. SassCalculation_exp0(argument) {
  21911. argument = A.SassCalculation__simplify0(argument);
  21912. if (!(argument instanceof A.SassNumber0))
  21913. return new A.SassCalculation0("exp", A._setArrayType([argument], type$.JSArray_Object));
  21914. argument.assertNoUnits$0();
  21915. return A.pow1(A.SassNumber_SassNumber0(2.718281828459045, null), argument);
  21916. },
  21917. SassCalculation_sign0(argument) {
  21918. var t1, _0_2, t2, arg;
  21919. argument = A.SassCalculation__simplify0(argument);
  21920. $label0$0: {
  21921. t1 = argument instanceof A.SassNumber0;
  21922. if (t1) {
  21923. _0_2 = argument._number1$_value;
  21924. if (!isNaN(_0_2))
  21925. t2 = 0 === _0_2;
  21926. else
  21927. t2 = true;
  21928. } else
  21929. t2 = false;
  21930. if (t2) {
  21931. t1 = argument;
  21932. break $label0$0;
  21933. }
  21934. if (t1) {
  21935. t1 = !argument.hasUnit$1("%");
  21936. arg = argument;
  21937. } else {
  21938. arg = null;
  21939. t1 = false;
  21940. }
  21941. if (t1) {
  21942. t1 = A.SassNumber_SassNumber0(J.get$sign$in(arg._number1$_value), null).coerceToMatch$1(argument);
  21943. break $label0$0;
  21944. }
  21945. t1 = new A.SassCalculation0("sign", A._setArrayType([argument], type$.JSArray_Object));
  21946. break $label0$0;
  21947. }
  21948. return t1;
  21949. },
  21950. SassCalculation_clamp0(min, value, max) {
  21951. var t1, args;
  21952. if (value == null && max != null)
  21953. throw A.wrapException(A.ArgumentError$("If value is null, max must also be null.", null));
  21954. min = A.SassCalculation__simplify0(min);
  21955. value = A.NullableExtension_andThen0(value, A.calculation0_SassCalculation__simplify$closure());
  21956. max = A.NullableExtension_andThen0(max, A.calculation0_SassCalculation__simplify$closure());
  21957. if (min instanceof A.SassNumber0 && value instanceof A.SassNumber0 && max instanceof A.SassNumber0 && min.hasCompatibleUnits$1(value) && min.hasCompatibleUnits$1(max)) {
  21958. if (value.lessThanOrEquals$1(min).value)
  21959. return min;
  21960. if (value.greaterThanOrEquals$1(max).value)
  21961. return max;
  21962. return value;
  21963. }
  21964. t1 = [min];
  21965. if (value != null)
  21966. t1.push(value);
  21967. if (max != null)
  21968. t1.push(max);
  21969. args = A.List_List$unmodifiable(t1, type$.Object);
  21970. A.SassCalculation__verifyCompatibleNumbers0(args);
  21971. A.SassCalculation__verifyLength0(args, 3);
  21972. return new A.SassCalculation0("clamp", args);
  21973. },
  21974. SassCalculation_pow0(base, exponent) {
  21975. var t1 = A._setArrayType([base], type$.JSArray_Object);
  21976. if (exponent != null)
  21977. t1.push(exponent);
  21978. A.SassCalculation__verifyLength0(t1, 2);
  21979. base = A.SassCalculation__simplify0(base);
  21980. exponent = A.NullableExtension_andThen0(exponent, A.calculation0_SassCalculation__simplify$closure());
  21981. if (!(base instanceof A.SassNumber0) || !(exponent instanceof A.SassNumber0))
  21982. return new A.SassCalculation0("pow", t1);
  21983. base.assertNoUnits$0();
  21984. exponent.assertNoUnits$0();
  21985. return A.pow1(base, exponent);
  21986. },
  21987. SassCalculation_log0(number, base) {
  21988. var t1, t2;
  21989. number = A.SassCalculation__simplify0(number);
  21990. base = A.NullableExtension_andThen0(base, A.calculation0_SassCalculation__simplify$closure());
  21991. t1 = A._setArrayType([number], type$.JSArray_Object);
  21992. t2 = base != null;
  21993. if (t2)
  21994. t1.push(base);
  21995. if (number instanceof A.SassNumber0)
  21996. t2 = t2 && !(base instanceof A.SassNumber0);
  21997. else
  21998. t2 = true;
  21999. if (t2)
  22000. return new A.SassCalculation0("log", t1);
  22001. number.assertNoUnits$0();
  22002. if (base instanceof A.SassNumber0) {
  22003. base.assertNoUnits$0();
  22004. return A.log0(number, base);
  22005. }
  22006. return A.log0(number, null);
  22007. },
  22008. SassCalculation_atan20(y, x) {
  22009. var t1;
  22010. y = A.SassCalculation__simplify0(y);
  22011. x = A.NullableExtension_andThen0(x, A.calculation0_SassCalculation__simplify$closure());
  22012. t1 = A._setArrayType([y], type$.JSArray_Object);
  22013. if (x != null)
  22014. t1.push(x);
  22015. A.SassCalculation__verifyLength0(t1, 2);
  22016. A.SassCalculation__verifyCompatibleNumbers0(t1);
  22017. if (!(y instanceof A.SassNumber0) || !(x instanceof A.SassNumber0) || y.hasUnit$1("%") || x.hasUnit$1("%") || !y.hasCompatibleUnits$1(x))
  22018. return new A.SassCalculation0("atan2", t1);
  22019. return A.SassNumber_SassNumber$withUnits0(Math.atan2(y._number1$_value, x.convertValueToMatch$3(y, "x", "y")) * 57.29577951308232, null, A._setArrayType(["deg"], type$.JSArray_String));
  22020. },
  22021. SassCalculation_rem0(dividend, modulus) {
  22022. var t1, result;
  22023. dividend = A.SassCalculation__simplify0(dividend);
  22024. modulus = A.NullableExtension_andThen0(modulus, A.calculation0_SassCalculation__simplify$closure());
  22025. t1 = A._setArrayType([dividend], type$.JSArray_Object);
  22026. if (modulus != null)
  22027. t1.push(modulus);
  22028. A.SassCalculation__verifyLength0(t1, 2);
  22029. A.SassCalculation__verifyCompatibleNumbers0(t1);
  22030. if (!(dividend instanceof A.SassNumber0) || !(modulus instanceof A.SassNumber0) || !dividend.hasCompatibleUnits$1(modulus))
  22031. return new A.SassCalculation0("rem", t1);
  22032. result = dividend.modulo$1(modulus);
  22033. t1 = modulus._number1$_value;
  22034. if (A.DoubleWithSignedZero_get_signIncludingZero0(t1) !== A.DoubleWithSignedZero_get_signIncludingZero0(dividend._number1$_value)) {
  22035. if (t1 == 1 / 0 || t1 == -1 / 0)
  22036. return dividend;
  22037. if (result._number1$_value === 0)
  22038. return result.unaryMinus$0();
  22039. return result.minus$1(modulus);
  22040. }
  22041. return result;
  22042. },
  22043. SassCalculation_mod0(dividend, modulus) {
  22044. var t1;
  22045. dividend = A.SassCalculation__simplify0(dividend);
  22046. modulus = A.NullableExtension_andThen0(modulus, A.calculation0_SassCalculation__simplify$closure());
  22047. t1 = A._setArrayType([dividend], type$.JSArray_Object);
  22048. if (modulus != null)
  22049. t1.push(modulus);
  22050. A.SassCalculation__verifyLength0(t1, 2);
  22051. A.SassCalculation__verifyCompatibleNumbers0(t1);
  22052. if (!(dividend instanceof A.SassNumber0) || !(modulus instanceof A.SassNumber0) || !dividend.hasCompatibleUnits$1(modulus))
  22053. return new A.SassCalculation0("mod", t1);
  22054. return dividend.modulo$1(modulus);
  22055. },
  22056. SassCalculation_roundInternal0(strategyOrNumber, numberOrStep, step, inLegacySassFunction, span, warn) {
  22057. var t2, t3, _0_8_isSet, _0_6_isSet, _0_6_isSet0, t4, _0_14_isSet, _0_16, _0_18, _0_18_isSet, _0_20, _0_20_isSet, strategy, _0_9_isSet0, _0_12, _0_14, _0_16_isSet, t5, _0_12_isSet, _0_12_isSet0, rest, _null = null, _s5_ = "round",
  22058. _0_1 = A.SassCalculation__simplify0(strategyOrNumber),
  22059. _0_6 = A.NullableExtension_andThen0(numberOrStep, A.calculation0_SassCalculation__simplify$closure()),
  22060. _0_9 = A.NullableExtension_andThen0(step, A.calculation0_SassCalculation__simplify$closure()),
  22061. _0_10 = _0_1,
  22062. _0_8 = _null,
  22063. _0_60 = _null,
  22064. _0_100 = _null,
  22065. _0_10_isSet = false,
  22066. _0_90 = _null,
  22067. _0_9_isSet = false,
  22068. number = _null,
  22069. t1 = false;
  22070. if (_0_1 instanceof A.SassNumber0) {
  22071. t2 = _0_10;
  22072. t3 = type$.SassNumber_2;
  22073. _0_8_isSet = !t3._as(t2).get$hasUnits();
  22074. if (_0_8_isSet) {
  22075. number = t3._as(_0_10);
  22076. _0_8 = _0_6 == null;
  22077. _0_10_isSet = _0_8;
  22078. _0_60 = _0_6;
  22079. if (_0_10_isSet) {
  22080. _0_100 = _0_9 == null;
  22081. t1 = _0_100;
  22082. _0_90 = _0_9;
  22083. }
  22084. _0_9_isSet = _0_10_isSet;
  22085. }
  22086. _0_6_isSet = _0_8_isSet;
  22087. } else {
  22088. _0_8_isSet = false;
  22089. _0_6_isSet = false;
  22090. }
  22091. if (t1)
  22092. return A.SassNumber_SassNumber0(B.JSNumber_methods.round$0(number._number1$_value), _null);
  22093. t1 = false;
  22094. if (_0_10 instanceof A.SassNumber0) {
  22095. t2 = _0_10;
  22096. type$.SassNumber_2._as(t2);
  22097. if (_0_8_isSet)
  22098. t3 = _0_8;
  22099. else {
  22100. if (_0_6_isSet)
  22101. t3 = _0_60;
  22102. else {
  22103. t3 = _0_6;
  22104. _0_60 = t3;
  22105. _0_6_isSet = true;
  22106. }
  22107. _0_8 = t3 == null;
  22108. t3 = _0_8;
  22109. _0_8_isSet = true;
  22110. }
  22111. if (t3) {
  22112. if (_0_10_isSet)
  22113. t1 = _0_100;
  22114. else {
  22115. if (_0_9_isSet)
  22116. t1 = _0_90;
  22117. else {
  22118. t1 = _0_9;
  22119. _0_90 = t1;
  22120. _0_9_isSet = true;
  22121. }
  22122. _0_100 = t1 == null;
  22123. t1 = _0_100;
  22124. _0_10_isSet = true;
  22125. }
  22126. t1 = t1 && inLegacySassFunction != null;
  22127. }
  22128. number = t2;
  22129. } else
  22130. number = _null;
  22131. if (t1) {
  22132. warn.call$2(string$.In_fut, B.Deprecation_ZDV);
  22133. t1 = B.JSNumber_methods.round$0(number._number1$_value);
  22134. t2 = number.get$numeratorUnits(number);
  22135. return A.SassNumber_SassNumber$withUnits0(t1, number.get$denominatorUnits(number), t2);
  22136. }
  22137. step = _null;
  22138. t1 = false;
  22139. if (_0_10 instanceof A.SassNumber0) {
  22140. _0_6_isSet0 = true;
  22141. t2 = _0_10;
  22142. t3 = type$.SassNumber_2;
  22143. t3._as(t2);
  22144. if (_0_6_isSet)
  22145. t4 = _0_60;
  22146. else {
  22147. t4 = _0_6;
  22148. _0_6_isSet = _0_6_isSet0;
  22149. _0_60 = t4;
  22150. }
  22151. if (t4 instanceof A.SassNumber0) {
  22152. if (_0_6_isSet)
  22153. t4 = _0_60;
  22154. else {
  22155. t4 = _0_6;
  22156. _0_6_isSet = _0_6_isSet0;
  22157. _0_60 = t4;
  22158. }
  22159. t3._as(t4);
  22160. if (_0_10_isSet)
  22161. t1 = _0_100;
  22162. else {
  22163. if (_0_9_isSet)
  22164. t1 = _0_90;
  22165. else {
  22166. t1 = _0_9;
  22167. _0_90 = t1;
  22168. _0_9_isSet = true;
  22169. }
  22170. _0_100 = t1 == null;
  22171. t1 = _0_100;
  22172. _0_10_isSet = true;
  22173. }
  22174. t1 = t1 && !t2.hasCompatibleUnits$1(t4);
  22175. step = t4;
  22176. }
  22177. number = t2;
  22178. } else
  22179. number = _null;
  22180. if (t1) {
  22181. t1 = type$.JSArray_Object;
  22182. A.SassCalculation__verifyCompatibleNumbers0(A._setArrayType([number, step], t1));
  22183. return new A.SassCalculation0(_s5_, A._setArrayType([number, step], t1));
  22184. }
  22185. step = _null;
  22186. t1 = false;
  22187. if (_0_10 instanceof A.SassNumber0) {
  22188. _0_6_isSet0 = true;
  22189. t2 = _0_10;
  22190. t3 = type$.SassNumber_2;
  22191. t3._as(t2);
  22192. if (_0_6_isSet)
  22193. t4 = _0_60;
  22194. else {
  22195. t4 = _0_6;
  22196. _0_6_isSet = _0_6_isSet0;
  22197. _0_60 = t4;
  22198. }
  22199. if (t4 instanceof A.SassNumber0) {
  22200. if (_0_6_isSet)
  22201. t4 = _0_60;
  22202. else {
  22203. t4 = _0_6;
  22204. _0_6_isSet = _0_6_isSet0;
  22205. _0_60 = t4;
  22206. }
  22207. t3._as(t4);
  22208. if (_0_10_isSet)
  22209. t1 = _0_100;
  22210. else {
  22211. if (_0_9_isSet)
  22212. t1 = _0_90;
  22213. else {
  22214. t1 = _0_9;
  22215. _0_90 = t1;
  22216. _0_9_isSet = true;
  22217. }
  22218. _0_100 = t1 == null;
  22219. t1 = _0_100;
  22220. _0_10_isSet = true;
  22221. }
  22222. step = t4;
  22223. }
  22224. number = t2;
  22225. } else
  22226. number = _null;
  22227. if (t1) {
  22228. A.SassCalculation__verifyCompatibleNumbers0(A._setArrayType([number, step], type$.JSArray_Object));
  22229. return A.SassCalculation__roundWithStep0("nearest", number, step);
  22230. }
  22231. _0_14_isSet = _0_10 instanceof A.SassString0;
  22232. _0_16 = _null;
  22233. _0_18 = _null;
  22234. _0_18_isSet = false;
  22235. _0_20 = _null;
  22236. _0_20_isSet = false;
  22237. strategy = _null;
  22238. number = _null;
  22239. step = _null;
  22240. t1 = false;
  22241. if (_0_14_isSet) {
  22242. _0_6_isSet0 = true;
  22243. _0_9_isSet0 = true;
  22244. t2 = _0_10;
  22245. _0_12 = type$.SassString_2._as(t2)._string0$_text;
  22246. t2 = _0_12;
  22247. _0_14 = "nearest" === t2;
  22248. t2 = _0_14;
  22249. _0_16_isSet = !t2;
  22250. t2 = true;
  22251. if (_0_16_isSet) {
  22252. _0_16 = "up" === _0_12;
  22253. t3 = _0_16;
  22254. _0_18_isSet = !t3;
  22255. if (_0_18_isSet) {
  22256. _0_18 = "down" === _0_12;
  22257. t3 = _0_18;
  22258. _0_20_isSet = !t3;
  22259. if (_0_20_isSet) {
  22260. _0_20 = "to-zero" === _0_12;
  22261. t2 = _0_20;
  22262. }
  22263. }
  22264. }
  22265. if (t2) {
  22266. t2 = _0_10;
  22267. type$.SassString_2._as(t2);
  22268. if (_0_6_isSet)
  22269. t3 = _0_60;
  22270. else {
  22271. t3 = _0_6;
  22272. _0_6_isSet = _0_6_isSet0;
  22273. _0_60 = t3;
  22274. }
  22275. if (t3 instanceof A.SassNumber0) {
  22276. if (_0_6_isSet)
  22277. t3 = _0_60;
  22278. else {
  22279. t3 = _0_6;
  22280. _0_6_isSet = _0_6_isSet0;
  22281. _0_60 = t3;
  22282. }
  22283. t4 = type$.SassNumber_2;
  22284. t4._as(t3);
  22285. if (_0_9_isSet)
  22286. t5 = _0_90;
  22287. else {
  22288. t5 = _0_9;
  22289. _0_9_isSet = _0_9_isSet0;
  22290. _0_90 = t5;
  22291. }
  22292. if (t5 instanceof A.SassNumber0) {
  22293. if (_0_9_isSet)
  22294. t1 = _0_90;
  22295. else {
  22296. t1 = _0_9;
  22297. _0_9_isSet = _0_9_isSet0;
  22298. _0_90 = t1;
  22299. }
  22300. t4._as(t1);
  22301. t4 = !t3.hasCompatibleUnits$1(t1);
  22302. step = t1;
  22303. t1 = t4;
  22304. }
  22305. number = t3;
  22306. }
  22307. strategy = t2;
  22308. }
  22309. } else {
  22310. _0_12 = _null;
  22311. _0_14 = _0_12;
  22312. _0_16_isSet = false;
  22313. }
  22314. if (t1) {
  22315. t1 = type$.JSArray_Object;
  22316. A.SassCalculation__verifyCompatibleNumbers0(A._setArrayType([number, step], t1));
  22317. return new A.SassCalculation0(_s5_, A._setArrayType([strategy, number, step], t1));
  22318. }
  22319. strategy = _null;
  22320. number = _null;
  22321. step = _null;
  22322. t1 = false;
  22323. if (_0_10 instanceof A.SassString0) {
  22324. _0_6_isSet0 = true;
  22325. _0_9_isSet0 = true;
  22326. _0_12_isSet = true;
  22327. if (_0_14_isSet) {
  22328. t2 = _0_14;
  22329. _0_12_isSet0 = _0_14_isSet;
  22330. } else {
  22331. t2 = _0_10;
  22332. _0_12 = type$.SassString_2._as(t2)._string0$_text;
  22333. t2 = _0_12;
  22334. _0_14 = "nearest" === t2;
  22335. t2 = _0_14;
  22336. _0_12_isSet0 = _0_12_isSet;
  22337. _0_14_isSet = true;
  22338. }
  22339. t3 = true;
  22340. if (!t2) {
  22341. if (_0_16_isSet)
  22342. t2 = _0_16;
  22343. else {
  22344. if (_0_12_isSet0)
  22345. t2 = _0_12;
  22346. else {
  22347. t2 = _0_10;
  22348. _0_12 = type$.SassString_2._as(t2)._string0$_text;
  22349. t2 = _0_12;
  22350. _0_12_isSet0 = _0_12_isSet;
  22351. }
  22352. _0_16 = "up" === t2;
  22353. t2 = _0_16;
  22354. _0_16_isSet = true;
  22355. }
  22356. if (!t2) {
  22357. if (_0_18_isSet)
  22358. t2 = _0_18;
  22359. else {
  22360. if (_0_12_isSet0)
  22361. t2 = _0_12;
  22362. else {
  22363. t2 = _0_10;
  22364. _0_12 = type$.SassString_2._as(t2)._string0$_text;
  22365. t2 = _0_12;
  22366. _0_12_isSet0 = _0_12_isSet;
  22367. }
  22368. _0_18 = "down" === t2;
  22369. t2 = _0_18;
  22370. _0_18_isSet = true;
  22371. }
  22372. if (!t2)
  22373. if (_0_20_isSet) {
  22374. t2 = _0_20;
  22375. _0_12_isSet = _0_12_isSet0;
  22376. } else {
  22377. if (_0_12_isSet0) {
  22378. t2 = _0_12;
  22379. _0_12_isSet = _0_12_isSet0;
  22380. } else {
  22381. t2 = _0_10;
  22382. _0_12 = type$.SassString_2._as(t2)._string0$_text;
  22383. t2 = _0_12;
  22384. }
  22385. _0_20 = "to-zero" === t2;
  22386. t2 = _0_20;
  22387. _0_20_isSet = true;
  22388. }
  22389. else {
  22390. t2 = t3;
  22391. _0_12_isSet = _0_12_isSet0;
  22392. }
  22393. } else {
  22394. t2 = t3;
  22395. _0_12_isSet = _0_12_isSet0;
  22396. }
  22397. } else {
  22398. t2 = t3;
  22399. _0_12_isSet = _0_12_isSet0;
  22400. }
  22401. if (t2) {
  22402. t2 = _0_10;
  22403. type$.SassString_2._as(t2);
  22404. if (_0_6_isSet)
  22405. t3 = _0_60;
  22406. else {
  22407. t3 = _0_6;
  22408. _0_6_isSet = _0_6_isSet0;
  22409. _0_60 = t3;
  22410. }
  22411. if (t3 instanceof A.SassNumber0) {
  22412. if (_0_6_isSet)
  22413. t3 = _0_60;
  22414. else {
  22415. t3 = _0_6;
  22416. _0_6_isSet = _0_6_isSet0;
  22417. _0_60 = t3;
  22418. }
  22419. t4 = type$.SassNumber_2;
  22420. t4._as(t3);
  22421. if (_0_9_isSet)
  22422. t1 = _0_90;
  22423. else {
  22424. t1 = _0_9;
  22425. _0_9_isSet = _0_9_isSet0;
  22426. _0_90 = t1;
  22427. }
  22428. t1 = t1 instanceof A.SassNumber0;
  22429. if (t1) {
  22430. if (_0_9_isSet)
  22431. t5 = _0_90;
  22432. else {
  22433. t5 = _0_9;
  22434. _0_9_isSet = _0_9_isSet0;
  22435. _0_90 = t5;
  22436. }
  22437. t4._as(t5);
  22438. step = t5;
  22439. }
  22440. number = t3;
  22441. }
  22442. strategy = t2;
  22443. }
  22444. } else
  22445. _0_12_isSet = _0_14_isSet;
  22446. if (t1) {
  22447. A.SassCalculation__verifyCompatibleNumbers0(A._setArrayType([number, step], type$.JSArray_Object));
  22448. return A.SassCalculation__roundWithStep0(strategy._string0$_text, number, step);
  22449. }
  22450. strategy = _null;
  22451. rest = _null;
  22452. t1 = false;
  22453. if (_0_10 instanceof A.SassString0) {
  22454. _0_6_isSet0 = true;
  22455. _0_12_isSet0 = true;
  22456. if (_0_14_isSet)
  22457. t2 = _0_14;
  22458. else {
  22459. if (_0_12_isSet)
  22460. t2 = _0_12;
  22461. else {
  22462. t2 = _0_10;
  22463. _0_12 = type$.SassString_2._as(t2)._string0$_text;
  22464. t2 = _0_12;
  22465. _0_12_isSet = _0_12_isSet0;
  22466. }
  22467. _0_14 = "nearest" === t2;
  22468. t2 = _0_14;
  22469. _0_14_isSet = true;
  22470. }
  22471. t3 = true;
  22472. if (!t2) {
  22473. if (_0_16_isSet)
  22474. t2 = _0_16;
  22475. else {
  22476. if (_0_12_isSet)
  22477. t2 = _0_12;
  22478. else {
  22479. t2 = _0_10;
  22480. _0_12 = type$.SassString_2._as(t2)._string0$_text;
  22481. t2 = _0_12;
  22482. _0_12_isSet = _0_12_isSet0;
  22483. }
  22484. _0_16 = "up" === t2;
  22485. t2 = _0_16;
  22486. _0_16_isSet = true;
  22487. }
  22488. if (!t2) {
  22489. if (_0_18_isSet)
  22490. t2 = _0_18;
  22491. else {
  22492. if (_0_12_isSet)
  22493. t2 = _0_12;
  22494. else {
  22495. t2 = _0_10;
  22496. _0_12 = type$.SassString_2._as(t2)._string0$_text;
  22497. t2 = _0_12;
  22498. _0_12_isSet = _0_12_isSet0;
  22499. }
  22500. _0_18 = "down" === t2;
  22501. t2 = _0_18;
  22502. _0_18_isSet = true;
  22503. }
  22504. if (!t2)
  22505. if (_0_20_isSet)
  22506. t2 = _0_20;
  22507. else {
  22508. if (_0_12_isSet)
  22509. t2 = _0_12;
  22510. else {
  22511. t2 = _0_10;
  22512. _0_12 = type$.SassString_2._as(t2)._string0$_text;
  22513. t2 = _0_12;
  22514. _0_12_isSet = _0_12_isSet0;
  22515. }
  22516. _0_20 = "to-zero" === t2;
  22517. t2 = _0_20;
  22518. _0_20_isSet = true;
  22519. }
  22520. else
  22521. t2 = t3;
  22522. } else
  22523. t2 = t3;
  22524. } else
  22525. t2 = t3;
  22526. if (t2) {
  22527. t2 = _0_10;
  22528. t3 = type$.SassString_2;
  22529. t3._as(t2);
  22530. if (_0_6_isSet)
  22531. t4 = _0_60;
  22532. else {
  22533. t4 = _0_6;
  22534. _0_6_isSet = _0_6_isSet0;
  22535. _0_60 = t4;
  22536. }
  22537. if (t4 instanceof A.SassString0) {
  22538. if (_0_6_isSet)
  22539. t4 = _0_60;
  22540. else {
  22541. t4 = _0_6;
  22542. _0_6_isSet = _0_6_isSet0;
  22543. _0_60 = t4;
  22544. }
  22545. t3._as(t4);
  22546. if (_0_10_isSet)
  22547. t1 = _0_100;
  22548. else {
  22549. if (_0_9_isSet)
  22550. t1 = _0_90;
  22551. else {
  22552. t1 = _0_9;
  22553. _0_90 = t1;
  22554. _0_9_isSet = true;
  22555. }
  22556. _0_100 = t1 == null;
  22557. t1 = _0_100;
  22558. _0_10_isSet = true;
  22559. }
  22560. rest = t4;
  22561. }
  22562. strategy = t2;
  22563. }
  22564. }
  22565. if (t1)
  22566. return new A.SassCalculation0(_s5_, A._setArrayType([strategy, rest], type$.JSArray_Object));
  22567. t1 = false;
  22568. if (_0_10 instanceof A.SassString0) {
  22569. _0_12_isSet0 = true;
  22570. if (_0_14_isSet)
  22571. t2 = _0_14;
  22572. else {
  22573. if (_0_12_isSet)
  22574. t2 = _0_12;
  22575. else {
  22576. t2 = _0_10;
  22577. _0_12 = type$.SassString_2._as(t2)._string0$_text;
  22578. t2 = _0_12;
  22579. _0_12_isSet = _0_12_isSet0;
  22580. }
  22581. _0_14 = "nearest" === t2;
  22582. t2 = _0_14;
  22583. _0_14_isSet = true;
  22584. }
  22585. t3 = true;
  22586. if (!t2) {
  22587. if (_0_16_isSet)
  22588. t2 = _0_16;
  22589. else {
  22590. if (_0_12_isSet)
  22591. t2 = _0_12;
  22592. else {
  22593. t2 = _0_10;
  22594. _0_12 = type$.SassString_2._as(t2)._string0$_text;
  22595. t2 = _0_12;
  22596. _0_12_isSet = _0_12_isSet0;
  22597. }
  22598. _0_16 = "up" === t2;
  22599. t2 = _0_16;
  22600. _0_16_isSet = true;
  22601. }
  22602. if (!t2) {
  22603. if (_0_18_isSet)
  22604. t2 = _0_18;
  22605. else {
  22606. if (_0_12_isSet)
  22607. t2 = _0_12;
  22608. else {
  22609. t2 = _0_10;
  22610. _0_12 = type$.SassString_2._as(t2)._string0$_text;
  22611. t2 = _0_12;
  22612. _0_12_isSet = _0_12_isSet0;
  22613. }
  22614. _0_18 = "down" === t2;
  22615. t2 = _0_18;
  22616. _0_18_isSet = true;
  22617. }
  22618. if (!t2)
  22619. if (_0_20_isSet)
  22620. t2 = _0_20;
  22621. else {
  22622. if (_0_12_isSet)
  22623. t2 = _0_12;
  22624. else {
  22625. t2 = _0_10;
  22626. _0_12 = type$.SassString_2._as(t2)._string0$_text;
  22627. t2 = _0_12;
  22628. _0_12_isSet = _0_12_isSet0;
  22629. }
  22630. _0_20 = "to-zero" === t2;
  22631. t2 = _0_20;
  22632. _0_20_isSet = true;
  22633. }
  22634. else
  22635. t2 = t3;
  22636. } else
  22637. t2 = t3;
  22638. } else
  22639. t2 = t3;
  22640. if (t2) {
  22641. if (_0_6_isSet)
  22642. t2 = _0_60;
  22643. else {
  22644. t2 = _0_6;
  22645. _0_60 = t2;
  22646. _0_6_isSet = true;
  22647. }
  22648. if (t2 != null)
  22649. if (_0_10_isSet)
  22650. t1 = _0_100;
  22651. else {
  22652. if (_0_9_isSet)
  22653. t1 = _0_90;
  22654. else {
  22655. t1 = _0_9;
  22656. _0_90 = t1;
  22657. _0_9_isSet = true;
  22658. }
  22659. _0_100 = t1 == null;
  22660. t1 = _0_100;
  22661. _0_10_isSet = true;
  22662. }
  22663. }
  22664. }
  22665. if (t1)
  22666. throw A.wrapException(A.SassScriptException$0(string$.If_str, _null));
  22667. t1 = false;
  22668. if (_0_10 instanceof A.SassString0) {
  22669. _0_12_isSet0 = true;
  22670. if (_0_14_isSet)
  22671. t2 = _0_14;
  22672. else {
  22673. if (_0_12_isSet)
  22674. t2 = _0_12;
  22675. else {
  22676. t2 = _0_10;
  22677. _0_12 = type$.SassString_2._as(t2)._string0$_text;
  22678. t2 = _0_12;
  22679. _0_12_isSet = _0_12_isSet0;
  22680. }
  22681. _0_14 = "nearest" === t2;
  22682. t2 = _0_14;
  22683. _0_14_isSet = true;
  22684. }
  22685. t3 = true;
  22686. if (!t2) {
  22687. if (_0_16_isSet)
  22688. t2 = _0_16;
  22689. else {
  22690. if (_0_12_isSet)
  22691. t2 = _0_12;
  22692. else {
  22693. t2 = _0_10;
  22694. _0_12 = type$.SassString_2._as(t2)._string0$_text;
  22695. t2 = _0_12;
  22696. _0_12_isSet = _0_12_isSet0;
  22697. }
  22698. _0_16 = "up" === t2;
  22699. t2 = _0_16;
  22700. _0_16_isSet = true;
  22701. }
  22702. if (!t2) {
  22703. if (_0_18_isSet)
  22704. t2 = _0_18;
  22705. else {
  22706. if (_0_12_isSet)
  22707. t2 = _0_12;
  22708. else {
  22709. t2 = _0_10;
  22710. _0_12 = type$.SassString_2._as(t2)._string0$_text;
  22711. t2 = _0_12;
  22712. _0_12_isSet = _0_12_isSet0;
  22713. }
  22714. _0_18 = "down" === t2;
  22715. t2 = _0_18;
  22716. _0_18_isSet = true;
  22717. }
  22718. if (!t2)
  22719. if (_0_20_isSet)
  22720. t2 = _0_20;
  22721. else {
  22722. if (_0_12_isSet)
  22723. t2 = _0_12;
  22724. else {
  22725. t2 = _0_10;
  22726. _0_12 = type$.SassString_2._as(t2)._string0$_text;
  22727. t2 = _0_12;
  22728. _0_12_isSet = _0_12_isSet0;
  22729. }
  22730. _0_20 = "to-zero" === t2;
  22731. t2 = _0_20;
  22732. _0_20_isSet = true;
  22733. }
  22734. else
  22735. t2 = t3;
  22736. } else
  22737. t2 = t3;
  22738. } else
  22739. t2 = t3;
  22740. if (t2) {
  22741. if (_0_8_isSet)
  22742. t2 = _0_8;
  22743. else {
  22744. if (_0_6_isSet)
  22745. t2 = _0_60;
  22746. else {
  22747. t2 = _0_6;
  22748. _0_60 = t2;
  22749. _0_6_isSet = true;
  22750. }
  22751. _0_8 = t2 == null;
  22752. t2 = _0_8;
  22753. _0_8_isSet = true;
  22754. }
  22755. if (t2)
  22756. if (_0_10_isSet)
  22757. t1 = _0_100;
  22758. else {
  22759. if (_0_9_isSet)
  22760. t1 = _0_90;
  22761. else {
  22762. t1 = _0_9;
  22763. _0_90 = t1;
  22764. _0_9_isSet = true;
  22765. }
  22766. _0_100 = t1 == null;
  22767. t1 = _0_100;
  22768. _0_10_isSet = true;
  22769. }
  22770. }
  22771. }
  22772. if (t1)
  22773. throw A.wrapException(A.SassScriptException$0(string$.Number, _null));
  22774. number = _0_10;
  22775. t1 = false;
  22776. if (_0_8_isSet)
  22777. t2 = _0_8;
  22778. else {
  22779. if (_0_6_isSet)
  22780. t2 = _0_60;
  22781. else {
  22782. t2 = _0_6;
  22783. _0_60 = t2;
  22784. _0_6_isSet = true;
  22785. }
  22786. _0_8 = t2 == null;
  22787. t2 = _0_8;
  22788. }
  22789. if (t2)
  22790. if (_0_10_isSet)
  22791. t1 = _0_100;
  22792. else {
  22793. if (_0_9_isSet)
  22794. t1 = _0_90;
  22795. else {
  22796. t1 = _0_9;
  22797. _0_90 = t1;
  22798. _0_9_isSet = true;
  22799. }
  22800. _0_100 = t1 == null;
  22801. t1 = _0_100;
  22802. _0_10_isSet = true;
  22803. }
  22804. if (t1)
  22805. return new A.SassCalculation0(_s5_, A._setArrayType([number], type$.JSArray_Object));
  22806. number = _0_10;
  22807. step = _null;
  22808. t1 = false;
  22809. _0_6_isSet0 = true;
  22810. if (_0_6_isSet)
  22811. t2 = _0_60;
  22812. else {
  22813. t2 = _0_6;
  22814. _0_6_isSet = _0_6_isSet0;
  22815. _0_60 = t2;
  22816. }
  22817. if (t2 != null) {
  22818. if (_0_6_isSet)
  22819. step = _0_60;
  22820. else {
  22821. step = _0_6;
  22822. _0_6_isSet = _0_6_isSet0;
  22823. _0_60 = step;
  22824. }
  22825. if (step == null)
  22826. step = type$.Object._as(step);
  22827. if (_0_10_isSet)
  22828. t1 = _0_100;
  22829. else {
  22830. if (_0_9_isSet)
  22831. t1 = _0_90;
  22832. else {
  22833. t1 = _0_9;
  22834. _0_90 = t1;
  22835. _0_9_isSet = true;
  22836. }
  22837. _0_100 = t1 == null;
  22838. t1 = _0_100;
  22839. }
  22840. }
  22841. if (t1)
  22842. return new A.SassCalculation0(_s5_, A._setArrayType([number, step], type$.JSArray_Object));
  22843. if (_0_10 instanceof A.SassString0) {
  22844. t1 = true;
  22845. if (_0_14_isSet)
  22846. t2 = _0_14;
  22847. else {
  22848. if (_0_12_isSet)
  22849. t2 = _0_12;
  22850. else {
  22851. t2 = _0_10;
  22852. _0_12 = type$.SassString_2._as(t2)._string0$_text;
  22853. t2 = _0_12;
  22854. _0_12_isSet = true;
  22855. }
  22856. _0_14 = "nearest" === t2;
  22857. t2 = _0_14;
  22858. }
  22859. if (!t2) {
  22860. if (_0_16_isSet)
  22861. t2 = _0_16;
  22862. else {
  22863. if (_0_12_isSet)
  22864. t2 = _0_12;
  22865. else {
  22866. t2 = _0_10;
  22867. _0_12 = type$.SassString_2._as(t2)._string0$_text;
  22868. t2 = _0_12;
  22869. _0_12_isSet = true;
  22870. }
  22871. _0_16 = "up" === t2;
  22872. t2 = _0_16;
  22873. }
  22874. if (!t2) {
  22875. if (_0_18_isSet)
  22876. t2 = _0_18;
  22877. else {
  22878. if (_0_12_isSet)
  22879. t2 = _0_12;
  22880. else {
  22881. t2 = _0_10;
  22882. _0_12 = type$.SassString_2._as(t2)._string0$_text;
  22883. t2 = _0_12;
  22884. _0_12_isSet = true;
  22885. }
  22886. _0_18 = "down" === t2;
  22887. t2 = _0_18;
  22888. }
  22889. if (!t2)
  22890. if (_0_20_isSet)
  22891. t1 = _0_20;
  22892. else {
  22893. if (_0_12_isSet)
  22894. t1 = _0_12;
  22895. else {
  22896. t1 = _0_10;
  22897. _0_12 = type$.SassString_2._as(t1)._string0$_text;
  22898. t1 = _0_12;
  22899. }
  22900. _0_20 = "to-zero" === t1;
  22901. t1 = _0_20;
  22902. }
  22903. }
  22904. }
  22905. } else
  22906. t1 = false;
  22907. if (!t1)
  22908. if (_0_10 instanceof A.SassString0) {
  22909. t1 = _0_10;
  22910. t1 = type$.SassString_2._as(t1).get$isVar();
  22911. } else
  22912. t1 = false;
  22913. else
  22914. t1 = true;
  22915. number = _null;
  22916. step = _null;
  22917. t2 = false;
  22918. if (t1) {
  22919. _0_6_isSet0 = true;
  22920. _0_9_isSet0 = true;
  22921. t1 = _0_10;
  22922. type$.SassString_2._as(t1);
  22923. if (_0_6_isSet)
  22924. t3 = _0_60;
  22925. else {
  22926. t3 = _0_6;
  22927. _0_6_isSet = _0_6_isSet0;
  22928. _0_60 = t3;
  22929. }
  22930. if (t3 != null) {
  22931. if (_0_6_isSet)
  22932. number = _0_60;
  22933. else {
  22934. number = _0_6;
  22935. _0_6_isSet = _0_6_isSet0;
  22936. _0_60 = number;
  22937. }
  22938. if (number == null)
  22939. number = type$.Object._as(number);
  22940. if (_0_9_isSet)
  22941. t2 = _0_90;
  22942. else {
  22943. t2 = _0_9;
  22944. _0_9_isSet = _0_9_isSet0;
  22945. _0_90 = t2;
  22946. }
  22947. t2 = t2 != null;
  22948. if (t2) {
  22949. if (_0_9_isSet)
  22950. step = _0_90;
  22951. else {
  22952. step = _0_9;
  22953. _0_9_isSet = _0_9_isSet0;
  22954. _0_90 = step;
  22955. }
  22956. if (step == null)
  22957. step = type$.Object._as(step);
  22958. }
  22959. }
  22960. strategy = t1;
  22961. t1 = t2;
  22962. } else {
  22963. t1 = t2;
  22964. strategy = _null;
  22965. }
  22966. if (t1)
  22967. return new A.SassCalculation0(_s5_, A._setArrayType([strategy, number, step], type$.JSArray_Object));
  22968. t1 = false;
  22969. if ((_0_6_isSet ? _0_60 : _0_6) != null)
  22970. t1 = (_0_9_isSet ? _0_90 : _0_9) != null;
  22971. if (t1)
  22972. throw A.wrapException(A.SassScriptException$0(A.S(strategyOrNumber) + string$.x20must_b, _null));
  22973. t1 = A.SassScriptException$0("Invalid parameters.", _null);
  22974. throw A.wrapException(t1);
  22975. },
  22976. SassCalculation_calcSize0(basis, value) {
  22977. var t1 = type$.JSArray_Object,
  22978. t2 = A._setArrayType([basis], t1);
  22979. if (value != null)
  22980. t2.push(value);
  22981. A.SassCalculation__verifyLength0(t2, 2);
  22982. basis = A.SassCalculation__simplify0(basis);
  22983. value = A.NullableExtension_andThen0(value, A.calculation0_SassCalculation__simplify$closure());
  22984. t1 = A._setArrayType([basis], t1);
  22985. if (value != null)
  22986. t1.push(value);
  22987. return new A.SassCalculation0("calc-size", t1);
  22988. },
  22989. SassCalculation_operateInternal0(operator, left, right, inLegacySassFunction, simplify, warn) {
  22990. var compatible, t1;
  22991. if (!simplify)
  22992. return new A.CalculationOperation0(operator, left, right);
  22993. left = A.SassCalculation__simplify0(left);
  22994. right = A.SassCalculation__simplify0(right);
  22995. if (B.CalculationOperator_F7i0 === operator || B.CalculationOperator_oum0 === operator) {
  22996. if (left instanceof A.SassNumber0 && right instanceof A.SassNumber0) {
  22997. compatible = left.hasCompatibleUnits$1(right);
  22998. if (!compatible && inLegacySassFunction != null && left.isComparableTo$1(right)) {
  22999. warn.call$2("In future versions of Sass, " + inLegacySassFunction + "() will be interpreted as the CSS " + inLegacySassFunction + string$.x28__cal + inLegacySassFunction + string$.x28__ins, B.Deprecation_ZDV);
  23000. compatible = true;
  23001. }
  23002. if (compatible)
  23003. return operator === B.CalculationOperator_F7i0 ? left.plus$1(right) : left.minus$1(right);
  23004. }
  23005. A.SassCalculation__verifyCompatibleNumbers0(A._setArrayType([left, right], type$.JSArray_Object));
  23006. if (right instanceof A.SassNumber0) {
  23007. t1 = right._number1$_value;
  23008. t1 = t1 < 0 && !A.fuzzyEquals0(t1, 0);
  23009. } else
  23010. t1 = false;
  23011. if (t1) {
  23012. right = right.times$1(A.SassNumber_SassNumber0(-1, null));
  23013. operator = operator === B.CalculationOperator_F7i0 ? B.CalculationOperator_oum0 : B.CalculationOperator_F7i0;
  23014. }
  23015. return new A.CalculationOperation0(operator, left, right);
  23016. } else if (left instanceof A.SassNumber0 && right instanceof A.SassNumber0)
  23017. return operator === B.CalculationOperator_kkN0 ? left.times$1(right) : left.dividedBy$1(right);
  23018. else
  23019. return new A.CalculationOperation0(operator, left, right);
  23020. },
  23021. SassCalculation__roundWithStep0(strategy, number, step) {
  23022. var _0_2, t1, _0_6, _0_8_isSet, _0_8, _0_9_isSet, _0_9, _0_11, _0_13, stepWithNumberUnit, t2;
  23023. if (!A.LinkedHashSet_LinkedHashSet$_literal(["nearest", "up", "down", "to-zero"], type$.String).contains$1(0, strategy))
  23024. throw A.wrapException(A.ArgumentError$(strategy + string$.x20must_b, null));
  23025. _0_2 = number._number1$_value;
  23026. if (_0_2 == 1 / 0 || _0_2 == -1 / 0) {
  23027. t1 = step._number1$_value;
  23028. t1 = t1 == 1 / 0 || t1 == -1 / 0;
  23029. } else
  23030. t1 = false;
  23031. if (!t1) {
  23032. t1 = step._number1$_value;
  23033. t1 = t1 === 0 || isNaN(_0_2) || isNaN(t1);
  23034. } else
  23035. t1 = true;
  23036. if (t1) {
  23037. t1 = number.get$numeratorUnits(number);
  23038. return A.SassNumber_SassNumber$withUnits0(0 / 0, number.get$denominatorUnits(number), t1);
  23039. }
  23040. if (_0_2 == 1 / 0 || _0_2 == -1 / 0)
  23041. return number;
  23042. t1 = step._number1$_value;
  23043. if (t1 == 1 / 0 || t1 == -1 / 0) {
  23044. $label0$0: {
  23045. if (0 === _0_2) {
  23046. t1 = number;
  23047. break $label0$0;
  23048. }
  23049. _0_6 = "nearest" === strategy;
  23050. t1 = _0_6;
  23051. _0_8_isSet = !t1;
  23052. if (_0_8_isSet) {
  23053. _0_8 = "to-zero" === strategy;
  23054. _0_9_isSet = _0_8;
  23055. } else {
  23056. _0_8 = null;
  23057. _0_9_isSet = true;
  23058. }
  23059. if (_0_9_isSet) {
  23060. _0_9 = _0_2 > 0;
  23061. t1 = _0_9;
  23062. } else {
  23063. _0_9 = null;
  23064. t1 = false;
  23065. }
  23066. if (t1) {
  23067. t1 = number.get$numeratorUnits(number);
  23068. t1 = A.SassNumber_SassNumber$withUnits0(0, number.get$denominatorUnits(number), t1);
  23069. break $label0$0;
  23070. }
  23071. if (!_0_6)
  23072. if (_0_8_isSet)
  23073. t1 = _0_8;
  23074. else {
  23075. _0_8 = "to-zero" === strategy;
  23076. t1 = _0_8;
  23077. }
  23078. else
  23079. t1 = true;
  23080. if (t1) {
  23081. t1 = number.get$numeratorUnits(number);
  23082. t1 = A.SassNumber_SassNumber$withUnits0(-0.0, number.get$denominatorUnits(number), t1);
  23083. break $label0$0;
  23084. }
  23085. _0_11 = "up" === strategy;
  23086. t1 = _0_11;
  23087. if (t1)
  23088. if (_0_9_isSet)
  23089. t1 = _0_9;
  23090. else {
  23091. _0_9 = _0_2 > 0;
  23092. t1 = _0_9;
  23093. }
  23094. else
  23095. t1 = false;
  23096. if (t1) {
  23097. t1 = number.get$numeratorUnits(number);
  23098. t1 = A.SassNumber_SassNumber$withUnits0(1 / 0, number.get$denominatorUnits(number), t1);
  23099. break $label0$0;
  23100. }
  23101. if (_0_11) {
  23102. t1 = number.get$numeratorUnits(number);
  23103. t1 = A.SassNumber_SassNumber$withUnits0(-0.0, number.get$denominatorUnits(number), t1);
  23104. break $label0$0;
  23105. }
  23106. _0_13 = "down" === strategy;
  23107. t1 = _0_13;
  23108. if (t1)
  23109. t1 = _0_2 < 0;
  23110. else
  23111. t1 = false;
  23112. if (t1) {
  23113. t1 = number.get$numeratorUnits(number);
  23114. t1 = A.SassNumber_SassNumber$withUnits0(-1 / 0, number.get$denominatorUnits(number), t1);
  23115. break $label0$0;
  23116. }
  23117. if (_0_13) {
  23118. t1 = number.get$numeratorUnits(number);
  23119. t1 = A.SassNumber_SassNumber$withUnits0(0, number.get$denominatorUnits(number), t1);
  23120. break $label0$0;
  23121. }
  23122. t1 = A.throwExpression(A.UnsupportedError$("Invalid argument: " + strategy + "."));
  23123. }
  23124. return t1;
  23125. }
  23126. stepWithNumberUnit = step.convertValueToMatch$1(number);
  23127. $label1$1: {
  23128. if ("nearest" === strategy) {
  23129. t1 = B.JSNumber_methods.round$0(_0_2 / stepWithNumberUnit);
  23130. t2 = number.get$numeratorUnits(number);
  23131. t2 = A.SassNumber_SassNumber$withUnits0(t1 * stepWithNumberUnit, number.get$denominatorUnits(number), t2);
  23132. t1 = t2;
  23133. break $label1$1;
  23134. }
  23135. if ("up" === strategy) {
  23136. t2 = _0_2 / stepWithNumberUnit;
  23137. t1 = t1 < 0 ? B.JSNumber_methods.floor$0(t2) : B.JSNumber_methods.ceil$0(t2);
  23138. t2 = number.get$numeratorUnits(number);
  23139. t2 = A.SassNumber_SassNumber$withUnits0(t1 * stepWithNumberUnit, number.get$denominatorUnits(number), t2);
  23140. t1 = t2;
  23141. break $label1$1;
  23142. }
  23143. if ("down" === strategy) {
  23144. t2 = _0_2 / stepWithNumberUnit;
  23145. t1 = t1 < 0 ? B.JSNumber_methods.ceil$0(t2) : B.JSNumber_methods.floor$0(t2);
  23146. t2 = number.get$numeratorUnits(number);
  23147. t2 = A.SassNumber_SassNumber$withUnits0(t1 * stepWithNumberUnit, number.get$denominatorUnits(number), t2);
  23148. t1 = t2;
  23149. break $label1$1;
  23150. }
  23151. if ("to-zero" === strategy) {
  23152. t1 = _0_2 / stepWithNumberUnit;
  23153. if (_0_2 < 0) {
  23154. t1 = B.JSNumber_methods.ceil$0(t1);
  23155. t2 = number.get$numeratorUnits(number);
  23156. t2 = A.SassNumber_SassNumber$withUnits0(t1 * stepWithNumberUnit, number.get$denominatorUnits(number), t2);
  23157. t1 = t2;
  23158. } else {
  23159. t1 = B.JSNumber_methods.floor$0(t1);
  23160. t2 = number.get$numeratorUnits(number);
  23161. t2 = A.SassNumber_SassNumber$withUnits0(t1 * stepWithNumberUnit, number.get$denominatorUnits(number), t2);
  23162. t1 = t2;
  23163. }
  23164. break $label1$1;
  23165. }
  23166. t1 = number.get$numeratorUnits(number);
  23167. t1 = A.SassNumber_SassNumber$withUnits0(0 / 0, number.get$denominatorUnits(number), t1);
  23168. break $label1$1;
  23169. }
  23170. return t1;
  23171. },
  23172. SassCalculation__simplify0(arg) {
  23173. var t1, t2, _0_11_isSet, _0_15, _0_12, _0_16_isSet, text, _0_11, _0_16, t3, _0_12_isSet, _0_15_isSet, value, _null = null,
  23174. _s32_ = " can't be used in a calculation.";
  23175. $label0$0: {
  23176. if (arg instanceof A.SassNumber0 || arg instanceof A.CalculationOperation0) {
  23177. t1 = arg;
  23178. break $label0$0;
  23179. }
  23180. if (arg instanceof A.CalculationInterpolation) {
  23181. t1 = new A.SassString0("(" + arg._calculation0$_value + ")", false);
  23182. break $label0$0;
  23183. }
  23184. t1 = arg instanceof A.SassString0;
  23185. t2 = _null;
  23186. if (t1 && !arg._string0$_hasQuotes) {
  23187. t1 = arg;
  23188. break $label0$0;
  23189. }
  23190. if (t1)
  23191. A.throwExpression(A.SassScriptException$0("Quoted string " + arg.toString$0(0) + _s32_, _null));
  23192. _0_11_isSet = arg instanceof A.SassCalculation0;
  23193. _0_15 = _null;
  23194. _0_12 = _null;
  23195. _0_16_isSet = false;
  23196. text = _null;
  23197. t1 = false;
  23198. if (_0_11_isSet) {
  23199. _0_11 = "calc" === arg.name;
  23200. if (_0_11) {
  23201. _0_12 = arg.$arguments;
  23202. _0_15 = _0_12.length === 1;
  23203. _0_16_isSet = _0_15;
  23204. if (_0_16_isSet) {
  23205. _0_16 = _0_12[0];
  23206. t2 = _0_16;
  23207. if (t2 instanceof A.SassString0) {
  23208. t2 = _0_16;
  23209. t3 = type$.SassString_2;
  23210. if (!t3._as(t2)._string0$_hasQuotes) {
  23211. t1 = _0_16;
  23212. text = t3._as(t1)._string0$_text;
  23213. t1 = A.SassCalculation__needsParentheses0(text);
  23214. }
  23215. }
  23216. } else
  23217. _0_16 = t2;
  23218. } else
  23219. _0_16 = t2;
  23220. _0_12_isSet = _0_11;
  23221. _0_15_isSet = _0_12_isSet;
  23222. } else {
  23223. _0_16 = t2;
  23224. _0_11 = _null;
  23225. _0_15_isSet = false;
  23226. _0_12_isSet = false;
  23227. }
  23228. if (t1) {
  23229. t1 = new A.SassString0("(" + A.S(text) + ")", false);
  23230. break $label0$0;
  23231. }
  23232. t1 = false;
  23233. if (_0_11_isSet)
  23234. if (_0_11)
  23235. if (_0_15_isSet)
  23236. t1 = _0_15;
  23237. else {
  23238. if (_0_12_isSet)
  23239. t1 = _0_12;
  23240. else {
  23241. _0_12 = arg.$arguments;
  23242. t1 = _0_12;
  23243. _0_12_isSet = true;
  23244. }
  23245. _0_15 = t1.length === 1;
  23246. t1 = _0_15;
  23247. }
  23248. if (t1) {
  23249. if (_0_16_isSet)
  23250. value = _0_16;
  23251. else {
  23252. _0_16 = (_0_12_isSet ? _0_12 : arg.$arguments)[0];
  23253. value = _0_16;
  23254. }
  23255. t1 = value;
  23256. break $label0$0;
  23257. }
  23258. if (_0_11_isSet) {
  23259. t1 = arg;
  23260. break $label0$0;
  23261. }
  23262. if (arg instanceof A.Value0)
  23263. A.throwExpression(A.SassScriptException$0("Value " + arg.toString$0(0) + _s32_, _null));
  23264. t1 = A.throwExpression(A.ArgumentError$("Unexpected calculation argument " + A.S(arg) + ".", _null));
  23265. }
  23266. return t1;
  23267. },
  23268. SassCalculation__needsParentheses0(text) {
  23269. var t1, couldBeVar, second, third, fourth, i, t2,
  23270. first = text.charCodeAt(0);
  23271. if (first === 32 || first === 9 || first === 10 || first === 13 || first === 12 || first === 47 || first === 42)
  23272. return true;
  23273. t1 = text.length;
  23274. couldBeVar = t1 >= 4 && A.characterEqualsIgnoreCase0(first, 118);
  23275. if (t1 < 2)
  23276. return false;
  23277. second = text.charCodeAt(1);
  23278. if (second === 32 || second === 9 || second === 10 || second === 13 || second === 12 || second === 47 || second === 42)
  23279. return true;
  23280. couldBeVar = couldBeVar && A.characterEqualsIgnoreCase0(second, 97);
  23281. if (t1 < 3)
  23282. return false;
  23283. third = text.charCodeAt(2);
  23284. if (third === 32 || third === 9 || third === 10 || third === 13 || third === 12 || third === 47 || third === 42)
  23285. return true;
  23286. couldBeVar = couldBeVar && A.characterEqualsIgnoreCase0(third, 114);
  23287. if (t1 < 4)
  23288. return false;
  23289. fourth = text.charCodeAt(3);
  23290. if (couldBeVar && fourth === 40)
  23291. return true;
  23292. if (fourth === 32 || fourth === 9 || fourth === 10 || fourth === 13 || fourth === 12 || fourth === 47 || fourth === 42)
  23293. return true;
  23294. for (i = 4; i < t1; ++i) {
  23295. t2 = text.charCodeAt(i);
  23296. if (t2 === 32 || t2 === 9 || t2 === 10 || t2 === 13 || t2 === 12 || t2 === 47 || t2 === 42)
  23297. return true;
  23298. }
  23299. return false;
  23300. },
  23301. SassCalculation__verifyCompatibleNumbers0(args) {
  23302. var t1, _i, t2, arg, i, number1, j, number2;
  23303. for (t1 = args.length, _i = 0; t2 = args.length, _i < t2; args.length === t1 || (0, A.throwConcurrentModificationError)(args), ++_i) {
  23304. arg = args[_i];
  23305. if (arg instanceof A.SassNumber0 && arg.get$hasComplexUnits())
  23306. throw A.wrapException(A.SassScriptException$0("Number " + arg.toString$0(0) + " isn't compatible with CSS calculations.", null));
  23307. }
  23308. for (t1 = t2, i = 0; i < t1 - 1; ++i) {
  23309. number1 = args[i];
  23310. if (!(number1 instanceof A.SassNumber0))
  23311. continue;
  23312. for (j = i + 1; t1 = args.length, j < t1; ++j) {
  23313. number2 = args[j];
  23314. if (!(number2 instanceof A.SassNumber0))
  23315. continue;
  23316. if (number1.hasPossiblyCompatibleUnits$1(number2))
  23317. continue;
  23318. throw A.wrapException(A.SassScriptException$0(number1.toString$0(0) + " and " + number2.toString$0(0) + " are incompatible.", null));
  23319. }
  23320. }
  23321. },
  23322. SassCalculation__verifyLength0(args, expectedLength) {
  23323. var t1;
  23324. if (args.length === expectedLength)
  23325. return;
  23326. if (B.JSArray_methods.any$1(args, new A.SassCalculation__verifyLength_closure0()))
  23327. return;
  23328. t1 = args.length;
  23329. throw A.wrapException(A.SassScriptException$0("" + expectedLength + " arguments required, but only " + t1 + " " + A.pluralize0("was", t1, "were") + " passed.", null));
  23330. },
  23331. SassCalculation__singleArgument0($name, argument, mathFunc, forbidUnits) {
  23332. argument = A.SassCalculation__simplify0(argument);
  23333. if (!(argument instanceof A.SassNumber0))
  23334. return new A.SassCalculation0($name, A._setArrayType([argument], type$.JSArray_Object));
  23335. if (forbidUnits)
  23336. argument.assertNoUnits$0();
  23337. return mathFunc.call$1(argument);
  23338. },
  23339. SassCalculation0: function SassCalculation0(t0, t1) {
  23340. this.name = t0;
  23341. this.$arguments = t1;
  23342. },
  23343. SassCalculation__verifyLength_closure0: function SassCalculation__verifyLength_closure0() {
  23344. },
  23345. CalculationOperation0: function CalculationOperation0(t0, t1, t2) {
  23346. this._calculation0$_operator = t0;
  23347. this._calculation0$_left = t1;
  23348. this._calculation0$_right = t2;
  23349. },
  23350. CalculationOperator0: function CalculationOperator0(t0, t1, t2, t3) {
  23351. var _ = this;
  23352. _.name = t0;
  23353. _.operator = t1;
  23354. _.precedence = t2;
  23355. _._name = t3;
  23356. },
  23357. CalculationInterpolation: function CalculationInterpolation(t0) {
  23358. this._calculation0$_value = t0;
  23359. },
  23360. CallableDeclaration0: function CallableDeclaration0() {
  23361. },
  23362. updateCanonicalizeContextPrototype() {
  23363. var t1 = type$.JSClass._as(new A.CanonicalizeContext0(false, null).constructor);
  23364. A.LinkedHashMap_LinkedHashMap$_literal(["fromImport", new A.updateCanonicalizeContextPrototype_closure(), "containingUrl", new A.updateCanonicalizeContextPrototype_closure0()], type$.String, type$.Function).forEach$1(0, A.JSClassExtension_get_defineGetter(t1));
  23365. return null;
  23366. },
  23367. updateCanonicalizeContextPrototype_closure: function updateCanonicalizeContextPrototype_closure() {
  23368. },
  23369. updateCanonicalizeContextPrototype_closure0: function updateCanonicalizeContextPrototype_closure0() {
  23370. },
  23371. CanonicalizeContext0: function CanonicalizeContext0(t0, t1) {
  23372. this._canonicalize_context$_fromImport = t0;
  23373. this._canonicalize_context$_containingUrl = t1;
  23374. this._canonicalize_context$_wasContainingUrlAccessed = false;
  23375. },
  23376. ColorChannel0: function ColorChannel0(t0, t1, t2) {
  23377. this.name = t0;
  23378. this.isPolarAngle = t1;
  23379. this.associatedUnit = t2;
  23380. },
  23381. LinearChannel0: function LinearChannel0(t0, t1, t2, t3, t4, t5, t6, t7) {
  23382. var _ = this;
  23383. _.min = t0;
  23384. _.max = t1;
  23385. _.requiresPercent = t2;
  23386. _.lowerClamped = t3;
  23387. _.upperClamped = t4;
  23388. _.name = t5;
  23389. _.isPolarAngle = t6;
  23390. _.associatedUnit = t7;
  23391. },
  23392. Chokidar0: function Chokidar0() {
  23393. },
  23394. ChokidarOptions0: function ChokidarOptions0() {
  23395. },
  23396. ChokidarWatcher0: function ChokidarWatcher0() {
  23397. },
  23398. ClassSelector0: function ClassSelector0(t0, t1) {
  23399. this.name = t0;
  23400. this.span = t1;
  23401. },
  23402. ClipGamutMap0: function ClipGamutMap0(t0) {
  23403. this.name = t0;
  23404. },
  23405. cloneCssStylesheet0(stylesheet, extensionStore) {
  23406. var _0_0 = extensionStore.clone$0();
  23407. return new A._Record_2(new A._CloneCssVisitor0(_0_0._1)._clone_css$_visitChildren$2(A.ModifiableCssStylesheet$0(stylesheet.get$span(stylesheet)), stylesheet), _0_0._0);
  23408. },
  23409. _CloneCssVisitor0: function _CloneCssVisitor0(t0) {
  23410. this._clone_css$_oldToNewSelectors = t0;
  23411. },
  23412. ColorExpression0: function ColorExpression0(t0, t1) {
  23413. this.value = t0;
  23414. this.span = t1;
  23415. },
  23416. _invert0($arguments, global) {
  23417. var t2, color, rgb, channel2, space, weight, inSpace, t3, _1_9, channel0, channel1, t4, _s6_ = "weight", _s5_ = "space",
  23418. t1 = J.getInterceptor$asx($arguments),
  23419. weightNumber = t1.$index($arguments, 1).assertNumber$1(_s6_);
  23420. if (!(t1.$index($arguments, 0) instanceof A.SassNumber0))
  23421. t2 = global && t1.$index($arguments, 0).get$isSpecialNumber();
  23422. else
  23423. t2 = true;
  23424. if (t2) {
  23425. if (weightNumber._number1$_value !== 100 || !weightNumber.hasUnit$1("%"))
  23426. throw A.wrapException(string$.Only_oa);
  23427. return A._functionString0("invert", t1.take$1($arguments, 1));
  23428. }
  23429. color = t1.$index($arguments, 0).assertColor$1("color");
  23430. if (t1.$index($arguments, 2).$eq(0, B.C__SassNull0)) {
  23431. t1 = color._color0$_space;
  23432. if (!t1.get$isLegacyInternal())
  23433. throw A.wrapException(A.SassScriptException$0(string$.To_usei + color.toString$0(0) + ", you must provide a $space.", "color"));
  23434. A._checkPercent0(weightNumber, _s6_);
  23435. rgb = color.toSpace$1(B.RgbColorSpace_i0P0);
  23436. channel2 = B.LinearChannel_vJ30;
  23437. return A._mixLegacy0(A.SassColor_SassColor$rgbInternal0(A._invertChannel0(rgb, B.LinearChannel_qXC0, rgb.channel0OrNull), A._invertChannel0(rgb, B.LinearChannel_Z5r0, rgb.channel1OrNull), A._invertChannel0(rgb, channel2, rgb.channel2OrNull), color.alphaOrNull, null), color, weightNumber).toSpace$1(t1);
  23438. }
  23439. t1 = t1.$index($arguments, 2).assertString$1(_s5_);
  23440. t1.assertUnquoted$1(_s5_);
  23441. space = A.ColorSpace_fromName0(t1._string0$_text, _s5_);
  23442. weight = weightNumber.valueInRangeWithUnit$4(0, 100, _s6_, "%") / 100;
  23443. if (A.fuzzyEquals0(weight, 0))
  23444. return color;
  23445. inSpace = color.toSpace$1(space);
  23446. $label0$0: {
  23447. if (B.HwbColorSpace_guQ0 === space) {
  23448. t1 = A._invertChannel0(inSpace, space._space$_channels[0], inSpace.channel0OrNull);
  23449. t2 = inSpace.alphaOrNull;
  23450. if (t2 == null)
  23451. t2 = 0;
  23452. t2 = A.SassColor_SassColor$hwb0(t1, inSpace.channel2OrNull, inSpace.channel1OrNull, t2);
  23453. t1 = t2;
  23454. break $label0$0;
  23455. }
  23456. if (B.HslColorSpace_JQ20 === space || B.LchColorSpace_Bpv0 === space || B.OklchColorSpace_9Gj0 === space) {
  23457. t1 = space._space$_channels;
  23458. t2 = A._invertChannel0(inSpace, t1[0], inSpace.channel0OrNull);
  23459. t1 = A._invertChannel0(inSpace, t1[2], inSpace.channel2OrNull);
  23460. t3 = inSpace.alphaOrNull;
  23461. if (t3 == null)
  23462. t3 = 0;
  23463. t3 = A.SassColor_SassColor$forSpaceInternal0(space, t2, inSpace.channel1OrNull, t1, t3);
  23464. t1 = t3;
  23465. break $label0$0;
  23466. }
  23467. _1_9 = space._space$_channels;
  23468. channel0 = _1_9[0];
  23469. channel1 = _1_9[1];
  23470. channel2 = _1_9[2];
  23471. t1 = A._invertChannel0(inSpace, channel0, inSpace.channel0OrNull);
  23472. t2 = A._invertChannel0(inSpace, channel1, inSpace.channel1OrNull);
  23473. t3 = A._invertChannel0(inSpace, channel2, inSpace.channel2OrNull);
  23474. t4 = inSpace.alphaOrNull;
  23475. t1 = A.SassColor_SassColor$forSpaceInternal0(space, t1, t2, t3, t4 == null ? 0 : t4);
  23476. break $label0$0;
  23477. }
  23478. return A.fuzzyEquals0(weight, 1) ? t1.toSpace$2$legacyMissing(color._color0$_space, false) : color.interpolate$4$legacyMissing$weight(t1, A.InterpolationMethod$0(space, null), false, 1 - weight);
  23479. },
  23480. _invertChannel0(color, channel, value) {
  23481. var _0_2_isSet, _0_2, t1;
  23482. if (value == null)
  23483. A._missingChannelError0(color, channel.name);
  23484. $label0$0: {
  23485. _0_2_isSet = channel instanceof A.LinearChannel0;
  23486. if (_0_2_isSet) {
  23487. _0_2 = channel.min;
  23488. t1 = _0_2;
  23489. t1 = t1 < 0;
  23490. } else {
  23491. _0_2 = null;
  23492. t1 = false;
  23493. }
  23494. if (t1) {
  23495. t1 = -value;
  23496. break $label0$0;
  23497. }
  23498. if (_0_2_isSet)
  23499. t1 = 0 === _0_2;
  23500. else
  23501. t1 = false;
  23502. if (t1) {
  23503. t1 = channel.max - value;
  23504. break $label0$0;
  23505. }
  23506. if (channel.isPolarAngle) {
  23507. t1 = B.JSNumber_methods.$mod(value + 180, 360);
  23508. break $label0$0;
  23509. }
  23510. t1 = A.throwExpression(A.UnsupportedError$("Unknown channel " + channel.toString$0(0) + "."));
  23511. }
  23512. return t1;
  23513. },
  23514. _grayscale0(colorArg) {
  23515. var hsl, t2, oklch,
  23516. color = colorArg.assertColor$1("color"),
  23517. t1 = color._color0$_space;
  23518. if (t1.get$isLegacyInternal()) {
  23519. hsl = color.toSpace$1(B.HslColorSpace_JQ20);
  23520. t2 = hsl.alphaOrNull;
  23521. if (t2 == null)
  23522. t2 = 0;
  23523. return A.SassColor_SassColor$hsl0(hsl.channel0OrNull, 0, hsl.channel2OrNull, t2).toSpace$2$legacyMissing(t1, false);
  23524. } else {
  23525. oklch = color.toSpace$1(B.OklchColorSpace_9Gj0);
  23526. t2 = oklch.alphaOrNull;
  23527. if (t2 == null)
  23528. t2 = 0;
  23529. return A.SassColor_SassColor$forSpaceInternal0(B.OklchColorSpace_9Gj0, oklch.channel0OrNull, 0, oklch.channel2OrNull, t2).toSpace$1(t1);
  23530. }
  23531. },
  23532. _updateComponents0($arguments, adjust, change, scale) {
  23533. var t2, t3, keywords, originalColor, spaceKeyword, alphaArg, color, channelArgs, channelInfo, t4, value, channelIndex, result, i, alphaNumber, _null = null, _s5_ = "space",
  23534. t1 = J.getInterceptor$asx($arguments),
  23535. argumentList = type$.SassArgumentList_2._as(t1.$index($arguments, 1));
  23536. if (argumentList._list1$_contents.length !== 0)
  23537. throw A.wrapException(A.SassScriptException$0(string$.Only_op, _null));
  23538. argumentList._argument_list$_wereKeywordsAccessed = true;
  23539. t2 = type$.String;
  23540. t3 = type$.Value_2;
  23541. keywords = A.LinkedHashMap_LinkedHashMap$of(argumentList._argument_list$_keywords, t2, t3);
  23542. originalColor = t1.$index($arguments, 0).assertColor$1("color");
  23543. t1 = keywords.remove$1(0, _s5_);
  23544. spaceKeyword = t1 == null ? _null : t1.assertString$1(_s5_);
  23545. if (spaceKeyword == null)
  23546. spaceKeyword = _null;
  23547. else
  23548. spaceKeyword.assertUnquoted$1(_s5_);
  23549. alphaArg = keywords.remove$1(0, "alpha");
  23550. t1 = spaceKeyword == null;
  23551. if (t1 && originalColor._color0$_space.get$isLegacyInternal() && keywords.__js_helper$_length !== 0) {
  23552. t1 = A.NullableExtension_andThen0(A._sniffLegacyColorSpace0(keywords), new A._updateComponents_closure1(originalColor));
  23553. color = t1 == null ? originalColor : t1;
  23554. } else
  23555. color = A._colorInSpace0(originalColor, t1 ? B.C__SassNull0 : spaceKeyword, true);
  23556. channelArgs = A.List_List$filled(color.get$channels().length, _null, false, type$.nullable_Value_2);
  23557. t1 = color._color0$_space;
  23558. channelInfo = t1._space$_channels;
  23559. for (t2 = A.MapExtensions_get_pairs0(keywords, t2, t3), t2 = t2.get$iterator(t2); t2.moveNext$0();) {
  23560. t3 = {};
  23561. t4 = t2.get$current(t2);
  23562. t3.name = null;
  23563. t3.name = t4._0;
  23564. value = t4._1;
  23565. channelIndex = B.JSArray_methods.indexWhere$1(channelInfo, new A._updateComponents_closure2(t3));
  23566. if (channelIndex === -1)
  23567. throw A.wrapException(A.SassScriptException$0("Color space " + t1.toString$0(0) + " doesn't have a channel with this name.", t3.name));
  23568. channelArgs[channelIndex] = value;
  23569. }
  23570. if (change)
  23571. result = A._changeColor0(color, channelArgs, alphaArg);
  23572. else {
  23573. t2 = A._setArrayType([], type$.JSArray_nullable_SassNumber_2);
  23574. for (i = 0; i < 3; ++i) {
  23575. t3 = channelArgs[i];
  23576. t2.push(t3 == null ? _null : t3.assertNumber$1(channelInfo[i].name));
  23577. }
  23578. alphaNumber = alphaArg == null ? _null : alphaArg.assertNumber$1("alpha");
  23579. result = scale ? A.SassColor_SassColor$forSpaceInternal0(t1, A._scaleChannel0(color, channelInfo[0], color.channel0OrNull, t2[0]), A._scaleChannel0(color, channelInfo[1], color.channel1OrNull, t2[1]), A._scaleChannel0(color, channelInfo[2], color.channel2OrNull, t2[2]), A._scaleChannel0(color, B.LinearChannel_XL80, color.alphaOrNull, alphaNumber)) : A._adjustColor0(color, t2, alphaNumber);
  23580. }
  23581. return result.toSpace$2$legacyMissing(originalColor._color0$_space, false);
  23582. },
  23583. _changeColor0(color, channelArgs, alphaArg) {
  23584. var t4, _s5_ = "alpha",
  23585. t1 = A._channelForChange0(channelArgs[0], color, 0),
  23586. t2 = A._channelForChange0(channelArgs[1], color, 1),
  23587. t3 = A._channelForChange0(channelArgs[2], color, 2);
  23588. $label0$0: {
  23589. if (alphaArg == null) {
  23590. t4 = color.alphaOrNull;
  23591. if (t4 == null)
  23592. t4 = 0;
  23593. break $label0$0;
  23594. }
  23595. t4 = A._isNone0(alphaArg);
  23596. if (t4) {
  23597. t4 = null;
  23598. break $label0$0;
  23599. }
  23600. t4 = alphaArg instanceof A.SassNumber0;
  23601. if (t4 && !alphaArg.get$hasUnits()) {
  23602. t4 = alphaArg.valueInRange$3(0, 1, _s5_);
  23603. break $label0$0;
  23604. }
  23605. if (t4 && alphaArg.hasUnit$1("%")) {
  23606. t4 = alphaArg.valueInRangeWithUnit$4(0, 100, _s5_, "%") / 100;
  23607. break $label0$0;
  23608. }
  23609. if (t4) {
  23610. t4 = new A._changeColor_closure0(alphaArg).call$0();
  23611. break $label0$0;
  23612. }
  23613. t4 = A.throwExpression(A.SassScriptException$0(alphaArg.toString$0(0) + ' is not a number or unquoted "none".', _s5_));
  23614. }
  23615. return A._colorFromChannels0(color._color0$_space, t1, t2, t3, t4, false, false);
  23616. },
  23617. _channelForChange0(channelArg, color, channel) {
  23618. var _0_0, t1, t2;
  23619. if (channelArg == null) {
  23620. _0_0 = color.get$channelsOrNull()[channel];
  23621. $label0$0: {
  23622. if (_0_0 != null) {
  23623. t1 = color._color0$_space;
  23624. t2 = A.SassNumber_SassNumber0(_0_0, (t1 === B.HslColorSpace_JQ20 || t1 === B.HwbColorSpace_guQ0) && channel > 0 ? "%" : null);
  23625. t1 = t2;
  23626. break $label0$0;
  23627. }
  23628. t1 = null;
  23629. break $label0$0;
  23630. }
  23631. return t1;
  23632. }
  23633. if (A._isNone0(channelArg))
  23634. return null;
  23635. if (channelArg instanceof A.SassNumber0)
  23636. return channelArg;
  23637. throw A.wrapException(A.SassScriptException$0(channelArg.toString$0(0) + ' is not a number or unquoted "none".', color._color0$_space._space$_channels[channel].name));
  23638. },
  23639. _scaleChannel0(color, channel, oldValue, factorArg) {
  23640. var t1, factor;
  23641. if (factorArg == null)
  23642. return oldValue;
  23643. if (!(channel instanceof A.LinearChannel0))
  23644. throw A.wrapException(A.SassScriptException$0("Channel isn't scalable.", channel.name));
  23645. if (oldValue == null)
  23646. A._missingChannelError0(color, channel.name);
  23647. t1 = channel.name;
  23648. factorArg.assertUnit$2("%", t1);
  23649. factor = factorArg.valueInRangeWithUnit$4(-100, 100, t1, "%") / 100;
  23650. $label0$0: {
  23651. if (0 === factor) {
  23652. t1 = oldValue;
  23653. break $label0$0;
  23654. }
  23655. if (factor > 0) {
  23656. t1 = channel.max;
  23657. t1 = oldValue >= t1 ? oldValue : oldValue + (t1 - oldValue) * factor;
  23658. break $label0$0;
  23659. }
  23660. t1 = channel.min;
  23661. t1 = oldValue <= t1 ? oldValue : oldValue + (oldValue - t1) * factor;
  23662. break $label0$0;
  23663. }
  23664. return t1;
  23665. },
  23666. _adjustColor0(color, channelArgs, alphaArg) {
  23667. var t1 = color._color0$_space,
  23668. t2 = t1._space$_channels;
  23669. return A.SassColor_SassColor$forSpaceInternal0(t1, A._adjustChannel0(color, t2[0], color.channel0OrNull, channelArgs[0]), A._adjustChannel0(color, t2[1], color.channel1OrNull, channelArgs[1]), A._adjustChannel0(color, t2[2], color.channel2OrNull, channelArgs[2]), A.NullableExtension_andThen0(A._adjustChannel0(color, B.LinearChannel_XL80, color.alphaOrNull, alphaArg), new A._adjustColor_closure0()));
  23670. },
  23671. _adjustChannel0(color, channel, oldValue, adjustmentArg) {
  23672. var _0_1, _0_3, t1, _0_6_isSet, _0_6, _0_6_isSet0, t2, _0_11, result, min, max, _null = null;
  23673. if (adjustmentArg == null)
  23674. return oldValue;
  23675. if (oldValue == null)
  23676. A._missingChannelError0(color, channel.name);
  23677. $label0$0: {
  23678. _0_1 = color._color0$_space;
  23679. _0_3 = B.HslColorSpace_JQ20 === _0_1;
  23680. t1 = _0_3;
  23681. if (!t1)
  23682. _0_6_isSet = B.HwbColorSpace_guQ0 === _0_1;
  23683. else
  23684. _0_6_isSet = true;
  23685. if (_0_6_isSet) {
  23686. t1 = channel.isPolarAngle;
  23687. _0_6 = channel;
  23688. } else {
  23689. _0_6 = _null;
  23690. t1 = false;
  23691. }
  23692. if (t1) {
  23693. adjustmentArg = A.SassNumber_SassNumber0(A._angleValue0(adjustmentArg, "hue"), _null);
  23694. break $label0$0;
  23695. }
  23696. t1 = false;
  23697. if (_0_3) {
  23698. _0_6_isSet0 = true;
  23699. if (_0_6_isSet)
  23700. t2 = _0_6;
  23701. else {
  23702. t2 = channel;
  23703. _0_6_isSet = _0_6_isSet0;
  23704. _0_6 = t2;
  23705. }
  23706. if (t2 instanceof A.LinearChannel0) {
  23707. if (_0_6_isSet)
  23708. t1 = _0_6;
  23709. else {
  23710. t1 = channel;
  23711. _0_6_isSet = _0_6_isSet0;
  23712. _0_6 = t1;
  23713. }
  23714. _0_11 = type$.LinearChannel_2._as(t1).name;
  23715. t1 = _0_11;
  23716. if ("saturation" !== t1)
  23717. t1 = "lightness" === _0_11;
  23718. else
  23719. t1 = true;
  23720. }
  23721. }
  23722. if (t1) {
  23723. A._checkPercent0(adjustmentArg, channel.name);
  23724. adjustmentArg = A.SassNumber_SassNumber0(adjustmentArg._number1$_value, "%");
  23725. break $label0$0;
  23726. }
  23727. if (B.LinearChannel_XL80 === (_0_6_isSet ? _0_6 : channel) && adjustmentArg.get$hasUnits()) {
  23728. A.warnForDeprecation0("$alpha: Passing a number with unit " + adjustmentArg.get$unitString() + string$.x20is_de + adjustmentArg.unitSuggestion$1("alpha") + string$.x0a_Morex3af, B.Deprecation_vn5);
  23729. adjustmentArg = A.SassNumber_SassNumber0(adjustmentArg._number1$_value, _null);
  23730. }
  23731. }
  23732. t1 = A._channelFromValue0(channel, adjustmentArg, false);
  23733. t1.toString;
  23734. result = oldValue + t1;
  23735. $label1$1: {
  23736. t1 = channel instanceof A.LinearChannel0;
  23737. min = _null;
  23738. t2 = false;
  23739. if (t1)
  23740. if (channel.lowerClamped) {
  23741. min = channel.min;
  23742. t2 = result < min;
  23743. }
  23744. if (t2) {
  23745. t1 = oldValue < min ? Math.max(oldValue, result) : min;
  23746. break $label1$1;
  23747. }
  23748. max = _null;
  23749. t2 = false;
  23750. if (t1)
  23751. if (channel.upperClamped) {
  23752. max = channel.max;
  23753. t1 = result > max;
  23754. } else
  23755. t1 = t2;
  23756. else
  23757. t1 = t2;
  23758. if (t1) {
  23759. t1 = oldValue > max ? Math.min(oldValue, result) : max;
  23760. break $label1$1;
  23761. }
  23762. t1 = result;
  23763. break $label1$1;
  23764. }
  23765. return t1;
  23766. },
  23767. _sniffLegacyColorSpace0(keywords) {
  23768. var t1, t2;
  23769. for (t1 = new A.LinkedHashMapKeyIterator(keywords, keywords._modifications, keywords._first); t1.moveNext$0();) {
  23770. t2 = t1.__js_helper$_current;
  23771. if ("red" === t2 || "green" === t2 || "blue" === t2)
  23772. return B.RgbColorSpace_i0P0;
  23773. if ("saturation" === t2 || "lightness" === t2)
  23774. return B.HslColorSpace_JQ20;
  23775. if ("whiteness" === t2 || "blackness" === t2)
  23776. return B.HwbColorSpace_guQ0;
  23777. }
  23778. return keywords.containsKey$1("hue") ? B.HslColorSpace_JQ20 : null;
  23779. },
  23780. _functionString0($name, $arguments) {
  23781. return new A.SassString0($name + "(" + J.map$1$1$ax($arguments, new A._functionString_closure0(), type$.String).join$1(0, ", ") + ")", false);
  23782. },
  23783. _removedColorFunction0($name, argument, negative) {
  23784. return A.BuiltInCallable$function0($name, "$color, $amount", new A._removedColorFunction_closure0($name, argument, negative), "sass:color");
  23785. },
  23786. _rgb0($name, $arguments) {
  23787. var t3, t4,
  23788. t1 = J.getInterceptor$asx($arguments),
  23789. alpha = t1.get$length($arguments) > 3 ? t1.$index($arguments, 3) : null,
  23790. t2 = true;
  23791. if (!t1.$index($arguments, 0).get$isSpecialNumber())
  23792. if (!t1.$index($arguments, 1).get$isSpecialNumber())
  23793. if (!t1.$index($arguments, 2).get$isSpecialNumber()) {
  23794. t2 = alpha == null ? null : alpha.get$isSpecialNumber();
  23795. t2 = t2 === true;
  23796. }
  23797. if (t2)
  23798. return A._functionString0($name, $arguments);
  23799. t2 = t1.$index($arguments, 0).assertNumber$1("red");
  23800. t3 = t1.$index($arguments, 1).assertNumber$1("green");
  23801. t1 = t1.$index($arguments, 2).assertNumber$1("blue");
  23802. t4 = A.NullableExtension_andThen0(alpha, new A._rgb_closure0());
  23803. return A._colorFromChannels0(B.RgbColorSpace_i0P0, t2, t3, t1, t4 == null ? 1 : t4, true, true);
  23804. },
  23805. _rgbTwoArg0($name, $arguments) {
  23806. var t2, color,
  23807. t1 = J.getInterceptor$asx($arguments),
  23808. first = t1.$index($arguments, 0),
  23809. second = t1.$index($arguments, 1);
  23810. if (!first.get$isVar())
  23811. t2 = !(first instanceof A.SassColor0) && second.get$isVar();
  23812. else
  23813. t2 = true;
  23814. if (t2)
  23815. return A._functionString0($name, $arguments);
  23816. color = first.assertColor$1("color");
  23817. if (!color._color0$_space.get$isLegacyInternal())
  23818. throw A.wrapException(A.SassScriptException$0("Expected " + color.toString$0(0) + string$.x20to_be_ + color.toString$0(0) + ", $alpha: " + second.toString$0(0) + ")", $name));
  23819. color.assertLegacy$1("color");
  23820. color = color.toSpace$1(B.RgbColorSpace_i0P0);
  23821. if (second.get$isSpecialNumber())
  23822. return A._functionString0($name, A._setArrayType([A.SassNumber_SassNumber0(color.channel$1(0, "red"), null), A.SassNumber_SassNumber0(color.channel$1(0, "green"), null), A.SassNumber_SassNumber0(color.channel$1(0, "blue"), null), t1.$index($arguments, 1)], type$.JSArray_Value_2));
  23823. t1 = A._percentageOrUnitless0(t1.$index($arguments, 1).assertNumber$1("alpha"), 1, "alpha");
  23824. return color.changeAlpha$1(isNaN(t1) ? 0 : B.JSNumber_methods.clamp$2(t1, 0, 1));
  23825. },
  23826. _hsl0($name, $arguments) {
  23827. var t3, t4,
  23828. t1 = J.getInterceptor$asx($arguments),
  23829. alpha = t1.get$length($arguments) > 3 ? t1.$index($arguments, 3) : null,
  23830. t2 = true;
  23831. if (!t1.$index($arguments, 0).get$isSpecialNumber())
  23832. if (!t1.$index($arguments, 1).get$isSpecialNumber())
  23833. if (!t1.$index($arguments, 2).get$isSpecialNumber()) {
  23834. t2 = alpha == null ? null : alpha.get$isSpecialNumber();
  23835. t2 = t2 === true;
  23836. }
  23837. if (t2)
  23838. return A._functionString0($name, $arguments);
  23839. t2 = t1.$index($arguments, 0).assertNumber$1("hue");
  23840. t3 = t1.$index($arguments, 1).assertNumber$1("saturation");
  23841. t1 = t1.$index($arguments, 2).assertNumber$1("lightness");
  23842. t4 = A.NullableExtension_andThen0(alpha, new A._hsl_closure0());
  23843. return A._colorFromChannels0(B.HslColorSpace_JQ20, t2, t3, t1, t4 == null ? 1 : t4, true, false);
  23844. },
  23845. _angleValue0(angleValue, $name) {
  23846. var angle = angleValue.assertNumber$1($name);
  23847. if (angle.compatibleWithUnit$1("deg"))
  23848. return angle.coerceValueToUnit$1("deg");
  23849. A.warnForDeprecation0("$" + $name + ": Passing a unit other than deg (" + angle.toString$0(0) + string$.x29x20is_d + angle.unitSuggestion$1($name) + string$.x0a_See_, B.Deprecation_vn5);
  23850. return angle._number1$_value;
  23851. },
  23852. _checkPercent0(number, $name) {
  23853. if (number.hasUnit$1("%"))
  23854. return;
  23855. A.warnForDeprecation0("$" + $name + ": Passing a number without unit % (" + number.toString$0(0) + string$.x29x20is_d + number.unitSuggestion$2($name, "%") + string$.x0a_Morex3af, B.Deprecation_vn5);
  23856. },
  23857. _percentageOrUnitless0(number, max, $name) {
  23858. var value;
  23859. if (!number.get$hasUnits())
  23860. value = number._number1$_value;
  23861. else if (number.hasUnit$1("%"))
  23862. value = max * number._number1$_value / 100;
  23863. else
  23864. throw A.wrapException(A.SassScriptException$0("Expected " + number.toString$0(0) + ' to have unit "%" or no units.', $name));
  23865. return value;
  23866. },
  23867. _mixLegacy0(color1, color2, weight) {
  23868. var t2, alphaDistance, weight1, weight2, t3, t4, t5, t6, t7, t8,
  23869. rgb1 = color1.toSpace$1(B.RgbColorSpace_i0P0),
  23870. rgb2 = color2.toSpace$1(B.RgbColorSpace_i0P0),
  23871. weightScale = weight.valueInRange$3(0, 100, "weight") / 100,
  23872. normalizedWeight = weightScale * 2 - 1,
  23873. t1 = color1.alphaOrNull;
  23874. if (t1 == null)
  23875. t1 = 0;
  23876. t2 = color2.alphaOrNull;
  23877. alphaDistance = t1 - (t2 == null ? 0 : t2);
  23878. t1 = normalizedWeight * alphaDistance;
  23879. weight1 = ((t1 === -1 ? normalizedWeight : (normalizedWeight + alphaDistance) / (1 + t1)) + 1) / 2;
  23880. weight2 = 1 - weight1;
  23881. t1 = rgb1.channel0OrNull;
  23882. if (t1 == null)
  23883. t1 = 0;
  23884. t2 = rgb2.channel0OrNull;
  23885. if (t2 == null)
  23886. t2 = 0;
  23887. t3 = rgb1.channel1OrNull;
  23888. if (t3 == null)
  23889. t3 = 0;
  23890. t4 = rgb2.channel1OrNull;
  23891. if (t4 == null)
  23892. t4 = 0;
  23893. t5 = rgb1.channel2OrNull;
  23894. if (t5 == null)
  23895. t5 = 0;
  23896. t6 = rgb2.channel2OrNull;
  23897. if (t6 == null)
  23898. t6 = 0;
  23899. t7 = rgb1.alphaOrNull;
  23900. if (t7 == null)
  23901. t7 = 0;
  23902. t8 = rgb2.alphaOrNull;
  23903. if (t8 == null)
  23904. t8 = 0;
  23905. return A.SassColor_SassColor$rgbInternal0(t1 * weight1 + t2 * weight2, t3 * weight1 + t4 * weight2, t5 * weight1 + t6 * weight2, t7 * weightScale + t8 * (1 - weightScale), null);
  23906. },
  23907. _opacify0($name, $arguments) {
  23908. var result,
  23909. t1 = J.getInterceptor$asx($arguments),
  23910. color = t1.$index($arguments, 0).assertColor$1("color"),
  23911. amount = t1.$index($arguments, 1).assertNumber$1("amount");
  23912. if (!color._color0$_space.get$isLegacyInternal())
  23913. throw A.wrapException(A.SassScriptException$0($name + string$.x28__is_oa, null));
  23914. t1 = color.alphaOrNull;
  23915. if (t1 == null)
  23916. t1 = 0;
  23917. t1 += amount.valueInRangeWithUnit$4(0, 1, "amount", "");
  23918. result = color.changeAlpha$1(isNaN(t1) ? 0 : B.JSNumber_methods.clamp$2(t1, 0, 1));
  23919. A.warnForDeprecation0($name + "() is deprecated. " + A._suggestScaleAndAdjust0(color, amount._number1$_value, "alpha") + string$.x0a_Morex3ac, B.Deprecation_fdF);
  23920. return result;
  23921. },
  23922. _transparentize0($name, $arguments) {
  23923. var result,
  23924. t1 = J.getInterceptor$asx($arguments),
  23925. color = t1.$index($arguments, 0).assertColor$1("color"),
  23926. amount = t1.$index($arguments, 1).assertNumber$1("amount");
  23927. if (!color._color0$_space.get$isLegacyInternal())
  23928. throw A.wrapException(A.SassScriptException$0($name + string$.x28__is_oa, null));
  23929. t1 = color.alphaOrNull;
  23930. if (t1 == null)
  23931. t1 = 0;
  23932. t1 -= amount.valueInRangeWithUnit$4(0, 1, "amount", "");
  23933. result = color.changeAlpha$1(isNaN(t1) ? 0 : B.JSNumber_methods.clamp$2(t1, 0, 1));
  23934. A.warnForDeprecation0($name + "() is deprecated. " + A._suggestScaleAndAdjust0(color, -amount._number1$_value, "alpha") + string$.x0a_Morex3ac, B.Deprecation_fdF);
  23935. return result;
  23936. },
  23937. _colorInSpace0(colorUntyped, spaceUntyped, legacyMissing) {
  23938. var t1, _s5_ = "space",
  23939. color = colorUntyped.assertColor$1("color");
  23940. if (spaceUntyped.$eq(0, B.C__SassNull0))
  23941. return color;
  23942. t1 = spaceUntyped.assertString$1(_s5_);
  23943. t1.assertUnquoted$1(_s5_);
  23944. return color.toSpace$2$legacyMissing(A.ColorSpace_fromName0(t1._string0$_text, _s5_), legacyMissing);
  23945. },
  23946. _parseChannels0(functionName, input, $name, space) {
  23947. var parsedSlash, components, alphaValue, _2_0, _2_1, _2_5, _2_6_isSet, t1, _2_6, channels, first, rest, componentList, spaceName, i, channel, channelName, t2, t3, t4, _null = null;
  23948. if (input.get$isVar())
  23949. return A._functionString0(functionName, A._setArrayType([input], type$.JSArray_Value_2));
  23950. parsedSlash = A._parseSlashChannels0(input, $name);
  23951. if (parsedSlash == null)
  23952. return A._functionString0(functionName, A._setArrayType([input], type$.JSArray_Value_2));
  23953. components = parsedSlash._0;
  23954. alphaValue = parsedSlash._1;
  23955. $label0$0: {
  23956. _2_0 = components.assertCommonListStyle$2$allowSlash($name, false);
  23957. _2_1 = _2_0.length;
  23958. if (_2_1 <= 0)
  23959. throw A.wrapException(A.SassScriptException$0("Color component list may not be empty.", $name));
  23960. _2_5 = _2_1 >= 1;
  23961. _2_6_isSet = _2_5;
  23962. t1 = false;
  23963. if (_2_6_isSet) {
  23964. _2_6 = _2_0[0];
  23965. if (_2_6 instanceof A.SassString0) {
  23966. type$.SassString_2._as(_2_6);
  23967. t1 = !_2_6._string0$_hasQuotes && _2_6._string0$_text.toLowerCase() === "from";
  23968. }
  23969. } else
  23970. _2_6 = _null;
  23971. if (t1)
  23972. return A._functionString0(functionName, A._setArrayType([input], type$.JSArray_Value_2));
  23973. t1 = components.get$isVar();
  23974. if (t1) {
  23975. channels = A._setArrayType([components], type$.JSArray_Value_2);
  23976. break $label0$0;
  23977. }
  23978. channels = _null;
  23979. if (_2_5) {
  23980. first = _2_6_isSet ? _2_6 : _2_0[0];
  23981. rest = B.JSArray_methods.sublist$1(_2_0, 1);
  23982. componentList = _2_0;
  23983. } else {
  23984. componentList = channels;
  23985. rest = componentList;
  23986. first = _null;
  23987. }
  23988. if (_2_5) {
  23989. if (space == null) {
  23990. spaceName = first.assertString$1($name);
  23991. spaceName.assertUnquoted$1($name);
  23992. space = spaceName.get$isVar() ? _null : A.ColorSpace_fromName0(spaceName._string0$_text, $name);
  23993. if (B.RgbColorSpace_i0P0 === space || B.HslColorSpace_JQ20 === space || B.HwbColorSpace_guQ0 === space || B.LabColorSpace_2nT0 === space || B.LchColorSpace_Bpv0 === space || B.OklabColorSpace_5400 === space || B.OklchColorSpace_9Gj0 === space)
  23994. throw A.wrapException(A.SassScriptException$0(string$.The_co + A.S(space) + ". Use the " + A.S(space) + "() function instead.", $name));
  23995. channels = rest;
  23996. } else
  23997. channels = componentList;
  23998. for (i = 0; i < channels.length; ++i) {
  23999. channel = channels[i];
  24000. t1 = false;
  24001. if (!channel.get$isSpecialNumber())
  24002. if (!(channel instanceof A.SassNumber0))
  24003. t1 = !(channel instanceof A.SassString0 && !channel._string0$_hasQuotes && channel._string0$_text.toLowerCase() === "none");
  24004. if (t1) {
  24005. t1 = _null;
  24006. if (space == null)
  24007. channelName = t1;
  24008. else {
  24009. t2 = space._space$_channels;
  24010. t2 = i < 3 ? t2[i] : _null;
  24011. if (!(t2 == null))
  24012. t1 = new A._parseChannels_closure1().call$1(t2.name);
  24013. channelName = t1;
  24014. }
  24015. if (channelName == null)
  24016. channelName = "channel " + (i + 1);
  24017. throw A.wrapException(A.SassScriptException$0("Expected " + channelName + " to be a number, was " + channel.toString$0(0) + ".", $name));
  24018. }
  24019. }
  24020. break $label0$0;
  24021. }
  24022. throw A.wrapException("unreachable");
  24023. }
  24024. t1 = alphaValue == null;
  24025. t2 = t1 ? _null : alphaValue.get$isSpecialNumber();
  24026. if (t2 === true) {
  24027. if (channels.length === 3 && B.Set_9FDyj0.contains$1(0, space)) {
  24028. t1 = A.List_List$_of(channels, type$.Value_2);
  24029. alphaValue.toString;
  24030. t1.push(alphaValue);
  24031. t1 = A._functionString0(functionName, t1);
  24032. } else
  24033. t1 = A._functionString0(functionName, A._setArrayType([input], type$.JSArray_Value_2));
  24034. return t1;
  24035. }
  24036. $label1$1: {
  24037. if (t1) {
  24038. t2 = 1;
  24039. break $label1$1;
  24040. }
  24041. if (alphaValue instanceof A.SassString0 && !alphaValue._string0$_hasQuotes && "none" === alphaValue._string0$_text) {
  24042. t2 = _null;
  24043. break $label1$1;
  24044. }
  24045. t2 = A._percentageOrUnitless0(alphaValue.assertNumber$1($name), 1, "alpha");
  24046. t2 = isNaN(t2) ? 0 : B.JSNumber_methods.clamp$2(t2, 0, 1);
  24047. break $label1$1;
  24048. }
  24049. if (space == null)
  24050. return A._functionString0(functionName, A._setArrayType([input], type$.JSArray_Value_2));
  24051. if (B.JSArray_methods.any$1(channels, new A._parseChannels_closure2())) {
  24052. if (channels.length === 3 && B.Set_9FDyj0.contains$1(0, space)) {
  24053. t2 = A.List_List$_of(channels, type$.Value_2);
  24054. if (!t1)
  24055. t2.push(alphaValue);
  24056. t1 = A._functionString0(functionName, t2);
  24057. } else
  24058. t1 = A._functionString0(functionName, A._setArrayType([input], type$.JSArray_Value_2));
  24059. return t1;
  24060. }
  24061. if (channels.length !== 3)
  24062. throw A.wrapException(A.SassScriptException$0("The " + space.toString$0(0) + " color space has 3 channels but " + input.toString$0(0) + " has " + channels.length + ".", $name));
  24063. t1 = channels[0];
  24064. t1 = t1 instanceof A.SassNumber0 ? t1 : _null;
  24065. t3 = channels[1];
  24066. t3 = t3 instanceof A.SassNumber0 ? t3 : _null;
  24067. t4 = channels[2];
  24068. t4 = t4 instanceof A.SassNumber0 ? t4 : _null;
  24069. return A._colorFromChannels0(space, t1, t3, t4, t2, true, space === B.RgbColorSpace_i0P0);
  24070. },
  24071. _parseSlashChannels0(input, $name) {
  24072. var _1_1, alphaValue, t1, components, _1_7, _1_8_isSet, _1_9, _1_8, initial, t2, _0_0, _0_1, channel3, alpha, _1_16, _1_16_isSet, _1_9_isSet, _1_9_isSet0, t3, _null = null,
  24073. _1_0 = input.assertCommonListStyle$2$allowSlash($name, true);
  24074. $label0$0: {
  24075. _1_1 = _1_0.length;
  24076. alphaValue = _null;
  24077. t1 = false;
  24078. if (_1_1 === 2) {
  24079. components = _1_0[0];
  24080. alphaValue = _1_0[1];
  24081. t1 = input.get$separator(input) === B.ListSeparator_bRz0;
  24082. } else
  24083. components = _null;
  24084. if (t1) {
  24085. t1 = new A._Record_2(components, alphaValue);
  24086. break $label0$0;
  24087. }
  24088. t1 = input.get$separator(input);
  24089. if (t1 === B.ListSeparator_bRz0) {
  24090. t1 = _1_0.length;
  24091. A.throwExpression(A.SassScriptException$0(string$.Only_2 + t1 + " " + A.pluralize0("was", t1, "were") + " passed.", $name));
  24092. }
  24093. _1_7 = _1_1 >= 1;
  24094. _1_8_isSet = _1_7;
  24095. _1_9 = _null;
  24096. t1 = false;
  24097. if (_1_8_isSet) {
  24098. _1_8 = B.JSArray_methods.sublist$2(_1_0, 0, _1_1 - 1);
  24099. initial = _1_8;
  24100. _1_9 = _1_0[_1_1 - 1];
  24101. t2 = _1_9;
  24102. if (t2 instanceof A.SassString0) {
  24103. type$.SassString_2._as(_1_9);
  24104. t1 = !_1_9._string0$_hasQuotes;
  24105. }
  24106. } else {
  24107. initial = _null;
  24108. _1_8 = initial;
  24109. }
  24110. if (t1) {
  24111. if (_1_8_isSet)
  24112. t1 = _1_9;
  24113. else {
  24114. _1_9 = _1_0[_1_1 - 1];
  24115. t1 = _1_9;
  24116. }
  24117. _0_0 = type$.SassString_2._as(t1)._string0$_text.split("/");
  24118. $label1$1: {
  24119. _0_1 = _0_0.length;
  24120. if (_0_1 === 1) {
  24121. t1 = new A._Record_2(input, _null);
  24122. break $label1$1;
  24123. }
  24124. if (_0_1 === 2) {
  24125. channel3 = _0_0[0];
  24126. alpha = _0_0[1];
  24127. t1 = A.List_List$_of(initial, type$.Value_2);
  24128. t1.push(A._parseNumberOrString0(channel3));
  24129. t1 = new A._Record_2(A.SassList$0(t1, B.ListSeparator_qSL0, false), A._parseNumberOrString0(alpha));
  24130. break $label1$1;
  24131. }
  24132. t1 = _null;
  24133. break $label1$1;
  24134. }
  24135. break $label0$0;
  24136. }
  24137. _1_16 = _null;
  24138. _1_16_isSet = false;
  24139. t1 = false;
  24140. if (_1_7) {
  24141. _1_9_isSet = true;
  24142. if (_1_8_isSet)
  24143. initial = _1_8;
  24144. else {
  24145. _1_8 = B.JSArray_methods.sublist$2(_1_0, 0, _1_1 - 1);
  24146. initial = _1_8;
  24147. }
  24148. if (_1_8_isSet) {
  24149. t2 = _1_9;
  24150. _1_9_isSet0 = _1_8_isSet;
  24151. } else {
  24152. _1_9 = _1_0[_1_1 - 1];
  24153. t2 = _1_9;
  24154. _1_9_isSet0 = _1_9_isSet;
  24155. }
  24156. _1_16_isSet = t2 instanceof A.SassNumber0;
  24157. if (_1_16_isSet) {
  24158. if (_1_9_isSet0) {
  24159. t1 = _1_9;
  24160. _1_9_isSet = _1_9_isSet0;
  24161. } else {
  24162. _1_9 = _1_0[_1_1 - 1];
  24163. t1 = _1_9;
  24164. }
  24165. _1_16 = type$.SassNumber_2._as(t1).asSlash;
  24166. t1 = _1_16;
  24167. t1 = type$.Record_2_nullable_Object_and_nullable_Object._is(t1);
  24168. } else
  24169. _1_9_isSet = _1_9_isSet0;
  24170. } else {
  24171. initial = _null;
  24172. _1_9_isSet = _1_8_isSet;
  24173. }
  24174. if (t1) {
  24175. if (_1_16_isSet)
  24176. t1 = _1_16;
  24177. else {
  24178. if (_1_9_isSet)
  24179. t1 = _1_9;
  24180. else {
  24181. _1_9 = _1_0[_1_1 - 1];
  24182. t1 = _1_9;
  24183. _1_9_isSet = true;
  24184. }
  24185. _1_16 = type$.SassNumber_2._as(t1).asSlash;
  24186. t1 = _1_16;
  24187. _1_16_isSet = true;
  24188. }
  24189. if (t1 == null)
  24190. t1 = type$.Record_2_nullable_Object_and_nullable_Object._as(t1);
  24191. if (_1_16_isSet)
  24192. t2 = _1_16;
  24193. else {
  24194. if (_1_9_isSet)
  24195. t2 = _1_9;
  24196. else {
  24197. _1_9 = _1_0[_1_1 - 1];
  24198. t2 = _1_9;
  24199. }
  24200. _1_16 = type$.SassNumber_2._as(t2).asSlash;
  24201. t2 = _1_16;
  24202. }
  24203. if (t2 == null)
  24204. t2 = type$.Record_2_nullable_Object_and_nullable_Object._as(t2);
  24205. t3 = A.List_List$_of(initial, type$.Value_2);
  24206. t3.push(t1._0);
  24207. t1 = new A._Record_2(A.SassList$0(t3, B.ListSeparator_qSL0, false), t2._1);
  24208. break $label0$0;
  24209. }
  24210. t1 = new A._Record_2(input, _null);
  24211. break $label0$0;
  24212. }
  24213. return t1;
  24214. },
  24215. _parseNumberOrString0(text) {
  24216. var t1, expression, exception;
  24217. try {
  24218. t1 = A.ScssParser$0(text, null);
  24219. expression = t1._stylesheet0$_parseSingleProduction$1$1(t1.get$_stylesheet0$_number(), type$.NumberExpression_2);
  24220. t1 = A.SassNumber_SassNumber0(expression.value, expression.unit);
  24221. return t1;
  24222. } catch (exception) {
  24223. if (type$.SassFormatException_2._is(A.unwrapException(exception)))
  24224. return new A.SassString0(text, false);
  24225. else
  24226. throw exception;
  24227. }
  24228. },
  24229. _colorFromChannels0(space, channel0, channel1, channel2, alpha, clamp, fromRgbFunction) {
  24230. var t1, t2, whiteness, blackness, t3;
  24231. switch (space) {
  24232. case B.HslColorSpace_JQ20:
  24233. if (channel1 != null)
  24234. A._checkPercent0(channel1, "saturation");
  24235. if (channel2 != null)
  24236. A._checkPercent0(channel2, "lightness");
  24237. t1 = space._space$_channels;
  24238. return A.SassColor_SassColor$hsl0(A.NullableExtension_andThen0(channel0, new A._colorFromChannels_closure1()), A._channelFromValue0(t1[1], A._forcePercent0(channel1), clamp), A._channelFromValue0(t1[2], A._forcePercent0(channel2), clamp), alpha);
  24239. case B.HwbColorSpace_guQ0:
  24240. t1 = channel1 == null;
  24241. if (!t1)
  24242. channel1.assertUnit$2("%", "whiteness");
  24243. t2 = channel2 == null;
  24244. if (!t2)
  24245. channel2.assertUnit$2("%", "blackness");
  24246. whiteness = t1 ? null : channel1._number1$_value;
  24247. blackness = t2 ? null : channel2._number1$_value;
  24248. if (whiteness != null && blackness != null && whiteness + blackness > 100) {
  24249. t1 = whiteness + blackness;
  24250. whiteness = whiteness / t1 * 100;
  24251. blackness = blackness / t1 * 100;
  24252. }
  24253. return A.SassColor_SassColor$hwb0(A.NullableExtension_andThen0(channel0, new A._colorFromChannels_closure2()), whiteness, blackness, alpha);
  24254. case B.RgbColorSpace_i0P0:
  24255. t1 = space._space$_channels;
  24256. t2 = A._channelFromValue0(t1[0], channel0, clamp);
  24257. t3 = A._channelFromValue0(t1[1], channel1, clamp);
  24258. t1 = A._channelFromValue0(t1[2], channel2, clamp);
  24259. return A.SassColor_SassColor$rgbInternal0(t2, t3, t1, alpha, fromRgbFunction ? B.C__ColorFormatEnum0 : null);
  24260. default:
  24261. t1 = space._space$_channels;
  24262. return A.SassColor_SassColor$forSpaceInternal0(space, A._channelFromValue0(t1[0], channel0, clamp), A._channelFromValue0(t1[1], channel1, clamp), A._channelFromValue0(t1[2], channel2, clamp), alpha);
  24263. }
  24264. },
  24265. _forcePercent0(number) {
  24266. var t1, _0_3;
  24267. $label0$0: {
  24268. if (number == null) {
  24269. t1 = null;
  24270. break $label0$0;
  24271. }
  24272. _0_3 = number.get$numeratorUnits(number);
  24273. if (_0_3.length === 1)
  24274. t1 = "%" === _0_3[0] && number.get$denominatorUnits(number).length <= 0;
  24275. else
  24276. t1 = false;
  24277. if (t1) {
  24278. t1 = number;
  24279. break $label0$0;
  24280. }
  24281. t1 = A.SassNumber_SassNumber0(number._number1$_value, "%");
  24282. break $label0$0;
  24283. }
  24284. return t1;
  24285. },
  24286. _channelFromValue0(channel, value, clamp) {
  24287. return A.NullableExtension_andThen0(value, new A._channelFromValue_closure0(channel, clamp));
  24288. },
  24289. _isNone0(value) {
  24290. return value instanceof A.SassString0 && !value._string0$_hasQuotes && value._string0$_text.toLowerCase() === "none";
  24291. },
  24292. _channelFunction0($name, space, getter, global, unit) {
  24293. return A.BuiltInCallable$function0($name, "$color", new A._channelFunction_closure0(getter, unit, global, $name, space), "sass:color");
  24294. },
  24295. _suggestScaleAndAdjust0(original, adjustment, channelName) {
  24296. var t2, oldValue, newValue, factor, t3, suggestion,
  24297. channel = channelName === "alpha" ? B.LinearChannel_XL80 : type$.LinearChannel_2._as(B.JSArray_methods.firstWhere$1(B.List_oAL0, new A._suggestScaleAndAdjust_closure0(channelName))),
  24298. t1 = channel === B.LinearChannel_XL80;
  24299. if (t1) {
  24300. t2 = original.alphaOrNull;
  24301. oldValue = t2 == null ? 0 : t2;
  24302. } else
  24303. oldValue = original.toSpace$1(B.HslColorSpace_JQ20).channel$1(0, channelName);
  24304. newValue = oldValue + adjustment;
  24305. if (adjustment !== 0) {
  24306. factor = A._Cell$();
  24307. t2 = channel.max;
  24308. if (newValue > t2)
  24309. factor.__late_helper$_value = 1;
  24310. else {
  24311. t3 = channel.min;
  24312. if (newValue < t3)
  24313. factor.__late_helper$_value = -1;
  24314. else if (adjustment > 0)
  24315. factor.__late_helper$_value = adjustment / (t2 - oldValue);
  24316. else
  24317. factor.__late_helper$_value = (newValue - oldValue) / (oldValue - t3);
  24318. }
  24319. suggestion = "Suggestion" + ("s:\n\ncolor.scale($color, $" + channelName + ": " + A.SassNumber_SassNumber0(factor._readLocal$0() * 100, "%").toString$0(0) + ")\n");
  24320. } else
  24321. suggestion = "Suggestion:\n\n";
  24322. return suggestion + ("color.adjust($color, $" + channelName + ": " + A.SassNumber_SassNumber0(adjustment, t1 ? null : "%").toString$0(0) + ")");
  24323. },
  24324. _missingChannelError0(color, channel) {
  24325. return A.throwExpression(A.SassScriptException$0(string$.Becaus + color.toString$0(0) + ").", channel));
  24326. },
  24327. _channelName0(value) {
  24328. var t1 = value.assertString$1("channel");
  24329. t1.assertQuoted$1("channel");
  24330. return t1._string0$_text;
  24331. },
  24332. _function12($name, $arguments, callback) {
  24333. return A.BuiltInCallable$function0($name, $arguments, callback, "sass:color");
  24334. },
  24335. global_closure44: function global_closure44() {
  24336. },
  24337. global_closure45: function global_closure45() {
  24338. },
  24339. global_closure46: function global_closure46() {
  24340. },
  24341. global_closure47: function global_closure47() {
  24342. },
  24343. global_closure48: function global_closure48() {
  24344. },
  24345. global_closure49: function global_closure49() {
  24346. },
  24347. global_closure50: function global_closure50() {
  24348. },
  24349. global_closure51: function global_closure51() {
  24350. },
  24351. global_closure52: function global_closure52() {
  24352. },
  24353. global_closure53: function global_closure53() {
  24354. },
  24355. global_closure54: function global_closure54() {
  24356. },
  24357. global_closure55: function global_closure55() {
  24358. },
  24359. global_closure56: function global_closure56() {
  24360. },
  24361. global_closure57: function global_closure57() {
  24362. },
  24363. global_closure58: function global_closure58() {
  24364. },
  24365. global_closure59: function global_closure59() {
  24366. },
  24367. global_closure60: function global_closure60() {
  24368. },
  24369. global_closure61: function global_closure61() {
  24370. },
  24371. global_closure62: function global_closure62() {
  24372. },
  24373. global_closure63: function global_closure63() {
  24374. },
  24375. global_closure64: function global_closure64() {
  24376. },
  24377. global_closure65: function global_closure65() {
  24378. },
  24379. global_closure66: function global_closure66() {
  24380. },
  24381. global_closure67: function global_closure67() {
  24382. },
  24383. global_closure68: function global_closure68() {
  24384. },
  24385. global_closure69: function global_closure69() {
  24386. },
  24387. global_closure70: function global_closure70() {
  24388. },
  24389. global_closure71: function global_closure71() {
  24390. },
  24391. global_closure72: function global_closure72() {
  24392. },
  24393. global_closure73: function global_closure73() {
  24394. },
  24395. global_closure74: function global_closure74() {
  24396. },
  24397. global_closure75: function global_closure75() {
  24398. },
  24399. global_closure76: function global_closure76() {
  24400. },
  24401. global_closure77: function global_closure77() {
  24402. },
  24403. global_closure78: function global_closure78() {
  24404. },
  24405. global_closure79: function global_closure79() {
  24406. },
  24407. global__closure0: function global__closure0() {
  24408. },
  24409. global_closure80: function global_closure80() {
  24410. },
  24411. global_closure81: function global_closure81() {
  24412. },
  24413. global_closure82: function global_closure82() {
  24414. },
  24415. global_closure83: function global_closure83() {
  24416. },
  24417. global_closure84: function global_closure84() {
  24418. },
  24419. global_closure85: function global_closure85() {
  24420. },
  24421. global_closure86: function global_closure86() {
  24422. },
  24423. module_closure27: function module_closure27() {
  24424. },
  24425. module_closure28: function module_closure28() {
  24426. },
  24427. module_closure29: function module_closure29() {
  24428. },
  24429. module_closure30: function module_closure30() {
  24430. },
  24431. module_closure31: function module_closure31() {
  24432. },
  24433. module_closure32: function module_closure32() {
  24434. },
  24435. module_closure33: function module_closure33() {
  24436. },
  24437. module_closure34: function module_closure34() {
  24438. },
  24439. module_closure35: function module_closure35() {
  24440. },
  24441. module_closure36: function module_closure36() {
  24442. },
  24443. module_closure37: function module_closure37() {
  24444. },
  24445. module_closure38: function module_closure38() {
  24446. },
  24447. module_closure39: function module_closure39() {
  24448. },
  24449. module_closure40: function module_closure40() {
  24450. },
  24451. module__closure6: function module__closure6() {
  24452. },
  24453. module_closure41: function module_closure41() {
  24454. },
  24455. module_closure42: function module_closure42() {
  24456. },
  24457. module_closure43: function module_closure43() {
  24458. },
  24459. module_closure44: function module_closure44() {
  24460. },
  24461. module_closure45: function module_closure45() {
  24462. },
  24463. module_closure46: function module_closure46() {
  24464. },
  24465. module_closure47: function module_closure47() {
  24466. },
  24467. module_closure48: function module_closure48() {
  24468. },
  24469. module__closure5: function module__closure5(t0) {
  24470. this.channelName = t0;
  24471. },
  24472. module_closure49: function module_closure49() {
  24473. },
  24474. module_closure_toXyzNoMissing0: function module_closure_toXyzNoMissing0() {
  24475. },
  24476. module_closure50: function module_closure50() {
  24477. },
  24478. _mix_closure0: function _mix_closure0() {
  24479. },
  24480. _complement_closure0: function _complement_closure0() {
  24481. },
  24482. _adjust_closure0: function _adjust_closure0() {
  24483. },
  24484. _scale_closure0: function _scale_closure0() {
  24485. },
  24486. _change_closure0: function _change_closure0() {
  24487. },
  24488. _ieHexStr_closure0: function _ieHexStr_closure0() {
  24489. },
  24490. _ieHexStr_closure_hexString0: function _ieHexStr_closure_hexString0() {
  24491. },
  24492. _updateComponents_closure1: function _updateComponents_closure1(t0) {
  24493. this.originalColor = t0;
  24494. },
  24495. _updateComponents_closure2: function _updateComponents_closure2(t0) {
  24496. this._box_0 = t0;
  24497. },
  24498. _changeColor_closure0: function _changeColor_closure0(t0) {
  24499. this.alphaArg = t0;
  24500. },
  24501. _adjustColor_closure0: function _adjustColor_closure0() {
  24502. },
  24503. _functionString_closure0: function _functionString_closure0() {
  24504. },
  24505. _removedColorFunction_closure0: function _removedColorFunction_closure0(t0, t1, t2) {
  24506. this.name = t0;
  24507. this.argument = t1;
  24508. this.negative = t2;
  24509. },
  24510. _rgb_closure0: function _rgb_closure0() {
  24511. },
  24512. _hsl_closure0: function _hsl_closure0() {
  24513. },
  24514. _parseChannels_closure1: function _parseChannels_closure1() {
  24515. },
  24516. _parseChannels_closure2: function _parseChannels_closure2() {
  24517. },
  24518. _colorFromChannels_closure1: function _colorFromChannels_closure1() {
  24519. },
  24520. _colorFromChannels_closure2: function _colorFromChannels_closure2() {
  24521. },
  24522. _channelFromValue_closure0: function _channelFromValue_closure0(t0, t1) {
  24523. this.channel = t0;
  24524. this.clamp = t1;
  24525. },
  24526. _channelFunction_closure0: function _channelFunction_closure0(t0, t1, t2, t3, t4) {
  24527. var _ = this;
  24528. _.getter = t0;
  24529. _.unit = t1;
  24530. _.global = t2;
  24531. _.name = t3;
  24532. _.space = t4;
  24533. },
  24534. _suggestScaleAndAdjust_closure0: function _suggestScaleAndAdjust_closure0(t0) {
  24535. this.channelName = t0;
  24536. },
  24537. _constructionSpace(options) {
  24538. var t1 = J.getInterceptor$x(options);
  24539. if (t1.get$space(options) != null) {
  24540. t1 = t1.get$space(options);
  24541. t1.toString;
  24542. return A.ColorSpace_fromName0(t1, null);
  24543. }
  24544. if (t1.get$red(options) != null)
  24545. return B.RgbColorSpace_i0P0;
  24546. if (t1.get$saturation(options) != null)
  24547. return B.HslColorSpace_JQ20;
  24548. if (t1.get$whiteness(options) != null)
  24549. return B.HwbColorSpace_guQ0;
  24550. throw A.wrapException("No color space found");
  24551. },
  24552. _toSpace($self, space) {
  24553. return $self.toSpace$1(A.ColorSpace_fromName0(space == null ? $self._color0$_space.name : space, null));
  24554. },
  24555. _checkNullAlphaDeprecation(options) {
  24556. var t1 = J.getInterceptor$x(options),
  24557. t2 = t1.get$alpha(options);
  24558. if (!A._asBool($.$get$_isUndefined().call$1(t2)) && t1.get$alpha(options) == null && t1.get$space(options) == null)
  24559. A.warnForDeprecationFromApi(string$.Passin_, B.Deprecation_l0m);
  24560. },
  24561. colorClass_closure: function colorClass_closure() {
  24562. },
  24563. colorClass__closure: function colorClass__closure() {
  24564. },
  24565. colorClass__closure0: function colorClass__closure0() {
  24566. },
  24567. colorClass__closure1: function colorClass__closure1() {
  24568. },
  24569. colorClass__closure2: function colorClass__closure2() {
  24570. },
  24571. colorClass__closure3: function colorClass__closure3() {
  24572. },
  24573. colorClass__closure4: function colorClass__closure4() {
  24574. },
  24575. colorClass__closure5: function colorClass__closure5() {
  24576. },
  24577. colorClass__closure6: function colorClass__closure6() {
  24578. },
  24579. colorClass__closure7: function colorClass__closure7() {
  24580. },
  24581. colorClass__closure8: function colorClass__closure8() {
  24582. },
  24583. colorClass___closure: function colorClass___closure(t0) {
  24584. this.key = t0;
  24585. },
  24586. colorClass__closure_changedValue: function colorClass__closure_changedValue(t0, t1) {
  24587. this.color = t0;
  24588. this.options = t1;
  24589. },
  24590. colorClass__closure9: function colorClass__closure9() {
  24591. },
  24592. colorClass__closure10: function colorClass__closure10() {
  24593. },
  24594. colorClass__closure11: function colorClass__closure11() {
  24595. },
  24596. colorClass__closure12: function colorClass__closure12() {
  24597. },
  24598. colorClass__closure13: function colorClass__closure13() {
  24599. },
  24600. colorClass__closure14: function colorClass__closure14() {
  24601. },
  24602. colorClass__closure15: function colorClass__closure15() {
  24603. },
  24604. colorClass__closure16: function colorClass__closure16() {
  24605. },
  24606. colorClass__closure17: function colorClass__closure17() {
  24607. },
  24608. colorClass__closure18: function colorClass__closure18() {
  24609. },
  24610. colorClass__closure19: function colorClass__closure19() {
  24611. },
  24612. colorClass__closure20: function colorClass__closure20() {
  24613. },
  24614. colorClass__closure21: function colorClass__closure21() {
  24615. },
  24616. colorClass__closure22: function colorClass__closure22() {
  24617. },
  24618. _Channels: function _Channels() {
  24619. },
  24620. _ConstructionOptions: function _ConstructionOptions() {
  24621. },
  24622. _ChannelOptions: function _ChannelOptions() {
  24623. },
  24624. _ToGamutOptions: function _ToGamutOptions() {
  24625. },
  24626. _InterpolationOptions: function _InterpolationOptions() {
  24627. },
  24628. _NodeSassColor: function _NodeSassColor() {
  24629. },
  24630. legacyColorClass_closure: function legacyColorClass_closure() {
  24631. },
  24632. legacyColorClass__closure: function legacyColorClass__closure() {
  24633. },
  24634. legacyColorClass_closure0: function legacyColorClass_closure0() {
  24635. },
  24636. legacyColorClass_closure1: function legacyColorClass_closure1() {
  24637. },
  24638. legacyColorClass_closure2: function legacyColorClass_closure2() {
  24639. },
  24640. legacyColorClass_closure3: function legacyColorClass_closure3() {
  24641. },
  24642. legacyColorClass_closure4: function legacyColorClass_closure4() {
  24643. },
  24644. legacyColorClass_closure5: function legacyColorClass_closure5() {
  24645. },
  24646. legacyColorClass_closure6: function legacyColorClass_closure6() {
  24647. },
  24648. legacyColorClass_closure7: function legacyColorClass_closure7() {
  24649. },
  24650. SassColor_SassColor$rgb0(red, green, blue, alpha) {
  24651. return A.SassColor_SassColor$rgbInternal0(red, green, blue, alpha, null);
  24652. },
  24653. SassColor_SassColor$rgbInternal0(red, green, blue, alpha, format) {
  24654. var _null = null,
  24655. t1 = red == null ? _null : red,
  24656. t2 = green == null ? _null : green,
  24657. t3 = blue == null ? _null : blue;
  24658. return A.SassColor$_forSpace0(B.RgbColorSpace_i0P0, t1, t2, t3, alpha == null ? _null : alpha, format);
  24659. },
  24660. SassColor_SassColor$hsl0(hue, saturation, lightness, alpha) {
  24661. var _null = null,
  24662. t1 = hue == null ? _null : hue,
  24663. t2 = saturation == null ? _null : saturation,
  24664. t3 = lightness == null ? _null : lightness;
  24665. return A.SassColor_SassColor$forSpaceInternal0(B.HslColorSpace_JQ20, t1, t2, t3, alpha == null ? _null : alpha);
  24666. },
  24667. SassColor_SassColor$hwb0(hue, whiteness, blackness, alpha) {
  24668. var _null = null,
  24669. t1 = hue == null ? _null : hue,
  24670. t2 = whiteness == null ? _null : whiteness,
  24671. t3 = blackness == null ? _null : blackness;
  24672. return A.SassColor_SassColor$forSpaceInternal0(B.HwbColorSpace_guQ0, t1, t2, t3, alpha == null ? _null : alpha);
  24673. },
  24674. SassColor_SassColor$forSpaceInternal0(space, channel0, channel1, channel2, alpha) {
  24675. var t1, t2, _null = null;
  24676. $label0$0: {
  24677. if (B.HslColorSpace_JQ20 === space) {
  24678. t1 = channel1 == null;
  24679. t2 = A.SassColor__normalizeHue0(channel0, !t1 && channel1 < 0 && !A.fuzzyEquals0(channel1, 0));
  24680. t2 = A.SassColor$_forSpace0(space, t2, t1 ? _null : Math.abs(channel1), channel2, alpha, _null);
  24681. t1 = t2;
  24682. break $label0$0;
  24683. }
  24684. if (B.HwbColorSpace_guQ0 === space) {
  24685. t1 = A.SassColor$_forSpace0(space, A.SassColor__normalizeHue0(channel0, false), channel1, channel2, alpha, _null);
  24686. break $label0$0;
  24687. }
  24688. if (B.LchColorSpace_Bpv0 === space || B.OklchColorSpace_9Gj0 === space) {
  24689. t1 = channel1 == null;
  24690. t2 = t1 ? _null : Math.abs(channel1);
  24691. t2 = A.SassColor$_forSpace0(space, channel0, t2, A.SassColor__normalizeHue0(channel2, !t1 && channel1 < 0 && !A.fuzzyEquals0(channel1, 0)), alpha, _null);
  24692. t1 = t2;
  24693. break $label0$0;
  24694. }
  24695. t1 = A.SassColor$_forSpace0(space, channel0, channel1, channel2, alpha, _null);
  24696. break $label0$0;
  24697. }
  24698. return t1;
  24699. },
  24700. SassColor$_forSpace0(_space, channel0OrNull, channel1OrNull, channel2OrNull, alpha, format) {
  24701. return new A.SassColor0(_space, channel0OrNull, channel1OrNull, channel2OrNull, format, A.NullableExtension_andThen0(alpha, new A.SassColor$_forSpace_closure0()));
  24702. },
  24703. SassColor__normalizeHue0(hue, invert) {
  24704. var t1, t2;
  24705. if (hue == null)
  24706. return hue;
  24707. t1 = B.JSNumber_methods.$mod(hue, 360);
  24708. t2 = invert ? 180 : 0;
  24709. return B.JSNumber_methods.$mod(t1 + 360 + t2, 360);
  24710. },
  24711. SassColor0: function SassColor0(t0, t1, t2, t3, t4, t5) {
  24712. var _ = this;
  24713. _._color0$_space = t0;
  24714. _.channel0OrNull = t1;
  24715. _.channel1OrNull = t2;
  24716. _.channel2OrNull = t3;
  24717. _.format = t4;
  24718. _.alphaOrNull = t5;
  24719. },
  24720. SassColor$_forSpace_closure0: function SassColor$_forSpace_closure0() {
  24721. },
  24722. _ColorFormatEnum0: function _ColorFormatEnum0() {
  24723. },
  24724. SpanColorFormat0: function SpanColorFormat0(t0) {
  24725. this._color0$_span = t0;
  24726. },
  24727. Combinator0: function Combinator0(t0, t1) {
  24728. this._combinator0$_text = t0;
  24729. this._name = t1;
  24730. },
  24731. ModifiableCssComment0: function ModifiableCssComment0(t0, t1) {
  24732. var _ = this;
  24733. _.text = t0;
  24734. _.span = t1;
  24735. _._node$_indexInParent = _._node$_parent = null;
  24736. _.isGroupEnd = false;
  24737. },
  24738. compile0(path, options) {
  24739. var color, ascii, logger, result, error, stackTrace, t1, color0, ascii0, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, exception, _null = null;
  24740. if (!A.isNodeJs())
  24741. A.jsThrow(new self.Error("The compile() method is only available in Node.js."));
  24742. t1 = options == null;
  24743. color0 = t1 ? _null : J.get$alertColor$x(options);
  24744. color = color0 == null ? A.hasTerminal0() : color0;
  24745. ascii0 = t1 ? _null : J.get$alertAscii$x(options);
  24746. ascii = ascii0 == null ? $._glyphs === B.C_AsciiGlyphSet : ascii0;
  24747. t2 = t1 ? _null : J.get$logger$x(options);
  24748. t3 = ascii;
  24749. if (t3 == null)
  24750. t3 = $._glyphs === B.C_AsciiGlyphSet;
  24751. logger = new A.JSToDartLogger(t2, new A.StderrLogger0(color), t3);
  24752. try {
  24753. t2 = t1 ? _null : J.get$loadPaths$x(options);
  24754. t3 = t1 ? _null : J.get$quietDeps$x(options);
  24755. if (t3 == null)
  24756. t3 = false;
  24757. t4 = A._parseOutputStyle0(t1 ? _null : J.get$style$x(options));
  24758. t5 = t1 ? _null : J.get$verbose$x(options);
  24759. if (t5 == null)
  24760. t5 = false;
  24761. t6 = t1 ? _null : J.get$charset$x(options);
  24762. if (t6 == null)
  24763. t6 = true;
  24764. t7 = t1 ? _null : J.get$sourceMap$x(options);
  24765. if (t7 == null)
  24766. t7 = false;
  24767. if (t1)
  24768. t8 = _null;
  24769. else {
  24770. t8 = J.get$importers$x(options);
  24771. t8 = t8 == null ? _null : J.map$1$1$ax(t8, A.compile___parseImporter$closure(), type$.Importer);
  24772. }
  24773. t9 = A._parseFunctions0(t1 ? _null : J.get$functions$x(options), false);
  24774. t10 = t1 ? _null : J.get$fatalDeprecations$x(options);
  24775. t10 = A.parseDeprecations(logger, t10, true);
  24776. t11 = t1 ? _null : J.get$silenceDeprecations$x(options);
  24777. t11 = A.parseDeprecations(logger, t11, false);
  24778. t12 = t1 ? _null : J.get$futureDeprecations$x(options);
  24779. result = A.compile(path, t6, t10, new A.CastList(t9, A._arrayInstanceType(t9)._eval$1("CastList<1,Callable>")), A.parseDeprecations(logger, t12, false), A.ImportCache$0(t8, t2, _null), _null, _null, logger, _null, t3, t11, t7, t4, _null, true, t5);
  24780. t1 = t1 ? _null : J.get$sourceMapIncludeSources$x(options);
  24781. if (t1 == null)
  24782. t1 = false;
  24783. t1 = A._convertResult(result, t1);
  24784. return t1;
  24785. } catch (exception) {
  24786. t1 = A.unwrapException(exception);
  24787. if (t1 instanceof A.SassException0) {
  24788. error = t1;
  24789. stackTrace = A.getTraceFromException(exception);
  24790. A.throwNodeException(error, ascii, color, stackTrace);
  24791. } else
  24792. throw exception;
  24793. }
  24794. },
  24795. compileString0(text, options) {
  24796. var logger, result, error, stackTrace, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15, exception, _null = null,
  24797. t1 = options == null,
  24798. color0 = t1 ? _null : J.get$alertColor$x(options),
  24799. color = color0 == null ? A.hasTerminal0() : color0,
  24800. ascii0 = t1 ? _null : J.get$alertAscii$x(options),
  24801. ascii = ascii0 == null ? $._glyphs === B.C_AsciiGlyphSet : ascii0,
  24802. t2 = t1 ? _null : J.get$logger$x(options),
  24803. t3 = ascii;
  24804. if (t3 == null)
  24805. t3 = $._glyphs === B.C_AsciiGlyphSet;
  24806. logger = new A.JSToDartLogger(t2, new A.StderrLogger0(color), t3);
  24807. try {
  24808. t2 = A.parseSyntax(t1 ? _null : J.get$syntax$x(options));
  24809. t3 = t1 ? _null : A.NullableExtension_andThen0(J.get$url$x(options), A.utils3__jsToDartUrl$closure());
  24810. t4 = t1 ? _null : J.get$loadPaths$x(options);
  24811. t5 = t1 ? _null : J.get$quietDeps$x(options);
  24812. if (t5 == null)
  24813. t5 = false;
  24814. t6 = A._parseOutputStyle0(t1 ? _null : J.get$style$x(options));
  24815. t7 = t1 ? _null : J.get$verbose$x(options);
  24816. if (t7 == null)
  24817. t7 = false;
  24818. t8 = t1 ? _null : J.get$charset$x(options);
  24819. if (t8 == null)
  24820. t8 = true;
  24821. t9 = t1 ? _null : J.get$sourceMap$x(options);
  24822. if (t9 == null)
  24823. t9 = false;
  24824. if (t1)
  24825. t10 = _null;
  24826. else {
  24827. t10 = J.get$importers$x(options);
  24828. t10 = t10 == null ? _null : J.map$1$1$ax(t10, A.compile___parseImporter$closure(), type$.Importer);
  24829. }
  24830. t11 = t1 ? _null : A.NullableExtension_andThen0(J.get$importer$x(options), A.compile___parseImporter$closure());
  24831. if (t11 == null)
  24832. t11 = (t1 ? _null : J.get$url$x(options)) == null ? new A.NoOpImporter0() : _null;
  24833. t12 = A._parseFunctions0(t1 ? _null : J.get$functions$x(options), false);
  24834. t13 = t1 ? _null : J.get$fatalDeprecations$x(options);
  24835. t13 = A.parseDeprecations(logger, t13, true);
  24836. t14 = t1 ? _null : J.get$silenceDeprecations$x(options);
  24837. t14 = A.parseDeprecations(logger, t14, false);
  24838. t15 = t1 ? _null : J.get$futureDeprecations$x(options);
  24839. result = A.compileString(text, t8, t13, new A.CastList(t12, A._arrayInstanceType(t12)._eval$1("CastList<1,Callable>")), A.parseDeprecations(logger, t15, false), A.ImportCache$0(t10, t4, _null), t11, _null, _null, logger, _null, t5, t14, t9, t6, t2, t3, true, t7);
  24840. t1 = t1 ? _null : J.get$sourceMapIncludeSources$x(options);
  24841. if (t1 == null)
  24842. t1 = false;
  24843. t1 = A._convertResult(result, t1);
  24844. return t1;
  24845. } catch (exception) {
  24846. t1 = A.unwrapException(exception);
  24847. if (t1 instanceof A.SassException0) {
  24848. error = t1;
  24849. stackTrace = A.getTraceFromException(exception);
  24850. A.throwNodeException(error, ascii, color, stackTrace);
  24851. } else
  24852. throw exception;
  24853. }
  24854. },
  24855. compileAsync1(path, options) {
  24856. var t1, color, ascii;
  24857. if (!A.isNodeJs())
  24858. A.jsThrow(new self.Error("The compileAsync() method is only available in Node.js."));
  24859. t1 = options == null;
  24860. color = t1 ? null : J.get$alertColor$x(options);
  24861. if (color == null)
  24862. color = A.hasTerminal0();
  24863. ascii = t1 ? null : J.get$alertAscii$x(options);
  24864. if (ascii == null)
  24865. ascii = $._glyphs === B.C_AsciiGlyphSet;
  24866. t1 = t1 ? null : J.get$logger$x(options);
  24867. return A._wrapAsyncSassExceptions(A.futureToPromise0(new A.compileAsync_closure(path, color, options, new A.JSToDartLogger(t1, new A.StderrLogger0(color), ascii)).call$0()), ascii, color);
  24868. },
  24869. compileStringAsync1(text, options) {
  24870. var ascii,
  24871. t1 = options == null,
  24872. color = t1 ? null : J.get$alertColor$x(options);
  24873. if (color == null)
  24874. color = A.hasTerminal0();
  24875. ascii = t1 ? null : J.get$alertAscii$x(options);
  24876. if (ascii == null)
  24877. ascii = $._glyphs === B.C_AsciiGlyphSet;
  24878. t1 = t1 ? null : J.get$logger$x(options);
  24879. return A._wrapAsyncSassExceptions(A.futureToPromise0(new A.compileStringAsync_closure(text, options, color, new A.JSToDartLogger(t1, new A.StderrLogger0(color), ascii)).call$0()), ascii, color);
  24880. },
  24881. _convertResult(result, includeSourceContents) {
  24882. var loadedUrls,
  24883. t1 = result._compile_result$_serialize,
  24884. t2 = t1._1,
  24885. sourceMap = t2 == null ? null : t2.toJson$1$includeSourceContents(includeSourceContents);
  24886. if (type$.Map_dynamic_dynamic._is(sourceMap) && !sourceMap.containsKey$1("sources"))
  24887. sourceMap.$indexSet(0, "sources", A._setArrayType([], type$.JSArray_String));
  24888. loadedUrls = A.toJSArray(result._evaluate._0.map$1$1(0, A.utils3__dartToJSUrl$closure(), type$.nullable_Object));
  24889. t1 = t1._0;
  24890. return sourceMap == null ? {css: t1, loadedUrls: loadedUrls} : {css: t1, sourceMap: A.jsify0(sourceMap), loadedUrls: loadedUrls};
  24891. },
  24892. _wrapAsyncSassExceptions(promise, ascii, color) {
  24893. return J.then$2$x(promise, null, A.allowInterop(new A._wrapAsyncSassExceptions_closure(color, ascii)));
  24894. },
  24895. _parseOutputStyle0(style) {
  24896. var t1;
  24897. $label0$0: {
  24898. if (style == null || "expanded" === style) {
  24899. t1 = B.OutputStyle_00;
  24900. break $label0$0;
  24901. }
  24902. if ("compressed" === style) {
  24903. t1 = B.OutputStyle_10;
  24904. break $label0$0;
  24905. }
  24906. t1 = A.jsThrow(new self.Error('Unknown output style "' + style + '".'));
  24907. }
  24908. return t1;
  24909. },
  24910. _parseAsyncImporter(importer) {
  24911. var t1, canonicalize, load, _0_0;
  24912. if (importer instanceof A.NodePackageImporter0)
  24913. return importer;
  24914. if (importer == null)
  24915. A.jsThrow(new self.Error("Importers may not be null."));
  24916. type$.JSImporter._as(importer);
  24917. t1 = J.getInterceptor$x(importer);
  24918. canonicalize = t1.get$canonicalize(importer);
  24919. load = t1.get$load(importer);
  24920. _0_0 = t1.get$findFileUrl(importer);
  24921. if (_0_0 != null)
  24922. if (canonicalize != null || load != null)
  24923. A.jsThrow(new self.Error(string$.An_impa));
  24924. else
  24925. return new A.JSToDartAsyncFileImporter(_0_0);
  24926. else if (canonicalize == null || load == null)
  24927. A.jsThrow(new self.Error(string$.An_impu));
  24928. else {
  24929. t1 = A._normalizeNonCanonicalSchemes(t1.get$nonCanonicalScheme(importer));
  24930. t1 = t1 == null ? B.Set_empty7 : A.Set_Set$unmodifiable(t1, type$.String);
  24931. t1.forEach$1(0, A.utils4__validateUrlScheme$closure());
  24932. return new A.JSToDartAsyncImporter(canonicalize, load, t1);
  24933. }
  24934. },
  24935. _parseImporter0(importer) {
  24936. var t1, canonicalize, load, _0_0;
  24937. if (importer instanceof A.NodePackageImporter0)
  24938. return importer;
  24939. if (importer == null)
  24940. A.jsThrow(new self.Error("Importers may not be null."));
  24941. type$.JSImporter._as(importer);
  24942. t1 = J.getInterceptor$x(importer);
  24943. canonicalize = t1.get$canonicalize(importer);
  24944. load = t1.get$load(importer);
  24945. _0_0 = t1.get$findFileUrl(importer);
  24946. if (_0_0 != null)
  24947. if (canonicalize != null || load != null)
  24948. A.jsThrow(new self.Error(string$.An_impa));
  24949. else
  24950. return new A.JSToDartFileImporter(_0_0);
  24951. else if (canonicalize == null || load == null)
  24952. A.jsThrow(new self.Error(string$.An_impu));
  24953. else {
  24954. t1 = A._normalizeNonCanonicalSchemes(t1.get$nonCanonicalScheme(importer));
  24955. t1 = t1 == null ? B.Set_empty7 : A.Set_Set$unmodifiable(t1, type$.String);
  24956. t1.forEach$1(0, A.utils4__validateUrlScheme$closure());
  24957. return new A.JSToDartImporter(canonicalize, load, t1);
  24958. }
  24959. },
  24960. _normalizeNonCanonicalSchemes(schemes) {
  24961. var t1;
  24962. $label0$0: {
  24963. if (typeof schemes == "string") {
  24964. t1 = A._setArrayType([schemes], type$.JSArray_String);
  24965. break $label0$0;
  24966. }
  24967. if (type$.List_dynamic._is(schemes)) {
  24968. t1 = J.cast$1$0$ax(schemes, type$.String);
  24969. break $label0$0;
  24970. }
  24971. if (schemes == null) {
  24972. t1 = null;
  24973. break $label0$0;
  24974. }
  24975. t1 = A.jsThrow(new self.Error('nonCanonicalScheme must be a string or list of strings, was "' + A.S(schemes) + '"'));
  24976. }
  24977. return t1;
  24978. },
  24979. _simplifyValue(value) {
  24980. var _0_1, t1, t2, _0_4, _0_3, _0_5_isSet, _0_5, _0_40, _0_8, first, _0_10, _0_4_isSet, min, _null = null;
  24981. $label1$1: {
  24982. if (value instanceof A.SassCalculation0) {
  24983. _0_1 = value.name;
  24984. t1 = value.$arguments;
  24985. t2 = A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,Object>");
  24986. _0_4 = A.List_List$_of(new A.MappedListIterable(t1, A.compile___simplifyCalcArg$closure(), t2), t2._eval$1("ListIterable.E"));
  24987. $label0$0: {
  24988. _0_3 = "calc" === _0_1;
  24989. _0_5_isSet = _0_3;
  24990. if (_0_5_isSet) {
  24991. _0_5 = _0_4.length;
  24992. t1 = _0_5;
  24993. _0_40 = _0_4;
  24994. t1 = t1 === 1;
  24995. } else {
  24996. _0_40 = _null;
  24997. _0_5 = _0_40;
  24998. t1 = false;
  24999. }
  25000. if (t1) {
  25001. _0_8 = (_0_5_isSet ? _0_40 : _0_4)[0];
  25002. first = _0_8;
  25003. type$.Value_2._as(first);
  25004. t1 = first;
  25005. break $label0$0;
  25006. }
  25007. if (_0_3)
  25008. A.throwExpression(A.ArgumentError$("calc() requires exactly one argument.", _null));
  25009. _0_10 = "clamp" === _0_1;
  25010. t1 = _0_10;
  25011. if (t1) {
  25012. if (_0_5_isSet) {
  25013. t1 = _0_5;
  25014. _0_4_isSet = _0_5_isSet;
  25015. } else {
  25016. _0_5 = _0_4.length;
  25017. t1 = _0_5;
  25018. _0_40 = _0_4;
  25019. _0_4_isSet = true;
  25020. }
  25021. t1 = t1 === 3;
  25022. } else {
  25023. _0_4_isSet = _0_5_isSet;
  25024. t1 = false;
  25025. }
  25026. if (t1) {
  25027. if (_0_4_isSet)
  25028. t1 = _0_40;
  25029. else {
  25030. t1 = _0_4;
  25031. _0_40 = t1;
  25032. _0_4_isSet = true;
  25033. }
  25034. _0_8 = t1[0];
  25035. min = _0_8;
  25036. if (_0_4_isSet)
  25037. t1 = _0_40;
  25038. else {
  25039. t1 = _0_4;
  25040. _0_40 = t1;
  25041. _0_4_isSet = true;
  25042. }
  25043. value = t1[1];
  25044. t1 = A.SassCalculation_clamp0(min, value, (_0_4_isSet ? _0_40 : _0_4)[2]);
  25045. break $label0$0;
  25046. }
  25047. if (_0_10)
  25048. A.throwExpression(A.ArgumentError$("clamp() requires exactly 3 arguments.", _null));
  25049. if ("min" === _0_1) {
  25050. t1 = A.SassCalculation_min0(_0_4_isSet ? _0_40 : _0_4);
  25051. break $label0$0;
  25052. }
  25053. if ("max" === _0_1) {
  25054. t1 = A.SassCalculation_max0(_0_4_isSet ? _0_40 : _0_4);
  25055. break $label0$0;
  25056. }
  25057. t1 = A.throwExpression(A.ArgumentError$('"' + _0_1 + '" is not a recognized calculation type.', _null));
  25058. }
  25059. break $label1$1;
  25060. }
  25061. t1 = value;
  25062. break $label1$1;
  25063. }
  25064. return t1;
  25065. },
  25066. _simplifyCalcArg(value) {
  25067. var t1;
  25068. $label0$0: {
  25069. if (value instanceof A.SassCalculation0) {
  25070. t1 = A._simplifyValue(value);
  25071. break $label0$0;
  25072. }
  25073. if (value instanceof A.CalculationOperation0) {
  25074. t1 = A.SassCalculation_operateInternal0(value._calculation0$_operator, A._simplifyCalcArg(value._calculation0$_left), A._simplifyCalcArg(value._calculation0$_right), null, true, null);
  25075. break $label0$0;
  25076. }
  25077. t1 = value;
  25078. break $label0$0;
  25079. }
  25080. return t1;
  25081. },
  25082. _parseFunctions0(functions, asynch) {
  25083. var result;
  25084. if (functions == null)
  25085. return B.List_empty28;
  25086. result = A._setArrayType([], type$.JSArray_AsyncCallable_2);
  25087. A.jsForEach(functions, new A._parseFunctions_closure0(asynch, result));
  25088. return result;
  25089. },
  25090. compileAsync_closure: function compileAsync_closure(t0, t1, t2, t3) {
  25091. var _ = this;
  25092. _.path = t0;
  25093. _.color = t1;
  25094. _.options = t2;
  25095. _.logger = t3;
  25096. },
  25097. compileAsync__closure: function compileAsync__closure() {
  25098. },
  25099. compileStringAsync_closure: function compileStringAsync_closure(t0, t1, t2, t3) {
  25100. var _ = this;
  25101. _.text = t0;
  25102. _.options = t1;
  25103. _.color = t2;
  25104. _.logger = t3;
  25105. },
  25106. compileStringAsync__closure: function compileStringAsync__closure() {
  25107. },
  25108. compileStringAsync__closure0: function compileStringAsync__closure0() {
  25109. },
  25110. _wrapAsyncSassExceptions_closure: function _wrapAsyncSassExceptions_closure(t0, t1) {
  25111. this.color = t0;
  25112. this.ascii = t1;
  25113. },
  25114. _parseFunctions_closure0: function _parseFunctions_closure0(t0, t1) {
  25115. this.asynch = t0;
  25116. this.result = t1;
  25117. },
  25118. _parseFunctions__closure2: function _parseFunctions__closure2(t0, t1) {
  25119. this.callback = t0;
  25120. this.callable = t1;
  25121. },
  25122. _parseFunctions___closure6: function _parseFunctions___closure6(t0, t1) {
  25123. this.callback = t0;
  25124. this.$arguments = t1;
  25125. },
  25126. _parseFunctions__closure3: function _parseFunctions__closure3(t0, t1) {
  25127. this.callback = t0;
  25128. this.callable = t1;
  25129. },
  25130. _parseFunctions___closure5: function _parseFunctions___closure5(t0, t1) {
  25131. this.callback = t0;
  25132. this.$arguments = t1;
  25133. },
  25134. nodePackageImporterClass_closure: function nodePackageImporterClass_closure() {
  25135. },
  25136. nodePackageImporterClass__closure: function nodePackageImporterClass__closure() {
  25137. },
  25138. compile(path, charset, fatalDeprecations, functions, futureDeprecations, importCache, indentWidth, lineFeed, logger, nodeImporter, quietDeps, silenceDeprecations, sourceMap, style, syntax, useSpaces, verbose) {
  25139. var t3, t4, t0, stylesheet, result, _null = null,
  25140. t1 = type$.Deprecation_3,
  25141. t2 = A.LinkedHashSet_LinkedHashSet$_empty(t1);
  25142. if (silenceDeprecations != null)
  25143. t2.addAll$1(0, silenceDeprecations);
  25144. t3 = A.LinkedHashSet_LinkedHashSet$_empty(t1);
  25145. if (fatalDeprecations != null)
  25146. t3.addAll$1(0, fatalDeprecations);
  25147. t4 = A.LinkedHashSet_LinkedHashSet$_empty(t1);
  25148. if (futureDeprecations != null)
  25149. t4.addAll$1(0, futureDeprecations);
  25150. logger = new A.DeprecationProcessingLogger0(A.LinkedHashMap_LinkedHashMap$_empty(t1, type$.int), logger, t2, t3, t4, !verbose);
  25151. logger.validate$0();
  25152. t1 = nodeImporter == null;
  25153. if (t1)
  25154. t2 = syntax == null || syntax === A.Syntax_forPath0(path);
  25155. else
  25156. t2 = false;
  25157. if (t2) {
  25158. if (importCache == null)
  25159. importCache = A.ImportCache$none();
  25160. t2 = $.$get$FilesystemImporter_cwd0();
  25161. t3 = A.isNodeJs() ? self.process : _null;
  25162. if (!J.$eq$(t3 == null ? _null : J.get$platform$x(t3), "win32")) {
  25163. t3 = A.isNodeJs() ? self.process : _null;
  25164. t3 = J.$eq$(t3 == null ? _null : J.get$platform$x(t3), "darwin");
  25165. } else
  25166. t3 = true;
  25167. if (t3) {
  25168. t3 = A.absolute(path, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null);
  25169. t4 = $.$get$context();
  25170. t3 = A._realCasePath0(t4.normalize$1(t3));
  25171. } else {
  25172. t3 = $.$get$context();
  25173. t4 = t3.canonicalize$1(0, path);
  25174. t0 = t4;
  25175. t4 = t3;
  25176. t3 = t0;
  25177. }
  25178. t4 = importCache.importCanonical$3$originalUrl(t2, t4.toUri$1(t3), t4.toUri$1(path));
  25179. t4.toString;
  25180. stylesheet = t4;
  25181. } else {
  25182. t2 = A.readFile0(path);
  25183. t3 = syntax == null ? A.Syntax_forPath0(path) : syntax;
  25184. stylesheet = A.Stylesheet_Stylesheet$parse0(t2, t3, $.$get$context().toUri$1(path));
  25185. }
  25186. result = A._compileStylesheet1(stylesheet, logger, importCache, nodeImporter, $.$get$FilesystemImporter_cwd0(), functions, style, useSpaces, indentWidth, lineFeed, quietDeps, sourceMap, charset);
  25187. logger.summarize$1$js(!t1);
  25188. return result;
  25189. },
  25190. compileString(source, charset, fatalDeprecations, functions, futureDeprecations, importCache, importer, indentWidth, lineFeed, logger, nodeImporter, quietDeps, silenceDeprecations, sourceMap, style, syntax, url, useSpaces, verbose) {
  25191. var t3, t4, stylesheet, _0_0, result,
  25192. t1 = type$.Deprecation_3,
  25193. t2 = A.LinkedHashSet_LinkedHashSet$_empty(t1);
  25194. if (silenceDeprecations != null)
  25195. t2.addAll$1(0, silenceDeprecations);
  25196. t3 = A.LinkedHashSet_LinkedHashSet$_empty(t1);
  25197. if (fatalDeprecations != null)
  25198. t3.addAll$1(0, fatalDeprecations);
  25199. t4 = A.LinkedHashSet_LinkedHashSet$_empty(t1);
  25200. if (futureDeprecations != null)
  25201. t4.addAll$1(0, futureDeprecations);
  25202. logger = new A.DeprecationProcessingLogger0(A.LinkedHashMap_LinkedHashMap$_empty(t1, type$.int), logger, t2, t3, t4, !verbose);
  25203. logger.validate$0();
  25204. stylesheet = A.Stylesheet_Stylesheet$parse0(source, syntax == null ? B.Syntax_SCSS_scss0 : syntax, url);
  25205. _0_0 = stylesheet.span.file.url;
  25206. if (type$.Uri._is(_0_0) && "" === _0_0.get$scheme() && nodeImporter == null)
  25207. A.WarnForDeprecation_warnForDeprecation0(logger, B.Deprecation_pIR, "Passing a relative `url` argument (" + _0_0.toString$0(0) + string$.x29x20to_cm, null, null);
  25208. if (importer == null)
  25209. t1 = A.isBrowser() ? new A.NoOpImporter0() : $.$get$FilesystemImporter_cwd0();
  25210. else
  25211. t1 = importer;
  25212. result = A._compileStylesheet1(stylesheet, logger, importCache, nodeImporter, t1, functions, style, useSpaces, indentWidth, lineFeed, quietDeps, sourceMap, charset);
  25213. logger.summarize$1$js(nodeImporter != null);
  25214. return result;
  25215. },
  25216. _compileStylesheet1(stylesheet, logger, importCache, nodeImporter, importer, functions, style, useSpaces, indentWidth, lineFeed, quietDeps, sourceMap, charset) {
  25217. var evaluateResult, serializeResult, resultSourceMap;
  25218. if (nodeImporter != null)
  25219. A.WarnForDeprecation_warnForDeprecation0(logger, B.Deprecation_F8y, string$.The_le, null, null);
  25220. evaluateResult = A._EvaluateVisitor$1(functions, importCache, logger, nodeImporter, quietDeps, sourceMap).run$2(0, importer, stylesheet);
  25221. serializeResult = A.serialize0(evaluateResult._1, charset, indentWidth, false, lineFeed, logger, sourceMap, style, useSpaces);
  25222. resultSourceMap = serializeResult._1;
  25223. if (resultSourceMap != null && importCache != null)
  25224. A.mapInPlace0(resultSourceMap.urls, new A._compileStylesheet_closure1(stylesheet, importCache));
  25225. return new A.CompileResult0(evaluateResult, serializeResult);
  25226. },
  25227. _compileStylesheet_closure1: function _compileStylesheet_closure1(t0, t1) {
  25228. this.stylesheet = t0;
  25229. this.importCache = t1;
  25230. },
  25231. CompileOptions: function CompileOptions() {
  25232. },
  25233. CompileStringOptions: function CompileStringOptions() {
  25234. },
  25235. NodeCompileResult: function NodeCompileResult() {
  25236. },
  25237. CompileResult0: function CompileResult0(t0, t1) {
  25238. this._evaluate = t0;
  25239. this._compile_result$_serialize = t1;
  25240. },
  25241. initCompiler() {
  25242. return new A.Compiler();
  25243. },
  25244. initAsyncCompiler() {
  25245. return A.futureToPromise0(new A.initAsyncCompiler_closure().call$0());
  25246. },
  25247. Compiler: function Compiler() {
  25248. this._disposed = false;
  25249. },
  25250. AsyncCompiler: function AsyncCompiler(t0) {
  25251. this.compilations = t0;
  25252. this._disposed = false;
  25253. },
  25254. AsyncCompiler_addCompilation_closure: function AsyncCompiler_addCompilation_closure() {
  25255. },
  25256. compilerClass_closure: function compilerClass_closure() {
  25257. },
  25258. compilerClass__closure: function compilerClass__closure() {
  25259. },
  25260. compilerClass__closure0: function compilerClass__closure0() {
  25261. },
  25262. compilerClass__closure1: function compilerClass__closure1() {
  25263. },
  25264. compilerClass__closure2: function compilerClass__closure2() {
  25265. },
  25266. asyncCompilerClass_closure: function asyncCompilerClass_closure() {
  25267. },
  25268. asyncCompilerClass__closure: function asyncCompilerClass__closure() {
  25269. },
  25270. asyncCompilerClass__closure0: function asyncCompilerClass__closure0() {
  25271. },
  25272. asyncCompilerClass__closure1: function asyncCompilerClass__closure1() {
  25273. },
  25274. asyncCompilerClass__closure2: function asyncCompilerClass__closure2() {
  25275. },
  25276. asyncCompilerClass___closure: function asyncCompilerClass___closure(t0) {
  25277. this.self = t0;
  25278. },
  25279. initAsyncCompiler_closure: function initAsyncCompiler_closure() {
  25280. },
  25281. ComplexSassNumber0: function ComplexSassNumber0(t0, t1, t2, t3) {
  25282. var _ = this;
  25283. _._complex0$_numeratorUnits = t0;
  25284. _._complex0$_denominatorUnits = t1;
  25285. _._number1$_value = t2;
  25286. _.hashCache = null;
  25287. _.asSlash = t3;
  25288. },
  25289. ComplexSelector$0(leadingCombinators, components, span, lineBreak) {
  25290. var t1 = A.List_List$unmodifiable(leadingCombinators, type$.CssValue_Combinator_2),
  25291. t2 = A.List_List$unmodifiable(components, type$.ComplexSelectorComponent_2);
  25292. if (t1.length === 0 && t2.length === 0)
  25293. A.throwExpression(A.ArgumentError$(string$.leadin, null));
  25294. return new A.ComplexSelector0(t1, t2, lineBreak, span);
  25295. },
  25296. ComplexSelector0: function ComplexSelector0(t0, t1, t2, t3) {
  25297. var _ = this;
  25298. _.leadingCombinators = t0;
  25299. _.components = t1;
  25300. _.lineBreak = t2;
  25301. _._complex$__ComplexSelector_specificity_FI = $;
  25302. _.span = t3;
  25303. },
  25304. ComplexSelector_specificity_closure0: function ComplexSelector_specificity_closure0() {
  25305. },
  25306. ComplexSelectorComponent0: function ComplexSelectorComponent0(t0, t1, t2) {
  25307. this.selector = t0;
  25308. this.combinators = t1;
  25309. this.span = t2;
  25310. },
  25311. ComplexSelectorComponent_toString_closure0: function ComplexSelectorComponent_toString_closure0() {
  25312. },
  25313. CompoundSelector$0(components, span) {
  25314. var t1 = A.List_List$unmodifiable(components, type$.SimpleSelector_2);
  25315. if (t1.length === 0)
  25316. A.throwExpression(A.ArgumentError$("components may not be empty.", null));
  25317. return new A.CompoundSelector0(t1, span);
  25318. },
  25319. CompoundSelector0: function CompoundSelector0(t0, t1) {
  25320. var _ = this;
  25321. _.components = t0;
  25322. _._compound$__CompoundSelector_hasComplicatedSuperselectorSemantics_FI = _._compound$__CompoundSelector_specificity_FI = $;
  25323. _.span = t1;
  25324. },
  25325. CompoundSelector_specificity_closure0: function CompoundSelector_specificity_closure0() {
  25326. },
  25327. CompoundSelector_hasComplicatedSuperselectorSemantics_closure0: function CompoundSelector_hasComplicatedSuperselectorSemantics_closure0() {
  25328. },
  25329. Configuration0: function Configuration0(t0, t1) {
  25330. this._configuration0$_values = t0;
  25331. this._configuration0$__originalConfiguration = t1;
  25332. },
  25333. ExplicitConfiguration0: function ExplicitConfiguration0(t0, t1, t2) {
  25334. this.nodeWithSpan = t0;
  25335. this._configuration0$_values = t1;
  25336. this._configuration0$__originalConfiguration = t2;
  25337. },
  25338. ConfiguredValue0: function ConfiguredValue0(t0, t1, t2) {
  25339. this.value = t0;
  25340. this.configurationSpan = t1;
  25341. this.assignmentNode = t2;
  25342. },
  25343. ConfiguredVariable0: function ConfiguredVariable0(t0, t1, t2, t3) {
  25344. var _ = this;
  25345. _.name = t0;
  25346. _.expression = t1;
  25347. _.isGuarded = t2;
  25348. _.span = t3;
  25349. },
  25350. ContentBlock$0(parameters, children, span) {
  25351. var _s8_ = "@content",
  25352. t1 = A.stringReplaceAllUnchecked(_s8_, "_", "-"),
  25353. t2 = A.List_List$unmodifiable(children, type$.Statement_2),
  25354. t3 = B.JSArray_methods.any$1(t2, new A.ParentStatement_closure0());
  25355. return new A.ContentBlock0(t1, _s8_, parameters, span, t2, t3);
  25356. },
  25357. ContentBlock0: function ContentBlock0(t0, t1, t2, t3, t4, t5) {
  25358. var _ = this;
  25359. _.name = t0;
  25360. _.originalName = t1;
  25361. _.parameters = t2;
  25362. _.span = t3;
  25363. _.children = t4;
  25364. _.hasDeclarations = t5;
  25365. },
  25366. ContentRule0: function ContentRule0(t0, t1) {
  25367. this.$arguments = t0;
  25368. this.span = t1;
  25369. },
  25370. _disallowedFunctionNames_closure0: function _disallowedFunctionNames_closure0() {
  25371. },
  25372. CssParser0: function CssParser0(t0, t1, t2, t3) {
  25373. var _ = this;
  25374. _._stylesheet0$_isUseAllowed = true;
  25375. _._stylesheet0$_inExpression = _._stylesheet0$_inParentheses = _._stylesheet0$_inStyleRule = _._stylesheet0$_inUnknownAtRule = _._stylesheet0$_inControlDirective = _._stylesheet0$_inContentBlock = _._stylesheet0$_inMixin = false;
  25376. _._stylesheet0$_globalVariables = t0;
  25377. _.warnings = t1;
  25378. _.lastSilentComment = null;
  25379. _.scanner = t2;
  25380. _._parser1$_interpolationMap = t3;
  25381. },
  25382. DebugRule0: function DebugRule0(t0, t1) {
  25383. this.expression = t0;
  25384. this.span = t1;
  25385. },
  25386. ModifiableCssDeclaration$0($name, value, span, interleavedRules, parsedAsCustomProperty, trace, valueSpanForMap) {
  25387. var t3,
  25388. t1 = interleavedRules == null ? B.List_empty25 : A.List_List$unmodifiable(interleavedRules, type$.CssStyleRule_2),
  25389. t2 = valueSpanForMap == null ? value.span : valueSpanForMap;
  25390. if (parsedAsCustomProperty)
  25391. if (!J.startsWith$1$s($name.value, "--"))
  25392. A.throwExpression(A.ArgumentError$(string$.parsed, null));
  25393. else {
  25394. t3 = value.value;
  25395. if (!(t3 instanceof A.SassString0))
  25396. A.throwExpression(A.ArgumentError$(string$.If_par + value.toString$0(0) + "` of type " + A.getRuntimeTypeOfDartObject(t3).toString$0(0) + ").", null));
  25397. }
  25398. return new A.ModifiableCssDeclaration0($name, value, parsedAsCustomProperty, t1, trace, t2, span);
  25399. },
  25400. ModifiableCssDeclaration0: function ModifiableCssDeclaration0(t0, t1, t2, t3, t4, t5, t6) {
  25401. var _ = this;
  25402. _.name = t0;
  25403. _.value = t1;
  25404. _.parsedAsCustomProperty = t2;
  25405. _.interleavedRules = t3;
  25406. _.trace = t4;
  25407. _.valueSpanForMap = t5;
  25408. _.span = t6;
  25409. _._node$_indexInParent = _._node$_parent = null;
  25410. _.isGroupEnd = false;
  25411. },
  25412. Declaration$0($name, value, span) {
  25413. return new A.Declaration0($name, value, span, null, false);
  25414. },
  25415. Declaration$nested0($name, children, span, value) {
  25416. var t1 = A.List_List$unmodifiable(children, type$.Statement_2),
  25417. t2 = B.JSArray_methods.any$1(t1, new A.ParentStatement_closure0());
  25418. return new A.Declaration0($name, value, span, t1, t2);
  25419. },
  25420. Declaration0: function Declaration0(t0, t1, t2, t3, t4) {
  25421. var _ = this;
  25422. _.name = t0;
  25423. _.value = t1;
  25424. _.span = t2;
  25425. _.children = t3;
  25426. _.hasDeclarations = t4;
  25427. },
  25428. SupportsDeclaration0: function SupportsDeclaration0(t0, t1, t2) {
  25429. this.name = t0;
  25430. this.value = t1;
  25431. this.span = t2;
  25432. },
  25433. Deprecation_fromId0(id) {
  25434. return A.IterableExtension_firstWhereOrNull(B.List_FlM, new A.Deprecation_fromId_closure0(id));
  25435. },
  25436. Deprecation_forVersion0(version) {
  25437. var t2, _i, deprecation, $self, t3,
  25438. t1 = A.LinkedHashSet_LinkedHashSet$_empty(type$.Deprecation_3);
  25439. for (t2 = A.VersionRange_VersionRange(true, version).get$allows(), _i = 0; _i < 26; ++_i) {
  25440. deprecation = B.List_FlM[_i];
  25441. $self = deprecation._deprecation$_deprecatedIn;
  25442. t3 = $self == null ? null : A.Version___parse_tearOff($self);
  25443. t3 = t3 == null ? null : t2.call$1(t3);
  25444. if (t3 == null ? false : t3)
  25445. t1.add$1(0, deprecation);
  25446. }
  25447. return t1;
  25448. },
  25449. Deprecation0: function Deprecation0(t0, t1, t2, t3) {
  25450. var _ = this;
  25451. _.id = t0;
  25452. _._deprecation$_deprecatedIn = t1;
  25453. _.description = t2;
  25454. _._name = t3;
  25455. },
  25456. Deprecation_fromId_closure0: function Deprecation_fromId_closure0(t0) {
  25457. this.id = t0;
  25458. },
  25459. DeprecationProcessingLogger0: function DeprecationProcessingLogger0(t0, t1, t2, t3, t4, t5) {
  25460. var _ = this;
  25461. _._deprecation_processing$_warningCounts = t0;
  25462. _._deprecation_processing$_inner = t1;
  25463. _.silenceDeprecations = t2;
  25464. _.fatalDeprecations = t3;
  25465. _.futureDeprecations = t4;
  25466. _.limitRepetition = t5;
  25467. },
  25468. DeprecationProcessingLogger_summarize_closure1: function DeprecationProcessingLogger_summarize_closure1() {
  25469. },
  25470. DeprecationProcessingLogger_summarize_closure2: function DeprecationProcessingLogger_summarize_closure2() {
  25471. },
  25472. parseDeprecations(logger, deprecations, supportVersions) {
  25473. if (deprecations == null)
  25474. return null;
  25475. return new A.parseDeprecations_closure(deprecations, logger, supportVersions).call$0();
  25476. },
  25477. Deprecation1: function Deprecation1() {
  25478. },
  25479. deprecations_closure: function deprecations_closure(t0) {
  25480. this.deprecation = t0;
  25481. },
  25482. parseDeprecations_closure: function parseDeprecations_closure(t0, t1, t2) {
  25483. this.deprecations = t0;
  25484. this.logger = t1;
  25485. this.supportVersions = t2;
  25486. },
  25487. versionClass_closure: function versionClass_closure() {
  25488. },
  25489. versionClass__closure: function versionClass__closure() {
  25490. },
  25491. versionClass__closure0: function versionClass__closure0() {
  25492. },
  25493. DisplayP3ColorSpace0: function DisplayP3ColorSpace0(t0, t1) {
  25494. this.name = t0;
  25495. this._space$_channels = t1;
  25496. },
  25497. DynamicImport0: function DynamicImport0(t0, t1) {
  25498. this.urlString = t0;
  25499. this.span = t1;
  25500. },
  25501. EachRule$0(variables, list, children, span) {
  25502. var t1 = A.List_List$unmodifiable(variables, type$.String),
  25503. t2 = A.List_List$unmodifiable(children, type$.Statement_2),
  25504. t3 = B.JSArray_methods.any$1(t2, new A.ParentStatement_closure0());
  25505. return new A.EachRule0(t1, list, span, t2, t3);
  25506. },
  25507. EachRule0: function EachRule0(t0, t1, t2, t3, t4) {
  25508. var _ = this;
  25509. _.variables = t0;
  25510. _.list = t1;
  25511. _.span = t2;
  25512. _.children = t3;
  25513. _.hasDeclarations = t4;
  25514. },
  25515. EachRule_toString_closure0: function EachRule_toString_closure0() {
  25516. },
  25517. EmptyExtensionStore0: function EmptyExtensionStore0() {
  25518. },
  25519. Environment$0() {
  25520. var t1 = type$.String,
  25521. t2 = type$.Module_Callable_2,
  25522. t3 = type$.AstNode_2,
  25523. t4 = type$.int,
  25524. t5 = type$.Callable_2,
  25525. t6 = type$.JSArray_Map_String_Callable_2;
  25526. 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);
  25527. },
  25528. Environment$_0(_modules, _namespaceNodes, _globalModules, _importedModules, _forwardedModules, _nestedForwardedModules, _allModules, _variables, _variableNodes, _functions, _mixins, _content) {
  25529. var t1 = type$.String,
  25530. t2 = type$.int;
  25531. 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);
  25532. },
  25533. _EnvironmentModule__EnvironmentModule1(environment, css, preModuleComments, extensionStore, forwarded) {
  25534. var t1, t2, t3, t4, t5, t6, module, result, t7;
  25535. if (forwarded == null)
  25536. forwarded = B.Set_empty4;
  25537. t1 = type$.dynamic;
  25538. t1 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t1);
  25539. for (t2 = type$.Module_Callable_2, t3 = type$.List_CssComment_2, t4 = A.MapExtensions_get_pairs0(preModuleComments, t2, t3), t4 = t4.get$iterator(t4), t5 = type$.CssComment_2; t4.moveNext$0();) {
  25540. t6 = t4.get$current(t4);
  25541. module = t6._0;
  25542. result = A.List_List$from(t6._1, false, t5);
  25543. result.$flags = 3;
  25544. t1.$indexSet(0, module, result);
  25545. }
  25546. t1 = A.ConstantMap_ConstantMap$from(t1, t2, t3);
  25547. t2 = A._EnvironmentModule__makeModulesByVariable1(forwarded);
  25548. t3 = A._EnvironmentModule__memberMap1(B.JSArray_methods.get$first(environment._environment0$_variables), forwarded.map$1$1(0, new A._EnvironmentModule__EnvironmentModule_closure11(), type$.Map_String_Value_2), type$.Value_2);
  25549. t4 = A._EnvironmentModule__memberMap1(B.JSArray_methods.get$first(environment._environment0$_variableNodes), forwarded.map$1$1(0, new A._EnvironmentModule__EnvironmentModule_closure12(), type$.Map_String_AstNode_2), type$.AstNode_2);
  25550. t5 = type$.Map_String_Callable_2;
  25551. t6 = type$.Callable_2;
  25552. t7 = A._EnvironmentModule__memberMap1(B.JSArray_methods.get$first(environment._environment0$_functions), forwarded.map$1$1(0, new A._EnvironmentModule__EnvironmentModule_closure13(), t5), t6);
  25553. t6 = A._EnvironmentModule__memberMap1(B.JSArray_methods.get$first(environment._environment0$_mixins), forwarded.map$1$1(0, new A._EnvironmentModule__EnvironmentModule_closure14(), t5), t6);
  25554. t5 = J.get$isNotEmpty$asx(css.get$children(css)) || preModuleComments.get$isNotEmpty(preModuleComments) || B.JSArray_methods.any$1(environment._environment0$_allModules, new A._EnvironmentModule__EnvironmentModule_closure15());
  25555. return A._EnvironmentModule$_1(environment, css, t1, extensionStore, t2, t3, t4, t7, t6, t5, !extensionStore.get$isEmpty(extensionStore) || B.JSArray_methods.any$1(environment._environment0$_allModules, new A._EnvironmentModule__EnvironmentModule_closure16()));
  25556. },
  25557. _EnvironmentModule__makeModulesByVariable1(forwarded) {
  25558. var modulesByVariable, t1, t2, t3, t4, t5;
  25559. if (forwarded.get$isEmpty(forwarded))
  25560. return B.Map_empty11;
  25561. modulesByVariable = A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.Module_Callable_2);
  25562. for (t1 = forwarded.get$iterator(forwarded); t1.moveNext$0();) {
  25563. t2 = t1.get$current(t1);
  25564. if (t2 instanceof A._EnvironmentModule1) {
  25565. for (t3 = t2._environment0$_modulesByVariable, t3 = t3.get$values(t3), t3 = t3.get$iterator(t3); t3.moveNext$0();) {
  25566. t4 = t3.get$current(t3);
  25567. t5 = t4.get$variables();
  25568. A.setAll0(modulesByVariable, t5.get$keys(t5), t4);
  25569. }
  25570. A.setAll0(modulesByVariable, J.get$keys$z(B.JSArray_methods.get$first(t2._environment0$_environment._environment0$_variables)), t2);
  25571. } else {
  25572. t3 = t2.get$variables();
  25573. A.setAll0(modulesByVariable, t3.get$keys(t3), t2);
  25574. }
  25575. }
  25576. return modulesByVariable;
  25577. },
  25578. _EnvironmentModule__memberMap1(localMap, otherMaps, $V) {
  25579. var t1, t2, t3;
  25580. localMap = new A.PublicMemberMapView0(localMap, $V._eval$1("PublicMemberMapView0<0>"));
  25581. if (otherMaps.get$isEmpty(otherMaps))
  25582. return localMap;
  25583. t1 = A._setArrayType([], $V._eval$1("JSArray<Map<String,0>>"));
  25584. for (t2 = otherMaps.get$iterator(otherMaps); t2.moveNext$0();) {
  25585. t3 = t2.get$current(t2);
  25586. if (t3.get$isNotEmpty(t3))
  25587. t1.push(t3);
  25588. }
  25589. t1.push(localMap);
  25590. if (t1.length === 1)
  25591. return localMap;
  25592. return A.MergedMapView$0(t1, type$.String, $V);
  25593. },
  25594. _EnvironmentModule$_1(_environment, css, preModuleComments, extensionStore, _modulesByVariable, variables, variableNodes, functions, mixins, transitivelyContainsCss, transitivelyContainsExtensions) {
  25595. return new A._EnvironmentModule1(_environment._environment0$_allModules, variables, variableNodes, functions, mixins, extensionStore, css, preModuleComments, transitivelyContainsCss, transitivelyContainsExtensions, _environment, _modulesByVariable);
  25596. },
  25597. Environment0: function Environment0(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14) {
  25598. var _ = this;
  25599. _._environment0$_modules = t0;
  25600. _._environment0$_namespaceNodes = t1;
  25601. _._environment0$_globalModules = t2;
  25602. _._environment0$_importedModules = t3;
  25603. _._environment0$_forwardedModules = t4;
  25604. _._environment0$_nestedForwardedModules = t5;
  25605. _._environment0$_allModules = t6;
  25606. _._environment0$_variables = t7;
  25607. _._environment0$_variableNodes = t8;
  25608. _._environment0$_variableIndices = t9;
  25609. _._environment0$_functions = t10;
  25610. _._environment0$_functionIndices = t11;
  25611. _._environment0$_mixins = t12;
  25612. _._environment0$_mixinIndices = t13;
  25613. _._environment0$_content = t14;
  25614. _._environment0$_inMixin = false;
  25615. _._environment0$_inSemiGlobalScope = true;
  25616. _._environment0$_lastVariableIndex = _._environment0$_lastVariableName = null;
  25617. },
  25618. Environment__getVariableFromGlobalModule_closure0: function Environment__getVariableFromGlobalModule_closure0(t0) {
  25619. this.name = t0;
  25620. },
  25621. Environment_setVariable_closure2: function Environment_setVariable_closure2(t0, t1) {
  25622. this.$this = t0;
  25623. this.name = t1;
  25624. },
  25625. Environment_setVariable_closure3: function Environment_setVariable_closure3(t0) {
  25626. this.name = t0;
  25627. },
  25628. Environment_setVariable_closure4: function Environment_setVariable_closure4(t0, t1) {
  25629. this.$this = t0;
  25630. this.name = t1;
  25631. },
  25632. Environment__getFunctionFromGlobalModule_closure0: function Environment__getFunctionFromGlobalModule_closure0(t0) {
  25633. this.name = t0;
  25634. },
  25635. Environment__getMixinFromGlobalModule_closure0: function Environment__getMixinFromGlobalModule_closure0(t0) {
  25636. this.name = t0;
  25637. },
  25638. Environment_toModule_closure0: function Environment_toModule_closure0() {
  25639. },
  25640. Environment_toDummyModule_closure0: function Environment_toDummyModule_closure0() {
  25641. },
  25642. _EnvironmentModule1: function _EnvironmentModule1(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11) {
  25643. var _ = this;
  25644. _.upstream = t0;
  25645. _.variables = t1;
  25646. _.variableNodes = t2;
  25647. _.functions = t3;
  25648. _.mixins = t4;
  25649. _.extensionStore = t5;
  25650. _.css = t6;
  25651. _.preModuleComments = t7;
  25652. _.transitivelyContainsCss = t8;
  25653. _.transitivelyContainsExtensions = t9;
  25654. _._environment0$_environment = t10;
  25655. _._environment0$_modulesByVariable = t11;
  25656. },
  25657. _EnvironmentModule__EnvironmentModule_closure11: function _EnvironmentModule__EnvironmentModule_closure11() {
  25658. },
  25659. _EnvironmentModule__EnvironmentModule_closure12: function _EnvironmentModule__EnvironmentModule_closure12() {
  25660. },
  25661. _EnvironmentModule__EnvironmentModule_closure13: function _EnvironmentModule__EnvironmentModule_closure13() {
  25662. },
  25663. _EnvironmentModule__EnvironmentModule_closure14: function _EnvironmentModule__EnvironmentModule_closure14() {
  25664. },
  25665. _EnvironmentModule__EnvironmentModule_closure15: function _EnvironmentModule__EnvironmentModule_closure15() {
  25666. },
  25667. _EnvironmentModule__EnvironmentModule_closure16: function _EnvironmentModule__EnvironmentModule_closure16() {
  25668. },
  25669. ErrorRule0: function ErrorRule0(t0, t1) {
  25670. this.expression = t0;
  25671. this.span = t1;
  25672. },
  25673. _EvaluateVisitor$1(functions, importCache, logger, nodeImporter, quietDeps, sourceMap) {
  25674. var t4,
  25675. t1 = type$.Uri,
  25676. t2 = type$.Module_Callable_2,
  25677. t3 = A._setArrayType([], type$.JSArray_Record_2_String_and_AstNode_2);
  25678. if (importCache == null)
  25679. t4 = nodeImporter == null ? A.ImportCache$none() : null;
  25680. else
  25681. t4 = importCache;
  25682. t1 = new A._EvaluateVisitor1(t4, nodeImporter, A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.Callable_2), A.LinkedHashMap_LinkedHashMap$_empty(t1, t2), A.LinkedHashMap_LinkedHashMap$_empty(t1, t2), A.LinkedHashMap_LinkedHashMap$_empty(t1, type$.Configuration_2), A.LinkedHashMap_LinkedHashMap$_empty(t1, type$.AstNode_2), logger, A.LinkedHashSet_LinkedHashSet$_empty(type$.Record_2_String_and_SourceSpan), quietDeps, sourceMap, new A.Object(), A.Environment$0(), A.LinkedHashSet_LinkedHashSet$_empty(t1), A.LinkedHashMap_LinkedHashMap$_empty(t1, type$.nullable_AstNode_2), t3, B.Configuration_Map_empty_null0);
  25683. t1._EvaluateVisitor$6$functions$importCache$logger$nodeImporter$quietDeps$sourceMap1(functions, importCache, logger, nodeImporter, quietDeps, sourceMap);
  25684. return t1;
  25685. },
  25686. _EvaluateVisitor1: function _EvaluateVisitor1(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15, t16) {
  25687. var _ = this;
  25688. _._evaluate0$_importCache = t0;
  25689. _._nodeImporter = t1;
  25690. _._evaluate0$_builtInFunctions = t2;
  25691. _._evaluate0$_builtInModules = t3;
  25692. _._evaluate0$_modules = t4;
  25693. _._evaluate0$_moduleConfigurations = t5;
  25694. _._evaluate0$_moduleNodes = t6;
  25695. _._evaluate0$_logger = t7;
  25696. _._evaluate0$_warningsEmitted = t8;
  25697. _._evaluate0$_quietDeps = t9;
  25698. _._evaluate0$_sourceMap = t10;
  25699. _._evaluate0$_compileContext = t11;
  25700. _._evaluate0$_environment = t12;
  25701. _._evaluate0$_declarationName = _._evaluate0$__parent = _._evaluate0$_mediaQuerySources = _._evaluate0$_mediaQueries = _._evaluate0$_styleRuleIgnoringAtRoot = null;
  25702. _._evaluate0$_member = "root stylesheet";
  25703. _._evaluate0$_importSpan = _._evaluate0$_callableNode = null;
  25704. _._evaluate0$_inSupportsDeclaration = _._evaluate0$_inKeyframes = _._evaluate0$_atRootExcludingStyleRule = _._evaluate0$_inUnknownAtRule = _._evaluate0$_inFunction = false;
  25705. _._evaluate0$_loadedUrls = t13;
  25706. _._evaluate0$_activeModules = t14;
  25707. _._evaluate0$_stack = t15;
  25708. _._evaluate0$_importer = null;
  25709. _._evaluate0$_inDependency = false;
  25710. _._evaluate0$__extensionStore = _._evaluate0$_preModuleComments = _._evaluate0$_outOfOrderImports = _._evaluate0$__endOfImports = _._evaluate0$__root = _._evaluate0$__stylesheet = null;
  25711. _._evaluate0$_configuration = t16;
  25712. },
  25713. _EvaluateVisitor_closure25: function _EvaluateVisitor_closure25(t0) {
  25714. this.$this = t0;
  25715. },
  25716. _EvaluateVisitor_closure26: function _EvaluateVisitor_closure26(t0) {
  25717. this.$this = t0;
  25718. },
  25719. _EvaluateVisitor_closure27: function _EvaluateVisitor_closure27(t0) {
  25720. this.$this = t0;
  25721. },
  25722. _EvaluateVisitor_closure28: function _EvaluateVisitor_closure28(t0) {
  25723. this.$this = t0;
  25724. },
  25725. _EvaluateVisitor_closure29: function _EvaluateVisitor_closure29(t0) {
  25726. this.$this = t0;
  25727. },
  25728. _EvaluateVisitor_closure30: function _EvaluateVisitor_closure30(t0) {
  25729. this.$this = t0;
  25730. },
  25731. _EvaluateVisitor_closure31: function _EvaluateVisitor_closure31(t0) {
  25732. this.$this = t0;
  25733. },
  25734. _EvaluateVisitor_closure32: function _EvaluateVisitor_closure32(t0) {
  25735. this.$this = t0;
  25736. },
  25737. _EvaluateVisitor_closure33: function _EvaluateVisitor_closure33(t0) {
  25738. this.$this = t0;
  25739. },
  25740. _EvaluateVisitor__closure10: function _EvaluateVisitor__closure10(t0, t1, t2) {
  25741. this.$this = t0;
  25742. this.name = t1;
  25743. this.module = t2;
  25744. },
  25745. _EvaluateVisitor_closure34: function _EvaluateVisitor_closure34(t0) {
  25746. this.$this = t0;
  25747. },
  25748. _EvaluateVisitor__closure9: function _EvaluateVisitor__closure9(t0, t1, t2) {
  25749. this.$this = t0;
  25750. this.name = t1;
  25751. this.module = t2;
  25752. },
  25753. _EvaluateVisitor_closure35: function _EvaluateVisitor_closure35(t0) {
  25754. this.$this = t0;
  25755. },
  25756. _EvaluateVisitor_closure36: function _EvaluateVisitor_closure36(t0) {
  25757. this.$this = t0;
  25758. },
  25759. _EvaluateVisitor__closure7: function _EvaluateVisitor__closure7(t0, t1, t2) {
  25760. this.values = t0;
  25761. this.span = t1;
  25762. this.callableNode = t2;
  25763. },
  25764. _EvaluateVisitor__closure8: function _EvaluateVisitor__closure8(t0) {
  25765. this.$this = t0;
  25766. },
  25767. _EvaluateVisitor_closure37: function _EvaluateVisitor_closure37(t0) {
  25768. this.$this = t0;
  25769. },
  25770. _EvaluateVisitor_run_closure1: function _EvaluateVisitor_run_closure1(t0, t1, t2) {
  25771. this.$this = t0;
  25772. this.node = t1;
  25773. this.importer = t2;
  25774. },
  25775. _EvaluateVisitor_run__closure1: function _EvaluateVisitor_run__closure1(t0, t1, t2) {
  25776. this.$this = t0;
  25777. this.importer = t1;
  25778. this.node = t2;
  25779. },
  25780. _EvaluateVisitor__loadModule_closure3: function _EvaluateVisitor__loadModule_closure3(t0, t1) {
  25781. this._box_0 = t0;
  25782. this.callback = t1;
  25783. },
  25784. _EvaluateVisitor__loadModule_closure4: function _EvaluateVisitor__loadModule_closure4(t0, t1, t2, t3, t4, t5, t6) {
  25785. var _ = this;
  25786. _.$this = t0;
  25787. _.url = t1;
  25788. _.nodeWithSpan = t2;
  25789. _.baseUrl = t3;
  25790. _.namesInErrors = t4;
  25791. _.configuration = t5;
  25792. _.callback = t6;
  25793. },
  25794. _EvaluateVisitor__loadModule__closure3: function _EvaluateVisitor__loadModule__closure3(t0, t1) {
  25795. this.$this = t0;
  25796. this.message = t1;
  25797. },
  25798. _EvaluateVisitor__loadModule__closure4: function _EvaluateVisitor__loadModule__closure4(t0, t1, t2) {
  25799. this._box_1 = t0;
  25800. this.callback = t1;
  25801. this.firstLoad = t2;
  25802. },
  25803. _EvaluateVisitor__execute_closure1: function _EvaluateVisitor__execute_closure1(t0, t1, t2, t3, t4, t5, t6) {
  25804. var _ = this;
  25805. _.$this = t0;
  25806. _.importer = t1;
  25807. _.stylesheet = t2;
  25808. _.extensionStore = t3;
  25809. _.configuration = t4;
  25810. _.css = t5;
  25811. _.preModuleComments = t6;
  25812. },
  25813. _EvaluateVisitor__combineCss_closure3: function _EvaluateVisitor__combineCss_closure3() {
  25814. },
  25815. _EvaluateVisitor__combineCss_closure4: function _EvaluateVisitor__combineCss_closure4(t0) {
  25816. this.selectors = t0;
  25817. },
  25818. _EvaluateVisitor__combineCss_visitModule1: function _EvaluateVisitor__combineCss_visitModule1(t0, t1, t2, t3, t4, t5) {
  25819. var _ = this;
  25820. _.$this = t0;
  25821. _.seen = t1;
  25822. _.clone = t2;
  25823. _.css = t3;
  25824. _.imports = t4;
  25825. _.sorted = t5;
  25826. },
  25827. _EvaluateVisitor__extendModules_closure3: function _EvaluateVisitor__extendModules_closure3(t0) {
  25828. this.originalSelectors = t0;
  25829. },
  25830. _EvaluateVisitor__extendModules_closure4: function _EvaluateVisitor__extendModules_closure4() {
  25831. },
  25832. _EvaluateVisitor_visitAtRootRule_closure3: function _EvaluateVisitor_visitAtRootRule_closure3(t0, t1) {
  25833. this.$this = t0;
  25834. this.node = t1;
  25835. },
  25836. _EvaluateVisitor_visitAtRootRule_closure4: function _EvaluateVisitor_visitAtRootRule_closure4(t0, t1) {
  25837. this.$this = t0;
  25838. this.node = t1;
  25839. },
  25840. _EvaluateVisitor__scopeForAtRoot_closure11: function _EvaluateVisitor__scopeForAtRoot_closure11(t0, t1, t2) {
  25841. this.$this = t0;
  25842. this.newParent = t1;
  25843. this.node = t2;
  25844. },
  25845. _EvaluateVisitor__scopeForAtRoot_closure12: function _EvaluateVisitor__scopeForAtRoot_closure12(t0, t1) {
  25846. this.$this = t0;
  25847. this.innerScope = t1;
  25848. },
  25849. _EvaluateVisitor__scopeForAtRoot_closure13: function _EvaluateVisitor__scopeForAtRoot_closure13(t0, t1) {
  25850. this.$this = t0;
  25851. this.innerScope = t1;
  25852. },
  25853. _EvaluateVisitor__scopeForAtRoot__closure1: function _EvaluateVisitor__scopeForAtRoot__closure1(t0, t1) {
  25854. this.innerScope = t0;
  25855. this.callback = t1;
  25856. },
  25857. _EvaluateVisitor__scopeForAtRoot_closure14: function _EvaluateVisitor__scopeForAtRoot_closure14(t0, t1) {
  25858. this.$this = t0;
  25859. this.innerScope = t1;
  25860. },
  25861. _EvaluateVisitor__scopeForAtRoot_closure15: function _EvaluateVisitor__scopeForAtRoot_closure15() {
  25862. },
  25863. _EvaluateVisitor__scopeForAtRoot_closure16: function _EvaluateVisitor__scopeForAtRoot_closure16(t0, t1) {
  25864. this.$this = t0;
  25865. this.innerScope = t1;
  25866. },
  25867. _EvaluateVisitor_visitContentRule_closure1: function _EvaluateVisitor_visitContentRule_closure1(t0, t1) {
  25868. this.$this = t0;
  25869. this.content = t1;
  25870. },
  25871. _EvaluateVisitor_visitDeclaration_closure1: function _EvaluateVisitor_visitDeclaration_closure1(t0, t1) {
  25872. this._box_0 = t0;
  25873. this.$this = t1;
  25874. },
  25875. _EvaluateVisitor_visitEachRule_closure5: function _EvaluateVisitor_visitEachRule_closure5(t0, t1, t2) {
  25876. this._box_0 = t0;
  25877. this.$this = t1;
  25878. this.nodeWithSpan = t2;
  25879. },
  25880. _EvaluateVisitor_visitEachRule_closure6: function _EvaluateVisitor_visitEachRule_closure6(t0, t1, t2) {
  25881. this._box_1 = t0;
  25882. this.$this = t1;
  25883. this.nodeWithSpan = t2;
  25884. },
  25885. _EvaluateVisitor_visitEachRule_closure7: function _EvaluateVisitor_visitEachRule_closure7(t0, t1, t2, t3) {
  25886. var _ = this;
  25887. _.$this = t0;
  25888. _.list = t1;
  25889. _.setVariables = t2;
  25890. _.node = t3;
  25891. },
  25892. _EvaluateVisitor_visitEachRule__closure1: function _EvaluateVisitor_visitEachRule__closure1(t0, t1, t2) {
  25893. this.$this = t0;
  25894. this.setVariables = t1;
  25895. this.node = t2;
  25896. },
  25897. _EvaluateVisitor_visitEachRule___closure1: function _EvaluateVisitor_visitEachRule___closure1(t0) {
  25898. this.$this = t0;
  25899. },
  25900. _EvaluateVisitor_visitAtRule_closure5: function _EvaluateVisitor_visitAtRule_closure5(t0) {
  25901. this.$this = t0;
  25902. },
  25903. _EvaluateVisitor_visitAtRule_closure6: function _EvaluateVisitor_visitAtRule_closure6(t0, t1, t2) {
  25904. this.$this = t0;
  25905. this.name = t1;
  25906. this.children = t2;
  25907. },
  25908. _EvaluateVisitor_visitAtRule__closure1: function _EvaluateVisitor_visitAtRule__closure1(t0, t1) {
  25909. this.$this = t0;
  25910. this.children = t1;
  25911. },
  25912. _EvaluateVisitor_visitAtRule_closure7: function _EvaluateVisitor_visitAtRule_closure7() {
  25913. },
  25914. _EvaluateVisitor_visitForRule_closure9: function _EvaluateVisitor_visitForRule_closure9(t0, t1) {
  25915. this.$this = t0;
  25916. this.node = t1;
  25917. },
  25918. _EvaluateVisitor_visitForRule_closure10: function _EvaluateVisitor_visitForRule_closure10(t0, t1) {
  25919. this.$this = t0;
  25920. this.node = t1;
  25921. },
  25922. _EvaluateVisitor_visitForRule_closure11: function _EvaluateVisitor_visitForRule_closure11(t0) {
  25923. this.fromNumber = t0;
  25924. },
  25925. _EvaluateVisitor_visitForRule_closure12: function _EvaluateVisitor_visitForRule_closure12(t0, t1) {
  25926. this.toNumber = t0;
  25927. this.fromNumber = t1;
  25928. },
  25929. _EvaluateVisitor_visitForRule_closure13: function _EvaluateVisitor_visitForRule_closure13(t0, t1, t2, t3, t4, t5) {
  25930. var _ = this;
  25931. _._box_0 = t0;
  25932. _.$this = t1;
  25933. _.node = t2;
  25934. _.from = t3;
  25935. _.direction = t4;
  25936. _.fromNumber = t5;
  25937. },
  25938. _EvaluateVisitor_visitForRule__closure1: function _EvaluateVisitor_visitForRule__closure1(t0) {
  25939. this.$this = t0;
  25940. },
  25941. _EvaluateVisitor_visitForwardRule_closure3: function _EvaluateVisitor_visitForwardRule_closure3(t0, t1) {
  25942. this.$this = t0;
  25943. this.node = t1;
  25944. },
  25945. _EvaluateVisitor_visitForwardRule_closure4: function _EvaluateVisitor_visitForwardRule_closure4(t0, t1) {
  25946. this.$this = t0;
  25947. this.node = t1;
  25948. },
  25949. _EvaluateVisitor__registerCommentsForModule_closure1: function _EvaluateVisitor__registerCommentsForModule_closure1() {
  25950. },
  25951. _EvaluateVisitor_visitIfRule_closure1: function _EvaluateVisitor_visitIfRule_closure1(t0) {
  25952. this.$this = t0;
  25953. },
  25954. _EvaluateVisitor_visitIfRule__closure1: function _EvaluateVisitor_visitIfRule__closure1(t0, t1) {
  25955. this.$this = t0;
  25956. this.clause = t1;
  25957. },
  25958. _EvaluateVisitor_visitIfRule___closure1: function _EvaluateVisitor_visitIfRule___closure1(t0) {
  25959. this.$this = t0;
  25960. },
  25961. _EvaluateVisitor__visitDynamicImport_closure1: function _EvaluateVisitor__visitDynamicImport_closure1(t0, t1) {
  25962. this.$this = t0;
  25963. this.$import = t1;
  25964. },
  25965. _EvaluateVisitor__visitDynamicImport__closure7: function _EvaluateVisitor__visitDynamicImport__closure7(t0) {
  25966. this.$this = t0;
  25967. },
  25968. _EvaluateVisitor__visitDynamicImport__closure8: function _EvaluateVisitor__visitDynamicImport__closure8() {
  25969. },
  25970. _EvaluateVisitor__visitDynamicImport__closure9: function _EvaluateVisitor__visitDynamicImport__closure9() {
  25971. },
  25972. _EvaluateVisitor__visitDynamicImport__closure10: function _EvaluateVisitor__visitDynamicImport__closure10(t0, t1, t2, t3, t4) {
  25973. var _ = this;
  25974. _._box_0 = t0;
  25975. _.$this = t1;
  25976. _.loadsUserDefinedModules = t2;
  25977. _.environment = t3;
  25978. _.children = t4;
  25979. },
  25980. _EvaluateVisitor__applyMixin_closure3: function _EvaluateVisitor__applyMixin_closure3(t0, t1, t2, t3) {
  25981. var _ = this;
  25982. _.$this = t0;
  25983. _.$arguments = t1;
  25984. _.mixin = t2;
  25985. _.nodeWithSpanWithoutContent = t3;
  25986. },
  25987. _EvaluateVisitor__applyMixin__closure4: function _EvaluateVisitor__applyMixin__closure4(t0, t1, t2, t3) {
  25988. var _ = this;
  25989. _.$this = t0;
  25990. _.$arguments = t1;
  25991. _.mixin = t2;
  25992. _.nodeWithSpanWithoutContent = t3;
  25993. },
  25994. _EvaluateVisitor__applyMixin_closure4: function _EvaluateVisitor__applyMixin_closure4(t0, t1, t2, t3) {
  25995. var _ = this;
  25996. _.$this = t0;
  25997. _.contentCallable = t1;
  25998. _.mixin = t2;
  25999. _.nodeWithSpanWithoutContent = t3;
  26000. },
  26001. _EvaluateVisitor__applyMixin__closure3: function _EvaluateVisitor__applyMixin__closure3(t0, t1, t2) {
  26002. this.$this = t0;
  26003. this.mixin = t1;
  26004. this.nodeWithSpanWithoutContent = t2;
  26005. },
  26006. _EvaluateVisitor__applyMixin___closure1: function _EvaluateVisitor__applyMixin___closure1(t0, t1, t2) {
  26007. this.$this = t0;
  26008. this.mixin = t1;
  26009. this.nodeWithSpanWithoutContent = t2;
  26010. },
  26011. _EvaluateVisitor__applyMixin____closure1: function _EvaluateVisitor__applyMixin____closure1(t0, t1) {
  26012. this.$this = t0;
  26013. this.statement = t1;
  26014. },
  26015. _EvaluateVisitor_visitIncludeRule_closure5: function _EvaluateVisitor_visitIncludeRule_closure5(t0, t1) {
  26016. this.$this = t0;
  26017. this.node = t1;
  26018. },
  26019. _EvaluateVisitor_visitIncludeRule_closure6: function _EvaluateVisitor_visitIncludeRule_closure6(t0) {
  26020. this.$this = t0;
  26021. },
  26022. _EvaluateVisitor_visitIncludeRule_closure7: function _EvaluateVisitor_visitIncludeRule_closure7(t0) {
  26023. this.node = t0;
  26024. },
  26025. _EvaluateVisitor_visitMediaRule_closure5: function _EvaluateVisitor_visitMediaRule_closure5(t0, t1) {
  26026. this.$this = t0;
  26027. this.queries = t1;
  26028. },
  26029. _EvaluateVisitor_visitMediaRule_closure6: function _EvaluateVisitor_visitMediaRule_closure6(t0, t1, t2, t3, t4) {
  26030. var _ = this;
  26031. _.$this = t0;
  26032. _.mergedQueries = t1;
  26033. _.queries = t2;
  26034. _.mergedSources = t3;
  26035. _.node = t4;
  26036. },
  26037. _EvaluateVisitor_visitMediaRule__closure1: function _EvaluateVisitor_visitMediaRule__closure1(t0, t1) {
  26038. this.$this = t0;
  26039. this.node = t1;
  26040. },
  26041. _EvaluateVisitor_visitMediaRule___closure1: function _EvaluateVisitor_visitMediaRule___closure1(t0, t1) {
  26042. this.$this = t0;
  26043. this.node = t1;
  26044. },
  26045. _EvaluateVisitor_visitMediaRule_closure7: function _EvaluateVisitor_visitMediaRule_closure7(t0) {
  26046. this.mergedSources = t0;
  26047. },
  26048. _EvaluateVisitor_visitStyleRule_closure7: function _EvaluateVisitor_visitStyleRule_closure7(t0, t1) {
  26049. this.$this = t0;
  26050. this.node = t1;
  26051. },
  26052. _EvaluateVisitor_visitStyleRule_closure8: function _EvaluateVisitor_visitStyleRule_closure8() {
  26053. },
  26054. _EvaluateVisitor_visitStyleRule_closure10: function _EvaluateVisitor_visitStyleRule_closure10(t0, t1, t2) {
  26055. this.$this = t0;
  26056. this.rule = t1;
  26057. this.node = t2;
  26058. },
  26059. _EvaluateVisitor_visitStyleRule__closure1: function _EvaluateVisitor_visitStyleRule__closure1(t0, t1) {
  26060. this.$this = t0;
  26061. this.node = t1;
  26062. },
  26063. _EvaluateVisitor_visitStyleRule_closure9: function _EvaluateVisitor_visitStyleRule_closure9() {
  26064. },
  26065. _EvaluateVisitor__warnForBogusCombinators_closure1: function _EvaluateVisitor__warnForBogusCombinators_closure1() {
  26066. },
  26067. _EvaluateVisitor_visitSupportsRule_closure3: function _EvaluateVisitor_visitSupportsRule_closure3(t0, t1) {
  26068. this.$this = t0;
  26069. this.node = t1;
  26070. },
  26071. _EvaluateVisitor_visitSupportsRule__closure1: function _EvaluateVisitor_visitSupportsRule__closure1(t0, t1) {
  26072. this.$this = t0;
  26073. this.node = t1;
  26074. },
  26075. _EvaluateVisitor_visitSupportsRule_closure4: function _EvaluateVisitor_visitSupportsRule_closure4() {
  26076. },
  26077. _EvaluateVisitor__visitSupportsCondition_closure1: function _EvaluateVisitor__visitSupportsCondition_closure1(t0, t1) {
  26078. this._box_0 = t0;
  26079. this.$this = t1;
  26080. },
  26081. _EvaluateVisitor_visitVariableDeclaration_closure5: function _EvaluateVisitor_visitVariableDeclaration_closure5(t0, t1, t2) {
  26082. this._box_0 = t0;
  26083. this.$this = t1;
  26084. this.node = t2;
  26085. },
  26086. _EvaluateVisitor_visitVariableDeclaration_closure6: function _EvaluateVisitor_visitVariableDeclaration_closure6(t0, t1) {
  26087. this.$this = t0;
  26088. this.node = t1;
  26089. },
  26090. _EvaluateVisitor_visitVariableDeclaration_closure7: function _EvaluateVisitor_visitVariableDeclaration_closure7(t0, t1, t2) {
  26091. this.$this = t0;
  26092. this.node = t1;
  26093. this.value = t2;
  26094. },
  26095. _EvaluateVisitor_visitUseRule_closure1: function _EvaluateVisitor_visitUseRule_closure1(t0, t1) {
  26096. this.$this = t0;
  26097. this.node = t1;
  26098. },
  26099. _EvaluateVisitor_visitWarnRule_closure1: function _EvaluateVisitor_visitWarnRule_closure1(t0, t1) {
  26100. this.$this = t0;
  26101. this.node = t1;
  26102. },
  26103. _EvaluateVisitor_visitWhileRule_closure1: function _EvaluateVisitor_visitWhileRule_closure1(t0, t1) {
  26104. this.$this = t0;
  26105. this.node = t1;
  26106. },
  26107. _EvaluateVisitor_visitWhileRule__closure1: function _EvaluateVisitor_visitWhileRule__closure1(t0) {
  26108. this.$this = t0;
  26109. },
  26110. _EvaluateVisitor_visitBinaryOperationExpression_closure1: function _EvaluateVisitor_visitBinaryOperationExpression_closure1(t0, t1) {
  26111. this.$this = t0;
  26112. this.node = t1;
  26113. },
  26114. _EvaluateVisitor__slash_recommendation1: function _EvaluateVisitor__slash_recommendation1() {
  26115. },
  26116. _EvaluateVisitor_visitVariableExpression_closure1: function _EvaluateVisitor_visitVariableExpression_closure1(t0, t1) {
  26117. this.$this = t0;
  26118. this.node = t1;
  26119. },
  26120. _EvaluateVisitor_visitUnaryOperationExpression_closure1: function _EvaluateVisitor_visitUnaryOperationExpression_closure1(t0, t1) {
  26121. this.node = t0;
  26122. this.operand = t1;
  26123. },
  26124. _EvaluateVisitor_visitListExpression_closure1: function _EvaluateVisitor_visitListExpression_closure1(t0) {
  26125. this.$this = t0;
  26126. },
  26127. _EvaluateVisitor_visitFunctionExpression_closure5: function _EvaluateVisitor_visitFunctionExpression_closure5(t0, t1) {
  26128. this.$this = t0;
  26129. this.node = t1;
  26130. },
  26131. _EvaluateVisitor_visitFunctionExpression_closure6: function _EvaluateVisitor_visitFunctionExpression_closure6() {
  26132. },
  26133. _EvaluateVisitor_visitFunctionExpression_closure7: function _EvaluateVisitor_visitFunctionExpression_closure7(t0, t1, t2) {
  26134. this._box_0 = t0;
  26135. this.$this = t1;
  26136. this.node = t2;
  26137. },
  26138. _EvaluateVisitor__visitCalculation_closure1: function _EvaluateVisitor__visitCalculation_closure1(t0, t1) {
  26139. this.$this = t0;
  26140. this.node = t1;
  26141. },
  26142. _EvaluateVisitor__checkCalculationArguments_check1: function _EvaluateVisitor__checkCalculationArguments_check1(t0, t1) {
  26143. this.$this = t0;
  26144. this.node = t1;
  26145. },
  26146. _EvaluateVisitor__visitCalculationExpression_closure1: function _EvaluateVisitor__visitCalculationExpression_closure1(t0, t1, t2, t3) {
  26147. var _ = this;
  26148. _._box_0 = t0;
  26149. _.$this = t1;
  26150. _.node = t2;
  26151. _.inLegacySassFunction = t3;
  26152. },
  26153. _EvaluateVisitor__visitCalculationExpression__closure1: function _EvaluateVisitor__visitCalculationExpression__closure1(t0, t1) {
  26154. this.$this = t0;
  26155. this.node = t1;
  26156. },
  26157. _EvaluateVisitor_visitInterpolatedFunctionExpression_closure1: function _EvaluateVisitor_visitInterpolatedFunctionExpression_closure1(t0, t1, t2) {
  26158. this.$this = t0;
  26159. this.node = t1;
  26160. this.$function = t2;
  26161. },
  26162. _EvaluateVisitor__runUserDefinedCallable_closure1: function _EvaluateVisitor__runUserDefinedCallable_closure1(t0, t1, t2, t3, t4, t5) {
  26163. var _ = this;
  26164. _.$this = t0;
  26165. _.callable = t1;
  26166. _.evaluated = t2;
  26167. _.nodeWithSpan = t3;
  26168. _.run = t4;
  26169. _.V = t5;
  26170. },
  26171. _EvaluateVisitor__runUserDefinedCallable__closure1: function _EvaluateVisitor__runUserDefinedCallable__closure1(t0, t1, t2, t3, t4, t5) {
  26172. var _ = this;
  26173. _.$this = t0;
  26174. _.evaluated = t1;
  26175. _.callable = t2;
  26176. _.nodeWithSpan = t3;
  26177. _.run = t4;
  26178. _.V = t5;
  26179. },
  26180. _EvaluateVisitor__runUserDefinedCallable___closure1: function _EvaluateVisitor__runUserDefinedCallable___closure1(t0, t1, t2, t3, t4, t5) {
  26181. var _ = this;
  26182. _.$this = t0;
  26183. _.evaluated = t1;
  26184. _.callable = t2;
  26185. _.nodeWithSpan = t3;
  26186. _.run = t4;
  26187. _.V = t5;
  26188. },
  26189. _EvaluateVisitor__runUserDefinedCallable____closure1: function _EvaluateVisitor__runUserDefinedCallable____closure1() {
  26190. },
  26191. _EvaluateVisitor__runFunctionCallable_closure1: function _EvaluateVisitor__runFunctionCallable_closure1(t0, t1) {
  26192. this.$this = t0;
  26193. this.callable = t1;
  26194. },
  26195. _EvaluateVisitor__runBuiltInCallable_closure5: function _EvaluateVisitor__runBuiltInCallable_closure5(t0, t1, t2) {
  26196. this._box_0 = t0;
  26197. this.evaluated = t1;
  26198. this.namedSet = t2;
  26199. },
  26200. _EvaluateVisitor__runBuiltInCallable_closure6: function _EvaluateVisitor__runBuiltInCallable_closure6(t0, t1) {
  26201. this._box_0 = t0;
  26202. this.evaluated = t1;
  26203. },
  26204. _EvaluateVisitor__runBuiltInCallable_closure7: function _EvaluateVisitor__runBuiltInCallable_closure7() {
  26205. },
  26206. _EvaluateVisitor__evaluateArguments_closure7: function _EvaluateVisitor__evaluateArguments_closure7() {
  26207. },
  26208. _EvaluateVisitor__evaluateArguments_closure8: function _EvaluateVisitor__evaluateArguments_closure8(t0, t1) {
  26209. this.$this = t0;
  26210. this.restNodeForSpan = t1;
  26211. },
  26212. _EvaluateVisitor__evaluateArguments_closure9: function _EvaluateVisitor__evaluateArguments_closure9(t0, t1, t2, t3) {
  26213. var _ = this;
  26214. _.$this = t0;
  26215. _.named = t1;
  26216. _.restNodeForSpan = t2;
  26217. _.namedNodes = t3;
  26218. },
  26219. _EvaluateVisitor__evaluateArguments_closure10: function _EvaluateVisitor__evaluateArguments_closure10() {
  26220. },
  26221. _EvaluateVisitor__evaluateMacroArguments_closure7: function _EvaluateVisitor__evaluateMacroArguments_closure7(t0) {
  26222. this.restArgs = t0;
  26223. },
  26224. _EvaluateVisitor__evaluateMacroArguments_closure8: function _EvaluateVisitor__evaluateMacroArguments_closure8(t0, t1, t2) {
  26225. this.$this = t0;
  26226. this.restNodeForSpan = t1;
  26227. this.restArgs = t2;
  26228. },
  26229. _EvaluateVisitor__evaluateMacroArguments_closure9: function _EvaluateVisitor__evaluateMacroArguments_closure9(t0, t1, t2, t3) {
  26230. var _ = this;
  26231. _.$this = t0;
  26232. _.named = t1;
  26233. _.restNodeForSpan = t2;
  26234. _.restArgs = t3;
  26235. },
  26236. _EvaluateVisitor__evaluateMacroArguments_closure10: function _EvaluateVisitor__evaluateMacroArguments_closure10(t0, t1, t2) {
  26237. this.$this = t0;
  26238. this.keywordRestNodeForSpan = t1;
  26239. this.keywordRestArgs = t2;
  26240. },
  26241. _EvaluateVisitor__addRestMap_closure1: function _EvaluateVisitor__addRestMap_closure1(t0, t1, t2, t3, t4, t5) {
  26242. var _ = this;
  26243. _.$this = t0;
  26244. _.values = t1;
  26245. _.convert = t2;
  26246. _.expressionNode = t3;
  26247. _.map = t4;
  26248. _.nodeWithSpan = t5;
  26249. },
  26250. _EvaluateVisitor__verifyArguments_closure1: function _EvaluateVisitor__verifyArguments_closure1(t0, t1, t2) {
  26251. this.parameters = t0;
  26252. this.positional = t1;
  26253. this.named = t2;
  26254. },
  26255. _EvaluateVisitor_visitCssAtRule_closure3: function _EvaluateVisitor_visitCssAtRule_closure3(t0, t1) {
  26256. this.$this = t0;
  26257. this.node = t1;
  26258. },
  26259. _EvaluateVisitor_visitCssAtRule_closure4: function _EvaluateVisitor_visitCssAtRule_closure4() {
  26260. },
  26261. _EvaluateVisitor_visitCssKeyframeBlock_closure3: function _EvaluateVisitor_visitCssKeyframeBlock_closure3(t0, t1) {
  26262. this.$this = t0;
  26263. this.node = t1;
  26264. },
  26265. _EvaluateVisitor_visitCssKeyframeBlock_closure4: function _EvaluateVisitor_visitCssKeyframeBlock_closure4() {
  26266. },
  26267. _EvaluateVisitor_visitCssMediaRule_closure5: function _EvaluateVisitor_visitCssMediaRule_closure5(t0, t1) {
  26268. this.$this = t0;
  26269. this.node = t1;
  26270. },
  26271. _EvaluateVisitor_visitCssMediaRule_closure6: function _EvaluateVisitor_visitCssMediaRule_closure6(t0, t1, t2, t3) {
  26272. var _ = this;
  26273. _.$this = t0;
  26274. _.mergedQueries = t1;
  26275. _.node = t2;
  26276. _.mergedSources = t3;
  26277. },
  26278. _EvaluateVisitor_visitCssMediaRule__closure1: function _EvaluateVisitor_visitCssMediaRule__closure1(t0, t1) {
  26279. this.$this = t0;
  26280. this.node = t1;
  26281. },
  26282. _EvaluateVisitor_visitCssMediaRule___closure1: function _EvaluateVisitor_visitCssMediaRule___closure1(t0, t1) {
  26283. this.$this = t0;
  26284. this.node = t1;
  26285. },
  26286. _EvaluateVisitor_visitCssMediaRule_closure7: function _EvaluateVisitor_visitCssMediaRule_closure7(t0) {
  26287. this.mergedSources = t0;
  26288. },
  26289. _EvaluateVisitor_visitCssStyleRule_closure4: function _EvaluateVisitor_visitCssStyleRule_closure4(t0, t1, t2) {
  26290. this.$this = t0;
  26291. this.rule = t1;
  26292. this.node = t2;
  26293. },
  26294. _EvaluateVisitor_visitCssStyleRule__closure1: function _EvaluateVisitor_visitCssStyleRule__closure1(t0, t1) {
  26295. this.$this = t0;
  26296. this.node = t1;
  26297. },
  26298. _EvaluateVisitor_visitCssStyleRule_closure3: function _EvaluateVisitor_visitCssStyleRule_closure3() {
  26299. },
  26300. _EvaluateVisitor_visitCssSupportsRule_closure3: function _EvaluateVisitor_visitCssSupportsRule_closure3(t0, t1) {
  26301. this.$this = t0;
  26302. this.node = t1;
  26303. },
  26304. _EvaluateVisitor_visitCssSupportsRule__closure1: function _EvaluateVisitor_visitCssSupportsRule__closure1(t0, t1) {
  26305. this.$this = t0;
  26306. this.node = t1;
  26307. },
  26308. _EvaluateVisitor_visitCssSupportsRule_closure4: function _EvaluateVisitor_visitCssSupportsRule_closure4() {
  26309. },
  26310. _EvaluateVisitor__performInterpolationHelper_closure1: function _EvaluateVisitor__performInterpolationHelper_closure1(t0) {
  26311. this.interpolation = t0;
  26312. },
  26313. _EvaluateVisitor__serialize_closure1: function _EvaluateVisitor__serialize_closure1(t0, t1) {
  26314. this.value = t0;
  26315. this.quote = t1;
  26316. },
  26317. _EvaluateVisitor__expressionNode_closure1: function _EvaluateVisitor__expressionNode_closure1(t0, t1) {
  26318. this.$this = t0;
  26319. this.expression = t1;
  26320. },
  26321. _EvaluateVisitor__withoutSlash_recommendation1: function _EvaluateVisitor__withoutSlash_recommendation1() {
  26322. },
  26323. _EvaluateVisitor__stackFrame_closure1: function _EvaluateVisitor__stackFrame_closure1(t0) {
  26324. this.$this = t0;
  26325. },
  26326. _ImportedCssVisitor1: function _ImportedCssVisitor1(t0) {
  26327. this._evaluate0$_visitor = t0;
  26328. },
  26329. _ImportedCssVisitor_visitCssAtRule_closure1: function _ImportedCssVisitor_visitCssAtRule_closure1() {
  26330. },
  26331. _ImportedCssVisitor_visitCssMediaRule_closure1: function _ImportedCssVisitor_visitCssMediaRule_closure1(t0) {
  26332. this.hasBeenMerged = t0;
  26333. },
  26334. _ImportedCssVisitor_visitCssStyleRule_closure1: function _ImportedCssVisitor_visitCssStyleRule_closure1() {
  26335. },
  26336. _ImportedCssVisitor_visitCssSupportsRule_closure1: function _ImportedCssVisitor_visitCssSupportsRule_closure1() {
  26337. },
  26338. _EvaluationContext1: function _EvaluationContext1(t0, t1) {
  26339. this._evaluate0$_visitor = t0;
  26340. this._evaluate0$_defaultWarnNodeWithSpan = t1;
  26341. },
  26342. EveryCssVisitor0: function EveryCssVisitor0() {
  26343. },
  26344. EveryCssVisitor_visitCssAtRule_closure0: function EveryCssVisitor_visitCssAtRule_closure0(t0) {
  26345. this.$this = t0;
  26346. },
  26347. EveryCssVisitor_visitCssKeyframeBlock_closure0: function EveryCssVisitor_visitCssKeyframeBlock_closure0(t0) {
  26348. this.$this = t0;
  26349. },
  26350. EveryCssVisitor_visitCssMediaRule_closure0: function EveryCssVisitor_visitCssMediaRule_closure0(t0) {
  26351. this.$this = t0;
  26352. },
  26353. EveryCssVisitor_visitCssStyleRule_closure0: function EveryCssVisitor_visitCssStyleRule_closure0(t0) {
  26354. this.$this = t0;
  26355. },
  26356. EveryCssVisitor_visitCssStylesheet_closure0: function EveryCssVisitor_visitCssStylesheet_closure0(t0) {
  26357. this.$this = t0;
  26358. },
  26359. EveryCssVisitor_visitCssSupportsRule_closure0: function EveryCssVisitor_visitCssSupportsRule_closure0(t0) {
  26360. this.$this = t0;
  26361. },
  26362. throwNodeException(exception, ascii, color, trace) {
  26363. var wasAscii, jsException, t1, trace0;
  26364. trace = trace;
  26365. wasAscii = $._glyphs === B.C_AsciiGlyphSet;
  26366. $._glyphs = ascii ? B.C_AsciiGlyphSet : B.C_UnicodeGlyphSet;
  26367. try {
  26368. t1 = A.callConstructor($.$get$exceptionClass(), [exception, B.JSString_methods.replaceFirst$2(exception.toString$1$color(0, color), "Error: ", "")]);
  26369. jsException = type$._NodeException._as(t1);
  26370. trace0 = A.getTrace0(exception);
  26371. trace = trace0 == null ? trace : trace0;
  26372. if (trace != null)
  26373. A.attachJsStack(jsException, trace);
  26374. A.jsThrow(jsException);
  26375. } finally {
  26376. $._glyphs = wasAscii ? B.C_AsciiGlyphSet : B.C_UnicodeGlyphSet;
  26377. }
  26378. },
  26379. _NodeException: function _NodeException() {
  26380. },
  26381. exceptionClass_closure: function exceptionClass_closure() {
  26382. },
  26383. exceptionClass__closure: function exceptionClass__closure() {
  26384. },
  26385. exceptionClass__closure0: function exceptionClass__closure0() {
  26386. },
  26387. exceptionClass__closure1: function exceptionClass__closure1() {
  26388. },
  26389. SassException$0(message, span, loadedUrls) {
  26390. return new A.SassException0(loadedUrls == null ? B.Set_empty : A.Set_Set$unmodifiable(loadedUrls, type$.Uri), message, span);
  26391. },
  26392. MultiSpanSassException$0(message, span, primaryLabel, secondarySpans, loadedUrls) {
  26393. var t1 = A.ConstantMap_ConstantMap$from(secondarySpans, type$.FileSpan, type$.String);
  26394. return new A.MultiSpanSassException0(primaryLabel, t1, loadedUrls == null ? B.Set_empty : A.Set_Set$unmodifiable(loadedUrls, type$.Uri), message, span);
  26395. },
  26396. SassRuntimeException$0(message, span, trace, loadedUrls) {
  26397. return new A.SassRuntimeException0(trace, loadedUrls == null ? B.Set_empty : A.Set_Set$unmodifiable(loadedUrls, type$.Uri), message, span);
  26398. },
  26399. MultiSpanSassRuntimeException$0(message, span, primaryLabel, secondarySpans, trace, loadedUrls) {
  26400. var t1 = A.ConstantMap_ConstantMap$from(secondarySpans, type$.FileSpan, type$.String);
  26401. return new A.MultiSpanSassRuntimeException0(trace, primaryLabel, t1, loadedUrls == null ? B.Set_empty : A.Set_Set$unmodifiable(loadedUrls, type$.Uri), message, span);
  26402. },
  26403. SassFormatException$0(message, span, loadedUrls) {
  26404. return new A.SassFormatException0(loadedUrls == null ? B.Set_empty : A.Set_Set$unmodifiable(loadedUrls, type$.Uri), message, span);
  26405. },
  26406. MultiSpanSassFormatException$0(message, span, primaryLabel, secondarySpans, loadedUrls) {
  26407. var t1 = A.ConstantMap_ConstantMap$from(secondarySpans, type$.FileSpan, type$.String);
  26408. return new A.MultiSpanSassFormatException0(primaryLabel, t1, loadedUrls == null ? B.Set_empty : A.Set_Set$unmodifiable(loadedUrls, type$.Uri), message, span);
  26409. },
  26410. SassScriptException$0(message, argumentName) {
  26411. return new A.SassScriptException0(argumentName == null ? message : "$" + argumentName + ": " + message);
  26412. },
  26413. MultiSpanSassScriptException$0(message, primaryLabel, secondarySpans) {
  26414. var t1 = A.ConstantMap_ConstantMap$from(secondarySpans, type$.FileSpan, type$.String);
  26415. return new A.MultiSpanSassScriptException0(primaryLabel, t1, message);
  26416. },
  26417. SassException0: function SassException0(t0, t1, t2) {
  26418. this.loadedUrls = t0;
  26419. this._span_exception$_message = t1;
  26420. this._span = t2;
  26421. },
  26422. MultiSpanSassException0: function MultiSpanSassException0(t0, t1, t2, t3, t4) {
  26423. var _ = this;
  26424. _.primaryLabel = t0;
  26425. _.secondarySpans = t1;
  26426. _.loadedUrls = t2;
  26427. _._span_exception$_message = t3;
  26428. _._span = t4;
  26429. },
  26430. SassRuntimeException0: function SassRuntimeException0(t0, t1, t2, t3) {
  26431. var _ = this;
  26432. _.trace = t0;
  26433. _.loadedUrls = t1;
  26434. _._span_exception$_message = t2;
  26435. _._span = t3;
  26436. },
  26437. MultiSpanSassRuntimeException0: function MultiSpanSassRuntimeException0(t0, t1, t2, t3, t4, t5) {
  26438. var _ = this;
  26439. _.trace = t0;
  26440. _.primaryLabel = t1;
  26441. _.secondarySpans = t2;
  26442. _.loadedUrls = t3;
  26443. _._span_exception$_message = t4;
  26444. _._span = t5;
  26445. },
  26446. SassFormatException0: function SassFormatException0(t0, t1, t2) {
  26447. this.loadedUrls = t0;
  26448. this._span_exception$_message = t1;
  26449. this._span = t2;
  26450. },
  26451. MultiSpanSassFormatException0: function MultiSpanSassFormatException0(t0, t1, t2, t3, t4) {
  26452. var _ = this;
  26453. _.primaryLabel = t0;
  26454. _.secondarySpans = t1;
  26455. _.loadedUrls = t2;
  26456. _._span_exception$_message = t3;
  26457. _._span = t4;
  26458. },
  26459. SassScriptException0: function SassScriptException0(t0) {
  26460. this.message = t0;
  26461. },
  26462. MultiSpanSassScriptException0: function MultiSpanSassScriptException0(t0, t1, t2) {
  26463. this.primaryLabel = t0;
  26464. this.secondarySpans = t1;
  26465. this.message = t2;
  26466. },
  26467. Exports: function Exports() {
  26468. },
  26469. LoggerNamespace: function LoggerNamespace() {
  26470. },
  26471. Expression0: function Expression0() {
  26472. },
  26473. JSExpressionVisitor: function JSExpressionVisitor(t0) {
  26474. this._expression$_inner = t0;
  26475. },
  26476. JSExpressionVisitorObject: function JSExpressionVisitorObject() {
  26477. },
  26478. expressionToCalc0(expression) {
  26479. var t4,
  26480. t1 = A._setArrayType([B.C__MakeExpressionCalculationSafe0.visitBinaryOperationExpression$1(0, expression)], type$.JSArray_Expression_2),
  26481. t2 = expression.get$span(0),
  26482. t3 = type$.Expression_2;
  26483. t1 = A.List_List$unmodifiable(t1, t3);
  26484. t3 = A.ConstantMap_ConstantMap$from(B.Map_empty14, type$.String, t3);
  26485. t4 = expression.get$span(0);
  26486. return new A.FunctionExpression0(null, A.stringReplaceAllUnchecked("calc", "_", "-"), "calc", new A.ArgumentList0(t1, t3, null, null, t2), t4);
  26487. },
  26488. _MakeExpressionCalculationSafe0: function _MakeExpressionCalculationSafe0() {
  26489. },
  26490. __MakeExpressionCalculationSafe_Object_ReplaceExpressionVisitor0: function __MakeExpressionCalculationSafe_Object_ReplaceExpressionVisitor0() {
  26491. },
  26492. ExtendRule0: function ExtendRule0(t0, t1, t2) {
  26493. this.selector = t0;
  26494. this.isOptional = t1;
  26495. this.span = t2;
  26496. },
  26497. Extension0: function Extension0(t0, t1, t2, t3, t4) {
  26498. var _ = this;
  26499. _.extender = t0;
  26500. _.target = t1;
  26501. _.mediaContext = t2;
  26502. _.isOptional = t3;
  26503. _.span = t4;
  26504. },
  26505. Extender0: function Extender0(t0, t1) {
  26506. this.selector = t0;
  26507. this.isOriginal = t1;
  26508. this._extension$_extension = null;
  26509. },
  26510. ExtensionStore__extendOrReplace0(selector, source, targets, mode, span) {
  26511. var t1, t2, t3, t4, t5, t6, t7, t8, _i, complex, compound, t9, t10, t11, _i0, simple, t12, _i1, t13, t14,
  26512. extender = A.ExtensionStore$_mode0(mode);
  26513. if (!selector.accept$1(B._IsInvisibleVisitor_true0))
  26514. extender._extension_store$_originals.addAll$1(0, selector.components);
  26515. 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) {
  26516. complex = t1[_i];
  26517. compound = complex.get$singleCompound();
  26518. if (compound == null)
  26519. throw A.wrapException(A.SassScriptException$0("Can't extend complex selector " + complex.toString$0(0) + ".", null));
  26520. t9 = A.LinkedHashMap_LinkedHashMap$_empty(t7, t8);
  26521. for (t10 = compound.components, t11 = t10.length, _i0 = 0; _i0 < t11; ++_i0) {
  26522. simple = t10[_i0];
  26523. t12 = A.LinkedHashMap_LinkedHashMap$_empty(t5, t6);
  26524. for (_i1 = 0; _i1 < t4; ++_i1) {
  26525. complex = t3[_i1];
  26526. complex.get$specificity();
  26527. t13 = new A.Extender0(complex, false);
  26528. t14 = new A.Extension0(t13, simple, null, true, span);
  26529. t13._extension$_extension = t14;
  26530. t12.$indexSet(0, complex, t14);
  26531. }
  26532. t9.$indexSet(0, simple, t12);
  26533. }
  26534. selector = extender._extension_store$_extendList$2(selector, t9);
  26535. }
  26536. return selector;
  26537. },
  26538. ExtensionStore$0() {
  26539. var t1 = type$.SimpleSelector_2;
  26540. return new A.ExtensionStore0(A.LinkedHashMap_LinkedHashMap$_empty(t1, type$.Set_ModifiableBox_SelectorList_2), A.LinkedHashMap_LinkedHashMap$_empty(t1, type$.Map_ComplexSelector_Extension_2), A.LinkedHashMap_LinkedHashMap$_empty(t1, type$.List_Extension_2), A.LinkedHashMap_LinkedHashMap$_empty(type$.ModifiableBox_SelectorList_2, type$.List_CssMediaQuery_2), new A.JsIdentityLinkedHashMap(type$.JsIdentityLinkedHashMap_SimpleSelector_int_2), new A._LinkedIdentityHashSet(type$._LinkedIdentityHashSet_ComplexSelector_2), B.ExtendMode_normal_normal0);
  26541. },
  26542. ExtensionStore$_mode0(_mode) {
  26543. var t1 = type$.SimpleSelector_2;
  26544. return new A.ExtensionStore0(A.LinkedHashMap_LinkedHashMap$_empty(t1, type$.Set_ModifiableBox_SelectorList_2), A.LinkedHashMap_LinkedHashMap$_empty(t1, type$.Map_ComplexSelector_Extension_2), A.LinkedHashMap_LinkedHashMap$_empty(t1, type$.List_Extension_2), A.LinkedHashMap_LinkedHashMap$_empty(type$.ModifiableBox_SelectorList_2, type$.List_CssMediaQuery_2), new A.JsIdentityLinkedHashMap(type$.JsIdentityLinkedHashMap_SimpleSelector_int_2), new A._LinkedIdentityHashSet(type$._LinkedIdentityHashSet_ComplexSelector_2), _mode);
  26545. },
  26546. ExtensionStore0: function ExtensionStore0(t0, t1, t2, t3, t4, t5, t6) {
  26547. var _ = this;
  26548. _._extension_store$_selectors = t0;
  26549. _._extension_store$_extensions = t1;
  26550. _._extension_store$_extensionsByExtender = t2;
  26551. _._extension_store$_mediaContexts = t3;
  26552. _._extension_store$_sourceSpecificity = t4;
  26553. _._extension_store$_originals = t5;
  26554. _._extension_store$_mode = t6;
  26555. },
  26556. ExtensionStore_extensionsWhereTarget_closure0: function ExtensionStore_extensionsWhereTarget_closure0() {
  26557. },
  26558. ExtensionStore__registerSelector_closure0: function ExtensionStore__registerSelector_closure0() {
  26559. },
  26560. ExtensionStore_addExtension_closure2: function ExtensionStore_addExtension_closure2() {
  26561. },
  26562. ExtensionStore_addExtension_closure3: function ExtensionStore_addExtension_closure3() {
  26563. },
  26564. ExtensionStore_addExtension_closure4: function ExtensionStore_addExtension_closure4(t0) {
  26565. this.complex = t0;
  26566. },
  26567. ExtensionStore__extendExistingExtensions_closure1: function ExtensionStore__extendExistingExtensions_closure1() {
  26568. },
  26569. ExtensionStore__extendExistingExtensions_closure2: function ExtensionStore__extendExistingExtensions_closure2() {
  26570. },
  26571. ExtensionStore_addExtensions_closure0: function ExtensionStore_addExtensions_closure0() {
  26572. },
  26573. ExtensionStore__extendComplex_closure0: function ExtensionStore__extendComplex_closure0(t0, t1, t2) {
  26574. this._box_0 = t0;
  26575. this.$this = t1;
  26576. this.complex = t2;
  26577. },
  26578. ExtensionStore__extendComplex__closure0: function ExtensionStore__extendComplex__closure0(t0, t1, t2) {
  26579. this._box_0 = t0;
  26580. this.$this = t1;
  26581. this.complex = t2;
  26582. },
  26583. ExtensionStore__extendCompound_closure2: function ExtensionStore__extendCompound_closure2() {
  26584. },
  26585. ExtensionStore__extendCompound_closure3: function ExtensionStore__extendCompound_closure3() {
  26586. },
  26587. ExtensionStore__extendCompound_closure4: function ExtensionStore__extendCompound_closure4(t0) {
  26588. this.original = t0;
  26589. },
  26590. ExtensionStore__extendSimple_withoutPseudo0: function ExtensionStore__extendSimple_withoutPseudo0(t0, t1, t2) {
  26591. this.$this = t0;
  26592. this.extensions = t1;
  26593. this.targetsUsed = t2;
  26594. },
  26595. ExtensionStore__extendSimple_closure1: function ExtensionStore__extendSimple_closure1(t0, t1) {
  26596. this.$this = t0;
  26597. this.withoutPseudo = t1;
  26598. },
  26599. ExtensionStore__extendSimple_closure2: function ExtensionStore__extendSimple_closure2() {
  26600. },
  26601. ExtensionStore__extendPseudo_closure4: function ExtensionStore__extendPseudo_closure4() {
  26602. },
  26603. ExtensionStore__extendPseudo_closure5: function ExtensionStore__extendPseudo_closure5() {
  26604. },
  26605. ExtensionStore__extendPseudo_closure6: function ExtensionStore__extendPseudo_closure6() {
  26606. },
  26607. ExtensionStore__extendPseudo_closure7: function ExtensionStore__extendPseudo_closure7(t0) {
  26608. this.pseudo = t0;
  26609. },
  26610. ExtensionStore__extendPseudo_closure8: function ExtensionStore__extendPseudo_closure8(t0, t1) {
  26611. this.pseudo = t0;
  26612. this.selector = t1;
  26613. },
  26614. ExtensionStore__trim_closure1: function ExtensionStore__trim_closure1(t0, t1) {
  26615. this._box_0 = t0;
  26616. this.complex1 = t1;
  26617. },
  26618. ExtensionStore__trim_closure2: function ExtensionStore__trim_closure2(t0, t1) {
  26619. this._box_0 = t0;
  26620. this.complex1 = t1;
  26621. },
  26622. ExtensionStore_clone_closure0: function ExtensionStore_clone_closure0(t0, t1, t2, t3) {
  26623. var _ = this;
  26624. _.$this = t0;
  26625. _.newSelectors = t1;
  26626. _.oldToNewSelectors = t2;
  26627. _.newMediaContexts = t3;
  26628. },
  26629. FiberClass: function FiberClass() {
  26630. },
  26631. Fiber: function Fiber() {
  26632. },
  26633. JSToDartFileImporter: function JSToDartFileImporter(t0) {
  26634. this._file0$_findFileUrl = t0;
  26635. },
  26636. JSToDartFileImporter_canonicalize_closure: function JSToDartFileImporter_canonicalize_closure(t0, t1) {
  26637. this.$this = t0;
  26638. this.url = t1;
  26639. },
  26640. FilesystemImporter0: function FilesystemImporter0(t0, t1) {
  26641. this._filesystem$_loadPath = t0;
  26642. this._filesystem$_loadPathDeprecated = t1;
  26643. },
  26644. FilesystemImporter_canonicalize_closure0: function FilesystemImporter_canonicalize_closure0() {
  26645. },
  26646. ForRule$0(variable, from, to, children, span, exclusive) {
  26647. var t1 = A.List_List$unmodifiable(children, type$.Statement_2),
  26648. t2 = B.JSArray_methods.any$1(t1, new A.ParentStatement_closure0());
  26649. return new A.ForRule0(variable, from, to, exclusive, span, t1, t2);
  26650. },
  26651. ForRule0: function ForRule0(t0, t1, t2, t3, t4, t5, t6) {
  26652. var _ = this;
  26653. _.variable = t0;
  26654. _.from = t1;
  26655. _.to = t2;
  26656. _.isExclusive = t3;
  26657. _.span = t4;
  26658. _.children = t5;
  26659. _.hasDeclarations = t6;
  26660. },
  26661. ForwardRule0: function ForwardRule0(t0, t1, t2, t3, t4, t5, t6, t7) {
  26662. var _ = this;
  26663. _.url = t0;
  26664. _.shownMixinsAndFunctions = t1;
  26665. _.shownVariables = t2;
  26666. _.hiddenMixinsAndFunctions = t3;
  26667. _.hiddenVariables = t4;
  26668. _.prefix = t5;
  26669. _.configuration = t6;
  26670. _.span = t7;
  26671. },
  26672. ForwardedModuleView_ifNecessary0(inner, rule, $T) {
  26673. var t2,
  26674. t1 = false;
  26675. if (rule.prefix == null)
  26676. if (rule.shownMixinsAndFunctions == null)
  26677. if (rule.shownVariables == null) {
  26678. t2 = rule.hiddenMixinsAndFunctions;
  26679. t2 = t2 == null ? null : t2._base.get$isEmpty(0);
  26680. if (t2 === true) {
  26681. t1 = rule.hiddenVariables;
  26682. t1 = t1 == null ? null : t1._base.get$isEmpty(0);
  26683. t1 = t1 === true;
  26684. }
  26685. }
  26686. if (t1)
  26687. return inner;
  26688. else
  26689. return A.ForwardedModuleView$0(inner, rule, $T);
  26690. },
  26691. ForwardedModuleView$0(_inner, _rule, $T) {
  26692. var t1 = _rule.prefix,
  26693. t2 = _rule.shownVariables,
  26694. t3 = _rule.hiddenVariables,
  26695. t4 = _rule.shownMixinsAndFunctions,
  26696. t5 = _rule.hiddenMixinsAndFunctions;
  26697. 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>"));
  26698. },
  26699. ForwardedModuleView__forwardedMap0(map, prefix, safelist, blocklist, $V) {
  26700. var t1 = prefix == null,
  26701. t2 = false;
  26702. if (t1)
  26703. if (safelist == null)
  26704. t2 = blocklist == null || blocklist._base.get$isEmpty(0);
  26705. if (t2)
  26706. return map;
  26707. if (!t1)
  26708. map = new A.PrefixedMapView0(map, prefix, $V._eval$1("PrefixedMapView0<0>"));
  26709. if (safelist != null)
  26710. 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>"));
  26711. else if (blocklist != null && blocklist._base.get$isNotEmpty(0))
  26712. map = A.LimitedMapView$blocklist0(map, blocklist, type$.String, $V);
  26713. return map;
  26714. },
  26715. ForwardedModuleView0: function ForwardedModuleView0(t0, t1, t2, t3, t4, t5, t6) {
  26716. var _ = this;
  26717. _._forwarded_view0$_inner = t0;
  26718. _._forwarded_view0$_rule = t1;
  26719. _.variables = t2;
  26720. _.variableNodes = t3;
  26721. _.functions = t4;
  26722. _.mixins = t5;
  26723. _.$ti = t6;
  26724. },
  26725. FunctionExpression0: function FunctionExpression0(t0, t1, t2, t3, t4) {
  26726. var _ = this;
  26727. _.namespace = t0;
  26728. _.name = t1;
  26729. _.originalName = t2;
  26730. _.$arguments = t3;
  26731. _.span = t4;
  26732. },
  26733. JSFunction0: function JSFunction0() {
  26734. },
  26735. SupportsFunction0: function SupportsFunction0(t0, t1, t2) {
  26736. this.name = t0;
  26737. this.$arguments = t1;
  26738. this.span = t2;
  26739. },
  26740. functionClass_closure: function functionClass_closure() {
  26741. },
  26742. functionClass__closure: function functionClass__closure() {
  26743. },
  26744. functionClass__closure0: function functionClass__closure0() {
  26745. },
  26746. SassFunction0: function SassFunction0(t0, t1) {
  26747. this.callable = t0;
  26748. this._function0$_compileContext = t1;
  26749. },
  26750. FunctionRule$0($name, parameters, children, span, comment) {
  26751. var t1 = A.stringReplaceAllUnchecked($name, "_", "-"),
  26752. t2 = A.List_List$unmodifiable(children, type$.Statement_2),
  26753. t3 = B.JSArray_methods.any$1(t2, new A.ParentStatement_closure0());
  26754. return new A.FunctionRule0(t1, $name, parameters, span, t2, t3);
  26755. },
  26756. FunctionRule0: function FunctionRule0(t0, t1, t2, t3, t4, t5) {
  26757. var _ = this;
  26758. _.name = t0;
  26759. _.originalName = t1;
  26760. _.parameters = t2;
  26761. _.span = t3;
  26762. _.children = t4;
  26763. _.hasDeclarations = t5;
  26764. },
  26765. unifyComplex0(complexes, span) {
  26766. var t2, trailingCombinator, leadingCombinator, unifiedBase, t3, t4, _0_6_isSet, _0_6, t5, newLeadingCombinator, base, _1_1, newTrailingCombinator, unifiedBase0, t6, t7, t8, _null = null,
  26767. t1 = J.getInterceptor$asx(complexes);
  26768. if (t1.get$length(complexes) === 1)
  26769. return complexes;
  26770. for (t2 = t1.get$iterator(complexes), trailingCombinator = _null, leadingCombinator = trailingCombinator, unifiedBase = leadingCombinator; t2.moveNext$0();) {
  26771. t3 = t2.get$current(t2);
  26772. if (t3.accept$1(B.C__IsUselessVisitor0))
  26773. return _null;
  26774. t4 = t3.components;
  26775. _0_6_isSet = t4.length === 1;
  26776. if (_0_6_isSet) {
  26777. _0_6 = t3.leadingCombinators;
  26778. t5 = _0_6.length === 1;
  26779. } else {
  26780. _0_6 = _null;
  26781. t5 = false;
  26782. }
  26783. if (t5) {
  26784. newLeadingCombinator = (_0_6_isSet ? _0_6 : t3.leadingCombinators)[0];
  26785. if (leadingCombinator == null)
  26786. leadingCombinator = newLeadingCombinator;
  26787. else if (!(leadingCombinator.$ti._is(newLeadingCombinator) && J.$eq$(newLeadingCombinator.value, leadingCombinator.value)))
  26788. return _null;
  26789. }
  26790. base = B.JSArray_methods.get$last(t4);
  26791. _1_1 = base.combinators;
  26792. if (_1_1.length === 1) {
  26793. newTrailingCombinator = _1_1[0];
  26794. if (trailingCombinator != null)
  26795. t3 = !(trailingCombinator.$ti._is(newTrailingCombinator) && J.$eq$(newTrailingCombinator.value, trailingCombinator.value));
  26796. else
  26797. t3 = false;
  26798. if (t3)
  26799. return _null;
  26800. trailingCombinator = newTrailingCombinator;
  26801. }
  26802. unifiedBase0 = base.selector;
  26803. if (unifiedBase == null)
  26804. unifiedBase = unifiedBase0;
  26805. else {
  26806. unifiedBase = A.unifyCompound0(unifiedBase, unifiedBase0);
  26807. if (unifiedBase == null)
  26808. return _null;
  26809. }
  26810. }
  26811. t2 = type$.JSArray_ComplexSelector_2;
  26812. t3 = A._setArrayType([], t2);
  26813. for (t4 = t1.get$iterator(complexes); t4.moveNext$0();) {
  26814. t5 = t4.get$current(t4);
  26815. t6 = t5.components;
  26816. t7 = t6.length;
  26817. if (t7 > 1) {
  26818. t8 = t5.leadingCombinators;
  26819. t3.push(A.ComplexSelector$0(t8, B.JSArray_methods.take$1(t6, t7 - 1), t5.span, t5.lineBreak));
  26820. }
  26821. }
  26822. t4 = leadingCombinator == null ? B.List_empty16 : A._setArrayType([leadingCombinator], type$.JSArray_CssValue_Combinator_2);
  26823. unifiedBase.toString;
  26824. t5 = trailingCombinator == null ? B.List_empty16 : A._setArrayType([trailingCombinator], type$.JSArray_CssValue_Combinator_2);
  26825. base = A.ComplexSelector$0(t4, A._setArrayType([new A.ComplexSelectorComponent0(unifiedBase, A.List_List$unmodifiable(t5, type$.CssValue_Combinator_2), span)], type$.JSArray_ComplexSelectorComponent_2), span, t1.any$1(complexes, new A.unifyComplex_closure0()));
  26826. if (t3.length === 0)
  26827. t1 = A._setArrayType([base], t2);
  26828. else {
  26829. t1 = A.List_List$_of(A.IterableExtension_get_exceptLast0(t3), type$.ComplexSelector_2);
  26830. t1.push(B.JSArray_methods.get$last(t3).concatenate$2(base, span));
  26831. }
  26832. return A.weave0(t1, span, false);
  26833. },
  26834. unifyCompound0(compound1, compound2) {
  26835. var t1, t2, pseudoElementFound, _i, simple, unified,
  26836. result = compound1.components,
  26837. pseudoResult = A._setArrayType([], type$.JSArray_SimpleSelector_2);
  26838. for (t1 = compound2.components, t2 = t1.length, pseudoElementFound = false, _i = 0; _i < t2; ++_i) {
  26839. simple = t1[_i];
  26840. if (pseudoElementFound && simple instanceof A.PseudoSelector0) {
  26841. unified = simple.unify$1(pseudoResult);
  26842. if (unified == null)
  26843. return null;
  26844. pseudoResult = unified;
  26845. } else {
  26846. pseudoElementFound = B.JSBool_methods.$or(pseudoElementFound, simple instanceof A.PseudoSelector0 && !simple.isClass);
  26847. unified = simple.unify$1(result);
  26848. if (unified == null)
  26849. return null;
  26850. result = unified;
  26851. }
  26852. }
  26853. t1 = A.List_List$_of(result, type$.SimpleSelector_2);
  26854. B.JSArray_methods.addAll$1(t1, pseudoResult);
  26855. return A.CompoundSelector$0(t1, compound1.span);
  26856. },
  26857. unifyUniversalAndElement0(selector1, selector2) {
  26858. var namespace, $name, t1,
  26859. _0_0 = A._namespaceAndName0(selector1, "selector1"),
  26860. namespace1 = _0_0._0,
  26861. name1 = _0_0._1,
  26862. _1_0 = A._namespaceAndName0(selector2, "selector2"),
  26863. namespace2 = _1_0._0,
  26864. name2 = _1_0._1;
  26865. if (namespace1 == namespace2 || namespace2 === "*")
  26866. namespace = namespace1;
  26867. else {
  26868. if (namespace1 !== "*")
  26869. return null;
  26870. namespace = namespace2;
  26871. }
  26872. if (name1 == name2 || name2 == null)
  26873. $name = name1;
  26874. else {
  26875. if (!(name1 == null || name1 === "*"))
  26876. return null;
  26877. $name = name2;
  26878. }
  26879. t1 = selector1.span;
  26880. return $name == null ? new A.UniversalSelector0(namespace, t1) : new A.TypeSelector0(new A.QualifiedName0($name, namespace), t1);
  26881. },
  26882. _namespaceAndName0(selector, $name) {
  26883. var t1, _0_4;
  26884. $label0$0: {
  26885. if (selector instanceof A.UniversalSelector0) {
  26886. t1 = new A._Record_2(selector.namespace, null);
  26887. break $label0$0;
  26888. }
  26889. if (selector instanceof A.TypeSelector0) {
  26890. _0_4 = selector.name;
  26891. t1 = new A._Record_2(_0_4.namespace, _0_4.name);
  26892. break $label0$0;
  26893. }
  26894. t1 = A.throwExpression(A.ArgumentError$value(selector, $name, string$.must_b));
  26895. }
  26896. return t1;
  26897. },
  26898. weave0(complexes, span, forceLineBreak) {
  26899. var complex, t2, prefixes, t3, t4, t5, t6, i, t7, t8, _i, t9, t10, _i0, parentPrefix, t11, t12,
  26900. t1 = J.getInterceptor$asx(complexes);
  26901. if (t1.get$length(complexes) === 1) {
  26902. complex = t1.$index(complexes, 0);
  26903. if (!forceLineBreak || complex.lineBreak)
  26904. return complexes;
  26905. return A._setArrayType([A.ComplexSelector$0(complex.leadingCombinators, complex.components, complex.span, true)], type$.JSArray_ComplexSelector_2);
  26906. }
  26907. t2 = type$.JSArray_ComplexSelector_2;
  26908. prefixes = A._setArrayType([t1.get$first(complexes)], t2);
  26909. for (t1 = t1.skip$1(complexes, 1), t3 = t1.$ti, t1 = new A.ListIterator(t1, t1.get$length(0), t3._eval$1("ListIterator<ListIterable.E>")), t4 = type$.ComplexSelectorComponent_2, t3 = t3._eval$1("ListIterable.E"); t1.moveNext$0();) {
  26910. t5 = t1.__internal$_current;
  26911. if (t5 == null)
  26912. t5 = t3._as(t5);
  26913. t6 = t5.components;
  26914. if (t6.length === 1) {
  26915. for (i = 0; i < prefixes.length; ++i)
  26916. prefixes[i] = prefixes[i].concatenate$3$forceLineBreak(t5, span, forceLineBreak);
  26917. continue;
  26918. }
  26919. t7 = A._setArrayType([], t2);
  26920. for (t8 = prefixes.length, _i = 0; _i < prefixes.length; prefixes.length === t8 || (0, A.throwConcurrentModificationError)(prefixes), ++_i) {
  26921. t9 = A._weaveParents0(prefixes[_i], t5, span);
  26922. if (t9 == null)
  26923. t9 = B.List_empty17;
  26924. t10 = t9.length;
  26925. _i0 = 0;
  26926. for (; _i0 < t9.length; t9.length === t10 || (0, A.throwConcurrentModificationError)(t9), ++_i0) {
  26927. parentPrefix = t9[_i0];
  26928. t11 = B.JSArray_methods.get$last(t6);
  26929. t12 = A.List_List$_of(parentPrefix.components, t4);
  26930. t12.push(t11);
  26931. t11 = parentPrefix.lineBreak || forceLineBreak;
  26932. t7.push(A.ComplexSelector$0(parentPrefix.leadingCombinators, t12, span, t11));
  26933. }
  26934. }
  26935. prefixes = t7;
  26936. }
  26937. return prefixes;
  26938. },
  26939. _weaveParents0(prefix, base, span) {
  26940. var t1, queue1, queue2, trailingCombinators, _0_1, _0_3, _0_3_isSet, _0_30, rootish2, t2, rootish1, rootish, t3, t0, rootish_case_1, groups1, groups2, lcs, choices, t4, _i, group, t5, t6, t7, _i0, chunk, t8, t9, _null = null,
  26941. leadingCombinators = A._mergeLeadingCombinators0(prefix.leadingCombinators, base.leadingCombinators);
  26942. if (leadingCombinators == null)
  26943. return _null;
  26944. t1 = type$.ComplexSelectorComponent_2;
  26945. queue1 = A.QueueList_QueueList$from(prefix.components, t1);
  26946. queue2 = A.QueueList_QueueList$from(A.IterableExtension_get_exceptLast0(base.components), t1);
  26947. trailingCombinators = A._mergeTrailingCombinators0(queue1, queue2, span, _null);
  26948. if (trailingCombinators == null)
  26949. return _null;
  26950. $label0$0: {
  26951. _0_1 = A._firstIfRootish0(queue1);
  26952. _0_3 = A._firstIfRootish0(queue2);
  26953. _0_3_isSet = _0_1 != null;
  26954. _0_30 = _null;
  26955. rootish2 = _null;
  26956. t2 = false;
  26957. if (_0_3_isSet) {
  26958. rootish1 = _0_1 == null ? t1._as(_0_1) : _0_1;
  26959. t2 = _0_3 != null;
  26960. if (t2)
  26961. rootish2 = _0_3 == null ? t1._as(_0_3) : _0_3;
  26962. _0_30 = _0_3;
  26963. } else
  26964. rootish1 = _null;
  26965. if (t2) {
  26966. rootish = A.unifyCompound0(rootish1.selector, rootish2.selector);
  26967. if (rootish == null)
  26968. return _null;
  26969. t1 = rootish1.combinators;
  26970. t2 = rootish1.span;
  26971. t3 = type$.CssValue_Combinator_2;
  26972. queue1.addFirst$1(new A.ComplexSelectorComponent0(rootish, A.List_List$unmodifiable(t1, t3), t2));
  26973. queue2.addFirst$1(new A.ComplexSelectorComponent0(rootish, A.List_List$unmodifiable(rootish2.combinators, t3), t2));
  26974. break $label0$0;
  26975. }
  26976. t2 = _null;
  26977. t3 = false;
  26978. if (_0_1 != null) {
  26979. if (_0_3_isSet)
  26980. t2 = _0_30;
  26981. else {
  26982. t2 = _0_3;
  26983. _0_30 = t2;
  26984. _0_3_isSet = true;
  26985. }
  26986. t2 = t2 == null;
  26987. t3 = t2 ? _0_1 : _null;
  26988. t0 = t3;
  26989. t3 = t2;
  26990. t2 = t0;
  26991. }
  26992. if (!t3)
  26993. if (_0_1 == null) {
  26994. if (_0_3_isSet)
  26995. t3 = _0_30;
  26996. else {
  26997. t3 = _0_3;
  26998. _0_30 = t3;
  26999. _0_3_isSet = true;
  27000. }
  27001. t3 = t3 != null;
  27002. if (t3) {
  27003. rootish_case_1 = _0_3_isSet ? _0_30 : _0_3;
  27004. if (rootish_case_1 == null)
  27005. rootish_case_1 = t1._as(rootish_case_1);
  27006. t1 = rootish_case_1;
  27007. } else
  27008. t1 = t2;
  27009. t2 = t3;
  27010. } else {
  27011. t1 = t2;
  27012. t2 = false;
  27013. }
  27014. else {
  27015. t1 = t2;
  27016. t2 = true;
  27017. }
  27018. if (t2) {
  27019. queue1.addFirst$1(t1);
  27020. queue2.addFirst$1(t1);
  27021. }
  27022. }
  27023. groups1 = A._groupSelectors0(queue1);
  27024. groups2 = A._groupSelectors0(queue2);
  27025. t1 = type$.List_ComplexSelectorComponent_2;
  27026. lcs = A.longestCommonSubsequence0(groups2, groups1, new A._weaveParents_closure3(span), t1);
  27027. choices = A._setArrayType([], type$.JSArray_List_Iterable_ComplexSelectorComponent_2);
  27028. for (t2 = lcs.length, t3 = type$.JSArray_Iterable_ComplexSelectorComponent_2, t4 = type$.JSArray_ComplexSelectorComponent_2, _i = 0; _i < lcs.length; lcs.length === t2 || (0, A.throwConcurrentModificationError)(lcs), ++_i) {
  27029. group = lcs[_i];
  27030. t5 = A._setArrayType([], t3);
  27031. for (t6 = A._chunks0(groups1, groups2, new A._weaveParents_closure4(group), t1), t7 = t6.length, _i0 = 0; _i0 < t6.length; t6.length === t7 || (0, A.throwConcurrentModificationError)(t6), ++_i0) {
  27032. chunk = t6[_i0];
  27033. t8 = A._setArrayType([], t4);
  27034. for (t9 = B.JSArray_methods.get$iterator(chunk); t9.moveNext$0();)
  27035. B.JSArray_methods.addAll$1(t8, t9.get$current(0));
  27036. t5.push(t8);
  27037. }
  27038. choices.push(t5);
  27039. choices.push(A._setArrayType([group], t3));
  27040. groups1.removeFirst$0();
  27041. groups2.removeFirst$0();
  27042. }
  27043. t2 = A._setArrayType([], t3);
  27044. for (t1 = A._chunks0(groups1, groups2, new A._weaveParents_closure5(), t1), t3 = t1.length, _i = 0; _i < t1.length; t1.length === t3 || (0, A.throwConcurrentModificationError)(t1), ++_i) {
  27045. chunk = t1[_i];
  27046. t5 = A._setArrayType([], t4);
  27047. for (t6 = B.JSArray_methods.get$iterator(chunk); t6.moveNext$0();)
  27048. B.JSArray_methods.addAll$1(t5, t6.get$current(0));
  27049. t2.push(t5);
  27050. }
  27051. choices.push(t2);
  27052. B.JSArray_methods.addAll$1(choices, trailingCombinators);
  27053. t1 = A._setArrayType([], type$.JSArray_ComplexSelector_2);
  27054. for (t2 = J.get$iterator$ax(A.paths0(new A.WhereIterable(choices, new A._weaveParents_closure6(), type$.WhereIterable_List_Iterable_ComplexSelectorComponent_2), type$.Iterable_ComplexSelectorComponent_2)), t3 = !prefix.lineBreak, t5 = base.lineBreak; t2.moveNext$0();) {
  27055. t6 = t2.get$current(t2);
  27056. t7 = A._setArrayType([], t4);
  27057. for (t6 = J.get$iterator$ax(t6); t6.moveNext$0();)
  27058. B.JSArray_methods.addAll$1(t7, t6.get$current(t6));
  27059. t1.push(A.ComplexSelector$0(leadingCombinators, t7, span, !t3 || t5));
  27060. }
  27061. return t1;
  27062. },
  27063. _firstIfRootish0(queue) {
  27064. var first, t1, t2, _i, simple, t3;
  27065. if (queue.get$length(0) >= 1) {
  27066. first = queue.$index(0, 0);
  27067. for (t1 = first.selector.components, t2 = t1.length, _i = 0; _i < t2; ++_i) {
  27068. simple = t1[_i];
  27069. t3 = false;
  27070. if (simple instanceof A.PseudoSelector0)
  27071. if (simple.isClass)
  27072. t3 = $._rootishPseudoClasses0.contains$1(0, simple.normalizedName);
  27073. if (t3) {
  27074. queue.removeFirst$0();
  27075. return first;
  27076. }
  27077. }
  27078. }
  27079. return null;
  27080. },
  27081. _mergeLeadingCombinators0(combinators1, combinators2) {
  27082. var _0_4, t1, t2, _0_7, t3, _0_11, _0_11_isSet, combinators, _null = null;
  27083. $label0$0: {
  27084. _0_4 = combinators2;
  27085. t1 = _null;
  27086. t2 = type$.List_dynamic;
  27087. _0_7 = combinators1.length;
  27088. t3 = _0_7;
  27089. t3 = t3 > 1;
  27090. _0_11 = _null;
  27091. if (!t3) {
  27092. t3 = _0_4;
  27093. _0_11_isSet = t2._is(t3);
  27094. if (_0_11_isSet) {
  27095. t3 = _0_4;
  27096. _0_11 = (t3 == null ? type$.List_CssValue_Combinator_2._as(t3) : t3).length;
  27097. t3 = _0_11;
  27098. t3 = t3 > 1;
  27099. } else
  27100. t3 = false;
  27101. } else {
  27102. _0_11_isSet = false;
  27103. t3 = true;
  27104. }
  27105. if (t3)
  27106. break $label0$0;
  27107. t3 = _0_7;
  27108. t3 = t3 <= 0;
  27109. if (t3)
  27110. combinators = _0_4;
  27111. else
  27112. combinators = t1;
  27113. t1 = t3;
  27114. if (!t1) {
  27115. t1 = false;
  27116. t3 = _0_4;
  27117. if (t2._is(t3)) {
  27118. if (_0_11_isSet)
  27119. t1 = _0_11;
  27120. else {
  27121. t1 = _0_4;
  27122. _0_11 = (t1 == null ? type$.List_CssValue_Combinator_2._as(t1) : t1).length;
  27123. t1 = _0_11;
  27124. }
  27125. t1 = t1 <= 0;
  27126. }
  27127. combinators = combinators1;
  27128. } else
  27129. t1 = true;
  27130. if (t1) {
  27131. t1 = combinators;
  27132. break $label0$0;
  27133. }
  27134. t1 = B.C_ListEquality.equals$2(0, combinators1, combinators2) ? combinators1 : _null;
  27135. break $label0$0;
  27136. }
  27137. return t1;
  27138. },
  27139. _mergeTrailingCombinators0(components1, components2, span, result) {
  27140. var _0_1, t1, _1_1, t2, t3, _4_1, _4_3, _4_5_isSet, _4_4, _4_5, component1, component2, t4, t5, choices, _2_0, _4_6, _4_7, followingComponents, nextComponents, _4_4_isSet, _4_9, _4_6_isSet, _4_7_isSet, _4_10_isSet, _4_10, next, following, _3_0, _4_4_isSet0, siblingComponents_case_0, siblingComponents_case_1, t6, combinator2, unified, t7, combinatorComponents_case_0, descendantComponents_case_0, t0, combinator_case_1, descendantComponents_case_1, combinatorComponents_case_1, _null = null;
  27141. if (result == null)
  27142. result = A.QueueList$(_null, type$.List_List_ComplexSelectorComponent_2);
  27143. $label0$0: {
  27144. _0_1 = components1.get$length(0);
  27145. if (_0_1 >= 1) {
  27146. t1 = components1.$index(0, _0_1 - 1).combinators;
  27147. break $label0$0;
  27148. }
  27149. t1 = B.List_empty16;
  27150. break $label0$0;
  27151. }
  27152. $label1$1: {
  27153. _1_1 = components2.get$length(0);
  27154. if (_1_1 >= 1) {
  27155. t2 = components2.$index(0, _1_1 - 1).combinators;
  27156. break $label1$1;
  27157. }
  27158. t2 = B.List_empty16;
  27159. break $label1$1;
  27160. }
  27161. t3 = t1.length;
  27162. if (t3 === 0 && t2.length === 0)
  27163. return result;
  27164. if (t3 > 1 || t2.length > 1)
  27165. return _null;
  27166. $label2$2: {
  27167. t3 = A.IterableExtension_get_firstOrNull(t1);
  27168. t3 = t3 == null ? _null : t3.value;
  27169. t2 = A.IterableExtension_get_firstOrNull(t2);
  27170. t2 = [t3, t2 == null ? _null : t2.value, components1, components2];
  27171. _4_1 = t2[0];
  27172. _4_3 = B.Combinator_55N0 === _4_1;
  27173. _4_5_isSet = _4_3;
  27174. if (_4_5_isSet) {
  27175. _4_4 = t2[1];
  27176. _4_5 = B.Combinator_55N0 === _4_4;
  27177. t3 = _4_5;
  27178. } else {
  27179. _4_4 = _null;
  27180. _4_5 = _4_4;
  27181. t3 = false;
  27182. }
  27183. if (t3) {
  27184. component1 = components1.removeLast$0(0);
  27185. component2 = components2.removeLast$0(0);
  27186. t2 = component1.selector;
  27187. t3 = component2.selector;
  27188. if (A.compoundIsSuperselector0(t2, t3, _null))
  27189. result.addFirst$1(A._setArrayType([A._setArrayType([component2], type$.JSArray_ComplexSelectorComponent_2)], type$.JSArray_List_ComplexSelectorComponent_2));
  27190. else {
  27191. t4 = type$.JSArray_ComplexSelectorComponent_2;
  27192. t5 = type$.JSArray_List_ComplexSelectorComponent_2;
  27193. if (A.compoundIsSuperselector0(t3, t2, _null))
  27194. result.addFirst$1(A._setArrayType([A._setArrayType([component1], t4)], t5));
  27195. else {
  27196. choices = A._setArrayType([A._setArrayType([component1, component2], t4), A._setArrayType([component2, component1], t4)], t5);
  27197. _2_0 = A.unifyCompound0(t2, t3);
  27198. if (_2_0 != null)
  27199. choices.push(A._setArrayType([new A.ComplexSelectorComponent0(_2_0, A.List_List$unmodifiable(A._setArrayType([B.JSArray_methods.get$first(t1)], type$.JSArray_CssValue_Combinator_2), type$.CssValue_Combinator_2), span)], t4));
  27200. result.addFirst$1(choices);
  27201. }
  27202. }
  27203. break $label2$2;
  27204. }
  27205. _4_6 = _null;
  27206. _4_7 = _null;
  27207. followingComponents = _null;
  27208. nextComponents = _null;
  27209. if (_4_3) {
  27210. if (_4_5_isSet) {
  27211. t3 = _4_4;
  27212. _4_4_isSet = _4_5_isSet;
  27213. } else {
  27214. _4_4 = t2[1];
  27215. t3 = _4_4;
  27216. _4_4_isSet = true;
  27217. }
  27218. _4_9 = B.Combinator_bOP0 === t3;
  27219. _4_6_isSet = _4_9;
  27220. if (_4_6_isSet) {
  27221. _4_6 = t2[2];
  27222. _4_7 = t2[3];
  27223. nextComponents = _4_7;
  27224. followingComponents = _4_6;
  27225. }
  27226. t3 = _4_6_isSet;
  27227. _4_7_isSet = t3;
  27228. } else {
  27229. _4_9 = _null;
  27230. _4_4_isSet = _4_5_isSet;
  27231. _4_6_isSet = false;
  27232. _4_7_isSet = false;
  27233. t3 = false;
  27234. }
  27235. _4_10_isSet = !t3;
  27236. if (_4_10_isSet) {
  27237. _4_10 = B.Combinator_bOP0 === _4_1;
  27238. t3 = _4_10;
  27239. if (t3) {
  27240. if (_4_5_isSet)
  27241. t3 = _4_5;
  27242. else {
  27243. if (_4_4_isSet)
  27244. t3 = _4_4;
  27245. else {
  27246. _4_4 = t2[1];
  27247. t3 = _4_4;
  27248. _4_4_isSet = true;
  27249. }
  27250. _4_5 = B.Combinator_55N0 === t3;
  27251. t3 = _4_5;
  27252. _4_5_isSet = true;
  27253. }
  27254. if (t3) {
  27255. if (_4_6_isSet)
  27256. nextComponents = _4_6;
  27257. else {
  27258. _4_6 = t2[2];
  27259. nextComponents = _4_6;
  27260. _4_6_isSet = true;
  27261. }
  27262. if (_4_7_isSet)
  27263. followingComponents = _4_7;
  27264. else {
  27265. _4_7 = t2[3];
  27266. followingComponents = _4_7;
  27267. _4_7_isSet = true;
  27268. }
  27269. }
  27270. } else
  27271. t3 = false;
  27272. } else {
  27273. _4_10 = _null;
  27274. t3 = true;
  27275. }
  27276. if (t3) {
  27277. next = nextComponents.removeLast$0(0);
  27278. following = followingComponents.removeLast$0(0);
  27279. t1 = following.selector;
  27280. t2 = next.selector;
  27281. t3 = type$.JSArray_ComplexSelectorComponent_2;
  27282. t4 = type$.JSArray_List_ComplexSelectorComponent_2;
  27283. if (A.compoundIsSuperselector0(t1, t2, _null))
  27284. result.addFirst$1(A._setArrayType([A._setArrayType([next], t3)], t4));
  27285. else {
  27286. t4 = A._setArrayType([A._setArrayType([following, next], t3)], t4);
  27287. _3_0 = A.unifyCompound0(t1, t2);
  27288. if (_3_0 != null)
  27289. t4.push(A._setArrayType([new A.ComplexSelectorComponent0(_3_0, A.List_List$unmodifiable(next.combinators, type$.CssValue_Combinator_2), span)], t3));
  27290. result.addFirst$1(t4);
  27291. }
  27292. break $label2$2;
  27293. }
  27294. t3 = _null;
  27295. if (B.Combinator_0mp0 === _4_1) {
  27296. _4_4_isSet0 = true;
  27297. if (_4_3)
  27298. t4 = _4_9;
  27299. else {
  27300. if (_4_4_isSet)
  27301. t4 = _4_4;
  27302. else {
  27303. _4_4 = t2[1];
  27304. t4 = _4_4;
  27305. _4_4_isSet = _4_4_isSet0;
  27306. }
  27307. _4_9 = B.Combinator_bOP0 === t4;
  27308. t4 = _4_9;
  27309. }
  27310. if (!t4)
  27311. if (_4_5_isSet)
  27312. t4 = _4_5;
  27313. else {
  27314. if (_4_4_isSet)
  27315. t4 = _4_4;
  27316. else {
  27317. _4_4 = t2[1];
  27318. t4 = _4_4;
  27319. _4_4_isSet = _4_4_isSet0;
  27320. }
  27321. _4_5 = B.Combinator_55N0 === t4;
  27322. t4 = _4_5;
  27323. }
  27324. else
  27325. t4 = true;
  27326. if (t4) {
  27327. if (_4_7_isSet)
  27328. siblingComponents_case_0 = _4_7;
  27329. else {
  27330. _4_7 = t2[3];
  27331. siblingComponents_case_0 = _4_7;
  27332. _4_7_isSet = true;
  27333. }
  27334. t3 = siblingComponents_case_0;
  27335. }
  27336. } else
  27337. t4 = false;
  27338. if (!t4) {
  27339. if (_4_10_isSet)
  27340. t4 = _4_10;
  27341. else {
  27342. _4_10 = B.Combinator_bOP0 === _4_1;
  27343. t4 = _4_10;
  27344. }
  27345. if (!t4)
  27346. t4 = _4_3;
  27347. else
  27348. t4 = true;
  27349. if (t4) {
  27350. if (_4_4_isSet)
  27351. t4 = _4_4;
  27352. else {
  27353. _4_4 = t2[1];
  27354. t4 = _4_4;
  27355. _4_4_isSet = true;
  27356. }
  27357. t4 = B.Combinator_0mp0 === t4;
  27358. if (t4) {
  27359. if (_4_6_isSet)
  27360. siblingComponents_case_1 = _4_6;
  27361. else {
  27362. _4_6 = t2[2];
  27363. siblingComponents_case_1 = _4_6;
  27364. _4_6_isSet = true;
  27365. }
  27366. t3 = siblingComponents_case_1;
  27367. }
  27368. } else
  27369. t4 = false;
  27370. } else
  27371. t4 = true;
  27372. if (t4) {
  27373. result.addFirst$1(A._setArrayType([A._setArrayType([t3.removeLast$0(0)], type$.JSArray_ComplexSelectorComponent_2)], type$.JSArray_List_ComplexSelectorComponent_2));
  27374. break $label2$2;
  27375. }
  27376. t3 = _4_1 == null;
  27377. t4 = !t3;
  27378. t5 = false;
  27379. if (t4) {
  27380. _4_4_isSet0 = true;
  27381. if (_4_4_isSet)
  27382. t6 = _4_4;
  27383. else {
  27384. _4_4 = t2[1];
  27385. t6 = _4_4;
  27386. _4_4_isSet = _4_4_isSet0;
  27387. }
  27388. if (t6 != null) {
  27389. if (_4_4_isSet)
  27390. combinator2 = _4_4;
  27391. else {
  27392. _4_4 = t2[1];
  27393. combinator2 = _4_4;
  27394. _4_4_isSet = _4_4_isSet0;
  27395. }
  27396. t5 = _4_1 === (combinator2 == null ? type$.Combinator_2._as(combinator2) : combinator2);
  27397. }
  27398. }
  27399. if (t5) {
  27400. unified = A.unifyCompound0(components1.removeLast$0(0).selector, components2.removeLast$0(0).selector);
  27401. if (unified == null)
  27402. return _null;
  27403. result.addFirst$1(A._setArrayType([A._setArrayType([new A.ComplexSelectorComponent0(unified, A.List_List$unmodifiable(A._setArrayType([B.JSArray_methods.get$first(t1)], type$.JSArray_CssValue_Combinator_2), type$.CssValue_Combinator_2), span)], type$.JSArray_ComplexSelectorComponent_2)], type$.JSArray_List_ComplexSelectorComponent_2));
  27404. break $label2$2;
  27405. }
  27406. t1 = _null;
  27407. t5 = _null;
  27408. t6 = _null;
  27409. t7 = false;
  27410. if (t4) {
  27411. if (_4_4_isSet)
  27412. t4 = _4_4;
  27413. else {
  27414. _4_4 = t2[1];
  27415. t4 = _4_4;
  27416. _4_4_isSet = true;
  27417. }
  27418. t4 = t4 == null;
  27419. if (t4) {
  27420. if (_4_6_isSet)
  27421. combinatorComponents_case_0 = _4_6;
  27422. else {
  27423. _4_6 = t2[2];
  27424. combinatorComponents_case_0 = _4_6;
  27425. _4_6_isSet = true;
  27426. }
  27427. if (_4_7_isSet)
  27428. descendantComponents_case_0 = _4_7;
  27429. else {
  27430. _4_7 = t2[3];
  27431. descendantComponents_case_0 = _4_7;
  27432. _4_7_isSet = true;
  27433. }
  27434. t1 = descendantComponents_case_0;
  27435. t6 = t1;
  27436. t1 = _4_1;
  27437. t5 = combinatorComponents_case_0;
  27438. }
  27439. t0 = t6;
  27440. t6 = t4;
  27441. t4 = t5;
  27442. t5 = t0;
  27443. } else {
  27444. t4 = t5;
  27445. t5 = t6;
  27446. t6 = t7;
  27447. }
  27448. if (!t6)
  27449. if (t3) {
  27450. if (_4_4_isSet)
  27451. t3 = _4_4;
  27452. else {
  27453. _4_4 = t2[1];
  27454. t3 = _4_4;
  27455. _4_4_isSet = true;
  27456. }
  27457. t3 = t3 != null;
  27458. if (t3) {
  27459. combinator_case_1 = _4_4_isSet ? _4_4 : t2[1];
  27460. if (combinator_case_1 == null)
  27461. combinator_case_1 = type$.Combinator_2._as(combinator_case_1);
  27462. descendantComponents_case_1 = _4_6_isSet ? _4_6 : t2[2];
  27463. combinatorComponents_case_1 = _4_7_isSet ? _4_7 : t2[3];
  27464. t1 = combinatorComponents_case_1;
  27465. t2 = descendantComponents_case_1;
  27466. t4 = t2;
  27467. t2 = t1;
  27468. t1 = combinator_case_1;
  27469. } else {
  27470. t2 = t4;
  27471. t4 = t5;
  27472. }
  27473. t0 = t4;
  27474. t4 = t3;
  27475. t3 = t0;
  27476. } else {
  27477. t3 = t5;
  27478. t2 = t4;
  27479. t4 = false;
  27480. }
  27481. else {
  27482. t3 = t5;
  27483. t2 = t4;
  27484. t4 = true;
  27485. }
  27486. if (t4) {
  27487. if (t1 === B.Combinator_0mp0) {
  27488. t1 = A.IterableExtension_get_lastOrNull(t3);
  27489. t1 = t1 == null ? _null : A.compoundIsSuperselector0(t1.selector, t2.get$last(t2).selector, _null);
  27490. t1 = t1 === true;
  27491. } else
  27492. t1 = false;
  27493. if (t1)
  27494. t3.removeLast$0(0);
  27495. result.addFirst$1(A._setArrayType([A._setArrayType([t2.removeLast$0(0)], type$.JSArray_ComplexSelectorComponent_2)], type$.JSArray_List_ComplexSelectorComponent_2));
  27496. break $label2$2;
  27497. }
  27498. return _null;
  27499. }
  27500. return A._mergeTrailingCombinators0(components1, components2, span, result);
  27501. },
  27502. _mustUnify0(complex1, complex2) {
  27503. var t2, t3, t4,
  27504. t1 = A.LinkedHashSet_LinkedHashSet$_empty(type$.SimpleSelector_2);
  27505. for (t2 = J.get$iterator$ax(complex1); t2.moveNext$0();)
  27506. 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();)
  27507. t1.add$1(0, t3.get$current(0));
  27508. if (t1._collection$_length === 0)
  27509. return false;
  27510. return J.any$1$ax(complex2, new A._mustUnify_closure0(t1));
  27511. },
  27512. _isUnique0(simple) {
  27513. var t1;
  27514. if (!(simple instanceof A.IDSelector0))
  27515. t1 = simple instanceof A.PseudoSelector0 && !simple.isClass;
  27516. else
  27517. t1 = true;
  27518. return t1;
  27519. },
  27520. _chunks0(queue1, queue2, done, $T) {
  27521. var chunk2, _0_4, _0_7_isSet, _0_1, _0_7, _0_5, chunk, _0_5_isSet, t2,
  27522. t1 = $T._eval$1("JSArray<0>"),
  27523. chunk1 = A._setArrayType([], t1);
  27524. for (; !done.call$1(queue1);)
  27525. chunk1.push(queue1.removeFirst$0());
  27526. chunk2 = A._setArrayType([], t1);
  27527. for (; !done.call$1(queue2);)
  27528. chunk2.push(queue2.removeFirst$0());
  27529. $label0$0: {
  27530. _0_4 = chunk1.length <= 0;
  27531. _0_7_isSet = _0_4;
  27532. _0_1 = chunk1;
  27533. if (_0_7_isSet) {
  27534. _0_7 = chunk2.length <= 0;
  27535. t1 = _0_7;
  27536. _0_5 = chunk2;
  27537. } else {
  27538. _0_7 = null;
  27539. _0_5 = null;
  27540. t1 = false;
  27541. }
  27542. if (t1) {
  27543. t1 = A._setArrayType([], $T._eval$1("JSArray<List<0>>"));
  27544. break $label0$0;
  27545. }
  27546. if (_0_4)
  27547. if (_0_7_isSet) {
  27548. chunk = _0_5;
  27549. _0_5_isSet = _0_7_isSet;
  27550. } else {
  27551. chunk = chunk2;
  27552. _0_5 = chunk;
  27553. _0_5_isSet = true;
  27554. }
  27555. else {
  27556. _0_5_isSet = _0_7_isSet;
  27557. chunk = null;
  27558. }
  27559. if (!_0_4) {
  27560. if (_0_7_isSet)
  27561. t1 = _0_7;
  27562. else {
  27563. _0_7 = (_0_5_isSet ? _0_5 : chunk2).length <= 0;
  27564. t1 = _0_7;
  27565. }
  27566. chunk = _0_1;
  27567. } else
  27568. t1 = true;
  27569. if (t1) {
  27570. t1 = A._setArrayType([chunk], $T._eval$1("JSArray<List<0>>"));
  27571. break $label0$0;
  27572. }
  27573. t1 = A.List_List$_of(chunk1, $T);
  27574. B.JSArray_methods.addAll$1(t1, chunk2);
  27575. t2 = A.List_List$_of(chunk2, $T);
  27576. B.JSArray_methods.addAll$1(t2, chunk1);
  27577. t1 = A._setArrayType([t1, t2], $T._eval$1("JSArray<List<0>>"));
  27578. break $label0$0;
  27579. }
  27580. return t1;
  27581. },
  27582. paths0(choices, $T) {
  27583. 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));
  27584. },
  27585. _groupSelectors0(complex) {
  27586. var t2, t3, t4,
  27587. groups = A.QueueList$(null, type$.List_ComplexSelectorComponent_2),
  27588. t1 = type$.JSArray_ComplexSelectorComponent_2,
  27589. group = A._setArrayType([], t1);
  27590. for (t2 = complex.$ti, t3 = new A.ListIterator(complex, complex.get$length(0), t2._eval$1("ListIterator<ListBase.E>")), t2 = t2._eval$1("ListBase.E"); t3.moveNext$0();) {
  27591. t4 = t3.__internal$_current;
  27592. if (t4 == null)
  27593. t4 = t2._as(t4);
  27594. group.push(t4);
  27595. if (t4.combinators.length === 0) {
  27596. groups._queue_list$_add$1(group);
  27597. group = A._setArrayType([], t1);
  27598. }
  27599. }
  27600. if (group.length !== 0)
  27601. groups._queue_list$_add$1(group);
  27602. return groups;
  27603. },
  27604. listIsSuperselector0(list1, list2) {
  27605. return B.JSArray_methods.every$1(list2, new A.listIsSuperselector_closure0(list1));
  27606. },
  27607. _complexIsParentSuperselector0(complex1, complex2) {
  27608. var t1, base, t2;
  27609. if (J.get$length$asx(complex1) > J.get$length$asx(complex2))
  27610. return false;
  27611. t1 = $.$get$bogusSpan0();
  27612. base = new A.ComplexSelectorComponent0(A.CompoundSelector$0(A._setArrayType([new A.PlaceholderSelector0("<temp>", t1)], type$.JSArray_SimpleSelector_2), t1), A.List_List$unmodifiable(B.List_empty16, type$.CssValue_Combinator_2), t1);
  27613. t1 = type$.ComplexSelectorComponent_2;
  27614. t2 = A.List_List$_of(complex1, t1);
  27615. t2.push(base);
  27616. t1 = A.List_List$_of(complex2, t1);
  27617. t1.push(base);
  27618. return A.complexIsSuperselector0(t2, t1);
  27619. },
  27620. complexIsSuperselector0(complex1, complex2) {
  27621. var t1, t2, previousCombinator, i1, i2, remaining1, remaining2, component1, t3, t4, endOfSubselector, component2, t5, combinator1, _null = null;
  27622. if (B.JSArray_methods.get$last(complex1).combinators.length !== 0)
  27623. return false;
  27624. if (B.JSArray_methods.get$last(complex2).combinators.length !== 0)
  27625. return false;
  27626. for (t1 = A._arrayInstanceType(complex2), t2 = t1._precomputed1, t1 = t1._eval$1("SubListIterable<1>"), previousCombinator = _null, i1 = 0, i2 = 0; true; previousCombinator = combinator1) {
  27627. remaining1 = complex1.length - i1;
  27628. remaining2 = complex2.length - i2;
  27629. if (remaining1 === 0 || remaining2 === 0)
  27630. return false;
  27631. if (remaining1 > remaining2)
  27632. return false;
  27633. component1 = complex1[i1];
  27634. t3 = component1.combinators;
  27635. if (t3.length > 1)
  27636. return false;
  27637. if (remaining1 === 1)
  27638. if (B.JSArray_methods.any$1(complex2, new A.complexIsSuperselector_closure1()))
  27639. return false;
  27640. else {
  27641. t1 = component1.selector;
  27642. t2 = B.JSArray_methods.get$last(complex2).selector;
  27643. return A.compoundIsSuperselector0(t1, t2, t1.get$hasComplicatedSuperselectorSemantics() ? B.JSArray_methods.sublist$2(complex2, i2, complex2.length - 1) : _null);
  27644. }
  27645. for (t4 = component1.selector, endOfSubselector = i2; true;) {
  27646. component2 = complex2[endOfSubselector];
  27647. if (component2.combinators.length > 1)
  27648. return false;
  27649. t5 = t4.get$hasComplicatedSuperselectorSemantics() ? B.JSArray_methods.sublist$2(complex2, i2, endOfSubselector) : _null;
  27650. if (A.compoundIsSuperselector0(t4, component2.selector, t5))
  27651. break;
  27652. ++endOfSubselector;
  27653. if (endOfSubselector === complex2.length - 1)
  27654. return false;
  27655. }
  27656. t4 = new A.SubListIterable(complex2, 0, endOfSubselector, t1);
  27657. t4.SubListIterable$3(complex2, 0, endOfSubselector, t2);
  27658. if (!A._compatibleWithPreviousCombinator0(previousCombinator, t4.skip$1(0, i2)))
  27659. return false;
  27660. component2 = complex2[endOfSubselector];
  27661. combinator1 = A.IterableExtension_get_firstOrNull(t3);
  27662. if (!A._isSupercombinator0(combinator1, A.IterableExtension_get_firstOrNull(component2.combinators)))
  27663. return false;
  27664. ++i1;
  27665. i2 = endOfSubselector + 1;
  27666. if (complex1.length - i1 === 1) {
  27667. t3 = combinator1 == null;
  27668. if (J.$eq$(t3 ? _null : combinator1.value, B.Combinator_55N0)) {
  27669. t3 = complex2.length - 1;
  27670. t4 = new A.SubListIterable(complex2, 0, t3, t1);
  27671. t4.SubListIterable$3(complex2, 0, t3, t2);
  27672. if (!t4.skip$1(0, i2).every$1(0, new A.complexIsSuperselector_closure2(combinator1)))
  27673. return false;
  27674. } else if (!t3)
  27675. if (complex2.length - i2 > 1)
  27676. return false;
  27677. }
  27678. }
  27679. },
  27680. _compatibleWithPreviousCombinator0(previous, parents) {
  27681. if (parents.get$isEmpty(parents))
  27682. return true;
  27683. if (previous == null)
  27684. return true;
  27685. if (previous.value !== B.Combinator_55N0)
  27686. return false;
  27687. return parents.every$1(0, new A._compatibleWithPreviousCombinator_closure0());
  27688. },
  27689. _isSupercombinator0(combinator1, combinator2) {
  27690. var t2, t3,
  27691. t1 = true;
  27692. if (!J.$eq$(combinator1, combinator2)) {
  27693. t2 = combinator1 == null;
  27694. if (t2)
  27695. t3 = J.$eq$(combinator2 == null ? null : combinator2.value, B.Combinator_0mp0);
  27696. else
  27697. t3 = false;
  27698. if (!t3)
  27699. if (J.$eq$(t2 ? null : combinator1.value, B.Combinator_55N0))
  27700. t1 = J.$eq$(combinator2 == null ? null : combinator2.value, B.Combinator_bOP0);
  27701. else
  27702. t1 = false;
  27703. }
  27704. return t1;
  27705. },
  27706. compoundIsSuperselector0(compound1, compound2, parents) {
  27707. var t1, _0_1, _0_5, _0_5_isSet, _0_50, index1, pseudo2, index2, t2, t3, pseudo1, t4, t5, _i, simple1, _null = null;
  27708. if (!compound1.get$hasComplicatedSuperselectorSemantics() && !compound2.get$hasComplicatedSuperselectorSemantics()) {
  27709. t1 = compound1.components;
  27710. if (t1.length > compound2.components.length)
  27711. return false;
  27712. return B.JSArray_methods.every$1(t1, new A.compoundIsSuperselector_closure0(compound2));
  27713. }
  27714. _0_1 = A._findPseudoElementIndexed0(compound1);
  27715. _0_5 = A._findPseudoElementIndexed0(compound2);
  27716. t1 = type$.Record_2_nullable_Object_and_nullable_Object;
  27717. _0_5_isSet = t1._is(_0_1);
  27718. _0_50 = _null;
  27719. index1 = _null;
  27720. pseudo2 = _null;
  27721. index2 = _null;
  27722. t2 = false;
  27723. if (_0_5_isSet) {
  27724. t3 = _0_1 == null;
  27725. pseudo1 = (t3 ? t1._as(_0_1) : _0_1)._0;
  27726. index1 = (t3 ? t1._as(_0_1) : _0_1)._1;
  27727. t2 = t1._is(_0_5);
  27728. if (t2) {
  27729. t3 = _0_5 == null;
  27730. pseudo2 = (t3 ? t1._as(_0_5) : _0_5)._0;
  27731. index2 = (t3 ? t1._as(_0_5) : _0_5)._1;
  27732. }
  27733. t1 = t2;
  27734. _0_50 = _0_5;
  27735. } else {
  27736. t1 = t2;
  27737. pseudo1 = _null;
  27738. }
  27739. if (t1) {
  27740. if (pseudo1.isSuperselector$1(pseudo2)) {
  27741. t1 = compound1.components;
  27742. t2 = type$.int;
  27743. t3 = A._arrayInstanceType(t1)._precomputed1;
  27744. t4 = compound2.components;
  27745. t5 = A._arrayInstanceType(t4)._precomputed1;
  27746. t1 = A._compoundComponentsIsSuperselector0(A.SubListIterable$(t1, 0, A.checkNotNullable(index1, "count", t2), t3), A.SubListIterable$(t4, 0, A.checkNotNullable(index2, "count", t2), t5), parents) && A._compoundComponentsIsSuperselector0(A.SubListIterable$(t1, index1 + 1, _null, t3), A.SubListIterable$(t4, index2 + 1, _null, t5), parents);
  27747. } else
  27748. t1 = false;
  27749. return t1;
  27750. }
  27751. if (_0_1 == null)
  27752. t1 = (_0_5_isSet ? _0_50 : _0_5) != null;
  27753. else
  27754. t1 = true;
  27755. if (t1)
  27756. return false;
  27757. for (t1 = compound1.components, t2 = t1.length, t3 = compound2.components, _i = 0; _i < t2; ++_i) {
  27758. simple1 = t1[_i];
  27759. if (simple1 instanceof A.PseudoSelector0)
  27760. t4 = simple1.selector != null;
  27761. else
  27762. t4 = false;
  27763. if (t4) {
  27764. if (!A._selectorPseudoIsSuperselector0(simple1, compound2, parents))
  27765. return false;
  27766. } else if (!B.JSArray_methods.any$1(t3, simple1.get$isSuperselector()))
  27767. return false;
  27768. }
  27769. return true;
  27770. },
  27771. _findPseudoElementIndexed0(compound) {
  27772. var t1, t2, i, simple;
  27773. for (t1 = compound.components, t2 = t1.length, i = 0; i < t2; ++i) {
  27774. simple = t1[i];
  27775. if (simple instanceof A.PseudoSelector0 && !simple.isClass)
  27776. return new A._Record_2(simple, i);
  27777. }
  27778. return null;
  27779. },
  27780. _compoundComponentsIsSuperselector0(compound1, compound2, parents) {
  27781. var t1;
  27782. if (compound1.get$length(0) === 0)
  27783. return true;
  27784. if (compound2.get$length(0) === 0)
  27785. compound2 = A._setArrayType([new A.UniversalSelector0("*", $.$get$bogusSpan0())], type$.JSArray_SimpleSelector_2);
  27786. t1 = $.$get$bogusSpan0();
  27787. return A.compoundIsSuperselector0(A.CompoundSelector$0(compound1, t1), A.CompoundSelector$0(compound2, t1), parents);
  27788. },
  27789. _selectorPseudoIsSuperselector0(pseudo1, compound2, parents) {
  27790. var selector1 = pseudo1.selector;
  27791. if (selector1 == null)
  27792. throw A.wrapException(A.ArgumentError$("Selector " + pseudo1.toString$0(0) + " must have a selector argument.", null));
  27793. switch (pseudo1.normalizedName) {
  27794. case "is":
  27795. case "matches":
  27796. case "any":
  27797. case "where":
  27798. 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));
  27799. case "has":
  27800. case "host":
  27801. case "host-context":
  27802. return A._selectorPseudoArgs0(compound2, pseudo1.name, true).any$1(0, new A._selectorPseudoIsSuperselector_closure8(selector1));
  27803. case "slotted":
  27804. return A._selectorPseudoArgs0(compound2, pseudo1.name, false).any$1(0, new A._selectorPseudoIsSuperselector_closure9(selector1));
  27805. case "not":
  27806. return B.JSArray_methods.every$1(selector1.components, new A._selectorPseudoIsSuperselector_closure10(compound2, pseudo1));
  27807. case "current":
  27808. return A._selectorPseudoArgs0(compound2, pseudo1.name, true).any$1(0, new A._selectorPseudoIsSuperselector_closure11(selector1));
  27809. case "nth-child":
  27810. case "nth-last-child":
  27811. return B.JSArray_methods.any$1(compound2.components, new A._selectorPseudoIsSuperselector_closure12(pseudo1, selector1));
  27812. default:
  27813. throw A.wrapException("unreachable");
  27814. }
  27815. },
  27816. _selectorPseudoArgs0(compound, $name, isClass) {
  27817. var t1 = type$.WhereTypeIterable_PseudoSelector_2;
  27818. return new A.NonNullsIterable(new A.MappedIterable(new A.WhereIterable(new A.WhereTypeIterable(compound.components, t1), new A._selectorPseudoArgs_closure1(isClass, $name), t1._eval$1("WhereIterable<Iterable.E>")), new A._selectorPseudoArgs_closure2(), t1._eval$1("MappedIterable<Iterable.E,SelectorList0?>")), type$.NonNullsIterable_SelectorList_2);
  27819. },
  27820. unifyComplex_closure0: function unifyComplex_closure0() {
  27821. },
  27822. _weaveParents_closure3: function _weaveParents_closure3(t0) {
  27823. this.span = t0;
  27824. },
  27825. _weaveParents_closure4: function _weaveParents_closure4(t0) {
  27826. this.group = t0;
  27827. },
  27828. _weaveParents_closure5: function _weaveParents_closure5() {
  27829. },
  27830. _weaveParents_closure6: function _weaveParents_closure6() {
  27831. },
  27832. _mustUnify_closure0: function _mustUnify_closure0(t0) {
  27833. this.uniqueSelectors = t0;
  27834. },
  27835. _mustUnify__closure0: function _mustUnify__closure0(t0) {
  27836. this.uniqueSelectors = t0;
  27837. },
  27838. paths_closure0: function paths_closure0(t0) {
  27839. this.T = t0;
  27840. },
  27841. paths__closure0: function paths__closure0(t0, t1) {
  27842. this.paths = t0;
  27843. this.T = t1;
  27844. },
  27845. paths___closure0: function paths___closure0(t0, t1) {
  27846. this.option = t0;
  27847. this.T = t1;
  27848. },
  27849. listIsSuperselector_closure0: function listIsSuperselector_closure0(t0) {
  27850. this.list1 = t0;
  27851. },
  27852. listIsSuperselector__closure0: function listIsSuperselector__closure0(t0) {
  27853. this.complex1 = t0;
  27854. },
  27855. complexIsSuperselector_closure1: function complexIsSuperselector_closure1() {
  27856. },
  27857. complexIsSuperselector_closure2: function complexIsSuperselector_closure2(t0) {
  27858. this.combinator1 = t0;
  27859. },
  27860. _compatibleWithPreviousCombinator_closure0: function _compatibleWithPreviousCombinator_closure0() {
  27861. },
  27862. compoundIsSuperselector_closure0: function compoundIsSuperselector_closure0(t0) {
  27863. this.compound2 = t0;
  27864. },
  27865. _selectorPseudoIsSuperselector_closure6: function _selectorPseudoIsSuperselector_closure6(t0) {
  27866. this.selector1 = t0;
  27867. },
  27868. _selectorPseudoIsSuperselector_closure7: function _selectorPseudoIsSuperselector_closure7(t0, t1) {
  27869. this.parents = t0;
  27870. this.compound2 = t1;
  27871. },
  27872. _selectorPseudoIsSuperselector_closure8: function _selectorPseudoIsSuperselector_closure8(t0) {
  27873. this.selector1 = t0;
  27874. },
  27875. _selectorPseudoIsSuperselector_closure9: function _selectorPseudoIsSuperselector_closure9(t0) {
  27876. this.selector1 = t0;
  27877. },
  27878. _selectorPseudoIsSuperselector_closure10: function _selectorPseudoIsSuperselector_closure10(t0, t1) {
  27879. this.compound2 = t0;
  27880. this.pseudo1 = t1;
  27881. },
  27882. _selectorPseudoIsSuperselector__closure0: function _selectorPseudoIsSuperselector__closure0(t0, t1) {
  27883. this.complex = t0;
  27884. this.pseudo1 = t1;
  27885. },
  27886. _selectorPseudoIsSuperselector___closure1: function _selectorPseudoIsSuperselector___closure1(t0) {
  27887. this.simple2 = t0;
  27888. },
  27889. _selectorPseudoIsSuperselector___closure2: function _selectorPseudoIsSuperselector___closure2(t0) {
  27890. this.simple2 = t0;
  27891. },
  27892. _selectorPseudoIsSuperselector_closure11: function _selectorPseudoIsSuperselector_closure11(t0) {
  27893. this.selector1 = t0;
  27894. },
  27895. _selectorPseudoIsSuperselector_closure12: function _selectorPseudoIsSuperselector_closure12(t0, t1) {
  27896. this.pseudo1 = t0;
  27897. this.selector1 = t1;
  27898. },
  27899. _selectorPseudoArgs_closure1: function _selectorPseudoArgs_closure1(t0, t1) {
  27900. this.isClass = t0;
  27901. this.name = t1;
  27902. },
  27903. _selectorPseudoArgs_closure2: function _selectorPseudoArgs_closure2() {
  27904. },
  27905. globalFunctions_closure0: function globalFunctions_closure0() {
  27906. },
  27907. GamutMapMethod_GamutMapMethod$fromName0($name) {
  27908. var t1;
  27909. $label0$0: {
  27910. if ("clip" === $name) {
  27911. t1 = B.ClipGamutMap_clip0;
  27912. break $label0$0;
  27913. }
  27914. if ("local-minde" === $name) {
  27915. t1 = B.LocalMindeGamutMap_A2x0;
  27916. break $label0$0;
  27917. }
  27918. t1 = A.throwExpression(A.SassScriptException$0('Unknown gamut map method "' + $name + '".', null));
  27919. }
  27920. return t1;
  27921. },
  27922. GamutMapMethod0: function GamutMapMethod0() {
  27923. },
  27924. HslColorSpace0: function HslColorSpace0(t0, t1) {
  27925. this.name = t0;
  27926. this._space$_channels = t1;
  27927. },
  27928. HwbColorSpace0: function HwbColorSpace0(t0, t1) {
  27929. this.name = t0;
  27930. this._space$_channels = t1;
  27931. },
  27932. HwbColorSpace_convert_toRgb0: function HwbColorSpace_convert_toRgb0(t0, t1) {
  27933. this._box_0 = t0;
  27934. this.factor = t1;
  27935. },
  27936. IDSelector0: function IDSelector0(t0, t1) {
  27937. this.name = t0;
  27938. this.span = t1;
  27939. },
  27940. IDSelector_unify_closure0: function IDSelector_unify_closure0(t0) {
  27941. this.$this = t0;
  27942. },
  27943. IfExpression0: function IfExpression0(t0, t1) {
  27944. this.$arguments = t0;
  27945. this.span = t1;
  27946. },
  27947. IfClause$0(expression, children) {
  27948. var t1 = A.List_List$unmodifiable(children, type$.Statement_2);
  27949. return new A.IfClause0(expression, t1, B.JSArray_methods.any$1(t1, new A.IfRuleClause$__closure0()));
  27950. },
  27951. ElseClause$0(children) {
  27952. var t1 = A.List_List$unmodifiable(children, type$.Statement_2);
  27953. return new A.ElseClause0(t1, B.JSArray_methods.any$1(t1, new A.IfRuleClause$__closure0()));
  27954. },
  27955. IfRule0: function IfRule0(t0, t1, t2) {
  27956. this.clauses = t0;
  27957. this.lastClause = t1;
  27958. this.span = t2;
  27959. },
  27960. IfRule_toString_closure0: function IfRule_toString_closure0() {
  27961. },
  27962. IfRuleClause0: function IfRuleClause0() {
  27963. },
  27964. IfRuleClause$__closure0: function IfRuleClause$__closure0() {
  27965. },
  27966. IfRuleClause$___closure0: function IfRuleClause$___closure0() {
  27967. },
  27968. IfClause0: function IfClause0(t0, t1, t2) {
  27969. this.expression = t0;
  27970. this.children = t1;
  27971. this.hasDeclarations = t2;
  27972. },
  27973. ElseClause0: function ElseClause0(t0, t1) {
  27974. this.children = t0;
  27975. this.hasDeclarations = t1;
  27976. },
  27977. jsToDartList(list) {
  27978. return self.immutable.isOrderedMap(list) ? J.toArray$0$x(type$.ImmutableList._as(list)) : type$.List_dynamic._as(list);
  27979. },
  27980. dartMapToImmutableMap(dartMap) {
  27981. var t1, t2,
  27982. immutableMap = J.asMutable$0$x(new self.immutable.OrderedMap());
  27983. for (t1 = A.MapExtensions_get_pairs0(dartMap, type$.Object, type$.nullable_Object), t1 = t1.get$iterator(t1); t1.moveNext$0();) {
  27984. t2 = t1.get$current(t1);
  27985. immutableMap = J.$set$2$x(immutableMap, t2._0, t2._1);
  27986. }
  27987. return J.asImmutable$0$x(immutableMap);
  27988. },
  27989. immutableMapToDartMap(immutableMap) {
  27990. var dartMap = A.LinkedHashMap_LinkedHashMap$_empty(type$.Object, type$.nullable_Object);
  27991. J.forEach$1$ax(immutableMap, A.allowInterop(new A.immutableMapToDartMap_closure(dartMap)));
  27992. return dartMap;
  27993. },
  27994. ImmutableList0: function ImmutableList0() {
  27995. },
  27996. ImmutableMap0: function ImmutableMap0() {
  27997. },
  27998. immutableMapToDartMap_closure: function immutableMapToDartMap_closure(t0) {
  27999. this.dartMap = t0;
  28000. },
  28001. NodeImporter__addSassPath(includePaths) {
  28002. return new A._SyncStarIterable(A.NodeImporter__addSassPath$body(includePaths), type$._SyncStarIterable_String);
  28003. },
  28004. NodeImporter__addSassPath$body($async$includePaths) {
  28005. return function() {
  28006. var includePaths = $async$includePaths;
  28007. var $async$goto = 0, $async$handler = 2, $async$errorStack = [], sassPath, t1;
  28008. return function $async$NodeImporter__addSassPath($async$iterator, $async$errorCode, $async$result) {
  28009. if ($async$errorCode === 1) {
  28010. $async$errorStack.push($async$result);
  28011. $async$goto = $async$handler;
  28012. }
  28013. while (true)
  28014. switch ($async$goto) {
  28015. case 0:
  28016. // Function start
  28017. $async$goto = 3;
  28018. return $async$iterator._yieldStar$1(includePaths);
  28019. case 3:
  28020. // after yield
  28021. sassPath = A.getEnvironmentVariable0("SASS_PATH");
  28022. if (sassPath == null) {
  28023. // goto return
  28024. $async$goto = 1;
  28025. break;
  28026. }
  28027. t1 = A.isNodeJs() ? self.process : null;
  28028. $async$goto = 4;
  28029. return $async$iterator._yieldStar$1(A._setArrayType(sassPath.split(J.$eq$(t1 == null ? null : J.get$platform$x(t1), "win32") ? ";" : ":"), type$.JSArray_String));
  28030. case 4:
  28031. // after yield
  28032. case 1:
  28033. // return
  28034. return 0;
  28035. case 2:
  28036. // rethrow
  28037. return $async$iterator._datum = $async$errorStack.at(-1), 3;
  28038. }
  28039. };
  28040. };
  28041. },
  28042. NodeImporter: function NodeImporter(t0, t1, t2) {
  28043. this._implementation$_options = t0;
  28044. this._includePaths = t1;
  28045. this._implementation$_importers = t2;
  28046. },
  28047. NodeImporter_load_closure: function NodeImporter_load_closure(t0, t1, t2, t3, t4) {
  28048. var _ = this;
  28049. _.$this = t0;
  28050. _.importer = t1;
  28051. _.forImport = t2;
  28052. _.url = t3;
  28053. _.previousString = t4;
  28054. },
  28055. NodeImporter__tryPath_closure: function NodeImporter__tryPath_closure(t0) {
  28056. this.path = t0;
  28057. },
  28058. NodeImporter__tryPath_closure0: function NodeImporter__tryPath_closure0() {
  28059. },
  28060. NodeImporter__callImporterAsync_closure: function NodeImporter__callImporterAsync_closure(t0, t1, t2, t3, t4, t5) {
  28061. var _ = this;
  28062. _.$this = t0;
  28063. _.importer = t1;
  28064. _.forImport = t2;
  28065. _.url = t3;
  28066. _.previousString = t4;
  28067. _.completer = t5;
  28068. },
  28069. ModifiableCssImport0: function ModifiableCssImport0(t0, t1, t2) {
  28070. var _ = this;
  28071. _.url = t0;
  28072. _.modifiers = t1;
  28073. _.span = t2;
  28074. _._node$_indexInParent = _._node$_parent = null;
  28075. _.isGroupEnd = false;
  28076. },
  28077. ImportCache$0(importers, loadPaths, packageConfig) {
  28078. var t1 = type$.nullable_Record_3_Importer_and_Uri_and_Uri_originalUrl_2,
  28079. t2 = type$.Record_3_Importer_and_Uri_and_bool_forImport_2,
  28080. t3 = type$.Uri;
  28081. return new A.ImportCache0(A.ImportCache__toImporters0(importers, loadPaths, packageConfig), A.LinkedHashMap_LinkedHashMap$_empty(type$.Record_2_Uri_and_bool_forImport, t1), A.LinkedHashMap_LinkedHashMap$_empty(t2, t1), A.LinkedHashMap_LinkedHashMap$_empty(t2, t3), A.LinkedHashMap_LinkedHashMap$_empty(t3, type$.nullable_Stylesheet_2), A.LinkedHashMap_LinkedHashMap$_empty(t3, type$.ImporterResult_2), A.LinkedHashMap_LinkedHashMap$_empty(t3, type$.DateTime));
  28082. },
  28083. ImportCache$none() {
  28084. var t1 = type$.nullable_Record_3_Importer_and_Uri_and_Uri_originalUrl_2,
  28085. t2 = type$.Record_3_Importer_and_Uri_and_bool_forImport_2,
  28086. t3 = type$.Uri;
  28087. return new A.ImportCache0(B.List_empty27, A.LinkedHashMap_LinkedHashMap$_empty(type$.Record_2_Uri_and_bool_forImport, t1), A.LinkedHashMap_LinkedHashMap$_empty(t2, t1), A.LinkedHashMap_LinkedHashMap$_empty(t2, t3), A.LinkedHashMap_LinkedHashMap$_empty(t3, type$.nullable_Stylesheet_2), A.LinkedHashMap_LinkedHashMap$_empty(t3, type$.ImporterResult_2), A.LinkedHashMap_LinkedHashMap$_empty(t3, type$.DateTime));
  28088. },
  28089. ImportCache__toImporters0(importers, loadPaths, packageConfig) {
  28090. var t1, t2, t3, t4, _i, path, _null = null,
  28091. sassPath = A.getEnvironmentVariable0("SASS_PATH");
  28092. if (A.isBrowser()) {
  28093. t1 = A._setArrayType([], type$.JSArray_Importer_2);
  28094. if (importers != null)
  28095. B.JSArray_methods.addAll$1(t1, importers);
  28096. return t1;
  28097. }
  28098. t1 = A._setArrayType([], type$.JSArray_Importer_2);
  28099. if (importers != null)
  28100. B.JSArray_methods.addAll$1(t1, importers);
  28101. if (loadPaths != null)
  28102. for (t2 = J.get$iterator$ax(loadPaths); t2.moveNext$0();) {
  28103. t3 = t2.get$current(t2);
  28104. t1.push(new A.FilesystemImporter0($.$get$context().absolute$15(t3, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null), false));
  28105. }
  28106. if (sassPath != null) {
  28107. t2 = A.isNodeJs() ? self.process : _null;
  28108. t3 = sassPath.split(J.$eq$(t2 == null ? _null : J.get$platform$x(t2), "win32") ? ";" : ":");
  28109. t4 = t3.length;
  28110. _i = 0;
  28111. for (; _i < t4; ++_i) {
  28112. path = t3[_i];
  28113. t1.push(new A.FilesystemImporter0($.$get$context().absolute$15(path, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null), false));
  28114. }
  28115. }
  28116. return t1;
  28117. },
  28118. ImportCache0: function ImportCache0(t0, t1, t2, t3, t4, t5, t6) {
  28119. var _ = this;
  28120. _._import_cache$_importers = t0;
  28121. _._import_cache$_canonicalizeCache = t1;
  28122. _._import_cache$_perImporterCanonicalizeCache = t2;
  28123. _._import_cache$_nonCanonicalRelativeUrls = t3;
  28124. _._import_cache$_importCache = t4;
  28125. _._import_cache$_resultsCache = t5;
  28126. _._import_cache$_loadTimes = t6;
  28127. },
  28128. ImportCache_canonicalize_closure0: function ImportCache_canonicalize_closure0(t0, t1, t2, t3, t4, t5, t6) {
  28129. var _ = this;
  28130. _.$this = t0;
  28131. _.baseImporter = t1;
  28132. _.resolvedUrl = t2;
  28133. _.baseUrl = t3;
  28134. _.forImport = t4;
  28135. _.key = t5;
  28136. _.url = t6;
  28137. },
  28138. ImportCache__canonicalize_closure0: function ImportCache__canonicalize_closure0(t0, t1) {
  28139. this.importer = t0;
  28140. this.url = t1;
  28141. },
  28142. ImportCache_importCanonical_closure0: function ImportCache_importCanonical_closure0(t0, t1, t2, t3) {
  28143. var _ = this;
  28144. _.$this = t0;
  28145. _.importer = t1;
  28146. _.canonicalUrl = t2;
  28147. _.originalUrl = t3;
  28148. },
  28149. ImportCache_humanize_closure3: function ImportCache_humanize_closure3(t0) {
  28150. this.canonicalUrl = t0;
  28151. },
  28152. ImportCache_humanize_closure4: function ImportCache_humanize_closure4() {
  28153. },
  28154. ImportCache_humanize_closure5: function ImportCache_humanize_closure5() {
  28155. },
  28156. ImportCache_humanize_closure6: function ImportCache_humanize_closure6(t0) {
  28157. this.canonicalUrl = t0;
  28158. },
  28159. ImportRule0: function ImportRule0(t0, t1) {
  28160. this.imports = t0;
  28161. this.span = t1;
  28162. },
  28163. JSImporter: function JSImporter() {
  28164. },
  28165. JSImporterResult: function JSImporterResult() {
  28166. },
  28167. Importer0: function Importer0() {
  28168. },
  28169. NodeImporterResult0: function NodeImporterResult0() {
  28170. },
  28171. IncludeRule0: function IncludeRule0(t0, t1, t2, t3, t4, t5) {
  28172. var _ = this;
  28173. _.namespace = t0;
  28174. _.name = t1;
  28175. _.originalName = t2;
  28176. _.$arguments = t3;
  28177. _.content = t4;
  28178. _.span = t5;
  28179. },
  28180. InterpolatedFunctionExpression0: function InterpolatedFunctionExpression0(t0, t1, t2) {
  28181. this.name = t0;
  28182. this.$arguments = t1;
  28183. this.span = t2;
  28184. },
  28185. Interpolation$0(contents, spans, span) {
  28186. var t1 = new A.Interpolation0(A.List_List$unmodifiable(contents, type$.Object), A.List_List$unmodifiable(spans, type$.nullable_FileSpan), span);
  28187. t1.Interpolation$30(contents, spans, span);
  28188. return t1;
  28189. },
  28190. Interpolation0: function Interpolation0(t0, t1, t2) {
  28191. this.contents = t0;
  28192. this.spans = t1;
  28193. this.span = t2;
  28194. },
  28195. Interpolation_toString_closure0: function Interpolation_toString_closure0() {
  28196. },
  28197. SupportsInterpolation0: function SupportsInterpolation0(t0, t1) {
  28198. this.expression = t0;
  28199. this.span = t1;
  28200. },
  28201. InterpolationBuffer0: function InterpolationBuffer0(t0, t1, t2) {
  28202. this._interpolation_buffer0$_text = t0;
  28203. this._interpolation_buffer0$_contents = t1;
  28204. this._interpolation_buffer0$_spans = t2;
  28205. },
  28206. InterpolationMap$0(_interpolation, targetLocations) {
  28207. var t1 = A.List_List$unmodifiable(targetLocations, type$.SourceLocation),
  28208. t2 = _interpolation.contents.length,
  28209. expectedLocations = Math.max(0, t2 - 1);
  28210. if (t1.length !== expectedLocations)
  28211. A.throwExpression(A.ArgumentError$("InterpolationMap must have " + A.S(expectedLocations) + string$.x20targe + t2 + " components.", null));
  28212. return new A.InterpolationMap0(_interpolation, t1);
  28213. },
  28214. InterpolationMap0: function InterpolationMap0(t0, t1) {
  28215. this._interpolation_map$_interpolation = t0;
  28216. this._interpolation_map$_targetLocations = t1;
  28217. },
  28218. InterpolationMap_mapException_closure0: function InterpolationMap_mapException_closure0() {
  28219. },
  28220. InterpolationMethod$0(space, hue) {
  28221. var t1;
  28222. if (space.get$isPolarInternal())
  28223. t1 = hue == null ? B.HueInterpolationMethod_00 : hue;
  28224. else
  28225. t1 = null;
  28226. if (!space.get$isPolarInternal() && hue != null)
  28227. A.throwExpression(A.ArgumentError$(string$.Hue_in + space.toString$0(0) + ".", null));
  28228. return new A.InterpolationMethod0(space, t1);
  28229. },
  28230. InterpolationMethod_InterpolationMethod$fromValue0(value, $name) {
  28231. var t1, space, hueMethod,
  28232. list = value.assertCommonListStyle$2$allowSlash($name, false);
  28233. if (list.length === 0)
  28234. throw A.wrapException(A.SassScriptException$0(string$.Expecta, $name));
  28235. t1 = B.JSArray_methods.get$first(list).assertString$1($name);
  28236. t1.assertUnquoted$1($name);
  28237. space = A.ColorSpace_fromName0(t1._string0$_text, $name);
  28238. if (list.length === 1)
  28239. return A.InterpolationMethod$0(space, null);
  28240. hueMethod = A.HueInterpolationMethod_HueInterpolationMethod$_fromValue0(list[1], $name);
  28241. if (list.length === 2)
  28242. throw A.wrapException(A.SassScriptException$0('Expected unquoted string "hue" after ' + value.toString$0(0) + ".", $name));
  28243. else {
  28244. t1 = list[2].assertString$1($name);
  28245. t1.assertUnquoted$1($name);
  28246. if (t1._string0$_text.toLowerCase() !== "hue")
  28247. throw A.wrapException(A.SassScriptException$0(string$.Expectu + value.toString$0(0) + ", was " + list[2].toString$0(0) + ".", $name));
  28248. else if (list.length > 3)
  28249. throw A.wrapException(A.SassScriptException$0('Expected nothing after "hue" in ' + value.toString$0(0) + ".", $name));
  28250. else if (!space.get$isPolarInternal())
  28251. throw A.wrapException(A.SassScriptException$0('Hue interpolation method "' + hueMethod.toString$0(0) + string$.x20hue__ + space.toString$0(0) + ".", $name));
  28252. }
  28253. return A.InterpolationMethod$0(space, hueMethod);
  28254. },
  28255. HueInterpolationMethod_HueInterpolationMethod$_fromValue0(value, $name) {
  28256. var _0_0,
  28257. t1 = value.assertString$1($name);
  28258. t1.assertUnquoted$0();
  28259. _0_0 = t1._string0$_text.toLowerCase();
  28260. $label0$0: {
  28261. if ("shorter" === _0_0) {
  28262. t1 = B.HueInterpolationMethod_00;
  28263. break $label0$0;
  28264. }
  28265. if ("longer" === _0_0) {
  28266. t1 = B.HueInterpolationMethod_10;
  28267. break $label0$0;
  28268. }
  28269. if ("increasing" === _0_0) {
  28270. t1 = B.HueInterpolationMethod_20;
  28271. break $label0$0;
  28272. }
  28273. if ("decreasing" === _0_0) {
  28274. t1 = B.HueInterpolationMethod_30;
  28275. break $label0$0;
  28276. }
  28277. t1 = A.throwExpression(A.SassScriptException$0("Unknown hue interpolation method " + value.toString$0(0) + ".", $name));
  28278. }
  28279. return t1;
  28280. },
  28281. InterpolationMethod0: function InterpolationMethod0(t0, t1) {
  28282. this.space = t0;
  28283. this.hue = t1;
  28284. },
  28285. HueInterpolationMethod0: function HueInterpolationMethod0(t0) {
  28286. this._name = t0;
  28287. },
  28288. _realCasePath0(path) {
  28289. var prefix, _null = null,
  28290. t1 = A.isNodeJs() ? self.process : _null;
  28291. if (!J.$eq$(t1 == null ? _null : J.get$platform$x(t1), "win32")) {
  28292. t1 = A.isNodeJs() ? self.process : _null;
  28293. t1 = J.$eq$(t1 == null ? _null : J.get$platform$x(t1), "darwin");
  28294. } else
  28295. t1 = true;
  28296. if (!t1)
  28297. return path;
  28298. t1 = A.isNodeJs() ? self.process : _null;
  28299. if (J.$eq$(t1 == null ? _null : J.get$platform$x(t1), "win32")) {
  28300. prefix = B.JSString_methods.substring$2(path, 0, $.$get$context().style.rootLength$1(path));
  28301. t1 = prefix.length;
  28302. if (t1 !== 0 && A.CharacterExtension_get_isAlphabetic0(prefix.charCodeAt(0)))
  28303. path = prefix.toUpperCase() + B.JSString_methods.substring$1(path, t1);
  28304. }
  28305. return new A._realCasePath_helper0().call$1(path);
  28306. },
  28307. _realCasePath_helper0: function _realCasePath_helper0() {
  28308. },
  28309. _realCasePath_helper_closure0: function _realCasePath_helper_closure0(t0, t1, t2, t3) {
  28310. var _ = this;
  28311. _.path = t0;
  28312. _.realPath = t1;
  28313. _.helper = t2;
  28314. _.dirname = t3;
  28315. },
  28316. _realCasePath_helper__closure0: function _realCasePath_helper__closure0(t0) {
  28317. this.basename = t0;
  28318. },
  28319. IsCalculationSafeVisitor0: function IsCalculationSafeVisitor0() {
  28320. },
  28321. IsCalculationSafeVisitor_visitListExpression_closure0: function IsCalculationSafeVisitor_visitListExpression_closure0(t0) {
  28322. this.$this = t0;
  28323. },
  28324. printError0(message) {
  28325. var t1 = A.isNodeJs() ? self.process : null;
  28326. if (t1 != null) {
  28327. t1 = J.get$stderr$x(t1);
  28328. J.write$1$x(t1, A.S(message) + "\n");
  28329. } else {
  28330. t1 = self.console;
  28331. J.error$1$x(t1, message);
  28332. }
  28333. },
  28334. readFile0(path) {
  28335. var contents, sourceFile, t1, i;
  28336. if (!A.isNodeJs())
  28337. throw A.wrapException(A.UnsupportedError$("readFile() is only supported on Node.js"));
  28338. contents = A._asString(A._readFile0(path, "utf8"));
  28339. if (!B.JSString_methods.contains$1(contents, "\ufffd"))
  28340. return contents;
  28341. sourceFile = A.SourceFile$fromString(contents, $.$get$context().toUri$1(path));
  28342. for (t1 = contents.length, i = 0; i < t1; ++i) {
  28343. if (contents.charCodeAt(i) !== 65533)
  28344. continue;
  28345. throw A.wrapException(A.SassException$0("Invalid UTF-8.", A.FileLocation$_(sourceFile, i).pointSpan$0(), null));
  28346. }
  28347. return contents;
  28348. },
  28349. _readFile0(path, encoding) {
  28350. return A._systemErrorToFileSystemException0(new A._readFile_closure0(path, encoding));
  28351. },
  28352. fileExists0(path) {
  28353. if (!A.isNodeJs())
  28354. throw A.wrapException(A.UnsupportedError$(string$.fileEx));
  28355. return A._systemErrorToFileSystemException0(new A.fileExists_closure0(path));
  28356. },
  28357. dirExists0(path) {
  28358. if (!A.isNodeJs())
  28359. throw A.wrapException(A.UnsupportedError$("dirExists() is only supported on Node.js"));
  28360. return A._systemErrorToFileSystemException0(new A.dirExists_closure0(path));
  28361. },
  28362. linkExists0(path) {
  28363. if (!A.isNodeJs())
  28364. throw A.wrapException(A.UnsupportedError$(string$.linkEx));
  28365. return A._systemErrorToFileSystemException0(new A.linkExists_closure0(path));
  28366. },
  28367. listDir0(path) {
  28368. if (!A.isNodeJs())
  28369. throw A.wrapException(A.UnsupportedError$("listDir() is only supported on Node.js"));
  28370. return A._systemErrorToFileSystemException0(new A.listDir_closure0(false, path));
  28371. },
  28372. realpath0(path) {
  28373. if (!A.isNodeJs())
  28374. throw A.wrapException(A.UnsupportedError$("listDir() is only supported on Node.js"));
  28375. return A._systemErrorToFileSystemException0(new A.realpath_closure0(path));
  28376. },
  28377. getEnvironmentVariable0($name) {
  28378. var t1 = A.isNodeJs() ? self.process : null,
  28379. env = t1 == null ? null : J.get$env$x(t1);
  28380. if (env == null)
  28381. t1 = null;
  28382. else
  28383. t1 = A._asStringQ(env[$name]);
  28384. return t1;
  28385. },
  28386. _systemErrorToFileSystemException0(callback) {
  28387. var error, t1, exception, t2;
  28388. try {
  28389. t1 = callback.call$0();
  28390. return t1;
  28391. } catch (exception) {
  28392. error = A.unwrapException(exception);
  28393. if (!type$.JsSystemError._is(error))
  28394. throw exception;
  28395. t1 = error;
  28396. t2 = J.getInterceptor$x(t1);
  28397. 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)));
  28398. }
  28399. },
  28400. hasTerminal0() {
  28401. var t1 = A.isNodeJs() ? self.process : null;
  28402. return J.$eq$(t1 == null ? null : J.get$isTTY$x(J.get$stdout$x(t1)), true);
  28403. },
  28404. FileSystemException0: function FileSystemException0(t0, t1) {
  28405. this.message = t0;
  28406. this.path = t1;
  28407. },
  28408. _readFile_closure0: function _readFile_closure0(t0, t1) {
  28409. this.path = t0;
  28410. this.encoding = t1;
  28411. },
  28412. fileExists_closure0: function fileExists_closure0(t0) {
  28413. this.path = t0;
  28414. },
  28415. dirExists_closure0: function dirExists_closure0(t0) {
  28416. this.path = t0;
  28417. },
  28418. linkExists_closure0: function linkExists_closure0(t0) {
  28419. this.path = t0;
  28420. },
  28421. listDir_closure0: function listDir_closure0(t0, t1) {
  28422. this.recursive = t0;
  28423. this.path = t1;
  28424. },
  28425. listDir__closure1: function listDir__closure1(t0) {
  28426. this.path = t0;
  28427. },
  28428. listDir__closure2: function listDir__closure2() {
  28429. },
  28430. listDir_closure_list0: function listDir_closure_list0() {
  28431. },
  28432. listDir__list_closure0: function listDir__list_closure0(t0, t1) {
  28433. this.parent = t0;
  28434. this.list = t1;
  28435. },
  28436. realpath_closure0: function realpath_closure0(t0) {
  28437. this.path = t0;
  28438. },
  28439. main() {
  28440. J.set$compile$x(self.exports, A.allowInteropNamed("sass.compile", A.compile__compile$closure()));
  28441. J.set$compileString$x(self.exports, A.allowInteropNamed("sass.compileString", A.compile__compileString$closure()));
  28442. J.set$compileAsync$x(self.exports, A.allowInteropNamed("sass.compileAsync", A.compile__compileAsync$closure()));
  28443. J.set$compileStringAsync$x(self.exports, A.allowInteropNamed("sass.compileStringAsync", A.compile__compileStringAsync$closure()));
  28444. J.set$initCompiler$x(self.exports, A.allowInteropNamed("sass.initCompiler", A.compiler__initCompiler$closure()));
  28445. J.set$initAsyncCompiler$x(self.exports, A.allowInteropNamed("sass.initAsyncCompiler", A.compiler__initAsyncCompiler$closure()));
  28446. J.set$Compiler$x(self.exports, $.$get$compilerClass());
  28447. J.set$AsyncCompiler$x(self.exports, $.$get$asyncCompilerClass());
  28448. J.set$Value$x(self.exports, $.$get$valueClass());
  28449. J.set$SassBoolean$x(self.exports, $.$get$booleanClass());
  28450. J.set$SassArgumentList$x(self.exports, $.$get$argumentListClass());
  28451. J.set$SassCalculation$x(self.exports, $.$get$calculationClass());
  28452. J.set$CalculationOperation$x(self.exports, $.$get$calculationOperationClass());
  28453. J.set$CalculationInterpolation$x(self.exports, $.$get$calculationInterpolationClass());
  28454. J.set$SassColor$x(self.exports, $.$get$colorClass());
  28455. J.set$SassFunction$x(self.exports, $.$get$functionClass());
  28456. J.set$SassMixin$x(self.exports, $.$get$mixinClass());
  28457. J.set$SassList$x(self.exports, $.$get$listClass());
  28458. J.set$SassMap$x(self.exports, $.$get$mapClass());
  28459. J.set$SassNumber$x(self.exports, $.$get$numberClass());
  28460. J.set$SassString$x(self.exports, $.$get$stringClass());
  28461. J.set$sassNull$x(self.exports, B.C__SassNull0);
  28462. J.set$sassTrue$x(self.exports, B.SassBoolean_true0);
  28463. J.set$sassFalse$x(self.exports, B.SassBoolean_false0);
  28464. J.set$Exception$x(self.exports, $.$get$exceptionClass());
  28465. J.set$Logger$x(self.exports, {silent: {warn: A.allowInteropNamed("sass.Logger.silent.warn", new A.main_closure()), debug: A.allowInteropNamed("sass.Logger.silent.debug", new A.main_closure0())}});
  28466. J.set$NodePackageImporter$x(self.exports, $.$get$nodePackageImporterClass());
  28467. J.set$deprecations$x(self.exports, A.jsify($.$get$deprecations()));
  28468. J.set$Version$x(self.exports, $.$get$versionClass());
  28469. J.set$loadParserExports_$x(self.exports, A.allowInterop(A.parser0__loadParserExports$closure()));
  28470. J.set$info$x(self.exports, "dart-sass\t1.89.2\t(Sass Compiler)\t[Dart]\ndart2js\t3.8.1\t(Dart Compiler)\t[Dart]");
  28471. A.updateCanonicalizeContextPrototype();
  28472. A.updateSourceSpanPrototype();
  28473. J.set$render$x(self.exports, A.allowInteropNamed("sass.render", A.legacy__render$closure()));
  28474. J.set$renderSync$x(self.exports, A.allowInteropNamed("sass.renderSync", A.legacy__renderSync$closure()));
  28475. 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});
  28476. J.set$NULL$x(self.exports, B.C__SassNull0);
  28477. J.set$TRUE$x(self.exports, B.SassBoolean_true0);
  28478. J.set$FALSE$x(self.exports, B.SassBoolean_false0);
  28479. },
  28480. main_closure: function main_closure() {
  28481. },
  28482. main_closure0: function main_closure0() {
  28483. },
  28484. JSToDartLogger: function JSToDartLogger(t0, t1, t2) {
  28485. this._node = t0;
  28486. this._fallback = t1;
  28487. this._ascii = t2;
  28488. },
  28489. JSToDartLogger_internalWarn_closure: function JSToDartLogger_internalWarn_closure(t0, t1, t2, t3, t4) {
  28490. var _ = this;
  28491. _.$this = t0;
  28492. _.message = t1;
  28493. _.span = t2;
  28494. _.trace = t3;
  28495. _.deprecation = t4;
  28496. },
  28497. JSToDartLogger_debug_closure: function JSToDartLogger_debug_closure(t0, t1, t2) {
  28498. this.$this = t0;
  28499. this.message = t1;
  28500. this.span = t2;
  28501. },
  28502. ModifiableCssKeyframeBlock$0(selector, span) {
  28503. var t1 = A._setArrayType([], type$.JSArray_ModifiableCssNode_2);
  28504. return new A.ModifiableCssKeyframeBlock0(selector, span, new A.UnmodifiableListView(t1, type$.UnmodifiableListView_ModifiableCssNode_2), t1);
  28505. },
  28506. ModifiableCssKeyframeBlock0: function ModifiableCssKeyframeBlock0(t0, t1, t2, t3) {
  28507. var _ = this;
  28508. _.selector = t0;
  28509. _.span = t1;
  28510. _.children = t2;
  28511. _._node$_children = t3;
  28512. _._node$_indexInParent = _._node$_parent = null;
  28513. _.isGroupEnd = false;
  28514. },
  28515. KeyframeSelectorParser0: function KeyframeSelectorParser0(t0, t1) {
  28516. this.scanner = t0;
  28517. this._parser1$_interpolationMap = t1;
  28518. },
  28519. KeyframeSelectorParser_parse_closure0: function KeyframeSelectorParser_parse_closure0(t0) {
  28520. this.$this = t0;
  28521. },
  28522. LabColorSpace0: function LabColorSpace0(t0, t1) {
  28523. this.name = t0;
  28524. this._space$_channels = t1;
  28525. },
  28526. LazyFileSpan0: function LazyFileSpan0(t0) {
  28527. this._lazy_file_span0$_builder = t0;
  28528. this._lazy_file_span0$_span = null;
  28529. },
  28530. LchColorSpace0: function LchColorSpace0(t0, t1) {
  28531. this.name = t0;
  28532. this._space$_channels = t1;
  28533. },
  28534. render(options, callback) {
  28535. var _0_0;
  28536. if (!A.isNodeJs())
  28537. A.jsThrow(new self.Error("The render() method is only available in Node.js."));
  28538. _0_0 = J.get$fiber$x(options);
  28539. if (_0_0 != null)
  28540. J.run$0$x(_0_0.call$1(A.allowInterop(new A.render_closure(callback, options))));
  28541. else
  28542. A._renderAsync(options).then$1$2$onError(0, new A.render_closure0(callback), new A.render_closure1(callback), type$.Null);
  28543. },
  28544. _renderAsync(options) {
  28545. return A._renderAsync$body(options);
  28546. },
  28547. _renderAsync$body(options) {
  28548. var $async$goto = 0,
  28549. $async$completer = A._makeAsyncAwaitCompleter(type$.RenderResult),
  28550. $async$returnValue, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15, result, start, t1, file, t2, t3, t4, logger, _0_0;
  28551. var $async$_renderAsync = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  28552. if ($async$errorCode === 1)
  28553. return A._asyncRethrow($async$result, $async$completer);
  28554. while (true)
  28555. switch ($async$goto) {
  28556. case 0:
  28557. // Function start
  28558. start = new A.DateTime(Date.now(), 0, false);
  28559. t1 = J.getInterceptor$x(options);
  28560. file = A.NullableExtension_andThen0(t1.get$file(options), A.path__absolute$closure());
  28561. t2 = t1.get$logger(options);
  28562. t3 = A.hasTerminal0();
  28563. t4 = $._glyphs;
  28564. logger = new A.JSToDartLogger(t2, new A.StderrLogger0(t3), t4 === B.C_AsciiGlyphSet);
  28565. _0_0 = t1.get$data(options);
  28566. $async$goto = _0_0 != null ? 3 : 5;
  28567. break;
  28568. case 3:
  28569. // then
  28570. t2 = A._parseImporter(options, start);
  28571. t3 = A._parsePackageImportersAsync(options, start);
  28572. t4 = A._parseFunctions(options, start, true);
  28573. t5 = t1.get$indentedSyntax(options);
  28574. t5 = !J.$eq$(t5, false) && t5 != null ? B.Syntax_Sass_sass0 : null;
  28575. t6 = A._parseOutputStyle(t1.get$outputStyle(options));
  28576. t7 = J.$eq$(t1.get$indentType(options), "tab");
  28577. t8 = A._parseIndentWidth(t1.get$indentWidth(options));
  28578. t9 = A._parseLineFeed(t1.get$linefeed(options));
  28579. t10 = file == null ? "stdin" : $.$get$context().toUri$1(file).toString$0(0);
  28580. t11 = t1.get$quietDeps(options);
  28581. if (t11 == null)
  28582. t11 = false;
  28583. t12 = A.parseDeprecations(logger, t1.get$fatalDeprecations(options), true);
  28584. t13 = A.parseDeprecations(logger, t1.get$futureDeprecations(options), false);
  28585. t14 = A.parseDeprecations(logger, t1.get$silenceDeprecations(options), false);
  28586. t15 = t1.get$verbose(options);
  28587. if (t15 == null)
  28588. t15 = false;
  28589. t1 = t1.get$charset(options);
  28590. if (t1 == null)
  28591. t1 = true;
  28592. $async$goto = 6;
  28593. return A._asyncAwait(A.compileStringAsync0(_0_0, t1, t12, t4, t13, t3, null, t8, t9, logger, t2, t11, t14, A._enableSourceMaps(options), t6, t5, t10, !t7, t15), $async$_renderAsync);
  28594. case 6:
  28595. // returning from await.
  28596. result = $async$result;
  28597. // goto join
  28598. $async$goto = 4;
  28599. break;
  28600. case 5:
  28601. // else
  28602. $async$goto = file != null ? 7 : 9;
  28603. break;
  28604. case 7:
  28605. // then
  28606. t2 = A._parseImporter(options, start);
  28607. t3 = A._parsePackageImportersAsync(options, start);
  28608. t4 = A._parseFunctions(options, start, true);
  28609. t5 = t1.get$indentedSyntax(options);
  28610. t5 = !J.$eq$(t5, false) && t5 != null ? B.Syntax_Sass_sass0 : null;
  28611. t6 = A._parseOutputStyle(t1.get$outputStyle(options));
  28612. t7 = J.$eq$(t1.get$indentType(options), "tab");
  28613. t8 = A._parseIndentWidth(t1.get$indentWidth(options));
  28614. t9 = A._parseLineFeed(t1.get$linefeed(options));
  28615. t10 = t1.get$quietDeps(options);
  28616. if (t10 == null)
  28617. t10 = false;
  28618. t11 = A.parseDeprecations(logger, t1.get$fatalDeprecations(options), true);
  28619. t12 = A.parseDeprecations(logger, t1.get$futureDeprecations(options), false);
  28620. t13 = A.parseDeprecations(logger, t1.get$silenceDeprecations(options), false);
  28621. t14 = t1.get$verbose(options);
  28622. if (t14 == null)
  28623. t14 = false;
  28624. t1 = t1.get$charset(options);
  28625. if (t1 == null)
  28626. t1 = true;
  28627. $async$goto = 10;
  28628. return A._asyncAwait(A.compileAsync0(file, t1, t11, t4, t12, t3, t8, t9, logger, t2, t10, t13, A._enableSourceMaps(options), t6, t5, !t7, t14), $async$_renderAsync);
  28629. case 10:
  28630. // returning from await.
  28631. result = $async$result;
  28632. // goto join
  28633. $async$goto = 8;
  28634. break;
  28635. case 9:
  28636. // else
  28637. throw A.wrapException(A.ArgumentError$(string$.Either, null));
  28638. case 8:
  28639. // join
  28640. case 4:
  28641. // join
  28642. $async$returnValue = A._newRenderResult(options, result, start);
  28643. // goto return
  28644. $async$goto = 1;
  28645. break;
  28646. case 1:
  28647. // return
  28648. return A._asyncReturn($async$returnValue, $async$completer);
  28649. }
  28650. });
  28651. return A._asyncStartSync($async$_renderAsync, $async$completer);
  28652. },
  28653. renderSync(options) {
  28654. var start, result, file, logger, _0_0, data, error, stackTrace, error0, stackTrace0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15, t16, exception, _null = null;
  28655. if (!A.isNodeJs())
  28656. A.jsThrow(new self.Error("The renderSync() method is only available in Node.js."));
  28657. try {
  28658. start = new A.DateTime(Date.now(), 0, false);
  28659. result = null;
  28660. t1 = J.getInterceptor$x(options);
  28661. file = A.NullableExtension_andThen0(t1.get$file(options), A.path__absolute$closure());
  28662. t2 = t1.get$logger(options);
  28663. t3 = A.hasTerminal0();
  28664. t4 = $._glyphs;
  28665. logger = new A.JSToDartLogger(t2, new A.StderrLogger0(t3), t4 === B.C_AsciiGlyphSet);
  28666. _0_0 = t1.get$data(options);
  28667. data = null;
  28668. if (_0_0 != null) {
  28669. data = _0_0;
  28670. t2 = data;
  28671. t3 = A._parseImporter(options, start);
  28672. t4 = A._parsePackageImporters(options, start);
  28673. t5 = A._parseFunctions(options, start, false);
  28674. t6 = t1.get$indentedSyntax(options);
  28675. t6 = !J.$eq$(t6, false) && t6 != null ? B.Syntax_Sass_sass0 : _null;
  28676. t7 = A._parseOutputStyle(t1.get$outputStyle(options));
  28677. t8 = J.$eq$(t1.get$indentType(options), "tab");
  28678. t9 = A._parseIndentWidth(t1.get$indentWidth(options));
  28679. t10 = A._parseLineFeed(t1.get$linefeed(options));
  28680. t11 = file == null ? "stdin" : $.$get$context().toUri$1(file).toString$0(0);
  28681. t12 = t1.get$quietDeps(options);
  28682. if (t12 == null)
  28683. t12 = false;
  28684. t13 = A.parseDeprecations(logger, t1.get$fatalDeprecations(options), true);
  28685. t14 = A.parseDeprecations(logger, t1.get$futureDeprecations(options), false);
  28686. t15 = A.parseDeprecations(logger, t1.get$silenceDeprecations(options), false);
  28687. t16 = t1.get$verbose(options);
  28688. if (t16 == null)
  28689. t16 = false;
  28690. t1 = t1.get$charset(options);
  28691. if (t1 == null)
  28692. t1 = true;
  28693. result = A.compileString(t2, t1, t13, new A.CastList(t5, A._arrayInstanceType(t5)._eval$1("CastList<1,Callable>")), t14, t4, _null, t9, t10, logger, t3, t12, t15, A._enableSourceMaps(options), t7, t6, t11, !t8, t16);
  28694. } else if (file != null) {
  28695. t2 = A._parseImporter(options, start);
  28696. t3 = A._parsePackageImporters(options, start);
  28697. t4 = A._parseFunctions(options, start, false);
  28698. t5 = t1.get$indentedSyntax(options);
  28699. t5 = !J.$eq$(t5, false) && t5 != null ? B.Syntax_Sass_sass0 : _null;
  28700. t6 = A._parseOutputStyle(t1.get$outputStyle(options));
  28701. t7 = J.$eq$(t1.get$indentType(options), "tab");
  28702. t8 = A._parseIndentWidth(t1.get$indentWidth(options));
  28703. t9 = A._parseLineFeed(t1.get$linefeed(options));
  28704. t10 = t1.get$quietDeps(options);
  28705. if (t10 == null)
  28706. t10 = false;
  28707. t11 = A.parseDeprecations(logger, t1.get$fatalDeprecations(options), true);
  28708. t12 = A.parseDeprecations(logger, t1.get$futureDeprecations(options), false);
  28709. t13 = A.parseDeprecations(logger, t1.get$silenceDeprecations(options), false);
  28710. t14 = t1.get$verbose(options);
  28711. if (t14 == null)
  28712. t14 = false;
  28713. t1 = t1.get$charset(options);
  28714. if (t1 == null)
  28715. t1 = true;
  28716. result = A.compile(file, t1, t11, new A.CastList(t4, A._arrayInstanceType(t4)._eval$1("CastList<1,Callable>")), t12, t3, t8, t9, logger, t2, t10, t13, A._enableSourceMaps(options), t6, t5, !t7, t14);
  28717. } else {
  28718. t1 = A.ArgumentError$(string$.Either, _null);
  28719. throw A.wrapException(t1);
  28720. }
  28721. t1 = A._newRenderResult(options, result, start);
  28722. return t1;
  28723. } catch (exception) {
  28724. t1 = A.unwrapException(exception);
  28725. if (t1 instanceof A.SassException0) {
  28726. error = t1;
  28727. stackTrace = A.getTraceFromException(exception);
  28728. A.jsThrow(A._wrapException(error, stackTrace));
  28729. } else {
  28730. error0 = t1;
  28731. stackTrace0 = A.getTraceFromException(exception);
  28732. t1 = J.toString$0$(error0);
  28733. t2 = A.getTrace0(error0);
  28734. A.jsThrow(A._newRenderError(t1, t2 == null ? stackTrace0 : t2, _null, _null, _null, 3));
  28735. }
  28736. }
  28737. },
  28738. _wrapException(exception, stackTrace) {
  28739. var t2, t3, t4, t5,
  28740. t1 = A.SourceSpanException.prototype.get$span.call(exception, 0),
  28741. _0_0 = t1.get$sourceUrl(t1);
  28742. $label0$0: {
  28743. if (_0_0 == null) {
  28744. t1 = "stdin";
  28745. break $label0$0;
  28746. }
  28747. if ("file" === _0_0.get$scheme()) {
  28748. t1 = $.$get$context().style.pathFromUri$1(A._parseUri(_0_0));
  28749. break $label0$0;
  28750. }
  28751. t1 = _0_0.toString$0(0);
  28752. break $label0$0;
  28753. }
  28754. t2 = B.JSString_methods.replaceFirst$2(exception.toString$0(0), "Error: ", "");
  28755. t3 = A.getTrace0(exception);
  28756. if (t3 == null)
  28757. t3 = stackTrace;
  28758. t4 = A.SourceSpanException.prototype.get$span.call(exception, 0);
  28759. t4 = t4.get$start(t4);
  28760. t4 = t4.file.getLine$1(t4.offset);
  28761. t5 = A.SourceSpanException.prototype.get$span.call(exception, 0);
  28762. t5 = t5.get$start(t5);
  28763. return A._newRenderError(t2, t3, t5.file.getColumn$1(t5.offset) + 1, t1, t4 + 1, 1);
  28764. },
  28765. _parseFunctions(options, start, asynch) {
  28766. var result,
  28767. functions = J.get$functions$x(options);
  28768. if (functions == null)
  28769. return B.List_empty28;
  28770. result = A._setArrayType([], type$.JSArray_AsyncCallable_2);
  28771. A.jsForEach(functions, new A._parseFunctions_closure(options, start, result, asynch));
  28772. return result;
  28773. },
  28774. _parseImporter(options, start) {
  28775. var t2, t3, contextOptions, _1_0, t4, importers,
  28776. t1 = J.getInterceptor$x(options),
  28777. _0_0 = t1.get$importer(options);
  28778. $label0$0: {
  28779. if (_0_0 == null) {
  28780. t2 = A._setArrayType([], type$.JSArray_JSFunction);
  28781. break $label0$0;
  28782. }
  28783. if (type$.List_dynamic._is(_0_0)) {
  28784. t2 = J.cast$1$0$ax(_0_0, type$.JSFunction);
  28785. break $label0$0;
  28786. }
  28787. t2 = A._setArrayType([type$.JSFunction._as(_0_0)], type$.JSArray_JSFunction);
  28788. break $label0$0;
  28789. }
  28790. t3 = J.getInterceptor$asx(t2);
  28791. contextOptions = t3.get$isNotEmpty(t2) ? A._contextOptions(options, start) : new A.Object();
  28792. _1_0 = t1.get$fiber(options);
  28793. t4 = {};
  28794. t4.fiber = null;
  28795. if (_1_0 != null) {
  28796. t4.fiber = _1_0;
  28797. t2 = t3.map$1$1(t2, new A._parseImporter_closure(t4), type$.JSFunction);
  28798. importers = A.List_List$_of(t2, t2.$ti._eval$1("ListIterable.E"));
  28799. } else
  28800. importers = t2;
  28801. t1 = t1.get$includePaths(options);
  28802. if (t1 == null)
  28803. t1 = [];
  28804. t2 = type$.String;
  28805. 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));
  28806. },
  28807. _parsePackageImportersAsync(options, start) {
  28808. var t2, t3, t4,
  28809. t1 = J.getInterceptor$x(options);
  28810. if (t1.get$pkgImporter(options) instanceof A.NodePackageImporter0) {
  28811. t1 = t1.get$pkgImporter(options);
  28812. t1.toString;
  28813. t2 = type$.nullable_Record_3_AsyncImporter_and_Uri_and_Uri_originalUrl_2;
  28814. t3 = type$.Record_3_AsyncImporter_and_Uri_and_bool_forImport_2;
  28815. t4 = type$.Uri;
  28816. return new A.AsyncImportCache0(A.List_List$unmodifiable(A._setArrayType([t1], type$.JSArray_AsyncImporter), type$.AsyncImporter), A.LinkedHashMap_LinkedHashMap$_empty(type$.Record_2_Uri_and_bool_forImport, t2), A.LinkedHashMap_LinkedHashMap$_empty(t3, t2), A.LinkedHashMap_LinkedHashMap$_empty(t3, t4), A.LinkedHashMap_LinkedHashMap$_empty(t4, type$.nullable_Stylesheet_2), A.LinkedHashMap_LinkedHashMap$_empty(t4, type$.ImporterResult_2), A.LinkedHashMap_LinkedHashMap$_empty(t4, type$.DateTime));
  28817. }
  28818. return null;
  28819. },
  28820. _parsePackageImporters(options, start) {
  28821. var t2, t3, t4,
  28822. t1 = J.getInterceptor$x(options);
  28823. if (t1.get$pkgImporter(options) instanceof A.NodePackageImporter0) {
  28824. t1 = t1.get$pkgImporter(options);
  28825. t1.toString;
  28826. t2 = type$.nullable_Record_3_Importer_and_Uri_and_Uri_originalUrl_2;
  28827. t3 = type$.Record_3_Importer_and_Uri_and_bool_forImport_2;
  28828. t4 = type$.Uri;
  28829. return new A.ImportCache0(A.List_List$unmodifiable(A._setArrayType([t1], type$.JSArray_Importer_2), type$.Importer), A.LinkedHashMap_LinkedHashMap$_empty(type$.Record_2_Uri_and_bool_forImport, t2), A.LinkedHashMap_LinkedHashMap$_empty(t3, t2), A.LinkedHashMap_LinkedHashMap$_empty(t3, t4), A.LinkedHashMap_LinkedHashMap$_empty(t4, type$.nullable_Stylesheet_2), A.LinkedHashMap_LinkedHashMap$_empty(t4, type$.ImporterResult_2), A.LinkedHashMap_LinkedHashMap$_empty(t4, type$.DateTime));
  28830. }
  28831. return null;
  28832. },
  28833. _contextOptions(options, start) {
  28834. var includePaths, t3, t4, t5, t6, t7,
  28835. t1 = J.getInterceptor$x(options),
  28836. t2 = t1.get$includePaths(options);
  28837. if (t2 == null)
  28838. t2 = [];
  28839. includePaths = A.List_List$from(t2, true, type$.String);
  28840. t2 = t1.get$file(options);
  28841. t3 = t1.get$data(options);
  28842. t4 = A._setArrayType([A.current()], type$.JSArray_String);
  28843. B.JSArray_methods.addAll$1(t4, includePaths);
  28844. t5 = A.isNodeJs() ? self.process : null;
  28845. t4 = B.JSArray_methods.join$1(t4, J.$eq$(t5 == null ? null : J.get$platform$x(t5), "win32") ? ";" : ":");
  28846. t5 = J.$eq$(t1.get$indentType(options), "tab") ? 1 : 0;
  28847. t6 = A._parseIndentWidth(t1.get$indentWidth(options));
  28848. if (t6 == null)
  28849. t6 = 2;
  28850. t7 = A._parseLineFeed(t1.get$linefeed(options));
  28851. t1 = t1.get$file(options);
  28852. if (t1 == null)
  28853. t1 = "data";
  28854. return {file: t2, data: t3, includePaths: t4, precision: 10, style: 1, indentType: t5, indentWidth: t6, linefeed: t7.text, result: {stats: {start: start._value, entry: t1}}};
  28855. },
  28856. _parseOutputStyle(style) {
  28857. var t1;
  28858. $label0$0: {
  28859. if (style == null || "expanded" === style) {
  28860. t1 = B.OutputStyle_00;
  28861. break $label0$0;
  28862. }
  28863. if ("compressed" === style) {
  28864. t1 = B.OutputStyle_10;
  28865. break $label0$0;
  28866. }
  28867. t1 = A.jsThrow(new self.Error('Unknown output style "' + style + '".'));
  28868. }
  28869. return t1;
  28870. },
  28871. _parseIndentWidth(width) {
  28872. var t1;
  28873. $label0$0: {
  28874. if (width == null) {
  28875. t1 = null;
  28876. break $label0$0;
  28877. }
  28878. if (A._isInt(width)) {
  28879. t1 = width;
  28880. break $label0$0;
  28881. }
  28882. t1 = A.int_parse(J.toString$0$(width), null);
  28883. break $label0$0;
  28884. }
  28885. return t1;
  28886. },
  28887. _parseLineFeed(str) {
  28888. var t1;
  28889. $label0$0: {
  28890. if ("cr" === str) {
  28891. t1 = B.LineFeed_ybQ;
  28892. break $label0$0;
  28893. }
  28894. if ("crlf" === str) {
  28895. t1 = B.LineFeed_Pcs;
  28896. break $label0$0;
  28897. }
  28898. if ("lfcr" === str) {
  28899. t1 = B.LineFeed_G7N;
  28900. break $label0$0;
  28901. }
  28902. t1 = B.LineFeed_9HY;
  28903. break $label0$0;
  28904. }
  28905. return t1;
  28906. },
  28907. _newRenderResult(options, result, start) {
  28908. var t2, sourceMapOption, sourceMapPath, t3, sourceMapDir, outFile, t4, _0_0, t5, sourceMapDirUrl, i, source, t6, buffer, indices, url, t7, t8, _null = null,
  28909. end = new A.DateTime(Date.now(), 0, false),
  28910. t1 = result._compile_result$_serialize,
  28911. css = t1._0,
  28912. sourceMapBytes = self.undefined;
  28913. if (A._enableSourceMaps(options)) {
  28914. t2 = J.getInterceptor$x(options);
  28915. sourceMapOption = t2.get$sourceMap(options);
  28916. if (typeof sourceMapOption == "string")
  28917. sourceMapPath = sourceMapOption;
  28918. else {
  28919. t3 = t2.get$outFile(options);
  28920. t3.toString;
  28921. sourceMapPath = J.$add$ansx(t3, ".map");
  28922. }
  28923. t3 = $.$get$context();
  28924. sourceMapDir = t3.dirname$1(sourceMapPath);
  28925. t1 = t1._1;
  28926. t1.toString;
  28927. t1.sourceRoot = t2.get$sourceMapRoot(options);
  28928. outFile = t2.get$outFile(options);
  28929. t4 = outFile == null;
  28930. if (t4) {
  28931. _0_0 = t2.get$file(options);
  28932. $label0$0: {
  28933. if (_0_0 != null) {
  28934. t5 = t3.toUri$1(t3.withoutExtension$1(_0_0) + ".css").toString$0(0);
  28935. break $label0$0;
  28936. }
  28937. t5 = t1.targetUrl = "stdin.css";
  28938. break $label0$0;
  28939. }
  28940. t1.targetUrl = t5;
  28941. } else
  28942. t1.targetUrl = t3.toUri$1(t3.relative$2$from(outFile, sourceMapDir)).toString$0(0);
  28943. sourceMapDirUrl = t3.toUri$1(sourceMapDir).toString$0(0);
  28944. for (t3 = t1.urls, i = 0; i < t3.length; ++i) {
  28945. source = t3[i];
  28946. if (source === "stdin")
  28947. continue;
  28948. t5 = $.$get$url();
  28949. t6 = t5.style;
  28950. if (t6.rootLength$1(source) <= 0 || t6.isRootRelative$1(source))
  28951. continue;
  28952. t3[i] = t5.relative$2$from(source, sourceMapDirUrl);
  28953. }
  28954. t3 = t2.get$sourceMapContents(options);
  28955. sourceMapBytes = self.Buffer.from(B.C_JsonCodec.encode$2$toEncodable(t1.toJson$1$includeSourceContents(!J.$eq$(t3, false) && t3 != null), _null), "utf8");
  28956. t1 = t2.get$omitSourceMapUrl(options);
  28957. if (!(!J.$eq$(t1, false) && t1 != null)) {
  28958. t1 = t2.get$sourceMapEmbed(options);
  28959. if (!J.$eq$(t1, false) && t1 != null) {
  28960. buffer = new A.StringBuffer("");
  28961. indices = A._setArrayType([-1], type$.JSArray_int);
  28962. A.UriData__writeUri("application/json", _null, _null, buffer, indices);
  28963. indices.push(buffer._contents.length);
  28964. indices.push((buffer._contents += ";base64,").length - 1);
  28965. t1 = B.C_Base64Encoder.startChunkedConversion$1(new A._StringSinkConversionSink(buffer));
  28966. t2 = sourceMapBytes.length;
  28967. A.RangeError_checkValidRange(0, t2, t2);
  28968. t1._convert$_add$4(sourceMapBytes, 0, t2, true);
  28969. t1 = buffer._contents;
  28970. url = new A.UriData(t1.charCodeAt(0) == 0 ? t1 : t1, indices, _null).get$uri();
  28971. } else {
  28972. if (t4)
  28973. t1 = sourceMapPath;
  28974. else {
  28975. t1 = $.$get$context();
  28976. t1 = t1.relative$2$from(sourceMapPath, t1.dirname$1(outFile));
  28977. }
  28978. url = $.$get$context().toUri$1(t1);
  28979. }
  28980. t1 = url.toString$0(0);
  28981. css += "\n\n/*# sourceMappingURL=" + A.stringReplaceAllUnchecked(t1, "*/", "%2A/") + " */";
  28982. }
  28983. }
  28984. t1 = self.Buffer.from(css, "utf8");
  28985. t2 = J.get$file$x(options);
  28986. if (t2 == null)
  28987. t2 = "data";
  28988. t3 = start._value;
  28989. t4 = end._value;
  28990. t5 = B.JSInt_methods._tdivFast$1(A.Duration$(end._microsecond - start._microsecond, t4 - t3)._duration, 1000);
  28991. t6 = A._setArrayType([], type$.JSArray_String);
  28992. for (t7 = result._evaluate._0, t7 = t7.get$iterator(t7); t7.moveNext$0();) {
  28993. t8 = t7.get$current(t7);
  28994. t6.push(t8.get$scheme() === "file" ? $.$get$context().style.pathFromUri$1(A._parseUri(t8)) : t8.toString$0(0));
  28995. }
  28996. return {css: t1, map: sourceMapBytes, stats: {entry: t2, start: t3, end: t4, duration: t5, includedFiles: t6}};
  28997. },
  28998. _enableSourceMaps(options) {
  28999. var t2,
  29000. t1 = J.getInterceptor$x(options);
  29001. if (typeof t1.get$sourceMap(options) != "string") {
  29002. t2 = t1.get$sourceMap(options);
  29003. t1 = !J.$eq$(t2, false) && t2 != null && t1.get$outFile(options) != null;
  29004. } else
  29005. t1 = true;
  29006. return t1;
  29007. },
  29008. _newRenderError(message, stackTrace, column, file, line, $status) {
  29009. var error = new self.Error(message);
  29010. error.formatted = "Error: " + message;
  29011. if (line != null)
  29012. error.line = line;
  29013. if (column != null)
  29014. error.column = column;
  29015. if (file != null)
  29016. error.file = file;
  29017. error.status = $status;
  29018. A.attachJsStack(error, stackTrace);
  29019. return error;
  29020. },
  29021. render_closure: function render_closure(t0, t1) {
  29022. this.callback = t0;
  29023. this.options = t1;
  29024. },
  29025. render_closure0: function render_closure0(t0) {
  29026. this.callback = t0;
  29027. },
  29028. render_closure1: function render_closure1(t0) {
  29029. this.callback = t0;
  29030. },
  29031. _parseFunctions_closure: function _parseFunctions_closure(t0, t1, t2, t3) {
  29032. var _ = this;
  29033. _.options = t0;
  29034. _.start = t1;
  29035. _.result = t2;
  29036. _.asynch = t3;
  29037. },
  29038. _parseFunctions__closure: function _parseFunctions__closure(t0, t1, t2) {
  29039. this._box_0 = t0;
  29040. this.callback = t1;
  29041. this.context = t2;
  29042. },
  29043. _parseFunctions___closure2: function _parseFunctions___closure2(t0) {
  29044. this.currentFiber = t0;
  29045. },
  29046. _parseFunctions____closure: function _parseFunctions____closure(t0, t1) {
  29047. this.currentFiber = t0;
  29048. this.result = t1;
  29049. },
  29050. _parseFunctions___closure3: function _parseFunctions___closure3(t0, t1, t2) {
  29051. this.callback = t0;
  29052. this.context = t1;
  29053. this.jsArguments = t2;
  29054. },
  29055. _parseFunctions___closure4: function _parseFunctions___closure4(t0) {
  29056. this._box_0 = t0;
  29057. },
  29058. _parseFunctions__closure0: function _parseFunctions__closure0(t0, t1) {
  29059. this.callback = t0;
  29060. this.context = t1;
  29061. },
  29062. _parseFunctions___closure1: function _parseFunctions___closure1(t0, t1, t2) {
  29063. this.callback = t0;
  29064. this.context = t1;
  29065. this.$arguments = t2;
  29066. },
  29067. _parseFunctions__closure1: function _parseFunctions__closure1(t0, t1) {
  29068. this.callback = t0;
  29069. this.context = t1;
  29070. },
  29071. _parseFunctions___closure: function _parseFunctions___closure(t0) {
  29072. this.completer = t0;
  29073. },
  29074. _parseFunctions___closure0: function _parseFunctions___closure0(t0, t1, t2) {
  29075. this.callback = t0;
  29076. this.context = t1;
  29077. this.jsArguments = t2;
  29078. },
  29079. _parseImporter_closure: function _parseImporter_closure(t0) {
  29080. this._box_0 = t0;
  29081. },
  29082. _parseImporter__closure: function _parseImporter__closure(t0, t1) {
  29083. this._box_0 = t0;
  29084. this.importer = t1;
  29085. },
  29086. _parseImporter___closure: function _parseImporter___closure(t0) {
  29087. this.currentFiber = t0;
  29088. },
  29089. _parseImporter____closure: function _parseImporter____closure(t0, t1) {
  29090. this.currentFiber = t0;
  29091. this.result = t1;
  29092. },
  29093. _parseImporter___closure0: function _parseImporter___closure0(t0) {
  29094. this._box_0 = t0;
  29095. },
  29096. LimitedMapView$blocklist0(_map, blocklist, $K, $V) {
  29097. var t2, key,
  29098. t1 = A.LinkedHashSet_LinkedHashSet$_empty($K);
  29099. for (t2 = J.get$iterator$ax(_map.get$keys(_map)); t2.moveNext$0();) {
  29100. key = t2.get$current(t2);
  29101. if (!blocklist.contains$1(0, key))
  29102. t1.add$1(0, key);
  29103. }
  29104. return new A.LimitedMapView0(_map, t1, $K._eval$1("@<0>")._bind$1($V)._eval$1("LimitedMapView0<1,2>"));
  29105. },
  29106. LimitedMapView0: function LimitedMapView0(t0, t1, t2) {
  29107. this._limited_map_view0$_map = t0;
  29108. this._limited_map_view0$_keys = t1;
  29109. this.$ti = t2;
  29110. },
  29111. ListExpression0: function ListExpression0(t0, t1, t2, t3) {
  29112. var _ = this;
  29113. _.contents = t0;
  29114. _.separator = t1;
  29115. _.hasBrackets = t2;
  29116. _.span = t3;
  29117. },
  29118. ListExpression_toString_closure0: function ListExpression_toString_closure0(t0) {
  29119. this.$this = t0;
  29120. },
  29121. _function11($name, $arguments, callback) {
  29122. return A.BuiltInCallable$function0($name, $arguments, callback, "sass:list");
  29123. },
  29124. _length_closure2: function _length_closure2() {
  29125. },
  29126. _nth_closure0: function _nth_closure0() {
  29127. },
  29128. _setNth_closure0: function _setNth_closure0() {
  29129. },
  29130. _join_closure0: function _join_closure0() {
  29131. },
  29132. _append_closure2: function _append_closure2() {
  29133. },
  29134. _zip_closure0: function _zip_closure0() {
  29135. },
  29136. _zip__closure2: function _zip__closure2() {
  29137. },
  29138. _zip__closure3: function _zip__closure3(t0) {
  29139. this._box_0 = t0;
  29140. },
  29141. _zip__closure4: function _zip__closure4(t0) {
  29142. this._box_0 = t0;
  29143. },
  29144. _index_closure2: function _index_closure2() {
  29145. },
  29146. _separator_closure0: function _separator_closure0() {
  29147. },
  29148. _isBracketed_closure0: function _isBracketed_closure0() {
  29149. },
  29150. _slash_closure0: function _slash_closure0() {
  29151. },
  29152. SelectorList$0(components, span) {
  29153. var t1 = A.List_List$unmodifiable(components, type$.ComplexSelector_2);
  29154. if (t1.length === 0)
  29155. A.throwExpression(A.ArgumentError$("components may not be empty.", null));
  29156. return new A.SelectorList0(t1, span);
  29157. },
  29158. SelectorList_SelectorList$parse0(contents, allowParent, interpolationMap, plainCss) {
  29159. return new A.SelectorParser0(allowParent, plainCss, A.SpanScanner$(contents, null), interpolationMap).parse$0(0);
  29160. },
  29161. SelectorList0: function SelectorList0(t0, t1) {
  29162. this.components = t0;
  29163. this.span = t1;
  29164. },
  29165. SelectorList_asSassList_closure0: function SelectorList_asSassList_closure0() {
  29166. },
  29167. SelectorList_nestWithin_closure0: function SelectorList_nestWithin_closure0(t0, t1, t2, t3) {
  29168. var _ = this;
  29169. _.$this = t0;
  29170. _.preserveParentSelectors = t1;
  29171. _.implicitParent = t2;
  29172. _.parent = t3;
  29173. },
  29174. SelectorList_nestWithin__closure1: function SelectorList_nestWithin__closure1(t0) {
  29175. this.complex = t0;
  29176. },
  29177. SelectorList_nestWithin__closure2: function SelectorList_nestWithin__closure2(t0) {
  29178. this.complex = t0;
  29179. },
  29180. SelectorList__nestWithinCompound_closure2: function SelectorList__nestWithinCompound_closure2() {
  29181. },
  29182. SelectorList__nestWithinCompound_closure3: function SelectorList__nestWithinCompound_closure3(t0) {
  29183. this.parent = t0;
  29184. },
  29185. SelectorList__nestWithinCompound_closure4: function SelectorList__nestWithinCompound_closure4(t0, t1, t2) {
  29186. this.parentSelector = t0;
  29187. this.resolvedSimples = t1;
  29188. this.component = t2;
  29189. },
  29190. SelectorList_withAdditionalCombinators_closure0: function SelectorList_withAdditionalCombinators_closure0(t0) {
  29191. this.combinators = t0;
  29192. },
  29193. _ParentSelectorVisitor0: function _ParentSelectorVisitor0() {
  29194. },
  29195. __ParentSelectorVisitor_Object_SelectorSearchVisitor0: function __ParentSelectorVisitor_Object_SelectorSearchVisitor0() {
  29196. },
  29197. listClass_closure: function listClass_closure() {
  29198. },
  29199. listClass__closure: function listClass__closure() {
  29200. },
  29201. listClass__closure0: function listClass__closure0() {
  29202. },
  29203. _ConstructorOptions: function _ConstructorOptions() {
  29204. },
  29205. _NodeSassList: function _NodeSassList() {
  29206. },
  29207. legacyListClass_closure: function legacyListClass_closure() {
  29208. },
  29209. legacyListClass__closure: function legacyListClass__closure() {
  29210. },
  29211. legacyListClass_closure0: function legacyListClass_closure0() {
  29212. },
  29213. legacyListClass_closure1: function legacyListClass_closure1() {
  29214. },
  29215. legacyListClass_closure2: function legacyListClass_closure2() {
  29216. },
  29217. legacyListClass_closure3: function legacyListClass_closure3() {
  29218. },
  29219. legacyListClass_closure4: function legacyListClass_closure4() {
  29220. },
  29221. SassList$0(contents, _separator, brackets) {
  29222. var t1 = new A.SassList0(A.List_List$unmodifiable(contents, type$.Value_2), _separator, brackets);
  29223. t1.SassList$3$brackets0(contents, _separator, brackets);
  29224. return t1;
  29225. },
  29226. SassList0: function SassList0(t0, t1, t2) {
  29227. this._list1$_contents = t0;
  29228. this._list1$_separator = t1;
  29229. this._list1$_hasBrackets = t2;
  29230. },
  29231. SassList_isBlank_closure0: function SassList_isBlank_closure0() {
  29232. },
  29233. ListSeparator0: function ListSeparator0(t0, t1, t2) {
  29234. this._list1$_name = t0;
  29235. this.separator = t1;
  29236. this._name = t2;
  29237. },
  29238. LmsColorSpace0: function LmsColorSpace0(t0, t1) {
  29239. this.name = t0;
  29240. this._space$_channels = t1;
  29241. },
  29242. LocalMindeGamutMap0: function LocalMindeGamutMap0(t0) {
  29243. this.name = t0;
  29244. },
  29245. JSLogger: function JSLogger() {
  29246. },
  29247. WarnOptions: function WarnOptions() {
  29248. },
  29249. DebugOptions: function DebugOptions() {
  29250. },
  29251. WarnForDeprecation_warnForDeprecation0(_this, deprecation, message, span, trace) {
  29252. _this.internalWarn$4$deprecation$span$trace(message, deprecation, span, trace);
  29253. },
  29254. LoggerWithDeprecationType0: function LoggerWithDeprecationType0() {
  29255. },
  29256. LoudComment0: function LoudComment0(t0) {
  29257. this.text = t0;
  29258. },
  29259. MapExpression0: function MapExpression0(t0, t1) {
  29260. this.pairs = t0;
  29261. this.span = t1;
  29262. },
  29263. _modify0(map, keys, modify, addNesting) {
  29264. var keyIterator = J.get$iterator$ax(keys);
  29265. return keyIterator.moveNext$0() ? new A._modify_modifyNestedMap0(keyIterator, modify, addNesting).call$1(map) : modify.call$1(map);
  29266. },
  29267. _deepMergeImpl0(map1, map2) {
  29268. var t2, t3, result, t4, key, value, _1_1, _1_3, _1_3_isSet, _1_30, resultMap, valueMap, merged,
  29269. t1 = map1._map0$_contents;
  29270. if (t1.get$isEmpty(t1))
  29271. return map2;
  29272. t2 = map2._map0$_contents;
  29273. if (t2.get$isEmpty(t2))
  29274. return map1;
  29275. t3 = type$.Value_2;
  29276. result = A.LinkedHashMap_LinkedHashMap$of(t1, t3, t3);
  29277. for (t1 = A.MapExtensions_get_pairs0(t2, t3, t3), t1 = t1.get$iterator(t1), t2 = type$.SassMap_2; t1.moveNext$0();) {
  29278. t4 = t1.get$current(t1);
  29279. key = t4._0;
  29280. value = t4._1;
  29281. t4 = result.$index(0, key);
  29282. _1_1 = t4 == null ? null : t4.tryMap$0();
  29283. _1_3 = value.tryMap$0();
  29284. _1_3_isSet = _1_1 != null;
  29285. _1_30 = null;
  29286. t4 = false;
  29287. if (_1_3_isSet) {
  29288. resultMap = _1_1 == null ? t2._as(_1_1) : _1_1;
  29289. t4 = _1_3 != null;
  29290. _1_30 = _1_3;
  29291. } else
  29292. resultMap = null;
  29293. if (t4) {
  29294. valueMap = _1_3_isSet ? _1_30 : _1_3;
  29295. merged = A._deepMergeImpl0(resultMap, valueMap == null ? t2._as(valueMap) : valueMap);
  29296. if (merged === resultMap)
  29297. continue;
  29298. result.$indexSet(0, key, merged);
  29299. } else
  29300. result.$indexSet(0, key, value);
  29301. }
  29302. return new A.SassMap0(A.ConstantMap_ConstantMap$from(result, t3, t3));
  29303. },
  29304. _function10($name, $arguments, callback) {
  29305. return A.BuiltInCallable$function0($name, $arguments, callback, "sass:map");
  29306. },
  29307. _get_closure0: function _get_closure0() {
  29308. },
  29309. _set_closure1: function _set_closure1() {
  29310. },
  29311. _set__closure2: function _set__closure2(t0) {
  29312. this.$arguments = t0;
  29313. },
  29314. _set_closure2: function _set_closure2() {
  29315. },
  29316. _set__closure1: function _set__closure1(t0) {
  29317. this._box_0 = t0;
  29318. },
  29319. _merge_closure1: function _merge_closure1() {
  29320. },
  29321. _merge_closure2: function _merge_closure2() {
  29322. },
  29323. _merge__closure0: function _merge__closure0(t0) {
  29324. this.map2 = t0;
  29325. },
  29326. _deepMerge_closure0: function _deepMerge_closure0() {
  29327. },
  29328. _deepRemove_closure0: function _deepRemove_closure0() {
  29329. },
  29330. _deepRemove__closure0: function _deepRemove__closure0(t0) {
  29331. this.keys = t0;
  29332. },
  29333. _remove_closure1: function _remove_closure1() {
  29334. },
  29335. _remove_closure2: function _remove_closure2() {
  29336. },
  29337. _keys_closure0: function _keys_closure0() {
  29338. },
  29339. _values_closure0: function _values_closure0() {
  29340. },
  29341. _hasKey_closure0: function _hasKey_closure0() {
  29342. },
  29343. _modify_modifyNestedMap0: function _modify_modifyNestedMap0(t0, t1, t2) {
  29344. this.keyIterator = t0;
  29345. this.modify = t1;
  29346. this.addNesting = t2;
  29347. },
  29348. MapExtensions_get_pairs0(_this, $K, $V) {
  29349. var t1 = _this.get$entries(_this);
  29350. return t1.map$1$1(t1, new A.MapExtensions_get_pairs_closure0($K, $V), $K._eval$1("@<0>")._bind$1($V)._eval$1("+(1,2)"));
  29351. },
  29352. MapExtensions_get_pairs_closure0: function MapExtensions_get_pairs_closure0(t0, t1) {
  29353. this.K = t0;
  29354. this.V = t1;
  29355. },
  29356. mapClass_closure: function mapClass_closure() {
  29357. },
  29358. mapClass__closure: function mapClass__closure() {
  29359. },
  29360. mapClass__closure0: function mapClass__closure0() {
  29361. },
  29362. mapClass__closure1: function mapClass__closure1() {
  29363. },
  29364. _NodeSassMap: function _NodeSassMap() {
  29365. },
  29366. legacyMapClass_closure: function legacyMapClass_closure() {
  29367. },
  29368. legacyMapClass__closure: function legacyMapClass__closure() {
  29369. },
  29370. legacyMapClass__closure0: function legacyMapClass__closure0() {
  29371. },
  29372. legacyMapClass_closure0: function legacyMapClass_closure0() {
  29373. },
  29374. legacyMapClass_closure1: function legacyMapClass_closure1() {
  29375. },
  29376. legacyMapClass_closure2: function legacyMapClass_closure2() {
  29377. },
  29378. legacyMapClass_closure3: function legacyMapClass_closure3() {
  29379. },
  29380. legacyMapClass_closure4: function legacyMapClass_closure4() {
  29381. },
  29382. SassMap0: function SassMap0(t0) {
  29383. this._map0$_contents = t0;
  29384. },
  29385. _singleArgumentMathFunc0($name, mathFunc) {
  29386. return A.BuiltInCallable$function0($name, "$number", new A._singleArgumentMathFunc_closure0(mathFunc), "sass:math");
  29387. },
  29388. _numberFunction0($name, transform) {
  29389. return A.BuiltInCallable$function0($name, "$number", new A._numberFunction_closure0(transform), "sass:math");
  29390. },
  29391. _function9($name, $arguments, callback) {
  29392. return A.BuiltInCallable$function0($name, $arguments, callback, "sass:math");
  29393. },
  29394. global_closure43: function global_closure43() {
  29395. },
  29396. module_closure26: function module_closure26() {
  29397. },
  29398. _ceil_closure0: function _ceil_closure0() {
  29399. },
  29400. _clamp_closure0: function _clamp_closure0() {
  29401. },
  29402. _floor_closure0: function _floor_closure0() {
  29403. },
  29404. _max_closure0: function _max_closure0() {
  29405. },
  29406. _min_closure0: function _min_closure0() {
  29407. },
  29408. _round_closure0: function _round_closure0() {
  29409. },
  29410. _hypot_closure0: function _hypot_closure0() {
  29411. },
  29412. _hypot__closure0: function _hypot__closure0() {
  29413. },
  29414. _log_closure0: function _log_closure0() {
  29415. },
  29416. _pow_closure0: function _pow_closure0() {
  29417. },
  29418. _atan2_closure0: function _atan2_closure0() {
  29419. },
  29420. _compatible_closure0: function _compatible_closure0() {
  29421. },
  29422. _isUnitless_closure0: function _isUnitless_closure0() {
  29423. },
  29424. _unit_closure0: function _unit_closure0() {
  29425. },
  29426. _percentage_closure0: function _percentage_closure0() {
  29427. },
  29428. _randomFunction_closure0: function _randomFunction_closure0() {
  29429. },
  29430. _div_closure0: function _div_closure0() {
  29431. },
  29432. _singleArgumentMathFunc_closure0: function _singleArgumentMathFunc_closure0(t0) {
  29433. this.mathFunc = t0;
  29434. },
  29435. _numberFunction_closure0: function _numberFunction_closure0(t0) {
  29436. this.transform = t0;
  29437. },
  29438. CssMediaQuery$type0(type, conditions, modifier) {
  29439. return new A.CssMediaQuery0(modifier, type, true, conditions == null ? B.List_empty : A.List_List$unmodifiable(conditions, type$.String));
  29440. },
  29441. CssMediaQuery$condition0(conditions, conjunction) {
  29442. var t1 = A.List_List$unmodifiable(conditions, type$.String);
  29443. if (t1.length > 1 && conjunction == null)
  29444. A.throwExpression(A.ArgumentError$(string$.If_con, null));
  29445. return new A.CssMediaQuery0(null, null, conjunction !== false, t1);
  29446. },
  29447. CssMediaQuery0: function CssMediaQuery0(t0, t1, t2, t3) {
  29448. var _ = this;
  29449. _.modifier = t0;
  29450. _.type = t1;
  29451. _.conjunction = t2;
  29452. _.conditions = t3;
  29453. },
  29454. _SingletonCssMediaQueryMergeResult0: function _SingletonCssMediaQueryMergeResult0(t0) {
  29455. this._name = t0;
  29456. },
  29457. MediaQuerySuccessfulMergeResult0: function MediaQuerySuccessfulMergeResult0(t0) {
  29458. this.query = t0;
  29459. },
  29460. MediaQueryParser0: function MediaQueryParser0(t0, t1) {
  29461. this.scanner = t0;
  29462. this._parser1$_interpolationMap = t1;
  29463. },
  29464. MediaQueryParser_parse_closure0: function MediaQueryParser_parse_closure0(t0) {
  29465. this.$this = t0;
  29466. },
  29467. ModifiableCssMediaRule$0(queries, span) {
  29468. var t1 = A.List_List$unmodifiable(queries, type$.CssMediaQuery_2),
  29469. t2 = A._setArrayType([], type$.JSArray_ModifiableCssNode_2);
  29470. if (J.get$isEmpty$asx(queries))
  29471. A.throwExpression(A.ArgumentError$value(queries, "queries", "may not be empty."));
  29472. return new A.ModifiableCssMediaRule0(t1, span, new A.UnmodifiableListView(t2, type$.UnmodifiableListView_ModifiableCssNode_2), t2);
  29473. },
  29474. ModifiableCssMediaRule0: function ModifiableCssMediaRule0(t0, t1, t2, t3) {
  29475. var _ = this;
  29476. _.queries = t0;
  29477. _.span = t1;
  29478. _.children = t2;
  29479. _._node$_children = t3;
  29480. _._node$_indexInParent = _._node$_parent = null;
  29481. _.isGroupEnd = false;
  29482. },
  29483. MediaRule$0(query, children, span) {
  29484. var t1 = A.List_List$unmodifiable(children, type$.Statement_2),
  29485. t2 = B.JSArray_methods.any$1(t1, new A.ParentStatement_closure0());
  29486. return new A.MediaRule0(query, span, t1, t2);
  29487. },
  29488. MediaRule0: function MediaRule0(t0, t1, t2, t3) {
  29489. var _ = this;
  29490. _.query = t0;
  29491. _.span = t1;
  29492. _.children = t2;
  29493. _.hasDeclarations = t3;
  29494. },
  29495. MergedExtension_merge0(left, right) {
  29496. var t2, t3, t4,
  29497. t1 = left.extender.selector;
  29498. if (!t1.$eq(0, right.extender.selector) || !left.target.$eq(0, right.target))
  29499. throw A.wrapException(A.ArgumentError$(left.toString$0(0) + " and " + right.toString$0(0) + " aren't the same extension.", null));
  29500. t2 = left.mediaContext;
  29501. t3 = t2 == null;
  29502. if (!t3) {
  29503. t4 = right.mediaContext;
  29504. t4 = t4 != null && !B.C_ListEquality.equals$2(0, t2, t4);
  29505. } else
  29506. t4 = false;
  29507. if (t4)
  29508. throw A.wrapException(A.SassException$0("From " + left.span.message$1(0, "") + string$.x0aYou_m, right.span, null));
  29509. if (right.isOptional && right.mediaContext == null)
  29510. return left;
  29511. if (left.isOptional && t3)
  29512. return right;
  29513. if (t3)
  29514. t2 = right.mediaContext;
  29515. t1.get$specificity();
  29516. t1 = new A.Extender0(t1, false);
  29517. return t1._extension$_extension = new A.MergedExtension0(left, right, t1, left.target, t2, true, left.span);
  29518. },
  29519. MergedExtension0: function MergedExtension0(t0, t1, t2, t3, t4, t5, t6) {
  29520. var _ = this;
  29521. _.left = t0;
  29522. _.right = t1;
  29523. _.extender = t2;
  29524. _.target = t3;
  29525. _.mediaContext = t4;
  29526. _.isOptional = t5;
  29527. _.span = t6;
  29528. },
  29529. MergedMapView$0(maps, $K, $V) {
  29530. var t1 = $K._eval$1("@<0>")._bind$1($V);
  29531. t1 = new A.MergedMapView0(A.LinkedHashMap_LinkedHashMap$_empty($K, t1._eval$1("Map<1,2>")), t1._eval$1("MergedMapView0<1,2>"));
  29532. t1.MergedMapView$10(maps, $K, $V);
  29533. return t1;
  29534. },
  29535. MergedMapView0: function MergedMapView0(t0, t1) {
  29536. this._merged_map_view$_mapsByKey = t0;
  29537. this.$ti = t1;
  29538. },
  29539. _function6($name, $arguments, callback) {
  29540. return A.BuiltInCallable$function0($name, $arguments, callback, "sass:meta");
  29541. },
  29542. _shared_closure3: function _shared_closure3() {
  29543. },
  29544. _shared_closure4: function _shared_closure4() {
  29545. },
  29546. _shared_closure5: function _shared_closure5() {
  29547. },
  29548. _shared_closure6: function _shared_closure6() {
  29549. },
  29550. moduleFunctions_closure2: function moduleFunctions_closure2() {
  29551. },
  29552. moduleFunctions_closure3: function moduleFunctions_closure3() {
  29553. },
  29554. moduleFunctions__closure0: function moduleFunctions__closure0() {
  29555. },
  29556. moduleFunctions_closure4: function moduleFunctions_closure4() {
  29557. },
  29558. mixinClass_closure: function mixinClass_closure() {
  29559. },
  29560. mixinClass__closure: function mixinClass__closure() {
  29561. },
  29562. mixinClass__closure0: function mixinClass__closure0() {
  29563. },
  29564. SassMixin0: function SassMixin0(t0, t1) {
  29565. this.callable = t0;
  29566. this._mixin0$_compileContext = t1;
  29567. },
  29568. MixinRule$0($name, parameters, children, span, comment) {
  29569. var t1 = A.stringReplaceAllUnchecked($name, "_", "-"),
  29570. t2 = A.List_List$unmodifiable(children, type$.Statement_2),
  29571. t3 = B.JSArray_methods.any$1(t2, new A.ParentStatement_closure0());
  29572. return new A.MixinRule0(t1, $name, parameters, span, t2, t3);
  29573. },
  29574. MixinRule0: function MixinRule0(t0, t1, t2, t3, t4, t5) {
  29575. var _ = this;
  29576. _._mixin_rule$__MixinRule_hasContent_FI = $;
  29577. _.name = t0;
  29578. _.originalName = t1;
  29579. _.parameters = t2;
  29580. _.span = t3;
  29581. _.children = t4;
  29582. _.hasDeclarations = t5;
  29583. },
  29584. _HasContentVisitor0: function _HasContentVisitor0() {
  29585. },
  29586. __HasContentVisitor_Object_StatementSearchVisitor0: function __HasContentVisitor_Object_StatementSearchVisitor0() {
  29587. },
  29588. ExtendMode0: function ExtendMode0(t0, t1) {
  29589. this.name = t0;
  29590. this._name = t1;
  29591. },
  29592. JSModule0: function JSModule0() {
  29593. },
  29594. JSModuleRequire0: function JSModuleRequire0() {
  29595. },
  29596. MultiSpan0: function MultiSpan0(t0, t1, t2) {
  29597. this._multi_span0$_primary = t0;
  29598. this.primaryLabel = t1;
  29599. this.secondarySpans = t2;
  29600. },
  29601. SupportsNegation0: function SupportsNegation0(t0, t1) {
  29602. this.condition = t0;
  29603. this.span = t1;
  29604. },
  29605. NoOpImporter0: function NoOpImporter0() {
  29606. },
  29607. NoSourceMapBuffer0: function NoSourceMapBuffer0(t0) {
  29608. this._no_source_map_buffer0$_buffer = t0;
  29609. },
  29610. _FakeAstNode0: function _FakeAstNode0(t0) {
  29611. this._node0$_callback = t0;
  29612. },
  29613. CssNode0: function CssNode0() {
  29614. },
  29615. CssParentNode0: function CssParentNode0() {
  29616. },
  29617. _IsInvisibleVisitor1: function _IsInvisibleVisitor1(t0, t1) {
  29618. this.includeBogus = t0;
  29619. this.includeComments = t1;
  29620. },
  29621. __IsInvisibleVisitor_Object_EveryCssVisitor0: function __IsInvisibleVisitor_Object_EveryCssVisitor0() {
  29622. },
  29623. ModifiableCssNode0: function ModifiableCssNode0() {
  29624. },
  29625. ModifiableCssNode_hasFollowingSibling_closure0: function ModifiableCssNode_hasFollowingSibling_closure0() {
  29626. },
  29627. ModifiableCssParentNode0: function ModifiableCssParentNode0() {
  29628. },
  29629. NodePackageImporter0: function NodePackageImporter0() {
  29630. this._node_package$__NodePackageImporter__entryPointDirectory_F = $;
  29631. },
  29632. NodePackageImporter__nodePackageExportsResolve_closure3: function NodePackageImporter__nodePackageExportsResolve_closure3() {
  29633. },
  29634. NodePackageImporter__nodePackageExportsResolve_closure4: function NodePackageImporter__nodePackageExportsResolve_closure4() {
  29635. },
  29636. NodePackageImporter__nodePackageExportsResolve_closure5: function NodePackageImporter__nodePackageExportsResolve_closure5() {
  29637. },
  29638. NodePackageImporter__nodePackageExportsResolve_closure6: function NodePackageImporter__nodePackageExportsResolve_closure6(t0, t1, t2) {
  29639. this.$this = t0;
  29640. this.exports = t1;
  29641. this.packageRoot = t2;
  29642. },
  29643. NodePackageImporter__nodePackageExportsResolve__closure1: function NodePackageImporter__nodePackageExportsResolve__closure1(t0, t1, t2) {
  29644. this.$this = t0;
  29645. this.variant = t1;
  29646. this.packageRoot = t2;
  29647. },
  29648. NodePackageImporter__nodePackageExportsResolve__closure2: function NodePackageImporter__nodePackageExportsResolve__closure2() {
  29649. },
  29650. NodePackageImporter__getMainExport_closure0: function NodePackageImporter__getMainExport_closure0() {
  29651. },
  29652. NullExpression$(span) {
  29653. return new A.NullExpression0(span);
  29654. },
  29655. NullExpression0: function NullExpression0(t0) {
  29656. this.span = t0;
  29657. },
  29658. legacyNullClass_closure: function legacyNullClass_closure() {
  29659. },
  29660. legacyNullClass__closure: function legacyNullClass__closure() {
  29661. },
  29662. _SassNull0: function _SassNull0() {
  29663. },
  29664. NumberExpression0: function NumberExpression0(t0, t1, t2) {
  29665. this.value = t0;
  29666. this.unit = t1;
  29667. this.span = t2;
  29668. },
  29669. numberClass_closure: function numberClass_closure() {
  29670. },
  29671. numberClass__closure: function numberClass__closure() {
  29672. },
  29673. numberClass__closure0: function numberClass__closure0() {
  29674. },
  29675. numberClass__closure1: function numberClass__closure1() {
  29676. },
  29677. numberClass__closure2: function numberClass__closure2() {
  29678. },
  29679. numberClass__closure3: function numberClass__closure3() {
  29680. },
  29681. numberClass__closure4: function numberClass__closure4() {
  29682. },
  29683. numberClass__closure5: function numberClass__closure5() {
  29684. },
  29685. numberClass__closure6: function numberClass__closure6() {
  29686. },
  29687. numberClass__closure7: function numberClass__closure7() {
  29688. },
  29689. numberClass__closure8: function numberClass__closure8() {
  29690. },
  29691. numberClass__closure9: function numberClass__closure9() {
  29692. },
  29693. numberClass__closure10: function numberClass__closure10() {
  29694. },
  29695. numberClass__closure11: function numberClass__closure11() {
  29696. },
  29697. numberClass__closure12: function numberClass__closure12() {
  29698. },
  29699. numberClass__closure13: function numberClass__closure13() {
  29700. },
  29701. numberClass__closure14: function numberClass__closure14() {
  29702. },
  29703. numberClass__closure15: function numberClass__closure15() {
  29704. },
  29705. numberClass__closure16: function numberClass__closure16() {
  29706. },
  29707. numberClass__closure17: function numberClass__closure17() {
  29708. },
  29709. numberClass__closure18: function numberClass__closure18() {
  29710. },
  29711. numberClass__closure19: function numberClass__closure19() {
  29712. },
  29713. _ConstructorOptions0: function _ConstructorOptions0() {
  29714. },
  29715. _parseNumber(value, unit) {
  29716. var invalidUnit, operands, t1, numerator, denominator, numeratorUnits, denominatorUnits;
  29717. if (unit == null || unit.length === 0)
  29718. return A.SassNumber_SassNumber0(value, null);
  29719. if (!B.JSString_methods.contains$1(unit, "*") && !B.JSString_methods.contains$1(unit, "/"))
  29720. return A.SassNumber_SassNumber0(value, unit);
  29721. invalidUnit = new A.ArgumentError(true, unit, "unit", "is invalid.");
  29722. operands = unit.split("/");
  29723. t1 = operands.length;
  29724. if (t1 > 2)
  29725. throw A.wrapException(invalidUnit);
  29726. numerator = operands[0];
  29727. denominator = t1 === 1 ? null : operands[1];
  29728. t1 = type$.JSArray_String;
  29729. numeratorUnits = numerator.length === 0 ? A._setArrayType([], t1) : A._setArrayType(numerator.split("*"), t1);
  29730. if (B.JSArray_methods.any$1(numeratorUnits, new A._parseNumber_closure()))
  29731. throw A.wrapException(invalidUnit);
  29732. denominatorUnits = denominator == null ? A._setArrayType([], t1) : A._setArrayType(denominator.split("*"), t1);
  29733. if (B.JSArray_methods.any$1(denominatorUnits, new A._parseNumber_closure0()))
  29734. throw A.wrapException(invalidUnit);
  29735. return A.SassNumber_SassNumber$withUnits0(value, denominatorUnits, numeratorUnits);
  29736. },
  29737. _NodeSassNumber: function _NodeSassNumber() {
  29738. },
  29739. legacyNumberClass_closure: function legacyNumberClass_closure() {
  29740. },
  29741. legacyNumberClass_closure0: function legacyNumberClass_closure0() {
  29742. },
  29743. legacyNumberClass_closure1: function legacyNumberClass_closure1() {
  29744. },
  29745. legacyNumberClass_closure2: function legacyNumberClass_closure2() {
  29746. },
  29747. legacyNumberClass_closure3: function legacyNumberClass_closure3() {
  29748. },
  29749. _parseNumber_closure: function _parseNumber_closure() {
  29750. },
  29751. _parseNumber_closure0: function _parseNumber_closure0() {
  29752. },
  29753. conversionFactor0(unit1, unit2) {
  29754. var _0_0;
  29755. if (unit1 === unit2)
  29756. return 1;
  29757. _0_0 = B.Map_NtHoP.$index(0, unit1);
  29758. if (_0_0 != null)
  29759. return _0_0.$index(0, unit2);
  29760. return null;
  29761. },
  29762. SassNumber_SassNumber0(value, unit) {
  29763. return unit == null ? new A.UnitlessSassNumber0(value, null) : new A.SingleUnitSassNumber0(unit, value, null);
  29764. },
  29765. SassNumber_SassNumber$withUnits0(value, denominatorUnits, numeratorUnits) {
  29766. var _0_4, _0_6, _0_8_isSet, _0_10, _0_8, _0_10_isSet, _0_7, unit, _0_7_isSet, t2, _0_4_isSet, _0_7_isSet0, numerators, denominators, unsimplifiedDenominators, valueDouble, _i, denominator, simplifiedAway, i, factor, _1_2, _1_7_isSet, _1_7, _null = null,
  29767. _0_3 = numeratorUnits == null,
  29768. t1 = _0_3,
  29769. _0_6_isSet = !t1;
  29770. if (_0_6_isSet) {
  29771. _0_4 = J.get$length$asx(numeratorUnits == null ? type$.List_String._as(numeratorUnits) : numeratorUnits);
  29772. t1 = _0_4;
  29773. _0_6 = t1 <= 0;
  29774. _0_8_isSet = _0_6;
  29775. } else {
  29776. _0_4 = _null;
  29777. _0_6 = _0_4;
  29778. _0_8_isSet = true;
  29779. }
  29780. _0_10 = _null;
  29781. if (_0_8_isSet) {
  29782. _0_8 = denominatorUnits == null;
  29783. t1 = _0_8;
  29784. _0_10_isSet = !t1;
  29785. if (_0_10_isSet) {
  29786. _0_10 = J.get$length$asx(denominatorUnits == null ? type$.List_String._as(denominatorUnits) : denominatorUnits) <= 0;
  29787. t1 = _0_10;
  29788. } else
  29789. t1 = true;
  29790. _0_7 = denominatorUnits;
  29791. } else {
  29792. _0_7 = _null;
  29793. _0_8 = _0_7;
  29794. _0_10_isSet = false;
  29795. t1 = false;
  29796. }
  29797. if (t1)
  29798. return new A.UnitlessSassNumber0(value, _null);
  29799. unit = _null;
  29800. t1 = false;
  29801. if (type$.List_dynamic._is(numeratorUnits)) {
  29802. _0_7_isSet = true;
  29803. if (_0_6_isSet) {
  29804. t2 = _0_4;
  29805. _0_4_isSet = _0_6_isSet;
  29806. } else {
  29807. _0_4 = J.get$length$asx(numeratorUnits);
  29808. t2 = _0_4;
  29809. _0_4_isSet = true;
  29810. }
  29811. if (t2 === 1) {
  29812. unit = J.$index$asx(numeratorUnits, 0);
  29813. if (_0_8_isSet) {
  29814. t1 = _0_8;
  29815. _0_7_isSet0 = _0_8_isSet;
  29816. } else {
  29817. _0_8 = denominatorUnits == null;
  29818. t1 = _0_8;
  29819. _0_7_isSet0 = _0_7_isSet;
  29820. _0_7 = denominatorUnits;
  29821. _0_8_isSet = true;
  29822. }
  29823. if (!t1)
  29824. if (_0_10_isSet) {
  29825. t1 = _0_10;
  29826. _0_7_isSet = _0_7_isSet0;
  29827. } else {
  29828. if (_0_7_isSet0) {
  29829. t1 = _0_7;
  29830. _0_7_isSet = _0_7_isSet0;
  29831. } else {
  29832. t1 = denominatorUnits;
  29833. _0_7 = t1;
  29834. }
  29835. _0_10 = J.get$length$asx(t1 == null ? type$.List_String._as(t1) : t1) <= 0;
  29836. t1 = _0_10;
  29837. _0_10_isSet = true;
  29838. }
  29839. else {
  29840. _0_7_isSet = _0_7_isSet0;
  29841. t1 = true;
  29842. }
  29843. } else
  29844. _0_7_isSet = _0_8_isSet;
  29845. } else {
  29846. _0_7_isSet = _0_8_isSet;
  29847. _0_4_isSet = _0_6_isSet;
  29848. }
  29849. if (t1)
  29850. return new A.SingleUnitSassNumber0(unit, value, _null);
  29851. t1 = numeratorUnits == null;
  29852. t2 = false;
  29853. if (!t1) {
  29854. _0_7_isSet0 = true;
  29855. numerators = numeratorUnits;
  29856. if (_0_8_isSet)
  29857. t2 = _0_8;
  29858. else {
  29859. if (_0_7_isSet)
  29860. t2 = _0_7;
  29861. else {
  29862. t2 = denominatorUnits;
  29863. _0_7_isSet = _0_7_isSet0;
  29864. _0_7 = t2;
  29865. }
  29866. _0_8 = t2 == null;
  29867. t2 = _0_8;
  29868. }
  29869. if (!t2)
  29870. if (_0_10_isSet)
  29871. t2 = _0_10;
  29872. else {
  29873. if (_0_7_isSet)
  29874. t2 = _0_7;
  29875. else {
  29876. t2 = denominatorUnits;
  29877. _0_7_isSet = _0_7_isSet0;
  29878. _0_7 = t2;
  29879. }
  29880. _0_10 = J.get$length$asx(t2 == null ? type$.List_String._as(t2) : t2) <= 0;
  29881. t2 = _0_10;
  29882. }
  29883. else
  29884. t2 = true;
  29885. } else
  29886. numerators = _null;
  29887. if (t2)
  29888. return new A.ComplexSassNumber0(A.List_List$unmodifiable(numerators, type$.String), B.List_empty, value, _null);
  29889. if (!_0_3)
  29890. if (_0_6_isSet)
  29891. t1 = _0_6;
  29892. else {
  29893. if (_0_4_isSet)
  29894. t1 = _0_4;
  29895. else {
  29896. _0_4 = J.get$length$asx(t1 ? type$.List_String._as(numeratorUnits) : numeratorUnits);
  29897. t1 = _0_4;
  29898. }
  29899. _0_6 = t1 <= 0;
  29900. t1 = _0_6;
  29901. }
  29902. else
  29903. t1 = true;
  29904. denominators = _null;
  29905. if (t1) {
  29906. if (_0_7_isSet)
  29907. t1 = _0_7;
  29908. else {
  29909. t1 = denominatorUnits;
  29910. _0_7 = t1;
  29911. _0_7_isSet = true;
  29912. }
  29913. t1 = t1 != null;
  29914. if (t1) {
  29915. denominators = _0_7_isSet ? _0_7 : denominatorUnits;
  29916. if (denominators == null)
  29917. denominators = type$.List_String._as(denominators);
  29918. }
  29919. } else
  29920. t1 = false;
  29921. if (t1)
  29922. return new A.ComplexSassNumber0(B.List_empty, A.List_List$unmodifiable(denominators, type$.String), value, _null);
  29923. numeratorUnits.toString;
  29924. numerators = J.toList$0$ax(numeratorUnits);
  29925. denominatorUnits.toString;
  29926. unsimplifiedDenominators = J.toList$0$ax(denominatorUnits);
  29927. denominators = A._setArrayType([], type$.JSArray_String);
  29928. for (t1 = unsimplifiedDenominators.length, valueDouble = value, _i = 0; _i < unsimplifiedDenominators.length; unsimplifiedDenominators.length === t1 || (0, A.throwConcurrentModificationError)(unsimplifiedDenominators), ++_i) {
  29929. denominator = unsimplifiedDenominators[_i];
  29930. i = 0;
  29931. while (true) {
  29932. if (!(i < numerators.length)) {
  29933. simplifiedAway = false;
  29934. break;
  29935. }
  29936. c$0: {
  29937. factor = A.conversionFactor0(denominator, numerators[i]);
  29938. if (factor == null)
  29939. break c$0;
  29940. valueDouble *= factor;
  29941. B.JSArray_methods.removeAt$1(numerators, i);
  29942. simplifiedAway = true;
  29943. break;
  29944. }
  29945. ++i;
  29946. }
  29947. if (!simplifiedAway)
  29948. denominators.push(denominator);
  29949. }
  29950. $label0$1: {
  29951. _1_2 = numerators.length;
  29952. t1 = _1_2;
  29953. _1_7_isSet = t1 <= 0;
  29954. if (_1_7_isSet) {
  29955. _1_7 = denominators.length <= 0;
  29956. t1 = _1_7;
  29957. } else {
  29958. _1_7 = _null;
  29959. t1 = false;
  29960. }
  29961. if (t1) {
  29962. t1 = new A.UnitlessSassNumber0(valueDouble, _null);
  29963. break $label0$1;
  29964. }
  29965. t1 = false;
  29966. if (_1_2 === 1) {
  29967. unit = numerators[0];
  29968. t1 = _1_7_isSet ? _1_7 : denominators.length <= 0;
  29969. } else
  29970. unit = _null;
  29971. if (t1) {
  29972. t1 = new A.SingleUnitSassNumber0(unit, valueDouble, _null);
  29973. break $label0$1;
  29974. }
  29975. t1 = type$.String;
  29976. t1 = new A.ComplexSassNumber0(A.List_List$unmodifiable(numerators, t1), A.List_List$unmodifiable(denominators, t1), valueDouble, _null);
  29977. break $label0$1;
  29978. }
  29979. return t1;
  29980. },
  29981. SassNumber0: function SassNumber0() {
  29982. },
  29983. SassNumber__coerceOrConvertValue_compatibilityException0: function SassNumber__coerceOrConvertValue_compatibilityException0(t0, t1, t2, t3, t4, t5, t6) {
  29984. var _ = this;
  29985. _.$this = t0;
  29986. _.other = t1;
  29987. _.otherName = t2;
  29988. _.otherHasUnits = t3;
  29989. _.name = t4;
  29990. _.newNumerators = t5;
  29991. _.newDenominators = t6;
  29992. },
  29993. SassNumber__coerceOrConvertValue_closure3: function SassNumber__coerceOrConvertValue_closure3(t0, t1) {
  29994. this._box_0 = t0;
  29995. this.newNumerator = t1;
  29996. },
  29997. SassNumber__coerceOrConvertValue_closure4: function SassNumber__coerceOrConvertValue_closure4(t0) {
  29998. this.compatibilityException = t0;
  29999. },
  30000. SassNumber__coerceOrConvertValue_closure5: function SassNumber__coerceOrConvertValue_closure5(t0, t1) {
  30001. this._box_0 = t0;
  30002. this.newDenominator = t1;
  30003. },
  30004. SassNumber__coerceOrConvertValue_closure6: function SassNumber__coerceOrConvertValue_closure6(t0) {
  30005. this.compatibilityException = t0;
  30006. },
  30007. SassNumber_plus_closure0: function SassNumber_plus_closure0() {
  30008. },
  30009. SassNumber_minus_closure0: function SassNumber_minus_closure0() {
  30010. },
  30011. SassNumber_multiplyUnits_closure3: function SassNumber_multiplyUnits_closure3(t0, t1) {
  30012. this._box_0 = t0;
  30013. this.numerator = t1;
  30014. },
  30015. SassNumber_multiplyUnits_closure4: function SassNumber_multiplyUnits_closure4(t0, t1) {
  30016. this.newNumerators = t0;
  30017. this.numerator = t1;
  30018. },
  30019. SassNumber_multiplyUnits_closure5: function SassNumber_multiplyUnits_closure5(t0, t1) {
  30020. this._box_0 = t0;
  30021. this.numerator = t1;
  30022. },
  30023. SassNumber_multiplyUnits_closure6: function SassNumber_multiplyUnits_closure6(t0, t1) {
  30024. this.newNumerators = t0;
  30025. this.numerator = t1;
  30026. },
  30027. SassNumber__areAnyConvertible_closure0: function SassNumber__areAnyConvertible_closure0(t0) {
  30028. this.units2 = t0;
  30029. },
  30030. SassNumber__canonicalizeUnitList_closure0: function SassNumber__canonicalizeUnitList_closure0() {
  30031. },
  30032. SassNumber__canonicalMultiplier_closure0: function SassNumber__canonicalMultiplier_closure0(t0) {
  30033. this.$this = t0;
  30034. },
  30035. SassNumber_unitSuggestion_closure1: function SassNumber_unitSuggestion_closure1() {
  30036. },
  30037. SassNumber_unitSuggestion_closure2: function SassNumber_unitSuggestion_closure2() {
  30038. },
  30039. OklabColorSpace0: function OklabColorSpace0(t0, t1) {
  30040. this.name = t0;
  30041. this._space$_channels = t1;
  30042. },
  30043. OklchColorSpace0: function OklchColorSpace0(t0, t1) {
  30044. this.name = t0;
  30045. this._space$_channels = t1;
  30046. },
  30047. SupportsOperation$0(left, right, operator, span) {
  30048. var lowerOperator = operator.toLowerCase();
  30049. if (lowerOperator !== "and" && lowerOperator !== "or")
  30050. A.throwExpression(A.ArgumentError$value(operator, "operator", 'may only be "and" or "or".'));
  30051. return new A.SupportsOperation0(left, right, operator, span);
  30052. },
  30053. SupportsOperation0: function SupportsOperation0(t0, t1, t2, t3) {
  30054. var _ = this;
  30055. _.left = t0;
  30056. _.right = t1;
  30057. _.operator = t2;
  30058. _.span = t3;
  30059. },
  30060. Parameter0: function Parameter0(t0, t1, t2) {
  30061. this.name = t0;
  30062. this.defaultValue = t1;
  30063. this.span = t2;
  30064. },
  30065. ParameterList_ParameterList$parse0(contents, url) {
  30066. return A.ScssParser$0(contents, url).parseParameterList$0();
  30067. },
  30068. ParameterList0: function ParameterList0(t0, t1, t2) {
  30069. this.parameters = t0;
  30070. this.restParameter = t1;
  30071. this.span = t2;
  30072. },
  30073. ParameterList_verify_closure1: function ParameterList_verify_closure1() {
  30074. },
  30075. ParameterList_verify_closure2: function ParameterList_verify_closure2() {
  30076. },
  30077. ParentSelector0: function ParentSelector0(t0, t1) {
  30078. this.suffix = t0;
  30079. this.span = t1;
  30080. },
  30081. ParentStatement0: function ParentStatement0() {
  30082. },
  30083. ParentStatement_closure0: function ParentStatement_closure0() {
  30084. },
  30085. ParentStatement__closure0: function ParentStatement__closure0() {
  30086. },
  30087. ParenthesizedExpression0: function ParenthesizedExpression0(t0, t1) {
  30088. this.expression = t0;
  30089. this.span = t1;
  30090. },
  30091. loadParserExports() {
  30092. A._updateAstPrototypes();
  30093. return {parse: A.allowInterop(A.parser0___parse$closure()), parseIdentifier: A.allowInterop(A.parser0___parseIdentifier$closure()), toCssIdentifier: A.allowInterop(A.parser0___toCssIdentifier$closure()), createExpressionVisitor: A.allowInterop(new A.loadParserExports_closure()), createStatementVisitor: A.allowInterop(new A.loadParserExports_closure0()), setToJS: A.allowInterop(new A.loadParserExports_closure1()), mapToRecord: A.allowInterop(A.utils3__mapToObject$closure())};
  30094. },
  30095. _updateAstPrototypes() {
  30096. var t2, t3, string, t4, t5, $arguments, _i, _null = null,
  30097. _s9_ = "arguments",
  30098. file = A.SourceFile$fromString("", _null),
  30099. t1 = type$.JSClass;
  30100. J.get$$prototype$x(t1._as(file.constructor)).getText = A.allowInteropCaptureThisNamed("getText", new A._updateAstPrototypes_closure());
  30101. A.defineGetter(J.get$$prototype$x(t1._as(file.constructor)), "codeUnits", new A._updateAstPrototypes_closure0(), _null);
  30102. t2 = $.$get$_interpolation();
  30103. A.defineGetter(J.get$$prototype$x(t1._as(t2.constructor)), "asPlain", new A._updateAstPrototypes_closure1(), _null);
  30104. t3 = $.$get$bogusSpan0();
  30105. J.get$$prototype$x(t1._as(self.Object.getPrototypeOf(J.get$$prototype$x(t1._as(new A.ExtendRule0(t2, false, t3).constructor))).constructor)).accept = A.allowInteropCaptureThisNamed("accept", new A._updateAstPrototypes_closure2());
  30106. string = new A.StringExpression0(t2, false);
  30107. J.get$$prototype$x(t1._as(self.Object.getPrototypeOf(J.get$$prototype$x(t1._as(string.constructor))).constructor)).accept = A.allowInteropCaptureThisNamed("accept", new A._updateAstPrototypes_closure3());
  30108. t4 = type$.String;
  30109. t5 = type$.Expression_2;
  30110. $arguments = new A.ArgumentList0(A.List_List$unmodifiable(A._setArrayType([], type$.JSArray_Expression_2), t5), A.ConstantMap_ConstantMap$from(A.LinkedHashMap_LinkedHashMap$_empty(t4, t5), t4, t5), _null, _null, t3);
  30111. A.defineGetter(J.get$$prototype$x(t1._as(new A.IncludeRule0(_null, A.stringReplaceAllUnchecked("a", "_", "-"), "a", $arguments, _null, t3).constructor)), _s9_, new A._updateAstPrototypes_closure4(), _null);
  30112. A.defineGetter(J.get$$prototype$x(t1._as(new A.ContentRule0($arguments, t3).constructor)), _s9_, new A._updateAstPrototypes_closure5(), _null);
  30113. A.defineGetter(J.get$$prototype$x(t1._as(new A.FunctionExpression0(_null, A.stringReplaceAllUnchecked("a", "_", "-"), "a", $arguments, t3).constructor)), _s9_, new A._updateAstPrototypes_closure6(), _null);
  30114. A.defineGetter(J.get$$prototype$x(t1._as(new A.IfExpression0($arguments, t3).constructor)), _s9_, new A._updateAstPrototypes_closure7(), _null);
  30115. A.defineGetter(J.get$$prototype$x(t1._as(new A.InterpolatedFunctionExpression0(t2, $arguments, t3).constructor)), _s9_, new A._updateAstPrototypes_closure8(), _null);
  30116. A._addSupportsConditionToInterpolation();
  30117. for (t2 = [string, new A.BinaryOperationExpression0(B.BinaryOperator_Swh0, string, string, false), new A.SupportsExpression0(new A.SupportsAnything0(t2, t3)), new A.LoudComment0(t2)], _i = 0; _i < 4; ++_i) {
  30118. t3 = J.get$$prototype$x(t1._as(t2[_i].constructor));
  30119. t4 = {get: A.allowInteropCaptureThis(new A._updateAstPrototypes_closure9()), enumerable: false};
  30120. self.Object.defineProperty(t3, "span", t4);
  30121. }
  30122. },
  30123. _addSupportsConditionToInterpolation() {
  30124. var t3, _i, $function, t4,
  30125. t1 = $.$get$_interpolation(),
  30126. t2 = $.$get$bogusSpan0(),
  30127. anything = new A.SupportsAnything0(t1, t2);
  30128. for (t3 = $.$get$_expression(), t2 = [anything, new A.SupportsDeclaration0(t3, t3, t2), new A.SupportsFunction0(t1, t1, t2), new A.SupportsInterpolation0(t3, t2), new A.SupportsNegation0(anything, t2), A.SupportsOperation$0(anything, anything, "and", t2)], t3 = type$.JSClass, _i = 0; _i < 6; ++_i) {
  30129. t1 = J.get$$prototype$x(t3._as(t2[_i].constructor));
  30130. $function = A.allowInteropCaptureThis(new A._addSupportsConditionToInterpolation_closure());
  30131. t4 = {value: "toInterpolation", enumerable: false};
  30132. self.Object.defineProperty($function, "name", t4);
  30133. A._hideDartProperties($function);
  30134. t1.toInterpolation = $function;
  30135. }
  30136. },
  30137. _parse(css, syntax, path) {
  30138. var t1;
  30139. $label0$0: {
  30140. if ("scss" === syntax) {
  30141. t1 = B.Syntax_SCSS_scss0;
  30142. break $label0$0;
  30143. }
  30144. if ("sass" === syntax) {
  30145. t1 = B.Syntax_Sass_sass0;
  30146. break $label0$0;
  30147. }
  30148. if ("css" === syntax) {
  30149. t1 = B.Syntax_CSS_css0;
  30150. break $label0$0;
  30151. }
  30152. t1 = A.throwExpression(A.UnsupportedError$('Unknown syntax "' + syntax + '"'));
  30153. }
  30154. return A.Stylesheet_Stylesheet$parse0(css, t1, A.NullableExtension_andThen0(path, A.path__toUri$closure()));
  30155. },
  30156. _parseIdentifier(identifier) {
  30157. var t1, exception;
  30158. try {
  30159. t1 = new A.Parser1(A.SpanScanner$(identifier, null), null)._parser1$_parseIdentifier$0();
  30160. return t1;
  30161. } catch (exception) {
  30162. if (type$.SassFormatException_2._is(A.unwrapException(exception)))
  30163. return null;
  30164. else
  30165. throw exception;
  30166. }
  30167. },
  30168. _toCssIdentifier(text) {
  30169. return A.StringExtension_toCssIdentifier(text);
  30170. },
  30171. ParserExports: function ParserExports() {
  30172. },
  30173. loadParserExports_closure: function loadParserExports_closure() {
  30174. },
  30175. loadParserExports_closure0: function loadParserExports_closure0() {
  30176. },
  30177. loadParserExports_closure1: function loadParserExports_closure1() {
  30178. },
  30179. _updateAstPrototypes_closure: function _updateAstPrototypes_closure() {
  30180. },
  30181. _updateAstPrototypes_closure0: function _updateAstPrototypes_closure0() {
  30182. },
  30183. _updateAstPrototypes_closure1: function _updateAstPrototypes_closure1() {
  30184. },
  30185. _updateAstPrototypes_closure2: function _updateAstPrototypes_closure2() {
  30186. },
  30187. _updateAstPrototypes_closure3: function _updateAstPrototypes_closure3() {
  30188. },
  30189. _updateAstPrototypes_closure4: function _updateAstPrototypes_closure4() {
  30190. },
  30191. _updateAstPrototypes_closure5: function _updateAstPrototypes_closure5() {
  30192. },
  30193. _updateAstPrototypes_closure6: function _updateAstPrototypes_closure6() {
  30194. },
  30195. _updateAstPrototypes_closure7: function _updateAstPrototypes_closure7() {
  30196. },
  30197. _updateAstPrototypes_closure8: function _updateAstPrototypes_closure8() {
  30198. },
  30199. _updateAstPrototypes_closure9: function _updateAstPrototypes_closure9() {
  30200. },
  30201. _addSupportsConditionToInterpolation_closure: function _addSupportsConditionToInterpolation_closure() {
  30202. },
  30203. Parser_isIdentifier0(text) {
  30204. var exception;
  30205. try {
  30206. new A.Parser1(A.SpanScanner$(text, null), null)._parser1$_parseIdentifier$0();
  30207. return true;
  30208. } catch (exception) {
  30209. if (type$.SassFormatException_2._is(A.unwrapException(exception)))
  30210. return false;
  30211. else
  30212. throw exception;
  30213. }
  30214. },
  30215. Parser1: function Parser1(t0, t1) {
  30216. this.scanner = t0;
  30217. this._parser1$_interpolationMap = t1;
  30218. },
  30219. Parser__parseIdentifier_closure0: function Parser__parseIdentifier_closure0(t0) {
  30220. this.$this = t0;
  30221. },
  30222. Parser_escape_closure0: function Parser_escape_closure0() {
  30223. },
  30224. Parser_scanIdentChar_matches0: function Parser_scanIdentChar_matches0(t0, t1) {
  30225. this.caseSensitive = t0;
  30226. this.char = t1;
  30227. },
  30228. Parser_spanFrom_closure0: function Parser_spanFrom_closure0(t0, t1) {
  30229. this.$this = t0;
  30230. this.span = t1;
  30231. },
  30232. PlaceholderSelector0: function PlaceholderSelector0(t0, t1) {
  30233. this.name = t0;
  30234. this.span = t1;
  30235. },
  30236. PlainCssCallable0: function PlainCssCallable0(t0) {
  30237. this.name = t0;
  30238. },
  30239. PrefixedMapView0: function PrefixedMapView0(t0, t1, t2) {
  30240. this._prefixed_map_view0$_map = t0;
  30241. this._prefixed_map_view0$_prefix = t1;
  30242. this.$ti = t2;
  30243. },
  30244. _PrefixedKeys0: function _PrefixedKeys0(t0) {
  30245. this._prefixed_map_view0$_view = t0;
  30246. },
  30247. _PrefixedKeys_iterator_closure0: function _PrefixedKeys_iterator_closure0(t0) {
  30248. this.$this = t0;
  30249. },
  30250. ProphotoRgbColorSpace0: function ProphotoRgbColorSpace0(t0, t1) {
  30251. this.name = t0;
  30252. this._space$_channels = t1;
  30253. },
  30254. PseudoSelector$0($name, span, argument, element, selector) {
  30255. var t1 = !element,
  30256. t2 = t1 && !A.PseudoSelector__isFakePseudoElement0($name);
  30257. return new A.PseudoSelector0($name, A.unvendor0($name), t2, t1, argument, selector, span);
  30258. },
  30259. PseudoSelector__isFakePseudoElement0($name) {
  30260. switch ($name.charCodeAt(0)) {
  30261. case 97:
  30262. case 65:
  30263. return A.equalsIgnoreCase0($name, "after");
  30264. case 98:
  30265. case 66:
  30266. return A.equalsIgnoreCase0($name, "before");
  30267. case 102:
  30268. case 70:
  30269. return A.equalsIgnoreCase0($name, "first-line") || A.equalsIgnoreCase0($name, "first-letter");
  30270. default:
  30271. return false;
  30272. }
  30273. },
  30274. PseudoSelector0: function PseudoSelector0(t0, t1, t2, t3, t4, t5, t6) {
  30275. var _ = this;
  30276. _.name = t0;
  30277. _.normalizedName = t1;
  30278. _.isClass = t2;
  30279. _.isSyntacticClass = t3;
  30280. _.argument = t4;
  30281. _.selector = t5;
  30282. _._pseudo$__PseudoSelector_specificity_FI = $;
  30283. _.span = t6;
  30284. },
  30285. PseudoSelector_specificity_closure0: function PseudoSelector_specificity_closure0(t0) {
  30286. this.$this = t0;
  30287. },
  30288. PseudoSelector_specificity__closure1: function PseudoSelector_specificity__closure1() {
  30289. },
  30290. PseudoSelector_specificity__closure2: function PseudoSelector_specificity__closure2() {
  30291. },
  30292. PseudoSelector_unify_closure0: function PseudoSelector_unify_closure0() {
  30293. },
  30294. PublicMemberMapView0: function PublicMemberMapView0(t0, t1) {
  30295. this._public_member_map_view0$_inner = t0;
  30296. this.$ti = t1;
  30297. },
  30298. QualifiedName0: function QualifiedName0(t0, t1) {
  30299. this.name = t0;
  30300. this.namespace = t1;
  30301. },
  30302. Rec2020ColorSpace0: function Rec2020ColorSpace0(t0, t1) {
  30303. this.name = t0;
  30304. this._space$_channels = t1;
  30305. },
  30306. createJSClass($name, $constructor) {
  30307. return type$.JSClass._as(A.allowInteropCaptureThisNamed($name, $constructor));
  30308. },
  30309. JSClassExtension_injectSuperclass(_this, superclass) {
  30310. var t1 = J.getInterceptor$x(superclass),
  30311. t2 = J.getInterceptor$x(_this);
  30312. self.Object.setPrototypeOf(t1.get$$prototype(superclass), J.get$$prototype$x(type$.JSClass._as(self.Object.getPrototypeOf(t2.get$$prototype(_this)).constructor)));
  30313. self.Object.setPrototypeOf(t2.get$$prototype(_this), self.Object.create(t1.get$$prototype(superclass)));
  30314. },
  30315. JSClassExtension_setCustomInspect(_this, inspect) {
  30316. if (self.util == null)
  30317. return;
  30318. J.get$$prototype$x(_this)[self.util.inspect.custom] = A.allowInteropCaptureThis(new A.JSClassExtension_setCustomInspect_closure(inspect));
  30319. },
  30320. JSClassExtension_get_defineStaticMethod(_this) {
  30321. return new A.JSClassExtension_get_defineStaticMethod_closure(_this);
  30322. },
  30323. JSClassExtension_get_defineMethod(_this) {
  30324. return new A.JSClassExtension_get_defineMethod_closure(_this);
  30325. },
  30326. JSClassExtension_defineMethods(_this, methods) {
  30327. methods.forEach$1(0, A.JSClassExtension_get_defineMethod(_this));
  30328. },
  30329. JSClassExtension_get_defineGetter(_this) {
  30330. return new A.JSClassExtension_get_defineGetter_closure(_this);
  30331. },
  30332. JSClass0: function JSClass0() {
  30333. },
  30334. JSClassExtension_setCustomInspect_closure: function JSClassExtension_setCustomInspect_closure(t0) {
  30335. this.inspect = t0;
  30336. },
  30337. JSClassExtension_get_defineStaticMethod_closure: function JSClassExtension_get_defineStaticMethod_closure(t0) {
  30338. this._this = t0;
  30339. },
  30340. JSClassExtension_get_defineMethod_closure: function JSClassExtension_get_defineMethod_closure(t0) {
  30341. this._this = t0;
  30342. },
  30343. JSClassExtension_get_defineGetter_closure: function JSClassExtension_get_defineGetter_closure(t0) {
  30344. this._this = t0;
  30345. },
  30346. RenderContext0: function RenderContext0() {
  30347. },
  30348. RenderContextOptions0: function RenderContextOptions0() {
  30349. },
  30350. RenderContextResult0: function RenderContextResult0() {
  30351. },
  30352. RenderContextResultStats0: function RenderContextResultStats0() {
  30353. },
  30354. RenderOptions: function RenderOptions() {
  30355. },
  30356. RenderResult: function RenderResult() {
  30357. },
  30358. RenderResultStats: function RenderResultStats() {
  30359. },
  30360. ReplaceExpressionVisitor0: function ReplaceExpressionVisitor0() {
  30361. },
  30362. ReplaceExpressionVisitor_visitListExpression_closure0: function ReplaceExpressionVisitor_visitListExpression_closure0(t0) {
  30363. this.$this = t0;
  30364. },
  30365. ReplaceExpressionVisitor_visitArgumentList_closure0: function ReplaceExpressionVisitor_visitArgumentList_closure0(t0) {
  30366. this.$this = t0;
  30367. },
  30368. ReplaceExpressionVisitor_visitInterpolation_closure0: function ReplaceExpressionVisitor_visitInterpolation_closure0(t0) {
  30369. this.$this = t0;
  30370. },
  30371. ImporterResult$(contents, sourceMapUrl, syntax) {
  30372. if ((sourceMapUrl == null ? null : sourceMapUrl.get$scheme()) === "")
  30373. A.throwExpression(A.ArgumentError$value(sourceMapUrl, "sourceMapUrl", "must be absolute"));
  30374. return new A.ImporterResult0(contents, sourceMapUrl, syntax);
  30375. },
  30376. ImporterResult0: function ImporterResult0(t0, t1, t2) {
  30377. this.contents = t0;
  30378. this._result$_sourceMapUrl = t1;
  30379. this.syntax = t2;
  30380. },
  30381. ReturnRule0: function ReturnRule0(t0, t1) {
  30382. this.expression = t0;
  30383. this.span = t1;
  30384. },
  30385. RgbColorSpace0: function RgbColorSpace0(t0, t1) {
  30386. this.name = t0;
  30387. this._space$_channels = t1;
  30388. },
  30389. SassParser0: function SassParser0(t0, t1, t2, t3) {
  30390. var _ = this;
  30391. _._sass0$_currentIndentation = 0;
  30392. _._sass0$_spaces = _._sass0$_nextIndentationEnd = _._sass0$_nextIndentation = null;
  30393. _._stylesheet0$_isUseAllowed = true;
  30394. _._stylesheet0$_inExpression = _._stylesheet0$_inParentheses = _._stylesheet0$_inStyleRule = _._stylesheet0$_inUnknownAtRule = _._stylesheet0$_inControlDirective = _._stylesheet0$_inContentBlock = _._stylesheet0$_inMixin = false;
  30395. _._stylesheet0$_globalVariables = t0;
  30396. _.warnings = t1;
  30397. _.lastSilentComment = null;
  30398. _.scanner = t2;
  30399. _._parser1$_interpolationMap = t3;
  30400. },
  30401. SassParser_styleRuleSelector_closure0: function SassParser_styleRuleSelector_closure0() {
  30402. },
  30403. SassParser_children_closure0: function SassParser_children_closure0(t0, t1, t2) {
  30404. this.$this = t0;
  30405. this.child = t1;
  30406. this.children = t2;
  30407. },
  30408. SassParser__peekIndentation_closure1: function SassParser__peekIndentation_closure1() {
  30409. },
  30410. SassParser__peekIndentation_closure2: function SassParser__peekIndentation_closure2() {
  30411. },
  30412. SassParser__tryTrailingSemicolon_closure0: function SassParser__tryTrailingSemicolon_closure0() {
  30413. },
  30414. _translateReturnValue(val) {
  30415. if (val instanceof A._Future)
  30416. return A.futureToPromise(val, type$.dynamic);
  30417. else
  30418. return val;
  30419. },
  30420. main2() {
  30421. new Uint8Array(0);
  30422. A.main();
  30423. J.set$cli_pkg_main_0_$x(self.exports, A._wrapMain(A.sass__main$closure()));
  30424. },
  30425. _wrapMain(main) {
  30426. if (type$.dynamic_Function._is(main))
  30427. return A.allowInterop(new A._wrapMain_closure(main));
  30428. else
  30429. return A.allowInterop(new A._wrapMain_closure0(main));
  30430. },
  30431. _Exports: function _Exports() {
  30432. },
  30433. _wrapMain_closure: function _wrapMain_closure(t0) {
  30434. this.main = t0;
  30435. },
  30436. _wrapMain_closure0: function _wrapMain_closure0(t0) {
  30437. this.main = t0;
  30438. },
  30439. ScssParser$0(contents, url) {
  30440. return new A.ScssParser0(A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.FileSpan), A._setArrayType([], type$.JSArray_Record_3_nullable_Deprecation_deprecation_and_String_message_and_FileSpan_span_2), A.SpanScanner$(contents, url), null);
  30441. },
  30442. ScssParser0: function ScssParser0(t0, t1, t2, t3) {
  30443. var _ = this;
  30444. _._stylesheet0$_isUseAllowed = true;
  30445. _._stylesheet0$_inExpression = _._stylesheet0$_inParentheses = _._stylesheet0$_inStyleRule = _._stylesheet0$_inUnknownAtRule = _._stylesheet0$_inControlDirective = _._stylesheet0$_inContentBlock = _._stylesheet0$_inMixin = false;
  30446. _._stylesheet0$_globalVariables = t0;
  30447. _.warnings = t1;
  30448. _.lastSilentComment = null;
  30449. _.scanner = t2;
  30450. _._parser1$_interpolationMap = t3;
  30451. },
  30452. Selector0: function Selector0() {
  30453. },
  30454. _IsInvisibleVisitor2: function _IsInvisibleVisitor2(t0) {
  30455. this.includeBogus = t0;
  30456. },
  30457. _IsBogusVisitor0: function _IsBogusVisitor0(t0) {
  30458. this.includeLeadingCombinator = t0;
  30459. },
  30460. _IsBogusVisitor_visitComplexSelector_closure0: function _IsBogusVisitor_visitComplexSelector_closure0(t0) {
  30461. this.$this = t0;
  30462. },
  30463. _IsUselessVisitor0: function _IsUselessVisitor0() {
  30464. },
  30465. _IsUselessVisitor_visitComplexSelector_closure0: function _IsUselessVisitor_visitComplexSelector_closure0(t0) {
  30466. this.$this = t0;
  30467. },
  30468. _ContainsParentSelectorVisitor0: function _ContainsParentSelectorVisitor0() {
  30469. },
  30470. __ContainsParentSelectorVisitor_Object_AnySelectorVisitor0: function __ContainsParentSelectorVisitor_Object_AnySelectorVisitor0() {
  30471. },
  30472. __IsBogusVisitor_Object_AnySelectorVisitor0: function __IsBogusVisitor_Object_AnySelectorVisitor0() {
  30473. },
  30474. __IsInvisibleVisitor_Object_AnySelectorVisitor0: function __IsInvisibleVisitor_Object_AnySelectorVisitor0() {
  30475. },
  30476. __IsUselessVisitor_Object_AnySelectorVisitor0: function __IsUselessVisitor_Object_AnySelectorVisitor0() {
  30477. },
  30478. SelectorExpression0: function SelectorExpression0(t0) {
  30479. this.span = t0;
  30480. },
  30481. _prependParent0(compound) {
  30482. var _0_3, _0_4, t2, t3, rest,
  30483. t1 = A.EvaluationContext_currentOrNull0(),
  30484. span = (t1 == null ? A.throwExpression(A.StateError$(string$.No_Sass)) : t1).get$currentCallableSpan(),
  30485. _0_0 = compound.components;
  30486. $label0$0: {
  30487. _0_3 = _0_0.length >= 1;
  30488. if (_0_3) {
  30489. _0_4 = _0_0[0];
  30490. t1 = _0_4 instanceof A.UniversalSelector0;
  30491. } else {
  30492. _0_4 = null;
  30493. t1 = false;
  30494. }
  30495. t2 = null;
  30496. if (t1) {
  30497. t1 = t2;
  30498. break $label0$0;
  30499. }
  30500. t1 = false;
  30501. if (_0_3) {
  30502. t3 = _0_4;
  30503. if (t3 instanceof A.TypeSelector0) {
  30504. t1 = _0_4;
  30505. t1 = type$.TypeSelector_2._as(t1).name.namespace != null;
  30506. }
  30507. }
  30508. if (t1) {
  30509. t1 = t2;
  30510. break $label0$0;
  30511. }
  30512. if (_0_3) {
  30513. t1 = _0_4;
  30514. t1 = t1 instanceof A.TypeSelector0;
  30515. } else
  30516. t1 = false;
  30517. if (t1) {
  30518. t1 = _0_3 ? _0_4 : _0_0[0];
  30519. type$.TypeSelector_2._as(t1);
  30520. rest = B.JSArray_methods.sublist$1(_0_0, 1);
  30521. t1 = A._setArrayType([new A.ParentSelector0(t1.name.name, span)], type$.JSArray_SimpleSelector_2);
  30522. B.JSArray_methods.addAll$1(t1, rest);
  30523. t1 = A.CompoundSelector$0(t1, span);
  30524. break $label0$0;
  30525. }
  30526. t1 = A._setArrayType([new A.ParentSelector0(null, span)], type$.JSArray_SimpleSelector_2);
  30527. B.JSArray_methods.addAll$1(t1, _0_0);
  30528. t1 = A.CompoundSelector$0(t1, span);
  30529. break $label0$0;
  30530. }
  30531. return t1;
  30532. },
  30533. _function8($name, $arguments, callback) {
  30534. return A.BuiltInCallable$function0($name, $arguments, callback, "sass:selector");
  30535. },
  30536. _nest_closure0: function _nest_closure0() {
  30537. },
  30538. _nest__closure1: function _nest__closure1(t0) {
  30539. this._box_0 = t0;
  30540. },
  30541. _nest__closure2: function _nest__closure2() {
  30542. },
  30543. _append_closure1: function _append_closure1() {
  30544. },
  30545. _append__closure1: function _append__closure1() {
  30546. },
  30547. _append__closure2: function _append__closure2(t0) {
  30548. this.span = t0;
  30549. },
  30550. _append___closure0: function _append___closure0(t0, t1) {
  30551. this.parent = t0;
  30552. this.span = t1;
  30553. },
  30554. _extend_closure0: function _extend_closure0() {
  30555. },
  30556. _replace_closure0: function _replace_closure0() {
  30557. },
  30558. _unify_closure0: function _unify_closure0() {
  30559. },
  30560. _isSuperselector_closure0: function _isSuperselector_closure0() {
  30561. },
  30562. _simpleSelectors_closure0: function _simpleSelectors_closure0() {
  30563. },
  30564. _simpleSelectors__closure0: function _simpleSelectors__closure0() {
  30565. },
  30566. _parse_closure0: function _parse_closure0() {
  30567. },
  30568. SelectorParser0: function SelectorParser0(t0, t1, t2, t3) {
  30569. var _ = this;
  30570. _._selector$_allowParent = t0;
  30571. _._selector$_plainCss = t1;
  30572. _.scanner = t2;
  30573. _._parser1$_interpolationMap = t3;
  30574. },
  30575. SelectorParser_parse_closure0: function SelectorParser_parse_closure0(t0) {
  30576. this.$this = t0;
  30577. },
  30578. SelectorParser_parseCompoundSelector_closure0: function SelectorParser_parseCompoundSelector_closure0(t0) {
  30579. this.$this = t0;
  30580. },
  30581. SelectorSearchVisitor0: function SelectorSearchVisitor0() {
  30582. },
  30583. SelectorSearchVisitor_visitComplexSelector_closure0: function SelectorSearchVisitor_visitComplexSelector_closure0(t0) {
  30584. this.$this = t0;
  30585. },
  30586. SelectorSearchVisitor_visitCompoundSelector_closure0: function SelectorSearchVisitor_visitCompoundSelector_closure0(t0) {
  30587. this.$this = t0;
  30588. },
  30589. serialize0(node, charset, indentWidth, inspect, lineFeed, logger, sourceMap, style, useSpaces) {
  30590. var t1, css, t2, prefix,
  30591. visitor = A._SerializeVisitor$0(indentWidth == null ? 2 : indentWidth, inspect, lineFeed, logger, true, sourceMap, style, useSpaces);
  30592. node.accept$1(visitor);
  30593. t1 = visitor._serialize0$_buffer;
  30594. css = t1.toString$0(0);
  30595. if (charset) {
  30596. t2 = new A.CodeUnits(css);
  30597. t2 = t2.any$1(t2, new A.serialize_closure0());
  30598. } else
  30599. t2 = false;
  30600. if (t2)
  30601. prefix = style === B.OutputStyle_10 ? "\ufeff" : '@charset "UTF-8";\n';
  30602. else
  30603. prefix = "";
  30604. t1 = sourceMap ? t1.buildSourceMap$1$prefix(prefix) : null;
  30605. return new A._Record_2_sourceMap(prefix + css, t1);
  30606. },
  30607. serializeValue0(value, inspect, quote) {
  30608. var _null = null,
  30609. visitor = A._SerializeVisitor$0(_null, inspect, _null, _null, quote, false, _null, true);
  30610. value.accept$1(visitor);
  30611. return visitor._serialize0$_buffer.toString$0(0);
  30612. },
  30613. serializeSelector0(selector, inspect) {
  30614. var _null = null,
  30615. visitor = A._SerializeVisitor$0(_null, true, _null, _null, true, false, _null, true);
  30616. selector.accept$1(visitor);
  30617. return visitor._serialize0$_buffer.toString$0(0);
  30618. },
  30619. _SerializeVisitor$0(indentWidth, inspect, lineFeed, logger, quote, sourceMap, style, useSpaces) {
  30620. var t1 = sourceMap ? new A.SourceMapBuffer0(new A.StringBuffer(""), A._setArrayType([], type$.JSArray_Entry)) : new A.NoSourceMapBuffer0(new A.StringBuffer("")),
  30621. t2 = style == null ? B.OutputStyle_00 : style,
  30622. t3 = useSpaces ? 32 : 9,
  30623. t4 = indentWidth == null ? 2 : indentWidth,
  30624. t5 = lineFeed == null ? B.LineFeed_9HY : lineFeed,
  30625. t6 = logger == null ? B.StderrLogger_false0 : logger;
  30626. A.RangeError_checkValueInInterval(t4, 0, 10, "indentWidth");
  30627. return new A._SerializeVisitor0(t1, t2, inspect, quote, t3, t4, t5, t6);
  30628. },
  30629. serialize_closure0: function serialize_closure0() {
  30630. },
  30631. _SerializeVisitor0: function _SerializeVisitor0(t0, t1, t2, t3, t4, t5, t6, t7) {
  30632. var _ = this;
  30633. _._serialize0$_buffer = t0;
  30634. _._serialize0$_indentation = 0;
  30635. _._serialize0$_style = t1;
  30636. _._serialize0$_inspect = t2;
  30637. _._serialize0$_quote = t3;
  30638. _._serialize0$_indentCharacter = t4;
  30639. _._serialize0$_indentWidth = t5;
  30640. _._lineFeed = t6;
  30641. _._serialize0$_logger = t7;
  30642. },
  30643. _SerializeVisitor_visitCssComment_closure0: function _SerializeVisitor_visitCssComment_closure0(t0, t1) {
  30644. this.$this = t0;
  30645. this.node = t1;
  30646. },
  30647. _SerializeVisitor_visitCssAtRule_closure0: function _SerializeVisitor_visitCssAtRule_closure0(t0, t1) {
  30648. this.$this = t0;
  30649. this.node = t1;
  30650. },
  30651. _SerializeVisitor_visitCssMediaRule_closure0: function _SerializeVisitor_visitCssMediaRule_closure0(t0, t1) {
  30652. this.$this = t0;
  30653. this.node = t1;
  30654. },
  30655. _SerializeVisitor_visitCssImport_closure0: function _SerializeVisitor_visitCssImport_closure0(t0, t1) {
  30656. this.$this = t0;
  30657. this.node = t1;
  30658. },
  30659. _SerializeVisitor_visitCssImport__closure0: function _SerializeVisitor_visitCssImport__closure0(t0, t1) {
  30660. this.$this = t0;
  30661. this.node = t1;
  30662. },
  30663. _SerializeVisitor_visitCssKeyframeBlock_closure0: function _SerializeVisitor_visitCssKeyframeBlock_closure0(t0, t1) {
  30664. this.$this = t0;
  30665. this.node = t1;
  30666. },
  30667. _SerializeVisitor_visitCssStyleRule_closure0: function _SerializeVisitor_visitCssStyleRule_closure0(t0, t1) {
  30668. this.$this = t0;
  30669. this.node = t1;
  30670. },
  30671. _SerializeVisitor_visitCssSupportsRule_closure0: function _SerializeVisitor_visitCssSupportsRule_closure0(t0, t1) {
  30672. this.$this = t0;
  30673. this.node = t1;
  30674. },
  30675. _SerializeVisitor_visitCssDeclaration_closure1: function _SerializeVisitor_visitCssDeclaration_closure1(t0, t1) {
  30676. this.$this = t0;
  30677. this.node = t1;
  30678. },
  30679. _SerializeVisitor_visitCssDeclaration_closure2: function _SerializeVisitor_visitCssDeclaration_closure2(t0, t1) {
  30680. this.$this = t0;
  30681. this.node = t1;
  30682. },
  30683. _SerializeVisitor_visitList_closure2: function _SerializeVisitor_visitList_closure2() {
  30684. },
  30685. _SerializeVisitor_visitList_closure3: function _SerializeVisitor_visitList_closure3(t0, t1) {
  30686. this.$this = t0;
  30687. this.value = t1;
  30688. },
  30689. _SerializeVisitor_visitList_closure4: function _SerializeVisitor_visitList_closure4(t0) {
  30690. this.$this = t0;
  30691. },
  30692. _SerializeVisitor_visitMap_closure0: function _SerializeVisitor_visitMap_closure0(t0) {
  30693. this.$this = t0;
  30694. },
  30695. _SerializeVisitor_visitSelectorList_closure0: function _SerializeVisitor_visitSelectorList_closure0() {
  30696. },
  30697. _SerializeVisitor__write_closure0: function _SerializeVisitor__write_closure0(t0, t1) {
  30698. this.$this = t0;
  30699. this.value = t1;
  30700. },
  30701. _SerializeVisitor__visitChildren_closure1: function _SerializeVisitor__visitChildren_closure1(t0, t1) {
  30702. this.$this = t0;
  30703. this.child = t1;
  30704. },
  30705. _SerializeVisitor__visitChildren_closure2: function _SerializeVisitor__visitChildren_closure2(t0, t1) {
  30706. this.$this = t0;
  30707. this.child = t1;
  30708. },
  30709. OutputStyle0: function OutputStyle0(t0) {
  30710. this._name = t0;
  30711. },
  30712. LineFeed0: function LineFeed0(t0, t1, t2) {
  30713. this.name = t0;
  30714. this.text = t1;
  30715. this._name = t2;
  30716. },
  30717. JSSet: function JSSet() {
  30718. },
  30719. ShadowedModuleView_ifNecessary0(inner, functions, mixins, variables, $T) {
  30720. 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;
  30721. },
  30722. ShadowedModuleView__shadowedMap0(map, blocklist, $V) {
  30723. var t1 = A.ShadowedModuleView__needsBlocklist0(map, blocklist);
  30724. return !t1 ? map : A.LimitedMapView$blocklist0(map, blocklist, type$.String, $V);
  30725. },
  30726. ShadowedModuleView__needsBlocklist0(map, blocklist) {
  30727. return map.get$isNotEmpty(map) && blocklist.any$1(0, map.get$containsKey());
  30728. },
  30729. ShadowedModuleView0: function ShadowedModuleView0(t0, t1, t2, t3, t4, t5) {
  30730. var _ = this;
  30731. _._shadowed_view0$_inner = t0;
  30732. _.variables = t1;
  30733. _.variableNodes = t2;
  30734. _.functions = t3;
  30735. _.mixins = t4;
  30736. _.$ti = t5;
  30737. },
  30738. SilentComment0: function SilentComment0(t0, t1) {
  30739. this.text = t0;
  30740. this.span = t1;
  30741. },
  30742. SimpleSelector0: function SimpleSelector0() {
  30743. },
  30744. SimpleSelector_isSuperselector_closure0: function SimpleSelector_isSuperselector_closure0(t0) {
  30745. this.$this = t0;
  30746. },
  30747. SimpleSelector_isSuperselector__closure0: function SimpleSelector_isSuperselector__closure0(t0) {
  30748. this.$this = t0;
  30749. },
  30750. SingleUnitSassNumber0: function SingleUnitSassNumber0(t0, t1, t2) {
  30751. var _ = this;
  30752. _._single_unit$_unit = t0;
  30753. _._number1$_value = t1;
  30754. _.hashCache = null;
  30755. _.asSlash = t2;
  30756. },
  30757. SingleUnitSassNumber__coerceToUnit_closure0: function SingleUnitSassNumber__coerceToUnit_closure0(t0, t1) {
  30758. this.$this = t0;
  30759. this.unit = t1;
  30760. },
  30761. SingleUnitSassNumber__coerceValueToUnit_closure0: function SingleUnitSassNumber__coerceValueToUnit_closure0(t0) {
  30762. this.$this = t0;
  30763. },
  30764. SingleUnitSassNumber_multiplyUnits_closure1: function SingleUnitSassNumber_multiplyUnits_closure1(t0, t1) {
  30765. this._box_0 = t0;
  30766. this.$this = t1;
  30767. },
  30768. SingleUnitSassNumber_multiplyUnits_closure2: function SingleUnitSassNumber_multiplyUnits_closure2(t0, t1) {
  30769. this._box_0 = t0;
  30770. this.$this = t1;
  30771. },
  30772. SourceInterpolationVisitor: function SourceInterpolationVisitor(t0) {
  30773. this.buffer = t0;
  30774. },
  30775. SourceMapBuffer0: function SourceMapBuffer0(t0, t1) {
  30776. var _ = this;
  30777. _._source_map_buffer0$_buffer = t0;
  30778. _._source_map_buffer0$_entries = t1;
  30779. _._source_map_buffer0$_column = _._source_map_buffer0$_line = 0;
  30780. _._source_map_buffer0$_inSpan = false;
  30781. },
  30782. SourceMapBuffer_buildSourceMap_closure0: function SourceMapBuffer_buildSourceMap_closure0(t0, t1) {
  30783. this._box_0 = t0;
  30784. this.prefixLength = t1;
  30785. },
  30786. updateSourceSpanPrototype() {
  30787. var t3, t4, _i, t5,
  30788. span = A.SourceFile$fromString("", null).span$1(0, 0),
  30789. t1 = type$.SourceSpan,
  30790. t2 = type$.String;
  30791. for (t1 = [span, new A.MultiSpan0(span, "", A.ConstantMap_ConstantMap$from(A.LinkedHashMap_LinkedHashMap$_empty(t1, t2), t1, t2)), new A.LazyFileSpan0(new A.updateSourceSpanPrototype_closure(span))], t3 = type$.JSClass, t4 = type$.Function, _i = 0; _i < 3; ++_i) {
  30792. t5 = t3._as(t1[_i].constructor);
  30793. A.LinkedHashMap_LinkedHashMap$_literal(["start", new A.updateSourceSpanPrototype_closure0(), "end", new A.updateSourceSpanPrototype_closure1(), "url", new A.updateSourceSpanPrototype_closure2(), "text", new A.updateSourceSpanPrototype_closure3(), "context", new A.updateSourceSpanPrototype_closure4()], t2, t4).forEach$1(0, A.JSClassExtension_get_defineGetter(t5));
  30794. }
  30795. t1 = t3._as(A.FileLocation$_(span.file, span._file$_start).constructor);
  30796. A.LinkedHashMap_LinkedHashMap$_literal(["line", new A.updateSourceSpanPrototype_closure5(), "column", new A.updateSourceSpanPrototype_closure6()], t2, t4).forEach$1(0, A.JSClassExtension_get_defineGetter(t1));
  30797. },
  30798. updateSourceSpanPrototype_closure: function updateSourceSpanPrototype_closure(t0) {
  30799. this.span = t0;
  30800. },
  30801. updateSourceSpanPrototype_closure0: function updateSourceSpanPrototype_closure0() {
  30802. },
  30803. updateSourceSpanPrototype_closure1: function updateSourceSpanPrototype_closure1() {
  30804. },
  30805. updateSourceSpanPrototype_closure2: function updateSourceSpanPrototype_closure2() {
  30806. },
  30807. updateSourceSpanPrototype__closure: function updateSourceSpanPrototype__closure() {
  30808. },
  30809. updateSourceSpanPrototype_closure3: function updateSourceSpanPrototype_closure3() {
  30810. },
  30811. updateSourceSpanPrototype_closure4: function updateSourceSpanPrototype_closure4() {
  30812. },
  30813. updateSourceSpanPrototype_closure5: function updateSourceSpanPrototype_closure5() {
  30814. },
  30815. updateSourceSpanPrototype_closure6: function updateSourceSpanPrototype_closure6() {
  30816. },
  30817. ColorSpace_fromName0($name, argumentName) {
  30818. var t1,
  30819. _0_0 = $name.toLowerCase();
  30820. $label0$0: {
  30821. if ("rgb" === _0_0) {
  30822. t1 = B.RgbColorSpace_i0P0;
  30823. break $label0$0;
  30824. }
  30825. if ("hwb" === _0_0) {
  30826. t1 = B.HwbColorSpace_guQ0;
  30827. break $label0$0;
  30828. }
  30829. if ("hsl" === _0_0) {
  30830. t1 = B.HslColorSpace_JQ20;
  30831. break $label0$0;
  30832. }
  30833. if ("srgb" === _0_0) {
  30834. t1 = B.SrgbColorSpace_thf0;
  30835. break $label0$0;
  30836. }
  30837. if ("srgb-linear" === _0_0) {
  30838. t1 = B.SrgbLinearColorSpace_kUj0;
  30839. break $label0$0;
  30840. }
  30841. if ("display-p3" === _0_0) {
  30842. t1 = B.DisplayP3ColorSpace_MmT0;
  30843. break $label0$0;
  30844. }
  30845. if ("a98-rgb" === _0_0) {
  30846. t1 = B.A98RgbColorSpace_lf20;
  30847. break $label0$0;
  30848. }
  30849. if ("prophoto-rgb" === _0_0) {
  30850. t1 = B.ProphotoRgbColorSpace_BDz0;
  30851. break $label0$0;
  30852. }
  30853. if ("rec2020" === _0_0) {
  30854. t1 = B.Rec2020ColorSpace_6oo0;
  30855. break $label0$0;
  30856. }
  30857. if ("xyz" === _0_0 || "xyz-d65" === _0_0) {
  30858. t1 = B.XyzD65ColorSpace_WiJ0;
  30859. break $label0$0;
  30860. }
  30861. if ("xyz-d50" === _0_0) {
  30862. t1 = B.XyzD50ColorSpace_2OB0;
  30863. break $label0$0;
  30864. }
  30865. if ("lab" === _0_0) {
  30866. t1 = B.LabColorSpace_2nT0;
  30867. break $label0$0;
  30868. }
  30869. if ("lch" === _0_0) {
  30870. t1 = B.LchColorSpace_Bpv0;
  30871. break $label0$0;
  30872. }
  30873. if ("oklab" === _0_0) {
  30874. t1 = B.OklabColorSpace_5400;
  30875. break $label0$0;
  30876. }
  30877. if ("oklch" === _0_0) {
  30878. t1 = B.OklchColorSpace_9Gj0;
  30879. break $label0$0;
  30880. }
  30881. t1 = A.throwExpression(A.SassScriptException$0('Unknown color space "' + $name + '".', argumentName));
  30882. }
  30883. return t1;
  30884. },
  30885. ColorSpace0: function ColorSpace0() {
  30886. },
  30887. SrgbColorSpace0: function SrgbColorSpace0(t0, t1) {
  30888. this.name = t0;
  30889. this._space$_channels = t1;
  30890. },
  30891. SrgbLinearColorSpace0: function SrgbLinearColorSpace0(t0, t1) {
  30892. this.name = t0;
  30893. this._space$_channels = t1;
  30894. },
  30895. Statement0: function Statement0() {
  30896. },
  30897. JSStatementVisitor: function JSStatementVisitor(t0) {
  30898. this._statement$_inner = t0;
  30899. },
  30900. JSStatementVisitorObject: function JSStatementVisitorObject() {
  30901. },
  30902. StatementSearchVisitor0: function StatementSearchVisitor0() {
  30903. },
  30904. StatementSearchVisitor_visitIfRule_closure1: function StatementSearchVisitor_visitIfRule_closure1(t0) {
  30905. this.$this = t0;
  30906. },
  30907. StatementSearchVisitor_visitIfRule__closure2: function StatementSearchVisitor_visitIfRule__closure2(t0) {
  30908. this.$this = t0;
  30909. },
  30910. StatementSearchVisitor_visitIfRule_closure2: function StatementSearchVisitor_visitIfRule_closure2(t0) {
  30911. this.$this = t0;
  30912. },
  30913. StatementSearchVisitor_visitIfRule__closure1: function StatementSearchVisitor_visitIfRule__closure1(t0) {
  30914. this.$this = t0;
  30915. },
  30916. StatementSearchVisitor_visitChildren_closure0: function StatementSearchVisitor_visitChildren_closure0(t0) {
  30917. this.$this = t0;
  30918. },
  30919. StaticImport0: function StaticImport0(t0, t1, t2) {
  30920. this.url = t0;
  30921. this.modifiers = t1;
  30922. this.span = t2;
  30923. },
  30924. StderrLogger0: function StderrLogger0(t0) {
  30925. this.color = t0;
  30926. },
  30927. StringExpression_quoteText0(text) {
  30928. var t1,
  30929. quote = A.StringExpression__bestQuote0(A._setArrayType([text], type$.JSArray_String)),
  30930. buffer = new A.StringBuffer("");
  30931. buffer._contents = "" + A.Primitives_stringFromCharCode(quote);
  30932. A.StringExpression__quoteInnerText0(text, quote, buffer, true);
  30933. t1 = A.Primitives_stringFromCharCode(quote);
  30934. t1 = buffer._contents += t1;
  30935. return t1.charCodeAt(0) == 0 ? t1 : t1;
  30936. },
  30937. StringExpression__quoteInnerText0(text, quote, buffer, $static) {
  30938. var t1, t2, i, _1_0, _0_0, t3, t4, t5, t0;
  30939. for (t1 = text.length, t2 = t1 - 1, i = 0; i < t1; ++i) {
  30940. _1_0 = text.charCodeAt(i);
  30941. if (_1_0 === 10 || _1_0 === 13 || _1_0 === 12) {
  30942. buffer.writeCharCode$1(92);
  30943. buffer.writeCharCode$1(97);
  30944. if (i !== t2) {
  30945. _0_0 = text.charCodeAt(i + 1);
  30946. t3 = true;
  30947. if (!(_0_0 === 32 || _0_0 === 9 || _0_0 === 10 || _0_0 === 13 || _0_0 === 12))
  30948. if (!(_0_0 >= 48 && _0_0 <= 57))
  30949. if (!(_0_0 >= 97 && _0_0 <= 102))
  30950. t3 = _0_0 >= 65 && _0_0 <= 70;
  30951. if (t3)
  30952. buffer.writeCharCode$1(32);
  30953. }
  30954. continue;
  30955. }
  30956. t3 = 92 === _1_0;
  30957. if (t3)
  30958. t4 = _1_0;
  30959. else
  30960. t4 = null;
  30961. if (!t3) {
  30962. t3 = false;
  30963. t5 = _1_0 === quote;
  30964. if (t5)
  30965. t4 = _1_0;
  30966. if (!t5)
  30967. if (35 === _1_0)
  30968. if ($static)
  30969. if (i < t2) {
  30970. t3 = text.charCodeAt(i + 1) === 123;
  30971. if (t3)
  30972. t4 = _1_0;
  30973. t0 = t4;
  30974. t4 = t3;
  30975. t3 = t0;
  30976. } else {
  30977. t0 = t4;
  30978. t4 = t3;
  30979. t3 = t0;
  30980. }
  30981. else {
  30982. t0 = t4;
  30983. t4 = t3;
  30984. t3 = t0;
  30985. }
  30986. else {
  30987. t0 = t4;
  30988. t4 = t3;
  30989. t3 = t0;
  30990. }
  30991. else {
  30992. t3 = t4;
  30993. t4 = true;
  30994. }
  30995. } else {
  30996. t3 = t4;
  30997. t4 = true;
  30998. }
  30999. if (t4) {
  31000. buffer.writeCharCode$1(92);
  31001. buffer.writeCharCode$1(t3);
  31002. continue;
  31003. }
  31004. buffer.writeCharCode$1(_1_0);
  31005. }
  31006. },
  31007. StringExpression__bestQuote0(strings) {
  31008. var t1, t2, t3, containsDoubleQuote, t4, t5;
  31009. for (t1 = J.get$iterator$ax(strings), t2 = type$.CodeUnits, t3 = t2._eval$1("ListIterator<ListBase.E>"), t2 = t2._eval$1("ListBase.E"), containsDoubleQuote = false; t1.moveNext$0();)
  31010. for (t4 = new A.CodeUnits(t1.get$current(t1)), t4 = new A.ListIterator(t4, t4.get$length(0), t3); t4.moveNext$0();) {
  31011. t5 = t4.__internal$_current;
  31012. if (t5 == null)
  31013. t5 = t2._as(t5);
  31014. if (t5 === 39)
  31015. return 34;
  31016. if (t5 === 34)
  31017. containsDoubleQuote = true;
  31018. }
  31019. return containsDoubleQuote ? 39 : 34;
  31020. },
  31021. StringExpression0: function StringExpression0(t0, t1) {
  31022. this.text = t0;
  31023. this.hasQuotes = t1;
  31024. },
  31025. _codepointForIndex0(index, lengthInCodepoints, allowNegative) {
  31026. var result;
  31027. if (index === 0)
  31028. return 0;
  31029. if (index > 0)
  31030. return Math.min(index - 1, lengthInCodepoints);
  31031. result = lengthInCodepoints + index;
  31032. if (result < 0 && !allowNegative)
  31033. return 0;
  31034. return result;
  31035. },
  31036. _function7($name, $arguments, callback) {
  31037. return A.BuiltInCallable$function0($name, $arguments, callback, "sass:string");
  31038. },
  31039. module_closure25: function module_closure25() {
  31040. },
  31041. module__closure3: function module__closure3(t0) {
  31042. this.string = t0;
  31043. },
  31044. module__closure4: function module__closure4(t0) {
  31045. this.string = t0;
  31046. },
  31047. _unquote_closure0: function _unquote_closure0() {
  31048. },
  31049. _quote_closure0: function _quote_closure0() {
  31050. },
  31051. _length_closure1: function _length_closure1() {
  31052. },
  31053. _insert_closure0: function _insert_closure0() {
  31054. },
  31055. _index_closure1: function _index_closure1() {
  31056. },
  31057. _slice_closure0: function _slice_closure0() {
  31058. },
  31059. _toUpperCase_closure0: function _toUpperCase_closure0() {
  31060. },
  31061. _toLowerCase_closure0: function _toLowerCase_closure0() {
  31062. },
  31063. _uniqueId_closure0: function _uniqueId_closure0() {
  31064. },
  31065. StringExtension_toCssIdentifier(_this) {
  31066. var t1, doubleDash, _2_0, character, _3_0,
  31067. _s52_ = "The U+0000 can't be represented as a CSS identifier.",
  31068. _s65_ = "An individual surrogate can't be represented as a CSS identifier.",
  31069. buffer = new A.StringBuffer(""),
  31070. scanner = A.SpanScanner$(_this, null),
  31071. writeEscape = new A.StringExtension_toCssIdentifier_writeEscape(buffer, scanner),
  31072. consumeSurrogatePair = new A.StringExtension_toCssIdentifier_consumeSurrogatePair(scanner, writeEscape, buffer);
  31073. if (scanner.scanChar$1(45)) {
  31074. if (scanner._string_scanner$_position === scanner.string.length)
  31075. return "\\2d";
  31076. t1 = A.Primitives_stringFromCharCode(45);
  31077. buffer._contents += t1;
  31078. doubleDash = scanner.scanChar$1(45);
  31079. if (doubleDash) {
  31080. t1 = A.Primitives_stringFromCharCode(45);
  31081. buffer._contents += t1;
  31082. }
  31083. } else
  31084. doubleDash = false;
  31085. if (!doubleDash)
  31086. $label0$0: {
  31087. _2_0 = scanner.peekChar$0();
  31088. if (_2_0 == null)
  31089. scanner.error$1(0, "The empty string can't be represented as a CSS identifier.");
  31090. if (0 === _2_0)
  31091. scanner.error$1(0, _s52_);
  31092. t1 = _2_0 >>> 10 === 54;
  31093. character = _2_0;
  31094. if (t1) {
  31095. consumeSurrogatePair.call$1(character);
  31096. break $label0$0;
  31097. }
  31098. if (_2_0 >>> 10 === 55)
  31099. scanner.error$2$length(0, _s65_, 1);
  31100. if (_2_0 === 95 || A.CharacterExtension_get_isAlphabetic0(_2_0) || _2_0 >= 128)
  31101. t1 = !(_2_0 >= 57344 && _2_0 <= 63743);
  31102. else
  31103. t1 = false;
  31104. if (t1) {
  31105. t1 = A.Primitives_stringFromCharCode(scanner.readChar$0());
  31106. buffer._contents += t1;
  31107. break $label0$0;
  31108. }
  31109. writeEscape.call$1(scanner.readChar$0());
  31110. }
  31111. for (; true;) {
  31112. _3_0 = scanner.peekChar$0();
  31113. if (_3_0 == null)
  31114. break;
  31115. if (0 === _3_0)
  31116. scanner.error$1(0, _s52_);
  31117. t1 = _3_0 >>> 10 === 54;
  31118. if (t1) {
  31119. consumeSurrogatePair.call$1(_3_0);
  31120. continue;
  31121. }
  31122. if (_3_0 >>> 10 === 55)
  31123. scanner.error$2$length(0, _s65_, 1);
  31124. if (_3_0 !== 95) {
  31125. if (!(_3_0 >= 97 && _3_0 <= 122))
  31126. t1 = _3_0 >= 65 && _3_0 <= 90;
  31127. else
  31128. t1 = true;
  31129. t1 = t1 || _3_0 >= 128;
  31130. } else
  31131. t1 = true;
  31132. if (!t1)
  31133. t1 = _3_0 >= 48 && _3_0 <= 57 || _3_0 === 45;
  31134. else
  31135. t1 = true;
  31136. if (t1)
  31137. t1 = !(_3_0 >= 57344 && _3_0 <= 63743);
  31138. else
  31139. t1 = false;
  31140. if (t1) {
  31141. t1 = A.Primitives_stringFromCharCode(scanner.readChar$0());
  31142. buffer._contents += t1;
  31143. continue;
  31144. }
  31145. writeEscape.call$1(scanner.readChar$0());
  31146. }
  31147. t1 = buffer._contents;
  31148. return t1.charCodeAt(0) == 0 ? t1 : t1;
  31149. },
  31150. StringExtension_toCssIdentifier_writeEscape: function StringExtension_toCssIdentifier_writeEscape(t0, t1) {
  31151. this.buffer = t0;
  31152. this.scanner = t1;
  31153. },
  31154. StringExtension_toCssIdentifier_consumeSurrogatePair: function StringExtension_toCssIdentifier_consumeSurrogatePair(t0, t1, t2) {
  31155. this.scanner = t0;
  31156. this.writeEscape = t1;
  31157. this.buffer = t2;
  31158. },
  31159. stringClass_closure: function stringClass_closure() {
  31160. },
  31161. stringClass__closure: function stringClass__closure() {
  31162. },
  31163. stringClass__closure0: function stringClass__closure0() {
  31164. },
  31165. stringClass__closure1: function stringClass__closure1() {
  31166. },
  31167. stringClass__closure2: function stringClass__closure2() {
  31168. },
  31169. stringClass__closure3: function stringClass__closure3() {
  31170. },
  31171. _ConstructorOptions1: function _ConstructorOptions1() {
  31172. },
  31173. _NodeSassString: function _NodeSassString() {
  31174. },
  31175. legacyStringClass_closure: function legacyStringClass_closure() {
  31176. },
  31177. legacyStringClass_closure0: function legacyStringClass_closure0() {
  31178. },
  31179. legacyStringClass_closure1: function legacyStringClass_closure1() {
  31180. },
  31181. SassString$0(_text, quotes) {
  31182. return new A.SassString0(_text, quotes);
  31183. },
  31184. SassString0: function SassString0(t0, t1) {
  31185. var _ = this;
  31186. _._string0$_text = t0;
  31187. _._string0$_hasQuotes = t1;
  31188. _._string0$__SassString__sassLength_FI = $;
  31189. _._string0$_hashCache = null;
  31190. },
  31191. ModifiableCssStyleRule$0(_selector, span, fromPlainCss, originalSelector) {
  31192. var t1 = A._setArrayType([], type$.JSArray_ModifiableCssNode_2);
  31193. return new A.ModifiableCssStyleRule0(_selector, originalSelector, span, fromPlainCss, new A.UnmodifiableListView(t1, type$.UnmodifiableListView_ModifiableCssNode_2), t1);
  31194. },
  31195. ModifiableCssStyleRule0: function ModifiableCssStyleRule0(t0, t1, t2, t3, t4, t5) {
  31196. var _ = this;
  31197. _._style_rule0$_selector = t0;
  31198. _.originalSelector = t1;
  31199. _.span = t2;
  31200. _.fromPlainCss = t3;
  31201. _.children = t4;
  31202. _._node$_children = t5;
  31203. _._node$_indexInParent = _._node$_parent = null;
  31204. _.isGroupEnd = false;
  31205. },
  31206. StyleRule$0(selector, children, span) {
  31207. var t1 = A.List_List$unmodifiable(children, type$.Statement_2),
  31208. t2 = B.JSArray_methods.any$1(t1, new A.ParentStatement_closure0());
  31209. return new A.StyleRule0(selector, span, t1, t2);
  31210. },
  31211. StyleRule0: function StyleRule0(t0, t1, t2, t3) {
  31212. var _ = this;
  31213. _.selector = t0;
  31214. _.span = t1;
  31215. _.children = t2;
  31216. _.hasDeclarations = t3;
  31217. },
  31218. CssStylesheet0: function CssStylesheet0(t0, t1) {
  31219. this.children = t0;
  31220. this.span = t1;
  31221. },
  31222. ModifiableCssStylesheet$0(span) {
  31223. var t1 = A._setArrayType([], type$.JSArray_ModifiableCssNode_2);
  31224. return new A.ModifiableCssStylesheet0(span, new A.UnmodifiableListView(t1, type$.UnmodifiableListView_ModifiableCssNode_2), t1);
  31225. },
  31226. ModifiableCssStylesheet0: function ModifiableCssStylesheet0(t0, t1, t2) {
  31227. var _ = this;
  31228. _.span = t0;
  31229. _.children = t1;
  31230. _._node$_children = t2;
  31231. _._node$_indexInParent = _._node$_parent = null;
  31232. _.isGroupEnd = false;
  31233. },
  31234. StylesheetParser0: function StylesheetParser0() {
  31235. },
  31236. StylesheetParser_parse_closure0: function StylesheetParser_parse_closure0(t0) {
  31237. this.$this = t0;
  31238. },
  31239. StylesheetParser_parse__closure0: function StylesheetParser_parse__closure0(t0) {
  31240. this.$this = t0;
  31241. },
  31242. StylesheetParser_parseParameterList_closure0: function StylesheetParser_parseParameterList_closure0(t0) {
  31243. this.$this = t0;
  31244. },
  31245. StylesheetParser__parseSingleProduction_closure0: function StylesheetParser__parseSingleProduction_closure0(t0, t1, t2) {
  31246. this.$this = t0;
  31247. this.production = t1;
  31248. this.T = t2;
  31249. },
  31250. StylesheetParser_parseSignature_closure: function StylesheetParser_parseSignature_closure(t0, t1) {
  31251. this.$this = t0;
  31252. this.requireParens = t1;
  31253. },
  31254. StylesheetParser__statement_closure0: function StylesheetParser__statement_closure0(t0) {
  31255. this.$this = t0;
  31256. },
  31257. StylesheetParser_variableDeclarationWithoutNamespace_closure1: function StylesheetParser_variableDeclarationWithoutNamespace_closure1(t0, t1) {
  31258. this.$this = t0;
  31259. this.start = t1;
  31260. },
  31261. StylesheetParser_variableDeclarationWithoutNamespace_closure2: function StylesheetParser_variableDeclarationWithoutNamespace_closure2(t0) {
  31262. this.declaration = t0;
  31263. },
  31264. StylesheetParser__declarationOrBuffer_closure2: function StylesheetParser__declarationOrBuffer_closure2(t0) {
  31265. this.$this = t0;
  31266. },
  31267. StylesheetParser__declarationOrBuffer_closure3: function StylesheetParser__declarationOrBuffer_closure3(t0) {
  31268. this.$this = t0;
  31269. },
  31270. StylesheetParser__declarationOrBuffer_closure4: function StylesheetParser__declarationOrBuffer_closure4(t0) {
  31271. this.$this = t0;
  31272. },
  31273. StylesheetParser__styleRule_closure0: function StylesheetParser__styleRule_closure0(t0, t1, t2, t3) {
  31274. var _ = this;
  31275. _._box_0 = t0;
  31276. _.$this = t1;
  31277. _.wasInStyleRule = t2;
  31278. _.start = t3;
  31279. },
  31280. StylesheetParser__propertyOrVariableDeclaration_closure0: function StylesheetParser__propertyOrVariableDeclaration_closure0(t0) {
  31281. this.$this = t0;
  31282. },
  31283. StylesheetParser__tryDeclarationChildren_closure0: function StylesheetParser__tryDeclarationChildren_closure0(t0, t1) {
  31284. this.name = t0;
  31285. this.value = t1;
  31286. },
  31287. StylesheetParser__atRootRule_closure1: function StylesheetParser__atRootRule_closure1(t0) {
  31288. this.query = t0;
  31289. },
  31290. StylesheetParser__atRootRule_closure2: function StylesheetParser__atRootRule_closure2() {
  31291. },
  31292. StylesheetParser__eachRule_closure0: function StylesheetParser__eachRule_closure0(t0, t1, t2, t3) {
  31293. var _ = this;
  31294. _.$this = t0;
  31295. _.wasInControlDirective = t1;
  31296. _.variables = t2;
  31297. _.list = t3;
  31298. },
  31299. StylesheetParser__functionRule_closure0: function StylesheetParser__functionRule_closure0(t0, t1, t2) {
  31300. this.name = t0;
  31301. this.parameters = t1;
  31302. this.precedingComment = t2;
  31303. },
  31304. StylesheetParser__forRule_closure1: function StylesheetParser__forRule_closure1(t0, t1) {
  31305. this._box_0 = t0;
  31306. this.$this = t1;
  31307. },
  31308. StylesheetParser__forRule_closure2: function StylesheetParser__forRule_closure2(t0, t1, t2, t3, t4, t5) {
  31309. var _ = this;
  31310. _._box_0 = t0;
  31311. _.$this = t1;
  31312. _.wasInControlDirective = t2;
  31313. _.variable = t3;
  31314. _.from = t4;
  31315. _.to = t5;
  31316. },
  31317. StylesheetParser__memberList_closure0: function StylesheetParser__memberList_closure0(t0, t1, t2) {
  31318. this.$this = t0;
  31319. this.variables = t1;
  31320. this.identifiers = t2;
  31321. },
  31322. StylesheetParser__includeRule_closure0: function StylesheetParser__includeRule_closure0(t0) {
  31323. this.contentParameters_ = t0;
  31324. },
  31325. StylesheetParser_mediaRule_closure0: function StylesheetParser_mediaRule_closure0(t0) {
  31326. this.query = t0;
  31327. },
  31328. StylesheetParser__mixinRule_closure0: function StylesheetParser__mixinRule_closure0(t0, t1, t2, t3) {
  31329. var _ = this;
  31330. _.$this = t0;
  31331. _.name = t1;
  31332. _.parameters = t2;
  31333. _.precedingComment = t3;
  31334. },
  31335. StylesheetParser_mozDocumentRule_closure1: function StylesheetParser_mozDocumentRule_closure1(t0) {
  31336. this.$this = t0;
  31337. },
  31338. StylesheetParser_mozDocumentRule_closure2: function StylesheetParser_mozDocumentRule_closure2(t0, t1, t2, t3) {
  31339. var _ = this;
  31340. _._box_0 = t0;
  31341. _.$this = t1;
  31342. _.name = t2;
  31343. _.value = t3;
  31344. },
  31345. StylesheetParser_supportsRule_closure0: function StylesheetParser_supportsRule_closure0(t0) {
  31346. this.condition = t0;
  31347. },
  31348. StylesheetParser__whileRule_closure0: function StylesheetParser__whileRule_closure0(t0, t1, t2) {
  31349. this.$this = t0;
  31350. this.wasInControlDirective = t1;
  31351. this.condition = t2;
  31352. },
  31353. StylesheetParser_unknownAtRule_closure0: function StylesheetParser_unknownAtRule_closure0(t0, t1) {
  31354. this._box_0 = t0;
  31355. this.name = t1;
  31356. },
  31357. StylesheetParser__expression_resetState0: function StylesheetParser__expression_resetState0(t0, t1, t2) {
  31358. this._box_0 = t0;
  31359. this.$this = t1;
  31360. this.start = t2;
  31361. },
  31362. StylesheetParser__expression_resolveOneOperation0: function StylesheetParser__expression_resolveOneOperation0(t0, t1) {
  31363. this._box_0 = t0;
  31364. this.$this = t1;
  31365. },
  31366. StylesheetParser__expression_resolveOperations0: function StylesheetParser__expression_resolveOperations0(t0, t1) {
  31367. this._box_0 = t0;
  31368. this.resolveOneOperation = t1;
  31369. },
  31370. StylesheetParser__expression_addSingleExpression0: function StylesheetParser__expression_addSingleExpression0(t0, t1, t2, t3) {
  31371. var _ = this;
  31372. _._box_0 = t0;
  31373. _.$this = t1;
  31374. _.resetState = t2;
  31375. _.resolveOperations = t3;
  31376. },
  31377. StylesheetParser__expression_addOperator0: function StylesheetParser__expression_addOperator0(t0, t1, t2, t3) {
  31378. var _ = this;
  31379. _._box_0 = t0;
  31380. _.$this = t1;
  31381. _.resolveOneOperation = t2;
  31382. _.addSingleExpression = t3;
  31383. },
  31384. StylesheetParser__expression_resolveSpaceExpressions0: function StylesheetParser__expression_resolveSpaceExpressions0(t0, t1, t2) {
  31385. this._box_0 = t0;
  31386. this.$this = t1;
  31387. this.resolveOperations = t2;
  31388. },
  31389. StylesheetParser_expressionUntilComma_closure0: function StylesheetParser_expressionUntilComma_closure0(t0) {
  31390. this.$this = t0;
  31391. },
  31392. StylesheetParser__isHexColor_closure0: function StylesheetParser__isHexColor_closure0() {
  31393. },
  31394. StylesheetParser__unicodeRange_closure1: function StylesheetParser__unicodeRange_closure1() {
  31395. },
  31396. StylesheetParser__unicodeRange_closure2: function StylesheetParser__unicodeRange_closure2() {
  31397. },
  31398. StylesheetParser_namespacedExpression_closure0: function StylesheetParser_namespacedExpression_closure0(t0, t1) {
  31399. this.$this = t0;
  31400. this.start = t1;
  31401. },
  31402. StylesheetParser_trySpecialFunction_closure0: function StylesheetParser_trySpecialFunction_closure0() {
  31403. },
  31404. StylesheetParser__expressionUntilComparison_closure0: function StylesheetParser__expressionUntilComparison_closure0(t0) {
  31405. this.$this = t0;
  31406. },
  31407. StylesheetParser__publicIdentifier_closure0: function StylesheetParser__publicIdentifier_closure0(t0, t1) {
  31408. this.$this = t0;
  31409. this.start = t1;
  31410. },
  31411. Stylesheet$internal0(children, span, parseTimeWarnings, globalVariables, plainCss) {
  31412. var t1 = A._setArrayType([], type$.JSArray_UseRule_2),
  31413. t2 = A._setArrayType([], type$.JSArray_ForwardRule_2),
  31414. t3 = A.ConstantMap_ConstantMap$from(globalVariables, type$.String, type$.FileSpan),
  31415. t4 = A.List_List$unmodifiable(children, type$.Statement_2),
  31416. t5 = B.JSArray_methods.any$1(t4, new A.ParentStatement_closure0());
  31417. t1 = new A.Stylesheet0(span, plainCss, t1, t2, new A.UnmodifiableListView(parseTimeWarnings, type$.UnmodifiableListView_Record_3_nullable_Deprecation_deprecation_and_String_message_and_FileSpan_span_2), t3, t4, t5);
  31418. t1.Stylesheet$internal$5$globalVariables$plainCss0(children, span, parseTimeWarnings, globalVariables, plainCss);
  31419. return t1;
  31420. },
  31421. Stylesheet_Stylesheet$parse0(contents, syntax, url) {
  31422. var error, stackTrace, url0, t1, exception, t2;
  31423. try {
  31424. switch (syntax) {
  31425. case B.Syntax_Sass_sass0:
  31426. t1 = new A.SassParser0(A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.FileSpan), A._setArrayType([], type$.JSArray_Record_3_nullable_Deprecation_deprecation_and_String_message_and_FileSpan_span_2), A.SpanScanner$(contents, url), null).parse$0(0);
  31427. return t1;
  31428. case B.Syntax_SCSS_scss0:
  31429. t1 = A.ScssParser$0(contents, url).parse$0(0);
  31430. return t1;
  31431. case B.Syntax_CSS_css0:
  31432. t1 = new A.CssParser0(A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.FileSpan), A._setArrayType([], type$.JSArray_Record_3_nullable_Deprecation_deprecation_and_String_message_and_FileSpan_span_2), A.SpanScanner$(contents, url), null).parse$0(0);
  31433. return t1;
  31434. }
  31435. } catch (exception) {
  31436. t1 = A.unwrapException(exception);
  31437. if (t1 instanceof A.SassException0) {
  31438. error = t1;
  31439. stackTrace = A.getTraceFromException(exception);
  31440. t1 = error;
  31441. t2 = J.getInterceptor$z(t1);
  31442. t1 = A.SourceSpanException.prototype.get$span.call(t2, t1);
  31443. url0 = t1.get$sourceUrl(t1);
  31444. if (url0 == null || url0.toString$0(0) === "stdin")
  31445. throw exception;
  31446. t1 = type$.Uri;
  31447. throw A.wrapException(A.throwWithTrace0(error.withLoadedUrls$1(A.Set_Set$unmodifiable(A.LinkedHashSet_LinkedHashSet$_literal([url0], t1), t1)), error, stackTrace));
  31448. } else
  31449. throw exception;
  31450. }
  31451. },
  31452. Stylesheet0: function Stylesheet0(t0, t1, t2, t3, t4, t5, t6, t7) {
  31453. var _ = this;
  31454. _.span = t0;
  31455. _.plainCss = t1;
  31456. _._stylesheet1$_uses = t2;
  31457. _._stylesheet1$_forwards = t3;
  31458. _.parseTimeWarnings = t4;
  31459. _.globalVariables = t5;
  31460. _.children = t6;
  31461. _.hasDeclarations = t7;
  31462. },
  31463. SupportsExpression0: function SupportsExpression0(t0) {
  31464. this.condition = t0;
  31465. },
  31466. ModifiableCssSupportsRule$0(condition, span) {
  31467. var t1 = A._setArrayType([], type$.JSArray_ModifiableCssNode_2);
  31468. return new A.ModifiableCssSupportsRule0(condition, span, new A.UnmodifiableListView(t1, type$.UnmodifiableListView_ModifiableCssNode_2), t1);
  31469. },
  31470. ModifiableCssSupportsRule0: function ModifiableCssSupportsRule0(t0, t1, t2, t3) {
  31471. var _ = this;
  31472. _.condition = t0;
  31473. _.span = t1;
  31474. _.children = t2;
  31475. _._node$_children = t3;
  31476. _._node$_indexInParent = _._node$_parent = null;
  31477. _.isGroupEnd = false;
  31478. },
  31479. SupportsRule$0(condition, children, span) {
  31480. var t1 = A.List_List$unmodifiable(children, type$.Statement_2),
  31481. t2 = B.JSArray_methods.any$1(t1, new A.ParentStatement_closure0());
  31482. return new A.SupportsRule0(condition, span, t1, t2);
  31483. },
  31484. SupportsRule0: function SupportsRule0(t0, t1, t2, t3) {
  31485. var _ = this;
  31486. _.condition = t0;
  31487. _.span = t1;
  31488. _.children = t2;
  31489. _.hasDeclarations = t3;
  31490. },
  31491. JSToDartImporter: function JSToDartImporter(t0, t1, t2) {
  31492. this._sync$_canonicalize = t0;
  31493. this._sync$_load = t1;
  31494. this._sync$_nonCanonicalSchemes = t2;
  31495. },
  31496. JSToDartImporter_canonicalize_closure: function JSToDartImporter_canonicalize_closure(t0, t1) {
  31497. this.$this = t0;
  31498. this.url = t1;
  31499. },
  31500. JSToDartImporter_load_closure: function JSToDartImporter_load_closure(t0, t1) {
  31501. this.$this = t0;
  31502. this.url = t1;
  31503. },
  31504. Syntax_forPath0(path) {
  31505. var t1,
  31506. _0_0 = A.ParsedPath_ParsedPath$parse(path, $.$get$context().style)._splitExtension$1(1)[1];
  31507. $label0$0: {
  31508. if (".sass" === _0_0) {
  31509. t1 = B.Syntax_Sass_sass0;
  31510. break $label0$0;
  31511. }
  31512. if (".css" === _0_0) {
  31513. t1 = B.Syntax_CSS_css0;
  31514. break $label0$0;
  31515. }
  31516. t1 = B.Syntax_SCSS_scss0;
  31517. break $label0$0;
  31518. }
  31519. return t1;
  31520. },
  31521. Syntax0: function Syntax0(t0, t1) {
  31522. this._syntax0$_name = t0;
  31523. this._name = t1;
  31524. },
  31525. TypeSelector0: function TypeSelector0(t0, t1) {
  31526. this.name = t0;
  31527. this.span = t1;
  31528. },
  31529. Types: function Types() {
  31530. },
  31531. UnaryOperationExpression0: function UnaryOperationExpression0(t0, t1, t2) {
  31532. this.operator = t0;
  31533. this.operand = t1;
  31534. this.span = t2;
  31535. },
  31536. UnaryOperator0: function UnaryOperator0(t0, t1, t2) {
  31537. this.name = t0;
  31538. this.operator = t1;
  31539. this._name = t2;
  31540. },
  31541. UnitlessSassNumber0: function UnitlessSassNumber0(t0, t1) {
  31542. this._number1$_value = t0;
  31543. this.hashCache = null;
  31544. this.asSlash = t1;
  31545. },
  31546. UniversalSelector0: function UniversalSelector0(t0, t1) {
  31547. this.namespace = t0;
  31548. this.span = t1;
  31549. },
  31550. UnprefixedMapView0: function UnprefixedMapView0(t0, t1, t2) {
  31551. this._unprefixed_map_view0$_map = t0;
  31552. this._unprefixed_map_view0$_prefix = t1;
  31553. this.$ti = t2;
  31554. },
  31555. _UnprefixedKeys0: function _UnprefixedKeys0(t0) {
  31556. this._unprefixed_map_view0$_view = t0;
  31557. },
  31558. _UnprefixedKeys_iterator_closure1: function _UnprefixedKeys_iterator_closure1(t0) {
  31559. this.$this = t0;
  31560. },
  31561. _UnprefixedKeys_iterator_closure2: function _UnprefixedKeys_iterator_closure2(t0) {
  31562. this.$this = t0;
  31563. },
  31564. JSUrl0: function JSUrl0() {
  31565. },
  31566. UseRule0: function UseRule0(t0, t1, t2, t3) {
  31567. var _ = this;
  31568. _.url = t0;
  31569. _.namespace = t1;
  31570. _.configuration = t2;
  31571. _.span = t3;
  31572. },
  31573. UserDefinedCallable0: function UserDefinedCallable0(t0, t1, t2, t3) {
  31574. var _ = this;
  31575. _.declaration = t0;
  31576. _.environment = t1;
  31577. _.inDependency = t2;
  31578. _.$ti = t3;
  31579. },
  31580. fromImport0() {
  31581. var t1 = type$.nullable_CanonicalizeContext_2._as($.Zone__current.$index(0, B.Symbol__canonicalizeContext));
  31582. t1 = t1 == null ? null : t1._canonicalize_context$_fromImport;
  31583. return t1 === true;
  31584. },
  31585. canonicalizeContext0() {
  31586. var t1,
  31587. _0_0 = $.Zone__current.$index(0, B.Symbol__canonicalizeContext);
  31588. $label0$0: {
  31589. if (_0_0 == null)
  31590. A.throwExpression(A.StateError$(string$.canoni));
  31591. if (_0_0 instanceof A.CanonicalizeContext0) {
  31592. t1 = _0_0;
  31593. break $label0$0;
  31594. }
  31595. t1 = A.throwExpression(A.StateError$(string$.Unexpe + A.S(_0_0) + "."));
  31596. }
  31597. return t1;
  31598. },
  31599. inImportRule(callback, $T) {
  31600. var t1,
  31601. _0_0 = $.Zone__current.$index(0, B.Symbol__canonicalizeContext);
  31602. $label0$0: {
  31603. if (_0_0 == null) {
  31604. t1 = type$.nullable_Object;
  31605. t1 = A.runZoned(callback, A.LinkedHashMap_LinkedHashMap$_literal([B.Symbol__canonicalizeContext, new A.CanonicalizeContext0(true, null)], t1, t1), $T);
  31606. break $label0$0;
  31607. }
  31608. if (_0_0 instanceof A.CanonicalizeContext0) {
  31609. t1 = _0_0.withFromImport$2(true, callback);
  31610. break $label0$0;
  31611. }
  31612. t1 = A.throwExpression(A.StateError$(string$.Unexpe + A.S(_0_0) + "."));
  31613. }
  31614. return t1;
  31615. },
  31616. resolveImportPath0(path) {
  31617. var t1,
  31618. extension = A.ParsedPath_ParsedPath$parse(path, $.$get$context().style)._splitExtension$1(1)[1];
  31619. if (extension === ".sass" || extension === ".scss" || extension === ".css") {
  31620. t1 = A.fromImport0() ? new A.resolveImportPath_closure1(path, extension).call$0() : null;
  31621. return t1 == null ? A._exactlyOne0(A._tryPath0(path)) : t1;
  31622. }
  31623. t1 = A.fromImport0() ? new A.resolveImportPath_closure2(path).call$0() : null;
  31624. if (t1 == null)
  31625. t1 = A._exactlyOne0(A._tryPathWithExtensions0(path));
  31626. return t1 == null ? A._tryPathAsDirectory0(path) : t1;
  31627. },
  31628. _tryPathWithExtensions0(path) {
  31629. var result = A._tryPath0(path + ".sass");
  31630. B.JSArray_methods.addAll$1(result, A._tryPath0(path + ".scss"));
  31631. return result.length !== 0 ? result : A._tryPath0(path + ".css");
  31632. },
  31633. _tryPath0(path) {
  31634. var t1 = $.$get$context(),
  31635. partial = A.join(t1.dirname$1(path), "_" + A.ParsedPath_ParsedPath$parse(path, t1.style).get$basename(), null);
  31636. t1 = A._setArrayType([], type$.JSArray_String);
  31637. if (A.fileExists0(partial))
  31638. t1.push(partial);
  31639. if (A.fileExists0(path))
  31640. t1.push(path);
  31641. return t1;
  31642. },
  31643. _tryPathAsDirectory0(path) {
  31644. var t1;
  31645. if (!A.dirExists0(path))
  31646. return null;
  31647. t1 = A.fromImport0() ? new A._tryPathAsDirectory_closure0(path).call$0() : null;
  31648. return t1 == null ? A._exactlyOne0(A._tryPathWithExtensions0(A.join(path, "index", null))) : t1;
  31649. },
  31650. _exactlyOne0(paths) {
  31651. var _0_1, t1, path;
  31652. $label0$0: {
  31653. _0_1 = paths.length;
  31654. if (_0_1 <= 0) {
  31655. t1 = null;
  31656. break $label0$0;
  31657. }
  31658. if (_0_1 === 1) {
  31659. path = paths[0];
  31660. t1 = path;
  31661. break $label0$0;
  31662. }
  31663. t1 = A.throwExpression(string$.It_s_n + B.JSArray_methods.map$1$1(paths, new A._exactlyOne_closure0(), type$.String).join$1(0, "\n"));
  31664. }
  31665. return t1;
  31666. },
  31667. resolveImportPath_closure1: function resolveImportPath_closure1(t0, t1) {
  31668. this.path = t0;
  31669. this.extension = t1;
  31670. },
  31671. resolveImportPath_closure2: function resolveImportPath_closure2(t0) {
  31672. this.path = t0;
  31673. },
  31674. _tryPathAsDirectory_closure0: function _tryPathAsDirectory_closure0(t0) {
  31675. this.path = t0;
  31676. },
  31677. _exactlyOne_closure0: function _exactlyOne_closure0() {
  31678. },
  31679. jsThrow(error) {
  31680. return type$.Never._as($.$get$_jsThrow().call$1(error));
  31681. },
  31682. attachJsStack(error, trace) {
  31683. var traceString = trace.toString$0(0),
  31684. firstRealLine = B.JSString_methods.indexOf$1(traceString, "\n at");
  31685. if (firstRealLine !== -1)
  31686. traceString = B.JSString_methods.substring$1(traceString, firstRealLine + 1);
  31687. error.stack = "Error: " + A.S(J.get$message$x(error)) + "\n" + traceString;
  31688. },
  31689. jsForEach(object, callback) {
  31690. var t1, t2;
  31691. for (t1 = J.get$iterator$ax(self.Object.keys(object)); t1.moveNext$0();) {
  31692. t2 = t1.get$current(t1);
  31693. callback.call$2(t2, object[t2]);
  31694. }
  31695. },
  31696. jsType(value) {
  31697. var typeOf = A._asString(new self.Function("value", "return typeof value").call$1(value));
  31698. 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));
  31699. },
  31700. defineGetter(object, $name, get, value) {
  31701. self.Object.defineProperty(object, $name, get == null ? {value: value, enumerable: false} : {get: A.allowInteropCaptureThis(get), enumerable: false});
  31702. },
  31703. allowInteropNamed($name, $function) {
  31704. $function = A.allowInterop($function);
  31705. A.defineGetter($function, "name", null, $name);
  31706. A._hideDartProperties($function);
  31707. return $function;
  31708. },
  31709. allowInteropCaptureThisNamed($name, $function) {
  31710. $function = A.allowInteropCaptureThis($function);
  31711. A.defineGetter($function, "name", null, $name);
  31712. A._hideDartProperties($function);
  31713. return $function;
  31714. },
  31715. _hideDartProperties(object) {
  31716. var t1, t2, t3, t4;
  31717. for (t1 = J.cast$1$0$ax(self.Object.getOwnPropertyNames(object), type$.String), t2 = A._instanceType(t1), t1 = new A.ListIterator(t1, t1.get$length(t1), t2._eval$1("ListIterator<ListBase.E>")), t2 = t2._eval$1("ListBase.E"); t1.moveNext$0();) {
  31718. t3 = t1.__internal$_current;
  31719. if (t3 == null)
  31720. t3 = t2._as(t3);
  31721. if (B.JSString_methods.startsWith$1(t3, "_")) {
  31722. t4 = {value: object[t3], enumerable: false};
  31723. self.Object.defineProperty(object, t3, t4);
  31724. }
  31725. }
  31726. },
  31727. futureToPromise0(future) {
  31728. return new self.Promise(A.allowInterop(new A.futureToPromise_closure0(future)));
  31729. },
  31730. jsToDartUrl(url) {
  31731. return A.Uri_parse(J.toString$0$(url));
  31732. },
  31733. dartToJSUrl(url) {
  31734. return new self.URL(url.toString$0(0));
  31735. },
  31736. toJSArray(iterable) {
  31737. var t1, t2,
  31738. array = new self.Array();
  31739. for (t1 = J.get$iterator$ax(iterable), t2 = J.getInterceptor$x(array); t1.moveNext$0();)
  31740. t2.push$1(array, t1.get$current(t1));
  31741. return array;
  31742. },
  31743. objectToMap(object) {
  31744. var map = A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.nullable_Object);
  31745. A.jsForEach(object, new A.objectToMap_closure(map));
  31746. return map;
  31747. },
  31748. mapToObject(map) {
  31749. var t1, t2,
  31750. result = new self.Object();
  31751. for (t1 = A.MapExtensions_get_pairs0(map, type$.String, type$.nullable_Object), t1 = t1.get$iterator(t1); t1.moveNext$0();) {
  31752. t2 = t1.get$current(t1);
  31753. result[t2._0] = t2._1;
  31754. }
  31755. return result;
  31756. },
  31757. jsToDartSeparator(separator) {
  31758. var t1;
  31759. $label0$0: {
  31760. if (" " === separator) {
  31761. t1 = B.ListSeparator_qSL0;
  31762. break $label0$0;
  31763. }
  31764. if ("," === separator) {
  31765. t1 = B.ListSeparator_qVN0;
  31766. break $label0$0;
  31767. }
  31768. if ("/" === separator) {
  31769. t1 = B.ListSeparator_bRz0;
  31770. break $label0$0;
  31771. }
  31772. if (separator == null) {
  31773. t1 = B.ListSeparator_undecided_null_undecided0;
  31774. break $label0$0;
  31775. }
  31776. t1 = A.jsThrow(new self.Error('Unknown separator "' + separator + '".'));
  31777. }
  31778. return t1;
  31779. },
  31780. parseSyntax(syntax) {
  31781. var t1;
  31782. $label0$0: {
  31783. if (syntax == null || "scss" === syntax) {
  31784. t1 = B.Syntax_SCSS_scss0;
  31785. break $label0$0;
  31786. }
  31787. if ("indented" === syntax) {
  31788. t1 = B.Syntax_Sass_sass0;
  31789. break $label0$0;
  31790. }
  31791. if ("css" === syntax) {
  31792. t1 = B.Syntax_CSS_css0;
  31793. break $label0$0;
  31794. }
  31795. t1 = A.jsThrow(new self.Error('Unknown syntax "' + syntax + '".'));
  31796. }
  31797. return t1;
  31798. },
  31799. entrypointFilename() {
  31800. var _1_0, _1_5_isSet, _1_5, t2, path,
  31801. t1 = self.require.main,
  31802. _0_0 = t1 == null ? null : J.get$filename$x(t1);
  31803. if (_0_0 != null)
  31804. return _0_0;
  31805. else {
  31806. _1_0 = J.get$argv$x(self.process);
  31807. t1 = J.getInterceptor$asx(_1_0);
  31808. _1_5_isSet = t1.get$length(_1_0) >= 2;
  31809. if (_1_5_isSet) {
  31810. _1_5 = t1.$index(_1_0, 1);
  31811. t2 = typeof _1_5 == "string";
  31812. } else {
  31813. _1_5 = null;
  31814. t2 = false;
  31815. }
  31816. if (t2) {
  31817. path = A._asString(_1_5_isSet ? _1_5 : t1.$index(_1_0, 1));
  31818. return J.resolve$1$x(J.createRequire$1$x(self.nodeModule, path), path);
  31819. } else
  31820. return null;
  31821. }
  31822. },
  31823. _PropertyDescriptor0: function _PropertyDescriptor0() {
  31824. },
  31825. futureToPromise_closure0: function futureToPromise_closure0(t0) {
  31826. this.future = t0;
  31827. },
  31828. futureToPromise__closure0: function futureToPromise__closure0(t0) {
  31829. this.resolve = t0;
  31830. },
  31831. futureToPromise__closure1: function futureToPromise__closure1(t0) {
  31832. this.reject = t0;
  31833. },
  31834. objectToMap_closure: function objectToMap_closure(t0) {
  31835. this.map = t0;
  31836. },
  31837. _RequireMain0: function _RequireMain0() {
  31838. },
  31839. toSentence0(iter, conjunction) {
  31840. if (iter.get$length(iter) === 1)
  31841. return J.toString$0$(iter.get$first(iter));
  31842. return A.IterableExtension_get_exceptLast0(iter).join$1(0, ", ") + (" " + conjunction + " " + A.S(iter.get$last(iter)));
  31843. },
  31844. indent0(string, indentation) {
  31845. 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");
  31846. },
  31847. pluralize0($name, number, plural) {
  31848. if (number === 1)
  31849. return $name;
  31850. if (plural != null)
  31851. return plural;
  31852. return $name + "s";
  31853. },
  31854. trimAscii0(string, excludeEscape) {
  31855. var t1,
  31856. start = A._firstNonWhitespace0(string);
  31857. if (start == null)
  31858. t1 = "";
  31859. else {
  31860. t1 = A._lastNonWhitespace0(string, true);
  31861. t1.toString;
  31862. t1 = B.JSString_methods.substring$2(string, start, t1 + 1);
  31863. }
  31864. return t1;
  31865. },
  31866. trimAsciiRight0(string, excludeEscape) {
  31867. var end = A._lastNonWhitespace0(string, excludeEscape);
  31868. return end == null ? "" : B.JSString_methods.substring$2(string, 0, end + 1);
  31869. },
  31870. _firstNonWhitespace0(string) {
  31871. var t1, i, t2;
  31872. for (t1 = string.length, i = 0; i < t1; ++i) {
  31873. t2 = string.charCodeAt(i);
  31874. if (!(t2 === 32 || t2 === 9 || t2 === 10 || t2 === 13 || t2 === 12))
  31875. return i;
  31876. }
  31877. return null;
  31878. },
  31879. _lastNonWhitespace0(string, excludeEscape) {
  31880. var i, i0, codeUnit;
  31881. for (i = string.length - 1, i0 = i; i0 >= 0; --i0) {
  31882. codeUnit = string.charCodeAt(i0);
  31883. if (!(codeUnit === 32 || codeUnit === 9 || codeUnit === 10 || codeUnit === 13 || codeUnit === 12))
  31884. if (excludeEscape && i0 !== 0 && i0 !== i && codeUnit === 92)
  31885. return i0 + 1;
  31886. else
  31887. return i0;
  31888. }
  31889. return null;
  31890. },
  31891. isPublic0(member) {
  31892. var start = member.charCodeAt(0);
  31893. return start !== 45 && start !== 95;
  31894. },
  31895. flattenVertically0(iterable, $T) {
  31896. var result,
  31897. t1 = iterable.$ti._eval$1("@<ListIterable.E>")._bind$1($T._eval$1("QueueList<0>"))._eval$1("MappedListIterable<1,2>"),
  31898. queues = A.List_List$_of(new A.MappedListIterable(iterable, new A.flattenVertically_closure1($T), t1), t1._eval$1("ListIterable.E"));
  31899. if (queues.length === 1)
  31900. return B.JSArray_methods.get$first(queues);
  31901. result = A._setArrayType([], $T._eval$1("JSArray<0>"));
  31902. for (; queues.length !== 0;) {
  31903. queues.$flags & 1 && A.throwUnsupportedOperation(queues, 16);
  31904. B.JSArray_methods._removeWhere$2(queues, new A.flattenVertically_closure2(result, $T), true);
  31905. }
  31906. return result;
  31907. },
  31908. codepointIndexToCodeUnitIndex0(string, codepointIndex) {
  31909. var codeUnitIndex, i, codeUnitIndex0;
  31910. for (codeUnitIndex = 0, i = 0; i < codepointIndex; ++i) {
  31911. codeUnitIndex0 = codeUnitIndex + 1;
  31912. codeUnitIndex = string.charCodeAt(codeUnitIndex) >>> 10 === 54 ? codeUnitIndex0 + 1 : codeUnitIndex0;
  31913. }
  31914. return codeUnitIndex;
  31915. },
  31916. codeUnitIndexToCodepointIndex0(string, codeUnitIndex) {
  31917. var codepointIndex, i;
  31918. for (codepointIndex = 0, i = 0; i < codeUnitIndex; i = (string.charCodeAt(i) >>> 10 === 54 ? i + 1 : i) + 1)
  31919. ++codepointIndex;
  31920. return codepointIndex;
  31921. },
  31922. frameForSpan0(span, member, url) {
  31923. var t2, t3,
  31924. t1 = url == null ? span.get$sourceUrl(span) : url;
  31925. if (t1 == null)
  31926. t1 = $.$get$_noSourceUrl0();
  31927. t2 = span.get$start(span);
  31928. t2 = t2.file.getLine$1(t2.offset);
  31929. t3 = span.get$start(span);
  31930. return new A.Frame(t1, t2 + 1, t3.file.getColumn$1(t3.offset) + 1, member);
  31931. },
  31932. declarationName0(span) {
  31933. var text = span.get$text();
  31934. return A.trimAsciiRight0(B.JSString_methods.substring$2(text, 0, B.JSString_methods.indexOf$1(text, ":")), false);
  31935. },
  31936. unvendor0($name) {
  31937. var i,
  31938. t1 = $name.length;
  31939. if (t1 < 2)
  31940. return $name;
  31941. if ($name.charCodeAt(0) !== 45)
  31942. return $name;
  31943. if ($name.charCodeAt(1) === 45)
  31944. return $name;
  31945. for (i = 2; i < t1; ++i)
  31946. if ($name.charCodeAt(i) === 45)
  31947. return B.JSString_methods.substring$1($name, i + 1);
  31948. return $name;
  31949. },
  31950. equalsIgnoreCase0(string1, string2) {
  31951. var t1, i;
  31952. if (string1 === string2)
  31953. return true;
  31954. if (string1 == null)
  31955. return false;
  31956. t1 = string1.length;
  31957. if (t1 !== string2.length)
  31958. return false;
  31959. for (i = 0; i < t1; ++i)
  31960. if (!A.characterEqualsIgnoreCase0(string1.charCodeAt(i), string2.charCodeAt(i)))
  31961. return false;
  31962. return true;
  31963. },
  31964. startsWithIgnoreCase0(string, prefix) {
  31965. var i,
  31966. t1 = prefix.length;
  31967. if (string.length < t1)
  31968. return false;
  31969. for (i = 0; i < t1; ++i)
  31970. if (!A.characterEqualsIgnoreCase0(string.charCodeAt(i), prefix.charCodeAt(i)))
  31971. return false;
  31972. return true;
  31973. },
  31974. mapInPlace0(list, $function) {
  31975. var i;
  31976. for (i = 0; i < list.length; ++i)
  31977. list[i] = $function.call$1(list[i]);
  31978. },
  31979. longestCommonSubsequence0(list1, list2, select, $T) {
  31980. var t1, _i, selections, i, i0, j, selection, j0,
  31981. _length = list1.get$length(0) + 1,
  31982. lengths = J.JSArray_JSArray$allocateFixed(_length, type$.List_int);
  31983. for (t1 = type$.int, _i = 0; _i < _length; ++_i)
  31984. lengths[_i] = A.List_List$filled(((list2._queue_list$_tail - list2._queue_list$_head & J.get$length$asx(list2._queue_list$_table) - 1) >>> 0) + 1, 0, false, t1);
  31985. _length = list1.get$length(0);
  31986. selections = J.JSArray_JSArray$allocateFixed(_length, $T._eval$1("List<0?>"));
  31987. for (t1 = $T._eval$1("0?"), _i = 0; _i < _length; ++_i)
  31988. selections[_i] = A.List_List$filled((list2._queue_list$_tail - list2._queue_list$_head & J.get$length$asx(list2._queue_list$_table) - 1) >>> 0, null, false, t1);
  31989. for (i = 0; i < (list1._queue_list$_tail - list1._queue_list$_head & J.get$length$asx(list1._queue_list$_table) - 1) >>> 0; i = i0)
  31990. for (i0 = i + 1, j = 0; j < (list2._queue_list$_tail - list2._queue_list$_head & J.get$length$asx(list2._queue_list$_table) - 1) >>> 0; j = j0) {
  31991. selection = select.call$2(list1.$index(0, i), list2.$index(0, j));
  31992. selections[i][j] = selection;
  31993. t1 = lengths[i0];
  31994. j0 = j + 1;
  31995. t1[j0] = selection == null ? Math.max(t1[j], lengths[i][j0]) : lengths[i][j] + 1;
  31996. }
  31997. return new A.longestCommonSubsequence_backtrack0(selections, lengths, $T).call$2(list1.get$length(0) - 1, list2.get$length(0) - 1);
  31998. },
  31999. removeFirstWhere0(list, test, orElse) {
  32000. var i;
  32001. for (i = 0; i < list.length; ++i) {
  32002. if (!test.call$1(list[i]))
  32003. continue;
  32004. B.JSArray_methods.removeAt$1(list, i);
  32005. return;
  32006. }
  32007. orElse.call$0();
  32008. },
  32009. mapAddAll20(destination, source, K1, K2, $V) {
  32010. source.forEach$1(0, new A.mapAddAll2_closure0(destination, K1, K2, $V));
  32011. },
  32012. setAll0(map, keys, value) {
  32013. var t1;
  32014. for (t1 = J.get$iterator$ax(keys); t1.moveNext$0();)
  32015. map.$indexSet(0, t1.get$current(t1), value);
  32016. },
  32017. rotateSlice0(list, start, end) {
  32018. var i, next,
  32019. element = list.$index(0, end - 1);
  32020. for (i = start; i < end; ++i, element = next) {
  32021. next = list.$index(0, i);
  32022. list.$indexSet(0, i, element);
  32023. }
  32024. },
  32025. mapAsync0(iterable, callback, $E, $F) {
  32026. return A.mapAsync$body0(iterable, callback, $E, $F, $F._eval$1("Iterable<0>"));
  32027. },
  32028. mapAsync$body0(iterable, callback, $E, $F, $async$type) {
  32029. var $async$goto = 0,
  32030. $async$completer = A._makeAsyncAwaitCompleter($async$type),
  32031. $async$returnValue, t2, _i, t1, $async$temp1;
  32032. var $async$mapAsync0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  32033. if ($async$errorCode === 1)
  32034. return A._asyncRethrow($async$result, $async$completer);
  32035. while (true)
  32036. switch ($async$goto) {
  32037. case 0:
  32038. // Function start
  32039. t1 = A._setArrayType([], $F._eval$1("JSArray<0>"));
  32040. t2 = iterable.length, _i = 0;
  32041. case 3:
  32042. // for condition
  32043. if (!(_i < t2)) {
  32044. // goto after for
  32045. $async$goto = 5;
  32046. break;
  32047. }
  32048. $async$temp1 = t1;
  32049. $async$goto = 6;
  32050. return A._asyncAwait(callback.call$1(iterable[_i]), $async$mapAsync0);
  32051. case 6:
  32052. // returning from await.
  32053. $async$temp1.push($async$result);
  32054. case 4:
  32055. // for update
  32056. ++_i;
  32057. // goto for condition
  32058. $async$goto = 3;
  32059. break;
  32060. case 5:
  32061. // after for
  32062. $async$returnValue = t1;
  32063. // goto return
  32064. $async$goto = 1;
  32065. break;
  32066. case 1:
  32067. // return
  32068. return A._asyncReturn($async$returnValue, $async$completer);
  32069. }
  32070. });
  32071. return A._asyncStartSync($async$mapAsync0, $async$completer);
  32072. },
  32073. putIfAbsentAsync0(map, key, ifAbsent, $K, $V) {
  32074. return A.putIfAbsentAsync$body0(map, key, ifAbsent, $K, $V, $V);
  32075. },
  32076. putIfAbsentAsync$body0(map, key, ifAbsent, $K, $V, $async$type) {
  32077. var $async$goto = 0,
  32078. $async$completer = A._makeAsyncAwaitCompleter($async$type),
  32079. $async$returnValue, t1, value;
  32080. var $async$putIfAbsentAsync0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  32081. if ($async$errorCode === 1)
  32082. return A._asyncRethrow($async$result, $async$completer);
  32083. while (true)
  32084. switch ($async$goto) {
  32085. case 0:
  32086. // Function start
  32087. if (map.containsKey$1(key)) {
  32088. t1 = map.$index(0, key);
  32089. $async$returnValue = t1 == null ? $V._as(t1) : t1;
  32090. // goto return
  32091. $async$goto = 1;
  32092. break;
  32093. }
  32094. $async$goto = 3;
  32095. return A._asyncAwait(ifAbsent.call$0(), $async$putIfAbsentAsync0);
  32096. case 3:
  32097. // returning from await.
  32098. value = $async$result;
  32099. map.$indexSet(0, key, value);
  32100. $async$returnValue = value;
  32101. // goto return
  32102. $async$goto = 1;
  32103. break;
  32104. case 1:
  32105. // return
  32106. return A._asyncReturn($async$returnValue, $async$completer);
  32107. }
  32108. });
  32109. return A._asyncStartSync($async$putIfAbsentAsync0, $async$completer);
  32110. },
  32111. copyMapOfMap0(map, K1, K2, $V) {
  32112. var t3, key, child,
  32113. t1 = K2._eval$1("@<0>")._bind$1($V)._eval$1("Map<1,2>"),
  32114. t2 = A.LinkedHashMap_LinkedHashMap$_empty(K1, t1);
  32115. for (t1 = A.MapExtensions_get_pairs0(map, K1, t1), t1 = t1.get$iterator(t1); t1.moveNext$0();) {
  32116. t3 = t1.get$current(t1);
  32117. key = t3._0;
  32118. child = t3._1;
  32119. t3 = A.LinkedHashMap_LinkedHashMap(null, null, null, K2, $V);
  32120. t3.addAll$1(0, child);
  32121. t2.$indexSet(0, key, t3);
  32122. }
  32123. return t2;
  32124. },
  32125. copyMapOfList0(map, $K, $E) {
  32126. var t3,
  32127. t1 = $E._eval$1("List<0>"),
  32128. t2 = A.LinkedHashMap_LinkedHashMap$_empty($K, t1);
  32129. for (t1 = A.MapExtensions_get_pairs0(map, $K, t1), t1 = t1.get$iterator(t1); t1.moveNext$0();) {
  32130. t3 = t1.get$current(t1);
  32131. t2.$indexSet(0, t3._0, J.toList$0$ax(t3._1));
  32132. }
  32133. return t2;
  32134. },
  32135. consumeEscapedCharacter0(scanner) {
  32136. var _1_0, value, i, next, t1;
  32137. scanner.expectChar$1(92);
  32138. _1_0 = scanner.peekChar$0();
  32139. if (_1_0 == null)
  32140. return 65533;
  32141. if (_1_0 === 10 || _1_0 === 13 || _1_0 === 12)
  32142. scanner.error$1(0, "Expected escape sequence.");
  32143. if (A.CharacterExtension_get_isHex0(_1_0)) {
  32144. for (value = 0, i = 0; i < 6; ++i) {
  32145. next = scanner.peekChar$0();
  32146. if (next != null) {
  32147. t1 = true;
  32148. if (!(next >= 48 && next <= 57))
  32149. if (!(next >= 97 && next <= 102))
  32150. t1 = next >= 65 && next <= 70;
  32151. t1 = !t1;
  32152. } else
  32153. t1 = true;
  32154. if (t1)
  32155. break;
  32156. value = (value << 4 >>> 0) + A.asHex0(scanner.readChar$0());
  32157. }
  32158. t1 = scanner.peekChar$0();
  32159. if (t1 === 32 || t1 === 9 || t1 === 10 || t1 === 13 || t1 === 12)
  32160. scanner.readChar$0();
  32161. $label0$1: {
  32162. if (0 !== value)
  32163. t1 = value >= 55296 && value <= 57343 || value >= 1114111;
  32164. else
  32165. t1 = true;
  32166. if (t1) {
  32167. t1 = 65533;
  32168. break $label0$1;
  32169. }
  32170. t1 = value;
  32171. break $label0$1;
  32172. }
  32173. return t1;
  32174. }
  32175. return scanner.readChar$0();
  32176. },
  32177. throwWithTrace0(error, originalError, trace) {
  32178. var t1 = A.getTrace0(originalError);
  32179. A.attachTrace0(error, t1 == null ? trace : t1);
  32180. throw A.wrapException(error);
  32181. },
  32182. attachTrace0(error, trace) {
  32183. var t1;
  32184. if (typeof error == "string" || typeof error == "number" || A._isBool(error))
  32185. return;
  32186. if (trace.toString$0(0).length === 0)
  32187. return;
  32188. t1 = $.$get$_traces0();
  32189. A.Expando__checkType(error);
  32190. if (t1._jsWeakMap.get(error) == null)
  32191. t1.$indexSet(0, error, trace);
  32192. },
  32193. getTrace0(error) {
  32194. var t1;
  32195. if (typeof error == "string" || typeof error == "number" || A._isBool(error))
  32196. t1 = null;
  32197. else {
  32198. t1 = $.$get$_traces0();
  32199. A.Expando__checkType(error);
  32200. t1 = t1._jsWeakMap.get(error);
  32201. }
  32202. return t1;
  32203. },
  32204. parseSignature(signature, requireParens) {
  32205. var error, stackTrace, t1, exception, t2;
  32206. try {
  32207. t1 = A.ScssParser$0(signature, null).parseSignature$1$requireParens(requireParens);
  32208. return t1;
  32209. } catch (exception) {
  32210. t1 = A.unwrapException(exception);
  32211. if (type$.SassFormatException_2._is(t1)) {
  32212. error = t1;
  32213. stackTrace = A.getTraceFromException(exception);
  32214. t1 = error._span_exception$_message;
  32215. t2 = J.get$span$z(error);
  32216. A.throwWithTrace0(new A.SassFormatException0(B.Set_empty, 'Invalid signature "' + signature + '": ' + t1, t2), error, stackTrace);
  32217. } else
  32218. throw exception;
  32219. }
  32220. },
  32221. indent_closure0: function indent_closure0(t0) {
  32222. this.indentation = t0;
  32223. },
  32224. flattenVertically_closure1: function flattenVertically_closure1(t0) {
  32225. this.T = t0;
  32226. },
  32227. flattenVertically_closure2: function flattenVertically_closure2(t0, t1) {
  32228. this.result = t0;
  32229. this.T = t1;
  32230. },
  32231. longestCommonSubsequence_backtrack0: function longestCommonSubsequence_backtrack0(t0, t1, t2) {
  32232. this.selections = t0;
  32233. this.lengths = t1;
  32234. this.T = t2;
  32235. },
  32236. mapAddAll2_closure0: function mapAddAll2_closure0(t0, t1, t2, t3) {
  32237. var _ = this;
  32238. _.destination = t0;
  32239. _.K1 = t1;
  32240. _.K2 = t2;
  32241. _.V = t3;
  32242. },
  32243. CssValue0: function CssValue0(t0, t1, t2) {
  32244. this.value = t0;
  32245. this.span = t1;
  32246. this.$ti = t2;
  32247. },
  32248. ValueExpression0: function ValueExpression0(t0, t1) {
  32249. this.value = t0;
  32250. this.span = t1;
  32251. },
  32252. valueClass_closure: function valueClass_closure() {
  32253. },
  32254. valueClass__closure: function valueClass__closure() {
  32255. },
  32256. valueClass__closure0: function valueClass__closure0() {
  32257. },
  32258. valueClass__closure1: function valueClass__closure1() {
  32259. },
  32260. valueClass__closure2: function valueClass__closure2() {
  32261. },
  32262. valueClass__closure3: function valueClass__closure3() {
  32263. },
  32264. valueClass__closure4: function valueClass__closure4() {
  32265. },
  32266. valueClass__closure5: function valueClass__closure5() {
  32267. },
  32268. valueClass__closure6: function valueClass__closure6() {
  32269. },
  32270. valueClass__closure7: function valueClass__closure7() {
  32271. },
  32272. valueClass__closure8: function valueClass__closure8() {
  32273. },
  32274. valueClass__closure9: function valueClass__closure9() {
  32275. },
  32276. valueClass__closure10: function valueClass__closure10() {
  32277. },
  32278. valueClass__closure11: function valueClass__closure11() {
  32279. },
  32280. valueClass__closure12: function valueClass__closure12() {
  32281. },
  32282. valueClass__closure13: function valueClass__closure13() {
  32283. },
  32284. valueClass__closure14: function valueClass__closure14() {
  32285. },
  32286. valueClass__closure15: function valueClass__closure15() {
  32287. },
  32288. valueClass__closure16: function valueClass__closure16() {
  32289. },
  32290. valueClass__closure17: function valueClass__closure17() {
  32291. },
  32292. valueClass__closure18: function valueClass__closure18() {
  32293. },
  32294. SassApiValue_assertSelector0(_this, allowParent, $name) {
  32295. var error, stackTrace, t1, exception,
  32296. string = _this._value$_selectorString$1($name);
  32297. try {
  32298. t1 = A.SelectorList_SelectorList$parse0(string, allowParent, null, false);
  32299. return t1;
  32300. } catch (exception) {
  32301. t1 = A.unwrapException(exception);
  32302. if (type$.SassFormatException_2._is(t1)) {
  32303. error = t1;
  32304. stackTrace = A.getTraceFromException(exception);
  32305. t1 = B.JSString_methods.replaceFirst$2(J.toString$0$(error), "Error: ", "");
  32306. A.throwWithTrace0(new A.SassScriptException0($name == null ? t1 : "$" + $name + ": " + t1), error, stackTrace);
  32307. } else
  32308. throw exception;
  32309. }
  32310. },
  32311. SassApiValue_assertCompoundSelector0(_this, $name) {
  32312. var error, stackTrace, t1, exception,
  32313. allowParent = false,
  32314. string = _this._value$_selectorString$1($name);
  32315. try {
  32316. t1 = new A.SelectorParser0(allowParent, false, A.SpanScanner$(string, null), null).parseCompoundSelector$0();
  32317. return t1;
  32318. } catch (exception) {
  32319. t1 = A.unwrapException(exception);
  32320. if (type$.SassFormatException_2._is(t1)) {
  32321. error = t1;
  32322. stackTrace = A.getTraceFromException(exception);
  32323. t1 = B.JSString_methods.replaceFirst$2(J.toString$0$(error), "Error: ", "");
  32324. A.throwWithTrace0(new A.SassScriptException0("$" + $name + ": " + t1), error, stackTrace);
  32325. } else
  32326. throw exception;
  32327. }
  32328. },
  32329. Value0: function Value0() {
  32330. },
  32331. VariableExpression0: function VariableExpression0(t0, t1, t2) {
  32332. this.namespace = t0;
  32333. this.name = t1;
  32334. this.span = t2;
  32335. },
  32336. VariableDeclaration$0($name, expression, span, comment, global, guarded, namespace) {
  32337. if (namespace != null && global)
  32338. A.throwExpression(A.ArgumentError$(string$.Other_, null));
  32339. return new A.VariableDeclaration0(namespace, $name, expression, guarded, global, span);
  32340. },
  32341. VariableDeclaration0: function VariableDeclaration0(t0, t1, t2, t3, t4, t5) {
  32342. var _ = this;
  32343. _.namespace = t0;
  32344. _.name = t1;
  32345. _.expression = t2;
  32346. _.isGuarded = t3;
  32347. _.isGlobal = t4;
  32348. _.span = t5;
  32349. },
  32350. WarnRule0: function WarnRule0(t0, t1) {
  32351. this.expression = t0;
  32352. this.span = t1;
  32353. },
  32354. WhileRule$0(condition, children, span) {
  32355. var t1 = A.List_List$unmodifiable(children, type$.Statement_2),
  32356. t2 = B.JSArray_methods.any$1(t1, new A.ParentStatement_closure0());
  32357. return new A.WhileRule0(condition, span, t1, t2);
  32358. },
  32359. WhileRule0: function WhileRule0(t0, t1, t2, t3) {
  32360. var _ = this;
  32361. _.condition = t0;
  32362. _.span = t1;
  32363. _.children = t2;
  32364. _.hasDeclarations = t3;
  32365. },
  32366. XyzD50ColorSpace0: function XyzD50ColorSpace0(t0, t1) {
  32367. this.name = t0;
  32368. this._space$_channels = t1;
  32369. },
  32370. XyzD65ColorSpace0: function XyzD65ColorSpace0(t0, t1) {
  32371. this.name = t0;
  32372. this._space$_channels = t1;
  32373. },
  32374. AsyncCallable_AsyncCallable$fromSignature(signature, callback, requireParens) {
  32375. var _0_0 = A.parseSignature(signature, requireParens);
  32376. return new A.AsyncBuiltInCallable0(_0_0._0, _0_0._1, callback, false);
  32377. },
  32378. Callable_Callable$fromSignature(signature, callback, requireParens) {
  32379. var _0_0 = A.parseSignature(signature, requireParens);
  32380. return new A.BuiltInCallable0(_0_0._0, A._setArrayType([new A._Record_2(_0_0._1, callback)], type$.JSArray_Record_2_ParameterList_and_Value_Function_List_Value_2), false);
  32381. },
  32382. printString(string) {
  32383. if (typeof dartPrint == "function") {
  32384. dartPrint(string);
  32385. return;
  32386. }
  32387. if (typeof console == "object" && typeof console.log != "undefined") {
  32388. console.log(string);
  32389. return;
  32390. }
  32391. if (typeof print == "function") {
  32392. print(string);
  32393. return;
  32394. }
  32395. throw "Unable to print message: " + String(string);
  32396. },
  32397. mergeMaps(map1, map2, $K, $V) {
  32398. var result = A.LinkedHashMap_LinkedHashMap$of(map1, $K, $V);
  32399. result.addAll$1(0, map2);
  32400. return result;
  32401. },
  32402. groupBy(values, key, $S, $T) {
  32403. var t1, t2, _i, element, t3, t4,
  32404. map = A.LinkedHashMap_LinkedHashMap$_empty($T, $S._eval$1("List<0>"));
  32405. for (t1 = values.length, t2 = $S._eval$1("JSArray<0>"), _i = 0; _i < values.length; values.length === t1 || (0, A.throwConcurrentModificationError)(values), ++_i) {
  32406. element = values[_i];
  32407. t3 = key.call$1(element);
  32408. t4 = map.$index(0, t3);
  32409. if (t4 == null) {
  32410. t4 = A._setArrayType([], t2);
  32411. map.$indexSet(0, t3, t4);
  32412. t3 = t4;
  32413. } else
  32414. t3 = t4;
  32415. J.add$1$ax(t3, element);
  32416. }
  32417. return map;
  32418. },
  32419. minBy(values, orderBy) {
  32420. var t1, t2, minValue, minOrderBy, element, elementOrderBy;
  32421. for (t1 = values.$ti, t2 = new A.MappedIterator(J.get$iterator$ax(values.__internal$_iterable), values._f, t1._eval$1("MappedIterator<1,2>")), t1 = t1._rest[1], minValue = null, minOrderBy = null; t2.moveNext$0();) {
  32422. element = t2.__internal$_current;
  32423. if (element == null)
  32424. element = t1._as(element);
  32425. elementOrderBy = orderBy.call$1(element);
  32426. if (minOrderBy == null || A.defaultCompare(elementOrderBy, minOrderBy) < 0) {
  32427. minOrderBy = elementOrderBy;
  32428. minValue = element;
  32429. }
  32430. }
  32431. return minValue;
  32432. },
  32433. IterableExtension_firstWhereOrNull(_this, test) {
  32434. var t1, element;
  32435. for (t1 = J.get$iterator$ax(_this); t1.moveNext$0();) {
  32436. element = t1.get$current(t1);
  32437. if (test.call$1(element))
  32438. return element;
  32439. }
  32440. return null;
  32441. },
  32442. IterableExtension_get_firstOrNull(_this) {
  32443. var iterator = J.get$iterator$ax(_this);
  32444. if (iterator.moveNext$0())
  32445. return iterator.get$current(iterator);
  32446. return null;
  32447. },
  32448. IterableExtension_get_lastOrNull(_this) {
  32449. if (_this.get$length(0) === 0)
  32450. return null;
  32451. return _this.get$last(_this);
  32452. },
  32453. IterableExtension_get_singleOrNull(_this) {
  32454. var result,
  32455. iterator = J.get$iterator$ax(_this);
  32456. if (iterator.moveNext$0()) {
  32457. result = iterator.get$current(iterator);
  32458. if (!iterator.moveNext$0())
  32459. return result;
  32460. }
  32461. return null;
  32462. },
  32463. IterableIntegerExtension_get_maxOrNull(_this) {
  32464. var value, newValue,
  32465. iterator = _this.get$iterator(_this);
  32466. if (iterator.moveNext$0()) {
  32467. value = iterator.get$current(iterator);
  32468. for (; iterator.moveNext$0();) {
  32469. newValue = iterator.get$current(iterator);
  32470. if (newValue > value)
  32471. value = newValue;
  32472. }
  32473. return value;
  32474. }
  32475. return null;
  32476. },
  32477. IterableIntegerExtension_get_max(_this) {
  32478. var t1 = A.IterableIntegerExtension_get_maxOrNull(_this);
  32479. return t1 == null ? A.throwExpression(A.StateError$("No element")) : t1;
  32480. },
  32481. IterableIntegerExtension_get_sum(_this) {
  32482. var t1, t2, result, t3;
  32483. for (t1 = _this.$ti, t2 = new A.MappedIterator(J.get$iterator$ax(_this.__internal$_iterable), _this._f, t1._eval$1("MappedIterator<1,2>")), t1 = t1._rest[1], result = 0; t2.moveNext$0();) {
  32484. t3 = t2.__internal$_current;
  32485. result += t3 == null ? t1._as(t3) : t3;
  32486. }
  32487. return result;
  32488. },
  32489. ListExtensions_mapIndexed(_this, convert, $E, $R) {
  32490. return new A._SyncStarIterable(A.ListExtensions_mapIndexed$body(_this, convert, $E, $R), $R._eval$1("_SyncStarIterable<0>"));
  32491. },
  32492. ListExtensions_mapIndexed$body($async$_this, $async$convert, $async$$E, $async$$R) {
  32493. return function() {
  32494. var _this = $async$_this,
  32495. convert = $async$convert,
  32496. $E = $async$$E,
  32497. $R = $async$$R;
  32498. var $async$goto = 0, $async$handler = 1, $async$errorStack = [], t1, index;
  32499. return function $async$ListExtensions_mapIndexed($async$iterator, $async$errorCode, $async$result) {
  32500. if ($async$errorCode === 1) {
  32501. $async$errorStack.push($async$result);
  32502. $async$goto = $async$handler;
  32503. }
  32504. while (true)
  32505. switch ($async$goto) {
  32506. case 0:
  32507. // Function start
  32508. t1 = _this.length, index = 0;
  32509. case 2:
  32510. // for condition
  32511. if (!(index < t1)) {
  32512. // goto after for
  32513. $async$goto = 4;
  32514. break;
  32515. }
  32516. $async$goto = 5;
  32517. return $async$iterator._async$_current = convert.call$2(index, _this[index]), 1;
  32518. case 5:
  32519. // after yield
  32520. case 3:
  32521. // for update
  32522. ++index;
  32523. // goto for condition
  32524. $async$goto = 2;
  32525. break;
  32526. case 4:
  32527. // after for
  32528. // implicit return
  32529. return 0;
  32530. case 1:
  32531. // rethrow
  32532. return $async$iterator._datum = $async$errorStack.at(-1), 3;
  32533. }
  32534. };
  32535. };
  32536. },
  32537. ListExtensions_elementAtOrNull(_this, index) {
  32538. var t1 = J.getInterceptor$asx(_this);
  32539. return index < t1.get$length(_this) ? t1.$index(_this, index) : null;
  32540. },
  32541. defaultCompare(value1, value2) {
  32542. return J.compareTo$1$ns(type$.Comparable_nullable_Object._as(value1), value2);
  32543. },
  32544. current() {
  32545. var exception, t1, path, lastIndex, uri = null;
  32546. try {
  32547. uri = A.Uri_base();
  32548. } catch (exception) {
  32549. if (type$.Exception._is(A.unwrapException(exception))) {
  32550. t1 = $._current;
  32551. if (t1 != null)
  32552. return t1;
  32553. throw exception;
  32554. } else
  32555. throw exception;
  32556. }
  32557. if (J.$eq$(uri, $._currentUriBase)) {
  32558. t1 = $._current;
  32559. t1.toString;
  32560. return t1;
  32561. }
  32562. $._currentUriBase = uri;
  32563. if ($.$get$Style_platform() === $.$get$Style_url())
  32564. t1 = $._current = J.resolve$1$x(uri, ".").toString$0(0);
  32565. else {
  32566. path = uri.toFilePath$0();
  32567. lastIndex = path.length - 1;
  32568. t1 = $._current = lastIndex === 0 ? path : B.JSString_methods.substring$2(path, 0, lastIndex);
  32569. }
  32570. return t1;
  32571. },
  32572. absolute(part1, part2, part3, part4, part5, part6, part7, part8, part9, part10, part11, part12, part13, part14, part15) {
  32573. return $.$get$context().absolute$15(part1, part2, part3, part4, part5, part6, part7, part8, part9, part10, part11, part12, part13, part14, part15);
  32574. },
  32575. join(part1, part2, part3) {
  32576. var _null = null;
  32577. return $.$get$context().join$16(0, part1, part2, part3, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null);
  32578. },
  32579. toUri(path) {
  32580. return $.$get$context().toUri$1(path);
  32581. },
  32582. prettyUri(uri) {
  32583. var t1 = $.$get$context();
  32584. uri.toString;
  32585. return t1.prettyUri$1(uri);
  32586. },
  32587. isAlphabetic(char) {
  32588. var t1;
  32589. if (!(char >= 65 && char <= 90))
  32590. t1 = char >= 97 && char <= 122;
  32591. else
  32592. t1 = true;
  32593. return t1;
  32594. },
  32595. driveLetterEnd(path, index) {
  32596. var t2, t3, _null = null,
  32597. t1 = path.length,
  32598. index0 = index + 2;
  32599. if (t1 < index0)
  32600. return _null;
  32601. if (!A.isAlphabetic(path.charCodeAt(index)))
  32602. return _null;
  32603. t2 = index + 1;
  32604. if (path.charCodeAt(t2) !== 58) {
  32605. t3 = index + 4;
  32606. if (t1 < t3)
  32607. return _null;
  32608. if (B.JSString_methods.substring$2(path, t2, t3).toLowerCase() !== "%3a")
  32609. return _null;
  32610. index = index0;
  32611. }
  32612. t2 = index + 2;
  32613. if (t1 === t2)
  32614. return t2;
  32615. if (path.charCodeAt(t2) !== 47)
  32616. return _null;
  32617. return index + 3;
  32618. },
  32619. main0(args) {
  32620. return A.main$body0(args);
  32621. },
  32622. main$body0(args) {
  32623. var $async$goto = 0,
  32624. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  32625. t1;
  32626. var $async$main0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  32627. if ($async$errorCode === 1)
  32628. return A._asyncRethrow($async$result, $async$completer);
  32629. while (true)
  32630. switch ($async$goto) {
  32631. case 0:
  32632. // Function start
  32633. A.printError("sass --embedded is unavailable in pure JS mode.");
  32634. t1 = A.isNodeJs() ? self.process : null;
  32635. if (t1 != null)
  32636. J.set$exitCode$x(t1, 1);
  32637. // implicit return
  32638. return A._asyncReturn(null, $async$completer);
  32639. }
  32640. });
  32641. return A._asyncStartSync($async$main0, $async$completer);
  32642. },
  32643. EvaluationContext_currentOrNull() {
  32644. var t1,
  32645. _0_0 = $.Zone__current.$index(0, B.Symbol__evaluationContext);
  32646. $label0$0: {
  32647. if (type$.EvaluationContext._is(_0_0)) {
  32648. t1 = _0_0;
  32649. break $label0$0;
  32650. }
  32651. t1 = null;
  32652. break $label0$0;
  32653. }
  32654. return t1;
  32655. },
  32656. warn(message) {
  32657. var t1, _null = null,
  32658. _0_0 = A.EvaluationContext_currentOrNull();
  32659. $label0$0: {
  32660. if (_0_0 != null) {
  32661. t1 = _0_0.warn$2(0, message, _null);
  32662. break $label0$0;
  32663. }
  32664. B.StderrLogger_false.internalWarn$4$deprecation$span$trace(message, _null, _null, _null);
  32665. t1 = _null;
  32666. break $label0$0;
  32667. }
  32668. return t1;
  32669. },
  32670. warnForDeprecation(message, deprecation) {
  32671. var t1,
  32672. _0_0 = A.EvaluationContext_currentOrNull();
  32673. $label0$0: {
  32674. if (_0_0 != null) {
  32675. t1 = _0_0.warn$2(0, message, deprecation);
  32676. break $label0$0;
  32677. }
  32678. t1 = A.WarnForDeprecation_warnForDeprecation(B.StderrLogger_false, deprecation, message, null, null);
  32679. break $label0$0;
  32680. }
  32681. return t1;
  32682. },
  32683. compileStylesheets(options, graph, sourcesToDestinations, ifModified) {
  32684. return A.compileStylesheets$body(options, graph, sourcesToDestinations, ifModified);
  32685. },
  32686. compileStylesheets$body(options, graph, sourcesToDestinations, ifModified) {
  32687. var $async$goto = 0,
  32688. $async$completer = A._makeAsyncAwaitCompleter(type$.bool),
  32689. $async$returnValue, _1_4, t2, t3, _i, t4, printedError, errorWithStackTrace, code, error, stackTrace, buffer, t1, $async$temp1;
  32690. var $async$compileStylesheets = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  32691. if ($async$errorCode === 1)
  32692. return A._asyncRethrow($async$result, $async$completer);
  32693. while (true)
  32694. switch ($async$goto) {
  32695. case 0:
  32696. // Function start
  32697. t1 = type$.nullable_String;
  32698. t1 = A.List_List$_of(A.MapExtensions_get_pairs(sourcesToDestinations, t1, t1), type$.Record_2_nullable_String_and_nullable_String);
  32699. $async$goto = t1.length === 1 ? 4 : 5;
  32700. break;
  32701. case 4:
  32702. // then
  32703. _1_4 = t1[0];
  32704. $async$temp1 = A;
  32705. $async$goto = 6;
  32706. return A._asyncAwait(A.compileStylesheet(options, graph, _1_4._0, _1_4._1, ifModified), $async$compileStylesheets);
  32707. case 6:
  32708. // returning from await.
  32709. t1 = $async$temp1._setArrayType([$async$result], type$.JSArray_nullable_Record_3_int_and_String_and_nullable_String);
  32710. // goto break $label0$0
  32711. $async$goto = 3;
  32712. break;
  32713. case 5:
  32714. // join
  32715. t2 = A._setArrayType([], type$.JSArray_Future_nullable_Record_3_int_and_String_and_nullable_String);
  32716. for (t3 = t1.length, _i = 0; _i < t1.length; t1.length === t3 || (0, A.throwConcurrentModificationError)(t1), ++_i) {
  32717. t4 = t1[_i];
  32718. t2.push(A.compileStylesheet(options, graph, t4._0, t4._1, ifModified));
  32719. }
  32720. $async$goto = 7;
  32721. return A._asyncAwait(A.Future_wait(t2, A._asBool(options._options.$index(0, "stop-on-error")), type$.nullable_Record_3_int_and_String_and_nullable_String), $async$compileStylesheets);
  32722. case 7:
  32723. // returning from await.
  32724. t1 = $async$result;
  32725. // goto break $label0$0
  32726. $async$goto = 3;
  32727. break;
  32728. case 3:
  32729. // break $label0$0
  32730. for (t1 = J.get$iterator$ax(t1), printedError = false; t1.moveNext$0();) {
  32731. errorWithStackTrace = t1.get$current(t1);
  32732. if (errorWithStackTrace == null)
  32733. continue;
  32734. code = errorWithStackTrace._0;
  32735. error = errorWithStackTrace._1;
  32736. stackTrace = errorWithStackTrace._2;
  32737. t2 = self.process;
  32738. if (t2 == null)
  32739. t2 = null;
  32740. else {
  32741. t2 = J.get$release$x(t2);
  32742. t2 = t2 == null ? null : J.get$name$x(t2);
  32743. }
  32744. t2 = J.$eq$(t2, "node") ? self.process : null;
  32745. t2 = t2 == null ? null : J.get$exitCode$x(t2);
  32746. if (t2 == null)
  32747. t2 = 0;
  32748. t2 = Math.max(t2, code);
  32749. t3 = self.process;
  32750. if (t3 == null)
  32751. t3 = null;
  32752. else {
  32753. t3 = J.get$release$x(t3);
  32754. t3 = t3 == null ? null : J.get$name$x(t3);
  32755. }
  32756. t3 = J.$eq$(t3, "node") ? self.process : null;
  32757. if (t3 != null)
  32758. J.set$exitCode$x(t3, t2);
  32759. buffer = new A.StringBuffer("");
  32760. t2 = (printedError ? buffer._contents = "" + "\n" : "") + error;
  32761. buffer._contents = t2;
  32762. if (stackTrace != null) {
  32763. t2 += "\n";
  32764. buffer._contents = t2;
  32765. t2 += "\n";
  32766. buffer._contents = t2;
  32767. buffer._contents = t2 + stackTrace;
  32768. }
  32769. A.printError(buffer);
  32770. printedError = true;
  32771. }
  32772. $async$returnValue = !printedError;
  32773. // goto return
  32774. $async$goto = 1;
  32775. break;
  32776. case 1:
  32777. // return
  32778. return A._asyncReturn($async$returnValue, $async$completer);
  32779. }
  32780. });
  32781. return A._asyncStartSync($async$compileStylesheets, $async$completer);
  32782. },
  32783. CharacterExtension_get_isAlphabetic(_this) {
  32784. var t1;
  32785. if (!(_this >= 97 && _this <= 122))
  32786. t1 = _this >= 65 && _this <= 90;
  32787. else
  32788. t1 = true;
  32789. return t1;
  32790. },
  32791. CharacterExtension_get_isHex(_this) {
  32792. var t1 = true;
  32793. if (!(_this >= 48 && _this <= 57))
  32794. if (!(_this >= 97 && _this <= 102))
  32795. t1 = _this >= 65 && _this <= 70;
  32796. return t1;
  32797. },
  32798. asHex(character) {
  32799. var t1;
  32800. $label0$0: {
  32801. if (character <= 57) {
  32802. t1 = character - 48;
  32803. break $label0$0;
  32804. }
  32805. if (character <= 70) {
  32806. t1 = 10 + character - 65;
  32807. break $label0$0;
  32808. }
  32809. t1 = 10 + character - 97;
  32810. break $label0$0;
  32811. }
  32812. return t1;
  32813. },
  32814. hexCharFor(number) {
  32815. return number < 10 ? 48 + number : 87 + number;
  32816. },
  32817. opposite(character) {
  32818. var t1;
  32819. $label0$0: {
  32820. if (40 === character) {
  32821. t1 = 41;
  32822. break $label0$0;
  32823. }
  32824. if (123 === character) {
  32825. t1 = 125;
  32826. break $label0$0;
  32827. }
  32828. if (91 === character) {
  32829. t1 = 93;
  32830. break $label0$0;
  32831. }
  32832. t1 = A.throwExpression(A.ArgumentError$('"' + A.String_String$fromCharCode(character) + "\" isn't a brace-like character.", null));
  32833. }
  32834. return t1;
  32835. },
  32836. characterEqualsIgnoreCase(character1, character2) {
  32837. var upperCase1;
  32838. if (character1 === character2)
  32839. return true;
  32840. if ((character1 ^ character2) >>> 0 !== 32)
  32841. return false;
  32842. upperCase1 = (character1 & 4294967263) >>> 0;
  32843. return upperCase1 >= 65 && upperCase1 <= 90;
  32844. },
  32845. IterableExtension_search(_this, callback) {
  32846. var t1, _0_0;
  32847. for (t1 = J.get$iterator$ax(_this); t1.moveNext$0();) {
  32848. _0_0 = callback.call$1(t1.get$current(t1));
  32849. if (_0_0 != null)
  32850. return _0_0;
  32851. }
  32852. return null;
  32853. },
  32854. IterableExtension_get_exceptLast(_this) {
  32855. var t1 = J.getInterceptor$asx(_this),
  32856. size = t1.get$length(_this) - 1;
  32857. if (size < 0)
  32858. throw A.wrapException(A.StateError$("Iterable may not be empty"));
  32859. return t1.take$1(_this, size);
  32860. },
  32861. NullableExtension_andThen(_this, fn) {
  32862. return _this == null ? null : fn.call$1(_this);
  32863. },
  32864. SetExtension_removeNull(_this, $T) {
  32865. _this.remove$1(0, null);
  32866. return A.Set_castFrom(_this, _this.get$_newSimilarSet(), A._instanceType(_this)._precomputed1, $T);
  32867. },
  32868. fuzzyEquals(number1, number2) {
  32869. var t1;
  32870. if (number1 === number2)
  32871. return true;
  32872. if (Math.abs(number1 - number2) <= $.$get$_epsilon()) {
  32873. t1 = $.$get$_inverseEpsilon();
  32874. t1 = B.JSNumber_methods.round$0(number1 * t1) === B.JSNumber_methods.round$0(number2 * t1);
  32875. } else
  32876. t1 = false;
  32877. return t1;
  32878. },
  32879. fuzzyEqualsNullable(number1, number2) {
  32880. var t1;
  32881. if (number1 == number2)
  32882. return true;
  32883. if (number1 == null || number2 == null)
  32884. return false;
  32885. if (Math.abs(number1 - number2) <= $.$get$_epsilon()) {
  32886. t1 = $.$get$_inverseEpsilon();
  32887. t1 = B.JSNumber_methods.round$0(number1 * t1) === B.JSNumber_methods.round$0(number2 * t1);
  32888. } else
  32889. t1 = false;
  32890. return t1;
  32891. },
  32892. fuzzyHashCode(number) {
  32893. if (!isFinite(number))
  32894. return B.JSNumber_methods.get$hashCode(number);
  32895. return B.JSInt_methods.get$hashCode(B.JSNumber_methods.round$0(number * $.$get$_inverseEpsilon()));
  32896. },
  32897. fuzzyLessThan(number1, number2) {
  32898. return number1 < number2 && !A.fuzzyEquals(number1, number2);
  32899. },
  32900. fuzzyLessThanOrEquals(number1, number2) {
  32901. return number1 < number2 || A.fuzzyEquals(number1, number2);
  32902. },
  32903. fuzzyGreaterThan(number1, number2) {
  32904. return number1 > number2 && !A.fuzzyEquals(number1, number2);
  32905. },
  32906. fuzzyGreaterThanOrEquals(number1, number2) {
  32907. return number1 > number2 || A.fuzzyEquals(number1, number2);
  32908. },
  32909. fuzzyIsInt(number) {
  32910. if (number == 1 / 0 || number == -1 / 0 || isNaN(number))
  32911. return false;
  32912. return A.fuzzyEquals(number, B.JSNumber_methods.round$0(number));
  32913. },
  32914. fuzzyAsInt(number) {
  32915. var rounded;
  32916. if (number == 1 / 0 || number == -1 / 0 || isNaN(number))
  32917. return null;
  32918. rounded = B.JSNumber_methods.round$0(number);
  32919. return A.fuzzyEquals(number, rounded) ? rounded : null;
  32920. },
  32921. fuzzyRound(number) {
  32922. var t1;
  32923. if (number > 0) {
  32924. t1 = B.JSNumber_methods.$mod(number, 1);
  32925. return t1 < 0.5 && !A.fuzzyEquals(t1, 0.5) ? B.JSNumber_methods.floor$0(number) : B.JSNumber_methods.ceil$0(number);
  32926. } else {
  32927. t1 = B.JSNumber_methods.$mod(number, 1);
  32928. return t1 < 0.5 || A.fuzzyEquals(t1, 0.5) ? B.JSNumber_methods.floor$0(number) : B.JSNumber_methods.ceil$0(number);
  32929. }
  32930. },
  32931. fuzzyCheckRange(number, min, max) {
  32932. if (A.fuzzyEquals(number, min))
  32933. return min;
  32934. if (A.fuzzyEquals(number, max))
  32935. return max;
  32936. if (number > min && number < max)
  32937. return number;
  32938. return null;
  32939. },
  32940. fuzzyAssertRange(number, min, max, $name) {
  32941. var result = A.fuzzyCheckRange(number, min, max);
  32942. if (result != null)
  32943. return result;
  32944. throw A.wrapException(A.RangeError$range(number, min, max, $name, "must be between " + min + " and " + max));
  32945. },
  32946. moduloLikeSass(num1, num2) {
  32947. var result;
  32948. if (num1 == 1 / 0 || num1 == -1 / 0)
  32949. return 0 / 0;
  32950. if (num2 == 1 / 0 || num2 == -1 / 0)
  32951. return A.DoubleWithSignedZero_get_signIncludingZero(num1) === J.get$sign$in(num2) ? num1 : 0 / 0;
  32952. if (num2 > 0)
  32953. return B.JSNumber_methods.$mod(num1, num2);
  32954. if (num2 === 0)
  32955. return 0 / 0;
  32956. result = B.JSNumber_methods.$mod(num1, num2);
  32957. return result === 0 ? 0 : result + num2;
  32958. },
  32959. sqrt(number) {
  32960. number.assertNoUnits$1("number");
  32961. return A.SassNumber_SassNumber(Math.sqrt(number._number$_value), null);
  32962. },
  32963. sin(number) {
  32964. return A.SassNumber_SassNumber(Math.sin(number.coerceValueToUnit$2("rad", "number")), null);
  32965. },
  32966. cos(number) {
  32967. return A.SassNumber_SassNumber(Math.cos(number.coerceValueToUnit$2("rad", "number")), null);
  32968. },
  32969. tan(number) {
  32970. return A.SassNumber_SassNumber(Math.tan(number.coerceValueToUnit$2("rad", "number")), null);
  32971. },
  32972. atan(number) {
  32973. number.assertNoUnits$1("number");
  32974. return A.SassNumber_SassNumber$withUnits(Math.atan(number._number$_value) * 57.29577951308232, null, A._setArrayType(["deg"], type$.JSArray_String));
  32975. },
  32976. asin(number) {
  32977. number.assertNoUnits$1("number");
  32978. return A.SassNumber_SassNumber$withUnits(Math.asin(number._number$_value) * 57.29577951308232, null, A._setArrayType(["deg"], type$.JSArray_String));
  32979. },
  32980. acos(number) {
  32981. number.assertNoUnits$1("number");
  32982. return A.SassNumber_SassNumber$withUnits(Math.acos(number._number$_value) * 57.29577951308232, null, A._setArrayType(["deg"], type$.JSArray_String));
  32983. },
  32984. log(number, base) {
  32985. if (base != null)
  32986. return A.SassNumber_SassNumber(Math.log(number._number$_value) / Math.log(base._number$_value), null);
  32987. return A.SassNumber_SassNumber(Math.log(number._number$_value), null);
  32988. },
  32989. pow0(base, exponent) {
  32990. base.assertNoUnits$1("base");
  32991. exponent.assertNoUnits$1("exponent");
  32992. return A.SassNumber_SassNumber(Math.pow(base._number$_value, exponent._number$_value), null);
  32993. },
  32994. DoubleWithSignedZero_get_signIncludingZero(_this) {
  32995. if (_this === -0.0)
  32996. return -1;
  32997. if (_this === 0)
  32998. return 1;
  32999. return J.get$sign$in(_this);
  33000. },
  33001. SpanExtensions_trimLeft(_this) {
  33002. var t1, start = 0;
  33003. while (true) {
  33004. t1 = _this.get$text().charCodeAt(start);
  33005. if (!(t1 === 32 || t1 === 9 || t1 === 10 || t1 === 13 || t1 === 12))
  33006. break;
  33007. ++start;
  33008. }
  33009. return A.FileSpanExtension_subspan(_this, start, null);
  33010. },
  33011. SpanExtensions_trimRight(_this) {
  33012. var t1,
  33013. end = _this.get$text().length - 1;
  33014. while (true) {
  33015. t1 = _this.get$text().charCodeAt(end);
  33016. if (!(t1 === 32 || t1 === 9 || t1 === 10 || t1 === 13 || t1 === 12))
  33017. break;
  33018. --end;
  33019. }
  33020. return A.FileSpanExtension_subspan(_this, 0, end + 1);
  33021. },
  33022. SpanExtensions_initialIdentifier(_this) {
  33023. var i,
  33024. scanner = A.StringScanner$(_this.get$text(), null, null);
  33025. for (i = 0; false; ++i)
  33026. scanner.readChar$0();
  33027. A._scanIdentifier(scanner);
  33028. return A.FileSpanExtension_subspan(_this, 0, scanner._string_scanner$_position);
  33029. },
  33030. SpanExtensions_withoutInitialIdentifier(_this) {
  33031. var scanner = A.StringScanner$(_this.get$text(), null, null);
  33032. A._scanIdentifier(scanner);
  33033. return A.FileSpanExtension_subspan(_this, scanner._string_scanner$_position, null);
  33034. },
  33035. _scanIdentifier(scanner) {
  33036. var t1, _0_0, t2;
  33037. for (t1 = scanner.string.length; scanner._string_scanner$_position !== t1;) {
  33038. _0_0 = scanner.peekChar$0();
  33039. if (92 === _0_0) {
  33040. A.consumeEscapedCharacter(scanner);
  33041. continue;
  33042. }
  33043. if (A._isInt(_0_0)) {
  33044. if (_0_0 !== 95) {
  33045. if (!(_0_0 >= 97 && _0_0 <= 122))
  33046. t2 = _0_0 >= 65 && _0_0 <= 90;
  33047. else
  33048. t2 = true;
  33049. t2 = t2 || _0_0 >= 128;
  33050. } else
  33051. t2 = true;
  33052. if (!t2)
  33053. t2 = _0_0 >= 48 && _0_0 <= 57 || _0_0 === 45;
  33054. else
  33055. t2 = true;
  33056. } else
  33057. t2 = false;
  33058. if (t2) {
  33059. scanner.readChar$0();
  33060. continue;
  33061. }
  33062. break;
  33063. }
  33064. },
  33065. hueToRgb(m1, m2, hue) {
  33066. var t1;
  33067. if (hue < 0)
  33068. ++hue;
  33069. if (hue > 1)
  33070. --hue;
  33071. $label0$0: {
  33072. if (hue < 0.16666666666666666) {
  33073. t1 = m1 + (m2 - m1) * hue * 6;
  33074. break $label0$0;
  33075. }
  33076. if (hue < 0.5) {
  33077. t1 = m2;
  33078. break $label0$0;
  33079. }
  33080. if (hue < 0.6666666666666666) {
  33081. t1 = m1 + (m2 - m1) * (0.6666666666666666 - hue) * 6;
  33082. break $label0$0;
  33083. }
  33084. t1 = m1;
  33085. break $label0$0;
  33086. }
  33087. return t1;
  33088. },
  33089. srgbAndDisplayP3ToLinear(channel) {
  33090. var abs = Math.abs(channel);
  33091. return abs <= 0.04045 ? channel / 12.92 : J.get$sign$in(channel) * Math.pow((abs + 0.055) / 1.055, 2.4);
  33092. },
  33093. srgbAndDisplayP3FromLinear(channel) {
  33094. var abs = Math.abs(channel);
  33095. return abs <= 0.0031308 ? channel * 12.92 : J.get$sign$in(channel) * (1.055 * Math.pow(abs, 0.4166666666666667) - 0.055);
  33096. },
  33097. labToLch(dest, lightness, a, b, alpha, missingChroma, missingHue) {
  33098. var t3, t4, chroma, hue,
  33099. t1 = a == null,
  33100. t2 = t1 ? 0 : a;
  33101. t2 = Math.pow(t2, 2);
  33102. t3 = b == null;
  33103. t4 = t3 ? 0 : b;
  33104. chroma = Math.sqrt(t2 + Math.pow(t4, 2));
  33105. if (missingHue || A.fuzzyEquals(chroma, 0))
  33106. hue = null;
  33107. else {
  33108. t2 = t3 ? 0 : b;
  33109. t1 = t1 ? 0 : a;
  33110. hue = Math.atan2(t2, t1) * 180 / 3.141592653589793;
  33111. }
  33112. t1 = missingChroma ? null : chroma;
  33113. return A.SassColor_SassColor$forSpaceInternal(dest, lightness, t1, hue == null || hue >= 0 ? hue : hue + 360, alpha);
  33114. },
  33115. encodeVlq(value) {
  33116. var res, signBit, digit, t1;
  33117. if (value < $.$get$minInt32() || value > $.$get$maxInt32())
  33118. throw A.wrapException(A.ArgumentError$("expected 32 bit int, got: " + value, null));
  33119. res = A._setArrayType([], type$.JSArray_String);
  33120. if (value < 0) {
  33121. value = -value;
  33122. signBit = 1;
  33123. } else
  33124. signBit = 0;
  33125. value = value << 1 | signBit;
  33126. do {
  33127. digit = value & 31;
  33128. value = value >>> 5;
  33129. t1 = value > 0;
  33130. res.push(string$.ABCDEF[t1 ? digit | 32 : digit]);
  33131. } while (t1);
  33132. return res;
  33133. },
  33134. isAllTheSame(iter) {
  33135. var firstValue, t1, t2, value;
  33136. if (iter.get$length(0) === 0)
  33137. return true;
  33138. firstValue = iter.get$first(0);
  33139. for (t1 = A.SubListIterable$(iter, 1, null, iter.$ti._eval$1("ListIterable.E")), t2 = t1.$ti, t1 = new A.ListIterator(t1, t1.get$length(0), t2._eval$1("ListIterator<ListIterable.E>")), t2 = t2._eval$1("ListIterable.E"); t1.moveNext$0();) {
  33140. value = t1.__internal$_current;
  33141. if (!J.$eq$(value == null ? t2._as(value) : value, firstValue))
  33142. return false;
  33143. }
  33144. return true;
  33145. },
  33146. replaceFirstNull(list, element) {
  33147. var index = B.JSArray_methods.indexOf$1(list, null);
  33148. if (index < 0)
  33149. throw A.wrapException(A.ArgumentError$(A.S(list) + " contains no null elements.", null));
  33150. list[index] = element;
  33151. },
  33152. replaceWithNull(list, element) {
  33153. var index = B.JSArray_methods.indexOf$1(list, element);
  33154. if (index < 0)
  33155. throw A.wrapException(A.ArgumentError$(A.S(list) + " contains no elements matching " + element.toString$0(0) + ".", null));
  33156. list[index] = null;
  33157. },
  33158. countCodeUnits(string, codeUnit) {
  33159. var t1, t2, count, t3;
  33160. for (t1 = new A.CodeUnits(string), t2 = type$.CodeUnits, t1 = new A.ListIterator(t1, t1.get$length(0), t2._eval$1("ListIterator<ListBase.E>")), t2 = t2._eval$1("ListBase.E"), count = 0; t1.moveNext$0();) {
  33161. t3 = t1.__internal$_current;
  33162. if ((t3 == null ? t2._as(t3) : t3) === codeUnit)
  33163. ++count;
  33164. }
  33165. return count;
  33166. },
  33167. findLineStart(context, text, column) {
  33168. var beginningOfLine, index, lineStart;
  33169. if (text.length === 0)
  33170. for (beginningOfLine = 0; true;) {
  33171. index = B.JSString_methods.indexOf$2(context, "\n", beginningOfLine);
  33172. if (index === -1)
  33173. return context.length - beginningOfLine >= column ? beginningOfLine : null;
  33174. if (index - beginningOfLine >= column)
  33175. return beginningOfLine;
  33176. beginningOfLine = index + 1;
  33177. }
  33178. index = B.JSString_methods.indexOf$1(context, text);
  33179. for (; index !== -1;) {
  33180. lineStart = index === 0 ? 0 : B.JSString_methods.lastIndexOf$2(context, "\n", index - 1) + 1;
  33181. if (column === index - lineStart)
  33182. return lineStart;
  33183. index = B.JSString_methods.indexOf$2(context, text, index + 1);
  33184. }
  33185. return null;
  33186. },
  33187. validateErrorArgs(string, match, position, $length) {
  33188. var t2,
  33189. t1 = position != null;
  33190. if (t1)
  33191. if (position < 0)
  33192. throw A.wrapException(A.RangeError$("position must be greater than or equal to 0."));
  33193. else if (position > string.length)
  33194. throw A.wrapException(A.RangeError$("position must be less than or equal to the string length."));
  33195. t2 = $length != null;
  33196. if (t2 && $length < 0)
  33197. throw A.wrapException(A.RangeError$("length must be greater than or equal to 0."));
  33198. if (t1 && t2 && position + $length > string.length)
  33199. throw A.wrapException(A.RangeError$("position plus length must not go beyond the end of the string."));
  33200. },
  33201. CharacterExtension_get_isAlphabetic0(_this) {
  33202. var t1;
  33203. if (!(_this >= 97 && _this <= 122))
  33204. t1 = _this >= 65 && _this <= 90;
  33205. else
  33206. t1 = true;
  33207. return t1;
  33208. },
  33209. CharacterExtension_get_isHex0(_this) {
  33210. var t1 = true;
  33211. if (!(_this >= 48 && _this <= 57))
  33212. if (!(_this >= 97 && _this <= 102))
  33213. t1 = _this >= 65 && _this <= 70;
  33214. return t1;
  33215. },
  33216. combineSurrogates(highSurrogate, lowSurrogate) {
  33217. return 65536 + ((highSurrogate & 1023) << 10) + (lowSurrogate & 1023);
  33218. },
  33219. asHex0(character) {
  33220. var t1;
  33221. $label0$0: {
  33222. if (character <= 57) {
  33223. t1 = character - 48;
  33224. break $label0$0;
  33225. }
  33226. if (character <= 70) {
  33227. t1 = 10 + character - 65;
  33228. break $label0$0;
  33229. }
  33230. t1 = 10 + character - 97;
  33231. break $label0$0;
  33232. }
  33233. return t1;
  33234. },
  33235. hexCharFor0(number) {
  33236. return number < 10 ? 48 + number : 87 + number;
  33237. },
  33238. opposite0(character) {
  33239. var t1;
  33240. $label0$0: {
  33241. if (40 === character) {
  33242. t1 = 41;
  33243. break $label0$0;
  33244. }
  33245. if (123 === character) {
  33246. t1 = 125;
  33247. break $label0$0;
  33248. }
  33249. if (91 === character) {
  33250. t1 = 93;
  33251. break $label0$0;
  33252. }
  33253. t1 = A.throwExpression(A.ArgumentError$('"' + A.String_String$fromCharCode(character) + "\" isn't a brace-like character.", null));
  33254. }
  33255. return t1;
  33256. },
  33257. characterEqualsIgnoreCase0(character1, character2) {
  33258. var upperCase1;
  33259. if (character1 === character2)
  33260. return true;
  33261. if ((character1 ^ character2) >>> 0 !== 32)
  33262. return false;
  33263. upperCase1 = (character1 & 4294967263) >>> 0;
  33264. return upperCase1 >= 65 && upperCase1 <= 90;
  33265. },
  33266. EvaluationContext_currentOrNull0() {
  33267. var t1,
  33268. _0_0 = $.Zone__current.$index(0, B.Symbol__evaluationContext);
  33269. $label0$0: {
  33270. if (type$.EvaluationContext_2._is(_0_0)) {
  33271. t1 = _0_0;
  33272. break $label0$0;
  33273. }
  33274. t1 = null;
  33275. break $label0$0;
  33276. }
  33277. return t1;
  33278. },
  33279. EvaluationContext__currentOrNull() {
  33280. var _0_0 = $.Zone__current.$index(0, B.Symbol__evaluationContext);
  33281. if (type$.EvaluationContext_2._is(_0_0))
  33282. return _0_0;
  33283. else
  33284. return null;
  33285. },
  33286. warn0(message) {
  33287. var t1, _null = null,
  33288. _0_0 = A.EvaluationContext_currentOrNull0();
  33289. $label0$0: {
  33290. if (_0_0 != null) {
  33291. t1 = _0_0.warn$2(0, message, _null);
  33292. break $label0$0;
  33293. }
  33294. B.StderrLogger_false0.internalWarn$4$deprecation$span$trace(message, _null, _null, _null);
  33295. t1 = _null;
  33296. break $label0$0;
  33297. }
  33298. return t1;
  33299. },
  33300. warnForDeprecation0(message, deprecation) {
  33301. var t1,
  33302. _0_0 = A.EvaluationContext_currentOrNull0();
  33303. $label0$0: {
  33304. if (_0_0 != null) {
  33305. t1 = _0_0.warn$2(0, message, deprecation);
  33306. break $label0$0;
  33307. }
  33308. t1 = A.WarnForDeprecation_warnForDeprecation0(B.StderrLogger_false0, deprecation, message, null, null);
  33309. break $label0$0;
  33310. }
  33311. return t1;
  33312. },
  33313. warnForDeprecationFromApi(message, deprecation) {
  33314. var _0_0 = A.EvaluationContext__currentOrNull();
  33315. if (_0_0 != null)
  33316. _0_0.warn$2(0, message, deprecation);
  33317. else
  33318. A.WarnForDeprecation_warnForDeprecation0(new A.StderrLogger0(false), deprecation, message, null, null);
  33319. },
  33320. IterableExtension_search0(_this, callback) {
  33321. var t1, _0_0;
  33322. for (t1 = J.get$iterator$ax(_this); t1.moveNext$0();) {
  33323. _0_0 = callback.call$1(t1.get$current(t1));
  33324. if (_0_0 != null)
  33325. return _0_0;
  33326. }
  33327. return null;
  33328. },
  33329. IterableExtension_get_exceptLast0(_this) {
  33330. var t1 = J.getInterceptor$asx(_this),
  33331. size = t1.get$length(_this) - 1;
  33332. if (size < 0)
  33333. throw A.wrapException(A.StateError$("Iterable may not be empty"));
  33334. return t1.take$1(_this, size);
  33335. },
  33336. NullableExtension_andThen0(_this, fn) {
  33337. return _this == null ? null : fn.call$1(_this);
  33338. },
  33339. fuzzyEquals0(number1, number2) {
  33340. var t1;
  33341. if (number1 === number2)
  33342. return true;
  33343. if (Math.abs(number1 - number2) <= $.$get$_epsilon0()) {
  33344. t1 = $.$get$_inverseEpsilon0();
  33345. t1 = B.JSNumber_methods.round$0(number1 * t1) === B.JSNumber_methods.round$0(number2 * t1);
  33346. } else
  33347. t1 = false;
  33348. return t1;
  33349. },
  33350. fuzzyEqualsNullable0(number1, number2) {
  33351. var t1;
  33352. if (number1 == number2)
  33353. return true;
  33354. if (number1 == null || number2 == null)
  33355. return false;
  33356. if (Math.abs(number1 - number2) <= $.$get$_epsilon0()) {
  33357. t1 = $.$get$_inverseEpsilon0();
  33358. t1 = B.JSNumber_methods.round$0(number1 * t1) === B.JSNumber_methods.round$0(number2 * t1);
  33359. } else
  33360. t1 = false;
  33361. return t1;
  33362. },
  33363. fuzzyHashCode0(number) {
  33364. if (!isFinite(number))
  33365. return B.JSNumber_methods.get$hashCode(number);
  33366. return B.JSInt_methods.get$hashCode(B.JSNumber_methods.round$0(number * $.$get$_inverseEpsilon0()));
  33367. },
  33368. fuzzyLessThan0(number1, number2) {
  33369. return number1 < number2 && !A.fuzzyEquals0(number1, number2);
  33370. },
  33371. fuzzyLessThanOrEquals0(number1, number2) {
  33372. return number1 < number2 || A.fuzzyEquals0(number1, number2);
  33373. },
  33374. fuzzyGreaterThan0(number1, number2) {
  33375. return number1 > number2 && !A.fuzzyEquals0(number1, number2);
  33376. },
  33377. fuzzyGreaterThanOrEquals0(number1, number2) {
  33378. return number1 > number2 || A.fuzzyEquals0(number1, number2);
  33379. },
  33380. fuzzyIsInt0(number) {
  33381. if (number == 1 / 0 || number == -1 / 0 || isNaN(number))
  33382. return false;
  33383. return A.fuzzyEquals0(number, B.JSNumber_methods.round$0(number));
  33384. },
  33385. fuzzyAsInt0(number) {
  33386. var rounded;
  33387. if (number == 1 / 0 || number == -1 / 0 || isNaN(number))
  33388. return null;
  33389. rounded = B.JSNumber_methods.round$0(number);
  33390. return A.fuzzyEquals0(number, rounded) ? rounded : null;
  33391. },
  33392. fuzzyRound0(number) {
  33393. var t1;
  33394. if (number > 0) {
  33395. t1 = B.JSNumber_methods.$mod(number, 1);
  33396. return t1 < 0.5 && !A.fuzzyEquals0(t1, 0.5) ? B.JSNumber_methods.floor$0(number) : B.JSNumber_methods.ceil$0(number);
  33397. } else {
  33398. t1 = B.JSNumber_methods.$mod(number, 1);
  33399. return t1 < 0.5 || A.fuzzyEquals0(t1, 0.5) ? B.JSNumber_methods.floor$0(number) : B.JSNumber_methods.ceil$0(number);
  33400. }
  33401. },
  33402. fuzzyCheckRange0(number, min, max) {
  33403. if (A.fuzzyEquals0(number, min))
  33404. return min;
  33405. if (A.fuzzyEquals0(number, max))
  33406. return max;
  33407. if (number > min && number < max)
  33408. return number;
  33409. return null;
  33410. },
  33411. fuzzyAssertRange0(number, min, max, $name) {
  33412. var result = A.fuzzyCheckRange0(number, min, max);
  33413. if (result != null)
  33414. return result;
  33415. throw A.wrapException(A.RangeError$range(number, min, max, $name, "must be between " + min + " and " + max));
  33416. },
  33417. moduloLikeSass0(num1, num2) {
  33418. var result;
  33419. if (num1 == 1 / 0 || num1 == -1 / 0)
  33420. return 0 / 0;
  33421. if (num2 == 1 / 0 || num2 == -1 / 0)
  33422. return A.DoubleWithSignedZero_get_signIncludingZero0(num1) === J.get$sign$in(num2) ? num1 : 0 / 0;
  33423. if (num2 > 0)
  33424. return B.JSNumber_methods.$mod(num1, num2);
  33425. if (num2 === 0)
  33426. return 0 / 0;
  33427. result = B.JSNumber_methods.$mod(num1, num2);
  33428. return result === 0 ? 0 : result + num2;
  33429. },
  33430. sqrt0(number) {
  33431. number.assertNoUnits$1("number");
  33432. return A.SassNumber_SassNumber0(Math.sqrt(number._number1$_value), null);
  33433. },
  33434. sin0(number) {
  33435. return A.SassNumber_SassNumber0(Math.sin(number.coerceValueToUnit$2("rad", "number")), null);
  33436. },
  33437. cos0(number) {
  33438. return A.SassNumber_SassNumber0(Math.cos(number.coerceValueToUnit$2("rad", "number")), null);
  33439. },
  33440. tan0(number) {
  33441. return A.SassNumber_SassNumber0(Math.tan(number.coerceValueToUnit$2("rad", "number")), null);
  33442. },
  33443. atan0(number) {
  33444. number.assertNoUnits$1("number");
  33445. return A.SassNumber_SassNumber$withUnits0(Math.atan(number._number1$_value) * 57.29577951308232, null, A._setArrayType(["deg"], type$.JSArray_String));
  33446. },
  33447. asin0(number) {
  33448. number.assertNoUnits$1("number");
  33449. return A.SassNumber_SassNumber$withUnits0(Math.asin(number._number1$_value) * 57.29577951308232, null, A._setArrayType(["deg"], type$.JSArray_String));
  33450. },
  33451. acos0(number) {
  33452. number.assertNoUnits$1("number");
  33453. return A.SassNumber_SassNumber$withUnits0(Math.acos(number._number1$_value) * 57.29577951308232, null, A._setArrayType(["deg"], type$.JSArray_String));
  33454. },
  33455. log0(number, base) {
  33456. if (base != null)
  33457. return A.SassNumber_SassNumber0(Math.log(number._number1$_value) / Math.log(base._number1$_value), null);
  33458. return A.SassNumber_SassNumber0(Math.log(number._number1$_value), null);
  33459. },
  33460. pow1(base, exponent) {
  33461. base.assertNoUnits$1("base");
  33462. exponent.assertNoUnits$1("exponent");
  33463. return A.SassNumber_SassNumber0(Math.pow(base._number1$_value, exponent._number1$_value), null);
  33464. },
  33465. DoubleWithSignedZero_get_signIncludingZero0(_this) {
  33466. if (_this === -0.0)
  33467. return -1;
  33468. if (_this === 0)
  33469. return 1;
  33470. return J.get$sign$in(_this);
  33471. },
  33472. main1(args) {
  33473. return A.main$body(args);
  33474. },
  33475. main$body(args) {
  33476. var $async$goto = 0,
  33477. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  33478. $async$returnValue, $async$handler = 2, $async$errorStack = [], options, t1, graph, error, error0, stackTrace, buffer, t2, exception, $async$exception, $async$temp1;
  33479. var $async$main1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  33480. if ($async$errorCode === 1) {
  33481. $async$errorStack.push($async$result);
  33482. $async$goto = $async$handler;
  33483. }
  33484. while (true)
  33485. switch ($async$goto) {
  33486. case 0:
  33487. // Function start
  33488. if (args.length >= 1 && "--embedded" === args[0]) {
  33489. A.main0(B.JSArray_methods.sublist$1(args, 1));
  33490. // goto return
  33491. $async$goto = 1;
  33492. break;
  33493. }
  33494. options = null;
  33495. $async$handler = 4;
  33496. options = A.ExecutableOptions_ExecutableOptions$parse(args);
  33497. t2 = options._options;
  33498. $._glyphs = !(t2.wasParsed$1("unicode") ? A._asBool(t2.$index(0, "unicode")) : $._glyphs !== B.C_AsciiGlyphSet) ? B.C_AsciiGlyphSet : B.C_UnicodeGlyphSet;
  33499. $async$goto = A._asBool(options._options.$index(0, "version")) ? 7 : 8;
  33500. break;
  33501. case 7:
  33502. // then
  33503. $async$temp1 = A;
  33504. $async$goto = 9;
  33505. return A._asyncAwait(A._loadVersion(), $async$main1);
  33506. case 9:
  33507. // returning from await.
  33508. $async$temp1.print($async$result);
  33509. t1 = A.isNodeJs() ? self.process : null;
  33510. if (t1 != null)
  33511. J.set$exitCode$x(t1, 0);
  33512. // goto return
  33513. $async$goto = 1;
  33514. break;
  33515. case 8:
  33516. // join
  33517. $async$goto = options.get$interactive() ? 10 : 11;
  33518. break;
  33519. case 10:
  33520. // then
  33521. $async$goto = 12;
  33522. return A._asyncAwait(A.repl(options), $async$main1);
  33523. case 12:
  33524. // returning from await.
  33525. // goto return
  33526. $async$goto = 1;
  33527. break;
  33528. case 11:
  33529. // join
  33530. options.get$silenceDeprecations(0);
  33531. options.get$futureDeprecations(0);
  33532. options.get$fatalDeprecations(0);
  33533. t2 = A.List_List$_of(options.get$pkgImporters(), type$.Importer_2);
  33534. t1 = t2;
  33535. J.add$1$ax(t1, $.$get$FilesystemImporter_noLoadPath());
  33536. t2 = type$.Uri;
  33537. graph = new A.StylesheetGraph(A.LinkedHashMap_LinkedHashMap$_empty(t2, type$.StylesheetNode), A.ImportCache$(t1, type$.List_String._as(options._options.$index(0, "load-path"))), A.LinkedHashMap_LinkedHashMap$_empty(t2, type$.DateTime));
  33538. $async$goto = A._asBool(options._options.$index(0, "watch")) ? 13 : 14;
  33539. break;
  33540. case 13:
  33541. // then
  33542. $async$goto = 15;
  33543. return A._asyncAwait(A.watch(options, graph), $async$main1);
  33544. case 15:
  33545. // returning from await.
  33546. // goto return
  33547. $async$goto = 1;
  33548. break;
  33549. case 14:
  33550. // join
  33551. t1 = options;
  33552. t2 = options;
  33553. t2._ensureSources$0();
  33554. t2 = t2._sourcesToDestinations;
  33555. t2.toString;
  33556. $async$goto = 16;
  33557. return A._asyncAwait(A.compileStylesheets(t1, graph, t2, A._asBool(options._options.$index(0, "update"))), $async$main1);
  33558. case 16:
  33559. // returning from await.
  33560. $async$handler = 2;
  33561. // goto after finally
  33562. $async$goto = 6;
  33563. break;
  33564. case 4:
  33565. // catch
  33566. $async$handler = 3;
  33567. $async$exception = $async$errorStack.pop();
  33568. t1 = A.unwrapException($async$exception);
  33569. if (t1 instanceof A.UsageException) {
  33570. error = t1;
  33571. A.print(error.message + "\n");
  33572. A.print("Usage: sass <input.scss> [output.css]\n sass <input.scss>:<output.css> <input/>:<output/> <dir/>\n");
  33573. t1 = $.$get$ExecutableOptions__parser();
  33574. A.print(new A._Usage(t1._optionsAndSeparators, new A.StringBuffer(""), t1.usageLineLength).generate$0());
  33575. t1 = A.isNodeJs() ? self.process : null;
  33576. if (t1 != null)
  33577. J.set$exitCode$x(t1, 64);
  33578. } else {
  33579. error0 = t1;
  33580. stackTrace = A.getTraceFromException($async$exception);
  33581. buffer = new A.StringBuffer("");
  33582. t1 = options;
  33583. t1 = t1 == null ? null : t1.get$color();
  33584. if (t1 === true)
  33585. buffer._contents += "\x1b[31m\x1b[1m";
  33586. buffer._contents += "Unexpected exception:";
  33587. t1 = options;
  33588. t1 = t1 == null ? null : t1.get$color();
  33589. if (t1 === true)
  33590. buffer._contents += "\x1b[0m";
  33591. buffer._contents += "\n";
  33592. t1 = buffer;
  33593. t2 = A.S(error0) + "\n";
  33594. t1._contents += t2;
  33595. buffer._contents += "\n";
  33596. buffer._contents += "\n";
  33597. t2 = buffer;
  33598. t1 = A.getTrace(error0);
  33599. t1 = B.JSString_methods.trimRight$0(A.Trace_Trace$from(t1 == null ? stackTrace : t1).get$terse().toString$0(0));
  33600. t2._contents += t1;
  33601. A.printError(buffer);
  33602. t1 = A.isNodeJs() ? self.process : null;
  33603. if (t1 != null)
  33604. J.set$exitCode$x(t1, 255);
  33605. }
  33606. // goto after finally
  33607. $async$goto = 6;
  33608. break;
  33609. case 3:
  33610. // uncaught
  33611. // goto rethrow
  33612. $async$goto = 2;
  33613. break;
  33614. case 6:
  33615. // after finally
  33616. case 1:
  33617. // return
  33618. return A._asyncReturn($async$returnValue, $async$completer);
  33619. case 2:
  33620. // rethrow
  33621. return A._asyncRethrow($async$errorStack.at(-1), $async$completer);
  33622. }
  33623. });
  33624. return A._asyncStartSync($async$main1, $async$completer);
  33625. },
  33626. _loadVersion() {
  33627. var $async$goto = 0,
  33628. $async$completer = A._makeAsyncAwaitCompleter(type$.String),
  33629. $async$returnValue;
  33630. var $async$_loadVersion = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  33631. if ($async$errorCode === 1)
  33632. return A._asyncRethrow($async$result, $async$completer);
  33633. while (true)
  33634. switch ($async$goto) {
  33635. case 0:
  33636. // Function start
  33637. $async$returnValue = "1.89.2 compiled with dart2js 3.8.1";
  33638. // goto return
  33639. $async$goto = 1;
  33640. break;
  33641. case 1:
  33642. // return
  33643. return A._asyncReturn($async$returnValue, $async$completer);
  33644. }
  33645. });
  33646. return A._asyncStartSync($async$_loadVersion, $async$completer);
  33647. },
  33648. SpanExtensions_trimLeft0(_this) {
  33649. var t1, start = 0;
  33650. while (true) {
  33651. t1 = _this.get$text().charCodeAt(start);
  33652. if (!(t1 === 32 || t1 === 9 || t1 === 10 || t1 === 13 || t1 === 12))
  33653. break;
  33654. ++start;
  33655. }
  33656. return A.FileSpanExtension_subspan(_this, start, null);
  33657. },
  33658. SpanExtensions_trimRight0(_this) {
  33659. var t1,
  33660. end = _this.get$text().length - 1;
  33661. while (true) {
  33662. t1 = _this.get$text().charCodeAt(end);
  33663. if (!(t1 === 32 || t1 === 9 || t1 === 10 || t1 === 13 || t1 === 12))
  33664. break;
  33665. --end;
  33666. }
  33667. return A.FileSpanExtension_subspan(_this, 0, end + 1);
  33668. },
  33669. SpanExtensions_initialIdentifier0(_this) {
  33670. var i,
  33671. scanner = A.StringScanner$(_this.get$text(), null, null);
  33672. for (i = 0; false; ++i)
  33673. scanner.readChar$0();
  33674. A._scanIdentifier0(scanner);
  33675. return A.FileSpanExtension_subspan(_this, 0, scanner._string_scanner$_position);
  33676. },
  33677. SpanExtensions_withoutInitialIdentifier0(_this) {
  33678. var scanner = A.StringScanner$(_this.get$text(), null, null);
  33679. A._scanIdentifier0(scanner);
  33680. return A.FileSpanExtension_subspan(_this, scanner._string_scanner$_position, null);
  33681. },
  33682. SpanExtensions_between(_this, other) {
  33683. if (!J.$eq$(_this.get$sourceUrl(_this), other.get$sourceUrl(other)))
  33684. throw A.wrapException(A.ArgumentError$(_this.toString$0(0) + " and " + other.toString$0(0) + " are in different files.", null));
  33685. else if (_this.get$end(_this).offset > other.get$start(other).offset)
  33686. throw A.wrapException(A.ArgumentError$(_this.toString$0(0) + " isn't before " + other.toString$0(0) + ".", null));
  33687. return _this.get$file(_this).span$2(0, _this.get$end(_this).offset, other.get$start(other).offset);
  33688. },
  33689. SpanExtensions_before(_this, inner) {
  33690. if (!J.$eq$(_this.get$sourceUrl(_this), inner.get$sourceUrl(inner)))
  33691. throw A.wrapException(A.ArgumentError$(_this.toString$0(0) + " and " + inner.toString$0(0) + " are in different files.", null));
  33692. else if (inner.get$start(inner).offset < _this.get$start(_this).offset || inner.get$end(inner).offset > _this.get$end(_this).offset)
  33693. throw A.wrapException(A.ArgumentError$(inner.toString$0(0) + " isn't inside " + _this.toString$0(0) + ".", null));
  33694. return _this.get$file(_this).span$2(0, _this.get$start(_this).offset, inner.get$start(inner).offset);
  33695. },
  33696. SpanExtensions_after(_this, inner) {
  33697. if (!J.$eq$(_this.get$sourceUrl(_this), inner.get$sourceUrl(inner)))
  33698. throw A.wrapException(A.ArgumentError$(_this.toString$0(0) + " and " + inner.toString$0(0) + " are in different files.", null));
  33699. else if (inner.get$start(inner).offset < _this.get$start(_this).offset || inner.get$end(inner).offset > _this.get$end(_this).offset)
  33700. throw A.wrapException(A.ArgumentError$(inner.toString$0(0) + " isn't inside " + _this.toString$0(0) + ".", null));
  33701. return _this.get$file(_this).span$2(0, inner.get$end(inner).offset, _this.get$end(_this).offset);
  33702. },
  33703. _scanIdentifier0(scanner) {
  33704. var t1, _0_0, t2;
  33705. for (t1 = scanner.string.length; scanner._string_scanner$_position !== t1;) {
  33706. _0_0 = scanner.peekChar$0();
  33707. if (92 === _0_0) {
  33708. A.consumeEscapedCharacter0(scanner);
  33709. continue;
  33710. }
  33711. if (A._isInt(_0_0)) {
  33712. if (_0_0 !== 95) {
  33713. if (!(_0_0 >= 97 && _0_0 <= 122))
  33714. t2 = _0_0 >= 65 && _0_0 <= 90;
  33715. else
  33716. t2 = true;
  33717. t2 = t2 || _0_0 >= 128;
  33718. } else
  33719. t2 = true;
  33720. if (!t2)
  33721. t2 = _0_0 >= 48 && _0_0 <= 57 || _0_0 === 45;
  33722. else
  33723. t2 = true;
  33724. } else
  33725. t2 = false;
  33726. if (t2) {
  33727. scanner.readChar$0();
  33728. continue;
  33729. }
  33730. break;
  33731. }
  33732. },
  33733. validateUrlScheme(scheme) {
  33734. var t1 = $.$get$_urlSchemeRegExp();
  33735. if (!t1._nativeRegExp.test(scheme))
  33736. A.jsThrow(new self.Error('"' + scheme + '" isn\'t a valid URL scheme (for example "file").'));
  33737. },
  33738. hueToRgb0(m1, m2, hue) {
  33739. var t1;
  33740. if (hue < 0)
  33741. ++hue;
  33742. if (hue > 1)
  33743. --hue;
  33744. $label0$0: {
  33745. if (hue < 0.16666666666666666) {
  33746. t1 = m1 + (m2 - m1) * hue * 6;
  33747. break $label0$0;
  33748. }
  33749. if (hue < 0.5) {
  33750. t1 = m2;
  33751. break $label0$0;
  33752. }
  33753. if (hue < 0.6666666666666666) {
  33754. t1 = m1 + (m2 - m1) * (0.6666666666666666 - hue) * 6;
  33755. break $label0$0;
  33756. }
  33757. t1 = m1;
  33758. break $label0$0;
  33759. }
  33760. return t1;
  33761. },
  33762. srgbAndDisplayP3ToLinear0(channel) {
  33763. var abs = Math.abs(channel);
  33764. return abs <= 0.04045 ? channel / 12.92 : J.get$sign$in(channel) * Math.pow((abs + 0.055) / 1.055, 2.4);
  33765. },
  33766. srgbAndDisplayP3FromLinear0(channel) {
  33767. var abs = Math.abs(channel);
  33768. return abs <= 0.0031308 ? channel * 12.92 : J.get$sign$in(channel) * (1.055 * Math.pow(abs, 0.4166666666666667) - 0.055);
  33769. },
  33770. labToLch0(dest, lightness, a, b, alpha, missingChroma, missingHue) {
  33771. var t3, t4, chroma, hue,
  33772. t1 = a == null,
  33773. t2 = t1 ? 0 : a;
  33774. t2 = Math.pow(t2, 2);
  33775. t3 = b == null;
  33776. t4 = t3 ? 0 : b;
  33777. chroma = Math.sqrt(t2 + Math.pow(t4, 2));
  33778. if (missingHue || A.fuzzyEquals0(chroma, 0))
  33779. hue = null;
  33780. else {
  33781. t2 = t3 ? 0 : b;
  33782. t1 = t1 ? 0 : a;
  33783. hue = Math.atan2(t2, t1) * 180 / 3.141592653589793;
  33784. }
  33785. t1 = missingChroma ? null : chroma;
  33786. return A.SassColor_SassColor$forSpaceInternal0(dest, lightness, t1, hue == null || hue >= 0 ? hue : hue + 360, alpha);
  33787. },
  33788. unwrapValue(object) {
  33789. var value;
  33790. if (object != null) {
  33791. if (object instanceof A.Value0)
  33792. return object;
  33793. value = object.dartValue;
  33794. if (value != null && value instanceof A.Value0)
  33795. return value;
  33796. if (object instanceof self.Error)
  33797. throw A.wrapException(object);
  33798. }
  33799. throw A.wrapException(A.S(object) + " must be a Sass value type.");
  33800. },
  33801. wrapValue(value) {
  33802. var t1;
  33803. $label0$0: {
  33804. if (value instanceof A.SassColor0) {
  33805. t1 = A.callConstructor($.$get$legacyColorClass(), [null, null, null, null, value]);
  33806. break $label0$0;
  33807. }
  33808. if (value instanceof A.SassList0) {
  33809. t1 = A.callConstructor($.$get$legacyListClass(), [null, null, value]);
  33810. break $label0$0;
  33811. }
  33812. if (value instanceof A.SassMap0) {
  33813. t1 = A.callConstructor($.$get$legacyMapClass(), [null, value]);
  33814. break $label0$0;
  33815. }
  33816. if (value instanceof A.SassNumber0) {
  33817. t1 = A.callConstructor($.$get$legacyNumberClass(), [null, null, value]);
  33818. break $label0$0;
  33819. }
  33820. if (value instanceof A.SassString0) {
  33821. t1 = A.callConstructor($.$get$legacyStringClass(), [null, value]);
  33822. break $label0$0;
  33823. }
  33824. t1 = value;
  33825. break $label0$0;
  33826. }
  33827. return t1;
  33828. }
  33829. },
  33830. B = {};
  33831. var holders = [A, J, B];
  33832. var $ = {};
  33833. A.JS_CONST.prototype = {};
  33834. J.Interceptor.prototype = {
  33835. $eq(receiver, other) {
  33836. return receiver === other;
  33837. },
  33838. get$hashCode(receiver) {
  33839. return A.Primitives_objectHashCode(receiver);
  33840. },
  33841. toString$0(receiver) {
  33842. return "Instance of '" + A.Primitives_objectTypeName(receiver) + "'";
  33843. },
  33844. noSuchMethod$1(receiver, invocation) {
  33845. throw A.wrapException(A.NoSuchMethodError_NoSuchMethodError$withInvocation(receiver, invocation));
  33846. },
  33847. get$runtimeType(receiver) {
  33848. return A.createRuntimeType(A._instanceTypeFromConstructor(this));
  33849. }
  33850. };
  33851. J.JSBool.prototype = {
  33852. toString$0(receiver) {
  33853. return String(receiver);
  33854. },
  33855. $or(receiver, other) {
  33856. return other || receiver;
  33857. },
  33858. get$hashCode(receiver) {
  33859. return receiver ? 519018 : 218159;
  33860. },
  33861. get$runtimeType(receiver) {
  33862. return A.createRuntimeType(type$.bool);
  33863. },
  33864. $isTrustedGetRuntimeType: 1,
  33865. $isbool: 1
  33866. };
  33867. J.JSNull.prototype = {
  33868. $eq(receiver, other) {
  33869. return null == other;
  33870. },
  33871. toString$0(receiver) {
  33872. return "null";
  33873. },
  33874. get$hashCode(receiver) {
  33875. return 0;
  33876. },
  33877. get$runtimeType(receiver) {
  33878. return A.createRuntimeType(type$.Null);
  33879. },
  33880. $isTrustedGetRuntimeType: 1,
  33881. $isNull: 1
  33882. };
  33883. J.JavaScriptObject.prototype = {$isJSObject: 1};
  33884. J.LegacyJavaScriptObject.prototype = {
  33885. get$hashCode(receiver) {
  33886. return 0;
  33887. },
  33888. toString$0(receiver) {
  33889. return String(receiver);
  33890. },
  33891. $isPromise: 1,
  33892. $isJsSystemError: 1,
  33893. $isImmutableList: 1,
  33894. $is_ConstructionOptions: 1,
  33895. $is_ChannelOptions: 1,
  33896. $is_ToGamutOptions: 1,
  33897. $is_InterpolationOptions: 1,
  33898. $is_NodeSassColor: 1,
  33899. $isCompileOptions: 1,
  33900. $isCompileStringOptions: 1,
  33901. $isNodeCompileResult: 1,
  33902. $isDeprecation1: 1,
  33903. $is_NodeException: 1,
  33904. $isJSExpressionVisitorObject: 1,
  33905. $isFiber: 1,
  33906. $isJSFunction0: 1,
  33907. $isImmutableList0: 1,
  33908. $isImmutableMap0: 1,
  33909. $isJSImporter: 1,
  33910. $isJSImporterResult: 1,
  33911. $isNodeImporterResult0: 1,
  33912. $is_ConstructorOptions: 1,
  33913. $is_NodeSassList: 1,
  33914. $isWarnOptions: 1,
  33915. $isDebugOptions: 1,
  33916. $is_NodeSassMap: 1,
  33917. $is_ConstructorOptions0: 1,
  33918. $is_NodeSassNumber: 1,
  33919. $isParserExports: 1,
  33920. $isJSClass0: 1,
  33921. $isRenderContextOptions0: 1,
  33922. $isRenderOptions: 1,
  33923. $isRenderResult: 1,
  33924. $isJSSet: 1,
  33925. $isJSStatementVisitorObject: 1,
  33926. $is_ConstructorOptions1: 1,
  33927. $is_NodeSassString: 1,
  33928. $isJSUrl0: 1,
  33929. get$isTTY(obj) {
  33930. return obj.isTTY;
  33931. },
  33932. get$write(obj) {
  33933. return obj.write;
  33934. },
  33935. write$1(receiver, p0) {
  33936. return receiver.write(p0);
  33937. },
  33938. createInterface$1(receiver, p0) {
  33939. return receiver.createInterface(p0);
  33940. },
  33941. on$2(receiver, p0, p1) {
  33942. return receiver.on(p0, p1);
  33943. },
  33944. get$close(obj) {
  33945. return obj.close;
  33946. },
  33947. close$0(receiver) {
  33948. return receiver.close();
  33949. },
  33950. setPrompt$1(receiver, p0) {
  33951. return receiver.setPrompt(p0);
  33952. },
  33953. get$length(obj) {
  33954. return obj.length;
  33955. },
  33956. toString$0(receiver) {
  33957. return receiver.toString();
  33958. },
  33959. get$debug(obj) {
  33960. return obj.debug;
  33961. },
  33962. debug$2(receiver, p0, p1) {
  33963. return receiver.debug(p0, p1);
  33964. },
  33965. get$error(obj) {
  33966. return obj.error;
  33967. },
  33968. error$1(receiver, p0) {
  33969. return receiver.error(p0);
  33970. },
  33971. error$2(receiver, p0, p1) {
  33972. return receiver.error(p0, p1);
  33973. },
  33974. log$1(receiver, p0) {
  33975. return receiver.log(p0);
  33976. },
  33977. get$warn(obj) {
  33978. return obj.warn;
  33979. },
  33980. warn$1(receiver, p0) {
  33981. return receiver.warn(p0);
  33982. },
  33983. warn$2(receiver, p0, p1) {
  33984. return receiver.warn(p0, p1);
  33985. },
  33986. existsSync$1(receiver, p0) {
  33987. return receiver.existsSync(p0);
  33988. },
  33989. lstatSync$1(receiver, p0) {
  33990. return receiver.lstatSync(p0);
  33991. },
  33992. mkdirSync$1(receiver, p0) {
  33993. return receiver.mkdirSync(p0);
  33994. },
  33995. readdirSync$1(receiver, p0) {
  33996. return receiver.readdirSync(p0);
  33997. },
  33998. readFileSync$2(receiver, p0, p1) {
  33999. return receiver.readFileSync(p0, p1);
  34000. },
  34001. get$realpathSync(obj) {
  34002. return obj.realpathSync;
  34003. },
  34004. statSync$1(receiver, p0) {
  34005. return receiver.statSync(p0);
  34006. },
  34007. unlinkSync$1(receiver, p0) {
  34008. return receiver.unlinkSync(p0);
  34009. },
  34010. watch$2(receiver, p0, p1) {
  34011. return receiver.watch(p0, p1);
  34012. },
  34013. writeFileSync$2(receiver, p0, p1) {
  34014. return receiver.writeFileSync(p0, p1);
  34015. },
  34016. call$1(receiver, p0) {
  34017. return receiver.call(p0);
  34018. },
  34019. call$2(receiver, p0, p1) {
  34020. return receiver.call(p0, p1);
  34021. },
  34022. call$3$1(receiver, p0) {
  34023. return receiver.call(p0);
  34024. },
  34025. call$2$1(receiver, p0) {
  34026. return receiver.call(p0);
  34027. },
  34028. call$1$1(receiver, p0) {
  34029. return receiver.call(p0);
  34030. },
  34031. call$3(receiver, p0, p1, p2) {
  34032. return receiver.call(p0, p1, p2);
  34033. },
  34034. call$3$3(receiver, p0, p1, p2) {
  34035. return receiver.call(p0, p1, p2);
  34036. },
  34037. call$2$2(receiver, p0, p1) {
  34038. return receiver.call(p0, p1);
  34039. },
  34040. call$1$2(receiver, p0, p1) {
  34041. return receiver.call(p0, p1);
  34042. },
  34043. call$2$3(receiver, p0, p1, p2) {
  34044. return receiver.call(p0, p1, p2);
  34045. },
  34046. native$1(receiver, p0) {
  34047. return receiver.native(p0);
  34048. },
  34049. get$path(obj) {
  34050. return obj.path;
  34051. },
  34052. isDirectory$0(receiver) {
  34053. return receiver.isDirectory();
  34054. },
  34055. isFile$0(receiver) {
  34056. return receiver.isFile();
  34057. },
  34058. isSymbolicLink$0(receiver) {
  34059. return receiver.isSymbolicLink();
  34060. },
  34061. get$mtime(obj) {
  34062. return obj.mtime;
  34063. },
  34064. then$2(receiver, p0, p1) {
  34065. return receiver.then(p0, p1);
  34066. },
  34067. then$1$1(receiver, p0) {
  34068. return receiver.then(p0);
  34069. },
  34070. getTime$0(receiver) {
  34071. return receiver.getTime();
  34072. },
  34073. get$message(obj) {
  34074. return obj.message;
  34075. },
  34076. message$1(receiver, p0) {
  34077. return receiver.message(p0);
  34078. },
  34079. get$filename(obj) {
  34080. return obj.filename;
  34081. },
  34082. get$id(obj) {
  34083. return obj.id;
  34084. },
  34085. get$code(obj) {
  34086. return obj.code;
  34087. },
  34088. get$syscall(obj) {
  34089. return obj.syscall;
  34090. },
  34091. get$argv(obj) {
  34092. return obj.argv;
  34093. },
  34094. get$env(obj) {
  34095. return obj.env;
  34096. },
  34097. get$exitCode(obj) {
  34098. return obj.exitCode;
  34099. },
  34100. set$exitCode(obj, v) {
  34101. return obj.exitCode = v;
  34102. },
  34103. get$platform(obj) {
  34104. return obj.platform;
  34105. },
  34106. get$release(obj) {
  34107. return obj.release;
  34108. },
  34109. get$stderr(obj) {
  34110. return obj.stderr;
  34111. },
  34112. get$stdin(obj) {
  34113. return obj.stdin;
  34114. },
  34115. get$stdout(obj) {
  34116. return obj.stdout;
  34117. },
  34118. get$name(obj) {
  34119. return obj.name;
  34120. },
  34121. push$1(receiver, p0) {
  34122. return receiver.push(p0);
  34123. },
  34124. call$0(receiver) {
  34125. return receiver.call();
  34126. },
  34127. call$2$0(receiver) {
  34128. return receiver.call();
  34129. },
  34130. call$1$0(receiver) {
  34131. return receiver.call();
  34132. },
  34133. apply$2(receiver, p0, p1) {
  34134. return receiver.apply(p0, p1);
  34135. },
  34136. toArray$0(receiver) {
  34137. return receiver.toArray();
  34138. },
  34139. asMutable$0(receiver) {
  34140. return receiver.asMutable();
  34141. },
  34142. asImmutable$0(receiver) {
  34143. return receiver.asImmutable();
  34144. },
  34145. $set$2(receiver, p0, p1) {
  34146. return receiver.set(p0, p1);
  34147. },
  34148. forEach$1(receiver, p0) {
  34149. return receiver.forEach(p0);
  34150. },
  34151. get$file(obj) {
  34152. return obj.file;
  34153. },
  34154. get$contents(obj) {
  34155. return obj.contents;
  34156. },
  34157. get$options(obj) {
  34158. return obj.options;
  34159. },
  34160. get$data(obj) {
  34161. return obj.data;
  34162. },
  34163. get$includePaths(obj) {
  34164. return obj.includePaths;
  34165. },
  34166. get$style(obj) {
  34167. return obj.style;
  34168. },
  34169. get$indentType(obj) {
  34170. return obj.indentType;
  34171. },
  34172. get$indentWidth(obj) {
  34173. return obj.indentWidth;
  34174. },
  34175. get$linefeed(obj) {
  34176. return obj.linefeed;
  34177. },
  34178. set$context(obj, v) {
  34179. return obj.context = v;
  34180. },
  34181. createRequire$1(receiver, p0) {
  34182. return receiver.createRequire(p0);
  34183. },
  34184. resolve$1(receiver, p0) {
  34185. return receiver.resolve(p0);
  34186. },
  34187. get$$prototype(obj) {
  34188. return obj.prototype;
  34189. },
  34190. get$red(obj) {
  34191. return obj.red;
  34192. },
  34193. get$green(obj) {
  34194. return obj.green;
  34195. },
  34196. get$blue(obj) {
  34197. return obj.blue;
  34198. },
  34199. get$hue(obj) {
  34200. return obj.hue;
  34201. },
  34202. get$saturation(obj) {
  34203. return obj.saturation;
  34204. },
  34205. get$lightness(obj) {
  34206. return obj.lightness;
  34207. },
  34208. get$whiteness(obj) {
  34209. return obj.whiteness;
  34210. },
  34211. get$blackness(obj) {
  34212. return obj.blackness;
  34213. },
  34214. get$alpha(obj) {
  34215. return obj.alpha;
  34216. },
  34217. get$a(obj) {
  34218. return obj.a;
  34219. },
  34220. get$b(obj) {
  34221. return obj.b;
  34222. },
  34223. get$x(obj) {
  34224. return obj.x;
  34225. },
  34226. get$y(obj) {
  34227. return obj.y;
  34228. },
  34229. get$z(obj) {
  34230. return obj.z;
  34231. },
  34232. get$chroma(obj) {
  34233. return obj.chroma;
  34234. },
  34235. get$space(obj) {
  34236. return obj.space;
  34237. },
  34238. get$method(obj) {
  34239. return obj.method;
  34240. },
  34241. get$weight(obj) {
  34242. return obj.weight;
  34243. },
  34244. get$dartValue(obj) {
  34245. return obj.dartValue;
  34246. },
  34247. set$dartValue(obj, v) {
  34248. return obj.dartValue = v;
  34249. },
  34250. get$alertAscii(obj) {
  34251. return obj.alertAscii;
  34252. },
  34253. get$alertColor(obj) {
  34254. return obj.alertColor;
  34255. },
  34256. get$loadPaths(obj) {
  34257. return obj.loadPaths;
  34258. },
  34259. get$quietDeps(obj) {
  34260. return obj.quietDeps;
  34261. },
  34262. get$verbose(obj) {
  34263. return obj.verbose;
  34264. },
  34265. get$charset(obj) {
  34266. return obj.charset;
  34267. },
  34268. get$sourceMap(obj) {
  34269. return obj.sourceMap;
  34270. },
  34271. get$sourceMapIncludeSources(obj) {
  34272. return obj.sourceMapIncludeSources;
  34273. },
  34274. get$logger(obj) {
  34275. return obj.logger;
  34276. },
  34277. get$importers(obj) {
  34278. return obj.importers;
  34279. },
  34280. get$functions(obj) {
  34281. return obj.functions;
  34282. },
  34283. get$fatalDeprecations(obj) {
  34284. return obj.fatalDeprecations;
  34285. },
  34286. get$silenceDeprecations(obj) {
  34287. return obj.silenceDeprecations;
  34288. },
  34289. get$futureDeprecations(obj) {
  34290. return obj.futureDeprecations;
  34291. },
  34292. get$syntax(obj) {
  34293. return obj.syntax;
  34294. },
  34295. get$url(obj) {
  34296. return obj.url;
  34297. },
  34298. get$importer(obj) {
  34299. return obj.importer;
  34300. },
  34301. get$_dartException(obj) {
  34302. return obj._dartException;
  34303. },
  34304. set$renderSync(obj, v) {
  34305. return obj.renderSync = v;
  34306. },
  34307. set$compileString(obj, v) {
  34308. return obj.compileString = v;
  34309. },
  34310. set$compileStringAsync(obj, v) {
  34311. return obj.compileStringAsync = v;
  34312. },
  34313. set$compile(obj, v) {
  34314. return obj.compile = v;
  34315. },
  34316. set$compileAsync(obj, v) {
  34317. return obj.compileAsync = v;
  34318. },
  34319. set$initCompiler(obj, v) {
  34320. return obj.initCompiler = v;
  34321. },
  34322. set$initAsyncCompiler(obj, v) {
  34323. return obj.initAsyncCompiler = v;
  34324. },
  34325. set$Compiler(obj, v) {
  34326. return obj.Compiler = v;
  34327. },
  34328. set$AsyncCompiler(obj, v) {
  34329. return obj.AsyncCompiler = v;
  34330. },
  34331. set$info(obj, v) {
  34332. return obj.info = v;
  34333. },
  34334. set$Exception(obj, v) {
  34335. return obj.Exception = v;
  34336. },
  34337. set$Logger(obj, v) {
  34338. return obj.Logger = v;
  34339. },
  34340. set$NodePackageImporter(obj, v) {
  34341. return obj.NodePackageImporter = v;
  34342. },
  34343. set$deprecations(obj, v) {
  34344. return obj.deprecations = v;
  34345. },
  34346. set$Version(obj, v) {
  34347. return obj.Version = v;
  34348. },
  34349. set$Value(obj, v) {
  34350. return obj.Value = v;
  34351. },
  34352. set$SassArgumentList(obj, v) {
  34353. return obj.SassArgumentList = v;
  34354. },
  34355. set$SassCalculation(obj, v) {
  34356. return obj.SassCalculation = v;
  34357. },
  34358. set$CalculationOperation(obj, v) {
  34359. return obj.CalculationOperation = v;
  34360. },
  34361. set$CalculationInterpolation(obj, v) {
  34362. return obj.CalculationInterpolation = v;
  34363. },
  34364. set$SassBoolean(obj, v) {
  34365. return obj.SassBoolean = v;
  34366. },
  34367. set$SassColor(obj, v) {
  34368. return obj.SassColor = v;
  34369. },
  34370. set$SassFunction(obj, v) {
  34371. return obj.SassFunction = v;
  34372. },
  34373. set$SassMixin(obj, v) {
  34374. return obj.SassMixin = v;
  34375. },
  34376. set$SassList(obj, v) {
  34377. return obj.SassList = v;
  34378. },
  34379. set$SassMap(obj, v) {
  34380. return obj.SassMap = v;
  34381. },
  34382. set$SassNumber(obj, v) {
  34383. return obj.SassNumber = v;
  34384. },
  34385. set$SassString(obj, v) {
  34386. return obj.SassString = v;
  34387. },
  34388. set$sassNull(obj, v) {
  34389. return obj.sassNull = v;
  34390. },
  34391. set$sassTrue(obj, v) {
  34392. return obj.sassTrue = v;
  34393. },
  34394. set$sassFalse(obj, v) {
  34395. return obj.sassFalse = v;
  34396. },
  34397. set$render(obj, v) {
  34398. return obj.render = v;
  34399. },
  34400. set$types(obj, v) {
  34401. return obj.types = v;
  34402. },
  34403. set$NULL(obj, v) {
  34404. return obj.NULL = v;
  34405. },
  34406. set$TRUE(obj, v) {
  34407. return obj.TRUE = v;
  34408. },
  34409. set$FALSE(obj, v) {
  34410. return obj.FALSE = v;
  34411. },
  34412. set$loadParserExports_(obj, v) {
  34413. return obj.loadParserExports_ = v;
  34414. },
  34415. visitBinaryOperationExpression$1(receiver, p0) {
  34416. return receiver.visitBinaryOperationExpression(p0);
  34417. },
  34418. visitBooleanExpression$1(receiver, p0) {
  34419. return receiver.visitBooleanExpression(p0);
  34420. },
  34421. visitColorExpression$1(receiver, p0) {
  34422. return receiver.visitColorExpression(p0);
  34423. },
  34424. visitInterpolatedFunctionExpression$1(receiver, p0) {
  34425. return receiver.visitInterpolatedFunctionExpression(p0);
  34426. },
  34427. visitFunctionExpression$1(receiver, p0) {
  34428. return receiver.visitFunctionExpression(p0);
  34429. },
  34430. visitIfExpression$1(receiver, p0) {
  34431. return receiver.visitIfExpression(p0);
  34432. },
  34433. visitListExpression$1(receiver, p0) {
  34434. return receiver.visitListExpression(p0);
  34435. },
  34436. visitMapExpression$1(receiver, p0) {
  34437. return receiver.visitMapExpression(p0);
  34438. },
  34439. visitNullExpression$1(receiver, p0) {
  34440. return receiver.visitNullExpression(p0);
  34441. },
  34442. visitNumberExpression$1(receiver, p0) {
  34443. return receiver.visitNumberExpression(p0);
  34444. },
  34445. visitParenthesizedExpression$1(receiver, p0) {
  34446. return receiver.visitParenthesizedExpression(p0);
  34447. },
  34448. visitSelectorExpression$1(receiver, p0) {
  34449. return receiver.visitSelectorExpression(p0);
  34450. },
  34451. visitStringExpression$1(receiver, p0) {
  34452. return receiver.visitStringExpression(p0);
  34453. },
  34454. visitSupportsExpression$1(receiver, p0) {
  34455. return receiver.visitSupportsExpression(p0);
  34456. },
  34457. visitUnaryOperationExpression$1(receiver, p0) {
  34458. return receiver.visitUnaryOperationExpression(p0);
  34459. },
  34460. visitValueExpression$1(receiver, p0) {
  34461. return receiver.visitValueExpression(p0);
  34462. },
  34463. visitVariableExpression$1(receiver, p0) {
  34464. return receiver.visitVariableExpression(p0);
  34465. },
  34466. get$current(obj) {
  34467. return obj.current;
  34468. },
  34469. yield$0(receiver) {
  34470. return receiver.yield();
  34471. },
  34472. run$1$1(receiver, p0) {
  34473. return receiver.run(p0);
  34474. },
  34475. run$1(receiver, p0) {
  34476. return receiver.run(p0);
  34477. },
  34478. run$0(receiver) {
  34479. return receiver.run();
  34480. },
  34481. get$canonicalize(obj) {
  34482. return obj.canonicalize;
  34483. },
  34484. canonicalize$1(receiver, p0) {
  34485. return receiver.canonicalize(p0);
  34486. },
  34487. get$load(obj) {
  34488. return obj.load;
  34489. },
  34490. load$1(receiver, p0) {
  34491. return receiver.load(p0);
  34492. },
  34493. get$findFileUrl(obj) {
  34494. return obj.findFileUrl;
  34495. },
  34496. get$nonCanonicalScheme(obj) {
  34497. return obj.nonCanonicalScheme;
  34498. },
  34499. get$sourceMapUrl(obj) {
  34500. return obj.sourceMapUrl;
  34501. },
  34502. get$separator(obj) {
  34503. return obj.separator;
  34504. },
  34505. get$brackets(obj) {
  34506. return obj.brackets;
  34507. },
  34508. get$numeratorUnits(obj) {
  34509. return obj.numeratorUnits;
  34510. },
  34511. get$denominatorUnits(obj) {
  34512. return obj.denominatorUnits;
  34513. },
  34514. get$pkgImporter(obj) {
  34515. return obj.pkgImporter;
  34516. },
  34517. get$indentedSyntax(obj) {
  34518. return obj.indentedSyntax;
  34519. },
  34520. get$omitSourceMapUrl(obj) {
  34521. return obj.omitSourceMapUrl;
  34522. },
  34523. get$outFile(obj) {
  34524. return obj.outFile;
  34525. },
  34526. get$outputStyle(obj) {
  34527. return obj.outputStyle;
  34528. },
  34529. get$fiber(obj) {
  34530. return obj.fiber;
  34531. },
  34532. get$sourceMapContents(obj) {
  34533. return obj.sourceMapContents;
  34534. },
  34535. get$sourceMapEmbed(obj) {
  34536. return obj.sourceMapEmbed;
  34537. },
  34538. get$sourceMapRoot(obj) {
  34539. return obj.sourceMapRoot;
  34540. },
  34541. set$cli_pkg_main_0_(obj, v) {
  34542. return obj.cli_pkg_main_0_ = v;
  34543. },
  34544. visitAtRootRule$1(receiver, p0) {
  34545. return receiver.visitAtRootRule(p0);
  34546. },
  34547. visitAtRule$1(receiver, p0) {
  34548. return receiver.visitAtRule(p0);
  34549. },
  34550. get$visitContentBlock(obj) {
  34551. return obj.visitContentBlock;
  34552. },
  34553. visitContentBlock$1(receiver, p0) {
  34554. return receiver.visitContentBlock(p0);
  34555. },
  34556. visitContentRule$1(receiver, p0) {
  34557. return receiver.visitContentRule(p0);
  34558. },
  34559. visitDebugRule$1(receiver, p0) {
  34560. return receiver.visitDebugRule(p0);
  34561. },
  34562. visitDeclaration$1(receiver, p0) {
  34563. return receiver.visitDeclaration(p0);
  34564. },
  34565. visitEachRule$1(receiver, p0) {
  34566. return receiver.visitEachRule(p0);
  34567. },
  34568. visitErrorRule$1(receiver, p0) {
  34569. return receiver.visitErrorRule(p0);
  34570. },
  34571. visitExtendRule$1(receiver, p0) {
  34572. return receiver.visitExtendRule(p0);
  34573. },
  34574. visitForRule$1(receiver, p0) {
  34575. return receiver.visitForRule(p0);
  34576. },
  34577. visitForwardRule$1(receiver, p0) {
  34578. return receiver.visitForwardRule(p0);
  34579. },
  34580. visitFunctionRule$1(receiver, p0) {
  34581. return receiver.visitFunctionRule(p0);
  34582. },
  34583. visitIfRule$1(receiver, p0) {
  34584. return receiver.visitIfRule(p0);
  34585. },
  34586. visitImportRule$1(receiver, p0) {
  34587. return receiver.visitImportRule(p0);
  34588. },
  34589. visitIncludeRule$1(receiver, p0) {
  34590. return receiver.visitIncludeRule(p0);
  34591. },
  34592. visitLoudComment$1(receiver, p0) {
  34593. return receiver.visitLoudComment(p0);
  34594. },
  34595. visitMediaRule$1(receiver, p0) {
  34596. return receiver.visitMediaRule(p0);
  34597. },
  34598. visitMixinRule$1(receiver, p0) {
  34599. return receiver.visitMixinRule(p0);
  34600. },
  34601. visitReturnRule$1(receiver, p0) {
  34602. return receiver.visitReturnRule(p0);
  34603. },
  34604. visitSilentComment$1(receiver, p0) {
  34605. return receiver.visitSilentComment(p0);
  34606. },
  34607. visitStyleRule$1(receiver, p0) {
  34608. return receiver.visitStyleRule(p0);
  34609. },
  34610. visitStylesheet$1(receiver, p0) {
  34611. return receiver.visitStylesheet(p0);
  34612. },
  34613. visitSupportsRule$1(receiver, p0) {
  34614. return receiver.visitSupportsRule(p0);
  34615. },
  34616. visitUseRule$1(receiver, p0) {
  34617. return receiver.visitUseRule(p0);
  34618. },
  34619. visitVariableDeclaration$1(receiver, p0) {
  34620. return receiver.visitVariableDeclaration(p0);
  34621. },
  34622. visitWarnRule$1(receiver, p0) {
  34623. return receiver.visitWarnRule(p0);
  34624. },
  34625. visitWhileRule$1(receiver, p0) {
  34626. return receiver.visitWhileRule(p0);
  34627. },
  34628. get$quotes(obj) {
  34629. return obj.quotes;
  34630. }
  34631. };
  34632. J.PlainJavaScriptObject.prototype = {};
  34633. J.UnknownJavaScriptObject.prototype = {};
  34634. J.JavaScriptFunction.prototype = {
  34635. toString$0(receiver) {
  34636. var dartClosure = receiver[$.$get$DART_CLOSURE_PROPERTY_NAME()];
  34637. if (dartClosure == null)
  34638. return this.super$LegacyJavaScriptObject$toString(receiver);
  34639. return "JavaScript function for " + A.S(J.toString$0$(dartClosure));
  34640. },
  34641. $isFunction: 1
  34642. };
  34643. J.JavaScriptBigInt.prototype = {
  34644. get$hashCode(receiver) {
  34645. return 0;
  34646. },
  34647. toString$0(receiver) {
  34648. return String(receiver);
  34649. }
  34650. };
  34651. J.JavaScriptSymbol.prototype = {
  34652. get$hashCode(receiver) {
  34653. return 0;
  34654. },
  34655. toString$0(receiver) {
  34656. return String(receiver);
  34657. }
  34658. };
  34659. J.JSArray.prototype = {
  34660. cast$1$0(receiver, $R) {
  34661. return new A.CastList(receiver, A._arrayInstanceType(receiver)._eval$1("@<1>")._bind$1($R)._eval$1("CastList<1,2>"));
  34662. },
  34663. add$1(receiver, value) {
  34664. receiver.$flags & 1 && A.throwUnsupportedOperation(receiver, 29);
  34665. receiver.push(value);
  34666. },
  34667. removeAt$1(receiver, index) {
  34668. var t1;
  34669. receiver.$flags & 1 && A.throwUnsupportedOperation(receiver, "removeAt", 1);
  34670. t1 = receiver.length;
  34671. if (index >= t1)
  34672. throw A.wrapException(A.RangeError$value(index, null, null));
  34673. return receiver.splice(index, 1)[0];
  34674. },
  34675. insert$2(receiver, index, value) {
  34676. var t1;
  34677. receiver.$flags & 1 && A.throwUnsupportedOperation(receiver, "insert", 2);
  34678. t1 = receiver.length;
  34679. if (index > t1)
  34680. throw A.wrapException(A.RangeError$value(index, null, null));
  34681. receiver.splice(index, 0, value);
  34682. },
  34683. insertAll$2(receiver, index, iterable) {
  34684. var insertionLength, end;
  34685. receiver.$flags & 1 && A.throwUnsupportedOperation(receiver, "insertAll", 2);
  34686. A.RangeError_checkValueInInterval(index, 0, receiver.length, "index");
  34687. if (!type$.EfficientLengthIterable_dynamic._is(iterable))
  34688. iterable = J.toList$0$ax(iterable);
  34689. insertionLength = J.get$length$asx(iterable);
  34690. receiver.length = receiver.length + insertionLength;
  34691. end = index + insertionLength;
  34692. this.setRange$4(receiver, end, receiver.length, receiver, index);
  34693. this.setRange$3(receiver, index, end, iterable);
  34694. },
  34695. removeLast$0(receiver) {
  34696. receiver.$flags & 1 && A.throwUnsupportedOperation(receiver, "removeLast", 1);
  34697. if (receiver.length === 0)
  34698. throw A.wrapException(A.diagnoseIndexError(receiver, -1));
  34699. return receiver.pop();
  34700. },
  34701. _removeWhere$2(receiver, test, removeMatching) {
  34702. var i, element, t1, retained = [],
  34703. end = receiver.length;
  34704. for (i = 0; i < end; ++i) {
  34705. element = receiver[i];
  34706. if (!test.call$1(element))
  34707. retained.push(element);
  34708. if (receiver.length !== end)
  34709. throw A.wrapException(A.ConcurrentModificationError$(receiver));
  34710. }
  34711. t1 = retained.length;
  34712. if (t1 === end)
  34713. return;
  34714. this.set$length(receiver, t1);
  34715. for (i = 0; i < retained.length; ++i)
  34716. receiver[i] = retained[i];
  34717. },
  34718. where$1(receiver, f) {
  34719. return new A.WhereIterable(receiver, f, A._arrayInstanceType(receiver)._eval$1("WhereIterable<1>"));
  34720. },
  34721. expand$1$1(receiver, f, $T) {
  34722. return new A.ExpandIterable(receiver, f, A._arrayInstanceType(receiver)._eval$1("@<1>")._bind$1($T)._eval$1("ExpandIterable<1,2>"));
  34723. },
  34724. addAll$1(receiver, collection) {
  34725. var t1;
  34726. receiver.$flags & 1 && A.throwUnsupportedOperation(receiver, "addAll", 2);
  34727. if (Array.isArray(collection)) {
  34728. this._addAllFromArray$1(receiver, collection);
  34729. return;
  34730. }
  34731. for (t1 = J.get$iterator$ax(collection); t1.moveNext$0();)
  34732. receiver.push(t1.get$current(t1));
  34733. },
  34734. _addAllFromArray$1(receiver, array) {
  34735. var i,
  34736. len = array.length;
  34737. if (len === 0)
  34738. return;
  34739. if (receiver === array)
  34740. throw A.wrapException(A.ConcurrentModificationError$(receiver));
  34741. for (i = 0; i < len; ++i)
  34742. receiver.push(array[i]);
  34743. },
  34744. clear$0(receiver) {
  34745. receiver.$flags & 1 && A.throwUnsupportedOperation(receiver, "clear", "clear");
  34746. receiver.length = 0;
  34747. },
  34748. forEach$1(receiver, f) {
  34749. var i,
  34750. end = receiver.length;
  34751. for (i = 0; i < end; ++i) {
  34752. f.call$1(receiver[i]);
  34753. if (receiver.length !== end)
  34754. throw A.wrapException(A.ConcurrentModificationError$(receiver));
  34755. }
  34756. },
  34757. map$1$1(receiver, f, $T) {
  34758. return new A.MappedListIterable(receiver, f, A._arrayInstanceType(receiver)._eval$1("@<1>")._bind$1($T)._eval$1("MappedListIterable<1,2>"));
  34759. },
  34760. join$1(receiver, separator) {
  34761. var i,
  34762. list = A.List_List$filled(receiver.length, "", false, type$.String);
  34763. for (i = 0; i < receiver.length; ++i)
  34764. list[i] = A.S(receiver[i]);
  34765. return list.join(separator);
  34766. },
  34767. join$0(receiver) {
  34768. return this.join$1(receiver, "");
  34769. },
  34770. take$1(receiver, n) {
  34771. return A.SubListIterable$(receiver, 0, A.checkNotNullable(n, "count", type$.int), A._arrayInstanceType(receiver)._precomputed1);
  34772. },
  34773. skip$1(receiver, n) {
  34774. return A.SubListIterable$(receiver, n, null, A._arrayInstanceType(receiver)._precomputed1);
  34775. },
  34776. fold$1$2(receiver, initialValue, combine) {
  34777. var value, i,
  34778. $length = receiver.length;
  34779. for (value = initialValue, i = 0; i < $length; ++i) {
  34780. value = combine.call$2(value, receiver[i]);
  34781. if (receiver.length !== $length)
  34782. throw A.wrapException(A.ConcurrentModificationError$(receiver));
  34783. }
  34784. return value;
  34785. },
  34786. fold$2(receiver, initialValue, combine) {
  34787. combine.toString;
  34788. return this.fold$1$2(receiver, initialValue, combine, type$.dynamic);
  34789. },
  34790. firstWhere$1(receiver, test) {
  34791. var i, element,
  34792. end = receiver.length;
  34793. for (i = 0; i < end; ++i) {
  34794. element = receiver[i];
  34795. if (test.call$1(element))
  34796. return element;
  34797. if (receiver.length !== end)
  34798. throw A.wrapException(A.ConcurrentModificationError$(receiver));
  34799. }
  34800. throw A.wrapException(A.IterableElementError_noElement());
  34801. },
  34802. elementAt$1(receiver, index) {
  34803. return receiver[index];
  34804. },
  34805. sublist$2(receiver, start, end) {
  34806. var end0 = receiver.length;
  34807. if (start > end0)
  34808. throw A.wrapException(A.RangeError$range(start, 0, end0, "start", null));
  34809. if (end == null)
  34810. end = end0;
  34811. else if (end < start || end > end0)
  34812. throw A.wrapException(A.RangeError$range(end, start, end0, "end", null));
  34813. if (start === end)
  34814. return A._setArrayType([], A._arrayInstanceType(receiver));
  34815. return A._setArrayType(receiver.slice(start, end), A._arrayInstanceType(receiver));
  34816. },
  34817. sublist$1(receiver, start) {
  34818. return this.sublist$2(receiver, start, null);
  34819. },
  34820. getRange$2(receiver, start, end) {
  34821. A.RangeError_checkValidRange(start, end, receiver.length);
  34822. return A.SubListIterable$(receiver, start, end, A._arrayInstanceType(receiver)._precomputed1);
  34823. },
  34824. get$first(receiver) {
  34825. if (receiver.length > 0)
  34826. return receiver[0];
  34827. throw A.wrapException(A.IterableElementError_noElement());
  34828. },
  34829. get$last(receiver) {
  34830. var t1 = receiver.length;
  34831. if (t1 > 0)
  34832. return receiver[t1 - 1];
  34833. throw A.wrapException(A.IterableElementError_noElement());
  34834. },
  34835. get$single(receiver) {
  34836. var t1 = receiver.length;
  34837. if (t1 === 1)
  34838. return receiver[0];
  34839. if (t1 === 0)
  34840. throw A.wrapException(A.IterableElementError_noElement());
  34841. throw A.wrapException(A.IterableElementError_tooMany());
  34842. },
  34843. removeRange$2(receiver, start, end) {
  34844. receiver.$flags & 1 && A.throwUnsupportedOperation(receiver, 18);
  34845. A.RangeError_checkValidRange(start, end, receiver.length);
  34846. receiver.splice(start, end - start);
  34847. },
  34848. setRange$4(receiver, start, end, iterable, skipCount) {
  34849. var $length, otherList, otherStart, t1, i;
  34850. receiver.$flags & 2 && A.throwUnsupportedOperation(receiver, 5);
  34851. A.RangeError_checkValidRange(start, end, receiver.length);
  34852. $length = end - start;
  34853. if ($length === 0)
  34854. return;
  34855. A.RangeError_checkNotNegative(skipCount, "skipCount");
  34856. if (type$.List_dynamic._is(iterable)) {
  34857. otherList = iterable;
  34858. otherStart = skipCount;
  34859. } else {
  34860. otherList = J.skip$1$ax(iterable, skipCount).toList$1$growable(0, false);
  34861. otherStart = 0;
  34862. }
  34863. t1 = J.getInterceptor$asx(otherList);
  34864. if (otherStart + $length > t1.get$length(otherList))
  34865. throw A.wrapException(A.IterableElementError_tooFew());
  34866. if (otherStart < start)
  34867. for (i = $length - 1; i >= 0; --i)
  34868. receiver[start + i] = t1.$index(otherList, otherStart + i);
  34869. else
  34870. for (i = 0; i < $length; ++i)
  34871. receiver[start + i] = t1.$index(otherList, otherStart + i);
  34872. },
  34873. setRange$3(receiver, start, end, iterable) {
  34874. return this.setRange$4(receiver, start, end, iterable, 0);
  34875. },
  34876. fillRange$3(receiver, start, end, fillValue) {
  34877. var i;
  34878. receiver.$flags & 2 && A.throwUnsupportedOperation(receiver, "fillRange");
  34879. A.RangeError_checkValidRange(start, end, receiver.length);
  34880. A._arrayInstanceType(receiver)._precomputed1._as(fillValue);
  34881. for (i = start; i < end; ++i)
  34882. receiver[i] = fillValue;
  34883. },
  34884. any$1(receiver, test) {
  34885. var i,
  34886. end = receiver.length;
  34887. for (i = 0; i < end; ++i) {
  34888. if (test.call$1(receiver[i]))
  34889. return true;
  34890. if (receiver.length !== end)
  34891. throw A.wrapException(A.ConcurrentModificationError$(receiver));
  34892. }
  34893. return false;
  34894. },
  34895. every$1(receiver, test) {
  34896. var i,
  34897. end = receiver.length;
  34898. for (i = 0; i < end; ++i) {
  34899. if (!test.call$1(receiver[i]))
  34900. return false;
  34901. if (receiver.length !== end)
  34902. throw A.wrapException(A.ConcurrentModificationError$(receiver));
  34903. }
  34904. return true;
  34905. },
  34906. get$reversed(receiver) {
  34907. return new A.ReversedListIterable(receiver, A._arrayInstanceType(receiver)._eval$1("ReversedListIterable<1>"));
  34908. },
  34909. sort$1(receiver, compare) {
  34910. var len, a, b, undefineds, i;
  34911. receiver.$flags & 2 && A.throwUnsupportedOperation(receiver, "sort");
  34912. len = receiver.length;
  34913. if (len < 2)
  34914. return;
  34915. if (compare == null)
  34916. compare = J._interceptors_JSArray__compareAny$closure();
  34917. if (len === 2) {
  34918. a = receiver[0];
  34919. b = receiver[1];
  34920. if (compare.call$2(a, b) > 0) {
  34921. receiver[0] = b;
  34922. receiver[1] = a;
  34923. }
  34924. return;
  34925. }
  34926. undefineds = 0;
  34927. if (A._arrayInstanceType(receiver)._precomputed1._is(null))
  34928. for (i = 0; i < receiver.length; ++i)
  34929. if (receiver[i] === void 0) {
  34930. receiver[i] = null;
  34931. ++undefineds;
  34932. }
  34933. receiver.sort(A.convertDartClosureToJS(compare, 2));
  34934. if (undefineds > 0)
  34935. this._replaceSomeNullsWithUndefined$1(receiver, undefineds);
  34936. },
  34937. sort$0(receiver) {
  34938. return this.sort$1(receiver, null);
  34939. },
  34940. _replaceSomeNullsWithUndefined$1(receiver, count) {
  34941. var i0,
  34942. i = receiver.length;
  34943. for (; i0 = i - 1, i > 0; i = i0)
  34944. if (receiver[i0] === null) {
  34945. receiver[i0] = void 0;
  34946. --count;
  34947. if (count === 0)
  34948. break;
  34949. }
  34950. },
  34951. indexOf$1(receiver, element) {
  34952. var i,
  34953. $length = receiver.length;
  34954. if (0 >= $length)
  34955. return -1;
  34956. for (i = 0; i < $length; ++i)
  34957. if (J.$eq$(receiver[i], element))
  34958. return i;
  34959. return -1;
  34960. },
  34961. contains$1(receiver, other) {
  34962. var i;
  34963. for (i = 0; i < receiver.length; ++i)
  34964. if (J.$eq$(receiver[i], other))
  34965. return true;
  34966. return false;
  34967. },
  34968. get$isEmpty(receiver) {
  34969. return receiver.length === 0;
  34970. },
  34971. get$isNotEmpty(receiver) {
  34972. return receiver.length !== 0;
  34973. },
  34974. toString$0(receiver) {
  34975. return A.Iterable_iterableToFullString(receiver, "[", "]");
  34976. },
  34977. toList$1$growable(receiver, growable) {
  34978. var t1 = A._setArrayType(receiver.slice(0), A._arrayInstanceType(receiver));
  34979. return t1;
  34980. },
  34981. toList$0(receiver) {
  34982. return this.toList$1$growable(receiver, true);
  34983. },
  34984. toSet$0(receiver) {
  34985. return A.LinkedHashSet_LinkedHashSet$from(receiver, A._arrayInstanceType(receiver)._precomputed1);
  34986. },
  34987. get$iterator(receiver) {
  34988. return new J.ArrayIterator(receiver, receiver.length, A._arrayInstanceType(receiver)._eval$1("ArrayIterator<1>"));
  34989. },
  34990. get$hashCode(receiver) {
  34991. return A.Primitives_objectHashCode(receiver);
  34992. },
  34993. get$length(receiver) {
  34994. return receiver.length;
  34995. },
  34996. set$length(receiver, newLength) {
  34997. receiver.$flags & 1 && A.throwUnsupportedOperation(receiver, "set length", "change the length of");
  34998. if (newLength < 0)
  34999. throw A.wrapException(A.RangeError$range(newLength, 0, null, "newLength", null));
  35000. if (newLength > receiver.length)
  35001. A._arrayInstanceType(receiver)._precomputed1._as(null);
  35002. receiver.length = newLength;
  35003. },
  35004. $index(receiver, index) {
  35005. if (!(index >= 0 && index < receiver.length))
  35006. throw A.wrapException(A.diagnoseIndexError(receiver, index));
  35007. return receiver[index];
  35008. },
  35009. $indexSet(receiver, index, value) {
  35010. receiver.$flags & 2 && A.throwUnsupportedOperation(receiver);
  35011. if (!(index >= 0 && index < receiver.length))
  35012. throw A.wrapException(A.diagnoseIndexError(receiver, index));
  35013. receiver[index] = value;
  35014. },
  35015. $add(receiver, other) {
  35016. var t1 = A.List_List$_of(receiver, A._arrayInstanceType(receiver)._precomputed1);
  35017. this.addAll$1(t1, other);
  35018. return t1;
  35019. },
  35020. indexWhere$1(receiver, test) {
  35021. var i;
  35022. if (0 >= receiver.length)
  35023. return -1;
  35024. for (i = 0; i < receiver.length; ++i)
  35025. if (test.call$1(receiver[i]))
  35026. return i;
  35027. return -1;
  35028. },
  35029. $isEfficientLengthIterable: 1,
  35030. $isIterable: 1,
  35031. $isList: 1
  35032. };
  35033. J.JSUnmodifiableArray.prototype = {};
  35034. J.ArrayIterator.prototype = {
  35035. get$current(_) {
  35036. var t1 = this._current;
  35037. return t1 == null ? this.$ti._precomputed1._as(t1) : t1;
  35038. },
  35039. moveNext$0() {
  35040. var t2, _this = this,
  35041. t1 = _this._iterable,
  35042. $length = t1.length;
  35043. if (_this._length !== $length)
  35044. throw A.wrapException(A.throwConcurrentModificationError(t1));
  35045. t2 = _this._index;
  35046. if (t2 >= $length) {
  35047. _this._current = null;
  35048. return false;
  35049. }
  35050. _this._current = t1[t2];
  35051. _this._index = t2 + 1;
  35052. return true;
  35053. }
  35054. };
  35055. J.JSNumber.prototype = {
  35056. compareTo$1(receiver, b) {
  35057. var bIsNegative;
  35058. if (receiver < b)
  35059. return -1;
  35060. else if (receiver > b)
  35061. return 1;
  35062. else if (receiver === b) {
  35063. if (receiver === 0) {
  35064. bIsNegative = this.get$isNegative(b);
  35065. if (this.get$isNegative(receiver) === bIsNegative)
  35066. return 0;
  35067. if (this.get$isNegative(receiver))
  35068. return -1;
  35069. return 1;
  35070. }
  35071. return 0;
  35072. } else if (isNaN(receiver)) {
  35073. if (isNaN(b))
  35074. return 0;
  35075. return 1;
  35076. } else
  35077. return -1;
  35078. },
  35079. get$isNegative(receiver) {
  35080. return receiver === 0 ? 1 / receiver < 0 : receiver < 0;
  35081. },
  35082. get$sign(receiver) {
  35083. var t1;
  35084. if (receiver > 0)
  35085. t1 = 1;
  35086. else
  35087. t1 = receiver < 0 ? -1 : receiver;
  35088. return t1;
  35089. },
  35090. ceil$0(receiver) {
  35091. var truncated, d;
  35092. if (receiver >= 0) {
  35093. if (receiver <= 2147483647) {
  35094. truncated = receiver | 0;
  35095. return receiver === truncated ? truncated : truncated + 1;
  35096. }
  35097. } else if (receiver >= -2147483648)
  35098. return receiver | 0;
  35099. d = Math.ceil(receiver);
  35100. if (isFinite(d))
  35101. return d;
  35102. throw A.wrapException(A.UnsupportedError$("" + receiver + ".ceil()"));
  35103. },
  35104. floor$0(receiver) {
  35105. var truncated, d;
  35106. if (receiver >= 0) {
  35107. if (receiver <= 2147483647)
  35108. return receiver | 0;
  35109. } else if (receiver >= -2147483648) {
  35110. truncated = receiver | 0;
  35111. return receiver === truncated ? truncated : truncated - 1;
  35112. }
  35113. d = Math.floor(receiver);
  35114. if (isFinite(d))
  35115. return d;
  35116. throw A.wrapException(A.UnsupportedError$("" + receiver + ".floor()"));
  35117. },
  35118. round$0(receiver) {
  35119. if (receiver > 0) {
  35120. if (receiver !== 1 / 0)
  35121. return Math.round(receiver);
  35122. } else if (receiver > -1 / 0)
  35123. return 0 - Math.round(0 - receiver);
  35124. throw A.wrapException(A.UnsupportedError$("" + receiver + ".round()"));
  35125. },
  35126. clamp$2(receiver, lowerLimit, upperLimit) {
  35127. if (this.compareTo$1(lowerLimit, upperLimit) > 0)
  35128. throw A.wrapException(A.argumentErrorValue(lowerLimit));
  35129. if (this.compareTo$1(receiver, lowerLimit) < 0)
  35130. return lowerLimit;
  35131. if (this.compareTo$1(receiver, upperLimit) > 0)
  35132. return upperLimit;
  35133. return receiver;
  35134. },
  35135. toRadixString$1(receiver, radix) {
  35136. var result, match, exponent, t1;
  35137. if (radix < 2 || radix > 36)
  35138. throw A.wrapException(A.RangeError$range(radix, 2, 36, "radix", null));
  35139. result = receiver.toString(radix);
  35140. if (result.charCodeAt(result.length - 1) !== 41)
  35141. return result;
  35142. match = /^([\da-z]+)(?:\.([\da-z]+))?\(e\+(\d+)\)$/.exec(result);
  35143. if (match == null)
  35144. A.throwExpression(A.UnsupportedError$("Unexpected toString result: " + result));
  35145. result = match[1];
  35146. exponent = +match[3];
  35147. t1 = match[2];
  35148. if (t1 != null) {
  35149. result += t1;
  35150. exponent -= t1.length;
  35151. }
  35152. return result + B.JSString_methods.$mul("0", exponent);
  35153. },
  35154. toString$0(receiver) {
  35155. if (receiver === 0 && 1 / receiver < 0)
  35156. return "-0.0";
  35157. else
  35158. return "" + receiver;
  35159. },
  35160. get$hashCode(receiver) {
  35161. var absolute, floorLog2, factor, scaled,
  35162. intValue = receiver | 0;
  35163. if (receiver === intValue)
  35164. return intValue & 536870911;
  35165. absolute = Math.abs(receiver);
  35166. floorLog2 = Math.log(absolute) / 0.6931471805599453 | 0;
  35167. factor = Math.pow(2, floorLog2);
  35168. scaled = absolute < 1 ? absolute / factor : factor / absolute;
  35169. return ((scaled * 9007199254740992 | 0) + (scaled * 3542243181176521 | 0)) * 599197 + floorLog2 * 1259 & 536870911;
  35170. },
  35171. $mod(receiver, other) {
  35172. var result = receiver % other;
  35173. if (result === 0)
  35174. return 0;
  35175. if (result > 0)
  35176. return result;
  35177. if (other < 0)
  35178. return result - other;
  35179. else
  35180. return result + other;
  35181. },
  35182. $tdiv(receiver, other) {
  35183. if ((receiver | 0) === receiver)
  35184. if (other >= 1 || other < -1)
  35185. return receiver / other | 0;
  35186. return this._tdivSlow$1(receiver, other);
  35187. },
  35188. _tdivFast$1(receiver, other) {
  35189. return (receiver | 0) === receiver ? receiver / other | 0 : this._tdivSlow$1(receiver, other);
  35190. },
  35191. _tdivSlow$1(receiver, other) {
  35192. var quotient = receiver / other;
  35193. if (quotient >= -2147483648 && quotient <= 2147483647)
  35194. return quotient | 0;
  35195. if (quotient > 0) {
  35196. if (quotient !== 1 / 0)
  35197. return Math.floor(quotient);
  35198. } else if (quotient > -1 / 0)
  35199. return Math.ceil(quotient);
  35200. throw A.wrapException(A.UnsupportedError$("Result of truncating division is " + A.S(quotient) + ": " + A.S(receiver) + " ~/ " + other));
  35201. },
  35202. _shrOtherPositive$1(receiver, other) {
  35203. var t1;
  35204. if (receiver > 0)
  35205. t1 = this._shrBothPositive$1(receiver, other);
  35206. else {
  35207. t1 = other > 31 ? 31 : other;
  35208. t1 = receiver >> t1 >>> 0;
  35209. }
  35210. return t1;
  35211. },
  35212. _shrReceiverPositive$1(receiver, other) {
  35213. if (0 > other)
  35214. throw A.wrapException(A.argumentErrorValue(other));
  35215. return this._shrBothPositive$1(receiver, other);
  35216. },
  35217. _shrBothPositive$1(receiver, other) {
  35218. return other > 31 ? 0 : receiver >>> other;
  35219. },
  35220. get$runtimeType(receiver) {
  35221. return A.createRuntimeType(type$.num);
  35222. },
  35223. $isComparable: 1,
  35224. $isdouble: 1,
  35225. $isnum: 1
  35226. };
  35227. J.JSInt.prototype = {
  35228. get$sign(receiver) {
  35229. var t1;
  35230. if (receiver > 0)
  35231. t1 = 1;
  35232. else
  35233. t1 = receiver < 0 ? -1 : receiver;
  35234. return t1;
  35235. },
  35236. get$runtimeType(receiver) {
  35237. return A.createRuntimeType(type$.int);
  35238. },
  35239. $isTrustedGetRuntimeType: 1,
  35240. $isint: 1
  35241. };
  35242. J.JSNumNotInt.prototype = {
  35243. get$runtimeType(receiver) {
  35244. return A.createRuntimeType(type$.double);
  35245. },
  35246. $isTrustedGetRuntimeType: 1
  35247. };
  35248. J.JSString.prototype = {
  35249. codeUnitAt$1(receiver, index) {
  35250. if (index < 0)
  35251. throw A.wrapException(A.diagnoseIndexError(receiver, index));
  35252. if (index >= receiver.length)
  35253. A.throwExpression(A.diagnoseIndexError(receiver, index));
  35254. return receiver.charCodeAt(index);
  35255. },
  35256. allMatches$2(receiver, string, start) {
  35257. var t1 = string.length;
  35258. if (start > t1)
  35259. throw A.wrapException(A.RangeError$range(start, 0, t1, null, null));
  35260. return new A._StringAllMatchesIterable(string, receiver, start);
  35261. },
  35262. allMatches$1(receiver, string) {
  35263. return this.allMatches$2(receiver, string, 0);
  35264. },
  35265. matchAsPrefix$2(receiver, string, start) {
  35266. var t1, i, _null = null;
  35267. if (start < 0 || start > string.length)
  35268. throw A.wrapException(A.RangeError$range(start, 0, string.length, _null, _null));
  35269. t1 = receiver.length;
  35270. if (start + t1 > string.length)
  35271. return _null;
  35272. for (i = 0; i < t1; ++i)
  35273. if (string.charCodeAt(start + i) !== receiver.charCodeAt(i))
  35274. return _null;
  35275. return new A.StringMatch(start, receiver);
  35276. },
  35277. $add(receiver, other) {
  35278. return receiver + other;
  35279. },
  35280. endsWith$1(receiver, other) {
  35281. var otherLength = other.length,
  35282. t1 = receiver.length;
  35283. if (otherLength > t1)
  35284. return false;
  35285. return other === this.substring$1(receiver, t1 - otherLength);
  35286. },
  35287. replaceFirst$2(receiver, from, to) {
  35288. A.RangeError_checkValueInInterval(0, 0, receiver.length, "startIndex");
  35289. return A.stringReplaceFirstUnchecked(receiver, from, to, 0);
  35290. },
  35291. split$1(receiver, pattern) {
  35292. var t1;
  35293. if (typeof pattern == "string")
  35294. return A._setArrayType(receiver.split(pattern), type$.JSArray_String);
  35295. else {
  35296. if (pattern instanceof A.JSSyntaxRegExp) {
  35297. t1 = pattern._hasCapturesCache;
  35298. t1 = !(t1 == null ? pattern._hasCapturesCache = pattern._computeHasCaptures$0() : t1);
  35299. } else
  35300. t1 = false;
  35301. if (t1)
  35302. return A._setArrayType(receiver.split(pattern._nativeRegExp), type$.JSArray_String);
  35303. else
  35304. return this._defaultSplit$1(receiver, pattern);
  35305. }
  35306. },
  35307. replaceRange$3(receiver, start, end, replacement) {
  35308. var e = A.RangeError_checkValidRange(start, end, receiver.length);
  35309. return A.stringReplaceRangeUnchecked(receiver, start, e, replacement);
  35310. },
  35311. _defaultSplit$1(receiver, pattern) {
  35312. var t1, start, $length, match, matchStart, matchEnd,
  35313. result = A._setArrayType([], type$.JSArray_String);
  35314. for (t1 = J.allMatches$1$s(pattern, receiver), t1 = t1.get$iterator(t1), start = 0, $length = 1; t1.moveNext$0();) {
  35315. match = t1.get$current(t1);
  35316. matchStart = match.get$start(match);
  35317. matchEnd = match.get$end(match);
  35318. $length = matchEnd - matchStart;
  35319. if ($length === 0 && start === matchStart)
  35320. continue;
  35321. result.push(this.substring$2(receiver, start, matchStart));
  35322. start = matchEnd;
  35323. }
  35324. if (start < receiver.length || $length > 0)
  35325. result.push(this.substring$1(receiver, start));
  35326. return result;
  35327. },
  35328. startsWith$2(receiver, pattern, index) {
  35329. var endIndex;
  35330. if (index < 0 || index > receiver.length)
  35331. throw A.wrapException(A.RangeError$range(index, 0, receiver.length, null, null));
  35332. if (typeof pattern == "string") {
  35333. endIndex = index + pattern.length;
  35334. if (endIndex > receiver.length)
  35335. return false;
  35336. return pattern === receiver.substring(index, endIndex);
  35337. }
  35338. return J.matchAsPrefix$2$s(pattern, receiver, index) != null;
  35339. },
  35340. startsWith$1(receiver, pattern) {
  35341. return this.startsWith$2(receiver, pattern, 0);
  35342. },
  35343. substring$2(receiver, start, end) {
  35344. return receiver.substring(start, A.RangeError_checkValidRange(start, end, receiver.length));
  35345. },
  35346. substring$1(receiver, start) {
  35347. return this.substring$2(receiver, start, null);
  35348. },
  35349. trim$0(receiver) {
  35350. var startIndex, t1, endIndex0,
  35351. result = receiver.trim(),
  35352. endIndex = result.length;
  35353. if (endIndex === 0)
  35354. return result;
  35355. if (result.charCodeAt(0) === 133) {
  35356. startIndex = J.JSString__skipLeadingWhitespace(result, 1);
  35357. if (startIndex === endIndex)
  35358. return "";
  35359. } else
  35360. startIndex = 0;
  35361. t1 = endIndex - 1;
  35362. endIndex0 = result.charCodeAt(t1) === 133 ? J.JSString__skipTrailingWhitespace(result, t1) : endIndex;
  35363. if (startIndex === 0 && endIndex0 === endIndex)
  35364. return result;
  35365. return result.substring(startIndex, endIndex0);
  35366. },
  35367. trimLeft$0(receiver) {
  35368. var result = receiver.trimStart();
  35369. if (result.length === 0)
  35370. return result;
  35371. if (result.charCodeAt(0) !== 133)
  35372. return result;
  35373. return result.substring(J.JSString__skipLeadingWhitespace(result, 1));
  35374. },
  35375. trimRight$0(receiver) {
  35376. var t1,
  35377. result = receiver.trimEnd(),
  35378. endIndex = result.length;
  35379. if (endIndex === 0)
  35380. return result;
  35381. t1 = endIndex - 1;
  35382. if (result.charCodeAt(t1) !== 133)
  35383. return result;
  35384. return result.substring(0, J.JSString__skipTrailingWhitespace(result, t1));
  35385. },
  35386. $mul(receiver, times) {
  35387. var s, result;
  35388. if (0 >= times)
  35389. return "";
  35390. if (times === 1 || receiver.length === 0)
  35391. return receiver;
  35392. if (times !== times >>> 0)
  35393. throw A.wrapException(B.C_OutOfMemoryError);
  35394. for (s = receiver, result = ""; true;) {
  35395. if ((times & 1) === 1)
  35396. result = s + result;
  35397. times = times >>> 1;
  35398. if (times === 0)
  35399. break;
  35400. s += s;
  35401. }
  35402. return result;
  35403. },
  35404. padLeft$2(receiver, width, padding) {
  35405. var delta = width - receiver.length;
  35406. if (delta <= 0)
  35407. return receiver;
  35408. return this.$mul(padding, delta) + receiver;
  35409. },
  35410. padRight$1(receiver, width) {
  35411. var delta = width - receiver.length;
  35412. if (delta <= 0)
  35413. return receiver;
  35414. return receiver + this.$mul(" ", delta);
  35415. },
  35416. indexOf$2(receiver, pattern, start) {
  35417. var t1;
  35418. if (start < 0 || start > receiver.length)
  35419. throw A.wrapException(A.RangeError$range(start, 0, receiver.length, null, null));
  35420. t1 = receiver.indexOf(pattern, start);
  35421. return t1;
  35422. },
  35423. indexOf$1(receiver, pattern) {
  35424. return this.indexOf$2(receiver, pattern, 0);
  35425. },
  35426. lastIndexOf$2(receiver, pattern, start) {
  35427. var t1, t2, i;
  35428. if (start == null)
  35429. start = receiver.length;
  35430. else if (start < 0 || start > receiver.length)
  35431. throw A.wrapException(A.RangeError$range(start, 0, receiver.length, null, null));
  35432. if (typeof pattern == "string") {
  35433. t1 = pattern.length;
  35434. t2 = receiver.length;
  35435. if (start + t1 > t2)
  35436. start = t2 - t1;
  35437. return receiver.lastIndexOf(pattern, start);
  35438. }
  35439. for (t1 = J.getInterceptor$s(pattern), i = start; i >= 0; --i)
  35440. if (t1.matchAsPrefix$2(pattern, receiver, i) != null)
  35441. return i;
  35442. return -1;
  35443. },
  35444. lastIndexOf$1(receiver, pattern) {
  35445. return this.lastIndexOf$2(receiver, pattern, null);
  35446. },
  35447. contains$2(receiver, other, startIndex) {
  35448. var t1 = receiver.length;
  35449. if (startIndex > t1)
  35450. throw A.wrapException(A.RangeError$range(startIndex, 0, t1, null, null));
  35451. return A.stringContainsUnchecked(receiver, other, startIndex);
  35452. },
  35453. contains$1(receiver, other) {
  35454. return this.contains$2(receiver, other, 0);
  35455. },
  35456. compareTo$1(receiver, other) {
  35457. var t1;
  35458. if (receiver === other)
  35459. t1 = 0;
  35460. else
  35461. t1 = receiver < other ? -1 : 1;
  35462. return t1;
  35463. },
  35464. toString$0(receiver) {
  35465. return receiver;
  35466. },
  35467. get$hashCode(receiver) {
  35468. var t1, hash, i;
  35469. for (t1 = receiver.length, hash = 0, i = 0; i < t1; ++i) {
  35470. hash = hash + receiver.charCodeAt(i) & 536870911;
  35471. hash = hash + ((hash & 524287) << 10) & 536870911;
  35472. hash ^= hash >> 6;
  35473. }
  35474. hash = hash + ((hash & 67108863) << 3) & 536870911;
  35475. hash ^= hash >> 11;
  35476. return hash + ((hash & 16383) << 15) & 536870911;
  35477. },
  35478. get$runtimeType(receiver) {
  35479. return A.createRuntimeType(type$.String);
  35480. },
  35481. get$length(receiver) {
  35482. return receiver.length;
  35483. },
  35484. $isTrustedGetRuntimeType: 1,
  35485. $isComparable: 1,
  35486. $isString: 1
  35487. };
  35488. A._CastIterableBase.prototype = {
  35489. get$iterator(_) {
  35490. return new A.CastIterator(J.get$iterator$ax(this.get$_source()), A._instanceType(this)._eval$1("CastIterator<1,2>"));
  35491. },
  35492. get$length(_) {
  35493. return J.get$length$asx(this.get$_source());
  35494. },
  35495. get$isEmpty(_) {
  35496. return J.get$isEmpty$asx(this.get$_source());
  35497. },
  35498. get$isNotEmpty(_) {
  35499. return J.get$isNotEmpty$asx(this.get$_source());
  35500. },
  35501. skip$1(_, count) {
  35502. var t1 = A._instanceType(this);
  35503. return A.CastIterable_CastIterable(J.skip$1$ax(this.get$_source(), count), t1._precomputed1, t1._rest[1]);
  35504. },
  35505. take$1(_, count) {
  35506. var t1 = A._instanceType(this);
  35507. return A.CastIterable_CastIterable(J.take$1$ax(this.get$_source(), count), t1._precomputed1, t1._rest[1]);
  35508. },
  35509. elementAt$1(_, index) {
  35510. return A._instanceType(this)._rest[1]._as(J.elementAt$1$ax(this.get$_source(), index));
  35511. },
  35512. get$first(_) {
  35513. return A._instanceType(this)._rest[1]._as(J.get$first$ax(this.get$_source()));
  35514. },
  35515. get$last(_) {
  35516. return A._instanceType(this)._rest[1]._as(J.get$last$ax(this.get$_source()));
  35517. },
  35518. get$single(_) {
  35519. return A._instanceType(this)._rest[1]._as(J.get$single$ax(this.get$_source()));
  35520. },
  35521. contains$1(_, other) {
  35522. return J.contains$1$asx(this.get$_source(), other);
  35523. },
  35524. toString$0(_) {
  35525. return J.toString$0$(this.get$_source());
  35526. }
  35527. };
  35528. A.CastIterator.prototype = {
  35529. moveNext$0() {
  35530. return this._source.moveNext$0();
  35531. },
  35532. get$current(_) {
  35533. var t1 = this._source;
  35534. return this.$ti._rest[1]._as(t1.get$current(t1));
  35535. }
  35536. };
  35537. A.CastIterable.prototype = {
  35538. get$_source() {
  35539. return this._source;
  35540. }
  35541. };
  35542. A._EfficientLengthCastIterable.prototype = {$isEfficientLengthIterable: 1};
  35543. A._CastListBase.prototype = {
  35544. $index(_, index) {
  35545. return this.$ti._rest[1]._as(J.$index$asx(this._source, index));
  35546. },
  35547. $indexSet(_, index, value) {
  35548. J.$indexSet$ax(this._source, index, this.$ti._precomputed1._as(value));
  35549. },
  35550. set$length(_, $length) {
  35551. J.set$length$asx(this._source, $length);
  35552. },
  35553. add$1(_, value) {
  35554. J.add$1$ax(this._source, this.$ti._precomputed1._as(value));
  35555. },
  35556. addAll$1(_, values) {
  35557. var t1 = this.$ti;
  35558. J.addAll$1$ax(this._source, A.CastIterable_CastIterable(values, t1._rest[1], t1._precomputed1));
  35559. },
  35560. sort$1(_, compare) {
  35561. var t1 = compare == null ? null : new A._CastListBase_sort_closure(this, compare);
  35562. J.sort$1$ax(this._source, t1);
  35563. },
  35564. getRange$2(_, start, end) {
  35565. var t1 = this.$ti;
  35566. return A.CastIterable_CastIterable(J.getRange$2$ax(this._source, start, end), t1._precomputed1, t1._rest[1]);
  35567. },
  35568. setRange$4(_, start, end, iterable, skipCount) {
  35569. var t1 = this.$ti;
  35570. J.setRange$4$ax(this._source, start, end, A.CastIterable_CastIterable(iterable, t1._rest[1], t1._precomputed1), skipCount);
  35571. },
  35572. removeRange$2(_, start, end) {
  35573. J.removeRange$2$ax(this._source, start, end);
  35574. },
  35575. fillRange$3(_, start, end, fillValue) {
  35576. J.fillRange$3$ax(this._source, start, end, this.$ti._precomputed1._as(fillValue));
  35577. },
  35578. $isEfficientLengthIterable: 1,
  35579. $isList: 1
  35580. };
  35581. A._CastListBase_sort_closure.prototype = {
  35582. call$2(v1, v2) {
  35583. var t1 = this.$this.$ti._rest[1];
  35584. return this.compare.call$2(t1._as(v1), t1._as(v2));
  35585. },
  35586. $signature() {
  35587. return this.$this.$ti._eval$1("int(1,1)");
  35588. }
  35589. };
  35590. A.CastList.prototype = {
  35591. cast$1$0(_, $R) {
  35592. return new A.CastList(this._source, this.$ti._eval$1("@<1>")._bind$1($R)._eval$1("CastList<1,2>"));
  35593. },
  35594. get$_source() {
  35595. return this._source;
  35596. }
  35597. };
  35598. A.CastSet.prototype = {
  35599. add$1(_, value) {
  35600. return this._source.add$1(0, this.$ti._precomputed1._as(value));
  35601. },
  35602. addAll$1(_, elements) {
  35603. var t1 = this.$ti;
  35604. this._source.addAll$1(0, A.CastIterable_CastIterable(elements, t1._rest[1], t1._precomputed1));
  35605. },
  35606. difference$1(other) {
  35607. var _this = this;
  35608. if (_this._emptySet != null)
  35609. return _this._conditionalAdd$2(other, false);
  35610. return new A.CastSet(_this._source.difference$1(other), null, _this.$ti);
  35611. },
  35612. _conditionalAdd$2(other, otherContains) {
  35613. var t3, castElement,
  35614. emptySet = this._emptySet,
  35615. t1 = this.$ti,
  35616. t2 = t1._rest[1],
  35617. result = emptySet == null ? A.LinkedHashSet_LinkedHashSet(t2) : emptySet.call$1$0(t2);
  35618. for (t2 = this._source, t2 = t2.get$iterator(t2), t3 = other._source, t1 = t1._rest[1]; t2.moveNext$0();) {
  35619. castElement = t1._as(t2.get$current(t2));
  35620. if (otherContains === t3.contains$1(0, castElement))
  35621. result.add$1(0, castElement);
  35622. }
  35623. return result;
  35624. },
  35625. toSet$0(_) {
  35626. var emptySet = this._emptySet,
  35627. t1 = this.$ti._rest[1],
  35628. result = emptySet == null ? A.LinkedHashSet_LinkedHashSet(t1) : emptySet.call$1$0(t1);
  35629. result.addAll$1(0, this);
  35630. return result;
  35631. },
  35632. $isEfficientLengthIterable: 1,
  35633. $isSet: 1,
  35634. get$_source() {
  35635. return this._source;
  35636. }
  35637. };
  35638. A.CastMap.prototype = {
  35639. cast$2$0(_, RK, RV) {
  35640. return new A.CastMap(this._source, this.$ti._eval$1("@<1,2>")._bind$1(RK)._bind$1(RV)._eval$1("CastMap<1,2,3,4>"));
  35641. },
  35642. containsKey$1(key) {
  35643. return this._source.containsKey$1(key);
  35644. },
  35645. $index(_, key) {
  35646. return this.$ti._eval$1("4?")._as(this._source.$index(0, key));
  35647. },
  35648. $indexSet(_, key, value) {
  35649. var t1 = this.$ti;
  35650. this._source.$indexSet(0, t1._precomputed1._as(key), t1._rest[1]._as(value));
  35651. },
  35652. addAll$1(_, other) {
  35653. this._source.addAll$1(0, new A.CastMap(other, this.$ti._eval$1("CastMap<3,4,1,2>")));
  35654. },
  35655. remove$1(_, key) {
  35656. return this.$ti._eval$1("4?")._as(this._source.remove$1(0, key));
  35657. },
  35658. forEach$1(_, f) {
  35659. this._source.forEach$1(0, new A.CastMap_forEach_closure(this, f));
  35660. },
  35661. get$keys(_) {
  35662. var t1 = this._source,
  35663. t2 = this.$ti;
  35664. return A.CastIterable_CastIterable(t1.get$keys(t1), t2._precomputed1, t2._rest[2]);
  35665. },
  35666. get$values(_) {
  35667. var t1 = this._source,
  35668. t2 = this.$ti;
  35669. return A.CastIterable_CastIterable(t1.get$values(t1), t2._rest[1], t2._rest[3]);
  35670. },
  35671. get$length(_) {
  35672. var t1 = this._source;
  35673. return t1.get$length(t1);
  35674. },
  35675. get$isEmpty(_) {
  35676. var t1 = this._source;
  35677. return t1.get$isEmpty(t1);
  35678. },
  35679. get$isNotEmpty(_) {
  35680. var t1 = this._source;
  35681. return t1.get$isNotEmpty(t1);
  35682. },
  35683. get$entries(_) {
  35684. var t1 = this._source;
  35685. t1 = t1.get$entries(t1);
  35686. return t1.map$1$1(t1, new A.CastMap_entries_closure(this), this.$ti._eval$1("MapEntry<3,4>"));
  35687. }
  35688. };
  35689. A.CastMap_forEach_closure.prototype = {
  35690. call$2(key, value) {
  35691. var t1 = this.$this.$ti;
  35692. this.f.call$2(t1._rest[2]._as(key), t1._rest[3]._as(value));
  35693. },
  35694. $signature() {
  35695. return this.$this.$ti._eval$1("~(1,2)");
  35696. }
  35697. };
  35698. A.CastMap_entries_closure.prototype = {
  35699. call$1(e) {
  35700. var t1 = this.$this.$ti;
  35701. return new A.MapEntry(t1._rest[2]._as(e.key), t1._rest[3]._as(e.value), t1._eval$1("MapEntry<3,4>"));
  35702. },
  35703. $signature() {
  35704. return this.$this.$ti._eval$1("MapEntry<3,4>(MapEntry<1,2>)");
  35705. }
  35706. };
  35707. A.LateError.prototype = {
  35708. toString$0(_) {
  35709. return "LateInitializationError: " + this._message;
  35710. }
  35711. };
  35712. A.CodeUnits.prototype = {
  35713. get$length(_) {
  35714. return this._string.length;
  35715. },
  35716. $index(_, i) {
  35717. return this._string.charCodeAt(i);
  35718. }
  35719. };
  35720. A.nullFuture_closure.prototype = {
  35721. call$0() {
  35722. return A.Future_Future$value(null, type$.void);
  35723. },
  35724. $signature: 32
  35725. };
  35726. A.SentinelValue.prototype = {};
  35727. A.EfficientLengthIterable.prototype = {};
  35728. A.ListIterable.prototype = {
  35729. get$iterator(_) {
  35730. var _this = this;
  35731. return new A.ListIterator(_this, _this.get$length(_this), A._instanceType(_this)._eval$1("ListIterator<ListIterable.E>"));
  35732. },
  35733. get$isEmpty(_) {
  35734. return this.get$length(this) === 0;
  35735. },
  35736. get$first(_) {
  35737. if (this.get$length(this) === 0)
  35738. throw A.wrapException(A.IterableElementError_noElement());
  35739. return this.elementAt$1(0, 0);
  35740. },
  35741. get$last(_) {
  35742. var _this = this;
  35743. if (_this.get$length(_this) === 0)
  35744. throw A.wrapException(A.IterableElementError_noElement());
  35745. return _this.elementAt$1(0, _this.get$length(_this) - 1);
  35746. },
  35747. get$single(_) {
  35748. var _this = this;
  35749. if (_this.get$length(_this) === 0)
  35750. throw A.wrapException(A.IterableElementError_noElement());
  35751. if (_this.get$length(_this) > 1)
  35752. throw A.wrapException(A.IterableElementError_tooMany());
  35753. return _this.elementAt$1(0, 0);
  35754. },
  35755. contains$1(_, element) {
  35756. var i, _this = this,
  35757. $length = _this.get$length(_this);
  35758. for (i = 0; i < $length; ++i) {
  35759. if (J.$eq$(_this.elementAt$1(0, i), element))
  35760. return true;
  35761. if ($length !== _this.get$length(_this))
  35762. throw A.wrapException(A.ConcurrentModificationError$(_this));
  35763. }
  35764. return false;
  35765. },
  35766. every$1(_, test) {
  35767. var i, _this = this,
  35768. $length = _this.get$length(_this);
  35769. for (i = 0; i < $length; ++i) {
  35770. if (!test.call$1(_this.elementAt$1(0, i)))
  35771. return false;
  35772. if ($length !== _this.get$length(_this))
  35773. throw A.wrapException(A.ConcurrentModificationError$(_this));
  35774. }
  35775. return true;
  35776. },
  35777. any$1(_, test) {
  35778. var i, _this = this,
  35779. $length = _this.get$length(_this);
  35780. for (i = 0; i < $length; ++i) {
  35781. if (test.call$1(_this.elementAt$1(0, i)))
  35782. return true;
  35783. if ($length !== _this.get$length(_this))
  35784. throw A.wrapException(A.ConcurrentModificationError$(_this));
  35785. }
  35786. return false;
  35787. },
  35788. join$1(_, separator) {
  35789. var first, t1, i, _this = this,
  35790. $length = _this.get$length(_this);
  35791. if (separator.length !== 0) {
  35792. if ($length === 0)
  35793. return "";
  35794. first = A.S(_this.elementAt$1(0, 0));
  35795. if ($length !== _this.get$length(_this))
  35796. throw A.wrapException(A.ConcurrentModificationError$(_this));
  35797. for (t1 = first, i = 1; i < $length; ++i) {
  35798. t1 = t1 + separator + A.S(_this.elementAt$1(0, i));
  35799. if ($length !== _this.get$length(_this))
  35800. throw A.wrapException(A.ConcurrentModificationError$(_this));
  35801. }
  35802. return t1.charCodeAt(0) == 0 ? t1 : t1;
  35803. } else {
  35804. for (i = 0, t1 = ""; i < $length; ++i) {
  35805. t1 += A.S(_this.elementAt$1(0, i));
  35806. if ($length !== _this.get$length(_this))
  35807. throw A.wrapException(A.ConcurrentModificationError$(_this));
  35808. }
  35809. return t1.charCodeAt(0) == 0 ? t1 : t1;
  35810. }
  35811. },
  35812. join$0(_) {
  35813. return this.join$1(0, "");
  35814. },
  35815. where$1(_, test) {
  35816. return this.super$Iterable$where(0, test);
  35817. },
  35818. map$1$1(_, toElement, $T) {
  35819. return new A.MappedListIterable(this, toElement, A._instanceType(this)._eval$1("@<ListIterable.E>")._bind$1($T)._eval$1("MappedListIterable<1,2>"));
  35820. },
  35821. reduce$1(_, combine) {
  35822. var value, i, _this = this,
  35823. $length = _this.get$length(_this);
  35824. if ($length === 0)
  35825. throw A.wrapException(A.IterableElementError_noElement());
  35826. value = _this.elementAt$1(0, 0);
  35827. for (i = 1; i < $length; ++i) {
  35828. value = combine.call$2(value, _this.elementAt$1(0, i));
  35829. if ($length !== _this.get$length(_this))
  35830. throw A.wrapException(A.ConcurrentModificationError$(_this));
  35831. }
  35832. return value;
  35833. },
  35834. fold$1$2(_, initialValue, combine) {
  35835. var value, i, _this = this,
  35836. $length = _this.get$length(_this);
  35837. for (value = initialValue, i = 0; i < $length; ++i) {
  35838. value = combine.call$2(value, _this.elementAt$1(0, i));
  35839. if ($length !== _this.get$length(_this))
  35840. throw A.wrapException(A.ConcurrentModificationError$(_this));
  35841. }
  35842. return value;
  35843. },
  35844. fold$2(_, initialValue, combine) {
  35845. combine.toString;
  35846. return this.fold$1$2(0, initialValue, combine, type$.dynamic);
  35847. },
  35848. skip$1(_, count) {
  35849. return A.SubListIterable$(this, count, null, A._instanceType(this)._eval$1("ListIterable.E"));
  35850. },
  35851. take$1(_, count) {
  35852. return A.SubListIterable$(this, 0, A.checkNotNullable(count, "count", type$.int), A._instanceType(this)._eval$1("ListIterable.E"));
  35853. },
  35854. toList$1$growable(_, growable) {
  35855. var t1 = A.List_List$_of(this, A._instanceType(this)._eval$1("ListIterable.E"));
  35856. return t1;
  35857. },
  35858. toList$0(_) {
  35859. return this.toList$1$growable(0, true);
  35860. },
  35861. toSet$0(_) {
  35862. var i, _this = this,
  35863. result = A.LinkedHashSet_LinkedHashSet(A._instanceType(_this)._eval$1("ListIterable.E"));
  35864. for (i = 0; i < _this.get$length(_this); ++i)
  35865. result.add$1(0, _this.elementAt$1(0, i));
  35866. return result;
  35867. }
  35868. };
  35869. A.SubListIterable.prototype = {
  35870. SubListIterable$3(_iterable, _start, _endOrLength, $E) {
  35871. var endOrLength,
  35872. t1 = this._start;
  35873. A.RangeError_checkNotNegative(t1, "start");
  35874. endOrLength = this._endOrLength;
  35875. if (endOrLength != null) {
  35876. A.RangeError_checkNotNegative(endOrLength, "end");
  35877. if (t1 > endOrLength)
  35878. throw A.wrapException(A.RangeError$range(t1, 0, endOrLength, "start", null));
  35879. }
  35880. },
  35881. get$_endIndex() {
  35882. var $length = J.get$length$asx(this.__internal$_iterable),
  35883. endOrLength = this._endOrLength;
  35884. if (endOrLength == null || endOrLength > $length)
  35885. return $length;
  35886. return endOrLength;
  35887. },
  35888. get$_startIndex() {
  35889. var $length = J.get$length$asx(this.__internal$_iterable),
  35890. t1 = this._start;
  35891. if (t1 > $length)
  35892. return $length;
  35893. return t1;
  35894. },
  35895. get$length(_) {
  35896. var endOrLength,
  35897. $length = J.get$length$asx(this.__internal$_iterable),
  35898. t1 = this._start;
  35899. if (t1 >= $length)
  35900. return 0;
  35901. endOrLength = this._endOrLength;
  35902. if (endOrLength == null || endOrLength >= $length)
  35903. return $length - t1;
  35904. return endOrLength - t1;
  35905. },
  35906. elementAt$1(_, index) {
  35907. var _this = this,
  35908. realIndex = _this.get$_startIndex() + index;
  35909. if (index < 0 || realIndex >= _this.get$_endIndex())
  35910. throw A.wrapException(A.IndexError$withLength(index, _this.get$length(0), _this, null, "index"));
  35911. return J.elementAt$1$ax(_this.__internal$_iterable, realIndex);
  35912. },
  35913. skip$1(_, count) {
  35914. var newStart, endOrLength, _this = this;
  35915. A.RangeError_checkNotNegative(count, "count");
  35916. newStart = _this._start + count;
  35917. endOrLength = _this._endOrLength;
  35918. if (endOrLength != null && newStart >= endOrLength)
  35919. return new A.EmptyIterable(_this.$ti._eval$1("EmptyIterable<1>"));
  35920. return A.SubListIterable$(_this.__internal$_iterable, newStart, endOrLength, _this.$ti._precomputed1);
  35921. },
  35922. take$1(_, count) {
  35923. var endOrLength, t1, newEnd, _this = this;
  35924. A.RangeError_checkNotNegative(count, "count");
  35925. endOrLength = _this._endOrLength;
  35926. t1 = _this._start;
  35927. newEnd = t1 + count;
  35928. if (endOrLength == null)
  35929. return A.SubListIterable$(_this.__internal$_iterable, t1, newEnd, _this.$ti._precomputed1);
  35930. else {
  35931. if (endOrLength < newEnd)
  35932. return _this;
  35933. return A.SubListIterable$(_this.__internal$_iterable, t1, newEnd, _this.$ti._precomputed1);
  35934. }
  35935. },
  35936. toList$1$growable(_, growable) {
  35937. var $length, result, i, _this = this,
  35938. start = _this._start,
  35939. t1 = _this.__internal$_iterable,
  35940. t2 = J.getInterceptor$asx(t1),
  35941. end = t2.get$length(t1),
  35942. endOrLength = _this._endOrLength;
  35943. if (endOrLength != null && endOrLength < end)
  35944. end = endOrLength;
  35945. $length = end - start;
  35946. if ($length <= 0) {
  35947. t1 = _this.$ti._precomputed1;
  35948. return growable ? J.JSArray_JSArray$growable(0, t1) : J.JSArray_JSArray$fixed(0, t1);
  35949. }
  35950. result = A.List_List$filled($length, t2.elementAt$1(t1, start), growable, _this.$ti._precomputed1);
  35951. for (i = 1; i < $length; ++i) {
  35952. result[i] = t2.elementAt$1(t1, start + i);
  35953. if (t2.get$length(t1) < end)
  35954. throw A.wrapException(A.ConcurrentModificationError$(_this));
  35955. }
  35956. return result;
  35957. },
  35958. toList$0(_) {
  35959. return this.toList$1$growable(0, true);
  35960. }
  35961. };
  35962. A.ListIterator.prototype = {
  35963. get$current(_) {
  35964. var t1 = this.__internal$_current;
  35965. return t1 == null ? this.$ti._precomputed1._as(t1) : t1;
  35966. },
  35967. moveNext$0() {
  35968. var t3, _this = this,
  35969. t1 = _this.__internal$_iterable,
  35970. t2 = J.getInterceptor$asx(t1),
  35971. $length = t2.get$length(t1);
  35972. if (_this.__internal$_length !== $length)
  35973. throw A.wrapException(A.ConcurrentModificationError$(t1));
  35974. t3 = _this.__internal$_index;
  35975. if (t3 >= $length) {
  35976. _this.__internal$_current = null;
  35977. return false;
  35978. }
  35979. _this.__internal$_current = t2.elementAt$1(t1, t3);
  35980. ++_this.__internal$_index;
  35981. return true;
  35982. }
  35983. };
  35984. A.MappedIterable.prototype = {
  35985. get$iterator(_) {
  35986. return new A.MappedIterator(J.get$iterator$ax(this.__internal$_iterable), this._f, A._instanceType(this)._eval$1("MappedIterator<1,2>"));
  35987. },
  35988. get$length(_) {
  35989. return J.get$length$asx(this.__internal$_iterable);
  35990. },
  35991. get$isEmpty(_) {
  35992. return J.get$isEmpty$asx(this.__internal$_iterable);
  35993. },
  35994. get$first(_) {
  35995. return this._f.call$1(J.get$first$ax(this.__internal$_iterable));
  35996. },
  35997. get$last(_) {
  35998. return this._f.call$1(J.get$last$ax(this.__internal$_iterable));
  35999. },
  36000. get$single(_) {
  36001. return this._f.call$1(J.get$single$ax(this.__internal$_iterable));
  36002. },
  36003. elementAt$1(_, index) {
  36004. return this._f.call$1(J.elementAt$1$ax(this.__internal$_iterable, index));
  36005. }
  36006. };
  36007. A.EfficientLengthMappedIterable.prototype = {$isEfficientLengthIterable: 1};
  36008. A.MappedIterator.prototype = {
  36009. moveNext$0() {
  36010. var _this = this,
  36011. t1 = _this._iterator;
  36012. if (t1.moveNext$0()) {
  36013. _this.__internal$_current = _this._f.call$1(t1.get$current(t1));
  36014. return true;
  36015. }
  36016. _this.__internal$_current = null;
  36017. return false;
  36018. },
  36019. get$current(_) {
  36020. var t1 = this.__internal$_current;
  36021. return t1 == null ? this.$ti._rest[1]._as(t1) : t1;
  36022. }
  36023. };
  36024. A.MappedListIterable.prototype = {
  36025. get$length(_) {
  36026. return J.get$length$asx(this._source);
  36027. },
  36028. elementAt$1(_, index) {
  36029. return this._f.call$1(J.elementAt$1$ax(this._source, index));
  36030. }
  36031. };
  36032. A.WhereIterable.prototype = {
  36033. get$iterator(_) {
  36034. return new A.WhereIterator(J.get$iterator$ax(this.__internal$_iterable), this._f);
  36035. },
  36036. map$1$1(_, toElement, $T) {
  36037. return new A.MappedIterable(this, toElement, this.$ti._eval$1("@<1>")._bind$1($T)._eval$1("MappedIterable<1,2>"));
  36038. }
  36039. };
  36040. A.WhereIterator.prototype = {
  36041. moveNext$0() {
  36042. var t1, t2;
  36043. for (t1 = this._iterator, t2 = this._f; t1.moveNext$0();)
  36044. if (t2.call$1(t1.get$current(t1)))
  36045. return true;
  36046. return false;
  36047. },
  36048. get$current(_) {
  36049. var t1 = this._iterator;
  36050. return t1.get$current(t1);
  36051. }
  36052. };
  36053. A.ExpandIterable.prototype = {
  36054. get$iterator(_) {
  36055. return new A.ExpandIterator(J.get$iterator$ax(this.__internal$_iterable), this._f, B.C_EmptyIterator, this.$ti._eval$1("ExpandIterator<1,2>"));
  36056. }
  36057. };
  36058. A.ExpandIterator.prototype = {
  36059. get$current(_) {
  36060. var t1 = this.__internal$_current;
  36061. return t1 == null ? this.$ti._rest[1]._as(t1) : t1;
  36062. },
  36063. moveNext$0() {
  36064. var t2, t3, _this = this,
  36065. t1 = _this._currentExpansion;
  36066. if (t1 == null)
  36067. return false;
  36068. for (t2 = _this._iterator, t3 = _this._f; !t1.moveNext$0();) {
  36069. _this.__internal$_current = null;
  36070. if (t2.moveNext$0()) {
  36071. _this._currentExpansion = null;
  36072. t1 = J.get$iterator$ax(t3.call$1(t2.get$current(t2)));
  36073. _this._currentExpansion = t1;
  36074. } else
  36075. return false;
  36076. }
  36077. t1 = _this._currentExpansion;
  36078. _this.__internal$_current = t1.get$current(t1);
  36079. return true;
  36080. }
  36081. };
  36082. A.TakeIterable.prototype = {
  36083. get$iterator(_) {
  36084. return new A.TakeIterator(J.get$iterator$ax(this.__internal$_iterable), this._takeCount, A._instanceType(this)._eval$1("TakeIterator<1>"));
  36085. }
  36086. };
  36087. A.EfficientLengthTakeIterable.prototype = {
  36088. get$length(_) {
  36089. var iterableLength = J.get$length$asx(this.__internal$_iterable),
  36090. t1 = this._takeCount;
  36091. if (iterableLength > t1)
  36092. return t1;
  36093. return iterableLength;
  36094. },
  36095. $isEfficientLengthIterable: 1
  36096. };
  36097. A.TakeIterator.prototype = {
  36098. moveNext$0() {
  36099. if (--this._remaining >= 0)
  36100. return this._iterator.moveNext$0();
  36101. this._remaining = -1;
  36102. return false;
  36103. },
  36104. get$current(_) {
  36105. var t1;
  36106. if (this._remaining < 0) {
  36107. this.$ti._precomputed1._as(null);
  36108. return null;
  36109. }
  36110. t1 = this._iterator;
  36111. return t1.get$current(t1);
  36112. }
  36113. };
  36114. A.SkipIterable.prototype = {
  36115. skip$1(_, count) {
  36116. A.ArgumentError_checkNotNull(count, "count");
  36117. A.RangeError_checkNotNegative(count, "count");
  36118. return new A.SkipIterable(this.__internal$_iterable, this._skipCount + count, A._instanceType(this)._eval$1("SkipIterable<1>"));
  36119. },
  36120. get$iterator(_) {
  36121. return new A.SkipIterator(J.get$iterator$ax(this.__internal$_iterable), this._skipCount);
  36122. }
  36123. };
  36124. A.EfficientLengthSkipIterable.prototype = {
  36125. get$length(_) {
  36126. var $length = J.get$length$asx(this.__internal$_iterable) - this._skipCount;
  36127. if ($length >= 0)
  36128. return $length;
  36129. return 0;
  36130. },
  36131. skip$1(_, count) {
  36132. A.ArgumentError_checkNotNull(count, "count");
  36133. A.RangeError_checkNotNegative(count, "count");
  36134. return new A.EfficientLengthSkipIterable(this.__internal$_iterable, this._skipCount + count, this.$ti);
  36135. },
  36136. $isEfficientLengthIterable: 1
  36137. };
  36138. A.SkipIterator.prototype = {
  36139. moveNext$0() {
  36140. var t1, i;
  36141. for (t1 = this._iterator, i = 0; i < this._skipCount; ++i)
  36142. t1.moveNext$0();
  36143. this._skipCount = 0;
  36144. return t1.moveNext$0();
  36145. },
  36146. get$current(_) {
  36147. var t1 = this._iterator;
  36148. return t1.get$current(t1);
  36149. }
  36150. };
  36151. A.SkipWhileIterable.prototype = {
  36152. get$iterator(_) {
  36153. return new A.SkipWhileIterator(J.get$iterator$ax(this.__internal$_iterable), this._f);
  36154. }
  36155. };
  36156. A.SkipWhileIterator.prototype = {
  36157. moveNext$0() {
  36158. var t1, t2, _this = this;
  36159. if (!_this._hasSkipped) {
  36160. _this._hasSkipped = true;
  36161. for (t1 = _this._iterator, t2 = _this._f; t1.moveNext$0();)
  36162. if (!t2.call$1(t1.get$current(t1)))
  36163. return true;
  36164. }
  36165. return _this._iterator.moveNext$0();
  36166. },
  36167. get$current(_) {
  36168. var t1 = this._iterator;
  36169. return t1.get$current(t1);
  36170. }
  36171. };
  36172. A.EmptyIterable.prototype = {
  36173. get$iterator(_) {
  36174. return B.C_EmptyIterator;
  36175. },
  36176. get$isEmpty(_) {
  36177. return true;
  36178. },
  36179. get$length(_) {
  36180. return 0;
  36181. },
  36182. get$first(_) {
  36183. throw A.wrapException(A.IterableElementError_noElement());
  36184. },
  36185. get$last(_) {
  36186. throw A.wrapException(A.IterableElementError_noElement());
  36187. },
  36188. get$single(_) {
  36189. throw A.wrapException(A.IterableElementError_noElement());
  36190. },
  36191. elementAt$1(_, index) {
  36192. throw A.wrapException(A.RangeError$range(index, 0, 0, "index", null));
  36193. },
  36194. contains$1(_, element) {
  36195. return false;
  36196. },
  36197. every$1(_, test) {
  36198. return true;
  36199. },
  36200. any$1(_, test) {
  36201. return false;
  36202. },
  36203. join$1(_, separator) {
  36204. return "";
  36205. },
  36206. where$1(_, test) {
  36207. return this;
  36208. },
  36209. map$1$1(_, toElement, $T) {
  36210. return new A.EmptyIterable($T._eval$1("EmptyIterable<0>"));
  36211. },
  36212. skip$1(_, count) {
  36213. A.RangeError_checkNotNegative(count, "count");
  36214. return this;
  36215. },
  36216. take$1(_, count) {
  36217. A.RangeError_checkNotNegative(count, "count");
  36218. return this;
  36219. },
  36220. toList$1$growable(_, growable) {
  36221. var t1 = J.JSArray_JSArray$growable(0, this.$ti._precomputed1);
  36222. return t1;
  36223. },
  36224. toList$0(_) {
  36225. return this.toList$1$growable(0, true);
  36226. },
  36227. toSet$0(_) {
  36228. return A.LinkedHashSet_LinkedHashSet(this.$ti._precomputed1);
  36229. }
  36230. };
  36231. A.EmptyIterator.prototype = {
  36232. moveNext$0() {
  36233. return false;
  36234. },
  36235. get$current(_) {
  36236. throw A.wrapException(A.IterableElementError_noElement());
  36237. }
  36238. };
  36239. A.FollowedByIterable.prototype = {
  36240. get$iterator(_) {
  36241. return new A.FollowedByIterator(J.get$iterator$ax(this.__internal$_first), this._second);
  36242. },
  36243. get$length(_) {
  36244. var t1 = this._second;
  36245. return J.get$length$asx(this.__internal$_first) + t1.get$length(t1);
  36246. },
  36247. get$isEmpty(_) {
  36248. var t1;
  36249. if (J.get$isEmpty$asx(this.__internal$_first)) {
  36250. t1 = this._second;
  36251. t1 = t1.get$isEmpty(t1);
  36252. } else
  36253. t1 = false;
  36254. return t1;
  36255. },
  36256. get$isNotEmpty(_) {
  36257. var t1;
  36258. if (!J.get$isNotEmpty$asx(this.__internal$_first)) {
  36259. t1 = this._second;
  36260. t1 = t1.get$isNotEmpty(t1);
  36261. } else
  36262. t1 = true;
  36263. return t1;
  36264. },
  36265. contains$1(_, value) {
  36266. var t1;
  36267. if (!J.contains$1$asx(this.__internal$_first, value)) {
  36268. t1 = this._second;
  36269. t1 = t1.contains$1(t1, value);
  36270. } else
  36271. t1 = true;
  36272. return t1;
  36273. },
  36274. get$first(_) {
  36275. var t1,
  36276. iterator = J.get$iterator$ax(this.__internal$_first);
  36277. if (iterator.moveNext$0())
  36278. return iterator.get$current(iterator);
  36279. t1 = this._second;
  36280. return t1.get$first(t1);
  36281. },
  36282. get$last(_) {
  36283. var last,
  36284. t1 = this._second,
  36285. iterator = t1.get$iterator(t1);
  36286. if (iterator.moveNext$0()) {
  36287. last = iterator.get$current(iterator);
  36288. for (; iterator.moveNext$0();)
  36289. last = iterator.get$current(iterator);
  36290. return last;
  36291. }
  36292. return J.get$last$ax(this.__internal$_first);
  36293. }
  36294. };
  36295. A.EfficientLengthFollowedByIterable.prototype = {
  36296. elementAt$1(_, index) {
  36297. var t1 = this.__internal$_first,
  36298. t2 = J.getInterceptor$asx(t1),
  36299. firstLength = t2.get$length(t1);
  36300. if (index < firstLength)
  36301. return t2.elementAt$1(t1, index);
  36302. t1 = this._second;
  36303. return t1.elementAt$1(t1, index - firstLength);
  36304. },
  36305. get$first(_) {
  36306. var t1 = this.__internal$_first,
  36307. t2 = J.getInterceptor$asx(t1);
  36308. if (t2.get$isNotEmpty(t1))
  36309. return t2.get$first(t1);
  36310. t1 = this._second;
  36311. return t1.get$first(t1);
  36312. },
  36313. get$last(_) {
  36314. var t1 = this._second;
  36315. if (t1.get$isNotEmpty(t1))
  36316. return t1.get$last(t1);
  36317. return J.get$last$ax(this.__internal$_first);
  36318. },
  36319. $isEfficientLengthIterable: 1
  36320. };
  36321. A.FollowedByIterator.prototype = {
  36322. moveNext$0() {
  36323. var t1, _this = this;
  36324. if (_this._currentIterator.moveNext$0())
  36325. return true;
  36326. t1 = _this._nextIterable;
  36327. if (t1 != null) {
  36328. t1 = t1.get$iterator(t1);
  36329. _this._currentIterator = t1;
  36330. _this._nextIterable = null;
  36331. return t1.moveNext$0();
  36332. }
  36333. return false;
  36334. },
  36335. get$current(_) {
  36336. var t1 = this._currentIterator;
  36337. return t1.get$current(t1);
  36338. }
  36339. };
  36340. A.WhereTypeIterable.prototype = {
  36341. get$iterator(_) {
  36342. return new A.WhereTypeIterator(J.get$iterator$ax(this._source), this.$ti._eval$1("WhereTypeIterator<1>"));
  36343. }
  36344. };
  36345. A.WhereTypeIterator.prototype = {
  36346. moveNext$0() {
  36347. var t1, t2;
  36348. for (t1 = this._source, t2 = this.$ti._precomputed1; t1.moveNext$0();)
  36349. if (t2._is(t1.get$current(t1)))
  36350. return true;
  36351. return false;
  36352. },
  36353. get$current(_) {
  36354. var t1 = this._source;
  36355. return this.$ti._precomputed1._as(t1.get$current(t1));
  36356. }
  36357. };
  36358. A.NonNullsIterable.prototype = {
  36359. get$_firstNonNull() {
  36360. var t1, element;
  36361. for (t1 = J.get$iterator$ax(this._source); t1.moveNext$0();) {
  36362. element = t1.get$current(t1);
  36363. if (element != null)
  36364. return element;
  36365. }
  36366. return null;
  36367. },
  36368. get$isEmpty(_) {
  36369. return this.get$_firstNonNull() == null;
  36370. },
  36371. get$isNotEmpty(_) {
  36372. return this.get$_firstNonNull() != null;
  36373. },
  36374. get$first(_) {
  36375. var t1 = this.get$_firstNonNull();
  36376. return t1 == null ? A.throwExpression(A.IterableElementError_noElement()) : t1;
  36377. },
  36378. get$iterator(_) {
  36379. return new A.NonNullsIterator(J.get$iterator$ax(this._source));
  36380. }
  36381. };
  36382. A.NonNullsIterator.prototype = {
  36383. moveNext$0() {
  36384. var t1, next;
  36385. this.__internal$_current = null;
  36386. for (t1 = this._source; t1.moveNext$0();) {
  36387. next = t1.get$current(t1);
  36388. if (next != null) {
  36389. this.__internal$_current = next;
  36390. return true;
  36391. }
  36392. }
  36393. return false;
  36394. },
  36395. get$current(_) {
  36396. var t1 = this.__internal$_current;
  36397. return t1 == null ? A.throwExpression(A.IterableElementError_noElement()) : t1;
  36398. }
  36399. };
  36400. A.FixedLengthListMixin.prototype = {
  36401. set$length(receiver, newLength) {
  36402. throw A.wrapException(A.UnsupportedError$("Cannot change the length of a fixed-length list"));
  36403. },
  36404. add$1(receiver, value) {
  36405. throw A.wrapException(A.UnsupportedError$("Cannot add to a fixed-length list"));
  36406. },
  36407. addAll$1(receiver, iterable) {
  36408. throw A.wrapException(A.UnsupportedError$("Cannot add to a fixed-length list"));
  36409. },
  36410. removeRange$2(receiver, start, end) {
  36411. throw A.wrapException(A.UnsupportedError$("Cannot remove from a fixed-length list"));
  36412. }
  36413. };
  36414. A.UnmodifiableListMixin.prototype = {
  36415. $indexSet(_, index, value) {
  36416. throw A.wrapException(A.UnsupportedError$("Cannot modify an unmodifiable list"));
  36417. },
  36418. set$length(_, newLength) {
  36419. throw A.wrapException(A.UnsupportedError$("Cannot change the length of an unmodifiable list"));
  36420. },
  36421. add$1(_, value) {
  36422. throw A.wrapException(A.UnsupportedError$("Cannot add to an unmodifiable list"));
  36423. },
  36424. addAll$1(_, iterable) {
  36425. throw A.wrapException(A.UnsupportedError$("Cannot add to an unmodifiable list"));
  36426. },
  36427. sort$1(_, compare) {
  36428. throw A.wrapException(A.UnsupportedError$("Cannot modify an unmodifiable list"));
  36429. },
  36430. setRange$4(_, start, end, iterable, skipCount) {
  36431. throw A.wrapException(A.UnsupportedError$("Cannot modify an unmodifiable list"));
  36432. },
  36433. removeRange$2(_, start, end) {
  36434. throw A.wrapException(A.UnsupportedError$("Cannot remove from an unmodifiable list"));
  36435. },
  36436. fillRange$3(_, start, end, fillValue) {
  36437. throw A.wrapException(A.UnsupportedError$("Cannot modify an unmodifiable list"));
  36438. }
  36439. };
  36440. A.UnmodifiableListBase.prototype = {};
  36441. A.ReversedListIterable.prototype = {
  36442. get$length(_) {
  36443. return J.get$length$asx(this._source);
  36444. },
  36445. elementAt$1(_, index) {
  36446. var t1 = this._source,
  36447. t2 = J.getInterceptor$asx(t1);
  36448. return t2.elementAt$1(t1, t2.get$length(t1) - 1 - index);
  36449. }
  36450. };
  36451. A.Symbol.prototype = {
  36452. get$hashCode(_) {
  36453. var hash = this._hashCode;
  36454. if (hash != null)
  36455. return hash;
  36456. hash = 664597 * B.JSString_methods.get$hashCode(this.__internal$_name) & 536870911;
  36457. this._hashCode = hash;
  36458. return hash;
  36459. },
  36460. toString$0(_) {
  36461. return 'Symbol("' + this.__internal$_name + '")';
  36462. },
  36463. $eq(_, other) {
  36464. if (other == null)
  36465. return false;
  36466. return other instanceof A.Symbol && this.__internal$_name === other.__internal$_name;
  36467. },
  36468. $isSymbol0: 1
  36469. };
  36470. A.__CastListBase__CastIterableBase_ListMixin.prototype = {};
  36471. A._Record_1.prototype = {$recipe: "+(1)", $shape: 1};
  36472. A._Record_2.prototype = {$recipe: "+(1,2)", $shape: 2};
  36473. A._Record_2_forImport.prototype = {$recipe: "+forImport(1,2)", $shape: 3};
  36474. A._Record_2_imports_modules.prototype = {$recipe: "+imports,modules(1,2)", $shape: 5};
  36475. A._Record_2_loadedUrls_stylesheet.prototype = {$recipe: "+loadedUrls,stylesheet(1,2)", $shape: 6};
  36476. A._Record_2_sourceMap.prototype = {$recipe: "+sourceMap(1,2)", $shape: 4};
  36477. A._Record_3.prototype = {$recipe: "+(1,2,3)", $shape: 7};
  36478. A._Record_3_deprecation_message_span.prototype = {
  36479. get$message(_) {
  36480. return this._1;
  36481. },
  36482. $recipe: "+deprecation,message,span(1,2,3)",
  36483. $shape: 11
  36484. };
  36485. A._Record_3_forImport.prototype = {$recipe: "+forImport(1,2,3)", $shape: 8};
  36486. A._Record_3_importer_isDependency.prototype = {$recipe: "+importer,isDependency(1,2,3)", $shape: 10};
  36487. A._Record_3_originalUrl.prototype = {$recipe: "+originalUrl(1,2,3)", $shape: 9};
  36488. A._Record_5_named_namedNodes_positional_positionalNodes_separator.prototype = {$recipe: "+named,namedNodes,positional,positionalNodes,separator(1,2,3,4,5)", $shape: 13};
  36489. A.ConstantMapView.prototype = {};
  36490. A.ConstantMap.prototype = {
  36491. cast$2$0(_, RK, RV) {
  36492. var t1 = A._instanceType(this);
  36493. return A.Map_castFrom(this, t1._precomputed1, t1._rest[1], RK, RV);
  36494. },
  36495. get$isEmpty(_) {
  36496. return this.get$length(this) === 0;
  36497. },
  36498. get$isNotEmpty(_) {
  36499. return this.get$length(this) !== 0;
  36500. },
  36501. toString$0(_) {
  36502. return A.MapBase_mapToString(this);
  36503. },
  36504. $indexSet(_, key, value) {
  36505. A.ConstantMap__throwUnmodifiable();
  36506. },
  36507. remove$1(_, key) {
  36508. A.ConstantMap__throwUnmodifiable();
  36509. },
  36510. addAll$1(_, other) {
  36511. A.ConstantMap__throwUnmodifiable();
  36512. },
  36513. get$entries(_) {
  36514. return new A._SyncStarIterable(this.entries$body$ConstantMap(0), A._instanceType(this)._eval$1("_SyncStarIterable<MapEntry<1,2>>"));
  36515. },
  36516. entries$body$ConstantMap($async$_) {
  36517. var $async$self = this;
  36518. return function() {
  36519. var _ = $async$_;
  36520. var $async$goto = 0, $async$handler = 1, $async$errorStack = [], t1, t2, key;
  36521. return function $async$get$entries($async$iterator, $async$errorCode, $async$result) {
  36522. if ($async$errorCode === 1) {
  36523. $async$errorStack.push($async$result);
  36524. $async$goto = $async$handler;
  36525. }
  36526. while (true)
  36527. switch ($async$goto) {
  36528. case 0:
  36529. // Function start
  36530. t1 = $async$self.get$keys($async$self), t1 = t1.get$iterator(t1), t2 = A._instanceType($async$self)._eval$1("MapEntry<1,2>");
  36531. case 2:
  36532. // for condition
  36533. if (!t1.moveNext$0()) {
  36534. // goto after for
  36535. $async$goto = 3;
  36536. break;
  36537. }
  36538. key = t1.get$current(t1);
  36539. $async$goto = 4;
  36540. return $async$iterator._async$_current = new A.MapEntry(key, $async$self.$index(0, key), t2), 1;
  36541. case 4:
  36542. // after yield
  36543. // goto for condition
  36544. $async$goto = 2;
  36545. break;
  36546. case 3:
  36547. // after for
  36548. // implicit return
  36549. return 0;
  36550. case 1:
  36551. // rethrow
  36552. return $async$iterator._datum = $async$errorStack.at(-1), 3;
  36553. }
  36554. };
  36555. };
  36556. },
  36557. $isMap: 1
  36558. };
  36559. A.ConstantStringMap.prototype = {
  36560. get$length(_) {
  36561. return this._values.length;
  36562. },
  36563. get$_keys() {
  36564. var keys = this.$keys;
  36565. if (keys == null) {
  36566. keys = Object.keys(this._jsIndex);
  36567. this.$keys = keys;
  36568. }
  36569. return keys;
  36570. },
  36571. containsKey$1(key) {
  36572. if (typeof key != "string")
  36573. return false;
  36574. if ("__proto__" === key)
  36575. return false;
  36576. return this._jsIndex.hasOwnProperty(key);
  36577. },
  36578. $index(_, key) {
  36579. if (!this.containsKey$1(key))
  36580. return null;
  36581. return this._values[this._jsIndex[key]];
  36582. },
  36583. forEach$1(_, f) {
  36584. var t1, i,
  36585. keys = this.get$_keys(),
  36586. values = this._values;
  36587. for (t1 = keys.length, i = 0; i < t1; ++i)
  36588. f.call$2(keys[i], values[i]);
  36589. },
  36590. get$keys(_) {
  36591. return new A._KeysOrValues(this.get$_keys(), this.$ti._eval$1("_KeysOrValues<1>"));
  36592. },
  36593. get$values(_) {
  36594. return new A._KeysOrValues(this._values, this.$ti._eval$1("_KeysOrValues<2>"));
  36595. }
  36596. };
  36597. A._KeysOrValues.prototype = {
  36598. get$length(_) {
  36599. return this._elements.length;
  36600. },
  36601. get$isEmpty(_) {
  36602. return 0 === this._elements.length;
  36603. },
  36604. get$isNotEmpty(_) {
  36605. return 0 !== this._elements.length;
  36606. },
  36607. get$iterator(_) {
  36608. var t1 = this._elements;
  36609. return new A._KeysOrValuesOrElementsIterator(t1, t1.length, this.$ti._eval$1("_KeysOrValuesOrElementsIterator<1>"));
  36610. }
  36611. };
  36612. A._KeysOrValuesOrElementsIterator.prototype = {
  36613. get$current(_) {
  36614. var t1 = this.__js_helper$_current;
  36615. return t1 == null ? this.$ti._precomputed1._as(t1) : t1;
  36616. },
  36617. moveNext$0() {
  36618. var _this = this,
  36619. t1 = _this.__js_helper$_index;
  36620. if (t1 >= _this.__js_helper$_length) {
  36621. _this.__js_helper$_current = null;
  36622. return false;
  36623. }
  36624. _this.__js_helper$_current = _this._elements[t1];
  36625. _this.__js_helper$_index = t1 + 1;
  36626. return true;
  36627. }
  36628. };
  36629. A.ConstantSet.prototype = {
  36630. add$1(_, value) {
  36631. A.ConstantSet__throwUnmodifiable();
  36632. },
  36633. addAll$1(_, elements) {
  36634. A.ConstantSet__throwUnmodifiable();
  36635. },
  36636. remove$1(_, value) {
  36637. A.ConstantSet__throwUnmodifiable();
  36638. }
  36639. };
  36640. A.ConstantStringSet.prototype = {
  36641. get$length(_) {
  36642. return this.__js_helper$_length;
  36643. },
  36644. get$isEmpty(_) {
  36645. return this.__js_helper$_length === 0;
  36646. },
  36647. get$isNotEmpty(_) {
  36648. return this.__js_helper$_length !== 0;
  36649. },
  36650. get$iterator(_) {
  36651. var t1, _this = this,
  36652. keys = _this.$keys;
  36653. if (keys == null) {
  36654. keys = Object.keys(_this._jsIndex);
  36655. _this.$keys = keys;
  36656. }
  36657. t1 = keys;
  36658. return new A._KeysOrValuesOrElementsIterator(t1, t1.length, _this.$ti._eval$1("_KeysOrValuesOrElementsIterator<1>"));
  36659. },
  36660. contains$1(_, key) {
  36661. if (typeof key != "string")
  36662. return false;
  36663. if ("__proto__" === key)
  36664. return false;
  36665. return this._jsIndex.hasOwnProperty(key);
  36666. },
  36667. toSet$0(_) {
  36668. return A.LinkedHashSet_LinkedHashSet$of(this, this.$ti._precomputed1);
  36669. }
  36670. };
  36671. A.GeneralConstantSet.prototype = {
  36672. get$length(_) {
  36673. return this._elements.length;
  36674. },
  36675. get$isEmpty(_) {
  36676. return this._elements.length === 0;
  36677. },
  36678. get$isNotEmpty(_) {
  36679. return this._elements.length !== 0;
  36680. },
  36681. get$iterator(_) {
  36682. var t1 = this._elements;
  36683. return new A._KeysOrValuesOrElementsIterator(t1, t1.length, this.$ti._eval$1("_KeysOrValuesOrElementsIterator<1>"));
  36684. },
  36685. _getMap$0() {
  36686. var t1, t2, _i, key, _this = this,
  36687. backingMap = _this.$map;
  36688. if (backingMap == null) {
  36689. backingMap = new A.JsConstantLinkedHashMap(_this.$ti._eval$1("JsConstantLinkedHashMap<1,1>"));
  36690. for (t1 = _this._elements, t2 = t1.length, _i = 0; _i < t1.length; t1.length === t2 || (0, A.throwConcurrentModificationError)(t1), ++_i) {
  36691. key = t1[_i];
  36692. backingMap.$indexSet(0, key, key);
  36693. }
  36694. _this.$map = backingMap;
  36695. }
  36696. return backingMap;
  36697. },
  36698. contains$1(_, key) {
  36699. return this._getMap$0().containsKey$1(key);
  36700. },
  36701. toSet$0(_) {
  36702. return A.LinkedHashSet_LinkedHashSet$of(this, this.$ti._precomputed1);
  36703. }
  36704. };
  36705. A.Instantiation.prototype = {
  36706. Instantiation$1(_genericClosure) {
  36707. if (false)
  36708. A.instantiatedGenericFunctionType(0, 0);
  36709. },
  36710. $eq(_, other) {
  36711. if (other == null)
  36712. return false;
  36713. return other instanceof A.Instantiation1 && this._genericClosure.$eq(0, other._genericClosure) && A.getRuntimeTypeOfClosure(this) === A.getRuntimeTypeOfClosure(other);
  36714. },
  36715. get$hashCode(_) {
  36716. return A.Object_hash(this._genericClosure, A.getRuntimeTypeOfClosure(this), B.C_SentinelValue, B.C_SentinelValue);
  36717. },
  36718. toString$0(_) {
  36719. var t1 = B.JSArray_methods.join$1([A.createRuntimeType(this.$ti._precomputed1)], ", ");
  36720. return this._genericClosure.toString$0(0) + " with " + ("<" + t1 + ">");
  36721. }
  36722. };
  36723. A.Instantiation1.prototype = {
  36724. call$0() {
  36725. return this._genericClosure.call$1$0(this.$ti._rest[0]);
  36726. },
  36727. call$2(a0, a1) {
  36728. return this._genericClosure.call$1$2(a0, a1, this.$ti._rest[0]);
  36729. },
  36730. call$3(a0, a1, a2) {
  36731. return this._genericClosure.call$1$3(a0, a1, a2, this.$ti._rest[0]);
  36732. },
  36733. call$4(a0, a1, a2, a3) {
  36734. return this._genericClosure.call$1$4(a0, a1, a2, a3, this.$ti._rest[0]);
  36735. },
  36736. $signature() {
  36737. return A.instantiatedGenericFunctionType(A.closureFunctionType(this._genericClosure), this.$ti);
  36738. }
  36739. };
  36740. A.JSInvocationMirror.prototype = {
  36741. get$memberName() {
  36742. var t1 = this.__js_helper$_memberName;
  36743. if (t1 instanceof A.Symbol)
  36744. return t1;
  36745. return this.__js_helper$_memberName = new A.Symbol(t1);
  36746. },
  36747. get$positionalArguments() {
  36748. var t1, t2, argumentCount, list, index, _this = this;
  36749. if (_this.__js_helper$_kind === 1)
  36750. return B.List_empty6;
  36751. t1 = _this._arguments;
  36752. t2 = J.getInterceptor$asx(t1);
  36753. argumentCount = t2.get$length(t1) - J.get$length$asx(_this._namedArgumentNames) - _this._typeArgumentCount;
  36754. if (argumentCount === 0)
  36755. return B.List_empty6;
  36756. list = [];
  36757. for (index = 0; index < argumentCount; ++index)
  36758. list.push(t2.$index(t1, index));
  36759. list.$flags = 3;
  36760. return list;
  36761. },
  36762. get$namedArguments() {
  36763. var t1, t2, namedArgumentCount, t3, t4, namedArgumentsStartIndex, map, i, _this = this;
  36764. if (_this.__js_helper$_kind !== 0)
  36765. return B.Map_empty2;
  36766. t1 = _this._namedArgumentNames;
  36767. t2 = J.getInterceptor$asx(t1);
  36768. namedArgumentCount = t2.get$length(t1);
  36769. t3 = _this._arguments;
  36770. t4 = J.getInterceptor$asx(t3);
  36771. namedArgumentsStartIndex = t4.get$length(t3) - namedArgumentCount - _this._typeArgumentCount;
  36772. if (namedArgumentCount === 0)
  36773. return B.Map_empty2;
  36774. map = new A.JsLinkedHashMap(type$.JsLinkedHashMap_Symbol_dynamic);
  36775. for (i = 0; i < namedArgumentCount; ++i)
  36776. map.$indexSet(0, new A.Symbol(t2.$index(t1, i)), t4.$index(t3, namedArgumentsStartIndex + i));
  36777. return new A.ConstantMapView(map, type$.ConstantMapView_Symbol_dynamic);
  36778. }
  36779. };
  36780. A.Primitives_functionNoSuchMethod_closure.prototype = {
  36781. call$2($name, argument) {
  36782. var t1 = this._box_0;
  36783. t1.names = t1.names + "$" + $name;
  36784. this.namedArgumentList.push($name);
  36785. this.$arguments.push(argument);
  36786. ++t1.argumentCount;
  36787. },
  36788. $signature: 139
  36789. };
  36790. A.TypeErrorDecoder.prototype = {
  36791. matchTypeError$1(message) {
  36792. var result, t1, _this = this,
  36793. match = new RegExp(_this._pattern).exec(message);
  36794. if (match == null)
  36795. return null;
  36796. result = Object.create(null);
  36797. t1 = _this._arguments;
  36798. if (t1 !== -1)
  36799. result.arguments = match[t1 + 1];
  36800. t1 = _this._argumentsExpr;
  36801. if (t1 !== -1)
  36802. result.argumentsExpr = match[t1 + 1];
  36803. t1 = _this._expr;
  36804. if (t1 !== -1)
  36805. result.expr = match[t1 + 1];
  36806. t1 = _this._method;
  36807. if (t1 !== -1)
  36808. result.method = match[t1 + 1];
  36809. t1 = _this._receiver;
  36810. if (t1 !== -1)
  36811. result.receiver = match[t1 + 1];
  36812. return result;
  36813. }
  36814. };
  36815. A.NullError.prototype = {
  36816. toString$0(_) {
  36817. return "Null check operator used on a null value";
  36818. }
  36819. };
  36820. A.JsNoSuchMethodError.prototype = {
  36821. toString$0(_) {
  36822. var t2, _this = this,
  36823. _s38_ = "NoSuchMethodError: method not found: '",
  36824. t1 = _this._method;
  36825. if (t1 == null)
  36826. return "NoSuchMethodError: " + _this.__js_helper$_message;
  36827. t2 = _this._receiver;
  36828. if (t2 == null)
  36829. return _s38_ + t1 + "' (" + _this.__js_helper$_message + ")";
  36830. return _s38_ + t1 + "' on '" + t2 + "' (" + _this.__js_helper$_message + ")";
  36831. }
  36832. };
  36833. A.UnknownJsTypeError.prototype = {
  36834. toString$0(_) {
  36835. var t1 = this.__js_helper$_message;
  36836. return t1.length === 0 ? "Error" : "Error: " + t1;
  36837. }
  36838. };
  36839. A.NullThrownFromJavaScriptException.prototype = {
  36840. toString$0(_) {
  36841. return "Throw of null ('" + (this._irritant === null ? "null" : "undefined") + "' from JavaScript)";
  36842. },
  36843. $isException: 1
  36844. };
  36845. A.ExceptionAndStackTrace.prototype = {};
  36846. A._StackTrace.prototype = {
  36847. toString$0(_) {
  36848. var trace,
  36849. t1 = this._trace;
  36850. if (t1 != null)
  36851. return t1;
  36852. t1 = this._exception;
  36853. trace = t1 !== null && typeof t1 === "object" ? t1.stack : null;
  36854. return this._trace = trace == null ? "" : trace;
  36855. },
  36856. $isStackTrace: 1
  36857. };
  36858. A.Closure.prototype = {
  36859. toString$0(_) {
  36860. var $constructor = this.constructor,
  36861. $name = $constructor == null ? null : $constructor.name;
  36862. return "Closure '" + A.unminifyOrTag($name == null ? "unknown" : $name) + "'";
  36863. },
  36864. $isFunction: 1,
  36865. get$$call() {
  36866. return this;
  36867. },
  36868. "call*": "call$1",
  36869. $requiredArgCount: 1,
  36870. $defaultValues: null
  36871. };
  36872. A.Closure0Args.prototype = {"call*": "call$0", $requiredArgCount: 0};
  36873. A.Closure2Args.prototype = {"call*": "call$2", $requiredArgCount: 2};
  36874. A.TearOffClosure.prototype = {};
  36875. A.StaticClosure.prototype = {
  36876. toString$0(_) {
  36877. var $name = this.$static_name;
  36878. if ($name == null)
  36879. return "Closure of unknown static method";
  36880. return "Closure '" + A.unminifyOrTag($name) + "'";
  36881. }
  36882. };
  36883. A.BoundClosure.prototype = {
  36884. $eq(_, other) {
  36885. if (other == null)
  36886. return false;
  36887. if (this === other)
  36888. return true;
  36889. if (!(other instanceof A.BoundClosure))
  36890. return false;
  36891. return this.$_target === other.$_target && this._receiver === other._receiver;
  36892. },
  36893. get$hashCode(_) {
  36894. return (A.objectHashCode(this._receiver) ^ A.Primitives_objectHashCode(this.$_target)) >>> 0;
  36895. },
  36896. toString$0(_) {
  36897. return "Closure '" + this.$_name + "' of " + ("Instance of '" + A.Primitives_objectTypeName(this._receiver) + "'");
  36898. }
  36899. };
  36900. A.RuntimeError.prototype = {
  36901. toString$0(_) {
  36902. return "RuntimeError: " + this.message;
  36903. },
  36904. get$message(receiver) {
  36905. return this.message;
  36906. }
  36907. };
  36908. A._Required.prototype = {};
  36909. A.JsLinkedHashMap.prototype = {
  36910. get$length(_) {
  36911. return this.__js_helper$_length;
  36912. },
  36913. get$isEmpty(_) {
  36914. return this.__js_helper$_length === 0;
  36915. },
  36916. get$isNotEmpty(_) {
  36917. return this.__js_helper$_length !== 0;
  36918. },
  36919. get$keys(_) {
  36920. return new A.LinkedHashMapKeysIterable(this, A._instanceType(this)._eval$1("LinkedHashMapKeysIterable<1>"));
  36921. },
  36922. get$values(_) {
  36923. return new A.LinkedHashMapValuesIterable(this, A._instanceType(this)._eval$1("LinkedHashMapValuesIterable<2>"));
  36924. },
  36925. get$entries(_) {
  36926. return new A.LinkedHashMapEntriesIterable(this, A._instanceType(this)._eval$1("LinkedHashMapEntriesIterable<1,2>"));
  36927. },
  36928. containsKey$1(key) {
  36929. var strings, nums;
  36930. if (typeof key == "string") {
  36931. strings = this._strings;
  36932. if (strings == null)
  36933. return false;
  36934. return strings[key] != null;
  36935. } else if (typeof key == "number" && (key & 0x3fffffff) === key) {
  36936. nums = this._nums;
  36937. if (nums == null)
  36938. return false;
  36939. return nums[key] != null;
  36940. } else
  36941. return this.internalContainsKey$1(key);
  36942. },
  36943. internalContainsKey$1(key) {
  36944. var rest = this.__js_helper$_rest;
  36945. if (rest == null)
  36946. return false;
  36947. return this.internalFindBucketIndex$2(rest[this.internalComputeHashCode$1(key)], key) >= 0;
  36948. },
  36949. addAll$1(_, other) {
  36950. other.forEach$1(0, new A.JsLinkedHashMap_addAll_closure(this));
  36951. },
  36952. $index(_, key) {
  36953. var strings, cell, t1, nums, _null = null;
  36954. if (typeof key == "string") {
  36955. strings = this._strings;
  36956. if (strings == null)
  36957. return _null;
  36958. cell = strings[key];
  36959. t1 = cell == null ? _null : cell.hashMapCellValue;
  36960. return t1;
  36961. } else if (typeof key == "number" && (key & 0x3fffffff) === key) {
  36962. nums = this._nums;
  36963. if (nums == null)
  36964. return _null;
  36965. cell = nums[key];
  36966. t1 = cell == null ? _null : cell.hashMapCellValue;
  36967. return t1;
  36968. } else
  36969. return this.internalGet$1(key);
  36970. },
  36971. internalGet$1(key) {
  36972. var bucket, index,
  36973. rest = this.__js_helper$_rest;
  36974. if (rest == null)
  36975. return null;
  36976. bucket = rest[this.internalComputeHashCode$1(key)];
  36977. index = this.internalFindBucketIndex$2(bucket, key);
  36978. if (index < 0)
  36979. return null;
  36980. return bucket[index].hashMapCellValue;
  36981. },
  36982. $indexSet(_, key, value) {
  36983. var strings, nums, _this = this;
  36984. if (typeof key == "string") {
  36985. strings = _this._strings;
  36986. _this._addHashTableEntry$3(strings == null ? _this._strings = _this._newHashTable$0() : strings, key, value);
  36987. } else if (typeof key == "number" && (key & 0x3fffffff) === key) {
  36988. nums = _this._nums;
  36989. _this._addHashTableEntry$3(nums == null ? _this._nums = _this._newHashTable$0() : nums, key, value);
  36990. } else
  36991. _this.internalSet$2(key, value);
  36992. },
  36993. internalSet$2(key, value) {
  36994. var hash, bucket, index, _this = this,
  36995. rest = _this.__js_helper$_rest;
  36996. if (rest == null)
  36997. rest = _this.__js_helper$_rest = _this._newHashTable$0();
  36998. hash = _this.internalComputeHashCode$1(key);
  36999. bucket = rest[hash];
  37000. if (bucket == null)
  37001. rest[hash] = [_this._newLinkedCell$2(key, value)];
  37002. else {
  37003. index = _this.internalFindBucketIndex$2(bucket, key);
  37004. if (index >= 0)
  37005. bucket[index].hashMapCellValue = value;
  37006. else
  37007. bucket.push(_this._newLinkedCell$2(key, value));
  37008. }
  37009. },
  37010. putIfAbsent$2(key, ifAbsent) {
  37011. var t1, value, _this = this;
  37012. if (_this.containsKey$1(key)) {
  37013. t1 = _this.$index(0, key);
  37014. return t1 == null ? A._instanceType(_this)._rest[1]._as(t1) : t1;
  37015. }
  37016. value = ifAbsent.call$0();
  37017. _this.$indexSet(0, key, value);
  37018. return value;
  37019. },
  37020. remove$1(_, key) {
  37021. var _this = this;
  37022. if (typeof key == "string")
  37023. return _this.__js_helper$_removeHashTableEntry$2(_this._strings, key);
  37024. else if (typeof key == "number" && (key & 0x3fffffff) === key)
  37025. return _this.__js_helper$_removeHashTableEntry$2(_this._nums, key);
  37026. else
  37027. return _this.internalRemove$1(key);
  37028. },
  37029. internalRemove$1(key) {
  37030. var hash, bucket, index, cell, _this = this,
  37031. rest = _this.__js_helper$_rest;
  37032. if (rest == null)
  37033. return null;
  37034. hash = _this.internalComputeHashCode$1(key);
  37035. bucket = rest[hash];
  37036. index = _this.internalFindBucketIndex$2(bucket, key);
  37037. if (index < 0)
  37038. return null;
  37039. cell = bucket.splice(index, 1)[0];
  37040. _this.__js_helper$_unlinkCell$1(cell);
  37041. if (bucket.length === 0)
  37042. delete rest[hash];
  37043. return cell.hashMapCellValue;
  37044. },
  37045. clear$0(_) {
  37046. var _this = this;
  37047. if (_this.__js_helper$_length > 0) {
  37048. _this._strings = _this._nums = _this.__js_helper$_rest = _this._first = _this._last = null;
  37049. _this.__js_helper$_length = 0;
  37050. _this._modified$0();
  37051. }
  37052. },
  37053. forEach$1(_, action) {
  37054. var _this = this,
  37055. cell = _this._first,
  37056. modifications = _this._modifications;
  37057. for (; cell != null;) {
  37058. action.call$2(cell.hashMapCellKey, cell.hashMapCellValue);
  37059. if (modifications !== _this._modifications)
  37060. throw A.wrapException(A.ConcurrentModificationError$(_this));
  37061. cell = cell._next;
  37062. }
  37063. },
  37064. _addHashTableEntry$3(table, key, value) {
  37065. var cell = table[key];
  37066. if (cell == null)
  37067. table[key] = this._newLinkedCell$2(key, value);
  37068. else
  37069. cell.hashMapCellValue = value;
  37070. },
  37071. __js_helper$_removeHashTableEntry$2(table, key) {
  37072. var cell;
  37073. if (table == null)
  37074. return null;
  37075. cell = table[key];
  37076. if (cell == null)
  37077. return null;
  37078. this.__js_helper$_unlinkCell$1(cell);
  37079. delete table[key];
  37080. return cell.hashMapCellValue;
  37081. },
  37082. _modified$0() {
  37083. this._modifications = this._modifications + 1 & 1073741823;
  37084. },
  37085. _newLinkedCell$2(key, value) {
  37086. var t1, _this = this,
  37087. cell = new A.LinkedHashMapCell(key, value);
  37088. if (_this._first == null)
  37089. _this._first = _this._last = cell;
  37090. else {
  37091. t1 = _this._last;
  37092. t1.toString;
  37093. cell._previous = t1;
  37094. _this._last = t1._next = cell;
  37095. }
  37096. ++_this.__js_helper$_length;
  37097. _this._modified$0();
  37098. return cell;
  37099. },
  37100. __js_helper$_unlinkCell$1(cell) {
  37101. var _this = this,
  37102. previous = cell._previous,
  37103. next = cell._next;
  37104. if (previous == null)
  37105. _this._first = next;
  37106. else
  37107. previous._next = next;
  37108. if (next == null)
  37109. _this._last = previous;
  37110. else
  37111. next._previous = previous;
  37112. --_this.__js_helper$_length;
  37113. _this._modified$0();
  37114. },
  37115. internalComputeHashCode$1(key) {
  37116. return J.get$hashCode$(key) & 1073741823;
  37117. },
  37118. internalFindBucketIndex$2(bucket, key) {
  37119. var $length, i;
  37120. if (bucket == null)
  37121. return -1;
  37122. $length = bucket.length;
  37123. for (i = 0; i < $length; ++i)
  37124. if (J.$eq$(bucket[i].hashMapCellKey, key))
  37125. return i;
  37126. return -1;
  37127. },
  37128. toString$0(_) {
  37129. return A.MapBase_mapToString(this);
  37130. },
  37131. _newHashTable$0() {
  37132. var table = Object.create(null);
  37133. table["<non-identifier-key>"] = table;
  37134. delete table["<non-identifier-key>"];
  37135. return table;
  37136. }
  37137. };
  37138. A.JsLinkedHashMap_addAll_closure.prototype = {
  37139. call$2(key, value) {
  37140. this.$this.$indexSet(0, key, value);
  37141. },
  37142. $signature() {
  37143. return A._instanceType(this.$this)._eval$1("~(1,2)");
  37144. }
  37145. };
  37146. A.LinkedHashMapCell.prototype = {};
  37147. A.LinkedHashMapKeysIterable.prototype = {
  37148. get$length(_) {
  37149. return this.__js_helper$_map.__js_helper$_length;
  37150. },
  37151. get$isEmpty(_) {
  37152. return this.__js_helper$_map.__js_helper$_length === 0;
  37153. },
  37154. get$iterator(_) {
  37155. var t1 = this.__js_helper$_map;
  37156. return new A.LinkedHashMapKeyIterator(t1, t1._modifications, t1._first);
  37157. },
  37158. contains$1(_, element) {
  37159. return this.__js_helper$_map.containsKey$1(element);
  37160. }
  37161. };
  37162. A.LinkedHashMapKeyIterator.prototype = {
  37163. get$current(_) {
  37164. return this.__js_helper$_current;
  37165. },
  37166. moveNext$0() {
  37167. var cell, _this = this,
  37168. t1 = _this.__js_helper$_map;
  37169. if (_this._modifications !== t1._modifications)
  37170. throw A.wrapException(A.ConcurrentModificationError$(t1));
  37171. cell = _this._cell;
  37172. if (cell == null) {
  37173. _this.__js_helper$_current = null;
  37174. return false;
  37175. } else {
  37176. _this.__js_helper$_current = cell.hashMapCellKey;
  37177. _this._cell = cell._next;
  37178. return true;
  37179. }
  37180. }
  37181. };
  37182. A.LinkedHashMapValuesIterable.prototype = {
  37183. get$length(_) {
  37184. return this.__js_helper$_map.__js_helper$_length;
  37185. },
  37186. get$isEmpty(_) {
  37187. return this.__js_helper$_map.__js_helper$_length === 0;
  37188. },
  37189. get$iterator(_) {
  37190. var t1 = this.__js_helper$_map;
  37191. return new A.LinkedHashMapValueIterator(t1, t1._modifications, t1._first);
  37192. }
  37193. };
  37194. A.LinkedHashMapValueIterator.prototype = {
  37195. get$current(_) {
  37196. return this.__js_helper$_current;
  37197. },
  37198. moveNext$0() {
  37199. var cell, _this = this,
  37200. t1 = _this.__js_helper$_map;
  37201. if (_this._modifications !== t1._modifications)
  37202. throw A.wrapException(A.ConcurrentModificationError$(t1));
  37203. cell = _this._cell;
  37204. if (cell == null) {
  37205. _this.__js_helper$_current = null;
  37206. return false;
  37207. } else {
  37208. _this.__js_helper$_current = cell.hashMapCellValue;
  37209. _this._cell = cell._next;
  37210. return true;
  37211. }
  37212. }
  37213. };
  37214. A.LinkedHashMapEntriesIterable.prototype = {
  37215. get$length(_) {
  37216. return this.__js_helper$_map.__js_helper$_length;
  37217. },
  37218. get$isEmpty(_) {
  37219. return this.__js_helper$_map.__js_helper$_length === 0;
  37220. },
  37221. get$iterator(_) {
  37222. var t1 = this.__js_helper$_map;
  37223. return new A.LinkedHashMapEntryIterator(t1, t1._modifications, t1._first, this.$ti._eval$1("LinkedHashMapEntryIterator<1,2>"));
  37224. }
  37225. };
  37226. A.LinkedHashMapEntryIterator.prototype = {
  37227. get$current(_) {
  37228. var t1 = this.__js_helper$_current;
  37229. t1.toString;
  37230. return t1;
  37231. },
  37232. moveNext$0() {
  37233. var cell, _this = this,
  37234. t1 = _this.__js_helper$_map;
  37235. if (_this._modifications !== t1._modifications)
  37236. throw A.wrapException(A.ConcurrentModificationError$(t1));
  37237. cell = _this._cell;
  37238. if (cell == null) {
  37239. _this.__js_helper$_current = null;
  37240. return false;
  37241. } else {
  37242. _this.__js_helper$_current = new A.MapEntry(cell.hashMapCellKey, cell.hashMapCellValue, _this.$ti._eval$1("MapEntry<1,2>"));
  37243. _this._cell = cell._next;
  37244. return true;
  37245. }
  37246. }
  37247. };
  37248. A.JsIdentityLinkedHashMap.prototype = {
  37249. internalComputeHashCode$1(key) {
  37250. return A.objectHashCode(key) & 1073741823;
  37251. },
  37252. internalFindBucketIndex$2(bucket, key) {
  37253. var $length, i, t1;
  37254. if (bucket == null)
  37255. return -1;
  37256. $length = bucket.length;
  37257. for (i = 0; i < $length; ++i) {
  37258. t1 = bucket[i].hashMapCellKey;
  37259. if (t1 == null ? key == null : t1 === key)
  37260. return i;
  37261. }
  37262. return -1;
  37263. }
  37264. };
  37265. A.JsConstantLinkedHashMap.prototype = {
  37266. internalComputeHashCode$1(key) {
  37267. return A.constantHashCode(key) & 1073741823;
  37268. },
  37269. internalFindBucketIndex$2(bucket, key) {
  37270. var $length, i;
  37271. if (bucket == null)
  37272. return -1;
  37273. $length = bucket.length;
  37274. for (i = 0; i < $length; ++i)
  37275. if (J.$eq$(bucket[i].hashMapCellKey, key))
  37276. return i;
  37277. return -1;
  37278. }
  37279. };
  37280. A.initHooks_closure.prototype = {
  37281. call$1(o) {
  37282. return this.getTag(o);
  37283. },
  37284. $signature: 90
  37285. };
  37286. A.initHooks_closure0.prototype = {
  37287. call$2(o, tag) {
  37288. return this.getUnknownTag(o, tag);
  37289. },
  37290. $signature: 387
  37291. };
  37292. A.initHooks_closure1.prototype = {
  37293. call$1(tag) {
  37294. return this.prototypeForTag(tag);
  37295. },
  37296. $signature: 199
  37297. };
  37298. A._Record.prototype = {
  37299. toString$0(_) {
  37300. return this._toString$1(false);
  37301. },
  37302. _toString$1(safe) {
  37303. var t2, separator, i, key, value,
  37304. keys = this._fieldKeys$0(),
  37305. values = this._getFieldValues$0(),
  37306. t1 = (safe ? "" + "Record " : "") + "(";
  37307. for (t2 = keys.length, separator = "", i = 0; i < t2; ++i, separator = ", ") {
  37308. t1 += separator;
  37309. key = keys[i];
  37310. if (typeof key == "string")
  37311. t1 = t1 + key + ": ";
  37312. value = values[i];
  37313. t1 = safe ? t1 + A.Primitives_safeToString(value) : t1 + A.S(value);
  37314. }
  37315. t1 += ")";
  37316. return t1.charCodeAt(0) == 0 ? t1 : t1;
  37317. },
  37318. _fieldKeys$0() {
  37319. var t1,
  37320. shapeTag = this.$shape;
  37321. for (; $._Record__computedFieldKeys.length <= shapeTag;)
  37322. $._Record__computedFieldKeys.push(null);
  37323. t1 = $._Record__computedFieldKeys[shapeTag];
  37324. if (t1 == null) {
  37325. t1 = this._computeFieldKeys$0();
  37326. $._Record__computedFieldKeys[shapeTag] = t1;
  37327. }
  37328. return t1;
  37329. },
  37330. _computeFieldKeys$0() {
  37331. var i, names, last,
  37332. recipe = this.$recipe,
  37333. position = recipe.indexOf("("),
  37334. joinedNames = recipe.substring(1, position),
  37335. fields = recipe.substring(position),
  37336. arity = fields === "()" ? 0 : fields.replace(/[^,]/g, "").length + 1,
  37337. t1 = type$.Object,
  37338. result = J.JSArray_JSArray$allocateGrowable(arity, t1);
  37339. for (i = 0; i < arity; ++i)
  37340. result[i] = i;
  37341. if (joinedNames !== "") {
  37342. names = joinedNames.split(",");
  37343. i = names.length;
  37344. for (last = arity; i > 0;) {
  37345. --last;
  37346. --i;
  37347. result[last] = names[i];
  37348. }
  37349. }
  37350. return A.List_List$unmodifiable(result, t1);
  37351. }
  37352. };
  37353. A._Record2.prototype = {
  37354. _getFieldValues$0() {
  37355. return [this._0, this._1];
  37356. },
  37357. $eq(_, other) {
  37358. if (other == null)
  37359. return false;
  37360. return other instanceof A._Record2 && this.$shape === other.$shape && J.$eq$(this._0, other._0) && J.$eq$(this._1, other._1);
  37361. },
  37362. get$hashCode(_) {
  37363. return A.Object_hash(this.$shape, this._0, this._1, B.C_SentinelValue);
  37364. }
  37365. };
  37366. A._Record1.prototype = {
  37367. _getFieldValues$0() {
  37368. return [this._0];
  37369. },
  37370. $eq(_, other) {
  37371. if (other == null)
  37372. return false;
  37373. return other instanceof A._Record1 && this.$shape === other.$shape && J.$eq$(this._0, other._0);
  37374. },
  37375. get$hashCode(_) {
  37376. return A.Object_hash(this.$shape, this._0, B.C_SentinelValue, B.C_SentinelValue);
  37377. }
  37378. };
  37379. A._Record3.prototype = {
  37380. _getFieldValues$0() {
  37381. return [this._0, this._1, this._2];
  37382. },
  37383. $eq(_, other) {
  37384. var _this = this;
  37385. if (other == null)
  37386. return false;
  37387. return other instanceof A._Record3 && _this.$shape === other.$shape && J.$eq$(_this._0, other._0) && J.$eq$(_this._1, other._1) && J.$eq$(_this._2, other._2);
  37388. },
  37389. get$hashCode(_) {
  37390. var _this = this;
  37391. return A.Object_hash(_this.$shape, _this._0, _this._1, _this._2);
  37392. }
  37393. };
  37394. A._RecordN.prototype = {
  37395. _getFieldValues$0() {
  37396. return this._values;
  37397. },
  37398. $eq(_, other) {
  37399. if (other == null)
  37400. return false;
  37401. return other instanceof A._RecordN && this.$shape === other.$shape && A._RecordN__equalValues(this._values, other._values);
  37402. },
  37403. get$hashCode(_) {
  37404. return A.Object_hash(this.$shape, A.Object_hashAll(this._values), B.C_SentinelValue, B.C_SentinelValue);
  37405. }
  37406. };
  37407. A.JSSyntaxRegExp.prototype = {
  37408. toString$0(_) {
  37409. return "RegExp/" + this.pattern + "/" + this._nativeRegExp.flags;
  37410. },
  37411. get$_nativeGlobalVersion() {
  37412. var _this = this,
  37413. t1 = _this._nativeGlobalRegExp;
  37414. if (t1 != null)
  37415. return t1;
  37416. t1 = _this._nativeRegExp;
  37417. return _this._nativeGlobalRegExp = A.JSSyntaxRegExp_makeNative(_this.pattern, t1.multiline, !t1.ignoreCase, t1.unicode, t1.dotAll, "g");
  37418. },
  37419. get$_nativeAnchoredVersion() {
  37420. var _this = this,
  37421. t1 = _this._nativeAnchoredRegExp;
  37422. if (t1 != null)
  37423. return t1;
  37424. t1 = _this._nativeRegExp;
  37425. return _this._nativeAnchoredRegExp = A.JSSyntaxRegExp_makeNative(_this.pattern, t1.multiline, !t1.ignoreCase, t1.unicode, t1.dotAll, "y");
  37426. },
  37427. _computeHasCaptures$0() {
  37428. var t2,
  37429. t1 = this.pattern;
  37430. if (!B.JSString_methods.contains$1(t1, "("))
  37431. return false;
  37432. t2 = this._nativeRegExp.unicode ? "u" : "";
  37433. return new RegExp("(?:)|" + t1, t2).exec("").length > 1;
  37434. },
  37435. firstMatch$1(string) {
  37436. var m = this._nativeRegExp.exec(string);
  37437. if (m == null)
  37438. return null;
  37439. return new A._MatchImplementation(m);
  37440. },
  37441. allMatches$2(_, string, start) {
  37442. var t1 = string.length;
  37443. if (start > t1)
  37444. throw A.wrapException(A.RangeError$range(start, 0, t1, null, null));
  37445. return new A._AllMatchesIterable(this, string, start);
  37446. },
  37447. allMatches$1(_, string) {
  37448. return this.allMatches$2(0, string, 0);
  37449. },
  37450. _execGlobal$2(string, start) {
  37451. var match,
  37452. regexp = this.get$_nativeGlobalVersion();
  37453. regexp.lastIndex = start;
  37454. match = regexp.exec(string);
  37455. if (match == null)
  37456. return null;
  37457. return new A._MatchImplementation(match);
  37458. },
  37459. _execAnchored$2(string, start) {
  37460. var match,
  37461. regexp = this.get$_nativeAnchoredVersion();
  37462. regexp.lastIndex = start;
  37463. match = regexp.exec(string);
  37464. if (match == null)
  37465. return null;
  37466. return new A._MatchImplementation(match);
  37467. },
  37468. matchAsPrefix$2(_, string, start) {
  37469. if (start < 0 || start > string.length)
  37470. throw A.wrapException(A.RangeError$range(start, 0, string.length, null, null));
  37471. return this._execAnchored$2(string, start);
  37472. }
  37473. };
  37474. A._MatchImplementation.prototype = {
  37475. get$start(_) {
  37476. return this._match.index;
  37477. },
  37478. get$end(_) {
  37479. var t1 = this._match;
  37480. return t1.index + t1[0].length;
  37481. },
  37482. namedGroup$1($name) {
  37483. var result,
  37484. groups = this._match.groups;
  37485. if (groups != null) {
  37486. result = groups[$name];
  37487. if (result != null || $name in groups)
  37488. return result;
  37489. }
  37490. throw A.wrapException(A.ArgumentError$value($name, "name", "Not a capture group name"));
  37491. },
  37492. $isMatch: 1,
  37493. $isRegExpMatch: 1
  37494. };
  37495. A._AllMatchesIterable.prototype = {
  37496. get$iterator(_) {
  37497. return new A._AllMatchesIterator(this._re, this.__js_helper$_string, this.__js_helper$_start);
  37498. }
  37499. };
  37500. A._AllMatchesIterator.prototype = {
  37501. get$current(_) {
  37502. var t1 = this.__js_helper$_current;
  37503. return t1 == null ? type$.RegExpMatch._as(t1) : t1;
  37504. },
  37505. moveNext$0() {
  37506. var t1, t2, t3, match, nextIndex, t4, _this = this,
  37507. string = _this.__js_helper$_string;
  37508. if (string == null)
  37509. return false;
  37510. t1 = _this._nextIndex;
  37511. t2 = string.length;
  37512. if (t1 <= t2) {
  37513. t3 = _this._regExp;
  37514. match = t3._execGlobal$2(string, t1);
  37515. if (match != null) {
  37516. _this.__js_helper$_current = match;
  37517. nextIndex = match.get$end(0);
  37518. if (match._match.index === nextIndex) {
  37519. t1 = false;
  37520. if (t3._nativeRegExp.unicode) {
  37521. t3 = _this._nextIndex;
  37522. t4 = t3 + 1;
  37523. if (t4 < t2) {
  37524. t2 = string.charCodeAt(t3);
  37525. if (t2 >= 55296 && t2 <= 56319) {
  37526. t1 = string.charCodeAt(t4);
  37527. t1 = t1 >= 56320 && t1 <= 57343;
  37528. }
  37529. }
  37530. }
  37531. nextIndex = (t1 ? nextIndex + 1 : nextIndex) + 1;
  37532. }
  37533. _this._nextIndex = nextIndex;
  37534. return true;
  37535. }
  37536. }
  37537. _this.__js_helper$_string = _this.__js_helper$_current = null;
  37538. return false;
  37539. }
  37540. };
  37541. A.StringMatch.prototype = {
  37542. get$end(_) {
  37543. return this.start + this.pattern.length;
  37544. },
  37545. $isMatch: 1,
  37546. get$start(receiver) {
  37547. return this.start;
  37548. }
  37549. };
  37550. A._StringAllMatchesIterable.prototype = {
  37551. get$iterator(_) {
  37552. return new A._StringAllMatchesIterator(this._input, this._pattern, this.__js_helper$_index);
  37553. },
  37554. get$first(_) {
  37555. var t1 = this._pattern,
  37556. index = this._input.indexOf(t1, this.__js_helper$_index);
  37557. if (index >= 0)
  37558. return new A.StringMatch(index, t1);
  37559. throw A.wrapException(A.IterableElementError_noElement());
  37560. }
  37561. };
  37562. A._StringAllMatchesIterator.prototype = {
  37563. moveNext$0() {
  37564. var index, end, _this = this,
  37565. t1 = _this.__js_helper$_index,
  37566. t2 = _this._pattern,
  37567. t3 = t2.length,
  37568. t4 = _this._input,
  37569. t5 = t4.length;
  37570. if (t1 + t3 > t5) {
  37571. _this.__js_helper$_current = null;
  37572. return false;
  37573. }
  37574. index = t4.indexOf(t2, t1);
  37575. if (index < 0) {
  37576. _this.__js_helper$_index = t5 + 1;
  37577. _this.__js_helper$_current = null;
  37578. return false;
  37579. }
  37580. end = index + t3;
  37581. _this.__js_helper$_current = new A.StringMatch(index, t2);
  37582. _this.__js_helper$_index = end === _this.__js_helper$_index ? end + 1 : end;
  37583. return true;
  37584. },
  37585. get$current(_) {
  37586. var t1 = this.__js_helper$_current;
  37587. t1.toString;
  37588. return t1;
  37589. }
  37590. };
  37591. A._Cell.prototype = {
  37592. readLocal$1$0() {
  37593. var t1 = this.__late_helper$_value;
  37594. if (t1 === this)
  37595. A.throwExpression(new A.LateError("Local '' has not been initialized."));
  37596. return t1;
  37597. },
  37598. readLocal$0() {
  37599. return this.readLocal$1$0(type$.dynamic);
  37600. },
  37601. _readLocal$0() {
  37602. var t1 = this.__late_helper$_value;
  37603. if (t1 === this)
  37604. throw A.wrapException(new A.LateError("Local '' has not been initialized."));
  37605. return t1;
  37606. }
  37607. };
  37608. A.NativeByteBuffer.prototype = {
  37609. get$runtimeType(receiver) {
  37610. return B.Type_ByteBuffer_rqD;
  37611. },
  37612. $isTrustedGetRuntimeType: 1,
  37613. $isByteBuffer: 1
  37614. };
  37615. A.NativeTypedData.prototype = {
  37616. _invalidPosition$3(receiver, position, $length, $name) {
  37617. var t1 = A.RangeError$range(position, 0, $length, $name, null);
  37618. throw A.wrapException(t1);
  37619. },
  37620. _checkPosition$3(receiver, position, $length, $name) {
  37621. if (position >>> 0 !== position || position > $length)
  37622. this._invalidPosition$3(receiver, position, $length, $name);
  37623. }
  37624. };
  37625. A.NativeByteData.prototype = {
  37626. get$runtimeType(receiver) {
  37627. return B.Type_ByteData_9dB;
  37628. },
  37629. $isTrustedGetRuntimeType: 1,
  37630. $isByteData: 1
  37631. };
  37632. A.NativeTypedArray.prototype = {
  37633. get$length(receiver) {
  37634. return receiver.length;
  37635. },
  37636. _setRangeFast$4(receiver, start, end, source, skipCount) {
  37637. var count, sourceLength,
  37638. targetLength = receiver.length;
  37639. this._checkPosition$3(receiver, start, targetLength, "start");
  37640. this._checkPosition$3(receiver, end, targetLength, "end");
  37641. if (start > end)
  37642. throw A.wrapException(A.RangeError$range(start, 0, end, null, null));
  37643. count = end - start;
  37644. if (skipCount < 0)
  37645. throw A.wrapException(A.ArgumentError$(skipCount, null));
  37646. sourceLength = source.length;
  37647. if (sourceLength - skipCount < count)
  37648. throw A.wrapException(A.StateError$("Not enough elements"));
  37649. if (skipCount !== 0 || sourceLength !== count)
  37650. source = source.subarray(skipCount, skipCount + count);
  37651. receiver.set(source, start);
  37652. },
  37653. $isJavaScriptIndexingBehavior: 1
  37654. };
  37655. A.NativeTypedArrayOfDouble.prototype = {
  37656. $index(receiver, index) {
  37657. A._checkValidIndex(index, receiver, receiver.length);
  37658. return receiver[index];
  37659. },
  37660. $indexSet(receiver, index, value) {
  37661. receiver.$flags & 2 && A.throwUnsupportedOperation(receiver);
  37662. A._checkValidIndex(index, receiver, receiver.length);
  37663. receiver[index] = value;
  37664. },
  37665. setRange$4(receiver, start, end, iterable, skipCount) {
  37666. receiver.$flags & 2 && A.throwUnsupportedOperation(receiver, 5);
  37667. if (type$.NativeTypedArrayOfDouble._is(iterable)) {
  37668. this._setRangeFast$4(receiver, start, end, iterable, skipCount);
  37669. return;
  37670. }
  37671. this.super$ListBase$setRange(receiver, start, end, iterable, skipCount);
  37672. },
  37673. $isEfficientLengthIterable: 1,
  37674. $isIterable: 1,
  37675. $isList: 1
  37676. };
  37677. A.NativeTypedArrayOfInt.prototype = {
  37678. $indexSet(receiver, index, value) {
  37679. receiver.$flags & 2 && A.throwUnsupportedOperation(receiver);
  37680. A._checkValidIndex(index, receiver, receiver.length);
  37681. receiver[index] = value;
  37682. },
  37683. setRange$4(receiver, start, end, iterable, skipCount) {
  37684. receiver.$flags & 2 && A.throwUnsupportedOperation(receiver, 5);
  37685. if (type$.NativeTypedArrayOfInt._is(iterable)) {
  37686. this._setRangeFast$4(receiver, start, end, iterable, skipCount);
  37687. return;
  37688. }
  37689. this.super$ListBase$setRange(receiver, start, end, iterable, skipCount);
  37690. },
  37691. $isEfficientLengthIterable: 1,
  37692. $isIterable: 1,
  37693. $isList: 1
  37694. };
  37695. A.NativeFloat32List.prototype = {
  37696. get$runtimeType(receiver) {
  37697. return B.Type_Float32List_9Kz;
  37698. },
  37699. sublist$2(receiver, start, end) {
  37700. return new Float32Array(receiver.subarray(start, A._checkValidRange(start, end, receiver.length)));
  37701. },
  37702. sublist$1(receiver, start) {
  37703. return this.sublist$2(receiver, start, null);
  37704. },
  37705. $isTrustedGetRuntimeType: 1,
  37706. $isFloat32List: 1
  37707. };
  37708. A.NativeFloat64List.prototype = {
  37709. get$runtimeType(receiver) {
  37710. return B.Type_Float64List_9Kz;
  37711. },
  37712. sublist$2(receiver, start, end) {
  37713. return new Float64Array(receiver.subarray(start, A._checkValidRange(start, end, receiver.length)));
  37714. },
  37715. sublist$1(receiver, start) {
  37716. return this.sublist$2(receiver, start, null);
  37717. },
  37718. $isTrustedGetRuntimeType: 1,
  37719. $isFloat64List: 1
  37720. };
  37721. A.NativeInt16List.prototype = {
  37722. get$runtimeType(receiver) {
  37723. return B.Type_Int16List_s5h;
  37724. },
  37725. $index(receiver, index) {
  37726. A._checkValidIndex(index, receiver, receiver.length);
  37727. return receiver[index];
  37728. },
  37729. sublist$2(receiver, start, end) {
  37730. return new Int16Array(receiver.subarray(start, A._checkValidRange(start, end, receiver.length)));
  37731. },
  37732. sublist$1(receiver, start) {
  37733. return this.sublist$2(receiver, start, null);
  37734. },
  37735. $isTrustedGetRuntimeType: 1,
  37736. $isInt16List: 1
  37737. };
  37738. A.NativeInt32List.prototype = {
  37739. get$runtimeType(receiver) {
  37740. return B.Type_Int32List_O8Z;
  37741. },
  37742. $index(receiver, index) {
  37743. A._checkValidIndex(index, receiver, receiver.length);
  37744. return receiver[index];
  37745. },
  37746. sublist$2(receiver, start, end) {
  37747. return new Int32Array(receiver.subarray(start, A._checkValidRange(start, end, receiver.length)));
  37748. },
  37749. sublist$1(receiver, start) {
  37750. return this.sublist$2(receiver, start, null);
  37751. },
  37752. $isTrustedGetRuntimeType: 1,
  37753. $isInt32List: 1
  37754. };
  37755. A.NativeInt8List.prototype = {
  37756. get$runtimeType(receiver) {
  37757. return B.Type_Int8List_rFV;
  37758. },
  37759. $index(receiver, index) {
  37760. A._checkValidIndex(index, receiver, receiver.length);
  37761. return receiver[index];
  37762. },
  37763. sublist$2(receiver, start, end) {
  37764. return new Int8Array(receiver.subarray(start, A._checkValidRange(start, end, receiver.length)));
  37765. },
  37766. sublist$1(receiver, start) {
  37767. return this.sublist$2(receiver, start, null);
  37768. },
  37769. $isTrustedGetRuntimeType: 1,
  37770. $isInt8List: 1
  37771. };
  37772. A.NativeUint16List.prototype = {
  37773. get$runtimeType(receiver) {
  37774. return B.Type_Uint16List_kmP;
  37775. },
  37776. $index(receiver, index) {
  37777. A._checkValidIndex(index, receiver, receiver.length);
  37778. return receiver[index];
  37779. },
  37780. sublist$2(receiver, start, end) {
  37781. return new Uint16Array(receiver.subarray(start, A._checkValidRange(start, end, receiver.length)));
  37782. },
  37783. sublist$1(receiver, start) {
  37784. return this.sublist$2(receiver, start, null);
  37785. },
  37786. $isTrustedGetRuntimeType: 1,
  37787. $isUint16List: 1
  37788. };
  37789. A.NativeUint32List.prototype = {
  37790. get$runtimeType(receiver) {
  37791. return B.Type_Uint32List_kmP;
  37792. },
  37793. $index(receiver, index) {
  37794. A._checkValidIndex(index, receiver, receiver.length);
  37795. return receiver[index];
  37796. },
  37797. sublist$2(receiver, start, end) {
  37798. return new Uint32Array(receiver.subarray(start, A._checkValidRange(start, end, receiver.length)));
  37799. },
  37800. sublist$1(receiver, start) {
  37801. return this.sublist$2(receiver, start, null);
  37802. },
  37803. $isTrustedGetRuntimeType: 1,
  37804. $isUint32List: 1
  37805. };
  37806. A.NativeUint8ClampedList.prototype = {
  37807. get$runtimeType(receiver) {
  37808. return B.Type_Uint8ClampedList_04U;
  37809. },
  37810. get$length(receiver) {
  37811. return receiver.length;
  37812. },
  37813. $index(receiver, index) {
  37814. A._checkValidIndex(index, receiver, receiver.length);
  37815. return receiver[index];
  37816. },
  37817. sublist$2(receiver, start, end) {
  37818. return new Uint8ClampedArray(receiver.subarray(start, A._checkValidRange(start, end, receiver.length)));
  37819. },
  37820. sublist$1(receiver, start) {
  37821. return this.sublist$2(receiver, start, null);
  37822. },
  37823. $isTrustedGetRuntimeType: 1,
  37824. $isUint8ClampedList: 1
  37825. };
  37826. A.NativeUint8List.prototype = {
  37827. get$runtimeType(receiver) {
  37828. return B.Type_Uint8List_8Eb;
  37829. },
  37830. get$length(receiver) {
  37831. return receiver.length;
  37832. },
  37833. $index(receiver, index) {
  37834. A._checkValidIndex(index, receiver, receiver.length);
  37835. return receiver[index];
  37836. },
  37837. sublist$2(receiver, start, end) {
  37838. return new Uint8Array(receiver.subarray(start, A._checkValidRange(start, end, receiver.length)));
  37839. },
  37840. sublist$1(receiver, start) {
  37841. return this.sublist$2(receiver, start, null);
  37842. },
  37843. $isTrustedGetRuntimeType: 1,
  37844. $isNativeUint8List: 1,
  37845. $isUint8List: 1
  37846. };
  37847. A._NativeTypedArrayOfDouble_NativeTypedArray_ListMixin.prototype = {};
  37848. A._NativeTypedArrayOfDouble_NativeTypedArray_ListMixin_FixedLengthListMixin.prototype = {};
  37849. A._NativeTypedArrayOfInt_NativeTypedArray_ListMixin.prototype = {};
  37850. A._NativeTypedArrayOfInt_NativeTypedArray_ListMixin_FixedLengthListMixin.prototype = {};
  37851. A.Rti.prototype = {
  37852. _eval$1(recipe) {
  37853. return A._Universe_evalInEnvironment(init.typeUniverse, this, recipe);
  37854. },
  37855. _bind$1(typeOrTuple) {
  37856. return A._Universe_bind(init.typeUniverse, this, typeOrTuple);
  37857. }
  37858. };
  37859. A._FunctionParameters.prototype = {};
  37860. A._Type.prototype = {
  37861. toString$0(_) {
  37862. return A._rtiToString(this._rti, null);
  37863. }
  37864. };
  37865. A._Error.prototype = {
  37866. toString$0(_) {
  37867. return this.__rti$_message;
  37868. }
  37869. };
  37870. A._TypeError.prototype = {
  37871. get$message(_) {
  37872. return this.__rti$_message;
  37873. },
  37874. $isTypeError: 1
  37875. };
  37876. A._AsyncRun__initializeScheduleImmediate_internalCallback.prototype = {
  37877. call$1(__wc0_formal) {
  37878. var t1 = this._box_0,
  37879. f = t1.storedCallback;
  37880. t1.storedCallback = null;
  37881. f.call$0();
  37882. },
  37883. $signature: 62
  37884. };
  37885. A._AsyncRun__initializeScheduleImmediate_closure.prototype = {
  37886. call$1(callback) {
  37887. var t1, t2;
  37888. this._box_0.storedCallback = callback;
  37889. t1 = this.div;
  37890. t2 = this.span;
  37891. t1.firstChild ? t1.removeChild(t2) : t1.appendChild(t2);
  37892. },
  37893. $signature: 35
  37894. };
  37895. A._AsyncRun__scheduleImmediateJsOverride_internalCallback.prototype = {
  37896. call$0() {
  37897. this.callback.call$0();
  37898. },
  37899. $signature: 1
  37900. };
  37901. A._AsyncRun__scheduleImmediateWithSetImmediate_internalCallback.prototype = {
  37902. call$0() {
  37903. this.callback.call$0();
  37904. },
  37905. $signature: 1
  37906. };
  37907. A._TimerImpl.prototype = {
  37908. _TimerImpl$2(milliseconds, callback) {
  37909. if (self.setTimeout != null)
  37910. this._handle = self.setTimeout(A.convertDartClosureToJS(new A._TimerImpl_internalCallback(this, callback), 0), milliseconds);
  37911. else
  37912. throw A.wrapException(A.UnsupportedError$("`setTimeout()` not found."));
  37913. },
  37914. _TimerImpl$periodic$2(milliseconds, callback) {
  37915. if (self.setTimeout != null)
  37916. this._handle = self.setInterval(A.convertDartClosureToJS(new A._TimerImpl$periodic_closure(this, milliseconds, Date.now(), callback), 0), milliseconds);
  37917. else
  37918. throw A.wrapException(A.UnsupportedError$("Periodic timer."));
  37919. },
  37920. cancel$0() {
  37921. if (self.setTimeout != null) {
  37922. var t1 = this._handle;
  37923. if (t1 == null)
  37924. return;
  37925. if (this._once)
  37926. self.clearTimeout(t1);
  37927. else
  37928. self.clearInterval(t1);
  37929. this._handle = null;
  37930. } else
  37931. throw A.wrapException(A.UnsupportedError$("Canceling a timer."));
  37932. }
  37933. };
  37934. A._TimerImpl_internalCallback.prototype = {
  37935. call$0() {
  37936. var t1 = this.$this;
  37937. t1._handle = null;
  37938. t1._tick = 1;
  37939. this.callback.call$0();
  37940. },
  37941. $signature: 0
  37942. };
  37943. A._TimerImpl$periodic_closure.prototype = {
  37944. call$0() {
  37945. var duration, _this = this,
  37946. t1 = _this.$this,
  37947. tick = t1._tick + 1,
  37948. t2 = _this.milliseconds;
  37949. if (t2 > 0) {
  37950. duration = Date.now() - _this.start;
  37951. if (duration > (tick + 1) * t2)
  37952. tick = B.JSInt_methods.$tdiv(duration, t2);
  37953. }
  37954. t1._tick = tick;
  37955. _this.callback.call$1(t1);
  37956. },
  37957. $signature: 1
  37958. };
  37959. A._AsyncAwaitCompleter.prototype = {
  37960. complete$1(value) {
  37961. var t1, _this = this;
  37962. if (value == null)
  37963. value = _this.$ti._precomputed1._as(value);
  37964. if (!_this.isSync)
  37965. _this._future._asyncComplete$1(value);
  37966. else {
  37967. t1 = _this._future;
  37968. if (_this.$ti._eval$1("Future<1>")._is(value))
  37969. t1._chainFuture$1(value);
  37970. else
  37971. t1._completeWithValue$1(value);
  37972. }
  37973. },
  37974. completeError$2(e, st) {
  37975. var t1 = this._future;
  37976. if (this.isSync)
  37977. t1._completeErrorObject$1(new A.AsyncError(e, st));
  37978. else
  37979. t1._asyncCompleteErrorObject$1(new A.AsyncError(e, st));
  37980. }
  37981. };
  37982. A._awaitOnObject_closure.prototype = {
  37983. call$1(result) {
  37984. return this.bodyFunction.call$2(0, result);
  37985. },
  37986. $signature: 71
  37987. };
  37988. A._awaitOnObject_closure0.prototype = {
  37989. call$2(error, stackTrace) {
  37990. this.bodyFunction.call$2(1, new A.ExceptionAndStackTrace(error, stackTrace));
  37991. },
  37992. $signature: 390
  37993. };
  37994. A._wrapJsFunctionForAsync_closure.prototype = {
  37995. call$2(errorCode, result) {
  37996. this.$protected(errorCode, result);
  37997. },
  37998. $signature: 379
  37999. };
  38000. A._SyncStarIterator.prototype = {
  38001. get$current(_) {
  38002. return this._async$_current;
  38003. },
  38004. _resumeBody$2(errorCode, errorValue) {
  38005. var body, t1, exception;
  38006. errorCode = errorCode;
  38007. errorValue = errorValue;
  38008. body = this._body;
  38009. for (; true;)
  38010. try {
  38011. t1 = body(this, errorCode, errorValue);
  38012. return t1;
  38013. } catch (exception) {
  38014. errorValue = exception;
  38015. errorCode = 1;
  38016. }
  38017. },
  38018. moveNext$0() {
  38019. var nestedIterator, t1, exception, value, suspendedBodies, _this = this, errorValue = null, errorCode = 0;
  38020. for (; true;) {
  38021. nestedIterator = _this._nestedIterator;
  38022. if (nestedIterator != null)
  38023. try {
  38024. if (nestedIterator.moveNext$0()) {
  38025. t1 = nestedIterator;
  38026. _this._async$_current = t1.get$current(t1);
  38027. return true;
  38028. } else
  38029. _this._nestedIterator = null;
  38030. } catch (exception) {
  38031. errorValue = exception;
  38032. errorCode = 1;
  38033. _this._nestedIterator = null;
  38034. }
  38035. value = _this._resumeBody$2(errorCode, errorValue);
  38036. if (1 === value)
  38037. return true;
  38038. if (0 === value) {
  38039. _this._async$_current = null;
  38040. suspendedBodies = _this._suspendedBodies;
  38041. if (suspendedBodies == null || suspendedBodies.length === 0) {
  38042. _this._body = A._SyncStarIterator__terminatedBody;
  38043. return false;
  38044. }
  38045. _this._body = suspendedBodies.pop();
  38046. errorCode = 0;
  38047. errorValue = null;
  38048. continue;
  38049. }
  38050. if (2 === value) {
  38051. errorCode = 0;
  38052. errorValue = null;
  38053. continue;
  38054. }
  38055. if (3 === value) {
  38056. errorValue = _this._datum;
  38057. _this._datum = null;
  38058. suspendedBodies = _this._suspendedBodies;
  38059. if (suspendedBodies == null || suspendedBodies.length === 0) {
  38060. _this._async$_current = null;
  38061. _this._body = A._SyncStarIterator__terminatedBody;
  38062. throw errorValue;
  38063. return false;
  38064. }
  38065. _this._body = suspendedBodies.pop();
  38066. errorCode = 1;
  38067. continue;
  38068. }
  38069. throw A.wrapException(A.StateError$("sync*"));
  38070. }
  38071. return false;
  38072. },
  38073. _yieldStar$1(iterable) {
  38074. var t1, t2, _this = this;
  38075. if (iterable instanceof A._SyncStarIterable) {
  38076. t1 = iterable._outerHelper();
  38077. t2 = _this._suspendedBodies;
  38078. if (t2 == null)
  38079. t2 = _this._suspendedBodies = [];
  38080. t2.push(_this._body);
  38081. _this._body = t1;
  38082. return 2;
  38083. } else {
  38084. _this._nestedIterator = J.get$iterator$ax(iterable);
  38085. return 2;
  38086. }
  38087. }
  38088. };
  38089. A._SyncStarIterable.prototype = {
  38090. get$iterator(_) {
  38091. return new A._SyncStarIterator(this._outerHelper());
  38092. }
  38093. };
  38094. A.AsyncError.prototype = {
  38095. toString$0(_) {
  38096. return A.S(this.error);
  38097. },
  38098. $isError: 1,
  38099. get$stackTrace() {
  38100. return this.stackTrace;
  38101. }
  38102. };
  38103. A.Future_wait_handleError.prototype = {
  38104. call$2(theError, theStackTrace) {
  38105. var _this = this,
  38106. t1 = _this._box_0,
  38107. t2 = --t1.remaining;
  38108. if (t1.values != null) {
  38109. t1.values = null;
  38110. t1.error = theError;
  38111. t1.stackTrace = theStackTrace;
  38112. if (t2 === 0 || _this.eagerError)
  38113. _this._future._completeErrorObject$1(new A.AsyncError(theError, theStackTrace));
  38114. } else if (t2 === 0 && !_this.eagerError) {
  38115. t2 = t1.error;
  38116. t2.toString;
  38117. t1 = t1.stackTrace;
  38118. t1.toString;
  38119. _this._future._completeErrorObject$1(new A.AsyncError(t2, t1));
  38120. }
  38121. },
  38122. $signature: 75
  38123. };
  38124. A.Future_wait_closure.prototype = {
  38125. call$1(value) {
  38126. var t1, value0, t3, t4, _i, t5, _this = this,
  38127. t2 = _this._box_0,
  38128. remainingResults = --t2.remaining,
  38129. valueList = t2.values;
  38130. if (valueList != null) {
  38131. J.$indexSet$ax(valueList, _this.pos, value);
  38132. if (J.$eq$(remainingResults, 0)) {
  38133. t2 = _this.T;
  38134. t1 = A._setArrayType([], t2._eval$1("JSArray<0>"));
  38135. for (t3 = valueList, t4 = t3.length, _i = 0; _i < t3.length; t3.length === t4 || (0, A.throwConcurrentModificationError)(t3), ++_i) {
  38136. value0 = t3[_i];
  38137. t5 = value0;
  38138. if (t5 == null)
  38139. t5 = t2._as(t5);
  38140. J.add$1$ax(t1, t5);
  38141. }
  38142. _this._future._completeWithValue$1(t1);
  38143. }
  38144. } else if (J.$eq$(remainingResults, 0) && !_this.eagerError) {
  38145. t1 = t2.error;
  38146. t1.toString;
  38147. t2 = t2.stackTrace;
  38148. t2.toString;
  38149. _this._future._completeErrorObject$1(new A.AsyncError(t1, t2));
  38150. }
  38151. },
  38152. $signature() {
  38153. return this.T._eval$1("Null(0)");
  38154. }
  38155. };
  38156. A._Completer.prototype = {
  38157. completeError$2(error, stackTrace) {
  38158. if ((this.future._state & 30) !== 0)
  38159. throw A.wrapException(A.StateError$("Future already completed"));
  38160. this._completeErrorObject$1(A._interceptUserError(error, stackTrace));
  38161. },
  38162. completeError$1(error) {
  38163. return this.completeError$2(error, null);
  38164. }
  38165. };
  38166. A._AsyncCompleter.prototype = {
  38167. complete$1(value) {
  38168. var t1 = this.future;
  38169. if ((t1._state & 30) !== 0)
  38170. throw A.wrapException(A.StateError$("Future already completed"));
  38171. t1._asyncComplete$1(value);
  38172. },
  38173. complete$0() {
  38174. return this.complete$1(null);
  38175. },
  38176. _completeErrorObject$1(error) {
  38177. this.future._asyncCompleteErrorObject$1(error);
  38178. }
  38179. };
  38180. A._SyncCompleter.prototype = {
  38181. complete$1(value) {
  38182. var t1 = this.future;
  38183. if ((t1._state & 30) !== 0)
  38184. throw A.wrapException(A.StateError$("Future already completed"));
  38185. t1._complete$1(value);
  38186. },
  38187. _completeErrorObject$1(error) {
  38188. this.future._completeErrorObject$1(error);
  38189. }
  38190. };
  38191. A._FutureListener.prototype = {
  38192. matchesErrorTest$1(asyncError) {
  38193. if ((this.state & 15) !== 6)
  38194. return true;
  38195. return this.result._zone.runUnary$2$2(this.callback, asyncError.error, type$.bool, type$.Object);
  38196. },
  38197. handleError$1(asyncError) {
  38198. var exception,
  38199. errorCallback = this.errorCallback,
  38200. result = null,
  38201. t1 = type$.dynamic,
  38202. t2 = type$.Object,
  38203. t3 = asyncError.error,
  38204. t4 = this.result._zone;
  38205. if (type$.dynamic_Function_Object_StackTrace._is(errorCallback))
  38206. result = t4.runBinary$3$3(errorCallback, t3, asyncError.stackTrace, t1, t2, type$.StackTrace);
  38207. else
  38208. result = t4.runUnary$2$2(errorCallback, t3, t1, t2);
  38209. try {
  38210. t1 = result;
  38211. return t1;
  38212. } catch (exception) {
  38213. if (type$.TypeError._is(A.unwrapException(exception))) {
  38214. if ((this.state & 1) !== 0)
  38215. throw A.wrapException(A.ArgumentError$("The error handler of Future.then must return a value of the returned future's type", "onError"));
  38216. throw A.wrapException(A.ArgumentError$("The error handler of Future.catchError must return a value of the future's type", "onError"));
  38217. } else
  38218. throw exception;
  38219. }
  38220. }
  38221. };
  38222. A._Future.prototype = {
  38223. then$1$2$onError(_, f, onError, $R) {
  38224. var result, t1,
  38225. currentZone = $.Zone__current;
  38226. if (currentZone === B.C__RootZone) {
  38227. if (onError != null && !type$.dynamic_Function_Object_StackTrace._is(onError) && !type$.dynamic_Function_Object._is(onError))
  38228. throw A.wrapException(A.ArgumentError$value(onError, "onError", string$.Error_));
  38229. } else {
  38230. f = currentZone.registerUnaryCallback$2$1(f, $R._eval$1("0/"), this.$ti._precomputed1);
  38231. if (onError != null)
  38232. onError = A._registerErrorHandler(onError, currentZone);
  38233. }
  38234. result = new A._Future($.Zone__current, $R._eval$1("_Future<0>"));
  38235. t1 = onError == null ? 1 : 3;
  38236. this._addListener$1(new A._FutureListener(result, t1, f, onError, this.$ti._eval$1("@<1>")._bind$1($R)._eval$1("_FutureListener<1,2>")));
  38237. return result;
  38238. },
  38239. then$1$1(_, f, $R) {
  38240. f.toString;
  38241. return this.then$1$2$onError(0, f, null, $R);
  38242. },
  38243. _thenAwait$1$2(f, onError, $E) {
  38244. var result = new A._Future($.Zone__current, $E._eval$1("_Future<0>"));
  38245. this._addListener$1(new A._FutureListener(result, 19, f, onError, this.$ti._eval$1("@<1>")._bind$1($E)._eval$1("_FutureListener<1,2>")));
  38246. return result;
  38247. },
  38248. catchError$1(onError) {
  38249. var t1 = this.$ti,
  38250. t2 = $.Zone__current,
  38251. result = new A._Future(t2, t1);
  38252. if (t2 !== B.C__RootZone)
  38253. onError = A._registerErrorHandler(onError, t2);
  38254. this._addListener$1(new A._FutureListener(result, 2, null, onError, t1._eval$1("_FutureListener<1,1>")));
  38255. return result;
  38256. },
  38257. whenComplete$1(action) {
  38258. var t1 = this.$ti,
  38259. t2 = $.Zone__current,
  38260. result = new A._Future(t2, t1);
  38261. if (t2 !== B.C__RootZone)
  38262. action = t2.registerCallback$1$1(action, type$.dynamic);
  38263. this._addListener$1(new A._FutureListener(result, 8, action, null, t1._eval$1("_FutureListener<1,1>")));
  38264. return result;
  38265. },
  38266. _setErrorObject$1(error) {
  38267. this._state = this._state & 1 | 16;
  38268. this._resultOrListeners = error;
  38269. },
  38270. _cloneResult$1(source) {
  38271. this._state = source._state & 30 | this._state & 1;
  38272. this._resultOrListeners = source._resultOrListeners;
  38273. },
  38274. _addListener$1(listener) {
  38275. var _this = this,
  38276. t1 = _this._state;
  38277. if (t1 <= 3) {
  38278. listener._nextListener = _this._resultOrListeners;
  38279. _this._resultOrListeners = listener;
  38280. } else {
  38281. if ((t1 & 4) !== 0) {
  38282. t1 = _this._resultOrListeners;
  38283. if ((t1._state & 24) === 0) {
  38284. t1._addListener$1(listener);
  38285. return;
  38286. }
  38287. _this._cloneResult$1(t1);
  38288. }
  38289. _this._zone.scheduleMicrotask$1(new A._Future__addListener_closure(_this, listener));
  38290. }
  38291. },
  38292. _prependListeners$1(listeners) {
  38293. var t1, existingListeners, next, cursor, next0, _this = this, _box_0 = {};
  38294. _box_0.listeners = listeners;
  38295. if (listeners == null)
  38296. return;
  38297. t1 = _this._state;
  38298. if (t1 <= 3) {
  38299. existingListeners = _this._resultOrListeners;
  38300. _this._resultOrListeners = listeners;
  38301. if (existingListeners != null) {
  38302. next = listeners._nextListener;
  38303. for (cursor = listeners; next != null; cursor = next, next = next0)
  38304. next0 = next._nextListener;
  38305. cursor._nextListener = existingListeners;
  38306. }
  38307. } else {
  38308. if ((t1 & 4) !== 0) {
  38309. t1 = _this._resultOrListeners;
  38310. if ((t1._state & 24) === 0) {
  38311. t1._prependListeners$1(listeners);
  38312. return;
  38313. }
  38314. _this._cloneResult$1(t1);
  38315. }
  38316. _box_0.listeners = _this._reverseListeners$1(listeners);
  38317. _this._zone.scheduleMicrotask$1(new A._Future__prependListeners_closure(_box_0, _this));
  38318. }
  38319. },
  38320. _removeListeners$0() {
  38321. var current = this._resultOrListeners;
  38322. this._resultOrListeners = null;
  38323. return this._reverseListeners$1(current);
  38324. },
  38325. _reverseListeners$1(listeners) {
  38326. var current, prev, next;
  38327. for (current = listeners, prev = null; current != null; prev = current, current = next) {
  38328. next = current._nextListener;
  38329. current._nextListener = prev;
  38330. }
  38331. return prev;
  38332. },
  38333. _complete$1(value) {
  38334. var listeners, _this = this;
  38335. if (_this.$ti._eval$1("Future<1>")._is(value))
  38336. A._Future__chainCoreFuture(value, _this, true);
  38337. else {
  38338. listeners = _this._removeListeners$0();
  38339. _this._state = 8;
  38340. _this._resultOrListeners = value;
  38341. A._Future__propagateToListeners(_this, listeners);
  38342. }
  38343. },
  38344. _completeWithValue$1(value) {
  38345. var _this = this,
  38346. listeners = _this._removeListeners$0();
  38347. _this._state = 8;
  38348. _this._resultOrListeners = value;
  38349. A._Future__propagateToListeners(_this, listeners);
  38350. },
  38351. _completeWithResultOf$1(source) {
  38352. var t1, t2, listeners, _this = this;
  38353. if ((source._state & 16) !== 0) {
  38354. t1 = _this._zone;
  38355. t2 = source._zone;
  38356. t1 = !(t1 === t2 || t1.get$errorZone() === t2.get$errorZone());
  38357. } else
  38358. t1 = false;
  38359. if (t1)
  38360. return;
  38361. listeners = _this._removeListeners$0();
  38362. _this._cloneResult$1(source);
  38363. A._Future__propagateToListeners(_this, listeners);
  38364. },
  38365. _completeErrorObject$1(error) {
  38366. var listeners = this._removeListeners$0();
  38367. this._setErrorObject$1(error);
  38368. A._Future__propagateToListeners(this, listeners);
  38369. },
  38370. _completeError$2(error, stackTrace) {
  38371. this._completeErrorObject$1(new A.AsyncError(error, stackTrace));
  38372. },
  38373. _asyncComplete$1(value) {
  38374. if (this.$ti._eval$1("Future<1>")._is(value)) {
  38375. this._chainFuture$1(value);
  38376. return;
  38377. }
  38378. this._asyncCompleteWithValue$1(value);
  38379. },
  38380. _asyncCompleteWithValue$1(value) {
  38381. this._state ^= 2;
  38382. this._zone.scheduleMicrotask$1(new A._Future__asyncCompleteWithValue_closure(this, value));
  38383. },
  38384. _chainFuture$1(value) {
  38385. A._Future__chainCoreFuture(value, this, false);
  38386. return;
  38387. },
  38388. _asyncCompleteErrorObject$1(error) {
  38389. this._state ^= 2;
  38390. this._zone.scheduleMicrotask$1(new A._Future__asyncCompleteErrorObject_closure(this, error));
  38391. },
  38392. $isFuture: 1
  38393. };
  38394. A._Future__addListener_closure.prototype = {
  38395. call$0() {
  38396. A._Future__propagateToListeners(this.$this, this.listener);
  38397. },
  38398. $signature: 0
  38399. };
  38400. A._Future__prependListeners_closure.prototype = {
  38401. call$0() {
  38402. A._Future__propagateToListeners(this.$this, this._box_0.listeners);
  38403. },
  38404. $signature: 0
  38405. };
  38406. A._Future__chainCoreFuture_closure.prototype = {
  38407. call$0() {
  38408. A._Future__chainCoreFuture(this._box_0.source, this.target, true);
  38409. },
  38410. $signature: 0
  38411. };
  38412. A._Future__asyncCompleteWithValue_closure.prototype = {
  38413. call$0() {
  38414. this.$this._completeWithValue$1(this.value);
  38415. },
  38416. $signature: 0
  38417. };
  38418. A._Future__asyncCompleteErrorObject_closure.prototype = {
  38419. call$0() {
  38420. this.$this._completeErrorObject$1(this.error);
  38421. },
  38422. $signature: 0
  38423. };
  38424. A._Future__propagateToListeners_handleWhenCompleteCallback.prototype = {
  38425. call$0() {
  38426. var e, s, t1, exception, t2, t3, originalSource, joinedResult, _this = this, completeResult = null;
  38427. try {
  38428. t1 = _this._box_0.listener;
  38429. completeResult = t1.result._zone.run$1$1(0, t1.callback, type$.dynamic);
  38430. } catch (exception) {
  38431. e = A.unwrapException(exception);
  38432. s = A.getTraceFromException(exception);
  38433. if (_this.hasError && _this._box_1.source._resultOrListeners.error === e) {
  38434. t1 = _this._box_0;
  38435. t1.listenerValueOrError = _this._box_1.source._resultOrListeners;
  38436. } else {
  38437. t1 = e;
  38438. t2 = s;
  38439. if (t2 == null)
  38440. t2 = A.AsyncError_defaultStackTrace(t1);
  38441. t3 = _this._box_0;
  38442. t3.listenerValueOrError = new A.AsyncError(t1, t2);
  38443. t1 = t3;
  38444. }
  38445. t1.listenerHasError = true;
  38446. return;
  38447. }
  38448. if (completeResult instanceof A._Future && (completeResult._state & 24) !== 0) {
  38449. if ((completeResult._state & 16) !== 0) {
  38450. t1 = _this._box_0;
  38451. t1.listenerValueOrError = completeResult._resultOrListeners;
  38452. t1.listenerHasError = true;
  38453. }
  38454. return;
  38455. }
  38456. if (completeResult instanceof A._Future) {
  38457. originalSource = _this._box_1.source;
  38458. joinedResult = new A._Future(originalSource._zone, originalSource.$ti);
  38459. completeResult.then$1$2$onError(0, new A._Future__propagateToListeners_handleWhenCompleteCallback_closure(joinedResult, originalSource), new A._Future__propagateToListeners_handleWhenCompleteCallback_closure0(joinedResult), type$.void);
  38460. t1 = _this._box_0;
  38461. t1.listenerValueOrError = joinedResult;
  38462. t1.listenerHasError = false;
  38463. }
  38464. },
  38465. $signature: 0
  38466. };
  38467. A._Future__propagateToListeners_handleWhenCompleteCallback_closure.prototype = {
  38468. call$1(__wc0_formal) {
  38469. this.joinedResult._completeWithResultOf$1(this.originalSource);
  38470. },
  38471. $signature: 62
  38472. };
  38473. A._Future__propagateToListeners_handleWhenCompleteCallback_closure0.prototype = {
  38474. call$2(e, s) {
  38475. this.joinedResult._completeErrorObject$1(new A.AsyncError(e, s));
  38476. },
  38477. $signature: 51
  38478. };
  38479. A._Future__propagateToListeners_handleValueCallback.prototype = {
  38480. call$0() {
  38481. var e, s, t1, t2, t3, exception;
  38482. try {
  38483. t1 = this._box_0;
  38484. t2 = t1.listener;
  38485. t3 = t2.$ti;
  38486. t1.listenerValueOrError = t2.result._zone.runUnary$2$2(t2.callback, this.sourceResult, t3._eval$1("2/"), t3._precomputed1);
  38487. } catch (exception) {
  38488. e = A.unwrapException(exception);
  38489. s = A.getTraceFromException(exception);
  38490. t1 = e;
  38491. t2 = s;
  38492. if (t2 == null)
  38493. t2 = A.AsyncError_defaultStackTrace(t1);
  38494. t3 = this._box_0;
  38495. t3.listenerValueOrError = new A.AsyncError(t1, t2);
  38496. t3.listenerHasError = true;
  38497. }
  38498. },
  38499. $signature: 0
  38500. };
  38501. A._Future__propagateToListeners_handleError.prototype = {
  38502. call$0() {
  38503. var asyncError, e, s, t1, exception, t2, t3, _this = this;
  38504. try {
  38505. asyncError = _this._box_1.source._resultOrListeners;
  38506. t1 = _this._box_0;
  38507. if (t1.listener.matchesErrorTest$1(asyncError) && t1.listener.errorCallback != null) {
  38508. t1.listenerValueOrError = t1.listener.handleError$1(asyncError);
  38509. t1.listenerHasError = false;
  38510. }
  38511. } catch (exception) {
  38512. e = A.unwrapException(exception);
  38513. s = A.getTraceFromException(exception);
  38514. t1 = _this._box_1.source._resultOrListeners;
  38515. if (t1.error === e) {
  38516. t2 = _this._box_0;
  38517. t2.listenerValueOrError = t1;
  38518. t1 = t2;
  38519. } else {
  38520. t1 = e;
  38521. t2 = s;
  38522. if (t2 == null)
  38523. t2 = A.AsyncError_defaultStackTrace(t1);
  38524. t3 = _this._box_0;
  38525. t3.listenerValueOrError = new A.AsyncError(t1, t2);
  38526. t1 = t3;
  38527. }
  38528. t1.listenerHasError = true;
  38529. }
  38530. },
  38531. $signature: 0
  38532. };
  38533. A._AsyncCallbackEntry.prototype = {};
  38534. A.Stream.prototype = {
  38535. get$isBroadcast() {
  38536. return false;
  38537. },
  38538. get$length(_) {
  38539. var t1 = {},
  38540. future = new A._Future($.Zone__current, type$._Future_int);
  38541. t1.count = 0;
  38542. 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());
  38543. return future;
  38544. }
  38545. };
  38546. A.Stream_Stream$fromFuture_closure.prototype = {
  38547. call$1(value) {
  38548. var t1 = this.controller;
  38549. t1._async$_add$1(value);
  38550. t1._closeUnchecked$0();
  38551. },
  38552. $signature() {
  38553. return this.T._eval$1("Null(0)");
  38554. }
  38555. };
  38556. A.Stream_Stream$fromFuture_closure0.prototype = {
  38557. call$2(error, stackTrace) {
  38558. var t1 = this.controller;
  38559. t1._addError$2(error, stackTrace);
  38560. t1._closeUnchecked$0();
  38561. },
  38562. $signature: 388
  38563. };
  38564. A.Stream_length_closure.prototype = {
  38565. call$1(__wc0_formal) {
  38566. ++this._box_0.count;
  38567. },
  38568. $signature() {
  38569. return A._instanceType(this.$this)._eval$1("~(Stream.T)");
  38570. }
  38571. };
  38572. A.Stream_length_closure0.prototype = {
  38573. call$0() {
  38574. this.future._complete$1(this._box_0.count);
  38575. },
  38576. $signature: 0
  38577. };
  38578. A._StreamController.prototype = {
  38579. get$stream() {
  38580. return new A._ControllerStream(this, A._instanceType(this)._eval$1("_ControllerStream<1>"));
  38581. },
  38582. get$_pendingEvents() {
  38583. if ((this._state & 8) === 0)
  38584. return this._varData;
  38585. return this._varData._varData;
  38586. },
  38587. _ensurePendingEvents$0() {
  38588. var events, state, _this = this;
  38589. if ((_this._state & 8) === 0) {
  38590. events = _this._varData;
  38591. return events == null ? _this._varData = new A._PendingEvents() : events;
  38592. }
  38593. state = _this._varData;
  38594. events = state._varData;
  38595. return events == null ? state._varData = new A._PendingEvents() : events;
  38596. },
  38597. get$_subscription() {
  38598. var varData = this._varData;
  38599. return (this._state & 8) !== 0 ? varData._varData : varData;
  38600. },
  38601. _badEventState$0() {
  38602. if ((this._state & 4) !== 0)
  38603. return new A.StateError("Cannot add event after closing");
  38604. return new A.StateError("Cannot add event while adding a stream");
  38605. },
  38606. addStream$2$cancelOnError(source, cancelOnError) {
  38607. var t2, t3, t4, _this = this,
  38608. t1 = _this._state;
  38609. if (t1 >= 4)
  38610. throw A.wrapException(_this._badEventState$0());
  38611. if ((t1 & 2) !== 0) {
  38612. t1 = new A._Future($.Zone__current, type$._Future_dynamic);
  38613. t1._asyncComplete$1(null);
  38614. return t1;
  38615. }
  38616. t1 = _this._varData;
  38617. t2 = cancelOnError === true;
  38618. t3 = new A._Future($.Zone__current, type$._Future_dynamic);
  38619. t4 = t2 ? A._AddStreamState_makeErrorHandler(_this) : _this.get$_addError();
  38620. t4 = source.listen$4$cancelOnError$onDone$onError(0, _this.get$_async$_add(), t2, _this.get$_close(), t4);
  38621. t2 = _this._state;
  38622. if ((t2 & 1) !== 0 ? (_this.get$_subscription()._state & 4) !== 0 : (t2 & 2) === 0)
  38623. t4.pause$0(0);
  38624. _this._varData = new A._StreamControllerAddStreamState(t1, t3, t4);
  38625. _this._state |= 8;
  38626. return t3;
  38627. },
  38628. _ensureDoneFuture$0() {
  38629. var t1 = this._doneFuture;
  38630. if (t1 == null)
  38631. t1 = this._doneFuture = (this._state & 2) !== 0 ? $.$get$Future__nullFuture() : new A._Future($.Zone__current, type$._Future_void);
  38632. return t1;
  38633. },
  38634. add$1(_, value) {
  38635. if (this._state >= 4)
  38636. throw A.wrapException(this._badEventState$0());
  38637. this._async$_add$1(value);
  38638. },
  38639. addError$2(error, stackTrace) {
  38640. var _0_0;
  38641. if (this._state >= 4)
  38642. throw A.wrapException(this._badEventState$0());
  38643. _0_0 = A._interceptUserError(error, stackTrace);
  38644. this._addError$2(_0_0.error, _0_0.stackTrace);
  38645. },
  38646. addError$1(error) {
  38647. return this.addError$2(error, null);
  38648. },
  38649. close$0(_) {
  38650. var _this = this,
  38651. t1 = _this._state;
  38652. if ((t1 & 4) !== 0)
  38653. return _this._ensureDoneFuture$0();
  38654. if (t1 >= 4)
  38655. throw A.wrapException(_this._badEventState$0());
  38656. _this._closeUnchecked$0();
  38657. return _this._ensureDoneFuture$0();
  38658. },
  38659. _closeUnchecked$0() {
  38660. var t1 = this._state |= 4;
  38661. if ((t1 & 1) !== 0)
  38662. this._sendDone$0();
  38663. else if ((t1 & 3) === 0)
  38664. this._ensurePendingEvents$0().add$1(0, B.C__DelayedDone);
  38665. },
  38666. _async$_add$1(value) {
  38667. var t1 = this._state;
  38668. if ((t1 & 1) !== 0)
  38669. this._sendData$1(value);
  38670. else if ((t1 & 3) === 0)
  38671. this._ensurePendingEvents$0().add$1(0, new A._DelayedData(value));
  38672. },
  38673. _addError$2(error, stackTrace) {
  38674. var t1 = this._state;
  38675. if ((t1 & 1) !== 0)
  38676. this._sendError$2(error, stackTrace);
  38677. else if ((t1 & 3) === 0)
  38678. this._ensurePendingEvents$0().add$1(0, new A._DelayedError(error, stackTrace));
  38679. },
  38680. _close$0() {
  38681. var addState = this._varData;
  38682. this._varData = addState._varData;
  38683. this._state &= 4294967287;
  38684. addState.addStreamFuture._asyncComplete$1(null);
  38685. },
  38686. _subscribe$4(onData, onError, onDone, cancelOnError) {
  38687. var subscription, pendingEvents, addState, _this = this;
  38688. if ((_this._state & 3) !== 0)
  38689. throw A.wrapException(A.StateError$("Stream has already been listened to."));
  38690. subscription = A._ControllerSubscription$(_this, onData, onError, onDone, cancelOnError, A._instanceType(_this)._precomputed1);
  38691. pendingEvents = _this.get$_pendingEvents();
  38692. if (((_this._state |= 1) & 8) !== 0) {
  38693. addState = _this._varData;
  38694. addState._varData = subscription;
  38695. addState.addSubscription.resume$0(0);
  38696. } else
  38697. _this._varData = subscription;
  38698. subscription._setPendingEvents$1(pendingEvents);
  38699. subscription._guardCallback$1(new A._StreamController__subscribe_closure(_this));
  38700. return subscription;
  38701. },
  38702. _recordCancel$1(subscription) {
  38703. var onCancel, cancelResult, e, s, exception, result0, t1, _this = this, result = null;
  38704. if ((_this._state & 8) !== 0)
  38705. result = _this._varData.cancel$0();
  38706. _this._varData = null;
  38707. _this._state = _this._state & 4294967286 | 2;
  38708. onCancel = _this.onCancel;
  38709. if (onCancel != null)
  38710. if (result == null)
  38711. try {
  38712. cancelResult = onCancel.call$0();
  38713. if (cancelResult instanceof A._Future)
  38714. result = cancelResult;
  38715. } catch (exception) {
  38716. e = A.unwrapException(exception);
  38717. s = A.getTraceFromException(exception);
  38718. result0 = new A._Future($.Zone__current, type$._Future_void);
  38719. result0._asyncCompleteErrorObject$1(new A.AsyncError(e, s));
  38720. result = result0;
  38721. }
  38722. else
  38723. result = result.whenComplete$1(onCancel);
  38724. t1 = new A._StreamController__recordCancel_complete(_this);
  38725. if (result != null)
  38726. result = result.whenComplete$1(t1);
  38727. else
  38728. t1.call$0();
  38729. return result;
  38730. },
  38731. _recordPause$1(subscription) {
  38732. if ((this._state & 8) !== 0)
  38733. this._varData.addSubscription.pause$0(0);
  38734. A._runGuarded(this.onPause);
  38735. },
  38736. _recordResume$1(subscription) {
  38737. if ((this._state & 8) !== 0)
  38738. this._varData.addSubscription.resume$0(0);
  38739. A._runGuarded(this.onResume);
  38740. },
  38741. $isEventSink: 1,
  38742. set$onPause(val) {
  38743. return this.onPause = val;
  38744. },
  38745. set$onResume(val) {
  38746. return this.onResume = val;
  38747. },
  38748. set$onCancel(val) {
  38749. return this.onCancel = val;
  38750. }
  38751. };
  38752. A._StreamController__subscribe_closure.prototype = {
  38753. call$0() {
  38754. A._runGuarded(this.$this.onListen);
  38755. },
  38756. $signature: 0
  38757. };
  38758. A._StreamController__recordCancel_complete.prototype = {
  38759. call$0() {
  38760. var doneFuture = this.$this._doneFuture;
  38761. if (doneFuture != null && (doneFuture._state & 30) === 0)
  38762. doneFuture._asyncComplete$1(null);
  38763. },
  38764. $signature: 0
  38765. };
  38766. A._SyncStreamControllerDispatch.prototype = {
  38767. _sendData$1(data) {
  38768. this.get$_subscription()._async$_add$1(data);
  38769. },
  38770. _sendError$2(error, stackTrace) {
  38771. this.get$_subscription()._addError$2(error, stackTrace);
  38772. },
  38773. _sendDone$0() {
  38774. this.get$_subscription()._close$0();
  38775. }
  38776. };
  38777. A._AsyncStreamControllerDispatch.prototype = {
  38778. _sendData$1(data) {
  38779. this.get$_subscription()._addPending$1(new A._DelayedData(data));
  38780. },
  38781. _sendError$2(error, stackTrace) {
  38782. this.get$_subscription()._addPending$1(new A._DelayedError(error, stackTrace));
  38783. },
  38784. _sendDone$0() {
  38785. this.get$_subscription()._addPending$1(B.C__DelayedDone);
  38786. }
  38787. };
  38788. A._AsyncStreamController.prototype = {};
  38789. A._SyncStreamController.prototype = {};
  38790. A._ControllerStream.prototype = {
  38791. get$hashCode(_) {
  38792. return (A.Primitives_objectHashCode(this._controller) ^ 892482866) >>> 0;
  38793. },
  38794. $eq(_, other) {
  38795. if (other == null)
  38796. return false;
  38797. if (this === other)
  38798. return true;
  38799. return other instanceof A._ControllerStream && other._controller === this._controller;
  38800. }
  38801. };
  38802. A._ControllerSubscription.prototype = {
  38803. _async$_onCancel$0() {
  38804. return this._controller._recordCancel$1(this);
  38805. },
  38806. _async$_onPause$0() {
  38807. this._controller._recordPause$1(this);
  38808. },
  38809. _async$_onResume$0() {
  38810. this._controller._recordResume$1(this);
  38811. }
  38812. };
  38813. A._AddStreamState.prototype = {
  38814. cancel$0() {
  38815. var cancel = this.addSubscription.cancel$0();
  38816. return cancel.whenComplete$1(new A._AddStreamState_cancel_closure(this));
  38817. }
  38818. };
  38819. A._AddStreamState_makeErrorHandler_closure.prototype = {
  38820. call$2(e, s) {
  38821. var t1 = this.controller;
  38822. t1._addError$2(e, s);
  38823. t1._close$0();
  38824. },
  38825. $signature: 51
  38826. };
  38827. A._AddStreamState_cancel_closure.prototype = {
  38828. call$0() {
  38829. this.$this.addStreamFuture._asyncComplete$1(null);
  38830. },
  38831. $signature: 1
  38832. };
  38833. A._StreamControllerAddStreamState.prototype = {};
  38834. A._BufferingStreamSubscription.prototype = {
  38835. _setPendingEvents$1(pendingEvents) {
  38836. var _this = this;
  38837. if (pendingEvents == null)
  38838. return;
  38839. _this._pending = pendingEvents;
  38840. if (pendingEvents.lastPendingEvent != null) {
  38841. _this._state = (_this._state | 128) >>> 0;
  38842. pendingEvents.schedule$1(_this);
  38843. }
  38844. },
  38845. pause$1(_, resumeSignal) {
  38846. var t2, t3, _this = this,
  38847. t1 = _this._state;
  38848. if ((t1 & 8) !== 0)
  38849. return;
  38850. t2 = (t1 + 256 | 4) >>> 0;
  38851. _this._state = t2;
  38852. if (t1 < 256) {
  38853. t3 = _this._pending;
  38854. if (t3 != null)
  38855. if (t3._state === 1)
  38856. t3._state = 3;
  38857. }
  38858. if ((t1 & 4) === 0 && (t2 & 64) === 0)
  38859. _this._guardCallback$1(_this.get$_async$_onPause());
  38860. },
  38861. pause$0(_) {
  38862. return this.pause$1(0, null);
  38863. },
  38864. resume$0(_) {
  38865. var _this = this,
  38866. t1 = _this._state;
  38867. if ((t1 & 8) !== 0)
  38868. return;
  38869. if (t1 >= 256) {
  38870. t1 = _this._state = t1 - 256;
  38871. if (t1 < 256)
  38872. if ((t1 & 128) !== 0 && _this._pending.lastPendingEvent != null)
  38873. _this._pending.schedule$1(_this);
  38874. else {
  38875. t1 = (t1 & 4294967291) >>> 0;
  38876. _this._state = t1;
  38877. if ((t1 & 64) === 0)
  38878. _this._guardCallback$1(_this.get$_async$_onResume());
  38879. }
  38880. }
  38881. },
  38882. cancel$0() {
  38883. var _this = this,
  38884. t1 = (_this._state & 4294967279) >>> 0;
  38885. _this._state = t1;
  38886. if ((t1 & 8) === 0)
  38887. _this._cancel$0();
  38888. t1 = _this._cancelFuture;
  38889. return t1 == null ? $.$get$Future__nullFuture() : t1;
  38890. },
  38891. _cancel$0() {
  38892. var t2, _this = this,
  38893. t1 = _this._state = (_this._state | 8) >>> 0;
  38894. if ((t1 & 128) !== 0) {
  38895. t2 = _this._pending;
  38896. if (t2._state === 1)
  38897. t2._state = 3;
  38898. }
  38899. if ((t1 & 64) === 0)
  38900. _this._pending = null;
  38901. _this._cancelFuture = _this._async$_onCancel$0();
  38902. },
  38903. _async$_add$1(data) {
  38904. var t1 = this._state;
  38905. if ((t1 & 8) !== 0)
  38906. return;
  38907. if (t1 < 64)
  38908. this._sendData$1(data);
  38909. else
  38910. this._addPending$1(new A._DelayedData(data));
  38911. },
  38912. _addError$2(error, stackTrace) {
  38913. var t1;
  38914. if (type$.Error._is(error))
  38915. A.Primitives_trySetStackTrace(error, stackTrace);
  38916. t1 = this._state;
  38917. if ((t1 & 8) !== 0)
  38918. return;
  38919. if (t1 < 64)
  38920. this._sendError$2(error, stackTrace);
  38921. else
  38922. this._addPending$1(new A._DelayedError(error, stackTrace));
  38923. },
  38924. _close$0() {
  38925. var _this = this,
  38926. t1 = _this._state;
  38927. if ((t1 & 8) !== 0)
  38928. return;
  38929. t1 = (t1 | 2) >>> 0;
  38930. _this._state = t1;
  38931. if (t1 < 64)
  38932. _this._sendDone$0();
  38933. else
  38934. _this._addPending$1(B.C__DelayedDone);
  38935. },
  38936. _async$_onPause$0() {
  38937. },
  38938. _async$_onResume$0() {
  38939. },
  38940. _async$_onCancel$0() {
  38941. return null;
  38942. },
  38943. _addPending$1($event) {
  38944. var t1, _this = this,
  38945. pending = _this._pending;
  38946. if (pending == null)
  38947. pending = _this._pending = new A._PendingEvents();
  38948. pending.add$1(0, $event);
  38949. t1 = _this._state;
  38950. if ((t1 & 128) === 0) {
  38951. t1 = (t1 | 128) >>> 0;
  38952. _this._state = t1;
  38953. if (t1 < 256)
  38954. pending.schedule$1(_this);
  38955. }
  38956. },
  38957. _sendData$1(data) {
  38958. var _this = this,
  38959. t1 = _this._state;
  38960. _this._state = (t1 | 64) >>> 0;
  38961. _this._zone.runUnaryGuarded$1$2(_this._onData, data, A._instanceType(_this)._eval$1("_BufferingStreamSubscription.T"));
  38962. _this._state = (_this._state & 4294967231) >>> 0;
  38963. _this._checkState$1((t1 & 4) !== 0);
  38964. },
  38965. _sendError$2(error, stackTrace) {
  38966. var cancelFuture, _this = this,
  38967. t1 = _this._state,
  38968. t2 = new A._BufferingStreamSubscription__sendError_sendError(_this, error, stackTrace);
  38969. if ((t1 & 1) !== 0) {
  38970. _this._state = (t1 | 16) >>> 0;
  38971. _this._cancel$0();
  38972. cancelFuture = _this._cancelFuture;
  38973. if (cancelFuture != null && cancelFuture !== $.$get$Future__nullFuture())
  38974. cancelFuture.whenComplete$1(t2);
  38975. else
  38976. t2.call$0();
  38977. } else {
  38978. t2.call$0();
  38979. _this._checkState$1((t1 & 4) !== 0);
  38980. }
  38981. },
  38982. _sendDone$0() {
  38983. var cancelFuture, _this = this,
  38984. t1 = new A._BufferingStreamSubscription__sendDone_sendDone(_this);
  38985. _this._cancel$0();
  38986. _this._state = (_this._state | 16) >>> 0;
  38987. cancelFuture = _this._cancelFuture;
  38988. if (cancelFuture != null && cancelFuture !== $.$get$Future__nullFuture())
  38989. cancelFuture.whenComplete$1(t1);
  38990. else
  38991. t1.call$0();
  38992. },
  38993. _guardCallback$1(callback) {
  38994. var _this = this,
  38995. t1 = _this._state;
  38996. _this._state = (t1 | 64) >>> 0;
  38997. callback.call$0();
  38998. _this._state = (_this._state & 4294967231) >>> 0;
  38999. _this._checkState$1((t1 & 4) !== 0);
  39000. },
  39001. _checkState$1(wasInputPaused) {
  39002. var t2, isInputPaused, _this = this,
  39003. t1 = _this._state;
  39004. if ((t1 & 128) !== 0 && _this._pending.lastPendingEvent == null) {
  39005. t1 = _this._state = (t1 & 4294967167) >>> 0;
  39006. t2 = false;
  39007. if ((t1 & 4) !== 0)
  39008. if (t1 < 256) {
  39009. t2 = _this._pending;
  39010. t2 = t2 == null ? null : t2.lastPendingEvent == null;
  39011. t2 = t2 !== false;
  39012. }
  39013. if (t2) {
  39014. t1 = (t1 & 4294967291) >>> 0;
  39015. _this._state = t1;
  39016. }
  39017. }
  39018. for (; true; wasInputPaused = isInputPaused) {
  39019. if ((t1 & 8) !== 0) {
  39020. _this._pending = null;
  39021. return;
  39022. }
  39023. isInputPaused = (t1 & 4) !== 0;
  39024. if (wasInputPaused === isInputPaused)
  39025. break;
  39026. _this._state = (t1 ^ 64) >>> 0;
  39027. if (isInputPaused)
  39028. _this._async$_onPause$0();
  39029. else
  39030. _this._async$_onResume$0();
  39031. t1 = (_this._state & 4294967231) >>> 0;
  39032. _this._state = t1;
  39033. }
  39034. if ((t1 & 128) !== 0 && t1 < 256)
  39035. _this._pending.schedule$1(_this);
  39036. },
  39037. $isStreamSubscription: 1
  39038. };
  39039. A._BufferingStreamSubscription__sendError_sendError.prototype = {
  39040. call$0() {
  39041. var onError, t3, t4,
  39042. t1 = this.$this,
  39043. t2 = t1._state;
  39044. if ((t2 & 8) !== 0 && (t2 & 16) === 0)
  39045. return;
  39046. t1._state = (t2 | 64) >>> 0;
  39047. onError = t1._onError;
  39048. t2 = this.error;
  39049. t3 = type$.Object;
  39050. t4 = t1._zone;
  39051. if (type$.void_Function_Object_StackTrace._is(onError))
  39052. t4.runBinaryGuarded$2$3(onError, t2, this.stackTrace, t3, type$.StackTrace);
  39053. else
  39054. t4.runUnaryGuarded$1$2(onError, t2, t3);
  39055. t1._state = (t1._state & 4294967231) >>> 0;
  39056. },
  39057. $signature: 0
  39058. };
  39059. A._BufferingStreamSubscription__sendDone_sendDone.prototype = {
  39060. call$0() {
  39061. var t1 = this.$this,
  39062. t2 = t1._state;
  39063. if ((t2 & 16) === 0)
  39064. return;
  39065. t1._state = (t2 | 74) >>> 0;
  39066. t1._zone.runGuarded$1(t1._onDone);
  39067. t1._state = (t1._state & 4294967231) >>> 0;
  39068. },
  39069. $signature: 0
  39070. };
  39071. A._StreamImpl.prototype = {
  39072. listen$4$cancelOnError$onDone$onError(_, onData, cancelOnError, onDone, onError) {
  39073. return this._controller._subscribe$4(onData, onError, onDone, cancelOnError === true);
  39074. },
  39075. listen$1(_, onData) {
  39076. return this.listen$4$cancelOnError$onDone$onError(0, onData, null, null, null);
  39077. },
  39078. listen$3$onDone$onError(_, onData, onDone, onError) {
  39079. return this.listen$4$cancelOnError$onDone$onError(0, onData, null, onDone, onError);
  39080. }
  39081. };
  39082. A._DelayedEvent.prototype = {
  39083. get$next() {
  39084. return this.next;
  39085. },
  39086. set$next(val) {
  39087. return this.next = val;
  39088. }
  39089. };
  39090. A._DelayedData.prototype = {
  39091. perform$1(dispatch) {
  39092. dispatch._sendData$1(this.value);
  39093. }
  39094. };
  39095. A._DelayedError.prototype = {
  39096. perform$1(dispatch) {
  39097. dispatch._sendError$2(this.error, this.stackTrace);
  39098. }
  39099. };
  39100. A._DelayedDone.prototype = {
  39101. perform$1(dispatch) {
  39102. dispatch._sendDone$0();
  39103. },
  39104. get$next() {
  39105. return null;
  39106. },
  39107. set$next(__wc0_formal) {
  39108. throw A.wrapException(A.StateError$("No events after a done."));
  39109. }
  39110. };
  39111. A._PendingEvents.prototype = {
  39112. schedule$1(dispatch) {
  39113. var _this = this,
  39114. t1 = _this._state;
  39115. if (t1 === 1)
  39116. return;
  39117. if (t1 >= 1) {
  39118. _this._state = 1;
  39119. return;
  39120. }
  39121. A.scheduleMicrotask(new A._PendingEvents_schedule_closure(_this, dispatch));
  39122. _this._state = 1;
  39123. },
  39124. add$1(_, $event) {
  39125. var _this = this,
  39126. lastEvent = _this.lastPendingEvent;
  39127. if (lastEvent == null)
  39128. _this.firstPendingEvent = _this.lastPendingEvent = $event;
  39129. else {
  39130. lastEvent.set$next($event);
  39131. _this.lastPendingEvent = $event;
  39132. }
  39133. }
  39134. };
  39135. A._PendingEvents_schedule_closure.prototype = {
  39136. call$0() {
  39137. var $event, nextEvent,
  39138. t1 = this.$this,
  39139. oldState = t1._state;
  39140. t1._state = 0;
  39141. if (oldState === 3)
  39142. return;
  39143. $event = t1.firstPendingEvent;
  39144. nextEvent = $event.get$next();
  39145. t1.firstPendingEvent = nextEvent;
  39146. if (nextEvent == null)
  39147. t1.lastPendingEvent = null;
  39148. $event.perform$1(this.dispatch);
  39149. },
  39150. $signature: 0
  39151. };
  39152. A._StreamIterator.prototype = {
  39153. get$current(_) {
  39154. if (this._async$_hasValue)
  39155. return this._stateData;
  39156. return null;
  39157. },
  39158. moveNext$0() {
  39159. var future, _this = this,
  39160. subscription = _this._subscription;
  39161. if (subscription != null) {
  39162. if (_this._async$_hasValue) {
  39163. future = new A._Future($.Zone__current, type$._Future_bool);
  39164. _this._stateData = future;
  39165. _this._async$_hasValue = false;
  39166. subscription.resume$0(0);
  39167. return future;
  39168. }
  39169. throw A.wrapException(A.StateError$("Already waiting for next."));
  39170. }
  39171. return _this._initializeOrDone$0();
  39172. },
  39173. _initializeOrDone$0() {
  39174. var future, subscription, _this = this,
  39175. stateData = _this._stateData;
  39176. if (stateData != null) {
  39177. future = new A._Future($.Zone__current, type$._Future_bool);
  39178. _this._stateData = future;
  39179. subscription = stateData.listen$4$cancelOnError$onDone$onError(0, _this.get$_onData(), true, _this.get$_onDone(), _this.get$_onError());
  39180. if (_this._stateData != null)
  39181. _this._subscription = subscription;
  39182. return future;
  39183. }
  39184. return $.$get$Future__falseFuture();
  39185. },
  39186. cancel$0() {
  39187. var _this = this,
  39188. subscription = _this._subscription,
  39189. stateData = _this._stateData;
  39190. _this._stateData = null;
  39191. if (subscription != null) {
  39192. _this._subscription = null;
  39193. if (!_this._async$_hasValue)
  39194. stateData._asyncComplete$1(false);
  39195. else
  39196. _this._async$_hasValue = false;
  39197. return subscription.cancel$0();
  39198. }
  39199. return $.$get$Future__nullFuture();
  39200. },
  39201. _onData$1(data) {
  39202. var moveNextFuture, t1, _this = this;
  39203. if (_this._subscription == null)
  39204. return;
  39205. moveNextFuture = _this._stateData;
  39206. _this._stateData = data;
  39207. _this._async$_hasValue = true;
  39208. moveNextFuture._complete$1(true);
  39209. if (_this._async$_hasValue) {
  39210. t1 = _this._subscription;
  39211. if (t1 != null)
  39212. t1.pause$0(0);
  39213. }
  39214. },
  39215. _onError$2(error, stackTrace) {
  39216. var _this = this,
  39217. subscription = _this._subscription,
  39218. moveNextFuture = _this._stateData;
  39219. _this._stateData = _this._subscription = null;
  39220. if (subscription != null)
  39221. moveNextFuture._completeErrorObject$1(new A.AsyncError(error, stackTrace));
  39222. else
  39223. moveNextFuture._asyncCompleteErrorObject$1(new A.AsyncError(error, stackTrace));
  39224. },
  39225. _onDone$0() {
  39226. var _this = this,
  39227. subscription = _this._subscription,
  39228. moveNextFuture = _this._stateData;
  39229. _this._stateData = _this._subscription = null;
  39230. if (subscription != null)
  39231. moveNextFuture._completeWithValue$1(false);
  39232. else
  39233. moveNextFuture._asyncCompleteWithValue$1(false);
  39234. }
  39235. };
  39236. A._ForwardingStream.prototype = {
  39237. get$isBroadcast() {
  39238. return this._async$_source.get$isBroadcast();
  39239. },
  39240. listen$4$cancelOnError$onDone$onError(_, onData, cancelOnError, onDone, onError) {
  39241. var t1 = this.$ti,
  39242. t2 = $.Zone__current,
  39243. t3 = cancelOnError === true ? 1 : 0,
  39244. t4 = onError != null ? 32 : 0,
  39245. t5 = A._BufferingStreamSubscription__registerDataHandler(t2, onData, t1._rest[1]),
  39246. t6 = A._BufferingStreamSubscription__registerErrorHandler(t2, onError),
  39247. t7 = onDone == null ? A.async___nullDoneHandler$closure() : onDone;
  39248. t1 = new A._ForwardingStreamSubscription(this, t5, t6, t2.registerCallback$1$1(t7, type$.void), t2, t3 | t4, t1._eval$1("_ForwardingStreamSubscription<1,2>"));
  39249. t1._subscription = this._async$_source.listen$3$onDone$onError(0, t1.get$_handleData(), t1.get$_handleDone(), t1.get$_handleError());
  39250. return t1;
  39251. },
  39252. listen$1(_, onData) {
  39253. return this.listen$4$cancelOnError$onDone$onError(0, onData, null, null, null);
  39254. },
  39255. listen$3$onDone$onError(_, onData, onDone, onError) {
  39256. return this.listen$4$cancelOnError$onDone$onError(0, onData, null, onDone, onError);
  39257. }
  39258. };
  39259. A._ForwardingStreamSubscription.prototype = {
  39260. _async$_add$1(data) {
  39261. if ((this._state & 2) !== 0)
  39262. return;
  39263. this.super$_BufferingStreamSubscription$_add(data);
  39264. },
  39265. _addError$2(error, stackTrace) {
  39266. if ((this._state & 2) !== 0)
  39267. return;
  39268. this.super$_BufferingStreamSubscription$_addError(error, stackTrace);
  39269. },
  39270. _async$_onPause$0() {
  39271. var t1 = this._subscription;
  39272. if (t1 != null)
  39273. t1.pause$0(0);
  39274. },
  39275. _async$_onResume$0() {
  39276. var t1 = this._subscription;
  39277. if (t1 != null)
  39278. t1.resume$0(0);
  39279. },
  39280. _async$_onCancel$0() {
  39281. var subscription = this._subscription;
  39282. if (subscription != null) {
  39283. this._subscription = null;
  39284. return subscription.cancel$0();
  39285. }
  39286. return null;
  39287. },
  39288. _handleData$1(data) {
  39289. this._stream._handleData$2(data, this);
  39290. },
  39291. _handleError$2(error, stackTrace) {
  39292. this._addError$2(error, stackTrace);
  39293. },
  39294. _handleDone$0() {
  39295. this._close$0();
  39296. }
  39297. };
  39298. A._MapStream.prototype = {
  39299. _handleData$2(inputEvent, sink) {
  39300. var e, s, exception, error, stackTrace, replacement, outputEvent = null;
  39301. try {
  39302. outputEvent = this._transform.call$1(inputEvent);
  39303. } catch (exception) {
  39304. e = A.unwrapException(exception);
  39305. s = A.getTraceFromException(exception);
  39306. error = e;
  39307. stackTrace = s;
  39308. replacement = A._interceptError(error, stackTrace);
  39309. if (replacement != null) {
  39310. error = replacement.error;
  39311. stackTrace = replacement.stackTrace;
  39312. }
  39313. sink._addError$2(error, stackTrace);
  39314. return;
  39315. }
  39316. sink._async$_add$1(outputEvent);
  39317. }
  39318. };
  39319. A._ZoneFunction.prototype = {};
  39320. A._ZoneSpecification.prototype = {$isZoneSpecification: 1};
  39321. A._ZoneDelegate.prototype = {$isZoneDelegate: 1};
  39322. A._Zone.prototype = {
  39323. _processUncaughtError$3(zone, error, stackTrace) {
  39324. var handler, parentDelegate, parentZone, currentZone, e, s, t1, exception,
  39325. implementation = this.get$_handleUncaughtError(),
  39326. implZone = implementation.zone;
  39327. if (implZone === B.C__RootZone) {
  39328. A._rootHandleError(error, stackTrace);
  39329. return;
  39330. }
  39331. handler = implementation.$function;
  39332. parentDelegate = implZone.get$_parentDelegate();
  39333. t1 = J.get$parent$z(implZone);
  39334. t1.toString;
  39335. parentZone = t1;
  39336. currentZone = $.Zone__current;
  39337. try {
  39338. $.Zone__current = parentZone;
  39339. handler.call$5(implZone, parentDelegate, zone, error, stackTrace);
  39340. $.Zone__current = currentZone;
  39341. } catch (exception) {
  39342. e = A.unwrapException(exception);
  39343. s = A.getTraceFromException(exception);
  39344. $.Zone__current = currentZone;
  39345. t1 = error === e ? stackTrace : s;
  39346. parentZone._processUncaughtError$3(implZone, e, t1);
  39347. }
  39348. },
  39349. $isZone: 1
  39350. };
  39351. A._CustomZone.prototype = {
  39352. get$_delegate() {
  39353. var t1 = this._delegateCache;
  39354. return t1 == null ? this._delegateCache = new A._ZoneDelegate(this) : t1;
  39355. },
  39356. get$_parentDelegate() {
  39357. return this.parent.get$_delegate();
  39358. },
  39359. get$errorZone() {
  39360. return this._handleUncaughtError.zone;
  39361. },
  39362. runGuarded$1(f) {
  39363. var e, s, exception;
  39364. try {
  39365. this.run$1$1(0, f, type$.void);
  39366. } catch (exception) {
  39367. e = A.unwrapException(exception);
  39368. s = A.getTraceFromException(exception);
  39369. this._processUncaughtError$3(this, e, s);
  39370. }
  39371. },
  39372. runUnaryGuarded$1$2(f, arg, $T) {
  39373. var e, s, exception;
  39374. try {
  39375. this.runUnary$2$2(f, arg, type$.void, $T);
  39376. } catch (exception) {
  39377. e = A.unwrapException(exception);
  39378. s = A.getTraceFromException(exception);
  39379. this._processUncaughtError$3(this, e, s);
  39380. }
  39381. },
  39382. runBinaryGuarded$2$3(f, arg1, arg2, T1, T2) {
  39383. var e, s, exception;
  39384. try {
  39385. this.runBinary$3$3(f, arg1, arg2, type$.void, T1, T2);
  39386. } catch (exception) {
  39387. e = A.unwrapException(exception);
  39388. s = A.getTraceFromException(exception);
  39389. this._processUncaughtError$3(this, e, s);
  39390. }
  39391. },
  39392. bindCallback$1$1(f, $R) {
  39393. return new A._CustomZone_bindCallback_closure(this, this.registerCallback$1$1(f, $R), $R);
  39394. },
  39395. bindUnaryCallback$2$1(f, $R, $T) {
  39396. return new A._CustomZone_bindUnaryCallback_closure(this, this.registerUnaryCallback$2$1(f, $R, $T), $T, $R);
  39397. },
  39398. bindCallbackGuarded$1(f) {
  39399. return new A._CustomZone_bindCallbackGuarded_closure(this, this.registerCallback$1$1(f, type$.void));
  39400. },
  39401. $index(_, key) {
  39402. var value,
  39403. t1 = this._async$_map,
  39404. result = t1.$index(0, key);
  39405. if (result != null || t1.containsKey$1(key))
  39406. return result;
  39407. value = this.parent.$index(0, key);
  39408. if (value != null)
  39409. t1.$indexSet(0, key, value);
  39410. return value;
  39411. },
  39412. handleUncaughtError$2(error, stackTrace) {
  39413. this._processUncaughtError$3(this, error, stackTrace);
  39414. },
  39415. fork$2$specification$zoneValues(specification, zoneValues) {
  39416. var implementation = this._fork,
  39417. t1 = implementation.zone;
  39418. return implementation.$function.call$5(t1, t1.get$_parentDelegate(), this, specification, zoneValues);
  39419. },
  39420. run$1$1(_, f) {
  39421. var implementation = this._run,
  39422. t1 = implementation.zone;
  39423. return implementation.$function.call$4(t1, t1.get$_parentDelegate(), this, f);
  39424. },
  39425. runUnary$2$2(f, arg) {
  39426. var implementation = this._runUnary,
  39427. t1 = implementation.zone;
  39428. return implementation.$function.call$5(t1, t1.get$_parentDelegate(), this, f, arg);
  39429. },
  39430. runBinary$3$3(f, arg1, arg2) {
  39431. var implementation = this._runBinary,
  39432. t1 = implementation.zone;
  39433. return implementation.$function.call$6(t1, t1.get$_parentDelegate(), this, f, arg1, arg2);
  39434. },
  39435. registerCallback$1$1(callback) {
  39436. var implementation = this._registerCallback,
  39437. t1 = implementation.zone;
  39438. return implementation.$function.call$4(t1, t1.get$_parentDelegate(), this, callback);
  39439. },
  39440. registerUnaryCallback$2$1(callback) {
  39441. var implementation = this._registerUnaryCallback,
  39442. t1 = implementation.zone;
  39443. return implementation.$function.call$4(t1, t1.get$_parentDelegate(), this, callback);
  39444. },
  39445. registerBinaryCallback$3$1(callback) {
  39446. var implementation = this._registerBinaryCallback,
  39447. t1 = implementation.zone;
  39448. return implementation.$function.call$4(t1, t1.get$_parentDelegate(), this, callback);
  39449. },
  39450. errorCallback$2(error, stackTrace) {
  39451. var implementation = this._errorCallback,
  39452. implementationZone = implementation.zone;
  39453. if (implementationZone === B.C__RootZone)
  39454. return null;
  39455. return implementation.$function.call$5(implementationZone, implementationZone.get$_parentDelegate(), this, error, stackTrace);
  39456. },
  39457. scheduleMicrotask$1(f) {
  39458. var implementation = this._scheduleMicrotask,
  39459. t1 = implementation.zone;
  39460. return implementation.$function.call$4(t1, t1.get$_parentDelegate(), this, f);
  39461. },
  39462. createTimer$2(duration, f) {
  39463. var implementation = this._createTimer,
  39464. t1 = implementation.zone;
  39465. return implementation.$function.call$5(t1, t1.get$_parentDelegate(), this, duration, f);
  39466. },
  39467. print$1(line) {
  39468. var implementation = this._print,
  39469. t1 = implementation.zone;
  39470. return implementation.$function.call$4(t1, t1.get$_parentDelegate(), this, line);
  39471. },
  39472. get$_run() {
  39473. return this._run;
  39474. },
  39475. get$_runUnary() {
  39476. return this._runUnary;
  39477. },
  39478. get$_runBinary() {
  39479. return this._runBinary;
  39480. },
  39481. get$_registerCallback() {
  39482. return this._registerCallback;
  39483. },
  39484. get$_registerUnaryCallback() {
  39485. return this._registerUnaryCallback;
  39486. },
  39487. get$_registerBinaryCallback() {
  39488. return this._registerBinaryCallback;
  39489. },
  39490. get$_errorCallback() {
  39491. return this._errorCallback;
  39492. },
  39493. get$_scheduleMicrotask() {
  39494. return this._scheduleMicrotask;
  39495. },
  39496. get$_createTimer() {
  39497. return this._createTimer;
  39498. },
  39499. get$_createPeriodicTimer() {
  39500. return this._createPeriodicTimer;
  39501. },
  39502. get$_print() {
  39503. return this._print;
  39504. },
  39505. get$_fork() {
  39506. return this._fork;
  39507. },
  39508. get$_handleUncaughtError() {
  39509. return this._handleUncaughtError;
  39510. },
  39511. get$parent(receiver) {
  39512. return this.parent;
  39513. },
  39514. get$_async$_map() {
  39515. return this._async$_map;
  39516. }
  39517. };
  39518. A._CustomZone_bindCallback_closure.prototype = {
  39519. call$0() {
  39520. return this.$this.run$1$1(0, this.registered, this.R);
  39521. },
  39522. $signature() {
  39523. return this.R._eval$1("0()");
  39524. }
  39525. };
  39526. A._CustomZone_bindUnaryCallback_closure.prototype = {
  39527. call$1(arg) {
  39528. var _this = this;
  39529. return _this.$this.runUnary$2$2(_this.registered, arg, _this.R, _this.T);
  39530. },
  39531. $signature() {
  39532. return this.R._eval$1("@<0>")._bind$1(this.T)._eval$1("1(2)");
  39533. }
  39534. };
  39535. A._CustomZone_bindCallbackGuarded_closure.prototype = {
  39536. call$0() {
  39537. return this.$this.runGuarded$1(this.registered);
  39538. },
  39539. $signature: 0
  39540. };
  39541. A._rootHandleError_closure.prototype = {
  39542. call$0() {
  39543. A.Error_throwWithStackTrace(this.error, this.stackTrace);
  39544. },
  39545. $signature: 0
  39546. };
  39547. A._RootZone.prototype = {
  39548. get$_run() {
  39549. return B._ZoneFunction__RootZone__rootRun;
  39550. },
  39551. get$_runUnary() {
  39552. return B._ZoneFunction__RootZone__rootRunUnary;
  39553. },
  39554. get$_runBinary() {
  39555. return B._ZoneFunction__RootZone__rootRunBinary;
  39556. },
  39557. get$_registerCallback() {
  39558. return B._ZoneFunction__RootZone__rootRegisterCallback;
  39559. },
  39560. get$_registerUnaryCallback() {
  39561. return B._ZoneFunction_Xkh;
  39562. },
  39563. get$_registerBinaryCallback() {
  39564. return B._ZoneFunction_e9o;
  39565. },
  39566. get$_errorCallback() {
  39567. return B._ZoneFunction__RootZone__rootErrorCallback;
  39568. },
  39569. get$_scheduleMicrotask() {
  39570. return B._ZoneFunction__RootZone__rootScheduleMicrotask;
  39571. },
  39572. get$_createTimer() {
  39573. return B._ZoneFunction__RootZone__rootCreateTimer;
  39574. },
  39575. get$_createPeriodicTimer() {
  39576. return B._ZoneFunction_PAY;
  39577. },
  39578. get$_print() {
  39579. return B._ZoneFunction__RootZone__rootPrint;
  39580. },
  39581. get$_fork() {
  39582. return B._ZoneFunction__RootZone__rootFork;
  39583. },
  39584. get$_handleUncaughtError() {
  39585. return B._ZoneFunction_KjJ;
  39586. },
  39587. get$parent(_) {
  39588. return null;
  39589. },
  39590. get$_async$_map() {
  39591. return $.$get$_RootZone__rootMap();
  39592. },
  39593. get$_delegate() {
  39594. var t1 = $._RootZone__rootDelegate;
  39595. return t1 == null ? $._RootZone__rootDelegate = new A._ZoneDelegate(this) : t1;
  39596. },
  39597. get$_parentDelegate() {
  39598. var t1 = $._RootZone__rootDelegate;
  39599. return t1 == null ? $._RootZone__rootDelegate = new A._ZoneDelegate(this) : t1;
  39600. },
  39601. get$errorZone() {
  39602. return this;
  39603. },
  39604. runGuarded$1(f) {
  39605. var e, s, exception;
  39606. try {
  39607. if (B.C__RootZone === $.Zone__current) {
  39608. f.call$0();
  39609. return;
  39610. }
  39611. A._rootRun(null, null, this, f);
  39612. } catch (exception) {
  39613. e = A.unwrapException(exception);
  39614. s = A.getTraceFromException(exception);
  39615. A._rootHandleError(e, s);
  39616. }
  39617. },
  39618. runUnaryGuarded$1$2(f, arg) {
  39619. var e, s, exception;
  39620. try {
  39621. if (B.C__RootZone === $.Zone__current) {
  39622. f.call$1(arg);
  39623. return;
  39624. }
  39625. A._rootRunUnary(null, null, this, f, arg);
  39626. } catch (exception) {
  39627. e = A.unwrapException(exception);
  39628. s = A.getTraceFromException(exception);
  39629. A._rootHandleError(e, s);
  39630. }
  39631. },
  39632. runBinaryGuarded$2$3(f, arg1, arg2) {
  39633. var e, s, exception;
  39634. try {
  39635. if (B.C__RootZone === $.Zone__current) {
  39636. f.call$2(arg1, arg2);
  39637. return;
  39638. }
  39639. A._rootRunBinary(null, null, this, f, arg1, arg2);
  39640. } catch (exception) {
  39641. e = A.unwrapException(exception);
  39642. s = A.getTraceFromException(exception);
  39643. A._rootHandleError(e, s);
  39644. }
  39645. },
  39646. bindCallback$1$1(f, $R) {
  39647. return new A._RootZone_bindCallback_closure(this, f, $R);
  39648. },
  39649. bindUnaryCallback$2$1(f, $R, $T) {
  39650. return new A._RootZone_bindUnaryCallback_closure(this, f, $T, $R);
  39651. },
  39652. bindCallbackGuarded$1(f) {
  39653. return new A._RootZone_bindCallbackGuarded_closure(this, f);
  39654. },
  39655. $index(_, key) {
  39656. return null;
  39657. },
  39658. handleUncaughtError$2(error, stackTrace) {
  39659. A._rootHandleError(error, stackTrace);
  39660. },
  39661. fork$2$specification$zoneValues(specification, zoneValues) {
  39662. return A._rootFork(null, null, this, specification, zoneValues);
  39663. },
  39664. run$1$1(_, f) {
  39665. if ($.Zone__current === B.C__RootZone)
  39666. return f.call$0();
  39667. return A._rootRun(null, null, this, f);
  39668. },
  39669. runUnary$2$2(f, arg) {
  39670. if ($.Zone__current === B.C__RootZone)
  39671. return f.call$1(arg);
  39672. return A._rootRunUnary(null, null, this, f, arg);
  39673. },
  39674. runBinary$3$3(f, arg1, arg2) {
  39675. if ($.Zone__current === B.C__RootZone)
  39676. return f.call$2(arg1, arg2);
  39677. return A._rootRunBinary(null, null, this, f, arg1, arg2);
  39678. },
  39679. registerCallback$1$1(f) {
  39680. return f;
  39681. },
  39682. registerUnaryCallback$2$1(f) {
  39683. return f;
  39684. },
  39685. registerBinaryCallback$3$1(f) {
  39686. return f;
  39687. },
  39688. errorCallback$2(error, stackTrace) {
  39689. return null;
  39690. },
  39691. scheduleMicrotask$1(f) {
  39692. A._rootScheduleMicrotask(null, null, this, f);
  39693. },
  39694. createTimer$2(duration, f) {
  39695. return A.Timer__createTimer(duration, f);
  39696. },
  39697. print$1(line) {
  39698. A.printString(line);
  39699. }
  39700. };
  39701. A._RootZone_bindCallback_closure.prototype = {
  39702. call$0() {
  39703. return this.$this.run$1$1(0, this.f, this.R);
  39704. },
  39705. $signature() {
  39706. return this.R._eval$1("0()");
  39707. }
  39708. };
  39709. A._RootZone_bindUnaryCallback_closure.prototype = {
  39710. call$1(arg) {
  39711. var _this = this;
  39712. return _this.$this.runUnary$2$2(_this.f, arg, _this.R, _this.T);
  39713. },
  39714. $signature() {
  39715. return this.R._eval$1("@<0>")._bind$1(this.T)._eval$1("1(2)");
  39716. }
  39717. };
  39718. A._RootZone_bindCallbackGuarded_closure.prototype = {
  39719. call$0() {
  39720. return this.$this.runGuarded$1(this.f);
  39721. },
  39722. $signature: 0
  39723. };
  39724. A._HashMap.prototype = {
  39725. get$length(_) {
  39726. return this._collection$_length;
  39727. },
  39728. get$isEmpty(_) {
  39729. return this._collection$_length === 0;
  39730. },
  39731. get$isNotEmpty(_) {
  39732. return this._collection$_length !== 0;
  39733. },
  39734. get$keys(_) {
  39735. return new A._HashMapKeyIterable(this, A._instanceType(this)._eval$1("_HashMapKeyIterable<1>"));
  39736. },
  39737. get$values(_) {
  39738. var t1 = A._instanceType(this);
  39739. return A.MappedIterable_MappedIterable(new A._HashMapKeyIterable(this, t1._eval$1("_HashMapKeyIterable<1>")), new A._HashMap_values_closure(this), t1._precomputed1, t1._rest[1]);
  39740. },
  39741. containsKey$1(key) {
  39742. var strings, nums;
  39743. if (typeof key == "string" && key !== "__proto__") {
  39744. strings = this._collection$_strings;
  39745. return strings == null ? false : strings[key] != null;
  39746. } else if (typeof key == "number" && (key & 1073741823) === key) {
  39747. nums = this._collection$_nums;
  39748. return nums == null ? false : nums[key] != null;
  39749. } else
  39750. return this._containsKey$1(key);
  39751. },
  39752. _containsKey$1(key) {
  39753. var rest = this._collection$_rest;
  39754. if (rest == null)
  39755. return false;
  39756. return this._findBucketIndex$2(this._getBucket$2(rest, key), key) >= 0;
  39757. },
  39758. addAll$1(_, other) {
  39759. other.forEach$1(0, new A._HashMap_addAll_closure(this));
  39760. },
  39761. $index(_, key) {
  39762. var strings, t1, nums;
  39763. if (typeof key == "string" && key !== "__proto__") {
  39764. strings = this._collection$_strings;
  39765. t1 = strings == null ? null : A._HashMap__getTableEntry(strings, key);
  39766. return t1;
  39767. } else if (typeof key == "number" && (key & 1073741823) === key) {
  39768. nums = this._collection$_nums;
  39769. t1 = nums == null ? null : A._HashMap__getTableEntry(nums, key);
  39770. return t1;
  39771. } else
  39772. return this._get$1(key);
  39773. },
  39774. _get$1(key) {
  39775. var bucket, index,
  39776. rest = this._collection$_rest;
  39777. if (rest == null)
  39778. return null;
  39779. bucket = this._getBucket$2(rest, key);
  39780. index = this._findBucketIndex$2(bucket, key);
  39781. return index < 0 ? null : bucket[index + 1];
  39782. },
  39783. $indexSet(_, key, value) {
  39784. var strings, nums, _this = this;
  39785. if (typeof key == "string" && key !== "__proto__") {
  39786. strings = _this._collection$_strings;
  39787. _this._collection$_addHashTableEntry$3(strings == null ? _this._collection$_strings = A._HashMap__newHashTable() : strings, key, value);
  39788. } else if (typeof key == "number" && (key & 1073741823) === key) {
  39789. nums = _this._collection$_nums;
  39790. _this._collection$_addHashTableEntry$3(nums == null ? _this._collection$_nums = A._HashMap__newHashTable() : nums, key, value);
  39791. } else
  39792. _this._set$2(key, value);
  39793. },
  39794. _set$2(key, value) {
  39795. var hash, bucket, index, _this = this,
  39796. rest = _this._collection$_rest;
  39797. if (rest == null)
  39798. rest = _this._collection$_rest = A._HashMap__newHashTable();
  39799. hash = _this._computeHashCode$1(key);
  39800. bucket = rest[hash];
  39801. if (bucket == null) {
  39802. A._HashMap__setTableEntry(rest, hash, [key, value]);
  39803. ++_this._collection$_length;
  39804. _this._collection$_keys = null;
  39805. } else {
  39806. index = _this._findBucketIndex$2(bucket, key);
  39807. if (index >= 0)
  39808. bucket[index + 1] = value;
  39809. else {
  39810. bucket.push(key, value);
  39811. ++_this._collection$_length;
  39812. _this._collection$_keys = null;
  39813. }
  39814. }
  39815. },
  39816. remove$1(_, key) {
  39817. var t1;
  39818. if (key !== "__proto__")
  39819. return this._removeHashTableEntry$2(this._collection$_strings, key);
  39820. else {
  39821. t1 = this._remove$1(key);
  39822. return t1;
  39823. }
  39824. },
  39825. _remove$1(key) {
  39826. var hash, bucket, index, result, _this = this,
  39827. rest = _this._collection$_rest;
  39828. if (rest == null)
  39829. return null;
  39830. hash = _this._computeHashCode$1(key);
  39831. bucket = rest[hash];
  39832. index = _this._findBucketIndex$2(bucket, key);
  39833. if (index < 0)
  39834. return null;
  39835. --_this._collection$_length;
  39836. _this._collection$_keys = null;
  39837. result = bucket.splice(index, 2)[1];
  39838. if (0 === bucket.length)
  39839. delete rest[hash];
  39840. return result;
  39841. },
  39842. forEach$1(_, action) {
  39843. var $length, t1, i, key, t2, _this = this,
  39844. keys = _this._computeKeys$0();
  39845. for ($length = keys.length, t1 = A._instanceType(_this)._rest[1], i = 0; i < $length; ++i) {
  39846. key = keys[i];
  39847. t2 = _this.$index(0, key);
  39848. action.call$2(key, t2 == null ? t1._as(t2) : t2);
  39849. if (keys !== _this._collection$_keys)
  39850. throw A.wrapException(A.ConcurrentModificationError$(_this));
  39851. }
  39852. },
  39853. _computeKeys$0() {
  39854. var strings, index, names, entries, i, nums, rest, bucket, $length, i0, _this = this,
  39855. result = _this._collection$_keys;
  39856. if (result != null)
  39857. return result;
  39858. result = A.List_List$filled(_this._collection$_length, null, false, type$.dynamic);
  39859. strings = _this._collection$_strings;
  39860. index = 0;
  39861. if (strings != null) {
  39862. names = Object.getOwnPropertyNames(strings);
  39863. entries = names.length;
  39864. for (i = 0; i < entries; ++i) {
  39865. result[index] = names[i];
  39866. ++index;
  39867. }
  39868. }
  39869. nums = _this._collection$_nums;
  39870. if (nums != null) {
  39871. names = Object.getOwnPropertyNames(nums);
  39872. entries = names.length;
  39873. for (i = 0; i < entries; ++i) {
  39874. result[index] = +names[i];
  39875. ++index;
  39876. }
  39877. }
  39878. rest = _this._collection$_rest;
  39879. if (rest != null) {
  39880. names = Object.getOwnPropertyNames(rest);
  39881. entries = names.length;
  39882. for (i = 0; i < entries; ++i) {
  39883. bucket = rest[names[i]];
  39884. $length = bucket.length;
  39885. for (i0 = 0; i0 < $length; i0 += 2) {
  39886. result[index] = bucket[i0];
  39887. ++index;
  39888. }
  39889. }
  39890. }
  39891. return _this._collection$_keys = result;
  39892. },
  39893. _collection$_addHashTableEntry$3(table, key, value) {
  39894. if (table[key] == null) {
  39895. ++this._collection$_length;
  39896. this._collection$_keys = null;
  39897. }
  39898. A._HashMap__setTableEntry(table, key, value);
  39899. },
  39900. _removeHashTableEntry$2(table, key) {
  39901. var value;
  39902. if (table != null && table[key] != null) {
  39903. value = A._HashMap__getTableEntry(table, key);
  39904. delete table[key];
  39905. --this._collection$_length;
  39906. this._collection$_keys = null;
  39907. return value;
  39908. } else
  39909. return null;
  39910. },
  39911. _computeHashCode$1(key) {
  39912. return J.get$hashCode$(key) & 1073741823;
  39913. },
  39914. _getBucket$2(table, key) {
  39915. return table[this._computeHashCode$1(key)];
  39916. },
  39917. _findBucketIndex$2(bucket, key) {
  39918. var $length, i;
  39919. if (bucket == null)
  39920. return -1;
  39921. $length = bucket.length;
  39922. for (i = 0; i < $length; i += 2)
  39923. if (J.$eq$(bucket[i], key))
  39924. return i;
  39925. return -1;
  39926. }
  39927. };
  39928. A._HashMap_values_closure.prototype = {
  39929. call$1(each) {
  39930. var t1 = this.$this,
  39931. t2 = t1.$index(0, each);
  39932. return t2 == null ? A._instanceType(t1)._rest[1]._as(t2) : t2;
  39933. },
  39934. $signature() {
  39935. return A._instanceType(this.$this)._eval$1("2(1)");
  39936. }
  39937. };
  39938. A._HashMap_addAll_closure.prototype = {
  39939. call$2(key, value) {
  39940. this.$this.$indexSet(0, key, value);
  39941. },
  39942. $signature() {
  39943. return A._instanceType(this.$this)._eval$1("~(1,2)");
  39944. }
  39945. };
  39946. A._IdentityHashMap.prototype = {
  39947. _computeHashCode$1(key) {
  39948. return A.objectHashCode(key) & 1073741823;
  39949. },
  39950. _findBucketIndex$2(bucket, key) {
  39951. var $length, i, t1;
  39952. if (bucket == null)
  39953. return -1;
  39954. $length = bucket.length;
  39955. for (i = 0; i < $length; i += 2) {
  39956. t1 = bucket[i];
  39957. if (t1 == null ? key == null : t1 === key)
  39958. return i;
  39959. }
  39960. return -1;
  39961. }
  39962. };
  39963. A._HashMapKeyIterable.prototype = {
  39964. get$length(_) {
  39965. return this._map._collection$_length;
  39966. },
  39967. get$isEmpty(_) {
  39968. return this._map._collection$_length === 0;
  39969. },
  39970. get$isNotEmpty(_) {
  39971. return this._map._collection$_length !== 0;
  39972. },
  39973. get$iterator(_) {
  39974. var t1 = this._map;
  39975. return new A._HashMapKeyIterator(t1, t1._computeKeys$0(), this.$ti._eval$1("_HashMapKeyIterator<1>"));
  39976. },
  39977. contains$1(_, element) {
  39978. return this._map.containsKey$1(element);
  39979. }
  39980. };
  39981. A._HashMapKeyIterator.prototype = {
  39982. get$current(_) {
  39983. var t1 = this._collection$_current;
  39984. return t1 == null ? this.$ti._precomputed1._as(t1) : t1;
  39985. },
  39986. moveNext$0() {
  39987. var _this = this,
  39988. keys = _this._collection$_keys,
  39989. offset = _this._offset,
  39990. t1 = _this._map;
  39991. if (keys !== t1._collection$_keys)
  39992. throw A.wrapException(A.ConcurrentModificationError$(t1));
  39993. else if (offset >= keys.length) {
  39994. _this._collection$_current = null;
  39995. return false;
  39996. } else {
  39997. _this._collection$_current = keys[offset];
  39998. _this._offset = offset + 1;
  39999. return true;
  40000. }
  40001. }
  40002. };
  40003. A._LinkedCustomHashMap.prototype = {
  40004. $index(_, key) {
  40005. if (!this._validKey.call$1(key))
  40006. return null;
  40007. return this.super$JsLinkedHashMap$internalGet(key);
  40008. },
  40009. $indexSet(_, key, value) {
  40010. this.super$JsLinkedHashMap$internalSet(key, value);
  40011. },
  40012. containsKey$1(key) {
  40013. if (!this._validKey.call$1(key))
  40014. return false;
  40015. return this.super$JsLinkedHashMap$internalContainsKey(key);
  40016. },
  40017. remove$1(_, key) {
  40018. if (!this._validKey.call$1(key))
  40019. return null;
  40020. return this.super$JsLinkedHashMap$internalRemove(key);
  40021. },
  40022. internalComputeHashCode$1(key) {
  40023. return this._hashCode.call$1(key) & 1073741823;
  40024. },
  40025. internalFindBucketIndex$2(bucket, key) {
  40026. var $length, t1, i;
  40027. if (bucket == null)
  40028. return -1;
  40029. $length = bucket.length;
  40030. for (t1 = this._equals, i = 0; i < $length; ++i)
  40031. if (t1.call$2(bucket[i].hashMapCellKey, key))
  40032. return i;
  40033. return -1;
  40034. }
  40035. };
  40036. A._LinkedCustomHashMap_closure.prototype = {
  40037. call$1(v) {
  40038. return this.K._is(v);
  40039. },
  40040. $signature: 9
  40041. };
  40042. A._LinkedHashSet.prototype = {
  40043. _newSet$0() {
  40044. return new A._LinkedHashSet(A._instanceType(this)._eval$1("_LinkedHashSet<1>"));
  40045. },
  40046. _newSimilarSet$1$0($R) {
  40047. return new A._LinkedHashSet($R._eval$1("_LinkedHashSet<0>"));
  40048. },
  40049. _newSimilarSet$0() {
  40050. return this._newSimilarSet$1$0(type$.dynamic);
  40051. },
  40052. get$iterator(_) {
  40053. var _this = this,
  40054. t1 = new A._LinkedHashSetIterator(_this, _this._collection$_modifications, A._instanceType(_this)._eval$1("_LinkedHashSetIterator<1>"));
  40055. t1._collection$_cell = _this._collection$_first;
  40056. return t1;
  40057. },
  40058. get$length(_) {
  40059. return this._collection$_length;
  40060. },
  40061. get$isEmpty(_) {
  40062. return this._collection$_length === 0;
  40063. },
  40064. get$isNotEmpty(_) {
  40065. return this._collection$_length !== 0;
  40066. },
  40067. contains$1(_, object) {
  40068. var strings, nums;
  40069. if (typeof object == "string" && object !== "__proto__") {
  40070. strings = this._collection$_strings;
  40071. if (strings == null)
  40072. return false;
  40073. return strings[object] != null;
  40074. } else if (typeof object == "number" && (object & 1073741823) === object) {
  40075. nums = this._collection$_nums;
  40076. if (nums == null)
  40077. return false;
  40078. return nums[object] != null;
  40079. } else
  40080. return this._contains$1(object);
  40081. },
  40082. _contains$1(object) {
  40083. var rest = this._collection$_rest;
  40084. if (rest == null)
  40085. return false;
  40086. return this._findBucketIndex$2(rest[this._computeHashCode$1(object)], object) >= 0;
  40087. },
  40088. get$first(_) {
  40089. var first = this._collection$_first;
  40090. if (first == null)
  40091. throw A.wrapException(A.StateError$("No elements"));
  40092. return first._element;
  40093. },
  40094. get$last(_) {
  40095. var last = this._collection$_last;
  40096. if (last == null)
  40097. throw A.wrapException(A.StateError$("No elements"));
  40098. return last._element;
  40099. },
  40100. add$1(_, element) {
  40101. var strings, nums, _this = this;
  40102. if (typeof element == "string" && element !== "__proto__") {
  40103. strings = _this._collection$_strings;
  40104. return _this._collection$_addHashTableEntry$2(strings == null ? _this._collection$_strings = A._LinkedHashSet__newHashTable() : strings, element);
  40105. } else if (typeof element == "number" && (element & 1073741823) === element) {
  40106. nums = _this._collection$_nums;
  40107. return _this._collection$_addHashTableEntry$2(nums == null ? _this._collection$_nums = A._LinkedHashSet__newHashTable() : nums, element);
  40108. } else
  40109. return _this._add$1(element);
  40110. },
  40111. _add$1(element) {
  40112. var hash, bucket, _this = this,
  40113. rest = _this._collection$_rest;
  40114. if (rest == null)
  40115. rest = _this._collection$_rest = A._LinkedHashSet__newHashTable();
  40116. hash = _this._computeHashCode$1(element);
  40117. bucket = rest[hash];
  40118. if (bucket == null)
  40119. rest[hash] = [_this._collection$_newLinkedCell$1(element)];
  40120. else {
  40121. if (_this._findBucketIndex$2(bucket, element) >= 0)
  40122. return false;
  40123. bucket.push(_this._collection$_newLinkedCell$1(element));
  40124. }
  40125. return true;
  40126. },
  40127. remove$1(_, object) {
  40128. var _this = this;
  40129. if (typeof object == "string" && object !== "__proto__")
  40130. return _this._removeHashTableEntry$2(_this._collection$_strings, object);
  40131. else if (typeof object == "number" && (object & 1073741823) === object)
  40132. return _this._removeHashTableEntry$2(_this._collection$_nums, object);
  40133. else
  40134. return _this._remove$1(object);
  40135. },
  40136. _remove$1(object) {
  40137. var hash, bucket, index, cell, _this = this,
  40138. rest = _this._collection$_rest;
  40139. if (rest == null)
  40140. return false;
  40141. hash = _this._computeHashCode$1(object);
  40142. bucket = rest[hash];
  40143. index = _this._findBucketIndex$2(bucket, object);
  40144. if (index < 0)
  40145. return false;
  40146. cell = bucket.splice(index, 1)[0];
  40147. if (0 === bucket.length)
  40148. delete rest[hash];
  40149. _this._unlinkCell$1(cell);
  40150. return true;
  40151. },
  40152. _collection$_addHashTableEntry$2(table, element) {
  40153. if (table[element] != null)
  40154. return false;
  40155. table[element] = this._collection$_newLinkedCell$1(element);
  40156. return true;
  40157. },
  40158. _removeHashTableEntry$2(table, element) {
  40159. var cell;
  40160. if (table == null)
  40161. return false;
  40162. cell = table[element];
  40163. if (cell == null)
  40164. return false;
  40165. this._unlinkCell$1(cell);
  40166. delete table[element];
  40167. return true;
  40168. },
  40169. _collection$_modified$0() {
  40170. this._collection$_modifications = this._collection$_modifications + 1 & 1073741823;
  40171. },
  40172. _collection$_newLinkedCell$1(element) {
  40173. var t1, _this = this,
  40174. cell = new A._LinkedHashSetCell(element);
  40175. if (_this._collection$_first == null)
  40176. _this._collection$_first = _this._collection$_last = cell;
  40177. else {
  40178. t1 = _this._collection$_last;
  40179. t1.toString;
  40180. cell._collection$_previous = t1;
  40181. _this._collection$_last = t1._collection$_next = cell;
  40182. }
  40183. ++_this._collection$_length;
  40184. _this._collection$_modified$0();
  40185. return cell;
  40186. },
  40187. _unlinkCell$1(cell) {
  40188. var _this = this,
  40189. previous = cell._collection$_previous,
  40190. next = cell._collection$_next;
  40191. if (previous == null)
  40192. _this._collection$_first = next;
  40193. else
  40194. previous._collection$_next = next;
  40195. if (next == null)
  40196. _this._collection$_last = previous;
  40197. else
  40198. next._collection$_previous = previous;
  40199. --_this._collection$_length;
  40200. _this._collection$_modified$0();
  40201. },
  40202. _computeHashCode$1(element) {
  40203. return J.get$hashCode$(element) & 1073741823;
  40204. },
  40205. _findBucketIndex$2(bucket, element) {
  40206. var $length, i;
  40207. if (bucket == null)
  40208. return -1;
  40209. $length = bucket.length;
  40210. for (i = 0; i < $length; ++i)
  40211. if (J.$eq$(bucket[i]._element, element))
  40212. return i;
  40213. return -1;
  40214. }
  40215. };
  40216. A._LinkedIdentityHashSet.prototype = {
  40217. _newSet$0() {
  40218. return new A._LinkedIdentityHashSet(this.$ti);
  40219. },
  40220. _newSimilarSet$1$0($R) {
  40221. return new A._LinkedIdentityHashSet($R._eval$1("_LinkedIdentityHashSet<0>"));
  40222. },
  40223. _newSimilarSet$0() {
  40224. return this._newSimilarSet$1$0(type$.dynamic);
  40225. },
  40226. _computeHashCode$1(key) {
  40227. return A.objectHashCode(key) & 1073741823;
  40228. },
  40229. _findBucketIndex$2(bucket, element) {
  40230. var $length, i, t1;
  40231. if (bucket == null)
  40232. return -1;
  40233. $length = bucket.length;
  40234. for (i = 0; i < $length; ++i) {
  40235. t1 = bucket[i]._element;
  40236. if (t1 == null ? element == null : t1 === element)
  40237. return i;
  40238. }
  40239. return -1;
  40240. }
  40241. };
  40242. A._LinkedHashSetCell.prototype = {};
  40243. A._LinkedHashSetIterator.prototype = {
  40244. get$current(_) {
  40245. var t1 = this._collection$_current;
  40246. return t1 == null ? this.$ti._precomputed1._as(t1) : t1;
  40247. },
  40248. moveNext$0() {
  40249. var _this = this,
  40250. cell = _this._collection$_cell,
  40251. t1 = _this._set;
  40252. if (_this._collection$_modifications !== t1._collection$_modifications)
  40253. throw A.wrapException(A.ConcurrentModificationError$(t1));
  40254. else if (cell == null) {
  40255. _this._collection$_current = null;
  40256. return false;
  40257. } else {
  40258. _this._collection$_current = cell._element;
  40259. _this._collection$_cell = cell._collection$_next;
  40260. return true;
  40261. }
  40262. }
  40263. };
  40264. A.UnmodifiableListView.prototype = {
  40265. cast$1$0(_, $R) {
  40266. return new A.UnmodifiableListView(J.cast$1$0$ax(this._collection$_source, $R), $R._eval$1("UnmodifiableListView<0>"));
  40267. },
  40268. get$length(_) {
  40269. return J.get$length$asx(this._collection$_source);
  40270. },
  40271. $index(_, index) {
  40272. return J.elementAt$1$ax(this._collection$_source, index);
  40273. }
  40274. };
  40275. A.HashMap_HashMap$from_closure.prototype = {
  40276. call$2(k, v) {
  40277. this.result.$indexSet(0, this.K._as(k), this.V._as(v));
  40278. },
  40279. $signature: 162
  40280. };
  40281. A.LinkedHashMap_LinkedHashMap$from_closure.prototype = {
  40282. call$2(k, v) {
  40283. this.result.$indexSet(0, this.K._as(k), this.V._as(v));
  40284. },
  40285. $signature: 162
  40286. };
  40287. A.ListBase.prototype = {
  40288. get$iterator(receiver) {
  40289. return new A.ListIterator(receiver, this.get$length(receiver), A.instanceType(receiver)._eval$1("ListIterator<ListBase.E>"));
  40290. },
  40291. elementAt$1(receiver, index) {
  40292. return this.$index(receiver, index);
  40293. },
  40294. forEach$1(receiver, action) {
  40295. var i,
  40296. $length = this.get$length(receiver);
  40297. for (i = 0; i < $length; ++i) {
  40298. action.call$1(this.$index(receiver, i));
  40299. if ($length !== this.get$length(receiver))
  40300. throw A.wrapException(A.ConcurrentModificationError$(receiver));
  40301. }
  40302. },
  40303. get$isEmpty(receiver) {
  40304. return this.get$length(receiver) === 0;
  40305. },
  40306. get$isNotEmpty(receiver) {
  40307. return !this.get$isEmpty(receiver);
  40308. },
  40309. get$first(receiver) {
  40310. if (this.get$length(receiver) === 0)
  40311. throw A.wrapException(A.IterableElementError_noElement());
  40312. return this.$index(receiver, 0);
  40313. },
  40314. get$last(receiver) {
  40315. if (this.get$length(receiver) === 0)
  40316. throw A.wrapException(A.IterableElementError_noElement());
  40317. return this.$index(receiver, this.get$length(receiver) - 1);
  40318. },
  40319. get$single(receiver) {
  40320. if (this.get$length(receiver) === 0)
  40321. throw A.wrapException(A.IterableElementError_noElement());
  40322. if (this.get$length(receiver) > 1)
  40323. throw A.wrapException(A.IterableElementError_tooMany());
  40324. return this.$index(receiver, 0);
  40325. },
  40326. contains$1(receiver, element) {
  40327. var i,
  40328. $length = this.get$length(receiver);
  40329. for (i = 0; i < $length; ++i) {
  40330. if (J.$eq$(this.$index(receiver, i), element))
  40331. return true;
  40332. if ($length !== this.get$length(receiver))
  40333. throw A.wrapException(A.ConcurrentModificationError$(receiver));
  40334. }
  40335. return false;
  40336. },
  40337. every$1(receiver, test) {
  40338. var i,
  40339. $length = this.get$length(receiver);
  40340. for (i = 0; i < $length; ++i) {
  40341. if (!test.call$1(this.$index(receiver, i)))
  40342. return false;
  40343. if ($length !== this.get$length(receiver))
  40344. throw A.wrapException(A.ConcurrentModificationError$(receiver));
  40345. }
  40346. return true;
  40347. },
  40348. any$1(receiver, test) {
  40349. var i,
  40350. $length = this.get$length(receiver);
  40351. for (i = 0; i < $length; ++i) {
  40352. if (test.call$1(this.$index(receiver, i)))
  40353. return true;
  40354. if ($length !== this.get$length(receiver))
  40355. throw A.wrapException(A.ConcurrentModificationError$(receiver));
  40356. }
  40357. return false;
  40358. },
  40359. lastWhere$2$orElse(receiver, test, orElse) {
  40360. var i, element,
  40361. $length = this.get$length(receiver);
  40362. for (i = $length - 1; i >= 0; --i) {
  40363. element = this.$index(receiver, i);
  40364. if (test.call$1(element))
  40365. return element;
  40366. if ($length !== this.get$length(receiver))
  40367. throw A.wrapException(A.ConcurrentModificationError$(receiver));
  40368. }
  40369. if (orElse != null)
  40370. return orElse.call$0();
  40371. throw A.wrapException(A.IterableElementError_noElement());
  40372. },
  40373. join$1(receiver, separator) {
  40374. var t1;
  40375. if (this.get$length(receiver) === 0)
  40376. return "";
  40377. t1 = A.StringBuffer__writeAll("", receiver, separator);
  40378. return t1.charCodeAt(0) == 0 ? t1 : t1;
  40379. },
  40380. where$1(receiver, test) {
  40381. return new A.WhereIterable(receiver, test, A.instanceType(receiver)._eval$1("WhereIterable<ListBase.E>"));
  40382. },
  40383. map$1$1(receiver, f, $T) {
  40384. return new A.MappedListIterable(receiver, f, A.instanceType(receiver)._eval$1("@<ListBase.E>")._bind$1($T)._eval$1("MappedListIterable<1,2>"));
  40385. },
  40386. expand$1$1(receiver, f, $T) {
  40387. return new A.ExpandIterable(receiver, f, A.instanceType(receiver)._eval$1("@<ListBase.E>")._bind$1($T)._eval$1("ExpandIterable<1,2>"));
  40388. },
  40389. skip$1(receiver, count) {
  40390. return A.SubListIterable$(receiver, count, null, A.instanceType(receiver)._eval$1("ListBase.E"));
  40391. },
  40392. take$1(receiver, count) {
  40393. return A.SubListIterable$(receiver, 0, A.checkNotNullable(count, "count", type$.int), A.instanceType(receiver)._eval$1("ListBase.E"));
  40394. },
  40395. toList$1$growable(receiver, growable) {
  40396. var t1, first, result, i, _this = this;
  40397. if (_this.get$isEmpty(receiver)) {
  40398. t1 = J.JSArray_JSArray$growable(0, A.instanceType(receiver)._eval$1("ListBase.E"));
  40399. return t1;
  40400. }
  40401. first = _this.$index(receiver, 0);
  40402. result = A.List_List$filled(_this.get$length(receiver), first, true, A.instanceType(receiver)._eval$1("ListBase.E"));
  40403. for (i = 1; i < _this.get$length(receiver); ++i)
  40404. result[i] = _this.$index(receiver, i);
  40405. return result;
  40406. },
  40407. toList$0(receiver) {
  40408. return this.toList$1$growable(receiver, true);
  40409. },
  40410. toSet$0(receiver) {
  40411. var i,
  40412. result = A.LinkedHashSet_LinkedHashSet(A.instanceType(receiver)._eval$1("ListBase.E"));
  40413. for (i = 0; i < this.get$length(receiver); ++i)
  40414. result.add$1(0, this.$index(receiver, i));
  40415. return result;
  40416. },
  40417. add$1(receiver, element) {
  40418. var t1 = this.get$length(receiver);
  40419. this.set$length(receiver, t1 + 1);
  40420. this.$indexSet(receiver, t1, element);
  40421. },
  40422. addAll$1(receiver, iterable) {
  40423. var t1,
  40424. i = this.get$length(receiver);
  40425. for (t1 = iterable.get$iterator(iterable); t1.moveNext$0();) {
  40426. this.add$1(receiver, t1.get$current(t1));
  40427. ++i;
  40428. }
  40429. },
  40430. _closeGap$2(receiver, start, end) {
  40431. var i, _this = this,
  40432. $length = _this.get$length(receiver),
  40433. size = end - start;
  40434. for (i = end; i < $length; ++i)
  40435. _this.$indexSet(receiver, i - size, _this.$index(receiver, i));
  40436. _this.set$length(receiver, $length - size);
  40437. },
  40438. cast$1$0(receiver, $R) {
  40439. return new A.CastList(receiver, A.instanceType(receiver)._eval$1("@<ListBase.E>")._bind$1($R)._eval$1("CastList<1,2>"));
  40440. },
  40441. sort$1(receiver, compare) {
  40442. var t1 = compare == null ? A.collection_ListBase__compareAny$closure() : compare;
  40443. A.Sort__doSort(receiver, 0, this.get$length(receiver) - 1, t1);
  40444. },
  40445. sublist$2(receiver, start, end) {
  40446. var t1,
  40447. listLength = this.get$length(receiver);
  40448. A.RangeError_checkValidRange(start, listLength, listLength);
  40449. t1 = A.List_List$_of(this.getRange$2(receiver, start, listLength), A.instanceType(receiver)._eval$1("ListBase.E"));
  40450. return t1;
  40451. },
  40452. sublist$1(receiver, start) {
  40453. return this.sublist$2(receiver, start, null);
  40454. },
  40455. getRange$2(receiver, start, end) {
  40456. A.RangeError_checkValidRange(start, end, this.get$length(receiver));
  40457. return A.SubListIterable$(receiver, start, end, A.instanceType(receiver)._eval$1("ListBase.E"));
  40458. },
  40459. removeRange$2(receiver, start, end) {
  40460. A.RangeError_checkValidRange(start, end, this.get$length(receiver));
  40461. if (end > start)
  40462. this._closeGap$2(receiver, start, end);
  40463. },
  40464. fillRange$3(receiver, start, end, fill) {
  40465. var i;
  40466. A.instanceType(receiver)._eval$1("ListBase.E")._as(fill);
  40467. A.RangeError_checkValidRange(start, end, this.get$length(receiver));
  40468. for (i = start; i < end; ++i)
  40469. this.$indexSet(receiver, i, fill);
  40470. },
  40471. setRange$4(receiver, start, end, iterable, skipCount) {
  40472. var $length, otherStart, otherList, t1, i;
  40473. A.RangeError_checkValidRange(start, end, this.get$length(receiver));
  40474. $length = end - start;
  40475. if ($length === 0)
  40476. return;
  40477. A.RangeError_checkNotNegative(skipCount, "skipCount");
  40478. if (type$.List_dynamic._is(iterable)) {
  40479. otherStart = skipCount;
  40480. otherList = iterable;
  40481. } else {
  40482. otherList = J.skip$1$ax(iterable, skipCount).toList$1$growable(0, false);
  40483. otherStart = 0;
  40484. }
  40485. t1 = J.getInterceptor$asx(otherList);
  40486. if (otherStart + $length > t1.get$length(otherList))
  40487. throw A.wrapException(A.IterableElementError_tooFew());
  40488. if (otherStart < start)
  40489. for (i = $length - 1; i >= 0; --i)
  40490. this.$indexSet(receiver, start + i, t1.$index(otherList, otherStart + i));
  40491. else
  40492. for (i = 0; i < $length; ++i)
  40493. this.$indexSet(receiver, start + i, t1.$index(otherList, otherStart + i));
  40494. },
  40495. indexOf$1(receiver, element) {
  40496. var i;
  40497. for (i = 0; i < this.get$length(receiver); ++i)
  40498. if (J.$eq$(this.$index(receiver, i), element))
  40499. return i;
  40500. return -1;
  40501. },
  40502. get$reversed(receiver) {
  40503. return new A.ReversedListIterable(receiver, A.instanceType(receiver)._eval$1("ReversedListIterable<ListBase.E>"));
  40504. },
  40505. toString$0(receiver) {
  40506. return A.Iterable_iterableToFullString(receiver, "[", "]");
  40507. },
  40508. $isEfficientLengthIterable: 1,
  40509. $isIterable: 1,
  40510. $isList: 1
  40511. };
  40512. A.MapBase.prototype = {
  40513. cast$2$0(_, RK, RV) {
  40514. var t1 = A._instanceType(this);
  40515. return A.Map_castFrom(this, t1._eval$1("MapBase.K"), t1._eval$1("MapBase.V"), RK, RV);
  40516. },
  40517. forEach$1(_, action) {
  40518. var t1, t2, key, t3, _this = this;
  40519. for (t1 = J.get$iterator$ax(_this.get$keys(_this)), t2 = A._instanceType(_this)._eval$1("MapBase.V"); t1.moveNext$0();) {
  40520. key = t1.get$current(t1);
  40521. t3 = _this.$index(0, key);
  40522. action.call$2(key, t3 == null ? t2._as(t3) : t3);
  40523. }
  40524. },
  40525. addAll$1(_, other) {
  40526. other.forEach$1(0, new A.MapBase_addAll_closure(this));
  40527. },
  40528. get$entries(_) {
  40529. var _this = this;
  40530. return J.map$1$1$ax(_this.get$keys(_this), new A.MapBase_entries_closure(_this), A._instanceType(_this)._eval$1("MapEntry<MapBase.K,MapBase.V>"));
  40531. },
  40532. containsKey$1(key) {
  40533. return J.contains$1$asx(this.get$keys(this), key);
  40534. },
  40535. get$length(_) {
  40536. return J.get$length$asx(this.get$keys(this));
  40537. },
  40538. get$isEmpty(_) {
  40539. return J.get$isEmpty$asx(this.get$keys(this));
  40540. },
  40541. get$isNotEmpty(_) {
  40542. return J.get$isNotEmpty$asx(this.get$keys(this));
  40543. },
  40544. get$values(_) {
  40545. return new A._MapBaseValueIterable(this, A._instanceType(this)._eval$1("_MapBaseValueIterable<MapBase.K,MapBase.V>"));
  40546. },
  40547. toString$0(_) {
  40548. return A.MapBase_mapToString(this);
  40549. },
  40550. $isMap: 1
  40551. };
  40552. A.MapBase_addAll_closure.prototype = {
  40553. call$2(key, value) {
  40554. this.$this.$indexSet(0, key, value);
  40555. },
  40556. $signature() {
  40557. return A._instanceType(this.$this)._eval$1("~(MapBase.K,MapBase.V)");
  40558. }
  40559. };
  40560. A.MapBase_entries_closure.prototype = {
  40561. call$1(key) {
  40562. var t1 = this.$this,
  40563. t2 = t1.$index(0, key);
  40564. if (t2 == null)
  40565. t2 = A._instanceType(t1)._eval$1("MapBase.V")._as(t2);
  40566. return new A.MapEntry(key, t2, A._instanceType(t1)._eval$1("MapEntry<MapBase.K,MapBase.V>"));
  40567. },
  40568. $signature() {
  40569. return A._instanceType(this.$this)._eval$1("MapEntry<MapBase.K,MapBase.V>(MapBase.K)");
  40570. }
  40571. };
  40572. A.MapBase_mapToString_closure.prototype = {
  40573. call$2(k, v) {
  40574. var t2,
  40575. t1 = this._box_0;
  40576. if (!t1.first)
  40577. this.result._contents += ", ";
  40578. t1.first = false;
  40579. t1 = this.result;
  40580. t2 = A.S(k);
  40581. t1._contents = (t1._contents += t2) + ": ";
  40582. t2 = A.S(v);
  40583. t1._contents += t2;
  40584. },
  40585. $signature: 170
  40586. };
  40587. A.UnmodifiableMapBase.prototype = {};
  40588. A._MapBaseValueIterable.prototype = {
  40589. get$length(_) {
  40590. var t1 = this._map;
  40591. return t1.get$length(t1);
  40592. },
  40593. get$isEmpty(_) {
  40594. var t1 = this._map;
  40595. return t1.get$isEmpty(t1);
  40596. },
  40597. get$isNotEmpty(_) {
  40598. var t1 = this._map;
  40599. return t1.get$isNotEmpty(t1);
  40600. },
  40601. get$first(_) {
  40602. var t1 = this._map;
  40603. t1 = t1.$index(0, J.get$first$ax(t1.get$keys(t1)));
  40604. return t1 == null ? this.$ti._rest[1]._as(t1) : t1;
  40605. },
  40606. get$single(_) {
  40607. var t1 = this._map;
  40608. t1 = t1.$index(0, J.get$single$ax(t1.get$keys(t1)));
  40609. return t1 == null ? this.$ti._rest[1]._as(t1) : t1;
  40610. },
  40611. get$last(_) {
  40612. var t1 = this._map;
  40613. t1 = t1.$index(0, J.get$last$ax(t1.get$keys(t1)));
  40614. return t1 == null ? this.$ti._rest[1]._as(t1) : t1;
  40615. },
  40616. get$iterator(_) {
  40617. var t1 = this._map;
  40618. return new A._MapBaseValueIterator(J.get$iterator$ax(t1.get$keys(t1)), t1, this.$ti._eval$1("_MapBaseValueIterator<1,2>"));
  40619. }
  40620. };
  40621. A._MapBaseValueIterator.prototype = {
  40622. moveNext$0() {
  40623. var _this = this,
  40624. t1 = _this._collection$_keys;
  40625. if (t1.moveNext$0()) {
  40626. _this._collection$_current = _this._map.$index(0, t1.get$current(t1));
  40627. return true;
  40628. }
  40629. _this._collection$_current = null;
  40630. return false;
  40631. },
  40632. get$current(_) {
  40633. var t1 = this._collection$_current;
  40634. return t1 == null ? this.$ti._rest[1]._as(t1) : t1;
  40635. }
  40636. };
  40637. A._UnmodifiableMapMixin.prototype = {
  40638. $indexSet(_, key, value) {
  40639. throw A.wrapException(A.UnsupportedError$("Cannot modify unmodifiable map"));
  40640. },
  40641. addAll$1(_, other) {
  40642. throw A.wrapException(A.UnsupportedError$("Cannot modify unmodifiable map"));
  40643. },
  40644. remove$1(_, key) {
  40645. throw A.wrapException(A.UnsupportedError$("Cannot modify unmodifiable map"));
  40646. }
  40647. };
  40648. A.MapView.prototype = {
  40649. cast$2$0(_, RK, RV) {
  40650. return this._map.cast$2$0(0, RK, RV);
  40651. },
  40652. $index(_, key) {
  40653. return this._map.$index(0, key);
  40654. },
  40655. $indexSet(_, key, value) {
  40656. this._map.$indexSet(0, key, value);
  40657. },
  40658. addAll$1(_, other) {
  40659. this._map.addAll$1(0, other);
  40660. },
  40661. containsKey$1(key) {
  40662. return this._map.containsKey$1(key);
  40663. },
  40664. forEach$1(_, action) {
  40665. this._map.forEach$1(0, action);
  40666. },
  40667. get$isEmpty(_) {
  40668. var t1 = this._map;
  40669. return t1.get$isEmpty(t1);
  40670. },
  40671. get$isNotEmpty(_) {
  40672. var t1 = this._map;
  40673. return t1.get$isNotEmpty(t1);
  40674. },
  40675. get$length(_) {
  40676. var t1 = this._map;
  40677. return t1.get$length(t1);
  40678. },
  40679. get$keys(_) {
  40680. var t1 = this._map;
  40681. return t1.get$keys(t1);
  40682. },
  40683. remove$1(_, key) {
  40684. return this._map.remove$1(0, key);
  40685. },
  40686. toString$0(_) {
  40687. return this._map.toString$0(0);
  40688. },
  40689. get$values(_) {
  40690. var t1 = this._map;
  40691. return t1.get$values(t1);
  40692. },
  40693. get$entries(_) {
  40694. var t1 = this._map;
  40695. return t1.get$entries(t1);
  40696. },
  40697. $isMap: 1
  40698. };
  40699. A.UnmodifiableMapView.prototype = {
  40700. cast$2$0(_, RK, RV) {
  40701. return new A.UnmodifiableMapView(this._map.cast$2$0(0, RK, RV), RK._eval$1("@<0>")._bind$1(RV)._eval$1("UnmodifiableMapView<1,2>"));
  40702. }
  40703. };
  40704. A.ListQueue.prototype = {
  40705. get$iterator(_) {
  40706. var _this = this;
  40707. return new A._ListQueueIterator(_this, _this._tail, _this._modificationCount, _this._head, _this.$ti._eval$1("_ListQueueIterator<1>"));
  40708. },
  40709. get$isEmpty(_) {
  40710. return this._head === this._tail;
  40711. },
  40712. get$length(_) {
  40713. return (this._tail - this._head & this._table.length - 1) >>> 0;
  40714. },
  40715. get$first(_) {
  40716. var _this = this,
  40717. t1 = _this._head;
  40718. if (t1 === _this._tail)
  40719. throw A.wrapException(A.IterableElementError_noElement());
  40720. t1 = _this._table[t1];
  40721. return t1 == null ? _this.$ti._precomputed1._as(t1) : t1;
  40722. },
  40723. get$last(_) {
  40724. var _this = this,
  40725. t1 = _this._head,
  40726. t2 = _this._tail;
  40727. if (t1 === t2)
  40728. throw A.wrapException(A.IterableElementError_noElement());
  40729. t1 = _this._table;
  40730. t1 = t1[(t2 - 1 & t1.length - 1) >>> 0];
  40731. return t1 == null ? _this.$ti._precomputed1._as(t1) : t1;
  40732. },
  40733. get$single(_) {
  40734. var t1, _this = this;
  40735. if (_this._head === _this._tail)
  40736. throw A.wrapException(A.IterableElementError_noElement());
  40737. if (_this.get$length(0) > 1)
  40738. throw A.wrapException(A.IterableElementError_tooMany());
  40739. t1 = _this._table[_this._head];
  40740. return t1 == null ? _this.$ti._precomputed1._as(t1) : t1;
  40741. },
  40742. elementAt$1(_, index) {
  40743. var t1, _this = this;
  40744. A.IndexError_check(index, _this.get$length(0), _this, null, null);
  40745. t1 = _this._table;
  40746. t1 = t1[(_this._head + index & t1.length - 1) >>> 0];
  40747. return t1 == null ? _this.$ti._precomputed1._as(t1) : t1;
  40748. },
  40749. toList$1$growable(_, growable) {
  40750. var t1, list, t2, t3, i, t4, _this = this,
  40751. mask = _this._table.length - 1,
  40752. $length = (_this._tail - _this._head & mask) >>> 0;
  40753. if ($length === 0) {
  40754. t1 = J.JSArray_JSArray$growable(0, _this.$ti._precomputed1);
  40755. return t1;
  40756. }
  40757. t1 = _this.$ti._precomputed1;
  40758. list = A.List_List$filled($length, _this.get$first(0), true, t1);
  40759. for (t2 = _this._table, t3 = _this._head, i = 0; i < $length; ++i) {
  40760. t4 = t2[(t3 + i & mask) >>> 0];
  40761. list[i] = t4 == null ? t1._as(t4) : t4;
  40762. }
  40763. return list;
  40764. },
  40765. toList$0(_) {
  40766. return this.toList$1$growable(0, true);
  40767. },
  40768. addAll$1(_, elements) {
  40769. var newTable, endSpace, preSpace, _this = this,
  40770. addCount = elements.length,
  40771. $length = _this.get$length(0),
  40772. t1 = $length + addCount,
  40773. t2 = _this._table,
  40774. t3 = t2.length;
  40775. if (t1 >= t3) {
  40776. newTable = A.List_List$filled(A.ListQueue__nextPowerOf2(t1 + (t1 >>> 1)), null, false, _this.$ti._eval$1("1?"));
  40777. _this._tail = _this._collection$_writeToList$1(newTable);
  40778. _this._table = newTable;
  40779. _this._head = 0;
  40780. B.JSArray_methods.setRange$4(newTable, $length, t1, elements, 0);
  40781. _this._tail += addCount;
  40782. } else {
  40783. t1 = _this._tail;
  40784. endSpace = t3 - t1;
  40785. if (addCount < endSpace) {
  40786. B.JSArray_methods.setRange$4(t2, t1, t1 + addCount, elements, 0);
  40787. _this._tail += addCount;
  40788. } else {
  40789. preSpace = addCount - endSpace;
  40790. B.JSArray_methods.setRange$4(t2, t1, t1 + endSpace, elements, 0);
  40791. B.JSArray_methods.setRange$4(_this._table, 0, preSpace, elements, endSpace);
  40792. _this._tail = preSpace;
  40793. }
  40794. }
  40795. ++_this._modificationCount;
  40796. },
  40797. clear$0(_) {
  40798. var t2, t3, _this = this,
  40799. i = _this._head,
  40800. t1 = _this._tail;
  40801. if (i !== t1) {
  40802. for (t2 = _this._table, t3 = t2.length - 1; i !== t1; i = (i + 1 & t3) >>> 0)
  40803. t2[i] = null;
  40804. _this._head = _this._tail = 0;
  40805. ++_this._modificationCount;
  40806. }
  40807. },
  40808. toString$0(_) {
  40809. return A.Iterable_iterableToFullString(this, "{", "}");
  40810. },
  40811. addFirst$1(value) {
  40812. var _this = this,
  40813. t1 = _this._head,
  40814. t2 = _this._table;
  40815. t1 = _this._head = (t1 - 1 & t2.length - 1) >>> 0;
  40816. t2[t1] = value;
  40817. if (t1 === _this._tail)
  40818. _this._grow$0();
  40819. ++_this._modificationCount;
  40820. },
  40821. removeFirst$0() {
  40822. var t2, result, _this = this,
  40823. t1 = _this._head;
  40824. if (t1 === _this._tail)
  40825. throw A.wrapException(A.IterableElementError_noElement());
  40826. ++_this._modificationCount;
  40827. t2 = _this._table;
  40828. result = t2[t1];
  40829. if (result == null)
  40830. result = _this.$ti._precomputed1._as(result);
  40831. t2[t1] = null;
  40832. _this._head = (t1 + 1 & t2.length - 1) >>> 0;
  40833. return result;
  40834. },
  40835. _add$1(element) {
  40836. var _this = this,
  40837. t1 = _this._table,
  40838. t2 = _this._tail;
  40839. t1[t2] = element;
  40840. t1 = (t2 + 1 & t1.length - 1) >>> 0;
  40841. _this._tail = t1;
  40842. if (_this._head === t1)
  40843. _this._grow$0();
  40844. ++_this._modificationCount;
  40845. },
  40846. _grow$0() {
  40847. var _this = this,
  40848. newTable = A.List_List$filled(_this._table.length * 2, null, false, _this.$ti._eval$1("1?")),
  40849. t1 = _this._table,
  40850. t2 = _this._head,
  40851. split = t1.length - t2;
  40852. B.JSArray_methods.setRange$4(newTable, 0, split, t1, t2);
  40853. B.JSArray_methods.setRange$4(newTable, split, split + _this._head, _this._table, 0);
  40854. _this._head = 0;
  40855. _this._tail = _this._table.length;
  40856. _this._table = newTable;
  40857. },
  40858. _collection$_writeToList$1(target) {
  40859. var $length, firstPartSize, _this = this,
  40860. t1 = _this._head,
  40861. t2 = _this._tail,
  40862. t3 = _this._table;
  40863. if (t1 <= t2) {
  40864. $length = t2 - t1;
  40865. B.JSArray_methods.setRange$4(target, 0, $length, t3, t1);
  40866. return $length;
  40867. } else {
  40868. firstPartSize = t3.length - t1;
  40869. B.JSArray_methods.setRange$4(target, 0, firstPartSize, t3, t1);
  40870. B.JSArray_methods.setRange$4(target, firstPartSize, firstPartSize + _this._tail, _this._table, 0);
  40871. return _this._tail + firstPartSize;
  40872. }
  40873. },
  40874. $isQueue: 1
  40875. };
  40876. A._ListQueueIterator.prototype = {
  40877. get$current(_) {
  40878. var t1 = this._collection$_current;
  40879. return t1 == null ? this.$ti._precomputed1._as(t1) : t1;
  40880. },
  40881. moveNext$0() {
  40882. var t2, _this = this,
  40883. t1 = _this._queue;
  40884. if (_this._modificationCount !== t1._modificationCount)
  40885. A.throwExpression(A.ConcurrentModificationError$(t1));
  40886. t2 = _this._collection$_position;
  40887. if (t2 === _this._collection$_end) {
  40888. _this._collection$_current = null;
  40889. return false;
  40890. }
  40891. t1 = t1._table;
  40892. _this._collection$_current = t1[t2];
  40893. _this._collection$_position = (t2 + 1 & t1.length - 1) >>> 0;
  40894. return true;
  40895. }
  40896. };
  40897. A.SetBase.prototype = {
  40898. get$isEmpty(_) {
  40899. return this.get$length(this) === 0;
  40900. },
  40901. get$isNotEmpty(_) {
  40902. return this.get$length(this) !== 0;
  40903. },
  40904. addAll$1(_, elements) {
  40905. var t1;
  40906. for (t1 = J.get$iterator$ax(elements); t1.moveNext$0();)
  40907. this.add$1(0, t1.get$current(t1));
  40908. },
  40909. removeAll$1(elements) {
  40910. var t1;
  40911. for (t1 = J.get$iterator$ax(elements); t1.moveNext$0();)
  40912. this.remove$1(0, t1.get$current(t1));
  40913. },
  40914. difference$1(other) {
  40915. var t1, t2, element,
  40916. result = this.toSet$0(0);
  40917. for (t1 = this.get$iterator(this), t2 = other._source; t1.moveNext$0();) {
  40918. element = t1.get$current(t1);
  40919. if (t2.contains$1(0, element))
  40920. result.remove$1(0, element);
  40921. }
  40922. return result;
  40923. },
  40924. toList$1$growable(_, growable) {
  40925. var t1 = A.List_List$_of(this, A._instanceType(this)._precomputed1);
  40926. return t1;
  40927. },
  40928. toList$0(_) {
  40929. return this.toList$1$growable(0, true);
  40930. },
  40931. map$1$1(_, f, $T) {
  40932. return new A.EfficientLengthMappedIterable(this, f, A._instanceType(this)._eval$1("@<1>")._bind$1($T)._eval$1("EfficientLengthMappedIterable<1,2>"));
  40933. },
  40934. get$single(_) {
  40935. var it, _this = this;
  40936. if (_this.get$length(_this) > 1)
  40937. throw A.wrapException(A.IterableElementError_tooMany());
  40938. it = _this.get$iterator(_this);
  40939. if (!it.moveNext$0())
  40940. throw A.wrapException(A.IterableElementError_noElement());
  40941. return it.get$current(it);
  40942. },
  40943. toString$0(_) {
  40944. return A.Iterable_iterableToFullString(this, "{", "}");
  40945. },
  40946. where$1(_, f) {
  40947. return new A.WhereIterable(this, f, A._instanceType(this)._eval$1("WhereIterable<1>"));
  40948. },
  40949. forEach$1(_, f) {
  40950. var t1;
  40951. for (t1 = this.get$iterator(this); t1.moveNext$0();)
  40952. f.call$1(t1.get$current(t1));
  40953. },
  40954. every$1(_, f) {
  40955. var t1;
  40956. for (t1 = this.get$iterator(this); t1.moveNext$0();)
  40957. if (!f.call$1(t1.get$current(t1)))
  40958. return false;
  40959. return true;
  40960. },
  40961. any$1(_, test) {
  40962. var t1;
  40963. for (t1 = this.get$iterator(this); t1.moveNext$0();)
  40964. if (test.call$1(t1.get$current(t1)))
  40965. return true;
  40966. return false;
  40967. },
  40968. take$1(_, n) {
  40969. return A.TakeIterable_TakeIterable(this, n, A._instanceType(this)._precomputed1);
  40970. },
  40971. skip$1(_, n) {
  40972. return A.SkipIterable_SkipIterable(this, n, A._instanceType(this)._precomputed1);
  40973. },
  40974. get$first(_) {
  40975. var it = this.get$iterator(this);
  40976. if (!it.moveNext$0())
  40977. throw A.wrapException(A.IterableElementError_noElement());
  40978. return it.get$current(it);
  40979. },
  40980. get$last(_) {
  40981. var result,
  40982. it = this.get$iterator(this);
  40983. if (!it.moveNext$0())
  40984. throw A.wrapException(A.IterableElementError_noElement());
  40985. do
  40986. result = it.get$current(it);
  40987. while (it.moveNext$0());
  40988. return result;
  40989. },
  40990. elementAt$1(_, index) {
  40991. var iterator, skipCount;
  40992. A.RangeError_checkNotNegative(index, "index");
  40993. iterator = this.get$iterator(this);
  40994. for (skipCount = index; iterator.moveNext$0();) {
  40995. if (skipCount === 0)
  40996. return iterator.get$current(iterator);
  40997. --skipCount;
  40998. }
  40999. throw A.wrapException(A.IndexError$withLength(index, index - skipCount, this, null, "index"));
  41000. },
  41001. $isEfficientLengthIterable: 1,
  41002. $isIterable: 1,
  41003. $isSet: 1
  41004. };
  41005. A._SetBase.prototype = {
  41006. difference$1(other) {
  41007. var t1, t2, t3, element, _this = this,
  41008. result = _this._newSet$0();
  41009. for (t1 = A._LinkedHashSetIterator$(_this, _this._collection$_modifications, A._instanceType(_this)._precomputed1), t2 = other._source, t3 = t1.$ti._precomputed1; t1.moveNext$0();) {
  41010. element = t1._collection$_current;
  41011. if (element == null)
  41012. element = t3._as(element);
  41013. if (!t2.contains$1(0, element))
  41014. result.add$1(0, element);
  41015. }
  41016. return result;
  41017. },
  41018. intersection$1(other) {
  41019. var t1, t2, t3, element, _this = this,
  41020. result = _this._newSet$0();
  41021. for (t1 = A._LinkedHashSetIterator$(_this, _this._collection$_modifications, A._instanceType(_this)._precomputed1), t2 = other._baseMap, t3 = t1.$ti._precomputed1; t1.moveNext$0();) {
  41022. element = t1._collection$_current;
  41023. if (element == null)
  41024. element = t3._as(element);
  41025. if (t2.containsKey$1(element))
  41026. result.add$1(0, element);
  41027. }
  41028. return result;
  41029. },
  41030. toSet$0(_) {
  41031. var t1 = this._newSet$0();
  41032. t1.addAll$1(0, this);
  41033. return t1;
  41034. }
  41035. };
  41036. A._UnmodifiableSetMixin.prototype = {
  41037. add$1(_, value) {
  41038. return A._UnmodifiableSetMixin__throwUnmodifiable();
  41039. },
  41040. addAll$1(_, elements) {
  41041. return A._UnmodifiableSetMixin__throwUnmodifiable();
  41042. },
  41043. remove$1(_, value) {
  41044. return A._UnmodifiableSetMixin__throwUnmodifiable();
  41045. }
  41046. };
  41047. A.UnmodifiableSetView.prototype = {
  41048. contains$1(_, element) {
  41049. return this._collection$_source.contains$1(0, element);
  41050. },
  41051. get$length(_) {
  41052. return this._collection$_source._collection$_length;
  41053. },
  41054. get$iterator(_) {
  41055. var t1 = this._collection$_source;
  41056. return A._LinkedHashSetIterator$(t1, t1._collection$_modifications, A._instanceType(t1)._precomputed1);
  41057. },
  41058. toSet$0(_) {
  41059. return this._collection$_source.toSet$0(0);
  41060. }
  41061. };
  41062. A._UnmodifiableMapView_MapView__UnmodifiableMapMixin.prototype = {};
  41063. A._UnmodifiableSetView_SetBase__UnmodifiableSetMixin.prototype = {};
  41064. A._JsonMap.prototype = {
  41065. $index(_, key) {
  41066. var result,
  41067. t1 = this._processed;
  41068. if (t1 == null)
  41069. return this._data.$index(0, key);
  41070. else if (typeof key != "string")
  41071. return null;
  41072. else {
  41073. result = t1[key];
  41074. return typeof result == "undefined" ? this._process$1(key) : result;
  41075. }
  41076. },
  41077. get$length(_) {
  41078. return this._processed == null ? this._data.__js_helper$_length : this._convert$_computeKeys$0().length;
  41079. },
  41080. get$isEmpty(_) {
  41081. return this.get$length(0) === 0;
  41082. },
  41083. get$isNotEmpty(_) {
  41084. return this.get$length(0) > 0;
  41085. },
  41086. get$keys(_) {
  41087. var t1;
  41088. if (this._processed == null) {
  41089. t1 = this._data;
  41090. return new A.LinkedHashMapKeysIterable(t1, A._instanceType(t1)._eval$1("LinkedHashMapKeysIterable<1>"));
  41091. }
  41092. return new A._JsonMapKeyIterable(this);
  41093. },
  41094. get$values(_) {
  41095. var t1, _this = this;
  41096. if (_this._processed == null) {
  41097. t1 = _this._data;
  41098. return new A.LinkedHashMapValuesIterable(t1, A._instanceType(t1)._eval$1("LinkedHashMapValuesIterable<2>"));
  41099. }
  41100. return A.MappedIterable_MappedIterable(_this._convert$_computeKeys$0(), new A._JsonMap_values_closure(_this), type$.String, type$.dynamic);
  41101. },
  41102. $indexSet(_, key, value) {
  41103. var processed, original, _this = this;
  41104. if (_this._processed == null)
  41105. _this._data.$indexSet(0, key, value);
  41106. else if (_this.containsKey$1(key)) {
  41107. processed = _this._processed;
  41108. processed[key] = value;
  41109. original = _this._original;
  41110. if (original == null ? processed != null : original !== processed)
  41111. original[key] = null;
  41112. } else
  41113. _this._upgrade$0().$indexSet(0, key, value);
  41114. },
  41115. addAll$1(_, other) {
  41116. other.forEach$1(0, new A._JsonMap_addAll_closure(this));
  41117. },
  41118. containsKey$1(key) {
  41119. if (this._processed == null)
  41120. return this._data.containsKey$1(key);
  41121. if (typeof key != "string")
  41122. return false;
  41123. return Object.prototype.hasOwnProperty.call(this._original, key);
  41124. },
  41125. remove$1(_, key) {
  41126. if (this._processed != null && !this.containsKey$1(key))
  41127. return null;
  41128. return this._upgrade$0().remove$1(0, key);
  41129. },
  41130. forEach$1(_, f) {
  41131. var keys, i, key, value, _this = this;
  41132. if (_this._processed == null)
  41133. return _this._data.forEach$1(0, f);
  41134. keys = _this._convert$_computeKeys$0();
  41135. for (i = 0; i < keys.length; ++i) {
  41136. key = keys[i];
  41137. value = _this._processed[key];
  41138. if (typeof value == "undefined") {
  41139. value = A._convertJsonToDartLazy(_this._original[key]);
  41140. _this._processed[key] = value;
  41141. }
  41142. f.call$2(key, value);
  41143. if (keys !== _this._data)
  41144. throw A.wrapException(A.ConcurrentModificationError$(_this));
  41145. }
  41146. },
  41147. _convert$_computeKeys$0() {
  41148. var keys = this._data;
  41149. if (keys == null)
  41150. keys = this._data = A._setArrayType(Object.keys(this._original), type$.JSArray_String);
  41151. return keys;
  41152. },
  41153. _upgrade$0() {
  41154. var result, keys, i, t1, key, _this = this;
  41155. if (_this._processed == null)
  41156. return _this._data;
  41157. result = A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.dynamic);
  41158. keys = _this._convert$_computeKeys$0();
  41159. for (i = 0; t1 = keys.length, i < t1; ++i) {
  41160. key = keys[i];
  41161. result.$indexSet(0, key, _this.$index(0, key));
  41162. }
  41163. if (t1 === 0)
  41164. keys.push("");
  41165. else
  41166. B.JSArray_methods.clear$0(keys);
  41167. _this._original = _this._processed = null;
  41168. return _this._data = result;
  41169. },
  41170. _process$1(key) {
  41171. var result;
  41172. if (!Object.prototype.hasOwnProperty.call(this._original, key))
  41173. return null;
  41174. result = A._convertJsonToDartLazy(this._original[key]);
  41175. return this._processed[key] = result;
  41176. }
  41177. };
  41178. A._JsonMap_values_closure.prototype = {
  41179. call$1(each) {
  41180. return this.$this.$index(0, each);
  41181. },
  41182. $signature: 199
  41183. };
  41184. A._JsonMap_addAll_closure.prototype = {
  41185. call$2(key, value) {
  41186. this.$this.$indexSet(0, key, value);
  41187. },
  41188. $signature: 139
  41189. };
  41190. A._JsonMapKeyIterable.prototype = {
  41191. get$length(_) {
  41192. return this._convert$_parent.get$length(0);
  41193. },
  41194. elementAt$1(_, index) {
  41195. var t1 = this._convert$_parent;
  41196. return t1._processed == null ? t1.get$keys(0).elementAt$1(0, index) : t1._convert$_computeKeys$0()[index];
  41197. },
  41198. get$iterator(_) {
  41199. var t1 = this._convert$_parent;
  41200. if (t1._processed == null) {
  41201. t1 = t1.get$keys(0);
  41202. t1 = t1.get$iterator(t1);
  41203. } else {
  41204. t1 = t1._convert$_computeKeys$0();
  41205. t1 = new J.ArrayIterator(t1, t1.length, A._arrayInstanceType(t1)._eval$1("ArrayIterator<1>"));
  41206. }
  41207. return t1;
  41208. },
  41209. contains$1(_, key) {
  41210. return this._convert$_parent.containsKey$1(key);
  41211. }
  41212. };
  41213. A._Utf8Decoder__decoder_closure.prototype = {
  41214. call$0() {
  41215. var t1, exception;
  41216. try {
  41217. t1 = new TextDecoder("utf-8", {fatal: true});
  41218. return t1;
  41219. } catch (exception) {
  41220. }
  41221. return null;
  41222. },
  41223. $signature: 58
  41224. };
  41225. A._Utf8Decoder__decoderNonfatal_closure.prototype = {
  41226. call$0() {
  41227. var t1, exception;
  41228. try {
  41229. t1 = new TextDecoder("utf-8", {fatal: false});
  41230. return t1;
  41231. } catch (exception) {
  41232. }
  41233. return null;
  41234. },
  41235. $signature: 58
  41236. };
  41237. A.AsciiCodec.prototype = {
  41238. encode$1(source) {
  41239. return B.AsciiEncoder_127.convert$1(source);
  41240. }
  41241. };
  41242. A._UnicodeSubsetEncoder.prototype = {
  41243. convert$1(string) {
  41244. var t1, i, codeUnit,
  41245. end = A.RangeError_checkValidRange(0, null, string.length),
  41246. result = new Uint8Array(end);
  41247. for (t1 = ~this._subsetMask, i = 0; i < end; ++i) {
  41248. codeUnit = string.charCodeAt(i);
  41249. if ((codeUnit & t1) !== 0)
  41250. throw A.wrapException(A.ArgumentError$value(string, "string", "Contains invalid characters."));
  41251. result[i] = codeUnit;
  41252. }
  41253. return result;
  41254. }
  41255. };
  41256. A.AsciiEncoder.prototype = {};
  41257. A.Base64Codec.prototype = {
  41258. normalize$3(source, start, end) {
  41259. var inverseAlphabet, i, sliceStart, buffer, firstPadding, firstPaddingSourceIndex, paddingCount, i0, char, i1, digit1, digit2, char0, value, t1, t2, endLength, $length,
  41260. _s31_ = "Invalid base64 encoding length ";
  41261. end = A.RangeError_checkValidRange(start, end, source.length);
  41262. inverseAlphabet = $.$get$_Base64Decoder__inverseAlphabet();
  41263. for (i = start, sliceStart = i, buffer = null, firstPadding = -1, firstPaddingSourceIndex = -1, paddingCount = 0; i < end; i = i0) {
  41264. i0 = i + 1;
  41265. char = source.charCodeAt(i);
  41266. if (char === 37) {
  41267. i1 = i0 + 2;
  41268. if (i1 <= end) {
  41269. digit1 = A.hexDigitValue(source.charCodeAt(i0));
  41270. digit2 = A.hexDigitValue(source.charCodeAt(i0 + 1));
  41271. char0 = digit1 * 16 + digit2 - (digit2 & 256);
  41272. if (char0 === 37)
  41273. char0 = -1;
  41274. i0 = i1;
  41275. } else
  41276. char0 = -1;
  41277. } else
  41278. char0 = char;
  41279. if (0 <= char0 && char0 <= 127) {
  41280. value = inverseAlphabet[char0];
  41281. if (value >= 0) {
  41282. char0 = string$.ABCDEF.charCodeAt(value);
  41283. if (char0 === char)
  41284. continue;
  41285. char = char0;
  41286. } else {
  41287. if (value === -1) {
  41288. if (firstPadding < 0) {
  41289. t1 = buffer == null ? null : buffer._contents.length;
  41290. if (t1 == null)
  41291. t1 = 0;
  41292. firstPadding = t1 + (i - sliceStart);
  41293. firstPaddingSourceIndex = i;
  41294. }
  41295. ++paddingCount;
  41296. if (char === 61)
  41297. continue;
  41298. }
  41299. char = char0;
  41300. }
  41301. if (value !== -2) {
  41302. if (buffer == null) {
  41303. buffer = new A.StringBuffer("");
  41304. t1 = buffer;
  41305. } else
  41306. t1 = buffer;
  41307. t1._contents += B.JSString_methods.substring$2(source, sliceStart, i);
  41308. t2 = A.Primitives_stringFromCharCode(char);
  41309. t1._contents += t2;
  41310. sliceStart = i0;
  41311. continue;
  41312. }
  41313. }
  41314. throw A.wrapException(A.FormatException$("Invalid base64 data", source, i));
  41315. }
  41316. if (buffer != null) {
  41317. t1 = B.JSString_methods.substring$2(source, sliceStart, end);
  41318. t1 = buffer._contents += t1;
  41319. t2 = t1.length;
  41320. if (firstPadding >= 0)
  41321. A.Base64Codec__checkPadding(source, firstPaddingSourceIndex, end, firstPadding, paddingCount, t2);
  41322. else {
  41323. endLength = B.JSInt_methods.$mod(t2 - 1, 4) + 1;
  41324. if (endLength === 1)
  41325. throw A.wrapException(A.FormatException$(_s31_, source, end));
  41326. for (; endLength < 4;) {
  41327. t1 += "=";
  41328. buffer._contents = t1;
  41329. ++endLength;
  41330. }
  41331. }
  41332. t1 = buffer._contents;
  41333. return B.JSString_methods.replaceRange$3(source, start, end, t1.charCodeAt(0) == 0 ? t1 : t1);
  41334. }
  41335. $length = end - start;
  41336. if (firstPadding >= 0)
  41337. A.Base64Codec__checkPadding(source, firstPaddingSourceIndex, end, firstPadding, paddingCount, $length);
  41338. else {
  41339. endLength = B.JSInt_methods.$mod($length, 4);
  41340. if (endLength === 1)
  41341. throw A.wrapException(A.FormatException$(_s31_, source, end));
  41342. if (endLength > 1)
  41343. source = B.JSString_methods.replaceRange$3(source, end, end, endLength === 2 ? "==" : "=");
  41344. }
  41345. return source;
  41346. }
  41347. };
  41348. A.Base64Encoder.prototype = {
  41349. startChunkedConversion$1(sink) {
  41350. return new A._Utf8Base64EncoderSink(new A._Utf8StringSinkAdapter(new A._Utf8Decoder(false), sink, sink._stringSink), new A._Base64Encoder(string$.ABCDEF));
  41351. }
  41352. };
  41353. A._Base64Encoder.prototype = {
  41354. createBuffer$1(bufferLength) {
  41355. return new Uint8Array(bufferLength);
  41356. },
  41357. encode$4(bytes, start, end, isLast) {
  41358. var output, _this = this,
  41359. byteCount = (_this._convert$_state & 3) + (end - start),
  41360. fullChunks = B.JSInt_methods._tdivFast$1(byteCount, 3),
  41361. bufferLength = fullChunks * 4;
  41362. if (isLast && byteCount - fullChunks * 3 > 0)
  41363. bufferLength += 4;
  41364. output = _this.createBuffer$1(bufferLength);
  41365. _this._convert$_state = A._Base64Encoder_encodeChunk(_this._alphabet, bytes, start, end, isLast, output, 0, _this._convert$_state);
  41366. if (bufferLength > 0)
  41367. return output;
  41368. return null;
  41369. }
  41370. };
  41371. A._Base64EncoderSink.prototype = {};
  41372. A._Utf8Base64EncoderSink.prototype = {
  41373. _convert$_add$4(source, start, end, isLast) {
  41374. var buffer = this._encoder.encode$4(source, start, end, isLast);
  41375. if (buffer != null)
  41376. this._sink.addSlice$4(buffer, 0, buffer.length, isLast);
  41377. }
  41378. };
  41379. A.ByteConversionSink.prototype = {};
  41380. A.Codec.prototype = {};
  41381. A.Converter.prototype = {};
  41382. A.Encoding.prototype = {};
  41383. A.JsonUnsupportedObjectError.prototype = {
  41384. toString$0(_) {
  41385. var safeString = A.Error_safeToString(this.unsupportedObject);
  41386. return (this.cause != null ? "Converting object to an encodable object failed:" : "Converting object did not return an encodable object:") + " " + safeString;
  41387. }
  41388. };
  41389. A.JsonCyclicError.prototype = {
  41390. toString$0(_) {
  41391. return "Cyclic error in JSON stringify";
  41392. }
  41393. };
  41394. A.JsonCodec.prototype = {
  41395. decode$1(source) {
  41396. var t1 = A._parseJson(source, this.get$decoder()._reviver);
  41397. return t1;
  41398. },
  41399. encode$2$toEncodable(value, toEncodable) {
  41400. var t1 = A._JsonStringStringifier_stringify(value, this.get$encoder()._toEncodable, null);
  41401. return t1;
  41402. },
  41403. get$encoder() {
  41404. return B.JsonEncoder_null;
  41405. },
  41406. get$decoder() {
  41407. return B.JsonDecoder_null;
  41408. }
  41409. };
  41410. A.JsonEncoder.prototype = {};
  41411. A.JsonDecoder.prototype = {};
  41412. A._JsonStringifier.prototype = {
  41413. writeStringContent$1(s) {
  41414. var offset, i, charCode, t1, t2, _this = this,
  41415. $length = s.length;
  41416. for (offset = 0, i = 0; i < $length; ++i) {
  41417. charCode = s.charCodeAt(i);
  41418. if (charCode > 92) {
  41419. if (charCode >= 55296) {
  41420. t1 = charCode & 64512;
  41421. if (t1 === 55296) {
  41422. t2 = i + 1;
  41423. t2 = !(t2 < $length && (s.charCodeAt(t2) & 64512) === 56320);
  41424. } else
  41425. t2 = false;
  41426. if (!t2)
  41427. if (t1 === 56320) {
  41428. t1 = i - 1;
  41429. t1 = !(t1 >= 0 && (s.charCodeAt(t1) & 64512) === 55296);
  41430. } else
  41431. t1 = false;
  41432. else
  41433. t1 = true;
  41434. if (t1) {
  41435. if (i > offset)
  41436. _this.writeStringSlice$3(s, offset, i);
  41437. offset = i + 1;
  41438. _this.writeCharCode$1(92);
  41439. _this.writeCharCode$1(117);
  41440. _this.writeCharCode$1(100);
  41441. t1 = charCode >>> 8 & 15;
  41442. _this.writeCharCode$1(t1 < 10 ? 48 + t1 : 87 + t1);
  41443. t1 = charCode >>> 4 & 15;
  41444. _this.writeCharCode$1(t1 < 10 ? 48 + t1 : 87 + t1);
  41445. t1 = charCode & 15;
  41446. _this.writeCharCode$1(t1 < 10 ? 48 + t1 : 87 + t1);
  41447. }
  41448. }
  41449. continue;
  41450. }
  41451. if (charCode < 32) {
  41452. if (i > offset)
  41453. _this.writeStringSlice$3(s, offset, i);
  41454. offset = i + 1;
  41455. _this.writeCharCode$1(92);
  41456. switch (charCode) {
  41457. case 8:
  41458. _this.writeCharCode$1(98);
  41459. break;
  41460. case 9:
  41461. _this.writeCharCode$1(116);
  41462. break;
  41463. case 10:
  41464. _this.writeCharCode$1(110);
  41465. break;
  41466. case 12:
  41467. _this.writeCharCode$1(102);
  41468. break;
  41469. case 13:
  41470. _this.writeCharCode$1(114);
  41471. break;
  41472. default:
  41473. _this.writeCharCode$1(117);
  41474. _this.writeCharCode$1(48);
  41475. _this.writeCharCode$1(48);
  41476. t1 = charCode >>> 4 & 15;
  41477. _this.writeCharCode$1(t1 < 10 ? 48 + t1 : 87 + t1);
  41478. t1 = charCode & 15;
  41479. _this.writeCharCode$1(t1 < 10 ? 48 + t1 : 87 + t1);
  41480. break;
  41481. }
  41482. } else if (charCode === 34 || charCode === 92) {
  41483. if (i > offset)
  41484. _this.writeStringSlice$3(s, offset, i);
  41485. offset = i + 1;
  41486. _this.writeCharCode$1(92);
  41487. _this.writeCharCode$1(charCode);
  41488. }
  41489. }
  41490. if (offset === 0)
  41491. _this.writeString$1(s);
  41492. else if (offset < $length)
  41493. _this.writeStringSlice$3(s, offset, $length);
  41494. },
  41495. _checkCycle$1(object) {
  41496. var t1, t2, i, t3;
  41497. for (t1 = this._seen, t2 = t1.length, i = 0; i < t2; ++i) {
  41498. t3 = t1[i];
  41499. if (object == null ? t3 == null : object === t3)
  41500. throw A.wrapException(new A.JsonCyclicError(object, null));
  41501. }
  41502. t1.push(object);
  41503. },
  41504. writeObject$1(object) {
  41505. var customJson, e, t1, exception, _this = this;
  41506. if (_this.writeJsonValue$1(object))
  41507. return;
  41508. _this._checkCycle$1(object);
  41509. try {
  41510. customJson = _this._toEncodable.call$1(object);
  41511. if (!_this.writeJsonValue$1(customJson)) {
  41512. t1 = A.JsonUnsupportedObjectError$(object, null, _this.get$_partialResult());
  41513. throw A.wrapException(t1);
  41514. }
  41515. _this._seen.pop();
  41516. } catch (exception) {
  41517. e = A.unwrapException(exception);
  41518. t1 = A.JsonUnsupportedObjectError$(object, e, _this.get$_partialResult());
  41519. throw A.wrapException(t1);
  41520. }
  41521. },
  41522. writeJsonValue$1(object) {
  41523. var success, _this = this;
  41524. if (typeof object == "number") {
  41525. if (!isFinite(object))
  41526. return false;
  41527. _this.writeNumber$1(object);
  41528. return true;
  41529. } else if (object === true) {
  41530. _this.writeString$1("true");
  41531. return true;
  41532. } else if (object === false) {
  41533. _this.writeString$1("false");
  41534. return true;
  41535. } else if (object == null) {
  41536. _this.writeString$1("null");
  41537. return true;
  41538. } else if (typeof object == "string") {
  41539. _this.writeString$1('"');
  41540. _this.writeStringContent$1(object);
  41541. _this.writeString$1('"');
  41542. return true;
  41543. } else if (type$.List_dynamic._is(object)) {
  41544. _this._checkCycle$1(object);
  41545. _this.writeList$1(object);
  41546. _this._seen.pop();
  41547. return true;
  41548. } else if (type$.Map_dynamic_dynamic._is(object)) {
  41549. _this._checkCycle$1(object);
  41550. success = _this.writeMap$1(object);
  41551. _this._seen.pop();
  41552. return success;
  41553. } else
  41554. return false;
  41555. },
  41556. writeList$1(list) {
  41557. var t1, i, _this = this;
  41558. _this.writeString$1("[");
  41559. t1 = J.getInterceptor$asx(list);
  41560. if (t1.get$isNotEmpty(list)) {
  41561. _this.writeObject$1(t1.$index(list, 0));
  41562. for (i = 1; i < t1.get$length(list); ++i) {
  41563. _this.writeString$1(",");
  41564. _this.writeObject$1(t1.$index(list, i));
  41565. }
  41566. }
  41567. _this.writeString$1("]");
  41568. },
  41569. writeMap$1(map) {
  41570. var t1, keyValueList, i, separator, _this = this, _box_0 = {};
  41571. if (map.get$isEmpty(map)) {
  41572. _this.writeString$1("{}");
  41573. return true;
  41574. }
  41575. t1 = map.get$length(map) * 2;
  41576. keyValueList = A.List_List$filled(t1, null, false, type$.nullable_Object);
  41577. i = _box_0.i = 0;
  41578. _box_0.allStringKeys = true;
  41579. map.forEach$1(0, new A._JsonStringifier_writeMap_closure(_box_0, keyValueList));
  41580. if (!_box_0.allStringKeys)
  41581. return false;
  41582. _this.writeString$1("{");
  41583. for (separator = '"'; i < t1; i += 2, separator = ',"') {
  41584. _this.writeString$1(separator);
  41585. _this.writeStringContent$1(A._asString(keyValueList[i]));
  41586. _this.writeString$1('":');
  41587. _this.writeObject$1(keyValueList[i + 1]);
  41588. }
  41589. _this.writeString$1("}");
  41590. return true;
  41591. }
  41592. };
  41593. A._JsonStringifier_writeMap_closure.prototype = {
  41594. call$2(key, value) {
  41595. var t1, t2, t3, i;
  41596. if (typeof key != "string")
  41597. this._box_0.allStringKeys = false;
  41598. t1 = this.keyValueList;
  41599. t2 = this._box_0;
  41600. t3 = t2.i;
  41601. i = t2.i = t3 + 1;
  41602. t1[t3] = key;
  41603. t2.i = i + 1;
  41604. t1[i] = value;
  41605. },
  41606. $signature: 170
  41607. };
  41608. A._JsonStringStringifier.prototype = {
  41609. get$_partialResult() {
  41610. var t1 = this._sink._contents;
  41611. return t1.charCodeAt(0) == 0 ? t1 : t1;
  41612. },
  41613. writeNumber$1(number) {
  41614. var t1 = this._sink,
  41615. t2 = B.JSNumber_methods.toString$0(number);
  41616. t1._contents += t2;
  41617. },
  41618. writeString$1(string) {
  41619. this._sink._contents += string;
  41620. },
  41621. writeStringSlice$3(string, start, end) {
  41622. this._sink._contents += B.JSString_methods.substring$2(string, start, end);
  41623. },
  41624. writeCharCode$1(charCode) {
  41625. var t1 = this._sink,
  41626. t2 = A.Primitives_stringFromCharCode(charCode);
  41627. t1._contents += t2;
  41628. }
  41629. };
  41630. A.StringConversionSink.prototype = {};
  41631. A._StringSinkConversionSink.prototype = {
  41632. close$0(_) {
  41633. }
  41634. };
  41635. A._StringCallbackSink.prototype = {
  41636. close$0(_) {
  41637. var t1 = this._stringSink,
  41638. t2 = t1._contents;
  41639. t1._contents = "";
  41640. this._convert$_callback.call$1(t2.charCodeAt(0) == 0 ? t2 : t2);
  41641. },
  41642. asUtf8Sink$1(allowMalformed) {
  41643. return new A._Utf8StringSinkAdapter(new A._Utf8Decoder(allowMalformed), this, this._stringSink);
  41644. }
  41645. };
  41646. A._Utf8StringSinkAdapter.prototype = {
  41647. close$0(_) {
  41648. this._decoder.flush$1(this._stringSink);
  41649. this._sink.close$0(0);
  41650. },
  41651. add$1(_, chunk) {
  41652. this.addSlice$4(chunk, 0, J.get$length$asx(chunk), false);
  41653. },
  41654. addSlice$4(codeUnits, startIndex, endIndex, isLast) {
  41655. var t1 = this._stringSink,
  41656. t2 = this._decoder._convertGeneral$4(codeUnits, startIndex, endIndex, false);
  41657. t1._contents += t2;
  41658. if (isLast)
  41659. this.close$0(0);
  41660. }
  41661. };
  41662. A.Utf8Codec.prototype = {
  41663. encode$1(string) {
  41664. return B.C_Utf8Encoder.convert$1(string);
  41665. }
  41666. };
  41667. A.Utf8Encoder.prototype = {
  41668. convert$1(string) {
  41669. var t1, encoder,
  41670. end = A.RangeError_checkValidRange(0, null, string.length);
  41671. if (end === 0)
  41672. return new Uint8Array(0);
  41673. t1 = new Uint8Array(end * 3);
  41674. encoder = new A._Utf8Encoder(t1);
  41675. if (encoder._fillBuffer$3(string, 0, end) !== end)
  41676. encoder._writeReplacementCharacter$0();
  41677. return B.NativeUint8List_methods.sublist$2(t1, 0, encoder._bufferIndex);
  41678. }
  41679. };
  41680. A._Utf8Encoder.prototype = {
  41681. _writeReplacementCharacter$0() {
  41682. var _this = this,
  41683. t1 = _this._buffer,
  41684. t2 = _this._bufferIndex,
  41685. t3 = _this._bufferIndex = t2 + 1;
  41686. t1.$flags & 2 && A.throwUnsupportedOperation(t1);
  41687. t1[t2] = 239;
  41688. t2 = _this._bufferIndex = t3 + 1;
  41689. t1[t3] = 191;
  41690. _this._bufferIndex = t2 + 1;
  41691. t1[t2] = 189;
  41692. },
  41693. _writeSurrogate$2(leadingSurrogate, nextCodeUnit) {
  41694. var rune, t1, t2, t3, _this = this;
  41695. if ((nextCodeUnit & 64512) === 56320) {
  41696. rune = 65536 + ((leadingSurrogate & 1023) << 10) | nextCodeUnit & 1023;
  41697. t1 = _this._buffer;
  41698. t2 = _this._bufferIndex;
  41699. t3 = _this._bufferIndex = t2 + 1;
  41700. t1.$flags & 2 && A.throwUnsupportedOperation(t1);
  41701. t1[t2] = rune >>> 18 | 240;
  41702. t2 = _this._bufferIndex = t3 + 1;
  41703. t1[t3] = rune >>> 12 & 63 | 128;
  41704. t3 = _this._bufferIndex = t2 + 1;
  41705. t1[t2] = rune >>> 6 & 63 | 128;
  41706. _this._bufferIndex = t3 + 1;
  41707. t1[t3] = rune & 63 | 128;
  41708. return true;
  41709. } else {
  41710. _this._writeReplacementCharacter$0();
  41711. return false;
  41712. }
  41713. },
  41714. _fillBuffer$3(str, start, end) {
  41715. var t1, t2, t3, stringIndex, codeUnit, t4, stringIndex0, t5, _this = this;
  41716. if (start !== end && (str.charCodeAt(end - 1) & 64512) === 55296)
  41717. --end;
  41718. for (t1 = _this._buffer, t2 = t1.$flags | 0, t3 = t1.length, stringIndex = start; stringIndex < end; ++stringIndex) {
  41719. codeUnit = str.charCodeAt(stringIndex);
  41720. if (codeUnit <= 127) {
  41721. t4 = _this._bufferIndex;
  41722. if (t4 >= t3)
  41723. break;
  41724. _this._bufferIndex = t4 + 1;
  41725. t2 & 2 && A.throwUnsupportedOperation(t1);
  41726. t1[t4] = codeUnit;
  41727. } else {
  41728. t4 = codeUnit & 64512;
  41729. if (t4 === 55296) {
  41730. if (_this._bufferIndex + 4 > t3)
  41731. break;
  41732. stringIndex0 = stringIndex + 1;
  41733. if (_this._writeSurrogate$2(codeUnit, str.charCodeAt(stringIndex0)))
  41734. stringIndex = stringIndex0;
  41735. } else if (t4 === 56320) {
  41736. if (_this._bufferIndex + 3 > t3)
  41737. break;
  41738. _this._writeReplacementCharacter$0();
  41739. } else if (codeUnit <= 2047) {
  41740. t4 = _this._bufferIndex;
  41741. t5 = t4 + 1;
  41742. if (t5 >= t3)
  41743. break;
  41744. _this._bufferIndex = t5;
  41745. t2 & 2 && A.throwUnsupportedOperation(t1);
  41746. t1[t4] = codeUnit >>> 6 | 192;
  41747. _this._bufferIndex = t5 + 1;
  41748. t1[t5] = codeUnit & 63 | 128;
  41749. } else {
  41750. t4 = _this._bufferIndex;
  41751. if (t4 + 2 >= t3)
  41752. break;
  41753. t5 = _this._bufferIndex = t4 + 1;
  41754. t2 & 2 && A.throwUnsupportedOperation(t1);
  41755. t1[t4] = codeUnit >>> 12 | 224;
  41756. t4 = _this._bufferIndex = t5 + 1;
  41757. t1[t5] = codeUnit >>> 6 & 63 | 128;
  41758. _this._bufferIndex = t4 + 1;
  41759. t1[t4] = codeUnit & 63 | 128;
  41760. }
  41761. }
  41762. }
  41763. return stringIndex;
  41764. }
  41765. };
  41766. A.Utf8Decoder.prototype = {
  41767. convert$1(codeUnits) {
  41768. return new A._Utf8Decoder(this._allowMalformed)._convertGeneral$4(codeUnits, 0, null, true);
  41769. }
  41770. };
  41771. A._Utf8Decoder.prototype = {
  41772. _convertGeneral$4(codeUnits, start, maybeEnd, single) {
  41773. var casted, bytes, errorOffset, t1, result, message, _this = this,
  41774. end = A.RangeError_checkValidRange(start, maybeEnd, J.get$length$asx(codeUnits));
  41775. if (start === end)
  41776. return "";
  41777. if (codeUnits instanceof Uint8Array) {
  41778. casted = codeUnits;
  41779. bytes = casted;
  41780. errorOffset = 0;
  41781. } else {
  41782. bytes = A._Utf8Decoder__makeNativeUint8List(codeUnits, start, end);
  41783. end -= start;
  41784. errorOffset = start;
  41785. start = 0;
  41786. }
  41787. if (single && end - start >= 15) {
  41788. t1 = _this.allowMalformed;
  41789. result = A._Utf8Decoder__convertInterceptedUint8List(t1, bytes, start, end);
  41790. if (result != null) {
  41791. if (!t1)
  41792. return result;
  41793. if (result.indexOf("\ufffd") < 0)
  41794. return result;
  41795. }
  41796. }
  41797. result = _this._decodeRecursive$4(bytes, start, end, single);
  41798. t1 = _this._convert$_state;
  41799. if ((t1 & 1) !== 0) {
  41800. message = A._Utf8Decoder_errorDescription(t1);
  41801. _this._convert$_state = 0;
  41802. throw A.wrapException(A.FormatException$(message, codeUnits, errorOffset + _this._charOrIndex));
  41803. }
  41804. return result;
  41805. },
  41806. _decodeRecursive$4(bytes, start, end, single) {
  41807. var mid, s1, _this = this;
  41808. if (end - start > 1000) {
  41809. mid = B.JSInt_methods._tdivFast$1(start + end, 2);
  41810. s1 = _this._decodeRecursive$4(bytes, start, mid, false);
  41811. if ((_this._convert$_state & 1) !== 0)
  41812. return s1;
  41813. return s1 + _this._decodeRecursive$4(bytes, mid, end, single);
  41814. }
  41815. return _this.decodeGeneral$4(bytes, start, end, single);
  41816. },
  41817. flush$1(sink) {
  41818. var t1,
  41819. state = this._convert$_state;
  41820. this._convert$_state = 0;
  41821. if (state <= 32)
  41822. return;
  41823. if (this.allowMalformed) {
  41824. t1 = A.Primitives_stringFromCharCode(65533);
  41825. sink._contents += t1;
  41826. } else
  41827. throw A.wrapException(A.FormatException$(A._Utf8Decoder_errorDescription(77), null, null));
  41828. },
  41829. decodeGeneral$4(bytes, start, end, single) {
  41830. var t1, type, t2, i0, markEnd, i1, m, _this = this, _65533 = 65533,
  41831. state = _this._convert$_state,
  41832. char = _this._charOrIndex,
  41833. buffer = new A.StringBuffer(""),
  41834. i = start + 1,
  41835. byte = bytes[start];
  41836. $label0$0:
  41837. for (t1 = _this.allowMalformed; true;) {
  41838. for (; true; i = i0) {
  41839. type = "AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFFFFFFFFFFFFFFFFGGGGGGGGGGGGGGGGHHHHHHHHHHHHHHHHHHHHHHHHHHHIHHHJEEBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBKCCCCCCCCCCCCDCLONNNMEEEEEEEEEEE".charCodeAt(byte) & 31;
  41840. char = state <= 32 ? byte & 61694 >>> type : (byte & 63 | char << 6) >>> 0;
  41841. state = " \x000:XECCCCCN:lDb \x000:XECCCCCNvlDb \x000:XECCCCCN:lDb AAAAA\x00\x00\x00\x00\x00AAAAA00000AAAAA:::::AAAAAGG000AAAAA00KKKAAAAAG::::AAAAA:IIIIAAAAA000\x800AAAAA\x00\x00\x00\x00 AAAAA".charCodeAt(state + type);
  41842. if (state === 0) {
  41843. t2 = A.Primitives_stringFromCharCode(char);
  41844. buffer._contents += t2;
  41845. if (i === end)
  41846. break $label0$0;
  41847. break;
  41848. } else if ((state & 1) !== 0) {
  41849. if (t1)
  41850. switch (state) {
  41851. case 69:
  41852. case 67:
  41853. t2 = A.Primitives_stringFromCharCode(_65533);
  41854. buffer._contents += t2;
  41855. break;
  41856. case 65:
  41857. t2 = A.Primitives_stringFromCharCode(_65533);
  41858. buffer._contents += t2;
  41859. --i;
  41860. break;
  41861. default:
  41862. t2 = A.Primitives_stringFromCharCode(_65533);
  41863. buffer._contents = (buffer._contents += t2) + A.Primitives_stringFromCharCode(_65533);
  41864. break;
  41865. }
  41866. else {
  41867. _this._convert$_state = state;
  41868. _this._charOrIndex = i - 1;
  41869. return "";
  41870. }
  41871. state = 0;
  41872. }
  41873. if (i === end)
  41874. break $label0$0;
  41875. i0 = i + 1;
  41876. byte = bytes[i];
  41877. }
  41878. i0 = i + 1;
  41879. byte = bytes[i];
  41880. if (byte < 128) {
  41881. while (true) {
  41882. if (!(i0 < end)) {
  41883. markEnd = end;
  41884. break;
  41885. }
  41886. i1 = i0 + 1;
  41887. byte = bytes[i0];
  41888. if (byte >= 128) {
  41889. markEnd = i1 - 1;
  41890. i0 = i1;
  41891. break;
  41892. }
  41893. i0 = i1;
  41894. }
  41895. if (markEnd - i < 20)
  41896. for (m = i; m < markEnd; ++m) {
  41897. t2 = A.Primitives_stringFromCharCode(bytes[m]);
  41898. buffer._contents += t2;
  41899. }
  41900. else {
  41901. t2 = A.String_String$fromCharCodes(bytes, i, markEnd);
  41902. buffer._contents += t2;
  41903. }
  41904. if (markEnd === end)
  41905. break $label0$0;
  41906. i = i0;
  41907. } else
  41908. i = i0;
  41909. }
  41910. if (single && state > 32)
  41911. if (t1) {
  41912. t1 = A.Primitives_stringFromCharCode(_65533);
  41913. buffer._contents += t1;
  41914. } else {
  41915. _this._convert$_state = 77;
  41916. _this._charOrIndex = end;
  41917. return "";
  41918. }
  41919. _this._convert$_state = state;
  41920. _this._charOrIndex = char;
  41921. t1 = buffer._contents;
  41922. return t1.charCodeAt(0) == 0 ? t1 : t1;
  41923. }
  41924. };
  41925. A.NoSuchMethodError_toString_closure.prototype = {
  41926. call$2(key, value) {
  41927. var t1 = this.sb,
  41928. t2 = this._box_0,
  41929. t3 = (t1._contents += t2.comma) + key.__internal$_name;
  41930. t1._contents = t3;
  41931. t1._contents = t3 + ": ";
  41932. t3 = A.Error_safeToString(value);
  41933. t1._contents += t3;
  41934. t2.comma = ", ";
  41935. },
  41936. $signature: 467
  41937. };
  41938. A.DateTime.prototype = {
  41939. $eq(_, other) {
  41940. var t1;
  41941. if (other == null)
  41942. return false;
  41943. t1 = false;
  41944. if (other instanceof A.DateTime)
  41945. if (this._value === other._value)
  41946. t1 = this._microsecond === other._microsecond;
  41947. return t1;
  41948. },
  41949. get$hashCode(_) {
  41950. return A.Object_hash(this._value, this._microsecond, B.C_SentinelValue, B.C_SentinelValue);
  41951. },
  41952. isAfter$1(other) {
  41953. var t1 = this._value,
  41954. t2 = other._value;
  41955. if (t1 <= t2)
  41956. t1 = t1 === t2 && this._microsecond > other._microsecond;
  41957. else
  41958. t1 = true;
  41959. return t1;
  41960. },
  41961. compareTo$1(_, other) {
  41962. var r = B.JSInt_methods.compareTo$1(this._value, other._value);
  41963. if (r !== 0)
  41964. return r;
  41965. return B.JSInt_methods.compareTo$1(this._microsecond, other._microsecond);
  41966. },
  41967. toString$0(_) {
  41968. var _this = this,
  41969. y = A.DateTime__fourDigits(A.Primitives_getYear(_this)),
  41970. m = A.DateTime__twoDigits(A.Primitives_getMonth(_this)),
  41971. d = A.DateTime__twoDigits(A.Primitives_getDay(_this)),
  41972. h = A.DateTime__twoDigits(A.Primitives_getHours(_this)),
  41973. min = A.DateTime__twoDigits(A.Primitives_getMinutes(_this)),
  41974. sec = A.DateTime__twoDigits(A.Primitives_getSeconds(_this)),
  41975. ms = A.DateTime__threeDigits(A.Primitives_getMilliseconds(_this)),
  41976. t1 = _this._microsecond,
  41977. us = t1 === 0 ? "" : A.DateTime__threeDigits(t1);
  41978. return y + "-" + m + "-" + d + " " + h + ":" + min + ":" + sec + "." + ms + us;
  41979. },
  41980. $isComparable: 1
  41981. };
  41982. A.Duration.prototype = {
  41983. $eq(_, other) {
  41984. if (other == null)
  41985. return false;
  41986. return other instanceof A.Duration && this._duration === other._duration;
  41987. },
  41988. get$hashCode(_) {
  41989. return B.JSInt_methods.get$hashCode(this._duration);
  41990. },
  41991. compareTo$1(_, other) {
  41992. return B.JSInt_methods.compareTo$1(this._duration, other._duration);
  41993. },
  41994. toString$0(_) {
  41995. var sign, minutes, minutesPadding, seconds, secondsPadding,
  41996. microseconds = this._duration,
  41997. hours = B.JSInt_methods._tdivFast$1(microseconds, 3600000000),
  41998. microseconds0 = microseconds % 3600000000;
  41999. if (microseconds < 0) {
  42000. hours = 0 - hours;
  42001. microseconds = 0 - microseconds0;
  42002. sign = "-";
  42003. } else {
  42004. microseconds = microseconds0;
  42005. sign = "";
  42006. }
  42007. minutes = B.JSInt_methods._tdivFast$1(microseconds, 60000000);
  42008. microseconds %= 60000000;
  42009. minutesPadding = minutes < 10 ? "0" : "";
  42010. seconds = B.JSInt_methods._tdivFast$1(microseconds, 1000000);
  42011. secondsPadding = seconds < 10 ? "0" : "";
  42012. return sign + hours + ":" + minutesPadding + minutes + ":" + secondsPadding + seconds + "." + B.JSString_methods.padLeft$2(B.JSInt_methods.toString$0(microseconds % 1000000), 6, "0");
  42013. },
  42014. $isComparable: 1
  42015. };
  42016. A._Enum.prototype = {
  42017. toString$0(_) {
  42018. return this._enumToString$0();
  42019. }
  42020. };
  42021. A.Error.prototype = {
  42022. get$stackTrace() {
  42023. return A.Primitives_extractStackTrace(this);
  42024. }
  42025. };
  42026. A.AssertionError.prototype = {
  42027. toString$0(_) {
  42028. var t1 = this.message;
  42029. if (t1 != null)
  42030. return "Assertion failed: " + A.Error_safeToString(t1);
  42031. return "Assertion failed";
  42032. },
  42033. get$message(receiver) {
  42034. return this.message;
  42035. }
  42036. };
  42037. A.TypeError.prototype = {};
  42038. A.ArgumentError.prototype = {
  42039. get$_errorName() {
  42040. return "Invalid argument" + (!this._hasValue ? "(s)" : "");
  42041. },
  42042. get$_errorExplanation() {
  42043. return "";
  42044. },
  42045. toString$0(_) {
  42046. var _this = this,
  42047. $name = _this.name,
  42048. nameString = $name == null ? "" : " (" + $name + ")",
  42049. message = _this.message,
  42050. messageString = message == null ? "" : ": " + A.S(message),
  42051. prefix = _this.get$_errorName() + nameString + messageString;
  42052. if (!_this._hasValue)
  42053. return prefix;
  42054. return prefix + _this.get$_errorExplanation() + ": " + A.Error_safeToString(_this.get$invalidValue());
  42055. },
  42056. get$invalidValue() {
  42057. return this.invalidValue;
  42058. },
  42059. get$message(receiver) {
  42060. return this.message;
  42061. }
  42062. };
  42063. A.RangeError.prototype = {
  42064. get$invalidValue() {
  42065. return this.invalidValue;
  42066. },
  42067. get$_errorName() {
  42068. return "RangeError";
  42069. },
  42070. get$_errorExplanation() {
  42071. var explanation,
  42072. start = this.start,
  42073. end = this.end;
  42074. if (start == null)
  42075. explanation = end != null ? ": Not less than or equal to " + A.S(end) : "";
  42076. else if (end == null)
  42077. explanation = ": Not greater than or equal to " + A.S(start);
  42078. else if (end > start)
  42079. explanation = ": Not in inclusive range " + A.S(start) + ".." + A.S(end);
  42080. else
  42081. explanation = end < start ? ": Valid value range is empty" : ": Only valid value is " + A.S(start);
  42082. return explanation;
  42083. }
  42084. };
  42085. A.IndexError.prototype = {
  42086. get$invalidValue() {
  42087. return this.invalidValue;
  42088. },
  42089. get$_errorName() {
  42090. return "RangeError";
  42091. },
  42092. get$_errorExplanation() {
  42093. if (this.invalidValue < 0)
  42094. return ": index must not be negative";
  42095. var t1 = this.length;
  42096. if (t1 === 0)
  42097. return ": no indices are valid";
  42098. return ": index should be less than " + t1;
  42099. },
  42100. $isRangeError: 1,
  42101. get$length(receiver) {
  42102. return this.length;
  42103. }
  42104. };
  42105. A.NoSuchMethodError.prototype = {
  42106. toString$0(_) {
  42107. var $arguments, t1, _i, t2, t3, argument, receiverText, actualParameters, _this = this, _box_0 = {},
  42108. sb = new A.StringBuffer("");
  42109. _box_0.comma = "";
  42110. $arguments = _this._core$_arguments;
  42111. for (t1 = $arguments.length, _i = 0, t2 = "", t3 = ""; _i < t1; ++_i, t3 = ", ") {
  42112. argument = $arguments[_i];
  42113. sb._contents = t2 + t3;
  42114. t2 = A.Error_safeToString(argument);
  42115. t2 = sb._contents += t2;
  42116. _box_0.comma = ", ";
  42117. }
  42118. _this._namedArguments.forEach$1(0, new A.NoSuchMethodError_toString_closure(_box_0, sb));
  42119. receiverText = A.Error_safeToString(_this._core$_receiver);
  42120. actualParameters = sb.toString$0(0);
  42121. return "NoSuchMethodError: method not found: '" + _this._memberName.__internal$_name + "'\nReceiver: " + receiverText + "\nArguments: [" + actualParameters + "]";
  42122. }
  42123. };
  42124. A.UnsupportedError.prototype = {
  42125. toString$0(_) {
  42126. return "Unsupported operation: " + this.message;
  42127. },
  42128. get$message(receiver) {
  42129. return this.message;
  42130. }
  42131. };
  42132. A.UnimplementedError.prototype = {
  42133. toString$0(_) {
  42134. return "UnimplementedError: " + this.message;
  42135. },
  42136. get$message(receiver) {
  42137. return this.message;
  42138. }
  42139. };
  42140. A.StateError.prototype = {
  42141. toString$0(_) {
  42142. return "Bad state: " + this.message;
  42143. },
  42144. get$message(receiver) {
  42145. return this.message;
  42146. }
  42147. };
  42148. A.ConcurrentModificationError.prototype = {
  42149. toString$0(_) {
  42150. var t1 = this.modifiedObject;
  42151. if (t1 == null)
  42152. return "Concurrent modification during iteration.";
  42153. return "Concurrent modification during iteration: " + A.Error_safeToString(t1) + ".";
  42154. }
  42155. };
  42156. A.OutOfMemoryError.prototype = {
  42157. toString$0(_) {
  42158. return "Out of Memory";
  42159. },
  42160. get$stackTrace() {
  42161. return null;
  42162. },
  42163. $isError: 1
  42164. };
  42165. A.StackOverflowError.prototype = {
  42166. toString$0(_) {
  42167. return "Stack Overflow";
  42168. },
  42169. get$stackTrace() {
  42170. return null;
  42171. },
  42172. $isError: 1
  42173. };
  42174. A._Exception.prototype = {
  42175. toString$0(_) {
  42176. return "Exception: " + this.message;
  42177. },
  42178. $isException: 1,
  42179. get$message(receiver) {
  42180. return this.message;
  42181. }
  42182. };
  42183. A.FormatException.prototype = {
  42184. toString$0(_) {
  42185. var t1, lineNum, lineStart, previousCharWasCR, i, char, lineEnd, prefix, postfix, end, start,
  42186. message = this.message,
  42187. report = "" !== message ? "FormatException: " + message : "FormatException",
  42188. offset = this.offset,
  42189. source = this.source;
  42190. if (typeof source == "string") {
  42191. if (offset != null)
  42192. t1 = offset < 0 || offset > source.length;
  42193. else
  42194. t1 = false;
  42195. if (t1)
  42196. offset = null;
  42197. if (offset == null) {
  42198. if (source.length > 78)
  42199. source = B.JSString_methods.substring$2(source, 0, 75) + "...";
  42200. return report + "\n" + source;
  42201. }
  42202. for (lineNum = 1, lineStart = 0, previousCharWasCR = false, i = 0; i < offset; ++i) {
  42203. char = source.charCodeAt(i);
  42204. if (char === 10) {
  42205. if (lineStart !== i || !previousCharWasCR)
  42206. ++lineNum;
  42207. lineStart = i + 1;
  42208. previousCharWasCR = false;
  42209. } else if (char === 13) {
  42210. ++lineNum;
  42211. lineStart = i + 1;
  42212. previousCharWasCR = true;
  42213. }
  42214. }
  42215. report = lineNum > 1 ? report + (" (at line " + lineNum + ", character " + (offset - lineStart + 1) + ")\n") : report + (" (at character " + (offset + 1) + ")\n");
  42216. lineEnd = source.length;
  42217. for (i = offset; i < lineEnd; ++i) {
  42218. char = source.charCodeAt(i);
  42219. if (char === 10 || char === 13) {
  42220. lineEnd = i;
  42221. break;
  42222. }
  42223. }
  42224. prefix = "";
  42225. if (lineEnd - lineStart > 78) {
  42226. postfix = "...";
  42227. if (offset - lineStart < 75) {
  42228. end = lineStart + 75;
  42229. start = lineStart;
  42230. } else {
  42231. if (lineEnd - offset < 75) {
  42232. start = lineEnd - 75;
  42233. end = lineEnd;
  42234. postfix = "";
  42235. } else {
  42236. start = offset - 36;
  42237. end = offset + 36;
  42238. }
  42239. prefix = "...";
  42240. }
  42241. } else {
  42242. end = lineEnd;
  42243. start = lineStart;
  42244. postfix = "";
  42245. }
  42246. return report + prefix + B.JSString_methods.substring$2(source, start, end) + postfix + "\n" + B.JSString_methods.$mul(" ", offset - start + prefix.length) + "^\n";
  42247. } else
  42248. return offset != null ? report + (" (at offset " + A.S(offset) + ")") : report;
  42249. },
  42250. $isException: 1,
  42251. get$message(receiver) {
  42252. return this.message;
  42253. }
  42254. };
  42255. A.Iterable.prototype = {
  42256. cast$1$0(_, $R) {
  42257. return A.CastIterable_CastIterable(this, A._instanceType(this)._eval$1("Iterable.E"), $R);
  42258. },
  42259. followedBy$1(_, other) {
  42260. var _this = this;
  42261. if (type$.EfficientLengthIterable_dynamic._is(_this))
  42262. return A.FollowedByIterable_FollowedByIterable$firstEfficient(_this, other, A._instanceType(_this)._eval$1("Iterable.E"));
  42263. return new A.FollowedByIterable(_this, other, A._instanceType(_this)._eval$1("FollowedByIterable<Iterable.E>"));
  42264. },
  42265. map$1$1(_, toElement, $T) {
  42266. return A.MappedIterable_MappedIterable(this, toElement, A._instanceType(this)._eval$1("Iterable.E"), $T);
  42267. },
  42268. where$1(_, test) {
  42269. return new A.WhereIterable(this, test, A._instanceType(this)._eval$1("WhereIterable<Iterable.E>"));
  42270. },
  42271. expand$1$1(_, toElements, $T) {
  42272. return new A.ExpandIterable(this, toElements, A._instanceType(this)._eval$1("@<Iterable.E>")._bind$1($T)._eval$1("ExpandIterable<1,2>"));
  42273. },
  42274. contains$1(_, element) {
  42275. var t1;
  42276. for (t1 = this.get$iterator(this); t1.moveNext$0();)
  42277. if (J.$eq$(t1.get$current(t1), element))
  42278. return true;
  42279. return false;
  42280. },
  42281. forEach$1(_, action) {
  42282. var t1;
  42283. for (t1 = this.get$iterator(this); t1.moveNext$0();)
  42284. action.call$1(t1.get$current(t1));
  42285. },
  42286. fold$1$2(_, initialValue, combine) {
  42287. var t1, value;
  42288. for (t1 = this.get$iterator(this), value = initialValue; t1.moveNext$0();)
  42289. value = combine.call$2(value, t1.get$current(t1));
  42290. return value;
  42291. },
  42292. fold$2(_, initialValue, combine) {
  42293. combine.toString;
  42294. return this.fold$1$2(0, initialValue, combine, type$.dynamic);
  42295. },
  42296. every$1(_, test) {
  42297. var t1;
  42298. for (t1 = this.get$iterator(this); t1.moveNext$0();)
  42299. if (!test.call$1(t1.get$current(t1)))
  42300. return false;
  42301. return true;
  42302. },
  42303. join$1(_, separator) {
  42304. var first, t1,
  42305. iterator = this.get$iterator(this);
  42306. if (!iterator.moveNext$0())
  42307. return "";
  42308. first = J.toString$0$(iterator.get$current(iterator));
  42309. if (!iterator.moveNext$0())
  42310. return first;
  42311. if (separator.length === 0) {
  42312. t1 = first;
  42313. do
  42314. t1 += A.S(J.toString$0$(iterator.get$current(iterator)));
  42315. while (iterator.moveNext$0());
  42316. } else {
  42317. t1 = first;
  42318. do
  42319. t1 = t1 + separator + A.S(J.toString$0$(iterator.get$current(iterator)));
  42320. while (iterator.moveNext$0());
  42321. }
  42322. return t1.charCodeAt(0) == 0 ? t1 : t1;
  42323. },
  42324. any$1(_, test) {
  42325. var t1;
  42326. for (t1 = this.get$iterator(this); t1.moveNext$0();)
  42327. if (test.call$1(t1.get$current(t1)))
  42328. return true;
  42329. return false;
  42330. },
  42331. toList$1$growable(_, growable) {
  42332. var t1 = A._instanceType(this)._eval$1("Iterable.E");
  42333. if (growable)
  42334. t1 = A.List_List$_of(this, t1);
  42335. else {
  42336. t1 = A.List_List$_of(this, t1);
  42337. t1.$flags = 1;
  42338. t1 = t1;
  42339. }
  42340. return t1;
  42341. },
  42342. toList$0(_) {
  42343. return this.toList$1$growable(0, true);
  42344. },
  42345. toSet$0(_) {
  42346. return A.LinkedHashSet_LinkedHashSet$of(this, A._instanceType(this)._eval$1("Iterable.E"));
  42347. },
  42348. get$length(_) {
  42349. var count,
  42350. it = this.get$iterator(this);
  42351. for (count = 0; it.moveNext$0();)
  42352. ++count;
  42353. return count;
  42354. },
  42355. get$isEmpty(_) {
  42356. return !this.get$iterator(this).moveNext$0();
  42357. },
  42358. get$isNotEmpty(_) {
  42359. return !this.get$isEmpty(this);
  42360. },
  42361. take$1(_, count) {
  42362. return A.TakeIterable_TakeIterable(this, count, A._instanceType(this)._eval$1("Iterable.E"));
  42363. },
  42364. skip$1(_, count) {
  42365. return A.SkipIterable_SkipIterable(this, count, A._instanceType(this)._eval$1("Iterable.E"));
  42366. },
  42367. skipWhile$1(_, test) {
  42368. return new A.SkipWhileIterable(this, test, A._instanceType(this)._eval$1("SkipWhileIterable<Iterable.E>"));
  42369. },
  42370. get$first(_) {
  42371. var it = this.get$iterator(this);
  42372. if (!it.moveNext$0())
  42373. throw A.wrapException(A.IterableElementError_noElement());
  42374. return it.get$current(it);
  42375. },
  42376. get$last(_) {
  42377. var result,
  42378. it = this.get$iterator(this);
  42379. if (!it.moveNext$0())
  42380. throw A.wrapException(A.IterableElementError_noElement());
  42381. do
  42382. result = it.get$current(it);
  42383. while (it.moveNext$0());
  42384. return result;
  42385. },
  42386. get$single(_) {
  42387. var result,
  42388. it = this.get$iterator(this);
  42389. if (!it.moveNext$0())
  42390. throw A.wrapException(A.IterableElementError_noElement());
  42391. result = it.get$current(it);
  42392. if (it.moveNext$0())
  42393. throw A.wrapException(A.IterableElementError_tooMany());
  42394. return result;
  42395. },
  42396. elementAt$1(_, index) {
  42397. var iterator, skipCount;
  42398. A.RangeError_checkNotNegative(index, "index");
  42399. iterator = this.get$iterator(this);
  42400. for (skipCount = index; iterator.moveNext$0();) {
  42401. if (skipCount === 0)
  42402. return iterator.get$current(iterator);
  42403. --skipCount;
  42404. }
  42405. throw A.wrapException(A.IndexError$withLength(index, index - skipCount, this, null, "index"));
  42406. },
  42407. toString$0(_) {
  42408. return A.Iterable_iterableToShortString(this, "(", ")");
  42409. }
  42410. };
  42411. A._GeneratorIterable.prototype = {
  42412. elementAt$1(_, index) {
  42413. A.IndexError_check(index, this.length, this, null, null);
  42414. return this._generator.call$1(index);
  42415. },
  42416. get$length(receiver) {
  42417. return this.length;
  42418. }
  42419. };
  42420. A.MapEntry.prototype = {
  42421. toString$0(_) {
  42422. return "MapEntry(" + A.S(this.key) + ": " + A.S(this.value) + ")";
  42423. }
  42424. };
  42425. A.Null.prototype = {
  42426. get$hashCode(_) {
  42427. return A.Object.prototype.get$hashCode.call(this, 0);
  42428. },
  42429. toString$0(_) {
  42430. return "null";
  42431. }
  42432. };
  42433. A.Object.prototype = {$isObject: 1,
  42434. $eq(_, other) {
  42435. return this === other;
  42436. },
  42437. get$hashCode(_) {
  42438. return A.Primitives_objectHashCode(this);
  42439. },
  42440. toString$0(_) {
  42441. return "Instance of '" + A.Primitives_objectTypeName(this) + "'";
  42442. },
  42443. noSuchMethod$1(_, invocation) {
  42444. throw A.wrapException(A.NoSuchMethodError_NoSuchMethodError$withInvocation(this, invocation));
  42445. },
  42446. get$runtimeType(_) {
  42447. return A.getRuntimeTypeOfDartObject(this);
  42448. },
  42449. toString() {
  42450. return this.toString$0(this);
  42451. }
  42452. };
  42453. A._StringStackTrace.prototype = {
  42454. toString$0(_) {
  42455. return this._stackTrace;
  42456. },
  42457. $isStackTrace: 1
  42458. };
  42459. A.Runes.prototype = {
  42460. get$iterator(_) {
  42461. return new A.RuneIterator(this.string);
  42462. },
  42463. get$last(_) {
  42464. var code, previousCode,
  42465. t1 = this.string,
  42466. t2 = t1.length;
  42467. if (t2 === 0)
  42468. throw A.wrapException(A.StateError$("No elements."));
  42469. code = t1.charCodeAt(t2 - 1);
  42470. if ((code & 64512) === 56320 && t2 > 1) {
  42471. previousCode = t1.charCodeAt(t2 - 2);
  42472. if ((previousCode & 64512) === 55296)
  42473. return A._combineSurrogatePair(previousCode, code);
  42474. }
  42475. return code;
  42476. }
  42477. };
  42478. A.RuneIterator.prototype = {
  42479. get$current(_) {
  42480. return this._currentCodePoint;
  42481. },
  42482. moveNext$0() {
  42483. var codeUnit, nextPosition, nextCodeUnit, _this = this,
  42484. t1 = _this._position = _this._nextPosition,
  42485. t2 = _this.string,
  42486. t3 = t2.length;
  42487. if (t1 === t3) {
  42488. _this._currentCodePoint = -1;
  42489. return false;
  42490. }
  42491. codeUnit = t2.charCodeAt(t1);
  42492. nextPosition = t1 + 1;
  42493. if ((codeUnit & 64512) === 55296 && nextPosition < t3) {
  42494. nextCodeUnit = t2.charCodeAt(nextPosition);
  42495. if ((nextCodeUnit & 64512) === 56320) {
  42496. _this._nextPosition = nextPosition + 1;
  42497. _this._currentCodePoint = A._combineSurrogatePair(codeUnit, nextCodeUnit);
  42498. return true;
  42499. }
  42500. }
  42501. _this._nextPosition = nextPosition;
  42502. _this._currentCodePoint = codeUnit;
  42503. return true;
  42504. }
  42505. };
  42506. A.StringBuffer.prototype = {
  42507. get$length(_) {
  42508. return this._contents.length;
  42509. },
  42510. write$1(_, obj) {
  42511. var t1 = A.S(obj);
  42512. this._contents += t1;
  42513. },
  42514. writeCharCode$1(charCode) {
  42515. var t1 = A.Primitives_stringFromCharCode(charCode);
  42516. this._contents += t1;
  42517. },
  42518. toString$0(_) {
  42519. var t1 = this._contents;
  42520. return t1.charCodeAt(0) == 0 ? t1 : t1;
  42521. }
  42522. };
  42523. A.Uri__parseIPv4Address_error.prototype = {
  42524. call$2(msg, position) {
  42525. throw A.wrapException(A.FormatException$("Illegal IPv4 address, " + msg, this.host, position));
  42526. },
  42527. $signature: 531
  42528. };
  42529. A.Uri_parseIPv6Address_error.prototype = {
  42530. call$2(msg, position) {
  42531. throw A.wrapException(A.FormatException$("Illegal IPv6 address, " + msg, this.host, position));
  42532. },
  42533. $signature: 533
  42534. };
  42535. A.Uri_parseIPv6Address_parseHex.prototype = {
  42536. call$2(start, end) {
  42537. var value;
  42538. if (end - start > 4)
  42539. this.error.call$2("an IPv6 part can only contain a maximum of 4 hex digits", start);
  42540. value = A.int_parse(B.JSString_methods.substring$2(this.host, start, end), 16);
  42541. if (value < 0 || value > 65535)
  42542. this.error.call$2("each part must be in the range of `0x0..0xFFFF`", start);
  42543. return value;
  42544. },
  42545. $signature: 582
  42546. };
  42547. A._Uri.prototype = {
  42548. get$_text() {
  42549. var t1, t2, t3, t4, _this = this,
  42550. value = _this.___Uri__text_FI;
  42551. if (value === $) {
  42552. t1 = _this.scheme;
  42553. t2 = t1.length !== 0 ? "" + t1 + ":" : "";
  42554. t3 = _this._host;
  42555. t4 = t3 == null;
  42556. if (!t4 || t1 === "file") {
  42557. t1 = t2 + "//";
  42558. t2 = _this._userInfo;
  42559. if (t2.length !== 0)
  42560. t1 = t1 + t2 + "@";
  42561. if (!t4)
  42562. t1 += t3;
  42563. t2 = _this._port;
  42564. if (t2 != null)
  42565. t1 = t1 + ":" + A.S(t2);
  42566. } else
  42567. t1 = t2;
  42568. t1 += _this.path;
  42569. t2 = _this._query;
  42570. if (t2 != null)
  42571. t1 = t1 + "?" + t2;
  42572. t2 = _this._fragment;
  42573. if (t2 != null)
  42574. t1 = t1 + "#" + t2;
  42575. value !== $ && A.throwUnnamedLateFieldADI();
  42576. value = _this.___Uri__text_FI = t1.charCodeAt(0) == 0 ? t1 : t1;
  42577. }
  42578. return value;
  42579. },
  42580. get$pathSegments() {
  42581. var pathToSplit, result, _this = this,
  42582. value = _this.___Uri_pathSegments_FI;
  42583. if (value === $) {
  42584. pathToSplit = _this.path;
  42585. if (pathToSplit.length !== 0 && pathToSplit.charCodeAt(0) === 47)
  42586. pathToSplit = B.JSString_methods.substring$1(pathToSplit, 1);
  42587. 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);
  42588. _this.___Uri_pathSegments_FI !== $ && A.throwUnnamedLateFieldADI();
  42589. value = _this.___Uri_pathSegments_FI = result;
  42590. }
  42591. return value;
  42592. },
  42593. get$hashCode(_) {
  42594. var result, _this = this,
  42595. value = _this.___Uri_hashCode_FI;
  42596. if (value === $) {
  42597. result = B.JSString_methods.get$hashCode(_this.get$_text());
  42598. _this.___Uri_hashCode_FI !== $ && A.throwUnnamedLateFieldADI();
  42599. _this.___Uri_hashCode_FI = result;
  42600. value = result;
  42601. }
  42602. return value;
  42603. },
  42604. get$userInfo() {
  42605. return this._userInfo;
  42606. },
  42607. get$host() {
  42608. var host = this._host;
  42609. if (host == null)
  42610. return "";
  42611. if (B.JSString_methods.startsWith$1(host, "["))
  42612. return B.JSString_methods.substring$2(host, 1, host.length - 1);
  42613. return host;
  42614. },
  42615. get$port(_) {
  42616. var t1 = this._port;
  42617. return t1 == null ? A._Uri__defaultPort(this.scheme) : t1;
  42618. },
  42619. get$query() {
  42620. var t1 = this._query;
  42621. return t1 == null ? "" : t1;
  42622. },
  42623. get$fragment() {
  42624. var t1 = this._fragment;
  42625. return t1 == null ? "" : t1;
  42626. },
  42627. isScheme$1(scheme) {
  42628. var thisScheme = this.scheme;
  42629. if (scheme.length !== thisScheme.length)
  42630. return false;
  42631. return A._caseInsensitiveCompareStart(scheme, thisScheme, 0) >= 0;
  42632. },
  42633. replace$1$scheme(scheme) {
  42634. var isFile, userInfo, port, host, currentPath, t1, path, _this = this;
  42635. scheme = A._Uri__makeScheme(scheme, 0, scheme.length);
  42636. isFile = scheme === "file";
  42637. userInfo = _this._userInfo;
  42638. port = _this._port;
  42639. if (scheme !== _this.scheme)
  42640. port = A._Uri__makePort(port, scheme);
  42641. host = _this._host;
  42642. if (!(host != null))
  42643. host = userInfo.length !== 0 || port != null || isFile ? "" : null;
  42644. currentPath = _this.path;
  42645. if (!isFile)
  42646. t1 = host != null && currentPath.length !== 0;
  42647. else
  42648. t1 = true;
  42649. if (t1 && !B.JSString_methods.startsWith$1(currentPath, "/"))
  42650. currentPath = "/" + currentPath;
  42651. path = currentPath;
  42652. return A._Uri$_internal(scheme, userInfo, host, port, path, _this._query, _this._fragment);
  42653. },
  42654. _mergePaths$2(base, reference) {
  42655. var backCount, refStart, baseEnd, newEnd, delta, t1, t2;
  42656. for (backCount = 0, refStart = 0; B.JSString_methods.startsWith$2(reference, "../", refStart);) {
  42657. refStart += 3;
  42658. ++backCount;
  42659. }
  42660. baseEnd = B.JSString_methods.lastIndexOf$1(base, "/");
  42661. while (true) {
  42662. if (!(baseEnd > 0 && backCount > 0))
  42663. break;
  42664. newEnd = B.JSString_methods.lastIndexOf$2(base, "/", baseEnd - 1);
  42665. if (newEnd < 0)
  42666. break;
  42667. delta = baseEnd - newEnd;
  42668. t1 = delta !== 2;
  42669. t2 = false;
  42670. if (!t1 || delta === 3)
  42671. if (base.charCodeAt(newEnd + 1) === 46)
  42672. t1 = !t1 || base.charCodeAt(newEnd + 2) === 46;
  42673. else
  42674. t1 = t2;
  42675. else
  42676. t1 = t2;
  42677. if (t1)
  42678. break;
  42679. --backCount;
  42680. baseEnd = newEnd;
  42681. }
  42682. return B.JSString_methods.replaceRange$3(base, baseEnd + 1, null, B.JSString_methods.substring$1(reference, refStart - 3 * backCount));
  42683. },
  42684. resolve$1(_, reference) {
  42685. return this.resolveUri$1(A.Uri_parse(reference));
  42686. },
  42687. resolveUri$1(reference) {
  42688. var targetScheme, targetUserInfo, targetHost, targetPort, targetPath, targetQuery, split, packageNameEnd, packageName, mergedPath, t1, fragment, _this = this, _null = null;
  42689. if (reference.get$scheme().length !== 0) {
  42690. if (type$._PlatformUri._is(reference))
  42691. return reference;
  42692. targetScheme = reference.get$scheme();
  42693. if (reference.get$hasAuthority()) {
  42694. targetUserInfo = reference.get$userInfo();
  42695. targetHost = reference.get$host();
  42696. targetPort = reference.get$hasPort() ? reference.get$port(reference) : _null;
  42697. } else {
  42698. targetPort = _null;
  42699. targetHost = targetPort;
  42700. targetUserInfo = "";
  42701. }
  42702. targetPath = A._Uri__removeDotSegments(reference.get$path(reference));
  42703. targetQuery = reference.get$hasQuery() ? reference.get$query() : _null;
  42704. split = 0;
  42705. } else {
  42706. targetScheme = _this.scheme;
  42707. if (reference.get$hasAuthority()) {
  42708. if (type$._PlatformUri._is(reference))
  42709. return reference.replace$1$scheme(targetScheme);
  42710. targetUserInfo = reference.get$userInfo();
  42711. targetHost = reference.get$host();
  42712. targetPort = A._Uri__makePort(reference.get$hasPort() ? reference.get$port(reference) : _null, targetScheme);
  42713. targetPath = A._Uri__removeDotSegments(reference.get$path(reference));
  42714. targetQuery = reference.get$hasQuery() ? reference.get$query() : _null;
  42715. split = 1;
  42716. } else {
  42717. targetUserInfo = _this._userInfo;
  42718. targetHost = _this._host;
  42719. targetPort = _this._port;
  42720. targetPath = _this.path;
  42721. if (reference.get$hasEmptyPath())
  42722. if (reference.get$hasQuery()) {
  42723. targetQuery = reference.get$query();
  42724. split = 3;
  42725. } else {
  42726. targetQuery = _this._query;
  42727. split = 4;
  42728. }
  42729. else {
  42730. packageNameEnd = A._Uri__packageNameEnd(_this, targetPath);
  42731. if (packageNameEnd > 0) {
  42732. packageName = B.JSString_methods.substring$2(targetPath, 0, packageNameEnd);
  42733. 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)));
  42734. } else if (reference.get$hasAbsolutePath())
  42735. targetPath = A._Uri__removeDotSegments(reference.get$path(reference));
  42736. else if (targetPath.length === 0)
  42737. if (targetHost == null)
  42738. targetPath = targetScheme.length === 0 ? reference.get$path(reference) : A._Uri__removeDotSegments(reference.get$path(reference));
  42739. else
  42740. targetPath = A._Uri__removeDotSegments("/" + reference.get$path(reference));
  42741. else {
  42742. mergedPath = _this._mergePaths$2(targetPath, reference.get$path(reference));
  42743. t1 = targetScheme.length === 0;
  42744. if (!t1 || targetHost != null || B.JSString_methods.startsWith$1(targetPath, "/"))
  42745. targetPath = A._Uri__removeDotSegments(mergedPath);
  42746. else
  42747. targetPath = A._Uri__normalizeRelativePath(mergedPath, !t1 || targetHost != null);
  42748. }
  42749. targetQuery = reference.get$hasQuery() ? reference.get$query() : _null;
  42750. split = 2;
  42751. }
  42752. }
  42753. }
  42754. fragment = reference.get$hasFragment() ? reference.get$fragment() : _null;
  42755. if (!type$._PlatformUri._is(reference)) {
  42756. if (split === 0)
  42757. targetScheme = A._Uri__makeScheme(targetScheme, 0, targetScheme.length);
  42758. if (split <= 1) {
  42759. targetUserInfo = A._Uri__makeUserInfo(targetUserInfo, 0, targetUserInfo.length);
  42760. if (targetPort != null)
  42761. targetPort = A._Uri__makePort(targetPort, targetScheme);
  42762. if (targetHost != null && targetHost.length !== 0)
  42763. targetHost = A._Uri__makeHost(targetHost, 0, targetHost.length, false);
  42764. }
  42765. t1 = split <= 3;
  42766. if (t1)
  42767. targetPath = A._Uri__makePath(targetPath, 0, targetPath.length, _null, targetScheme, targetHost != null);
  42768. if (t1 && targetQuery != null)
  42769. targetQuery = A._Uri__makeQuery(targetQuery, 0, targetQuery.length, _null);
  42770. if (fragment != null)
  42771. fragment = A._Uri__makeFragment(fragment, 0, fragment.length);
  42772. }
  42773. return A._Uri$_internal(targetScheme, targetUserInfo, targetHost, targetPort, targetPath, targetQuery, fragment);
  42774. },
  42775. get$hasAuthority() {
  42776. return this._host != null;
  42777. },
  42778. get$hasPort() {
  42779. return this._port != null;
  42780. },
  42781. get$hasQuery() {
  42782. return this._query != null;
  42783. },
  42784. get$hasFragment() {
  42785. return this._fragment != null;
  42786. },
  42787. get$hasEmptyPath() {
  42788. return this.path.length === 0;
  42789. },
  42790. get$hasAbsolutePath() {
  42791. return B.JSString_methods.startsWith$1(this.path, "/");
  42792. },
  42793. toFilePath$0() {
  42794. var pathSegments, _this = this,
  42795. t1 = _this.scheme;
  42796. if (t1 !== "" && t1 !== "file")
  42797. throw A.wrapException(A.UnsupportedError$("Cannot extract a file path from a " + t1 + " URI"));
  42798. t1 = _this._query;
  42799. if ((t1 == null ? "" : t1) !== "")
  42800. throw A.wrapException(A.UnsupportedError$(string$.Cannotfq));
  42801. t1 = _this._fragment;
  42802. if ((t1 == null ? "" : t1) !== "")
  42803. throw A.wrapException(A.UnsupportedError$(string$.Cannotff));
  42804. t1 = $.$get$_Uri__isWindowsCached();
  42805. if (t1)
  42806. t1 = A._Uri__toWindowsFilePath(_this);
  42807. else {
  42808. if (_this._host != null && _this.get$host() !== "")
  42809. A.throwExpression(A.UnsupportedError$(string$.Cannotn));
  42810. pathSegments = _this.get$pathSegments();
  42811. A._Uri__checkNonWindowsPathReservedCharacters(pathSegments, false);
  42812. t1 = A.StringBuffer__writeAll(B.JSString_methods.startsWith$1(_this.path, "/") ? "" + "/" : "", pathSegments, "/");
  42813. t1 = t1.charCodeAt(0) == 0 ? t1 : t1;
  42814. }
  42815. return t1;
  42816. },
  42817. toString$0(_) {
  42818. return this.get$_text();
  42819. },
  42820. $eq(_, other) {
  42821. var t1, t2, t3, _this = this;
  42822. if (other == null)
  42823. return false;
  42824. if (_this === other)
  42825. return true;
  42826. t1 = false;
  42827. if (type$.Uri._is(other))
  42828. if (_this.scheme === other.get$scheme())
  42829. if (_this._host != null === other.get$hasAuthority())
  42830. if (_this._userInfo === other.get$userInfo())
  42831. if (_this.get$host() === other.get$host())
  42832. if (_this.get$port(0) === other.get$port(other))
  42833. if (_this.path === other.get$path(other)) {
  42834. t2 = _this._query;
  42835. t3 = t2 == null;
  42836. if (!t3 === other.get$hasQuery()) {
  42837. if (t3)
  42838. t2 = "";
  42839. if (t2 === other.get$query()) {
  42840. t2 = _this._fragment;
  42841. t3 = t2 == null;
  42842. if (!t3 === other.get$hasFragment()) {
  42843. t1 = t3 ? "" : t2;
  42844. t1 = t1 === other.get$fragment();
  42845. }
  42846. }
  42847. }
  42848. }
  42849. return t1;
  42850. },
  42851. $isUri: 1,
  42852. $is_PlatformUri: 1,
  42853. get$scheme() {
  42854. return this.scheme;
  42855. },
  42856. get$path(receiver) {
  42857. return this.path;
  42858. }
  42859. };
  42860. A._Uri__makePath_closure.prototype = {
  42861. call$1(s) {
  42862. return A._Uri__uriEncode(64, s, B.C_Utf8Codec, false);
  42863. },
  42864. $signature: 6
  42865. };
  42866. A.UriData.prototype = {
  42867. get$uri() {
  42868. var t2, queryIndex, end, query, _this = this, _null = null,
  42869. t1 = _this._uriCache;
  42870. if (t1 == null) {
  42871. t1 = _this._text;
  42872. t2 = _this._separatorIndices[0] + 1;
  42873. queryIndex = B.JSString_methods.indexOf$2(t1, "?", t2);
  42874. end = t1.length;
  42875. if (queryIndex >= 0) {
  42876. query = A._Uri__normalizeOrSubstring(t1, queryIndex + 1, end, 256, false, false);
  42877. end = queryIndex;
  42878. } else
  42879. query = _null;
  42880. t1 = _this._uriCache = new A._DataUri("data", "", _null, _null, A._Uri__normalizeOrSubstring(t1, t2, end, 128, false, false), query, _null);
  42881. }
  42882. return t1;
  42883. },
  42884. toString$0(_) {
  42885. var t1 = this._text;
  42886. return this._separatorIndices[0] === -1 ? "data:" + t1 : t1;
  42887. }
  42888. };
  42889. A._SimpleUri.prototype = {
  42890. get$hasAuthority() {
  42891. return this._hostStart > 0;
  42892. },
  42893. get$hasPort() {
  42894. return this._hostStart > 0 && this._portStart + 1 < this._pathStart;
  42895. },
  42896. get$hasQuery() {
  42897. return this._queryStart < this._fragmentStart;
  42898. },
  42899. get$hasFragment() {
  42900. return this._fragmentStart < this._uri.length;
  42901. },
  42902. get$hasAbsolutePath() {
  42903. return B.JSString_methods.startsWith$2(this._uri, "/", this._pathStart);
  42904. },
  42905. get$hasEmptyPath() {
  42906. return this._pathStart === this._queryStart;
  42907. },
  42908. get$scheme() {
  42909. var t1 = this._schemeCache;
  42910. return t1 == null ? this._schemeCache = this._computeScheme$0() : t1;
  42911. },
  42912. _computeScheme$0() {
  42913. var t2, _this = this,
  42914. t1 = _this._schemeEnd;
  42915. if (t1 <= 0)
  42916. return "";
  42917. t2 = t1 === 4;
  42918. if (t2 && B.JSString_methods.startsWith$1(_this._uri, "http"))
  42919. return "http";
  42920. if (t1 === 5 && B.JSString_methods.startsWith$1(_this._uri, "https"))
  42921. return "https";
  42922. if (t2 && B.JSString_methods.startsWith$1(_this._uri, "file"))
  42923. return "file";
  42924. if (t1 === 7 && B.JSString_methods.startsWith$1(_this._uri, "package"))
  42925. return "package";
  42926. return B.JSString_methods.substring$2(_this._uri, 0, t1);
  42927. },
  42928. get$userInfo() {
  42929. var t1 = this._hostStart,
  42930. t2 = this._schemeEnd + 3;
  42931. return t1 > t2 ? B.JSString_methods.substring$2(this._uri, t2, t1 - 1) : "";
  42932. },
  42933. get$host() {
  42934. var t1 = this._hostStart;
  42935. return t1 > 0 ? B.JSString_methods.substring$2(this._uri, t1, this._portStart) : "";
  42936. },
  42937. get$port(_) {
  42938. var t1, _this = this;
  42939. if (_this.get$hasPort())
  42940. return A.int_parse(B.JSString_methods.substring$2(_this._uri, _this._portStart + 1, _this._pathStart), null);
  42941. t1 = _this._schemeEnd;
  42942. if (t1 === 4 && B.JSString_methods.startsWith$1(_this._uri, "http"))
  42943. return 80;
  42944. if (t1 === 5 && B.JSString_methods.startsWith$1(_this._uri, "https"))
  42945. return 443;
  42946. return 0;
  42947. },
  42948. get$path(_) {
  42949. return B.JSString_methods.substring$2(this._uri, this._pathStart, this._queryStart);
  42950. },
  42951. get$query() {
  42952. var t1 = this._queryStart,
  42953. t2 = this._fragmentStart;
  42954. return t1 < t2 ? B.JSString_methods.substring$2(this._uri, t1 + 1, t2) : "";
  42955. },
  42956. get$fragment() {
  42957. var t1 = this._fragmentStart,
  42958. t2 = this._uri;
  42959. return t1 < t2.length ? B.JSString_methods.substring$1(t2, t1 + 1) : "";
  42960. },
  42961. get$pathSegments() {
  42962. var parts, i,
  42963. start = this._pathStart,
  42964. end = this._queryStart,
  42965. t1 = this._uri;
  42966. if (B.JSString_methods.startsWith$2(t1, "/", start))
  42967. ++start;
  42968. if (start === end)
  42969. return B.List_empty;
  42970. parts = A._setArrayType([], type$.JSArray_String);
  42971. for (i = start; i < end; ++i)
  42972. if (t1.charCodeAt(i) === 47) {
  42973. parts.push(B.JSString_methods.substring$2(t1, start, i));
  42974. start = i + 1;
  42975. }
  42976. parts.push(B.JSString_methods.substring$2(t1, start, end));
  42977. return A.List_List$unmodifiable(parts, type$.String);
  42978. },
  42979. _isPort$1(port) {
  42980. var portDigitStart = this._portStart + 1;
  42981. return portDigitStart + port.length === this._pathStart && B.JSString_methods.startsWith$2(this._uri, port, portDigitStart);
  42982. },
  42983. removeFragment$0() {
  42984. var _this = this,
  42985. t1 = _this._fragmentStart,
  42986. t2 = _this._uri;
  42987. if (t1 >= t2.length)
  42988. return _this;
  42989. 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);
  42990. },
  42991. replace$1$scheme(scheme) {
  42992. var schemeChanged, isFile, t1, userInfo, port, host, t2, path, t3, query, fragment, _this = this, _null = null;
  42993. scheme = A._Uri__makeScheme(scheme, 0, scheme.length);
  42994. schemeChanged = !(_this._schemeEnd === scheme.length && B.JSString_methods.startsWith$1(_this._uri, scheme));
  42995. isFile = scheme === "file";
  42996. t1 = _this._hostStart;
  42997. userInfo = t1 > 0 ? B.JSString_methods.substring$2(_this._uri, _this._schemeEnd + 3, t1) : "";
  42998. port = _this.get$hasPort() ? _this.get$port(0) : _null;
  42999. if (schemeChanged)
  43000. port = A._Uri__makePort(port, scheme);
  43001. t1 = _this._hostStart;
  43002. if (t1 > 0)
  43003. host = B.JSString_methods.substring$2(_this._uri, t1, _this._portStart);
  43004. else
  43005. host = userInfo.length !== 0 || port != null || isFile ? "" : _null;
  43006. t1 = _this._uri;
  43007. t2 = _this._queryStart;
  43008. path = B.JSString_methods.substring$2(t1, _this._pathStart, t2);
  43009. if (!isFile)
  43010. t3 = host != null && path.length !== 0;
  43011. else
  43012. t3 = true;
  43013. if (t3 && !B.JSString_methods.startsWith$1(path, "/"))
  43014. path = "/" + path;
  43015. t3 = _this._fragmentStart;
  43016. query = t2 < t3 ? B.JSString_methods.substring$2(t1, t2 + 1, t3) : _null;
  43017. t2 = _this._fragmentStart;
  43018. fragment = t2 < t1.length ? B.JSString_methods.substring$1(t1, t2 + 1) : _null;
  43019. return A._Uri$_internal(scheme, userInfo, host, port, path, query, fragment);
  43020. },
  43021. resolve$1(_, reference) {
  43022. return this.resolveUri$1(A.Uri_parse(reference));
  43023. },
  43024. resolveUri$1(reference) {
  43025. if (reference instanceof A._SimpleUri)
  43026. return this._simpleMerge$2(this, reference);
  43027. return this._toNonSimple$0().resolveUri$1(reference);
  43028. },
  43029. _simpleMerge$2(base, ref) {
  43030. var t2, t3, t4, isSimple, delta, refStart, basePathStart, packageNameEnd, basePathStart0, baseStart, baseEnd, baseUri, baseStart0, backCount, refStart0, insert,
  43031. t1 = ref._schemeEnd;
  43032. if (t1 > 0)
  43033. return ref;
  43034. t2 = ref._hostStart;
  43035. if (t2 > 0) {
  43036. t3 = base._schemeEnd;
  43037. if (t3 <= 0)
  43038. return ref;
  43039. t4 = t3 === 4;
  43040. if (t4 && B.JSString_methods.startsWith$1(base._uri, "file"))
  43041. isSimple = ref._pathStart !== ref._queryStart;
  43042. else if (t4 && B.JSString_methods.startsWith$1(base._uri, "http"))
  43043. isSimple = !ref._isPort$1("80");
  43044. else
  43045. isSimple = !(t3 === 5 && B.JSString_methods.startsWith$1(base._uri, "https")) || !ref._isPort$1("443");
  43046. if (isSimple) {
  43047. delta = t3 + 1;
  43048. 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);
  43049. } else
  43050. return this._toNonSimple$0().resolveUri$1(ref);
  43051. }
  43052. refStart = ref._pathStart;
  43053. t1 = ref._queryStart;
  43054. if (refStart === t1) {
  43055. t2 = ref._fragmentStart;
  43056. if (t1 < t2) {
  43057. t3 = base._queryStart;
  43058. delta = t3 - t1;
  43059. 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);
  43060. }
  43061. t1 = ref._uri;
  43062. if (t2 < t1.length) {
  43063. t3 = base._fragmentStart;
  43064. 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);
  43065. }
  43066. return base.removeFragment$0();
  43067. }
  43068. t2 = ref._uri;
  43069. if (B.JSString_methods.startsWith$2(t2, "/", refStart)) {
  43070. basePathStart = base._pathStart;
  43071. packageNameEnd = A._SimpleUri__packageNameEnd(this);
  43072. basePathStart0 = packageNameEnd > 0 ? packageNameEnd : basePathStart;
  43073. delta = basePathStart0 - refStart;
  43074. 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);
  43075. }
  43076. baseStart = base._pathStart;
  43077. baseEnd = base._queryStart;
  43078. if (baseStart === baseEnd && base._hostStart > 0) {
  43079. for (; B.JSString_methods.startsWith$2(t2, "../", refStart);)
  43080. refStart += 3;
  43081. delta = baseStart - refStart + 1;
  43082. 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);
  43083. }
  43084. baseUri = base._uri;
  43085. packageNameEnd = A._SimpleUri__packageNameEnd(this);
  43086. if (packageNameEnd >= 0)
  43087. baseStart0 = packageNameEnd;
  43088. else
  43089. for (baseStart0 = baseStart; B.JSString_methods.startsWith$2(baseUri, "../", baseStart0);)
  43090. baseStart0 += 3;
  43091. backCount = 0;
  43092. while (true) {
  43093. refStart0 = refStart + 3;
  43094. if (!(refStart0 <= t1 && B.JSString_methods.startsWith$2(t2, "../", refStart)))
  43095. break;
  43096. ++backCount;
  43097. refStart = refStart0;
  43098. }
  43099. for (insert = ""; baseEnd > baseStart0;) {
  43100. --baseEnd;
  43101. if (baseUri.charCodeAt(baseEnd) === 47) {
  43102. if (backCount === 0) {
  43103. insert = "/";
  43104. break;
  43105. }
  43106. --backCount;
  43107. insert = "/";
  43108. }
  43109. }
  43110. if (baseEnd === baseStart0 && base._schemeEnd <= 0 && !B.JSString_methods.startsWith$2(baseUri, "/", baseStart)) {
  43111. refStart -= backCount * 3;
  43112. insert = "";
  43113. }
  43114. delta = baseEnd - refStart + insert.length;
  43115. 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);
  43116. },
  43117. toFilePath$0() {
  43118. var t2, t3, _this = this,
  43119. t1 = _this._schemeEnd;
  43120. if (t1 >= 0) {
  43121. t2 = !(t1 === 4 && B.JSString_methods.startsWith$1(_this._uri, "file"));
  43122. t1 = t2;
  43123. } else
  43124. t1 = false;
  43125. if (t1)
  43126. throw A.wrapException(A.UnsupportedError$("Cannot extract a file path from a " + _this.get$scheme() + " URI"));
  43127. t1 = _this._queryStart;
  43128. t2 = _this._uri;
  43129. if (t1 < t2.length) {
  43130. if (t1 < _this._fragmentStart)
  43131. throw A.wrapException(A.UnsupportedError$(string$.Cannotfq));
  43132. throw A.wrapException(A.UnsupportedError$(string$.Cannotff));
  43133. }
  43134. t3 = $.$get$_Uri__isWindowsCached();
  43135. if (t3)
  43136. t1 = A._Uri__toWindowsFilePath(_this);
  43137. else {
  43138. if (_this._hostStart < _this._portStart)
  43139. A.throwExpression(A.UnsupportedError$(string$.Cannotn));
  43140. t1 = B.JSString_methods.substring$2(t2, _this._pathStart, t1);
  43141. }
  43142. return t1;
  43143. },
  43144. get$hashCode(_) {
  43145. var t1 = this._hashCodeCache;
  43146. return t1 == null ? this._hashCodeCache = B.JSString_methods.get$hashCode(this._uri) : t1;
  43147. },
  43148. $eq(_, other) {
  43149. if (other == null)
  43150. return false;
  43151. if (this === other)
  43152. return true;
  43153. return type$.Uri._is(other) && this._uri === other.toString$0(0);
  43154. },
  43155. _toNonSimple$0() {
  43156. var _this = this, _null = null,
  43157. t1 = _this.get$scheme(),
  43158. t2 = _this.get$userInfo(),
  43159. t3 = _this._hostStart > 0 ? _this.get$host() : _null,
  43160. t4 = _this.get$hasPort() ? _this.get$port(0) : _null,
  43161. t5 = _this._uri,
  43162. t6 = _this._queryStart,
  43163. t7 = B.JSString_methods.substring$2(t5, _this._pathStart, t6),
  43164. t8 = _this._fragmentStart;
  43165. t6 = t6 < t8 ? _this.get$query() : _null;
  43166. return A._Uri$_internal(t1, t2, t3, t4, t7, t6, t8 < t5.length ? _this.get$fragment() : _null);
  43167. },
  43168. toString$0(_) {
  43169. return this._uri;
  43170. },
  43171. $isUri: 1,
  43172. $is_PlatformUri: 1
  43173. };
  43174. A._DataUri.prototype = {};
  43175. A.Expando.prototype = {
  43176. $indexSet(_, object, value) {
  43177. if (object instanceof A._Record)
  43178. A.Expando__badExpandoKey(object);
  43179. this._jsWeakMap.set(object, value);
  43180. },
  43181. toString$0(_) {
  43182. return "Expando:null";
  43183. }
  43184. };
  43185. A.jsify__convert.prototype = {
  43186. call$1(o) {
  43187. var t1, convertedMap, key, convertedList;
  43188. if (A._noJsifyRequired(o))
  43189. return o;
  43190. t1 = this._convertedObjects;
  43191. if (t1.containsKey$1(o))
  43192. return t1.$index(0, o);
  43193. if (type$.Map_dynamic_dynamic._is(o)) {
  43194. convertedMap = {};
  43195. t1.$indexSet(0, o, convertedMap);
  43196. for (t1 = J.get$iterator$ax(o.get$keys(o)); t1.moveNext$0();) {
  43197. key = t1.get$current(t1);
  43198. convertedMap[key] = this.call$1(o.$index(0, key));
  43199. }
  43200. return convertedMap;
  43201. } else if (type$.Iterable_dynamic._is(o)) {
  43202. convertedList = [];
  43203. t1.$indexSet(0, o, convertedList);
  43204. B.JSArray_methods.addAll$1(convertedList, J.map$1$1$ax(o, this, type$.dynamic));
  43205. return convertedList;
  43206. } else
  43207. return o;
  43208. },
  43209. $signature: 335
  43210. };
  43211. A.promiseToFuture_closure.prototype = {
  43212. call$1(r) {
  43213. return this.completer.complete$1(r);
  43214. },
  43215. $signature: 71
  43216. };
  43217. A.promiseToFuture_closure0.prototype = {
  43218. call$1(e) {
  43219. if (e == null)
  43220. return this.completer.completeError$1(new A.NullRejectionException(e === undefined));
  43221. return this.completer.completeError$1(e);
  43222. },
  43223. $signature: 71
  43224. };
  43225. A.NullRejectionException.prototype = {
  43226. toString$0(_) {
  43227. return "Promise was rejected with a value of `" + (this.isUndefined ? "undefined" : "null") + "`.";
  43228. },
  43229. $isException: 1
  43230. };
  43231. A._JSRandom.prototype = {
  43232. nextInt$1(max) {
  43233. if (max <= 0 || max > 4294967296)
  43234. throw A.wrapException(A.RangeError$("max must be in range 0 < max \u2264 2^32, was " + max));
  43235. return Math.random() * max >>> 0;
  43236. },
  43237. nextDouble$0() {
  43238. return Math.random();
  43239. }
  43240. };
  43241. A.ArgParser.prototype = {
  43242. addFlag$6$abbr$defaultsTo$help$hide$negatable($name, abbr, defaultsTo, help, hide, negatable) {
  43243. var _null = null;
  43244. this._addOption$13$aliases$hide$hideNegatedUsage$negatable($name, abbr, help, _null, _null, _null, defaultsTo, _null, B.OptionType_tI9, B.List_empty, hide, false, negatable);
  43245. },
  43246. addFlag$2$hide($name, hide) {
  43247. return this.addFlag$6$abbr$defaultsTo$help$hide$negatable($name, null, false, null, hide, true);
  43248. },
  43249. addFlag$2$help($name, help) {
  43250. return this.addFlag$6$abbr$defaultsTo$help$hide$negatable($name, null, false, help, false, true);
  43251. },
  43252. addFlag$3$defaultsTo$help($name, defaultsTo, help) {
  43253. return this.addFlag$6$abbr$defaultsTo$help$hide$negatable($name, null, defaultsTo, help, false, true);
  43254. },
  43255. addFlag$3$help$negatable($name, help, negatable) {
  43256. return this.addFlag$6$abbr$defaultsTo$help$hide$negatable($name, null, false, help, false, negatable);
  43257. },
  43258. addFlag$3$abbr$help($name, abbr, help) {
  43259. return this.addFlag$6$abbr$defaultsTo$help$hide$negatable($name, abbr, false, help, false, true);
  43260. },
  43261. addFlag$4$abbr$help$negatable($name, abbr, help, negatable) {
  43262. return this.addFlag$6$abbr$defaultsTo$help$hide$negatable($name, abbr, false, help, false, negatable);
  43263. },
  43264. addOption$7$abbr$allowed$defaultsTo$help$hide$valueHelp($name, abbr, allowed, defaultsTo, help, hide, valueHelp) {
  43265. this._addOption$12$aliases$hide$mandatory($name, abbr, help, valueHelp, allowed, null, defaultsTo, null, B.OptionType_zZK, B.List_empty, hide, false);
  43266. },
  43267. addOption$2$hide($name, hide) {
  43268. var _null = null;
  43269. return this.addOption$7$abbr$allowed$defaultsTo$help$hide$valueHelp($name, _null, _null, _null, _null, hide, _null);
  43270. },
  43271. addOption$6$abbr$allowed$defaultsTo$help$valueHelp($name, abbr, allowed, defaultsTo, help, valueHelp) {
  43272. return this.addOption$7$abbr$allowed$defaultsTo$help$hide$valueHelp($name, abbr, allowed, defaultsTo, help, false, valueHelp);
  43273. },
  43274. addOption$4$allowed$defaultsTo$help($name, allowed, defaultsTo, help) {
  43275. return this.addOption$7$abbr$allowed$defaultsTo$help$hide$valueHelp($name, null, allowed, defaultsTo, help, false, null);
  43276. },
  43277. addMultiOption$7$abbr$allowed$allowedHelp$help$splitCommas$valueHelp($name, abbr, allowed, allowedHelp, help, splitCommas, valueHelp) {
  43278. var t1 = A._setArrayType([], type$.JSArray_String);
  43279. this._addOption$12$aliases$hide$splitCommas($name, abbr, help, valueHelp, allowed, allowedHelp, t1, null, B.OptionType_1Ol, B.List_empty, false, splitCommas);
  43280. },
  43281. addMultiOption$5$abbr$help$splitCommas$valueHelp($name, abbr, help, splitCommas, valueHelp) {
  43282. return this.addMultiOption$7$abbr$allowed$allowedHelp$help$splitCommas$valueHelp($name, abbr, null, null, help, splitCommas, valueHelp);
  43283. },
  43284. addMultiOption$6$abbr$allowed$allowedHelp$help$valueHelp($name, abbr, allowed, allowedHelp, help, valueHelp) {
  43285. return this.addMultiOption$7$abbr$allowed$allowedHelp$help$splitCommas$valueHelp($name, abbr, allowed, allowedHelp, help, true, valueHelp);
  43286. },
  43287. addMultiOption$2$help($name, help) {
  43288. var _null = null;
  43289. return this.addMultiOption$7$abbr$allowed$allowedHelp$help$splitCommas$valueHelp($name, _null, _null, _null, help, true, _null);
  43290. },
  43291. _addOption$15$aliases$hide$hideNegatedUsage$mandatory$negatable$splitCommas($name, abbr, help, valueHelp, allowed, allowedHelp, defaultsTo, callback, type, aliases, hide, hideNegatedUsage, mandatory, negatable, splitCommas) {
  43292. var existing, t2, t3, option, _i, _this = this, _null = null,
  43293. t1 = A._setArrayType([$name], type$.JSArray_String);
  43294. B.JSArray_methods.addAll$1(t1, aliases);
  43295. if (B.JSArray_methods.any$1(t1, new A.ArgParser__addOption_closure(_this)))
  43296. throw A.wrapException(A.ArgumentError$('Duplicate option or alias "' + $name + '".', _null));
  43297. t1 = abbr != null;
  43298. if (t1) {
  43299. existing = _this.findByAbbreviation$1(abbr);
  43300. if (existing != null)
  43301. throw A.wrapException(A.ArgumentError$('Abbreviation "' + abbr + '" is already used by "' + existing.name + '".', _null));
  43302. }
  43303. t2 = allowed == null ? _null : A.List_List$unmodifiable(allowed, type$.String);
  43304. if (allowedHelp == null)
  43305. t3 = _null;
  43306. else {
  43307. t3 = type$.String;
  43308. t3 = A.ConstantMap_ConstantMap$from(allowedHelp, t3, t3);
  43309. }
  43310. option = new A.Option($name, abbr, help, valueHelp, t2, t3, defaultsTo, negatable, false, callback, type, splitCommas == null ? type === B.OptionType_1Ol : splitCommas, false, hide);
  43311. if ($name.length === 0)
  43312. A.throwExpression(A.ArgumentError$("Name cannot be empty.", _null));
  43313. else if (B.JSString_methods.startsWith$1($name, "-"))
  43314. A.throwExpression(A.ArgumentError$("Name " + $name + ' cannot start with "-".', _null));
  43315. t2 = $.$get$Option__invalidChars()._nativeRegExp;
  43316. if (t2.test($name))
  43317. A.throwExpression(A.ArgumentError$('Name "' + $name + '" contains invalid characters.', _null));
  43318. if (t1) {
  43319. if (abbr.length !== 1)
  43320. A.throwExpression(A.ArgumentError$("Abbreviation must be null or have length 1.", _null));
  43321. else if (abbr === "-")
  43322. A.throwExpression(A.ArgumentError$('Abbreviation cannot be "-".', _null));
  43323. if (t2.test(abbr))
  43324. A.throwExpression(A.ArgumentError$("Abbreviation is an invalid character.", _null));
  43325. }
  43326. _this._arg_parser$_options.$indexSet(0, $name, option);
  43327. _this._optionsAndSeparators.push(option);
  43328. for (t1 = _this._aliases, _i = 0; false; ++_i)
  43329. t1.$indexSet(0, aliases[_i], $name);
  43330. },
  43331. _addOption$12$aliases$hide$splitCommas($name, abbr, help, valueHelp, allowed, allowedHelp, defaultsTo, callback, type, aliases, hide, splitCommas) {
  43332. return this._addOption$15$aliases$hide$hideNegatedUsage$mandatory$negatable$splitCommas($name, abbr, help, valueHelp, allowed, allowedHelp, defaultsTo, callback, type, aliases, hide, false, false, false, splitCommas);
  43333. },
  43334. _addOption$12$aliases$hide$mandatory($name, abbr, help, valueHelp, allowed, allowedHelp, defaultsTo, callback, type, aliases, hide, mandatory) {
  43335. return this._addOption$15$aliases$hide$hideNegatedUsage$mandatory$negatable$splitCommas($name, abbr, help, valueHelp, allowed, allowedHelp, defaultsTo, callback, type, aliases, hide, false, mandatory, false, null);
  43336. },
  43337. _addOption$13$aliases$hide$hideNegatedUsage$negatable($name, abbr, help, valueHelp, allowed, allowedHelp, defaultsTo, callback, type, aliases, hide, hideNegatedUsage, negatable) {
  43338. return this._addOption$15$aliases$hide$hideNegatedUsage$mandatory$negatable$splitCommas($name, abbr, help, valueHelp, allowed, allowedHelp, defaultsTo, callback, type, aliases, hide, hideNegatedUsage, false, negatable, null);
  43339. },
  43340. findByAbbreviation$1(abbr) {
  43341. var t1, t2;
  43342. for (t1 = this.options._map, t1 = t1.get$values(t1), t1 = t1.get$iterator(t1); t1.moveNext$0();) {
  43343. t2 = t1.get$current(t1);
  43344. if (t2.abbr === abbr)
  43345. return t2;
  43346. }
  43347. return null;
  43348. },
  43349. findByNameOrAlias$1($name) {
  43350. var t1 = this._aliases.$index(0, $name);
  43351. if (t1 == null)
  43352. t1 = $name;
  43353. return this.options._map.$index(0, t1);
  43354. }
  43355. };
  43356. A.ArgParser__addOption_closure.prototype = {
  43357. call$1($name) {
  43358. return this.$this.findByNameOrAlias$1($name) != null;
  43359. },
  43360. $signature: 5
  43361. };
  43362. A.ArgParserException.prototype = {};
  43363. A.ArgResults.prototype = {
  43364. $index(_, $name) {
  43365. var t1 = this._parser.options._map;
  43366. if (!t1.containsKey$1($name))
  43367. throw A.wrapException(A.ArgumentError$('Could not find an option named "--' + $name + '".', null));
  43368. t1 = t1.$index(0, $name);
  43369. t1.toString;
  43370. return t1.valueOrDefault$1(this._parsed.$index(0, $name));
  43371. },
  43372. wasParsed$1($name) {
  43373. if (!this._parser.options._map.containsKey$1($name))
  43374. throw A.wrapException(A.ArgumentError$('Could not find an option named "--' + $name + '".', null));
  43375. return this._parsed.containsKey$1($name);
  43376. }
  43377. };
  43378. A.Option.prototype = {
  43379. valueOrDefault$1(value) {
  43380. var t1;
  43381. if (value != null)
  43382. return value;
  43383. if (this.type === B.OptionType_1Ol) {
  43384. t1 = this.defaultsTo;
  43385. return t1 == null ? A._setArrayType([], type$.JSArray_String) : t1;
  43386. }
  43387. return this.defaultsTo;
  43388. }
  43389. };
  43390. A.OptionType.prototype = {};
  43391. A.Parser0.prototype = {
  43392. parse$0(_) {
  43393. var commandResults, commandName, commandParser, error, t1, t3, t4, t5, t6, t7, t8, command, exception, _this = this,
  43394. t2 = _this._args;
  43395. t2.toList$0(0);
  43396. commandResults = null;
  43397. for (t3 = _this._parser$_rest, t4 = _this._grammar, t5 = t4.commands, t6 = t2.$ti._precomputed1; !t2.get$isEmpty(0);) {
  43398. t7 = t2._head;
  43399. if (t7 === t2._tail)
  43400. A.throwExpression(A.IterableElementError_noElement());
  43401. t7 = t2._table[t7];
  43402. t8 = t7 == null;
  43403. if ((t8 ? t6._as(t7) : t7) === "--") {
  43404. t2.removeFirst$0();
  43405. break;
  43406. }
  43407. if (t8)
  43408. t7 = t6._as(t7);
  43409. command = t5._map.$index(0, t7);
  43410. if (command != null) {
  43411. t5 = t3.length;
  43412. t7 = t2._head;
  43413. if (t7 === t2._tail)
  43414. A.throwExpression(A.IterableElementError_noElement());
  43415. t7 = t2._table[t7];
  43416. t6 = t7 == null ? t6._as(t7) : t7;
  43417. if (t5 !== 0)
  43418. A.throwExpression(A.ArgParserException$("Cannot specify arguments before a command.", null, t6, null, null));
  43419. commandName = t2.removeFirst$0();
  43420. t5 = type$.JSArray_String;
  43421. t6 = A._setArrayType([], t5);
  43422. B.JSArray_methods.addAll$1(t6, t3);
  43423. commandParser = new A.Parser0(commandName, _this, command, t2, t6, A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.dynamic));
  43424. try {
  43425. commandResults = J.parse$0$z(commandParser);
  43426. } catch (exception) {
  43427. t2 = A.unwrapException(exception);
  43428. if (t2 instanceof A.ArgParserException) {
  43429. error = t2;
  43430. t2 = error.message;
  43431. t1 = A._setArrayType([commandName], t5);
  43432. J.addAll$1$ax(t1, error.commands);
  43433. throw A.wrapException(A.ArgParserException$(t2, t1, error.argumentName, error.source, error.offset));
  43434. } else
  43435. throw exception;
  43436. }
  43437. B.JSArray_methods.clear$0(t3);
  43438. break;
  43439. }
  43440. if (_this._parseSoloOption$0())
  43441. continue;
  43442. if (_this._parseAbbreviation$1(_this))
  43443. continue;
  43444. if (_this._parseLongOption$0())
  43445. continue;
  43446. t3.push(t2.removeFirst$0());
  43447. }
  43448. t4.options._map.forEach$1(0, new A.Parser_parse_closure(_this));
  43449. B.JSArray_methods.addAll$1(t3, t2);
  43450. t2.clear$0(0);
  43451. return new A.ArgResults(t4, _this._results, _this._commandName, new A.UnmodifiableListView(t3, type$.UnmodifiableListView_String));
  43452. },
  43453. _readNextArgAsValue$2(option, arg) {
  43454. var _this = this,
  43455. t1 = _this._args;
  43456. _this._validate$3(!t1.get$isEmpty(0), 'Missing argument for "' + arg + '".', arg);
  43457. _this._setOption$4(_this._results, option, t1.get$first(0), arg);
  43458. t1.removeFirst$0();
  43459. },
  43460. _parseSoloOption$0() {
  43461. var opt,
  43462. t1 = this._args;
  43463. if (t1.get$first(0).length !== 2)
  43464. return false;
  43465. if (!B.JSString_methods.startsWith$1(t1.get$first(0), "-"))
  43466. return false;
  43467. opt = t1.get$first(0)[1];
  43468. if (!A._isLetterOrDigit(opt.charCodeAt(0)))
  43469. return false;
  43470. this._handleSoloOption$1(opt);
  43471. return true;
  43472. },
  43473. _handleSoloOption$1(opt) {
  43474. var t1, _this = this,
  43475. option = _this._grammar.findByAbbreviation$1(opt);
  43476. if (option == null) {
  43477. t1 = _this._parser$_parent;
  43478. _this._validate$3(t1 != null, 'Could not find an option or flag "-' + opt + '".', "-" + opt);
  43479. t1._handleSoloOption$1(opt);
  43480. return true;
  43481. }
  43482. _this._args.removeFirst$0();
  43483. if (option.type === B.OptionType_tI9)
  43484. _this._results.$indexSet(0, option.name, true);
  43485. else
  43486. _this._readNextArgAsValue$2(option, "-" + opt);
  43487. return true;
  43488. },
  43489. _parseAbbreviation$1(innermostCommand) {
  43490. var t2, index, t3, t4, t5, lettersAndDigits, rest,
  43491. t1 = this._args;
  43492. if (t1.get$first(0).length < 2)
  43493. return false;
  43494. if (!B.JSString_methods.startsWith$1(t1.get$first(0), "-"))
  43495. return false;
  43496. t2 = t1.$ti._precomputed1;
  43497. index = 1;
  43498. while (true) {
  43499. t3 = t1._head;
  43500. if (t3 === t1._tail)
  43501. A.throwExpression(A.IterableElementError_noElement());
  43502. t3 = t1._table[t3];
  43503. t4 = t3 == null;
  43504. if (index < (t4 ? t2._as(t3) : t3).length) {
  43505. t5 = true;
  43506. t3 = (t4 ? t2._as(t3) : t3).charCodeAt(index);
  43507. if (!(t3 >= 65 && t3 <= 90))
  43508. if (!(t3 >= 97 && t3 <= 122))
  43509. t3 = t3 >= 48 && t3 <= 57;
  43510. else
  43511. t3 = t5;
  43512. else
  43513. t3 = t5;
  43514. } else
  43515. t3 = false;
  43516. if (!t3)
  43517. break;
  43518. ++index;
  43519. }
  43520. if (index === 1)
  43521. return false;
  43522. lettersAndDigits = B.JSString_methods.substring$2(t1.get$first(0), 1, index);
  43523. rest = B.JSString_methods.substring$1(t1.get$first(0), index);
  43524. if (B.JSString_methods.contains$1(rest, "\n") || B.JSString_methods.contains$1(rest, "\r"))
  43525. return false;
  43526. this._handleAbbreviation$3(lettersAndDigits, rest, innermostCommand);
  43527. return true;
  43528. },
  43529. _handleAbbreviation$3(lettersAndDigits, rest, innermostCommand) {
  43530. var t1, i, i0, _this = this,
  43531. c = B.JSString_methods.substring$2(lettersAndDigits, 0, 1),
  43532. first = _this._grammar.findByAbbreviation$1(c);
  43533. if (first == null) {
  43534. t1 = _this._parser$_parent;
  43535. _this._validate$3(t1 != null, string$.Could_ + c + '".', "-" + c);
  43536. t1._handleAbbreviation$3(lettersAndDigits, rest, innermostCommand);
  43537. return true;
  43538. } else {
  43539. t1 = "-" + c;
  43540. if (first.type !== B.OptionType_tI9)
  43541. _this._setOption$4(_this._results, first, B.JSString_methods.substring$1(lettersAndDigits, 1) + rest, t1);
  43542. else {
  43543. _this._validate$3(rest === "", 'Option "-' + c + '" is a flag and cannot handle value "' + B.JSString_methods.substring$1(lettersAndDigits, 1) + rest + '".', t1);
  43544. for (t1 = lettersAndDigits.length, i = 0; i < t1; i = i0) {
  43545. i0 = i + 1;
  43546. innermostCommand._parseShortFlag$1(B.JSString_methods.substring$2(lettersAndDigits, i, i0));
  43547. }
  43548. }
  43549. }
  43550. _this._args.removeFirst$0();
  43551. return true;
  43552. },
  43553. _parseShortFlag$1(c) {
  43554. var t1, _this = this,
  43555. option = _this._grammar.findByAbbreviation$1(c);
  43556. if (option == null) {
  43557. t1 = _this._parser$_parent;
  43558. _this._validate$3(t1 != null, string$.Could_ + c + '".', "-" + c);
  43559. t1._parseShortFlag$1(c);
  43560. return;
  43561. }
  43562. _this._validate$3(option.type === B.OptionType_tI9, 'Option "-' + c + '" must be a flag to be in a collapsed "-".', "-" + c);
  43563. _this._results.$indexSet(0, option.name, true);
  43564. },
  43565. _parseLongOption$0() {
  43566. var index, t2, $name, t3, i, t4, t5, value,
  43567. t1 = this._args;
  43568. if (!B.JSString_methods.startsWith$1(t1.get$first(0), "--"))
  43569. return false;
  43570. index = B.JSString_methods.indexOf$1(t1.get$first(0), "=");
  43571. t2 = index === -1;
  43572. $name = t2 ? B.JSString_methods.substring$1(t1.get$first(0), 2) : B.JSString_methods.substring$2(t1.get$first(0), 2, index);
  43573. for (t3 = $name.length, i = 0; i !== t3; ++i) {
  43574. t4 = $name.charCodeAt(i);
  43575. t5 = true;
  43576. if (!(t4 >= 65 && t4 <= 90))
  43577. if (!(t4 >= 97 && t4 <= 122))
  43578. t5 = t4 >= 48 && t4 <= 57;
  43579. if (!(t5 || t4 === 45 || t4 === 95))
  43580. return false;
  43581. }
  43582. value = t2 ? null : B.JSString_methods.substring$1(t1.get$first(0), index + 1);
  43583. if (value != null)
  43584. t1 = B.JSString_methods.contains$1(value, "\n") || B.JSString_methods.contains$1(value, "\r");
  43585. else
  43586. t1 = false;
  43587. if (t1)
  43588. return false;
  43589. this._handleLongOption$2($name, value);
  43590. return true;
  43591. },
  43592. _handleLongOption$2($name, value) {
  43593. var _this = this,
  43594. _s34_ = 'Could not find an option named "--',
  43595. t1 = _this._grammar,
  43596. option = t1.findByNameOrAlias$1($name);
  43597. if (option != null) {
  43598. _this._args.removeFirst$0();
  43599. if (option.type === B.OptionType_tI9) {
  43600. _this._validate$3(value == null, 'Flag option "--' + $name + '" should not be given a value.', "--" + $name);
  43601. _this._results.$indexSet(0, option.name, true);
  43602. } else {
  43603. t1 = "--" + $name;
  43604. if (value != null)
  43605. _this._setOption$4(_this._results, option, value, t1);
  43606. else
  43607. _this._readNextArgAsValue$2(option, t1);
  43608. }
  43609. } else if (B.JSString_methods.startsWith$1($name, "no-")) {
  43610. option = t1.findByNameOrAlias$1(B.JSString_methods.substring$1($name, 3));
  43611. if (option == null) {
  43612. t1 = _this._parser$_parent;
  43613. _this._validate$3(t1 != null, _s34_ + $name + '".', "--" + $name);
  43614. t1._handleLongOption$2($name, value);
  43615. return true;
  43616. }
  43617. _this._args.removeFirst$0();
  43618. t1 = "--" + $name;
  43619. _this._validate$3(option.type === B.OptionType_tI9, 'Cannot negate non-flag option "--' + $name + '".', t1);
  43620. _this._validate$3(option.negatable, 'Cannot negate option "--' + $name + '".', t1);
  43621. _this._results.$indexSet(0, option.name, false);
  43622. } else {
  43623. t1 = _this._parser$_parent;
  43624. _this._validate$3(t1 != null, _s34_ + $name + '".', "--" + $name);
  43625. t1._handleLongOption$2($name, value);
  43626. return true;
  43627. }
  43628. return true;
  43629. },
  43630. _validate$3(condition, message, args) {
  43631. if (!condition)
  43632. throw A.wrapException(A.ArgParserException$(message, null, args, null, null));
  43633. },
  43634. _setOption$4(results, option, value, arg) {
  43635. var list, t1, t2, t3, _i, element;
  43636. if (option.type !== B.OptionType_1Ol) {
  43637. this._validateAllowed$3(option, value, arg);
  43638. results.$indexSet(0, option.name, value);
  43639. return;
  43640. }
  43641. list = type$.List_dynamic._as(results.putIfAbsent$2(option.name, new A.Parser__setOption_closure()));
  43642. if (option.splitCommas)
  43643. for (t1 = value.split(","), t2 = t1.length, t3 = J.getInterceptor$ax(list), _i = 0; _i < t2; ++_i) {
  43644. element = t1[_i];
  43645. this._validateAllowed$3(option, element, arg);
  43646. t3.add$1(list, element);
  43647. }
  43648. else {
  43649. this._validateAllowed$3(option, value, arg);
  43650. J.add$1$ax(list, value);
  43651. }
  43652. },
  43653. _validateAllowed$3(option, value, arg) {
  43654. var t1 = option.allowed;
  43655. if (t1 == null)
  43656. return;
  43657. this._validate$3(B.JSArray_methods.contains$1(t1, value), '"' + value + '" is not an allowed value for option "' + arg + '".', arg);
  43658. }
  43659. };
  43660. A.Parser_parse_closure.prototype = {
  43661. call$2($name, option) {
  43662. var parsedOption = this.$this._results.$index(0, $name),
  43663. callback = option.callback;
  43664. if (callback == null)
  43665. return;
  43666. callback.call$1(option.valueOrDefault$1(parsedOption));
  43667. },
  43668. $signature: 386
  43669. };
  43670. A.Parser__setOption_closure.prototype = {
  43671. call$0() {
  43672. return A._setArrayType([], type$.JSArray_String);
  43673. },
  43674. $signature: 138
  43675. };
  43676. A._Usage.prototype = {
  43677. get$_columnWidths() {
  43678. var result, _this = this,
  43679. value = _this.___Usage__columnWidths_FI;
  43680. if (value === $) {
  43681. result = _this._calculateColumnWidths$0();
  43682. _this.___Usage__columnWidths_FI !== $ && A.throwUnnamedLateFieldADI();
  43683. _this.___Usage__columnWidths_FI = result;
  43684. value = result;
  43685. }
  43686. return value;
  43687. },
  43688. generate$0() {
  43689. var t1, t2, t3, t4, _i, optionOrSeparator, t5, _this = this;
  43690. for (t1 = _this._usage$_optionsAndSeparators, t2 = t1.length, t3 = type$.Option, t4 = _this._usage$_buffer, _i = 0; _i < t1.length; t1.length === t2 || (0, A.throwConcurrentModificationError)(t1), ++_i) {
  43691. optionOrSeparator = t1[_i];
  43692. if (typeof optionOrSeparator == "string") {
  43693. t5 = t4._contents;
  43694. t4._contents = (t5.length !== 0 ? t4._contents = t5 + "\n\n" : t5) + optionOrSeparator;
  43695. _this._newlinesNeeded = 1;
  43696. continue;
  43697. }
  43698. t3._as(optionOrSeparator);
  43699. if (optionOrSeparator.hide)
  43700. continue;
  43701. _this._writeOption$1(optionOrSeparator);
  43702. }
  43703. t1 = t4._contents;
  43704. return t1.charCodeAt(0) == 0 ? t1 : t1;
  43705. },
  43706. _writeOption$1(option) {
  43707. var _0_0, _1_0, t2, t3, t4, $name, $content, _this = this,
  43708. t1 = option.abbr;
  43709. _this._write$2(0, t1 == null ? "" : "-" + t1 + ", ");
  43710. t1 = _this._longOption$1(option);
  43711. _this._write$2(1, t1);
  43712. _0_0 = option.help;
  43713. if (_0_0 != null)
  43714. _this._write$2(2, _0_0);
  43715. _1_0 = option.allowedHelp;
  43716. if (_1_0 != null) {
  43717. _this._newline$0();
  43718. for (t1 = _1_0.get$entries(_1_0), t1 = t1.get$iterator(t1), t2 = option.defaultsTo, t3 = type$.List_dynamic._is(t2); t1.moveNext$0();) {
  43719. t4 = t1.get$current(t1);
  43720. $name = t4.key;
  43721. $content = t4.value;
  43722. t4 = (t3 ? B.JSArray_methods.contains$1(t2, $name) : t2 === $name) ? " (default)" : "";
  43723. _this._write$2(1, " [" + $name + "]" + t4);
  43724. _this._write$2(2, $content);
  43725. }
  43726. _this._newline$0();
  43727. } else if (option.allowed != null)
  43728. _this._write$2(2, _this._buildAllowedList$1(option));
  43729. else {
  43730. t1 = option.type;
  43731. if (t1 === B.OptionType_tI9) {
  43732. if (option.defaultsTo === true)
  43733. _this._write$2(2, "(defaults to on)");
  43734. } else if (t1 === B.OptionType_1Ol) {
  43735. t1 = option.defaultsTo;
  43736. if (t1 != null && type$.Iterable_dynamic._as(t1).length !== 0) {
  43737. type$.List_dynamic._as(t1);
  43738. _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, ", ") + ")");
  43739. }
  43740. } else {
  43741. t1 = option.defaultsTo;
  43742. if (t1 != null)
  43743. _this._write$2(2, '(defaults to "' + A.S(t1) + '")');
  43744. }
  43745. }
  43746. },
  43747. _longOption$1(option) {
  43748. var t1 = option.name,
  43749. result = option.negatable ? "--[no-]" + t1 : "--" + t1;
  43750. t1 = option.valueHelp;
  43751. return t1 != null ? result + ("=<" + t1 + ">") : result;
  43752. },
  43753. _calculateColumnWidths$0() {
  43754. var t1, t2, t3, abbr, title, _i, option, t4, t5, t6, t7, t8;
  43755. 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) {
  43756. option = t1[_i];
  43757. if (!(option instanceof A.Option))
  43758. continue;
  43759. if (option.hide)
  43760. continue;
  43761. t4 = option.abbr;
  43762. abbr = Math.max(abbr, (t4 == null ? "" : "-" + t4 + ", ").length);
  43763. t4 = this._longOption$1(option);
  43764. title = Math.max(title, t4.length);
  43765. t4 = option.allowedHelp;
  43766. if (t4 != null)
  43767. for (t4 = J.get$iterator$ax(t4.get$keys(t4)), t5 = option.defaultsTo, t6 = t3._is(t5); t4.moveNext$0();) {
  43768. t7 = t4.get$current(t4);
  43769. t8 = (t6 ? B.JSArray_methods.contains$1(t5, t7) : t5 === t7) ? " (default)" : "";
  43770. title = Math.max(title, (" [" + t7 + "]" + t8).length);
  43771. }
  43772. }
  43773. return A._setArrayType([abbr, title + 4], type$.JSArray_int);
  43774. },
  43775. _newline$0() {
  43776. ++this._newlinesNeeded;
  43777. this._currentColumn = 0;
  43778. },
  43779. _write$2(column, text) {
  43780. var t1, _i,
  43781. lines = A._setArrayType(text.split("\n"), type$.JSArray_String);
  43782. this.get$_columnWidths();
  43783. while (true) {
  43784. if (!(lines.length !== 0 && J.trim$0$s(B.JSArray_methods.get$first(lines)) === ""))
  43785. break;
  43786. B.JSArray_methods.removeAt$1(lines, 0);
  43787. }
  43788. while (true) {
  43789. if (!(lines.length !== 0 && J.trim$0$s(B.JSArray_methods.get$last(lines)) === ""))
  43790. break;
  43791. lines.pop();
  43792. }
  43793. for (t1 = lines.length, _i = 0; _i < lines.length; lines.length === t1 || (0, A.throwConcurrentModificationError)(lines), ++_i)
  43794. this._writeLine$2(column, lines[_i]);
  43795. },
  43796. _writeLine$2(column, text) {
  43797. var t1, t2, _this = this;
  43798. for (t1 = _this._usage$_buffer; t2 = _this._newlinesNeeded, t2 > 0;) {
  43799. t1._contents += "\n";
  43800. _this._newlinesNeeded = t2 - 1;
  43801. }
  43802. for (; t2 = _this._currentColumn, t2 !== column;) {
  43803. if (t2 < 2) {
  43804. t2 = B.JSString_methods.$mul(" ", _this.get$_columnWidths()[_this._currentColumn]);
  43805. t1._contents += t2;
  43806. } else
  43807. t1._contents += "\n";
  43808. _this._currentColumn = (_this._currentColumn + 1) % 3;
  43809. }
  43810. _this.get$_columnWidths();
  43811. if (column < 2) {
  43812. t2 = B.JSString_methods.padRight$1(text, _this.get$_columnWidths()[column]);
  43813. t1._contents += t2;
  43814. } else
  43815. t1._contents += text;
  43816. _this._currentColumn = (_this._currentColumn + 1) % 3;
  43817. if (column === 2)
  43818. ++_this._newlinesNeeded;
  43819. },
  43820. _buildAllowedList$1(option) {
  43821. var t2, t3, first, _i, allowed,
  43822. t1 = option.defaultsTo,
  43823. isDefault = type$.List_dynamic._is(t1) ? B.JSArray_methods.get$contains(t1) : new A._Usage__buildAllowedList_closure(option);
  43824. t1 = "" + "[";
  43825. for (t2 = option.allowed, t3 = t2.length, first = true, _i = 0; _i < t3; ++_i, first = false) {
  43826. allowed = t2[_i];
  43827. t1 = (!first ? t1 + ", " : t1) + allowed;
  43828. if (isDefault.call$1(allowed))
  43829. t1 += " (default)";
  43830. }
  43831. t1 += "]";
  43832. return t1.charCodeAt(0) == 0 ? t1 : t1;
  43833. }
  43834. };
  43835. A._Usage__writeOption_closure.prototype = {
  43836. call$1(value) {
  43837. return '"' + A.S(value) + '"';
  43838. },
  43839. $signature: 134
  43840. };
  43841. A._Usage__buildAllowedList_closure.prototype = {
  43842. call$1(value) {
  43843. return value === this.option.defaultsTo;
  43844. },
  43845. $signature: 5
  43846. };
  43847. A.FutureGroup.prototype = {
  43848. add$1(_, task) {
  43849. var t1, index, _this = this;
  43850. if (_this._future_group$_closed)
  43851. throw A.wrapException(A.StateError$("The FutureGroup is closed."));
  43852. t1 = _this._future_group$_values;
  43853. index = t1.length;
  43854. t1.push(null);
  43855. ++_this._future_group$_pending;
  43856. task.then$1$1(0, new A.FutureGroup_add_closure(_this, index), type$.Null).catchError$1(new A.FutureGroup_add_closure0(_this));
  43857. },
  43858. close$0(_) {
  43859. var t1, t2, _this = this;
  43860. _this._future_group$_closed = true;
  43861. if (_this._future_group$_pending !== 0)
  43862. return;
  43863. t1 = _this._future_group$_completer;
  43864. if ((t1.future._state & 30) !== 0)
  43865. return;
  43866. t2 = _this.$ti._eval$1("WhereTypeIterable<1>");
  43867. t2 = A.List_List$_of(new A.WhereTypeIterable(_this._future_group$_values, t2), t2._eval$1("Iterable.E"));
  43868. t1.complete$1(t2);
  43869. }
  43870. };
  43871. A.FutureGroup_add_closure.prototype = {
  43872. call$1(value) {
  43873. var t3, t4,
  43874. t1 = this.$this,
  43875. t2 = t1._future_group$_completer;
  43876. if ((t2.future._state & 30) !== 0)
  43877. return null;
  43878. t3 = --t1._future_group$_pending;
  43879. t4 = t1._future_group$_values;
  43880. t4[this.index] = value;
  43881. if (t3 !== 0)
  43882. return null;
  43883. if (!t1._future_group$_closed)
  43884. return null;
  43885. t1 = t1.$ti._eval$1("WhereTypeIterable<1>");
  43886. t1 = A.List_List$_of(new A.WhereTypeIterable(t4, t1), t1._eval$1("Iterable.E"));
  43887. t2.complete$1(t1);
  43888. },
  43889. $signature() {
  43890. return this.$this.$ti._eval$1("Null(1)");
  43891. }
  43892. };
  43893. A.FutureGroup_add_closure0.prototype = {
  43894. call$2(error, stackTrace) {
  43895. var t1 = this.$this._future_group$_completer;
  43896. if ((t1.future._state & 30) !== 0)
  43897. return null;
  43898. t1.completeError$2(error, stackTrace);
  43899. },
  43900. $signature: 51
  43901. };
  43902. A.ErrorResult.prototype = {
  43903. complete$1(completer) {
  43904. completer.completeError$2(this.error, this.stackTrace);
  43905. },
  43906. get$hashCode(_) {
  43907. return (J.get$hashCode$(this.error) ^ A.Primitives_objectHashCode(this.stackTrace) ^ 492929599) >>> 0;
  43908. },
  43909. $eq(_, other) {
  43910. if (other == null)
  43911. return false;
  43912. return other instanceof A.ErrorResult && J.$eq$(this.error, other.error) && this.stackTrace === other.stackTrace;
  43913. },
  43914. $isResult: 1
  43915. };
  43916. A.ValueResult.prototype = {
  43917. complete$1(completer) {
  43918. completer.complete$1(this.value);
  43919. },
  43920. get$hashCode(_) {
  43921. return (J.get$hashCode$(this.value) ^ 842997089) >>> 0;
  43922. },
  43923. $eq(_, other) {
  43924. if (other == null)
  43925. return false;
  43926. return other instanceof A.ValueResult && J.$eq$(this.value, other.value);
  43927. },
  43928. $isResult: 1
  43929. };
  43930. A.StreamCompleter.prototype = {
  43931. setSourceStream$1(sourceStream) {
  43932. var t1 = this._stream_completer$_stream;
  43933. if (t1._sourceStream != null)
  43934. throw A.wrapException(A.StateError$("Source stream already set"));
  43935. t1._sourceStream = sourceStream;
  43936. if (t1._stream_completer$_controller != null)
  43937. t1._linkStreamToController$0();
  43938. },
  43939. setError$2(error, stackTrace) {
  43940. var t1 = this.$ti,
  43941. t2 = A._interceptUserError(error, stackTrace),
  43942. t3 = new A._Future($.Zone__current, t1._eval$1("_Future<1>"));
  43943. t3._asyncCompleteErrorObject$1(t2);
  43944. this.setSourceStream$1(A.Stream_Stream$fromFuture(t3, t1._precomputed1));
  43945. },
  43946. setError$1(error) {
  43947. return this.setError$2(error, null);
  43948. }
  43949. };
  43950. A._CompleterStream.prototype = {
  43951. listen$4$cancelOnError$onDone$onError(_, onData, cancelOnError, onDone, onError) {
  43952. var sourceStream, t1, _this = this, _null = null;
  43953. if (_this._stream_completer$_controller == null) {
  43954. sourceStream = _this._sourceStream;
  43955. if (sourceStream != null && !sourceStream.get$isBroadcast())
  43956. return sourceStream.listen$4$cancelOnError$onDone$onError(0, onData, cancelOnError, onDone, onError);
  43957. if (_this._stream_completer$_controller == null)
  43958. _this._stream_completer$_controller = A.StreamController_StreamController(_null, _null, _null, _null, true, _this.$ti._precomputed1);
  43959. if (_this._sourceStream != null)
  43960. _this._linkStreamToController$0();
  43961. }
  43962. t1 = _this._stream_completer$_controller;
  43963. t1.toString;
  43964. return new A._ControllerStream(t1, A._instanceType(t1)._eval$1("_ControllerStream<1>")).listen$4$cancelOnError$onDone$onError(0, onData, cancelOnError, onDone, onError);
  43965. },
  43966. listen$1(_, onData) {
  43967. return this.listen$4$cancelOnError$onDone$onError(0, onData, null, null, null);
  43968. },
  43969. listen$3$onDone$onError(_, onData, onDone, onError) {
  43970. return this.listen$4$cancelOnError$onDone$onError(0, onData, null, onDone, onError);
  43971. },
  43972. _linkStreamToController$0() {
  43973. var t2,
  43974. t1 = this._stream_completer$_controller;
  43975. t1.toString;
  43976. t2 = this._sourceStream;
  43977. t2.toString;
  43978. t1.addStream$2$cancelOnError(t2, false).whenComplete$1(t1.get$close(t1));
  43979. }
  43980. };
  43981. A.StreamGroup.prototype = {
  43982. add$1(_, stream) {
  43983. var t1, _this = this;
  43984. if (_this._closed)
  43985. throw A.wrapException(A.StateError$("Can't add a Stream to a closed StreamGroup."));
  43986. t1 = _this._stream_group$_state;
  43987. if (t1 === B._StreamGroupState_dormant)
  43988. _this._subscriptions.putIfAbsent$2(stream, new A.StreamGroup_add_closure());
  43989. else if (t1 === B._StreamGroupState_canceled)
  43990. return stream.listen$1(0, null).cancel$0();
  43991. else
  43992. _this._subscriptions.putIfAbsent$2(stream, new A.StreamGroup_add_closure0(_this, stream));
  43993. return null;
  43994. },
  43995. remove$1(_, stream) {
  43996. var t1 = this._subscriptions,
  43997. subscription = t1.remove$1(0, stream),
  43998. future = subscription == null ? null : subscription.cancel$0();
  43999. if (t1.__js_helper$_length === 0)
  44000. if (this._closed) {
  44001. t1 = this.__StreamGroup__controller_A;
  44002. t1 === $ && A.throwUnnamedLateFieldNI();
  44003. A.scheduleMicrotask(t1.get$close(t1));
  44004. }
  44005. return future;
  44006. },
  44007. _onListen$0() {
  44008. var stream, t1, t2, t3, _i, entry, exception, _this = this;
  44009. _this._stream_group$_state = B._StreamGroupState_listening;
  44010. t1 = _this._subscriptions;
  44011. t2 = A.List_List$_of(new A.LinkedHashMapEntriesIterable(t1, A._instanceType(t1)._eval$1("LinkedHashMapEntriesIterable<1,2>")), _this.$ti._eval$1("MapEntry<Stream<1>,StreamSubscription<1>?>"));
  44012. t3 = t2.length;
  44013. _i = 0;
  44014. for (; _i < t2.length; t2.length === t3 || (0, A.throwConcurrentModificationError)(t2), ++_i) {
  44015. entry = t2[_i];
  44016. if (entry.value != null)
  44017. continue;
  44018. stream = entry.key;
  44019. try {
  44020. t1.$indexSet(0, stream, _this._listenToStream$1(stream));
  44021. } catch (exception) {
  44022. t1 = _this._onCancel$0();
  44023. if (t1 != null)
  44024. t1.catchError$1(new A.StreamGroup__onListen_closure());
  44025. throw exception;
  44026. }
  44027. }
  44028. },
  44029. _onPause$0() {
  44030. this._stream_group$_state = B._StreamGroupState_paused;
  44031. for (var t1 = this._subscriptions, t1 = new A.LinkedHashMapValueIterator(t1, t1._modifications, t1._first); t1.moveNext$0();)
  44032. t1.__js_helper$_current.pause$0(0);
  44033. },
  44034. _onResume$0() {
  44035. this._stream_group$_state = B._StreamGroupState_listening;
  44036. for (var t1 = this._subscriptions, t1 = new A.LinkedHashMapValueIterator(t1, t1._modifications, t1._first); t1.moveNext$0();)
  44037. t1.__js_helper$_current.resume$0(0);
  44038. },
  44039. _onCancel$0() {
  44040. var t1, t2, t3, futures;
  44041. this._stream_group$_state = B._StreamGroupState_canceled;
  44042. t1 = this._subscriptions;
  44043. t2 = A._instanceType(t1)._eval$1("LinkedHashMapEntriesIterable<1,2>");
  44044. t3 = type$.NonNullsIterable_Future_void;
  44045. futures = A.List_List$_of(new A.NonNullsIterable(A.MappedIterable_MappedIterable(new A.LinkedHashMapEntriesIterable(t1, t2), new A.StreamGroup__onCancel_closure(this), t2._eval$1("Iterable.E"), type$.nullable_Future_void), t3), t3._eval$1("Iterable.E"));
  44046. t1.clear$0(0);
  44047. return futures.length === 0 ? null : A.Future_wait(futures, false, type$.void);
  44048. },
  44049. _listenToStream$1(stream) {
  44050. var subscription,
  44051. t1 = this.__StreamGroup__controller_A;
  44052. t1 === $ && A.throwUnnamedLateFieldNI();
  44053. subscription = stream.listen$3$onDone$onError(0, t1.get$add(t1), new A.StreamGroup__listenToStream_closure(this, stream), t1.get$addError());
  44054. if (this._stream_group$_state === B._StreamGroupState_paused)
  44055. subscription.pause$0(0);
  44056. return subscription;
  44057. }
  44058. };
  44059. A.StreamGroup_add_closure.prototype = {
  44060. call$0() {
  44061. return null;
  44062. },
  44063. $signature: 1
  44064. };
  44065. A.StreamGroup_add_closure0.prototype = {
  44066. call$0() {
  44067. return this.$this._listenToStream$1(this.stream);
  44068. },
  44069. $signature() {
  44070. return this.$this.$ti._eval$1("StreamSubscription<1>()");
  44071. }
  44072. };
  44073. A.StreamGroup__onListen_closure.prototype = {
  44074. call$1(_) {
  44075. },
  44076. $signature: 62
  44077. };
  44078. A.StreamGroup__onCancel_closure.prototype = {
  44079. call$1(entry) {
  44080. var t1, exception,
  44081. subscription = entry.value;
  44082. try {
  44083. if (subscription != null) {
  44084. t1 = subscription.cancel$0();
  44085. return t1;
  44086. }
  44087. t1 = J.listen$1$z(entry.key, null).cancel$0();
  44088. return t1;
  44089. } catch (exception) {
  44090. return null;
  44091. }
  44092. },
  44093. $signature() {
  44094. return this.$this.$ti._eval$1("Future<~>?(MapEntry<Stream<1>,StreamSubscription<1>?>)");
  44095. }
  44096. };
  44097. A.StreamGroup__listenToStream_closure.prototype = {
  44098. call$0() {
  44099. return this.$this.remove$1(0, this.stream);
  44100. },
  44101. $signature: 0
  44102. };
  44103. A._StreamGroupState.prototype = {
  44104. toString$0(_) {
  44105. return this.name;
  44106. }
  44107. };
  44108. A.StreamQueue.prototype = {
  44109. _updateRequests$0() {
  44110. var t1, t2, t3, t4, _this = this;
  44111. for (t1 = _this._requestQueue, t2 = _this._eventQueue, t3 = t1.$ti._precomputed1; !t1.get$isEmpty(0);) {
  44112. t4 = t1._head;
  44113. if (t4 === t1._tail)
  44114. A.throwExpression(A.IterableElementError_noElement());
  44115. t4 = t1._table[t4];
  44116. if (t4 == null)
  44117. t4 = t3._as(t4);
  44118. if (t4.update$2(t2, _this._isDone))
  44119. t1.removeFirst$0();
  44120. else
  44121. return;
  44122. }
  44123. if (!_this._isDone)
  44124. _this._stream_queue$_subscription.pause$0(0);
  44125. },
  44126. _ensureListening$0() {
  44127. var t1, _this = this;
  44128. if (_this._isDone)
  44129. return;
  44130. t1 = _this._stream_queue$_subscription;
  44131. if (t1 == null)
  44132. _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));
  44133. else
  44134. t1.resume$0(0);
  44135. },
  44136. _addResult$1(result) {
  44137. ++this._eventsReceived;
  44138. this._eventQueue._queue_list$_add$1(result);
  44139. this._updateRequests$0();
  44140. },
  44141. _addRequest$1(request) {
  44142. var _this = this,
  44143. t1 = _this._requestQueue;
  44144. if (t1._head === t1._tail) {
  44145. if (request.update$2(_this._eventQueue, _this._isDone))
  44146. return;
  44147. _this._ensureListening$0();
  44148. }
  44149. t1._add$1(request);
  44150. }
  44151. };
  44152. A.StreamQueue__ensureListening_closure.prototype = {
  44153. call$1(data) {
  44154. var t1 = this.$this;
  44155. t1._addResult$1(new A.ValueResult(data, t1.$ti._eval$1("ValueResult<1>")));
  44156. },
  44157. $signature() {
  44158. return this.$this.$ti._eval$1("~(1)");
  44159. }
  44160. };
  44161. A.StreamQueue__ensureListening_closure1.prototype = {
  44162. call$2(error, stackTrace) {
  44163. this.$this._addResult$1(new A.ErrorResult(error, stackTrace));
  44164. },
  44165. $signature: 51
  44166. };
  44167. A.StreamQueue__ensureListening_closure0.prototype = {
  44168. call$0() {
  44169. var t1 = this.$this;
  44170. t1._stream_queue$_subscription = null;
  44171. t1._isDone = true;
  44172. t1._updateRequests$0();
  44173. },
  44174. $signature: 0
  44175. };
  44176. A._NextRequest.prototype = {
  44177. update$2(events, isDone) {
  44178. if (!events.get$isEmpty(events)) {
  44179. events.removeFirst$0().complete$1(this._completer);
  44180. return true;
  44181. }
  44182. if (isDone) {
  44183. this._completer.completeError$2(new A.StateError("No elements"), A.StackTrace_current());
  44184. return true;
  44185. }
  44186. return false;
  44187. },
  44188. $is_EventRequest: 1
  44189. };
  44190. A._isStrictMode_closure.prototype = {
  44191. call$0() {
  44192. var exception;
  44193. try {
  44194. "".name = null;
  44195. return false;
  44196. } catch (exception) {
  44197. return true;
  44198. }
  44199. },
  44200. $signature: 19
  44201. };
  44202. A.Repl.prototype = {};
  44203. A.alwaysValid_closure.prototype = {
  44204. call$1(text) {
  44205. return true;
  44206. },
  44207. $signature: 5
  44208. };
  44209. A.ReplAdapter.prototype = {
  44210. runAsync$0() {
  44211. var rl, runController, _this = this, t1 = {},
  44212. t2 = J.get$isTTY$x(self.process.stdin),
  44213. output = (t2 == null ? false : t2) ? self.process.stdout : null;
  44214. t2 = _this.repl.prompt;
  44215. rl = J.createInterface$1$x($.$get$readline(), {input: self.process.stdin, output: output, prompt: t2});
  44216. _this.rl = rl;
  44217. t1.statement = "";
  44218. t1.prompt = t2;
  44219. runController = A._Cell$();
  44220. runController.__late_helper$_value = A.StreamController_StreamController(_this.get$exit(_this), new A.ReplAdapter_runAsync_closure(t1, _this, rl, runController), null, null, false, type$.String);
  44221. return runController._readLocal$0().get$stream();
  44222. },
  44223. exit$0(_) {
  44224. var t1 = this.rl;
  44225. if (t1 != null)
  44226. J.close$0$x(t1);
  44227. this.rl = null;
  44228. }
  44229. };
  44230. A.ReplAdapter_runAsync_closure.prototype = {
  44231. call$0() {
  44232. var $async$goto = 0,
  44233. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  44234. $async$handler = 1, $async$errorStack = [], $async$self = this, lineController, lineQueue, line, error, stackTrace, t1, t2, t3, t4, $prompt, prompt0, t5, t6, t7, t8, line0, toZone, statement, exception, $async$exception;
  44235. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  44236. if ($async$errorCode === 1) {
  44237. $async$errorStack.push($async$result);
  44238. $async$goto = $async$handler;
  44239. }
  44240. while (true)
  44241. switch ($async$goto) {
  44242. case 0:
  44243. // Function start
  44244. $async$handler = 3;
  44245. lineController = A.StreamController_StreamController(null, null, null, null, false, type$.String);
  44246. t1 = lineController;
  44247. t2 = A.QueueList$(null, type$.Result_String);
  44248. t3 = A.ListQueue$(type$._EventRequest_dynamic);
  44249. lineQueue = new A.StreamQueue(new A._ControllerStream(t1, A._instanceType(t1)._eval$1("_ControllerStream<1>")), t2, t3, type$.StreamQueue_String);
  44250. t1 = $async$self.rl;
  44251. t2 = J.getInterceptor$x(t1);
  44252. t2.on$2(t1, "line", A.allowInterop(new A.ReplAdapter_runAsync__closure(lineController)));
  44253. t3 = $async$self._box_0, t4 = $async$self.$this.repl, $prompt = t4.continuation, prompt0 = t4.prompt, t5 = $async$self.runController;
  44254. case 6:
  44255. // for condition
  44256. // trivial condition
  44257. t6 = J.get$isTTY$x(self.process.stdin);
  44258. if (t6 == null ? false : t6)
  44259. J.write$1$x(self.process.stdout, t3.prompt);
  44260. t6 = lineQueue;
  44261. t6.toString;
  44262. t7 = t6.$ti;
  44263. t8 = new A._Future($.Zone__current, t7._eval$1("_Future<1>"));
  44264. t6._addRequest$1(new A._NextRequest(new A._AsyncCompleter(t8, t7._eval$1("_AsyncCompleter<1>")), t7._eval$1("_NextRequest<1>")));
  44265. $async$goto = 8;
  44266. return A._asyncAwait(t8, $async$call$0);
  44267. case 8:
  44268. // returning from await.
  44269. line = $async$result;
  44270. t6 = J.get$isTTY$x(self.process.stdin);
  44271. if (!(t6 == null ? false : t6)) {
  44272. line0 = t3.prompt + A.S(line);
  44273. toZone = $.printToZone;
  44274. if (toZone == null)
  44275. A.printString(line0);
  44276. else
  44277. toZone.call$1(line0);
  44278. }
  44279. statement = B.JSString_methods.$add(t3.statement, line);
  44280. t3.statement = statement;
  44281. if (t4.validator.call$1(statement)) {
  44282. t6 = t5.__late_helper$_value;
  44283. if (t6 === t5)
  44284. A.throwExpression(A.LateError$localNI(""));
  44285. J.add$1$ax(t6, t3.statement);
  44286. t3.statement = "";
  44287. t3.prompt = prompt0;
  44288. t2.setPrompt$1(t1, prompt0);
  44289. } else {
  44290. t3.statement += "\n";
  44291. t3.prompt = $prompt;
  44292. t2.setPrompt$1(t1, $prompt);
  44293. }
  44294. // goto for condition
  44295. $async$goto = 6;
  44296. break;
  44297. case 7:
  44298. // after for
  44299. $async$handler = 1;
  44300. // goto after finally
  44301. $async$goto = 5;
  44302. break;
  44303. case 3:
  44304. // catch
  44305. $async$handler = 2;
  44306. $async$exception = $async$errorStack.pop();
  44307. error = A.unwrapException($async$exception);
  44308. stackTrace = A.getTraceFromException($async$exception);
  44309. t1 = $async$self.runController;
  44310. t1._readLocal$0().addError$2(error, stackTrace);
  44311. t2 = $async$self.$this.exit$0(0);
  44312. t2 = A._Future$value(t2, type$.void);
  44313. $async$goto = 9;
  44314. return A._asyncAwait(t2, $async$call$0);
  44315. case 9:
  44316. // returning from await.
  44317. J.close$0$x(t1._readLocal$0());
  44318. // goto after finally
  44319. $async$goto = 5;
  44320. break;
  44321. case 2:
  44322. // uncaught
  44323. // goto rethrow
  44324. $async$goto = 1;
  44325. break;
  44326. case 5:
  44327. // after finally
  44328. // implicit return
  44329. return A._asyncReturn(null, $async$completer);
  44330. case 1:
  44331. // rethrow
  44332. return A._asyncRethrow($async$errorStack.at(-1), $async$completer);
  44333. }
  44334. });
  44335. return A._asyncStartSync($async$call$0, $async$completer);
  44336. },
  44337. $signature: 32
  44338. };
  44339. A.ReplAdapter_runAsync__closure.prototype = {
  44340. call$1(value) {
  44341. return this.lineController.add$1(0, A._asString(value));
  44342. },
  44343. $signature: 71
  44344. };
  44345. A.Stdin.prototype = {};
  44346. A.Stdout.prototype = {};
  44347. A.ReadlineModule.prototype = {};
  44348. A.ReadlineOptions.prototype = {};
  44349. A.ReadlineInterface.prototype = {};
  44350. A.EmptyUnmodifiableSet.prototype = {
  44351. get$iterator(_) {
  44352. return B.C_EmptyIterator;
  44353. },
  44354. get$length(_) {
  44355. return 0;
  44356. },
  44357. contains$1(_, element) {
  44358. return false;
  44359. },
  44360. toSet$0(_) {
  44361. return A.LinkedHashSet_LinkedHashSet$_empty(this.$ti._precomputed1);
  44362. },
  44363. $isEfficientLengthIterable: 1,
  44364. $isSet: 1
  44365. };
  44366. A._EmptyUnmodifiableSet_IterableBase_UnmodifiableSetMixin.prototype = {};
  44367. A.DefaultEquality.prototype = {};
  44368. A.IterableEquality.prototype = {
  44369. equals$2(_, elements1, elements2) {
  44370. var it1, it2, hasNext;
  44371. if (elements1 === elements2)
  44372. return true;
  44373. it1 = J.get$iterator$ax(elements1);
  44374. it2 = J.get$iterator$ax(elements2);
  44375. for (; true;) {
  44376. hasNext = it1.moveNext$0();
  44377. if (hasNext !== it2.moveNext$0())
  44378. return false;
  44379. if (!hasNext)
  44380. return true;
  44381. if (!J.$eq$(it1.get$current(it1), it2.get$current(it2)))
  44382. return false;
  44383. }
  44384. },
  44385. hash$1(elements) {
  44386. var t1, hash, _i;
  44387. for (t1 = elements.length, hash = 0, _i = 0; _i < elements.length; elements.length === t1 || (0, A.throwConcurrentModificationError)(elements), ++_i) {
  44388. hash = hash + J.get$hashCode$(elements[_i]) & 2147483647;
  44389. hash = hash + (hash << 10 >>> 0) & 2147483647;
  44390. hash ^= hash >>> 6;
  44391. }
  44392. hash = hash + (hash << 3 >>> 0) & 2147483647;
  44393. hash ^= hash >>> 11;
  44394. return hash + (hash << 15 >>> 0) & 2147483647;
  44395. }
  44396. };
  44397. A.ListEquality.prototype = {
  44398. equals$2(_, list1, list2) {
  44399. var t1, $length, t2, i;
  44400. if (list1 == null ? list2 == null : list1 === list2)
  44401. return true;
  44402. if (list1 == null || list2 == null)
  44403. return false;
  44404. t1 = J.getInterceptor$asx(list1);
  44405. $length = t1.get$length(list1);
  44406. t2 = J.getInterceptor$asx(list2);
  44407. if ($length !== t2.get$length(list2))
  44408. return false;
  44409. for (i = 0; i < $length; ++i)
  44410. if (!J.$eq$(t1.$index(list1, i), t2.$index(list2, i)))
  44411. return false;
  44412. return true;
  44413. },
  44414. hash$1(list) {
  44415. var hash, i;
  44416. for (hash = 0, i = 0; i < list.length; ++i) {
  44417. hash = hash + J.get$hashCode$(list[i]) & 2147483647;
  44418. hash = hash + (hash << 10 >>> 0) & 2147483647;
  44419. hash ^= hash >>> 6;
  44420. }
  44421. hash = hash + (hash << 3 >>> 0) & 2147483647;
  44422. hash ^= hash >>> 11;
  44423. return hash + (hash << 15 >>> 0) & 2147483647;
  44424. }
  44425. };
  44426. A._MapEntry.prototype = {
  44427. get$hashCode(_) {
  44428. return 3 * J.get$hashCode$(this.key) + 7 * J.get$hashCode$(this.value) & 2147483647;
  44429. },
  44430. $eq(_, other) {
  44431. if (other == null)
  44432. return false;
  44433. return other instanceof A._MapEntry && J.$eq$(this.key, other.key) && J.$eq$(this.value, other.value);
  44434. }
  44435. };
  44436. A.MapEquality.prototype = {
  44437. equals$2(_, map1, map2) {
  44438. var equalElementCounts, t1, key, entry, count;
  44439. if (map1 === map2)
  44440. return true;
  44441. if (map1.get$length(map1) !== map2.get$length(map2))
  44442. return false;
  44443. equalElementCounts = A.HashMap_HashMap(type$._MapEntry, type$.int);
  44444. for (t1 = J.get$iterator$ax(map1.get$keys(map1)); t1.moveNext$0();) {
  44445. key = t1.get$current(t1);
  44446. entry = new A._MapEntry(this, key, map1.$index(0, key));
  44447. count = equalElementCounts.$index(0, entry);
  44448. equalElementCounts.$indexSet(0, entry, (count == null ? 0 : count) + 1);
  44449. }
  44450. for (t1 = J.get$iterator$ax(map2.get$keys(map2)); t1.moveNext$0();) {
  44451. key = t1.get$current(t1);
  44452. entry = new A._MapEntry(this, key, map2.$index(0, key));
  44453. count = equalElementCounts.$index(0, entry);
  44454. if (count == null || count === 0)
  44455. return false;
  44456. equalElementCounts.$indexSet(0, entry, count - 1);
  44457. }
  44458. return true;
  44459. },
  44460. hash$1(map) {
  44461. var t1, t2, hash, key, keyHash, t3;
  44462. for (t1 = J.get$iterator$ax(map.get$keys(map)), t2 = this.$ti._rest[1], hash = 0; t1.moveNext$0();) {
  44463. key = t1.get$current(t1);
  44464. keyHash = J.get$hashCode$(key);
  44465. t3 = map.$index(0, key);
  44466. hash = hash + 3 * keyHash + 7 * J.get$hashCode$(t3 == null ? t2._as(t3) : t3) & 2147483647;
  44467. }
  44468. hash = hash + (hash << 3 >>> 0) & 2147483647;
  44469. hash ^= hash >>> 11;
  44470. return hash + (hash << 15 >>> 0) & 2147483647;
  44471. }
  44472. };
  44473. A.QueueList.prototype = {
  44474. add$1(_, element) {
  44475. this._queue_list$_add$1(element);
  44476. },
  44477. addAll$1(_, iterable) {
  44478. var addCount, $length, t1, endSpace, t2, preSpace, _this = this;
  44479. if (type$.List_dynamic._is(iterable)) {
  44480. addCount = J.get$length$asx(iterable);
  44481. $length = _this.get$length(0);
  44482. t1 = $length + addCount;
  44483. if (t1 >= J.get$length$asx(_this._queue_list$_table)) {
  44484. _this._preGrow$1(t1);
  44485. J.setRange$4$ax(_this._queue_list$_table, $length, t1, iterable, 0);
  44486. _this.set$_queue_list$_tail(_this.get$_queue_list$_tail() + addCount);
  44487. } else {
  44488. endSpace = J.get$length$asx(_this._queue_list$_table) - _this.get$_queue_list$_tail();
  44489. t1 = _this._queue_list$_table;
  44490. t2 = J.getInterceptor$ax(t1);
  44491. if (addCount < endSpace) {
  44492. t2.setRange$4(t1, _this.get$_queue_list$_tail(), _this.get$_queue_list$_tail() + addCount, iterable, 0);
  44493. _this.set$_queue_list$_tail(_this.get$_queue_list$_tail() + addCount);
  44494. } else {
  44495. preSpace = addCount - endSpace;
  44496. t2.setRange$4(t1, _this.get$_queue_list$_tail(), _this.get$_queue_list$_tail() + endSpace, iterable, 0);
  44497. J.setRange$4$ax(_this._queue_list$_table, 0, preSpace, iterable, endSpace);
  44498. _this.set$_queue_list$_tail(preSpace);
  44499. }
  44500. }
  44501. } else
  44502. for (t1 = J.get$iterator$ax(iterable); t1.moveNext$0();)
  44503. _this._queue_list$_add$1(t1.get$current(t1));
  44504. },
  44505. cast$1$0(_, $T) {
  44506. return new A._CastQueueList(this, J.cast$1$0$ax(this._queue_list$_table, $T), -1, -1, A._instanceType(this)._eval$1("@<QueueList.E>")._bind$1($T)._eval$1("_CastQueueList<1,2>"));
  44507. },
  44508. toString$0(_) {
  44509. return A.Iterable_iterableToFullString(this, "{", "}");
  44510. },
  44511. addFirst$1(element) {
  44512. var _this = this;
  44513. _this.set$_queue_list$_head((_this.get$_queue_list$_head() - 1 & J.get$length$asx(_this._queue_list$_table) - 1) >>> 0);
  44514. J.$indexSet$ax(_this._queue_list$_table, _this.get$_queue_list$_head(), element);
  44515. if (_this.get$_queue_list$_head() === _this.get$_queue_list$_tail())
  44516. _this._queue_list$_grow$0();
  44517. },
  44518. removeFirst$0() {
  44519. var result, _this = this;
  44520. if (_this.get$_queue_list$_head() === _this.get$_queue_list$_tail())
  44521. throw A.wrapException(A.StateError$("No element"));
  44522. result = J.$index$asx(_this._queue_list$_table, _this.get$_queue_list$_head());
  44523. if (result == null)
  44524. result = A._instanceType(_this)._eval$1("QueueList.E")._as(result);
  44525. J.$indexSet$ax(_this._queue_list$_table, _this.get$_queue_list$_head(), null);
  44526. _this.set$_queue_list$_head((_this.get$_queue_list$_head() + 1 & J.get$length$asx(_this._queue_list$_table) - 1) >>> 0);
  44527. return result;
  44528. },
  44529. removeLast$0(_) {
  44530. var result, _this = this;
  44531. if (_this.get$_queue_list$_head() === _this.get$_queue_list$_tail())
  44532. throw A.wrapException(A.StateError$("No element"));
  44533. _this.set$_queue_list$_tail((_this.get$_queue_list$_tail() - 1 & J.get$length$asx(_this._queue_list$_table) - 1) >>> 0);
  44534. result = J.$index$asx(_this._queue_list$_table, _this.get$_queue_list$_tail());
  44535. if (result == null)
  44536. result = A._instanceType(_this)._eval$1("QueueList.E")._as(result);
  44537. J.$indexSet$ax(_this._queue_list$_table, _this.get$_queue_list$_tail(), null);
  44538. return result;
  44539. },
  44540. get$length(_) {
  44541. return (this.get$_queue_list$_tail() - this.get$_queue_list$_head() & J.get$length$asx(this._queue_list$_table) - 1) >>> 0;
  44542. },
  44543. set$length(_, value) {
  44544. var delta, newTail, t1, t2, _this = this;
  44545. if (value < 0)
  44546. throw A.wrapException(A.RangeError$("Length " + value + " may not be negative."));
  44547. if (value > _this.get$length(0) && !A._instanceType(_this)._eval$1("QueueList.E")._is(null))
  44548. 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) + "`."));
  44549. delta = value - _this.get$length(0);
  44550. if (delta >= 0) {
  44551. if (J.get$length$asx(_this._queue_list$_table) <= value)
  44552. _this._preGrow$1(value);
  44553. _this.set$_queue_list$_tail((_this.get$_queue_list$_tail() + delta & J.get$length$asx(_this._queue_list$_table) - 1) >>> 0);
  44554. return;
  44555. }
  44556. newTail = _this.get$_queue_list$_tail() + delta;
  44557. t1 = _this._queue_list$_table;
  44558. if (newTail >= 0)
  44559. J.fillRange$3$ax(t1, newTail, _this.get$_queue_list$_tail(), null);
  44560. else {
  44561. newTail += J.get$length$asx(t1);
  44562. J.fillRange$3$ax(_this._queue_list$_table, 0, _this.get$_queue_list$_tail(), null);
  44563. t1 = _this._queue_list$_table;
  44564. t2 = J.getInterceptor$asx(t1);
  44565. t2.fillRange$3(t1, newTail, t2.get$length(t1), null);
  44566. }
  44567. _this.set$_queue_list$_tail(newTail);
  44568. },
  44569. $index(_, index) {
  44570. var t1, _this = this;
  44571. if (index < 0 || index >= _this.get$length(0))
  44572. throw A.wrapException(A.RangeError$("Index " + index + " must be in the range [0.." + _this.get$length(0) + ")."));
  44573. t1 = J.$index$asx(_this._queue_list$_table, (_this.get$_queue_list$_head() + index & J.get$length$asx(_this._queue_list$_table) - 1) >>> 0);
  44574. return t1 == null ? A._instanceType(_this)._eval$1("QueueList.E")._as(t1) : t1;
  44575. },
  44576. $indexSet(_, index, value) {
  44577. var _this = this;
  44578. if (index < 0 || index >= _this.get$length(0))
  44579. throw A.wrapException(A.RangeError$("Index " + index + " must be in the range [0.." + _this.get$length(0) + ")."));
  44580. J.$indexSet$ax(_this._queue_list$_table, (_this.get$_queue_list$_head() + index & J.get$length$asx(_this._queue_list$_table) - 1) >>> 0, value);
  44581. },
  44582. _queue_list$_add$1(element) {
  44583. var _this = this;
  44584. J.$indexSet$ax(_this._queue_list$_table, _this.get$_queue_list$_tail(), element);
  44585. _this.set$_queue_list$_tail((_this.get$_queue_list$_tail() + 1 & J.get$length$asx(_this._queue_list$_table) - 1) >>> 0);
  44586. if (_this.get$_queue_list$_head() === _this.get$_queue_list$_tail())
  44587. _this._queue_list$_grow$0();
  44588. },
  44589. _queue_list$_grow$0() {
  44590. var _this = this,
  44591. newTable = A.List_List$filled(J.get$length$asx(_this._queue_list$_table) * 2, null, false, A._instanceType(_this)._eval$1("QueueList.E?")),
  44592. split = J.get$length$asx(_this._queue_list$_table) - _this.get$_queue_list$_head();
  44593. B.JSArray_methods.setRange$4(newTable, 0, split, _this._queue_list$_table, _this.get$_queue_list$_head());
  44594. B.JSArray_methods.setRange$4(newTable, split, split + _this.get$_queue_list$_head(), _this._queue_list$_table, 0);
  44595. _this.set$_queue_list$_head(0);
  44596. _this.set$_queue_list$_tail(J.get$length$asx(_this._queue_list$_table));
  44597. _this._queue_list$_table = newTable;
  44598. },
  44599. _writeToList$1(target) {
  44600. var $length, firstPartSize, _this = this;
  44601. if (_this.get$_queue_list$_head() <= _this.get$_queue_list$_tail()) {
  44602. $length = _this.get$_queue_list$_tail() - _this.get$_queue_list$_head();
  44603. B.JSArray_methods.setRange$4(target, 0, $length, _this._queue_list$_table, _this.get$_queue_list$_head());
  44604. return $length;
  44605. } else {
  44606. firstPartSize = J.get$length$asx(_this._queue_list$_table) - _this.get$_queue_list$_head();
  44607. B.JSArray_methods.setRange$4(target, 0, firstPartSize, _this._queue_list$_table, _this.get$_queue_list$_head());
  44608. B.JSArray_methods.setRange$4(target, firstPartSize, firstPartSize + _this.get$_queue_list$_tail(), _this._queue_list$_table, 0);
  44609. return _this.get$_queue_list$_tail() + firstPartSize;
  44610. }
  44611. },
  44612. _preGrow$1(newElementCount) {
  44613. var _this = this,
  44614. 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?"));
  44615. _this.set$_queue_list$_tail(_this._writeToList$1(newTable));
  44616. _this._queue_list$_table = newTable;
  44617. _this.set$_queue_list$_head(0);
  44618. },
  44619. $isEfficientLengthIterable: 1,
  44620. $isQueue: 1,
  44621. $isIterable: 1,
  44622. $isList: 1,
  44623. get$_queue_list$_head() {
  44624. return this._queue_list$_head;
  44625. },
  44626. get$_queue_list$_tail() {
  44627. return this._queue_list$_tail;
  44628. },
  44629. set$_queue_list$_head(val) {
  44630. return this._queue_list$_head = val;
  44631. },
  44632. set$_queue_list$_tail(val) {
  44633. return this._queue_list$_tail = val;
  44634. }
  44635. };
  44636. A._CastQueueList.prototype = {
  44637. get$_queue_list$_head() {
  44638. return this._queue_list$_delegate.get$_queue_list$_head();
  44639. },
  44640. set$_queue_list$_head(value) {
  44641. this._queue_list$_delegate.set$_queue_list$_head(value);
  44642. },
  44643. get$_queue_list$_tail() {
  44644. return this._queue_list$_delegate.get$_queue_list$_tail();
  44645. },
  44646. set$_queue_list$_tail(value) {
  44647. this._queue_list$_delegate.set$_queue_list$_tail(value);
  44648. }
  44649. };
  44650. A._QueueList_Object_ListMixin.prototype = {};
  44651. A.UnionSet.prototype = {
  44652. get$length(_) {
  44653. var t1 = this.get$_union_set$_iterable().get$length(0);
  44654. return t1;
  44655. },
  44656. get$iterator(_) {
  44657. var t1 = this.get$_union_set$_iterable();
  44658. return t1.get$iterator(t1);
  44659. },
  44660. get$_union_set$_iterable() {
  44661. var t1 = this._sets,
  44662. t2 = this.$ti._precomputed1,
  44663. t3 = A._instanceType(t1)._eval$1("@<1>")._bind$1(t2)._eval$1("ExpandIterable<1,2>");
  44664. t2 = A.LinkedHashSet_LinkedHashSet$_empty(t2);
  44665. return new A.WhereIterable(new A.ExpandIterable(t1, new A.UnionSet__iterable_closure(this), t3), t2.get$add(t2), t3._eval$1("WhereIterable<Iterable.E>"));
  44666. },
  44667. contains$1(_, element) {
  44668. return this._sets.any$1(0, new A.UnionSet_contains_closure(this, element));
  44669. },
  44670. toSet$0(_) {
  44671. var t2, t3, t4,
  44672. t1 = A.LinkedHashSet_LinkedHashSet$_empty(this.$ti._precomputed1);
  44673. for (t2 = this._sets, t2 = A._LinkedHashSetIterator$(t2, t2._collection$_modifications, A._instanceType(t2)._precomputed1), t3 = t2.$ti._precomputed1; t2.moveNext$0();) {
  44674. t4 = t2._collection$_current;
  44675. t1.addAll$1(0, t4 == null ? t3._as(t4) : t4);
  44676. }
  44677. return t1;
  44678. }
  44679. };
  44680. A.UnionSet__iterable_closure.prototype = {
  44681. call$1(set) {
  44682. return set;
  44683. },
  44684. $signature() {
  44685. return this.$this.$ti._eval$1("Set<1>(Set<1>)");
  44686. }
  44687. };
  44688. A.UnionSet_contains_closure.prototype = {
  44689. call$1(set) {
  44690. return set.contains$1(0, this.element);
  44691. },
  44692. $signature() {
  44693. return this.$this.$ti._eval$1("bool(Set<1>)");
  44694. }
  44695. };
  44696. A._UnionSet_SetBase_UnmodifiableSetMixin.prototype = {};
  44697. A.UnmodifiableSetView0.prototype = {};
  44698. A.UnmodifiableSetMixin.prototype = {
  44699. add$1(_, value) {
  44700. return A.UnmodifiableSetMixin__throw();
  44701. },
  44702. addAll$1(_, elements) {
  44703. return A.UnmodifiableSetMixin__throw();
  44704. },
  44705. remove$1(_, value) {
  44706. return A.UnmodifiableSetMixin__throw();
  44707. }
  44708. };
  44709. A._UnmodifiableSetView_DelegatingSet_UnmodifiableSetMixin.prototype = {};
  44710. A._DelegatingIterableBase.prototype = {
  44711. any$1(_, test) {
  44712. return J.any$1$ax(this.get$_base(), test);
  44713. },
  44714. contains$1(_, element) {
  44715. return J.contains$1$asx(this.get$_base(), element);
  44716. },
  44717. elementAt$1(_, index) {
  44718. return J.elementAt$1$ax(this.get$_base(), index);
  44719. },
  44720. every$1(_, test) {
  44721. return J.every$1$ax(this.get$_base(), test);
  44722. },
  44723. get$first(_) {
  44724. return J.get$first$ax(this.get$_base());
  44725. },
  44726. get$isEmpty(_) {
  44727. return J.get$isEmpty$asx(this.get$_base());
  44728. },
  44729. get$isNotEmpty(_) {
  44730. return J.get$isNotEmpty$asx(this.get$_base());
  44731. },
  44732. get$iterator(_) {
  44733. return J.get$iterator$ax(this.get$_base());
  44734. },
  44735. get$last(_) {
  44736. return J.get$last$ax(this.get$_base());
  44737. },
  44738. get$length(_) {
  44739. return J.get$length$asx(this.get$_base());
  44740. },
  44741. map$1$1(_, f, $T) {
  44742. return J.map$1$1$ax(this.get$_base(), f, $T);
  44743. },
  44744. get$single(_) {
  44745. return J.get$single$ax(this.get$_base());
  44746. },
  44747. skip$1(_, n) {
  44748. return J.skip$1$ax(this.get$_base(), n);
  44749. },
  44750. take$1(_, n) {
  44751. return J.take$1$ax(this.get$_base(), n);
  44752. },
  44753. toList$1$growable(_, growable) {
  44754. return J.toList$1$growable$ax(this.get$_base(), true);
  44755. },
  44756. toList$0(_) {
  44757. return this.toList$1$growable(0, true);
  44758. },
  44759. toSet$0(_) {
  44760. return J.toSet$0$ax(this.get$_base());
  44761. },
  44762. where$1(_, test) {
  44763. return J.where$1$ax(this.get$_base(), test);
  44764. },
  44765. toString$0(_) {
  44766. return J.toString$0$(this.get$_base());
  44767. },
  44768. $isIterable: 1
  44769. };
  44770. A.DelegatingSet.prototype = {
  44771. add$1(_, value) {
  44772. return this._base.add$1(0, value);
  44773. },
  44774. addAll$1(_, elements) {
  44775. this._base.addAll$1(0, elements);
  44776. },
  44777. toSet$0(_) {
  44778. return new A.DelegatingSet(this._base.toSet$0(0), A._instanceType(this)._eval$1("DelegatingSet<1>"));
  44779. },
  44780. $isEfficientLengthIterable: 1,
  44781. $isSet: 1,
  44782. get$_base() {
  44783. return this._base;
  44784. }
  44785. };
  44786. A.MapKeySet.prototype = {
  44787. get$_base() {
  44788. var t1 = this._baseMap;
  44789. return t1.get$keys(t1);
  44790. },
  44791. contains$1(_, element) {
  44792. return this._baseMap.containsKey$1(element);
  44793. },
  44794. get$isEmpty(_) {
  44795. var t1 = this._baseMap;
  44796. return t1.get$isEmpty(t1);
  44797. },
  44798. get$isNotEmpty(_) {
  44799. var t1 = this._baseMap;
  44800. return t1.get$isNotEmpty(t1);
  44801. },
  44802. get$length(_) {
  44803. var t1 = this._baseMap;
  44804. return t1.get$length(t1);
  44805. },
  44806. toString$0(_) {
  44807. return A.Iterable_iterableToFullString(this, "{", "}");
  44808. },
  44809. difference$1(other) {
  44810. return J.where$1$ax(this.get$_base(), new A.MapKeySet_difference_closure(this, other)).toSet$0(0);
  44811. },
  44812. $isEfficientLengthIterable: 1,
  44813. $isSet: 1
  44814. };
  44815. A.MapKeySet_difference_closure.prototype = {
  44816. call$1(element) {
  44817. return !this.other._source.contains$1(0, element);
  44818. },
  44819. $signature() {
  44820. return this.$this.$ti._eval$1("bool(1)");
  44821. }
  44822. };
  44823. A._MapKeySet__DelegatingIterableBase_UnmodifiableSetMixin.prototype = {};
  44824. A.BufferModule.prototype = {};
  44825. A.BufferConstants.prototype = {};
  44826. A.Buffer.prototype = {};
  44827. A.ConsoleModule.prototype = {};
  44828. A.Console.prototype = {};
  44829. A.EventEmitter.prototype = {};
  44830. A.FS.prototype = {};
  44831. A.FSConstants.prototype = {};
  44832. A.Realpath.prototype = {};
  44833. A.RealpathSync.prototype = {};
  44834. A.FSWatcher.prototype = {};
  44835. A.ReadStream.prototype = {};
  44836. A.ReadStreamOptions.prototype = {};
  44837. A.WriteStream.prototype = {};
  44838. A.WriteStreamOptions.prototype = {};
  44839. A.FileOptions.prototype = {};
  44840. A.StatOptions.prototype = {};
  44841. A.MkdirOptions.prototype = {};
  44842. A.RmdirOptions.prototype = {};
  44843. A.WatchOptions.prototype = {};
  44844. A.WatchFileOptions.prototype = {};
  44845. A.Stats.prototype = {};
  44846. A.Promise.prototype = {};
  44847. A.Date.prototype = {};
  44848. A.JsError.prototype = {};
  44849. A.Atomics.prototype = {};
  44850. A.Modules.prototype = {};
  44851. A.Module.prototype = {};
  44852. A.Net.prototype = {};
  44853. A.Socket.prototype = {};
  44854. A.NetAddress.prototype = {};
  44855. A.NetServer.prototype = {};
  44856. A.NodeJsError.prototype = {};
  44857. A.JsAssertionError.prototype = {};
  44858. A.JsRangeError.prototype = {};
  44859. A.JsReferenceError.prototype = {};
  44860. A.JsSyntaxError.prototype = {};
  44861. A.JsTypeError.prototype = {};
  44862. A.JsSystemError.prototype = {};
  44863. A.Process.prototype = {};
  44864. A.CPUUsage.prototype = {};
  44865. A.Release.prototype = {};
  44866. A.StreamModule.prototype = {};
  44867. A.Readable.prototype = {};
  44868. A.Writable.prototype = {};
  44869. A.Duplex.prototype = {};
  44870. A.Transform.prototype = {};
  44871. A.WritableOptions.prototype = {};
  44872. A.ReadableOptions.prototype = {};
  44873. A.Immediate.prototype = {};
  44874. A.Timeout.prototype = {};
  44875. A.TTY.prototype = {};
  44876. A.TTYReadStream.prototype = {};
  44877. A.TTYWriteStream.prototype = {};
  44878. A.Util.prototype = {};
  44879. A.promiseToFuture_closure1.prototype = {
  44880. call$1(value) {
  44881. this.completer.complete$1(value);
  44882. },
  44883. $signature: 62
  44884. };
  44885. A.promiseToFuture_closure2.prototype = {
  44886. call$1(error) {
  44887. this.completer.completeError$1(error);
  44888. },
  44889. $signature: 62
  44890. };
  44891. A.futureToPromise_closure.prototype = {
  44892. call$2(resolve, reject) {
  44893. this.future.then$1$2$onError(0, new A.futureToPromise__closure(resolve, this.T), reject, type$.dynamic);
  44894. },
  44895. $signature: 391
  44896. };
  44897. A.futureToPromise__closure.prototype = {
  44898. call$1(result) {
  44899. return this.resolve.call$1(result);
  44900. },
  44901. $signature() {
  44902. return this.T._eval$1("@(0)");
  44903. }
  44904. };
  44905. A.Context.prototype = {
  44906. absolute$15(part1, part2, part3, part4, part5, part6, part7, part8, part9, part10, part11, part12, part13, part14, part15) {
  44907. var t1;
  44908. A._validateArgList("absolute", A._setArrayType([part1, part2, part3, part4, part5, part6, part7, part8, part9, part10, part11, part12, part13, part14, part15], type$.JSArray_nullable_String));
  44909. if (part2 == null) {
  44910. t1 = this.style;
  44911. t1 = t1.rootLength$1(part1) > 0 && !t1.isRootRelative$1(part1);
  44912. } else
  44913. t1 = false;
  44914. if (t1)
  44915. return part1;
  44916. t1 = this._context$_current;
  44917. return this.join$16(0, t1 == null ? A.current() : t1, part1, part2, part3, part4, part5, part6, part7, part8, part9, part10, part11, part12, part13, part14, part15);
  44918. },
  44919. absolute$1(part1) {
  44920. var _null = null;
  44921. return this.absolute$15(part1, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null);
  44922. },
  44923. dirname$1(path) {
  44924. var t1, t2,
  44925. parsed = A.ParsedPath_ParsedPath$parse(path, this.style);
  44926. parsed.removeTrailingSeparators$0();
  44927. t1 = parsed.parts;
  44928. t2 = t1.length;
  44929. if (t2 === 0) {
  44930. t1 = parsed.root;
  44931. return t1 == null ? "." : t1;
  44932. }
  44933. if (t2 === 1) {
  44934. t1 = parsed.root;
  44935. return t1 == null ? "." : t1;
  44936. }
  44937. B.JSArray_methods.removeLast$0(t1);
  44938. parsed.separators.pop();
  44939. parsed.removeTrailingSeparators$0();
  44940. return parsed.toString$0(0);
  44941. },
  44942. join$16(_, part1, part2, part3, part4, part5, part6, part7, part8, part9, part10, part11, part12, part13, part14, part15, part16) {
  44943. var parts = A._setArrayType([part1, part2, part3, part4, part5, part6, part7, part8, part9, part10, part11, part12, part13, part14, part15, part16], type$.JSArray_nullable_String);
  44944. A._validateArgList("join", parts);
  44945. return this.joinAll$1(new A.WhereTypeIterable(parts, type$.WhereTypeIterable_String));
  44946. },
  44947. join$2(_, part1, part2) {
  44948. var _null = null;
  44949. return this.join$16(0, part1, part2, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null);
  44950. },
  44951. joinAll$1(parts) {
  44952. var t1, t2, t3, needsSeparator, isAbsoluteAndNotRootRelative, t4, t5, parsed, path;
  44953. for (t1 = J.where$1$ax(parts, new A.Context_joinAll_closure()), t2 = J.get$iterator$ax(t1.__internal$_iterable), t1 = new A.WhereIterator(t2, t1._f), t3 = this.style, needsSeparator = false, isAbsoluteAndNotRootRelative = false, t4 = ""; t1.moveNext$0();) {
  44954. t5 = t2.get$current(t2);
  44955. if (t3.isRootRelative$1(t5) && isAbsoluteAndNotRootRelative) {
  44956. parsed = A.ParsedPath_ParsedPath$parse(t5, t3);
  44957. path = t4.charCodeAt(0) == 0 ? t4 : t4;
  44958. t4 = B.JSString_methods.substring$2(path, 0, t3.rootLength$2$withDrive(path, true));
  44959. parsed.root = t4;
  44960. if (t3.needsSeparator$1(t4))
  44961. parsed.separators[0] = t3.get$separator(t3);
  44962. t4 = "" + parsed.toString$0(0);
  44963. } else if (t3.rootLength$1(t5) > 0) {
  44964. isAbsoluteAndNotRootRelative = !t3.isRootRelative$1(t5);
  44965. t4 = "" + t5;
  44966. } else {
  44967. if (!(t5.length !== 0 && t3.containsSeparator$1(t5[0])))
  44968. if (needsSeparator)
  44969. t4 += t3.get$separator(t3);
  44970. t4 += t5;
  44971. }
  44972. needsSeparator = t3.needsSeparator$1(t5);
  44973. }
  44974. return t4.charCodeAt(0) == 0 ? t4 : t4;
  44975. },
  44976. split$1(_, path) {
  44977. var parsed = A.ParsedPath_ParsedPath$parse(path, this.style),
  44978. t1 = parsed.parts,
  44979. t2 = A._arrayInstanceType(t1)._eval$1("WhereIterable<1>");
  44980. t1 = A.List_List$_of(new A.WhereIterable(t1, new A.Context_split_closure(), t2), t2._eval$1("Iterable.E"));
  44981. parsed.parts = t1;
  44982. t2 = parsed.root;
  44983. if (t2 != null)
  44984. B.JSArray_methods.insert$2(t1, 0, t2);
  44985. return parsed.parts;
  44986. },
  44987. canonicalize$1(_, path) {
  44988. var t1, parsed;
  44989. path = this.absolute$1(path);
  44990. t1 = this.style;
  44991. if (t1 !== $.$get$Style_windows() && !this._needsNormalization$1(path))
  44992. return path;
  44993. parsed = A.ParsedPath_ParsedPath$parse(path, t1);
  44994. parsed.normalize$1$canonicalize(true);
  44995. return parsed.toString$0(0);
  44996. },
  44997. normalize$1(path) {
  44998. var parsed;
  44999. if (!this._needsNormalization$1(path))
  45000. return path;
  45001. parsed = A.ParsedPath_ParsedPath$parse(path, this.style);
  45002. parsed.normalize$0();
  45003. return parsed.toString$0(0);
  45004. },
  45005. _needsNormalization$1(path) {
  45006. var i, start, previous, t2, t3, previousPrevious, codeUnit, t4,
  45007. t1 = this.style,
  45008. root = t1.rootLength$1(path);
  45009. if (root !== 0) {
  45010. if (t1 === $.$get$Style_windows())
  45011. for (i = 0; i < root; ++i)
  45012. if (path.charCodeAt(i) === 47)
  45013. return true;
  45014. start = root;
  45015. previous = 47;
  45016. } else {
  45017. start = 0;
  45018. previous = null;
  45019. }
  45020. for (t2 = new A.CodeUnits(path)._string, t3 = t2.length, i = start, previousPrevious = null; i < t3; ++i, previousPrevious = previous, previous = codeUnit) {
  45021. codeUnit = t2.charCodeAt(i);
  45022. if (t1.isSeparator$1(codeUnit)) {
  45023. if (t1 === $.$get$Style_windows() && codeUnit === 47)
  45024. return true;
  45025. if (previous != null && t1.isSeparator$1(previous))
  45026. return true;
  45027. if (previous === 46)
  45028. t4 = previousPrevious == null || previousPrevious === 46 || t1.isSeparator$1(previousPrevious);
  45029. else
  45030. t4 = false;
  45031. if (t4)
  45032. return true;
  45033. }
  45034. }
  45035. if (previous == null)
  45036. return true;
  45037. if (t1.isSeparator$1(previous))
  45038. return true;
  45039. if (previous === 46)
  45040. t1 = previousPrevious == null || t1.isSeparator$1(previousPrevious) || previousPrevious === 46;
  45041. else
  45042. t1 = false;
  45043. if (t1)
  45044. return true;
  45045. return false;
  45046. },
  45047. relative$2$from(path, from) {
  45048. var fromParsed, pathParsed, t2, t3, _this = this,
  45049. _s26_ = 'Unable to find a path to "',
  45050. t1 = from == null;
  45051. if (t1 && _this.style.rootLength$1(path) <= 0)
  45052. return _this.normalize$1(path);
  45053. if (t1) {
  45054. t1 = _this._context$_current;
  45055. from = t1 == null ? A.current() : t1;
  45056. } else
  45057. from = _this.absolute$1(from);
  45058. t1 = _this.style;
  45059. if (t1.rootLength$1(from) <= 0 && t1.rootLength$1(path) > 0)
  45060. return _this.normalize$1(path);
  45061. if (t1.rootLength$1(path) <= 0 || t1.isRootRelative$1(path))
  45062. path = _this.absolute$1(path);
  45063. if (t1.rootLength$1(path) <= 0 && t1.rootLength$1(from) > 0)
  45064. throw A.wrapException(A.PathException$(_s26_ + path + '" from "' + from + '".'));
  45065. fromParsed = A.ParsedPath_ParsedPath$parse(from, t1);
  45066. fromParsed.normalize$0();
  45067. pathParsed = A.ParsedPath_ParsedPath$parse(path, t1);
  45068. pathParsed.normalize$0();
  45069. t2 = fromParsed.parts;
  45070. if (t2.length !== 0 && t2[0] === ".")
  45071. return pathParsed.toString$0(0);
  45072. t2 = fromParsed.root;
  45073. t3 = pathParsed.root;
  45074. if (t2 != t3)
  45075. t2 = t2 == null || t3 == null || !t1.pathsEqual$2(t2, t3);
  45076. else
  45077. t2 = false;
  45078. if (t2)
  45079. return pathParsed.toString$0(0);
  45080. while (true) {
  45081. t2 = fromParsed.parts;
  45082. if (t2.length !== 0) {
  45083. t3 = pathParsed.parts;
  45084. t2 = t3.length !== 0 && t1.pathsEqual$2(t2[0], t3[0]);
  45085. } else
  45086. t2 = false;
  45087. if (!t2)
  45088. break;
  45089. B.JSArray_methods.removeAt$1(fromParsed.parts, 0);
  45090. B.JSArray_methods.removeAt$1(fromParsed.separators, 1);
  45091. B.JSArray_methods.removeAt$1(pathParsed.parts, 0);
  45092. B.JSArray_methods.removeAt$1(pathParsed.separators, 1);
  45093. }
  45094. t2 = fromParsed.parts;
  45095. t3 = t2.length;
  45096. if (t3 !== 0 && t2[0] === "..")
  45097. throw A.wrapException(A.PathException$(_s26_ + path + '" from "' + from + '".'));
  45098. t2 = type$.String;
  45099. B.JSArray_methods.insertAll$2(pathParsed.parts, 0, A.List_List$filled(t3, "..", false, t2));
  45100. t3 = pathParsed.separators;
  45101. t3[0] = "";
  45102. B.JSArray_methods.insertAll$2(t3, 1, A.List_List$filled(fromParsed.parts.length, t1.get$separator(t1), false, t2));
  45103. t1 = pathParsed.parts;
  45104. t2 = t1.length;
  45105. if (t2 === 0)
  45106. return ".";
  45107. if (t2 > 1 && J.$eq$(B.JSArray_methods.get$last(t1), ".")) {
  45108. B.JSArray_methods.removeLast$0(pathParsed.parts);
  45109. t1 = pathParsed.separators;
  45110. t1.pop();
  45111. t1.pop();
  45112. t1.push("");
  45113. }
  45114. pathParsed.root = "";
  45115. pathParsed.removeTrailingSeparators$0();
  45116. return pathParsed.toString$0(0);
  45117. },
  45118. relative$1(path) {
  45119. return this.relative$2$from(path, null);
  45120. },
  45121. _isWithinOrEquals$2($parent, child) {
  45122. var relative, t1, parentIsAbsolute, childIsAbsolute, childIsRootRelative, parentIsRootRelative, result, exception, _this = this;
  45123. $parent = $parent;
  45124. child = child;
  45125. t1 = _this.style;
  45126. parentIsAbsolute = t1.rootLength$1($parent) > 0;
  45127. childIsAbsolute = t1.rootLength$1(child) > 0;
  45128. if (parentIsAbsolute && !childIsAbsolute) {
  45129. child = _this.absolute$1(child);
  45130. if (t1.isRootRelative$1($parent))
  45131. $parent = _this.absolute$1($parent);
  45132. } else if (childIsAbsolute && !parentIsAbsolute) {
  45133. $parent = _this.absolute$1($parent);
  45134. if (t1.isRootRelative$1(child))
  45135. child = _this.absolute$1(child);
  45136. } else if (childIsAbsolute && parentIsAbsolute) {
  45137. childIsRootRelative = t1.isRootRelative$1(child);
  45138. parentIsRootRelative = t1.isRootRelative$1($parent);
  45139. if (childIsRootRelative && !parentIsRootRelative)
  45140. child = _this.absolute$1(child);
  45141. else if (parentIsRootRelative && !childIsRootRelative)
  45142. $parent = _this.absolute$1($parent);
  45143. }
  45144. result = _this._isWithinOrEqualsFast$2($parent, child);
  45145. if (result !== B._PathRelation_inconclusive)
  45146. return result;
  45147. relative = null;
  45148. try {
  45149. relative = _this.relative$2$from(child, $parent);
  45150. } catch (exception) {
  45151. if (A.unwrapException(exception) instanceof A.PathException)
  45152. return B._PathRelation_different;
  45153. else
  45154. throw exception;
  45155. }
  45156. if (t1.rootLength$1(relative) > 0)
  45157. return B._PathRelation_different;
  45158. if (J.$eq$(relative, "."))
  45159. return B._PathRelation_equal;
  45160. if (J.$eq$(relative, ".."))
  45161. return B._PathRelation_different;
  45162. 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;
  45163. },
  45164. _isWithinOrEqualsFast$2($parent, child) {
  45165. var t1, parentRootLength, childRootLength, i, t2, t3, childIndex, parentIndex, lastCodeUnit, lastParentSeparator, parentCodeUnit, childCodeUnit, parentIndex0, direction, _this = this;
  45166. if ($parent === ".")
  45167. $parent = "";
  45168. t1 = _this.style;
  45169. parentRootLength = t1.rootLength$1($parent);
  45170. childRootLength = t1.rootLength$1(child);
  45171. if (parentRootLength !== childRootLength)
  45172. return B._PathRelation_different;
  45173. for (i = 0; i < parentRootLength; ++i)
  45174. if (!t1.codeUnitsEqual$2($parent.charCodeAt(i), child.charCodeAt(i)))
  45175. return B._PathRelation_different;
  45176. t2 = child.length;
  45177. t3 = $parent.length;
  45178. childIndex = childRootLength;
  45179. parentIndex = parentRootLength;
  45180. lastCodeUnit = 47;
  45181. lastParentSeparator = null;
  45182. while (true) {
  45183. if (!(parentIndex < t3 && childIndex < t2))
  45184. break;
  45185. c$0: {
  45186. parentCodeUnit = $parent.charCodeAt(parentIndex);
  45187. childCodeUnit = child.charCodeAt(childIndex);
  45188. if (t1.codeUnitsEqual$2(parentCodeUnit, childCodeUnit)) {
  45189. if (t1.isSeparator$1(parentCodeUnit))
  45190. lastParentSeparator = parentIndex;
  45191. ++parentIndex;
  45192. ++childIndex;
  45193. lastCodeUnit = parentCodeUnit;
  45194. break c$0;
  45195. }
  45196. if (t1.isSeparator$1(parentCodeUnit) && t1.isSeparator$1(lastCodeUnit)) {
  45197. parentIndex0 = parentIndex + 1;
  45198. lastParentSeparator = parentIndex;
  45199. parentIndex = parentIndex0;
  45200. break c$0;
  45201. } else if (t1.isSeparator$1(childCodeUnit) && t1.isSeparator$1(lastCodeUnit)) {
  45202. ++childIndex;
  45203. break c$0;
  45204. }
  45205. if (parentCodeUnit === 46 && t1.isSeparator$1(lastCodeUnit)) {
  45206. ++parentIndex;
  45207. if (parentIndex === t3)
  45208. break;
  45209. parentCodeUnit = $parent.charCodeAt(parentIndex);
  45210. if (t1.isSeparator$1(parentCodeUnit)) {
  45211. parentIndex0 = parentIndex + 1;
  45212. lastParentSeparator = parentIndex;
  45213. parentIndex = parentIndex0;
  45214. break c$0;
  45215. }
  45216. if (parentCodeUnit === 46) {
  45217. ++parentIndex;
  45218. if (parentIndex === t3 || t1.isSeparator$1($parent.charCodeAt(parentIndex)))
  45219. return B._PathRelation_inconclusive;
  45220. }
  45221. }
  45222. if (childCodeUnit === 46 && t1.isSeparator$1(lastCodeUnit)) {
  45223. ++childIndex;
  45224. if (childIndex === t2)
  45225. break;
  45226. childCodeUnit = child.charCodeAt(childIndex);
  45227. if (t1.isSeparator$1(childCodeUnit)) {
  45228. ++childIndex;
  45229. break c$0;
  45230. }
  45231. if (childCodeUnit === 46) {
  45232. ++childIndex;
  45233. if (childIndex === t2 || t1.isSeparator$1(child.charCodeAt(childIndex)))
  45234. return B._PathRelation_inconclusive;
  45235. }
  45236. }
  45237. if (_this._pathDirection$2(child, childIndex) !== B._PathDirection_Wme)
  45238. return B._PathRelation_inconclusive;
  45239. if (_this._pathDirection$2($parent, parentIndex) !== B._PathDirection_Wme)
  45240. return B._PathRelation_inconclusive;
  45241. return B._PathRelation_different;
  45242. }
  45243. }
  45244. if (childIndex === t2) {
  45245. if (parentIndex === t3 || t1.isSeparator$1($parent.charCodeAt(parentIndex)))
  45246. lastParentSeparator = parentIndex;
  45247. else if (lastParentSeparator == null)
  45248. lastParentSeparator = Math.max(0, parentRootLength - 1);
  45249. direction = _this._pathDirection$2($parent, lastParentSeparator);
  45250. if (direction === B._PathDirection_dMN)
  45251. return B._PathRelation_equal;
  45252. return direction === B._PathDirection_vgO ? B._PathRelation_inconclusive : B._PathRelation_different;
  45253. }
  45254. direction = _this._pathDirection$2(child, childIndex);
  45255. if (direction === B._PathDirection_dMN)
  45256. return B._PathRelation_equal;
  45257. if (direction === B._PathDirection_vgO)
  45258. return B._PathRelation_inconclusive;
  45259. return t1.isSeparator$1(child.charCodeAt(childIndex)) || t1.isSeparator$1(lastCodeUnit) ? B._PathRelation_within : B._PathRelation_different;
  45260. },
  45261. _pathDirection$2(path, index) {
  45262. var t1, t2, i, depth, reachedRoot, i0, t3;
  45263. for (t1 = path.length, t2 = this.style, i = index, depth = 0, reachedRoot = false; i < t1;) {
  45264. while (true) {
  45265. if (!(i < t1 && t2.isSeparator$1(path.charCodeAt(i))))
  45266. break;
  45267. ++i;
  45268. }
  45269. if (i === t1)
  45270. break;
  45271. i0 = i;
  45272. while (true) {
  45273. if (!(i0 < t1 && !t2.isSeparator$1(path.charCodeAt(i0))))
  45274. break;
  45275. ++i0;
  45276. }
  45277. t3 = i0 - i;
  45278. if (!(t3 === 1 && path.charCodeAt(i) === 46))
  45279. if (t3 === 2 && path.charCodeAt(i) === 46 && path.charCodeAt(i + 1) === 46) {
  45280. --depth;
  45281. if (depth < 0)
  45282. break;
  45283. if (depth === 0)
  45284. reachedRoot = true;
  45285. } else
  45286. ++depth;
  45287. if (i0 === t1)
  45288. break;
  45289. i = i0 + 1;
  45290. }
  45291. if (depth < 0)
  45292. return B._PathDirection_vgO;
  45293. if (depth === 0)
  45294. return B._PathDirection_dMN;
  45295. if (reachedRoot)
  45296. return B._PathDirection_6kc;
  45297. return B._PathDirection_Wme;
  45298. },
  45299. hash$1(path) {
  45300. var result, parsed, t1, _this = this;
  45301. path = _this.absolute$1(path);
  45302. result = _this._hashFast$1(path);
  45303. if (result != null)
  45304. return result;
  45305. parsed = A.ParsedPath_ParsedPath$parse(path, _this.style);
  45306. parsed.normalize$0();
  45307. t1 = _this._hashFast$1(parsed.toString$0(0));
  45308. t1.toString;
  45309. return t1;
  45310. },
  45311. _hashFast$1(path) {
  45312. var t1, t2, hash, beginning, wasSeparator, i, codeUnit, t3, next;
  45313. for (t1 = path.length, t2 = this.style, hash = 4603, beginning = true, wasSeparator = true, i = 0; i < t1; ++i) {
  45314. codeUnit = t2.canonicalizeCodeUnit$1(path.charCodeAt(i));
  45315. if (t2.isSeparator$1(codeUnit)) {
  45316. wasSeparator = true;
  45317. continue;
  45318. }
  45319. if (codeUnit === 46 && wasSeparator) {
  45320. t3 = i + 1;
  45321. if (t3 === t1)
  45322. break;
  45323. next = path.charCodeAt(t3);
  45324. if (t2.isSeparator$1(next))
  45325. continue;
  45326. t3 = false;
  45327. if (!beginning)
  45328. if (next === 46) {
  45329. t3 = i + 2;
  45330. t3 = t3 === t1 || t2.isSeparator$1(path.charCodeAt(t3));
  45331. }
  45332. if (t3)
  45333. return null;
  45334. }
  45335. hash = ((hash & 67108863) * 33 ^ codeUnit) >>> 0;
  45336. beginning = false;
  45337. wasSeparator = false;
  45338. }
  45339. return hash;
  45340. },
  45341. withoutExtension$1(path) {
  45342. var t1, i,
  45343. parsed = A.ParsedPath_ParsedPath$parse(path, this.style);
  45344. for (t1 = parsed.parts, i = t1.length - 1; i >= 0; --i)
  45345. if (t1[i].length !== 0) {
  45346. t1[i] = parsed._splitExtension$0()[0];
  45347. break;
  45348. }
  45349. return parsed.toString$0(0);
  45350. },
  45351. toUri$1(path) {
  45352. var t2,
  45353. t1 = this.style;
  45354. if (t1.rootLength$1(path) <= 0)
  45355. return t1.relativePathToUri$1(path);
  45356. else {
  45357. t2 = this._context$_current;
  45358. return t1.absolutePathToUri$1(this.join$2(0, t2 == null ? A.current() : t2, path));
  45359. }
  45360. },
  45361. prettyUri$1(uri) {
  45362. var path, rel, _this = this,
  45363. typedUri = A._parseUri(uri);
  45364. if (typedUri.get$scheme() === "file" && _this.style === $.$get$Style_url())
  45365. return typedUri.toString$0(0);
  45366. else if (typedUri.get$scheme() !== "file" && typedUri.get$scheme() !== "" && _this.style !== $.$get$Style_url())
  45367. return typedUri.toString$0(0);
  45368. path = _this.normalize$1(_this.style.pathFromUri$1(A._parseUri(typedUri)));
  45369. rel = _this.relative$1(path);
  45370. return _this.split$1(0, rel).length > _this.split$1(0, path).length ? path : rel;
  45371. }
  45372. };
  45373. A.Context_joinAll_closure.prototype = {
  45374. call$1(part) {
  45375. return part !== "";
  45376. },
  45377. $signature: 5
  45378. };
  45379. A.Context_split_closure.prototype = {
  45380. call$1(part) {
  45381. return part.length !== 0;
  45382. },
  45383. $signature: 5
  45384. };
  45385. A._validateArgList_closure.prototype = {
  45386. call$1(arg) {
  45387. return arg == null ? "null" : '"' + arg + '"';
  45388. },
  45389. $signature: 392
  45390. };
  45391. A._PathDirection.prototype = {
  45392. toString$0(_) {
  45393. return this.name;
  45394. }
  45395. };
  45396. A._PathRelation.prototype = {
  45397. toString$0(_) {
  45398. return this.name;
  45399. }
  45400. };
  45401. A.InternalStyle.prototype = {
  45402. getRoot$1(path) {
  45403. var $length = this.rootLength$1(path);
  45404. if ($length > 0)
  45405. return B.JSString_methods.substring$2(path, 0, $length);
  45406. return this.isRootRelative$1(path) ? path[0] : null;
  45407. },
  45408. relativePathToUri$1(path) {
  45409. var segments, _null = null,
  45410. t1 = path.length;
  45411. if (t1 === 0)
  45412. return A._Uri__Uri(_null, _null, _null, _null);
  45413. segments = A.Context_Context(this).split$1(0, path);
  45414. if (this.isSeparator$1(path.charCodeAt(t1 - 1)))
  45415. B.JSArray_methods.add$1(segments, "");
  45416. return A._Uri__Uri(_null, _null, segments, _null);
  45417. },
  45418. codeUnitsEqual$2(codeUnit1, codeUnit2) {
  45419. return codeUnit1 === codeUnit2;
  45420. },
  45421. pathsEqual$2(path1, path2) {
  45422. return path1 === path2;
  45423. },
  45424. canonicalizeCodeUnit$1(codeUnit) {
  45425. return codeUnit;
  45426. },
  45427. canonicalizePart$1(part) {
  45428. return part;
  45429. }
  45430. };
  45431. A.ParsedPath.prototype = {
  45432. get$basename() {
  45433. var _this = this,
  45434. t1 = type$.String,
  45435. 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));
  45436. copy.removeTrailingSeparators$0();
  45437. t1 = copy.parts;
  45438. if (t1.length === 0) {
  45439. t1 = _this.root;
  45440. return t1 == null ? "" : t1;
  45441. }
  45442. return B.JSArray_methods.get$last(t1);
  45443. },
  45444. get$hasTrailingSeparator() {
  45445. var t1 = this.parts;
  45446. if (t1.length !== 0)
  45447. t1 = J.$eq$(B.JSArray_methods.get$last(t1), "") || !J.$eq$(B.JSArray_methods.get$last(this.separators), "");
  45448. else
  45449. t1 = false;
  45450. return t1;
  45451. },
  45452. removeTrailingSeparators$0() {
  45453. var t1, t2, _this = this;
  45454. while (true) {
  45455. t1 = _this.parts;
  45456. if (!(t1.length !== 0 && J.$eq$(B.JSArray_methods.get$last(t1), "")))
  45457. break;
  45458. B.JSArray_methods.removeLast$0(_this.parts);
  45459. _this.separators.pop();
  45460. }
  45461. t1 = _this.separators;
  45462. t2 = t1.length;
  45463. if (t2 !== 0)
  45464. t1[t2 - 1] = "";
  45465. },
  45466. normalize$1$canonicalize(canonicalize) {
  45467. var t1, t2, t3, leadingDoubles, _i, part, _this = this,
  45468. newParts = A._setArrayType([], type$.JSArray_String);
  45469. 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) {
  45470. part = t1[_i];
  45471. if (!(part === "." || part === ""))
  45472. if (part === "..")
  45473. if (newParts.length !== 0)
  45474. newParts.pop();
  45475. else
  45476. ++leadingDoubles;
  45477. else
  45478. newParts.push(canonicalize ? t3.canonicalizePart$1(part) : part);
  45479. }
  45480. if (_this.root == null)
  45481. B.JSArray_methods.insertAll$2(newParts, 0, A.List_List$filled(leadingDoubles, "..", false, type$.String));
  45482. if (newParts.length === 0 && _this.root == null)
  45483. newParts.push(".");
  45484. _this.parts = newParts;
  45485. _this.separators = A.List_List$filled(newParts.length + 1, t3.get$separator(t3), true, type$.String);
  45486. t1 = _this.root;
  45487. if (t1 == null || newParts.length === 0 || !t3.needsSeparator$1(t1))
  45488. _this.separators[0] = "";
  45489. t1 = _this.root;
  45490. if (t1 != null && t3 === $.$get$Style_windows()) {
  45491. if (canonicalize)
  45492. t1 = _this.root = t1.toLowerCase();
  45493. _this.root = A.stringReplaceAllUnchecked(t1, "/", "\\");
  45494. }
  45495. _this.removeTrailingSeparators$0();
  45496. },
  45497. normalize$0() {
  45498. return this.normalize$1$canonicalize(false);
  45499. },
  45500. toString$0(_) {
  45501. var t2, t3, t4, i,
  45502. t1 = this.root;
  45503. t1 = t1 != null ? "" + t1 : "";
  45504. for (t2 = this.parts, t3 = t2.length, t4 = this.separators, i = 0; i < t3; ++i)
  45505. t1 = t1 + t4[i] + t2[i];
  45506. t1 += A.S(B.JSArray_methods.get$last(t4));
  45507. return t1.charCodeAt(0) == 0 ? t1 : t1;
  45508. },
  45509. _kthLastIndexOf$3(path, character, k) {
  45510. var index, count, leftMostIndexedCharacter;
  45511. for (index = path.length - 1, count = 0, leftMostIndexedCharacter = 0; index >= 0; --index)
  45512. if (path[index] === character) {
  45513. ++count;
  45514. if (count === k)
  45515. return index;
  45516. leftMostIndexedCharacter = index;
  45517. }
  45518. return leftMostIndexedCharacter;
  45519. },
  45520. _splitExtension$1(level) {
  45521. var t1, file, lastDot;
  45522. if (level <= 0)
  45523. throw A.wrapException(A.RangeError$value(level, "level", "level's value must be greater than 0"));
  45524. t1 = this.parts;
  45525. t1 = new A.CastList(t1, A._arrayInstanceType(t1)._eval$1("CastList<1,String?>"));
  45526. file = t1.lastWhere$2$orElse(t1, new A.ParsedPath__splitExtension_closure(), new A.ParsedPath__splitExtension_closure0());
  45527. if (file == null)
  45528. return A._setArrayType(["", ""], type$.JSArray_String);
  45529. if (file === "..")
  45530. return A._setArrayType(["..", ""], type$.JSArray_String);
  45531. lastDot = this._kthLastIndexOf$3(file, ".", level);
  45532. if (lastDot <= 0)
  45533. return A._setArrayType([file, ""], type$.JSArray_String);
  45534. return A._setArrayType([B.JSString_methods.substring$2(file, 0, lastDot), B.JSString_methods.substring$1(file, lastDot)], type$.JSArray_String);
  45535. },
  45536. _splitExtension$0() {
  45537. return this._splitExtension$1(1);
  45538. }
  45539. };
  45540. A.ParsedPath__splitExtension_closure.prototype = {
  45541. call$1(p) {
  45542. return p !== "";
  45543. },
  45544. $signature: 271
  45545. };
  45546. A.ParsedPath__splitExtension_closure0.prototype = {
  45547. call$0() {
  45548. return null;
  45549. },
  45550. $signature: 1
  45551. };
  45552. A.PathException.prototype = {
  45553. toString$0(_) {
  45554. return "PathException: " + this.message;
  45555. },
  45556. $isException: 1,
  45557. get$message(receiver) {
  45558. return this.message;
  45559. }
  45560. };
  45561. A.PathMap.prototype = {};
  45562. A.PathMap__create_closure.prototype = {
  45563. call$2(path1, path2) {
  45564. if (path1 == null)
  45565. return path2 == null;
  45566. if (path2 == null)
  45567. return false;
  45568. return this._box_0.context._isWithinOrEquals$2(path1, path2) === B._PathRelation_equal;
  45569. },
  45570. $signature: 450
  45571. };
  45572. A.PathMap__create_closure0.prototype = {
  45573. call$1(path) {
  45574. return path == null ? 0 : this._box_0.context.hash$1(path);
  45575. },
  45576. $signature: 470
  45577. };
  45578. A.PathMap__create_closure1.prototype = {
  45579. call$1(path) {
  45580. return typeof path == "string" || path == null;
  45581. },
  45582. $signature: 482
  45583. };
  45584. A.Style.prototype = {
  45585. toString$0(_) {
  45586. return this.get$name(this);
  45587. }
  45588. };
  45589. A.PosixStyle.prototype = {
  45590. containsSeparator$1(path) {
  45591. return B.JSString_methods.contains$1(path, "/");
  45592. },
  45593. isSeparator$1(codeUnit) {
  45594. return codeUnit === 47;
  45595. },
  45596. needsSeparator$1(path) {
  45597. var t1 = path.length;
  45598. return t1 !== 0 && path.charCodeAt(t1 - 1) !== 47;
  45599. },
  45600. rootLength$2$withDrive(path, withDrive) {
  45601. if (path.length !== 0 && path.charCodeAt(0) === 47)
  45602. return 1;
  45603. return 0;
  45604. },
  45605. rootLength$1(path) {
  45606. return this.rootLength$2$withDrive(path, false);
  45607. },
  45608. isRootRelative$1(path) {
  45609. return false;
  45610. },
  45611. pathFromUri$1(uri) {
  45612. var t1;
  45613. if (uri.get$scheme() === "" || uri.get$scheme() === "file") {
  45614. t1 = uri.get$path(uri);
  45615. return A._Uri__uriDecode(t1, 0, t1.length, B.C_Utf8Codec, false);
  45616. }
  45617. throw A.wrapException(A.ArgumentError$("Uri " + uri.toString$0(0) + " must have scheme 'file:'.", null));
  45618. },
  45619. absolutePathToUri$1(path) {
  45620. var parsed = A.ParsedPath_ParsedPath$parse(path, this),
  45621. t1 = parsed.parts;
  45622. if (t1.length === 0)
  45623. B.JSArray_methods.addAll$1(t1, A._setArrayType(["", ""], type$.JSArray_String));
  45624. else if (parsed.get$hasTrailingSeparator())
  45625. B.JSArray_methods.add$1(parsed.parts, "");
  45626. return A._Uri__Uri(null, null, parsed.parts, "file");
  45627. },
  45628. get$name() {
  45629. return "posix";
  45630. },
  45631. get$separator() {
  45632. return "/";
  45633. }
  45634. };
  45635. A.UrlStyle.prototype = {
  45636. containsSeparator$1(path) {
  45637. return B.JSString_methods.contains$1(path, "/");
  45638. },
  45639. isSeparator$1(codeUnit) {
  45640. return codeUnit === 47;
  45641. },
  45642. needsSeparator$1(path) {
  45643. var t1 = path.length;
  45644. if (t1 === 0)
  45645. return false;
  45646. if (path.charCodeAt(t1 - 1) !== 47)
  45647. return true;
  45648. return B.JSString_methods.endsWith$1(path, "://") && this.rootLength$1(path) === t1;
  45649. },
  45650. rootLength$2$withDrive(path, withDrive) {
  45651. var i, codeUnit, index,
  45652. t1 = path.length;
  45653. if (t1 === 0)
  45654. return 0;
  45655. if (path.charCodeAt(0) === 47)
  45656. return 1;
  45657. for (i = 0; i < t1; ++i) {
  45658. codeUnit = path.charCodeAt(i);
  45659. if (codeUnit === 47)
  45660. return 0;
  45661. if (codeUnit === 58) {
  45662. if (i === 0)
  45663. return 0;
  45664. index = B.JSString_methods.indexOf$2(path, "/", B.JSString_methods.startsWith$2(path, "//", i + 1) ? i + 3 : i);
  45665. if (index <= 0)
  45666. return t1;
  45667. if (!withDrive || t1 < index + 3)
  45668. return index;
  45669. if (!B.JSString_methods.startsWith$1(path, "file://"))
  45670. return index;
  45671. t1 = A.driveLetterEnd(path, index + 1);
  45672. return t1 == null ? index : t1;
  45673. }
  45674. }
  45675. return 0;
  45676. },
  45677. rootLength$1(path) {
  45678. return this.rootLength$2$withDrive(path, false);
  45679. },
  45680. isRootRelative$1(path) {
  45681. return path.length !== 0 && path.charCodeAt(0) === 47;
  45682. },
  45683. pathFromUri$1(uri) {
  45684. return uri.toString$0(0);
  45685. },
  45686. relativePathToUri$1(path) {
  45687. return A.Uri_parse(path);
  45688. },
  45689. absolutePathToUri$1(path) {
  45690. return A.Uri_parse(path);
  45691. },
  45692. get$name() {
  45693. return "url";
  45694. },
  45695. get$separator() {
  45696. return "/";
  45697. }
  45698. };
  45699. A.WindowsStyle.prototype = {
  45700. containsSeparator$1(path) {
  45701. return B.JSString_methods.contains$1(path, "/");
  45702. },
  45703. isSeparator$1(codeUnit) {
  45704. return codeUnit === 47 || codeUnit === 92;
  45705. },
  45706. needsSeparator$1(path) {
  45707. var t1 = path.length;
  45708. if (t1 === 0)
  45709. return false;
  45710. t1 = path.charCodeAt(t1 - 1);
  45711. return !(t1 === 47 || t1 === 92);
  45712. },
  45713. rootLength$2$withDrive(path, withDrive) {
  45714. var index,
  45715. t1 = path.length;
  45716. if (t1 === 0)
  45717. return 0;
  45718. if (path.charCodeAt(0) === 47)
  45719. return 1;
  45720. if (path.charCodeAt(0) === 92) {
  45721. if (t1 < 2 || path.charCodeAt(1) !== 92)
  45722. return 1;
  45723. index = B.JSString_methods.indexOf$2(path, "\\", 2);
  45724. if (index > 0) {
  45725. index = B.JSString_methods.indexOf$2(path, "\\", index + 1);
  45726. if (index > 0)
  45727. return index;
  45728. }
  45729. return t1;
  45730. }
  45731. if (t1 < 3)
  45732. return 0;
  45733. if (!A.isAlphabetic(path.charCodeAt(0)))
  45734. return 0;
  45735. if (path.charCodeAt(1) !== 58)
  45736. return 0;
  45737. t1 = path.charCodeAt(2);
  45738. if (!(t1 === 47 || t1 === 92))
  45739. return 0;
  45740. return 3;
  45741. },
  45742. rootLength$1(path) {
  45743. return this.rootLength$2$withDrive(path, false);
  45744. },
  45745. isRootRelative$1(path) {
  45746. return this.rootLength$1(path) === 1;
  45747. },
  45748. pathFromUri$1(uri) {
  45749. var path, t1;
  45750. if (uri.get$scheme() !== "" && uri.get$scheme() !== "file")
  45751. throw A.wrapException(A.ArgumentError$("Uri " + uri.toString$0(0) + " must have scheme 'file:'.", null));
  45752. path = uri.get$path(uri);
  45753. if (uri.get$host() === "") {
  45754. if (path.length >= 3 && B.JSString_methods.startsWith$1(path, "/") && A.driveLetterEnd(path, 1) != null)
  45755. path = B.JSString_methods.replaceFirst$2(path, "/", "");
  45756. } else
  45757. path = "\\\\" + uri.get$host() + path;
  45758. t1 = A.stringReplaceAllUnchecked(path, "/", "\\");
  45759. return A._Uri__uriDecode(t1, 0, t1.length, B.C_Utf8Codec, false);
  45760. },
  45761. absolutePathToUri$1(path) {
  45762. var rootParts, t2,
  45763. parsed = A.ParsedPath_ParsedPath$parse(path, this),
  45764. t1 = parsed.root;
  45765. t1.toString;
  45766. if (B.JSString_methods.startsWith$1(t1, "\\\\")) {
  45767. rootParts = new A.WhereIterable(A._setArrayType(t1.split("\\"), type$.JSArray_String), new A.WindowsStyle_absolutePathToUri_closure(), type$.WhereIterable_String);
  45768. B.JSArray_methods.insert$2(parsed.parts, 0, rootParts.get$last(0));
  45769. if (parsed.get$hasTrailingSeparator())
  45770. B.JSArray_methods.add$1(parsed.parts, "");
  45771. return A._Uri__Uri(rootParts.get$first(0), null, parsed.parts, "file");
  45772. } else {
  45773. if (parsed.parts.length === 0 || parsed.get$hasTrailingSeparator())
  45774. B.JSArray_methods.add$1(parsed.parts, "");
  45775. t1 = parsed.parts;
  45776. t2 = parsed.root;
  45777. t2.toString;
  45778. t2 = A.stringReplaceAllUnchecked(t2, "/", "");
  45779. B.JSArray_methods.insert$2(t1, 0, A.stringReplaceAllUnchecked(t2, "\\", ""));
  45780. return A._Uri__Uri(null, null, parsed.parts, "file");
  45781. }
  45782. },
  45783. codeUnitsEqual$2(codeUnit1, codeUnit2) {
  45784. var upperCase1;
  45785. if (codeUnit1 === codeUnit2)
  45786. return true;
  45787. if (codeUnit1 === 47)
  45788. return codeUnit2 === 92;
  45789. if (codeUnit1 === 92)
  45790. return codeUnit2 === 47;
  45791. if ((codeUnit1 ^ codeUnit2) !== 32)
  45792. return false;
  45793. upperCase1 = codeUnit1 | 32;
  45794. return upperCase1 >= 97 && upperCase1 <= 122;
  45795. },
  45796. pathsEqual$2(path1, path2) {
  45797. var t1, i;
  45798. if (path1 === path2)
  45799. return true;
  45800. t1 = path1.length;
  45801. if (t1 !== path2.length)
  45802. return false;
  45803. for (i = 0; i < t1; ++i)
  45804. if (!this.codeUnitsEqual$2(path1.charCodeAt(i), path2.charCodeAt(i)))
  45805. return false;
  45806. return true;
  45807. },
  45808. canonicalizeCodeUnit$1(codeUnit) {
  45809. if (codeUnit === 47)
  45810. return 92;
  45811. if (codeUnit < 65)
  45812. return codeUnit;
  45813. if (codeUnit > 90)
  45814. return codeUnit;
  45815. return codeUnit | 32;
  45816. },
  45817. canonicalizePart$1(part) {
  45818. return part.toLowerCase();
  45819. },
  45820. get$name() {
  45821. return "windows";
  45822. },
  45823. get$separator() {
  45824. return "\\";
  45825. }
  45826. };
  45827. A.WindowsStyle_absolutePathToUri_closure.prototype = {
  45828. call$1(part) {
  45829. return part !== "";
  45830. },
  45831. $signature: 5
  45832. };
  45833. A.Version.prototype = {
  45834. get$min() {
  45835. return this;
  45836. },
  45837. get$max() {
  45838. return this;
  45839. },
  45840. get$includeMin() {
  45841. return true;
  45842. },
  45843. get$includeMax() {
  45844. return true;
  45845. },
  45846. $eq(_, other) {
  45847. var _this = this;
  45848. if (other == null)
  45849. return false;
  45850. return other instanceof A.Version && _this.major === other.major && _this.minor === other.minor && _this.patch === other.patch && B.C_IterableEquality.equals$2(0, _this.preRelease, other.preRelease) && B.C_IterableEquality.equals$2(0, _this.build, other.build);
  45851. },
  45852. get$hashCode(_) {
  45853. var _this = this;
  45854. return (_this.major ^ _this.minor ^ _this.patch ^ B.C_IterableEquality.hash$1(_this.preRelease) ^ B.C_IterableEquality.hash$1(_this.build)) >>> 0;
  45855. },
  45856. compareTo$1(_, other) {
  45857. var t1, t2, t3, comparison, _this = this;
  45858. if (other instanceof A.Version) {
  45859. t1 = _this.major;
  45860. t2 = other.major;
  45861. if (t1 !== t2)
  45862. return B.JSInt_methods.compareTo$1(t1, t2);
  45863. t1 = _this.minor;
  45864. t2 = other.minor;
  45865. if (t1 !== t2)
  45866. return B.JSInt_methods.compareTo$1(t1, t2);
  45867. t1 = _this.patch;
  45868. t2 = other.patch;
  45869. if (t1 !== t2)
  45870. return B.JSInt_methods.compareTo$1(t1, t2);
  45871. t1 = _this.preRelease;
  45872. t2 = t1.length === 0;
  45873. if (t2 && other.preRelease.length !== 0)
  45874. return 1;
  45875. t3 = other.preRelease;
  45876. if (t3.length === 0 && !t2)
  45877. return -1;
  45878. comparison = _this._compareLists$2(t1, t3);
  45879. if (comparison !== 0)
  45880. return comparison;
  45881. t1 = _this.build;
  45882. t2 = t1.length === 0;
  45883. if (t2 && other.build.length !== 0)
  45884. return -1;
  45885. t3 = other.build;
  45886. if (t3.length === 0 && !t2)
  45887. return 1;
  45888. return _this._compareLists$2(t1, t3);
  45889. } else
  45890. return -other.compareTo$1(0, _this);
  45891. },
  45892. toString$0(_) {
  45893. return this._version$_text;
  45894. },
  45895. _compareLists$2(a, b) {
  45896. var i, t1, t2, aPart, bPart;
  45897. for (i = 0; t1 = a.length, t2 = b.length, i < Math.max(t1, t2); ++i) {
  45898. aPart = i < t1 ? a[i] : null;
  45899. bPart = i < t2 ? b[i] : null;
  45900. if (J.$eq$(aPart, bPart))
  45901. continue;
  45902. if (aPart == null)
  45903. return -1;
  45904. if (bPart == null)
  45905. return 1;
  45906. if (typeof aPart == "number")
  45907. if (typeof bPart == "number")
  45908. return B.JSNumber_methods.compareTo$1(aPart, bPart);
  45909. else
  45910. return -1;
  45911. else if (typeof bPart == "number")
  45912. return 1;
  45913. else {
  45914. A._asString(aPart);
  45915. A._asString(bPart);
  45916. if (aPart === bPart)
  45917. t1 = 0;
  45918. else
  45919. t1 = aPart < bPart ? -1 : 1;
  45920. return t1;
  45921. }
  45922. }
  45923. return 0;
  45924. },
  45925. $isComparable: 1,
  45926. $isVersionRange: 1
  45927. };
  45928. A.Version__splitParts_closure.prototype = {
  45929. call$1(part) {
  45930. var t1 = A.Primitives_parseInt(part, null);
  45931. return t1 == null ? part : t1;
  45932. },
  45933. $signature: 596
  45934. };
  45935. A.VersionRange.prototype = {
  45936. $eq(_, other) {
  45937. var t1;
  45938. if (other == null)
  45939. return false;
  45940. if (!type$.VersionRange._is(other))
  45941. return false;
  45942. t1 = false;
  45943. if (this.min == other.get$min())
  45944. if (J.$eq$(this.max, other.get$max())) {
  45945. t1 = !other.get$includeMin();
  45946. if (t1)
  45947. other.get$includeMax();
  45948. }
  45949. return t1;
  45950. },
  45951. get$hashCode(_) {
  45952. var t1 = B.JSNull_methods.get$hashCode(this.min),
  45953. t2 = J.get$hashCode$(this.max);
  45954. return (t1 ^ t2 * 3 ^ 1090795 ^ 3633126) >>> 0;
  45955. },
  45956. allows$1(other) {
  45957. var t1 = this.max;
  45958. if (t1 != null)
  45959. if (other.compareTo$1(0, t1) > 0)
  45960. return false;
  45961. return true;
  45962. },
  45963. compareTo$1(_, other) {
  45964. if (other.get$min() == null)
  45965. return this._compareMax$1(other);
  45966. return -1;
  45967. },
  45968. _compareMax$1(other) {
  45969. var t2, result,
  45970. t1 = this.max;
  45971. if (t1 == null) {
  45972. if (other.get$max() == null)
  45973. return 0;
  45974. return 1;
  45975. } else if (other.get$max() == null)
  45976. return -1;
  45977. t2 = other.get$max();
  45978. t2.toString;
  45979. result = t1.compareTo$1(0, t2);
  45980. if (result !== 0)
  45981. return result;
  45982. other.get$includeMax();
  45983. return 0;
  45984. },
  45985. toString$0(_) {
  45986. var t2,
  45987. max = this.max,
  45988. t1 = max == null;
  45989. if (!t1)
  45990. t2 = "" + "<=" + max.toString$0(0);
  45991. else
  45992. t2 = "";
  45993. t1 = t1 ? t2 + "any" : t2;
  45994. return t1.charCodeAt(0) == 0 ? t1 : t1;
  45995. },
  45996. $isComparable: 1,
  45997. get$min() {
  45998. return this.min;
  45999. },
  46000. get$max() {
  46001. return this.max;
  46002. },
  46003. get$includeMin() {
  46004. return this.includeMin;
  46005. },
  46006. get$includeMax() {
  46007. return this.includeMax;
  46008. }
  46009. };
  46010. A.CssMediaQuery.prototype = {
  46011. merge$1(other) {
  46012. 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";
  46013. if (!_this.conjunction || !other.conjunction)
  46014. return B._SingletonCssMediaQueryMergeResult_1;
  46015. t1 = _this.modifier;
  46016. ourModifier = t1 == null ? _null : t1.toLowerCase();
  46017. t2 = _this.type;
  46018. t3 = t2 == null;
  46019. ourType = t3 ? _null : t2.toLowerCase();
  46020. t4 = other.modifier;
  46021. theirModifier = t4 == null ? _null : t4.toLowerCase();
  46022. t5 = other.type;
  46023. t6 = t5 == null;
  46024. theirType = t6 ? _null : t5.toLowerCase();
  46025. t7 = ourType == null;
  46026. if (t7 && theirType == null) {
  46027. t1 = A.List_List$_of(_this.conditions, type$.String);
  46028. B.JSArray_methods.addAll$1(t1, other.conditions);
  46029. return new A.MediaQuerySuccessfulMergeResult(A.CssMediaQuery$condition(t1, true));
  46030. }
  46031. t8 = ourModifier === "not";
  46032. if (t8 !== (theirModifier === "not")) {
  46033. if (ourType == theirType) {
  46034. negativeConditions = t8 ? _this.conditions : other.conditions;
  46035. if (B.JSArray_methods.every$1(negativeConditions, B.JSArray_methods.get$contains(t8 ? other.conditions : _this.conditions)))
  46036. return B._SingletonCssMediaQueryMergeResult_0;
  46037. else
  46038. return B._SingletonCssMediaQueryMergeResult_1;
  46039. } else if (t3 || A.equalsIgnoreCase(t2, _s3_) || t6 || A.equalsIgnoreCase(t5, _s3_))
  46040. return B._SingletonCssMediaQueryMergeResult_1;
  46041. if (t8) {
  46042. conditions = other.conditions;
  46043. type = theirType;
  46044. modifier = theirModifier;
  46045. } else {
  46046. conditions = _this.conditions;
  46047. type = ourType;
  46048. modifier = ourModifier;
  46049. }
  46050. } else if (t8) {
  46051. if (ourType != theirType)
  46052. return B._SingletonCssMediaQueryMergeResult_1;
  46053. fewerConditions = _this.conditions;
  46054. fewerConditions0 = other.conditions;
  46055. t3 = fewerConditions.length > fewerConditions0.length;
  46056. moreConditions = t3 ? fewerConditions : fewerConditions0;
  46057. if (t3)
  46058. fewerConditions = fewerConditions0;
  46059. if (!B.JSArray_methods.every$1(fewerConditions, B.JSArray_methods.get$contains(moreConditions)))
  46060. return B._SingletonCssMediaQueryMergeResult_1;
  46061. conditions = moreConditions;
  46062. type = ourType;
  46063. modifier = ourModifier;
  46064. } else if (t3 || A.equalsIgnoreCase(t2, _s3_)) {
  46065. type = (t6 || A.equalsIgnoreCase(t5, _s3_)) && t7 ? _null : theirType;
  46066. t3 = A.List_List$_of(_this.conditions, type$.String);
  46067. B.JSArray_methods.addAll$1(t3, other.conditions);
  46068. conditions = t3;
  46069. modifier = theirModifier;
  46070. } else {
  46071. if (t6 || A.equalsIgnoreCase(t5, _s3_)) {
  46072. t3 = A.List_List$_of(_this.conditions, type$.String);
  46073. B.JSArray_methods.addAll$1(t3, other.conditions);
  46074. conditions = t3;
  46075. modifier = ourModifier;
  46076. } else {
  46077. if (ourType != theirType)
  46078. return B._SingletonCssMediaQueryMergeResult_0;
  46079. else {
  46080. modifier = ourModifier == null ? theirModifier : ourModifier;
  46081. t3 = A.List_List$_of(_this.conditions, type$.String);
  46082. B.JSArray_methods.addAll$1(t3, other.conditions);
  46083. }
  46084. conditions = t3;
  46085. }
  46086. type = ourType;
  46087. }
  46088. t2 = type == ourType ? t2 : t5;
  46089. return new A.MediaQuerySuccessfulMergeResult(A.CssMediaQuery$type(t2, conditions, modifier == ourModifier ? t1 : t4));
  46090. },
  46091. $eq(_, other) {
  46092. if (other == null)
  46093. return false;
  46094. return other instanceof A.CssMediaQuery && other.modifier == this.modifier && other.type == this.type && B.C_ListEquality.equals$2(0, other.conditions, this.conditions);
  46095. },
  46096. get$hashCode(_) {
  46097. return J.get$hashCode$(this.modifier) ^ J.get$hashCode$(this.type) ^ B.C_ListEquality0.hash$1(this.conditions);
  46098. },
  46099. toString$0(_) {
  46100. var t2, _this = this,
  46101. t1 = _this.modifier;
  46102. t1 = t1 != null ? "" + (t1 + " ") : "";
  46103. t2 = _this.type;
  46104. if (t2 != null) {
  46105. t1 += t2;
  46106. if (_this.conditions.length !== 0)
  46107. t1 += " and ";
  46108. }
  46109. t2 = _this.conjunction ? " and " : " or ";
  46110. t2 = t1 + B.JSArray_methods.join$1(_this.conditions, t2);
  46111. return t2.charCodeAt(0) == 0 ? t2 : t2;
  46112. }
  46113. };
  46114. A._SingletonCssMediaQueryMergeResult.prototype = {
  46115. _enumToString$0() {
  46116. return "_SingletonCssMediaQueryMergeResult." + this._name;
  46117. }
  46118. };
  46119. A.MediaQuerySuccessfulMergeResult.prototype = {
  46120. toString$0(_) {
  46121. return this.query.toString$0(0);
  46122. }
  46123. };
  46124. A.ModifiableCssAtRule.prototype = {
  46125. accept$1$1(visitor) {
  46126. return visitor.visitCssAtRule$1(this);
  46127. },
  46128. accept$1(visitor) {
  46129. return this.accept$1$1(visitor, type$.dynamic);
  46130. },
  46131. equalsIgnoringChildren$1(other) {
  46132. var t1, t2;
  46133. if (other instanceof A.ModifiableCssAtRule) {
  46134. t1 = this.name;
  46135. t2 = other.name;
  46136. t1 = t1.$ti._is(t2) && J.$eq$(t2.value, t1.value) && J.$eq$(this.value, other.value) && this.isChildless === other.isChildless;
  46137. } else
  46138. t1 = false;
  46139. return t1;
  46140. },
  46141. copyWithoutChildren$0() {
  46142. var _this = this;
  46143. return A.ModifiableCssAtRule$(_this.name, _this.span, _this.isChildless, _this.value);
  46144. },
  46145. addChild$1(child) {
  46146. this.super$ModifiableCssParentNode$addChild(child);
  46147. },
  46148. get$isChildless() {
  46149. return this.isChildless;
  46150. },
  46151. get$span(receiver) {
  46152. return this.span;
  46153. }
  46154. };
  46155. A.ModifiableCssComment.prototype = {
  46156. accept$1$1(visitor) {
  46157. return visitor.visitCssComment$1(this);
  46158. },
  46159. accept$1(visitor) {
  46160. return this.accept$1$1(visitor, type$.dynamic);
  46161. },
  46162. $isCssComment: 1,
  46163. get$span(receiver) {
  46164. return this.span;
  46165. }
  46166. };
  46167. A.ModifiableCssDeclaration.prototype = {
  46168. accept$1$1(visitor) {
  46169. return visitor.visitCssDeclaration$1(this);
  46170. },
  46171. accept$1(visitor) {
  46172. return this.accept$1$1(visitor, type$.dynamic);
  46173. },
  46174. toString$0(_) {
  46175. return this.name.toString$0(0) + ": " + this.value.toString$0(0) + ";";
  46176. },
  46177. get$span(receiver) {
  46178. return this.span;
  46179. }
  46180. };
  46181. A.ModifiableCssImport.prototype = {
  46182. accept$1$1(visitor) {
  46183. return visitor.visitCssImport$1(this);
  46184. },
  46185. accept$1(visitor) {
  46186. return this.accept$1$1(visitor, type$.dynamic);
  46187. },
  46188. get$span(receiver) {
  46189. return this.span;
  46190. }
  46191. };
  46192. A.ModifiableCssKeyframeBlock.prototype = {
  46193. accept$1$1(visitor) {
  46194. return visitor.visitCssKeyframeBlock$1(this);
  46195. },
  46196. accept$1(visitor) {
  46197. return this.accept$1$1(visitor, type$.dynamic);
  46198. },
  46199. equalsIgnoringChildren$1(other) {
  46200. return other instanceof A.ModifiableCssKeyframeBlock && B.C_ListEquality.equals$2(0, this.selector.value, other.selector.value);
  46201. },
  46202. copyWithoutChildren$0() {
  46203. return A.ModifiableCssKeyframeBlock$(this.selector, this.span);
  46204. },
  46205. get$span(receiver) {
  46206. return this.span;
  46207. }
  46208. };
  46209. A.ModifiableCssMediaRule.prototype = {
  46210. accept$1$1(visitor) {
  46211. return visitor.visitCssMediaRule$1(this);
  46212. },
  46213. accept$1(visitor) {
  46214. return this.accept$1$1(visitor, type$.dynamic);
  46215. },
  46216. equalsIgnoringChildren$1(other) {
  46217. return other instanceof A.ModifiableCssMediaRule && B.C_ListEquality.equals$2(0, this.queries, other.queries);
  46218. },
  46219. copyWithoutChildren$0() {
  46220. return A.ModifiableCssMediaRule$(this.queries, this.span);
  46221. },
  46222. get$span(receiver) {
  46223. return this.span;
  46224. }
  46225. };
  46226. A.ModifiableCssNode.prototype = {
  46227. get$parent(_) {
  46228. return this._parent;
  46229. },
  46230. get$hasFollowingSibling() {
  46231. var t2,
  46232. t1 = this._parent;
  46233. if (t1 == null)
  46234. t1 = null;
  46235. else {
  46236. t1 = t1.children;
  46237. t2 = this._indexInParent;
  46238. t2.toString;
  46239. t1 = A.SubListIterable$(t1, t2 + 1, null, t1.$ti._eval$1("ListBase.E")).any$1(0, new A.ModifiableCssNode_hasFollowingSibling_closure());
  46240. }
  46241. return t1 === true;
  46242. },
  46243. get$isGroupEnd() {
  46244. return this.isGroupEnd;
  46245. }
  46246. };
  46247. A.ModifiableCssNode_hasFollowingSibling_closure.prototype = {
  46248. call$1(sibling) {
  46249. return !sibling.accept$1(B._IsInvisibleVisitor_true_false);
  46250. },
  46251. $signature: 325
  46252. };
  46253. A.ModifiableCssParentNode.prototype = {
  46254. get$isChildless() {
  46255. return false;
  46256. },
  46257. addChild$1(child) {
  46258. var t1;
  46259. child._parent = this;
  46260. t1 = this._children;
  46261. child._indexInParent = t1.length;
  46262. t1.push(child);
  46263. },
  46264. clearChildren$0() {
  46265. var t1, t2, _i, child;
  46266. for (t1 = this._children, t2 = t1.length, _i = 0; _i < t2; ++_i) {
  46267. child = t1[_i];
  46268. child._indexInParent = child._parent = null;
  46269. }
  46270. B.JSArray_methods.clear$0(t1);
  46271. },
  46272. $isCssParentNode: 1,
  46273. get$children(receiver) {
  46274. return this.children;
  46275. }
  46276. };
  46277. A.ModifiableCssStyleRule.prototype = {
  46278. accept$1$1(visitor) {
  46279. return visitor.visitCssStyleRule$1(this);
  46280. },
  46281. accept$1(visitor) {
  46282. return this.accept$1$1(visitor, type$.dynamic);
  46283. },
  46284. equalsIgnoringChildren$1(other) {
  46285. var t1;
  46286. if (other instanceof A.ModifiableCssStyleRule)
  46287. t1 = B.C_ListEquality.equals$2(0, other._style_rule$_selector._box$_inner.value.components, this._style_rule$_selector._box$_inner.value.components);
  46288. else
  46289. t1 = false;
  46290. return t1;
  46291. },
  46292. copyWithoutChildren$0() {
  46293. return A.ModifiableCssStyleRule$(this._style_rule$_selector, this.span, false, this.originalSelector);
  46294. },
  46295. $isCssStyleRule: 1,
  46296. get$span(receiver) {
  46297. return this.span;
  46298. }
  46299. };
  46300. A.ModifiableCssStylesheet.prototype = {
  46301. accept$1$1(visitor) {
  46302. return visitor.visitCssStylesheet$1(this);
  46303. },
  46304. accept$1(visitor) {
  46305. return this.accept$1$1(visitor, type$.dynamic);
  46306. },
  46307. equalsIgnoringChildren$1(other) {
  46308. return other instanceof A.ModifiableCssStylesheet;
  46309. },
  46310. copyWithoutChildren$0() {
  46311. return A.ModifiableCssStylesheet$(this.span);
  46312. },
  46313. $isCssStylesheet: 1,
  46314. get$span(receiver) {
  46315. return this.span;
  46316. }
  46317. };
  46318. A.ModifiableCssSupportsRule.prototype = {
  46319. accept$1$1(visitor) {
  46320. return visitor.visitCssSupportsRule$1(this);
  46321. },
  46322. accept$1(visitor) {
  46323. return this.accept$1$1(visitor, type$.dynamic);
  46324. },
  46325. equalsIgnoringChildren$1(other) {
  46326. var t1, t2;
  46327. if (other instanceof A.ModifiableCssSupportsRule) {
  46328. t1 = this.condition;
  46329. t2 = other.condition;
  46330. t1 = t1.$ti._is(t2) && J.$eq$(t2.value, t1.value);
  46331. } else
  46332. t1 = false;
  46333. return t1;
  46334. },
  46335. copyWithoutChildren$0() {
  46336. return A.ModifiableCssSupportsRule$(this.condition, this.span);
  46337. },
  46338. get$span(receiver) {
  46339. return this.span;
  46340. }
  46341. };
  46342. A.CssNode.prototype = {
  46343. toString$0(_) {
  46344. var _null = null;
  46345. return A.serialize(this, true, _null, true, _null, _null, false, _null, true)._0;
  46346. },
  46347. $isAstNode: 1
  46348. };
  46349. A.CssParentNode.prototype = {};
  46350. A._IsInvisibleVisitor.prototype = {
  46351. visitCssAtRule$1(rule) {
  46352. return false;
  46353. },
  46354. visitCssComment$1(comment) {
  46355. return this.includeComments && comment.text.charCodeAt(2) !== 33;
  46356. },
  46357. visitCssStyleRule$1(rule) {
  46358. var t1 = rule._style_rule$_selector._box$_inner;
  46359. return (this.includeBogus ? t1.value.accept$1(B._IsInvisibleVisitor_true) : t1.value.accept$1(B._IsInvisibleVisitor_false)) || this.super$EveryCssVisitor$visitCssStyleRule(rule);
  46360. }
  46361. };
  46362. A.__IsInvisibleVisitor_Object_EveryCssVisitor.prototype = {};
  46363. A.CssStylesheet.prototype = {
  46364. get$parent(_) {
  46365. return null;
  46366. },
  46367. get$isGroupEnd() {
  46368. return false;
  46369. },
  46370. get$isChildless() {
  46371. return false;
  46372. },
  46373. accept$1$1(visitor) {
  46374. return visitor.visitCssStylesheet$1(this);
  46375. },
  46376. accept$1(visitor) {
  46377. return this.accept$1$1(visitor, type$.dynamic);
  46378. },
  46379. get$children(receiver) {
  46380. return this.children;
  46381. },
  46382. get$span(receiver) {
  46383. return this.span;
  46384. }
  46385. };
  46386. A.CssValue.prototype = {
  46387. $eq(_, other) {
  46388. if (other == null)
  46389. return false;
  46390. return this.$ti._is(other) && J.$eq$(other.value, this.value);
  46391. },
  46392. get$hashCode(_) {
  46393. return J.get$hashCode$(this.value);
  46394. },
  46395. toString$0(_) {
  46396. return J.toString$0$(this.value);
  46397. },
  46398. $isAstNode: 1,
  46399. get$span(receiver) {
  46400. return this.span;
  46401. }
  46402. };
  46403. A._FakeAstNode.prototype = {
  46404. get$span(_) {
  46405. return this._callback.call$0();
  46406. },
  46407. $isAstNode: 1
  46408. };
  46409. A.ArgumentList.prototype = {
  46410. get$isEmpty(_) {
  46411. var t1;
  46412. if (this.positional.length === 0) {
  46413. t1 = this.named;
  46414. t1 = t1.get$isEmpty(t1) && this.rest == null;
  46415. } else
  46416. t1 = false;
  46417. return t1;
  46418. },
  46419. toString$0(_) {
  46420. var t2, t3, _i, _1_0, _2_0, _this = this,
  46421. t1 = A._setArrayType([], type$.JSArray_String);
  46422. for (t2 = _this.positional, t3 = t2.length, _i = 0; _i < t3; ++_i)
  46423. t1.push(_this._parenthesizeArgument$1(t2[_i]));
  46424. for (t2 = A.MapExtensions_get_pairs(_this.named, type$.String, type$.Expression), t2 = t2.get$iterator(t2); t2.moveNext$0();) {
  46425. t3 = t2.get$current(t2);
  46426. t1.push("$" + t3._0 + ": " + _this._parenthesizeArgument$1(t3._1));
  46427. }
  46428. _1_0 = _this.rest;
  46429. if (_1_0 != null)
  46430. t1.push(_this._parenthesizeArgument$1(_1_0) + "...");
  46431. _2_0 = _this.keywordRest;
  46432. if (_2_0 != null)
  46433. t1.push(_this._parenthesizeArgument$1(_2_0) + "...");
  46434. return "(" + B.JSArray_methods.join$1(t1, ", ") + ")";
  46435. },
  46436. _parenthesizeArgument$1(argument) {
  46437. var t1;
  46438. $label0$0: {
  46439. if (argument instanceof A.ListExpression && B.ListSeparator_qVN === argument.separator && !argument.hasBrackets && argument.contents.length >= 2) {
  46440. t1 = "(" + argument.toString$0(0) + ")";
  46441. break $label0$0;
  46442. }
  46443. t1 = argument.toString$0(0);
  46444. break $label0$0;
  46445. }
  46446. return t1;
  46447. },
  46448. $isAstNode: 1,
  46449. get$span(receiver) {
  46450. return this.span;
  46451. }
  46452. };
  46453. A.AtRootQuery.prototype = {
  46454. excludes$1(node) {
  46455. var t1, _this = this;
  46456. if (_this._all)
  46457. return !_this.include;
  46458. $label0$0: {
  46459. if (node instanceof A.ModifiableCssStyleRule) {
  46460. t1 = _this._at_root_query$_rule !== _this.include;
  46461. break $label0$0;
  46462. }
  46463. if (node instanceof A.ModifiableCssMediaRule) {
  46464. t1 = _this.excludesName$1("media");
  46465. break $label0$0;
  46466. }
  46467. if (node instanceof A.ModifiableCssSupportsRule) {
  46468. t1 = _this.excludesName$1("supports");
  46469. break $label0$0;
  46470. }
  46471. if (node instanceof A.ModifiableCssAtRule) {
  46472. t1 = _this.excludesName$1(node.name.value.toLowerCase());
  46473. break $label0$0;
  46474. }
  46475. t1 = false;
  46476. break $label0$0;
  46477. }
  46478. return t1;
  46479. },
  46480. excludesName$1($name) {
  46481. var t1 = this._all || this.names.contains$1(0, $name);
  46482. return t1 !== this.include;
  46483. }
  46484. };
  46485. A.ConfiguredVariable.prototype = {
  46486. toString$0(_) {
  46487. var t1 = this.expression.toString$0(0),
  46488. t2 = this.isGuarded ? " !default" : "";
  46489. return "$" + this.name + ": " + t1 + t2;
  46490. },
  46491. $isAstNode: 1,
  46492. get$span(receiver) {
  46493. return this.span;
  46494. }
  46495. };
  46496. A.Expression.prototype = {$isAstNode: 1};
  46497. A.BinaryOperationExpression.prototype = {
  46498. get$span(_) {
  46499. var right,
  46500. left = this.left;
  46501. for (; left instanceof A.BinaryOperationExpression;)
  46502. left = left.left;
  46503. right = this.right;
  46504. for (; right instanceof A.BinaryOperationExpression;)
  46505. right = right.right;
  46506. return left.get$span(left).expand$1(0, right.get$span(right));
  46507. },
  46508. get$operatorSpan() {
  46509. var t3, t4,
  46510. t1 = this.left,
  46511. t2 = t1.get$span(t1);
  46512. t2 = t2.get$file(t2);
  46513. t3 = this.right;
  46514. t4 = t3.get$span(t3);
  46515. if (t2 === t4.get$file(t4)) {
  46516. t2 = t1.get$span(t1);
  46517. t2 = t2.get$end(t2);
  46518. t4 = t3.get$span(t3);
  46519. t4 = t2.offset < t4.get$start(t4).offset;
  46520. t2 = t4;
  46521. } else
  46522. t2 = false;
  46523. if (t2) {
  46524. t2 = t1.get$span(t1);
  46525. t2 = t2.get$file(t2);
  46526. t1 = t1.get$span(t1);
  46527. t1 = t1.get$end(t1);
  46528. t3 = t3.get$span(t3);
  46529. t3 = A.SpanExtensions_trimRight(A.SpanExtensions_trimLeft(t2.span$2(0, t1.offset, t3.get$start(t3).offset)));
  46530. t1 = t3;
  46531. } else
  46532. t1 = this.get$span(0);
  46533. return t1;
  46534. },
  46535. accept$1$1(visitor) {
  46536. return visitor.visitBinaryOperationExpression$1(0, this);
  46537. },
  46538. accept$1(visitor) {
  46539. return this.accept$1$1(visitor, type$.dynamic);
  46540. },
  46541. toString$0(_) {
  46542. var t1, t2, right, t3, operator, _this = this,
  46543. _0_0 = _this.left;
  46544. $label0$0: {
  46545. if (_0_0 instanceof A.BinaryOperationExpression) {
  46546. t1 = _0_0.operator.precedence < _this.operator.precedence;
  46547. break $label0$0;
  46548. }
  46549. if (_0_0 instanceof A.ListExpression && !_0_0.hasBrackets && _0_0.contents.length >= 2) {
  46550. t1 = true;
  46551. break $label0$0;
  46552. }
  46553. t1 = false;
  46554. break $label0$0;
  46555. }
  46556. t2 = t1 ? "" + A.Primitives_stringFromCharCode(40) : "";
  46557. t2 += _0_0.toString$0(0);
  46558. t1 = t1 ? t2 + A.Primitives_stringFromCharCode(41) : t2;
  46559. t2 = _this.operator;
  46560. t1 = t1 + A.Primitives_stringFromCharCode(32) + t2.operator + A.Primitives_stringFromCharCode(32);
  46561. right = _this.right;
  46562. $label1$1: {
  46563. t3 = false;
  46564. if (right instanceof A.BinaryOperationExpression) {
  46565. operator = right.operator;
  46566. if (operator.precedence <= t2.precedence) {
  46567. t3 = !(operator === t2 && operator.isAssociative);
  46568. t2 = t3;
  46569. } else
  46570. t2 = t3;
  46571. break $label1$1;
  46572. }
  46573. if (right instanceof A.ListExpression && !right.hasBrackets && right.contents.length >= 2) {
  46574. t2 = true;
  46575. break $label1$1;
  46576. }
  46577. t2 = t3;
  46578. break $label1$1;
  46579. }
  46580. if (t2)
  46581. t1 += A.Primitives_stringFromCharCode(40);
  46582. t1 += right.toString$0(0);
  46583. if (t2)
  46584. t1 += A.Primitives_stringFromCharCode(41);
  46585. return t1.charCodeAt(0) == 0 ? t1 : t1;
  46586. }
  46587. };
  46588. A.BinaryOperator.prototype = {
  46589. _enumToString$0() {
  46590. return "BinaryOperator." + this._name;
  46591. },
  46592. toString$0(_) {
  46593. return this.name;
  46594. }
  46595. };
  46596. A.BooleanExpression.prototype = {
  46597. accept$1$1(visitor) {
  46598. return visitor.visitBooleanExpression$1(0, this);
  46599. },
  46600. accept$1(visitor) {
  46601. return this.accept$1$1(visitor, type$.dynamic);
  46602. },
  46603. toString$0(_) {
  46604. return String(this.value);
  46605. },
  46606. get$span(receiver) {
  46607. return this.span;
  46608. }
  46609. };
  46610. A.ColorExpression.prototype = {
  46611. accept$1$1(visitor) {
  46612. return visitor.visitColorExpression$1(0, this);
  46613. },
  46614. accept$1(visitor) {
  46615. return this.accept$1$1(visitor, type$.dynamic);
  46616. },
  46617. toString$0(_) {
  46618. return A.serializeValue(this.value, true, true);
  46619. },
  46620. get$span(receiver) {
  46621. return this.span;
  46622. }
  46623. };
  46624. A.FunctionExpression.prototype = {
  46625. get$nameSpan() {
  46626. if (this.namespace == null)
  46627. return A.SpanExtensions_initialIdentifier(this.span);
  46628. return A.SpanExtensions_initialIdentifier(A.FileSpanExtension_subspan(A.SpanExtensions_withoutInitialIdentifier(this.span), 1, null));
  46629. },
  46630. accept$1$1(visitor) {
  46631. return visitor.visitFunctionExpression$1(0, this);
  46632. },
  46633. accept$1(visitor) {
  46634. return this.accept$1$1(visitor, type$.dynamic);
  46635. },
  46636. toString$0(_) {
  46637. var t1 = this.namespace;
  46638. t1 = t1 != null ? "" + (t1 + ".") : "";
  46639. t1 += this.originalName + this.$arguments.toString$0(0);
  46640. return t1.charCodeAt(0) == 0 ? t1 : t1;
  46641. },
  46642. get$span(receiver) {
  46643. return this.span;
  46644. }
  46645. };
  46646. A.IfExpression.prototype = {
  46647. accept$1$1(visitor) {
  46648. return visitor.visitIfExpression$1(0, this);
  46649. },
  46650. accept$1(visitor) {
  46651. return this.accept$1$1(visitor, type$.dynamic);
  46652. },
  46653. toString$0(_) {
  46654. return "if" + this.$arguments.toString$0(0);
  46655. },
  46656. get$span(receiver) {
  46657. return this.span;
  46658. }
  46659. };
  46660. A.InterpolatedFunctionExpression.prototype = {
  46661. accept$1$1(visitor) {
  46662. return visitor.visitInterpolatedFunctionExpression$1(0, this);
  46663. },
  46664. accept$1(visitor) {
  46665. return this.accept$1$1(visitor, type$.dynamic);
  46666. },
  46667. toString$0(_) {
  46668. return this.name.toString$0(0) + this.$arguments.toString$0(0);
  46669. },
  46670. get$span(receiver) {
  46671. return this.span;
  46672. }
  46673. };
  46674. A.ListExpression.prototype = {
  46675. accept$1$1(visitor) {
  46676. return visitor.visitListExpression$1(0, this);
  46677. },
  46678. accept$1(visitor) {
  46679. return this.accept$1$1(visitor, type$.dynamic);
  46680. },
  46681. toString$0(_) {
  46682. var t2, t3, t4, t5, _this = this,
  46683. t1 = _this.hasBrackets;
  46684. if (t1)
  46685. t2 = "" + A.Primitives_stringFromCharCode(91);
  46686. else {
  46687. t2 = _this.contents.length;
  46688. if (t2 !== 0)
  46689. t2 = t2 === 1 && _this.separator === B.ListSeparator_qVN;
  46690. else
  46691. t2 = true;
  46692. t2 = t2 ? "" + A.Primitives_stringFromCharCode(40) : "";
  46693. }
  46694. t3 = _this.contents;
  46695. t4 = _this.separator === B.ListSeparator_qVN;
  46696. t5 = t4 ? ", " : " ";
  46697. t5 = t2 + new A.MappedListIterable(t3, new A.ListExpression_toString_closure(_this), A._arrayInstanceType(t3)._eval$1("MappedListIterable<1,String>")).join$1(0, t5);
  46698. if (t1)
  46699. t1 = t5 + A.Primitives_stringFromCharCode(93);
  46700. else {
  46701. t1 = t3.length;
  46702. if (t1 === 0)
  46703. t1 = t5 + A.Primitives_stringFromCharCode(41);
  46704. else
  46705. t1 = t1 === 1 && t4 ? t5 + ",)" : t5;
  46706. }
  46707. return t1.charCodeAt(0) == 0 ? t1 : t1;
  46708. },
  46709. _list0$_elementNeedsParens$1(expression) {
  46710. var childSeparator, t1, _0_13;
  46711. $label0$0: {
  46712. if (expression instanceof A.ListExpression && expression.contents.length >= 2 && !expression.hasBrackets) {
  46713. childSeparator = expression.separator;
  46714. t1 = this.separator === B.ListSeparator_qVN ? childSeparator === B.ListSeparator_qVN : childSeparator !== B.ListSeparator_undecided_null_undecided;
  46715. break $label0$0;
  46716. }
  46717. if (expression instanceof A.UnaryOperationExpression) {
  46718. _0_13 = expression.operator;
  46719. if (B.UnaryOperator_Rbl !== _0_13)
  46720. t1 = B.UnaryOperator_UCP === _0_13;
  46721. else
  46722. t1 = true;
  46723. } else
  46724. t1 = false;
  46725. if (t1) {
  46726. t1 = this.separator === B.ListSeparator_qSL;
  46727. break $label0$0;
  46728. }
  46729. t1 = false;
  46730. break $label0$0;
  46731. }
  46732. return t1;
  46733. },
  46734. get$span(receiver) {
  46735. return this.span;
  46736. }
  46737. };
  46738. A.ListExpression_toString_closure.prototype = {
  46739. call$1(element) {
  46740. return this.$this._list0$_elementNeedsParens$1(element) ? "(" + element.toString$0(0) + ")" : element.toString$0(0);
  46741. },
  46742. $signature: 133
  46743. };
  46744. A.MapExpression.prototype = {
  46745. accept$1$1(visitor) {
  46746. return visitor.visitMapExpression$1(0, this);
  46747. },
  46748. accept$1(visitor) {
  46749. return this.accept$1$1(visitor, type$.dynamic);
  46750. },
  46751. toString$0(_) {
  46752. var t2, t3, _i, t4,
  46753. t1 = A._setArrayType([], type$.JSArray_String);
  46754. for (t2 = this.pairs, t3 = t2.length, _i = 0; _i < t3; ++_i) {
  46755. t4 = t2[_i];
  46756. t1.push(t4._0.toString$0(0) + ": " + t4._1.toString$0(0));
  46757. }
  46758. return "(" + B.JSArray_methods.join$1(t1, ", ") + ")";
  46759. },
  46760. get$span(receiver) {
  46761. return this.span;
  46762. }
  46763. };
  46764. A.NullExpression.prototype = {
  46765. accept$1$1(visitor) {
  46766. return visitor.visitNullExpression$1(0, this);
  46767. },
  46768. accept$1(visitor) {
  46769. return this.accept$1$1(visitor, type$.dynamic);
  46770. },
  46771. toString$0(_) {
  46772. return "null";
  46773. },
  46774. get$span(receiver) {
  46775. return this.span;
  46776. }
  46777. };
  46778. A.NumberExpression.prototype = {
  46779. accept$1$1(visitor) {
  46780. return visitor.visitNumberExpression$1(0, this);
  46781. },
  46782. accept$1(visitor) {
  46783. return this.accept$1$1(visitor, type$.dynamic);
  46784. },
  46785. toString$0(_) {
  46786. return A.serializeValue(A.SassNumber_SassNumber(this.value, this.unit), true, true);
  46787. },
  46788. get$span(receiver) {
  46789. return this.span;
  46790. }
  46791. };
  46792. A.ParenthesizedExpression.prototype = {
  46793. accept$1$1(visitor) {
  46794. return visitor.visitParenthesizedExpression$1(0, this);
  46795. },
  46796. accept$1(visitor) {
  46797. return this.accept$1$1(visitor, type$.dynamic);
  46798. },
  46799. toString$0(_) {
  46800. return "(" + this.expression.toString$0(0) + ")";
  46801. },
  46802. get$span(receiver) {
  46803. return this.span;
  46804. }
  46805. };
  46806. A.SelectorExpression.prototype = {
  46807. accept$1$1(visitor) {
  46808. return visitor.visitSelectorExpression$1(0, this);
  46809. },
  46810. accept$1(visitor) {
  46811. return this.accept$1$1(visitor, type$.dynamic);
  46812. },
  46813. toString$0(_) {
  46814. return "&";
  46815. },
  46816. get$span(receiver) {
  46817. return this.span;
  46818. }
  46819. };
  46820. A.StringExpression.prototype = {
  46821. get$span(_) {
  46822. return this.text.span;
  46823. },
  46824. accept$1$1(visitor) {
  46825. return visitor.visitStringExpression$1(0, this);
  46826. },
  46827. accept$1(visitor) {
  46828. return this.accept$1$1(visitor, type$.dynamic);
  46829. },
  46830. asInterpolation$1$static($static) {
  46831. var t1, t2, quote, t3, t4, t5, buffer, t6, i, value, t7;
  46832. if (!this.hasQuotes)
  46833. return this.text;
  46834. t1 = this.text;
  46835. t2 = t1.contents;
  46836. quote = A.StringExpression__bestQuote(new A.WhereTypeIterable(t2, type$.WhereTypeIterable_String));
  46837. t3 = new A.StringBuffer("");
  46838. t4 = A._setArrayType([], type$.JSArray_Object);
  46839. t5 = A._setArrayType([], type$.JSArray_nullable_FileSpan);
  46840. buffer = new A.InterpolationBuffer(t3, t4, t5);
  46841. t6 = A.Primitives_stringFromCharCode(quote);
  46842. t3._contents += t6;
  46843. for (t6 = t2.length, i = 0; i < t6; ++i) {
  46844. value = t2[i];
  46845. if (value instanceof A.Expression) {
  46846. t7 = t1.spanForElement$1(i);
  46847. buffer._flushText$0();
  46848. t4.push(value);
  46849. t5.push(t7);
  46850. continue;
  46851. }
  46852. if (typeof value == "string")
  46853. A.StringExpression__quoteInnerText(value, quote, buffer, $static);
  46854. }
  46855. t2 = A.Primitives_stringFromCharCode(quote);
  46856. t3._contents += t2;
  46857. return buffer.interpolation$1(t1.span);
  46858. },
  46859. asInterpolation$0() {
  46860. return this.asInterpolation$1$static(false);
  46861. },
  46862. toString$0(_) {
  46863. return this.asInterpolation$0().toString$0(0);
  46864. }
  46865. };
  46866. A.SupportsExpression.prototype = {
  46867. get$span(_) {
  46868. var t1 = this.condition;
  46869. return t1.get$span(t1);
  46870. },
  46871. accept$1$1(visitor) {
  46872. return visitor.visitSupportsExpression$1(0, this);
  46873. },
  46874. accept$1(visitor) {
  46875. return this.accept$1$1(visitor, type$.dynamic);
  46876. },
  46877. toString$0(_) {
  46878. return this.condition.toString$0(0);
  46879. }
  46880. };
  46881. A.UnaryOperationExpression.prototype = {
  46882. accept$1$1(visitor) {
  46883. return visitor.visitUnaryOperationExpression$1(0, this);
  46884. },
  46885. accept$1(visitor) {
  46886. return this.accept$1$1(visitor, type$.dynamic);
  46887. },
  46888. toString$0(_) {
  46889. var operand,
  46890. t1 = this.operator,
  46891. t2 = t1.operator;
  46892. t1 = t1 === B.UnaryOperator_not_not_not ? t2 + A.Primitives_stringFromCharCode(32) : t2;
  46893. operand = this.operand;
  46894. $label0$0: {
  46895. t2 = true;
  46896. if (!(operand instanceof A.BinaryOperationExpression))
  46897. if (!(operand instanceof A.UnaryOperationExpression))
  46898. t2 = operand instanceof A.ListExpression && !operand.hasBrackets && operand.contents.length >= 2;
  46899. break $label0$0;
  46900. }
  46901. if (t2)
  46902. t1 += "40";
  46903. t1 += operand.toString$0(0);
  46904. if (t2)
  46905. t1 += "41";
  46906. return t1.charCodeAt(0) == 0 ? t1 : t1;
  46907. },
  46908. get$span(receiver) {
  46909. return this.span;
  46910. }
  46911. };
  46912. A.UnaryOperator.prototype = {
  46913. _enumToString$0() {
  46914. return "UnaryOperator." + this._name;
  46915. },
  46916. toString$0(_) {
  46917. return this.name;
  46918. }
  46919. };
  46920. A.ValueExpression.prototype = {
  46921. accept$1$1(visitor) {
  46922. return visitor.visitValueExpression$1(0, this);
  46923. },
  46924. accept$1(visitor) {
  46925. return this.accept$1$1(visitor, type$.dynamic);
  46926. },
  46927. toString$0(_) {
  46928. return this.value.toString$0(0);
  46929. },
  46930. get$span(receiver) {
  46931. return this.span;
  46932. }
  46933. };
  46934. A.VariableExpression.prototype = {
  46935. accept$1$1(visitor) {
  46936. return visitor.visitVariableExpression$1(0, this);
  46937. },
  46938. accept$1(visitor) {
  46939. return this.accept$1$1(visitor, type$.dynamic);
  46940. },
  46941. toString$0(_) {
  46942. return this.span.get$text();
  46943. },
  46944. get$span(receiver) {
  46945. return this.span;
  46946. }
  46947. };
  46948. A.DynamicImport.prototype = {
  46949. toString$0(_) {
  46950. return A.StringExpression_quoteText(this.urlString);
  46951. },
  46952. $isAstNode: 1,
  46953. $isImport: 1,
  46954. get$span(receiver) {
  46955. return this.span;
  46956. }
  46957. };
  46958. A.StaticImport.prototype = {
  46959. toString$0(_) {
  46960. var t1 = this.url.toString$0(0),
  46961. t2 = this.modifiers;
  46962. return t1 + (t2 == null ? "" : " " + t2.toString$0(0));
  46963. },
  46964. $isAstNode: 1,
  46965. $isImport: 1,
  46966. get$span(receiver) {
  46967. return this.span;
  46968. }
  46969. };
  46970. A.Interpolation.prototype = {
  46971. get$asPlain() {
  46972. var _0_1, t1, _0_6_isSet, _0_6, _0_60, first,
  46973. _0_0 = this.contents;
  46974. $label0$0: {
  46975. _0_1 = _0_0.length;
  46976. if (_0_1 <= 0) {
  46977. t1 = "";
  46978. break $label0$0;
  46979. }
  46980. _0_6_isSet = _0_1 === 1;
  46981. if (_0_6_isSet) {
  46982. _0_6 = _0_0[0];
  46983. _0_60 = _0_6;
  46984. t1 = typeof _0_6 == "string";
  46985. _0_6 = _0_60;
  46986. } else {
  46987. _0_6 = null;
  46988. t1 = false;
  46989. }
  46990. if (t1) {
  46991. first = A._asString(_0_6_isSet ? _0_6 : _0_0[0]);
  46992. t1 = first;
  46993. break $label0$0;
  46994. }
  46995. t1 = null;
  46996. break $label0$0;
  46997. }
  46998. return t1;
  46999. },
  47000. get$initialPlain() {
  47001. var _0_4_isSet, _0_4, _0_40, t1, first,
  47002. _0_0 = this.contents;
  47003. $label0$0: {
  47004. _0_4_isSet = _0_0.length >= 1;
  47005. if (_0_4_isSet) {
  47006. _0_4 = _0_0[0];
  47007. _0_40 = _0_4;
  47008. t1 = typeof _0_4 == "string";
  47009. _0_4 = _0_40;
  47010. } else {
  47011. _0_4 = null;
  47012. t1 = false;
  47013. }
  47014. if (t1) {
  47015. first = A._asString(_0_4_isSet ? _0_4 : _0_0[0]);
  47016. t1 = first;
  47017. break $label0$0;
  47018. }
  47019. t1 = "";
  47020. break $label0$0;
  47021. }
  47022. return t1;
  47023. },
  47024. spanForElement$1(index) {
  47025. var t1, t2, t3, t4, t5, _this = this;
  47026. $label0$0: {
  47027. if (typeof _this.contents[index] == "string") {
  47028. t1 = _this.span;
  47029. t2 = t1.file;
  47030. if (index === 0)
  47031. t3 = A.FileLocation$_(t2, t1._file$_start);
  47032. else {
  47033. t3 = _this.spans[index - 1];
  47034. t3 = t3.get$end(t3);
  47035. }
  47036. t4 = index + 1;
  47037. t5 = _this.spans;
  47038. if (t4 === t5.length)
  47039. t1 = A.FileLocation$_(t2, t1._end);
  47040. else {
  47041. t1 = t5[t4];
  47042. t1 = t1.get$start(t1);
  47043. }
  47044. t1 = t2.span$2(0, t3.offset, t1.offset);
  47045. break $label0$0;
  47046. }
  47047. t1 = _this.spans[index];
  47048. t1.toString;
  47049. break $label0$0;
  47050. }
  47051. return t1;
  47052. },
  47053. Interpolation$3(contents, spans, span) {
  47054. var t1, t2, t3, t4, i, t5, isString, _s5_ = "spans",
  47055. _s8_ = "contents";
  47056. if (spans.length !== J.get$length$asx(contents))
  47057. throw A.wrapException(A.ArgumentError$value(this.spans, _s5_, "Must be the same length as contents."));
  47058. for (t1 = this.contents, t2 = t1.length, t3 = spans.length, t4 = this.spans, i = 0; i < t2; ++i) {
  47059. t5 = t1[i];
  47060. isString = typeof t5 == "string";
  47061. if (!isString && !(t5 instanceof A.Expression))
  47062. throw A.wrapException(A.ArgumentError$value(t1, _s8_, "May only contain Strings or Expressions."));
  47063. else if (isString) {
  47064. if (i !== 0 && typeof t1[i - 1] == "string")
  47065. throw A.wrapException(A.ArgumentError$value(t1, _s8_, "May not contain adjacent Strings."));
  47066. else if (i < t3 && t4[i] != null)
  47067. throw A.wrapException(A.ArgumentError$value(t4, _s5_, string$.May_no + i + ")."));
  47068. } else if (i >= t3 || t4[i] == null)
  47069. throw A.wrapException(A.ArgumentError$value(t4, _s5_, string$.Must_n + i + ")."));
  47070. }
  47071. },
  47072. toString$0(_) {
  47073. var t1 = this.contents;
  47074. return new A.MappedListIterable(t1, new A.Interpolation_toString_closure(), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,String>")).join$0(0);
  47075. },
  47076. $isAstNode: 1,
  47077. get$span(receiver) {
  47078. return this.span;
  47079. }
  47080. };
  47081. A.Interpolation_toString_closure.prototype = {
  47082. call$1(value) {
  47083. return typeof value == "string" ? value : "#{" + A.S(value) + "}";
  47084. },
  47085. $signature: 132
  47086. };
  47087. A.Parameter.prototype = {
  47088. toString$0(_) {
  47089. var t1 = this.defaultValue,
  47090. t2 = this.name;
  47091. return t1 == null ? t2 : t2 + ": " + t1.toString$0(0);
  47092. },
  47093. $isAstNode: 1,
  47094. get$span(receiver) {
  47095. return this.span;
  47096. }
  47097. };
  47098. A.ParameterList.prototype = {
  47099. get$spanWithName() {
  47100. var t3, t4,
  47101. t1 = this.span,
  47102. t2 = t1.file,
  47103. text = A.String_String$fromCharCodes(B.NativeUint32List_methods.sublist$2(t2._decodedChars, 0, null), 0, null),
  47104. i = A.FileLocation$_(t2, t1._file$_start).offset - 1;
  47105. while (true) {
  47106. if (i > 0) {
  47107. t3 = text.charCodeAt(i);
  47108. t3 = t3 === 32 || t3 === 9 || t3 === 10 || t3 === 13 || t3 === 12;
  47109. } else
  47110. t3 = false;
  47111. if (!t3)
  47112. break;
  47113. --i;
  47114. }
  47115. t3 = text.charCodeAt(i);
  47116. if (!(t3 === 95 || A.CharacterExtension_get_isAlphabetic(t3) || t3 >= 128))
  47117. t3 = t3 >= 48 && t3 <= 57 || t3 === 45;
  47118. else
  47119. t3 = true;
  47120. if (!t3)
  47121. return t1;
  47122. --i;
  47123. while (true) {
  47124. if (i >= 0) {
  47125. t3 = text.charCodeAt(i);
  47126. if (t3 !== 95) {
  47127. if (!(t3 >= 97 && t3 <= 122))
  47128. t4 = t3 >= 65 && t3 <= 90;
  47129. else
  47130. t4 = true;
  47131. t4 = t4 || t3 >= 128;
  47132. } else
  47133. t4 = true;
  47134. if (!t4)
  47135. t3 = t3 >= 48 && t3 <= 57 || t3 === 45;
  47136. else
  47137. t3 = true;
  47138. } else
  47139. t3 = false;
  47140. if (!t3)
  47141. break;
  47142. --i;
  47143. }
  47144. t3 = i + 1;
  47145. t4 = text.charCodeAt(t3);
  47146. if (!(t4 === 95 || A.CharacterExtension_get_isAlphabetic(t4) || t4 >= 128))
  47147. return t1;
  47148. return A.SpanExtensions_trimRight(A.SpanExtensions_trimLeft(t2.span$2(0, t3, A.FileLocation$_(t2, t1._end).offset)));
  47149. },
  47150. verify$2(positional, names) {
  47151. var t1, t2, t3, namedUsed, i, parameter, t4, unknownNames, _this = this,
  47152. _s10_ = "invocation";
  47153. for (t1 = _this.parameters, t2 = t1.length, t3 = names._baseMap, namedUsed = 0, i = 0; i < t2; ++i) {
  47154. parameter = t1[i];
  47155. if (i < positional) {
  47156. t4 = parameter.name;
  47157. if (t3.containsKey$1(t4))
  47158. throw A.wrapException(A.SassScriptException$("Argument " + _this._originalParameterName$1(t4) + string$.x20was_p, null));
  47159. } else {
  47160. t4 = parameter.name;
  47161. if (t3.containsKey$1(t4))
  47162. ++namedUsed;
  47163. else if (parameter.defaultValue == null)
  47164. throw A.wrapException(A.MultiSpanSassScriptException$("Missing argument " + _this._originalParameterName$1(t4) + ".", _s10_, A.LinkedHashMap_LinkedHashMap$_literal([_this.get$spanWithName(), "declaration"], type$.FileSpan, type$.String)));
  47165. }
  47166. }
  47167. if (_this.restParameter != null)
  47168. return;
  47169. if (positional > t2) {
  47170. t1 = names.get$isEmpty(0) ? "" : "positional ";
  47171. throw A.wrapException(A.MultiSpanSassScriptException$("Only " + t2 + " " + t1 + A.pluralize("argument", t2, null) + " allowed, but " + positional + " " + A.pluralize("was", positional, "were") + " passed.", _s10_, A.LinkedHashMap_LinkedHashMap$_literal([_this.get$spanWithName(), "declaration"], type$.FileSpan, type$.String)));
  47172. }
  47173. if (namedUsed < t3.get$length(t3)) {
  47174. t2 = type$.String;
  47175. unknownNames = A.LinkedHashSet_LinkedHashSet$of(names, t2);
  47176. unknownNames.removeAll$1(new A.MappedListIterable(t1, new A.ParameterList_verify_closure(), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,Object?>")));
  47177. throw A.wrapException(A.MultiSpanSassScriptException$("No " + A.pluralize("parameter", unknownNames._collection$_length, null) + " named " + A.toSentence(unknownNames.map$1$1(0, new A.ParameterList_verify_closure0(), type$.Object), "or") + ".", _s10_, A.LinkedHashMap_LinkedHashMap$_literal([_this.get$spanWithName(), "declaration"], type$.FileSpan, t2)));
  47178. }
  47179. },
  47180. _originalParameterName$1($name) {
  47181. var t1, text, t2, _i, parameter, t3, end;
  47182. if ($name === this.restParameter) {
  47183. t1 = this.span;
  47184. text = A.String_String$fromCharCodes(B.NativeUint32List_methods.sublist$2(t1.file._decodedChars, t1._file$_start, t1._end), 0, null);
  47185. 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, "."));
  47186. }
  47187. for (t1 = this.parameters, t2 = t1.length, _i = 0; _i < t2; ++_i) {
  47188. parameter = t1[_i];
  47189. if (parameter.name === $name) {
  47190. t1 = parameter.span;
  47191. if (parameter.defaultValue == null) {
  47192. t2 = t1._file$_start;
  47193. t3 = t1.file._decodedChars;
  47194. t3 = A.String_String$fromCharCodes(new Uint32Array(t3.subarray(t2, A._checkValidRange(t2, t1._end, t3.length))), 0, null);
  47195. t1 = t3;
  47196. } else {
  47197. text = t1.get$text();
  47198. t1 = B.JSString_methods.substring$2(text, 0, B.JSString_methods.indexOf$1(text, ":"));
  47199. end = A._lastNonWhitespace(t1, false);
  47200. t1 = end == null ? "" : B.JSString_methods.substring$2(t1, 0, end + 1);
  47201. }
  47202. return t1;
  47203. }
  47204. }
  47205. throw A.wrapException(A.ArgumentError$(string$.This_d + $name + '".', null));
  47206. },
  47207. matches$2(positional, names) {
  47208. var t1, t2, t3, namedUsed, i, parameter;
  47209. for (t1 = this.parameters, t2 = t1.length, t3 = names._baseMap, namedUsed = 0, i = 0; i < t2; ++i) {
  47210. parameter = t1[i];
  47211. if (i < positional) {
  47212. if (t3.containsKey$1(parameter.name))
  47213. return false;
  47214. } else if (t3.containsKey$1(parameter.name))
  47215. ++namedUsed;
  47216. else if (parameter.defaultValue == null)
  47217. return false;
  47218. }
  47219. if (this.restParameter != null)
  47220. return true;
  47221. if (positional > t2)
  47222. return false;
  47223. if (namedUsed < t3.get$length(t3))
  47224. return false;
  47225. return true;
  47226. },
  47227. toString$0(_) {
  47228. var t2, t3, _i,
  47229. t1 = A._setArrayType([], type$.JSArray_String);
  47230. for (t2 = this.parameters, t3 = t2.length, _i = 0; _i < t3; ++_i)
  47231. t1.push("$" + t2[_i].toString$0(0));
  47232. t2 = this.restParameter;
  47233. if (t2 != null)
  47234. t1.push("$" + t2 + "...");
  47235. return B.JSArray_methods.join$1(t1, ", ");
  47236. },
  47237. $isAstNode: 1,
  47238. get$span(receiver) {
  47239. return this.span;
  47240. }
  47241. };
  47242. A.ParameterList_verify_closure.prototype = {
  47243. call$1(parameter) {
  47244. return parameter.name;
  47245. },
  47246. $signature: 342
  47247. };
  47248. A.ParameterList_verify_closure0.prototype = {
  47249. call$1($name) {
  47250. return "$" + $name;
  47251. },
  47252. $signature: 6
  47253. };
  47254. A.Statement.prototype = {$isAstNode: 1};
  47255. A.AtRootRule.prototype = {
  47256. accept$1$1(visitor) {
  47257. return visitor.visitAtRootRule$1(0, this);
  47258. },
  47259. accept$1(visitor) {
  47260. return this.accept$1$1(visitor, type$.dynamic);
  47261. },
  47262. toString$0(_) {
  47263. var buffer = new A.StringBuffer("@at-root "),
  47264. t1 = this.query;
  47265. if (t1 != null)
  47266. buffer._contents = "@at-root " + (t1.toString$0(0) + " ");
  47267. t1 = this.children;
  47268. return buffer.toString$0(0) + " {" + (t1 && B.JSArray_methods).join$1(t1, " ") + "}";
  47269. },
  47270. get$span(receiver) {
  47271. return this.span;
  47272. }
  47273. };
  47274. A.AtRule.prototype = {
  47275. accept$1$1(visitor) {
  47276. return visitor.visitAtRule$1(0, this);
  47277. },
  47278. accept$1(visitor) {
  47279. return this.accept$1$1(visitor, type$.dynamic);
  47280. },
  47281. toString$0(_) {
  47282. var children,
  47283. t1 = "@" + this.name.toString$0(0),
  47284. buffer = new A.StringBuffer(t1),
  47285. t2 = this.value;
  47286. if (t2 != null)
  47287. buffer._contents = t1 + (" " + t2.toString$0(0));
  47288. children = this.children;
  47289. return children == null ? buffer.toString$0(0) + ";" : buffer.toString$0(0) + " {" + B.JSArray_methods.join$1(children, " ") + "}";
  47290. },
  47291. get$span(receiver) {
  47292. return this.span;
  47293. }
  47294. };
  47295. A.CallableDeclaration.prototype = {
  47296. get$span(receiver) {
  47297. return this.span;
  47298. }
  47299. };
  47300. A.ContentBlock.prototype = {
  47301. accept$1$1(visitor) {
  47302. return visitor.visitContentBlock$1(0, this);
  47303. },
  47304. accept$1(visitor) {
  47305. return this.accept$1$1(visitor, type$.dynamic);
  47306. },
  47307. toString$0(_) {
  47308. var t2,
  47309. t1 = this.parameters;
  47310. t1 = t1.parameters.length === 0 && t1.restParameter == null ? "" : " using (" + t1.toString$0(0) + ")";
  47311. t2 = this.children;
  47312. return t1 + (" {" + (t2 && B.JSArray_methods).join$1(t2, " ") + "}");
  47313. }
  47314. };
  47315. A.ContentRule.prototype = {
  47316. accept$1$1(visitor) {
  47317. return visitor.visitContentRule$1(0, this);
  47318. },
  47319. accept$1(visitor) {
  47320. return this.accept$1$1(visitor, type$.dynamic);
  47321. },
  47322. toString$0(_) {
  47323. var t1 = this.$arguments;
  47324. return t1.get$isEmpty(0) ? "@content;" : "@content(" + t1.toString$0(0) + ");";
  47325. },
  47326. get$span(receiver) {
  47327. return this.span;
  47328. }
  47329. };
  47330. A.DebugRule.prototype = {
  47331. accept$1$1(visitor) {
  47332. return visitor.visitDebugRule$1(0, this);
  47333. },
  47334. accept$1(visitor) {
  47335. return this.accept$1$1(visitor, type$.dynamic);
  47336. },
  47337. toString$0(_) {
  47338. return "@debug " + this.expression.toString$0(0) + ";";
  47339. },
  47340. get$span(receiver) {
  47341. return this.span;
  47342. }
  47343. };
  47344. A.Declaration.prototype = {
  47345. accept$1$1(visitor) {
  47346. return visitor.visitDeclaration$1(0, this);
  47347. },
  47348. accept$1(visitor) {
  47349. return this.accept$1$1(visitor, type$.dynamic);
  47350. },
  47351. toString$0(_) {
  47352. var t3, _0_0,
  47353. buffer = new A.StringBuffer(""),
  47354. t1 = this.name,
  47355. t2 = "" + t1.toString$0(0);
  47356. buffer._contents = t2;
  47357. t2 = buffer._contents = t2 + A.Primitives_stringFromCharCode(58);
  47358. t3 = this.value;
  47359. if (t3 != null) {
  47360. t1 = !B.JSString_methods.startsWith$1(t1.get$initialPlain(), "--") ? buffer._contents = t2 + A.Primitives_stringFromCharCode(32) : t2;
  47361. buffer._contents = t1 + t3.toString$0(0);
  47362. }
  47363. _0_0 = this.children;
  47364. if (_0_0 != null)
  47365. return buffer.toString$0(0) + " {" + B.JSArray_methods.join$1(_0_0, " ") + "}";
  47366. else
  47367. return buffer.toString$0(0) + ";";
  47368. },
  47369. get$span(receiver) {
  47370. return this.span;
  47371. }
  47372. };
  47373. A.EachRule.prototype = {
  47374. accept$1$1(visitor) {
  47375. return visitor.visitEachRule$1(0, this);
  47376. },
  47377. accept$1(visitor) {
  47378. return this.accept$1$1(visitor, type$.dynamic);
  47379. },
  47380. toString$0(_) {
  47381. var t1 = this.variables,
  47382. t2 = this.children;
  47383. 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, " ") + "}";
  47384. },
  47385. get$span(receiver) {
  47386. return this.span;
  47387. }
  47388. };
  47389. A.EachRule_toString_closure.prototype = {
  47390. call$1(variable) {
  47391. return "$" + variable;
  47392. },
  47393. $signature: 6
  47394. };
  47395. A.ErrorRule.prototype = {
  47396. accept$1$1(visitor) {
  47397. return visitor.visitErrorRule$1(0, this);
  47398. },
  47399. accept$1(visitor) {
  47400. return this.accept$1$1(visitor, type$.dynamic);
  47401. },
  47402. toString$0(_) {
  47403. return "@error " + this.expression.toString$0(0) + ";";
  47404. },
  47405. get$span(receiver) {
  47406. return this.span;
  47407. }
  47408. };
  47409. A.ExtendRule.prototype = {
  47410. accept$1$1(visitor) {
  47411. return visitor.visitExtendRule$1(0, this);
  47412. },
  47413. accept$1(visitor) {
  47414. return this.accept$1$1(visitor, type$.dynamic);
  47415. },
  47416. toString$0(_) {
  47417. var t1 = this.selector.toString$0(0),
  47418. t2 = this.isOptional ? " !optional" : "";
  47419. return "@extend " + t1 + t2 + ";";
  47420. },
  47421. get$span(receiver) {
  47422. return this.span;
  47423. }
  47424. };
  47425. A.ForRule.prototype = {
  47426. accept$1$1(visitor) {
  47427. return visitor.visitForRule$1(0, this);
  47428. },
  47429. accept$1(visitor) {
  47430. return this.accept$1$1(visitor, type$.dynamic);
  47431. },
  47432. toString$0(_) {
  47433. var _this = this,
  47434. t1 = _this.from.toString$0(0),
  47435. t2 = _this.isExclusive ? "to" : "through",
  47436. t3 = _this.children;
  47437. return "@for $" + _this.variable + " from " + t1 + " " + t2 + " " + _this.to.toString$0(0) + " {" + (t3 && B.JSArray_methods).join$1(t3, " ") + "}";
  47438. },
  47439. get$span(receiver) {
  47440. return this.span;
  47441. }
  47442. };
  47443. A.ForwardRule.prototype = {
  47444. accept$1$1(visitor) {
  47445. return visitor.visitForwardRule$1(0, this);
  47446. },
  47447. accept$1(visitor) {
  47448. return this.accept$1$1(visitor, type$.dynamic);
  47449. },
  47450. toString$0(_) {
  47451. var t2, prefix, _this = this,
  47452. t1 = "@forward " + A.StringExpression_quoteText(_this.url.toString$0(0)),
  47453. shownMixinsAndFunctions = _this.shownMixinsAndFunctions,
  47454. hiddenMixinsAndFunctions = _this.hiddenMixinsAndFunctions;
  47455. if (shownMixinsAndFunctions != null) {
  47456. t2 = _this.shownVariables;
  47457. t2.toString;
  47458. t2 = t1 + " show " + _this._forward_rule$_memberList$2(shownMixinsAndFunctions, t2);
  47459. t1 = t2;
  47460. } else if (hiddenMixinsAndFunctions != null && hiddenMixinsAndFunctions._base.get$isNotEmpty(0)) {
  47461. t2 = _this.hiddenVariables;
  47462. t2.toString;
  47463. t2 = t1 + " hide " + _this._forward_rule$_memberList$2(hiddenMixinsAndFunctions, t2);
  47464. t1 = t2;
  47465. }
  47466. prefix = _this.prefix;
  47467. if (prefix != null)
  47468. t1 += " as " + prefix + "*";
  47469. t2 = _this.configuration;
  47470. t1 = (t2.length !== 0 ? t1 + (" with (" + B.JSArray_methods.join$1(t2, ", ") + ")") : t1) + ";";
  47471. return t1.charCodeAt(0) == 0 ? t1 : t1;
  47472. },
  47473. _forward_rule$_memberList$2(mixinsAndFunctions, variables) {
  47474. var t2,
  47475. t1 = A.List_List$_of(mixinsAndFunctions, type$.String);
  47476. for (t2 = variables._base.get$iterator(0); t2.moveNext$0();)
  47477. t1.push("$" + t2.get$current(0));
  47478. return B.JSArray_methods.join$1(t1, ", ");
  47479. },
  47480. get$span(receiver) {
  47481. return this.span;
  47482. }
  47483. };
  47484. A.FunctionRule.prototype = {
  47485. accept$1$1(visitor) {
  47486. return visitor.visitFunctionRule$1(0, this);
  47487. },
  47488. accept$1(visitor) {
  47489. return this.accept$1$1(visitor, type$.dynamic);
  47490. },
  47491. toString$0(_) {
  47492. var t1 = this.children;
  47493. return "@function " + this.name + "(" + this.parameters.toString$0(0) + ") {" + (t1 && B.JSArray_methods).join$1(t1, " ") + "}";
  47494. }
  47495. };
  47496. A.IfRule.prototype = {
  47497. accept$1$1(visitor) {
  47498. return visitor.visitIfRule$1(0, this);
  47499. },
  47500. accept$1(visitor) {
  47501. return this.accept$1$1(visitor, type$.dynamic);
  47502. },
  47503. toString$0(_) {
  47504. var result = A.ListExtensions_mapIndexed(this.clauses, new A.IfRule_toString_closure(), type$.IfClause, type$.String).join$1(0, " "),
  47505. lastClause = this.lastClause;
  47506. return lastClause != null ? result + (" " + lastClause.toString$0(0)) : result;
  47507. },
  47508. get$span(receiver) {
  47509. return this.span;
  47510. }
  47511. };
  47512. A.IfRule_toString_closure.prototype = {
  47513. call$2(index, clause) {
  47514. var t1 = index === 0 ? "if" : "else if";
  47515. return "@" + t1 + " " + clause.expression.toString$0(0) + " {" + B.JSArray_methods.join$1(clause.children, " ") + "}";
  47516. },
  47517. $signature: 395
  47518. };
  47519. A.IfRuleClause.prototype = {};
  47520. A.IfRuleClause$__closure.prototype = {
  47521. call$1(child) {
  47522. var t1;
  47523. $label0$0: {
  47524. if (child instanceof A.VariableDeclaration || child instanceof A.FunctionRule || child instanceof A.MixinRule) {
  47525. t1 = true;
  47526. break $label0$0;
  47527. }
  47528. if (child instanceof A.ImportRule) {
  47529. t1 = B.JSArray_methods.any$1(child.imports, new A.IfRuleClause$___closure());
  47530. break $label0$0;
  47531. }
  47532. t1 = false;
  47533. break $label0$0;
  47534. }
  47535. return t1;
  47536. },
  47537. $signature: 150
  47538. };
  47539. A.IfRuleClause$___closure.prototype = {
  47540. call$1($import) {
  47541. return $import instanceof A.DynamicImport;
  47542. },
  47543. $signature: 151
  47544. };
  47545. A.IfClause.prototype = {
  47546. toString$0(_) {
  47547. return "@if " + this.expression.toString$0(0) + " {" + B.JSArray_methods.join$1(this.children, " ") + "}";
  47548. }
  47549. };
  47550. A.ElseClause.prototype = {
  47551. toString$0(_) {
  47552. return "@else {" + B.JSArray_methods.join$1(this.children, " ") + "}";
  47553. }
  47554. };
  47555. A.ImportRule.prototype = {
  47556. accept$1$1(visitor) {
  47557. return visitor.visitImportRule$1(0, this);
  47558. },
  47559. accept$1(visitor) {
  47560. return this.accept$1$1(visitor, type$.dynamic);
  47561. },
  47562. toString$0(_) {
  47563. return "@import " + B.JSArray_methods.join$1(this.imports, ", ") + ";";
  47564. },
  47565. get$span(receiver) {
  47566. return this.span;
  47567. }
  47568. };
  47569. A.IncludeRule.prototype = {
  47570. get$spanWithoutContent() {
  47571. var t2, t3,
  47572. t1 = this.span;
  47573. if (!(this.content == null)) {
  47574. t2 = t1.file;
  47575. t3 = this.$arguments.span;
  47576. t3 = A.SpanExtensions_trimRight(A.SpanExtensions_trimLeft(t2.span$2(0, A.FileLocation$_(t2, t1._file$_start).offset, t3.get$end(t3).offset)));
  47577. t1 = t3;
  47578. }
  47579. return t1;
  47580. },
  47581. get$nameSpan() {
  47582. var startSpan, scanner, _null = null,
  47583. t1 = this.span,
  47584. t2 = t1._file$_start,
  47585. t3 = t1._end,
  47586. t4 = t1.file._decodedChars;
  47587. if (B.JSString_methods.startsWith$1(A.String_String$fromCharCodes(B.NativeUint32List_methods.sublist$2(t4, t2, t3), 0, _null), "+"))
  47588. startSpan = A.SpanExtensions_trimLeft(A.FileSpanExtension_subspan(t1, 1, _null));
  47589. else {
  47590. scanner = A.StringScanner$(A.String_String$fromCharCodes(B.NativeUint32List_methods.sublist$2(t4, t2, t3), 0, _null), _null, _null);
  47591. scanner.expectChar$1(64);
  47592. A._scanIdentifier(scanner);
  47593. startSpan = A.SpanExtensions_trimLeft(A.FileSpanExtension_subspan(t1, scanner._string_scanner$_position, _null));
  47594. }
  47595. return A.SpanExtensions_initialIdentifier(this.namespace != null ? A.FileSpanExtension_subspan(A.SpanExtensions_withoutInitialIdentifier(startSpan), 1, _null) : startSpan);
  47596. },
  47597. accept$1$1(visitor) {
  47598. return visitor.visitIncludeRule$1(0, this);
  47599. },
  47600. accept$1(visitor) {
  47601. return this.accept$1$1(visitor, type$.dynamic);
  47602. },
  47603. toString$0(_) {
  47604. var t2, _this = this,
  47605. t1 = _this.namespace;
  47606. t1 = t1 != null ? "@include " + (t1 + ".") : "@include ";
  47607. t1 += _this.name;
  47608. t2 = _this.$arguments;
  47609. if (!t2.get$isEmpty(0))
  47610. t1 += "(" + t2.toString$0(0) + ")";
  47611. t2 = _this.content;
  47612. t1 += t2 == null ? ";" : " " + t2.toString$0(0);
  47613. return t1.charCodeAt(0) == 0 ? t1 : t1;
  47614. },
  47615. get$span(receiver) {
  47616. return this.span;
  47617. }
  47618. };
  47619. A.LoudComment.prototype = {
  47620. get$span(_) {
  47621. return this.text.span;
  47622. },
  47623. accept$1$1(visitor) {
  47624. return visitor.visitLoudComment$1(0, this);
  47625. },
  47626. accept$1(visitor) {
  47627. return this.accept$1$1(visitor, type$.dynamic);
  47628. },
  47629. toString$0(_) {
  47630. return this.text.toString$0(0);
  47631. }
  47632. };
  47633. A.MediaRule.prototype = {
  47634. accept$1$1(visitor) {
  47635. return visitor.visitMediaRule$1(0, this);
  47636. },
  47637. accept$1(visitor) {
  47638. return this.accept$1$1(visitor, type$.dynamic);
  47639. },
  47640. toString$0(_) {
  47641. var t1 = this.children;
  47642. return "@media " + this.query.toString$0(0) + " {" + (t1 && B.JSArray_methods).join$1(t1, " ") + "}";
  47643. },
  47644. get$span(receiver) {
  47645. return this.span;
  47646. }
  47647. };
  47648. A.MixinRule.prototype = {
  47649. get$hasContent() {
  47650. var result, _this = this,
  47651. value = _this.__MixinRule_hasContent_FI;
  47652. if (value === $) {
  47653. result = J.$eq$(B.C__HasContentVisitor.visitChildren$1(_this.children), true);
  47654. _this.__MixinRule_hasContent_FI !== $ && A.throwUnnamedLateFieldADI();
  47655. _this.__MixinRule_hasContent_FI = result;
  47656. value = result;
  47657. }
  47658. return value;
  47659. },
  47660. accept$1$1(visitor) {
  47661. return visitor.visitMixinRule$1(0, this);
  47662. },
  47663. accept$1(visitor) {
  47664. return this.accept$1$1(visitor, type$.dynamic);
  47665. },
  47666. toString$0(_) {
  47667. var t1 = "@mixin " + this.name,
  47668. t2 = this.parameters;
  47669. if (!(t2.parameters.length === 0 && t2.restParameter == null))
  47670. t1 += "(" + t2.toString$0(0) + ")";
  47671. t2 = this.children;
  47672. t2 = t1 + (" {" + (t2 && B.JSArray_methods).join$1(t2, " ") + "}");
  47673. return t2.charCodeAt(0) == 0 ? t2 : t2;
  47674. }
  47675. };
  47676. A._HasContentVisitor.prototype = {
  47677. visitContentRule$1(_, _0) {
  47678. return true;
  47679. }
  47680. };
  47681. A.__HasContentVisitor_Object_StatementSearchVisitor.prototype = {};
  47682. A.ParentStatement.prototype = {};
  47683. A.ParentStatement_closure.prototype = {
  47684. call$1(child) {
  47685. var t1;
  47686. $label0$0: {
  47687. if (child instanceof A.VariableDeclaration || child instanceof A.FunctionRule || child instanceof A.MixinRule) {
  47688. t1 = true;
  47689. break $label0$0;
  47690. }
  47691. if (child instanceof A.ImportRule) {
  47692. t1 = B.JSArray_methods.any$1(child.imports, new A.ParentStatement__closure());
  47693. break $label0$0;
  47694. }
  47695. t1 = false;
  47696. break $label0$0;
  47697. }
  47698. return t1;
  47699. },
  47700. $signature: 150
  47701. };
  47702. A.ParentStatement__closure.prototype = {
  47703. call$1($import) {
  47704. return $import instanceof A.DynamicImport;
  47705. },
  47706. $signature: 151
  47707. };
  47708. A.ReturnRule.prototype = {
  47709. accept$1$1(visitor) {
  47710. return visitor.visitReturnRule$1(0, this);
  47711. },
  47712. accept$1(visitor) {
  47713. return this.accept$1$1(visitor, type$.dynamic);
  47714. },
  47715. toString$0(_) {
  47716. return "@return " + this.expression.toString$0(0) + ";";
  47717. },
  47718. get$span(receiver) {
  47719. return this.span;
  47720. }
  47721. };
  47722. A.SilentComment.prototype = {
  47723. accept$1$1(visitor) {
  47724. return visitor.visitSilentComment$1(0, this);
  47725. },
  47726. accept$1(visitor) {
  47727. return this.accept$1$1(visitor, type$.dynamic);
  47728. },
  47729. toString$0(_) {
  47730. return this.text;
  47731. },
  47732. get$span(receiver) {
  47733. return this.span;
  47734. }
  47735. };
  47736. A.StyleRule.prototype = {
  47737. accept$1$1(visitor) {
  47738. return visitor.visitStyleRule$1(0, this);
  47739. },
  47740. accept$1(visitor) {
  47741. return this.accept$1$1(visitor, type$.dynamic);
  47742. },
  47743. toString$0(_) {
  47744. var t1 = this.children;
  47745. return this.selector.toString$0(0) + " {" + (t1 && B.JSArray_methods).join$1(t1, " ") + "}";
  47746. },
  47747. get$span(receiver) {
  47748. return this.span;
  47749. }
  47750. };
  47751. A.Stylesheet.prototype = {
  47752. Stylesheet$internal$5$globalVariables$plainCss(children, span, parseTimeWarnings, globalVariables, plainCss) {
  47753. var t1, t2, t3, t4, _i, child;
  47754. for (t1 = this.children, t2 = t1.length, t3 = this._forwards, t4 = this._uses, _i = 0; _i < t2; ++_i) {
  47755. child = t1[_i];
  47756. if (child instanceof A.UseRule) {
  47757. t4.push(child);
  47758. continue;
  47759. }
  47760. if (child instanceof A.ForwardRule) {
  47761. t3.push(child);
  47762. continue;
  47763. }
  47764. if (child instanceof A.SilentComment || child instanceof A.LoudComment || child instanceof A.VariableDeclaration)
  47765. continue;
  47766. break;
  47767. }
  47768. },
  47769. accept$1$1(visitor) {
  47770. return visitor.visitStylesheet$1(0, this);
  47771. },
  47772. accept$1(visitor) {
  47773. return this.accept$1$1(visitor, type$.dynamic);
  47774. },
  47775. toString$0(_) {
  47776. var t1 = this.children;
  47777. return (t1 && B.JSArray_methods).join$1(t1, " ");
  47778. },
  47779. get$span(receiver) {
  47780. return this.span;
  47781. }
  47782. };
  47783. A.SupportsRule.prototype = {
  47784. accept$1$1(visitor) {
  47785. return visitor.visitSupportsRule$1(0, this);
  47786. },
  47787. accept$1(visitor) {
  47788. return this.accept$1$1(visitor, type$.dynamic);
  47789. },
  47790. toString$0(_) {
  47791. var t1 = this.children;
  47792. return "@supports " + this.condition.toString$0(0) + " {" + (t1 && B.JSArray_methods).join$1(t1, " ") + "}";
  47793. },
  47794. get$span(receiver) {
  47795. return this.span;
  47796. }
  47797. };
  47798. A.UseRule.prototype = {
  47799. UseRule$4$configuration(url, namespace, span, configuration) {
  47800. var t1, t2, _i, variable;
  47801. for (t1 = this.configuration, t2 = t1.length, _i = 0; _i < t2; ++_i) {
  47802. variable = t1[_i];
  47803. if (variable.isGuarded)
  47804. throw A.wrapException(A.ArgumentError$value(variable, "configured variable", "can't be guarded in a @use rule."));
  47805. }
  47806. },
  47807. accept$1$1(visitor) {
  47808. return visitor.visitUseRule$1(0, this);
  47809. },
  47810. accept$1(visitor) {
  47811. return this.accept$1$1(visitor, type$.dynamic);
  47812. },
  47813. toString$0(_) {
  47814. var t1 = this.url,
  47815. t2 = "@use " + A.StringExpression_quoteText(t1.toString$0(0)),
  47816. basename = t1.get$pathSegments().length === 0 ? "" : B.JSArray_methods.get$last(t1.get$pathSegments()),
  47817. dot = B.JSString_methods.indexOf$1(basename, ".");
  47818. t1 = this.namespace;
  47819. if (t1 !== B.JSString_methods.substring$2(basename, 0, dot === -1 ? basename.length : dot))
  47820. t1 = t2 + (" as " + (t1 == null ? "*" : t1));
  47821. else
  47822. t1 = t2;
  47823. t2 = this.configuration;
  47824. t1 = (t2.length !== 0 ? t1 + (" with (" + B.JSArray_methods.join$1(t2, ", ") + ")") : t1) + ";";
  47825. return t1.charCodeAt(0) == 0 ? t1 : t1;
  47826. },
  47827. get$span(receiver) {
  47828. return this.span;
  47829. }
  47830. };
  47831. A.VariableDeclaration.prototype = {
  47832. accept$1$1(visitor) {
  47833. return visitor.visitVariableDeclaration$1(0, this);
  47834. },
  47835. accept$1(visitor) {
  47836. return this.accept$1$1(visitor, type$.dynamic);
  47837. },
  47838. toString$0(_) {
  47839. var t1 = this.namespace;
  47840. t1 = t1 != null ? "" + (t1 + ".") : "";
  47841. t1 += "$" + this.name + ": " + this.expression.toString$0(0) + ";";
  47842. return t1.charCodeAt(0) == 0 ? t1 : t1;
  47843. },
  47844. get$span(receiver) {
  47845. return this.span;
  47846. }
  47847. };
  47848. A.WarnRule.prototype = {
  47849. accept$1$1(visitor) {
  47850. return visitor.visitWarnRule$1(0, this);
  47851. },
  47852. accept$1(visitor) {
  47853. return this.accept$1$1(visitor, type$.dynamic);
  47854. },
  47855. toString$0(_) {
  47856. return "@warn " + this.expression.toString$0(0) + ";";
  47857. },
  47858. get$span(receiver) {
  47859. return this.span;
  47860. }
  47861. };
  47862. A.WhileRule.prototype = {
  47863. accept$1$1(visitor) {
  47864. return visitor.visitWhileRule$1(0, this);
  47865. },
  47866. accept$1(visitor) {
  47867. return this.accept$1$1(visitor, type$.dynamic);
  47868. },
  47869. toString$0(_) {
  47870. var t1 = this.children;
  47871. return "@while " + this.condition.toString$0(0) + " {" + (t1 && B.JSArray_methods).join$1(t1, " ") + "}";
  47872. },
  47873. get$span(receiver) {
  47874. return this.span;
  47875. }
  47876. };
  47877. A.SupportsAnything.prototype = {
  47878. withSpan$1(span) {
  47879. return new A.SupportsAnything(this.contents, span);
  47880. },
  47881. toString$0(_) {
  47882. return "(" + this.contents.toString$0(0) + ")";
  47883. },
  47884. $isAstNode: 1,
  47885. get$span(receiver) {
  47886. return this.span;
  47887. }
  47888. };
  47889. A.SupportsDeclaration.prototype = {
  47890. get$isCustomProperty() {
  47891. var t1,
  47892. _0_0 = this.name;
  47893. $label0$0: {
  47894. if (_0_0 instanceof A.StringExpression && !_0_0.hasQuotes) {
  47895. t1 = B.JSString_methods.startsWith$1(_0_0.text.get$initialPlain(), "--");
  47896. break $label0$0;
  47897. }
  47898. t1 = false;
  47899. break $label0$0;
  47900. }
  47901. return t1;
  47902. },
  47903. withSpan$1(span) {
  47904. return new A.SupportsDeclaration(this.name, this.value, span);
  47905. },
  47906. toString$0(_) {
  47907. return "(" + this.name.toString$0(0) + ": " + this.value.toString$0(0) + ")";
  47908. },
  47909. $isAstNode: 1,
  47910. get$span(receiver) {
  47911. return this.span;
  47912. }
  47913. };
  47914. A.SupportsFunction.prototype = {
  47915. withSpan$1(span) {
  47916. return new A.SupportsFunction(this.name, this.$arguments, span);
  47917. },
  47918. toString$0(_) {
  47919. return this.name.toString$0(0) + "(" + this.$arguments.toString$0(0) + ")";
  47920. },
  47921. $isAstNode: 1,
  47922. get$span(receiver) {
  47923. return this.span;
  47924. }
  47925. };
  47926. A.SupportsInterpolation.prototype = {
  47927. withSpan$1(span) {
  47928. return new A.SupportsInterpolation(this.expression, span);
  47929. },
  47930. toString$0(_) {
  47931. return "#{" + this.expression.toString$0(0) + "}";
  47932. },
  47933. $isAstNode: 1,
  47934. get$span(receiver) {
  47935. return this.span;
  47936. }
  47937. };
  47938. A.SupportsNegation.prototype = {
  47939. withSpan$1(span) {
  47940. return new A.SupportsNegation(this.condition, span);
  47941. },
  47942. toString$0(_) {
  47943. var t1 = this.condition;
  47944. if (t1 instanceof A.SupportsNegation || t1 instanceof A.SupportsOperation)
  47945. return "not (" + t1.toString$0(0) + ")";
  47946. else
  47947. return "not " + t1.toString$0(0);
  47948. },
  47949. $isAstNode: 1,
  47950. get$span(receiver) {
  47951. return this.span;
  47952. }
  47953. };
  47954. A.SupportsOperation.prototype = {
  47955. withSpan$1(span) {
  47956. return A.SupportsOperation$(this.left, this.right, this.operator, span);
  47957. },
  47958. toString$0(_) {
  47959. var _this = this;
  47960. return _this._parenthesize$1(_this.left) + " " + _this.operator + " " + _this._parenthesize$1(_this.right);
  47961. },
  47962. _parenthesize$1(condition) {
  47963. var t1;
  47964. if (!(condition instanceof A.SupportsNegation))
  47965. t1 = condition instanceof A.SupportsOperation && condition.operator === this.operator;
  47966. else
  47967. t1 = true;
  47968. return t1 ? "(" + condition.toString$0(0) + ")" : condition.toString$0(0);
  47969. },
  47970. $isAstNode: 1,
  47971. get$span(receiver) {
  47972. return this.span;
  47973. }
  47974. };
  47975. A.Selector.prototype = {
  47976. assertNotBogus$1$name($name) {
  47977. if (!this.accept$1(B._IsBogusVisitor_true))
  47978. return;
  47979. A.warnForDeprecation("$" + $name + ": " + (this.toString$0(0) + string$.x20is_nov), B.Deprecation_9hF);
  47980. },
  47981. toString$0(_) {
  47982. var _null = null,
  47983. visitor = A._SerializeVisitor$(_null, true, _null, _null, true, false, _null, true);
  47984. this.accept$1(visitor);
  47985. return visitor._serialize$_buffer.toString$0(0);
  47986. },
  47987. $isAstNode: 1,
  47988. get$span(receiver) {
  47989. return this.span;
  47990. }
  47991. };
  47992. A._IsInvisibleVisitor0.prototype = {
  47993. visitSelectorList$1(list) {
  47994. return B.JSArray_methods.every$1(list.components, this.get$visitComplexSelector());
  47995. },
  47996. visitComplexSelector$1(complex) {
  47997. var t1;
  47998. if (!this.super$AnySelectorVisitor$visitComplexSelector(complex))
  47999. t1 = this.includeBogus && complex.accept$1(B._IsBogusVisitor_false);
  48000. else
  48001. t1 = true;
  48002. return t1;
  48003. },
  48004. visitPlaceholderSelector$1(placeholder) {
  48005. return true;
  48006. },
  48007. visitPseudoSelector$1(pseudo) {
  48008. var t1,
  48009. _0_0 = pseudo.selector;
  48010. if (_0_0 != null) {
  48011. if (pseudo.name === "not")
  48012. t1 = this.includeBogus && _0_0.accept$1(B._IsBogusVisitor_true);
  48013. else
  48014. t1 = this.visitSelectorList$1(_0_0);
  48015. return t1;
  48016. } else
  48017. return false;
  48018. }
  48019. };
  48020. A._IsBogusVisitor.prototype = {
  48021. visitComplexSelector$1(complex) {
  48022. var t2,
  48023. t1 = complex.components;
  48024. if (t1.length === 0)
  48025. return complex.leadingCombinators.length !== 0;
  48026. else {
  48027. t2 = this.includeLeadingCombinator ? 0 : 1;
  48028. return complex.leadingCombinators.length > t2 || B.JSArray_methods.get$last(t1).combinators.length !== 0 || B.JSArray_methods.any$1(t1, new A._IsBogusVisitor_visitComplexSelector_closure(this));
  48029. }
  48030. },
  48031. visitPseudoSelector$1(pseudo) {
  48032. var selector = pseudo.selector;
  48033. if (selector == null)
  48034. return false;
  48035. return pseudo.name === "has" ? selector.accept$1(B._IsBogusVisitor_false) : selector.accept$1(B._IsBogusVisitor_true);
  48036. }
  48037. };
  48038. A._IsBogusVisitor_visitComplexSelector_closure.prototype = {
  48039. call$1(component) {
  48040. return component.combinators.length > 1 || this.$this.visitCompoundSelector$1(component.selector);
  48041. },
  48042. $signature: 53
  48043. };
  48044. A._IsUselessVisitor.prototype = {
  48045. visitComplexSelector$1(complex) {
  48046. return complex.leadingCombinators.length > 1 || B.JSArray_methods.any$1(complex.components, new A._IsUselessVisitor_visitComplexSelector_closure(this));
  48047. },
  48048. visitPseudoSelector$1(pseudo) {
  48049. return pseudo.accept$1(B._IsBogusVisitor_true);
  48050. }
  48051. };
  48052. A._IsUselessVisitor_visitComplexSelector_closure.prototype = {
  48053. call$1(component) {
  48054. return component.combinators.length > 1 || this.$this.visitCompoundSelector$1(component.selector);
  48055. },
  48056. $signature: 53
  48057. };
  48058. A._ContainsParentSelectorVisitor.prototype = {
  48059. visitParentSelector$1(_) {
  48060. return true;
  48061. }
  48062. };
  48063. A.__ContainsParentSelectorVisitor_Object_AnySelectorVisitor.prototype = {};
  48064. A.__IsBogusVisitor_Object_AnySelectorVisitor.prototype = {};
  48065. A.__IsInvisibleVisitor_Object_AnySelectorVisitor.prototype = {};
  48066. A.__IsUselessVisitor_Object_AnySelectorVisitor.prototype = {};
  48067. A.AttributeSelector.prototype = {
  48068. accept$1$1(visitor) {
  48069. return visitor.visitAttributeSelector$1(this);
  48070. },
  48071. accept$1(visitor) {
  48072. return this.accept$1$1(visitor, type$.dynamic);
  48073. },
  48074. $eq(_, other) {
  48075. var _this = this;
  48076. if (other == null)
  48077. return false;
  48078. return other instanceof A.AttributeSelector && other.name.$eq(0, _this.name) && other.op == _this.op && other.value == _this.value && other.modifier == _this.modifier;
  48079. },
  48080. get$hashCode(_) {
  48081. var _this = this,
  48082. t1 = _this.name;
  48083. 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;
  48084. }
  48085. };
  48086. A.AttributeOperator.prototype = {
  48087. _enumToString$0() {
  48088. return "AttributeOperator." + this._name;
  48089. },
  48090. toString$0(_) {
  48091. return this._attribute$_text;
  48092. }
  48093. };
  48094. A.ClassSelector.prototype = {
  48095. $eq(_, other) {
  48096. if (other == null)
  48097. return false;
  48098. return other instanceof A.ClassSelector && other.name === this.name;
  48099. },
  48100. accept$1$1(visitor) {
  48101. return visitor.visitClassSelector$1(this);
  48102. },
  48103. accept$1(visitor) {
  48104. return this.accept$1$1(visitor, type$.dynamic);
  48105. },
  48106. addSuffix$1(suffix) {
  48107. return new A.ClassSelector(this.name + suffix, this.span);
  48108. },
  48109. get$hashCode(_) {
  48110. return B.JSString_methods.get$hashCode(this.name);
  48111. }
  48112. };
  48113. A.Combinator.prototype = {
  48114. _enumToString$0() {
  48115. return "Combinator." + this._name;
  48116. },
  48117. toString$0(_) {
  48118. return this._combinator$_text;
  48119. }
  48120. };
  48121. A.ComplexSelector.prototype = {
  48122. get$specificity() {
  48123. var result, _this = this,
  48124. value = _this.__ComplexSelector_specificity_FI;
  48125. if (value === $) {
  48126. result = B.JSArray_methods.fold$2(_this.components, 0, new A.ComplexSelector_specificity_closure());
  48127. _this.__ComplexSelector_specificity_FI !== $ && A.throwUnnamedLateFieldADI();
  48128. _this.__ComplexSelector_specificity_FI = result;
  48129. value = result;
  48130. }
  48131. return value;
  48132. },
  48133. get$singleCompound() {
  48134. var _0_0, t1, _0_4, selector;
  48135. if (this.leadingCombinators.length !== 0)
  48136. return null;
  48137. _0_0 = this.components;
  48138. $label0$0: {
  48139. t1 = false;
  48140. if (_0_0.length === 1) {
  48141. _0_4 = _0_0[0];
  48142. selector = _0_4.selector;
  48143. t1 = _0_4.combinators.length <= 0;
  48144. } else
  48145. selector = null;
  48146. if (t1) {
  48147. t1 = selector;
  48148. break $label0$0;
  48149. }
  48150. t1 = null;
  48151. break $label0$0;
  48152. }
  48153. return t1;
  48154. },
  48155. accept$1$1(visitor) {
  48156. return visitor.visitComplexSelector$1(this);
  48157. },
  48158. accept$1(visitor) {
  48159. return this.accept$1$1(visitor, type$.dynamic);
  48160. },
  48161. isSuperselector$1(other) {
  48162. return this.leadingCombinators.length === 0 && other.leadingCombinators.length === 0 && A.complexIsSuperselector(this.components, other.components);
  48163. },
  48164. withAdditionalCombinators$1(combinators) {
  48165. var _0_0, _0_1, t1, initial, last, _this = this;
  48166. if (combinators.length === 0)
  48167. return _this;
  48168. _0_0 = _this.components;
  48169. $label0$0: {
  48170. _0_1 = _0_0.length;
  48171. if (_0_1 >= 1) {
  48172. t1 = _0_1 - 1;
  48173. initial = B.JSArray_methods.sublist$2(_0_0, 0, t1);
  48174. last = _0_0[t1];
  48175. t1 = A.List_List$_of(initial, type$.ComplexSelectorComponent);
  48176. t1.push(last.withAdditionalCombinators$1(combinators));
  48177. t1 = A.ComplexSelector$(_this.leadingCombinators, t1, _this.span, _this.lineBreak);
  48178. break $label0$0;
  48179. }
  48180. if (_0_1 <= 0) {
  48181. t1 = A.List_List$_of(_this.leadingCombinators, type$.CssValue_Combinator);
  48182. B.JSArray_methods.addAll$1(t1, combinators);
  48183. t1 = A.ComplexSelector$(t1, B.List_empty2, _this.span, _this.lineBreak);
  48184. break $label0$0;
  48185. }
  48186. t1 = null;
  48187. }
  48188. return t1;
  48189. },
  48190. concatenate$3$forceLineBreak(child, span, forceLineBreak) {
  48191. var t2, _0_1, initial, last, _this = this,
  48192. t1 = child.leadingCombinators,
  48193. _0_0 = _this.components;
  48194. if (t1.length === 0) {
  48195. t1 = A.List_List$_of(_0_0, type$.ComplexSelectorComponent);
  48196. B.JSArray_methods.addAll$1(t1, child.components);
  48197. t2 = _this.lineBreak || child.lineBreak || forceLineBreak;
  48198. return A.ComplexSelector$(_this.leadingCombinators, t1, span, t2);
  48199. } else {
  48200. _0_1 = _0_0.length;
  48201. if (_0_1 >= 1) {
  48202. t2 = _0_1 - 1;
  48203. initial = B.JSArray_methods.sublist$2(_0_0, 0, t2);
  48204. last = _0_0[t2];
  48205. t2 = A.List_List$_of(initial, type$.ComplexSelectorComponent);
  48206. t2.push(last.withAdditionalCombinators$1(t1));
  48207. B.JSArray_methods.addAll$1(t2, child.components);
  48208. t1 = _this.lineBreak || child.lineBreak || forceLineBreak;
  48209. return A.ComplexSelector$(_this.leadingCombinators, t2, span, t1);
  48210. } else {
  48211. t2 = A.List_List$_of(_this.leadingCombinators, type$.CssValue_Combinator);
  48212. B.JSArray_methods.addAll$1(t2, t1);
  48213. t1 = _this.lineBreak || child.lineBreak || forceLineBreak;
  48214. return A.ComplexSelector$(t2, child.components, span, t1);
  48215. }
  48216. }
  48217. },
  48218. concatenate$2(child, span) {
  48219. return this.concatenate$3$forceLineBreak(child, span, false);
  48220. },
  48221. get$hashCode(_) {
  48222. return B.C_ListEquality0.hash$1(this.leadingCombinators) ^ B.C_ListEquality0.hash$1(this.components);
  48223. },
  48224. $eq(_, other) {
  48225. if (other == null)
  48226. return false;
  48227. 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);
  48228. }
  48229. };
  48230. A.ComplexSelector_specificity_closure.prototype = {
  48231. call$2(sum, component) {
  48232. return sum + component.selector.get$specificity();
  48233. },
  48234. $signature: 359
  48235. };
  48236. A.ComplexSelectorComponent.prototype = {
  48237. withAdditionalCombinators$1(combinators) {
  48238. var t1, t2, _this = this;
  48239. if (combinators.length === 0)
  48240. t1 = _this;
  48241. else {
  48242. t1 = type$.CssValue_Combinator;
  48243. t2 = A.List_List$_of(_this.combinators, t1);
  48244. B.JSArray_methods.addAll$1(t2, combinators);
  48245. t1 = new A.ComplexSelectorComponent(_this.selector, A.List_List$unmodifiable(t2, t1), _this.span);
  48246. }
  48247. return t1;
  48248. },
  48249. get$hashCode(_) {
  48250. return B.C_ListEquality0.hash$1(this.selector.components) ^ B.C_ListEquality0.hash$1(this.combinators);
  48251. },
  48252. $eq(_, other) {
  48253. var t1;
  48254. if (other == null)
  48255. return false;
  48256. if (other instanceof A.ComplexSelectorComponent) {
  48257. t1 = B.C_ListEquality.equals$2(0, this.selector.components, other.selector.components);
  48258. t1 = t1 && B.C_ListEquality.equals$2(0, this.combinators, other.combinators);
  48259. } else
  48260. t1 = false;
  48261. return t1;
  48262. },
  48263. toString$0(_) {
  48264. var t1 = this.combinators;
  48265. 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, "");
  48266. }
  48267. };
  48268. A.ComplexSelectorComponent_toString_closure.prototype = {
  48269. call$1(combinator) {
  48270. return " " + combinator.toString$0(0);
  48271. },
  48272. $signature: 440
  48273. };
  48274. A.CompoundSelector.prototype = {
  48275. get$specificity() {
  48276. var result, _this = this,
  48277. value = _this.__CompoundSelector_specificity_FI;
  48278. if (value === $) {
  48279. result = B.JSArray_methods.fold$2(_this.components, 0, new A.CompoundSelector_specificity_closure());
  48280. _this.__CompoundSelector_specificity_FI !== $ && A.throwUnnamedLateFieldADI();
  48281. _this.__CompoundSelector_specificity_FI = result;
  48282. value = result;
  48283. }
  48284. return value;
  48285. },
  48286. get$hasComplicatedSuperselectorSemantics() {
  48287. var result, _this = this,
  48288. value = _this.__CompoundSelector_hasComplicatedSuperselectorSemantics_FI;
  48289. if (value === $) {
  48290. result = B.JSArray_methods.any$1(_this.components, new A.CompoundSelector_hasComplicatedSuperselectorSemantics_closure());
  48291. _this.__CompoundSelector_hasComplicatedSuperselectorSemantics_FI !== $ && A.throwUnnamedLateFieldADI();
  48292. _this.__CompoundSelector_hasComplicatedSuperselectorSemantics_FI = result;
  48293. value = result;
  48294. }
  48295. return value;
  48296. },
  48297. accept$1$1(visitor) {
  48298. return visitor.visitCompoundSelector$1(this);
  48299. },
  48300. accept$1(visitor) {
  48301. return this.accept$1$1(visitor, type$.dynamic);
  48302. },
  48303. get$hashCode(_) {
  48304. return B.C_ListEquality0.hash$1(this.components);
  48305. },
  48306. $eq(_, other) {
  48307. if (other == null)
  48308. return false;
  48309. return other instanceof A.CompoundSelector && B.C_ListEquality.equals$2(0, this.components, other.components);
  48310. }
  48311. };
  48312. A.CompoundSelector_specificity_closure.prototype = {
  48313. call$2(sum, component) {
  48314. return sum + component.get$specificity();
  48315. },
  48316. $signature: 444
  48317. };
  48318. A.CompoundSelector_hasComplicatedSuperselectorSemantics_closure.prototype = {
  48319. call$1(component) {
  48320. return component.get$hasComplicatedSuperselectorSemantics();
  48321. },
  48322. $signature: 13
  48323. };
  48324. A.IDSelector.prototype = {
  48325. get$specificity() {
  48326. return A._asInt(Math.pow(A.SimpleSelector.prototype.get$specificity.call(this), 2));
  48327. },
  48328. accept$1$1(visitor) {
  48329. return visitor.visitIDSelector$1(this);
  48330. },
  48331. accept$1(visitor) {
  48332. return this.accept$1$1(visitor, type$.dynamic);
  48333. },
  48334. addSuffix$1(suffix) {
  48335. return new A.IDSelector(this.name + suffix, this.span);
  48336. },
  48337. unify$1(compound) {
  48338. if (B.JSArray_methods.any$1(compound, new A.IDSelector_unify_closure(this)))
  48339. return null;
  48340. return this.super$SimpleSelector$unify(compound);
  48341. },
  48342. $eq(_, other) {
  48343. if (other == null)
  48344. return false;
  48345. return other instanceof A.IDSelector && other.name === this.name;
  48346. },
  48347. get$hashCode(_) {
  48348. return B.JSString_methods.get$hashCode(this.name);
  48349. }
  48350. };
  48351. A.IDSelector_unify_closure.prototype = {
  48352. call$1(simple) {
  48353. var t1;
  48354. if (simple instanceof A.IDSelector)
  48355. t1 = this.$this.name !== simple.name;
  48356. else
  48357. t1 = false;
  48358. return t1;
  48359. },
  48360. $signature: 13
  48361. };
  48362. A.SelectorList.prototype = {
  48363. get$asSassList() {
  48364. var t1 = this.components;
  48365. return A.SassList$(new A.MappedListIterable(t1, new A.SelectorList_asSassList_closure(), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,Value>")), B.ListSeparator_qVN, false);
  48366. },
  48367. accept$1$1(visitor) {
  48368. return visitor.visitSelectorList$1(this);
  48369. },
  48370. accept$1(visitor) {
  48371. return this.accept$1$1(visitor, type$.dynamic);
  48372. },
  48373. unify$1(other) {
  48374. var t3, t4, t5, t6, _i, complex1, t7, _i0, t8,
  48375. t1 = type$.JSArray_ComplexSelector,
  48376. t2 = A._setArrayType([], t1);
  48377. for (t3 = this.components, t4 = t3.length, t5 = other.components, t6 = t5.length, _i = 0; _i < t4; ++_i) {
  48378. complex1 = t3[_i];
  48379. for (t7 = complex1.span, _i0 = 0; _i0 < t6; ++_i0) {
  48380. t8 = A.unifyComplex(A._setArrayType([complex1, t5[_i0]], t1), t7);
  48381. if (t8 != null)
  48382. B.JSArray_methods.addAll$1(t2, t8);
  48383. }
  48384. }
  48385. return t2.length === 0 ? null : A.SelectorList$(t2, this.span);
  48386. },
  48387. nestWithin$3$implicitParent$preserveParentSelectors($parent, implicitParent, preserveParentSelectors) {
  48388. var parentSelector, t1, _this = this;
  48389. if ($parent == null) {
  48390. if (preserveParentSelectors)
  48391. return _this;
  48392. parentSelector = B.C__ParentSelectorVisitor.visitSelectorList$1(_this);
  48393. if (parentSelector == null)
  48394. return _this;
  48395. throw A.wrapException(A.SassException$(string$.Top_les, parentSelector.span, null));
  48396. }
  48397. t1 = _this.components;
  48398. return A.SelectorList$(A.flattenVertically(new A.MappedListIterable(t1, new A.SelectorList_nestWithin_closure(_this, preserveParentSelectors, implicitParent, $parent), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,Iterable<ComplexSelector>>")), type$.ComplexSelector), _this.span);
  48399. },
  48400. nestWithin$1($parent) {
  48401. return this.nestWithin$3$implicitParent$preserveParentSelectors($parent, true, false);
  48402. },
  48403. nestWithin$2$implicitParent($parent, implicitParent) {
  48404. return this.nestWithin$3$implicitParent$preserveParentSelectors($parent, implicitParent, false);
  48405. },
  48406. _nestWithinCompound$2(component, $parent) {
  48407. var resolvedSimples, parentSelector, error, stackTrace, t2, resolvedSimples0, exception,
  48408. t1 = component.selector,
  48409. simples = t1.components,
  48410. containsSelectorPseudo = J.any$1$ax(simples, new A.SelectorList__nestWithinCompound_closure());
  48411. if (!containsSelectorPseudo && !(J.get$first$ax(simples) instanceof A.ParentSelector))
  48412. return null;
  48413. if (containsSelectorPseudo) {
  48414. t2 = simples;
  48415. resolvedSimples0 = new A.MappedListIterable(t2, new A.SelectorList__nestWithinCompound_closure0($parent), A._arrayInstanceType(t2)._eval$1("MappedListIterable<1,SimpleSelector>"));
  48416. } else
  48417. resolvedSimples0 = simples;
  48418. resolvedSimples = resolvedSimples0;
  48419. parentSelector = J.get$first$ax(simples);
  48420. try {
  48421. if (!(parentSelector instanceof A.ParentSelector)) {
  48422. t2 = component.span;
  48423. t2 = A._setArrayType([A.ComplexSelector$(B.List_empty0, A._setArrayType([new A.ComplexSelectorComponent(A.CompoundSelector$(resolvedSimples, t1.span), A.List_List$unmodifiable(component.combinators, type$.CssValue_Combinator), t2)], type$.JSArray_ComplexSelectorComponent), t2, false)], type$.JSArray_ComplexSelector);
  48424. return t2;
  48425. } else if (J.get$length$asx(simples) === 1 && parentSelector.suffix == null) {
  48426. t1 = $parent.withAdditionalCombinators$1(component.combinators);
  48427. return t1.components;
  48428. }
  48429. } catch (exception) {
  48430. t1 = A.unwrapException(exception);
  48431. if (t1 instanceof A.SassException) {
  48432. error = t1;
  48433. stackTrace = A.getTraceFromException(exception);
  48434. A.throwWithTrace(error.withAdditionalSpan$2(parentSelector.span, "parent selector"), error, stackTrace);
  48435. } else
  48436. throw exception;
  48437. }
  48438. t1 = $parent.components;
  48439. return new A.MappedListIterable(t1, new A.SelectorList__nestWithinCompound_closure1(parentSelector, resolvedSimples, component), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,ComplexSelector>"));
  48440. },
  48441. isSuperselector$1(other) {
  48442. return A.listIsSuperselector(this.components, other.components);
  48443. },
  48444. withAdditionalCombinators$1(combinators) {
  48445. var t1;
  48446. if (combinators.length === 0)
  48447. t1 = this;
  48448. else {
  48449. t1 = this.components;
  48450. t1 = A.SelectorList$(new A.MappedListIterable(t1, new A.SelectorList_withAdditionalCombinators_closure(combinators), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,ComplexSelector>")), this.span);
  48451. }
  48452. return t1;
  48453. },
  48454. get$hashCode(_) {
  48455. return B.C_ListEquality0.hash$1(this.components);
  48456. },
  48457. $eq(_, other) {
  48458. if (other == null)
  48459. return false;
  48460. return other instanceof A.SelectorList && B.C_ListEquality.equals$2(0, this.components, other.components);
  48461. }
  48462. };
  48463. A.SelectorList_asSassList_closure.prototype = {
  48464. call$1(complex) {
  48465. var t3, t4, _i, component, visitor, t5, t6, t7, _i0, _null = null,
  48466. t1 = type$.JSArray_Value,
  48467. t2 = A._setArrayType([], t1);
  48468. for (t3 = complex.leadingCombinators, t4 = t3.length, _i = 0; _i < t4; ++_i)
  48469. t2.push(new A.SassString(J.toString$0$(t3[_i].value), false));
  48470. for (t3 = complex.components, t4 = t3.length, _i = 0; _i < t4; ++_i) {
  48471. component = t3[_i];
  48472. visitor = A._SerializeVisitor$(_null, true, _null, _null, true, false, _null, true);
  48473. component.selector.accept$1(visitor);
  48474. t5 = A._setArrayType([new A.SassString(visitor._serialize$_buffer.toString$0(0), false)], t1);
  48475. for (t6 = component.combinators, t7 = t6.length, _i0 = 0; _i0 < t7; ++_i0)
  48476. t5.push(new A.SassString(J.toString$0$(t6[_i0].value), false));
  48477. B.JSArray_methods.addAll$1(t2, t5);
  48478. }
  48479. return A.SassList$(t2, B.ListSeparator_qSL, false);
  48480. },
  48481. $signature: 332
  48482. };
  48483. A.SelectorList_nestWithin_closure.prototype = {
  48484. call$1(complex) {
  48485. var t1, newComplexes, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, _i, component, resolved, i, t12, t13, t14, _i0, newComplex, t15, t16, _this = this;
  48486. if (_this.preserveParentSelectors || complex.accept$1(B.C__ParentSelectorVisitor) == null) {
  48487. if (!_this.implicitParent)
  48488. return A._setArrayType([complex], type$.JSArray_ComplexSelector);
  48489. t1 = _this.parent.components;
  48490. return new A.MappedListIterable(t1, new A.SelectorList_nestWithin__closure(complex), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,ComplexSelector>"));
  48491. }
  48492. t1 = type$.JSArray_ComplexSelector;
  48493. newComplexes = A._setArrayType([], t1);
  48494. for (t2 = complex.components, t3 = t2.length, t4 = _this.$this, t5 = _this.parent, t6 = type$.ComplexSelector, t7 = complex.leadingCombinators, t8 = t7.length === 0, t9 = complex.span, t10 = type$.ComplexSelectorComponent, t11 = type$.JSArray_ComplexSelectorComponent, _i = 0; _i < t3; ++_i) {
  48495. component = t2[_i];
  48496. resolved = t4._nestWithinCompound$2(component, t5);
  48497. if (resolved == null)
  48498. if (newComplexes.length === 0)
  48499. newComplexes.push(A.ComplexSelector$(t7, A._setArrayType([component], t11), t9, false));
  48500. else
  48501. for (i = 0; i < newComplexes.length; ++i) {
  48502. t12 = newComplexes[i];
  48503. t13 = A.List_List$_of(t12.components, t10);
  48504. t13.push(component);
  48505. newComplexes[i] = A.ComplexSelector$(t12.leadingCombinators, t13, t9, t12.lineBreak);
  48506. }
  48507. else if (newComplexes.length === 0)
  48508. B.JSArray_methods.addAll$1(newComplexes, t8 ? resolved : J.map$1$1$ax(resolved, new A.SelectorList_nestWithin__closure0(complex), t6));
  48509. else {
  48510. t12 = A._setArrayType([], t1);
  48511. for (t13 = newComplexes.length, t14 = J.getInterceptor$ax(resolved), _i0 = 0; _i0 < newComplexes.length; newComplexes.length === t13 || (0, A.throwConcurrentModificationError)(newComplexes), ++_i0) {
  48512. newComplex = newComplexes[_i0];
  48513. for (t15 = t14.get$iterator(resolved), t16 = newComplex.span; t15.moveNext$0();)
  48514. t12.push(newComplex.concatenate$2(t15.get$current(t15), t16));
  48515. }
  48516. newComplexes = t12;
  48517. }
  48518. }
  48519. return newComplexes;
  48520. },
  48521. $signature: 344
  48522. };
  48523. A.SelectorList_nestWithin__closure.prototype = {
  48524. call$1(parentComplex) {
  48525. var t1 = this.complex;
  48526. return parentComplex.concatenate$2(t1, t1.span);
  48527. },
  48528. $signature: 59
  48529. };
  48530. A.SelectorList_nestWithin__closure0.prototype = {
  48531. call$1(resolvedComplex) {
  48532. var t1 = resolvedComplex.leadingCombinators,
  48533. t2 = this.complex,
  48534. t3 = t2.leadingCombinators;
  48535. if (t1.length === 0)
  48536. t1 = t3;
  48537. else {
  48538. t3 = A.List_List$_of(t3, type$.CssValue_Combinator);
  48539. B.JSArray_methods.addAll$1(t3, t1);
  48540. t1 = t3;
  48541. }
  48542. return A.ComplexSelector$(t1, resolvedComplex.components, t2.span, resolvedComplex.lineBreak);
  48543. },
  48544. $signature: 59
  48545. };
  48546. A.SelectorList__nestWithinCompound_closure.prototype = {
  48547. call$1(simple) {
  48548. var selector;
  48549. if (!(simple instanceof A.PseudoSelector))
  48550. return false;
  48551. selector = simple.selector;
  48552. return selector != null && selector.accept$1(B.C__ParentSelectorVisitor) != null;
  48553. },
  48554. $signature: 13
  48555. };
  48556. A.SelectorList__nestWithinCompound_closure0.prototype = {
  48557. call$1(simple) {
  48558. var selector, t1, _0_2;
  48559. $label0$0: {
  48560. selector = null;
  48561. t1 = false;
  48562. if (simple instanceof A.PseudoSelector) {
  48563. _0_2 = simple.selector;
  48564. if (_0_2 != null) {
  48565. selector = _0_2 == null ? type$.SelectorList._as(_0_2) : _0_2;
  48566. t1 = selector.accept$1(B.C__ParentSelectorVisitor) != null;
  48567. }
  48568. }
  48569. if (t1) {
  48570. t1 = simple.withSelector$1(selector.nestWithin$2$implicitParent(this.parent, false));
  48571. break $label0$0;
  48572. }
  48573. t1 = simple;
  48574. break $label0$0;
  48575. }
  48576. return t1;
  48577. },
  48578. $signature: 368
  48579. };
  48580. A.SelectorList__nestWithinCompound_closure1.prototype = {
  48581. call$1(complex) {
  48582. var lastComponent, suffix, lastSimples, t1, t2, last, t3, error, stackTrace, t4, t5, exception, _this = this;
  48583. try {
  48584. t4 = complex.components;
  48585. lastComponent = B.JSArray_methods.get$last(t4);
  48586. if (lastComponent.combinators.length !== 0) {
  48587. t1 = A.MultiSpanSassException$('Selector "' + complex.toString$0(0) + string$.x22x20can_, A.SpanExtensions_trimRight(lastComponent.span), "outer selector", A.LinkedHashMap_LinkedHashMap$_literal([_this.parentSelector.span, "parent selector"], type$.FileSpan, type$.String), null);
  48588. throw A.wrapException(t1);
  48589. }
  48590. suffix = _this.parentSelector.suffix;
  48591. lastSimples = lastComponent.selector.components;
  48592. t5 = type$.SimpleSelector;
  48593. if (suffix == null) {
  48594. t2 = A.List_List$_of(lastSimples, t5);
  48595. t1 = t2;
  48596. J.addAll$1$ax(t1, J.skip$1$ax(_this.resolvedSimples, 1));
  48597. t1 = t1;
  48598. } else {
  48599. t1 = A.List_List$_of(A.IterableExtension_get_exceptLast(lastSimples), t5);
  48600. t2 = t1;
  48601. J.add$1$ax(t2, J.get$last$ax(lastSimples).addSuffix$1(suffix));
  48602. J.addAll$1$ax(t2, J.skip$1$ax(_this.resolvedSimples, 1));
  48603. t1 = t2;
  48604. }
  48605. t2 = _this.component;
  48606. last = A.CompoundSelector$(t1, t2.selector.span);
  48607. t1 = A.List_List$_of(A.IterableExtension_get_exceptLast(t4), type$.ComplexSelectorComponent);
  48608. t3 = t1;
  48609. t1 = t2.span;
  48610. J.add$1$ax(t3, new A.ComplexSelectorComponent(last, A.List_List$unmodifiable(t2.combinators, type$.CssValue_Combinator), t1));
  48611. t1 = A.ComplexSelector$(complex.leadingCombinators, t3, t1, complex.lineBreak);
  48612. return t1;
  48613. } catch (exception) {
  48614. t1 = A.unwrapException(exception);
  48615. if (t1 instanceof A.SassException) {
  48616. error = t1;
  48617. stackTrace = A.getTraceFromException(exception);
  48618. A.throwWithTrace(error.withAdditionalSpan$2(_this.parentSelector.span, "parent selector"), error, stackTrace);
  48619. } else
  48620. throw exception;
  48621. }
  48622. },
  48623. $signature: 59
  48624. };
  48625. A.SelectorList_withAdditionalCombinators_closure.prototype = {
  48626. call$1(complex) {
  48627. return complex.withAdditionalCombinators$1(this.combinators);
  48628. },
  48629. $signature: 59
  48630. };
  48631. A._ParentSelectorVisitor.prototype = {
  48632. visitParentSelector$1(selector) {
  48633. return selector;
  48634. }
  48635. };
  48636. A.__ParentSelectorVisitor_Object_SelectorSearchVisitor.prototype = {};
  48637. A.ParentSelector.prototype = {
  48638. accept$1$1(visitor) {
  48639. return visitor.visitParentSelector$1(this);
  48640. },
  48641. accept$1(visitor) {
  48642. return this.accept$1$1(visitor, type$.dynamic);
  48643. },
  48644. unify$1(compound) {
  48645. return A.throwExpression(A.UnsupportedError$("& doesn't support unification."));
  48646. }
  48647. };
  48648. A.PlaceholderSelector.prototype = {
  48649. accept$1$1(visitor) {
  48650. return visitor.visitPlaceholderSelector$1(this);
  48651. },
  48652. accept$1(visitor) {
  48653. return this.accept$1$1(visitor, type$.dynamic);
  48654. },
  48655. addSuffix$1(suffix) {
  48656. return new A.PlaceholderSelector(this.name + suffix, this.span);
  48657. },
  48658. $eq(_, other) {
  48659. if (other == null)
  48660. return false;
  48661. return other instanceof A.PlaceholderSelector && other.name === this.name;
  48662. },
  48663. get$hashCode(_) {
  48664. return B.JSString_methods.get$hashCode(this.name);
  48665. }
  48666. };
  48667. A.PseudoSelector.prototype = {
  48668. get$isHostContext() {
  48669. return this.isClass && this.name === "host-context" && this.selector != null;
  48670. },
  48671. get$hasComplicatedSuperselectorSemantics() {
  48672. return !this.isClass || this.selector != null;
  48673. },
  48674. get$specificity() {
  48675. var result, _this = this,
  48676. value = _this.__PseudoSelector_specificity_FI;
  48677. if (value === $) {
  48678. result = new A.PseudoSelector_specificity_closure(_this).call$0();
  48679. _this.__PseudoSelector_specificity_FI !== $ && A.throwUnnamedLateFieldADI();
  48680. _this.__PseudoSelector_specificity_FI = result;
  48681. value = result;
  48682. }
  48683. return value;
  48684. },
  48685. withSelector$1(selector) {
  48686. var _this = this;
  48687. return A.PseudoSelector$(_this.name, _this.span, _this.argument, !_this.isClass, selector);
  48688. },
  48689. addSuffix$1(suffix) {
  48690. var _this = this;
  48691. if (_this.argument != null || _this.selector != null)
  48692. _this.super$SimpleSelector$addSuffix(suffix);
  48693. return A.PseudoSelector$(_this.name + suffix, _this.span, null, !_this.isClass, null);
  48694. },
  48695. unify$1(compound) {
  48696. var other, result, t2, addedThis, _i, simple, _this = this,
  48697. t1 = _this.name;
  48698. if (t1 === "host" || t1 === "host-context") {
  48699. if (!B.JSArray_methods.every$1(compound, new A.PseudoSelector_unify_closure()))
  48700. return null;
  48701. } else {
  48702. t1 = false;
  48703. if (compound.length === 1) {
  48704. other = compound[0];
  48705. if (!(other instanceof A.UniversalSelector)) {
  48706. if (other instanceof A.PseudoSelector)
  48707. t1 = other.isClass && other.name === "host" || other.get$isHostContext();
  48708. } else
  48709. t1 = true;
  48710. } else
  48711. other = null;
  48712. if (t1)
  48713. return other.unify$1(A._setArrayType([_this], type$.JSArray_SimpleSelector));
  48714. }
  48715. if (B.JSArray_methods.contains$1(compound, _this))
  48716. return compound;
  48717. result = A._setArrayType([], type$.JSArray_SimpleSelector);
  48718. for (t1 = compound.length, t2 = !_this.isClass, addedThis = false, _i = 0; _i < compound.length; compound.length === t1 || (0, A.throwConcurrentModificationError)(compound), ++_i) {
  48719. simple = compound[_i];
  48720. if (simple instanceof A.PseudoSelector && !simple.isClass) {
  48721. if (t2)
  48722. return null;
  48723. result.push(_this);
  48724. addedThis = true;
  48725. }
  48726. result.push(simple);
  48727. }
  48728. if (!addedThis)
  48729. result.push(_this);
  48730. return result;
  48731. },
  48732. isSuperselector$1(other) {
  48733. var selector, t1, t2, _this = this;
  48734. if (_this.super$SimpleSelector$isSuperselector(other))
  48735. return true;
  48736. selector = _this.selector;
  48737. if (selector == null)
  48738. return _this.$eq(0, other);
  48739. if (other instanceof A.PseudoSelector && !_this.isClass && !other.isClass && _this.normalizedName === "slotted" && other.name === _this.name) {
  48740. t1 = A.NullableExtension_andThen(other.selector, selector.get$isSuperselector());
  48741. return t1 == null ? false : t1;
  48742. }
  48743. t1 = type$.JSArray_SimpleSelector;
  48744. t2 = _this.span;
  48745. return A.compoundIsSuperselector(A.CompoundSelector$(A._setArrayType([_this], t1), t2), A.CompoundSelector$(A._setArrayType([other], t1), t2), null);
  48746. },
  48747. accept$1$1(visitor) {
  48748. return visitor.visitPseudoSelector$1(this);
  48749. },
  48750. accept$1(visitor) {
  48751. return this.accept$1$1(visitor, type$.dynamic);
  48752. },
  48753. $eq(_, other) {
  48754. var _this = this;
  48755. if (other == null)
  48756. return false;
  48757. return other instanceof A.PseudoSelector && other.name === _this.name && other.isClass === _this.isClass && other.argument == _this.argument && J.$eq$(other.selector, _this.selector);
  48758. },
  48759. get$hashCode(_) {
  48760. var _this = this,
  48761. t1 = B.JSString_methods.get$hashCode(_this.name),
  48762. t2 = !_this.isClass ? 519018 : 218159;
  48763. return t1 ^ t2 ^ J.get$hashCode$(_this.argument) ^ J.get$hashCode$(_this.selector);
  48764. }
  48765. };
  48766. A.PseudoSelector_specificity_closure.prototype = {
  48767. call$0() {
  48768. var selector, t2,
  48769. t1 = this.$this;
  48770. if (!t1.isClass)
  48771. return 1;
  48772. selector = t1.selector;
  48773. if (selector == null)
  48774. return A.SimpleSelector.prototype.get$specificity.call(t1);
  48775. switch (t1.normalizedName) {
  48776. case "where":
  48777. return 0;
  48778. case "is":
  48779. case "not":
  48780. case "has":
  48781. case "matches":
  48782. t1 = selector.components;
  48783. return A.IterableIntegerExtension_get_max(new A.MappedListIterable(t1, new A.PseudoSelector_specificity__closure(), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,int>")));
  48784. case "nth-child":
  48785. case "nth-last-child":
  48786. t1 = A.SimpleSelector.prototype.get$specificity.call(t1);
  48787. t2 = selector.components;
  48788. return t1 + A.IterableIntegerExtension_get_max(new A.MappedListIterable(t2, new A.PseudoSelector_specificity__closure0(), A._arrayInstanceType(t2)._eval$1("MappedListIterable<1,int>")));
  48789. default:
  48790. return A.SimpleSelector.prototype.get$specificity.call(t1);
  48791. }
  48792. },
  48793. $signature: 10
  48794. };
  48795. A.PseudoSelector_specificity__closure.prototype = {
  48796. call$1(component) {
  48797. return component.get$specificity();
  48798. },
  48799. $signature: 171
  48800. };
  48801. A.PseudoSelector_specificity__closure0.prototype = {
  48802. call$1(component) {
  48803. return component.get$specificity();
  48804. },
  48805. $signature: 171
  48806. };
  48807. A.PseudoSelector_unify_closure.prototype = {
  48808. call$1(simple) {
  48809. var t1;
  48810. if (simple instanceof A.PseudoSelector)
  48811. t1 = simple.isClass && simple.name === "host" || simple.selector != null;
  48812. else
  48813. t1 = false;
  48814. return t1;
  48815. },
  48816. $signature: 13
  48817. };
  48818. A.QualifiedName.prototype = {
  48819. $eq(_, other) {
  48820. if (other == null)
  48821. return false;
  48822. return other instanceof A.QualifiedName && other.name === this.name && other.namespace == this.namespace;
  48823. },
  48824. get$hashCode(_) {
  48825. return B.JSString_methods.get$hashCode(this.name) ^ J.get$hashCode$(this.namespace);
  48826. },
  48827. toString$0(_) {
  48828. var t1 = this.namespace,
  48829. t2 = this.name;
  48830. return t1 == null ? t2 : t1 + "|" + t2;
  48831. }
  48832. };
  48833. A.SimpleSelector.prototype = {
  48834. get$specificity() {
  48835. return 1000;
  48836. },
  48837. get$hasComplicatedSuperselectorSemantics() {
  48838. return false;
  48839. },
  48840. addSuffix$1(suffix) {
  48841. return A.throwExpression(A.MultiSpanSassException$('Selector "' + this.toString$0(0) + "\" can't have a suffix", this.span, "outer selector", A.LinkedHashMap_LinkedHashMap$_empty(type$.FileSpan, type$.String), null));
  48842. },
  48843. unify$1(compound) {
  48844. var other, result, addedThis, _i, simple, _this = this,
  48845. t1 = false;
  48846. if (compound.length === 1) {
  48847. other = compound[0];
  48848. if (!(other instanceof A.UniversalSelector)) {
  48849. if (other instanceof A.PseudoSelector)
  48850. t1 = other.isClass && other.name === "host" || other.get$isHostContext();
  48851. } else
  48852. t1 = true;
  48853. } else
  48854. other = null;
  48855. if (t1)
  48856. return other.unify$1(A._setArrayType([_this], type$.JSArray_SimpleSelector));
  48857. if (B.JSArray_methods.contains$1(compound, _this))
  48858. return compound;
  48859. result = A._setArrayType([], type$.JSArray_SimpleSelector);
  48860. for (t1 = compound.length, addedThis = false, _i = 0; _i < compound.length; compound.length === t1 || (0, A.throwConcurrentModificationError)(compound), ++_i) {
  48861. simple = compound[_i];
  48862. if (!addedThis && simple instanceof A.PseudoSelector) {
  48863. result.push(_this);
  48864. addedThis = true;
  48865. }
  48866. result.push(simple);
  48867. }
  48868. if (!addedThis)
  48869. result.push(_this);
  48870. return result;
  48871. },
  48872. isSuperselector$1(other) {
  48873. var list;
  48874. if (this.$eq(0, other))
  48875. return true;
  48876. if (other instanceof A.PseudoSelector && other.isClass) {
  48877. list = other.selector;
  48878. if (list != null && $._subselectorPseudos.contains$1(0, other.normalizedName))
  48879. return B.JSArray_methods.every$1(list.components, new A.SimpleSelector_isSuperselector_closure(this));
  48880. }
  48881. return false;
  48882. }
  48883. };
  48884. A.SimpleSelector_isSuperselector_closure.prototype = {
  48885. call$1(complex) {
  48886. var t1 = complex.components;
  48887. return t1.length !== 0 && B.JSArray_methods.any$1(B.JSArray_methods.get$last(t1).selector.components, new A.SimpleSelector_isSuperselector__closure(this.$this));
  48888. },
  48889. $signature: 20
  48890. };
  48891. A.SimpleSelector_isSuperselector__closure.prototype = {
  48892. call$1(simple) {
  48893. return this.$this.isSuperselector$1(simple);
  48894. },
  48895. $signature: 13
  48896. };
  48897. A.TypeSelector.prototype = {
  48898. get$specificity() {
  48899. return 1;
  48900. },
  48901. accept$1$1(visitor) {
  48902. return visitor.visitTypeSelector$1(this);
  48903. },
  48904. accept$1(visitor) {
  48905. return this.accept$1$1(visitor, type$.dynamic);
  48906. },
  48907. addSuffix$1(suffix) {
  48908. var t1 = this.name;
  48909. return new A.TypeSelector(new A.QualifiedName(t1.name + suffix, t1.namespace), this.span);
  48910. },
  48911. unify$1(compound) {
  48912. var unified, t1,
  48913. _0_0 = A.IterableExtensions_get_firstOrNull(compound);
  48914. if (_0_0 instanceof A.UniversalSelector || _0_0 instanceof A.TypeSelector) {
  48915. unified = A.unifyUniversalAndElement(this, B.JSArray_methods.get$first(compound));
  48916. if (unified == null)
  48917. return null;
  48918. t1 = A._setArrayType([unified], type$.JSArray_SimpleSelector);
  48919. B.JSArray_methods.addAll$1(t1, A.SubListIterable$(compound, 1, null, A._arrayInstanceType(compound)._precomputed1));
  48920. return t1;
  48921. } else {
  48922. t1 = A._setArrayType([this], type$.JSArray_SimpleSelector);
  48923. B.JSArray_methods.addAll$1(t1, compound);
  48924. return t1;
  48925. }
  48926. },
  48927. isSuperselector$1(other) {
  48928. var t1, t2, t3;
  48929. if (!this.super$SimpleSelector$isSuperselector(other)) {
  48930. t1 = false;
  48931. if (other instanceof A.TypeSelector) {
  48932. t2 = this.name;
  48933. t3 = other.name;
  48934. if (t2.name === t3.name) {
  48935. t1 = t2.namespace;
  48936. t1 = t1 === "*" || t1 == t3.namespace;
  48937. }
  48938. }
  48939. } else
  48940. t1 = true;
  48941. return t1;
  48942. },
  48943. $eq(_, other) {
  48944. if (other == null)
  48945. return false;
  48946. return other instanceof A.TypeSelector && other.name.$eq(0, this.name);
  48947. },
  48948. get$hashCode(_) {
  48949. var t1 = this.name;
  48950. return B.JSString_methods.get$hashCode(t1.name) ^ J.get$hashCode$(t1.namespace);
  48951. }
  48952. };
  48953. A.UniversalSelector.prototype = {
  48954. get$specificity() {
  48955. return 0;
  48956. },
  48957. accept$1$1(visitor) {
  48958. return visitor.visitUniversalSelector$1(this);
  48959. },
  48960. accept$1(visitor) {
  48961. return this.accept$1$1(visitor, type$.dynamic);
  48962. },
  48963. unify$1(compound) {
  48964. var _0_4, t1, rest, unified, t2, _this = this, _null = null,
  48965. _0_1 = compound.length,
  48966. _0_4_isSet = _0_1 >= 1;
  48967. if (_0_4_isSet) {
  48968. _0_4 = compound[0];
  48969. if (!(_0_4 instanceof A.UniversalSelector))
  48970. t1 = _0_4 instanceof A.TypeSelector;
  48971. else
  48972. t1 = true;
  48973. rest = t1 ? B.JSArray_methods.sublist$1(compound, 1) : _null;
  48974. } else {
  48975. rest = _null;
  48976. _0_4 = rest;
  48977. t1 = false;
  48978. }
  48979. if (t1) {
  48980. unified = A.unifyUniversalAndElement(_this, B.JSArray_methods.get$first(compound));
  48981. if (unified == null)
  48982. return _null;
  48983. t1 = A._setArrayType([unified], type$.JSArray_SimpleSelector);
  48984. B.JSArray_methods.addAll$1(t1, rest);
  48985. return t1;
  48986. }
  48987. t1 = false;
  48988. if (_0_1 === 1) {
  48989. if (_0_4_isSet)
  48990. t2 = _0_4;
  48991. else {
  48992. _0_4 = compound[0];
  48993. t2 = _0_4;
  48994. _0_4_isSet = true;
  48995. }
  48996. if (t2 instanceof A.PseudoSelector) {
  48997. t2 = _0_4_isSet ? _0_4 : compound[0];
  48998. type$.PseudoSelector._as(t2);
  48999. t1 = t2.isClass && t2.name === "host" || t2.get$isHostContext();
  49000. }
  49001. }
  49002. if (t1)
  49003. return _null;
  49004. if (_0_1 <= 0)
  49005. return A._setArrayType([_this], type$.JSArray_SimpleSelector);
  49006. t1 = _this.namespace;
  49007. if (t1 == null || t1 === "*")
  49008. t1 = compound;
  49009. else {
  49010. t1 = A._setArrayType([_this], type$.JSArray_SimpleSelector);
  49011. B.JSArray_methods.addAll$1(t1, compound);
  49012. }
  49013. return t1;
  49014. },
  49015. isSuperselector$1(other) {
  49016. var t1 = this.namespace;
  49017. if (t1 === "*")
  49018. return true;
  49019. if (other instanceof A.TypeSelector)
  49020. return t1 == other.name.namespace;
  49021. if (other instanceof A.UniversalSelector)
  49022. return t1 == other.namespace;
  49023. return t1 == null || this.super$SimpleSelector$isSuperselector(other);
  49024. },
  49025. $eq(_, other) {
  49026. if (other == null)
  49027. return false;
  49028. return other instanceof A.UniversalSelector && other.namespace == this.namespace;
  49029. },
  49030. get$hashCode(_) {
  49031. return J.get$hashCode$(this.namespace);
  49032. }
  49033. };
  49034. A._compileStylesheet_closure0.prototype = {
  49035. call$1(url) {
  49036. var t1;
  49037. if (url === "") {
  49038. t1 = this.stylesheet.span;
  49039. 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();
  49040. } else
  49041. t1 = this.importCache.sourceMapUrl$1(0, A.Uri_parse(url)).toString$0(0);
  49042. return t1;
  49043. },
  49044. $signature: 6
  49045. };
  49046. A.AsyncEnvironment.prototype = {
  49047. closure$0() {
  49048. var t4, t5, t6, _this = this,
  49049. t1 = _this._async_environment$_forwardedModules,
  49050. t2 = _this._async_environment$_nestedForwardedModules,
  49051. t3 = _this._async_environment$_variables;
  49052. t3 = A._setArrayType(t3.slice(0), A._arrayInstanceType(t3));
  49053. t4 = _this._async_environment$_variableNodes;
  49054. t4 = A._setArrayType(t4.slice(0), A._arrayInstanceType(t4));
  49055. t5 = _this._async_environment$_functions;
  49056. t5 = A._setArrayType(t5.slice(0), A._arrayInstanceType(t5));
  49057. t6 = _this._async_environment$_mixins;
  49058. t6 = A._setArrayType(t6.slice(0), A._arrayInstanceType(t6));
  49059. 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);
  49060. },
  49061. forwardModule$2(module, rule) {
  49062. var view, t1, t2, _this = this,
  49063. forwardedModules = _this._async_environment$_forwardedModules;
  49064. if (forwardedModules == null)
  49065. forwardedModules = _this._async_environment$_forwardedModules = A.LinkedHashMap_LinkedHashMap$_empty(type$.Module_AsyncCallable, type$.AstNode);
  49066. view = A.ForwardedModuleView_ifNecessary(module, rule, type$.AsyncCallable);
  49067. for (t1 = new A.LinkedHashMapKeyIterator(forwardedModules, forwardedModules._modifications, forwardedModules._first); t1.moveNext$0();) {
  49068. t2 = t1.__js_helper$_current;
  49069. _this._async_environment$_assertNoConflicts$5(view.get$variables(), t2.get$variables(), view, t2, "variable");
  49070. _this._async_environment$_assertNoConflicts$5(view.get$functions(view), t2.get$functions(t2), view, t2, "function");
  49071. _this._async_environment$_assertNoConflicts$5(view.get$mixins(), t2.get$mixins(), view, t2, "mixin");
  49072. }
  49073. _this._async_environment$_allModules.push(module);
  49074. forwardedModules.$indexSet(0, view, rule);
  49075. },
  49076. _async_environment$_assertNoConflicts$5(newMembers, oldMembers, newModule, oldModule, type) {
  49077. var larger, smaller, t1, t2, t3, t4, $name, small, large, span;
  49078. if (newMembers.get$length(newMembers) < oldMembers.get$length(oldMembers)) {
  49079. larger = oldMembers;
  49080. smaller = newMembers;
  49081. } else {
  49082. larger = newMembers;
  49083. smaller = oldMembers;
  49084. }
  49085. for (t1 = type$.String, t2 = A.MapExtensions_get_pairs(smaller, t1, type$.Object), t2 = t2.get$iterator(t2), t3 = type === "variable"; t2.moveNext$0();) {
  49086. t4 = t2.get$current(t2);
  49087. $name = t4._0;
  49088. small = t4._1;
  49089. large = larger.$index(0, $name);
  49090. if (large == null)
  49091. continue;
  49092. if (t3 ? newModule.variableIdentity$1($name) === oldModule.variableIdentity$1($name) : J.$eq$(large, small))
  49093. continue;
  49094. if (t3)
  49095. $name = "$" + $name;
  49096. t2 = this._async_environment$_forwardedModules;
  49097. if (t2 == null)
  49098. span = null;
  49099. else {
  49100. t2 = t2.$index(0, oldModule);
  49101. span = t2 == null ? null : t2.get$span(t2);
  49102. }
  49103. t2 = A.LinkedHashMap_LinkedHashMap$_empty(type$.FileSpan, t1);
  49104. if (span != null)
  49105. t2.$indexSet(0, span, "original @forward");
  49106. throw A.wrapException(A.MultiSpanSassScriptException$("Two forwarded modules both define a " + type + " named " + $name + ".", "new @forward", t2));
  49107. }
  49108. },
  49109. importForwards$1(module) {
  49110. var forwardedModules, t1, t2, t3, t4, node, t5, t6, t7, t8, t9, t10, _i, t11, shadowed, t12, t13, _length, _list, _this = this,
  49111. forwarded = module._async_environment$_environment._async_environment$_forwardedModules;
  49112. if (forwarded == null)
  49113. return;
  49114. forwardedModules = _this._async_environment$_forwardedModules;
  49115. if (forwardedModules != null) {
  49116. t1 = type$.Module_AsyncCallable;
  49117. t2 = type$.AstNode;
  49118. t3 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t2);
  49119. for (t1 = A.MapExtensions_get_pairs(forwarded, t1, t2), t1 = t1.get$iterator(t1), t2 = _this._async_environment$_globalModules; t1.moveNext$0();) {
  49120. t4 = t1.get$current(t1);
  49121. module = t4._0;
  49122. node = t4._1;
  49123. if (!forwardedModules.containsKey$1(module) || !t2.containsKey$1(module))
  49124. t3.$indexSet(0, module, node);
  49125. }
  49126. forwarded = t3;
  49127. } else
  49128. forwardedModules = _this._async_environment$_forwardedModules = A.LinkedHashMap_LinkedHashMap$_empty(type$.Module_AsyncCallable, type$.AstNode);
  49129. t1 = type$.String;
  49130. t2 = A.LinkedHashSet_LinkedHashSet$_empty(t1);
  49131. for (t3 = new A.LinkedHashMapKeyIterator(forwarded, forwarded._modifications, forwarded._first); t3.moveNext$0();)
  49132. for (t4 = t3.__js_helper$_current.get$variables(), t4 = J.get$iterator$ax(t4.get$keys(t4)); t4.moveNext$0();)
  49133. t2.add$1(0, t4.get$current(t4));
  49134. t3 = A.LinkedHashSet_LinkedHashSet$_empty(t1);
  49135. for (t4 = new A.LinkedHashMapKeyIterator(forwarded, forwarded._modifications, forwarded._first); t4.moveNext$0();) {
  49136. t5 = t4.__js_helper$_current;
  49137. for (t5 = t5.get$functions(t5), t5 = J.get$iterator$ax(t5.get$keys(t5)); t5.moveNext$0();)
  49138. t3.add$1(0, t5.get$current(t5));
  49139. }
  49140. t1 = A.LinkedHashSet_LinkedHashSet$_empty(t1);
  49141. for (t4 = new A.LinkedHashMapKeyIterator(forwarded, forwarded._modifications, forwarded._first); t4.moveNext$0();)
  49142. for (t5 = t4.__js_helper$_current.get$mixins(), t5 = J.get$iterator$ax(t5.get$keys(t5)); t5.moveNext$0();)
  49143. t1.add$1(0, t5.get$current(t5));
  49144. t4 = _this._async_environment$_variables;
  49145. t5 = t4.length;
  49146. if (t5 === 1) {
  49147. for (t5 = _this._async_environment$_importedModules, t6 = type$.Module_AsyncCallable, t7 = type$.AstNode, t8 = A.MapExtensions_get_pairs(t5, t6, t7).toList$0(0), t9 = t8.length, t10 = type$.AsyncCallable, _i = 0; _i < t8.length; t8.length === t9 || (0, A.throwConcurrentModificationError)(t8), ++_i) {
  49148. t11 = t8[_i];
  49149. module = t11._0;
  49150. shadowed = A.ShadowedModuleView_ifNecessary(module, t3, t1, t2, t10);
  49151. if (shadowed != null) {
  49152. t5.remove$1(0, module);
  49153. t12 = shadowed.variables;
  49154. t13 = false;
  49155. if (t12.get$isEmpty(t12)) {
  49156. t12 = shadowed.functions;
  49157. if (t12.get$isEmpty(t12)) {
  49158. t12 = shadowed.mixins;
  49159. if (t12.get$isEmpty(t12)) {
  49160. t12 = shadowed._shadowed_view$_inner;
  49161. t12 = t12.get$css(t12);
  49162. t12 = J.get$isEmpty$asx(t12.get$children(t12));
  49163. } else
  49164. t12 = t13;
  49165. } else
  49166. t12 = t13;
  49167. } else
  49168. t12 = t13;
  49169. if (!t12)
  49170. t5.$indexSet(0, shadowed, t11._1);
  49171. }
  49172. }
  49173. for (t6 = A.MapExtensions_get_pairs(forwardedModules, t6, t7).toList$0(0), t7 = t6.length, _i = 0; _i < t6.length; t6.length === t7 || (0, A.throwConcurrentModificationError)(t6), ++_i) {
  49174. t8 = t6[_i];
  49175. module = t8._0;
  49176. shadowed = A.ShadowedModuleView_ifNecessary(module, t3, t1, t2, t10);
  49177. if (shadowed != null) {
  49178. forwardedModules.remove$1(0, module);
  49179. t9 = shadowed.variables;
  49180. t11 = false;
  49181. if (t9.get$isEmpty(t9)) {
  49182. t9 = shadowed.functions;
  49183. if (t9.get$isEmpty(t9)) {
  49184. t9 = shadowed.mixins;
  49185. if (t9.get$isEmpty(t9)) {
  49186. t9 = shadowed._shadowed_view$_inner;
  49187. t9 = t9.get$css(t9);
  49188. t9 = J.get$isEmpty$asx(t9.get$children(t9));
  49189. } else
  49190. t9 = t11;
  49191. } else
  49192. t9 = t11;
  49193. } else
  49194. t9 = t11;
  49195. if (!t9)
  49196. forwardedModules.$indexSet(0, shadowed, t8._1);
  49197. }
  49198. }
  49199. t5.addAll$1(0, forwarded);
  49200. forwardedModules.addAll$1(0, forwarded);
  49201. } else {
  49202. t6 = _this._async_environment$_nestedForwardedModules;
  49203. if (t6 == null) {
  49204. _length = t5 - 1;
  49205. _list = J.JSArray_JSArray$allocateGrowable(_length, type$.List_Module_AsyncCallable);
  49206. for (t5 = type$.JSArray_Module_AsyncCallable, _i = 0; _i < _length; ++_i)
  49207. _list[_i] = A._setArrayType([], t5);
  49208. _this._async_environment$_nestedForwardedModules = _list;
  49209. t5 = _list;
  49210. } else
  49211. t5 = t6;
  49212. B.JSArray_methods.addAll$1(B.JSArray_methods.get$last(t5), new A.LinkedHashMapKeysIterable(forwarded, A._instanceType(forwarded)._eval$1("LinkedHashMapKeysIterable<1>")));
  49213. }
  49214. for (t2 = A._LinkedHashSetIterator$(t2, t2._collection$_modifications, t2.$ti._precomputed1), t5 = _this._async_environment$_variableIndices, t6 = _this._async_environment$_variableNodes, t7 = t2.$ti._precomputed1; t2.moveNext$0();) {
  49215. t8 = t2._collection$_current;
  49216. if (t8 == null)
  49217. t8 = t7._as(t8);
  49218. t5.remove$1(0, t8);
  49219. J.remove$1$z(B.JSArray_methods.get$last(t4), t8);
  49220. J.remove$1$z(B.JSArray_methods.get$last(t6), t8);
  49221. }
  49222. for (t2 = A._LinkedHashSetIterator$(t3, t3._collection$_modifications, t3.$ti._precomputed1), t3 = _this._async_environment$_functionIndices, t4 = _this._async_environment$_functions, t5 = t2.$ti._precomputed1; t2.moveNext$0();) {
  49223. t6 = t2._collection$_current;
  49224. if (t6 == null)
  49225. t6 = t5._as(t6);
  49226. t3.remove$1(0, t6);
  49227. J.remove$1$z(B.JSArray_methods.get$last(t4), t6);
  49228. }
  49229. for (t1 = A._LinkedHashSetIterator$(t1, t1._collection$_modifications, t1.$ti._precomputed1), t2 = _this._async_environment$_mixinIndices, t3 = _this._async_environment$_mixins, t4 = t1.$ti._precomputed1; t1.moveNext$0();) {
  49230. t5 = t1._collection$_current;
  49231. if (t5 == null)
  49232. t5 = t4._as(t5);
  49233. t2.remove$1(0, t5);
  49234. J.remove$1$z(B.JSArray_methods.get$last(t3), t5);
  49235. }
  49236. },
  49237. getVariable$2$namespace($name, namespace) {
  49238. var t1, _0_0, _1_0, _this = this;
  49239. if (namespace != null)
  49240. return _this._async_environment$_getModule$1(namespace).get$variables().$index(0, $name);
  49241. if (_this._async_environment$_lastVariableName === $name) {
  49242. t1 = _this._async_environment$_lastVariableIndex;
  49243. t1.toString;
  49244. t1 = _this._async_environment$_variables[t1].$index(0, $name);
  49245. return t1 == null ? _this._async_environment$_getVariableFromGlobalModule$1($name) : t1;
  49246. }
  49247. t1 = _this._async_environment$_variableIndices;
  49248. _0_0 = t1.$index(0, $name);
  49249. if (_0_0 != null) {
  49250. _this._async_environment$_lastVariableName = $name;
  49251. _this._async_environment$_lastVariableIndex = _0_0;
  49252. t1 = _this._async_environment$_variables[_0_0].$index(0, $name);
  49253. return t1 == null ? _this._async_environment$_getVariableFromGlobalModule$1($name) : t1;
  49254. } else {
  49255. _1_0 = _this._async_environment$_variableIndex$1($name);
  49256. if (_1_0 != null) {
  49257. _this._async_environment$_lastVariableName = $name;
  49258. _this._async_environment$_lastVariableIndex = _1_0;
  49259. t1.$indexSet(0, $name, _1_0);
  49260. t1 = _this._async_environment$_variables[_1_0].$index(0, $name);
  49261. return t1 == null ? _this._async_environment$_getVariableFromGlobalModule$1($name) : t1;
  49262. } else
  49263. return _this._async_environment$_getVariableFromGlobalModule$1($name);
  49264. }
  49265. },
  49266. getVariable$1($name) {
  49267. return this.getVariable$2$namespace($name, null);
  49268. },
  49269. _async_environment$_getVariableFromGlobalModule$1($name) {
  49270. return this._async_environment$_fromOneModule$3($name, "variable", new A.AsyncEnvironment__getVariableFromGlobalModule_closure($name));
  49271. },
  49272. getVariableNode$2$namespace($name, namespace) {
  49273. var t1, _0_0, _1_0, _this = this;
  49274. if (namespace != null)
  49275. return _this._async_environment$_getModule$1(namespace).get$variableNodes().$index(0, $name);
  49276. if (_this._async_environment$_lastVariableName === $name) {
  49277. t1 = _this._async_environment$_lastVariableIndex;
  49278. t1.toString;
  49279. t1 = _this._async_environment$_variableNodes[t1].$index(0, $name);
  49280. return t1 == null ? _this._async_environment$_getVariableNodeFromGlobalModule$1($name) : t1;
  49281. }
  49282. t1 = _this._async_environment$_variableIndices;
  49283. _0_0 = t1.$index(0, $name);
  49284. if (_0_0 != null) {
  49285. _this._async_environment$_lastVariableName = $name;
  49286. _this._async_environment$_lastVariableIndex = _0_0;
  49287. t1 = _this._async_environment$_variableNodes[_0_0].$index(0, $name);
  49288. return t1 == null ? _this._async_environment$_getVariableNodeFromGlobalModule$1($name) : t1;
  49289. } else {
  49290. _1_0 = _this._async_environment$_variableIndex$1($name);
  49291. if (_1_0 != null) {
  49292. _this._async_environment$_lastVariableName = $name;
  49293. _this._async_environment$_lastVariableIndex = _1_0;
  49294. t1.$indexSet(0, $name, _1_0);
  49295. t1 = _this._async_environment$_variableNodes[_1_0].$index(0, $name);
  49296. return t1 == null ? _this._async_environment$_getVariableNodeFromGlobalModule$1($name) : t1;
  49297. } else
  49298. return _this._async_environment$_getVariableNodeFromGlobalModule$1($name);
  49299. }
  49300. },
  49301. _async_environment$_getVariableNodeFromGlobalModule$1($name) {
  49302. var t1, t2, _0_0;
  49303. for (t1 = this._async_environment$_importedModules, t2 = this._async_environment$_globalModules, t2 = new A.LinkedHashMapKeysIterable(t1, A._instanceType(t1)._eval$1("LinkedHashMapKeysIterable<1>")).followedBy$1(0, new A.LinkedHashMapKeysIterable(t2, A._instanceType(t2)._eval$1("LinkedHashMapKeysIterable<1>"))), t2 = new A.FollowedByIterator(J.get$iterator$ax(t2.__internal$_first), t2._second); t2.moveNext$0();) {
  49304. t1 = t2._currentIterator;
  49305. _0_0 = t1.get$current(t1).get$variableNodes().$index(0, $name);
  49306. if (_0_0 != null)
  49307. return _0_0;
  49308. }
  49309. return null;
  49310. },
  49311. globalVariableExists$2$namespace($name, namespace) {
  49312. if (namespace != null)
  49313. return this._async_environment$_getModule$1(namespace).get$variables().containsKey$1($name);
  49314. if (B.JSArray_methods.get$first(this._async_environment$_variables).containsKey$1($name))
  49315. return true;
  49316. return this._async_environment$_getVariableFromGlobalModule$1($name) != null;
  49317. },
  49318. globalVariableExists$1($name) {
  49319. return this.globalVariableExists$2$namespace($name, null);
  49320. },
  49321. _async_environment$_variableIndex$1($name) {
  49322. var t1, i;
  49323. for (t1 = this._async_environment$_variables, i = t1.length - 1; i >= 0; --i)
  49324. if (t1[i].containsKey$1($name))
  49325. return i;
  49326. return null;
  49327. },
  49328. setVariable$5$global$namespace($name, value, nodeWithSpan, global, namespace) {
  49329. var t1, moduleWithName, nestedForwardedModules, t2, t3, t4, t5, index, _this = this;
  49330. if (namespace != null) {
  49331. _this._async_environment$_getModule$1(namespace).setVariable$3($name, value, nodeWithSpan);
  49332. return;
  49333. }
  49334. if (global || _this._async_environment$_variables.length === 1) {
  49335. _this._async_environment$_variableIndices.putIfAbsent$2($name, new A.AsyncEnvironment_setVariable_closure(_this, $name));
  49336. t1 = _this._async_environment$_variables;
  49337. if (!B.JSArray_methods.get$first(t1).containsKey$1($name)) {
  49338. moduleWithName = _this._async_environment$_fromOneModule$3($name, "variable", new A.AsyncEnvironment_setVariable_closure0($name));
  49339. if (moduleWithName != null) {
  49340. moduleWithName.setVariable$3($name, value, nodeWithSpan);
  49341. return;
  49342. }
  49343. }
  49344. J.$indexSet$ax(B.JSArray_methods.get$first(t1), $name, value);
  49345. J.$indexSet$ax(B.JSArray_methods.get$first(_this._async_environment$_variableNodes), $name, nodeWithSpan);
  49346. return;
  49347. }
  49348. nestedForwardedModules = _this._async_environment$_nestedForwardedModules;
  49349. if (nestedForwardedModules != null && !_this._async_environment$_variableIndices.containsKey$1($name) && _this._async_environment$_variableIndex$1($name) == null)
  49350. for (t1 = A._arrayInstanceType(nestedForwardedModules)._eval$1("ReversedListIterable<1>"), t2 = new A.ReversedListIterable(nestedForwardedModules, t1), t2 = new A.ListIterator(t2, t2.get$length(0), t1._eval$1("ListIterator<ListIterable.E>")), t1 = t1._eval$1("ListIterable.E"); t2.moveNext$0();) {
  49351. t3 = t2.__internal$_current;
  49352. for (t3 = J.get$reversed$ax(t3 == null ? t1._as(t3) : t3), t4 = t3.$ti, t3 = new A.ListIterator(t3, t3.get$length(0), t4._eval$1("ListIterator<ListIterable.E>")), t4 = t4._eval$1("ListIterable.E"); t3.moveNext$0();) {
  49353. t5 = t3.__internal$_current;
  49354. if (t5 == null)
  49355. t5 = t4._as(t5);
  49356. if (t5.get$variables().containsKey$1($name)) {
  49357. t5.setVariable$3($name, value, nodeWithSpan);
  49358. return;
  49359. }
  49360. }
  49361. }
  49362. if (_this._async_environment$_lastVariableName === $name) {
  49363. t1 = _this._async_environment$_lastVariableIndex;
  49364. t1.toString;
  49365. index = t1;
  49366. } else
  49367. index = _this._async_environment$_variableIndices.putIfAbsent$2($name, new A.AsyncEnvironment_setVariable_closure1(_this, $name));
  49368. if (!_this._async_environment$_inSemiGlobalScope && index === 0) {
  49369. index = _this._async_environment$_variables.length - 1;
  49370. _this._async_environment$_variableIndices.$indexSet(0, $name, index);
  49371. }
  49372. _this._async_environment$_lastVariableName = $name;
  49373. _this._async_environment$_lastVariableIndex = index;
  49374. _this._async_environment$_variables[index].$indexSet(0, $name, value);
  49375. _this._async_environment$_variableNodes[index].$indexSet(0, $name, nodeWithSpan);
  49376. },
  49377. setVariable$4$global($name, value, nodeWithSpan, global) {
  49378. return this.setVariable$5$global$namespace($name, value, nodeWithSpan, global, null);
  49379. },
  49380. setLocalVariable$3($name, value, nodeWithSpan) {
  49381. var index, _this = this,
  49382. t1 = _this._async_environment$_variables,
  49383. t2 = t1.length;
  49384. _this._async_environment$_lastVariableName = $name;
  49385. index = _this._async_environment$_lastVariableIndex = t2 - 1;
  49386. _this._async_environment$_variableIndices.$indexSet(0, $name, index);
  49387. t1[index].$indexSet(0, $name, value);
  49388. _this._async_environment$_variableNodes[index].$indexSet(0, $name, nodeWithSpan);
  49389. },
  49390. getFunction$2$namespace($name, namespace) {
  49391. var t1, _0_0, _1_0, _this = this;
  49392. if (namespace != null) {
  49393. t1 = _this._async_environment$_getModule$1(namespace);
  49394. return t1.get$functions(t1).$index(0, $name);
  49395. }
  49396. t1 = _this._async_environment$_functionIndices;
  49397. _0_0 = t1.$index(0, $name);
  49398. if (_0_0 != null) {
  49399. t1 = _this._async_environment$_functions[_0_0].$index(0, $name);
  49400. return t1 == null ? _this._async_environment$_getFunctionFromGlobalModule$1($name) : t1;
  49401. } else {
  49402. _1_0 = _this._async_environment$_functionIndex$1($name);
  49403. if (_1_0 != null) {
  49404. t1.$indexSet(0, $name, _1_0);
  49405. t1 = _this._async_environment$_functions[_1_0].$index(0, $name);
  49406. return t1 == null ? _this._async_environment$_getFunctionFromGlobalModule$1($name) : t1;
  49407. } else
  49408. return _this._async_environment$_getFunctionFromGlobalModule$1($name);
  49409. }
  49410. },
  49411. getFunction$1($name) {
  49412. return this.getFunction$2$namespace($name, null);
  49413. },
  49414. _async_environment$_getFunctionFromGlobalModule$1($name) {
  49415. return this._async_environment$_fromOneModule$3($name, "function", new A.AsyncEnvironment__getFunctionFromGlobalModule_closure($name));
  49416. },
  49417. _async_environment$_functionIndex$1($name) {
  49418. var t1, i;
  49419. for (t1 = this._async_environment$_functions, i = t1.length - 1; i >= 0; --i)
  49420. if (t1[i].containsKey$1($name))
  49421. return i;
  49422. return null;
  49423. },
  49424. getMixin$2$namespace($name, namespace) {
  49425. var t1, _0_0, _1_0, _this = this;
  49426. if (namespace != null)
  49427. return _this._async_environment$_getModule$1(namespace).get$mixins().$index(0, $name);
  49428. t1 = _this._async_environment$_mixinIndices;
  49429. _0_0 = t1.$index(0, $name);
  49430. if (_0_0 != null) {
  49431. t1 = _this._async_environment$_mixins[_0_0].$index(0, $name);
  49432. return t1 == null ? _this._async_environment$_getMixinFromGlobalModule$1($name) : t1;
  49433. } else {
  49434. _1_0 = _this._async_environment$_mixinIndex$1($name);
  49435. if (_1_0 != null) {
  49436. t1.$indexSet(0, $name, _1_0);
  49437. t1 = _this._async_environment$_mixins[_1_0].$index(0, $name);
  49438. return t1 == null ? _this._async_environment$_getMixinFromGlobalModule$1($name) : t1;
  49439. } else
  49440. return _this._async_environment$_getMixinFromGlobalModule$1($name);
  49441. }
  49442. },
  49443. _async_environment$_getMixinFromGlobalModule$1($name) {
  49444. return this._async_environment$_fromOneModule$3($name, "mixin", new A.AsyncEnvironment__getMixinFromGlobalModule_closure($name));
  49445. },
  49446. _async_environment$_mixinIndex$1($name) {
  49447. var t1, i;
  49448. for (t1 = this._async_environment$_mixins, i = t1.length - 1; i >= 0; --i)
  49449. if (t1[i].containsKey$1($name))
  49450. return i;
  49451. return null;
  49452. },
  49453. withContent$2($content, callback) {
  49454. return this.withContent$body$AsyncEnvironment($content, callback);
  49455. },
  49456. withContent$body$AsyncEnvironment($content, callback) {
  49457. var $async$goto = 0,
  49458. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  49459. $async$self = this, oldContent;
  49460. var $async$withContent$2 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  49461. if ($async$errorCode === 1)
  49462. return A._asyncRethrow($async$result, $async$completer);
  49463. while (true)
  49464. switch ($async$goto) {
  49465. case 0:
  49466. // Function start
  49467. oldContent = $async$self._async_environment$_content;
  49468. $async$self._async_environment$_content = $content;
  49469. $async$goto = 2;
  49470. return A._asyncAwait(callback.call$0(), $async$withContent$2);
  49471. case 2:
  49472. // returning from await.
  49473. $async$self._async_environment$_content = oldContent;
  49474. // implicit return
  49475. return A._asyncReturn(null, $async$completer);
  49476. }
  49477. });
  49478. return A._asyncStartSync($async$withContent$2, $async$completer);
  49479. },
  49480. asMixin$1(callback) {
  49481. return this.asMixin$body$AsyncEnvironment(callback);
  49482. },
  49483. asMixin$body$AsyncEnvironment(callback) {
  49484. var $async$goto = 0,
  49485. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  49486. $async$self = this, oldInMixin;
  49487. var $async$asMixin$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  49488. if ($async$errorCode === 1)
  49489. return A._asyncRethrow($async$result, $async$completer);
  49490. while (true)
  49491. switch ($async$goto) {
  49492. case 0:
  49493. // Function start
  49494. oldInMixin = $async$self._async_environment$_inMixin;
  49495. $async$self._async_environment$_inMixin = true;
  49496. $async$goto = 2;
  49497. return A._asyncAwait(callback.call$0(), $async$asMixin$1);
  49498. case 2:
  49499. // returning from await.
  49500. $async$self._async_environment$_inMixin = oldInMixin;
  49501. // implicit return
  49502. return A._asyncReturn(null, $async$completer);
  49503. }
  49504. });
  49505. return A._asyncStartSync($async$asMixin$1, $async$completer);
  49506. },
  49507. scope$1$3$semiGlobal$when(callback, semiGlobal, when, $T) {
  49508. return this.scope$body$AsyncEnvironment(callback, semiGlobal, when, $T, $T);
  49509. },
  49510. scope$1$1(callback, $T) {
  49511. callback.toString;
  49512. return this.scope$1$3$semiGlobal$when(callback, false, true, $T);
  49513. },
  49514. scope$1$2$when(callback, when, $T) {
  49515. callback.toString;
  49516. return this.scope$1$3$semiGlobal$when(callback, false, when, $T);
  49517. },
  49518. scope$1$2$semiGlobal(callback, semiGlobal, $T) {
  49519. callback.toString;
  49520. return this.scope$1$3$semiGlobal$when(callback, semiGlobal, true, $T);
  49521. },
  49522. scope$body$AsyncEnvironment(callback, semiGlobal, when, $T, $async$type) {
  49523. var $async$goto = 0,
  49524. $async$completer = A._makeAsyncAwaitCompleter($async$type),
  49525. $async$returnValue, $async$handler = 2, $async$errorStack = [], $async$next = [], $async$self = this, wasInSemiGlobalScope, $name, name0, name1, t1, t2, t3, t4, t5, t6;
  49526. var $async$scope$1$3$semiGlobal$when = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  49527. if ($async$errorCode === 1) {
  49528. $async$errorStack.push($async$result);
  49529. $async$goto = $async$handler;
  49530. }
  49531. while (true)
  49532. switch ($async$goto) {
  49533. case 0:
  49534. // Function start
  49535. semiGlobal = semiGlobal && $async$self._async_environment$_inSemiGlobalScope;
  49536. wasInSemiGlobalScope = $async$self._async_environment$_inSemiGlobalScope;
  49537. $async$self._async_environment$_inSemiGlobalScope = semiGlobal;
  49538. $async$goto = !when ? 3 : 4;
  49539. break;
  49540. case 3:
  49541. // then
  49542. $async$handler = 5;
  49543. $async$goto = 8;
  49544. return A._asyncAwait(callback.call$0(), $async$scope$1$3$semiGlobal$when);
  49545. case 8:
  49546. // returning from await.
  49547. t1 = $async$result;
  49548. $async$returnValue = t1;
  49549. $async$next = [1];
  49550. // goto finally
  49551. $async$goto = 6;
  49552. break;
  49553. $async$next.push(7);
  49554. // goto finally
  49555. $async$goto = 6;
  49556. break;
  49557. case 5:
  49558. // uncaught
  49559. $async$next = [2];
  49560. case 6:
  49561. // finally
  49562. $async$handler = 2;
  49563. $async$self._async_environment$_inSemiGlobalScope = wasInSemiGlobalScope;
  49564. // goto the next finally handler
  49565. $async$goto = $async$next.pop();
  49566. break;
  49567. case 7:
  49568. // after finally
  49569. case 4:
  49570. // join
  49571. t1 = $async$self._async_environment$_variables;
  49572. t2 = type$.String;
  49573. B.JSArray_methods.add$1(t1, A.LinkedHashMap_LinkedHashMap$_empty(t2, type$.Value));
  49574. t3 = $async$self._async_environment$_variableNodes;
  49575. B.JSArray_methods.add$1(t3, A.LinkedHashMap_LinkedHashMap$_empty(t2, type$.AstNode));
  49576. t4 = $async$self._async_environment$_functions;
  49577. t5 = type$.AsyncCallable;
  49578. B.JSArray_methods.add$1(t4, A.LinkedHashMap_LinkedHashMap$_empty(t2, t5));
  49579. t6 = $async$self._async_environment$_mixins;
  49580. B.JSArray_methods.add$1(t6, A.LinkedHashMap_LinkedHashMap$_empty(t2, t5));
  49581. t5 = $async$self._async_environment$_nestedForwardedModules;
  49582. if (t5 != null)
  49583. t5.push(A._setArrayType([], type$.JSArray_Module_AsyncCallable));
  49584. $async$handler = 9;
  49585. $async$goto = 12;
  49586. return A._asyncAwait(callback.call$0(), $async$scope$1$3$semiGlobal$when);
  49587. case 12:
  49588. // returning from await.
  49589. t2 = $async$result;
  49590. $async$returnValue = t2;
  49591. $async$next = [1];
  49592. // goto finally
  49593. $async$goto = 10;
  49594. break;
  49595. $async$next.push(11);
  49596. // goto finally
  49597. $async$goto = 10;
  49598. break;
  49599. case 9:
  49600. // uncaught
  49601. $async$next = [2];
  49602. case 10:
  49603. // finally
  49604. $async$handler = 2;
  49605. $async$self._async_environment$_inSemiGlobalScope = wasInSemiGlobalScope;
  49606. $async$self._async_environment$_lastVariableIndex = $async$self._async_environment$_lastVariableName = null;
  49607. 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();) {
  49608. $name = t1.get$current(t1);
  49609. t2.remove$1(0, $name);
  49610. }
  49611. B.JSArray_methods.removeLast$0(t3);
  49612. 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();) {
  49613. name0 = t1.get$current(t1);
  49614. t2.remove$1(0, name0);
  49615. }
  49616. 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();) {
  49617. name1 = t1.get$current(t1);
  49618. t2.remove$1(0, name1);
  49619. }
  49620. t1 = $async$self._async_environment$_nestedForwardedModules;
  49621. if (t1 != null)
  49622. t1.pop();
  49623. // goto the next finally handler
  49624. $async$goto = $async$next.pop();
  49625. break;
  49626. case 11:
  49627. // after finally
  49628. case 1:
  49629. // return
  49630. return A._asyncReturn($async$returnValue, $async$completer);
  49631. case 2:
  49632. // rethrow
  49633. return A._asyncRethrow($async$errorStack.at(-1), $async$completer);
  49634. }
  49635. });
  49636. return A._asyncStartSync($async$scope$1$3$semiGlobal$when, $async$completer);
  49637. },
  49638. toImplicitConfiguration$0() {
  49639. var t2, t3, t4, i, values, nodes, t5, t6, $name, value,
  49640. t1 = type$.String,
  49641. configuration = A.LinkedHashMap_LinkedHashMap$_empty(t1, type$.ConfiguredValue);
  49642. for (t2 = this._async_environment$_variables, t3 = type$.Value, t4 = this._async_environment$_variableNodes, i = 0; i < t2.length; ++i) {
  49643. values = t2[i];
  49644. nodes = t4[i];
  49645. for (t5 = A.MapExtensions_get_pairs(values, t1, t3), t5 = t5.get$iterator(t5); t5.moveNext$0();) {
  49646. t6 = t5.get$current(t5);
  49647. $name = t6._0;
  49648. value = t6._1;
  49649. t6 = nodes.$index(0, $name);
  49650. t6.toString;
  49651. configuration.$indexSet(0, $name, new A.ConfiguredValue(value, null, t6));
  49652. }
  49653. }
  49654. return new A.Configuration(configuration, null);
  49655. },
  49656. toModule$3(css, preModuleComments, extensionStore) {
  49657. return A._EnvironmentModule__EnvironmentModule0(this, css, preModuleComments, extensionStore, A.NullableExtension_andThen(this._async_environment$_forwardedModules, new A.AsyncEnvironment_toModule_closure()));
  49658. },
  49659. toDummyModule$0() {
  49660. return A._EnvironmentModule__EnvironmentModule0(this, new A.CssStylesheet(new A.UnmodifiableListView(B.List_empty3, type$.UnmodifiableListView_CssNode), A.SourceFile$decoded(B.List_empty4, "<dummy module>").span$1(0, 0)), B.Map_empty7, B.C_EmptyExtensionStore, A.NullableExtension_andThen(this._async_environment$_forwardedModules, new A.AsyncEnvironment_toDummyModule_closure()));
  49661. },
  49662. _async_environment$_getModule$1(namespace) {
  49663. var _0_0 = this._async_environment$_modules.$index(0, namespace);
  49664. if (_0_0 != null)
  49665. return _0_0;
  49666. throw A.wrapException(A.SassScriptException$('There is no module with the namespace "' + namespace + '".', null));
  49667. },
  49668. _async_environment$_fromOneModule$1$3($name, type, callback) {
  49669. var t1, t2, t3, t4, t5, _1_0, _2_0, value, identity, valueInModule, identityFromModule, module, node,
  49670. _0_0 = this._async_environment$_nestedForwardedModules;
  49671. if (_0_0 != null)
  49672. for (t1 = A._arrayInstanceType(_0_0)._eval$1("ReversedListIterable<1>"), t2 = new A.ReversedListIterable(_0_0, t1), t2 = new A.ListIterator(t2, t2.get$length(0), t1._eval$1("ListIterator<ListIterable.E>")), t1 = t1._eval$1("ListIterable.E"); t2.moveNext$0();) {
  49673. t3 = t2.__internal$_current;
  49674. for (t3 = J.get$reversed$ax(t3 == null ? t1._as(t3) : t3), t4 = t3.$ti, t3 = new A.ListIterator(t3, t3.get$length(0), t4._eval$1("ListIterator<ListIterable.E>")), t4 = t4._eval$1("ListIterable.E"); t3.moveNext$0();) {
  49675. t5 = t3.__internal$_current;
  49676. _1_0 = callback.call$1(t5 == null ? t4._as(t5) : t5);
  49677. if (_1_0 != null)
  49678. return _1_0;
  49679. }
  49680. }
  49681. for (t1 = this._async_environment$_importedModules, t1 = new A.LinkedHashMapKeyIterator(t1, t1._modifications, t1._first); t1.moveNext$0();) {
  49682. _2_0 = callback.call$1(t1.__js_helper$_current);
  49683. if (_2_0 != null)
  49684. return _2_0;
  49685. }
  49686. for (t1 = this._async_environment$_globalModules, t2 = new A.LinkedHashMapKeyIterator(t1, t1._modifications, t1._first), t3 = type$.AsyncCallable, value = null, identity = null; t2.moveNext$0();) {
  49687. t4 = t2.__js_helper$_current;
  49688. valueInModule = callback.call$1(t4);
  49689. if (valueInModule == null)
  49690. continue;
  49691. identityFromModule = t3._is(valueInModule) ? valueInModule : t4.variableIdentity$1($name);
  49692. if (identityFromModule.$eq(0, identity))
  49693. continue;
  49694. if (value != null) {
  49695. t2 = A.LinkedHashMap_LinkedHashMap$_empty(type$.FileSpan, type$.String);
  49696. for (t3 = A.MapExtensions_get_pairs(t1, type$.Module_AsyncCallable, type$.AstNode), t3 = t3.get$iterator(t3), t4 = "includes " + type; t3.moveNext$0();) {
  49697. t1 = t3.get$current(t3);
  49698. module = t1._0;
  49699. node = t1._1;
  49700. if (callback.call$1(module) != null)
  49701. t2.$indexSet(0, node.get$span(node), t4);
  49702. }
  49703. throw A.wrapException(A.MultiSpanSassScriptException$("This " + type + string$.x20is_av, type + " use", t2));
  49704. }
  49705. identity = identityFromModule;
  49706. value = valueInModule;
  49707. }
  49708. return value;
  49709. },
  49710. _async_environment$_fromOneModule$3($name, type, callback) {
  49711. callback.toString;
  49712. return this._async_environment$_fromOneModule$1$3($name, type, callback, type$.dynamic);
  49713. }
  49714. };
  49715. A.AsyncEnvironment__getVariableFromGlobalModule_closure.prototype = {
  49716. call$1(module) {
  49717. return module.get$variables().$index(0, this.name);
  49718. },
  49719. $signature: 397
  49720. };
  49721. A.AsyncEnvironment_setVariable_closure.prototype = {
  49722. call$0() {
  49723. var t1 = this.$this;
  49724. t1._async_environment$_lastVariableName = this.name;
  49725. return t1._async_environment$_lastVariableIndex = 0;
  49726. },
  49727. $signature: 10
  49728. };
  49729. A.AsyncEnvironment_setVariable_closure0.prototype = {
  49730. call$1(module) {
  49731. return module.get$variables().containsKey$1(this.name) ? module : null;
  49732. },
  49733. $signature: 412
  49734. };
  49735. A.AsyncEnvironment_setVariable_closure1.prototype = {
  49736. call$0() {
  49737. var t1 = this.$this,
  49738. t2 = t1._async_environment$_variableIndex$1(this.name);
  49739. return t2 == null ? t1._async_environment$_variables.length - 1 : t2;
  49740. },
  49741. $signature: 10
  49742. };
  49743. A.AsyncEnvironment__getFunctionFromGlobalModule_closure.prototype = {
  49744. call$1(module) {
  49745. return module.get$functions(module).$index(0, this.name);
  49746. },
  49747. $signature: 173
  49748. };
  49749. A.AsyncEnvironment__getMixinFromGlobalModule_closure.prototype = {
  49750. call$1(module) {
  49751. return module.get$mixins().$index(0, this.name);
  49752. },
  49753. $signature: 173
  49754. };
  49755. A.AsyncEnvironment_toModule_closure.prototype = {
  49756. call$1(modules) {
  49757. return new A.MapKeySet(modules, type$.MapKeySet_Module_AsyncCallable);
  49758. },
  49759. $signature: 175
  49760. };
  49761. A.AsyncEnvironment_toDummyModule_closure.prototype = {
  49762. call$1(modules) {
  49763. return new A.MapKeySet(modules, type$.MapKeySet_Module_AsyncCallable);
  49764. },
  49765. $signature: 175
  49766. };
  49767. A._EnvironmentModule0.prototype = {
  49768. get$url(_) {
  49769. var t1 = this.css;
  49770. t1 = t1.get$span(t1);
  49771. return t1.get$sourceUrl(t1);
  49772. },
  49773. setVariable$3($name, value, nodeWithSpan) {
  49774. var t1, t2,
  49775. _0_0 = this._async_environment$_modulesByVariable.$index(0, $name);
  49776. if (_0_0 != null) {
  49777. _0_0.setVariable$3($name, value, nodeWithSpan);
  49778. return;
  49779. }
  49780. t1 = this._async_environment$_environment;
  49781. t2 = t1._async_environment$_variables;
  49782. if (!B.JSArray_methods.get$first(t2).containsKey$1($name))
  49783. throw A.wrapException(A.SassScriptException$("Undefined variable.", null));
  49784. J.$indexSet$ax(B.JSArray_methods.get$first(t2), $name, value);
  49785. J.$indexSet$ax(B.JSArray_methods.get$first(t1._async_environment$_variableNodes), $name, nodeWithSpan);
  49786. return;
  49787. },
  49788. variableIdentity$1($name) {
  49789. var module = this._async_environment$_modulesByVariable.$index(0, $name);
  49790. return module == null ? this : module.variableIdentity$1($name);
  49791. },
  49792. cloneCss$0() {
  49793. var _0_0, _this = this;
  49794. if (!_this.transitivelyContainsCss)
  49795. return _this;
  49796. _0_0 = A.cloneCssStylesheet(_this.css, _this.extensionStore);
  49797. return A._EnvironmentModule$_0(_this._async_environment$_environment, _0_0._0, _this.preModuleComments, _0_0._1, _this._async_environment$_modulesByVariable, _this.variables, _this.variableNodes, _this.functions, _this.mixins, true, _this.transitivelyContainsExtensions);
  49798. },
  49799. toString$0(_) {
  49800. var t1 = this.css,
  49801. t2 = t1.get$span(t1);
  49802. if (t2.get$sourceUrl(t2) == null)
  49803. t1 = "<unknown url>";
  49804. else {
  49805. t1 = t1.get$span(t1);
  49806. t1 = t1.get$sourceUrl(t1);
  49807. t2 = $.$get$context();
  49808. t1.toString;
  49809. t1 = t2.prettyUri$1(t1);
  49810. }
  49811. return t1;
  49812. },
  49813. $isModule0: 1,
  49814. get$upstream() {
  49815. return this.upstream;
  49816. },
  49817. get$variables() {
  49818. return this.variables;
  49819. },
  49820. get$variableNodes() {
  49821. return this.variableNodes;
  49822. },
  49823. get$functions(receiver) {
  49824. return this.functions;
  49825. },
  49826. get$mixins() {
  49827. return this.mixins;
  49828. },
  49829. get$extensionStore() {
  49830. return this.extensionStore;
  49831. },
  49832. get$css(receiver) {
  49833. return this.css;
  49834. },
  49835. get$preModuleComments() {
  49836. return this.preModuleComments;
  49837. },
  49838. get$transitivelyContainsCss() {
  49839. return this.transitivelyContainsCss;
  49840. },
  49841. get$transitivelyContainsExtensions() {
  49842. return this.transitivelyContainsExtensions;
  49843. }
  49844. };
  49845. A._EnvironmentModule__EnvironmentModule_closure5.prototype = {
  49846. call$1(module) {
  49847. return module.get$variables();
  49848. },
  49849. $signature: 439
  49850. };
  49851. A._EnvironmentModule__EnvironmentModule_closure6.prototype = {
  49852. call$1(module) {
  49853. return module.get$variableNodes();
  49854. },
  49855. $signature: 443
  49856. };
  49857. A._EnvironmentModule__EnvironmentModule_closure7.prototype = {
  49858. call$1(module) {
  49859. return module.get$functions(module);
  49860. },
  49861. $signature: 180
  49862. };
  49863. A._EnvironmentModule__EnvironmentModule_closure8.prototype = {
  49864. call$1(module) {
  49865. return module.get$mixins();
  49866. },
  49867. $signature: 180
  49868. };
  49869. A._EnvironmentModule__EnvironmentModule_closure9.prototype = {
  49870. call$1(module) {
  49871. return module.get$transitivelyContainsCss();
  49872. },
  49873. $signature: 130
  49874. };
  49875. A._EnvironmentModule__EnvironmentModule_closure10.prototype = {
  49876. call$1(module) {
  49877. return module.get$transitivelyContainsExtensions();
  49878. },
  49879. $signature: 130
  49880. };
  49881. A.AsyncImportCache.prototype = {
  49882. canonicalize$4$baseImporter$baseUrl$forImport(_, url, baseImporter, baseUrl, forImport) {
  49883. return this.canonicalize$body$AsyncImportCache(0, url, baseImporter, baseUrl, forImport);
  49884. },
  49885. canonicalize$body$AsyncImportCache(_, url, baseImporter, baseUrl, forImport) {
  49886. var $async$goto = 0,
  49887. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Record_3_AsyncImporter_and_Uri_and_Uri_originalUrl),
  49888. $async$returnValue, $async$self = this, t1, resolvedUrl, key, relativeResult, t2, t3, t4, t5, t6, cacheable, i, importer, perImporterKey, t7, _1_0, _1_2_isSet, result, _1_2, _2_0, _2_1, _2_5_isSet, _2_5, _2_3, _2_3_isSet, j;
  49889. var $async$canonicalize$4$baseImporter$baseUrl$forImport = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  49890. if ($async$errorCode === 1)
  49891. return A._asyncRethrow($async$result, $async$completer);
  49892. while (true)
  49893. switch ($async$goto) {
  49894. case 0:
  49895. // Function start
  49896. if (A.isBrowser())
  49897. t1 = (baseImporter == null || baseImporter instanceof A.NoOpImporter) && $async$self._async_import_cache$_importers.length === 0;
  49898. else
  49899. t1 = false;
  49900. if (t1)
  49901. throw A.wrapException(string$.Custom);
  49902. $async$goto = baseImporter != null && url.get$scheme() === "" ? 3 : 4;
  49903. break;
  49904. case 3:
  49905. // then
  49906. resolvedUrl = baseUrl == null ? null : baseUrl.resolveUri$1(url);
  49907. if (resolvedUrl == null)
  49908. resolvedUrl = url;
  49909. key = new A._Record_3_forImport(baseImporter, resolvedUrl, forImport);
  49910. $async$goto = 5;
  49911. return A._asyncAwait(A.putIfAbsentAsync($async$self._async_import_cache$_perImporterCanonicalizeCache, key, new A.AsyncImportCache_canonicalize_closure($async$self, baseImporter, resolvedUrl, baseUrl, forImport, key, url), type$.Record_3_AsyncImporter_and_Uri_and_bool_forImport, type$.nullable_Record_3_AsyncImporter_and_Uri_and_Uri_originalUrl), $async$canonicalize$4$baseImporter$baseUrl$forImport);
  49912. case 5:
  49913. // returning from await.
  49914. relativeResult = $async$result;
  49915. if (relativeResult != null) {
  49916. $async$returnValue = relativeResult;
  49917. // goto return
  49918. $async$goto = 1;
  49919. break;
  49920. }
  49921. case 4:
  49922. // join
  49923. key = new A._Record_2_forImport(url, forImport);
  49924. t1 = $async$self._async_import_cache$_canonicalizeCache;
  49925. if (t1.containsKey$1(key)) {
  49926. $async$returnValue = t1.$index(0, key);
  49927. // goto return
  49928. $async$goto = 1;
  49929. break;
  49930. }
  49931. t2 = $async$self._async_import_cache$_importers, t3 = type$.Record_1_nullable_Object, t4 = $async$self._async_import_cache$_perImporterCanonicalizeCache, t5 = type$.nullable_Record_3_AsyncImporter_and_Uri_and_Uri_originalUrl, t6 = type$.Record_3_AsyncImporter_and_Uri_and_Uri_originalUrl, cacheable = true, i = 0;
  49932. case 6:
  49933. // for condition
  49934. if (!(i < t2.length)) {
  49935. // goto after for
  49936. $async$goto = 8;
  49937. break;
  49938. }
  49939. importer = t2[i];
  49940. perImporterKey = new A._Record_3_forImport(importer, url, forImport);
  49941. if (t4.containsKey$1(perImporterKey)) {
  49942. t7 = t4.$index(0, perImporterKey);
  49943. _1_0 = new A._Record_1(t7 == null ? t5._as(t7) : t7);
  49944. } else
  49945. _1_0 = null;
  49946. _1_2_isSet = t3._is(_1_0);
  49947. result = null;
  49948. if (_1_2_isSet) {
  49949. _1_2 = _1_0._0;
  49950. t7 = _1_2 != null;
  49951. if (t7) {
  49952. t6._as(_1_2);
  49953. result = _1_2;
  49954. }
  49955. } else {
  49956. _1_2 = null;
  49957. t7 = false;
  49958. }
  49959. if (t7) {
  49960. $async$returnValue = result;
  49961. // goto return
  49962. $async$goto = 1;
  49963. break;
  49964. }
  49965. if (_1_2_isSet)
  49966. t7 = _1_2 == null;
  49967. else
  49968. t7 = false;
  49969. if (t7) {
  49970. // goto for update
  49971. $async$goto = 7;
  49972. break;
  49973. }
  49974. $async$goto = 10;
  49975. return A._asyncAwait($async$self._async_import_cache$_canonicalize$4(importer, url, baseUrl, forImport), $async$canonicalize$4$baseImporter$baseUrl$forImport);
  49976. case 10:
  49977. // returning from await.
  49978. _2_0 = $async$result;
  49979. _2_1 = _2_0._0;
  49980. _2_5_isSet = _2_1 != null;
  49981. _2_5 = null;
  49982. _2_3 = null;
  49983. t7 = false;
  49984. if (_2_5_isSet) {
  49985. result = _2_1 == null ? t6._as(_2_1) : _2_1;
  49986. _2_3 = _2_0._1;
  49987. t7 = _2_3;
  49988. _2_5 = t7;
  49989. t7 = t7 && cacheable;
  49990. } else
  49991. result = null;
  49992. if (t7) {
  49993. t1.$indexSet(0, key, result);
  49994. $async$returnValue = result;
  49995. // goto return
  49996. $async$goto = 1;
  49997. break;
  49998. }
  49999. if (_2_5_isSet) {
  50000. t7 = _2_5;
  50001. _2_3_isSet = _2_5_isSet;
  50002. } else {
  50003. _2_3 = _2_0._1;
  50004. t7 = _2_3;
  50005. _2_3_isSet = true;
  50006. }
  50007. t7 = t7 && !cacheable;
  50008. if (t7) {
  50009. t4.$indexSet(0, perImporterKey, _2_1);
  50010. if (_2_1 != null) {
  50011. $async$returnValue = _2_1;
  50012. // goto return
  50013. $async$goto = 1;
  50014. break;
  50015. }
  50016. // goto break $label0$1
  50017. $async$goto = 9;
  50018. break;
  50019. }
  50020. t7 = !(_2_3_isSet ? _2_3 : _2_0._1);
  50021. if (t7) {
  50022. if (cacheable) {
  50023. for (j = 0; j < i; ++j)
  50024. t4.$indexSet(0, new A._Record_3_forImport(t2[j], url, forImport), null);
  50025. cacheable = false;
  50026. }
  50027. if (_2_1 != null) {
  50028. $async$returnValue = _2_1;
  50029. // goto return
  50030. $async$goto = 1;
  50031. break;
  50032. }
  50033. }
  50034. case 9:
  50035. // break $label0$1
  50036. case 7:
  50037. // for update
  50038. ++i;
  50039. // goto for condition
  50040. $async$goto = 6;
  50041. break;
  50042. case 8:
  50043. // after for
  50044. if (cacheable)
  50045. t1.$indexSet(0, key, null);
  50046. $async$returnValue = null;
  50047. // goto return
  50048. $async$goto = 1;
  50049. break;
  50050. case 1:
  50051. // return
  50052. return A._asyncReturn($async$returnValue, $async$completer);
  50053. }
  50054. });
  50055. return A._asyncStartSync($async$canonicalize$4$baseImporter$baseUrl$forImport, $async$completer);
  50056. },
  50057. _async_import_cache$_canonicalize$4(importer, url, baseUrl, forImport) {
  50058. return this._canonicalize$body$AsyncImportCache(importer, url, baseUrl, forImport);
  50059. },
  50060. _canonicalize$body$AsyncImportCache(importer, url, baseUrl, forImport) {
  50061. var $async$goto = 0,
  50062. $async$completer = A._makeAsyncAwaitCompleter(type$.Record_2_nullable_Record_3_AsyncImporter_and_Uri_and_Uri_originalUrl_and_bool),
  50063. $async$returnValue, t1, passContainingUrl, canonicalizeContext, result, cacheable;
  50064. var $async$_async_import_cache$_canonicalize$4 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  50065. if ($async$errorCode === 1)
  50066. return A._asyncRethrow($async$result, $async$completer);
  50067. while (true)
  50068. switch ($async$goto) {
  50069. case 0:
  50070. // Function start
  50071. $async$goto = baseUrl != null ? 3 : 5;
  50072. break;
  50073. case 3:
  50074. // then
  50075. $async$goto = url.get$scheme() !== "" ? 6 : 8;
  50076. break;
  50077. case 6:
  50078. // then
  50079. t1 = A._Future$value(importer.isNonCanonicalScheme$1(url.get$scheme()), type$.bool);
  50080. $async$goto = 9;
  50081. return A._asyncAwait(t1, $async$_async_import_cache$_canonicalize$4);
  50082. case 9:
  50083. // returning from await.
  50084. t1 = $async$result;
  50085. passContainingUrl = t1;
  50086. // goto join
  50087. $async$goto = 7;
  50088. break;
  50089. case 8:
  50090. // else
  50091. passContainingUrl = true;
  50092. case 7:
  50093. // join
  50094. // goto join
  50095. $async$goto = 4;
  50096. break;
  50097. case 5:
  50098. // else
  50099. passContainingUrl = false;
  50100. case 4:
  50101. // join
  50102. canonicalizeContext = new A.CanonicalizeContext(forImport, passContainingUrl ? baseUrl : null);
  50103. t1 = type$.nullable_Object;
  50104. t1 = A.runZoned(new A.AsyncImportCache__canonicalize_closure(importer, url), A.LinkedHashMap_LinkedHashMap$_literal([B.Symbol__canonicalizeContext, canonicalizeContext], t1, t1), type$.FutureOr_nullable_Uri);
  50105. $async$goto = 10;
  50106. return A._asyncAwait(type$.Future_nullable_Uri._is(t1) ? t1 : A._Future$value(t1, type$.nullable_Uri), $async$_async_import_cache$_canonicalize$4);
  50107. case 10:
  50108. // returning from await.
  50109. result = $async$result;
  50110. cacheable = !passContainingUrl || !canonicalizeContext._wasContainingUrlAccessed;
  50111. if (result == null) {
  50112. $async$returnValue = new A._Record_2(null, cacheable);
  50113. // goto return
  50114. $async$goto = 1;
  50115. break;
  50116. }
  50117. $async$goto = result.get$scheme() !== "" ? 11 : 13;
  50118. break;
  50119. case 11:
  50120. // then
  50121. t1 = A._Future$value(importer.isNonCanonicalScheme$1(result.get$scheme()), type$.bool);
  50122. $async$goto = 14;
  50123. return A._asyncAwait(t1, $async$_async_import_cache$_canonicalize$4);
  50124. case 14:
  50125. // returning from await.
  50126. t1 = $async$result;
  50127. // goto join
  50128. $async$goto = 12;
  50129. break;
  50130. case 13:
  50131. // else
  50132. t1 = false;
  50133. case 12:
  50134. // join
  50135. if (t1)
  50136. throw A.wrapException("Importer " + importer.toString$0(0) + " canonicalized " + url.toString$0(0) + " to " + result.toString$0(0) + string$.x2c_whicu);
  50137. $async$returnValue = new A._Record_2(new A._Record_3_originalUrl(importer, result, url), cacheable);
  50138. // goto return
  50139. $async$goto = 1;
  50140. break;
  50141. case 1:
  50142. // return
  50143. return A._asyncReturn($async$returnValue, $async$completer);
  50144. }
  50145. });
  50146. return A._asyncStartSync($async$_async_import_cache$_canonicalize$4, $async$completer);
  50147. },
  50148. importCanonical$3$originalUrl(importer, canonicalUrl, originalUrl) {
  50149. return this.importCanonical$body$AsyncImportCache(importer, canonicalUrl, originalUrl);
  50150. },
  50151. importCanonical$body$AsyncImportCache(importer, canonicalUrl, originalUrl) {
  50152. var $async$goto = 0,
  50153. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Stylesheet),
  50154. $async$returnValue, $async$self = this;
  50155. var $async$importCanonical$3$originalUrl = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  50156. if ($async$errorCode === 1)
  50157. return A._asyncRethrow($async$result, $async$completer);
  50158. while (true)
  50159. switch ($async$goto) {
  50160. case 0:
  50161. // Function start
  50162. $async$goto = 3;
  50163. return A._asyncAwait(A.putIfAbsentAsync($async$self._async_import_cache$_importCache, canonicalUrl, new A.AsyncImportCache_importCanonical_closure($async$self, importer, canonicalUrl, originalUrl), type$.Uri, type$.nullable_Stylesheet), $async$importCanonical$3$originalUrl);
  50164. case 3:
  50165. // returning from await.
  50166. $async$returnValue = $async$result;
  50167. // goto return
  50168. $async$goto = 1;
  50169. break;
  50170. case 1:
  50171. // return
  50172. return A._asyncReturn($async$returnValue, $async$completer);
  50173. }
  50174. });
  50175. return A._asyncStartSync($async$importCanonical$3$originalUrl, $async$completer);
  50176. },
  50177. humanize$1(canonicalUrl) {
  50178. var t1 = this._async_import_cache$_canonicalizeCache,
  50179. t2 = type$.NonNullsIterable_Record_3_AsyncImporter_and_Uri_and_Uri_originalUrl;
  50180. t2 = A.NullableExtension_andThen(A.minBy(new A.MappedIterable(new A.WhereIterable(new A.NonNullsIterable(new A.LinkedHashMapValuesIterable(t1, A._instanceType(t1)._eval$1("LinkedHashMapValuesIterable<2>")), t2), new A.AsyncImportCache_humanize_closure(canonicalUrl), t2._eval$1("WhereIterable<Iterable.E>")), new A.AsyncImportCache_humanize_closure0(), t2._eval$1("MappedIterable<Iterable.E,Uri>")), new A.AsyncImportCache_humanize_closure1()), new A.AsyncImportCache_humanize_closure2(canonicalUrl));
  50181. return t2 == null ? canonicalUrl : t2;
  50182. },
  50183. sourceMapUrl$1(_, canonicalUrl) {
  50184. var t1 = this._async_import_cache$_resultsCache.$index(0, canonicalUrl);
  50185. t1 = t1 == null ? null : t1.get$sourceMapUrl(0);
  50186. return t1 == null ? canonicalUrl : t1;
  50187. }
  50188. };
  50189. A.AsyncImportCache_canonicalize_closure.prototype = {
  50190. call$0() {
  50191. var $async$goto = 0,
  50192. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Record_3_AsyncImporter_and_Uri_and_Uri_originalUrl),
  50193. $async$returnValue, $async$self = this, t1, t2, _0_0, result;
  50194. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  50195. if ($async$errorCode === 1)
  50196. return A._asyncRethrow($async$result, $async$completer);
  50197. while (true)
  50198. switch ($async$goto) {
  50199. case 0:
  50200. // Function start
  50201. t1 = $async$self.$this;
  50202. t2 = $async$self.baseUrl;
  50203. $async$goto = 3;
  50204. return A._asyncAwait(t1._async_import_cache$_canonicalize$4($async$self.baseImporter, $async$self.resolvedUrl, t2, $async$self.forImport), $async$call$0);
  50205. case 3:
  50206. // returning from await.
  50207. _0_0 = $async$result;
  50208. result = _0_0._0;
  50209. _0_0._1;
  50210. if (t2 != null)
  50211. t1._async_import_cache$_nonCanonicalRelativeUrls.$indexSet(0, $async$self.key, $async$self.url);
  50212. $async$returnValue = result;
  50213. // goto return
  50214. $async$goto = 1;
  50215. break;
  50216. case 1:
  50217. // return
  50218. return A._asyncReturn($async$returnValue, $async$completer);
  50219. }
  50220. });
  50221. return A._asyncStartSync($async$call$0, $async$completer);
  50222. },
  50223. $signature: 468
  50224. };
  50225. A.AsyncImportCache__canonicalize_closure.prototype = {
  50226. call$0() {
  50227. return this.importer.canonicalize$1(0, this.url);
  50228. },
  50229. $signature: 182
  50230. };
  50231. A.AsyncImportCache_importCanonical_closure.prototype = {
  50232. call$0() {
  50233. var $async$goto = 0,
  50234. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Stylesheet),
  50235. $async$returnValue, $async$self = this, t1, t2, t3, result;
  50236. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  50237. if ($async$errorCode === 1)
  50238. return A._asyncRethrow($async$result, $async$completer);
  50239. while (true)
  50240. switch ($async$goto) {
  50241. case 0:
  50242. // Function start
  50243. t1 = Date.now();
  50244. t2 = $async$self.canonicalUrl;
  50245. t3 = A._Future$value($async$self.importer.load$1(0, t2), type$.nullable_ImporterResult);
  50246. $async$goto = 3;
  50247. return A._asyncAwait(t3, $async$call$0);
  50248. case 3:
  50249. // returning from await.
  50250. result = $async$result;
  50251. if (result == null) {
  50252. $async$returnValue = null;
  50253. // goto return
  50254. $async$goto = 1;
  50255. break;
  50256. }
  50257. t3 = $async$self.$this;
  50258. t3._async_import_cache$_loadTimes.$indexSet(0, t2, new A.DateTime(t1, 0, false));
  50259. t3._async_import_cache$_resultsCache.$indexSet(0, t2, result);
  50260. t3 = result.contents;
  50261. t1 = result.syntax;
  50262. t2 = $async$self.originalUrl.resolveUri$1(t2);
  50263. $async$returnValue = A.Stylesheet_Stylesheet$parse(t3, t1, t2);
  50264. // goto return
  50265. $async$goto = 1;
  50266. break;
  50267. case 1:
  50268. // return
  50269. return A._asyncReturn($async$returnValue, $async$completer);
  50270. }
  50271. });
  50272. return A._asyncStartSync($async$call$0, $async$completer);
  50273. },
  50274. $signature: 487
  50275. };
  50276. A.AsyncImportCache_humanize_closure.prototype = {
  50277. call$1(result) {
  50278. return result._1.$eq(0, this.canonicalUrl);
  50279. },
  50280. $signature: 507
  50281. };
  50282. A.AsyncImportCache_humanize_closure0.prototype = {
  50283. call$1(result) {
  50284. return result._2;
  50285. },
  50286. $signature: 509
  50287. };
  50288. A.AsyncImportCache_humanize_closure1.prototype = {
  50289. call$1(url) {
  50290. return url.get$path(url).length;
  50291. },
  50292. $signature: 80
  50293. };
  50294. A.AsyncImportCache_humanize_closure2.prototype = {
  50295. call$1(url) {
  50296. var t1 = $.$get$url(),
  50297. t2 = this.canonicalUrl;
  50298. return url.resolve$1(0, A.ParsedPath_ParsedPath$parse(t2.get$path(t2), t1.style).get$basename());
  50299. },
  50300. $signature: 49
  50301. };
  50302. A.AsyncBuiltInCallable.prototype = {
  50303. callbackFor$2(positional, names) {
  50304. return new A._Record_2(this._parameters, this._async_built_in$_callback);
  50305. },
  50306. withDeprecationWarning$1(module) {
  50307. return new A.AsyncBuiltInCallable(this.name, this._parameters, new A.AsyncBuiltInCallable_withDeprecationWarning_closure(this, module, null), false);
  50308. },
  50309. $isAsyncCallable: 1,
  50310. get$name(receiver) {
  50311. return this.name;
  50312. },
  50313. get$acceptsContent() {
  50314. return this.acceptsContent;
  50315. }
  50316. };
  50317. A.AsyncBuiltInCallable$mixin_closure.prototype = {
  50318. call$1($arguments) {
  50319. return this.$call$body$AsyncBuiltInCallable$mixin_closure($arguments);
  50320. },
  50321. $call$body$AsyncBuiltInCallable$mixin_closure($arguments) {
  50322. var $async$goto = 0,
  50323. $async$completer = A._makeAsyncAwaitCompleter(type$.Value),
  50324. $async$returnValue, $async$self = this, t1;
  50325. var $async$call$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  50326. if ($async$errorCode === 1)
  50327. return A._asyncRethrow($async$result, $async$completer);
  50328. while (true)
  50329. switch ($async$goto) {
  50330. case 0:
  50331. // Function start
  50332. t1 = $async$self.callback.call$1($arguments);
  50333. $async$goto = 3;
  50334. return A._asyncAwait(t1 instanceof A._Future ? t1 : A._Future$value(t1, type$.void), $async$call$1);
  50335. case 3:
  50336. // returning from await.
  50337. $async$returnValue = B.C__SassNull;
  50338. // goto return
  50339. $async$goto = 1;
  50340. break;
  50341. case 1:
  50342. // return
  50343. return A._asyncReturn($async$returnValue, $async$completer);
  50344. }
  50345. });
  50346. return A._asyncStartSync($async$call$1, $async$completer);
  50347. },
  50348. $signature: 187
  50349. };
  50350. A.AsyncBuiltInCallable_withDeprecationWarning_closure.prototype = {
  50351. call$1(args) {
  50352. var t1 = this.$this;
  50353. A.warnForDeprecation(string$.Global + this.module + "." + t1.name + string$.x20inste, B.Deprecation_1AX);
  50354. return t1._async_built_in$_callback.call$1(args);
  50355. },
  50356. $signature: 568
  50357. };
  50358. A.BuiltInCallable.prototype = {
  50359. callbackFor$2(positional, names) {
  50360. var t1, t2, fuzzyMatch, minMismatchDistance, _i, overload, t3, mismatchDistance, t4;
  50361. for (t1 = this._overloads, t2 = t1.length, fuzzyMatch = null, minMismatchDistance = null, _i = 0; _i < t1.length; t1.length === t2 || (0, A.throwConcurrentModificationError)(t1), ++_i) {
  50362. overload = t1[_i];
  50363. t3 = overload._0;
  50364. if (t3.matches$2(positional, names))
  50365. return overload;
  50366. mismatchDistance = t3.parameters.length - positional;
  50367. if (minMismatchDistance != null) {
  50368. t3 = Math.abs(mismatchDistance);
  50369. t4 = Math.abs(minMismatchDistance);
  50370. if (t3 > t4)
  50371. continue;
  50372. if (t3 === t4 && mismatchDistance < 0)
  50373. continue;
  50374. }
  50375. minMismatchDistance = mismatchDistance;
  50376. fuzzyMatch = overload;
  50377. }
  50378. if (fuzzyMatch != null)
  50379. return fuzzyMatch;
  50380. throw A.wrapException(A.StateError$("BuiltInCallable " + this.name + " may not have empty overloads."));
  50381. },
  50382. withName$1($name) {
  50383. return new A.BuiltInCallable($name, this._overloads, this.acceptsContent);
  50384. },
  50385. withDeprecationWarning$2(module, newName) {
  50386. var t2, t3, _i, t4, t5, _this = this,
  50387. t1 = A._setArrayType([], type$.JSArray_Record_2_ParameterList_and_Value_Function_List_Value);
  50388. for (t2 = _this._overloads, t3 = t2.length, _i = 0; _i < t2.length; t2.length === t3 || (0, A.throwConcurrentModificationError)(t2), ++_i) {
  50389. t4 = {};
  50390. t5 = t2[_i];
  50391. t4.$function = null;
  50392. t4.$function = t5._1;
  50393. t1.push(new A._Record_2(t5._0, new A.BuiltInCallable_withDeprecationWarning_closure(t4, _this, module, newName)));
  50394. }
  50395. return new A.BuiltInCallable(_this.name, t1, _this.acceptsContent);
  50396. },
  50397. withDeprecationWarning$1(module) {
  50398. return this.withDeprecationWarning$2(module, null);
  50399. },
  50400. $isCallable0: 1,
  50401. $isAsyncCallable: 1,
  50402. $isAsyncBuiltInCallable: 1,
  50403. get$name(receiver) {
  50404. return this.name;
  50405. },
  50406. get$acceptsContent() {
  50407. return this.acceptsContent;
  50408. }
  50409. };
  50410. A.BuiltInCallable$mixin_closure.prototype = {
  50411. call$1($arguments) {
  50412. this.callback.call$1($arguments);
  50413. return B.C__SassNull;
  50414. },
  50415. $signature: 4
  50416. };
  50417. A.BuiltInCallable_withDeprecationWarning_closure.prototype = {
  50418. call$1(args) {
  50419. var _this = this,
  50420. t1 = _this.newName;
  50421. if (t1 == null)
  50422. t1 = _this.$this.name;
  50423. A.warnForDeprecation(string$.Global + _this.module + "." + t1 + string$.x20inste, B.Deprecation_1AX);
  50424. return _this._box_0.$function.call$1(args);
  50425. },
  50426. $signature: 4
  50427. };
  50428. A.PlainCssCallable.prototype = {
  50429. $eq(_, other) {
  50430. if (other == null)
  50431. return false;
  50432. return other instanceof A.PlainCssCallable && this.name === other.name;
  50433. },
  50434. get$hashCode(_) {
  50435. return B.JSString_methods.get$hashCode(this.name);
  50436. },
  50437. $isCallable0: 1,
  50438. $isAsyncCallable: 1,
  50439. get$name(receiver) {
  50440. return this.name;
  50441. }
  50442. };
  50443. A.UserDefinedCallable.prototype = {
  50444. get$name(_) {
  50445. return this.declaration.name;
  50446. },
  50447. $isCallable0: 1,
  50448. $isAsyncCallable: 1
  50449. };
  50450. A._compileStylesheet_closure.prototype = {
  50451. call$1(url) {
  50452. var t1;
  50453. if (url === "") {
  50454. t1 = this.stylesheet.span;
  50455. 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();
  50456. } else
  50457. t1 = this.importCache.sourceMapUrl$1(0, A.Uri_parse(url)).toString$0(0);
  50458. return t1;
  50459. },
  50460. $signature: 6
  50461. };
  50462. A.CompileResult.prototype = {};
  50463. A.Configuration.prototype = {
  50464. throughForward$1($forward) {
  50465. var _0_0, _1_0, _2_0, t1, hiddenVariables,
  50466. newValues = this._configuration$_values;
  50467. if (newValues.get$isEmpty(newValues))
  50468. return B.Configuration_Map_empty_null;
  50469. _0_0 = $forward.prefix;
  50470. if (_0_0 != null)
  50471. newValues = new A.UnprefixedMapView(newValues, _0_0, type$.UnprefixedMapView_ConfiguredValue);
  50472. _1_0 = $forward.shownVariables;
  50473. if (_1_0 != null)
  50474. newValues = new A.LimitedMapView(newValues, _1_0._base.intersection$1(new A.MapKeySet(newValues, type$.MapKeySet_nullable_Object)), type$.LimitedMapView_String_ConfiguredValue);
  50475. else {
  50476. _2_0 = $forward.hiddenVariables;
  50477. if (_2_0 != null) {
  50478. t1 = _2_0._base.get$isNotEmpty(0);
  50479. hiddenVariables = _2_0;
  50480. } else {
  50481. hiddenVariables = null;
  50482. t1 = false;
  50483. }
  50484. if (t1)
  50485. newValues = A.LimitedMapView$blocklist(newValues, hiddenVariables, type$.String, type$.ConfiguredValue);
  50486. }
  50487. return this._withValues$1(newValues);
  50488. },
  50489. _withValues$1(values) {
  50490. var t1 = this.__originalConfiguration;
  50491. return new A.Configuration(values, t1 == null ? this : t1);
  50492. },
  50493. toString$0(_) {
  50494. var t2, t3,
  50495. t1 = A._setArrayType([], type$.JSArray_String);
  50496. for (t2 = A.MapExtensions_get_pairs(new A.UnmodifiableMapView(this._configuration$_values, type$.UnmodifiableMapView_String_ConfiguredValue), type$.String, type$.ConfiguredValue), t2 = t2.get$iterator(t2); t2.moveNext$0();) {
  50497. t3 = t2.get$current(t2);
  50498. t1.push("$" + t3._0 + ": " + t3._1.toString$0(0));
  50499. }
  50500. return "(" + B.JSArray_methods.join$1(t1, ",") + ")";
  50501. }
  50502. };
  50503. A.ExplicitConfiguration.prototype = {
  50504. _withValues$1(values) {
  50505. var t1 = this.__originalConfiguration;
  50506. if (t1 == null)
  50507. t1 = this;
  50508. return new A.ExplicitConfiguration(this.nodeWithSpan, values, t1);
  50509. }
  50510. };
  50511. A.ConfiguredValue.prototype = {
  50512. toString$0(_) {
  50513. return this.value.toString$0(0);
  50514. }
  50515. };
  50516. A.Deprecation.prototype = {
  50517. _enumToString$0() {
  50518. return "Deprecation." + this._name;
  50519. },
  50520. toString$0(_) {
  50521. return this.id;
  50522. }
  50523. };
  50524. A.Deprecation_fromId_closure.prototype = {
  50525. call$1(deprecation) {
  50526. return deprecation.id === this.id;
  50527. },
  50528. $signature: 648
  50529. };
  50530. A.Environment.prototype = {
  50531. closure$0() {
  50532. var t4, t5, t6, _this = this,
  50533. t1 = _this._forwardedModules,
  50534. t2 = _this._nestedForwardedModules,
  50535. t3 = _this._variables;
  50536. t3 = A._setArrayType(t3.slice(0), A._arrayInstanceType(t3));
  50537. t4 = _this._variableNodes;
  50538. t4 = A._setArrayType(t4.slice(0), A._arrayInstanceType(t4));
  50539. t5 = _this._functions;
  50540. t5 = A._setArrayType(t5.slice(0), A._arrayInstanceType(t5));
  50541. t6 = _this._mixins;
  50542. t6 = A._setArrayType(t6.slice(0), A._arrayInstanceType(t6));
  50543. return A.Environment$_(_this._environment$_modules, _this._namespaceNodes, _this._globalModules, _this._importedModules, t1, t2, _this._allModules, t3, t4, t5, t6, _this._content);
  50544. },
  50545. forwardModule$2(module, rule) {
  50546. var view, t1, t2, _this = this,
  50547. forwardedModules = _this._forwardedModules;
  50548. if (forwardedModules == null)
  50549. forwardedModules = _this._forwardedModules = A.LinkedHashMap_LinkedHashMap$_empty(type$.Module_Callable, type$.AstNode);
  50550. view = A.ForwardedModuleView_ifNecessary(module, rule, type$.Callable);
  50551. for (t1 = new A.LinkedHashMapKeyIterator(forwardedModules, forwardedModules._modifications, forwardedModules._first); t1.moveNext$0();) {
  50552. t2 = t1.__js_helper$_current;
  50553. _this._assertNoConflicts$5(view.get$variables(), t2.get$variables(), view, t2, "variable");
  50554. _this._assertNoConflicts$5(view.get$functions(view), t2.get$functions(t2), view, t2, "function");
  50555. _this._assertNoConflicts$5(view.get$mixins(), t2.get$mixins(), view, t2, "mixin");
  50556. }
  50557. _this._allModules.push(module);
  50558. forwardedModules.$indexSet(0, view, rule);
  50559. },
  50560. _assertNoConflicts$5(newMembers, oldMembers, newModule, oldModule, type) {
  50561. var larger, smaller, t1, t2, t3, t4, $name, small, large, span;
  50562. if (newMembers.get$length(newMembers) < oldMembers.get$length(oldMembers)) {
  50563. larger = oldMembers;
  50564. smaller = newMembers;
  50565. } else {
  50566. larger = newMembers;
  50567. smaller = oldMembers;
  50568. }
  50569. for (t1 = type$.String, t2 = A.MapExtensions_get_pairs(smaller, t1, type$.Object), t2 = t2.get$iterator(t2), t3 = type === "variable"; t2.moveNext$0();) {
  50570. t4 = t2.get$current(t2);
  50571. $name = t4._0;
  50572. small = t4._1;
  50573. large = larger.$index(0, $name);
  50574. if (large == null)
  50575. continue;
  50576. if (t3 ? newModule.variableIdentity$1($name) === oldModule.variableIdentity$1($name) : J.$eq$(large, small))
  50577. continue;
  50578. if (t3)
  50579. $name = "$" + $name;
  50580. t2 = this._forwardedModules;
  50581. if (t2 == null)
  50582. span = null;
  50583. else {
  50584. t2 = t2.$index(0, oldModule);
  50585. span = t2 == null ? null : t2.get$span(t2);
  50586. }
  50587. t2 = A.LinkedHashMap_LinkedHashMap$_empty(type$.FileSpan, t1);
  50588. if (span != null)
  50589. t2.$indexSet(0, span, "original @forward");
  50590. throw A.wrapException(A.MultiSpanSassScriptException$("Two forwarded modules both define a " + type + " named " + $name + ".", "new @forward", t2));
  50591. }
  50592. },
  50593. importForwards$1(module) {
  50594. var forwardedModules, t1, t2, t3, t4, node, t5, t6, t7, t8, t9, t10, _i, t11, shadowed, t12, t13, _length, _list, _this = this,
  50595. forwarded = module._environment$_environment._forwardedModules;
  50596. if (forwarded == null)
  50597. return;
  50598. forwardedModules = _this._forwardedModules;
  50599. if (forwardedModules != null) {
  50600. t1 = type$.Module_Callable;
  50601. t2 = type$.AstNode;
  50602. t3 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t2);
  50603. for (t1 = A.MapExtensions_get_pairs(forwarded, t1, t2), t1 = t1.get$iterator(t1), t2 = _this._globalModules; t1.moveNext$0();) {
  50604. t4 = t1.get$current(t1);
  50605. module = t4._0;
  50606. node = t4._1;
  50607. if (!forwardedModules.containsKey$1(module) || !t2.containsKey$1(module))
  50608. t3.$indexSet(0, module, node);
  50609. }
  50610. forwarded = t3;
  50611. } else
  50612. forwardedModules = _this._forwardedModules = A.LinkedHashMap_LinkedHashMap$_empty(type$.Module_Callable, type$.AstNode);
  50613. t1 = type$.String;
  50614. t2 = A.LinkedHashSet_LinkedHashSet$_empty(t1);
  50615. for (t3 = new A.LinkedHashMapKeyIterator(forwarded, forwarded._modifications, forwarded._first); t3.moveNext$0();)
  50616. for (t4 = t3.__js_helper$_current.get$variables(), t4 = J.get$iterator$ax(t4.get$keys(t4)); t4.moveNext$0();)
  50617. t2.add$1(0, t4.get$current(t4));
  50618. t3 = A.LinkedHashSet_LinkedHashSet$_empty(t1);
  50619. for (t4 = new A.LinkedHashMapKeyIterator(forwarded, forwarded._modifications, forwarded._first); t4.moveNext$0();) {
  50620. t5 = t4.__js_helper$_current;
  50621. for (t5 = t5.get$functions(t5), t5 = J.get$iterator$ax(t5.get$keys(t5)); t5.moveNext$0();)
  50622. t3.add$1(0, t5.get$current(t5));
  50623. }
  50624. t1 = A.LinkedHashSet_LinkedHashSet$_empty(t1);
  50625. for (t4 = new A.LinkedHashMapKeyIterator(forwarded, forwarded._modifications, forwarded._first); t4.moveNext$0();)
  50626. for (t5 = t4.__js_helper$_current.get$mixins(), t5 = J.get$iterator$ax(t5.get$keys(t5)); t5.moveNext$0();)
  50627. t1.add$1(0, t5.get$current(t5));
  50628. t4 = _this._variables;
  50629. t5 = t4.length;
  50630. if (t5 === 1) {
  50631. for (t5 = _this._importedModules, t6 = type$.Module_Callable, t7 = type$.AstNode, t8 = A.MapExtensions_get_pairs(t5, t6, t7).toList$0(0), t9 = t8.length, t10 = type$.Callable, _i = 0; _i < t8.length; t8.length === t9 || (0, A.throwConcurrentModificationError)(t8), ++_i) {
  50632. t11 = t8[_i];
  50633. module = t11._0;
  50634. shadowed = A.ShadowedModuleView_ifNecessary(module, t3, t1, t2, t10);
  50635. if (shadowed != null) {
  50636. t5.remove$1(0, module);
  50637. t12 = shadowed.variables;
  50638. t13 = false;
  50639. if (t12.get$isEmpty(t12)) {
  50640. t12 = shadowed.functions;
  50641. if (t12.get$isEmpty(t12)) {
  50642. t12 = shadowed.mixins;
  50643. if (t12.get$isEmpty(t12)) {
  50644. t12 = shadowed._shadowed_view$_inner;
  50645. t12 = t12.get$css(t12);
  50646. t12 = J.get$isEmpty$asx(t12.get$children(t12));
  50647. } else
  50648. t12 = t13;
  50649. } else
  50650. t12 = t13;
  50651. } else
  50652. t12 = t13;
  50653. if (!t12)
  50654. t5.$indexSet(0, shadowed, t11._1);
  50655. }
  50656. }
  50657. for (t6 = A.MapExtensions_get_pairs(forwardedModules, t6, t7).toList$0(0), t7 = t6.length, _i = 0; _i < t6.length; t6.length === t7 || (0, A.throwConcurrentModificationError)(t6), ++_i) {
  50658. t8 = t6[_i];
  50659. module = t8._0;
  50660. shadowed = A.ShadowedModuleView_ifNecessary(module, t3, t1, t2, t10);
  50661. if (shadowed != null) {
  50662. forwardedModules.remove$1(0, module);
  50663. t9 = shadowed.variables;
  50664. t11 = false;
  50665. if (t9.get$isEmpty(t9)) {
  50666. t9 = shadowed.functions;
  50667. if (t9.get$isEmpty(t9)) {
  50668. t9 = shadowed.mixins;
  50669. if (t9.get$isEmpty(t9)) {
  50670. t9 = shadowed._shadowed_view$_inner;
  50671. t9 = t9.get$css(t9);
  50672. t9 = J.get$isEmpty$asx(t9.get$children(t9));
  50673. } else
  50674. t9 = t11;
  50675. } else
  50676. t9 = t11;
  50677. } else
  50678. t9 = t11;
  50679. if (!t9)
  50680. forwardedModules.$indexSet(0, shadowed, t8._1);
  50681. }
  50682. }
  50683. t5.addAll$1(0, forwarded);
  50684. forwardedModules.addAll$1(0, forwarded);
  50685. } else {
  50686. t6 = _this._nestedForwardedModules;
  50687. if (t6 == null) {
  50688. _length = t5 - 1;
  50689. _list = J.JSArray_JSArray$allocateGrowable(_length, type$.List_Module_Callable);
  50690. for (t5 = type$.JSArray_Module_Callable, _i = 0; _i < _length; ++_i)
  50691. _list[_i] = A._setArrayType([], t5);
  50692. _this._nestedForwardedModules = _list;
  50693. t5 = _list;
  50694. } else
  50695. t5 = t6;
  50696. B.JSArray_methods.addAll$1(B.JSArray_methods.get$last(t5), new A.LinkedHashMapKeysIterable(forwarded, A._instanceType(forwarded)._eval$1("LinkedHashMapKeysIterable<1>")));
  50697. }
  50698. for (t2 = A._LinkedHashSetIterator$(t2, t2._collection$_modifications, t2.$ti._precomputed1), t5 = _this._variableIndices, t6 = _this._variableNodes, t7 = t2.$ti._precomputed1; t2.moveNext$0();) {
  50699. t8 = t2._collection$_current;
  50700. if (t8 == null)
  50701. t8 = t7._as(t8);
  50702. t5.remove$1(0, t8);
  50703. J.remove$1$z(B.JSArray_methods.get$last(t4), t8);
  50704. J.remove$1$z(B.JSArray_methods.get$last(t6), t8);
  50705. }
  50706. for (t2 = A._LinkedHashSetIterator$(t3, t3._collection$_modifications, t3.$ti._precomputed1), t3 = _this._functionIndices, t4 = _this._functions, t5 = t2.$ti._precomputed1; t2.moveNext$0();) {
  50707. t6 = t2._collection$_current;
  50708. if (t6 == null)
  50709. t6 = t5._as(t6);
  50710. t3.remove$1(0, t6);
  50711. J.remove$1$z(B.JSArray_methods.get$last(t4), t6);
  50712. }
  50713. for (t1 = A._LinkedHashSetIterator$(t1, t1._collection$_modifications, t1.$ti._precomputed1), t2 = _this._mixinIndices, t3 = _this._mixins, t4 = t1.$ti._precomputed1; t1.moveNext$0();) {
  50714. t5 = t1._collection$_current;
  50715. if (t5 == null)
  50716. t5 = t4._as(t5);
  50717. t2.remove$1(0, t5);
  50718. J.remove$1$z(B.JSArray_methods.get$last(t3), t5);
  50719. }
  50720. },
  50721. getVariable$2$namespace($name, namespace) {
  50722. var t1, _0_0, _1_0, _this = this;
  50723. if (namespace != null)
  50724. return _this._getModule$1(namespace).get$variables().$index(0, $name);
  50725. if (_this._lastVariableName === $name) {
  50726. t1 = _this._lastVariableIndex;
  50727. t1.toString;
  50728. t1 = _this._variables[t1].$index(0, $name);
  50729. return t1 == null ? _this._getVariableFromGlobalModule$1($name) : t1;
  50730. }
  50731. t1 = _this._variableIndices;
  50732. _0_0 = t1.$index(0, $name);
  50733. if (_0_0 != null) {
  50734. _this._lastVariableName = $name;
  50735. _this._lastVariableIndex = _0_0;
  50736. t1 = _this._variables[_0_0].$index(0, $name);
  50737. return t1 == null ? _this._getVariableFromGlobalModule$1($name) : t1;
  50738. } else {
  50739. _1_0 = _this._variableIndex$1($name);
  50740. if (_1_0 != null) {
  50741. _this._lastVariableName = $name;
  50742. _this._lastVariableIndex = _1_0;
  50743. t1.$indexSet(0, $name, _1_0);
  50744. t1 = _this._variables[_1_0].$index(0, $name);
  50745. return t1 == null ? _this._getVariableFromGlobalModule$1($name) : t1;
  50746. } else
  50747. return _this._getVariableFromGlobalModule$1($name);
  50748. }
  50749. },
  50750. getVariable$1($name) {
  50751. return this.getVariable$2$namespace($name, null);
  50752. },
  50753. _getVariableFromGlobalModule$1($name) {
  50754. return this._fromOneModule$3($name, "variable", new A.Environment__getVariableFromGlobalModule_closure($name));
  50755. },
  50756. getVariableNode$2$namespace($name, namespace) {
  50757. var t1, _0_0, _1_0, _this = this;
  50758. if (namespace != null)
  50759. return _this._getModule$1(namespace).get$variableNodes().$index(0, $name);
  50760. if (_this._lastVariableName === $name) {
  50761. t1 = _this._lastVariableIndex;
  50762. t1.toString;
  50763. t1 = _this._variableNodes[t1].$index(0, $name);
  50764. return t1 == null ? _this._getVariableNodeFromGlobalModule$1($name) : t1;
  50765. }
  50766. t1 = _this._variableIndices;
  50767. _0_0 = t1.$index(0, $name);
  50768. if (_0_0 != null) {
  50769. _this._lastVariableName = $name;
  50770. _this._lastVariableIndex = _0_0;
  50771. t1 = _this._variableNodes[_0_0].$index(0, $name);
  50772. return t1 == null ? _this._getVariableNodeFromGlobalModule$1($name) : t1;
  50773. } else {
  50774. _1_0 = _this._variableIndex$1($name);
  50775. if (_1_0 != null) {
  50776. _this._lastVariableName = $name;
  50777. _this._lastVariableIndex = _1_0;
  50778. t1.$indexSet(0, $name, _1_0);
  50779. t1 = _this._variableNodes[_1_0].$index(0, $name);
  50780. return t1 == null ? _this._getVariableNodeFromGlobalModule$1($name) : t1;
  50781. } else
  50782. return _this._getVariableNodeFromGlobalModule$1($name);
  50783. }
  50784. },
  50785. _getVariableNodeFromGlobalModule$1($name) {
  50786. var t1, t2, _0_0;
  50787. for (t1 = this._importedModules, t2 = this._globalModules, t2 = new A.LinkedHashMapKeysIterable(t1, A._instanceType(t1)._eval$1("LinkedHashMapKeysIterable<1>")).followedBy$1(0, new A.LinkedHashMapKeysIterable(t2, A._instanceType(t2)._eval$1("LinkedHashMapKeysIterable<1>"))), t2 = new A.FollowedByIterator(J.get$iterator$ax(t2.__internal$_first), t2._second); t2.moveNext$0();) {
  50788. t1 = t2._currentIterator;
  50789. _0_0 = t1.get$current(t1).get$variableNodes().$index(0, $name);
  50790. if (_0_0 != null)
  50791. return _0_0;
  50792. }
  50793. return null;
  50794. },
  50795. globalVariableExists$2$namespace($name, namespace) {
  50796. if (namespace != null)
  50797. return this._getModule$1(namespace).get$variables().containsKey$1($name);
  50798. if (B.JSArray_methods.get$first(this._variables).containsKey$1($name))
  50799. return true;
  50800. return this._getVariableFromGlobalModule$1($name) != null;
  50801. },
  50802. globalVariableExists$1($name) {
  50803. return this.globalVariableExists$2$namespace($name, null);
  50804. },
  50805. _variableIndex$1($name) {
  50806. var t1, i;
  50807. for (t1 = this._variables, i = t1.length - 1; i >= 0; --i)
  50808. if (t1[i].containsKey$1($name))
  50809. return i;
  50810. return null;
  50811. },
  50812. setVariable$5$global$namespace($name, value, nodeWithSpan, global, namespace) {
  50813. var t1, moduleWithName, nestedForwardedModules, t2, t3, t4, t5, index, _this = this;
  50814. if (namespace != null) {
  50815. _this._getModule$1(namespace).setVariable$3($name, value, nodeWithSpan);
  50816. return;
  50817. }
  50818. if (global || _this._variables.length === 1) {
  50819. _this._variableIndices.putIfAbsent$2($name, new A.Environment_setVariable_closure(_this, $name));
  50820. t1 = _this._variables;
  50821. if (!B.JSArray_methods.get$first(t1).containsKey$1($name)) {
  50822. moduleWithName = _this._fromOneModule$3($name, "variable", new A.Environment_setVariable_closure0($name));
  50823. if (moduleWithName != null) {
  50824. moduleWithName.setVariable$3($name, value, nodeWithSpan);
  50825. return;
  50826. }
  50827. }
  50828. J.$indexSet$ax(B.JSArray_methods.get$first(t1), $name, value);
  50829. J.$indexSet$ax(B.JSArray_methods.get$first(_this._variableNodes), $name, nodeWithSpan);
  50830. return;
  50831. }
  50832. nestedForwardedModules = _this._nestedForwardedModules;
  50833. if (nestedForwardedModules != null && !_this._variableIndices.containsKey$1($name) && _this._variableIndex$1($name) == null)
  50834. for (t1 = A._arrayInstanceType(nestedForwardedModules)._eval$1("ReversedListIterable<1>"), t2 = new A.ReversedListIterable(nestedForwardedModules, t1), t2 = new A.ListIterator(t2, t2.get$length(0), t1._eval$1("ListIterator<ListIterable.E>")), t1 = t1._eval$1("ListIterable.E"); t2.moveNext$0();) {
  50835. t3 = t2.__internal$_current;
  50836. for (t3 = J.get$reversed$ax(t3 == null ? t1._as(t3) : t3), t4 = t3.$ti, t3 = new A.ListIterator(t3, t3.get$length(0), t4._eval$1("ListIterator<ListIterable.E>")), t4 = t4._eval$1("ListIterable.E"); t3.moveNext$0();) {
  50837. t5 = t3.__internal$_current;
  50838. if (t5 == null)
  50839. t5 = t4._as(t5);
  50840. if (t5.get$variables().containsKey$1($name)) {
  50841. t5.setVariable$3($name, value, nodeWithSpan);
  50842. return;
  50843. }
  50844. }
  50845. }
  50846. if (_this._lastVariableName === $name) {
  50847. t1 = _this._lastVariableIndex;
  50848. t1.toString;
  50849. index = t1;
  50850. } else
  50851. index = _this._variableIndices.putIfAbsent$2($name, new A.Environment_setVariable_closure1(_this, $name));
  50852. if (!_this._inSemiGlobalScope && index === 0) {
  50853. index = _this._variables.length - 1;
  50854. _this._variableIndices.$indexSet(0, $name, index);
  50855. }
  50856. _this._lastVariableName = $name;
  50857. _this._lastVariableIndex = index;
  50858. _this._variables[index].$indexSet(0, $name, value);
  50859. _this._variableNodes[index].$indexSet(0, $name, nodeWithSpan);
  50860. },
  50861. setVariable$4$global($name, value, nodeWithSpan, global) {
  50862. return this.setVariable$5$global$namespace($name, value, nodeWithSpan, global, null);
  50863. },
  50864. setLocalVariable$3($name, value, nodeWithSpan) {
  50865. var index, _this = this,
  50866. t1 = _this._variables,
  50867. t2 = t1.length;
  50868. _this._lastVariableName = $name;
  50869. index = _this._lastVariableIndex = t2 - 1;
  50870. _this._variableIndices.$indexSet(0, $name, index);
  50871. t1[index].$indexSet(0, $name, value);
  50872. _this._variableNodes[index].$indexSet(0, $name, nodeWithSpan);
  50873. },
  50874. getFunction$2$namespace($name, namespace) {
  50875. var t1, _0_0, _1_0, _this = this;
  50876. if (namespace != null) {
  50877. t1 = _this._getModule$1(namespace);
  50878. return t1.get$functions(t1).$index(0, $name);
  50879. }
  50880. t1 = _this._functionIndices;
  50881. _0_0 = t1.$index(0, $name);
  50882. if (_0_0 != null) {
  50883. t1 = _this._functions[_0_0].$index(0, $name);
  50884. return t1 == null ? _this._getFunctionFromGlobalModule$1($name) : t1;
  50885. } else {
  50886. _1_0 = _this._functionIndex$1($name);
  50887. if (_1_0 != null) {
  50888. t1.$indexSet(0, $name, _1_0);
  50889. t1 = _this._functions[_1_0].$index(0, $name);
  50890. return t1 == null ? _this._getFunctionFromGlobalModule$1($name) : t1;
  50891. } else
  50892. return _this._getFunctionFromGlobalModule$1($name);
  50893. }
  50894. },
  50895. getFunction$1($name) {
  50896. return this.getFunction$2$namespace($name, null);
  50897. },
  50898. _getFunctionFromGlobalModule$1($name) {
  50899. return this._fromOneModule$3($name, "function", new A.Environment__getFunctionFromGlobalModule_closure($name));
  50900. },
  50901. _functionIndex$1($name) {
  50902. var t1, i;
  50903. for (t1 = this._functions, i = t1.length - 1; i >= 0; --i)
  50904. if (t1[i].containsKey$1($name))
  50905. return i;
  50906. return null;
  50907. },
  50908. getMixin$2$namespace($name, namespace) {
  50909. var t1, _0_0, _1_0, _this = this;
  50910. if (namespace != null)
  50911. return _this._getModule$1(namespace).get$mixins().$index(0, $name);
  50912. t1 = _this._mixinIndices;
  50913. _0_0 = t1.$index(0, $name);
  50914. if (_0_0 != null) {
  50915. t1 = _this._mixins[_0_0].$index(0, $name);
  50916. return t1 == null ? _this._getMixinFromGlobalModule$1($name) : t1;
  50917. } else {
  50918. _1_0 = _this._mixinIndex$1($name);
  50919. if (_1_0 != null) {
  50920. t1.$indexSet(0, $name, _1_0);
  50921. t1 = _this._mixins[_1_0].$index(0, $name);
  50922. return t1 == null ? _this._getMixinFromGlobalModule$1($name) : t1;
  50923. } else
  50924. return _this._getMixinFromGlobalModule$1($name);
  50925. }
  50926. },
  50927. _getMixinFromGlobalModule$1($name) {
  50928. return this._fromOneModule$3($name, "mixin", new A.Environment__getMixinFromGlobalModule_closure($name));
  50929. },
  50930. _mixinIndex$1($name) {
  50931. var t1, i;
  50932. for (t1 = this._mixins, i = t1.length - 1; i >= 0; --i)
  50933. if (t1[i].containsKey$1($name))
  50934. return i;
  50935. return null;
  50936. },
  50937. withContent$2($content, callback) {
  50938. var oldContent = this._content;
  50939. this._content = $content;
  50940. callback.call$0();
  50941. this._content = oldContent;
  50942. },
  50943. asMixin$1(callback) {
  50944. var oldInMixin = this._inMixin;
  50945. this._inMixin = true;
  50946. callback.call$0();
  50947. this._inMixin = oldInMixin;
  50948. },
  50949. scope$1$3$semiGlobal$when(callback, semiGlobal, when) {
  50950. var wasInSemiGlobalScope, $name, name0, name1, t1, t2, t3, t4, t5, t6, _this = this;
  50951. semiGlobal = semiGlobal && _this._inSemiGlobalScope;
  50952. wasInSemiGlobalScope = _this._inSemiGlobalScope;
  50953. _this._inSemiGlobalScope = semiGlobal;
  50954. if (!when)
  50955. try {
  50956. t1 = callback.call$0();
  50957. return t1;
  50958. } finally {
  50959. _this._inSemiGlobalScope = wasInSemiGlobalScope;
  50960. }
  50961. t1 = _this._variables;
  50962. t2 = type$.String;
  50963. B.JSArray_methods.add$1(t1, A.LinkedHashMap_LinkedHashMap$_empty(t2, type$.Value));
  50964. t3 = _this._variableNodes;
  50965. B.JSArray_methods.add$1(t3, A.LinkedHashMap_LinkedHashMap$_empty(t2, type$.AstNode));
  50966. t4 = _this._functions;
  50967. t5 = type$.Callable;
  50968. B.JSArray_methods.add$1(t4, A.LinkedHashMap_LinkedHashMap$_empty(t2, t5));
  50969. t6 = _this._mixins;
  50970. B.JSArray_methods.add$1(t6, A.LinkedHashMap_LinkedHashMap$_empty(t2, t5));
  50971. t5 = _this._nestedForwardedModules;
  50972. if (t5 != null)
  50973. t5.push(A._setArrayType([], type$.JSArray_Module_Callable));
  50974. try {
  50975. t2 = callback.call$0();
  50976. return t2;
  50977. } finally {
  50978. _this._inSemiGlobalScope = wasInSemiGlobalScope;
  50979. _this._lastVariableIndex = _this._lastVariableName = null;
  50980. for (t1 = J.get$iterator$ax(J.get$keys$z(B.JSArray_methods.removeLast$0(t1))), t2 = _this._variableIndices; t1.moveNext$0();) {
  50981. $name = t1.get$current(t1);
  50982. t2.remove$1(0, $name);
  50983. }
  50984. B.JSArray_methods.removeLast$0(t3);
  50985. for (t1 = J.get$iterator$ax(J.get$keys$z(B.JSArray_methods.removeLast$0(t4))), t2 = _this._functionIndices; t1.moveNext$0();) {
  50986. name0 = t1.get$current(t1);
  50987. t2.remove$1(0, name0);
  50988. }
  50989. for (t1 = J.get$iterator$ax(J.get$keys$z(B.JSArray_methods.removeLast$0(t6))), t2 = _this._mixinIndices; t1.moveNext$0();) {
  50990. name1 = t1.get$current(t1);
  50991. t2.remove$1(0, name1);
  50992. }
  50993. t1 = _this._nestedForwardedModules;
  50994. if (t1 != null)
  50995. t1.pop();
  50996. }
  50997. },
  50998. scope$1$1(callback) {
  50999. callback.toString;
  51000. return this.scope$1$3$semiGlobal$when(callback, false, true);
  51001. },
  51002. scope$1$2$when(callback, when) {
  51003. callback.toString;
  51004. return this.scope$1$3$semiGlobal$when(callback, false, when);
  51005. },
  51006. scope$1$2$semiGlobal(callback, semiGlobal) {
  51007. callback.toString;
  51008. return this.scope$1$3$semiGlobal$when(callback, semiGlobal, true);
  51009. },
  51010. toImplicitConfiguration$0() {
  51011. var t2, t3, t4, i, values, nodes, t5, t6, $name, value,
  51012. t1 = type$.String,
  51013. configuration = A.LinkedHashMap_LinkedHashMap$_empty(t1, type$.ConfiguredValue);
  51014. for (t2 = this._variables, t3 = type$.Value, t4 = this._variableNodes, i = 0; i < t2.length; ++i) {
  51015. values = t2[i];
  51016. nodes = t4[i];
  51017. for (t5 = A.MapExtensions_get_pairs(values, t1, t3), t5 = t5.get$iterator(t5); t5.moveNext$0();) {
  51018. t6 = t5.get$current(t5);
  51019. $name = t6._0;
  51020. value = t6._1;
  51021. t6 = nodes.$index(0, $name);
  51022. t6.toString;
  51023. configuration.$indexSet(0, $name, new A.ConfiguredValue(value, null, t6));
  51024. }
  51025. }
  51026. return new A.Configuration(configuration, null);
  51027. },
  51028. toModule$3(css, preModuleComments, extensionStore) {
  51029. return A._EnvironmentModule__EnvironmentModule(this, css, preModuleComments, extensionStore, A.NullableExtension_andThen(this._forwardedModules, new A.Environment_toModule_closure()));
  51030. },
  51031. toDummyModule$0() {
  51032. return A._EnvironmentModule__EnvironmentModule(this, new A.CssStylesheet(new A.UnmodifiableListView(B.List_empty3, type$.UnmodifiableListView_CssNode), A.SourceFile$decoded(B.List_empty4, "<dummy module>").span$1(0, 0)), B.Map_empty, B.C_EmptyExtensionStore, A.NullableExtension_andThen(this._forwardedModules, new A.Environment_toDummyModule_closure()));
  51033. },
  51034. _getModule$1(namespace) {
  51035. var _0_0 = this._environment$_modules.$index(0, namespace);
  51036. if (_0_0 != null)
  51037. return _0_0;
  51038. throw A.wrapException(A.SassScriptException$('There is no module with the namespace "' + namespace + '".', null));
  51039. },
  51040. _fromOneModule$1$3($name, type, callback) {
  51041. var t1, t2, t3, t4, t5, _1_0, _2_0, value, identity, valueInModule, identityFromModule, module, node,
  51042. _0_0 = this._nestedForwardedModules;
  51043. if (_0_0 != null)
  51044. for (t1 = A._arrayInstanceType(_0_0)._eval$1("ReversedListIterable<1>"), t2 = new A.ReversedListIterable(_0_0, t1), t2 = new A.ListIterator(t2, t2.get$length(0), t1._eval$1("ListIterator<ListIterable.E>")), t1 = t1._eval$1("ListIterable.E"); t2.moveNext$0();) {
  51045. t3 = t2.__internal$_current;
  51046. for (t3 = J.get$reversed$ax(t3 == null ? t1._as(t3) : t3), t4 = t3.$ti, t3 = new A.ListIterator(t3, t3.get$length(0), t4._eval$1("ListIterator<ListIterable.E>")), t4 = t4._eval$1("ListIterable.E"); t3.moveNext$0();) {
  51047. t5 = t3.__internal$_current;
  51048. _1_0 = callback.call$1(t5 == null ? t4._as(t5) : t5);
  51049. if (_1_0 != null)
  51050. return _1_0;
  51051. }
  51052. }
  51053. for (t1 = this._importedModules, t1 = new A.LinkedHashMapKeyIterator(t1, t1._modifications, t1._first); t1.moveNext$0();) {
  51054. _2_0 = callback.call$1(t1.__js_helper$_current);
  51055. if (_2_0 != null)
  51056. return _2_0;
  51057. }
  51058. for (t1 = this._globalModules, t2 = new A.LinkedHashMapKeyIterator(t1, t1._modifications, t1._first), t3 = type$.Callable, value = null, identity = null; t2.moveNext$0();) {
  51059. t4 = t2.__js_helper$_current;
  51060. valueInModule = callback.call$1(t4);
  51061. if (valueInModule == null)
  51062. continue;
  51063. identityFromModule = t3._is(valueInModule) ? valueInModule : t4.variableIdentity$1($name);
  51064. if (identityFromModule.$eq(0, identity))
  51065. continue;
  51066. if (value != null) {
  51067. t2 = A.LinkedHashMap_LinkedHashMap$_empty(type$.FileSpan, type$.String);
  51068. for (t3 = A.MapExtensions_get_pairs(t1, type$.Module_Callable, type$.AstNode), t3 = t3.get$iterator(t3), t4 = "includes " + type; t3.moveNext$0();) {
  51069. t1 = t3.get$current(t3);
  51070. module = t1._0;
  51071. node = t1._1;
  51072. if (callback.call$1(module) != null)
  51073. t2.$indexSet(0, node.get$span(node), t4);
  51074. }
  51075. throw A.wrapException(A.MultiSpanSassScriptException$("This " + type + string$.x20is_av, type + " use", t2));
  51076. }
  51077. identity = identityFromModule;
  51078. value = valueInModule;
  51079. }
  51080. return value;
  51081. },
  51082. _fromOneModule$3($name, type, callback) {
  51083. callback.toString;
  51084. return this._fromOneModule$1$3($name, type, callback, type$.dynamic);
  51085. }
  51086. };
  51087. A.Environment__getVariableFromGlobalModule_closure.prototype = {
  51088. call$1(module) {
  51089. return module.get$variables().$index(0, this.name);
  51090. },
  51091. $signature: 275
  51092. };
  51093. A.Environment_setVariable_closure.prototype = {
  51094. call$0() {
  51095. var t1 = this.$this;
  51096. t1._lastVariableName = this.name;
  51097. return t1._lastVariableIndex = 0;
  51098. },
  51099. $signature: 10
  51100. };
  51101. A.Environment_setVariable_closure0.prototype = {
  51102. call$1(module) {
  51103. return module.get$variables().containsKey$1(this.name) ? module : null;
  51104. },
  51105. $signature: 285
  51106. };
  51107. A.Environment_setVariable_closure1.prototype = {
  51108. call$0() {
  51109. var t1 = this.$this,
  51110. t2 = t1._variableIndex$1(this.name);
  51111. return t2 == null ? t1._variables.length - 1 : t2;
  51112. },
  51113. $signature: 10
  51114. };
  51115. A.Environment__getFunctionFromGlobalModule_closure.prototype = {
  51116. call$1(module) {
  51117. return module.get$functions(module).$index(0, this.name);
  51118. },
  51119. $signature: 194
  51120. };
  51121. A.Environment__getMixinFromGlobalModule_closure.prototype = {
  51122. call$1(module) {
  51123. return module.get$mixins().$index(0, this.name);
  51124. },
  51125. $signature: 194
  51126. };
  51127. A.Environment_toModule_closure.prototype = {
  51128. call$1(modules) {
  51129. return new A.MapKeySet(modules, type$.MapKeySet_Module_Callable);
  51130. },
  51131. $signature: 197
  51132. };
  51133. A.Environment_toDummyModule_closure.prototype = {
  51134. call$1(modules) {
  51135. return new A.MapKeySet(modules, type$.MapKeySet_Module_Callable);
  51136. },
  51137. $signature: 197
  51138. };
  51139. A._EnvironmentModule.prototype = {
  51140. get$url(_) {
  51141. var t1 = this.css;
  51142. t1 = t1.get$span(t1);
  51143. return t1.get$sourceUrl(t1);
  51144. },
  51145. setVariable$3($name, value, nodeWithSpan) {
  51146. var t1, t2,
  51147. _0_0 = this._modulesByVariable.$index(0, $name);
  51148. if (_0_0 != null) {
  51149. _0_0.setVariable$3($name, value, nodeWithSpan);
  51150. return;
  51151. }
  51152. t1 = this._environment$_environment;
  51153. t2 = t1._variables;
  51154. if (!B.JSArray_methods.get$first(t2).containsKey$1($name))
  51155. throw A.wrapException(A.SassScriptException$("Undefined variable.", null));
  51156. J.$indexSet$ax(B.JSArray_methods.get$first(t2), $name, value);
  51157. J.$indexSet$ax(B.JSArray_methods.get$first(t1._variableNodes), $name, nodeWithSpan);
  51158. return;
  51159. },
  51160. variableIdentity$1($name) {
  51161. var module = this._modulesByVariable.$index(0, $name);
  51162. return module == null ? this : module.variableIdentity$1($name);
  51163. },
  51164. cloneCss$0() {
  51165. var _0_0, _this = this;
  51166. if (!_this.transitivelyContainsCss)
  51167. return _this;
  51168. _0_0 = A.cloneCssStylesheet(_this.css, _this.extensionStore);
  51169. return A._EnvironmentModule$_(_this._environment$_environment, _0_0._0, _this.preModuleComments, _0_0._1, _this._modulesByVariable, _this.variables, _this.variableNodes, _this.functions, _this.mixins, true, _this.transitivelyContainsExtensions);
  51170. },
  51171. toString$0(_) {
  51172. var t1 = this.css,
  51173. t2 = t1.get$span(t1);
  51174. if (t2.get$sourceUrl(t2) == null)
  51175. t1 = "<unknown url>";
  51176. else {
  51177. t1 = t1.get$span(t1);
  51178. t1 = t1.get$sourceUrl(t1);
  51179. t2 = $.$get$context();
  51180. t1.toString;
  51181. t1 = t2.prettyUri$1(t1);
  51182. }
  51183. return t1;
  51184. },
  51185. $isModule0: 1,
  51186. get$upstream() {
  51187. return this.upstream;
  51188. },
  51189. get$variables() {
  51190. return this.variables;
  51191. },
  51192. get$variableNodes() {
  51193. return this.variableNodes;
  51194. },
  51195. get$functions(receiver) {
  51196. return this.functions;
  51197. },
  51198. get$mixins() {
  51199. return this.mixins;
  51200. },
  51201. get$extensionStore() {
  51202. return this.extensionStore;
  51203. },
  51204. get$css(receiver) {
  51205. return this.css;
  51206. },
  51207. get$preModuleComments() {
  51208. return this.preModuleComments;
  51209. },
  51210. get$transitivelyContainsCss() {
  51211. return this.transitivelyContainsCss;
  51212. },
  51213. get$transitivelyContainsExtensions() {
  51214. return this.transitivelyContainsExtensions;
  51215. }
  51216. };
  51217. A._EnvironmentModule__EnvironmentModule_closure.prototype = {
  51218. call$1(module) {
  51219. return module.get$variables();
  51220. },
  51221. $signature: 302
  51222. };
  51223. A._EnvironmentModule__EnvironmentModule_closure0.prototype = {
  51224. call$1(module) {
  51225. return module.get$variableNodes();
  51226. },
  51227. $signature: 303
  51228. };
  51229. A._EnvironmentModule__EnvironmentModule_closure1.prototype = {
  51230. call$1(module) {
  51231. return module.get$functions(module);
  51232. },
  51233. $signature: 198
  51234. };
  51235. A._EnvironmentModule__EnvironmentModule_closure2.prototype = {
  51236. call$1(module) {
  51237. return module.get$mixins();
  51238. },
  51239. $signature: 198
  51240. };
  51241. A._EnvironmentModule__EnvironmentModule_closure3.prototype = {
  51242. call$1(module) {
  51243. return module.get$transitivelyContainsCss();
  51244. },
  51245. $signature: 129
  51246. };
  51247. A._EnvironmentModule__EnvironmentModule_closure4.prototype = {
  51248. call$1(module) {
  51249. return module.get$transitivelyContainsExtensions();
  51250. },
  51251. $signature: 129
  51252. };
  51253. A.SassException.prototype = {
  51254. get$trace(_) {
  51255. return A.Trace$(A._setArrayType([A.frameForSpan(A.SourceSpanException.prototype.get$span.call(this, 0), "root stylesheet", null)], type$.JSArray_Frame), null);
  51256. },
  51257. get$span(_) {
  51258. return A.SourceSpanException.prototype.get$span.call(this, 0);
  51259. },
  51260. withAdditionalSpan$2(span, label) {
  51261. return A.MultiSpanSassException$(this._span_exception$_message, A.SourceSpanException.prototype.get$span.call(this, 0), "", A.LinkedHashMap_LinkedHashMap$_literal([span, label], type$.FileSpan, type$.String), this.loadedUrls);
  51262. },
  51263. withTrace$1(trace) {
  51264. var t1 = A.SourceSpanException.prototype.get$span.call(this, 0),
  51265. t2 = A.Set_Set$unmodifiable(this.loadedUrls, type$.Uri);
  51266. return new A.SassRuntimeException(trace, t2, this._span_exception$_message, t1);
  51267. },
  51268. withLoadedUrls$1(loadedUrls) {
  51269. var t1 = A.SourceSpanException.prototype.get$span.call(this, 0),
  51270. t2 = A.Set_Set$unmodifiable(loadedUrls, type$.Uri);
  51271. return new A.SassException(t2, this._span_exception$_message, t1);
  51272. },
  51273. toString$1$color(_, color) {
  51274. var t2, _i, frame, _this = this,
  51275. buffer = new A.StringBuffer(""),
  51276. t1 = "" + ("Error: " + _this._span_exception$_message + "\n");
  51277. buffer._contents = t1;
  51278. buffer._contents = t1 + A.SourceSpanException.prototype.get$span.call(_this, 0).highlight$1$color(color);
  51279. for (t1 = _this.get$trace(_this).toString$0(0).split("\n"), t2 = t1.length, _i = 0; _i < t2; ++_i) {
  51280. frame = t1[_i];
  51281. if (frame.length === 0)
  51282. continue;
  51283. buffer._contents = (buffer._contents += "\n") + (" " + frame);
  51284. }
  51285. t1 = buffer._contents;
  51286. return t1.charCodeAt(0) == 0 ? t1 : t1;
  51287. },
  51288. toString$0(_) {
  51289. return this.toString$1$color(0, null);
  51290. },
  51291. toCssString$0() {
  51292. var commentMessage, stringMessage, rune,
  51293. t1 = $._glyphs,
  51294. t2 = $._glyphs = B.C_AsciiGlyphSet,
  51295. t3 = this.toString$1$color(0, false);
  51296. t3 = A.stringReplaceAllUnchecked(t3, "*/", "*\u2215");
  51297. commentMessage = A.stringReplaceAllUnchecked(t3, "\r\n", "\n");
  51298. $._glyphs = t1 === B.C_AsciiGlyphSet ? t2 : B.C_UnicodeGlyphSet;
  51299. stringMessage = new A.StringBuffer("");
  51300. for (t1 = new A.RuneIterator(A.serializeValue(new A.SassString(this.toString$1$color(0, false), true), true, true)); t1.moveNext$0();) {
  51301. rune = t1._currentCodePoint;
  51302. if (rune > 127) {
  51303. t2 = A.Primitives_stringFromCharCode(92);
  51304. stringMessage._contents += t2;
  51305. t2 = B.JSInt_methods.toRadixString$1(rune, 16);
  51306. stringMessage._contents += t2;
  51307. t2 = A.Primitives_stringFromCharCode(32);
  51308. stringMessage._contents += t2;
  51309. } else {
  51310. t2 = A.Primitives_stringFromCharCode(rune);
  51311. stringMessage._contents += t2;
  51312. }
  51313. }
  51314. 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}";
  51315. }
  51316. };
  51317. A.MultiSpanSassException.prototype = {
  51318. withAdditionalSpan$2(span, label) {
  51319. var _this = this,
  51320. t1 = A.SourceSpanException.prototype.get$span.call(_this, 0),
  51321. t2 = A.LinkedHashMap_LinkedHashMap$of(_this.secondarySpans, type$.FileSpan, type$.String);
  51322. t2.$indexSet(0, span, label);
  51323. return A.MultiSpanSassException$(_this._span_exception$_message, t1, _this.primaryLabel, t2, _this.loadedUrls);
  51324. },
  51325. withTrace$1(trace) {
  51326. var _this = this;
  51327. return A.MultiSpanSassRuntimeException$(_this._span_exception$_message, A.SourceSpanException.prototype.get$span.call(_this, 0), _this.primaryLabel, _this.secondarySpans, trace, _this.loadedUrls);
  51328. },
  51329. withLoadedUrls$1(loadedUrls) {
  51330. var _this = this;
  51331. return A.MultiSpanSassException$(_this._span_exception$_message, A.SourceSpanException.prototype.get$span.call(_this, 0), _this.primaryLabel, _this.secondarySpans, loadedUrls);
  51332. },
  51333. toString$1$color(_, color) {
  51334. var t1, t2, _i, frame, _this = this,
  51335. useColor = color === true,
  51336. buffer = new A.StringBuffer("Error: " + _this._span_exception$_message + "\n");
  51337. A.NullableExtension_andThen(A.Highlighter$multiple(A.SourceSpanException.prototype.get$span.call(_this, 0), _this.primaryLabel, _this.secondarySpans, useColor, null, null).highlight$0(), buffer.get$write(buffer));
  51338. for (t1 = _this.get$trace(_this).toString$0(0).split("\n"), t2 = t1.length, _i = 0; _i < t2; ++_i) {
  51339. frame = t1[_i];
  51340. if (frame.length === 0)
  51341. continue;
  51342. buffer._contents = (buffer._contents += "\n") + (" " + frame);
  51343. }
  51344. t1 = buffer._contents;
  51345. return t1.charCodeAt(0) == 0 ? t1 : t1;
  51346. },
  51347. toString$0(_) {
  51348. return this.toString$1$color(0, null);
  51349. },
  51350. get$primaryLabel() {
  51351. return this.primaryLabel;
  51352. },
  51353. get$secondarySpans() {
  51354. return this.secondarySpans;
  51355. }
  51356. };
  51357. A.SassRuntimeException.prototype = {
  51358. withAdditionalSpan$2(span, label) {
  51359. var _this = this;
  51360. return A.MultiSpanSassRuntimeException$(_this._span_exception$_message, A.SourceSpanException.prototype.get$span.call(_this, 0), "", A.LinkedHashMap_LinkedHashMap$_literal([span, label], type$.FileSpan, type$.String), _this.trace, _this.loadedUrls);
  51361. },
  51362. withLoadedUrls$1(loadedUrls) {
  51363. var t1 = A.SourceSpanException.prototype.get$span.call(this, 0),
  51364. t2 = A.Set_Set$unmodifiable(loadedUrls, type$.Uri);
  51365. return new A.SassRuntimeException(this.trace, t2, this._span_exception$_message, t1);
  51366. },
  51367. get$trace(receiver) {
  51368. return this.trace;
  51369. }
  51370. };
  51371. A.MultiSpanSassRuntimeException.prototype = {
  51372. withAdditionalSpan$2(span, label) {
  51373. var _this = this,
  51374. t1 = A.SourceSpanException.prototype.get$span.call(_this, 0),
  51375. t2 = A.LinkedHashMap_LinkedHashMap$of(_this.secondarySpans, type$.FileSpan, type$.String);
  51376. t2.$indexSet(0, span, label);
  51377. return A.MultiSpanSassRuntimeException$(_this._span_exception$_message, t1, _this.primaryLabel, t2, _this.trace, _this.loadedUrls);
  51378. },
  51379. withLoadedUrls$1(loadedUrls) {
  51380. var _this = this;
  51381. return A.MultiSpanSassRuntimeException$(_this._span_exception$_message, A.SourceSpanException.prototype.get$span.call(_this, 0), _this.primaryLabel, _this.secondarySpans, _this.trace, loadedUrls);
  51382. },
  51383. $isSassRuntimeException: 1,
  51384. get$trace(receiver) {
  51385. return this.trace;
  51386. }
  51387. };
  51388. A.SassFormatException.prototype = {
  51389. get$source() {
  51390. var t1 = A.SourceSpanException.prototype.get$span.call(this, 0);
  51391. return A.String_String$fromCharCodes(B.NativeUint32List_methods.sublist$2(t1.get$file(t1)._decodedChars, 0, null), 0, null);
  51392. },
  51393. withAdditionalSpan$2(span, label) {
  51394. return A.MultiSpanSassFormatException$(this._span_exception$_message, A.SourceSpanException.prototype.get$span.call(this, 0), "", A.LinkedHashMap_LinkedHashMap$_literal([span, label], type$.FileSpan, type$.String), this.loadedUrls);
  51395. },
  51396. withLoadedUrls$1(loadedUrls) {
  51397. var t1 = A.SourceSpanException.prototype.get$span.call(this, 0),
  51398. t2 = A.Set_Set$unmodifiable(loadedUrls, type$.Uri);
  51399. return new A.SassFormatException(t2, this._span_exception$_message, t1);
  51400. },
  51401. $isFormatException: 1,
  51402. $isSourceSpanFormatException: 1
  51403. };
  51404. A.MultiSpanSassFormatException.prototype = {
  51405. get$source() {
  51406. var t1 = A.SourceSpanException.prototype.get$span.call(this, 0);
  51407. return A.String_String$fromCharCodes(B.NativeUint32List_methods.sublist$2(t1.get$file(t1)._decodedChars, 0, null), 0, null);
  51408. },
  51409. withAdditionalSpan$2(span, label) {
  51410. var _this = this,
  51411. t1 = A.SourceSpanException.prototype.get$span.call(_this, 0),
  51412. t2 = A.LinkedHashMap_LinkedHashMap$of(_this.secondarySpans, type$.FileSpan, type$.String);
  51413. t2.$indexSet(0, span, label);
  51414. return A.MultiSpanSassFormatException$(_this._span_exception$_message, t1, _this.primaryLabel, t2, _this.loadedUrls);
  51415. },
  51416. withLoadedUrls$1(loadedUrls) {
  51417. var _this = this;
  51418. return A.MultiSpanSassFormatException$(_this._span_exception$_message, A.SourceSpanException.prototype.get$span.call(_this, 0), _this.primaryLabel, _this.secondarySpans, loadedUrls);
  51419. },
  51420. $isFormatException: 1,
  51421. $isSassFormatException: 1,
  51422. $isSourceSpanFormatException: 1,
  51423. $isMultiSourceSpanFormatException: 1
  51424. };
  51425. A.SassScriptException.prototype = {
  51426. withSpan$1(span) {
  51427. return new A.SassException(B.Set_empty, this.message, span);
  51428. },
  51429. toString$0(_) {
  51430. return this.message + string$.x0a_BUG_;
  51431. },
  51432. get$message(receiver) {
  51433. return this.message;
  51434. }
  51435. };
  51436. A.MultiSpanSassScriptException.prototype = {
  51437. withSpan$1(span) {
  51438. return A.MultiSpanSassException$(this.message, span, this.primaryLabel, this.secondarySpans, null);
  51439. }
  51440. };
  51441. A._writeSourceMap_closure.prototype = {
  51442. call$1(url) {
  51443. return this.options.sourceMapUrl$2(0, A.Uri_parse(url), this.destination).toString$0(0);
  51444. },
  51445. $signature: 6
  51446. };
  51447. A.ExecutableOptions.prototype = {
  51448. get$interactive() {
  51449. var result, _this = this,
  51450. value = _this.__ExecutableOptions_interactive_FI;
  51451. if (value === $) {
  51452. result = new A.ExecutableOptions_interactive_closure(_this).call$0();
  51453. _this.__ExecutableOptions_interactive_FI !== $ && A.throwUnnamedLateFieldADI();
  51454. _this.__ExecutableOptions_interactive_FI = result;
  51455. value = result;
  51456. }
  51457. return value;
  51458. },
  51459. get$color() {
  51460. var t1 = this._options;
  51461. return t1.wasParsed$1("color") ? A._asBool(t1.$index(0, "color")) : A.hasTerminal();
  51462. },
  51463. get$pkgImporters() {
  51464. var t2, t3, t4, _null = null,
  51465. t1 = A._setArrayType([], type$.JSArray_Importer);
  51466. for (t2 = J.get$iterator$ax(type$.List_String._as(this._options.$index(0, "pkg-importer"))); t2.moveNext$0();) {
  51467. t2.get$current(t2);
  51468. t3 = new A.NodePackageImporter();
  51469. t4 = self.process;
  51470. if (t4 == null)
  51471. t4 = _null;
  51472. else {
  51473. t4 = J.get$release$x(t4);
  51474. t4 = t4 == null ? _null : J.get$name$x(t4);
  51475. }
  51476. if (!J.$eq$(t4, "node") && self.document != null && typeof self.document.querySelector == "function")
  51477. A.throwExpression(string$.The_No);
  51478. t3.__NodePackageImporter__entryPointDirectory_F = $.$get$context().absolute$15(".", _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null);
  51479. t1.push(t3);
  51480. }
  51481. return t1;
  51482. },
  51483. get$emitErrorCss() {
  51484. var t1 = A._asBoolQ(this._options.$index(0, "error-css"));
  51485. if (t1 == null) {
  51486. this._ensureSources$0();
  51487. t1 = this._sourcesToDestinations;
  51488. t1 = t1.get$values(t1);
  51489. t1 = t1.any$1(t1, new A.ExecutableOptions_emitErrorCss_closure());
  51490. }
  51491. return t1;
  51492. },
  51493. _ensureSources$0() {
  51494. var t1, stdin, t2, t3, $directories, t4, t5, t6, colonArgs, positionalArgs, t7, t8, t9, message, target, source, destination, seen, _0_0, _this = this, _null = null,
  51495. _s18_ = 'Duplicate source "';
  51496. if (_this._sourcesToDestinations != null)
  51497. return;
  51498. t1 = _this._options;
  51499. stdin = A._asBool(t1.$index(0, "stdin"));
  51500. t2 = t1.rest;
  51501. if (t2.get$length(0) === 0 && !stdin)
  51502. A.ExecutableOptions__fail("Compile Sass to CSS.");
  51503. t3 = type$.String;
  51504. $directories = A.LinkedHashSet_LinkedHashSet$_empty(t3);
  51505. for (t4 = t2.$ti, t5 = t4._eval$1("ListIterator<ListBase.E>"), t6 = new A.ListIterator(t2, t2.get$length(0), t5), t4 = t4._eval$1("ListBase.E"), colonArgs = false, positionalArgs = false; t6.moveNext$0();) {
  51506. t7 = t6.__internal$_current;
  51507. if (t7 == null)
  51508. t7 = t4._as(t7);
  51509. t8 = t7.length;
  51510. if (t8 === 0)
  51511. A.ExecutableOptions__fail('Invalid argument "".');
  51512. if (A.stringContainsUnchecked(t7, ":", 0)) {
  51513. if (t8 > 2) {
  51514. t9 = t7.charCodeAt(0);
  51515. if (!(t9 >= 97 && t9 <= 122))
  51516. t9 = t9 >= 65 && t9 <= 90;
  51517. else
  51518. t9 = true;
  51519. t9 = t9 && t7.charCodeAt(1) === 58;
  51520. } else
  51521. t9 = false;
  51522. if (t9) {
  51523. if (2 > t8)
  51524. A.throwExpression(A.RangeError$range(2, 0, t8, _null, _null));
  51525. t8 = A.stringContainsUnchecked(t7, ":", 2);
  51526. } else
  51527. t8 = true;
  51528. } else
  51529. t8 = false;
  51530. if (t8)
  51531. colonArgs = true;
  51532. else if (A.dirExists(t7))
  51533. $directories.add$1(0, t7);
  51534. else
  51535. positionalArgs = true;
  51536. }
  51537. if (positionalArgs || t2.get$length(0) === 0) {
  51538. if (colonArgs)
  51539. A.ExecutableOptions__fail('Positional and ":" arguments may not both be used.');
  51540. else if (stdin) {
  51541. if (J.get$length$asx(t2._collection$_source) > 1)
  51542. A.ExecutableOptions__fail("Only one argument is allowed with --stdin.");
  51543. else if (A._asBool(t1.$index(0, "update")))
  51544. A.ExecutableOptions__fail("--update is not allowed with --stdin.");
  51545. else if (A._asBool(t1.$index(0, "watch")))
  51546. A.ExecutableOptions__fail("--watch is not allowed with --stdin.");
  51547. t1 = t2.get$length(0) === 0 ? _null : t2.get$first(t2);
  51548. t2 = type$.dynamic;
  51549. t3 = type$.nullable_String;
  51550. _this._sourcesToDestinations = A.ConstantMap_ConstantMap$from(A.LinkedHashMap_LinkedHashMap$_literal([null, t1], t2, t2), t3, t3);
  51551. } else {
  51552. t3 = t2._collection$_source;
  51553. t4 = J.getInterceptor$asx(t3);
  51554. if (t4.get$length(t3) > 2)
  51555. A.ExecutableOptions__fail("Only two positional args may be passed.");
  51556. else if ($directories._collection$_length !== 0) {
  51557. message = 'Directory "' + A.S($directories.get$first(0)) + '" may not be a positional arg.';
  51558. target = t2.get$last(t2);
  51559. A.ExecutableOptions__fail(J.$eq$($directories.get$first(0), t2.get$first(t2)) && !A.fileExists(target) ? message + ('\nTo compile all CSS in "' + A.S($directories.get$first(0)) + '" to "' + target + '", use `sass ' + A.S($directories.get$first(0)) + ":" + target + "`.") : message);
  51560. } else {
  51561. source = J.$eq$(t2.get$first(t2), "-") ? _null : t2.get$first(t2);
  51562. destination = t4.get$length(t3) === 1 ? _null : t2.get$last(t2);
  51563. if (destination == null)
  51564. if (A._asBool(t1.$index(0, "update")))
  51565. A.ExecutableOptions__fail("--update is not allowed when printing to stdout.");
  51566. else if (A._asBool(t1.$index(0, "watch")))
  51567. A.ExecutableOptions__fail("--watch is not allowed when printing to stdout.");
  51568. t1 = A.PathMap__create(_null, type$.nullable_String);
  51569. t1.$indexSet(0, source, destination);
  51570. _this._sourcesToDestinations = new A.UnmodifiableMapView(new A.PathMap(t1, type$.PathMap_nullable_String), type$.UnmodifiableMapView_of_nullable_String_and_nullable_String);
  51571. }
  51572. }
  51573. _this.__ExecutableOptions__sourceDirectoriesToDestinations_F !== $ && A.throwUnnamedLateFieldAI();
  51574. _this.__ExecutableOptions__sourceDirectoriesToDestinations_F = B.Map_empty9;
  51575. return;
  51576. }
  51577. if (stdin)
  51578. A.ExecutableOptions__fail('--stdin may not be used with ":" arguments.');
  51579. seen = A.LinkedHashSet_LinkedHashSet$_empty(t3);
  51580. t1 = A.PathMap__create(_null, t3);
  51581. t6 = type$.PathMap_String;
  51582. t3 = A.PathMap__create(_null, t3);
  51583. for (t2 = new A.ListIterator(t2, t2.get$length(0), t5); t2.moveNext$0();) {
  51584. t5 = t2.__internal$_current;
  51585. if (t5 == null)
  51586. t5 = t4._as(t5);
  51587. if ($directories.contains$1(0, t5)) {
  51588. if (!seen.add$1(0, t5))
  51589. A.ExecutableOptions__fail(_s18_ + t5 + '".');
  51590. t3.$indexSet(0, t5, t5);
  51591. t1.addAll$1(0, _this._listSourceDirectory$2(t5, t5));
  51592. continue;
  51593. }
  51594. _0_0 = _this._splitSourceAndDestination$1(t5);
  51595. source = _0_0._0;
  51596. destination = _0_0._1;
  51597. if (!seen.add$1(0, source))
  51598. A.ExecutableOptions__fail(_s18_ + source + '".');
  51599. if (source === "-")
  51600. t1.$indexSet(0, _null, destination);
  51601. else if (A.dirExists(source)) {
  51602. t3.$indexSet(0, source, destination);
  51603. t1.addAll$1(0, _this._listSourceDirectory$2(source, destination));
  51604. } else
  51605. t1.$indexSet(0, source, destination);
  51606. }
  51607. _this._sourcesToDestinations = new A.UnmodifiableMapView(new A.PathMap(t1, t6), type$.UnmodifiableMapView_of_nullable_String_and_nullable_String);
  51608. _this.__ExecutableOptions__sourceDirectoriesToDestinations_F !== $ && A.throwUnnamedLateFieldAI();
  51609. _this.__ExecutableOptions__sourceDirectoriesToDestinations_F = new A.UnmodifiableMapView(new A.PathMap(t3, t6), type$.UnmodifiableMapView_of_nullable_String_and_String);
  51610. },
  51611. _splitSourceAndDestination$1(argument) {
  51612. var t1, i, t2, t3, nextColon;
  51613. for (t1 = argument.length, i = 0; i < t1; ++i) {
  51614. t2 = false;
  51615. if (i === 1) {
  51616. t3 = i - 1;
  51617. if (t1 > t3 + 2) {
  51618. t2 = argument.charCodeAt(t3);
  51619. if (!(t2 >= 97 && t2 <= 122))
  51620. t2 = t2 >= 65 && t2 <= 90;
  51621. else
  51622. t2 = true;
  51623. t2 = t2 && argument.charCodeAt(t3 + 1) === 58;
  51624. }
  51625. }
  51626. if (t2)
  51627. continue;
  51628. if (argument.charCodeAt(i) === 58) {
  51629. t2 = i + 1;
  51630. nextColon = B.JSString_methods.indexOf$2(argument, ":", t2);
  51631. t3 = false;
  51632. if (nextColon === i + 2)
  51633. if (t1 > t2 + 2) {
  51634. t1 = argument.charCodeAt(t2);
  51635. if (!(t1 >= 97 && t1 <= 122))
  51636. t1 = t1 >= 65 && t1 <= 90;
  51637. else
  51638. t1 = true;
  51639. t1 = t1 && argument.charCodeAt(t2 + 1) === 58;
  51640. } else
  51641. t1 = t3;
  51642. else
  51643. t1 = t3;
  51644. if ((t1 ? B.JSString_methods.indexOf$2(argument, ":", nextColon + 1) : nextColon) !== -1)
  51645. A.ExecutableOptions__fail('"' + argument + '" may only contain one ":".');
  51646. return new A._Record_2(B.JSString_methods.substring$2(argument, 0, i), B.JSString_methods.substring$1(argument, t2));
  51647. }
  51648. }
  51649. throw A.wrapException(A.ArgumentError$('Expected "' + argument + '" to contain a colon.', null));
  51650. },
  51651. _listSourceDirectory$2(source, destination) {
  51652. var t2, t3, t4, t5,
  51653. t1 = type$.String;
  51654. t1 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t1);
  51655. for (t2 = J.get$iterator$ax(A.listDir(source, true)), t3 = source === destination; t2.moveNext$0();) {
  51656. t4 = t2.get$current(t2);
  51657. if (this._isEntrypoint$1(t4))
  51658. t5 = !(t3 && A.ParsedPath_ParsedPath$parse(t4, $.$get$context().style)._splitExtension$1(1)[1] === ".css");
  51659. else
  51660. t5 = false;
  51661. if (t5) {
  51662. t5 = $.$get$context();
  51663. t1.$indexSet(0, t4, A.join(destination, t5.withoutExtension$1(t5.relative$2$from(t4, source)) + ".css", null));
  51664. }
  51665. }
  51666. return t1;
  51667. },
  51668. _isEntrypoint$1(path) {
  51669. var extension,
  51670. t1 = $.$get$context().style;
  51671. if (B.JSString_methods.startsWith$1(A.ParsedPath_ParsedPath$parse(path, t1).get$basename(), "_"))
  51672. return false;
  51673. extension = A.ParsedPath_ParsedPath$parse(path, t1)._splitExtension$1(1)[1];
  51674. return extension === ".scss" || extension === ".sass" || extension === ".css";
  51675. },
  51676. get$_writeToStdout() {
  51677. var t1, _this = this;
  51678. _this._ensureSources$0();
  51679. t1 = _this._sourcesToDestinations;
  51680. if (t1.get$length(t1) === 1) {
  51681. _this._ensureSources$0();
  51682. t1 = _this._sourcesToDestinations;
  51683. t1 = t1.get$values(t1);
  51684. t1 = t1.get$single(t1) == null;
  51685. } else
  51686. t1 = false;
  51687. return t1;
  51688. },
  51689. get$emitSourceMap() {
  51690. var _this = this,
  51691. _s10_ = "source-map",
  51692. _s15_ = "source-map-urls",
  51693. _s13_ = "embed-sources",
  51694. _s16_ = "embed-source-map",
  51695. t1 = _this._options;
  51696. if (!A._asBool(t1.$index(0, _s10_)))
  51697. if (t1.wasParsed$1(_s15_))
  51698. A.ExecutableOptions__fail("--source-map-urls isn't allowed with --no-source-map.");
  51699. else if (t1.wasParsed$1(_s13_))
  51700. A.ExecutableOptions__fail("--embed-sources isn't allowed with --no-source-map.");
  51701. else if (t1.wasParsed$1(_s16_))
  51702. A.ExecutableOptions__fail("--embed-source-map isn't allowed with --no-source-map.");
  51703. if (!_this.get$_writeToStdout())
  51704. return A._asBool(t1.$index(0, _s10_));
  51705. if (J.$eq$(_this._ifParsed$1(_s15_), "relative"))
  51706. A.ExecutableOptions__fail("--source-map-urls=relative isn't allowed when printing to stdout.");
  51707. if (A._asBool(t1.$index(0, _s16_)))
  51708. return A._asBool(t1.$index(0, _s10_));
  51709. else if (J.$eq$(_this._ifParsed$1(_s10_), true))
  51710. A.ExecutableOptions__fail("When printing to stdout, --source-map requires --embed-source-map.");
  51711. else if (t1.wasParsed$1(_s15_))
  51712. A.ExecutableOptions__fail("When printing to stdout, --source-map-urls requires --embed-source-map.");
  51713. else if (A._asBool(t1.$index(0, _s13_)))
  51714. A.ExecutableOptions__fail("When printing to stdout, --embed-sources requires --embed-source-map.");
  51715. else
  51716. return false;
  51717. },
  51718. sourceMapUrl$2(_, url, destination) {
  51719. var t1, path, t2, _null = null;
  51720. if (url.get$scheme().length !== 0 && url.get$scheme() !== "file")
  51721. return url;
  51722. t1 = $.$get$context();
  51723. path = t1.style.pathFromUri$1(A._parseUri(url));
  51724. if (J.$eq$(this._options.$index(0, "source-map-urls"), "relative") && !this.get$_writeToStdout()) {
  51725. destination.toString;
  51726. t2 = t1.relative$2$from(path, t1.dirname$1(destination));
  51727. } else
  51728. t2 = A.absolute(path, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null);
  51729. return t1.toUri$1(t2);
  51730. },
  51731. get$silenceDeprecations(_) {
  51732. var t2, t3, t4,
  51733. t1 = A.LinkedHashSet_LinkedHashSet$_empty(type$.Deprecation);
  51734. for (t2 = J.get$iterator$ax(type$.List_String._as(this._options.$index(0, "silence-deprecation"))); t2.moveNext$0();) {
  51735. t3 = t2.get$current(t2);
  51736. t4 = A.Deprecation_fromId(t3);
  51737. t1.add$1(0, t4 == null ? A.ExecutableOptions__fail('Invalid deprecation "' + t3 + '".') : t4);
  51738. }
  51739. return t1;
  51740. },
  51741. get$fatalDeprecations(_) {
  51742. var t1 = this._fatalDeprecations;
  51743. return t1 == null ? this._fatalDeprecations = new A.ExecutableOptions_fatalDeprecations_closure(this).call$0() : t1;
  51744. },
  51745. get$futureDeprecations(_) {
  51746. var t2, t3, t4,
  51747. t1 = A.LinkedHashSet_LinkedHashSet$_empty(type$.Deprecation);
  51748. for (t2 = J.get$iterator$ax(type$.List_String._as(this._options.$index(0, "future-deprecation"))); t2.moveNext$0();) {
  51749. t3 = t2.get$current(t2);
  51750. t4 = A.Deprecation_fromId(t3);
  51751. t1.add$1(0, t4 == null ? A.ExecutableOptions__fail('Invalid deprecation "' + t3 + '".') : t4);
  51752. }
  51753. return t1;
  51754. },
  51755. _ifParsed$1($name) {
  51756. var t1 = this._options;
  51757. return t1.wasParsed$1($name) ? t1.$index(0, $name) : null;
  51758. }
  51759. };
  51760. A.ExecutableOptions__parser_closure.prototype = {
  51761. call$0() {
  51762. var t1 = type$.String,
  51763. t2 = A.LinkedHashMap_LinkedHashMap$_empty(t1, type$.Option),
  51764. t3 = A._setArrayType([], type$.JSArray_Object),
  51765. 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);
  51766. parser.addOption$2$hide("precision", true);
  51767. parser.addFlag$2$hide("async", true);
  51768. t3.push(A.ExecutableOptions__separator("Input and Output"));
  51769. parser.addFlag$2$help("stdin", "Read the stylesheet from stdin.");
  51770. parser.addFlag$2$help("indented", "Use the indented syntax for input from stdin.");
  51771. parser.addMultiOption$5$abbr$help$splitCommas$valueHelp("load-path", "I", "A path to use when resolving imports.\nMay be passed multiple times.", false, "PATH");
  51772. t2 = type$.JSArray_String;
  51773. parser.addMultiOption$6$abbr$allowed$allowedHelp$help$valueHelp("pkg-importer", "p", A._setArrayType(["node"], t2), A.LinkedHashMap_LinkedHashMap$_literal(["node", "Load files like Node.js package resolution."], t1, t1), "Built-in importer(s) to use for pkg: URLs.", "TYPE");
  51774. parser.addOption$6$abbr$allowed$defaultsTo$help$valueHelp("style", "s", A._setArrayType(["expanded", "compressed"], t2), "expanded", "Output style.", "NAME");
  51775. parser.addFlag$3$defaultsTo$help("charset", true, "Emit a @charset or BOM for CSS with non-ASCII characters.");
  51776. 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.");
  51777. parser.addFlag$3$help$negatable("update", "Only compile out-of-date stylesheets.", false);
  51778. t3.push(A.ExecutableOptions__separator("Source Maps"));
  51779. parser.addFlag$3$defaultsTo$help("source-map", true, "Whether to generate source maps.");
  51780. parser.addOption$4$allowed$defaultsTo$help("source-map-urls", A._setArrayType(["relative", "absolute"], t2), "relative", "How to link from source maps to source files.");
  51781. parser.addFlag$3$defaultsTo$help("embed-sources", false, "Embed source file contents in source maps.");
  51782. parser.addFlag$3$defaultsTo$help("embed-source-map", false, "Embed source map contents in CSS.");
  51783. t3.push(A.ExecutableOptions__separator("Warnings"));
  51784. parser.addFlag$3$abbr$help("quiet", "q", "Don't print warnings.");
  51785. parser.addFlag$2$help("quiet-deps", "Don't print compiler warnings from dependencies.\nStylesheets imported through load paths count as dependencies.");
  51786. parser.addFlag$2$help("verbose", "Print all deprecation warnings even when they're repetitive.");
  51787. parser.addMultiOption$2$help("fatal-deprecation", "Deprecations to treat as errors. You may also pass a Sass\nversion to include any behavior deprecated in or before it.\nSee https://sass-lang.com/documentation/breaking-changes for \na complete list.");
  51788. parser.addMultiOption$2$help("silence-deprecation", "Deprecations to ignore.");
  51789. parser.addMultiOption$2$help("future-deprecation", "Opt in to a deprecation early.");
  51790. t3.push(A.ExecutableOptions__separator("Other"));
  51791. parser.addFlag$4$abbr$help$negatable("watch", "w", "Watch stylesheets and recompile when they change.", false);
  51792. parser.addFlag$2$help("poll", "Manually check for changes rather than using a native watcher.\nOnly valid with --watch.");
  51793. parser.addFlag$2$help("stop-on-error", "Don't compile more files once an error is encountered.");
  51794. parser.addFlag$4$abbr$help$negatable("interactive", "i", "Run an interactive SassScript shell.", false);
  51795. parser.addFlag$3$abbr$help("color", "c", "Whether to use terminal colors for messages.");
  51796. parser.addFlag$2$help("unicode", "Whether to use Unicode characters for messages.");
  51797. parser.addFlag$2$help("trace", "Print full Dart stack traces for exceptions.");
  51798. parser.addFlag$4$abbr$help$negatable("help", "h", "Print this usage information.", false);
  51799. parser.addFlag$3$help$negatable("version", "Print the version of Dart Sass.", false);
  51800. return parser;
  51801. },
  51802. $signature: 308
  51803. };
  51804. A.ExecutableOptions_interactive_closure.prototype = {
  51805. call$0() {
  51806. var _0_0,
  51807. t1 = this.$this._options;
  51808. if (!A._asBool(t1.$index(0, "interactive")))
  51809. return false;
  51810. _0_0 = A.IterableExtension_firstWhereOrNull(A._setArrayType(["stdin", "indented", "style", "source-map", "source-map-urls", "embed-sources", "embed-source-map", "update", "watch"], type$.JSArray_String), t1.get$wasParsed());
  51811. if (_0_0 != null)
  51812. throw A.wrapException(A.UsageException$("--" + _0_0 + " isn't allowed with --interactive."));
  51813. return true;
  51814. },
  51815. $signature: 19
  51816. };
  51817. A.ExecutableOptions_emitErrorCss_closure.prototype = {
  51818. call$1(destination) {
  51819. return destination != null;
  51820. },
  51821. $signature: 271
  51822. };
  51823. A.ExecutableOptions_fatalDeprecations_closure.prototype = {
  51824. call$0() {
  51825. var id, argVersion, sassVersion, t1, t2, _0_0, exception,
  51826. deprecations = A.LinkedHashSet_LinkedHashSet$_empty(type$.Deprecation);
  51827. for (t1 = J.get$iterator$ax(type$.List_String._as(this.$this._options.$index(0, "fatal-deprecation"))), t2 = type$.FormatException; t1.moveNext$0();) {
  51828. id = t1.get$current(t1);
  51829. _0_0 = A.Deprecation_fromId(id);
  51830. if (_0_0 != null) {
  51831. J.add$1$ax(deprecations, _0_0);
  51832. continue;
  51833. }
  51834. try {
  51835. argVersion = A.Version_Version$parse(id);
  51836. sassVersion = A.Version_Version$parse("1.89.2");
  51837. if (J.compareTo$1$ns(argVersion, sassVersion) > 0)
  51838. A.ExecutableOptions__fail("Invalid version " + A.S(argVersion) + ". --fatal-deprecation requires a version less than or equal to the current Dart Sass version.");
  51839. J.addAll$1$ax(deprecations, A.Deprecation_forVersion(argVersion));
  51840. } catch (exception) {
  51841. if (t2._is(A.unwrapException(exception)))
  51842. A.ExecutableOptions__fail('Invalid deprecation "' + A.S(id) + '".');
  51843. else
  51844. throw exception;
  51845. }
  51846. }
  51847. return deprecations;
  51848. },
  51849. $signature: 317
  51850. };
  51851. A.UsageException.prototype = {$isException: 1,
  51852. get$message(receiver) {
  51853. return this.message;
  51854. }
  51855. };
  51856. A.repl_warn.prototype = {
  51857. call$1(warning) {
  51858. var _0_1, _0_3, deprecation, t1, _0_2, span, _null = null;
  51859. $label0$0: {
  51860. _0_1 = warning._1;
  51861. _0_3 = _null;
  51862. deprecation = _null;
  51863. t1 = false;
  51864. _0_2 = warning._2;
  51865. _0_3 = warning._0;
  51866. t1 = _0_3 != null;
  51867. if (t1)
  51868. deprecation = _0_3 == null ? type$.Deprecation._as(_0_3) : _0_3;
  51869. span = _0_2;
  51870. if (t1) {
  51871. A.WarnForDeprecation_warnForDeprecation(this.logger, deprecation, _0_1, span, _null);
  51872. break $label0$0;
  51873. }
  51874. t1 = false;
  51875. span = _0_2;
  51876. t1 = _0_3 == null;
  51877. if (t1)
  51878. this.logger.internalWarn$4$deprecation$span$trace(_0_1, _null, span, _null);
  51879. }
  51880. },
  51881. $signature: 272
  51882. };
  51883. A.watch_closure.prototype = {
  51884. call$1(dir) {
  51885. for (; !A.dirExists(dir);)
  51886. dir = $.$get$context().dirname$1(dir);
  51887. return this.dirWatcher.watch$1(0, dir);
  51888. },
  51889. $signature: 321
  51890. };
  51891. A._Watcher.prototype = {
  51892. _delete$1(path) {
  51893. var buffer, t1, exception;
  51894. try {
  51895. A.deleteFile(path);
  51896. buffer = new A.StringBuffer("");
  51897. t1 = this._watch$_options;
  51898. if (t1.get$color())
  51899. buffer._contents += "\x1b[33m";
  51900. buffer._contents += "Deleted " + path + ".";
  51901. if (t1.get$color())
  51902. buffer._contents += "\x1b[0m";
  51903. A.print(buffer);
  51904. } catch (exception) {
  51905. if (!(A.unwrapException(exception) instanceof A.FileSystemException))
  51906. throw exception;
  51907. }
  51908. },
  51909. watch$1(_, watcher) {
  51910. return this.watch$body$_Watcher(0, watcher);
  51911. },
  51912. watch$body$_Watcher(_, watcher) {
  51913. var $async$goto = 0,
  51914. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  51915. $async$returnValue, $async$handler = 2, $async$errorStack = [], $async$next = [], $async$self = this, batch, $event, extension, t1, toRecompile, success, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, url, _0_0, t2;
  51916. var $async$watch$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  51917. if ($async$errorCode === 1) {
  51918. $async$errorStack.push($async$result);
  51919. $async$goto = $async$handler;
  51920. }
  51921. while (true)
  51922. switch ($async$goto) {
  51923. case 0:
  51924. // Function start
  51925. t2 = watcher._group.__StreamGroup__controller_A;
  51926. t2 === $ && A.throwUnnamedLateFieldNI();
  51927. t2 = new A._StreamIterator(A.checkNotNullable($async$self._debounceEvents$1(new A._ControllerStream(t2, A._instanceType(t2)._eval$1("_ControllerStream<1>"))), "stream", type$.Object));
  51928. $async$handler = 3;
  51929. t3 = $async$self._toRecompile, t4 = type$.String, t5 = $async$self._watch$_options, t6 = $async$self._graph, t7 = t6._nodes, t8 = type$.JSArray_StylesheetNode, t9 = t5._options;
  51930. case 6:
  51931. // for condition
  51932. $async$goto = 8;
  51933. return A._asyncAwait(t2.moveNext$0(), $async$watch$1);
  51934. case 8:
  51935. // returning from await.
  51936. if (!$async$result) {
  51937. // goto after for
  51938. $async$goto = 7;
  51939. break;
  51940. }
  51941. batch = t2.get$current(0);
  51942. for (t10 = J.get$iterator$ax(batch); t10.moveNext$0();) {
  51943. $event = t10.get$current(t10);
  51944. t11 = $event.path;
  51945. t12 = $.$get$context();
  51946. extension = A.ParsedPath_ParsedPath$parse(t11, t12.style)._splitExtension$1(1)[1];
  51947. if (!J.$eq$(extension, ".sass") && !J.$eq$(extension, ".scss") && !J.$eq$(extension, ".css"))
  51948. continue;
  51949. switch ($event.type) {
  51950. case B.ChangeType_modify:
  51951. t11 = $event.path;
  51952. t13 = self.process;
  51953. if (t13 == null)
  51954. t13 = null;
  51955. else {
  51956. t13 = J.get$release$x(t13);
  51957. t13 = t13 == null ? null : J.get$name$x(t13);
  51958. }
  51959. t13 = J.$eq$(t13, "node") ? self.process : null;
  51960. if (!J.$eq$(t13 == null ? null : J.get$platform$x(t13), "win32")) {
  51961. t13 = self.process;
  51962. if (t13 == null)
  51963. t13 = null;
  51964. else {
  51965. t13 = J.get$release$x(t13);
  51966. t13 = t13 == null ? null : J.get$name$x(t13);
  51967. }
  51968. t13 = J.$eq$(t13, "node") ? self.process : null;
  51969. t13 = J.$eq$(t13 == null ? null : J.get$platform$x(t13), "darwin");
  51970. } else
  51971. t13 = true;
  51972. url = t12.toUri$1(t13 ? A._realCasePath(t12.normalize$1(t12.absolute$15(t11, null, null, null, null, null, null, null, null, null, null, null, null, null, null))) : t12.canonicalize$1(0, t11));
  51973. _0_0 = t7.$index(0, url);
  51974. if (_0_0 != null) {
  51975. t6.reload$1(url);
  51976. $async$self._recompileDownstream$1(A._setArrayType([_0_0], t8));
  51977. } else
  51978. $async$self._handleAdd$1(t11);
  51979. break;
  51980. case B.ChangeType_add:
  51981. $async$self._handleAdd$1($event.path);
  51982. break;
  51983. case B.ChangeType_remove:
  51984. $async$self._handleRemove$1($event.path);
  51985. break;
  51986. }
  51987. }
  51988. t10 = A.LinkedHashMap_LinkedHashMap(null, null, null, t4, t4);
  51989. t10.addAll$1(0, t3);
  51990. t1 = t10;
  51991. toRecompile = t1;
  51992. t3.clear$0(0);
  51993. $async$goto = 9;
  51994. return A._asyncAwait(A.compileStylesheets(t5, t6, toRecompile, true), $async$watch$1);
  51995. case 9:
  51996. // returning from await.
  51997. success = $async$result;
  51998. if (!success && A._asBool(t9.$index(0, "stop-on-error"))) {
  51999. $async$next = [1];
  52000. // goto finally
  52001. $async$goto = 4;
  52002. break;
  52003. }
  52004. // goto for condition
  52005. $async$goto = 6;
  52006. break;
  52007. case 7:
  52008. // after for
  52009. $async$next.push(5);
  52010. // goto finally
  52011. $async$goto = 4;
  52012. break;
  52013. case 3:
  52014. // uncaught
  52015. $async$next = [2];
  52016. case 4:
  52017. // finally
  52018. $async$handler = 2;
  52019. $async$goto = 10;
  52020. return A._asyncAwait(t2.cancel$0(), $async$watch$1);
  52021. case 10:
  52022. // returning from await.
  52023. // goto the next finally handler
  52024. $async$goto = $async$next.pop();
  52025. break;
  52026. case 5:
  52027. // after finally
  52028. case 1:
  52029. // return
  52030. return A._asyncReturn($async$returnValue, $async$completer);
  52031. case 2:
  52032. // rethrow
  52033. return A._asyncRethrow($async$errorStack.at(-1), $async$completer);
  52034. }
  52035. });
  52036. return A._asyncStartSync($async$watch$1, $async$completer);
  52037. },
  52038. _handleAdd$1(path) {
  52039. var t1, t2, t3, t0, _this = this, _null = null,
  52040. destination = _this._destinationFor$1(path);
  52041. if (destination != null)
  52042. _this._toRecompile.$indexSet(0, path, destination);
  52043. t1 = $.$get$FilesystemImporter_cwd();
  52044. t2 = A.isNodeJs() ? self.process : _null;
  52045. if (!J.$eq$(t2 == null ? _null : J.get$platform$x(t2), "win32")) {
  52046. t2 = A.isNodeJs() ? self.process : _null;
  52047. t2 = J.$eq$(t2 == null ? _null : J.get$platform$x(t2), "darwin");
  52048. } else
  52049. t2 = true;
  52050. if (t2) {
  52051. t2 = A.absolute(path, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null);
  52052. t3 = $.$get$context();
  52053. t2 = A._realCasePath(t3.normalize$1(t2));
  52054. } else {
  52055. t2 = $.$get$context();
  52056. t3 = t2.canonicalize$1(0, path);
  52057. t0 = t3;
  52058. t3 = t2;
  52059. t2 = t0;
  52060. }
  52061. _this._recompileDownstream$1(_this._graph.addCanonical$3(t1, t3.toUri$1(t2), t3.toUri$1(path)));
  52062. },
  52063. _handleRemove$1(path) {
  52064. return this._handleRemove$body$_Watcher(path);
  52065. },
  52066. _handleRemove$body$_Watcher(path) {
  52067. var $async$goto = 0,
  52068. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  52069. $async$self = this, t2, t0, url, _0_0, t1;
  52070. var $async$_handleRemove$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  52071. if ($async$errorCode === 1)
  52072. return A._asyncRethrow($async$result, $async$completer);
  52073. while (true)
  52074. switch ($async$goto) {
  52075. case 0:
  52076. // Function start
  52077. t1 = A.isNodeJs() ? self.process : null;
  52078. if (!J.$eq$(t1 == null ? null : J.get$platform$x(t1), "win32")) {
  52079. t1 = A.isNodeJs() ? self.process : null;
  52080. t1 = J.$eq$(t1 == null ? null : J.get$platform$x(t1), "darwin");
  52081. } else
  52082. t1 = true;
  52083. if (t1) {
  52084. t1 = A.absolute(path, null, null, null, null, null, null, null, null, null, null, null, null, null, null);
  52085. t2 = $.$get$context();
  52086. t1 = A._realCasePath(t2.normalize$1(t1));
  52087. } else {
  52088. t1 = $.$get$context();
  52089. t2 = t1.canonicalize$1(0, path);
  52090. t0 = t2;
  52091. t2 = t1;
  52092. t1 = t0;
  52093. }
  52094. url = t2.toUri$1(t1);
  52095. t1 = $async$self._graph;
  52096. if (t1._nodes.containsKey$1(url)) {
  52097. _0_0 = $async$self._destinationFor$1(path);
  52098. if (_0_0 != null)
  52099. $async$self._delete$1(_0_0);
  52100. }
  52101. $async$self._recompileDownstream$1(t1.remove$2(0, $.$get$FilesystemImporter_cwd(), url));
  52102. // implicit return
  52103. return A._asyncReturn(null, $async$completer);
  52104. }
  52105. });
  52106. return A._asyncStartSync($async$_handleRemove$1, $async$completer);
  52107. },
  52108. _debounceEvents$1(events) {
  52109. var t1 = type$.WatchEvent;
  52110. t1 = A.RateLimit__debounceAggregate(events, A.Duration$(0, 25), A.instantiate1(A.rate_limit___collect$closure(), t1), false, true, t1, type$.List_WatchEvent);
  52111. return new A._MapStream(new A._Watcher__debounceEvents_closure(), t1, A._instanceType(t1)._eval$1("_MapStream<Stream.T,List<WatchEvent>>"));
  52112. },
  52113. _recompileDownstream$1(nodes) {
  52114. var t1, t2, t3, t4, t5, t6, _i,
  52115. seen = A.LinkedHashSet_LinkedHashSet$_empty(type$.StylesheetNode);
  52116. for (t1 = type$.UnmodifiableSetView_StylesheetNode, t2 = this._toRecompile, t3 = type$.JSArray_StylesheetNode; t4 = J.getInterceptor$asx(nodes), t4.get$isNotEmpty(nodes); nodes = t4) {
  52117. t5 = A._setArrayType([], t3);
  52118. for (t4 = t4.get$iterator(nodes); t4.moveNext$0();) {
  52119. t6 = t4.get$current(t4);
  52120. if (seen.add$1(0, t6))
  52121. t5.push(t6);
  52122. }
  52123. t2.addAll$1(0, this._sourceEntrypointsToDestinations$1(t5));
  52124. t4 = A._setArrayType([], t3);
  52125. for (t6 = t5.length, _i = 0; _i < t5.length; t5.length === t6 || (0, A.throwConcurrentModificationError)(t5), ++_i)
  52126. B.JSArray_methods.addAll$1(t4, new A.UnmodifiableSetView0(t5[_i]._downstream, t1));
  52127. }
  52128. },
  52129. _sourceEntrypointsToDestinations$1(nodes) {
  52130. var _i, url, source, _0_0,
  52131. t1 = type$.String,
  52132. entrypoints = A.LinkedHashMap_LinkedHashMap$_empty(t1, t1);
  52133. for (t1 = nodes.length, _i = 0; _i < nodes.length; nodes.length === t1 || (0, A.throwConcurrentModificationError)(nodes), ++_i) {
  52134. url = nodes[_i].canonicalUrl;
  52135. if (url.get$scheme() !== "file")
  52136. continue;
  52137. source = $.$get$context().style.pathFromUri$1(A._parseUri(url));
  52138. _0_0 = this._destinationFor$1(source);
  52139. if (_0_0 != null)
  52140. entrypoints.$indexSet(0, source, _0_0);
  52141. }
  52142. return entrypoints;
  52143. },
  52144. _destinationFor$1(source) {
  52145. var t2, _0_0, t3, sourceDir, destinationDir, destination,
  52146. t1 = this._watch$_options;
  52147. t1._ensureSources$0();
  52148. t2 = type$.String;
  52149. _0_0 = t1._sourcesToDestinations.cast$2$0(0, t2, t2).$index(0, source);
  52150. if (_0_0 != null)
  52151. return _0_0;
  52152. t3 = $.$get$context();
  52153. if (B.JSString_methods.startsWith$1(A.ParsedPath_ParsedPath$parse(source, t3.style).get$basename(), "_"))
  52154. return null;
  52155. t1._ensureSources$0();
  52156. t1 = t1.__ExecutableOptions__sourceDirectoriesToDestinations_F;
  52157. t1 === $ && A.throwUnnamedLateFieldNI();
  52158. t2 = A.MapExtensions_get_pairs(t1.cast$2$0(0, t2, t2), t2, t2);
  52159. t2 = t2.get$iterator(t2);
  52160. for (; t2.moveNext$0();) {
  52161. t1 = t2.get$current(t2);
  52162. sourceDir = t1._0;
  52163. destinationDir = t1._1;
  52164. if (t3._isWithinOrEquals$2(sourceDir, source) !== B._PathRelation_within)
  52165. continue;
  52166. destination = A.join(destinationDir, t3.withoutExtension$1(t3.relative$2$from(source, sourceDir)) + ".css", null);
  52167. if (t3._isWithinOrEquals$2(destination, source) !== B._PathRelation_equal)
  52168. return destination;
  52169. }
  52170. return null;
  52171. }
  52172. };
  52173. A._Watcher__debounceEvents_closure.prototype = {
  52174. call$1(buffer) {
  52175. var t3, t4, t5, oldType, newType, _1_1,
  52176. t1 = type$.ChangeType,
  52177. t2 = A.PathMap__create(null, t1);
  52178. for (t3 = J.get$iterator$ax(buffer); t3.moveNext$0();) {
  52179. t4 = t3.get$current(t3);
  52180. t5 = t4.path;
  52181. oldType = t2.$index(0, t5);
  52182. newType = t4.type;
  52183. $label0$0: {
  52184. if (oldType == null) {
  52185. t4 = newType;
  52186. break $label0$0;
  52187. }
  52188. if (B.ChangeType_remove === newType) {
  52189. t4 = B.ChangeType_remove;
  52190. break $label0$0;
  52191. }
  52192. if (B.ChangeType_add === oldType) {
  52193. t4 = B.ChangeType_add;
  52194. break $label0$0;
  52195. }
  52196. t4 = B.ChangeType_modify;
  52197. break $label0$0;
  52198. }
  52199. t2.$indexSet(0, t5, t4);
  52200. }
  52201. t3 = A._setArrayType([], type$.JSArray_WatchEvent);
  52202. for (t1 = A.MapExtensions_get_pairs(new A.PathMap(t2, type$.PathMap_ChangeType), type$.nullable_String, t1), t1 = t1.get$iterator(t1); t1.moveNext$0();) {
  52203. t2 = t1.get$current(t1);
  52204. _1_1 = t2._0;
  52205. _1_1.toString;
  52206. t3.push(new A.WatchEvent(t2._1, _1_1));
  52207. }
  52208. return t3;
  52209. },
  52210. $signature: 323
  52211. };
  52212. A.EmptyExtensionStore.prototype = {
  52213. get$_extensions() {
  52214. return A.throwExpression(A.NoSuchMethodError_NoSuchMethodError$withInvocation(this, A.JSInvocationMirror$(B.Symbol__extensions, "get$_empty_extension_store$_extensions", 1, [], [], 0)));
  52215. },
  52216. get$_sourceSpecificity() {
  52217. return A.throwExpression(A.NoSuchMethodError_NoSuchMethodError$withInvocation(this, A.JSInvocationMirror$(B.Symbol__sourceSpecificity, "get$_empty_extension_store$_sourceSpecificity", 1, [], [], 0)));
  52218. },
  52219. get$isEmpty(_) {
  52220. return true;
  52221. },
  52222. get$simpleSelectors() {
  52223. return B.C_EmptyUnmodifiableSet;
  52224. },
  52225. extensionsWhereTarget$1(callback) {
  52226. return B.List_empty5;
  52227. },
  52228. addExtensions$1(extenders) {
  52229. throw A.wrapException(A.UnsupportedError$(string$.addExt));
  52230. },
  52231. clone$0() {
  52232. return B.Record2_EmptyExtensionStore_Map_empty;
  52233. },
  52234. $isExtensionStore: 1
  52235. };
  52236. A.Extension.prototype = {
  52237. toString$0(_) {
  52238. var t1 = this.extender.toString$0(0),
  52239. t2 = this.target.toString$0(0),
  52240. t3 = this.isOptional ? " !optional" : "";
  52241. return t1 + " {@extend " + t2 + t3 + "}";
  52242. }
  52243. };
  52244. A.Extender.prototype = {
  52245. assertCompatibleMediaContext$1(mediaContext) {
  52246. var expectedMediaContext,
  52247. extension = this._extension;
  52248. if (extension == null)
  52249. return;
  52250. expectedMediaContext = extension.mediaContext;
  52251. if (expectedMediaContext == null)
  52252. return;
  52253. if (mediaContext != null && B.C_ListEquality.equals$2(0, expectedMediaContext, mediaContext))
  52254. return;
  52255. throw A.wrapException(A.SassException$(string$.You_ma, extension.span, null));
  52256. },
  52257. toString$0(_) {
  52258. return A.serializeSelector(this.selector, true);
  52259. }
  52260. };
  52261. A.ExtensionStore.prototype = {
  52262. get$isEmpty(_) {
  52263. return this._extensions.__js_helper$_length === 0;
  52264. },
  52265. get$simpleSelectors() {
  52266. return new A.MapKeySet(this._selectors, type$.MapKeySet_SimpleSelector);
  52267. },
  52268. extensionsWhereTarget$1(callback) {
  52269. return new A._SyncStarIterable(this.extensionsWhereTarget$body$ExtensionStore(callback), type$._SyncStarIterable_Extension);
  52270. },
  52271. extensionsWhereTarget$body$ExtensionStore($async$callback) {
  52272. var $async$self = this;
  52273. return function() {
  52274. var callback = $async$callback;
  52275. var $async$goto = 0, $async$handler = 1, $async$errorStack = [], t1, t2, simple, sources, t3;
  52276. return function $async$extensionsWhereTarget$1($async$iterator, $async$errorCode, $async$result) {
  52277. if ($async$errorCode === 1) {
  52278. $async$errorStack.push($async$result);
  52279. $async$goto = $async$handler;
  52280. }
  52281. while (true)
  52282. switch ($async$goto) {
  52283. case 0:
  52284. // Function start
  52285. t1 = A.MapExtensions_get_pairs($async$self._extensions, type$.SimpleSelector, type$.Map_ComplexSelector_Extension), t1 = t1.get$iterator(t1);
  52286. case 2:
  52287. // for condition
  52288. if (!t1.moveNext$0()) {
  52289. // goto after for
  52290. $async$goto = 3;
  52291. break;
  52292. }
  52293. t2 = t1.get$current(t1);
  52294. simple = t2._0;
  52295. sources = t2._1;
  52296. if (!callback.call$1(simple)) {
  52297. // goto for condition
  52298. $async$goto = 2;
  52299. break;
  52300. }
  52301. t2 = sources.get$values(sources), t2 = t2.get$iterator(t2);
  52302. case 4:
  52303. // for condition
  52304. if (!t2.moveNext$0()) {
  52305. // goto after for
  52306. $async$goto = 5;
  52307. break;
  52308. }
  52309. t3 = t2.get$current(t2);
  52310. $async$goto = t3 instanceof A.MergedExtension ? 6 : 8;
  52311. break;
  52312. case 6:
  52313. // then
  52314. t3 = t3.unmerge$0();
  52315. $async$goto = 9;
  52316. return $async$iterator._yieldStar$1(new A.WhereIterable(t3, new A.ExtensionStore_extensionsWhereTarget_closure(), t3.$ti._eval$1("WhereIterable<Iterable.E>")));
  52317. case 9:
  52318. // after yield
  52319. // goto join
  52320. $async$goto = 7;
  52321. break;
  52322. case 8:
  52323. // else
  52324. $async$goto = !t3.isOptional ? 10 : 11;
  52325. break;
  52326. case 10:
  52327. // then
  52328. $async$goto = 12;
  52329. return $async$iterator._async$_current = t3, 1;
  52330. case 12:
  52331. // after yield
  52332. case 11:
  52333. // join
  52334. case 7:
  52335. // join
  52336. // goto for condition
  52337. $async$goto = 4;
  52338. break;
  52339. case 5:
  52340. // after for
  52341. // goto for condition
  52342. $async$goto = 2;
  52343. break;
  52344. case 3:
  52345. // after for
  52346. // implicit return
  52347. return 0;
  52348. case 1:
  52349. // rethrow
  52350. return $async$iterator._datum = $async$errorStack.at(-1), 3;
  52351. }
  52352. };
  52353. };
  52354. },
  52355. addSelector$2(selector, mediaContext) {
  52356. var originalSelector, error, stackTrace, t1, exception, t2, t3, t4, modifiableSelector, _this = this;
  52357. selector = selector;
  52358. originalSelector = selector;
  52359. if (!originalSelector.accept$1(B._IsInvisibleVisitor_true))
  52360. _this._originals.addAll$1(0, originalSelector.components);
  52361. t1 = _this._extensions;
  52362. if (t1.__js_helper$_length !== 0)
  52363. try {
  52364. selector = _this._extendList$3(originalSelector, t1, mediaContext);
  52365. } catch (exception) {
  52366. t1 = A.unwrapException(exception);
  52367. if (t1 instanceof A.SassException) {
  52368. error = t1;
  52369. stackTrace = A.getTraceFromException(exception);
  52370. t1 = error;
  52371. t2 = J.getInterceptor$z(t1);
  52372. t1 = A.SourceSpanException.prototype.get$span.call(t2, t1).message$1(0, "");
  52373. t2 = error._span_exception$_message;
  52374. t3 = error;
  52375. t4 = J.getInterceptor$z(t3);
  52376. t3 = A.SourceSpanException.prototype.get$span.call(t4, t3);
  52377. A.throwWithTrace(new A.SassException(B.Set_empty, "From " + t1 + "\n" + t2, t3), error, stackTrace);
  52378. } else
  52379. throw exception;
  52380. }
  52381. modifiableSelector = new A.ModifiableBox(selector, type$.ModifiableBox_SelectorList);
  52382. if (mediaContext != null)
  52383. _this._mediaContexts.$indexSet(0, modifiableSelector, mediaContext);
  52384. _this._registerSelector$2(selector, modifiableSelector);
  52385. return new A.Box(modifiableSelector, type$.Box_SelectorList);
  52386. },
  52387. _registerSelector$2(list, selector) {
  52388. var t1, t2, t3, t4, _i, t5, t6, _i0, t7, t8, _i1, simple, _0_2_isSet, _0_2, t9, selectorInPseudo;
  52389. for (t1 = list.components, t2 = t1.length, t3 = this._selectors, t4 = type$.SelectorList, _i = 0; _i < t2; ++_i)
  52390. for (t5 = t1[_i].components, t6 = t5.length, _i0 = 0; _i0 < t6; ++_i0)
  52391. for (t7 = t5[_i0].selector.components, t8 = t7.length, _i1 = 0; _i1 < t8; ++_i1) {
  52392. simple = t7[_i1];
  52393. t3.putIfAbsent$2(simple, new A.ExtensionStore__registerSelector_closure()).add$1(0, selector);
  52394. _0_2_isSet = simple instanceof A.PseudoSelector;
  52395. _0_2 = null;
  52396. if (_0_2_isSet) {
  52397. _0_2 = simple.selector;
  52398. t9 = _0_2;
  52399. t9 = t9 != null;
  52400. } else
  52401. t9 = false;
  52402. if (t9) {
  52403. selectorInPseudo = _0_2_isSet ? _0_2 : simple.selector;
  52404. this._registerSelector$2(selectorInPseudo == null ? t4._as(selectorInPseudo) : selectorInPseudo, selector);
  52405. }
  52406. }
  52407. },
  52408. addExtension$4(extender, target, extend, mediaContext) {
  52409. var t2, t3, t4, t5, t6, t7, t8, t9, t10, newExtensions, _i, complex, t11, extension, _0_0, t12, newExtensionsByTarget, additionalExtensions, _this = this,
  52410. selectors = _this._selectors.$index(0, target),
  52411. t1 = _this._extensionsByExtender,
  52412. existingExtensions = t1.$index(0, target),
  52413. sources = _this._extensions.putIfAbsent$2(target, new A.ExtensionStore_addExtension_closure());
  52414. for (t2 = extender.components, t3 = t2.length, t4 = selectors == null, t5 = _this._sourceSpecificity, t6 = extend.span, t7 = extend.isOptional, t8 = existingExtensions != null, t9 = type$.ComplexSelector, t10 = type$.Extension, newExtensions = null, _i = 0; _i < t3; ++_i) {
  52415. complex = t2[_i];
  52416. if (complex.accept$1(B.C__IsUselessVisitor))
  52417. continue;
  52418. complex.get$specificity();
  52419. t11 = new A.Extender(complex, false);
  52420. extension = t11._extension = new A.Extension(t11, target, mediaContext, t7, t6);
  52421. _0_0 = sources.$index(0, complex);
  52422. if (_0_0 != null) {
  52423. sources.$indexSet(0, complex, A.MergedExtension_merge(_0_0, extension));
  52424. continue;
  52425. }
  52426. sources.$indexSet(0, complex, extension);
  52427. for (t11 = new A._SyncStarIterator(_this._simpleSelectors$1(complex)._outerHelper()); t11.moveNext$0();) {
  52428. t12 = t11._async$_current;
  52429. J.add$1$ax(t1.putIfAbsent$2(t12, new A.ExtensionStore_addExtension_closure0()), extension);
  52430. t5.putIfAbsent$2(t12, new A.ExtensionStore_addExtension_closure1(complex));
  52431. }
  52432. if (!t4 || t8) {
  52433. if (newExtensions == null)
  52434. newExtensions = A.LinkedHashMap_LinkedHashMap$_empty(t9, t10);
  52435. newExtensions.$indexSet(0, complex, extension);
  52436. }
  52437. }
  52438. if (newExtensions == null)
  52439. return;
  52440. t1 = type$.SimpleSelector;
  52441. newExtensionsByTarget = A.LinkedHashMap_LinkedHashMap$_literal([target, newExtensions], t1, type$.Map_ComplexSelector_Extension);
  52442. if (t8) {
  52443. additionalExtensions = _this._extendExistingExtensions$2(existingExtensions, newExtensionsByTarget);
  52444. if (additionalExtensions != null)
  52445. A.mapAddAll2(newExtensionsByTarget, additionalExtensions, t1, t9, t10);
  52446. }
  52447. if (!t4)
  52448. _this._extendExistingSelectors$2(selectors, newExtensionsByTarget);
  52449. },
  52450. _simpleSelectors$1(complex) {
  52451. return new A._SyncStarIterable(this._simpleSelectors$body$ExtensionStore(complex), type$._SyncStarIterable_SimpleSelector);
  52452. },
  52453. _simpleSelectors$body$ExtensionStore($async$complex) {
  52454. var $async$self = this;
  52455. return function() {
  52456. var complex = $async$complex;
  52457. var $async$goto = 0, $async$handler = 1, $async$errorStack = [], t1, t2, t3, _i, t4, t5, _i0, simple, _0_2_isSet, _0_2, t6, selector, t7, _i1;
  52458. return function $async$_simpleSelectors$1($async$iterator, $async$errorCode, $async$result) {
  52459. if ($async$errorCode === 1) {
  52460. $async$errorStack.push($async$result);
  52461. $async$goto = $async$handler;
  52462. }
  52463. while (true)
  52464. switch ($async$goto) {
  52465. case 0:
  52466. // Function start
  52467. t1 = complex.components, t2 = t1.length, t3 = type$.SelectorList, _i = 0;
  52468. case 2:
  52469. // for condition
  52470. if (!(_i < t2)) {
  52471. // goto after for
  52472. $async$goto = 4;
  52473. break;
  52474. }
  52475. t4 = t1[_i].selector.components, t5 = t4.length, _i0 = 0;
  52476. case 5:
  52477. // for condition
  52478. if (!(_i0 < t5)) {
  52479. // goto after for
  52480. $async$goto = 7;
  52481. break;
  52482. }
  52483. simple = t4[_i0];
  52484. $async$goto = 8;
  52485. return $async$iterator._async$_current = simple, 1;
  52486. case 8:
  52487. // after yield
  52488. _0_2_isSet = simple instanceof A.PseudoSelector;
  52489. _0_2 = null;
  52490. if (_0_2_isSet) {
  52491. _0_2 = simple.selector;
  52492. t6 = _0_2;
  52493. t6 = t6 != null;
  52494. } else
  52495. t6 = false;
  52496. $async$goto = t6 ? 9 : 10;
  52497. break;
  52498. case 9:
  52499. // then
  52500. selector = _0_2_isSet ? _0_2 : simple.selector;
  52501. t6 = (selector == null ? t3._as(selector) : selector).components, t7 = t6.length, _i1 = 0;
  52502. case 11:
  52503. // for condition
  52504. if (!(_i1 < t7)) {
  52505. // goto after for
  52506. $async$goto = 13;
  52507. break;
  52508. }
  52509. $async$goto = 14;
  52510. return $async$iterator._yieldStar$1($async$self._simpleSelectors$1(t6[_i1]));
  52511. case 14:
  52512. // after yield
  52513. case 12:
  52514. // for update
  52515. ++_i1;
  52516. // goto for condition
  52517. $async$goto = 11;
  52518. break;
  52519. case 13:
  52520. // after for
  52521. case 10:
  52522. // join
  52523. case 6:
  52524. // for update
  52525. ++_i0;
  52526. // goto for condition
  52527. $async$goto = 5;
  52528. break;
  52529. case 7:
  52530. // after for
  52531. case 3:
  52532. // for update
  52533. ++_i;
  52534. // goto for condition
  52535. $async$goto = 2;
  52536. break;
  52537. case 4:
  52538. // after for
  52539. // implicit return
  52540. return 0;
  52541. case 1:
  52542. // rethrow
  52543. return $async$iterator._datum = $async$errorStack.at(-1), 3;
  52544. }
  52545. };
  52546. };
  52547. },
  52548. _extendExistingExtensions$2(extensions, newExtensions) {
  52549. var extension, selectors, error, stackTrace, t1, t2, t3, t4, t5, t6, additionalExtensions, _i, t7, exception, t8, t9, selectors0, t10, t11, t12, t13, t14, withExtender, _0_0, _i0, _i1;
  52550. 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) {
  52551. extension = t1[_i];
  52552. t7 = t6.$index(0, extension.target);
  52553. t7.toString;
  52554. selectors = null;
  52555. try {
  52556. selectors = this._extendComplex$3(extension.extender.selector, newExtensions, extension.mediaContext);
  52557. if (selectors == null)
  52558. continue;
  52559. } catch (exception) {
  52560. t8 = A.unwrapException(exception);
  52561. if (t8 instanceof A.SassException) {
  52562. error = t8;
  52563. stackTrace = A.getTraceFromException(exception);
  52564. A.throwWithTrace(error.withAdditionalSpan$2(extension.extender.selector.span, "target selector"), error, stackTrace);
  52565. } else
  52566. throw exception;
  52567. }
  52568. t8 = J.get$first$ax(selectors);
  52569. t9 = extension.extender.selector;
  52570. if (B.C_ListEquality.equals$2(0, t8.leadingCombinators, t9.leadingCombinators) && B.C_ListEquality.equals$2(0, t8.components, t9.components)) {
  52571. t8 = selectors;
  52572. t9 = A._arrayInstanceType(t8);
  52573. selectors0 = new A.SubListIterable(t8, 1, null, t9._eval$1("SubListIterable<1>"));
  52574. selectors0.SubListIterable$3(t8, 1, null, t9._precomputed1);
  52575. selectors = selectors0;
  52576. }
  52577. for (t8 = J.get$iterator$ax(selectors); t8.moveNext$0();) {
  52578. t9 = t8.get$current(t8);
  52579. t10 = extension;
  52580. t11 = t10.target;
  52581. t12 = t10.span;
  52582. t13 = t10.mediaContext;
  52583. t10 = t10.isOptional;
  52584. t9.get$specificity();
  52585. t14 = new A.Extender(t9, false);
  52586. withExtender = t14._extension = new A.Extension(t14, t11, t13, t10, t12);
  52587. _0_0 = t7.$index(0, t9);
  52588. if (_0_0 != null)
  52589. t7.$indexSet(0, t9, A.MergedExtension_merge(_0_0, withExtender));
  52590. else {
  52591. t7.$indexSet(0, t9, withExtender);
  52592. for (t10 = t9.components, t11 = t10.length, _i0 = 0; _i0 < t11; ++_i0)
  52593. for (t12 = t10[_i0].selector.components, t13 = t12.length, _i1 = 0; _i1 < t13; ++_i1)
  52594. J.add$1$ax(t3.putIfAbsent$2(t12[_i1], new A.ExtensionStore__extendExistingExtensions_closure()), withExtender);
  52595. if (newExtensions.containsKey$1(extension.target)) {
  52596. if (additionalExtensions == null)
  52597. additionalExtensions = A.LinkedHashMap_LinkedHashMap$_empty(t4, t5);
  52598. additionalExtensions.putIfAbsent$2(extension.target, new A.ExtensionStore__extendExistingExtensions_closure0()).$indexSet(0, t9, withExtender);
  52599. }
  52600. }
  52601. }
  52602. }
  52603. return additionalExtensions;
  52604. },
  52605. _extendExistingSelectors$2(selectors, newExtensions) {
  52606. var selector, error, stackTrace, t1, t2, oldValue, exception, t3, t4, t5, t6;
  52607. for (t1 = selectors.get$iterator(selectors), t2 = this._mediaContexts; t1.moveNext$0();) {
  52608. selector = t1.get$current(t1);
  52609. oldValue = selector.value;
  52610. try {
  52611. selector.value = this._extendList$3(selector.value, newExtensions, t2.$index(0, selector));
  52612. } catch (exception) {
  52613. t3 = A.unwrapException(exception);
  52614. if (t3 instanceof A.SassException) {
  52615. error = t3;
  52616. stackTrace = A.getTraceFromException(exception);
  52617. t3 = selector.value.span.message$1(0, "");
  52618. t4 = error._span_exception$_message;
  52619. t5 = error;
  52620. t6 = J.getInterceptor$z(t5);
  52621. t5 = A.SourceSpanException.prototype.get$span.call(t6, t5);
  52622. A.throwWithTrace(new A.SassException(B.Set_empty, "From " + t3 + "\n" + t4, t5), error, stackTrace);
  52623. } else
  52624. throw exception;
  52625. }
  52626. if (oldValue === selector.value)
  52627. continue;
  52628. this._registerSelector$2(selector.value, selector);
  52629. }
  52630. },
  52631. addExtensions$1(extensionStores) {
  52632. var t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, newExtensions, selectorsToExtend, extensionsToExtend, t12, t13, target, newSources, first, extensionsForTarget, t14, selectorsForTarget, t15, _2_0, t16, extender, extension, _this = this, _null = null;
  52633. for (t1 = J.get$iterator$ax(extensionStores), t2 = type$.SimpleSelector, t3 = type$.Map_ComplexSelector_Extension, t4 = _this._extensions, t5 = type$.ComplexSelector, t6 = type$.Extension, t7 = _this._selectors, t8 = _this._extensionsByExtender, t9 = type$.JSArray_Extension, t10 = type$.ModifiableBox_SelectorList, t11 = _this._sourceSpecificity, newExtensions = _null, selectorsToExtend = newExtensions, extensionsToExtend = selectorsToExtend; t1.moveNext$0();) {
  52634. t12 = t1.get$current(t1);
  52635. if (t12.get$isEmpty(t12))
  52636. continue;
  52637. t11.addAll$1(0, t12.get$_sourceSpecificity());
  52638. for (t12 = A.MapExtensions_get_pairs(t12.get$_extensions(), t2, t3), t12 = t12.get$iterator(t12); t12.moveNext$0();) {
  52639. t13 = t12.get$current(t12);
  52640. target = t13._0;
  52641. newSources = t13._1;
  52642. if (target instanceof A.PlaceholderSelector) {
  52643. first = target.name.charCodeAt(0);
  52644. t13 = first === 45 || first === 95;
  52645. } else
  52646. t13 = false;
  52647. if (t13)
  52648. continue;
  52649. extensionsForTarget = t8.$index(0, target);
  52650. t13 = extensionsForTarget == null;
  52651. if (!t13) {
  52652. if (extensionsToExtend == null) {
  52653. extensionsToExtend = A._setArrayType([], t9);
  52654. t14 = extensionsToExtend;
  52655. } else
  52656. t14 = extensionsToExtend;
  52657. B.JSArray_methods.addAll$1(t14, extensionsForTarget);
  52658. }
  52659. selectorsForTarget = t7.$index(0, target);
  52660. t14 = selectorsForTarget != null;
  52661. if (t14) {
  52662. if (selectorsToExtend == null) {
  52663. selectorsToExtend = A.LinkedHashSet_LinkedHashSet$_empty(t10);
  52664. t15 = selectorsToExtend;
  52665. } else
  52666. t15 = selectorsToExtend;
  52667. t15.addAll$1(0, selectorsForTarget);
  52668. }
  52669. _2_0 = t4.$index(0, target);
  52670. if (_2_0 != null)
  52671. for (t15 = A.MapExtensions_get_pairs(newSources, t5, t6), t15 = t15.get$iterator(t15); t15.moveNext$0();) {
  52672. t16 = t15.get$current(t15);
  52673. extender = t16._0;
  52674. extension = t16._1;
  52675. if (_2_0.containsKey$1(extender)) {
  52676. t16 = _2_0.$index(0, extender);
  52677. extension = A.MergedExtension_merge(t16 == null ? t6._as(t16) : t16, extension);
  52678. _2_0.$indexSet(0, extender, extension);
  52679. } else
  52680. _2_0.$indexSet(0, extender, extension);
  52681. if (!t13 || t14) {
  52682. if (newExtensions == null) {
  52683. newExtensions = A.LinkedHashMap_LinkedHashMap$_empty(t2, t3);
  52684. t16 = newExtensions;
  52685. } else
  52686. t16 = newExtensions;
  52687. t16.putIfAbsent$2(target, new A.ExtensionStore_addExtensions_closure()).$indexSet(0, extender, extension);
  52688. }
  52689. }
  52690. else {
  52691. t15 = A.LinkedHashMap_LinkedHashMap(_null, _null, _null, t5, t6);
  52692. t15.addAll$1(0, newSources);
  52693. t4.$indexSet(0, target, t15);
  52694. if (!t13 || t14) {
  52695. if (newExtensions == null) {
  52696. newExtensions = A.LinkedHashMap_LinkedHashMap$_empty(t2, t3);
  52697. t13 = newExtensions;
  52698. } else
  52699. t13 = newExtensions;
  52700. t14 = A.LinkedHashMap_LinkedHashMap(_null, _null, _null, t5, t6);
  52701. t14.addAll$1(0, newSources);
  52702. t13.$indexSet(0, target, t14);
  52703. }
  52704. }
  52705. }
  52706. }
  52707. if (newExtensions != null) {
  52708. if (extensionsToExtend != null)
  52709. _this._extendExistingExtensions$2(extensionsToExtend, newExtensions);
  52710. if (selectorsToExtend != null)
  52711. _this._extendExistingSelectors$2(selectorsToExtend, newExtensions);
  52712. }
  52713. },
  52714. _extendList$3(list, extensions, mediaQueryContext) {
  52715. var t1, t2, t3, extended, i, complex, result, t4;
  52716. for (t1 = list.components, t2 = t1.length, t3 = type$.JSArray_ComplexSelector, extended = null, i = 0; i < t2; ++i) {
  52717. complex = t1[i];
  52718. result = this._extendComplex$3(complex, extensions, mediaQueryContext);
  52719. if (result == null) {
  52720. if (extended != null)
  52721. extended.push(complex);
  52722. } else {
  52723. if (extended == null)
  52724. if (i === 0)
  52725. extended = A._setArrayType([], t3);
  52726. else {
  52727. t4 = B.JSArray_methods.sublist$2(t1, 0, i);
  52728. extended = A._setArrayType(t4.slice(0), A._arrayInstanceType(t4));
  52729. }
  52730. B.JSArray_methods.addAll$1(extended, result);
  52731. }
  52732. }
  52733. if (extended == null)
  52734. return list;
  52735. t1 = this._originals;
  52736. return A.SelectorList$(this._trim$2(extended, t1.get$contains(t1)), list.span);
  52737. },
  52738. _extendList$2(list, extensions) {
  52739. return this._extendList$3(list, extensions, null);
  52740. },
  52741. _extendComplex$3(complex, extensions, mediaQueryContext) {
  52742. var isOriginal, t3, t4, t5, t6, t7, t8, t9, t10, extendedNotExpanded, i, component, extended, t11, t12, t13, t14, _box_0 = {},
  52743. t1 = complex.leadingCombinators,
  52744. t2 = t1.length;
  52745. if (t2 > 1)
  52746. return null;
  52747. isOriginal = this._originals.contains$1(0, complex);
  52748. for (t3 = complex.components, t4 = t3.length, t5 = type$.JSArray_List_ComplexSelector, t6 = complex.lineBreak, t7 = !t6, t8 = complex.span, t9 = type$.JSArray_ComplexSelector, t2 = t2 === 0, t10 = type$.JSArray_ComplexSelectorComponent, extendedNotExpanded = null, i = 0; i < t4; ++i) {
  52749. component = t3[i];
  52750. extended = this._extendCompound$4$inOriginal(component, extensions, mediaQueryContext, isOriginal);
  52751. if (extended == null) {
  52752. if (extendedNotExpanded != null)
  52753. extendedNotExpanded.push(A._setArrayType([A.ComplexSelector$(B.List_empty0, A._setArrayType([component], t10), t8, t6)], t9));
  52754. } else if (extendedNotExpanded != null)
  52755. extendedNotExpanded.push(extended);
  52756. else if (i !== 0) {
  52757. t11 = A._arrayInstanceType(t3);
  52758. t12 = new A.SubListIterable(t3, 0, i, t11._eval$1("SubListIterable<1>"));
  52759. t12.SubListIterable$3(t3, 0, i, t11._precomputed1);
  52760. extendedNotExpanded = A._setArrayType([A._setArrayType([A.ComplexSelector$(t1, t12, t8, t6)], t9), extended], t5);
  52761. } else if (t2)
  52762. extendedNotExpanded = A._setArrayType([extended], t5);
  52763. else {
  52764. t11 = A._setArrayType([], t9);
  52765. for (t12 = J.get$iterator$ax(extended); t12.moveNext$0();) {
  52766. t13 = t12.get$current(t12);
  52767. t14 = t13.leadingCombinators;
  52768. if (t14.length === 0 || B.C_ListEquality.equals$2(0, t1, t14)) {
  52769. t14 = t13.components;
  52770. t11.push(A.ComplexSelector$(t1, t14, t8, !t7 || t13.lineBreak));
  52771. }
  52772. }
  52773. extendedNotExpanded = A._setArrayType([t11], t5);
  52774. }
  52775. }
  52776. if (extendedNotExpanded == null)
  52777. return null;
  52778. _box_0.first = true;
  52779. t1 = type$.ComplexSelector;
  52780. t1 = J.expand$1$1$ax(A.paths(extendedNotExpanded, t1), new A.ExtensionStore__extendComplex_closure(_box_0, this, complex), t1);
  52781. t1 = A.List_List$_of(t1, t1.$ti._eval$1("Iterable.E"));
  52782. return t1;
  52783. },
  52784. _extendCompound$4$inOriginal(component, extensions, mediaQueryContext, inOriginal) {
  52785. var t3, t4, t5, t6, t7, t8, t9, t10, t11, options, i, simple, extended, t12, result, compound, complex, extenderPaths, withCombinators, isOriginal, _this = this, _null = null,
  52786. t1 = _this._mode,
  52787. targetsUsed = t1 === B.ExtendMode_normal_normal || extensions.__js_helper$_length < 2 ? _null : A.LinkedHashSet_LinkedHashSet$_empty(type$.SimpleSelector),
  52788. t2 = component.selector,
  52789. simples = t2.components;
  52790. for (t3 = simples.length, t4 = type$.JSArray_List_Extender, t5 = type$.JSArray_Extender, t6 = type$.CssValue_Combinator, t7 = type$.JSArray_ComplexSelectorComponent, t8 = A._arrayInstanceType(simples), t9 = t8._precomputed1, t8 = t8._eval$1("SubListIterable<1>"), t10 = component.span, t11 = type$.SimpleSelector, options = _null, i = 0; i < t3; ++i) {
  52791. simple = simples[i];
  52792. extended = _this._extendSimple$4(simple, extensions, mediaQueryContext, targetsUsed);
  52793. if (extended == null) {
  52794. if (options != null)
  52795. options.push(A._setArrayType([_this._extenderForSimple$1(simple)], t5));
  52796. } else {
  52797. if (options == null) {
  52798. options = A._setArrayType([], t4);
  52799. if (i !== 0) {
  52800. t12 = new A.SubListIterable(simples, 0, i, t8);
  52801. t12.SubListIterable$3(simples, 0, i, t9);
  52802. result = A.List_List$from(t12, false, t11);
  52803. result.$flags = 3;
  52804. t12 = result;
  52805. compound = new A.CompoundSelector(t12, t10);
  52806. if (t12.length === 0)
  52807. A.throwExpression(A.ArgumentError$("components may not be empty.", _null));
  52808. result = A.List_List$from(B.List_empty0, false, t6);
  52809. result.$flags = 3;
  52810. t12 = A.ComplexSelector$(B.List_empty0, A._setArrayType([new A.ComplexSelectorComponent(compound, result, t10)], t7), t10, false);
  52811. _this._sourceSpecificityFor$1(compound);
  52812. options.push(A._setArrayType([new A.Extender(t12, true)], t5));
  52813. }
  52814. }
  52815. B.JSArray_methods.addAll$1(options, extended);
  52816. }
  52817. }
  52818. if (options == null)
  52819. return _null;
  52820. if (targetsUsed != null && targetsUsed._collection$_length !== extensions.__js_helper$_length)
  52821. return _null;
  52822. if (options.length === 1) {
  52823. for (t1 = J.get$iterator$ax(options[0]), t2 = component.combinators, t3 = type$.JSArray_ComplexSelector, result = _null; t1.moveNext$0();) {
  52824. t4 = t1.get$current(t1);
  52825. t4.assertCompatibleMediaContext$1(mediaQueryContext);
  52826. complex = t4.selector.withAdditionalCombinators$1(t2);
  52827. if (complex.accept$1(B.C__IsUselessVisitor))
  52828. continue;
  52829. if (result == null)
  52830. result = A._setArrayType([], t3);
  52831. result.push(complex);
  52832. }
  52833. return result;
  52834. }
  52835. extenderPaths = A.paths(options, type$.Extender);
  52836. t3 = A._setArrayType([], type$.JSArray_ComplexSelector);
  52837. t1 = t1 === B.ExtendMode_replace_replace;
  52838. t4 = !t1;
  52839. if (t4)
  52840. t3.push(A.ComplexSelector$(B.List_empty0, A._setArrayType([new A.ComplexSelectorComponent(A.CompoundSelector$(J.expand$1$1$ax(J.get$first$ax(extenderPaths), new A.ExtensionStore__extendCompound_closure(), t11), t2.span), A.List_List$unmodifiable(component.combinators, t6), t10)], t7), t10, false));
  52841. t2 = J.skip$1$ax(extenderPaths, t1 ? 0 : 1);
  52842. t5 = t2.$ti;
  52843. t2 = new A.ListIterator(t2, t2.get$length(0), t5._eval$1("ListIterator<ListIterable.E>"));
  52844. t6 = component.combinators;
  52845. t5 = t5._eval$1("ListIterable.E");
  52846. for (; t2.moveNext$0();) {
  52847. t1 = t2.__internal$_current;
  52848. extended = _this._unifyExtenders$3(t1 == null ? t5._as(t1) : t1, mediaQueryContext, t10);
  52849. if (extended == null)
  52850. continue;
  52851. for (t1 = J.get$iterator$ax(extended); t1.moveNext$0();) {
  52852. withCombinators = t1.get$current(t1).withAdditionalCombinators$1(t6);
  52853. if (!withCombinators.accept$1(B.C__IsUselessVisitor))
  52854. t3.push(withCombinators);
  52855. }
  52856. }
  52857. isOriginal = new A.ExtensionStore__extendCompound_closure0();
  52858. return _this._trim$2(t3, inOriginal && t4 ? new A.ExtensionStore__extendCompound_closure1(B.JSArray_methods.get$first(t3)) : isOriginal);
  52859. },
  52860. _unifyExtenders$3(extenders, mediaQueryContext, span) {
  52861. var t1, t2, t3, originals, originalsLineBreak, t4, complexes, _null = null,
  52862. toUnify = A.QueueList$(_null, type$.ComplexSelector);
  52863. for (t1 = J.getInterceptor$ax(extenders), t2 = t1.get$iterator(extenders), t3 = type$.JSArray_SimpleSelector, originals = _null, originalsLineBreak = false; t2.moveNext$0();) {
  52864. t4 = t2.get$current(t2);
  52865. if (t4.isOriginal) {
  52866. if (originals == null)
  52867. originals = A._setArrayType([], t3);
  52868. t4 = t4.selector;
  52869. B.JSArray_methods.addAll$1(originals, B.JSArray_methods.get$last(t4.components).selector.components);
  52870. originalsLineBreak = originalsLineBreak || t4.lineBreak;
  52871. } else {
  52872. t4 = t4.selector;
  52873. if (t4.accept$1(B.C__IsUselessVisitor))
  52874. return _null;
  52875. else
  52876. toUnify._queue_list$_add$1(t4);
  52877. }
  52878. }
  52879. if (originals != null)
  52880. toUnify.addFirst$1(A.ComplexSelector$(B.List_empty0, A._setArrayType([new A.ComplexSelectorComponent(A.CompoundSelector$(originals, span), A.List_List$unmodifiable(B.List_empty0, type$.CssValue_Combinator), span)], type$.JSArray_ComplexSelectorComponent), span, originalsLineBreak));
  52881. complexes = A.unifyComplex(toUnify, span);
  52882. if (complexes == null)
  52883. return _null;
  52884. for (t1 = t1.get$iterator(extenders); t1.moveNext$0();)
  52885. t1.get$current(t1).assertCompatibleMediaContext$1(mediaQueryContext);
  52886. return complexes;
  52887. },
  52888. _extendSimple$4(simple, extensions, mediaQueryContext, targetsUsed) {
  52889. var t2, _1_0,
  52890. t1 = new A.ExtensionStore__extendSimple_withoutPseudo(this, extensions, targetsUsed);
  52891. if (simple instanceof A.PseudoSelector)
  52892. t2 = simple.selector != null;
  52893. else
  52894. t2 = false;
  52895. if (t2) {
  52896. _1_0 = this._extendPseudo$3(simple, extensions, mediaQueryContext);
  52897. if (_1_0 != null)
  52898. return new A.MappedListIterable(_1_0, new A.ExtensionStore__extendSimple_closure(this, t1), A._arrayInstanceType(_1_0)._eval$1("MappedListIterable<1,List<Extender>>"));
  52899. }
  52900. return A.NullableExtension_andThen(t1.call$1(simple), new A.ExtensionStore__extendSimple_closure0());
  52901. },
  52902. _extenderForSimple$1(simple) {
  52903. var t1 = simple.span;
  52904. t1 = A.ComplexSelector$(B.List_empty0, A._setArrayType([new A.ComplexSelectorComponent(A.CompoundSelector$(A._setArrayType([simple], type$.JSArray_SimpleSelector), t1), A.List_List$unmodifiable(B.List_empty0, type$.CssValue_Combinator), t1)], type$.JSArray_ComplexSelectorComponent), t1, false);
  52905. this._sourceSpecificity.$index(0, simple);
  52906. return new A.Extender(t1, true);
  52907. },
  52908. _extendPseudo$3(pseudo, extensions, mediaQueryContext) {
  52909. var extended, complexes, t1, result,
  52910. selector = pseudo.selector;
  52911. if (selector == null)
  52912. throw A.wrapException(A.ArgumentError$("Selector " + pseudo.toString$0(0) + " must have a selector argument.", null));
  52913. extended = this._extendList$3(selector, extensions, mediaQueryContext);
  52914. if (extended === selector)
  52915. return null;
  52916. complexes = extended.components;
  52917. t1 = pseudo.normalizedName === "not";
  52918. 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()))
  52919. complexes = new A.WhereIterable(complexes, new A.ExtensionStore__extendPseudo_closure1(), A._arrayInstanceType(complexes)._eval$1("WhereIterable<1>"));
  52920. complexes = J.expand$1$1$ax(complexes, new A.ExtensionStore__extendPseudo_closure2(pseudo), type$.ComplexSelector);
  52921. if (t1 && selector.components.length === 1) {
  52922. t1 = A.MappedIterable_MappedIterable(complexes, new A.ExtensionStore__extendPseudo_closure3(pseudo, selector), complexes.$ti._eval$1("Iterable.E"), type$.PseudoSelector);
  52923. result = A.List_List$_of(t1, A._instanceType(t1)._eval$1("Iterable.E"));
  52924. return result.length === 0 ? null : result;
  52925. } else
  52926. return A._setArrayType([pseudo.withSelector$1(A.SelectorList$(complexes, selector.span))], type$.JSArray_PseudoSelector);
  52927. },
  52928. _trim$2(selectors, isOriginal) {
  52929. var result, i, t1, t2, numOriginals, _box_0, complex1, j, t3, t4, _i, t5, maxSpecificity;
  52930. if (selectors.length > 100)
  52931. return selectors;
  52932. result = A.QueueList$(null, type$.ComplexSelector);
  52933. $label0$0:
  52934. for (i = selectors.length - 1, t1 = A._arrayInstanceType(selectors), t2 = t1._precomputed1, t1 = t1._eval$1("SubListIterable<1>"), numOriginals = 0; i >= 0; --i) {
  52935. _box_0 = {};
  52936. complex1 = selectors[i];
  52937. if (isOriginal.call$1(complex1)) {
  52938. for (j = 0; j < numOriginals; ++j)
  52939. if (result.$index(0, j).$eq(0, complex1)) {
  52940. A.rotateSlice(result, 0, j + 1);
  52941. continue $label0$0;
  52942. }
  52943. ++numOriginals;
  52944. result.addFirst$1(complex1);
  52945. continue $label0$0;
  52946. }
  52947. _box_0.maxSpecificity = 0;
  52948. for (t3 = complex1.components, t4 = t3.length, _i = 0, t5 = 0; _i < t4; ++_i, t5 = maxSpecificity) {
  52949. maxSpecificity = Math.max(t5, this._sourceSpecificityFor$1(t3[_i].selector));
  52950. _box_0.maxSpecificity = maxSpecificity;
  52951. }
  52952. if (result.any$1(result, new A.ExtensionStore__trim_closure(_box_0, complex1)))
  52953. continue $label0$0;
  52954. t3 = new A.SubListIterable(selectors, 0, i, t1);
  52955. t3.SubListIterable$3(selectors, 0, i, t2);
  52956. if (t3.any$1(0, new A.ExtensionStore__trim_closure0(_box_0, complex1)))
  52957. continue $label0$0;
  52958. result.addFirst$1(complex1);
  52959. }
  52960. return result;
  52961. },
  52962. _sourceSpecificityFor$1(compound) {
  52963. var t1, t2, t3, specificity, _i, t4;
  52964. for (t1 = compound.components, t2 = t1.length, t3 = this._sourceSpecificity, specificity = 0, _i = 0; _i < t2; ++_i) {
  52965. t4 = t3.$index(0, t1[_i]);
  52966. if (t4 == null)
  52967. t4 = 0;
  52968. specificity = Math.max(specificity, t4);
  52969. }
  52970. return specificity;
  52971. },
  52972. clone$0() {
  52973. var t2, t3, t4, _this = this,
  52974. t1 = type$.SimpleSelector,
  52975. newSelectors = A.LinkedHashMap_LinkedHashMap$_empty(t1, type$.Set_ModifiableBox_SelectorList),
  52976. newMediaContexts = A.LinkedHashMap_LinkedHashMap$_empty(type$.ModifiableBox_SelectorList, type$.List_CssMediaQuery),
  52977. oldToNewSelectors = new A.JsIdentityLinkedHashMap(type$.JsIdentityLinkedHashMap_of_SelectorList_and_Box_SelectorList);
  52978. _this._selectors.forEach$1(0, new A.ExtensionStore_clone_closure(_this, newSelectors, oldToNewSelectors, newMediaContexts));
  52979. t2 = type$.Extension;
  52980. t3 = A.copyMapOfMap(_this._extensions, t1, type$.ComplexSelector, t2);
  52981. t2 = A.copyMapOfList(_this._extensionsByExtender, t1, t2);
  52982. t1 = new A.JsIdentityLinkedHashMap(type$.JsIdentityLinkedHashMap_SimpleSelector_int);
  52983. t1.addAll$1(0, _this._sourceSpecificity);
  52984. t4 = new A._LinkedIdentityHashSet(type$._LinkedIdentityHashSet_ComplexSelector);
  52985. t4.addAll$1(0, _this._originals);
  52986. return new A._Record_2(new A.ExtensionStore(newSelectors, t3, t2, newMediaContexts, t1, t4, B.ExtendMode_normal_normal), oldToNewSelectors);
  52987. },
  52988. get$_extensions() {
  52989. return this._extensions;
  52990. },
  52991. get$_sourceSpecificity() {
  52992. return this._sourceSpecificity;
  52993. }
  52994. };
  52995. A.ExtensionStore_extensionsWhereTarget_closure.prototype = {
  52996. call$1(extension) {
  52997. return !extension.isOptional;
  52998. },
  52999. $signature: 330
  53000. };
  53001. A.ExtensionStore__registerSelector_closure.prototype = {
  53002. call$0() {
  53003. return A.LinkedHashSet_LinkedHashSet$_empty(type$.ModifiableBox_SelectorList);
  53004. },
  53005. $signature: 334
  53006. };
  53007. A.ExtensionStore_addExtension_closure.prototype = {
  53008. call$0() {
  53009. return A.LinkedHashMap_LinkedHashMap$_empty(type$.ComplexSelector, type$.Extension);
  53010. },
  53011. $signature: 128
  53012. };
  53013. A.ExtensionStore_addExtension_closure0.prototype = {
  53014. call$0() {
  53015. return A._setArrayType([], type$.JSArray_Extension);
  53016. },
  53017. $signature: 212
  53018. };
  53019. A.ExtensionStore_addExtension_closure1.prototype = {
  53020. call$0() {
  53021. return this.complex.get$specificity();
  53022. },
  53023. $signature: 10
  53024. };
  53025. A.ExtensionStore__extendExistingExtensions_closure.prototype = {
  53026. call$0() {
  53027. return A._setArrayType([], type$.JSArray_Extension);
  53028. },
  53029. $signature: 212
  53030. };
  53031. A.ExtensionStore__extendExistingExtensions_closure0.prototype = {
  53032. call$0() {
  53033. return A.LinkedHashMap_LinkedHashMap$_empty(type$.ComplexSelector, type$.Extension);
  53034. },
  53035. $signature: 128
  53036. };
  53037. A.ExtensionStore_addExtensions_closure.prototype = {
  53038. call$0() {
  53039. return A.LinkedHashMap_LinkedHashMap$_empty(type$.ComplexSelector, type$.Extension);
  53040. },
  53041. $signature: 128
  53042. };
  53043. A.ExtensionStore__extendComplex_closure.prototype = {
  53044. call$1(path) {
  53045. var t1 = this.complex;
  53046. return J.map$1$1$ax(A.weave(path, t1.span, t1.lineBreak), new A.ExtensionStore__extendComplex__closure(this._box_0, this.$this, t1), type$.ComplexSelector);
  53047. },
  53048. $signature: 341
  53049. };
  53050. A.ExtensionStore__extendComplex__closure.prototype = {
  53051. call$1(outputComplex) {
  53052. var _this = this,
  53053. t1 = _this._box_0;
  53054. if (t1.first && _this.$this._originals.contains$1(0, _this.complex))
  53055. _this.$this._originals.add$1(0, outputComplex);
  53056. t1.first = false;
  53057. return outputComplex;
  53058. },
  53059. $signature: 59
  53060. };
  53061. A.ExtensionStore__extendCompound_closure.prototype = {
  53062. call$1(extender) {
  53063. return B.JSArray_methods.get$last(extender.selector.components).selector.components;
  53064. },
  53065. $signature: 347
  53066. };
  53067. A.ExtensionStore__extendCompound_closure0.prototype = {
  53068. call$1(_) {
  53069. return false;
  53070. },
  53071. $signature: 20
  53072. };
  53073. A.ExtensionStore__extendCompound_closure1.prototype = {
  53074. call$1(complex) {
  53075. return complex.$eq(0, this.original);
  53076. },
  53077. $signature: 20
  53078. };
  53079. A.ExtensionStore__extendSimple_withoutPseudo.prototype = {
  53080. call$1(simple) {
  53081. var t1, t2,
  53082. extensionsForSimple = this.extensions.$index(0, simple);
  53083. if (extensionsForSimple == null)
  53084. return null;
  53085. t1 = this.targetsUsed;
  53086. if (t1 != null)
  53087. t1.add$1(0, simple);
  53088. t1 = A._setArrayType([], type$.JSArray_Extender);
  53089. t2 = this.$this;
  53090. if (t2._mode !== B.ExtendMode_replace_replace)
  53091. t1.push(t2._extenderForSimple$1(simple));
  53092. for (t2 = extensionsForSimple.get$values(extensionsForSimple), t2 = t2.get$iterator(t2); t2.moveNext$0();)
  53093. t1.push(t2.get$current(t2).extender);
  53094. return t1;
  53095. },
  53096. $signature: 348
  53097. };
  53098. A.ExtensionStore__extendSimple_closure.prototype = {
  53099. call$1(pseudo) {
  53100. var t1 = this.withoutPseudo.call$1(pseudo);
  53101. return t1 == null ? A._setArrayType([this.$this._extenderForSimple$1(pseudo)], type$.JSArray_Extender) : t1;
  53102. },
  53103. $signature: 349
  53104. };
  53105. A.ExtensionStore__extendSimple_closure0.prototype = {
  53106. call$1(result) {
  53107. return A._setArrayType([result], type$.JSArray_List_Extender);
  53108. },
  53109. $signature: 350
  53110. };
  53111. A.ExtensionStore__extendPseudo_closure.prototype = {
  53112. call$1(complex) {
  53113. return complex.components.length > 1;
  53114. },
  53115. $signature: 20
  53116. };
  53117. A.ExtensionStore__extendPseudo_closure0.prototype = {
  53118. call$1(complex) {
  53119. return complex.components.length === 1;
  53120. },
  53121. $signature: 20
  53122. };
  53123. A.ExtensionStore__extendPseudo_closure1.prototype = {
  53124. call$1(complex) {
  53125. return complex.components.length <= 1;
  53126. },
  53127. $signature: 20
  53128. };
  53129. A.ExtensionStore__extendPseudo_closure2.prototype = {
  53130. call$1(complex) {
  53131. var innerPseudo, innerSelector,
  53132. t1 = complex.get$singleCompound();
  53133. if (t1 == null)
  53134. innerPseudo = null;
  53135. else {
  53136. t1 = t1.components;
  53137. innerPseudo = t1.length === 1 ? B.JSArray_methods.get$first(t1) : null;
  53138. }
  53139. if (!(innerPseudo instanceof A.PseudoSelector))
  53140. return A._setArrayType([complex], type$.JSArray_ComplexSelector);
  53141. innerSelector = innerPseudo.selector;
  53142. if (innerSelector == null)
  53143. return A._setArrayType([complex], type$.JSArray_ComplexSelector);
  53144. t1 = this.pseudo;
  53145. switch (t1.normalizedName) {
  53146. case "not":
  53147. if (!B.Set_0egh6.contains$1(0, innerPseudo.normalizedName))
  53148. return A._setArrayType([], type$.JSArray_ComplexSelector);
  53149. return innerSelector.components;
  53150. case "is":
  53151. case "matches":
  53152. case "where":
  53153. case "any":
  53154. case "current":
  53155. case "nth-child":
  53156. case "nth-last-child":
  53157. if (innerPseudo.name !== t1.name)
  53158. return A._setArrayType([], type$.JSArray_ComplexSelector);
  53159. if (innerPseudo.argument != t1.argument)
  53160. return A._setArrayType([], type$.JSArray_ComplexSelector);
  53161. return innerSelector.components;
  53162. case "has":
  53163. case "host":
  53164. case "host-context":
  53165. case "slotted":
  53166. return A._setArrayType([complex], type$.JSArray_ComplexSelector);
  53167. default:
  53168. return A._setArrayType([], type$.JSArray_ComplexSelector);
  53169. }
  53170. },
  53171. $signature: 351
  53172. };
  53173. A.ExtensionStore__extendPseudo_closure3.prototype = {
  53174. call$1(complex) {
  53175. return this.pseudo.withSelector$1(A.SelectorList$(A._setArrayType([complex], type$.JSArray_ComplexSelector), this.selector.span));
  53176. },
  53177. $signature: 353
  53178. };
  53179. A.ExtensionStore__trim_closure.prototype = {
  53180. call$1(complex2) {
  53181. return complex2.get$specificity() >= this._box_0.maxSpecificity && complex2.isSuperselector$1(this.complex1);
  53182. },
  53183. $signature: 20
  53184. };
  53185. A.ExtensionStore__trim_closure0.prototype = {
  53186. call$1(complex2) {
  53187. return complex2.get$specificity() >= this._box_0.maxSpecificity && complex2.isSuperselector$1(this.complex1);
  53188. },
  53189. $signature: 20
  53190. };
  53191. A.ExtensionStore_clone_closure.prototype = {
  53192. call$2(simple, selectors) {
  53193. var t2, t3, t4, t5, t6, t7, newSelector, _0_0, _this = this,
  53194. t1 = type$.ModifiableBox_SelectorList,
  53195. newSelectorSet = A.LinkedHashSet_LinkedHashSet$_empty(t1);
  53196. _this.newSelectors.$indexSet(0, simple, newSelectorSet);
  53197. for (t2 = selectors.get$iterator(selectors), t3 = _this.oldToNewSelectors, t4 = type$.Box_SelectorList, t5 = _this.$this._mediaContexts, t6 = _this.newMediaContexts; t2.moveNext$0();) {
  53198. t7 = t2.get$current(t2);
  53199. newSelector = new A.ModifiableBox(t7.value, t1);
  53200. newSelectorSet.add$1(0, newSelector);
  53201. t3.$indexSet(0, t7.value, new A.Box(newSelector, t4));
  53202. _0_0 = t5.$index(0, t7);
  53203. if (_0_0 != null)
  53204. t6.$indexSet(0, newSelector, _0_0);
  53205. }
  53206. },
  53207. $signature: 354
  53208. };
  53209. A.unifyComplex_closure.prototype = {
  53210. call$1(complex) {
  53211. return complex.lineBreak;
  53212. },
  53213. $signature: 20
  53214. };
  53215. A._weaveParents_closure.prototype = {
  53216. call$2(group1, group2) {
  53217. var t1, unified;
  53218. if (B.C_ListEquality.equals$2(0, group1, group2))
  53219. return group1;
  53220. if (A._complexIsParentSuperselector(group1, group2))
  53221. return group2;
  53222. if (A._complexIsParentSuperselector(group2, group1))
  53223. return group1;
  53224. if (!A._mustUnify(group1, group2))
  53225. return null;
  53226. t1 = this.span;
  53227. unified = A.unifyComplex(A._setArrayType([A.ComplexSelector$(B.List_empty0, group1, t1, false), A.ComplexSelector$(B.List_empty0, group2, t1, false)], type$.JSArray_ComplexSelector), t1);
  53228. if (unified == null)
  53229. t1 = null;
  53230. else {
  53231. t1 = A.IterableExtension_get_singleOrNull(unified);
  53232. t1 = t1 == null ? null : t1.components;
  53233. }
  53234. return t1;
  53235. },
  53236. $signature: 356
  53237. };
  53238. A._weaveParents_closure0.prototype = {
  53239. call$1(sequence) {
  53240. return A._complexIsParentSuperselector(sequence.get$first(sequence), this.group);
  53241. },
  53242. $signature: 211
  53243. };
  53244. A._weaveParents_closure1.prototype = {
  53245. call$1(sequence) {
  53246. return sequence.get$length(0) === 0;
  53247. },
  53248. $signature: 211
  53249. };
  53250. A._weaveParents_closure2.prototype = {
  53251. call$1(choice) {
  53252. return J.get$isNotEmpty$asx(choice);
  53253. },
  53254. $signature: 358
  53255. };
  53256. A._mustUnify_closure.prototype = {
  53257. call$1(component) {
  53258. return B.JSArray_methods.any$1(component.selector.components, new A._mustUnify__closure(this.uniqueSelectors));
  53259. },
  53260. $signature: 53
  53261. };
  53262. A._mustUnify__closure.prototype = {
  53263. call$1(simple) {
  53264. var t1;
  53265. if (!(simple instanceof A.IDSelector))
  53266. t1 = simple instanceof A.PseudoSelector && !simple.isClass;
  53267. else
  53268. t1 = true;
  53269. return t1 && this.uniqueSelectors.contains$1(0, simple);
  53270. },
  53271. $signature: 13
  53272. };
  53273. A.paths_closure.prototype = {
  53274. call$2(paths, choice) {
  53275. var t1 = this.T;
  53276. t1 = J.expand$1$1$ax(choice, new A.paths__closure(paths, t1), t1._eval$1("List<0>"));
  53277. t1 = A.List_List$_of(t1, t1.$ti._eval$1("Iterable.E"));
  53278. return t1;
  53279. },
  53280. $signature() {
  53281. return this.T._eval$1("List<List<0>>(List<List<0>>,List<0>)");
  53282. }
  53283. };
  53284. A.paths__closure.prototype = {
  53285. call$1(option) {
  53286. var t1 = this.T;
  53287. return J.map$1$1$ax(this.paths, new A.paths___closure(option, t1), t1._eval$1("List<0>"));
  53288. },
  53289. $signature() {
  53290. return this.T._eval$1("Iterable<List<0>>(0)");
  53291. }
  53292. };
  53293. A.paths___closure.prototype = {
  53294. call$1(path) {
  53295. var t1 = A.List_List$_of(path, this.T);
  53296. t1.push(this.option);
  53297. return t1;
  53298. },
  53299. $signature() {
  53300. return this.T._eval$1("List<0>(List<0>)");
  53301. }
  53302. };
  53303. A.listIsSuperselector_closure.prototype = {
  53304. call$1(complex1) {
  53305. return B.JSArray_methods.any$1(this.list1, new A.listIsSuperselector__closure(complex1));
  53306. },
  53307. $signature: 20
  53308. };
  53309. A.listIsSuperselector__closure.prototype = {
  53310. call$1(complex2) {
  53311. return complex2.isSuperselector$1(this.complex1);
  53312. },
  53313. $signature: 20
  53314. };
  53315. A.complexIsSuperselector_closure.prototype = {
  53316. call$1($parent) {
  53317. return $parent.combinators.length > 1;
  53318. },
  53319. $signature: 53
  53320. };
  53321. A.complexIsSuperselector_closure0.prototype = {
  53322. call$1(component) {
  53323. return A._isSupercombinator(this.combinator1, A.IterableExtension_get_firstOrNull(component.combinators));
  53324. },
  53325. $signature: 53
  53326. };
  53327. A._compatibleWithPreviousCombinator_closure.prototype = {
  53328. call$1(component) {
  53329. var t1 = component.combinators,
  53330. t2 = A.IterableExtension_get_firstOrNull(t1);
  53331. if (!J.$eq$(t2 == null ? null : t2.value, B.Combinator_55N)) {
  53332. t1 = A.IterableExtension_get_firstOrNull(t1);
  53333. t1 = J.$eq$(t1 == null ? null : t1.value, B.Combinator_bOP);
  53334. } else
  53335. t1 = true;
  53336. return t1;
  53337. },
  53338. $signature: 53
  53339. };
  53340. A.compoundIsSuperselector_closure.prototype = {
  53341. call$1(simple1) {
  53342. return B.JSArray_methods.any$1(this.compound2.components, simple1.get$isSuperselector());
  53343. },
  53344. $signature: 13
  53345. };
  53346. A._selectorPseudoIsSuperselector_closure.prototype = {
  53347. call$1(selector2) {
  53348. return A.listIsSuperselector(this.selector1.components, selector2.components);
  53349. },
  53350. $signature: 73
  53351. };
  53352. A._selectorPseudoIsSuperselector_closure0.prototype = {
  53353. call$1(complex1) {
  53354. var t1, t2;
  53355. if (complex1.leadingCombinators.length === 0) {
  53356. t1 = A._setArrayType([], type$.JSArray_ComplexSelectorComponent);
  53357. t2 = this.parents;
  53358. if (t2 != null)
  53359. B.JSArray_methods.addAll$1(t1, t2);
  53360. t2 = this.compound2;
  53361. t1.push(new A.ComplexSelectorComponent(t2, A.List_List$unmodifiable(B.List_empty0, type$.CssValue_Combinator), t2.span));
  53362. t1 = A.complexIsSuperselector(complex1.components, t1);
  53363. } else
  53364. t1 = false;
  53365. return t1;
  53366. },
  53367. $signature: 20
  53368. };
  53369. A._selectorPseudoIsSuperselector_closure1.prototype = {
  53370. call$1(selector2) {
  53371. return A.listIsSuperselector(this.selector1.components, selector2.components);
  53372. },
  53373. $signature: 73
  53374. };
  53375. A._selectorPseudoIsSuperselector_closure2.prototype = {
  53376. call$1(selector2) {
  53377. return A.listIsSuperselector(this.selector1.components, selector2.components);
  53378. },
  53379. $signature: 73
  53380. };
  53381. A._selectorPseudoIsSuperselector_closure3.prototype = {
  53382. call$1(complex) {
  53383. if (complex.accept$1(B._IsBogusVisitor_true))
  53384. return false;
  53385. return B.JSArray_methods.any$1(this.compound2.components, new A._selectorPseudoIsSuperselector__closure(complex, this.pseudo1));
  53386. },
  53387. $signature: 20
  53388. };
  53389. A._selectorPseudoIsSuperselector__closure.prototype = {
  53390. call$1(simple2) {
  53391. var t1, selector2, _0_4, _this = this;
  53392. $label0$1: {
  53393. if (simple2 instanceof A.TypeSelector) {
  53394. t1 = B.JSArray_methods.any$1(B.JSArray_methods.get$last(_this.complex.components).selector.components, new A._selectorPseudoIsSuperselector___closure(simple2));
  53395. break $label0$1;
  53396. }
  53397. if (simple2 instanceof A.IDSelector) {
  53398. t1 = B.JSArray_methods.any$1(B.JSArray_methods.get$last(_this.complex.components).selector.components, new A._selectorPseudoIsSuperselector___closure0(simple2));
  53399. break $label0$1;
  53400. }
  53401. selector2 = null;
  53402. t1 = false;
  53403. if (simple2 instanceof A.PseudoSelector) {
  53404. _0_4 = simple2.selector;
  53405. if (_0_4 != null) {
  53406. selector2 = _0_4 == null ? type$.SelectorList._as(_0_4) : _0_4;
  53407. t1 = simple2.name === _this.pseudo1.name;
  53408. }
  53409. }
  53410. if (t1) {
  53411. t1 = A.listIsSuperselector(selector2.components, A._setArrayType([_this.complex], type$.JSArray_ComplexSelector));
  53412. break $label0$1;
  53413. }
  53414. t1 = false;
  53415. break $label0$1;
  53416. }
  53417. return t1;
  53418. },
  53419. $signature: 13
  53420. };
  53421. A._selectorPseudoIsSuperselector___closure.prototype = {
  53422. call$1(simple1) {
  53423. var t1;
  53424. if (simple1 instanceof A.TypeSelector) {
  53425. t1 = this.simple2.name.$eq(0, simple1.name);
  53426. t1 = !t1;
  53427. } else
  53428. t1 = false;
  53429. return t1;
  53430. },
  53431. $signature: 13
  53432. };
  53433. A._selectorPseudoIsSuperselector___closure0.prototype = {
  53434. call$1(simple1) {
  53435. var t1;
  53436. if (simple1 instanceof A.IDSelector)
  53437. t1 = this.simple2.name !== simple1.name;
  53438. else
  53439. t1 = false;
  53440. return t1;
  53441. },
  53442. $signature: 13
  53443. };
  53444. A._selectorPseudoIsSuperselector_closure4.prototype = {
  53445. call$1(selector2) {
  53446. var t1 = B.C_ListEquality.equals$2(0, this.selector1.components, selector2.components);
  53447. return t1;
  53448. },
  53449. $signature: 73
  53450. };
  53451. A._selectorPseudoIsSuperselector_closure5.prototype = {
  53452. call$1(pseudo2) {
  53453. var t1, selector2;
  53454. if (!(pseudo2 instanceof A.PseudoSelector))
  53455. return false;
  53456. t1 = this.pseudo1;
  53457. if (pseudo2.name !== t1.name)
  53458. return false;
  53459. if (pseudo2.argument != t1.argument)
  53460. return false;
  53461. selector2 = pseudo2.selector;
  53462. if (selector2 == null)
  53463. return false;
  53464. return A.listIsSuperselector(this.selector1.components, selector2.components);
  53465. },
  53466. $signature: 13
  53467. };
  53468. A._selectorPseudoArgs_closure.prototype = {
  53469. call$1(pseudo) {
  53470. return pseudo.isClass === this.isClass && pseudo.name === this.name;
  53471. },
  53472. $signature: 369
  53473. };
  53474. A._selectorPseudoArgs_closure0.prototype = {
  53475. call$1(pseudo) {
  53476. return pseudo.selector;
  53477. },
  53478. $signature: 370
  53479. };
  53480. A.MergedExtension.prototype = {
  53481. unmerge$0() {
  53482. return new A._SyncStarIterable(this.unmerge$body$MergedExtension(), type$._SyncStarIterable_Extension);
  53483. },
  53484. unmerge$body$MergedExtension() {
  53485. var $async$self = this;
  53486. return function() {
  53487. var $async$goto = 0, $async$handler = 1, $async$errorStack = [], right, left;
  53488. return function $async$unmerge$0($async$iterator, $async$errorCode, $async$result) {
  53489. if ($async$errorCode === 1) {
  53490. $async$errorStack.push($async$result);
  53491. $async$goto = $async$handler;
  53492. }
  53493. while (true)
  53494. switch ($async$goto) {
  53495. case 0:
  53496. // Function start
  53497. left = $async$self.left;
  53498. $async$goto = left instanceof A.MergedExtension ? 2 : 4;
  53499. break;
  53500. case 2:
  53501. // then
  53502. $async$goto = 5;
  53503. return $async$iterator._yieldStar$1(left.unmerge$0());
  53504. case 5:
  53505. // after yield
  53506. // goto join
  53507. $async$goto = 3;
  53508. break;
  53509. case 4:
  53510. // else
  53511. $async$goto = 6;
  53512. return $async$iterator._async$_current = left, 1;
  53513. case 6:
  53514. // after yield
  53515. case 3:
  53516. // join
  53517. right = $async$self.right;
  53518. $async$goto = right instanceof A.MergedExtension ? 7 : 9;
  53519. break;
  53520. case 7:
  53521. // then
  53522. $async$goto = 10;
  53523. return $async$iterator._yieldStar$1(right.unmerge$0());
  53524. case 10:
  53525. // after yield
  53526. // goto join
  53527. $async$goto = 8;
  53528. break;
  53529. case 9:
  53530. // else
  53531. $async$goto = 11;
  53532. return $async$iterator._async$_current = right, 1;
  53533. case 11:
  53534. // after yield
  53535. case 8:
  53536. // join
  53537. // implicit return
  53538. return 0;
  53539. case 1:
  53540. // rethrow
  53541. return $async$iterator._datum = $async$errorStack.at(-1), 3;
  53542. }
  53543. };
  53544. };
  53545. }
  53546. };
  53547. A.ExtendMode.prototype = {
  53548. _enumToString$0() {
  53549. return "ExtendMode." + this._name;
  53550. },
  53551. toString$0(_) {
  53552. return this.name;
  53553. }
  53554. };
  53555. A.globalFunctions_closure.prototype = {
  53556. call$1($arguments) {
  53557. var t1 = J.getInterceptor$asx($arguments);
  53558. return t1.$index($arguments, 0).get$isTruthy() ? t1.$index($arguments, 1) : t1.$index($arguments, 2);
  53559. },
  53560. $signature: 4
  53561. };
  53562. A.global_closure0.prototype = {
  53563. call$1(color) {
  53564. return B.JSNumber_methods.round$0(color._legacyChannel$2(B.RgbColorSpace_i0P, "red"));
  53565. },
  53566. $signature: 63
  53567. };
  53568. A.global_closure1.prototype = {
  53569. call$1(color) {
  53570. return B.JSNumber_methods.round$0(color._legacyChannel$2(B.RgbColorSpace_i0P, "green"));
  53571. },
  53572. $signature: 63
  53573. };
  53574. A.global_closure2.prototype = {
  53575. call$1(color) {
  53576. return B.JSNumber_methods.round$0(color._legacyChannel$2(B.RgbColorSpace_i0P, "blue"));
  53577. },
  53578. $signature: 63
  53579. };
  53580. A.global_closure3.prototype = {
  53581. call$1($arguments) {
  53582. return A._rgb("rgb", $arguments);
  53583. },
  53584. $signature: 4
  53585. };
  53586. A.global_closure4.prototype = {
  53587. call$1($arguments) {
  53588. return A._rgb("rgb", $arguments);
  53589. },
  53590. $signature: 4
  53591. };
  53592. A.global_closure5.prototype = {
  53593. call$1($arguments) {
  53594. return A._rgbTwoArg("rgb", $arguments);
  53595. },
  53596. $signature: 4
  53597. };
  53598. A.global_closure6.prototype = {
  53599. call$1($arguments) {
  53600. return A._parseChannels("rgb", J.$index$asx($arguments, 0), "channels", B.RgbColorSpace_i0P);
  53601. },
  53602. $signature: 4
  53603. };
  53604. A.global_closure7.prototype = {
  53605. call$1($arguments) {
  53606. return A._rgb("rgba", $arguments);
  53607. },
  53608. $signature: 4
  53609. };
  53610. A.global_closure8.prototype = {
  53611. call$1($arguments) {
  53612. return A._rgb("rgba", $arguments);
  53613. },
  53614. $signature: 4
  53615. };
  53616. A.global_closure9.prototype = {
  53617. call$1($arguments) {
  53618. return A._rgbTwoArg("rgba", $arguments);
  53619. },
  53620. $signature: 4
  53621. };
  53622. A.global_closure10.prototype = {
  53623. call$1($arguments) {
  53624. return A._parseChannels("rgba", J.$index$asx($arguments, 0), "channels", B.RgbColorSpace_i0P);
  53625. },
  53626. $signature: 4
  53627. };
  53628. A.global_closure11.prototype = {
  53629. call$1($arguments) {
  53630. var t1 = J.getInterceptor$asx($arguments);
  53631. if (!(t1.$index($arguments, 0) instanceof A.SassNumber) && !t1.$index($arguments, 0).get$isSpecialNumber())
  53632. A.warnForDeprecation(string$.Globalci, B.Deprecation_1AX);
  53633. return A._invert($arguments, true);
  53634. },
  53635. $signature: 4
  53636. };
  53637. A.global_closure12.prototype = {
  53638. call$1(color) {
  53639. return color._legacyChannel$2(B.HslColorSpace_JQ2, "hue");
  53640. },
  53641. $signature: 50
  53642. };
  53643. A.global_closure13.prototype = {
  53644. call$1(color) {
  53645. return color._legacyChannel$2(B.HslColorSpace_JQ2, "saturation");
  53646. },
  53647. $signature: 50
  53648. };
  53649. A.global_closure14.prototype = {
  53650. call$1(color) {
  53651. return color._legacyChannel$2(B.HslColorSpace_JQ2, "lightness");
  53652. },
  53653. $signature: 50
  53654. };
  53655. A.global_closure15.prototype = {
  53656. call$1($arguments) {
  53657. return A._hsl("hsl", $arguments);
  53658. },
  53659. $signature: 4
  53660. };
  53661. A.global_closure16.prototype = {
  53662. call$1($arguments) {
  53663. return A._hsl("hsl", $arguments);
  53664. },
  53665. $signature: 4
  53666. };
  53667. A.global_closure17.prototype = {
  53668. call$1($arguments) {
  53669. var t1 = J.getInterceptor$asx($arguments);
  53670. if (t1.$index($arguments, 0).get$isVar() || t1.$index($arguments, 1).get$isVar())
  53671. return A._functionString("hsl", $arguments);
  53672. else
  53673. throw A.wrapException(A.SassScriptException$("Missing argument $lightness.", null));
  53674. },
  53675. $signature: 17
  53676. };
  53677. A.global_closure18.prototype = {
  53678. call$1($arguments) {
  53679. return A._parseChannels("hsl", J.$index$asx($arguments, 0), "channels", B.HslColorSpace_JQ2);
  53680. },
  53681. $signature: 4
  53682. };
  53683. A.global_closure19.prototype = {
  53684. call$1($arguments) {
  53685. return A._hsl("hsla", $arguments);
  53686. },
  53687. $signature: 4
  53688. };
  53689. A.global_closure20.prototype = {
  53690. call$1($arguments) {
  53691. return A._hsl("hsla", $arguments);
  53692. },
  53693. $signature: 4
  53694. };
  53695. A.global_closure21.prototype = {
  53696. call$1($arguments) {
  53697. var t1 = J.getInterceptor$asx($arguments);
  53698. if (t1.$index($arguments, 0).get$isVar() || t1.$index($arguments, 1).get$isVar())
  53699. return A._functionString("hsla", $arguments);
  53700. else
  53701. throw A.wrapException(A.SassScriptException$("Missing argument $lightness.", null));
  53702. },
  53703. $signature: 17
  53704. };
  53705. A.global_closure22.prototype = {
  53706. call$1($arguments) {
  53707. return A._parseChannels("hsla", J.$index$asx($arguments, 0), "channels", B.HslColorSpace_JQ2);
  53708. },
  53709. $signature: 4
  53710. };
  53711. A.global_closure23.prototype = {
  53712. call$1($arguments) {
  53713. var t1 = J.getInterceptor$asx($arguments);
  53714. if (t1.$index($arguments, 0) instanceof A.SassNumber || t1.$index($arguments, 0).get$isSpecialNumber())
  53715. return A._functionString("grayscale", $arguments);
  53716. else {
  53717. A.warnForDeprecation(string$.Globalcg, B.Deprecation_1AX);
  53718. return A._grayscale(t1.$index($arguments, 0));
  53719. }
  53720. },
  53721. $signature: 4
  53722. };
  53723. A.global_closure24.prototype = {
  53724. call$1($arguments) {
  53725. var t1 = J.getInterceptor$asx($arguments),
  53726. color = t1.$index($arguments, 0).assertColor$1("color"),
  53727. degrees = A._angleValue(t1.$index($arguments, 1), "degrees");
  53728. if (!color._space.get$isLegacyInternal())
  53729. throw A.wrapException(A.SassScriptException$(string$.adjusto, null));
  53730. A.warnForDeprecation(string$.adjustd + A.SassNumber_SassNumber(degrees, "deg").toString$0(0) + string$.x29x0a_Mor_, B.Deprecation_cyE);
  53731. return color.changeHsl$1$hue(color._legacyChannel$2(B.HslColorSpace_JQ2, "hue") + degrees);
  53732. },
  53733. $signature: 25
  53734. };
  53735. A.global_closure25.prototype = {
  53736. call$1($arguments) {
  53737. var result,
  53738. _s9_ = "lightness",
  53739. t1 = J.getInterceptor$asx($arguments),
  53740. color = t1.$index($arguments, 0).assertColor$1("color"),
  53741. amount = t1.$index($arguments, 1).assertNumber$1("amount");
  53742. if (!color._space.get$isLegacyInternal())
  53743. throw A.wrapException(A.SassScriptException$(string$.lighte, null));
  53744. t1 = color._legacyChannel$2(B.HslColorSpace_JQ2, _s9_) + amount.valueInRange$3(0, 100, "amount");
  53745. result = color.changeHsl$1$lightness(isNaN(t1) ? 0 : B.JSNumber_methods.clamp$2(t1, 0, 100));
  53746. A.warnForDeprecation("lighten() is deprecated. " + A._suggestScaleAndAdjust(color, amount._number$_value, _s9_) + string$.x0a_Morex3ac, B.Deprecation_cyE);
  53747. return result;
  53748. },
  53749. $signature: 25
  53750. };
  53751. A.global_closure26.prototype = {
  53752. call$1($arguments) {
  53753. var result,
  53754. _s9_ = "lightness",
  53755. t1 = J.getInterceptor$asx($arguments),
  53756. color = t1.$index($arguments, 0).assertColor$1("color"),
  53757. amount = t1.$index($arguments, 1).assertNumber$1("amount");
  53758. if (!color._space.get$isLegacyInternal())
  53759. throw A.wrapException(A.SassScriptException$(string$.darken, null));
  53760. t1 = color._legacyChannel$2(B.HslColorSpace_JQ2, _s9_) - amount.valueInRange$3(0, 100, "amount");
  53761. result = color.changeHsl$1$lightness(isNaN(t1) ? 0 : B.JSNumber_methods.clamp$2(t1, 0, 100));
  53762. A.warnForDeprecation("darken() is deprecated. " + A._suggestScaleAndAdjust(color, -amount._number$_value, _s9_) + string$.x0a_Morex3ac, B.Deprecation_cyE);
  53763. return result;
  53764. },
  53765. $signature: 25
  53766. };
  53767. A.global_closure27.prototype = {
  53768. call$1($arguments) {
  53769. var t1 = J.getInterceptor$asx($arguments);
  53770. if (t1.$index($arguments, 0) instanceof A.SassNumber || t1.$index($arguments, 0).get$isSpecialNumber())
  53771. return A._functionString("saturate", $arguments);
  53772. return new A.SassString("saturate(" + A.serializeValue(t1.$index($arguments, 0).assertNumber$1("amount"), false, true) + ")", false);
  53773. },
  53774. $signature: 17
  53775. };
  53776. A.global_closure28.prototype = {
  53777. call$1($arguments) {
  53778. var t1, color, amount, result,
  53779. _s10_ = "saturation";
  53780. A.warnForDeprecation(string$.Globalcad, B.Deprecation_1AX);
  53781. t1 = J.getInterceptor$asx($arguments);
  53782. color = t1.$index($arguments, 0).assertColor$1("color");
  53783. amount = t1.$index($arguments, 1).assertNumber$1("amount");
  53784. if (!color._space.get$isLegacyInternal())
  53785. throw A.wrapException(A.SassScriptException$(string$.satura, null));
  53786. t1 = color._legacyChannel$2(B.HslColorSpace_JQ2, _s10_) + amount.valueInRange$3(0, 100, "amount");
  53787. result = color.changeHsl$1$saturation(isNaN(t1) ? 0 : B.JSNumber_methods.clamp$2(t1, 0, 100));
  53788. A.warnForDeprecation("saturate() is deprecated. " + A._suggestScaleAndAdjust(color, amount._number$_value, _s10_) + string$.x0a_Morex3ac, B.Deprecation_cyE);
  53789. return result;
  53790. },
  53791. $signature: 25
  53792. };
  53793. A.global_closure29.prototype = {
  53794. call$1($arguments) {
  53795. var result,
  53796. _s10_ = "saturation",
  53797. t1 = J.getInterceptor$asx($arguments),
  53798. color = t1.$index($arguments, 0).assertColor$1("color"),
  53799. amount = t1.$index($arguments, 1).assertNumber$1("amount");
  53800. if (!color._space.get$isLegacyInternal())
  53801. throw A.wrapException(A.SassScriptException$(string$.desatu, null));
  53802. t1 = color._legacyChannel$2(B.HslColorSpace_JQ2, _s10_) - amount.valueInRange$3(0, 100, "amount");
  53803. result = color.changeHsl$1$saturation(isNaN(t1) ? 0 : B.JSNumber_methods.clamp$2(t1, 0, 100));
  53804. A.warnForDeprecation("desaturate() is deprecated. " + A._suggestScaleAndAdjust(color, -amount._number$_value, _s10_) + string$.x0a_Morex3ac, B.Deprecation_cyE);
  53805. return result;
  53806. },
  53807. $signature: 25
  53808. };
  53809. A.global_closure30.prototype = {
  53810. call$1($arguments) {
  53811. return A._opacify("opacify", $arguments);
  53812. },
  53813. $signature: 25
  53814. };
  53815. A.global_closure31.prototype = {
  53816. call$1($arguments) {
  53817. return A._opacify("fade-in", $arguments);
  53818. },
  53819. $signature: 25
  53820. };
  53821. A.global_closure32.prototype = {
  53822. call$1($arguments) {
  53823. return A._transparentize("transparentize", $arguments);
  53824. },
  53825. $signature: 25
  53826. };
  53827. A.global_closure33.prototype = {
  53828. call$1($arguments) {
  53829. return A._transparentize("fade-out", $arguments);
  53830. },
  53831. $signature: 25
  53832. };
  53833. A.global_closure34.prototype = {
  53834. call$1($arguments) {
  53835. var _0_0 = J.$index$asx($arguments, 0),
  53836. t1 = false;
  53837. if (_0_0 instanceof A.SassString)
  53838. if (!_0_0._hasQuotes)
  53839. t1 = B.JSString_methods.contains$1(_0_0._string$_text, $.$get$_microsoftFilterStart());
  53840. if (t1)
  53841. return A._functionString("alpha", $arguments);
  53842. if (_0_0 instanceof A.SassColor && !_0_0._space.get$isLegacyInternal())
  53843. throw A.wrapException(A.SassScriptException$(string$.alpha_, null));
  53844. A.warnForDeprecation(string$.Globalcal, B.Deprecation_1AX);
  53845. t1 = _0_0.assertColor$1("color").alphaOrNull;
  53846. return A.SassNumber_SassNumber(t1 == null ? 0 : t1, null);
  53847. },
  53848. $signature: 4
  53849. };
  53850. A.global_closure35.prototype = {
  53851. call$1($arguments) {
  53852. var t1,
  53853. argList = J.$index$asx($arguments, 0).get$asList();
  53854. if (argList.length !== 0 && B.JSArray_methods.every$1(argList, new A.global__closure()))
  53855. return A._functionString("alpha", $arguments);
  53856. t1 = argList.length;
  53857. if (t1 === 0)
  53858. throw A.wrapException(A.SassScriptException$("Missing argument $color.", null));
  53859. else
  53860. throw A.wrapException(A.SassScriptException$("Only 1 argument allowed, but " + t1 + " were passed.", null));
  53861. },
  53862. $signature: 17
  53863. };
  53864. A.global__closure.prototype = {
  53865. call$1(argument) {
  53866. return argument instanceof A.SassString && !argument._hasQuotes && B.JSString_methods.contains$1(argument._string$_text, $.$get$_microsoftFilterStart());
  53867. },
  53868. $signature: 72
  53869. };
  53870. A.global_closure36.prototype = {
  53871. call$1($arguments) {
  53872. var t1 = J.getInterceptor$asx($arguments);
  53873. if (t1.$index($arguments, 0) instanceof A.SassNumber || t1.$index($arguments, 0).get$isSpecialNumber())
  53874. return A._functionString("opacity", $arguments);
  53875. A.warnForDeprecation(string$.Globalco, B.Deprecation_1AX);
  53876. t1 = t1.$index($arguments, 0).assertColor$1("color").alphaOrNull;
  53877. return A.SassNumber_SassNumber(t1 == null ? 0 : t1, null);
  53878. },
  53879. $signature: 4
  53880. };
  53881. A.global_closure37.prototype = {
  53882. call$1($arguments) {
  53883. return A._parseChannels("color", J.$index$asx($arguments, 0), "description", null);
  53884. },
  53885. $signature: 4
  53886. };
  53887. A.global_closure38.prototype = {
  53888. call$1($arguments) {
  53889. return A._parseChannels("hwb", J.$index$asx($arguments, 0), "channels", B.HwbColorSpace_guQ);
  53890. },
  53891. $signature: 4
  53892. };
  53893. A.global_closure39.prototype = {
  53894. call$1($arguments) {
  53895. return A._parseChannels("lab", J.$index$asx($arguments, 0), "channels", B.LabColorSpace_2nT);
  53896. },
  53897. $signature: 4
  53898. };
  53899. A.global_closure40.prototype = {
  53900. call$1($arguments) {
  53901. return A._parseChannels("lch", J.$index$asx($arguments, 0), "channels", B.LchColorSpace_Bpv);
  53902. },
  53903. $signature: 4
  53904. };
  53905. A.global_closure41.prototype = {
  53906. call$1($arguments) {
  53907. return A._parseChannels("oklab", J.$index$asx($arguments, 0), "channels", B.OklabColorSpace_540);
  53908. },
  53909. $signature: 4
  53910. };
  53911. A.global_closure42.prototype = {
  53912. call$1($arguments) {
  53913. return A._parseChannels("oklch", J.$index$asx($arguments, 0), "channels", B.OklchColorSpace_9Gj);
  53914. },
  53915. $signature: 4
  53916. };
  53917. A.module_closure1.prototype = {
  53918. call$1(color) {
  53919. return B.JSNumber_methods.round$0(color._legacyChannel$2(B.RgbColorSpace_i0P, "red"));
  53920. },
  53921. $signature: 63
  53922. };
  53923. A.module_closure2.prototype = {
  53924. call$1(color) {
  53925. return B.JSNumber_methods.round$0(color._legacyChannel$2(B.RgbColorSpace_i0P, "green"));
  53926. },
  53927. $signature: 63
  53928. };
  53929. A.module_closure3.prototype = {
  53930. call$1(color) {
  53931. return B.JSNumber_methods.round$0(color._legacyChannel$2(B.RgbColorSpace_i0P, "blue"));
  53932. },
  53933. $signature: 63
  53934. };
  53935. A.module_closure4.prototype = {
  53936. call$1($arguments) {
  53937. var result = A._invert($arguments, false);
  53938. if (result instanceof A.SassString)
  53939. A.warnForDeprecation("Passing a number (" + J.$index$asx($arguments, 0).toString$0(0) + string$.x29x20to_cli + result.toString$0(0), B.Deprecation_u0j);
  53940. return result;
  53941. },
  53942. $signature: 4
  53943. };
  53944. A.module_closure5.prototype = {
  53945. call$1(color) {
  53946. return color._legacyChannel$2(B.HslColorSpace_JQ2, "hue");
  53947. },
  53948. $signature: 50
  53949. };
  53950. A.module_closure6.prototype = {
  53951. call$1(color) {
  53952. return color._legacyChannel$2(B.HslColorSpace_JQ2, "saturation");
  53953. },
  53954. $signature: 50
  53955. };
  53956. A.module_closure7.prototype = {
  53957. call$1(color) {
  53958. return color._legacyChannel$2(B.HslColorSpace_JQ2, "lightness");
  53959. },
  53960. $signature: 50
  53961. };
  53962. A.module_closure8.prototype = {
  53963. call$1($arguments) {
  53964. var result,
  53965. t1 = J.getInterceptor$asx($arguments);
  53966. if (t1.$index($arguments, 0) instanceof A.SassNumber) {
  53967. result = A._functionString("grayscale", t1.take$1($arguments, 1));
  53968. A.warnForDeprecation("Passing a number (" + t1.$index($arguments, 0).toString$0(0) + string$.x29x20to_clg + result.toString$0(0), B.Deprecation_u0j);
  53969. return result;
  53970. }
  53971. return A._grayscale(t1.$index($arguments, 0));
  53972. },
  53973. $signature: 4
  53974. };
  53975. A.module_closure9.prototype = {
  53976. call$1($arguments) {
  53977. var t1 = J.getInterceptor$asx($arguments),
  53978. t2 = type$.JSArray_Value;
  53979. return A._parseChannels("hwb", A.SassList$(A._setArrayType([A.SassList$(A._setArrayType([t1.$index($arguments, 0), t1.$index($arguments, 1), t1.$index($arguments, 2)], t2), B.ListSeparator_qSL, false), t1.$index($arguments, 3)], t2), B.ListSeparator_bRz, false), null, B.HwbColorSpace_guQ);
  53980. },
  53981. $signature: 4
  53982. };
  53983. A.module_closure10.prototype = {
  53984. call$1($arguments) {
  53985. return A._parseChannels("hwb", J.$index$asx($arguments, 0), "channels", B.HwbColorSpace_guQ);
  53986. },
  53987. $signature: 4
  53988. };
  53989. A.module_closure11.prototype = {
  53990. call$1(color) {
  53991. return color._legacyChannel$2(B.HwbColorSpace_guQ, "whiteness");
  53992. },
  53993. $signature: 50
  53994. };
  53995. A.module_closure12.prototype = {
  53996. call$1(color) {
  53997. return color._legacyChannel$2(B.HwbColorSpace_guQ, "blackness");
  53998. },
  53999. $signature: 50
  54000. };
  54001. A.module_closure13.prototype = {
  54002. call$1($arguments) {
  54003. var result,
  54004. _0_0 = J.$index$asx($arguments, 0),
  54005. t1 = false;
  54006. if (_0_0 instanceof A.SassString)
  54007. if (!_0_0._hasQuotes)
  54008. t1 = B.JSString_methods.contains$1(_0_0._string$_text, $.$get$_microsoftFilterStart());
  54009. if (t1) {
  54010. result = A._functionString("alpha", $arguments);
  54011. A.warnForDeprecation(string$.Using_c + result.toString$0(0), B.Deprecation_u0j);
  54012. return result;
  54013. }
  54014. if (_0_0 instanceof A.SassColor && !_0_0._space.get$isLegacyInternal())
  54015. throw A.wrapException(A.SassScriptException$(string$.color_a, null));
  54016. t1 = _0_0.assertColor$1("color").alphaOrNull;
  54017. return A.SassNumber_SassNumber(t1 == null ? 0 : t1, null);
  54018. },
  54019. $signature: 4
  54020. };
  54021. A.module_closure14.prototype = {
  54022. call$1($arguments) {
  54023. var result,
  54024. t1 = J.getInterceptor$asx($arguments);
  54025. if (B.JSArray_methods.every$1(t1.$index($arguments, 0).get$asList(), new A.module__closure2())) {
  54026. result = A._functionString("alpha", $arguments);
  54027. A.warnForDeprecation(string$.Using_c + result.toString$0(0), B.Deprecation_u0j);
  54028. return result;
  54029. }
  54030. throw A.wrapException(A.SassScriptException$("Only 1 argument allowed, but " + t1.get$length($arguments) + " were passed.", null));
  54031. },
  54032. $signature: 17
  54033. };
  54034. A.module__closure2.prototype = {
  54035. call$1(argument) {
  54036. return argument instanceof A.SassString && !argument._hasQuotes && B.JSString_methods.contains$1(argument._string$_text, $.$get$_microsoftFilterStart());
  54037. },
  54038. $signature: 72
  54039. };
  54040. A.module_closure15.prototype = {
  54041. call$1($arguments) {
  54042. var result,
  54043. t1 = J.getInterceptor$asx($arguments);
  54044. if (t1.$index($arguments, 0) instanceof A.SassNumber) {
  54045. result = A._functionString("opacity", $arguments);
  54046. A.warnForDeprecation("Passing a number (" + t1.$index($arguments, 0).toString$0(0) + string$.x20to_co + result.toString$0(0), B.Deprecation_u0j);
  54047. return result;
  54048. }
  54049. t1 = t1.$index($arguments, 0).assertColor$1("color").alphaOrNull;
  54050. return A.SassNumber_SassNumber(t1 == null ? 0 : t1, null);
  54051. },
  54052. $signature: 4
  54053. };
  54054. A.module_closure16.prototype = {
  54055. call$1($arguments) {
  54056. return new A.SassString(J.get$first$ax($arguments).assertColor$1("color")._space.name, false);
  54057. },
  54058. $signature: 17
  54059. };
  54060. A.module_closure17.prototype = {
  54061. call$1($arguments) {
  54062. var t1 = J.getInterceptor$asx($arguments);
  54063. return A._colorInSpace(t1.$index($arguments, 0), t1.$index($arguments, 1), false);
  54064. },
  54065. $signature: 25
  54066. };
  54067. A.module_closure18.prototype = {
  54068. call$1($arguments) {
  54069. return J.$index$asx($arguments, 0).assertColor$1("color")._space.get$isLegacyInternal() ? B.SassBoolean_true : B.SassBoolean_false;
  54070. },
  54071. $signature: 12
  54072. };
  54073. A.module_closure19.prototype = {
  54074. call$1($arguments) {
  54075. var t1 = J.getInterceptor$asx($arguments);
  54076. return t1.$index($arguments, 0).assertColor$1("color").isChannelMissing$3$channelName$colorName(A._channelName(t1.$index($arguments, 1)), "channel", "color") ? B.SassBoolean_true : B.SassBoolean_false;
  54077. },
  54078. $signature: 12
  54079. };
  54080. A.module_closure20.prototype = {
  54081. call$1($arguments) {
  54082. var t1 = J.getInterceptor$asx($arguments);
  54083. return A._colorInSpace(t1.$index($arguments, 0), t1.$index($arguments, 1), true).get$isInGamut() ? B.SassBoolean_true : B.SassBoolean_false;
  54084. },
  54085. $signature: 12
  54086. };
  54087. A.module_closure21.prototype = {
  54088. call$1($arguments) {
  54089. var space, method, _s5_ = "space", _s6_ = "method",
  54090. t1 = J.getInterceptor$asx($arguments),
  54091. color = t1.$index($arguments, 0).assertColor$1("color"),
  54092. t2 = t1.$index($arguments, 1);
  54093. if (t2.$eq(0, B.C__SassNull))
  54094. space = color._space;
  54095. else {
  54096. t2 = t2.assertString$1(_s5_);
  54097. t2.assertUnquoted$1(_s5_);
  54098. space = A.ColorSpace_fromName(t2._string$_text, _s5_);
  54099. }
  54100. if (t1.$index($arguments, 2).$eq(0, B.C__SassNull))
  54101. throw A.wrapException(A.SassScriptException$(string$.color_t, _s6_));
  54102. t1 = t1.$index($arguments, 2).assertString$1(_s6_);
  54103. t1.assertUnquoted$1(_s6_);
  54104. method = A.GamutMapMethod_GamutMapMethod$fromName(t1._string$_text);
  54105. if (!space.get$isBoundedInternal())
  54106. return color;
  54107. t1 = color.toSpace$1(space);
  54108. t1 = t1.get$isInGamut() ? t1 : method.map$1(0, t1);
  54109. return t1.toSpace$2$legacyMissing(color._space, false);
  54110. },
  54111. $signature: 25
  54112. };
  54113. A.module_closure22.prototype = {
  54114. call$1($arguments) {
  54115. var channelIndex, channelInfo, channelValue, unit,
  54116. t1 = J.getInterceptor$asx($arguments),
  54117. color = A._colorInSpace(t1.$index($arguments, 0), t1.$index($arguments, 2), true),
  54118. channelName = A._channelName(t1.$index($arguments, 1));
  54119. if (channelName === "alpha") {
  54120. t1 = color.alphaOrNull;
  54121. return A.SassNumber_SassNumber(t1 == null ? 0 : t1, null);
  54122. }
  54123. t1 = color._space._channels;
  54124. channelIndex = B.JSArray_methods.indexWhere$1(t1, new A.module__closure1(channelName));
  54125. if (channelIndex === -1)
  54126. throw A.wrapException(A.SassScriptException$("Color " + color.toString$0(0) + " has no channel named " + channelName + ".", "channel"));
  54127. channelInfo = t1[channelIndex];
  54128. channelValue = color.get$channels()[channelIndex];
  54129. unit = channelInfo.associatedUnit;
  54130. return A.SassNumber_SassNumber(unit === "%" ? channelValue * 100 / type$.LinearChannel._as(channelInfo).max : channelValue, unit);
  54131. },
  54132. $signature: 24
  54133. };
  54134. A.module__closure1.prototype = {
  54135. call$1(channel) {
  54136. return channel.name === this.channelName;
  54137. },
  54138. $signature: 108
  54139. };
  54140. A.module_closure23.prototype = {
  54141. call$1($arguments) {
  54142. var t2, t3,
  54143. t1 = J.getInterceptor$asx($arguments),
  54144. color1 = t1.$index($arguments, 0).assertColor$1("color1"),
  54145. color2 = t1.$index($arguments, 1).assertColor$1("color2");
  54146. t1 = new A.module_closure_toXyzNoMissing();
  54147. if (color1._space === color2._space) {
  54148. t1 = color1.channel0OrNull;
  54149. t2 = false;
  54150. if (t1 == null)
  54151. t1 = 0;
  54152. t3 = color2.channel0OrNull;
  54153. if (A.fuzzyEquals(t1, t3 == null ? 0 : t3)) {
  54154. t1 = color1.channel1OrNull;
  54155. if (t1 == null)
  54156. t1 = 0;
  54157. t3 = color2.channel1OrNull;
  54158. if (A.fuzzyEquals(t1, t3 == null ? 0 : t3)) {
  54159. t1 = color1.channel2OrNull;
  54160. if (t1 == null)
  54161. t1 = 0;
  54162. t3 = color2.channel2OrNull;
  54163. if (A.fuzzyEquals(t1, t3 == null ? 0 : t3)) {
  54164. t1 = color1.alphaOrNull;
  54165. if (t1 == null)
  54166. t1 = 0;
  54167. t2 = color2.alphaOrNull;
  54168. t1 = A.fuzzyEquals(t1, t2 == null ? 0 : t2);
  54169. } else
  54170. t1 = t2;
  54171. } else
  54172. t1 = t2;
  54173. } else
  54174. t1 = t2;
  54175. } else
  54176. t1 = J.$eq$(t1.call$1(color1), t1.call$1(color2));
  54177. return t1 ? B.SassBoolean_true : B.SassBoolean_false;
  54178. },
  54179. $signature: 12
  54180. };
  54181. A.module_closure_toXyzNoMissing.prototype = {
  54182. call$1(color) {
  54183. var _1_1, _1_3, t1, _1_7, channel0, _1_8, channel1, _1_9, channel2, _1_10, alpha;
  54184. $label0$0: {
  54185. _1_1 = color._space;
  54186. _1_3 = B.XyzD65ColorSpace_WiJ === _1_1;
  54187. t1 = _1_3;
  54188. if (t1)
  54189. t1 = !(color.channel0OrNull == null || color.channel1OrNull == null || color.channel2OrNull == null || color.alphaOrNull == null);
  54190. else
  54191. t1 = false;
  54192. if (t1) {
  54193. t1 = color;
  54194. break $label0$0;
  54195. }
  54196. if (_1_3) {
  54197. _1_7 = color.channel0OrNull;
  54198. if (_1_7 == null)
  54199. _1_7 = 0;
  54200. channel0 = _1_7;
  54201. _1_8 = color.channel1OrNull;
  54202. if (_1_8 == null)
  54203. _1_8 = 0;
  54204. channel1 = _1_8;
  54205. _1_9 = color.channel2OrNull;
  54206. if (_1_9 == null)
  54207. _1_9 = 0;
  54208. channel2 = _1_9;
  54209. _1_10 = color.alphaOrNull;
  54210. if (_1_10 == null)
  54211. _1_10 = 0;
  54212. alpha = _1_10;
  54213. t1 = A.SassColor$_forSpace(B.XyzD65ColorSpace_WiJ, channel0, channel1, channel2, alpha, null);
  54214. break $label0$0;
  54215. }
  54216. _1_7 = color.channel0OrNull;
  54217. if (_1_7 == null)
  54218. _1_7 = 0;
  54219. channel0 = _1_7;
  54220. _1_8 = color.channel1OrNull;
  54221. if (_1_8 == null)
  54222. _1_8 = 0;
  54223. channel1 = _1_8;
  54224. _1_9 = color.channel2OrNull;
  54225. if (_1_9 == null)
  54226. _1_9 = 0;
  54227. channel2 = _1_9;
  54228. _1_10 = color.alphaOrNull;
  54229. if (_1_10 == null)
  54230. _1_10 = 0;
  54231. alpha = _1_10;
  54232. t1 = _1_1.convert$5(B.XyzD65ColorSpace_WiJ, channel0, channel1, channel2, alpha);
  54233. break $label0$0;
  54234. }
  54235. return t1;
  54236. },
  54237. $signature: 415
  54238. };
  54239. A.module_closure24.prototype = {
  54240. call$1($arguments) {
  54241. var t1 = J.getInterceptor$asx($arguments);
  54242. return A._colorInSpace(t1.$index($arguments, 0), t1.$index($arguments, 2), true).isChannelPowerless$3$channelName$colorName(A._channelName(t1.$index($arguments, 1)), "channel", "color") ? B.SassBoolean_true : B.SassBoolean_false;
  54243. },
  54244. $signature: 12
  54245. };
  54246. A._mix_closure.prototype = {
  54247. call$1($arguments) {
  54248. var _s6_ = "weight",
  54249. _s41_ = string$.To_usem,
  54250. _s29_ = ", you must provide a $method.",
  54251. t1 = J.getInterceptor$asx($arguments),
  54252. color1 = t1.$index($arguments, 0).assertColor$1("color1"),
  54253. color2 = t1.$index($arguments, 1).assertColor$1("color2"),
  54254. weight = t1.$index($arguments, 2).assertNumber$1(_s6_);
  54255. if (!t1.$index($arguments, 3).$eq(0, B.C__SassNull))
  54256. return color1.interpolate$4$legacyMissing$weight(color2, A.InterpolationMethod_InterpolationMethod$fromValue(t1.$index($arguments, 3), "method"), false, weight.valueInRangeWithUnit$4(0, 100, _s6_, "%") / 100);
  54257. A._checkPercent(weight, _s6_);
  54258. if (!color1._space.get$isLegacyInternal())
  54259. throw A.wrapException(A.SassScriptException$(_s41_ + color1.toString$0(0) + _s29_, "color1"));
  54260. else if (!color2._space.get$isLegacyInternal())
  54261. throw A.wrapException(A.SassScriptException$(_s41_ + color2.toString$0(0) + _s29_, "color2"));
  54262. return A._mixLegacy(color1, color2, weight);
  54263. },
  54264. $signature: 25
  54265. };
  54266. A._complement_closure.prototype = {
  54267. call$1($arguments) {
  54268. var space, t3, colorInSpace, t4, t5, t6, _s5_ = "space",
  54269. t1 = J.getInterceptor$asx($arguments),
  54270. color = t1.$index($arguments, 0).assertColor$1("color"),
  54271. t2 = color._space;
  54272. if (t2.get$isLegacyInternal() && t1.$index($arguments, 1).$eq(0, B.C__SassNull))
  54273. space = B.HslColorSpace_JQ2;
  54274. else {
  54275. t3 = t1.$index($arguments, 1).assertString$1(_s5_);
  54276. t3.assertUnquoted$1(_s5_);
  54277. space = A.ColorSpace_fromName(t3._string$_text, _s5_);
  54278. }
  54279. if (!space.get$isPolarInternal())
  54280. throw A.wrapException(A.SassScriptException$("Color space " + space.toString$0(0) + " doesn't have a hue channel.", _s5_));
  54281. colorInSpace = color.toSpace$2$legacyMissing(space, !t1.$index($arguments, 1).$eq(0, B.C__SassNull));
  54282. t1 = space._channels;
  54283. t3 = colorInSpace.channel0OrNull;
  54284. t4 = colorInSpace.channel1OrNull;
  54285. t5 = colorInSpace.channel2OrNull;
  54286. t6 = colorInSpace.alphaOrNull;
  54287. return (space.get$isLegacyInternal() ? A.SassColor_SassColor$forSpaceInternal(space, A._adjustChannel(colorInSpace, t1[0], t3, A.SassNumber_SassNumber(180, null)), t4, t5, t6) : A.SassColor_SassColor$forSpaceInternal(space, t3, t4, A._adjustChannel(colorInSpace, t1[2], t5, A.SassNumber_SassNumber(180, null)), t6)).toSpace$2$legacyMissing(t2, false);
  54288. },
  54289. $signature: 25
  54290. };
  54291. A._adjust_closure.prototype = {
  54292. call$1($arguments) {
  54293. return A._updateComponents($arguments, true, false, false);
  54294. },
  54295. $signature: 25
  54296. };
  54297. A._scale_closure.prototype = {
  54298. call$1($arguments) {
  54299. return A._updateComponents($arguments, false, false, true);
  54300. },
  54301. $signature: 25
  54302. };
  54303. A._change_closure.prototype = {
  54304. call$1($arguments) {
  54305. return A._updateComponents($arguments, false, true, false);
  54306. },
  54307. $signature: 25
  54308. };
  54309. A._ieHexStr_closure.prototype = {
  54310. call$1($arguments) {
  54311. var t1, t2, t3, t4, t5,
  54312. color = J.$index$asx($arguments, 0).assertColor$1("color").toSpace$1(B.RgbColorSpace_i0P);
  54313. color = color.get$isInGamut() ? color : B.LocalMindeGamutMap_A2x.map$1(0, color);
  54314. t1 = new A._ieHexStr_closure_hexString();
  54315. t2 = color.alphaOrNull;
  54316. t2 = A.S(t1.call$1((t2 == null ? 0 : t2) * 255));
  54317. t3 = color.channel0OrNull;
  54318. t3 = A.S(t1.call$1(t3 == null ? 0 : t3));
  54319. t4 = color.channel1OrNull;
  54320. t4 = A.S(t1.call$1(t4 == null ? 0 : t4));
  54321. t5 = color.channel2OrNull;
  54322. return new A.SassString("#" + t2 + t3 + t4 + A.S(t1.call$1(t5 == null ? 0 : t5)), false);
  54323. },
  54324. $signature: 17
  54325. };
  54326. A._ieHexStr_closure_hexString.prototype = {
  54327. call$1(component) {
  54328. return B.JSString_methods.padLeft$2(B.JSInt_methods.toRadixString$1(A.fuzzyRound(component), 16), 2, "0").toUpperCase();
  54329. },
  54330. $signature: 229
  54331. };
  54332. A._updateComponents_closure.prototype = {
  54333. call$1(space) {
  54334. return this.originalColor.toSpace$2$legacyMissing(space, false);
  54335. },
  54336. $signature: 422
  54337. };
  54338. A._updateComponents_closure0.prototype = {
  54339. call$1(info) {
  54340. return this._box_0.name === info.name;
  54341. },
  54342. $signature: 108
  54343. };
  54344. A._changeColor_closure.prototype = {
  54345. call$0() {
  54346. var t1 = this.alphaArg;
  54347. A.warnForDeprecation("$alpha: Passing a unit other than % (" + t1.toString$0(0) + string$.x29x20is_d + t1.unitSuggestion$1("alpha") + string$.x0a_See_, B.Deprecation_jG1);
  54348. return t1.valueInRange$3(0, 1, "alpha");
  54349. },
  54350. $signature: 238
  54351. };
  54352. A._adjustColor_closure.prototype = {
  54353. call$1(alpha) {
  54354. return isNaN(alpha) ? 0 : B.JSNumber_methods.clamp$2(alpha, 0, 1);
  54355. },
  54356. $signature: 16
  54357. };
  54358. A._functionString_closure.prototype = {
  54359. call$1(argument) {
  54360. return A.serializeValue(argument, false, true);
  54361. },
  54362. $signature: 452
  54363. };
  54364. A._removedColorFunction_closure.prototype = {
  54365. call$1($arguments) {
  54366. var t1 = this.name,
  54367. t2 = J.getInterceptor$asx($arguments),
  54368. t3 = t2.$index($arguments, 0).toString$0(0),
  54369. t4 = this.negative ? "-" : "";
  54370. throw A.wrapException(A.SassScriptException$("The function " + t1 + string$.x28__isn + t3 + ", $" + this.argument + ": " + t4 + t2.$index($arguments, 1).toString$0(0) + string$.x29x0a_Moro + t1, null));
  54371. },
  54372. $signature: 457
  54373. };
  54374. A._rgb_closure.prototype = {
  54375. call$1(alpha) {
  54376. var t1 = A._percentageOrUnitless(alpha.assertNumber$1("alpha"), 1, "alpha");
  54377. return isNaN(t1) ? 0 : B.JSNumber_methods.clamp$2(t1, 0, 1);
  54378. },
  54379. $signature: 243
  54380. };
  54381. A._hsl_closure.prototype = {
  54382. call$1(alpha) {
  54383. var t1 = A._percentageOrUnitless(alpha.assertNumber$1("alpha"), 1, "alpha");
  54384. return isNaN(t1) ? 0 : B.JSNumber_methods.clamp$2(t1, 0, 1);
  54385. },
  54386. $signature: 243
  54387. };
  54388. A._parseChannels_closure.prototype = {
  54389. call$1($name) {
  54390. return $name + " channel";
  54391. },
  54392. $signature: 6
  54393. };
  54394. A._parseChannels_closure0.prototype = {
  54395. call$1(channel) {
  54396. return channel.get$isSpecialNumber();
  54397. },
  54398. $signature: 72
  54399. };
  54400. A._colorFromChannels_closure.prototype = {
  54401. call$1(channel0) {
  54402. return A._angleValue(channel0, "hue");
  54403. },
  54404. $signature: 125
  54405. };
  54406. A._colorFromChannels_closure0.prototype = {
  54407. call$1(channel0) {
  54408. return A._angleValue(channel0, "hue");
  54409. },
  54410. $signature: 125
  54411. };
  54412. A._channelFromValue_closure.prototype = {
  54413. call$1(value) {
  54414. var t1, _0_8, t2, _0_5, _0_8_isSet, lowerClamped, upperClamped, t3,
  54415. _0_0 = this.channel;
  54416. $label0$0: {
  54417. t1 = _0_0 instanceof A.LinearChannel;
  54418. if (t1 && _0_0.requiresPercent && !value.hasUnit$1("%"))
  54419. A.throwExpression(A.SassScriptException$("Expected " + value.toString$0(0) + ' to have unit "%".', _0_0.name));
  54420. _0_8 = null;
  54421. t2 = false;
  54422. if (t1) {
  54423. _0_5 = _0_0.lowerClamped;
  54424. _0_8_isSet = !_0_5;
  54425. if (_0_8_isSet) {
  54426. _0_8 = _0_0.upperClamped;
  54427. t2 = !_0_8;
  54428. }
  54429. } else {
  54430. _0_5 = null;
  54431. _0_8_isSet = false;
  54432. }
  54433. if (t2) {
  54434. t1 = A._percentageOrUnitless(value, _0_0.max, _0_0.name);
  54435. break $label0$0;
  54436. }
  54437. if (t1 && !this.clamp) {
  54438. t1 = A._percentageOrUnitless(value, _0_0.max, _0_0.name);
  54439. break $label0$0;
  54440. }
  54441. if (t1) {
  54442. lowerClamped = _0_5;
  54443. upperClamped = _0_8_isSet ? _0_8 : _0_0.upperClamped;
  54444. t1 = _0_0.max;
  54445. t2 = A._percentageOrUnitless(value, t1, _0_0.name);
  54446. t3 = lowerClamped ? _0_0.min : -1 / 0;
  54447. t1 = upperClamped ? t1 : 1 / 0;
  54448. t1 = isNaN(t2) ? t3 : B.JSNumber_methods.clamp$2(t2, t3, t1);
  54449. break $label0$0;
  54450. }
  54451. t1 = B.JSNumber_methods.$mod(value.coerceValueToUnit$2("deg", _0_0.name), 360);
  54452. break $label0$0;
  54453. }
  54454. return t1;
  54455. },
  54456. $signature: 125
  54457. };
  54458. A._channelFunction_closure.prototype = {
  54459. call$1($arguments) {
  54460. var _this = this,
  54461. result = A.SassNumber_SassNumber(_this.getter.call$1(J.get$first$ax($arguments).assertColor$1("color")), _this.unit),
  54462. t1 = _this.global ? "" : "color.",
  54463. t2 = _this.name;
  54464. A.warnForDeprecation(t1 + t2 + string$.x28__is_d + t2 + '", $space: ' + _this.space.toString$0(0) + string$.x29x0a_Mor_, B.Deprecation_cyE);
  54465. return result;
  54466. },
  54467. $signature: 24
  54468. };
  54469. A._suggestScaleAndAdjust_closure.prototype = {
  54470. call$1(channel) {
  54471. return channel.name === this.channelName;
  54472. },
  54473. $signature: 108
  54474. };
  54475. A._length_closure0.prototype = {
  54476. call$1($arguments) {
  54477. return A.SassNumber_SassNumber(J.$index$asx($arguments, 0).get$asList().length, null);
  54478. },
  54479. $signature: 24
  54480. };
  54481. A._nth_closure.prototype = {
  54482. call$1($arguments) {
  54483. var t1 = J.getInterceptor$asx($arguments),
  54484. list = t1.$index($arguments, 0),
  54485. index = t1.$index($arguments, 1);
  54486. return list.get$asList()[list.sassIndexToListIndex$2(index, "n")];
  54487. },
  54488. $signature: 4
  54489. };
  54490. A._setNth_closure.prototype = {
  54491. call$1($arguments) {
  54492. var newList,
  54493. t1 = J.getInterceptor$asx($arguments),
  54494. list = t1.$index($arguments, 0),
  54495. index = t1.$index($arguments, 1),
  54496. value = t1.$index($arguments, 2);
  54497. t1 = list.get$asList();
  54498. newList = A._setArrayType(t1.slice(0), A._arrayInstanceType(t1));
  54499. newList[list.sassIndexToListIndex$2(index, "n")] = value;
  54500. return list.withListContents$1(newList);
  54501. },
  54502. $signature: 27
  54503. };
  54504. A._join_closure.prototype = {
  54505. call$1($arguments) {
  54506. var _0_1, _0_4, _0_3, _0_4_isSet, t2, _0_40, separator, bracketed,
  54507. t1 = J.getInterceptor$asx($arguments),
  54508. list1 = t1.$index($arguments, 0),
  54509. list2 = t1.$index($arguments, 1),
  54510. separatorParam = t1.$index($arguments, 2).assertString$1("separator"),
  54511. bracketedParam = t1.$index($arguments, 3),
  54512. _1_0 = separatorParam._string$_text;
  54513. $label1$1: {
  54514. if ("auto" === _1_0) {
  54515. _0_1 = list1.get$separator(list1);
  54516. _0_4 = list2.get$separator(list2);
  54517. $label0$0: {
  54518. t1 = null;
  54519. _0_3 = B.ListSeparator_undecided_null_undecided === _0_1;
  54520. _0_4_isSet = _0_3;
  54521. if (_0_4_isSet) {
  54522. t2 = B.ListSeparator_undecided_null_undecided === _0_4;
  54523. _0_40 = _0_4;
  54524. } else {
  54525. _0_40 = null;
  54526. t2 = false;
  54527. }
  54528. if (t2) {
  54529. t1 = B.ListSeparator_qSL;
  54530. break $label0$0;
  54531. }
  54532. if (_0_3)
  54533. separator = _0_4_isSet ? _0_40 : _0_4;
  54534. else
  54535. separator = t1;
  54536. if (!_0_3)
  54537. separator = _0_1;
  54538. t1 = separator;
  54539. break $label0$0;
  54540. }
  54541. break $label1$1;
  54542. }
  54543. if ("space" === _1_0) {
  54544. t1 = B.ListSeparator_qSL;
  54545. break $label1$1;
  54546. }
  54547. if ("comma" === _1_0) {
  54548. t1 = B.ListSeparator_qVN;
  54549. break $label1$1;
  54550. }
  54551. if ("slash" === _1_0) {
  54552. t1 = B.ListSeparator_bRz;
  54553. break $label1$1;
  54554. }
  54555. t1 = A.throwExpression(A.SassScriptException$(string$.x24separ, null));
  54556. }
  54557. bracketed = bracketedParam instanceof A.SassString && bracketedParam._string$_text === "auto" ? list1.get$hasBrackets() : bracketedParam.get$isTruthy();
  54558. t2 = A.List_List$_of(list1.get$asList(), type$.Value);
  54559. B.JSArray_methods.addAll$1(t2, list2.get$asList());
  54560. return A.SassList$(t2, t1, bracketed);
  54561. },
  54562. $signature: 27
  54563. };
  54564. A._append_closure0.prototype = {
  54565. call$1($arguments) {
  54566. var t2,
  54567. t1 = J.getInterceptor$asx($arguments),
  54568. list = t1.$index($arguments, 0),
  54569. value = t1.$index($arguments, 1),
  54570. _0_0 = t1.$index($arguments, 2).assertString$1("separator")._string$_text;
  54571. $label0$0: {
  54572. if ("auto" === _0_0) {
  54573. t1 = list.get$separator(list) === B.ListSeparator_undecided_null_undecided ? B.ListSeparator_qSL : list.get$separator(list);
  54574. break $label0$0;
  54575. }
  54576. if ("space" === _0_0) {
  54577. t1 = B.ListSeparator_qSL;
  54578. break $label0$0;
  54579. }
  54580. if ("comma" === _0_0) {
  54581. t1 = B.ListSeparator_qVN;
  54582. break $label0$0;
  54583. }
  54584. if ("slash" === _0_0) {
  54585. t1 = B.ListSeparator_bRz;
  54586. break $label0$0;
  54587. }
  54588. t1 = A.throwExpression(A.SassScriptException$(string$.x24separ, null));
  54589. }
  54590. t2 = A.List_List$_of(list.get$asList(), type$.Value);
  54591. t2.push(value);
  54592. return list.withListContents$2$separator(t2, t1);
  54593. },
  54594. $signature: 27
  54595. };
  54596. A._zip_closure.prototype = {
  54597. call$1($arguments) {
  54598. var results, result, _box_0 = {},
  54599. t1 = J.$index$asx($arguments, 0).get$asList(),
  54600. t2 = A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,List<Value>>"),
  54601. lists = A.List_List$_of(new A.MappedListIterable(t1, new A._zip__closure(), t2), t2._eval$1("ListIterable.E"));
  54602. if (lists.length === 0)
  54603. return B.SassList_BlY;
  54604. _box_0.i = 0;
  54605. results = A._setArrayType([], type$.JSArray_SassList);
  54606. 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));) {
  54607. result = A.List_List$from(new A.MappedListIterable(lists, new A._zip__closure1(_box_0), t1), false, t2);
  54608. result.$flags = 3;
  54609. results.push(new A.SassList(result, B.ListSeparator_qSL, false));
  54610. ++_box_0.i;
  54611. }
  54612. return A.SassList$(results, B.ListSeparator_qVN, false);
  54613. },
  54614. $signature: 27
  54615. };
  54616. A._zip__closure.prototype = {
  54617. call$1(list) {
  54618. return list.get$asList();
  54619. },
  54620. $signature: 500
  54621. };
  54622. A._zip__closure0.prototype = {
  54623. call$1(list) {
  54624. return this._box_0.i !== J.get$length$asx(list);
  54625. },
  54626. $signature: 567
  54627. };
  54628. A._zip__closure1.prototype = {
  54629. call$1(list) {
  54630. return J.$index$asx(list, this._box_0.i);
  54631. },
  54632. $signature: 4
  54633. };
  54634. A._index_closure0.prototype = {
  54635. call$1($arguments) {
  54636. var t1 = J.getInterceptor$asx($arguments),
  54637. index = B.JSArray_methods.indexOf$1(t1.$index($arguments, 0).get$asList(), t1.$index($arguments, 1));
  54638. return index === -1 ? B.C__SassNull : A.SassNumber_SassNumber(index + 1, null);
  54639. },
  54640. $signature: 4
  54641. };
  54642. A._separator_closure.prototype = {
  54643. call$1($arguments) {
  54644. var t1 = J.$index$asx($arguments, 0),
  54645. _0_0 = t1.get$separator(t1);
  54646. $label0$0: {
  54647. if (B.ListSeparator_qVN === _0_0) {
  54648. t1 = new A.SassString("comma", false);
  54649. break $label0$0;
  54650. }
  54651. if (B.ListSeparator_bRz === _0_0) {
  54652. t1 = new A.SassString("slash", false);
  54653. break $label0$0;
  54654. }
  54655. t1 = new A.SassString("space", false);
  54656. break $label0$0;
  54657. }
  54658. return t1;
  54659. },
  54660. $signature: 17
  54661. };
  54662. A._isBracketed_closure.prototype = {
  54663. call$1($arguments) {
  54664. return J.$index$asx($arguments, 0).get$hasBrackets() ? B.SassBoolean_true : B.SassBoolean_false;
  54665. },
  54666. $signature: 12
  54667. };
  54668. A._slash_closure.prototype = {
  54669. call$1($arguments) {
  54670. var list = J.$index$asx($arguments, 0).get$asList();
  54671. if (list.length < 2)
  54672. throw A.wrapException(A.SassScriptException$("At least two elements are required.", null));
  54673. return A.SassList$(list, B.ListSeparator_bRz, false);
  54674. },
  54675. $signature: 27
  54676. };
  54677. A._get_closure.prototype = {
  54678. call$1($arguments) {
  54679. var value,
  54680. t1 = J.getInterceptor$asx($arguments),
  54681. map = t1.$index($arguments, 0).assertMap$1("map"),
  54682. t2 = A._setArrayType([t1.$index($arguments, 1)], type$.JSArray_Value);
  54683. B.JSArray_methods.addAll$1(t2, t1.$index($arguments, 2).get$asList());
  54684. for (t1 = A.IterableExtension_get_exceptLast(t2), t1 = t1.get$iterator(t1); t1.moveNext$0(); map = value) {
  54685. value = map._map$_contents.$index(0, t1.get$current(t1));
  54686. if (!(value instanceof A.SassMap))
  54687. return B.C__SassNull;
  54688. }
  54689. t1 = map._map$_contents.$index(0, B.JSArray_methods.get$last(t2));
  54690. return t1 == null ? B.C__SassNull : t1;
  54691. },
  54692. $signature: 4
  54693. };
  54694. A._set_closure.prototype = {
  54695. call$1($arguments) {
  54696. var t1 = J.getInterceptor$asx($arguments);
  54697. 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);
  54698. },
  54699. $signature: 4
  54700. };
  54701. A._set__closure0.prototype = {
  54702. call$1(_) {
  54703. return J.$index$asx(this.$arguments, 2);
  54704. },
  54705. $signature: 42
  54706. };
  54707. A._set_closure0.prototype = {
  54708. call$1($arguments) {
  54709. var keys, t2, t3,
  54710. t1 = J.getInterceptor$asx($arguments),
  54711. map = t1.$index($arguments, 0).assertMap$1("map"),
  54712. _0_0 = t1.$index($arguments, 1).get$asList(),
  54713. _0_1 = _0_0.length;
  54714. if (_0_1 <= 0)
  54715. throw A.wrapException(A.SassScriptException$("Expected $args to contain a key.", null));
  54716. if (_0_1 === 1)
  54717. throw A.wrapException(A.SassScriptException$("Expected $args to contain a value.", null));
  54718. t1 = {};
  54719. keys = t1.value = null;
  54720. t2 = _0_1 >= 1;
  54721. if (t2) {
  54722. t3 = _0_1 - 1;
  54723. keys = B.JSArray_methods.sublist$2(_0_0, 0, t3);
  54724. t1.value = _0_0[t3];
  54725. }
  54726. if (t2)
  54727. return A._modify(map, keys, new A._set__closure(t1), true);
  54728. throw A.wrapException("[BUG] Unreachable code");
  54729. },
  54730. $signature: 4
  54731. };
  54732. A._set__closure.prototype = {
  54733. call$1(_) {
  54734. return this._box_0.value;
  54735. },
  54736. $signature: 42
  54737. };
  54738. A._merge_closure.prototype = {
  54739. call$1($arguments) {
  54740. var t2,
  54741. t1 = J.getInterceptor$asx($arguments),
  54742. map1 = t1.$index($arguments, 0).assertMap$1("map1"),
  54743. map2 = t1.$index($arguments, 1).assertMap$1("map2");
  54744. t1 = type$.Value;
  54745. t2 = A.LinkedHashMap_LinkedHashMap$of(map1._map$_contents, t1, t1);
  54746. t2.addAll$1(0, map2._map$_contents);
  54747. return new A.SassMap(A.ConstantMap_ConstantMap$from(t2, t1, t1));
  54748. },
  54749. $signature: 38
  54750. };
  54751. A._merge_closure0.prototype = {
  54752. call$1($arguments) {
  54753. var last, t2, keys, _null = null,
  54754. t1 = J.getInterceptor$asx($arguments),
  54755. map1 = t1.$index($arguments, 0).assertMap$1("map1"),
  54756. _0_0 = t1.$index($arguments, 1).get$asList(),
  54757. _0_1 = _0_0.length;
  54758. if (_0_1 <= 0)
  54759. throw A.wrapException(A.SassScriptException$("Expected $args to contain a key.", _null));
  54760. if (_0_1 === 1)
  54761. throw A.wrapException(A.SassScriptException$("Expected $args to contain a map.", _null));
  54762. t1 = _0_1 >= 1;
  54763. last = _null;
  54764. if (t1) {
  54765. t2 = _0_1 - 1;
  54766. keys = B.JSArray_methods.sublist$2(_0_0, 0, t2);
  54767. last = _0_0[t2];
  54768. } else
  54769. keys = _null;
  54770. if (t1)
  54771. return A._modify(map1, keys, new A._merge__closure(last.assertMap$1("map2")), true);
  54772. throw A.wrapException("[BUG] Unreachable code");
  54773. },
  54774. $signature: 4
  54775. };
  54776. A._merge__closure.prototype = {
  54777. call$1(oldValue) {
  54778. var t1, t2,
  54779. nestedMap = oldValue.tryMap$0();
  54780. if (nestedMap == null)
  54781. return this.map2;
  54782. t1 = type$.Value;
  54783. t2 = A.LinkedHashMap_LinkedHashMap$of(nestedMap._map$_contents, t1, t1);
  54784. t2.addAll$1(0, this.map2._map$_contents);
  54785. return new A.SassMap(A.ConstantMap_ConstantMap$from(t2, t1, t1));
  54786. },
  54787. $signature: 650
  54788. };
  54789. A._deepMerge_closure.prototype = {
  54790. call$1($arguments) {
  54791. var t1 = J.getInterceptor$asx($arguments);
  54792. return A._deepMergeImpl(t1.$index($arguments, 0).assertMap$1("map1"), t1.$index($arguments, 1).assertMap$1("map2"));
  54793. },
  54794. $signature: 38
  54795. };
  54796. A._deepRemove_closure.prototype = {
  54797. call$1($arguments) {
  54798. var t1 = J.getInterceptor$asx($arguments),
  54799. map = t1.$index($arguments, 0).assertMap$1("map"),
  54800. t2 = A._setArrayType([t1.$index($arguments, 1)], type$.JSArray_Value);
  54801. B.JSArray_methods.addAll$1(t2, t1.$index($arguments, 2).get$asList());
  54802. return A._modify(map, A.IterableExtension_get_exceptLast(t2), new A._deepRemove__closure(t2), false);
  54803. },
  54804. $signature: 4
  54805. };
  54806. A._deepRemove__closure.prototype = {
  54807. call$1(value) {
  54808. var t1, nestedMap, t2,
  54809. _0_0 = value.tryMap$0();
  54810. if (_0_0 != null) {
  54811. t1 = _0_0._map$_contents.containsKey$1(B.JSArray_methods.get$last(this.keys));
  54812. nestedMap = _0_0;
  54813. } else {
  54814. nestedMap = null;
  54815. t1 = false;
  54816. }
  54817. if (t1) {
  54818. t1 = type$.Value;
  54819. t2 = A.LinkedHashMap_LinkedHashMap$of(nestedMap._map$_contents, t1, t1);
  54820. t2.remove$1(0, B.JSArray_methods.get$last(this.keys));
  54821. return new A.SassMap(A.ConstantMap_ConstantMap$from(t2, t1, t1));
  54822. }
  54823. return value;
  54824. },
  54825. $signature: 42
  54826. };
  54827. A._remove_closure.prototype = {
  54828. call$1($arguments) {
  54829. return J.$index$asx($arguments, 0).assertMap$1("map");
  54830. },
  54831. $signature: 38
  54832. };
  54833. A._remove_closure0.prototype = {
  54834. call$1($arguments) {
  54835. var mutableMap, t3, _i,
  54836. t1 = J.getInterceptor$asx($arguments),
  54837. map = t1.$index($arguments, 0).assertMap$1("map"),
  54838. t2 = A._setArrayType([t1.$index($arguments, 1)], type$.JSArray_Value);
  54839. B.JSArray_methods.addAll$1(t2, t1.$index($arguments, 2).get$asList());
  54840. t1 = type$.Value;
  54841. mutableMap = A.LinkedHashMap_LinkedHashMap$of(map._map$_contents, t1, t1);
  54842. for (t3 = t2.length, _i = 0; _i < t2.length; t2.length === t3 || (0, A.throwConcurrentModificationError)(t2), ++_i)
  54843. mutableMap.remove$1(0, t2[_i]);
  54844. return new A.SassMap(A.ConstantMap_ConstantMap$from(mutableMap, t1, t1));
  54845. },
  54846. $signature: 38
  54847. };
  54848. A._keys_closure.prototype = {
  54849. call$1($arguments) {
  54850. var t1 = J.$index$asx($arguments, 0).assertMap$1("map")._map$_contents;
  54851. return A.SassList$(t1.get$keys(t1), B.ListSeparator_qVN, false);
  54852. },
  54853. $signature: 27
  54854. };
  54855. A._values_closure.prototype = {
  54856. call$1($arguments) {
  54857. var t1 = J.$index$asx($arguments, 0).assertMap$1("map")._map$_contents;
  54858. return A.SassList$(t1.get$values(t1), B.ListSeparator_qVN, false);
  54859. },
  54860. $signature: 27
  54861. };
  54862. A._hasKey_closure.prototype = {
  54863. call$1($arguments) {
  54864. var value,
  54865. t1 = J.getInterceptor$asx($arguments),
  54866. map = t1.$index($arguments, 0).assertMap$1("map"),
  54867. t2 = A._setArrayType([t1.$index($arguments, 1)], type$.JSArray_Value);
  54868. B.JSArray_methods.addAll$1(t2, t1.$index($arguments, 2).get$asList());
  54869. for (t1 = A.IterableExtension_get_exceptLast(t2), t1 = t1.get$iterator(t1); t1.moveNext$0(); map = value) {
  54870. value = map._map$_contents.$index(0, t1.get$current(t1));
  54871. if (!(value instanceof A.SassMap))
  54872. return B.SassBoolean_false;
  54873. }
  54874. return map._map$_contents.containsKey$1(B.JSArray_methods.get$last(t2)) ? B.SassBoolean_true : B.SassBoolean_false;
  54875. },
  54876. $signature: 12
  54877. };
  54878. A._modify_modifyNestedMap.prototype = {
  54879. call$1(map) {
  54880. var nestedMap, _this = this,
  54881. t1 = type$.Value,
  54882. mutableMap = A.LinkedHashMap_LinkedHashMap$of(map._map$_contents, t1, t1),
  54883. t2 = _this.keyIterator,
  54884. key = t2.get$current(t2);
  54885. if (!t2.moveNext$0()) {
  54886. t2 = mutableMap.$index(0, key);
  54887. if (t2 == null)
  54888. t2 = B.C__SassNull;
  54889. mutableMap.$indexSet(0, key, _this.modify.call$1(t2));
  54890. return new A.SassMap(A.ConstantMap_ConstantMap$from(mutableMap, t1, t1));
  54891. }
  54892. t2 = mutableMap.$index(0, key);
  54893. nestedMap = t2 == null ? null : t2.tryMap$0();
  54894. t2 = nestedMap == null;
  54895. if (t2 && !_this.addNesting)
  54896. return new A.SassMap(A.ConstantMap_ConstantMap$from(mutableMap, t1, t1));
  54897. mutableMap.$indexSet(0, key, _this.call$1(t2 ? B.SassMap_Map_empty : nestedMap));
  54898. return new A.SassMap(A.ConstantMap_ConstantMap$from(mutableMap, t1, t1));
  54899. },
  54900. $signature: 671
  54901. };
  54902. A.global_closure.prototype = {
  54903. call$1($arguments) {
  54904. var t1,
  54905. number = J.$index$asx($arguments, 0).assertNumber$1("number");
  54906. if (number.hasUnit$1("%"))
  54907. A.warnForDeprecation(string$.Passinp + number.toString$0(0) + ")\nTo emit a CSS abs() now: abs(#{" + number.toString$0(0) + string$.x7d__Mor, B.Deprecation_pLJ);
  54908. else
  54909. A.warnForDeprecation(string$.Globalm, B.Deprecation_1AX);
  54910. t1 = number.get$numeratorUnits(number);
  54911. return A.SassNumber_SassNumber$withUnits(Math.abs(number._number$_value), number.get$denominatorUnits(number), t1);
  54912. },
  54913. $signature: 24
  54914. };
  54915. A.module_closure0.prototype = {
  54916. call$1(value) {
  54917. return Math.abs(value);
  54918. },
  54919. $signature: 16
  54920. };
  54921. A._ceil_closure.prototype = {
  54922. call$1(value) {
  54923. return B.JSNumber_methods.ceil$0(value);
  54924. },
  54925. $signature: 16
  54926. };
  54927. A._clamp_closure.prototype = {
  54928. call$1($arguments) {
  54929. var t1 = J.getInterceptor$asx($arguments),
  54930. min = t1.$index($arguments, 0).assertNumber$1("min"),
  54931. number = t1.$index($arguments, 1).assertNumber$1("number"),
  54932. max = t1.$index($arguments, 2).assertNumber$1("max");
  54933. number.convertValueToMatch$3(min, "number", "min");
  54934. max.convertValueToMatch$3(min, "max", "min");
  54935. if (min.greaterThanOrEquals$1(max).value)
  54936. return min;
  54937. if (min.greaterThanOrEquals$1(number).value)
  54938. return min;
  54939. if (number.greaterThanOrEquals$1(max).value)
  54940. return max;
  54941. return number;
  54942. },
  54943. $signature: 24
  54944. };
  54945. A._floor_closure.prototype = {
  54946. call$1(value) {
  54947. return B.JSNumber_methods.floor$0(value);
  54948. },
  54949. $signature: 16
  54950. };
  54951. A._max_closure.prototype = {
  54952. call$1($arguments) {
  54953. var t1, t2, max, _i, number;
  54954. 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) {
  54955. number = t1[_i].assertNumber$0();
  54956. if (max == null || max.lessThan$1(number).value)
  54957. max = number;
  54958. }
  54959. if (max != null)
  54960. return max;
  54961. throw A.wrapException(A.SassScriptException$("At least one argument must be passed.", null));
  54962. },
  54963. $signature: 24
  54964. };
  54965. A._min_closure.prototype = {
  54966. call$1($arguments) {
  54967. var t1, t2, min, _i, number;
  54968. 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) {
  54969. number = t1[_i].assertNumber$0();
  54970. if (min == null || min.greaterThan$1(number).value)
  54971. min = number;
  54972. }
  54973. if (min != null)
  54974. return min;
  54975. throw A.wrapException(A.SassScriptException$("At least one argument must be passed.", null));
  54976. },
  54977. $signature: 24
  54978. };
  54979. A._round_closure.prototype = {
  54980. call$1(number) {
  54981. return B.JSNumber_methods.round$0(number);
  54982. },
  54983. $signature: 16
  54984. };
  54985. A._hypot_closure.prototype = {
  54986. call$1($arguments) {
  54987. var subtotal, i, i0, t3,
  54988. t1 = J.$index$asx($arguments, 0).get$asList(),
  54989. t2 = A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,SassNumber>"),
  54990. numbers = A.List_List$_of(new A.MappedListIterable(t1, new A._hypot__closure(), t2), t2._eval$1("ListIterable.E"));
  54991. if (numbers.length === 0)
  54992. throw A.wrapException(A.SassScriptException$("At least one argument must be passed.", null));
  54993. for (subtotal = 0, i = 0; i < numbers.length; i = i0) {
  54994. i0 = i + 1;
  54995. subtotal += Math.pow(numbers[i].convertValueToMatch$3(numbers[0], "numbers[" + i0 + "]", "numbers[1]"), 2);
  54996. }
  54997. t1 = Math.sqrt(subtotal);
  54998. t2 = numbers[0];
  54999. t2 = t2.get$numeratorUnits(t2);
  55000. t3 = numbers[0];
  55001. return A.SassNumber_SassNumber$withUnits(t1, t3.get$denominatorUnits(t3), t2);
  55002. },
  55003. $signature: 24
  55004. };
  55005. A._hypot__closure.prototype = {
  55006. call$1(argument) {
  55007. return argument.assertNumber$0();
  55008. },
  55009. $signature: 672
  55010. };
  55011. A._log_closure.prototype = {
  55012. call$1($arguments) {
  55013. var base,
  55014. _s18_ = " to have no units.",
  55015. _null = null,
  55016. t1 = J.getInterceptor$asx($arguments),
  55017. number = t1.$index($arguments, 0).assertNumber$1("number");
  55018. if (number.get$hasUnits())
  55019. throw A.wrapException(A.SassScriptException$("$number: Expected " + number.toString$0(0) + _s18_, _null));
  55020. else if (t1.$index($arguments, 1).$eq(0, B.C__SassNull))
  55021. return A.SassNumber_SassNumber(Math.log(number._number$_value), _null);
  55022. base = t1.$index($arguments, 1).assertNumber$1("base");
  55023. if (base.get$hasUnits())
  55024. throw A.wrapException(A.SassScriptException$("$base: Expected " + base.toString$0(0) + _s18_, _null));
  55025. else
  55026. return A.SassNumber_SassNumber(Math.log(number._number$_value) / Math.log(base._number$_value), _null);
  55027. },
  55028. $signature: 24
  55029. };
  55030. A._pow_closure.prototype = {
  55031. call$1($arguments) {
  55032. var t1 = J.getInterceptor$asx($arguments);
  55033. return A.pow0(t1.$index($arguments, 0).assertNumber$1("base"), t1.$index($arguments, 1).assertNumber$1("exponent"));
  55034. },
  55035. $signature: 24
  55036. };
  55037. A._atan2_closure.prototype = {
  55038. call$1($arguments) {
  55039. var t1 = J.getInterceptor$asx($arguments),
  55040. y = t1.$index($arguments, 0).assertNumber$1("y");
  55041. return A.SassNumber_SassNumber$withUnits(Math.atan2(y._number$_value, t1.$index($arguments, 1).assertNumber$1("x").convertValueToMatch$3(y, "x", "y")) * 57.29577951308232, null, A._setArrayType(["deg"], type$.JSArray_String));
  55042. },
  55043. $signature: 24
  55044. };
  55045. A._compatible_closure.prototype = {
  55046. call$1($arguments) {
  55047. var t1 = J.getInterceptor$asx($arguments);
  55048. return t1.$index($arguments, 0).assertNumber$1("number1").isComparableTo$1(t1.$index($arguments, 1).assertNumber$1("number2")) ? B.SassBoolean_true : B.SassBoolean_false;
  55049. },
  55050. $signature: 12
  55051. };
  55052. A._isUnitless_closure.prototype = {
  55053. call$1($arguments) {
  55054. return !J.$index$asx($arguments, 0).assertNumber$1("number").get$hasUnits() ? B.SassBoolean_true : B.SassBoolean_false;
  55055. },
  55056. $signature: 12
  55057. };
  55058. A._unit_closure.prototype = {
  55059. call$1($arguments) {
  55060. return new A.SassString(J.$index$asx($arguments, 0).assertNumber$1("number").get$unitString(), true);
  55061. },
  55062. $signature: 17
  55063. };
  55064. A._percentage_closure.prototype = {
  55065. call$1($arguments) {
  55066. var number = J.$index$asx($arguments, 0).assertNumber$1("number");
  55067. number.assertNoUnits$1("number");
  55068. return A.SassNumber_SassNumber(number._number$_value * 100, "%");
  55069. },
  55070. $signature: 24
  55071. };
  55072. A._randomFunction_closure.prototype = {
  55073. call$1($arguments) {
  55074. var limit, limitScalar,
  55075. t1 = J.getInterceptor$asx($arguments);
  55076. if (t1.$index($arguments, 0).$eq(0, B.C__SassNull))
  55077. return A.SassNumber_SassNumber($.$get$_random0().nextDouble$0(), null);
  55078. limit = t1.$index($arguments, 0).assertNumber$1("limit");
  55079. if (limit.get$hasUnits())
  55080. A.warnForDeprecation(string$.math_r + limit.toString$0(0) + string$.x29x20in_a + limit.get$unitString() + ")) * 1" + limit.get$unitString() + string$.x0a_To_p + limit.get$unitString() + string$.x29x29__Mo, B.Deprecation_jG1);
  55081. limitScalar = limit.assertInt$1("limit");
  55082. if (limitScalar < 1)
  55083. throw A.wrapException(A.SassScriptException$("$limit: Must be greater than 0, was " + limit.toString$0(0) + ".", null));
  55084. return A.SassNumber_SassNumber($.$get$_random0().nextInt$1(limitScalar) + 1, null);
  55085. },
  55086. $signature: 24
  55087. };
  55088. A._div_closure.prototype = {
  55089. call$1($arguments) {
  55090. var t1 = J.getInterceptor$asx($arguments),
  55091. number1 = t1.$index($arguments, 0),
  55092. number2 = t1.$index($arguments, 1);
  55093. if (!(number1 instanceof A.SassNumber) || !(number2 instanceof A.SassNumber))
  55094. A.warn(string$.math_d);
  55095. return number1.dividedBy$1(number2);
  55096. },
  55097. $signature: 4
  55098. };
  55099. A._singleArgumentMathFunc_closure.prototype = {
  55100. call$1($arguments) {
  55101. return this.mathFunc.call$1(J.$index$asx($arguments, 0).assertNumber$1("number"));
  55102. },
  55103. $signature: 24
  55104. };
  55105. A._numberFunction_closure.prototype = {
  55106. call$1($arguments) {
  55107. var number = J.$index$asx($arguments, 0).assertNumber$1("number"),
  55108. t1 = this.transform.call$1(number._number$_value),
  55109. t2 = number.get$numeratorUnits(number);
  55110. return A.SassNumber_SassNumber$withUnits(t1, number.get$denominatorUnits(number), t2);
  55111. },
  55112. $signature: 24
  55113. };
  55114. A._shared_closure.prototype = {
  55115. call$1($arguments) {
  55116. A.warnForDeprecation(string$.The_fe, B.Deprecation_hcg);
  55117. return $._features.contains$1(0, J.$index$asx($arguments, 0).assertString$1("feature")._string$_text) ? B.SassBoolean_true : B.SassBoolean_false;
  55118. },
  55119. $signature: 12
  55120. };
  55121. A._shared_closure0.prototype = {
  55122. call$1($arguments) {
  55123. return new A.SassString(A.serializeValue(J.get$first$ax($arguments), true, true), false);
  55124. },
  55125. $signature: 17
  55126. };
  55127. A._shared_closure1.prototype = {
  55128. call$1($arguments) {
  55129. var t1 = J.getInterceptor$asx($arguments),
  55130. _0_0 = t1.$index($arguments, 0);
  55131. $label0$0: {
  55132. if (_0_0 instanceof A.SassArgumentList) {
  55133. t1 = "arglist";
  55134. break $label0$0;
  55135. }
  55136. if (_0_0 instanceof A.SassBoolean) {
  55137. t1 = "bool";
  55138. break $label0$0;
  55139. }
  55140. if (_0_0 instanceof A.SassColor) {
  55141. t1 = "color";
  55142. break $label0$0;
  55143. }
  55144. if (_0_0 instanceof A.SassList) {
  55145. t1 = "list";
  55146. break $label0$0;
  55147. }
  55148. if (_0_0 instanceof A.SassMap) {
  55149. t1 = "map";
  55150. break $label0$0;
  55151. }
  55152. if (B.C__SassNull === _0_0) {
  55153. t1 = "null";
  55154. break $label0$0;
  55155. }
  55156. if (_0_0 instanceof A.SassNumber) {
  55157. t1 = "number";
  55158. break $label0$0;
  55159. }
  55160. if (_0_0 instanceof A.SassFunction) {
  55161. t1 = "function";
  55162. break $label0$0;
  55163. }
  55164. if (_0_0 instanceof A.SassMixin) {
  55165. t1 = "mixin";
  55166. break $label0$0;
  55167. }
  55168. if (_0_0 instanceof A.SassCalculation) {
  55169. t1 = "calculation";
  55170. break $label0$0;
  55171. }
  55172. if (_0_0 instanceof A.SassString) {
  55173. t1 = "string";
  55174. break $label0$0;
  55175. }
  55176. t1 = A.throwExpression("[BUG] Unknown value type " + t1.$index($arguments, 0).toString$0(0));
  55177. }
  55178. return new A.SassString(t1, false);
  55179. },
  55180. $signature: 17
  55181. };
  55182. A._shared_closure2.prototype = {
  55183. call$1($arguments) {
  55184. var t2, t3, t4,
  55185. t1 = J.getInterceptor$asx($arguments),
  55186. _1_0 = t1.$index($arguments, 0);
  55187. if (_1_0 instanceof A.SassArgumentList) {
  55188. _1_0._wereKeywordsAccessed = true;
  55189. t1 = type$.Value;
  55190. t2 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t1);
  55191. for (t3 = A.MapExtensions_get_pairs(_1_0._keywords, type$.String, t1), t3 = t3.get$iterator(t3); t3.moveNext$0();) {
  55192. t4 = t3.get$current(t3);
  55193. t2.$indexSet(0, new A.SassString(t4._0, false), t4._1);
  55194. }
  55195. return new A.SassMap(A.ConstantMap_ConstantMap$from(t2, t1, t1));
  55196. } else
  55197. throw A.wrapException("$args: " + t1.$index($arguments, 0).toString$0(0) + " is not an argument list.");
  55198. },
  55199. $signature: 38
  55200. };
  55201. A.moduleFunctions_closure.prototype = {
  55202. call$1($arguments) {
  55203. return new A.SassString(J.$index$asx($arguments, 0).assertCalculation$1("calc").name, true);
  55204. },
  55205. $signature: 17
  55206. };
  55207. A.moduleFunctions_closure0.prototype = {
  55208. call$1($arguments) {
  55209. var t1 = J.$index$asx($arguments, 0).assertCalculation$1("calc").$arguments;
  55210. return A.SassList$(new A.MappedListIterable(t1, new A.moduleFunctions__closure(), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,Value>")), B.ListSeparator_qVN, false);
  55211. },
  55212. $signature: 27
  55213. };
  55214. A.moduleFunctions__closure.prototype = {
  55215. call$1(argument) {
  55216. return argument instanceof A.Value ? argument : new A.SassString(J.toString$0$(argument), false);
  55217. },
  55218. $signature: 673
  55219. };
  55220. A.moduleFunctions_closure1.prototype = {
  55221. call$1($arguments) {
  55222. var _0_2_isSet, acceptsContent, t1, _0_5_isSet, _0_5, hasContent,
  55223. mixin = J.$index$asx($arguments, 0).assertMixin$1("mixin"),
  55224. _0_0 = mixin.callable;
  55225. $label0$0: {
  55226. _0_2_isSet = type$.AsyncBuiltInCallable._is(_0_0);
  55227. if (_0_2_isSet)
  55228. acceptsContent = _0_0.get$acceptsContent();
  55229. else
  55230. acceptsContent = null;
  55231. if (!_0_2_isSet) {
  55232. _0_2_isSet = _0_0 instanceof A.BuiltInCallable;
  55233. if (_0_2_isSet)
  55234. acceptsContent = _0_0.acceptsContent;
  55235. t1 = _0_2_isSet;
  55236. } else
  55237. t1 = true;
  55238. if (t1) {
  55239. t1 = acceptsContent;
  55240. break $label0$0;
  55241. }
  55242. _0_5_isSet = _0_0 instanceof A.UserDefinedCallable;
  55243. if (_0_5_isSet) {
  55244. _0_5 = _0_0.declaration;
  55245. t1 = _0_5;
  55246. t1 = t1 instanceof A.MixinRule;
  55247. } else {
  55248. _0_5 = null;
  55249. t1 = false;
  55250. }
  55251. if (t1) {
  55252. t1 = _0_5_isSet ? _0_5 : _0_0.declaration;
  55253. hasContent = type$.MixinRule._as(t1).get$hasContent();
  55254. t1 = hasContent;
  55255. break $label0$0;
  55256. }
  55257. t1 = A.throwExpression(A.UnsupportedError$("Unknown callable type " + mixin.toString$0(0) + "."));
  55258. }
  55259. return t1 ? B.SassBoolean_true : B.SassBoolean_false;
  55260. },
  55261. $signature: 12
  55262. };
  55263. A._nest_closure.prototype = {
  55264. call$1($arguments) {
  55265. var t1 = {},
  55266. selectors = J.$index$asx($arguments, 0).get$asList();
  55267. if (selectors.length === 0)
  55268. throw A.wrapException(A.SassScriptException$(string$.x24selec, null));
  55269. t1.first = true;
  55270. 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();
  55271. },
  55272. $signature: 27
  55273. };
  55274. A._nest__closure.prototype = {
  55275. call$1(selector) {
  55276. var t1 = this._box_0,
  55277. result = A.SassApiValue_assertSelector(selector, !t1.first, null);
  55278. t1.first = false;
  55279. return result;
  55280. },
  55281. $signature: 204
  55282. };
  55283. A._nest__closure0.prototype = {
  55284. call$2($parent, child) {
  55285. return child.nestWithin$1($parent);
  55286. },
  55287. $signature: 143
  55288. };
  55289. A._append_closure.prototype = {
  55290. call$1($arguments) {
  55291. var t1,
  55292. selectors = J.$index$asx($arguments, 0).get$asList();
  55293. if (selectors.length === 0)
  55294. throw A.wrapException(A.SassScriptException$(string$.x24selec, null));
  55295. t1 = A.EvaluationContext_currentOrNull();
  55296. return new A.MappedListIterable(selectors, new A._append__closure(), A._arrayInstanceType(selectors)._eval$1("MappedListIterable<1,SelectorList>")).reduce$1(0, new A._append__closure0((t1 == null ? A.throwExpression(A.StateError$(string$.No_Sass)) : t1).get$currentCallableSpan())).get$asSassList();
  55297. },
  55298. $signature: 27
  55299. };
  55300. A._append__closure.prototype = {
  55301. call$1(selector) {
  55302. return A.SassApiValue_assertSelector(selector, false, null);
  55303. },
  55304. $signature: 204
  55305. };
  55306. A._append__closure0.prototype = {
  55307. call$2($parent, child) {
  55308. var t1 = child.components,
  55309. t2 = this.span;
  55310. return A.SelectorList$(new A.MappedListIterable(t1, new A._append___closure($parent, t2), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,ComplexSelector>")), t2).nestWithin$1($parent);
  55311. },
  55312. $signature: 143
  55313. };
  55314. A._append___closure.prototype = {
  55315. call$1(complex) {
  55316. var _0_0, t1, component, rest, newCompound, t2, _null = null;
  55317. if (complex.leadingCombinators.length !== 0)
  55318. throw A.wrapException(A.SassScriptException$("Can't append " + complex.toString$0(0) + " to " + this.parent.toString$0(0) + ".", _null));
  55319. _0_0 = complex.components;
  55320. t1 = _0_0.length >= 1;
  55321. if (t1) {
  55322. component = _0_0[0];
  55323. rest = B.JSArray_methods.sublist$1(_0_0, 1);
  55324. } else {
  55325. rest = _null;
  55326. component = rest;
  55327. }
  55328. if (!t1)
  55329. throw A.wrapException(A.StateError$("Pattern matching error"));
  55330. newCompound = A._prependParent(component.selector);
  55331. if (newCompound == null)
  55332. throw A.wrapException(A.SassScriptException$("Can't append " + complex.toString$0(0) + " to " + this.parent.toString$0(0) + ".", _null));
  55333. t1 = this.span;
  55334. t2 = A._setArrayType([new A.ComplexSelectorComponent(newCompound, A.List_List$unmodifiable(component.combinators, type$.CssValue_Combinator), t1)], type$.JSArray_ComplexSelectorComponent);
  55335. B.JSArray_methods.addAll$1(t2, rest);
  55336. return A.ComplexSelector$(B.List_empty0, t2, t1, false);
  55337. },
  55338. $signature: 59
  55339. };
  55340. A._extend_closure.prototype = {
  55341. call$1($arguments) {
  55342. var target, source,
  55343. _s8_ = "selector",
  55344. _s8_0 = "extendee",
  55345. _s8_1 = "extender",
  55346. t1 = J.getInterceptor$asx($arguments),
  55347. selector = A.SassApiValue_assertSelector(t1.$index($arguments, 0), false, _s8_);
  55348. selector.assertNotBogus$1$name(_s8_);
  55349. target = A.SassApiValue_assertSelector(t1.$index($arguments, 1), false, _s8_0);
  55350. target.assertNotBogus$1$name(_s8_0);
  55351. source = A.SassApiValue_assertSelector(t1.$index($arguments, 2), false, _s8_1);
  55352. source.assertNotBogus$1$name(_s8_1);
  55353. t1 = A.EvaluationContext_currentOrNull();
  55354. return A.ExtensionStore__extendOrReplace(selector, source, target, B.ExtendMode_allTargets_allTargets, (t1 == null ? A.throwExpression(A.StateError$(string$.No_Sass)) : t1).get$currentCallableSpan()).get$asSassList();
  55355. },
  55356. $signature: 27
  55357. };
  55358. A._replace_closure.prototype = {
  55359. call$1($arguments) {
  55360. var target, source,
  55361. _s8_ = "selector",
  55362. _s8_0 = "original",
  55363. _s11_ = "replacement",
  55364. t1 = J.getInterceptor$asx($arguments),
  55365. selector = A.SassApiValue_assertSelector(t1.$index($arguments, 0), false, _s8_);
  55366. selector.assertNotBogus$1$name(_s8_);
  55367. target = A.SassApiValue_assertSelector(t1.$index($arguments, 1), false, _s8_0);
  55368. target.assertNotBogus$1$name(_s8_0);
  55369. source = A.SassApiValue_assertSelector(t1.$index($arguments, 2), false, _s11_);
  55370. source.assertNotBogus$1$name(_s11_);
  55371. t1 = A.EvaluationContext_currentOrNull();
  55372. return A.ExtensionStore__extendOrReplace(selector, source, target, B.ExtendMode_replace_replace, (t1 == null ? A.throwExpression(A.StateError$(string$.No_Sass)) : t1).get$currentCallableSpan()).get$asSassList();
  55373. },
  55374. $signature: 27
  55375. };
  55376. A._unify_closure.prototype = {
  55377. call$1($arguments) {
  55378. var selector2,
  55379. _s9_ = "selector1",
  55380. _s9_0 = "selector2",
  55381. t1 = J.getInterceptor$asx($arguments),
  55382. selector1 = A.SassApiValue_assertSelector(t1.$index($arguments, 0), false, _s9_);
  55383. selector1.assertNotBogus$1$name(_s9_);
  55384. selector2 = A.SassApiValue_assertSelector(t1.$index($arguments, 1), false, _s9_0);
  55385. selector2.assertNotBogus$1$name(_s9_0);
  55386. t1 = selector1.unify$1(selector2);
  55387. t1 = t1 == null ? null : t1.get$asSassList();
  55388. return t1 == null ? B.C__SassNull : t1;
  55389. },
  55390. $signature: 4
  55391. };
  55392. A._isSuperselector_closure.prototype = {
  55393. call$1($arguments) {
  55394. var selector2,
  55395. t1 = J.getInterceptor$asx($arguments),
  55396. selector1 = A.SassApiValue_assertSelector(t1.$index($arguments, 0), false, "super");
  55397. selector1.assertNotBogus$1$name("super");
  55398. selector2 = A.SassApiValue_assertSelector(t1.$index($arguments, 1), false, "sub");
  55399. selector2.assertNotBogus$1$name("sub");
  55400. return A.listIsSuperselector(selector1.components, selector2.components) ? B.SassBoolean_true : B.SassBoolean_false;
  55401. },
  55402. $signature: 12
  55403. };
  55404. A._simpleSelectors_closure.prototype = {
  55405. call$1($arguments) {
  55406. var t1 = A.SassApiValue_assertCompoundSelector(J.$index$asx($arguments, 0), "selector").components;
  55407. return A.SassList$(new A.MappedListIterable(t1, new A._simpleSelectors__closure(), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,Value>")), B.ListSeparator_qVN, false);
  55408. },
  55409. $signature: 27
  55410. };
  55411. A._simpleSelectors__closure.prototype = {
  55412. call$1(simple) {
  55413. return new A.SassString(A.serializeSelector(simple, true), false);
  55414. },
  55415. $signature: 333
  55416. };
  55417. A._parse_closure.prototype = {
  55418. call$1($arguments) {
  55419. return A.SassApiValue_assertSelector(J.$index$asx($arguments, 0), false, "selector").get$asSassList();
  55420. },
  55421. $signature: 27
  55422. };
  55423. A.module_closure.prototype = {
  55424. call$1($arguments) {
  55425. var limit, t2, chunks, i, lastEnd, match, t3,
  55426. t1 = J.getInterceptor$asx($arguments),
  55427. string = t1.$index($arguments, 0).assertString$1("string"),
  55428. separator = t1.$index($arguments, 1).assertString$1("separator");
  55429. t1 = t1.$index($arguments, 2).get$realNull();
  55430. limit = t1 == null ? null : t1.assertNumber$1("limit").assertInt$1("limit");
  55431. if (limit != null && limit < 1)
  55432. throw A.wrapException(A.SassScriptException$("$limit: Must be 1 or greater, was " + A.S(limit) + ".", null));
  55433. t1 = string._string$_text;
  55434. if (t1.length === 0)
  55435. return B.SassList_qAD;
  55436. else {
  55437. t2 = separator._string$_text;
  55438. if (t2.length === 0)
  55439. return A.SassList$(A.MappedIterable_MappedIterable(new A.Runes(t1), new A.module__closure(string), type$.Runes._eval$1("Iterable.E"), type$.Value), B.ListSeparator_qVN, true);
  55440. }
  55441. chunks = A._setArrayType([], type$.JSArray_String);
  55442. for (t2 = B.JSString_methods.allMatches$1(t2, t1), t2 = new A._StringAllMatchesIterator(t2._input, t2._pattern, t2.__js_helper$_index), i = 0, lastEnd = 0; t2.moveNext$0();) {
  55443. match = t2.__js_helper$_current;
  55444. t3 = match.start;
  55445. chunks.push(B.JSString_methods.substring$2(t1, lastEnd, t3));
  55446. lastEnd = t3 + match.pattern.length;
  55447. ++i;
  55448. if (i === limit)
  55449. break;
  55450. }
  55451. chunks.push(B.JSString_methods.substring$1(t1, lastEnd));
  55452. return A.SassList$(new A.MappedListIterable(chunks, new A.module__closure0(string), type$.MappedListIterable_String_Value), B.ListSeparator_qVN, true);
  55453. },
  55454. $signature: 27
  55455. };
  55456. A.module__closure.prototype = {
  55457. call$1(rune) {
  55458. return new A.SassString(A.Primitives_stringFromCharCode(rune), this.string._hasQuotes);
  55459. },
  55460. $signature: 419
  55461. };
  55462. A.module__closure0.prototype = {
  55463. call$1(chunk) {
  55464. return new A.SassString(chunk, this.string._hasQuotes);
  55465. },
  55466. $signature: 324
  55467. };
  55468. A._unquote_closure.prototype = {
  55469. call$1($arguments) {
  55470. var string = J.$index$asx($arguments, 0).assertString$1("string");
  55471. if (!string._hasQuotes)
  55472. return string;
  55473. return new A.SassString(string._string$_text, false);
  55474. },
  55475. $signature: 17
  55476. };
  55477. A._quote_closure.prototype = {
  55478. call$1($arguments) {
  55479. var string = J.$index$asx($arguments, 0).assertString$1("string");
  55480. if (string._hasQuotes)
  55481. return string;
  55482. return new A.SassString(string._string$_text, true);
  55483. },
  55484. $signature: 17
  55485. };
  55486. A._length_closure.prototype = {
  55487. call$1($arguments) {
  55488. return A.SassNumber_SassNumber(J.$index$asx($arguments, 0).assertString$1("string").get$_sassLength(), null);
  55489. },
  55490. $signature: 24
  55491. };
  55492. A._insert_closure.prototype = {
  55493. call$1($arguments) {
  55494. var indexInt, codeUnitIndex, _s5_ = "index",
  55495. t1 = J.getInterceptor$asx($arguments),
  55496. string = t1.$index($arguments, 0).assertString$1("string"),
  55497. insert = t1.$index($arguments, 1).assertString$1("insert"),
  55498. index = t1.$index($arguments, 2).assertNumber$1(_s5_);
  55499. index.assertNoUnits$1(_s5_);
  55500. indexInt = index.assertInt$1(_s5_);
  55501. if (indexInt < 0)
  55502. indexInt = Math.max(string.get$_sassLength() + indexInt + 2, 0);
  55503. t1 = string._string$_text;
  55504. codeUnitIndex = A.codepointIndexToCodeUnitIndex(t1, A._codepointForIndex(indexInt, string.get$_sassLength(), false));
  55505. return new A.SassString(B.JSString_methods.replaceRange$3(t1, codeUnitIndex, codeUnitIndex, insert._string$_text), string._hasQuotes);
  55506. },
  55507. $signature: 17
  55508. };
  55509. A._index_closure.prototype = {
  55510. call$1($arguments) {
  55511. var t1 = J.getInterceptor$asx($arguments),
  55512. t2 = t1.$index($arguments, 0).assertString$1("string")._string$_text,
  55513. codeUnitIndex = B.JSString_methods.indexOf$1(t2, t1.$index($arguments, 1).assertString$1("substring")._string$_text);
  55514. if (codeUnitIndex === -1)
  55515. return B.C__SassNull;
  55516. return A.SassNumber_SassNumber(A.codeUnitIndexToCodepointIndex(t2, codeUnitIndex) + 1, null);
  55517. },
  55518. $signature: 4
  55519. };
  55520. A._slice_closure.prototype = {
  55521. call$1($arguments) {
  55522. var lengthInCodepoints, endInt, startCodepoint, endCodepoint,
  55523. _s8_ = "start-at",
  55524. t1 = J.getInterceptor$asx($arguments),
  55525. string = t1.$index($arguments, 0).assertString$1("string"),
  55526. start = t1.$index($arguments, 1).assertNumber$1(_s8_),
  55527. end = t1.$index($arguments, 2).assertNumber$1("end-at");
  55528. start.assertNoUnits$1(_s8_);
  55529. end.assertNoUnits$1("end-at");
  55530. lengthInCodepoints = string.get$_sassLength();
  55531. endInt = end.assertInt$0();
  55532. if (endInt === 0)
  55533. return string._hasQuotes ? $.$get$_emptyQuoted() : $.$get$_emptyUnquoted();
  55534. startCodepoint = A._codepointForIndex(start.assertInt$0(), lengthInCodepoints, false);
  55535. endCodepoint = A._codepointForIndex(endInt, lengthInCodepoints, true);
  55536. if (endCodepoint === lengthInCodepoints)
  55537. --endCodepoint;
  55538. if (endCodepoint < startCodepoint)
  55539. return string._hasQuotes ? $.$get$_emptyQuoted() : $.$get$_emptyUnquoted();
  55540. t1 = string._string$_text;
  55541. return new A.SassString(B.JSString_methods.substring$2(t1, A.codepointIndexToCodeUnitIndex(t1, startCodepoint), A.codepointIndexToCodeUnitIndex(t1, endCodepoint + 1)), string._hasQuotes);
  55542. },
  55543. $signature: 17
  55544. };
  55545. A._toUpperCase_closure.prototype = {
  55546. call$1($arguments) {
  55547. var t1, t2, i, t3, t4,
  55548. string = J.$index$asx($arguments, 0).assertString$1("string");
  55549. for (t1 = string._string$_text, t2 = t1.length, i = 0, t3 = ""; i < t2; ++i) {
  55550. t4 = t1.charCodeAt(i);
  55551. t3 += A.Primitives_stringFromCharCode(t4 >= 97 && t4 <= 122 ? t4 & 4294967263 : t4);
  55552. }
  55553. return new A.SassString(t3.charCodeAt(0) == 0 ? t3 : t3, string._hasQuotes);
  55554. },
  55555. $signature: 17
  55556. };
  55557. A._toLowerCase_closure.prototype = {
  55558. call$1($arguments) {
  55559. var t1, t2, i, t3, t4,
  55560. string = J.$index$asx($arguments, 0).assertString$1("string");
  55561. for (t1 = string._string$_text, t2 = t1.length, i = 0, t3 = ""; i < t2; ++i) {
  55562. t4 = t1.charCodeAt(i);
  55563. t3 += A.Primitives_stringFromCharCode(t4 >= 65 && t4 <= 90 ? t4 | 32 : t4);
  55564. }
  55565. return new A.SassString(t3.charCodeAt(0) == 0 ? t3 : t3, string._hasQuotes);
  55566. },
  55567. $signature: 17
  55568. };
  55569. A._uniqueId_closure.prototype = {
  55570. call$1($arguments) {
  55571. var t1 = $.$get$_previousUniqueId() + ($.$get$_random().nextInt$1(36) + 1);
  55572. $._previousUniqueId = t1;
  55573. if (t1 > Math.pow(36, 6))
  55574. $._previousUniqueId = B.JSInt_methods.$mod($.$get$_previousUniqueId(), A._asInt(Math.pow(36, 6)));
  55575. return new A.SassString("u" + B.JSString_methods.padLeft$2(B.JSInt_methods.toRadixString$1($.$get$_previousUniqueId(), 36), 6, "0"), false);
  55576. },
  55577. $signature: 17
  55578. };
  55579. A.ImportCache.prototype = {
  55580. canonicalize$4$baseImporter$baseUrl$forImport(_, url, baseImporter, baseUrl, forImport) {
  55581. var t1, resolvedUrl, key, relativeResult, t2, t3, t4, t5, t6, cacheable, i, importer, perImporterKey, t7, _1_0, _1_2_isSet, result, _1_2, _2_0, _2_1, _2_5_isSet, _2_5, _2_3, _2_3_isSet, j, _this = this, _null = null;
  55582. if (A.isBrowser())
  55583. t1 = (baseImporter == null || baseImporter instanceof A.NoOpImporter) && _this._importers.length === 0;
  55584. else
  55585. t1 = false;
  55586. if (t1)
  55587. throw A.wrapException(string$.Custom);
  55588. if (baseImporter != null && url.get$scheme() === "") {
  55589. resolvedUrl = baseUrl == null ? _null : baseUrl.resolveUri$1(url);
  55590. if (resolvedUrl == null)
  55591. resolvedUrl = url;
  55592. key = new A._Record_3_forImport(baseImporter, resolvedUrl, forImport);
  55593. relativeResult = _this._perImporterCanonicalizeCache.putIfAbsent$2(key, new A.ImportCache_canonicalize_closure(_this, baseImporter, resolvedUrl, baseUrl, forImport, key, url));
  55594. if (relativeResult != null)
  55595. return relativeResult;
  55596. }
  55597. key = new A._Record_2_forImport(url, forImport);
  55598. t1 = _this._canonicalizeCache;
  55599. if (t1.containsKey$1(key))
  55600. return t1.$index(0, key);
  55601. for (t2 = _this._importers, t3 = type$.Record_1_nullable_Object, t4 = _this._perImporterCanonicalizeCache, t5 = type$.nullable_Record_3_Importer_and_Uri_and_Uri_originalUrl, t6 = type$.Record_3_Importer_and_Uri_and_Uri_originalUrl, cacheable = true, i = 0; i < t2.length; ++i) {
  55602. importer = t2[i];
  55603. perImporterKey = new A._Record_3_forImport(importer, url, forImport);
  55604. if (t4.containsKey$1(perImporterKey)) {
  55605. t7 = t4.$index(0, perImporterKey);
  55606. _1_0 = new A._Record_1(t7 == null ? t5._as(t7) : t7);
  55607. } else
  55608. _1_0 = _null;
  55609. _1_2_isSet = t3._is(_1_0);
  55610. result = _null;
  55611. if (_1_2_isSet) {
  55612. _1_2 = _1_0._0;
  55613. t7 = _1_2 != null;
  55614. if (t7) {
  55615. t6._as(_1_2);
  55616. result = _1_2;
  55617. }
  55618. } else {
  55619. _1_2 = _null;
  55620. t7 = false;
  55621. }
  55622. if (t7)
  55623. return result;
  55624. if (_1_2_isSet)
  55625. t7 = _1_2 == null;
  55626. else
  55627. t7 = false;
  55628. if (t7)
  55629. continue;
  55630. $label0$1: {
  55631. _2_0 = _this._canonicalize$4(importer, url, baseUrl, forImport);
  55632. _2_1 = _2_0._0;
  55633. _2_5_isSet = _2_1 != null;
  55634. _2_5 = _null;
  55635. _2_3 = _null;
  55636. t7 = false;
  55637. if (_2_5_isSet) {
  55638. result = _2_1 == null ? t6._as(_2_1) : _2_1;
  55639. _2_3 = _2_0._1;
  55640. t7 = _2_3;
  55641. _2_5 = t7;
  55642. t7 = t7 && cacheable;
  55643. } else
  55644. result = _null;
  55645. if (t7) {
  55646. t1.$indexSet(0, key, result);
  55647. return result;
  55648. }
  55649. if (_2_5_isSet) {
  55650. t7 = _2_5;
  55651. _2_3_isSet = _2_5_isSet;
  55652. } else {
  55653. _2_3 = _2_0._1;
  55654. t7 = _2_3;
  55655. _2_3_isSet = true;
  55656. }
  55657. t7 = t7 && !cacheable;
  55658. if (t7) {
  55659. t4.$indexSet(0, perImporterKey, _2_1);
  55660. if (_2_1 != null)
  55661. return _2_1;
  55662. break $label0$1;
  55663. }
  55664. t7 = !(_2_3_isSet ? _2_3 : _2_0._1);
  55665. if (t7) {
  55666. if (cacheable) {
  55667. for (j = 0; j < i; ++j)
  55668. t4.$indexSet(0, new A._Record_3_forImport(t2[j], url, forImport), _null);
  55669. cacheable = false;
  55670. }
  55671. if (_2_1 != null)
  55672. return _2_1;
  55673. }
  55674. }
  55675. }
  55676. if (cacheable)
  55677. t1.$indexSet(0, key, _null);
  55678. return _null;
  55679. },
  55680. canonicalize$3$baseImporter$baseUrl(_, url, baseImporter, baseUrl) {
  55681. return this.canonicalize$4$baseImporter$baseUrl$forImport(0, url, baseImporter, baseUrl, false);
  55682. },
  55683. _canonicalize$4(importer, url, baseUrl, forImport) {
  55684. var passContainingUrl, canonicalizeContext, t1, result, cacheable;
  55685. if (baseUrl != null)
  55686. passContainingUrl = url.get$scheme() === "" || importer.isNonCanonicalScheme$1(url.get$scheme());
  55687. else
  55688. passContainingUrl = false;
  55689. canonicalizeContext = new A.CanonicalizeContext(forImport, passContainingUrl ? baseUrl : null);
  55690. t1 = type$.nullable_Object;
  55691. result = A.runZoned(new A.ImportCache__canonicalize_closure(importer, url), A.LinkedHashMap_LinkedHashMap$_literal([B.Symbol__canonicalizeContext, canonicalizeContext], t1, t1), type$.nullable_Uri);
  55692. cacheable = !passContainingUrl || !canonicalizeContext._wasContainingUrlAccessed;
  55693. if (result == null)
  55694. return new A._Record_2(null, cacheable);
  55695. if (result.get$scheme() !== "" && importer.isNonCanonicalScheme$1(result.get$scheme()))
  55696. throw A.wrapException("Importer " + importer.toString$0(0) + " canonicalized " + url.toString$0(0) + " to " + result.toString$0(0) + string$.x2c_whicu);
  55697. return new A._Record_2(new A._Record_3_originalUrl(importer, result, url), cacheable);
  55698. },
  55699. importCanonical$3$originalUrl(importer, canonicalUrl, originalUrl) {
  55700. return this._importCache.putIfAbsent$2(canonicalUrl, new A.ImportCache_importCanonical_closure(this, importer, canonicalUrl, originalUrl));
  55701. },
  55702. importCanonical$2(importer, canonicalUrl) {
  55703. return this.importCanonical$3$originalUrl(importer, canonicalUrl, null);
  55704. },
  55705. humanize$1(canonicalUrl) {
  55706. var t1 = this._canonicalizeCache,
  55707. t2 = type$.NonNullsIterable_Record_3_Importer_and_Uri_and_Uri_originalUrl;
  55708. t2 = A.NullableExtension_andThen(A.minBy(new A.MappedIterable(new A.WhereIterable(new A.NonNullsIterable(new A.LinkedHashMapValuesIterable(t1, A._instanceType(t1)._eval$1("LinkedHashMapValuesIterable<2>")), t2), new A.ImportCache_humanize_closure(canonicalUrl), t2._eval$1("WhereIterable<Iterable.E>")), new A.ImportCache_humanize_closure0(), t2._eval$1("MappedIterable<Iterable.E,Uri>")), new A.ImportCache_humanize_closure1()), new A.ImportCache_humanize_closure2(canonicalUrl));
  55709. return t2 == null ? canonicalUrl : t2;
  55710. },
  55711. sourceMapUrl$1(_, canonicalUrl) {
  55712. var t1 = this._resultsCache.$index(0, canonicalUrl);
  55713. t1 = t1 == null ? null : t1.get$sourceMapUrl(0);
  55714. return t1 == null ? canonicalUrl : t1;
  55715. },
  55716. clearCanonicalize$1(canonicalUrl) {
  55717. var key, t5, t6, _i0,
  55718. t1 = this._canonicalizeCache,
  55719. t2 = A.List_List$_of(new A.LinkedHashMapKeysIterable(t1, A._instanceType(t1)._eval$1("LinkedHashMapKeysIterable<1>")), type$.Record_2_Uri_and_bool_forImport),
  55720. t3 = t2.length,
  55721. t4 = this._importers,
  55722. _i = 0;
  55723. for (; _i < t2.length; t2.length === t3 || (0, A.throwConcurrentModificationError)(t2), ++_i) {
  55724. key = t2[_i];
  55725. for (t5 = t4.length, t6 = key._0, _i0 = 0; _i0 < t4.length; t4.length === t5 || (0, A.throwConcurrentModificationError)(t4), ++_i0)
  55726. if (t4[_i0].couldCanonicalize$2(t6, canonicalUrl)) {
  55727. t1.remove$1(0, key);
  55728. break;
  55729. }
  55730. }
  55731. t1 = this._perImporterCanonicalizeCache;
  55732. t2 = A.List_List$_of(new A.LinkedHashMapKeysIterable(t1, A._instanceType(t1)._eval$1("LinkedHashMapKeysIterable<1>")), type$.Record_3_Importer_and_Uri_and_bool_forImport);
  55733. t3 = t2.length;
  55734. _i = 0;
  55735. for (; _i < t2.length; t2.length === t3 || (0, A.throwConcurrentModificationError)(t2), ++_i) {
  55736. key = t2[_i];
  55737. if (key._0.couldCanonicalize$2(key._1, canonicalUrl))
  55738. t1.remove$1(0, key);
  55739. }
  55740. },
  55741. clearImport$1(canonicalUrl) {
  55742. this._resultsCache.remove$1(0, canonicalUrl);
  55743. this._importCache.remove$1(0, canonicalUrl);
  55744. }
  55745. };
  55746. A.ImportCache_canonicalize_closure.prototype = {
  55747. call$0() {
  55748. var _this = this,
  55749. t1 = _this.$this,
  55750. t2 = _this.baseUrl,
  55751. _0_0 = t1._canonicalize$4(_this.baseImporter, _this.resolvedUrl, t2, _this.forImport);
  55752. if (t2 != null)
  55753. t1._nonCanonicalRelativeUrls.$indexSet(0, _this.key, _this.url);
  55754. return _0_0._0;
  55755. },
  55756. $signature: 123
  55757. };
  55758. A.ImportCache__canonicalize_closure.prototype = {
  55759. call$0() {
  55760. return this.importer.canonicalize$1(0, this.url);
  55761. },
  55762. $signature: 144
  55763. };
  55764. A.ImportCache_importCanonical_closure.prototype = {
  55765. call$0() {
  55766. var t3, t4, _this = this,
  55767. t1 = Date.now(),
  55768. t2 = _this.canonicalUrl,
  55769. result = _this.importer.load$1(0, t2);
  55770. if (result == null)
  55771. return null;
  55772. t3 = _this.$this;
  55773. t3._loadTimes.$indexSet(0, t2, new A.DateTime(t1, 0, false));
  55774. t3._resultsCache.$indexSet(0, t2, result);
  55775. t3 = result.contents;
  55776. t1 = result.syntax;
  55777. t4 = _this.originalUrl;
  55778. return A.Stylesheet_Stylesheet$parse(t3, t1, t4 == null ? t2 : t4.resolveUri$1(t2));
  55779. },
  55780. $signature: 112
  55781. };
  55782. A.ImportCache_humanize_closure.prototype = {
  55783. call$1(result) {
  55784. return result._1.$eq(0, this.canonicalUrl);
  55785. },
  55786. $signature: 463
  55787. };
  55788. A.ImportCache_humanize_closure0.prototype = {
  55789. call$1(result) {
  55790. return result._2;
  55791. },
  55792. $signature: 278
  55793. };
  55794. A.ImportCache_humanize_closure1.prototype = {
  55795. call$1(url) {
  55796. return url.get$path(url).length;
  55797. },
  55798. $signature: 80
  55799. };
  55800. A.ImportCache_humanize_closure2.prototype = {
  55801. call$1(url) {
  55802. var t1 = $.$get$url(),
  55803. t2 = this.canonicalUrl;
  55804. return url.resolve$1(0, A.ParsedPath_ParsedPath$parse(t2.get$path(t2), t1.style).get$basename());
  55805. },
  55806. $signature: 49
  55807. };
  55808. A.Importer.prototype = {
  55809. modificationTime$1(url) {
  55810. return new A.DateTime(Date.now(), 0, false);
  55811. },
  55812. couldCanonicalize$2(url, canonicalUrl) {
  55813. return true;
  55814. },
  55815. isNonCanonicalScheme$1(scheme) {
  55816. return false;
  55817. }
  55818. };
  55819. A.AsyncImporter.prototype = {};
  55820. A.CanonicalizeContext.prototype = {};
  55821. A.FilesystemImporter.prototype = {
  55822. canonicalize$1(_, url) {
  55823. var resolved, _0_0;
  55824. if (url.get$scheme() === "file")
  55825. resolved = A.resolveImportPath($.$get$context().style.pathFromUri$1(A._parseUri(url)));
  55826. else if (url.get$scheme() !== "")
  55827. return null;
  55828. else {
  55829. _0_0 = this._loadPath;
  55830. if (_0_0 != null) {
  55831. resolved = A.resolveImportPath(A.join(_0_0, $.$get$context().style.pathFromUri$1(A._parseUri(url)), null));
  55832. if (resolved != null && this._loadPathDeprecated)
  55833. A.warnForDeprecation(string$.Using_t, B.Deprecation_tms);
  55834. } else
  55835. return null;
  55836. }
  55837. return A.NullableExtension_andThen(resolved, new A.FilesystemImporter_canonicalize_closure());
  55838. },
  55839. load$1(_, url) {
  55840. var path = $.$get$context().style.pathFromUri$1(A._parseUri(url)),
  55841. t1 = A.readFile(path),
  55842. t2 = A.Syntax_forPath(path),
  55843. t3 = url.get$scheme();
  55844. if (t3 === "")
  55845. A.throwExpression(A.ArgumentError$value(url, "sourceMapUrl", "must be absolute"));
  55846. return new A.ImporterResult(t1, url, t2);
  55847. },
  55848. modificationTime$1(url) {
  55849. return A.modificationTime($.$get$context().style.pathFromUri$1(A._parseUri(url)));
  55850. },
  55851. couldCanonicalize$2(url, canonicalUrl) {
  55852. var t1, t2, basename, canonicalBasename;
  55853. if (url.get$scheme() !== "file" && url.get$scheme() !== "")
  55854. return false;
  55855. if (canonicalUrl.get$scheme() !== "file")
  55856. return false;
  55857. t1 = $.$get$url();
  55858. t2 = t1.style;
  55859. basename = A.ParsedPath_ParsedPath$parse(url.get$path(url), t2).get$basename();
  55860. canonicalBasename = A.ParsedPath_ParsedPath$parse(canonicalUrl.get$path(canonicalUrl), t2).get$basename();
  55861. if (!B.JSString_methods.startsWith$1(basename, "_") && B.JSString_methods.startsWith$1(canonicalBasename, "_"))
  55862. canonicalBasename = B.JSString_methods.substring$1(canonicalBasename, 1);
  55863. return basename === canonicalBasename || basename === t1.withoutExtension$1(canonicalBasename);
  55864. },
  55865. toString$0(_) {
  55866. var t1 = this._loadPath;
  55867. return t1 == null ? "<absolute file importer>" : t1;
  55868. }
  55869. };
  55870. A.FilesystemImporter_canonicalize_closure.prototype = {
  55871. call$1(resolved) {
  55872. var t2, t0, _null = null,
  55873. t1 = A.isNodeJs() ? self.process : _null;
  55874. if (!J.$eq$(t1 == null ? _null : J.get$platform$x(t1), "win32")) {
  55875. t1 = A.isNodeJs() ? self.process : _null;
  55876. t1 = J.$eq$(t1 == null ? _null : J.get$platform$x(t1), "darwin");
  55877. } else
  55878. t1 = true;
  55879. if (t1) {
  55880. t1 = A.absolute(resolved, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null);
  55881. t2 = $.$get$context();
  55882. t1 = A._realCasePath(t2.normalize$1(t1));
  55883. } else {
  55884. t1 = $.$get$context();
  55885. t2 = t1.canonicalize$1(0, resolved);
  55886. t0 = t2;
  55887. t2 = t1;
  55888. t1 = t0;
  55889. }
  55890. return t2.toUri$1(t1);
  55891. },
  55892. $signature: 122
  55893. };
  55894. A.NoOpImporter.prototype = {};
  55895. A.NodePackageImporter.prototype = {
  55896. isNonCanonicalScheme$1(scheme) {
  55897. return scheme === "pkg";
  55898. },
  55899. canonicalize$1(_, url) {
  55900. var packageName, jsonPath, jsonString, packageManifest, e, t1, t2, t3, t4, baseDirectory, parts, t5, $name, subpath, packageRoot, exception, _1_0, rootPath, subpathInRoot, _this = this, _null = null;
  55901. if (url.get$scheme() === "file")
  55902. return $.$get$FilesystemImporter_cwd().canonicalize$1(0, url);
  55903. if (url.get$scheme() !== "pkg")
  55904. return _null;
  55905. if (url.get$hasAuthority())
  55906. throw A.wrapException(string$.A_pkg_h);
  55907. else {
  55908. t1 = $.$get$url();
  55909. t2 = t1.style;
  55910. if (t2.rootLength$1(url.get$path(url)) > 0)
  55911. throw A.wrapException("A pkg: URL's path must not begin with /.");
  55912. else if (url.get$path(url).length === 0)
  55913. throw A.wrapException("A pkg: URL must not have an empty path.");
  55914. else if (url.get$hasQuery() || url.get$hasFragment())
  55915. throw A.wrapException(string$.A_pkg_q);
  55916. }
  55917. t3 = A.canonicalizeContext();
  55918. t3._wasContainingUrlAccessed = true;
  55919. t3 = t3._containingUrl;
  55920. if ((t3 == null ? _null : t3.get$scheme()) === "file") {
  55921. t3 = A.canonicalizeContext();
  55922. t3._wasContainingUrlAccessed = true;
  55923. t3 = t3._containingUrl;
  55924. t3.toString;
  55925. t4 = $.$get$context();
  55926. baseDirectory = t4.dirname$1(t4.style.pathFromUri$1(A._parseUri(t3)));
  55927. } else {
  55928. t3 = _this.__NodePackageImporter__entryPointDirectory_F;
  55929. t3 === $ && A.throwUnnamedLateFieldNI();
  55930. baseDirectory = t3;
  55931. }
  55932. packageName = null;
  55933. parts = t1.split$1(0, url.get$path(url));
  55934. t3 = B.JSArray_methods.removeAt$1(parts, 0);
  55935. t4 = $.$get$context();
  55936. t3.toString;
  55937. t5 = t4.style;
  55938. $name = t5.pathFromUri$1(A._parseUri(t3));
  55939. if (B.JSString_methods.startsWith$1($name, "@"))
  55940. $name = parts.length !== 0 ? t1.join$2(0, $name, B.JSArray_methods.removeAt$1(parts, 0)) : $name;
  55941. subpath = parts.length !== 0 ? t5.pathFromUri$1(A._parseUri(t1.joinAll$1(parts))) : _null;
  55942. packageName = $name;
  55943. t1 = true;
  55944. if (!J.startsWith$1$s(packageName, "."))
  55945. if (!J.contains$1$asx(packageName, "\\"))
  55946. if (!J.contains$1$asx(packageName, "%"))
  55947. t1 = J.startsWith$1$s(packageName, "@") && !J.contains$1$asx(packageName, t2.get$separator(t2));
  55948. if (t1)
  55949. return _null;
  55950. packageRoot = _this._resolvePackageRoot$2(packageName, baseDirectory);
  55951. if (packageRoot == null)
  55952. return _null;
  55953. jsonPath = A.join(packageRoot, "package.json", _null);
  55954. jsonString = A.readFile(jsonPath);
  55955. packageManifest = null;
  55956. try {
  55957. packageManifest = type$.Map_String_dynamic._as(B.C_JsonCodec.decode$1(jsonString));
  55958. } catch (exception) {
  55959. e = A.unwrapException(exception);
  55960. t1 = A.S(jsonPath);
  55961. t2 = A.S(packageName);
  55962. t3 = A.S(e);
  55963. throw A.wrapException("Failed to parse " + t1 + ' for "pkg:' + t2 + '": ' + t3);
  55964. }
  55965. _1_0 = _this._resolvePackageExports$4(packageRoot, subpath, packageManifest, packageName);
  55966. if (_1_0 != null)
  55967. if (B.Set_FTDN4.contains$1(0, A.ParsedPath_ParsedPath$parse(_1_0, t5)._splitExtension$1(1)[1]))
  55968. return t4.toUri$1(t4.canonicalize$1(0, _1_0));
  55969. else {
  55970. t1 = subpath == null ? "root" : subpath;
  55971. throw A.wrapException("The export for '" + t1 + "' in '" + A.S(packageName) + "' resolved to '" + _1_0 + string$.x27x2c_whi);
  55972. }
  55973. if (subpath == null) {
  55974. rootPath = _this._resolvePackageRootValues$2(packageRoot, packageManifest);
  55975. return rootPath != null ? t4.toUri$1(t4.canonicalize$1(0, rootPath)) : _null;
  55976. }
  55977. subpathInRoot = A.join(packageRoot, subpath, _null);
  55978. return $.$get$FilesystemImporter_cwd().canonicalize$1(0, t4.toUri$1(subpathInRoot));
  55979. },
  55980. load$1(_, url) {
  55981. return $.$get$FilesystemImporter_cwd().load$1(0, url);
  55982. },
  55983. _resolvePackageRoot$2(packageName, baseDirectory) {
  55984. var potentialPackage, t1;
  55985. for (; true;) {
  55986. potentialPackage = A.join(baseDirectory, "node_modules", packageName);
  55987. if (A.dirExists(potentialPackage))
  55988. return potentialPackage;
  55989. t1 = $.$get$context();
  55990. if (t1.split$1(0, baseDirectory).length === 1)
  55991. return null;
  55992. baseDirectory = t1.dirname$1(baseDirectory);
  55993. }
  55994. },
  55995. _resolvePackageRootValues$2(packageRoot, packageManifest) {
  55996. var t1, sassValue, _1_0, styleValue, _null = null,
  55997. _0_0 = packageManifest.$index(0, "sass");
  55998. if (typeof _0_0 == "string") {
  55999. t1 = B.Set_FTDN4.contains$1(0, A.ParsedPath_ParsedPath$parse(_0_0, $.$get$url().style)._splitExtension$1(1)[1]);
  56000. sassValue = _0_0;
  56001. } else {
  56002. sassValue = _null;
  56003. t1 = false;
  56004. }
  56005. if (t1)
  56006. return A.join(packageRoot, sassValue, _null);
  56007. else {
  56008. _1_0 = packageManifest.$index(0, "style");
  56009. if (typeof _1_0 == "string") {
  56010. t1 = B.Set_FTDN4.contains$1(0, A.ParsedPath_ParsedPath$parse(_1_0, $.$get$url().style)._splitExtension$1(1)[1]);
  56011. styleValue = _1_0;
  56012. } else {
  56013. styleValue = _null;
  56014. t1 = false;
  56015. }
  56016. if (t1)
  56017. return A.join(packageRoot, styleValue, _null);
  56018. }
  56019. return A.resolveImportPath(A.join(packageRoot, "index", _null));
  56020. },
  56021. _resolvePackageExports$4(packageRoot, subpath, packageManifest, packageName) {
  56022. var _0_0, _1_0, _this = this,
  56023. exports = packageManifest.$index(0, "exports");
  56024. if (exports == null)
  56025. return null;
  56026. _0_0 = _this._nodePackageExportsResolve$5(packageRoot, _this._exportsToCheck$1(subpath), exports, subpath, packageName);
  56027. if (_0_0 != null)
  56028. return _0_0;
  56029. if (subpath != null && A.ParsedPath_ParsedPath$parse(subpath, $.$get$url().style)._splitExtension$1(1)[1].length !== 0)
  56030. return null;
  56031. _1_0 = _this._nodePackageExportsResolve$5(packageRoot, _this._exportsToCheck$2$addIndex(subpath, true), exports, subpath, packageName);
  56032. if (_1_0 != null)
  56033. return _1_0;
  56034. return null;
  56035. },
  56036. _nodePackageExportsResolve$5(packageRoot, subpathVariants, exports, subpath, packageName) {
  56037. var t1, matches, _1_1, path;
  56038. if (type$.Map_String_dynamic._is(exports) && J.any$1$ax(exports.get$keys(exports), new A.NodePackageImporter__nodePackageExportsResolve_closure()) && J.any$1$ax(exports.get$keys(exports), new A.NodePackageImporter__nodePackageExportsResolve_closure0()))
  56039. throw A.wrapException("`exports` in " + packageName + string$.x20can_n + J.map$1$1$ax(exports.get$keys(exports), new A.NodePackageImporter__nodePackageExportsResolve_closure1(), type$.String).join$1(0, ",") + " in " + A.join(packageRoot, "package.json", null) + ".");
  56040. t1 = type$.NonNullsIterable_String;
  56041. t1 = A.LinkedHashSet_LinkedHashSet$of(new A.NonNullsIterable(new A.MappedListIterable(subpathVariants, new A.NodePackageImporter__nodePackageExportsResolve_closure2(this, exports, packageRoot), A._arrayInstanceType(subpathVariants)._eval$1("MappedListIterable<1,String?>")), t1), t1._eval$1("Iterable.E"));
  56042. matches = A.List_List$_of(t1, A._instanceType(t1)._precomputed1);
  56043. $label0$1: {
  56044. _1_1 = matches.length;
  56045. if (_1_1 === 1) {
  56046. path = matches[0];
  56047. t1 = path;
  56048. break $label0$1;
  56049. }
  56050. if (_1_1 <= 0) {
  56051. t1 = null;
  56052. break $label0$1;
  56053. }
  56054. t1 = subpath == null ? "root" : subpath;
  56055. t1 = A.throwExpression(string$.Unable + t1 + " in " + packageName + " should be used. \n\nFound:\n" + B.JSArray_methods.join$1(matches, "\n"));
  56056. }
  56057. return t1;
  56058. },
  56059. _compareExpansionKeys$2(keyA, keyB) {
  56060. var t1 = B.JSString_methods.contains$1(keyA, "*"),
  56061. baseLengthA = t1 ? B.JSString_methods.indexOf$1(keyA, "*") + 1 : keyA.length,
  56062. t2 = B.JSString_methods.contains$1(keyB, "*"),
  56063. baseLengthB = t2 ? B.JSString_methods.indexOf$1(keyB, "*") + 1 : keyB.length;
  56064. if (baseLengthA > baseLengthB)
  56065. return -1;
  56066. if (baseLengthB > baseLengthA)
  56067. return 1;
  56068. if (!t1)
  56069. return 1;
  56070. if (!t2)
  56071. return -1;
  56072. t1 = keyA.length;
  56073. t2 = keyB.length;
  56074. if (t1 > t2)
  56075. return -1;
  56076. if (t2 > t1)
  56077. return 1;
  56078. return 0;
  56079. },
  56080. _packageTargetResolve$4(subpath, exports, packageRoot, patternMatch) {
  56081. var t2, string, path, map, key, value, _1_0, array, _2_0, _null = null,
  56082. t1 = typeof exports == "string";
  56083. if (t1) {
  56084. t2 = !B.JSString_methods.startsWith$1(exports, "./");
  56085. string = exports;
  56086. } else {
  56087. string = _null;
  56088. t2 = false;
  56089. }
  56090. if (t2)
  56091. throw A.wrapException("Export '" + A.S(string) + string$.x27x20must + packageRoot + "'.");
  56092. if (t1) {
  56093. t2 = patternMatch != null;
  56094. string = exports;
  56095. } else {
  56096. string = _null;
  56097. t2 = false;
  56098. }
  56099. if (t2) {
  56100. t1 = J.replaceFirst$2$s(string, "*", patternMatch);
  56101. t2 = $.$get$context();
  56102. path = t2.normalize$1(A.join(packageRoot, t2.style.pathFromUri$1(A._parseUri(t1)), _null));
  56103. return A.fileExists(path) ? path : _null;
  56104. }
  56105. string = t1 ? exports : _null;
  56106. if (t1) {
  56107. t1 = $.$get$context();
  56108. string.toString;
  56109. return A.join(packageRoot, t1.style.pathFromUri$1(A._parseUri(string)), _null);
  56110. }
  56111. t1 = type$.Map_String_dynamic._is(exports);
  56112. map = t1 ? exports : _null;
  56113. if (t1) {
  56114. for (t1 = A.MapExtensions_get_pairs(map, type$.String, type$.dynamic), t1 = t1.get$iterator(t1); t1.moveNext$0();) {
  56115. t2 = t1.get$current(t1);
  56116. key = t2._0;
  56117. value = t2._1;
  56118. if (!B.Set_8229z.contains$1(0, key))
  56119. continue;
  56120. if (value == null)
  56121. continue;
  56122. _1_0 = this._packageTargetResolve$4(subpath, value, packageRoot, patternMatch);
  56123. if (_1_0 != null)
  56124. return _1_0;
  56125. }
  56126. return _null;
  56127. }
  56128. t1 = type$.List_dynamic._is(exports);
  56129. if (t1 && J.get$length$asx(exports) <= 0)
  56130. return _null;
  56131. array = t1 ? exports : _null;
  56132. if (t1) {
  56133. for (t1 = J.get$iterator$ax(array); t1.moveNext$0();) {
  56134. value = t1.get$current(t1);
  56135. if (value == null)
  56136. continue;
  56137. _2_0 = this._packageTargetResolve$4(subpath, value, packageRoot, patternMatch);
  56138. if (_2_0 != null)
  56139. return _2_0;
  56140. }
  56141. return _null;
  56142. }
  56143. throw A.wrapException("Invalid 'exports' value " + A.S(exports) + " in " + A.join(packageRoot, "package.json", _null) + ".");
  56144. },
  56145. _packageTargetResolve$3(subpath, exports, packageRoot) {
  56146. return this._packageTargetResolve$4(subpath, exports, packageRoot, null);
  56147. },
  56148. _getMainExport$1(exports) {
  56149. var t1, t2, t3, map, _0_4, t4, $export;
  56150. $label0$0: {
  56151. t1 = null;
  56152. if (typeof exports == "string") {
  56153. t1 = exports;
  56154. break $label0$0;
  56155. }
  56156. if (type$.List_String._is(exports)) {
  56157. t1 = exports;
  56158. break $label0$0;
  56159. }
  56160. t2 = type$.Map_String_dynamic._is(exports);
  56161. if (t2) {
  56162. t3 = !J.any$1$ax(exports.get$keys(exports), new A.NodePackageImporter__getMainExport_closure());
  56163. map = exports;
  56164. } else {
  56165. map = t1;
  56166. t3 = false;
  56167. }
  56168. if (t3) {
  56169. t1 = map;
  56170. break $label0$0;
  56171. }
  56172. t3 = false;
  56173. if (t2) {
  56174. _0_4 = exports.$index(0, ".");
  56175. if (_0_4 == null)
  56176. t4 = exports.containsKey$1(".");
  56177. else
  56178. t4 = true;
  56179. if (t4)
  56180. t3 = _0_4 != null;
  56181. } else
  56182. _0_4 = null;
  56183. if (t3) {
  56184. $export = t2 ? _0_4 : exports.$index(0, ".");
  56185. t1 = $export;
  56186. break $label0$0;
  56187. }
  56188. break $label0$0;
  56189. }
  56190. return t1;
  56191. },
  56192. _exportsToCheck$2$addIndex(subpath, addIndex) {
  56193. var basename, dirname, t3, t4, _i, path,
  56194. t1 = type$.JSArray_String,
  56195. paths = A._setArrayType([], t1),
  56196. t2 = subpath == null;
  56197. if (t2 && addIndex)
  56198. subpath = "index";
  56199. else if (!t2 && addIndex)
  56200. subpath = A.join(subpath, "index", null);
  56201. if (subpath == null)
  56202. return A._setArrayType([null], type$.JSArray_nullable_String);
  56203. if (B.Set_FTDN4.contains$1(0, A.ParsedPath_ParsedPath$parse(subpath, $.$get$url().style)._splitExtension$1(1)[1]))
  56204. paths.push(subpath);
  56205. else
  56206. B.JSArray_methods.addAll$1(paths, A._setArrayType([subpath, subpath + ".scss", subpath + ".sass", subpath + ".css"], t1));
  56207. t1 = $.$get$context();
  56208. t2 = t1.style;
  56209. basename = A.ParsedPath_ParsedPath$parse(subpath, t2).get$basename();
  56210. dirname = t1.dirname$1(subpath);
  56211. if (B.JSString_methods.startsWith$1(basename, "_"))
  56212. return paths;
  56213. t1 = A.List_List$_of(paths, type$.nullable_String);
  56214. for (t3 = paths.length, t4 = dirname === ".", _i = 0; _i < paths.length; paths.length === t3 || (0, A.throwConcurrentModificationError)(paths), ++_i) {
  56215. path = paths[_i];
  56216. if (t4)
  56217. t1.push("_" + A.ParsedPath_ParsedPath$parse(path, t2).get$basename());
  56218. else
  56219. t1.push(A.join(dirname, "_" + A.ParsedPath_ParsedPath$parse(path, t2).get$basename(), null));
  56220. }
  56221. return t1;
  56222. },
  56223. _exportsToCheck$1(subpath) {
  56224. return this._exportsToCheck$2$addIndex(subpath, false);
  56225. }
  56226. };
  56227. A.NodePackageImporter__nodePackageExportsResolve_closure.prototype = {
  56228. call$1(key) {
  56229. return B.JSString_methods.startsWith$1(key, ".");
  56230. },
  56231. $signature: 5
  56232. };
  56233. A.NodePackageImporter__nodePackageExportsResolve_closure0.prototype = {
  56234. call$1(key) {
  56235. return !B.JSString_methods.startsWith$1(key, ".");
  56236. },
  56237. $signature: 5
  56238. };
  56239. A.NodePackageImporter__nodePackageExportsResolve_closure1.prototype = {
  56240. call$1(key) {
  56241. return '"' + key + '"';
  56242. },
  56243. $signature: 6
  56244. };
  56245. A.NodePackageImporter__nodePackageExportsResolve_closure2.prototype = {
  56246. call$1(variant) {
  56247. var t1, matchKey, t2, t3, t4, t5, _i, expansionKey, _0_0, t6, patternBase, patternTrailer, t7, target, _this = this, _null = null;
  56248. if (variant == null) {
  56249. t1 = _this.$this;
  56250. return A.NullableExtension_andThen(t1._getMainExport$1(_this.exports), new A.NodePackageImporter__nodePackageExportsResolve__closure(t1, variant, _this.packageRoot));
  56251. } else {
  56252. t1 = _this.exports;
  56253. if (!type$.Map_String_dynamic._is(t1) || J.every$1$ax(t1.get$keys(t1), new A.NodePackageImporter__nodePackageExportsResolve__closure0()))
  56254. return _null;
  56255. }
  56256. matchKey = "./" + $.$get$context().toUri$1(variant).toString$0(0);
  56257. if (t1.containsKey$1(matchKey) && t1.$index(0, matchKey) != null && !B.JSString_methods.contains$1(matchKey, "*")) {
  56258. t1 = t1.$index(0, matchKey);
  56259. if (t1 == null)
  56260. t1 = type$.Object._as(t1);
  56261. return _this.$this._packageTargetResolve$3(matchKey, t1, _this.packageRoot);
  56262. }
  56263. t2 = A._setArrayType([], type$.JSArray_String);
  56264. for (t3 = J.get$iterator$ax(t1.get$keys(t1)); t3.moveNext$0();) {
  56265. t4 = t3.get$current(t3);
  56266. if (B.JSString_methods.allMatches$1("*", t4).get$length(0) === 1)
  56267. t2.push(t4);
  56268. }
  56269. t3 = _this.$this;
  56270. B.JSArray_methods.sort$1(t2, t3.get$_compareExpansionKeys());
  56271. for (t4 = t2.length, t5 = matchKey.length, _i = 0; _i < t2.length; t2.length === t4 || (0, A.throwConcurrentModificationError)(t2), ++_i) {
  56272. expansionKey = t2[_i];
  56273. _0_0 = expansionKey.split("*");
  56274. t6 = _0_0.length === 2;
  56275. if (t6) {
  56276. patternBase = _0_0[0];
  56277. patternTrailer = _0_0[1];
  56278. } else {
  56279. patternTrailer = _null;
  56280. patternBase = patternTrailer;
  56281. }
  56282. if (!t6)
  56283. throw A.wrapException(A.StateError$("Pattern matching error"));
  56284. if (!B.JSString_methods.startsWith$1(matchKey, patternBase))
  56285. continue;
  56286. if (matchKey === patternBase)
  56287. continue;
  56288. t6 = patternTrailer.length;
  56289. if (t6 !== 0)
  56290. t7 = B.JSString_methods.endsWith$1(matchKey, patternTrailer) && t5 >= expansionKey.length;
  56291. else
  56292. t7 = true;
  56293. if (t7) {
  56294. target = t1.$index(0, expansionKey);
  56295. if (target == null)
  56296. continue;
  56297. return t3._packageTargetResolve$4(variant, target, _this.packageRoot, B.JSString_methods.substring$2(matchKey, patternBase.length, t5 - t6));
  56298. }
  56299. }
  56300. return _null;
  56301. },
  56302. $signature: 147
  56303. };
  56304. A.NodePackageImporter__nodePackageExportsResolve__closure.prototype = {
  56305. call$1(mainExport) {
  56306. return this.$this._packageTargetResolve$3(this.variant, mainExport, this.packageRoot);
  56307. },
  56308. $signature: 148
  56309. };
  56310. A.NodePackageImporter__nodePackageExportsResolve__closure0.prototype = {
  56311. call$1(key) {
  56312. return !B.JSString_methods.startsWith$1(key, ".");
  56313. },
  56314. $signature: 5
  56315. };
  56316. A.NodePackageImporter__getMainExport_closure.prototype = {
  56317. call$1(key) {
  56318. return B.JSString_methods.startsWith$1(key, ".");
  56319. },
  56320. $signature: 5
  56321. };
  56322. A.ImporterResult.prototype = {
  56323. get$sourceMapUrl(_) {
  56324. return this._sourceMapUrl;
  56325. }
  56326. };
  56327. A.resolveImportPath_closure.prototype = {
  56328. call$0() {
  56329. return A._exactlyOne(A._tryPath($.$get$context().withoutExtension$1(this.path) + ".import" + this.extension));
  56330. },
  56331. $signature: 46
  56332. };
  56333. A.resolveImportPath_closure0.prototype = {
  56334. call$0() {
  56335. return A._exactlyOne(A._tryPathWithExtensions(this.path + ".import"));
  56336. },
  56337. $signature: 46
  56338. };
  56339. A._tryPathAsDirectory_closure.prototype = {
  56340. call$0() {
  56341. return A._exactlyOne(A._tryPathWithExtensions(A.join(this.path, "index.import", null)));
  56342. },
  56343. $signature: 46
  56344. };
  56345. A._exactlyOne_closure.prototype = {
  56346. call$1(path) {
  56347. var t1 = $.$get$context();
  56348. return " " + t1.prettyUri$1(t1.toUri$1(path));
  56349. },
  56350. $signature: 6
  56351. };
  56352. A.InterpolationBuffer.prototype = {
  56353. writeCharCode$1(character) {
  56354. var t1 = this._interpolation_buffer$_text,
  56355. t2 = A.Primitives_stringFromCharCode(character);
  56356. t1._contents += t2;
  56357. return null;
  56358. },
  56359. add$2(_, expression, span) {
  56360. this._flushText$0();
  56361. this._interpolation_buffer$_contents.push(expression);
  56362. this._spans.push(span);
  56363. },
  56364. addInterpolation$1(interpolation) {
  56365. var spansToAdd, _0_4_isSet, _0_4, _0_40, first, rest, t2, t3, _this = this,
  56366. toAdd = interpolation.contents,
  56367. t1 = toAdd.length;
  56368. if (t1 === 0)
  56369. return;
  56370. spansToAdd = interpolation.spans;
  56371. _0_4_isSet = t1 >= 1;
  56372. if (_0_4_isSet) {
  56373. _0_4 = toAdd[0];
  56374. _0_40 = _0_4;
  56375. t1 = typeof _0_4 == "string";
  56376. _0_4 = _0_40;
  56377. } else {
  56378. _0_4 = null;
  56379. t1 = false;
  56380. }
  56381. if (t1) {
  56382. first = A._asString(_0_4_isSet ? _0_4 : toAdd[0]);
  56383. rest = B.JSArray_methods.sublist$1(toAdd, 1);
  56384. t1 = _this._interpolation_buffer$_text;
  56385. t1._contents += first;
  56386. spansToAdd = A.SubListIterable$(spansToAdd, 1, null, A._arrayInstanceType(spansToAdd)._precomputed1);
  56387. toAdd = rest;
  56388. }
  56389. _this._flushText$0();
  56390. t1 = _this._interpolation_buffer$_contents;
  56391. B.JSArray_methods.addAll$1(t1, toAdd);
  56392. t2 = _this._spans;
  56393. B.JSArray_methods.addAll$1(t2, spansToAdd);
  56394. if (typeof B.JSArray_methods.get$last(t1) == "string") {
  56395. t3 = _this._interpolation_buffer$_text;
  56396. t1 = A.S(t1.pop());
  56397. t3._contents += t1;
  56398. t2.pop();
  56399. }
  56400. },
  56401. _flushText$0() {
  56402. var t1 = this._interpolation_buffer$_text,
  56403. t2 = t1._contents;
  56404. if (t2.length === 0)
  56405. return;
  56406. this._interpolation_buffer$_contents.push(t2.charCodeAt(0) == 0 ? t2 : t2);
  56407. this._spans.push(null);
  56408. t1._contents = "";
  56409. },
  56410. interpolation$1(span) {
  56411. var t1 = A.List_List$_of(this._interpolation_buffer$_contents, type$.Object),
  56412. t2 = this._interpolation_buffer$_text,
  56413. t3 = t2._contents;
  56414. if (t3.length !== 0)
  56415. t1.push(t3.charCodeAt(0) == 0 ? t3 : t3);
  56416. t3 = A.List_List$_of(this._spans, type$.nullable_FileSpan);
  56417. if (t2._contents.length !== 0)
  56418. t3.push(null);
  56419. return A.Interpolation$(t1, t3, span);
  56420. },
  56421. toString$0(_) {
  56422. var t1, t2, _i, t3, element;
  56423. for (t1 = this._interpolation_buffer$_contents, t2 = t1.length, _i = 0, t3 = ""; _i < t1.length; t1.length === t2 || (0, A.throwConcurrentModificationError)(t1), ++_i) {
  56424. element = t1[_i];
  56425. t3 = typeof element == "string" ? t3 + element : t3 + "#{" + A.S(element) + A.Primitives_stringFromCharCode(125);
  56426. }
  56427. t1 = t3 + this._interpolation_buffer$_text.toString$0(0);
  56428. return t1.charCodeAt(0) == 0 ? t1 : t1;
  56429. }
  56430. };
  56431. A.InterpolationMap.prototype = {
  56432. mapException$1(error) {
  56433. var source, startIndex, endIndex, t3, t4, _this = this,
  56434. target = error.get$span(error),
  56435. t1 = _this._interpolation,
  56436. t2 = t1.contents;
  56437. if (t2.length === 0)
  56438. return new A.SourceSpanFormatException(error.get$source(), error._span_exception$_message, t1.span);
  56439. source = _this.mapSpan$1(target);
  56440. startIndex = _this._indexInContents$1(target.get$start(target));
  56441. endIndex = _this._indexInContents$1(target.get$end(target));
  56442. t1 = error._span_exception$_message;
  56443. if (!A.SubListIterable$(t2, startIndex, null, A._arrayInstanceType(t2)._precomputed1).take$1(0, endIndex - startIndex + 1).any$1(0, new A.InterpolationMap_mapException_closure()))
  56444. return new A.SourceSpanFormatException(error.get$source(), t1, source);
  56445. else {
  56446. t2 = type$.SourceSpan;
  56447. t3 = type$.String;
  56448. t4 = A.LinkedHashMap_LinkedHashMap$_literal([target, "error in interpolated output"], t2, t3);
  56449. return new A.MultiSourceSpanFormatException(error.get$source(), "", A.ConstantMap_ConstantMap$from(t4, t2, t3), t1, source);
  56450. }
  56451. },
  56452. mapSpan$1(target) {
  56453. var _0_10, t1, _0_2_isSet, _0_20, t2, start, t3, end, _this = this, _null = null,
  56454. _0_1 = _this._mapLocation$1(target.get$start(target)),
  56455. _0_2 = _this._mapLocation$1(target.get$end(target));
  56456. $label0$0: {
  56457. _0_10 = _0_1;
  56458. t1 = type$.FileSpan;
  56459. _0_2_isSet = t1._is(_0_1);
  56460. _0_20 = _null;
  56461. t2 = false;
  56462. if (_0_2_isSet) {
  56463. start = t1._as(_0_10);
  56464. _0_20 = _0_2;
  56465. t2 = t1._is(_0_2);
  56466. } else
  56467. start = _null;
  56468. if (t2) {
  56469. t1 = start.expand$1(0, t1._as(_0_2_isSet ? _0_20 : _0_2));
  56470. break $label0$0;
  56471. }
  56472. t2 = false;
  56473. if (t1._is(_0_10)) {
  56474. start = t1._as(_0_10);
  56475. if (_0_2_isSet)
  56476. t2 = _0_20;
  56477. else {
  56478. t2 = _0_2;
  56479. _0_20 = t2;
  56480. _0_2_isSet = true;
  56481. }
  56482. t2 = t2 instanceof A.FileLocation;
  56483. } else
  56484. start = _null;
  56485. if (t2) {
  56486. t1 = _0_2_isSet ? _0_20 : _0_2;
  56487. type$.FileLocation._as(t1);
  56488. t1 = _this._interpolation.span.file.span$2(0, _this._expandInterpolationSpanLeft$1(start.get$start(start)), t1.offset);
  56489. break $label0$0;
  56490. }
  56491. t2 = false;
  56492. if (_0_10 instanceof A.FileLocation) {
  56493. t3 = _0_10;
  56494. type$.FileLocation._as(t3);
  56495. if (_0_2_isSet)
  56496. t2 = _0_20;
  56497. else {
  56498. t2 = _0_2;
  56499. _0_20 = t2;
  56500. _0_2_isSet = true;
  56501. }
  56502. t2 = t1._is(t2);
  56503. start = t3;
  56504. } else
  56505. start = _null;
  56506. if (t2) {
  56507. end = t1._as(_0_2_isSet ? _0_20 : _0_2);
  56508. t1 = _this._interpolation.span.file.span$2(0, start.offset, _this._expandInterpolationSpanRight$1(end.get$end(end)));
  56509. break $label0$0;
  56510. }
  56511. t1 = false;
  56512. if (_0_10 instanceof A.FileLocation) {
  56513. t2 = _0_10;
  56514. type$.FileLocation._as(t2);
  56515. if (_0_2_isSet)
  56516. t1 = _0_20;
  56517. else {
  56518. t1 = _0_2;
  56519. _0_20 = t1;
  56520. _0_2_isSet = true;
  56521. }
  56522. t1 = t1 instanceof A.FileLocation;
  56523. start = t2;
  56524. } else
  56525. start = _null;
  56526. if (t1) {
  56527. t1 = _0_2_isSet ? _0_20 : _0_2;
  56528. type$.FileLocation._as(t1);
  56529. t1 = _this._interpolation.span.file.span$2(0, start.offset, t1.offset);
  56530. break $label0$0;
  56531. }
  56532. t1 = A.throwExpression("[BUG] Unreachable");
  56533. }
  56534. return t1;
  56535. },
  56536. _mapLocation$1(target) {
  56537. var index, _0_0, t3, t4, previousLocation, _this = this,
  56538. t1 = _this._interpolation,
  56539. t2 = t1.contents;
  56540. if (t2.length === 0)
  56541. return t1.span;
  56542. index = _this._indexInContents$1(target);
  56543. _0_0 = t2[index];
  56544. if (_0_0 instanceof A.Expression)
  56545. return _0_0.get$span(_0_0);
  56546. t3 = index === 0;
  56547. t1 = t1.span;
  56548. t4 = t1.file;
  56549. if (t3)
  56550. previousLocation = A.FileLocation$_(t4, t1._file$_start);
  56551. else {
  56552. t1 = type$.Expression._as(t2[index - 1]);
  56553. t1 = t1.get$span(t1);
  56554. previousLocation = A.FileLocation$_(t4, _this._expandInterpolationSpanRight$1(t1.get$end(t1)));
  56555. }
  56556. t1 = t3 ? 0 : _this._targetLocations[index - 1].get$offset();
  56557. return A.FileLocation$_(previousLocation.file, previousLocation.offset + (target.offset - t1));
  56558. },
  56559. _indexInContents$1(target) {
  56560. var t1, t2, t3, i;
  56561. for (t1 = this._targetLocations, t2 = t1.length, t3 = target.offset, i = 0; i < t2; ++i)
  56562. if (t3 < t1[i].get$offset())
  56563. return i;
  56564. return this._interpolation.contents.length - 1;
  56565. },
  56566. _expandInterpolationSpanLeft$1(start) {
  56567. var i0, prev, char,
  56568. source = start.file._decodedChars,
  56569. i = start.offset - 1;
  56570. for (; i >= 0;) {
  56571. i0 = i - 1;
  56572. prev = source[i];
  56573. if (prev === 123) {
  56574. if (source[i0] === 35) {
  56575. i = i0;
  56576. break;
  56577. }
  56578. i = i0;
  56579. } else if (prev === 47) {
  56580. i = i0 - 1;
  56581. if (source[i0] === 42)
  56582. for (; true;) {
  56583. i0 = i - 1;
  56584. if (source[i] !== 42) {
  56585. i = i0;
  56586. continue;
  56587. }
  56588. i = i0;
  56589. do {
  56590. i0 = i - 1;
  56591. char = source[i];
  56592. if (char === 42) {
  56593. i = i0;
  56594. continue;
  56595. } else
  56596. break;
  56597. } while (true);
  56598. if (char === 47) {
  56599. i = i0;
  56600. break;
  56601. }
  56602. i = i0;
  56603. }
  56604. } else
  56605. i = i0;
  56606. }
  56607. return i;
  56608. },
  56609. _expandInterpolationSpanRight$1(end) {
  56610. var t1, i0, next, second, t2, char,
  56611. source = end.file._decodedChars,
  56612. i = end.offset;
  56613. for (t1 = source.length; i < t1;) {
  56614. i0 = i + 1;
  56615. next = source[i];
  56616. if (next === 125) {
  56617. i = i0;
  56618. break;
  56619. }
  56620. if (next === 47) {
  56621. i = i0 + 1;
  56622. second = source[i0];
  56623. if (second === 47) {
  56624. while (true) {
  56625. i0 = i + 1;
  56626. t2 = source[i];
  56627. if (!!(t2 === 10 || t2 === 13 || t2 === 12))
  56628. break;
  56629. i = i0;
  56630. }
  56631. i = i0;
  56632. } else if (second === 42)
  56633. for (; true;) {
  56634. i0 = i + 1;
  56635. if (source[i] !== 42) {
  56636. i = i0;
  56637. continue;
  56638. }
  56639. i = i0;
  56640. do {
  56641. i0 = i + 1;
  56642. char = source[i];
  56643. if (char === 42) {
  56644. i = i0;
  56645. continue;
  56646. } else
  56647. break;
  56648. } while (true);
  56649. if (char === 47) {
  56650. i = i0;
  56651. break;
  56652. }
  56653. i = i0;
  56654. }
  56655. } else
  56656. i = i0;
  56657. }
  56658. return i;
  56659. }
  56660. };
  56661. A.InterpolationMap_mapException_closure.prototype = {
  56662. call$1($content) {
  56663. return $content instanceof A.Expression;
  56664. },
  56665. $signature: 77
  56666. };
  56667. A._realCasePath_helper.prototype = {
  56668. call$2(path, realPath) {
  56669. var dirname = $.$get$context().dirname$1(path);
  56670. if (dirname === path)
  56671. return path;
  56672. return $._realCaseCache.putIfAbsent$2(path, new A._realCasePath_helper_closure(path, realPath, this, dirname));
  56673. },
  56674. call$1(path) {
  56675. return this.call$2(path, null);
  56676. },
  56677. $signature: 149
  56678. };
  56679. A._realCasePath_helper_closure.prototype = {
  56680. call$0() {
  56681. var realPathNonNull, realDirname, basename, matches, t1, _0_0, match, realPathNonNull0, exception, _this = this,
  56682. t2 = _this.path;
  56683. if (!A.linkExists(t2)) {
  56684. realPathNonNull = null;
  56685. try {
  56686. realPathNonNull0 = _this.realPath;
  56687. realPathNonNull = realPathNonNull0 == null ? A.realpath(t2) : realPathNonNull0;
  56688. } catch (exception) {
  56689. if (A.unwrapException(exception) instanceof A.FileSystemException)
  56690. return t2;
  56691. else
  56692. throw exception;
  56693. }
  56694. t1 = realPathNonNull;
  56695. t2 = $.$get$context();
  56696. return A.join(_this.helper.call$2(_this.dirname, t2.dirname$1(t1)), A.ParsedPath_ParsedPath$parse(realPathNonNull, t2.style).get$basename(), null);
  56697. }
  56698. realDirname = _this.helper.call$1(_this.dirname);
  56699. basename = A.ParsedPath_ParsedPath$parse(t2, $.$get$context().style).get$basename();
  56700. try {
  56701. matches = J.where$1$ax(A.listDir(realDirname, false), new A._realCasePath_helper__closure(basename)).toList$0(0);
  56702. t1 = null;
  56703. _0_0 = matches;
  56704. $label0$0: {
  56705. match = null;
  56706. if (J.get$length$asx(_0_0) === 1) {
  56707. match = J.$index$asx(_0_0, 0);
  56708. t1 = match;
  56709. break $label0$0;
  56710. }
  56711. t1 = A.join(realDirname, basename, null);
  56712. break $label0$0;
  56713. }
  56714. t1 = t1;
  56715. return t1;
  56716. } catch (exception) {
  56717. if (A.unwrapException(exception) instanceof A.FileSystemException)
  56718. return t2;
  56719. else
  56720. throw exception;
  56721. }
  56722. },
  56723. $signature: 26
  56724. };
  56725. A._realCasePath_helper__closure.prototype = {
  56726. call$1(realPath) {
  56727. return A.equalsIgnoreCase(A.ParsedPath_ParsedPath$parse(realPath, $.$get$context().style).get$basename(), this.basename);
  56728. },
  56729. $signature: 5
  56730. };
  56731. A.FileSystemException.prototype = {
  56732. toString$0(_) {
  56733. var t1 = $.$get$context();
  56734. return t1.prettyUri$1(t1.toUri$1(this.path)) + ": " + this.message;
  56735. },
  56736. get$message(receiver) {
  56737. return this.message;
  56738. }
  56739. };
  56740. A._readFile_closure.prototype = {
  56741. call$0() {
  56742. return J.readFileSync$2$x(A.fs(), this.path, this.encoding);
  56743. },
  56744. $signature: 58
  56745. };
  56746. A.writeFile_closure.prototype = {
  56747. call$0() {
  56748. return J.writeFileSync$2$x(A.fs(), this.path, this.contents);
  56749. },
  56750. $signature: 0
  56751. };
  56752. A.deleteFile_closure.prototype = {
  56753. call$0() {
  56754. return J.unlinkSync$1$x(A.fs(), this.path);
  56755. },
  56756. $signature: 0
  56757. };
  56758. A.readStdin_closure.prototype = {
  56759. call$1(result) {
  56760. this._box_0.contents = result;
  56761. this.completer.complete$1(result);
  56762. },
  56763. $signature: 111
  56764. };
  56765. A.readStdin_closure0.prototype = {
  56766. call$1(chunk) {
  56767. this.sink.add$1(0, type$.List_int._as(chunk));
  56768. },
  56769. call$0() {
  56770. return this.call$1(null);
  56771. },
  56772. "call*": "call$1",
  56773. $requiredArgCount: 0,
  56774. $defaultValues() {
  56775. return [null];
  56776. },
  56777. $signature: 91
  56778. };
  56779. A.readStdin_closure1.prototype = {
  56780. call$1(arg) {
  56781. this.sink.close$0(0);
  56782. },
  56783. call$0() {
  56784. return this.call$1(null);
  56785. },
  56786. "call*": "call$1",
  56787. $requiredArgCount: 0,
  56788. $defaultValues() {
  56789. return [null];
  56790. },
  56791. $signature: 91
  56792. };
  56793. A.readStdin_closure2.prototype = {
  56794. call$1(e) {
  56795. A.printError("Failed to read from stdin");
  56796. A.printError(e);
  56797. e.toString;
  56798. this.completer.completeError$1(e);
  56799. },
  56800. call$0() {
  56801. return this.call$1(null);
  56802. },
  56803. "call*": "call$1",
  56804. $requiredArgCount: 0,
  56805. $defaultValues() {
  56806. return [null];
  56807. },
  56808. $signature: 91
  56809. };
  56810. A.fileExists_closure.prototype = {
  56811. call$0() {
  56812. var error, systemError, exception,
  56813. t1 = this.path;
  56814. if (!J.existsSync$1$x(A.fs(), t1))
  56815. return false;
  56816. try {
  56817. t1 = J.isFile$0$x(J.statSync$1$x(A.fs(), t1));
  56818. return t1;
  56819. } catch (exception) {
  56820. error = A.unwrapException(exception);
  56821. systemError = type$.JsSystemError._as(error);
  56822. if (J.$eq$(J.get$code$x(systemError), "ENOENT"))
  56823. return false;
  56824. throw exception;
  56825. }
  56826. },
  56827. $signature: 19
  56828. };
  56829. A.dirExists_closure.prototype = {
  56830. call$0() {
  56831. var error, systemError, exception,
  56832. t1 = this.path;
  56833. if (!J.existsSync$1$x(A.fs(), t1))
  56834. return false;
  56835. try {
  56836. t1 = J.isDirectory$0$x(J.statSync$1$x(A.fs(), t1));
  56837. return t1;
  56838. } catch (exception) {
  56839. error = A.unwrapException(exception);
  56840. systemError = type$.JsSystemError._as(error);
  56841. if (J.$eq$(J.get$code$x(systemError), "ENOENT"))
  56842. return false;
  56843. throw exception;
  56844. }
  56845. },
  56846. $signature: 19
  56847. };
  56848. A.linkExists_closure.prototype = {
  56849. call$0() {
  56850. var error, systemError, t1, exception;
  56851. try {
  56852. t1 = J.isSymbolicLink$0$x(J.lstatSync$1$x(A.fs(), this.path));
  56853. return t1;
  56854. } catch (exception) {
  56855. error = A.unwrapException(exception);
  56856. systemError = type$.JsSystemError._as(error);
  56857. if (J.$eq$(J.get$code$x(systemError), "ENOENT"))
  56858. return false;
  56859. throw exception;
  56860. }
  56861. },
  56862. $signature: 19
  56863. };
  56864. A.ensureDir_closure.prototype = {
  56865. call$0() {
  56866. var error, systemError, exception, t1;
  56867. try {
  56868. J.mkdirSync$1$x(A.fs(), this.path);
  56869. } catch (exception) {
  56870. error = A.unwrapException(exception);
  56871. systemError = type$.JsSystemError._as(error);
  56872. if (J.$eq$(J.get$code$x(systemError), "EEXIST"))
  56873. return;
  56874. if (!J.$eq$(J.get$code$x(systemError), "ENOENT"))
  56875. throw exception;
  56876. t1 = this.path;
  56877. A.ensureDir($.$get$context().dirname$1(t1));
  56878. J.mkdirSync$1$x(A.fs(), t1);
  56879. }
  56880. },
  56881. $signature: 0
  56882. };
  56883. A.listDir_closure.prototype = {
  56884. call$0() {
  56885. var t1 = this.path;
  56886. if (!this.recursive)
  56887. return J.map$1$1$ax(J.readdirSync$1$x(A.fs(), t1), new A.listDir__closure(t1), type$.String).super$Iterable$where(0, new A.listDir__closure0());
  56888. else
  56889. return new A.listDir_closure_list().call$1(t1);
  56890. },
  56891. $signature: 152
  56892. };
  56893. A.listDir__closure.prototype = {
  56894. call$1(child) {
  56895. return A.join(this.path, A._asString(child), null);
  56896. },
  56897. $signature: 134
  56898. };
  56899. A.listDir__closure0.prototype = {
  56900. call$1(child) {
  56901. return !A.dirExists(child);
  56902. },
  56903. $signature: 5
  56904. };
  56905. A.listDir_closure_list.prototype = {
  56906. call$1($parent) {
  56907. return J.expand$1$1$ax(J.readdirSync$1$x(A.fs(), $parent), new A.listDir__list_closure($parent, this), type$.String);
  56908. },
  56909. $signature: 153
  56910. };
  56911. A.listDir__list_closure.prototype = {
  56912. call$1(child) {
  56913. var path = A.join(this.parent, A._asString(child), null);
  56914. return A.dirExists(path) ? this.list.call$1(path) : A._setArrayType([path], type$.JSArray_String);
  56915. },
  56916. $signature: 154
  56917. };
  56918. A.realpath_closure.prototype = {
  56919. call$0() {
  56920. return J.native$1$x(J.get$realpathSync$x(A.fs()), this.path);
  56921. },
  56922. $signature: 26
  56923. };
  56924. A.modificationTime_closure.prototype = {
  56925. call$0() {
  56926. var t1 = J.getTime$0$x(J.get$mtime$x(J.statSync$1$x(A.fs(), this.path)));
  56927. if (t1 < -864e13 || t1 > 864e13)
  56928. A.throwExpression(A.RangeError$range(t1, -864e13, 864e13, "millisecondsSinceEpoch", null));
  56929. A.checkNotNullable(false, "isUtc", type$.bool);
  56930. return new A.DateTime(t1, 0, false);
  56931. },
  56932. $signature: 155
  56933. };
  56934. A.watchDir_closure0.prototype = {
  56935. call$2(error, events) {
  56936. var t1, t2, t3, t4, t5, lastEvent;
  56937. if (error != null) {
  56938. t1 = this._box_0.controller;
  56939. if (t1 != null)
  56940. t1.addError$1(error);
  56941. } else
  56942. for (t1 = J.get$iterator$ax(events), t2 = this._box_0; t1.moveNext$0();) {
  56943. t3 = t1.get$current(t1);
  56944. switch (t3.type) {
  56945. case "create":
  56946. t4 = t2.controller;
  56947. if (t4 != null) {
  56948. t3 = new A.WatchEvent(B.ChangeType_add, t3.path);
  56949. t5 = t4._state;
  56950. if (t5 >= 4)
  56951. A.throwExpression(t4._badEventState$0());
  56952. if ((t5 & 1) !== 0)
  56953. t4._sendData$1(t3);
  56954. else if ((t5 & 3) === 0) {
  56955. t4 = t4._ensurePendingEvents$0();
  56956. t3 = new A._DelayedData(t3);
  56957. lastEvent = t4.lastPendingEvent;
  56958. if (lastEvent == null)
  56959. t4.firstPendingEvent = t4.lastPendingEvent = t3;
  56960. else {
  56961. lastEvent.set$next(t3);
  56962. t4.lastPendingEvent = t3;
  56963. }
  56964. }
  56965. }
  56966. break;
  56967. case "update":
  56968. t4 = t2.controller;
  56969. if (t4 != null) {
  56970. t3 = new A.WatchEvent(B.ChangeType_modify, t3.path);
  56971. t5 = t4._state;
  56972. if (t5 >= 4)
  56973. A.throwExpression(t4._badEventState$0());
  56974. if ((t5 & 1) !== 0)
  56975. t4._sendData$1(t3);
  56976. else if ((t5 & 3) === 0) {
  56977. t4 = t4._ensurePendingEvents$0();
  56978. t3 = new A._DelayedData(t3);
  56979. lastEvent = t4.lastPendingEvent;
  56980. if (lastEvent == null)
  56981. t4.firstPendingEvent = t4.lastPendingEvent = t3;
  56982. else {
  56983. lastEvent.set$next(t3);
  56984. t4.lastPendingEvent = t3;
  56985. }
  56986. }
  56987. }
  56988. break;
  56989. case "delete":
  56990. t4 = t2.controller;
  56991. if (t4 != null) {
  56992. t3 = new A.WatchEvent(B.ChangeType_remove, t3.path);
  56993. t5 = t4._state;
  56994. if (t5 >= 4)
  56995. A.throwExpression(t4._badEventState$0());
  56996. if ((t5 & 1) !== 0)
  56997. t4._sendData$1(t3);
  56998. else if ((t5 & 3) === 0) {
  56999. t4 = t4._ensurePendingEvents$0();
  57000. t3 = new A._DelayedData(t3);
  57001. lastEvent = t4.lastPendingEvent;
  57002. if (lastEvent == null)
  57003. t4.firstPendingEvent = t4.lastPendingEvent = t3;
  57004. else {
  57005. lastEvent.set$next(t3);
  57006. t4.lastPendingEvent = t3;
  57007. }
  57008. }
  57009. }
  57010. break;
  57011. }
  57012. }
  57013. },
  57014. $signature: 340
  57015. };
  57016. A.watchDir_closure.prototype = {
  57017. call$0() {
  57018. this.subscription.unsubscribe();
  57019. },
  57020. $signature: 1
  57021. };
  57022. A.watchDir_closure1.prototype = {
  57023. call$2(path, _) {
  57024. var t1 = this._box_0.controller;
  57025. return t1 == null ? null : t1.add$1(0, new A.WatchEvent(B.ChangeType_add, path));
  57026. },
  57027. call$1(path) {
  57028. return this.call$2(path, null);
  57029. },
  57030. "call*": "call$2",
  57031. $requiredArgCount: 1,
  57032. $defaultValues() {
  57033. return [null];
  57034. },
  57035. $signature: 156
  57036. };
  57037. A.watchDir_closure2.prototype = {
  57038. call$2(path, _) {
  57039. var t1 = this._box_0.controller;
  57040. return t1 == null ? null : t1.add$1(0, new A.WatchEvent(B.ChangeType_modify, path));
  57041. },
  57042. call$1(path) {
  57043. return this.call$2(path, null);
  57044. },
  57045. "call*": "call$2",
  57046. $requiredArgCount: 1,
  57047. $defaultValues() {
  57048. return [null];
  57049. },
  57050. $signature: 156
  57051. };
  57052. A.watchDir_closure3.prototype = {
  57053. call$1(path) {
  57054. var t1 = this._box_0.controller;
  57055. return t1 == null ? null : t1.add$1(0, new A.WatchEvent(B.ChangeType_remove, path));
  57056. },
  57057. $signature: 111
  57058. };
  57059. A.watchDir_closure4.prototype = {
  57060. call$1(error) {
  57061. var t1 = this._box_0.controller;
  57062. return t1 == null ? null : t1.addError$1(error);
  57063. },
  57064. $signature: 95
  57065. };
  57066. A.watchDir_closure5.prototype = {
  57067. call$0() {
  57068. var controller = A.StreamController_StreamController(new A.watchDir__closure(this.watcher), null, null, null, false, type$.WatchEvent);
  57069. this._box_0.controller = controller;
  57070. this.completer.complete$1(new A._ControllerStream(controller, A._instanceType(controller)._eval$1("_ControllerStream<1>")));
  57071. },
  57072. $signature: 1
  57073. };
  57074. A.watchDir__closure.prototype = {
  57075. call$0() {
  57076. J.close$0$x(this.watcher);
  57077. },
  57078. $signature: 1
  57079. };
  57080. A.JSArray0.prototype = {};
  57081. A.Chokidar.prototype = {};
  57082. A.ChokidarOptions.prototype = {};
  57083. A.ChokidarWatcher.prototype = {};
  57084. A.JSFunction.prototype = {};
  57085. A.ImmutableList.prototype = {};
  57086. A.ImmutableMap.prototype = {};
  57087. A.NodeImporterResult.prototype = {};
  57088. A.RenderContext.prototype = {};
  57089. A.RenderContextOptions.prototype = {};
  57090. A.RenderContextResult.prototype = {};
  57091. A.RenderContextResultStats.prototype = {};
  57092. A.JSModule.prototype = {};
  57093. A.JSModuleRequire.prototype = {};
  57094. A.ParcelWatcher_subscribe_closure.prototype = {
  57095. call$2(error, events) {
  57096. var t1 = type$.List_JSObject._is(events) ? events : new A.CastList(events, A._arrayInstanceType(events)._eval$1("CastList<1,JSObject>"));
  57097. this.callback.call$2(error, t1);
  57098. },
  57099. $signature: 357
  57100. };
  57101. A.JSClass.prototype = {};
  57102. A.JSUrl.prototype = {};
  57103. A._PropertyDescriptor.prototype = {};
  57104. A._RequireMain.prototype = {};
  57105. A.LoggerWithDeprecationType.prototype = {
  57106. warn$4$deprecation$span$trace(_, message, deprecation, span, trace) {
  57107. this.internalWarn$4$deprecation$span$trace(message, deprecation ? B.Deprecation_KtC : null, span, trace);
  57108. },
  57109. warn$1(_, message) {
  57110. return this.warn$4$deprecation$span$trace(0, message, false, null, null);
  57111. },
  57112. warn$3$span$trace(_, message, span, trace) {
  57113. return this.warn$4$deprecation$span$trace(0, message, false, span, trace);
  57114. }
  57115. };
  57116. A._QuietLogger.prototype = {
  57117. warn$4$deprecation$span$trace(_, message, deprecation, span, trace) {
  57118. },
  57119. warn$1(_, message) {
  57120. return this.warn$4$deprecation$span$trace(0, message, false, null, null);
  57121. },
  57122. warn$3$span$trace(_, message, span, trace) {
  57123. return this.warn$4$deprecation$span$trace(0, message, false, span, trace);
  57124. },
  57125. debug$2(_, message, span) {
  57126. }
  57127. };
  57128. A.DeprecationProcessingLogger.prototype = {
  57129. validate$0() {
  57130. var t1, t2, t3, t4, _this = this, _null = null;
  57131. for (t1 = _this.fatalDeprecations, t1 = t1.get$iterator(t1), t2 = _this.silenceDeprecations; t1.moveNext$0();) {
  57132. t3 = t1.get$current(t1);
  57133. t4 = t2.contains$1(0, t3);
  57134. if (t4) {
  57135. t3 = t3.toString$0(0);
  57136. _this.internalWarn$4$deprecation$span$trace("Ignoring setting to silence " + t3 + string$.x20deprex2c, _null, _null, _null);
  57137. continue;
  57138. }
  57139. }
  57140. for (t1 = A._LinkedHashSetIterator$(t2, t2._collection$_modifications, A._instanceType(t2)._precomputed1), t2 = t1.$ti._precomputed1, t3 = _this.futureDeprecations; t1.moveNext$0();) {
  57141. t4 = t1._collection$_current;
  57142. if (B.Deprecation_KtC === (t4 == null ? t2._as(t4) : t4)) {
  57143. _this.internalWarn$4$deprecation$span$trace(string$.User_a, _null, _null, _null);
  57144. continue;
  57145. }
  57146. }
  57147. for (t1 = A._LinkedHashSetIterator$(t3, t3._collection$_modifications, A._instanceType(t3)._precomputed1), t2 = t1.$ti._precomputed1; t1.moveNext$0();) {
  57148. t3 = t1._collection$_current;
  57149. t3 = (t3 == null ? t2._as(t3) : t3).toString$0(0);
  57150. _this.internalWarn$4$deprecation$span$trace(t3 + string$.x20is_noaf, _null, _null, _null);
  57151. }
  57152. },
  57153. internalWarn$4$deprecation$span$trace(message, deprecation, span, trace) {
  57154. if (deprecation != null)
  57155. this._handleDeprecation$4$span$trace(deprecation, message, span, trace);
  57156. else
  57157. this._inner.warn$3$span$trace(0, message, span, trace);
  57158. },
  57159. _handleDeprecation$4$span$trace(deprecation, message, span, trace) {
  57160. var _0_3_isSet, _0_3, t1, span0, t2, count, _1_0, _this = this, _null = null;
  57161. if (_this.fatalDeprecations.contains$1(0, deprecation)) {
  57162. message += string$.x0a_This + deprecation.toString$0(0) + string$.x20deprex20;
  57163. $label0$0: {
  57164. _0_3_isSet = span != null;
  57165. _0_3 = _null;
  57166. t1 = false;
  57167. if (_0_3_isSet) {
  57168. span0 = span == null ? type$.FileSpan._as(span) : span;
  57169. t1 = trace != null;
  57170. _0_3 = trace;
  57171. } else
  57172. span0 = _null;
  57173. if (t1) {
  57174. if (_0_3_isSet)
  57175. trace = _0_3;
  57176. t1 = A.SassRuntimeException$(message, span0, trace == null ? type$.Trace._as(trace) : trace, _null);
  57177. break $label0$0;
  57178. }
  57179. t1 = false;
  57180. if (span != null)
  57181. t1 = (_0_3_isSet ? _0_3 : trace) == null;
  57182. else
  57183. span = _null;
  57184. if (t1) {
  57185. t1 = A.SassException$(message, span, _null);
  57186. break $label0$0;
  57187. }
  57188. t1 = A.SassScriptException$(message, _null);
  57189. break $label0$0;
  57190. }
  57191. throw A.wrapException(t1);
  57192. }
  57193. if (_this.silenceDeprecations.contains$1(0, deprecation))
  57194. return;
  57195. if (_this.limitRepetition) {
  57196. t1 = _this._warningCounts;
  57197. t2 = t1.$index(0, deprecation);
  57198. count = (t2 == null ? 0 : t2) + 1;
  57199. t1.$indexSet(0, deprecation, count);
  57200. if (count > 5)
  57201. return;
  57202. }
  57203. _1_0 = _this._inner;
  57204. if (_1_0 instanceof A.LoggerWithDeprecationType)
  57205. _1_0.internalWarn$4$deprecation$span$trace(message, deprecation, span, trace);
  57206. else
  57207. _1_0.warn$4$deprecation$span$trace(0, message, true, span, trace);
  57208. },
  57209. debug$2(_, message, span) {
  57210. return this._inner.debug$2(0, message, span);
  57211. },
  57212. summarize$1$js(js) {
  57213. var t1 = this._warningCounts,
  57214. t2 = A._instanceType(t1)._eval$1("LinkedHashMapValuesIterable<2>"),
  57215. total = A.IterableIntegerExtension_get_sum(new A.MappedIterable(new A.WhereIterable(new A.LinkedHashMapValuesIterable(t1, t2), new A.DeprecationProcessingLogger_summarize_closure(), t2._eval$1("WhereIterable<Iterable.E>")), new A.DeprecationProcessingLogger_summarize_closure0(), t2._eval$1("MappedIterable<Iterable.E,int>")));
  57216. if (total > 0) {
  57217. t1 = js ? "" : string$.x0aRun_i;
  57218. this._inner.warn$1(0, "" + total + string$.x20repet + t1);
  57219. }
  57220. }
  57221. };
  57222. A.DeprecationProcessingLogger_summarize_closure.prototype = {
  57223. call$1(count) {
  57224. return count > 5;
  57225. },
  57226. $signature: 47
  57227. };
  57228. A.DeprecationProcessingLogger_summarize_closure0.prototype = {
  57229. call$1(count) {
  57230. return count - 5;
  57231. },
  57232. $signature: 157
  57233. };
  57234. A.StderrLogger.prototype = {
  57235. internalWarn$4$deprecation$span$trace(message, deprecation, span, trace) {
  57236. var t3,
  57237. result = new A.StringBuffer(""),
  57238. t1 = deprecation != null,
  57239. showDeprecation = t1 && deprecation !== B.Deprecation_KtC,
  57240. t2 = this.color;
  57241. if (t2) {
  57242. t3 = result._contents = "" + "\x1b[33m\x1b[1m";
  57243. t3 = result._contents = (t1 ? result._contents = t3 + "Deprecation " : t3) + "Warning\x1b[0m";
  57244. if (showDeprecation) {
  57245. t1 = t3 + (" [\x1b[34m" + deprecation.toString$0(0) + "\x1b[0m]");
  57246. result._contents = t1;
  57247. } else
  57248. t1 = t3;
  57249. } else {
  57250. t3 = result._contents = (t1 ? result._contents = "" + "DEPRECATION " : "") + "WARNING";
  57251. if (showDeprecation) {
  57252. t1 = t3 + (" [" + deprecation.toString$0(0) + "]");
  57253. result._contents = t1;
  57254. } else
  57255. t1 = t3;
  57256. }
  57257. if (span == null)
  57258. t1 = result._contents = t1 + (": " + message + "\n");
  57259. else if (trace != null) {
  57260. t1 += ": " + message + "\n\n" + span.highlight$1$color(t2) + "\n";
  57261. result._contents = t1;
  57262. } else {
  57263. t1 += " on " + span.message$2$color(0, "\n" + message, t2) + "\n";
  57264. result._contents = t1;
  57265. }
  57266. if (trace != null)
  57267. result._contents = t1 + (A.indent(B.JSString_methods.trimRight$0(trace.toString$0(0)), 4) + "\n");
  57268. A.printError(result);
  57269. },
  57270. debug$2(_, message, span) {
  57271. var url, t3, t4,
  57272. t1 = span.file,
  57273. t2 = span._file$_start;
  57274. if (A.FileLocation$_(t1, t2).file.url == null)
  57275. url = "-";
  57276. else {
  57277. t3 = A.FileLocation$_(t1, t2).file.url;
  57278. t4 = $.$get$context();
  57279. t3.toString;
  57280. url = t4.prettyUri$1(t3);
  57281. }
  57282. t1 = A.FileLocation$_(t1, t2);
  57283. t1 = t1.file.getLine$1(t1.offset);
  57284. t2 = this.color ? "\x1b[1mDebug\x1b[0m" : "DEBUG";
  57285. t2 = "" + (url + ":" + (t1 + 1) + " ") + t2 + (": " + message);
  57286. A.printError(t2.charCodeAt(0) == 0 ? t2 : t2);
  57287. }
  57288. };
  57289. A.TrackingLogger.prototype = {
  57290. warn$4$deprecation$span$trace(_, message, deprecation, span, trace) {
  57291. this._emittedWarning = true;
  57292. this._tracking$_logger.warn$4$deprecation$span$trace(0, message, deprecation, span, trace);
  57293. },
  57294. warn$1(_, message) {
  57295. return this.warn$4$deprecation$span$trace(0, message, false, null, null);
  57296. },
  57297. warn$3$span$trace(_, message, span, trace) {
  57298. return this.warn$4$deprecation$span$trace(0, message, false, span, trace);
  57299. },
  57300. debug$2(_, message, span) {
  57301. this._emittedDebug = true;
  57302. this._tracking$_logger.debug$2(0, message, span);
  57303. }
  57304. };
  57305. A.BuiltInModule.prototype = {
  57306. get$upstream() {
  57307. return B.List_empty7;
  57308. },
  57309. get$variableNodes() {
  57310. return B.Map_empty3;
  57311. },
  57312. get$extensionStore() {
  57313. return B.C_EmptyExtensionStore;
  57314. },
  57315. get$css(_) {
  57316. return new A.CssStylesheet(B.List_empty3, A.SourceFile$decoded(B.List_empty4, this.url).span$2(0, 0, 0));
  57317. },
  57318. get$preModuleComments() {
  57319. return B.Map_empty1;
  57320. },
  57321. get$transitivelyContainsCss() {
  57322. return false;
  57323. },
  57324. get$transitivelyContainsExtensions() {
  57325. return false;
  57326. },
  57327. setVariable$3($name, value, nodeWithSpan) {
  57328. if (!this.variables.containsKey$1($name))
  57329. throw A.wrapException(A.SassScriptException$("Undefined variable.", null));
  57330. throw A.wrapException(A.SassScriptException$("Cannot modify built-in variable.", null));
  57331. },
  57332. variableIdentity$1($name) {
  57333. return this;
  57334. },
  57335. cloneCss$0() {
  57336. return this;
  57337. },
  57338. $isModule0: 1,
  57339. get$url(receiver) {
  57340. return this.url;
  57341. },
  57342. get$functions(receiver) {
  57343. return this.functions;
  57344. },
  57345. get$mixins() {
  57346. return this.mixins;
  57347. },
  57348. get$variables() {
  57349. return this.variables;
  57350. }
  57351. };
  57352. A.ForwardedModuleView.prototype = {
  57353. get$url(_) {
  57354. var t1 = this._forwarded_view$_inner;
  57355. return t1.get$url(t1);
  57356. },
  57357. get$upstream() {
  57358. return this._forwarded_view$_inner.get$upstream();
  57359. },
  57360. get$extensionStore() {
  57361. return this._forwarded_view$_inner.get$extensionStore();
  57362. },
  57363. get$css(_) {
  57364. var t1 = this._forwarded_view$_inner;
  57365. return t1.get$css(t1);
  57366. },
  57367. get$preModuleComments() {
  57368. return this._forwarded_view$_inner.get$preModuleComments();
  57369. },
  57370. get$transitivelyContainsCss() {
  57371. return this._forwarded_view$_inner.get$transitivelyContainsCss();
  57372. },
  57373. get$transitivelyContainsExtensions() {
  57374. return this._forwarded_view$_inner.get$transitivelyContainsExtensions();
  57375. },
  57376. setVariable$3($name, value, nodeWithSpan) {
  57377. var t2, _1_0, _2_0,
  57378. _s19_ = "Undefined variable.",
  57379. t1 = this._rule,
  57380. _0_0 = t1.shownVariables;
  57381. if (_0_0 != null)
  57382. t2 = !_0_0._base.contains$1(0, $name);
  57383. else
  57384. t2 = false;
  57385. if (t2)
  57386. throw A.wrapException(A.SassScriptException$(_s19_, null));
  57387. else {
  57388. _1_0 = t1.hiddenVariables;
  57389. if (_1_0 != null)
  57390. t2 = _1_0._base.contains$1(0, $name);
  57391. else
  57392. t2 = false;
  57393. if (t2)
  57394. throw A.wrapException(A.SassScriptException$(_s19_, null));
  57395. }
  57396. _2_0 = t1.prefix;
  57397. if (_2_0 != null) {
  57398. if (!B.JSString_methods.startsWith$1($name, _2_0))
  57399. throw A.wrapException(A.SassScriptException$(_s19_, null));
  57400. $name = B.JSString_methods.substring$1($name, _2_0.length);
  57401. }
  57402. return this._forwarded_view$_inner.setVariable$3($name, value, nodeWithSpan);
  57403. },
  57404. variableIdentity$1($name) {
  57405. var _0_0 = this._rule.prefix;
  57406. if (_0_0 != null)
  57407. $name = B.JSString_methods.substring$1($name, _0_0.length);
  57408. return this._forwarded_view$_inner.variableIdentity$1($name);
  57409. },
  57410. $eq(_, other) {
  57411. if (other == null)
  57412. return false;
  57413. return other instanceof A.ForwardedModuleView && this._forwarded_view$_inner.$eq(0, other._forwarded_view$_inner) && this._rule === other._rule;
  57414. },
  57415. get$hashCode(_) {
  57416. var t1 = this._forwarded_view$_inner;
  57417. return (t1.get$hashCode(t1) ^ A.Primitives_objectHashCode(this._rule)) >>> 0;
  57418. },
  57419. cloneCss$0() {
  57420. return A.ForwardedModuleView$(this._forwarded_view$_inner.cloneCss$0(), this._rule, this.$ti._precomputed1);
  57421. },
  57422. toString$0(_) {
  57423. return "forwarded " + this._forwarded_view$_inner.toString$0(0);
  57424. },
  57425. $isModule0: 1,
  57426. get$variables() {
  57427. return this.variables;
  57428. },
  57429. get$variableNodes() {
  57430. return this.variableNodes;
  57431. },
  57432. get$functions(receiver) {
  57433. return this.functions;
  57434. },
  57435. get$mixins() {
  57436. return this.mixins;
  57437. }
  57438. };
  57439. A.ShadowedModuleView.prototype = {
  57440. get$url(_) {
  57441. var t1 = this._shadowed_view$_inner;
  57442. return t1.get$url(t1);
  57443. },
  57444. get$upstream() {
  57445. return this._shadowed_view$_inner.get$upstream();
  57446. },
  57447. get$extensionStore() {
  57448. return this._shadowed_view$_inner.get$extensionStore();
  57449. },
  57450. get$css(_) {
  57451. var t1 = this._shadowed_view$_inner;
  57452. return t1.get$css(t1);
  57453. },
  57454. get$preModuleComments() {
  57455. return this._shadowed_view$_inner.get$preModuleComments();
  57456. },
  57457. get$transitivelyContainsCss() {
  57458. return this._shadowed_view$_inner.get$transitivelyContainsCss();
  57459. },
  57460. get$transitivelyContainsExtensions() {
  57461. return this._shadowed_view$_inner.get$transitivelyContainsExtensions();
  57462. },
  57463. setVariable$3($name, value, nodeWithSpan) {
  57464. if (!this.variables.containsKey$1($name))
  57465. throw A.wrapException(A.SassScriptException$("Undefined variable.", null));
  57466. else
  57467. this._shadowed_view$_inner.setVariable$3($name, value, nodeWithSpan);
  57468. },
  57469. variableIdentity$1($name) {
  57470. return this._shadowed_view$_inner.variableIdentity$1($name);
  57471. },
  57472. $eq(_, other) {
  57473. var t1, t2, t3, _this = this;
  57474. if (other == null)
  57475. return false;
  57476. t1 = false;
  57477. if (other instanceof A.ShadowedModuleView)
  57478. if (_this._shadowed_view$_inner.$eq(0, other._shadowed_view$_inner)) {
  57479. t2 = _this.variables;
  57480. t2 = t2.get$keys(t2);
  57481. t3 = other.variables;
  57482. if (B.C_IterableEquality.equals$2(0, t2, t3.get$keys(t3))) {
  57483. t2 = _this.functions;
  57484. t2 = t2.get$keys(t2);
  57485. t3 = other.functions;
  57486. if (B.C_IterableEquality.equals$2(0, t2, t3.get$keys(t3))) {
  57487. t1 = _this.mixins;
  57488. t1 = t1.get$keys(t1);
  57489. t2 = other.mixins;
  57490. t2 = B.C_IterableEquality.equals$2(0, t1, t2.get$keys(t2));
  57491. t1 = t2;
  57492. }
  57493. }
  57494. }
  57495. return t1;
  57496. },
  57497. get$hashCode(_) {
  57498. var t1 = this._shadowed_view$_inner;
  57499. return t1.get$hashCode(t1);
  57500. },
  57501. cloneCss$0() {
  57502. var _this = this;
  57503. return new A.ShadowedModuleView(_this._shadowed_view$_inner.cloneCss$0(), _this.variables, _this.variableNodes, _this.functions, _this.mixins, _this.$ti);
  57504. },
  57505. toString$0(_) {
  57506. return "shadowed " + this._shadowed_view$_inner.toString$0(0);
  57507. },
  57508. $isModule0: 1,
  57509. get$variables() {
  57510. return this.variables;
  57511. },
  57512. get$variableNodes() {
  57513. return this.variableNodes;
  57514. },
  57515. get$functions(receiver) {
  57516. return this.functions;
  57517. },
  57518. get$mixins() {
  57519. return this.mixins;
  57520. }
  57521. };
  57522. A.AtRootQueryParser.prototype = {
  57523. parse$0(_) {
  57524. return this.wrapSpanFormatException$1(new A.AtRootQueryParser_parse_closure(this));
  57525. }
  57526. };
  57527. A.AtRootQueryParser_parse_closure.prototype = {
  57528. call$0() {
  57529. var include, atRules,
  57530. t1 = this.$this,
  57531. t2 = t1.scanner;
  57532. t2.expectChar$1(40);
  57533. t1.whitespace$1$consumeNewlines(true);
  57534. include = t1.scanIdentifier$1("with");
  57535. if (!include)
  57536. t1.expectIdentifier$2$name("without", '"with" or "without"');
  57537. t1.whitespace$1$consumeNewlines(true);
  57538. t2.expectChar$1(58);
  57539. t1.whitespace$1$consumeNewlines(true);
  57540. atRules = A.LinkedHashSet_LinkedHashSet$_empty(type$.String);
  57541. do {
  57542. atRules.add$1(0, t1.identifier$0().toLowerCase());
  57543. t1.whitespace$1$consumeNewlines(true);
  57544. } while (t1.lookingAtIdentifier$0());
  57545. t2.expectChar$1(41);
  57546. t2.expectDone$0();
  57547. return new A.AtRootQuery(include, atRules, atRules.contains$1(0, "all"), atRules.contains$1(0, "rule"));
  57548. },
  57549. $signature: 398
  57550. };
  57551. A._disallowedFunctionNames_closure.prototype = {
  57552. call$1($function) {
  57553. return $function.name;
  57554. },
  57555. $signature: 417
  57556. };
  57557. A.CssParser.prototype = {
  57558. get$plainCss() {
  57559. return true;
  57560. },
  57561. silentComment$0() {
  57562. var t1, t2, _this = this;
  57563. if (_this._inExpression)
  57564. return false;
  57565. t1 = _this.scanner;
  57566. t2 = t1._string_scanner$_position;
  57567. _this.super$Parser$silentComment();
  57568. _this.error$2(0, string$.Silent, t1.spanFrom$1(new A._SpanScannerState(t1, t2)));
  57569. },
  57570. atRule$2$root(child, root) {
  57571. var $name, _0_0, _this = this,
  57572. t1 = _this.scanner,
  57573. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  57574. t1.expectChar$1(64);
  57575. $name = _this.interpolatedIdentifier$0();
  57576. _this.whitespace$1$consumeNewlines(true);
  57577. _0_0 = $name.get$asPlain();
  57578. $label0$0: {
  57579. if ("at-root" === _0_0 || "content" === _0_0 || "debug" === _0_0 || "each" === _0_0 || "error" === _0_0 || "extend" === _0_0 || "for" === _0_0 || "function" === _0_0 || "if" === _0_0 || "include" === _0_0 || "mixin" === _0_0 || "return" === _0_0 || "warn" === _0_0 || "while" === _0_0)
  57580. _this._forbiddenAtRule$1(start);
  57581. if ("import" === _0_0) {
  57582. t1 = _this._cssImportRule$1(start);
  57583. break $label0$0;
  57584. }
  57585. if ("media" === _0_0) {
  57586. t1 = _this.mediaRule$1(start);
  57587. break $label0$0;
  57588. }
  57589. if ("-moz-document" === _0_0) {
  57590. t1 = _this.mozDocumentRule$2(start, $name);
  57591. break $label0$0;
  57592. }
  57593. if ("supports" === _0_0) {
  57594. t1 = _this.supportsRule$1(start);
  57595. break $label0$0;
  57596. }
  57597. t1 = _this.unknownAtRule$2(start, $name);
  57598. break $label0$0;
  57599. }
  57600. return t1;
  57601. },
  57602. _forbiddenAtRule$1(start) {
  57603. this.almostAnyValue$0();
  57604. this.error$2(0, "This at-rule isn't allowed in plain CSS.", this.scanner.spanFrom$1(start));
  57605. },
  57606. _cssImportRule$1(start) {
  57607. var _0_0, t3, string, $name, _0_3, _0_4, t4, _0_8, t5, modifiers, _this = this,
  57608. t1 = _this.scanner,
  57609. t2 = t1._string_scanner$_position,
  57610. _1_0 = t1.peekChar$0();
  57611. $label1$1: {
  57612. if (117 === _1_0 || 85 === _1_0) {
  57613. _0_0 = _this.dynamicUrl$0();
  57614. $label0$0: {
  57615. if (_0_0 instanceof A.StringExpression) {
  57616. t3 = _0_0.text;
  57617. break $label0$0;
  57618. }
  57619. string = null;
  57620. t3 = false;
  57621. if (_0_0 instanceof A.InterpolatedFunctionExpression) {
  57622. $name = _0_0.name;
  57623. _0_3 = _0_0.$arguments;
  57624. _0_4 = _0_3.positional;
  57625. t4 = _0_4;
  57626. if (t4.length === 1) {
  57627. _0_8 = _0_4[0];
  57628. t4 = _0_8;
  57629. if (t4 instanceof A.StringExpression) {
  57630. type$.StringExpression._as(_0_8);
  57631. t4 = _0_3.named;
  57632. if (t4.get$isEmpty(t4))
  57633. if (_0_3.rest == null)
  57634. t3 = _0_3.keywordRest == null;
  57635. string = _0_8;
  57636. }
  57637. }
  57638. } else
  57639. $name = null;
  57640. if (t3) {
  57641. t3 = new A.StringBuffer("");
  57642. t4 = new A.InterpolationBuffer(t3, A._setArrayType([], type$.JSArray_Object), A._setArrayType([], type$.JSArray_nullable_FileSpan));
  57643. t4.addInterpolation$1($name);
  57644. t5 = A.Primitives_stringFromCharCode(40);
  57645. t3._contents += t5;
  57646. t4.addInterpolation$1(string.asInterpolation$0());
  57647. t5 = A.Primitives_stringFromCharCode(41);
  57648. t3._contents += t5;
  57649. t4 = t4.interpolation$1(_0_0.span);
  57650. t3 = t4;
  57651. break $label0$0;
  57652. }
  57653. t3 = _this.error$2(0, "Unsupported plain CSS import.", _0_0.get$span(_0_0));
  57654. }
  57655. break $label1$1;
  57656. }
  57657. t3 = _this.interpolatedString$0().asInterpolation$1$static(true);
  57658. break $label1$1;
  57659. }
  57660. _this.whitespace$1$consumeNewlines(true);
  57661. modifiers = _this.tryImportModifiers$0();
  57662. _this.expectStatementSeparator$1("@import rule");
  57663. t2 = A._setArrayType([new A.StaticImport(t3, modifiers, t1.spanFrom$1(new A._SpanScannerState(t1, t2)))], type$.JSArray_Import);
  57664. t1 = t1.spanFrom$1(start);
  57665. return new A.ImportRule(A.List_List$unmodifiable(t2, type$.Import), t1);
  57666. },
  57667. parentheses$0() {
  57668. var expression,
  57669. t1 = this.scanner,
  57670. t2 = t1._string_scanner$_position;
  57671. t1.expectChar$1(40);
  57672. this.whitespace$1$consumeNewlines(true);
  57673. expression = this.expressionUntilComma$0();
  57674. t1.expectChar$1(41);
  57675. return new A.ParenthesizedExpression(expression, t1.spanFrom$1(new A._SpanScannerState(t1, t2)));
  57676. },
  57677. identifierLike$0() {
  57678. var t2, allowEmptySecondArg, $arguments, t3, t4, _this = this,
  57679. t1 = _this.scanner,
  57680. start = new A._SpanScannerState(t1, t1._string_scanner$_position),
  57681. identifier = _this.interpolatedIdentifier$0(),
  57682. plain = identifier.get$asPlain(),
  57683. lower = plain.toLowerCase(),
  57684. _0_0 = _this.trySpecialFunction$2(lower, start);
  57685. if (_0_0 != null)
  57686. return _0_0;
  57687. t2 = t1._string_scanner$_position;
  57688. if (t1.scanChar$1(46))
  57689. return _this.namespacedExpression$2(plain, start);
  57690. if (!t1.scanChar$1(40))
  57691. return new A.StringExpression(identifier, false);
  57692. allowEmptySecondArg = lower === "var";
  57693. $arguments = A._setArrayType([], type$.JSArray_Expression);
  57694. if (!t1.scanChar$1(41)) {
  57695. do {
  57696. _this.whitespace$1$consumeNewlines(true);
  57697. if (allowEmptySecondArg && $arguments.length === 1 && t1.peekChar$0() === 41) {
  57698. t3 = A.FileLocation$_(t1._sourceFile, t1._string_scanner$_position);
  57699. t4 = t3.offset;
  57700. t4 = A._FileSpan$(t3.file, t4, t4);
  57701. $arguments.push(new A.StringExpression(new A.Interpolation(A.List_List$unmodifiable([""], type$.Object), B.List_null, t4), false));
  57702. break;
  57703. }
  57704. $arguments.push(_this.expressionUntilComma$1$singleEquals(true));
  57705. _this.whitespace$1$consumeNewlines(true);
  57706. } while (t1.scanChar$1(44));
  57707. t1.expectChar$1(41);
  57708. }
  57709. if ($.$get$_disallowedFunctionNames().contains$1(0, plain))
  57710. _this.error$2(0, string$.This_f, t1.spanFrom$1(start));
  57711. t2 = t1.spanFrom$1(new A._SpanScannerState(t1, t2));
  57712. t3 = type$.Expression;
  57713. t4 = A.List_List$unmodifiable($arguments, t3);
  57714. t3 = A.ConstantMap_ConstantMap$from(B.Map_empty4, type$.String, t3);
  57715. t1 = t1.spanFrom$1(start);
  57716. return new A.FunctionExpression(null, A.stringReplaceAllUnchecked(plain, "_", "-"), plain, new A.ArgumentList(t4, t3, null, null, t2), t1);
  57717. },
  57718. namespacedExpression$2(namespace, start) {
  57719. var expression = this.super$StylesheetParser$namespacedExpression(namespace, start);
  57720. this.error$2(0, string$.Modulen, expression.get$span(expression));
  57721. }
  57722. };
  57723. A.KeyframeSelectorParser.prototype = {
  57724. parse$0(_) {
  57725. return this.wrapSpanFormatException$1(new A.KeyframeSelectorParser_parse_closure(this));
  57726. },
  57727. _percentage$0() {
  57728. var $self, _0_0,
  57729. t1 = this.scanner,
  57730. t2 = t1.scanChar$1(43) ? "" + A.Primitives_stringFromCharCode(43) : "",
  57731. second = t1.peekChar$0();
  57732. if (!(second != null && second >= 48 && second <= 57) && second !== 46)
  57733. t1.error$1(0, "Expected number.");
  57734. while (true) {
  57735. $self = t1.peekChar$0();
  57736. if (!($self != null && $self >= 48 && $self <= 57))
  57737. break;
  57738. t2 += A.Primitives_stringFromCharCode(t1.readChar$0());
  57739. }
  57740. if (t1.peekChar$0() === 46) {
  57741. t2 += A.Primitives_stringFromCharCode(t1.readChar$0());
  57742. while (true) {
  57743. $self = t1.peekChar$0();
  57744. if (!($self != null && $self >= 48 && $self <= 57))
  57745. break;
  57746. t2 += A.Primitives_stringFromCharCode(t1.readChar$0());
  57747. }
  57748. }
  57749. if (this.scanIdentChar$1(101)) {
  57750. t2 += A.Primitives_stringFromCharCode(101);
  57751. _0_0 = t1.peekChar$0();
  57752. if (43 === _0_0 || 45 === _0_0)
  57753. t2 += A.Primitives_stringFromCharCode(t1.readChar$0());
  57754. $self = t1.peekChar$0();
  57755. if (!($self != null && $self >= 48 && $self <= 57))
  57756. t1.error$1(0, "Expected digit.");
  57757. do {
  57758. t2 += A.Primitives_stringFromCharCode(t1.readChar$0());
  57759. $self = t1.peekChar$0();
  57760. } while ($self != null && $self >= 48 && $self <= 57);
  57761. }
  57762. t1.expectChar$1(37);
  57763. t2 += A.Primitives_stringFromCharCode(37);
  57764. return t2.charCodeAt(0) == 0 ? t2 : t2;
  57765. }
  57766. };
  57767. A.KeyframeSelectorParser_parse_closure.prototype = {
  57768. call$0() {
  57769. var selectors = A._setArrayType([], type$.JSArray_String),
  57770. t1 = this.$this,
  57771. t2 = t1.scanner;
  57772. do {
  57773. t1.whitespace$1$consumeNewlines(true);
  57774. if (t1.lookingAtIdentifier$0())
  57775. if (t1.scanIdentifier$1("from"))
  57776. selectors.push("from");
  57777. else {
  57778. t1.expectIdentifier$2$name("to", '"to" or "from"');
  57779. selectors.push("to");
  57780. }
  57781. else
  57782. selectors.push(t1._percentage$0());
  57783. t1.whitespace$1$consumeNewlines(true);
  57784. } while (t2.scanChar$1(44));
  57785. t2.expectDone$0();
  57786. return selectors;
  57787. },
  57788. $signature: 138
  57789. };
  57790. A.MediaQueryParser.prototype = {
  57791. parse$0(_) {
  57792. return this.wrapSpanFormatException$1(new A.MediaQueryParser_parse_closure(this));
  57793. },
  57794. _mediaQuery$0() {
  57795. var conditions, conjunction, t1, identifier1, identifier2, type, modifier, _this = this, _null = null, _s3_ = "and";
  57796. if (_this.scanner.peekChar$0() === 40) {
  57797. conditions = A._setArrayType([_this._mediaInParens$0()], type$.JSArray_String);
  57798. _this.whitespace$1$consumeNewlines(true);
  57799. if (_this.scanIdentifier$1(_s3_)) {
  57800. _this.expectWhitespace$0();
  57801. B.JSArray_methods.addAll$1(conditions, _this._mediaLogicSequence$1(_s3_));
  57802. conjunction = true;
  57803. } else {
  57804. t1 = _this.scanIdentifier$1("or");
  57805. if (t1) {
  57806. _this.expectWhitespace$0();
  57807. B.JSArray_methods.addAll$1(conditions, _this._mediaLogicSequence$1("or"));
  57808. }
  57809. conjunction = !t1;
  57810. }
  57811. return A.CssMediaQuery$condition(conditions, conjunction);
  57812. }
  57813. identifier1 = _this.identifier$0();
  57814. if (A.equalsIgnoreCase(identifier1, "not")) {
  57815. _this.expectWhitespace$0();
  57816. if (!_this.lookingAtIdentifier$0())
  57817. return A.CssMediaQuery$condition(A._setArrayType(["(not " + _this._mediaInParens$0() + ")"], type$.JSArray_String), _null);
  57818. }
  57819. _this.whitespace$1$consumeNewlines(true);
  57820. if (!_this.lookingAtIdentifier$0())
  57821. return A.CssMediaQuery$type(identifier1, _null, _null);
  57822. identifier2 = _this.identifier$0();
  57823. if (A.equalsIgnoreCase(identifier2, _s3_)) {
  57824. _this.expectWhitespace$0();
  57825. type = identifier1;
  57826. modifier = _null;
  57827. } else {
  57828. _this.whitespace$1$consumeNewlines(true);
  57829. if (_this.scanIdentifier$1(_s3_))
  57830. _this.expectWhitespace$0();
  57831. else
  57832. return A.CssMediaQuery$type(identifier2, _null, identifier1);
  57833. type = identifier2;
  57834. modifier = identifier1;
  57835. }
  57836. if (_this.scanIdentifier$1("not")) {
  57837. _this.expectWhitespace$0();
  57838. return A.CssMediaQuery$type(type, A._setArrayType(["(not " + _this._mediaInParens$0() + ")"], type$.JSArray_String), modifier);
  57839. }
  57840. return A.CssMediaQuery$type(type, _this._mediaLogicSequence$1(_s3_), modifier);
  57841. },
  57842. _mediaLogicSequence$1(operator) {
  57843. var t1, t2, _this = this,
  57844. result = A._setArrayType([], type$.JSArray_String);
  57845. for (t1 = _this.scanner; true;) {
  57846. t1.expectChar$2$name(40, "media condition in parentheses");
  57847. t2 = _this.declarationValue$0();
  57848. t1.expectChar$1(41);
  57849. result.push("(" + t2 + ")");
  57850. _this.whitespace$1$consumeNewlines(true);
  57851. if (!_this.scanIdentifier$1(operator))
  57852. return result;
  57853. _this.expectWhitespace$0();
  57854. }
  57855. },
  57856. _mediaInParens$0() {
  57857. var t2,
  57858. t1 = this.scanner;
  57859. t1.expectChar$2$name(40, "media condition in parentheses");
  57860. t2 = this.declarationValue$0();
  57861. t1.expectChar$1(41);
  57862. return "(" + t2 + ")";
  57863. }
  57864. };
  57865. A.MediaQueryParser_parse_closure.prototype = {
  57866. call$0() {
  57867. var queries = A._setArrayType([], type$.JSArray_CssMediaQuery),
  57868. t1 = this.$this,
  57869. t2 = t1.scanner;
  57870. do {
  57871. t1.whitespace$1$consumeNewlines(true);
  57872. queries.push(t1._mediaQuery$0());
  57873. t1.whitespace$1$consumeNewlines(true);
  57874. } while (t2.scanChar$1(44));
  57875. t2.expectDone$0();
  57876. return queries;
  57877. },
  57878. $signature: 418
  57879. };
  57880. A.Parser.prototype = {
  57881. _parseIdentifier$0() {
  57882. return this.wrapSpanFormatException$1(new A.Parser__parseIdentifier_closure(this));
  57883. },
  57884. _isVariableDeclarationLike$0() {
  57885. var _this = this,
  57886. t1 = _this.scanner;
  57887. if (!t1.scanChar$1(36))
  57888. return false;
  57889. if (!_this.lookingAtIdentifier$0())
  57890. return false;
  57891. _this.identifier$0();
  57892. _this.whitespace$1$consumeNewlines(true);
  57893. return t1.scanChar$1(58);
  57894. },
  57895. whitespace$1$consumeNewlines(consumeNewlines) {
  57896. do
  57897. this.whitespaceWithoutComments$1$consumeNewlines(consumeNewlines);
  57898. while (this.scanComment$0());
  57899. },
  57900. whitespaceWithoutComments$1$consumeNewlines(consumeNewlines) {
  57901. var t3,
  57902. t1 = this.scanner,
  57903. t2 = t1.string.length;
  57904. while (true) {
  57905. if (t1._string_scanner$_position !== t2) {
  57906. t3 = t1.peekChar$0();
  57907. t3 = t3 === 32 || t3 === 9 || t3 === 10 || t3 === 13 || t3 === 12;
  57908. } else
  57909. t3 = false;
  57910. if (!t3)
  57911. break;
  57912. t1.readChar$0();
  57913. }
  57914. },
  57915. spaces$0() {
  57916. var t3,
  57917. t1 = this.scanner,
  57918. t2 = t1.string.length;
  57919. while (true) {
  57920. if (t1._string_scanner$_position !== t2) {
  57921. t3 = t1.peekChar$0();
  57922. t3 = t3 === 32 || t3 === 9;
  57923. } else
  57924. t3 = false;
  57925. if (!t3)
  57926. break;
  57927. t1.readChar$0();
  57928. }
  57929. },
  57930. scanComment$0() {
  57931. var _0_0,
  57932. t1 = this.scanner;
  57933. if (t1.peekChar$0() !== 47)
  57934. return false;
  57935. _0_0 = t1.peekChar$1(1);
  57936. if (47 === _0_0)
  57937. return this.silentComment$0();
  57938. if (42 === _0_0) {
  57939. this.loudComment$0();
  57940. return true;
  57941. }
  57942. return false;
  57943. },
  57944. expectWhitespace$1$consumeNewlines(consumeNewlines) {
  57945. var t2, t3,
  57946. t1 = this.scanner;
  57947. if (t1._string_scanner$_position !== t1.string.length) {
  57948. t2 = t1.peekChar$0();
  57949. t3 = !(t2 === 32 || t2 === 9 || t2 === 10 || t2 === 13 || t2 === 12 || this.scanComment$0());
  57950. t2 = t3;
  57951. } else
  57952. t2 = true;
  57953. if (t2)
  57954. t1.error$1(0, "Expected whitespace.");
  57955. this.whitespace$1$consumeNewlines(consumeNewlines);
  57956. },
  57957. expectWhitespace$0() {
  57958. return this.expectWhitespace$1$consumeNewlines(false);
  57959. },
  57960. silentComment$0() {
  57961. var t2, t3,
  57962. t1 = this.scanner;
  57963. t1.expect$1("//");
  57964. t2 = t1.string.length;
  57965. while (true) {
  57966. if (t1._string_scanner$_position !== t2) {
  57967. t3 = t1.peekChar$0();
  57968. t3 = !(t3 === 10 || t3 === 13 || t3 === 12);
  57969. } else
  57970. t3 = false;
  57971. if (!t3)
  57972. break;
  57973. t1.readChar$0();
  57974. }
  57975. return true;
  57976. },
  57977. loudComment$0() {
  57978. var next,
  57979. t1 = this.scanner;
  57980. t1.expect$1("/*");
  57981. for (; true;) {
  57982. if (t1.readChar$0() !== 42)
  57983. continue;
  57984. do
  57985. next = t1.readChar$0();
  57986. while (next === 42);
  57987. if (next === 47)
  57988. break;
  57989. }
  57990. },
  57991. identifier$2$normalize$unit(normalize, unit) {
  57992. var t2, _0_0, _this = this,
  57993. _s20_ = "Expected identifier.",
  57994. text = new A.StringBuffer(""),
  57995. t1 = _this.scanner;
  57996. if (t1.scanChar$1(45)) {
  57997. t2 = text._contents = "" + A.Primitives_stringFromCharCode(45);
  57998. if (t1.scanChar$1(45)) {
  57999. text._contents = t2 + A.Primitives_stringFromCharCode(45);
  58000. _this._identifierBody$3$normalize$unit(text, normalize, unit);
  58001. t1 = text._contents;
  58002. return t1.charCodeAt(0) == 0 ? t1 : t1;
  58003. }
  58004. } else
  58005. t2 = "";
  58006. $label0$0: {
  58007. _0_0 = t1.peekChar$0();
  58008. if (_0_0 == null)
  58009. t1.error$1(0, _s20_);
  58010. if (95 === _0_0 && normalize) {
  58011. t1.readChar$0();
  58012. text._contents = t2 + A.Primitives_stringFromCharCode(45);
  58013. break $label0$0;
  58014. }
  58015. if (_0_0 === 95 || A.CharacterExtension_get_isAlphabetic(_0_0) || _0_0 >= 128) {
  58016. text._contents = t2 + A.Primitives_stringFromCharCode(t1.readChar$0());
  58017. break $label0$0;
  58018. }
  58019. if (92 === _0_0) {
  58020. text._contents = t2 + _this.escape$1$identifierStart(true);
  58021. break $label0$0;
  58022. }
  58023. t1.error$1(0, _s20_);
  58024. }
  58025. _this._identifierBody$3$normalize$unit(text, normalize, unit);
  58026. t1 = text._contents;
  58027. return t1.charCodeAt(0) == 0 ? t1 : t1;
  58028. },
  58029. identifier$0() {
  58030. return this.identifier$2$normalize$unit(false, false);
  58031. },
  58032. identifier$1$normalize(normalize) {
  58033. return this.identifier$2$normalize$unit(normalize, false);
  58034. },
  58035. identifier$1$unit(unit) {
  58036. return this.identifier$2$normalize$unit(false, unit);
  58037. },
  58038. _identifierBody$3$normalize$unit(text, normalize, unit) {
  58039. var t1, _1_0, _0_0, t2;
  58040. for (t1 = this.scanner; true;) {
  58041. _1_0 = t1.peekChar$0();
  58042. if (_1_0 == null)
  58043. break;
  58044. if (45 === _1_0 && unit) {
  58045. _0_0 = t1.peekChar$1(1);
  58046. if (46 !== _0_0)
  58047. t2 = A._isInt(_0_0) && _0_0 >= 48 && _0_0 <= 57;
  58048. else
  58049. t2 = true;
  58050. if (t2)
  58051. break;
  58052. t2 = A.Primitives_stringFromCharCode(t1.readChar$0());
  58053. text._contents += t2;
  58054. continue;
  58055. }
  58056. if (95 === _1_0 && normalize) {
  58057. t1.readChar$0();
  58058. t2 = A.Primitives_stringFromCharCode(45);
  58059. text._contents += t2;
  58060. continue;
  58061. }
  58062. if (_1_0 !== 95) {
  58063. if (!(_1_0 >= 97 && _1_0 <= 122))
  58064. t2 = _1_0 >= 65 && _1_0 <= 90;
  58065. else
  58066. t2 = true;
  58067. t2 = t2 || _1_0 >= 128;
  58068. } else
  58069. t2 = true;
  58070. if (!t2)
  58071. t2 = _1_0 >= 48 && _1_0 <= 57 || _1_0 === 45;
  58072. else
  58073. t2 = true;
  58074. if (t2) {
  58075. t2 = A.Primitives_stringFromCharCode(t1.readChar$0());
  58076. text._contents += t2;
  58077. continue;
  58078. }
  58079. if (92 === _1_0) {
  58080. t2 = this.escape$0();
  58081. text._contents += t2;
  58082. continue;
  58083. }
  58084. break;
  58085. }
  58086. },
  58087. _identifierBody$1(text) {
  58088. return this._identifierBody$3$normalize$unit(text, false, false);
  58089. },
  58090. string$0() {
  58091. var buffer, _0_0, t2,
  58092. t1 = this.scanner,
  58093. quote = t1.readChar$0();
  58094. if (quote !== 39 && quote !== 34)
  58095. t1.error$2$position(0, "Expected string.", t1._string_scanner$_position - 1);
  58096. buffer = new A.StringBuffer("");
  58097. for (; true;) {
  58098. _0_0 = t1.peekChar$0();
  58099. if (_0_0 === quote) {
  58100. t1.readChar$0();
  58101. break;
  58102. }
  58103. if (_0_0 == null || _0_0 === 10 || _0_0 === 13 || _0_0 === 12)
  58104. t1.error$1(0, "Expected " + A.Primitives_stringFromCharCode(quote) + ".");
  58105. if (92 === _0_0) {
  58106. t2 = t1.peekChar$1(1);
  58107. if (t2 === 10 || t2 === 13 || t2 === 12) {
  58108. t1.readChar$0();
  58109. t1.readChar$0();
  58110. } else {
  58111. t2 = A.Primitives_stringFromCharCode(A.consumeEscapedCharacter(t1));
  58112. buffer._contents += t2;
  58113. }
  58114. continue;
  58115. }
  58116. t2 = A.Primitives_stringFromCharCode(t1.readChar$0());
  58117. buffer._contents += t2;
  58118. }
  58119. t1 = buffer._contents;
  58120. return t1.charCodeAt(0) == 0 ? t1 : t1;
  58121. },
  58122. declarationValue$1$allowEmpty(allowEmpty) {
  58123. var t1, t2, t3, wroteNewline, next, wroteNewline0, t4, start, end, _0_0, _this = this,
  58124. buffer = new A.StringBuffer(""),
  58125. brackets = A._setArrayType([], type$.JSArray_int);
  58126. for (t1 = _this.scanner, t2 = _this.get$loudComment(), t3 = _this.get$string(), wroteNewline = false; true;) {
  58127. next = t1.peekChar$0();
  58128. if (next == null)
  58129. break;
  58130. wroteNewline0 = false;
  58131. if (92 === next) {
  58132. t4 = _this.escape$1$identifierStart(true);
  58133. buffer._contents += t4;
  58134. wroteNewline = wroteNewline0;
  58135. continue;
  58136. }
  58137. if (34 === next || 39 === next) {
  58138. start = t1._string_scanner$_position;
  58139. t3.call$0();
  58140. end = t1._string_scanner$_position;
  58141. buffer._contents += B.JSString_methods.substring$2(t1.string, start, end);
  58142. wroteNewline = wroteNewline0;
  58143. continue;
  58144. }
  58145. if (47 === next) {
  58146. if (t1.peekChar$1(1) === 42) {
  58147. start = t1._string_scanner$_position;
  58148. t2.call$0();
  58149. end = t1._string_scanner$_position;
  58150. buffer._contents += B.JSString_methods.substring$2(t1.string, start, end);
  58151. } else {
  58152. t4 = A.Primitives_stringFromCharCode(t1.readChar$0());
  58153. buffer._contents += t4;
  58154. }
  58155. wroteNewline = wroteNewline0;
  58156. continue;
  58157. }
  58158. if (32 === next || 9 === next) {
  58159. if (!wroteNewline) {
  58160. t4 = t1.peekChar$1(1);
  58161. t4 = !(t4 === 32 || t4 === 9 || t4 === 10 || t4 === 13 || t4 === 12);
  58162. } else
  58163. t4 = true;
  58164. if (t4) {
  58165. t4 = A.Primitives_stringFromCharCode(32);
  58166. buffer._contents += t4;
  58167. }
  58168. t1.readChar$0();
  58169. continue;
  58170. }
  58171. if (10 === next || 13 === next || 12 === next) {
  58172. t4 = t1.peekChar$1(-1);
  58173. if (!(t4 === 10 || t4 === 13 || t4 === 12))
  58174. buffer._contents += "\n";
  58175. t1.readChar$0();
  58176. wroteNewline = true;
  58177. continue;
  58178. }
  58179. if (40 === next || 123 === next || 91 === next) {
  58180. t4 = A.Primitives_stringFromCharCode(next);
  58181. buffer._contents += t4;
  58182. brackets.push(A.opposite(t1.readChar$0()));
  58183. wroteNewline = wroteNewline0;
  58184. continue;
  58185. }
  58186. if (41 === next || 125 === next || 93 === next) {
  58187. if (brackets.length === 0)
  58188. break;
  58189. t4 = A.Primitives_stringFromCharCode(next);
  58190. buffer._contents += t4;
  58191. t1.expectChar$1(brackets.pop());
  58192. wroteNewline = wroteNewline0;
  58193. continue;
  58194. }
  58195. if (59 === next) {
  58196. if (brackets.length === 0)
  58197. break;
  58198. t4 = A.Primitives_stringFromCharCode(t1.readChar$0());
  58199. buffer._contents += t4;
  58200. continue;
  58201. }
  58202. if (117 === next || 85 === next) {
  58203. _0_0 = _this.tryUrl$0();
  58204. if (_0_0 != null)
  58205. buffer._contents += _0_0;
  58206. else {
  58207. t4 = A.Primitives_stringFromCharCode(t1.readChar$0());
  58208. buffer._contents += t4;
  58209. }
  58210. wroteNewline = wroteNewline0;
  58211. continue;
  58212. }
  58213. if (_this.lookingAtIdentifier$0()) {
  58214. t4 = _this.identifier$0();
  58215. buffer._contents += t4;
  58216. } else {
  58217. t4 = A.Primitives_stringFromCharCode(t1.readChar$0());
  58218. buffer._contents += t4;
  58219. }
  58220. wroteNewline = wroteNewline0;
  58221. }
  58222. if (brackets.length !== 0)
  58223. t1.expectChar$1(B.JSArray_methods.get$last(brackets));
  58224. if (!allowEmpty && buffer._contents.length === 0)
  58225. t1.error$1(0, "Expected token.");
  58226. t1 = buffer._contents;
  58227. return t1.charCodeAt(0) == 0 ? t1 : t1;
  58228. },
  58229. declarationValue$0() {
  58230. return this.declarationValue$1$allowEmpty(false);
  58231. },
  58232. tryUrl$0() {
  58233. var buffer, _0_0, t2, _this = this,
  58234. t1 = _this.scanner,
  58235. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  58236. if (!_this.scanIdentifier$1("url"))
  58237. return null;
  58238. if (!t1.scanChar$1(40)) {
  58239. t1.set$state(start);
  58240. return null;
  58241. }
  58242. _this.whitespace$1$consumeNewlines(true);
  58243. buffer = new A.StringBuffer("");
  58244. buffer._contents = "" + "url(";
  58245. for (; true;) {
  58246. _0_0 = t1.peekChar$0();
  58247. if (_0_0 == null)
  58248. break;
  58249. if (92 === _0_0) {
  58250. t2 = _this.escape$0();
  58251. buffer._contents += t2;
  58252. continue;
  58253. }
  58254. t2 = true;
  58255. if (37 !== _0_0)
  58256. if (38 !== _0_0)
  58257. if (35 !== _0_0)
  58258. t2 = _0_0 >= 42 && _0_0 <= 126 || _0_0 >= 128;
  58259. if (t2) {
  58260. t2 = A.Primitives_stringFromCharCode(t1.readChar$0());
  58261. buffer._contents += t2;
  58262. continue;
  58263. }
  58264. if (_0_0 === 32 || _0_0 === 9 || _0_0 === 10 || _0_0 === 13 || _0_0 === 12) {
  58265. _this.whitespace$1$consumeNewlines(true);
  58266. if (t1.peekChar$0() !== 41)
  58267. break;
  58268. continue;
  58269. }
  58270. if (41 === _0_0) {
  58271. t2 = A.Primitives_stringFromCharCode(t1.readChar$0());
  58272. t2 = buffer._contents += t2;
  58273. return t2.charCodeAt(0) == 0 ? t2 : t2;
  58274. }
  58275. break;
  58276. }
  58277. t1.set$state(start);
  58278. return null;
  58279. },
  58280. variableName$0() {
  58281. this.scanner.expectChar$1(36);
  58282. return this.identifier$1$normalize(true);
  58283. },
  58284. escape$1$identifierStart(identifierStart) {
  58285. var value, _0_0, i, next, t2, exception,
  58286. _s25_ = "Expected escape sequence.",
  58287. t1 = this.scanner,
  58288. start = t1._string_scanner$_position;
  58289. t1.expectChar$1(92);
  58290. value = 0;
  58291. $label0$1: {
  58292. _0_0 = t1.peekChar$0();
  58293. if (_0_0 == null)
  58294. t1.error$1(0, _s25_);
  58295. if (_0_0 === 10 || _0_0 === 13 || _0_0 === 12)
  58296. t1.error$1(0, _s25_);
  58297. if (A.CharacterExtension_get_isHex(_0_0)) {
  58298. for (i = 0; i < 6; ++i) {
  58299. next = t1.peekChar$0();
  58300. if (next != null) {
  58301. t2 = true;
  58302. if (!(next >= 48 && next <= 57))
  58303. if (!(next >= 97 && next <= 102))
  58304. t2 = next >= 65 && next <= 70;
  58305. t2 = !t2;
  58306. } else
  58307. t2 = true;
  58308. if (t2)
  58309. break;
  58310. value *= 16;
  58311. value += A.asHex(t1.readChar$0());
  58312. }
  58313. this.scanCharIf$1(new A.Parser_escape_closure());
  58314. break $label0$1;
  58315. }
  58316. value = t1.readChar$0();
  58317. }
  58318. if (identifierStart) {
  58319. t2 = value;
  58320. t2 = t2 === 95 || A.CharacterExtension_get_isAlphabetic(t2) || t2 >= 128;
  58321. } else {
  58322. t2 = value;
  58323. if (!(t2 === 95 || A.CharacterExtension_get_isAlphabetic(t2) || t2 >= 128))
  58324. t2 = t2 >= 48 && t2 <= 57 || t2 === 45;
  58325. else
  58326. t2 = true;
  58327. }
  58328. if (t2)
  58329. try {
  58330. t2 = A.Primitives_stringFromCharCode(value);
  58331. return t2;
  58332. } catch (exception) {
  58333. if (type$.RangeError._is(A.unwrapException(exception)))
  58334. t1.error$3$length$position(0, "Invalid Unicode code point.", t1._string_scanner$_position - start, start);
  58335. else
  58336. throw exception;
  58337. }
  58338. else {
  58339. t1 = true;
  58340. if (!(value <= 31))
  58341. if (!J.$eq$(value, 127))
  58342. if (identifierStart) {
  58343. t1 = value;
  58344. t1 = t1 >= 48 && t1 <= 57;
  58345. } else
  58346. t1 = false;
  58347. if (t1) {
  58348. t1 = "" + A.Primitives_stringFromCharCode(92);
  58349. if (value > 15)
  58350. t1 += A.Primitives_stringFromCharCode(A.hexCharFor(B.JSNumber_methods._shrOtherPositive$1(value, 4)));
  58351. t1 = t1 + A.Primitives_stringFromCharCode(A.hexCharFor(value & 15)) + A.Primitives_stringFromCharCode(32);
  58352. return t1.charCodeAt(0) == 0 ? t1 : t1;
  58353. } else
  58354. return A.String_String$fromCharCodes(A._setArrayType([92, value], type$.JSArray_int), 0, null);
  58355. }
  58356. },
  58357. escape$0() {
  58358. return this.escape$1$identifierStart(false);
  58359. },
  58360. scanCharIf$1(condition) {
  58361. var t1 = this.scanner;
  58362. if (!condition.call$1(t1.peekChar$0()))
  58363. return false;
  58364. t1.readChar$0();
  58365. return true;
  58366. },
  58367. scanIdentChar$2$caseSensitive(char, caseSensitive) {
  58368. var t3,
  58369. t1 = new A.Parser_scanIdentChar_matches(caseSensitive, char),
  58370. t2 = this.scanner,
  58371. _0_0 = t2.peekChar$0();
  58372. if (_0_0 != null)
  58373. t3 = t1.call$1(_0_0);
  58374. else
  58375. t3 = false;
  58376. if (t3) {
  58377. t2.readChar$0();
  58378. return true;
  58379. }
  58380. if (92 === _0_0) {
  58381. t3 = t2._string_scanner$_position;
  58382. if (t1.call$1(A.consumeEscapedCharacter(t2)))
  58383. return true;
  58384. t2.set$state(new A._SpanScannerState(t2, t3));
  58385. }
  58386. return false;
  58387. },
  58388. scanIdentChar$1(char) {
  58389. return this.scanIdentChar$2$caseSensitive(char, false);
  58390. },
  58391. expectIdentChar$1(letter) {
  58392. var t1;
  58393. if (this.scanIdentChar$2$caseSensitive(letter, false))
  58394. return;
  58395. t1 = this.scanner;
  58396. t1.error$2$position(0, 'Expected "' + A.Primitives_stringFromCharCode(letter) + '".', t1._string_scanner$_position);
  58397. },
  58398. lookingAtIdentifier$1($forward) {
  58399. var t1, _1_0, t2, _0_0;
  58400. if ($forward == null)
  58401. $forward = 0;
  58402. t1 = this.scanner;
  58403. _1_0 = t1.peekChar$1($forward);
  58404. $label0$0: {
  58405. if (A._isInt(_1_0))
  58406. t2 = _1_0 === 95 || A.CharacterExtension_get_isAlphabetic(_1_0) || _1_0 >= 128;
  58407. else
  58408. t2 = false;
  58409. if (t2 || 92 === _1_0) {
  58410. t1 = true;
  58411. break $label0$0;
  58412. }
  58413. if (45 === _1_0) {
  58414. _0_0 = t1.peekChar$1($forward + 1);
  58415. $label1$1: {
  58416. if (A._isInt(_0_0))
  58417. t1 = _0_0 === 95 || A.CharacterExtension_get_isAlphabetic(_0_0) || _0_0 >= 128;
  58418. else
  58419. t1 = false;
  58420. t1 = t1 || 92 === _0_0 || 45 === _0_0;
  58421. break $label1$1;
  58422. }
  58423. break $label0$0;
  58424. }
  58425. t1 = false;
  58426. break $label0$0;
  58427. }
  58428. return t1;
  58429. },
  58430. lookingAtIdentifier$0() {
  58431. return this.lookingAtIdentifier$1(null);
  58432. },
  58433. lookingAtIdentifierBody$0() {
  58434. var t1,
  58435. next = this.scanner.peekChar$0();
  58436. if (next != null) {
  58437. if (!(next === 95 || A.CharacterExtension_get_isAlphabetic(next) || next >= 128))
  58438. t1 = next >= 48 && next <= 57 || next === 45;
  58439. else
  58440. t1 = true;
  58441. t1 = t1 || next === 92;
  58442. } else
  58443. t1 = false;
  58444. return t1;
  58445. },
  58446. scanIdentifier$2$caseSensitive(text, caseSensitive) {
  58447. var t1, t2, _this = this;
  58448. if (!_this.lookingAtIdentifier$0())
  58449. return false;
  58450. t1 = _this.scanner;
  58451. t2 = t1._string_scanner$_position;
  58452. if (_this._consumeIdentifier$2(text, caseSensitive) && !_this.lookingAtIdentifierBody$0())
  58453. return true;
  58454. else {
  58455. t1.set$state(new A._SpanScannerState(t1, t2));
  58456. return false;
  58457. }
  58458. },
  58459. scanIdentifier$1(text) {
  58460. return this.scanIdentifier$2$caseSensitive(text, false);
  58461. },
  58462. _consumeIdentifier$2(text, caseSensitive) {
  58463. var t1, t2, t3;
  58464. for (t1 = new A.CodeUnits(text), t2 = type$.CodeUnits, t1 = new A.ListIterator(t1, t1.get$length(0), t2._eval$1("ListIterator<ListBase.E>")), t2 = t2._eval$1("ListBase.E"); t1.moveNext$0();) {
  58465. t3 = t1.__internal$_current;
  58466. if (!this.scanIdentChar$2$caseSensitive(t3 == null ? t2._as(t3) : t3, caseSensitive))
  58467. return false;
  58468. }
  58469. return true;
  58470. },
  58471. expectIdentifier$2$name(text, $name) {
  58472. var t1, start, t2, t3, t4, t5, t6;
  58473. if ($name == null)
  58474. $name = '"' + text + '"';
  58475. t1 = this.scanner;
  58476. start = t1._string_scanner$_position;
  58477. for (t2 = new A.CodeUnits(text), t3 = type$.CodeUnits, t2 = new A.ListIterator(t2, t2.get$length(0), t3._eval$1("ListIterator<ListBase.E>")), t4 = "Expected " + $name, t5 = t4 + ".", t3 = t3._eval$1("ListBase.E"); t2.moveNext$0();) {
  58478. t6 = t2.__internal$_current;
  58479. if (this.scanIdentChar$2$caseSensitive(t6 == null ? t3._as(t6) : t6, false))
  58480. continue;
  58481. t1.error$2$position(0, t5, start);
  58482. }
  58483. if (!this.lookingAtIdentifierBody$0())
  58484. return;
  58485. t1.error$2$position(0, t4, start);
  58486. },
  58487. expectIdentifier$1(text) {
  58488. return this.expectIdentifier$2$name(text, null);
  58489. },
  58490. rawText$1(consumer) {
  58491. var t1 = this.scanner,
  58492. start = t1._string_scanner$_position;
  58493. consumer.call$0();
  58494. return t1.substring$1(0, start);
  58495. },
  58496. spanFrom$1(state) {
  58497. var span = this.scanner.spanFrom$1(state);
  58498. return this._interpolationMap == null ? span : new A.LazyFileSpan(new A.Parser_spanFrom_closure(this, span));
  58499. },
  58500. error$3(_, message, span, trace) {
  58501. var exception = new A.StringScannerException(this.scanner.string, message, span);
  58502. if (trace == null)
  58503. throw A.wrapException(exception);
  58504. else
  58505. A.throwWithTrace(exception, this.get$error(this), trace);
  58506. },
  58507. error$2(_, message, span) {
  58508. return this.error$3(0, message, span, null);
  58509. },
  58510. withErrorMessage$1$2(message, callback) {
  58511. var error, stackTrace, t1, exception;
  58512. try {
  58513. t1 = callback.call$0();
  58514. return t1;
  58515. } catch (exception) {
  58516. t1 = A.unwrapException(exception);
  58517. if (type$.SourceSpanFormatException._is(t1)) {
  58518. error = t1;
  58519. stackTrace = A.getTraceFromException(exception);
  58520. t1 = J.get$span$z(error);
  58521. A.throwWithTrace(new A.SourceSpanFormatException(error.get$source(), message, t1), error, stackTrace);
  58522. } else
  58523. throw exception;
  58524. }
  58525. },
  58526. withErrorMessage$2(message, callback) {
  58527. callback.toString;
  58528. return this.withErrorMessage$1$2(message, callback, type$.dynamic);
  58529. },
  58530. wrapSpanFormatException$1$1(callback) {
  58531. var error, stackTrace, map, error0, stackTrace0, span, secondarySpans, t1, t2, span0, description, _0_0, error1, stackTrace1, span1, t3, exception, t4, _this = this,
  58532. _s8_ = "expected";
  58533. try {
  58534. try {
  58535. t3 = callback.call$0();
  58536. return t3;
  58537. } catch (exception) {
  58538. t3 = A.unwrapException(exception);
  58539. if (type$.SourceSpanFormatException._is(t3)) {
  58540. error = t3;
  58541. stackTrace = A.getTraceFromException(exception);
  58542. map = _this._interpolationMap;
  58543. if (map == null)
  58544. throw exception;
  58545. A.throwWithTrace(map.mapException$1(error), error, stackTrace);
  58546. } else
  58547. throw exception;
  58548. }
  58549. } catch (exception) {
  58550. t3 = A.unwrapException(exception);
  58551. if (type$.MultiSourceSpanFormatException._is(t3)) {
  58552. error0 = t3;
  58553. stackTrace0 = A.getTraceFromException(exception);
  58554. span = J.get$span$z(error0);
  58555. t3 = type$.FileSpan;
  58556. t4 = type$.String;
  58557. secondarySpans = error0.get$secondarySpans().cast$2$0(0, t3, t4);
  58558. if (A.startsWithIgnoreCase(error0._span_exception$_message, _s8_)) {
  58559. span = _this._adjustExceptionSpan$1(span);
  58560. t1 = A.LinkedHashMap_LinkedHashMap$_empty(t3, t4);
  58561. for (t3 = A.MapExtensions_get_pairs(secondarySpans, t3, t4), t3 = t3.get$iterator(t3); t3.moveNext$0();) {
  58562. t2 = t3.get$current(t3);
  58563. span0 = null;
  58564. description = null;
  58565. _0_0 = t2;
  58566. span0 = _0_0._0;
  58567. description = _0_0._1;
  58568. J.$indexSet$ax(t1, _this._adjustExceptionSpan$1(span0), description);
  58569. }
  58570. secondarySpans = t1;
  58571. }
  58572. A.throwWithTrace(A.MultiSpanSassFormatException$(error0._span_exception$_message, span, error0.get$primaryLabel(), secondarySpans, null), error0, stackTrace0);
  58573. } else if (type$.SourceSpanFormatException._is(t3)) {
  58574. error1 = t3;
  58575. stackTrace1 = A.getTraceFromException(exception);
  58576. span1 = J.get$span$z(error1);
  58577. if (A.startsWithIgnoreCase(error1._span_exception$_message, _s8_))
  58578. span1 = _this._adjustExceptionSpan$1(span1);
  58579. t1 = error1._span_exception$_message;
  58580. t2 = span1;
  58581. A.throwWithTrace(new A.SassFormatException(B.Set_empty, t1, t2), error1, stackTrace1);
  58582. } else
  58583. throw exception;
  58584. }
  58585. },
  58586. wrapSpanFormatException$1(callback) {
  58587. callback.toString;
  58588. return this.wrapSpanFormatException$1$1(callback, type$.dynamic);
  58589. },
  58590. _adjustExceptionSpan$1(span) {
  58591. var start, t1;
  58592. if (span.get$length(span) > 0)
  58593. return span;
  58594. start = this._firstNewlineBefore$1(span.get$start(span));
  58595. if (start.$eq(0, span.get$start(span)))
  58596. t1 = span;
  58597. else {
  58598. t1 = start.offset;
  58599. t1 = A._FileSpan$(start.file, t1, t1);
  58600. }
  58601. return t1;
  58602. },
  58603. _firstNewlineBefore$1($location) {
  58604. var lastNewline, codeUnit,
  58605. t1 = $location.file,
  58606. t2 = $location.offset,
  58607. text = A.String_String$fromCharCodes(B.NativeUint32List_methods.sublist$2(t1._decodedChars, 0, t2), 0, null),
  58608. index = t2 - 1;
  58609. for (lastNewline = null; index >= 0;) {
  58610. codeUnit = text.charCodeAt(index);
  58611. if (!(codeUnit === 32 || codeUnit === 9 || codeUnit === 10 || codeUnit === 13 || codeUnit === 12)) {
  58612. if (lastNewline == null)
  58613. t1 = $location;
  58614. else {
  58615. t2 = new A.FileLocation(t1, lastNewline);
  58616. t2.FileLocation$_$2(t1, lastNewline);
  58617. t1 = t2;
  58618. }
  58619. return t1;
  58620. }
  58621. if (codeUnit === 10 || codeUnit === 13 || codeUnit === 12)
  58622. lastNewline = index;
  58623. --index;
  58624. }
  58625. return $location;
  58626. }
  58627. };
  58628. A.Parser__parseIdentifier_closure.prototype = {
  58629. call$0() {
  58630. var t1 = this.$this,
  58631. result = t1.identifier$0();
  58632. t1.scanner.expectDone$0();
  58633. return result;
  58634. },
  58635. $signature: 26
  58636. };
  58637. A.Parser_escape_closure.prototype = {
  58638. call$1(char) {
  58639. return char === 32 || char === 9 || char === 10 || char === 13 || char === 12;
  58640. },
  58641. $signature: 30
  58642. };
  58643. A.Parser_scanIdentChar_matches.prototype = {
  58644. call$1(actual) {
  58645. var t1 = this.char;
  58646. return this.caseSensitive ? actual === t1 : A.characterEqualsIgnoreCase(t1, actual);
  58647. },
  58648. $signature: 47
  58649. };
  58650. A.Parser_spanFrom_closure.prototype = {
  58651. call$0() {
  58652. var t1 = this.$this._interpolationMap;
  58653. if (t1 == null)
  58654. t1 = type$.InterpolationMap._as(t1);
  58655. return t1.mapSpan$1(this.span);
  58656. },
  58657. $signature: 29
  58658. };
  58659. A.SassParser.prototype = {
  58660. get$currentIndentation() {
  58661. return this._currentIndentation;
  58662. },
  58663. get$indented() {
  58664. return true;
  58665. },
  58666. styleRuleSelector$0() {
  58667. var t4,
  58668. t1 = this.scanner,
  58669. t2 = t1._string_scanner$_position,
  58670. t3 = new A.StringBuffer(""),
  58671. buffer = new A.InterpolationBuffer(t3, A._setArrayType([], type$.JSArray_Object), A._setArrayType([], type$.JSArray_nullable_FileSpan));
  58672. do {
  58673. buffer.addInterpolation$1(this.almostAnyValue$1$omitComments(true));
  58674. t4 = A.Primitives_stringFromCharCode(10);
  58675. t4 = t3._contents += t4;
  58676. } while (B.JSString_methods.endsWith$1(B.JSString_methods.trimRight$0(t4.charCodeAt(0) == 0 ? t4 : t4), ",") && this.scanCharIf$1(new A.SassParser_styleRuleSelector_closure()));
  58677. return buffer.interpolation$1(t1.spanFrom$1(new A._SpanScannerState(t1, t2)));
  58678. },
  58679. expectStatementSeparator$1($name) {
  58680. var t1, _this = this,
  58681. trailingSemicolon = _this._tryTrailingSemicolon$0();
  58682. if (!_this.atEndOfStatement$0())
  58683. _this._expectNewline$1$trailingSemicolon(trailingSemicolon);
  58684. if (_this._peekIndentation$0() <= _this._currentIndentation)
  58685. return;
  58686. t1 = $name == null ? "here" : "beneath a " + $name;
  58687. _this.scanner.error$2$position(0, "Nothing may be indented " + t1 + ".", _this._nextIndentationEnd.position);
  58688. },
  58689. expectStatementSeparator$0() {
  58690. return this.expectStatementSeparator$1(null);
  58691. },
  58692. atEndOfStatement$0() {
  58693. var t1 = this.scanner.peekChar$0();
  58694. if (t1 == null)
  58695. t1 = null;
  58696. else
  58697. t1 = t1 === 10 || t1 === 13 || t1 === 12;
  58698. return t1 !== false;
  58699. },
  58700. lookingAtChildren$0() {
  58701. return this.atEndOfStatement$0() && this._peekIndentation$0() > this._currentIndentation;
  58702. },
  58703. importArgument$0() {
  58704. var url, span, innerError, stackTrace, t1, _0_0, start, next, t2, exception, _this = this;
  58705. $label0$0: {
  58706. t1 = _this.scanner;
  58707. _0_0 = t1.peekChar$0();
  58708. if (117 === _0_0 || 85 === _0_0) {
  58709. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  58710. if (_this.scanIdentifier$1("url"))
  58711. if (t1.scanChar$1(40)) {
  58712. t1.set$state(start);
  58713. return _this.super$StylesheetParser$importArgument();
  58714. } else
  58715. t1.set$state(start);
  58716. break $label0$0;
  58717. }
  58718. if (39 === _0_0 || 34 === _0_0)
  58719. return _this.super$StylesheetParser$importArgument();
  58720. }
  58721. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  58722. next = t1.peekChar$0();
  58723. while (true) {
  58724. t2 = false;
  58725. if (next != null)
  58726. if (next !== 44)
  58727. if (next !== 59)
  58728. t2 = !(next === 10 || next === 13 || next === 12);
  58729. if (!t2)
  58730. break;
  58731. t1.readChar$0();
  58732. next = t1.peekChar$0();
  58733. }
  58734. url = t1.substring$1(0, start.position);
  58735. span = t1.spanFrom$1(start);
  58736. if (_this.isPlainImportUrl$1(url))
  58737. return new A.StaticImport(new A.Interpolation(A.List_List$unmodifiable([A.serializeValue(new A.SassString(url, true), true, true)], type$.Object), B.List_null, span), null, span);
  58738. else
  58739. try {
  58740. t1 = _this.parseImportUrl$1(url);
  58741. return new A.DynamicImport(t1, span);
  58742. } catch (exception) {
  58743. t1 = A.unwrapException(exception);
  58744. if (type$.FormatException._is(t1)) {
  58745. innerError = t1;
  58746. stackTrace = A.getTraceFromException(exception);
  58747. _this.error$3(0, "Invalid URL: " + J.get$message$x(innerError), span, stackTrace);
  58748. } else
  58749. throw exception;
  58750. }
  58751. },
  58752. scanElse$1(ifIndentation) {
  58753. var t1, t2, startIndentation, startNextIndentation, startNextIndentationEnd, _this = this;
  58754. if (_this._peekIndentation$0() !== ifIndentation)
  58755. return false;
  58756. t1 = _this.scanner;
  58757. t2 = t1._string_scanner$_position;
  58758. startIndentation = _this._currentIndentation;
  58759. startNextIndentation = _this._nextIndentation;
  58760. startNextIndentationEnd = _this._nextIndentationEnd;
  58761. _this._readIndentation$0();
  58762. if (t1.scanChar$1(64) && _this.scanIdentifier$1("else"))
  58763. return true;
  58764. t1.set$state(new A._SpanScannerState(t1, t2));
  58765. _this._currentIndentation = startIndentation;
  58766. _this._nextIndentation = startNextIndentation;
  58767. _this._nextIndentationEnd = startNextIndentationEnd;
  58768. return false;
  58769. },
  58770. children$1(_, child) {
  58771. var children = A._setArrayType([], type$.JSArray_Statement);
  58772. this._whileIndentedLower$1(new A.SassParser_children_closure(this, child, children));
  58773. return children;
  58774. },
  58775. statements$1(statement) {
  58776. var statements, t2, _1_0,
  58777. t1 = this.scanner,
  58778. _0_0 = t1.peekChar$0();
  58779. if (9 === _0_0 || 32 === _0_0)
  58780. t1.error$3$length$position(0, string$.Indent, t1._string_scanner$_position, 0);
  58781. statements = A._setArrayType([], type$.JSArray_Statement);
  58782. for (t2 = t1.string.length; t1._string_scanner$_position !== t2;) {
  58783. _1_0 = this._child$1(statement);
  58784. if (_1_0 != null)
  58785. statements.push(_1_0);
  58786. this._readIndentation$0();
  58787. }
  58788. return statements;
  58789. },
  58790. _child$1(child) {
  58791. var _0_0, _this = this,
  58792. t1 = _this.scanner,
  58793. _1_0 = t1.peekChar$0();
  58794. $label0$0: {
  58795. if (13 === _1_0 || 10 === _1_0 || 12 === _1_0) {
  58796. t1 = null;
  58797. break $label0$0;
  58798. }
  58799. if (36 === _1_0) {
  58800. t1 = _this.variableDeclarationWithoutNamespace$0();
  58801. break $label0$0;
  58802. }
  58803. if (47 === _1_0) {
  58804. _0_0 = t1.peekChar$1(1);
  58805. $label1$1: {
  58806. if (47 === _0_0) {
  58807. t1 = _this._silentComment$0();
  58808. break $label1$1;
  58809. }
  58810. if (42 === _0_0) {
  58811. t1 = _this._loudComment$0();
  58812. break $label1$1;
  58813. }
  58814. t1 = child.call$0();
  58815. break $label1$1;
  58816. }
  58817. break $label0$0;
  58818. }
  58819. t1 = child.call$0();
  58820. break $label0$0;
  58821. }
  58822. return t1;
  58823. },
  58824. _silentComment$0() {
  58825. var buffer, parentIndentation, t3, t4, t5, commentPrefix, i, t6, i0, t7, _this = this,
  58826. t1 = _this.scanner,
  58827. t2 = t1._string_scanner$_position;
  58828. t1.expect$1("//");
  58829. buffer = new A.StringBuffer("");
  58830. parentIndentation = _this._currentIndentation;
  58831. t3 = t1.string.length;
  58832. t4 = 1 + parentIndentation;
  58833. t5 = 2 + parentIndentation;
  58834. $label0$0:
  58835. do {
  58836. commentPrefix = t1.scanChar$1(47) ? "///" : "//";
  58837. for (i = commentPrefix.length; true;) {
  58838. t6 = buffer._contents += commentPrefix;
  58839. for (i0 = i; i0 < _this._currentIndentation - parentIndentation; ++i0) {
  58840. t6 += A.Primitives_stringFromCharCode(32);
  58841. buffer._contents = t6;
  58842. }
  58843. while (true) {
  58844. if (t1._string_scanner$_position !== t3) {
  58845. t7 = t1.peekChar$0();
  58846. t7 = !(t7 === 10 || t7 === 13 || t7 === 12);
  58847. } else
  58848. t7 = false;
  58849. if (!t7)
  58850. break;
  58851. t6 += A.Primitives_stringFromCharCode(t1.readChar$0());
  58852. buffer._contents = t6;
  58853. }
  58854. buffer._contents = t6 + "\n";
  58855. if (_this._peekIndentation$0() < parentIndentation)
  58856. break $label0$0;
  58857. if (_this._peekIndentation$0() === parentIndentation) {
  58858. if (t1.peekChar$1(t4) === 47 && t1.peekChar$1(t5) === 47)
  58859. _this._readIndentation$0();
  58860. break;
  58861. }
  58862. _this._readIndentation$0();
  58863. }
  58864. } while (t1.scan$1("//"));
  58865. t3 = buffer._contents;
  58866. return _this.lastSilentComment = new A.SilentComment(t3.charCodeAt(0) == 0 ? t3 : t3, t1.spanFrom$1(new A._SpanScannerState(t1, t2)));
  58867. },
  58868. _loudComment$0() {
  58869. var t2, t3, t4, buffer, parentIndentation, t5, t6, first, beginningOfComment, t7, end, i, _1_0, _0_0, endPosition, span, _this = this,
  58870. t1 = _this.scanner,
  58871. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  58872. t1.expect$1("/*");
  58873. t2 = new A.StringBuffer("");
  58874. t3 = A._setArrayType([], type$.JSArray_Object);
  58875. t4 = A._setArrayType([], type$.JSArray_nullable_FileSpan);
  58876. buffer = new A.InterpolationBuffer(t2, t3, t4);
  58877. t2._contents = "" + "/*";
  58878. parentIndentation = _this._currentIndentation;
  58879. for (t5 = t1.string, t6 = t5.length, first = true; true; first = false) {
  58880. if (first) {
  58881. beginningOfComment = t1._string_scanner$_position;
  58882. _this.spaces$0();
  58883. t7 = t1.peekChar$0();
  58884. if (t7 === 10 || t7 === 13 || t7 === 12) {
  58885. _this._readIndentation$0();
  58886. t7 = A.Primitives_stringFromCharCode(32);
  58887. t2._contents += t7;
  58888. } else {
  58889. end = t1._string_scanner$_position;
  58890. t2._contents += B.JSString_methods.substring$2(t5, beginningOfComment, end);
  58891. }
  58892. } else
  58893. t2._contents = (t2._contents += "\n") + " * ";
  58894. for (i = 3; i < _this._currentIndentation - parentIndentation; ++i) {
  58895. t7 = A.Primitives_stringFromCharCode(32);
  58896. t2._contents += t7;
  58897. }
  58898. for (; t1._string_scanner$_position !== t6;) {
  58899. _1_0 = t1.peekChar$0();
  58900. if (10 === _1_0 || 13 === _1_0 || 12 === _1_0)
  58901. break;
  58902. if (35 === _1_0) {
  58903. if (t1.peekChar$1(1) === 123) {
  58904. _0_0 = _this.singleInterpolation$0();
  58905. buffer._flushText$0();
  58906. t3.push(_0_0._0);
  58907. t4.push(_0_0._1);
  58908. } else {
  58909. t7 = A.Primitives_stringFromCharCode(t1.readChar$0());
  58910. t2._contents += t7;
  58911. }
  58912. continue;
  58913. }
  58914. if (42 === _1_0) {
  58915. if (t1.peekChar$1(1) === 47) {
  58916. t3 = A.Primitives_stringFromCharCode(t1.readChar$0());
  58917. t2._contents += t3;
  58918. t3 = A.Primitives_stringFromCharCode(t1.readChar$0());
  58919. t2._contents += t3;
  58920. endPosition = t1._string_scanner$_position;
  58921. t2 = t1._sourceFile;
  58922. t3 = start.position;
  58923. span = new A._FileSpan(t2, t3, endPosition);
  58924. span._FileSpan$3(t2, t3, endPosition);
  58925. _this.whitespace$1$consumeNewlines(false);
  58926. while (true) {
  58927. t2 = t1.peekChar$0();
  58928. if (!((t2 === 10 || t2 === 13 || t2 === 12) && _this._peekIndentation$0() > parentIndentation))
  58929. break;
  58930. for (; _this._lookingAtDoubleNewline$0();)
  58931. _this._expectNewline$0();
  58932. _this._readIndentation$0();
  58933. _this.whitespace$1$consumeNewlines(false);
  58934. }
  58935. if (t1._string_scanner$_position !== t6) {
  58936. t2 = t1.peekChar$0();
  58937. t2 = !(t2 === 10 || t2 === 13 || t2 === 12);
  58938. } else
  58939. t2 = false;
  58940. if (t2) {
  58941. t2 = t1._string_scanner$_position;
  58942. while (true) {
  58943. if (t1._string_scanner$_position !== t6) {
  58944. t3 = t1.peekChar$0();
  58945. t3 = !(t3 === 10 || t3 === 13 || t3 === 12);
  58946. } else
  58947. t3 = false;
  58948. if (!t3)
  58949. break;
  58950. t1.readChar$0();
  58951. }
  58952. throw A.wrapException(A.MultiSpanSassFormatException$("Unexpected text after end of comment", t1.spanFrom$1(new A._SpanScannerState(t1, t2)), "extra text", A.LinkedHashMap_LinkedHashMap$_literal([span, "comment"], type$.FileSpan, type$.String), null));
  58953. } else
  58954. return new A.LoudComment(buffer.interpolation$1(span));
  58955. } else {
  58956. t7 = A.Primitives_stringFromCharCode(t1.readChar$0());
  58957. t2._contents += t7;
  58958. }
  58959. continue;
  58960. }
  58961. t7 = A.Primitives_stringFromCharCode(t1.readChar$0());
  58962. t2._contents += t7;
  58963. }
  58964. if (_this._peekIndentation$0() <= parentIndentation)
  58965. break;
  58966. for (; _this._lookingAtDoubleNewline$0();) {
  58967. _this._expectNewline$0();
  58968. t2._contents = (t2._contents += "\n") + " *";
  58969. }
  58970. _this._readIndentation$0();
  58971. }
  58972. return new A.LoudComment(buffer.interpolation$1(t1.spanFrom$1(start)));
  58973. },
  58974. whitespaceWithoutComments$1$consumeNewlines(consumeNewlines) {
  58975. var t1, t2, next, t3;
  58976. for (t1 = this.scanner, t2 = t1.string.length; t1._string_scanner$_position !== t2;) {
  58977. next = t1.peekChar$0();
  58978. if (consumeNewlines)
  58979. t3 = !(next === 32 || next === 9 || next === 10 || next === 13 || next === 12);
  58980. else
  58981. t3 = !(next === 32 || next === 9);
  58982. if (t3)
  58983. break;
  58984. t1.readChar$0();
  58985. }
  58986. },
  58987. _expectNewline$1$trailingSemicolon(trailingSemicolon) {
  58988. var t1 = this.scanner,
  58989. _0_0 = t1.peekChar$0();
  58990. if (13 === _0_0) {
  58991. t1.readChar$0();
  58992. if (t1.peekChar$0() === 10)
  58993. t1.readChar$0();
  58994. return;
  58995. }
  58996. if (10 === _0_0 || 12 === _0_0) {
  58997. t1.readChar$0();
  58998. return;
  58999. }
  59000. t1.error$1(0, trailingSemicolon ? string$.multip : "expected newline.");
  59001. },
  59002. _expectNewline$0() {
  59003. return this._expectNewline$1$trailingSemicolon(false);
  59004. },
  59005. _lookingAtDoubleNewline$0() {
  59006. var t2, _0_0,
  59007. t1 = this.scanner,
  59008. _1_0 = t1.peekChar$0();
  59009. $label1$1: {
  59010. t2 = false;
  59011. if (13 === _1_0) {
  59012. _0_0 = t1.peekChar$1(1);
  59013. $label0$0: {
  59014. if (10 === _0_0) {
  59015. t1 = t1.peekChar$1(2);
  59016. t1 = t1 === 10 || t1 === 13 || t1 === 12;
  59017. break $label0$0;
  59018. }
  59019. if (13 === _0_0 || 12 === _0_0) {
  59020. t1 = true;
  59021. break $label0$0;
  59022. }
  59023. t1 = t2;
  59024. break $label0$0;
  59025. }
  59026. break $label1$1;
  59027. }
  59028. if (10 === _1_0 || 12 === _1_0) {
  59029. t1 = t1.peekChar$1(1);
  59030. t1 = t1 === 10 || t1 === 13 || t1 === 12;
  59031. break $label1$1;
  59032. }
  59033. t1 = t2;
  59034. break $label1$1;
  59035. }
  59036. return t1;
  59037. },
  59038. _whileIndentedLower$1(body) {
  59039. var t1, t2, childIndentation, indentation, t3, t4, _this = this,
  59040. parentIndentation = _this._currentIndentation;
  59041. for (t1 = _this.scanner, t2 = t1._sourceFile, childIndentation = null; _this._peekIndentation$0() > parentIndentation;) {
  59042. indentation = _this._readIndentation$0();
  59043. if (childIndentation == null)
  59044. childIndentation = indentation;
  59045. if (childIndentation !== indentation) {
  59046. t3 = t1._string_scanner$_position;
  59047. t4 = t2.getColumn$1(t3);
  59048. t1.error$3$length$position(0, "Inconsistent indentation, expected " + childIndentation + " spaces.", t2.getColumn$1(t1._string_scanner$_position), t3 - t4);
  59049. }
  59050. body.call$0();
  59051. }
  59052. },
  59053. _readIndentation$0() {
  59054. var t1, _this = this,
  59055. currentIndentation = _this._nextIndentation;
  59056. if (currentIndentation == null)
  59057. currentIndentation = _this._nextIndentation = _this._peekIndentation$0();
  59058. _this._currentIndentation = currentIndentation;
  59059. t1 = _this._nextIndentationEnd;
  59060. t1.toString;
  59061. _this.scanner.set$state(t1);
  59062. _this._nextIndentationEnd = _this._nextIndentation = null;
  59063. return currentIndentation;
  59064. },
  59065. _peekIndentation$0() {
  59066. var t1, t2, t3, start, containsTab, containsSpace, nextIndentation, _1_0, t4, _this = this,
  59067. _0_0 = _this._nextIndentation;
  59068. if (_0_0 != null)
  59069. return _0_0;
  59070. t1 = _this.scanner;
  59071. t2 = t1._string_scanner$_position;
  59072. t3 = t1.string.length;
  59073. if (t2 === t3) {
  59074. _this._nextIndentation = 0;
  59075. _this._nextIndentationEnd = new A._SpanScannerState(t1, t2);
  59076. return 0;
  59077. }
  59078. start = new A._SpanScannerState(t1, t2);
  59079. if (!_this.scanCharIf$1(new A.SassParser__peekIndentation_closure()))
  59080. t1.error$2$position(0, "Expected newline.", t1._string_scanner$_position);
  59081. containsTab = A._Cell$();
  59082. containsSpace = A._Cell$();
  59083. nextIndentation = A._Cell$();
  59084. do {
  59085. containsSpace.__late_helper$_value = containsTab.__late_helper$_value = false;
  59086. nextIndentation.__late_helper$_value = 0;
  59087. for (; true;) {
  59088. $label0$0: {
  59089. _1_0 = t1.peekChar$0();
  59090. if (32 === _1_0) {
  59091. containsSpace.__late_helper$_value = true;
  59092. break $label0$0;
  59093. }
  59094. if (9 === _1_0) {
  59095. containsTab.__late_helper$_value = true;
  59096. break $label0$0;
  59097. }
  59098. break;
  59099. }
  59100. t2 = nextIndentation.__late_helper$_value;
  59101. if (t2 === nextIndentation)
  59102. A.throwExpression(A.LateError$localNI(""));
  59103. nextIndentation.__late_helper$_value = t2 + 1;
  59104. t1.readChar$0();
  59105. }
  59106. t2 = t1._string_scanner$_position;
  59107. if (t2 === t3) {
  59108. _this._nextIndentation = 0;
  59109. _this._nextIndentationEnd = new A._SpanScannerState(t1, t2);
  59110. t1.set$state(start);
  59111. return 0;
  59112. }
  59113. } while (_this.scanCharIf$1(new A.SassParser__peekIndentation_closure0()));
  59114. t2 = containsTab._readLocal$0();
  59115. t3 = containsSpace._readLocal$0();
  59116. if (t2) {
  59117. if (t3) {
  59118. t2 = t1._string_scanner$_position;
  59119. t3 = t1._sourceFile;
  59120. t4 = t3.getColumn$1(t2);
  59121. t1.error$3$length$position(0, "Tabs and spaces may not be mixed.", t3.getColumn$1(t1._string_scanner$_position), t2 - t4);
  59122. } else if (_this._spaces === true) {
  59123. t2 = t1._string_scanner$_position;
  59124. t3 = t1._sourceFile;
  59125. t4 = t3.getColumn$1(t2);
  59126. t1.error$3$length$position(0, "Expected spaces, was tabs.", t3.getColumn$1(t1._string_scanner$_position), t2 - t4);
  59127. }
  59128. } else if (t3 && _this._spaces === false) {
  59129. t2 = t1._string_scanner$_position;
  59130. t3 = t1._sourceFile;
  59131. t4 = t3.getColumn$1(t2);
  59132. t1.error$3$length$position(0, "Expected tabs, was spaces.", t3.getColumn$1(t1._string_scanner$_position), t2 - t4);
  59133. }
  59134. _this._nextIndentation = nextIndentation._readLocal$0();
  59135. if (nextIndentation._readLocal$0() > 0)
  59136. if (_this._spaces == null)
  59137. _this._spaces = containsSpace._readLocal$0();
  59138. _this._nextIndentationEnd = new A._SpanScannerState(t1, t1._string_scanner$_position);
  59139. t1.set$state(start);
  59140. return nextIndentation._readLocal$0();
  59141. },
  59142. _tryTrailingSemicolon$0() {
  59143. if (this.scanCharIf$1(new A.SassParser__tryTrailingSemicolon_closure())) {
  59144. this.whitespace$1$consumeNewlines(false);
  59145. return true;
  59146. }
  59147. return false;
  59148. }
  59149. };
  59150. A.SassParser_styleRuleSelector_closure.prototype = {
  59151. call$1(char) {
  59152. return char === 10 || char === 13 || char === 12;
  59153. },
  59154. $signature: 30
  59155. };
  59156. A.SassParser_children_closure.prototype = {
  59157. call$0() {
  59158. var _0_0 = this.$this._child$1(this.child);
  59159. if (_0_0 != null)
  59160. this.children.push(_0_0);
  59161. },
  59162. $signature: 0
  59163. };
  59164. A.SassParser__peekIndentation_closure.prototype = {
  59165. call$1(char) {
  59166. return char === 10 || char === 13 || char === 12;
  59167. },
  59168. $signature: 30
  59169. };
  59170. A.SassParser__peekIndentation_closure0.prototype = {
  59171. call$1(char) {
  59172. return char === 10 || char === 13 || char === 12;
  59173. },
  59174. $signature: 30
  59175. };
  59176. A.SassParser__tryTrailingSemicolon_closure.prototype = {
  59177. call$1(char) {
  59178. return char === 59;
  59179. },
  59180. $signature: 30
  59181. };
  59182. A.ScssParser.prototype = {
  59183. get$indented() {
  59184. return false;
  59185. },
  59186. get$currentIndentation() {
  59187. return 0;
  59188. },
  59189. styleRuleSelector$0() {
  59190. return this.almostAnyValue$0();
  59191. },
  59192. expectStatementSeparator$1($name) {
  59193. var t1, _0_0;
  59194. this.whitespaceWithoutComments$1$consumeNewlines(true);
  59195. t1 = this.scanner;
  59196. if (t1._string_scanner$_position === t1.string.length)
  59197. return;
  59198. _0_0 = t1.peekChar$0();
  59199. if (59 === _0_0 || 125 === _0_0)
  59200. return;
  59201. t1.expectChar$1(59);
  59202. },
  59203. expectStatementSeparator$0() {
  59204. return this.expectStatementSeparator$1(null);
  59205. },
  59206. atEndOfStatement$0() {
  59207. var next = this.scanner.peekChar$0();
  59208. return next == null || next === 59 || next === 125 || next === 123;
  59209. },
  59210. lookingAtChildren$0() {
  59211. return this.scanner.peekChar$0() === 123;
  59212. },
  59213. scanElse$1(ifIndentation) {
  59214. var t3, _this = this,
  59215. t1 = _this.scanner,
  59216. t2 = t1._string_scanner$_position;
  59217. _this.whitespace$1$consumeNewlines(true);
  59218. t3 = t1._string_scanner$_position;
  59219. if (t1.scanChar$1(64)) {
  59220. if (_this.scanIdentifier$2$caseSensitive("else", true))
  59221. return true;
  59222. if (_this.scanIdentifier$2$caseSensitive("elseif", true)) {
  59223. _this.warnings.push(new A._Record_3_deprecation_message_span(B.Deprecation_hAa, string$.x40elsei, t1.spanFrom$1(new A._SpanScannerState(t1, t3))));
  59224. t1.set$position(t1._string_scanner$_position - 2);
  59225. return true;
  59226. }
  59227. }
  59228. t1.set$state(new A._SpanScannerState(t1, t2));
  59229. return false;
  59230. },
  59231. children$1(_, child) {
  59232. var children, _this = this,
  59233. t1 = _this.scanner;
  59234. t1.expectChar$1(123);
  59235. _this.whitespaceWithoutComments$1$consumeNewlines(true);
  59236. children = A._setArrayType([], type$.JSArray_Statement);
  59237. for (; true;)
  59238. switch (t1.peekChar$0()) {
  59239. case 36:
  59240. children.push(_this.variableDeclarationWithoutNamespace$0());
  59241. break;
  59242. case 47:
  59243. switch (t1.peekChar$1(1)) {
  59244. case 47:
  59245. children.push(_this._scss$_silentComment$0());
  59246. _this.whitespaceWithoutComments$1$consumeNewlines(true);
  59247. break;
  59248. case 42:
  59249. children.push(_this._scss$_loudComment$0());
  59250. _this.whitespaceWithoutComments$1$consumeNewlines(true);
  59251. break;
  59252. default:
  59253. children.push(child.call$0());
  59254. }
  59255. break;
  59256. case 59:
  59257. t1.readChar$0();
  59258. _this.whitespaceWithoutComments$1$consumeNewlines(true);
  59259. break;
  59260. case 125:
  59261. t1.expectChar$1(125);
  59262. return children;
  59263. default:
  59264. children.push(child.call$0());
  59265. }
  59266. },
  59267. statements$1(statement) {
  59268. var t1, t2, _0_0, _1_0, _this = this,
  59269. statements = A._setArrayType([], type$.JSArray_Statement);
  59270. _this.whitespaceWithoutComments$1$consumeNewlines(true);
  59271. for (t1 = _this.scanner, t2 = t1.string.length; t1._string_scanner$_position !== t2;)
  59272. switch (t1.peekChar$0()) {
  59273. case 36:
  59274. statements.push(_this.variableDeclarationWithoutNamespace$0());
  59275. break;
  59276. case 47:
  59277. switch (t1.peekChar$1(1)) {
  59278. case 47:
  59279. statements.push(_this._scss$_silentComment$0());
  59280. _this.whitespaceWithoutComments$1$consumeNewlines(true);
  59281. break;
  59282. case 42:
  59283. statements.push(_this._scss$_loudComment$0());
  59284. _this.whitespaceWithoutComments$1$consumeNewlines(true);
  59285. break;
  59286. default:
  59287. _0_0 = statement.call$0();
  59288. if (_0_0 != null)
  59289. statements.push(_0_0);
  59290. }
  59291. break;
  59292. case 59:
  59293. t1.readChar$0();
  59294. _this.whitespaceWithoutComments$1$consumeNewlines(true);
  59295. break;
  59296. default:
  59297. _1_0 = statement.call$0();
  59298. if (_1_0 != null)
  59299. statements.push(_1_0);
  59300. }
  59301. return statements;
  59302. },
  59303. _scss$_silentComment$0() {
  59304. var t2, t3, _this = this,
  59305. t1 = _this.scanner,
  59306. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  59307. t1.expect$1("//");
  59308. t2 = t1.string.length;
  59309. do {
  59310. while (true) {
  59311. if (t1._string_scanner$_position !== t2) {
  59312. t3 = t1.readChar$0();
  59313. t3 = !(t3 === 10 || t3 === 13 || t3 === 12);
  59314. } else
  59315. t3 = false;
  59316. if (!t3)
  59317. break;
  59318. }
  59319. if (t1._string_scanner$_position === t2)
  59320. break;
  59321. _this.spaces$0();
  59322. } while (t1.scan$1("//"));
  59323. if (_this.get$plainCss())
  59324. _this.error$2(0, string$.Silent, t1.spanFrom$1(start));
  59325. return _this.lastSilentComment = new A.SilentComment(t1.substring$1(0, start.position), t1.spanFrom$1(start));
  59326. },
  59327. _scss$_loudComment$0() {
  59328. var t3, t4, t5, buffer, _0_0, t6, endPosition,
  59329. t1 = this.scanner,
  59330. t2 = t1._string_scanner$_position;
  59331. t1.expect$1("/*");
  59332. t3 = new A.StringBuffer("");
  59333. t4 = A._setArrayType([], type$.JSArray_Object);
  59334. t5 = A._setArrayType([], type$.JSArray_nullable_FileSpan);
  59335. buffer = new A.InterpolationBuffer(t3, t4, t5);
  59336. t3._contents = "" + "/*";
  59337. $label0$1:
  59338. for (; true;)
  59339. switch (t1.peekChar$0()) {
  59340. case 35:
  59341. if (t1.peekChar$1(1) === 123) {
  59342. _0_0 = this.singleInterpolation$0();
  59343. buffer._flushText$0();
  59344. t4.push(_0_0._0);
  59345. t5.push(_0_0._1);
  59346. } else {
  59347. t6 = A.Primitives_stringFromCharCode(t1.readChar$0());
  59348. t3._contents += t6;
  59349. }
  59350. break;
  59351. case 42:
  59352. t6 = A.Primitives_stringFromCharCode(t1.readChar$0());
  59353. t3._contents += t6;
  59354. if (t1.peekChar$0() !== 47)
  59355. continue $label0$1;
  59356. t4 = A.Primitives_stringFromCharCode(t1.readChar$0());
  59357. t3._contents += t4;
  59358. endPosition = t1._string_scanner$_position;
  59359. t3 = t1._sourceFile;
  59360. t4 = new A._SpanScannerState(t1, t2).position;
  59361. t1 = new A._FileSpan(t3, t4, endPosition);
  59362. t1._FileSpan$3(t3, t4, endPosition);
  59363. return new A.LoudComment(buffer.interpolation$1(t1));
  59364. case 13:
  59365. t1.readChar$0();
  59366. if (t1.peekChar$0() !== 10) {
  59367. t6 = A.Primitives_stringFromCharCode(10);
  59368. t3._contents += t6;
  59369. }
  59370. break;
  59371. case 12:
  59372. t1.readChar$0();
  59373. t6 = A.Primitives_stringFromCharCode(10);
  59374. t3._contents += t6;
  59375. break;
  59376. default:
  59377. t6 = A.Primitives_stringFromCharCode(t1.readChar$0());
  59378. t3._contents += t6;
  59379. }
  59380. }
  59381. };
  59382. A.SelectorParser.prototype = {
  59383. parse$0(_) {
  59384. return this.wrapSpanFormatException$1(new A.SelectorParser_parse_closure(this));
  59385. },
  59386. parseCompoundSelector$0() {
  59387. return this.wrapSpanFormatException$1(new A.SelectorParser_parseCompoundSelector_closure(this));
  59388. },
  59389. _selectorList$0() {
  59390. var t4, t5, lineBreak, _this = this,
  59391. t1 = _this.scanner,
  59392. t2 = t1._string_scanner$_position,
  59393. t3 = t1._sourceFile,
  59394. previousLine = t3.getLine$1(t2),
  59395. components = A._setArrayType([_this._complexSelector$0()], type$.JSArray_ComplexSelector);
  59396. _this.whitespace$1$consumeNewlines(true);
  59397. for (t4 = t1.string.length; t1.scanChar$1(44);) {
  59398. _this.whitespace$1$consumeNewlines(true);
  59399. if (t1.peekChar$0() === 44)
  59400. continue;
  59401. t5 = t1._string_scanner$_position;
  59402. if (t5 === t4)
  59403. break;
  59404. lineBreak = t3.getLine$1(t5) !== previousLine;
  59405. if (lineBreak)
  59406. previousLine = t3.getLine$1(t1._string_scanner$_position);
  59407. components.push(_this._complexSelector$1$lineBreak(lineBreak));
  59408. }
  59409. return A.SelectorList$(components, _this.spanFrom$1(new A._SpanScannerState(t1, t2)));
  59410. },
  59411. _complexSelector$1$lineBreak(lineBreak) {
  59412. var t4, lastCompound, initialCombinators, _0_0, t5, result, _this = this,
  59413. _s18_ = "expected selector.",
  59414. t1 = _this.scanner,
  59415. t2 = t1._string_scanner$_position,
  59416. componentStart = new A._SpanScannerState(t1, t2),
  59417. t3 = type$.JSArray_CssValue_Combinator,
  59418. combinators = A._setArrayType([], t3),
  59419. components = A._setArrayType([], type$.JSArray_ComplexSelectorComponent);
  59420. for (t4 = type$.CssValue_Combinator, lastCompound = null, initialCombinators = null; true;) {
  59421. _this.whitespace$1$consumeNewlines(true);
  59422. _0_0 = t1.peekChar$0();
  59423. if (43 === _0_0) {
  59424. t5 = t1._string_scanner$_position;
  59425. t1.readChar$0();
  59426. combinators.push(new A.CssValue(B.Combinator_bOP, _this.spanFrom$1(new A._SpanScannerState(t1, t5)), t4));
  59427. continue;
  59428. }
  59429. if (62 === _0_0) {
  59430. t5 = t1._string_scanner$_position;
  59431. t1.readChar$0();
  59432. combinators.push(new A.CssValue(B.Combinator_0mp, _this.spanFrom$1(new A._SpanScannerState(t1, t5)), t4));
  59433. continue;
  59434. }
  59435. if (126 === _0_0) {
  59436. t5 = t1._string_scanner$_position;
  59437. t1.readChar$0();
  59438. combinators.push(new A.CssValue(B.Combinator_55N, _this.spanFrom$1(new A._SpanScannerState(t1, t5)), t4));
  59439. continue;
  59440. }
  59441. if (_0_0 == null)
  59442. break;
  59443. t5 = true;
  59444. if (91 !== _0_0)
  59445. if (46 !== _0_0)
  59446. if (35 !== _0_0)
  59447. if (37 !== _0_0)
  59448. if (58 !== _0_0)
  59449. if (38 !== _0_0)
  59450. if (42 !== _0_0)
  59451. if (124 !== _0_0)
  59452. t5 = _this.lookingAtIdentifier$0();
  59453. if (t5) {
  59454. if (lastCompound != null) {
  59455. t5 = _this.spanFrom$1(componentStart);
  59456. result = A.List_List$from(combinators, false, t4);
  59457. result.$flags = 3;
  59458. components.push(new A.ComplexSelectorComponent(lastCompound, result, t5));
  59459. } else if (combinators.length !== 0) {
  59460. componentStart = new A._SpanScannerState(t1, t1._string_scanner$_position);
  59461. initialCombinators = combinators;
  59462. }
  59463. lastCompound = _this._compoundSelector$0();
  59464. combinators = A._setArrayType([], t3);
  59465. if (t1.peekChar$0() === 38)
  59466. t1.error$1(0, string$.x22x26__ma);
  59467. continue;
  59468. }
  59469. break;
  59470. }
  59471. t3 = combinators.length !== 0;
  59472. if (t3 && _this._plainCss)
  59473. t1.error$1(0, _s18_);
  59474. else if (lastCompound != null) {
  59475. t3 = _this.spanFrom$1(componentStart);
  59476. components.push(new A.ComplexSelectorComponent(lastCompound, A.List_List$unmodifiable(combinators, t4), t3));
  59477. } else if (t3)
  59478. initialCombinators = combinators;
  59479. else
  59480. t1.error$1(0, _s18_);
  59481. t3 = initialCombinators == null ? B.List_empty0 : initialCombinators;
  59482. return A.ComplexSelector$(t3, components, _this.spanFrom$1(new A._SpanScannerState(t1, t2)), lineBreak);
  59483. },
  59484. _complexSelector$0() {
  59485. return this._complexSelector$1$lineBreak(false);
  59486. },
  59487. _compoundSelector$0() {
  59488. var t3, _this = this,
  59489. t1 = _this.scanner,
  59490. t2 = t1._string_scanner$_position,
  59491. components = A._setArrayType([_this._simpleSelector$0()], type$.JSArray_SimpleSelector);
  59492. for (t3 = _this._plainCss; _this._isSimpleSelectorStart$1(t1.peekChar$0());)
  59493. components.push(_this._simpleSelector$1$allowParent(t3));
  59494. return A.CompoundSelector$(components, _this.spanFrom$1(new A._SpanScannerState(t1, t2)));
  59495. },
  59496. _simpleSelector$1$allowParent(allowParent) {
  59497. var t2, $name, text, t3, suffix, _this = this,
  59498. t1 = _this.scanner,
  59499. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  59500. if (allowParent == null)
  59501. allowParent = _this._allowParent;
  59502. switch (t1.peekChar$0()) {
  59503. case 91:
  59504. return _this._attributeSelector$0();
  59505. case 46:
  59506. t2 = t1._string_scanner$_position;
  59507. t1.expectChar$1(46);
  59508. return new A.ClassSelector(_this.identifier$0(), _this.spanFrom$1(new A._SpanScannerState(t1, t2)));
  59509. case 35:
  59510. t2 = t1._string_scanner$_position;
  59511. t1.expectChar$1(35);
  59512. return new A.IDSelector(_this.identifier$0(), _this.spanFrom$1(new A._SpanScannerState(t1, t2)));
  59513. case 37:
  59514. t2 = t1._string_scanner$_position;
  59515. t1.expectChar$1(37);
  59516. $name = _this.identifier$0();
  59517. t2 = _this.spanFrom$1(new A._SpanScannerState(t1, t2));
  59518. if (_this._plainCss)
  59519. _this.error$2(0, string$.Placeh, t1.spanFrom$1(start));
  59520. return new A.PlaceholderSelector($name, t2);
  59521. case 58:
  59522. return _this._pseudoSelector$0();
  59523. case 38:
  59524. t2 = t1._string_scanner$_position;
  59525. t1.expectChar$1(38);
  59526. if (_this.lookingAtIdentifierBody$0()) {
  59527. text = new A.StringBuffer("");
  59528. _this._identifierBody$1(text);
  59529. if (text._contents.length === 0)
  59530. t1.error$1(0, "Expected identifier body.");
  59531. t3 = text._contents;
  59532. suffix = t3.charCodeAt(0) == 0 ? t3 : t3;
  59533. } else
  59534. suffix = null;
  59535. if (_this._plainCss && suffix != null)
  59536. t1.error$3$length$position(0, string$.Parent, t1._string_scanner$_position - t2, t2);
  59537. t2 = _this.spanFrom$1(new A._SpanScannerState(t1, t2));
  59538. if (!allowParent)
  59539. _this.error$2(0, "Parent selectors aren't allowed here.", t1.spanFrom$1(start));
  59540. return new A.ParentSelector(suffix, t2);
  59541. default:
  59542. return _this._typeOrUniversalSelector$0();
  59543. }
  59544. },
  59545. _simpleSelector$0() {
  59546. return this._simpleSelector$1$allowParent(null);
  59547. },
  59548. _attributeSelector$0() {
  59549. var $name, operator, next, value, modifier, _this = this, _null = null,
  59550. t1 = _this.scanner,
  59551. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  59552. t1.expectChar$1(91);
  59553. _this.whitespace$1$consumeNewlines(true);
  59554. $name = _this._attributeName$0();
  59555. _this.whitespace$1$consumeNewlines(true);
  59556. if (t1.scanChar$1(93))
  59557. return new A.AttributeSelector($name, _null, _null, _null, _this.spanFrom$1(start));
  59558. operator = _this._attributeOperator$0();
  59559. _this.whitespace$1$consumeNewlines(true);
  59560. next = t1.peekChar$0();
  59561. value = next === 39 || next === 34 ? _this.string$0() : _this.identifier$0();
  59562. _this.whitespace$1$consumeNewlines(true);
  59563. next = t1.peekChar$0();
  59564. modifier = next != null && A.CharacterExtension_get_isAlphabetic(next) ? A.Primitives_stringFromCharCode(t1.readChar$0()) : _null;
  59565. t1.expectChar$1(93);
  59566. return new A.AttributeSelector($name, operator, value, modifier, _this.spanFrom$1(start));
  59567. },
  59568. _attributeName$0() {
  59569. var nameOrNamespace, _this = this,
  59570. t1 = _this.scanner;
  59571. if (t1.scanChar$1(42)) {
  59572. t1.expectChar$1(124);
  59573. return new A.QualifiedName(_this.identifier$0(), "*");
  59574. }
  59575. if (t1.scanChar$1(124))
  59576. return new A.QualifiedName(_this.identifier$0(), "");
  59577. nameOrNamespace = _this.identifier$0();
  59578. if (t1.peekChar$0() !== 124 || t1.peekChar$1(1) === 61)
  59579. return new A.QualifiedName(nameOrNamespace, null);
  59580. t1.readChar$0();
  59581. return new A.QualifiedName(_this.identifier$0(), nameOrNamespace);
  59582. },
  59583. _attributeOperator$0() {
  59584. var t1 = this.scanner,
  59585. t2 = t1._string_scanner$_position;
  59586. switch (t1.readChar$0()) {
  59587. case 61:
  59588. return B.AttributeOperator_Lvy;
  59589. case 126:
  59590. t1.expectChar$1(61);
  59591. return B.AttributeOperator_fp2;
  59592. case 124:
  59593. t1.expectChar$1(61);
  59594. return B.AttributeOperator_iyP;
  59595. case 94:
  59596. t1.expectChar$1(61);
  59597. return B.AttributeOperator_JzP;
  59598. case 36:
  59599. t1.expectChar$1(61);
  59600. return B.AttributeOperator_U1W;
  59601. case 42:
  59602. t1.expectChar$1(61);
  59603. return B.AttributeOperator_GWq;
  59604. default:
  59605. t1.error$2$position(0, 'Expected "]".', t2);
  59606. }
  59607. },
  59608. _pseudoSelector$0() {
  59609. var element, $name, unvendored, argument, selector, t2, _this = this, _null = null,
  59610. t1 = _this.scanner,
  59611. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  59612. t1.expectChar$1(58);
  59613. element = t1.scanChar$1(58);
  59614. $name = _this.identifier$0();
  59615. if (!t1.scanChar$1(40))
  59616. return A.PseudoSelector$($name, _this.spanFrom$1(start), _null, element, _null);
  59617. _this.whitespace$1$consumeNewlines(true);
  59618. unvendored = A.unvendor($name);
  59619. argument = _null;
  59620. selector = _null;
  59621. if (element)
  59622. if ($._selectorPseudoElements.contains$1(0, unvendored))
  59623. selector = _this._selectorList$0();
  59624. else
  59625. argument = _this.declarationValue$1$allowEmpty(true);
  59626. else if ($._selectorPseudoClasses.contains$1(0, unvendored))
  59627. selector = _this._selectorList$0();
  59628. else if (unvendored === "nth-child" || unvendored === "nth-last-child") {
  59629. argument = _this._aNPlusB$0();
  59630. _this.whitespace$1$consumeNewlines(true);
  59631. t2 = t1.peekChar$1(-1);
  59632. if ((t2 === 32 || t2 === 9 || t2 === 10 || t2 === 13 || t2 === 12) && t1.peekChar$0() !== 41) {
  59633. _this.expectIdentifier$1("of");
  59634. argument += " of";
  59635. _this.whitespace$1$consumeNewlines(true);
  59636. selector = _this._selectorList$0();
  59637. }
  59638. } else
  59639. argument = B.JSString_methods.trimRight$0(_this.declarationValue$1$allowEmpty(true));
  59640. t1.expectChar$1(41);
  59641. return A.PseudoSelector$($name, _this.spanFrom$1(start), argument, element, selector);
  59642. },
  59643. _aNPlusB$0() {
  59644. var t1, _0_0, t2, $self, next, _this = this;
  59645. $label0$0: {
  59646. t1 = _this.scanner;
  59647. _0_0 = t1.peekChar$0();
  59648. if (101 === _0_0 || 69 === _0_0) {
  59649. _this.expectIdentifier$1("even");
  59650. return "even";
  59651. }
  59652. if (111 === _0_0 || 79 === _0_0) {
  59653. _this.expectIdentifier$1("odd");
  59654. return "odd";
  59655. }
  59656. if (43 === _0_0 || 45 === _0_0) {
  59657. t2 = "" + A.Primitives_stringFromCharCode(t1.readChar$0());
  59658. break $label0$0;
  59659. }
  59660. t2 = "";
  59661. }
  59662. $self = t1.peekChar$0();
  59663. if ($self != null && $self >= 48 && $self <= 57) {
  59664. do {
  59665. t2 += A.Primitives_stringFromCharCode(t1.readChar$0());
  59666. $self = t1.peekChar$0();
  59667. } while ($self != null && $self >= 48 && $self <= 57);
  59668. _this.whitespace$1$consumeNewlines(true);
  59669. if (!_this.scanIdentChar$1(110))
  59670. return t2.charCodeAt(0) == 0 ? t2 : t2;
  59671. } else
  59672. _this.expectIdentChar$1(110);
  59673. t2 += A.Primitives_stringFromCharCode(110);
  59674. _this.whitespace$1$consumeNewlines(true);
  59675. next = t1.peekChar$0();
  59676. if (next !== 43 && next !== 45)
  59677. return t2.charCodeAt(0) == 0 ? t2 : t2;
  59678. t2 += A.Primitives_stringFromCharCode(t1.readChar$0());
  59679. _this.whitespace$1$consumeNewlines(true);
  59680. $self = t1.peekChar$0();
  59681. if (!($self != null && $self >= 48 && $self <= 57))
  59682. t1.error$1(0, "Expected a number.");
  59683. do {
  59684. t2 += A.Primitives_stringFromCharCode(t1.readChar$0());
  59685. $self = t1.peekChar$0();
  59686. } while ($self != null && $self >= 48 && $self <= 57);
  59687. return t2.charCodeAt(0) == 0 ? t2 : t2;
  59688. },
  59689. _typeOrUniversalSelector$0() {
  59690. var nameOrNamespace, _this = this,
  59691. t1 = _this.scanner,
  59692. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  59693. if (t1.scanChar$1(42)) {
  59694. if (!t1.scanChar$1(124))
  59695. return new A.UniversalSelector(null, _this.spanFrom$1(start));
  59696. return t1.scanChar$1(42) ? new A.UniversalSelector("*", _this.spanFrom$1(start)) : new A.TypeSelector(new A.QualifiedName(_this.identifier$0(), "*"), _this.spanFrom$1(start));
  59697. } else if (t1.scanChar$1(124))
  59698. return t1.scanChar$1(42) ? new A.UniversalSelector("", _this.spanFrom$1(start)) : new A.TypeSelector(new A.QualifiedName(_this.identifier$0(), ""), _this.spanFrom$1(start));
  59699. nameOrNamespace = _this.identifier$0();
  59700. if (!t1.scanChar$1(124))
  59701. return new A.TypeSelector(new A.QualifiedName(nameOrNamespace, null), _this.spanFrom$1(start));
  59702. else if (t1.scanChar$1(42))
  59703. return new A.UniversalSelector(nameOrNamespace, _this.spanFrom$1(start));
  59704. else
  59705. return new A.TypeSelector(new A.QualifiedName(_this.identifier$0(), nameOrNamespace), _this.spanFrom$1(start));
  59706. },
  59707. _isSimpleSelectorStart$1(character) {
  59708. var t1;
  59709. $label0$0: {
  59710. if (42 === character || 91 === character || 46 === character || 35 === character || 37 === character || 58 === character) {
  59711. t1 = true;
  59712. break $label0$0;
  59713. }
  59714. if (38 === character) {
  59715. t1 = this._plainCss;
  59716. break $label0$0;
  59717. }
  59718. t1 = false;
  59719. break $label0$0;
  59720. }
  59721. return t1;
  59722. }
  59723. };
  59724. A.SelectorParser_parse_closure.prototype = {
  59725. call$0() {
  59726. var t1 = this.$this,
  59727. selector = t1._selectorList$0();
  59728. t1 = t1.scanner;
  59729. if (t1._string_scanner$_position !== t1.string.length)
  59730. t1.error$1(0, "expected selector.");
  59731. return selector;
  59732. },
  59733. $signature: 448
  59734. };
  59735. A.SelectorParser_parseCompoundSelector_closure.prototype = {
  59736. call$0() {
  59737. var t1 = this.$this,
  59738. compound = t1._compoundSelector$0();
  59739. t1 = t1.scanner;
  59740. if (t1._string_scanner$_position !== t1.string.length)
  59741. t1.error$1(0, "expected selector.");
  59742. return compound;
  59743. },
  59744. $signature: 451
  59745. };
  59746. A.StylesheetParser.prototype = {
  59747. parse$0(_) {
  59748. return this.wrapSpanFormatException$1(new A.StylesheetParser_parse_closure(this));
  59749. },
  59750. parseParameterList$0() {
  59751. return this._parseSingleProduction$1$1(new A.StylesheetParser_parseParameterList_closure(this), type$.ParameterList);
  59752. },
  59753. parseVariableDeclaration$0() {
  59754. return new A._Record_2(this._parseSingleProduction$1$1(new A.StylesheetParser_parseVariableDeclaration_closure(this), type$.VariableDeclaration), this.warnings);
  59755. },
  59756. parseUseRule$0() {
  59757. return new A._Record_2(this._parseSingleProduction$1$1(new A.StylesheetParser_parseUseRule_closure(this), type$.UseRule), this.warnings);
  59758. },
  59759. _parseSingleProduction$1$1(production, $T) {
  59760. return this.wrapSpanFormatException$1(new A.StylesheetParser__parseSingleProduction_closure(this, production, $T));
  59761. },
  59762. _statement$1$root(root) {
  59763. var t2, _this = this,
  59764. t1 = _this.scanner,
  59765. _0_0 = t1.peekChar$0();
  59766. if (64 === _0_0)
  59767. return _this.atRule$2$root(new A.StylesheetParser__statement_closure(_this), root);
  59768. if (43 === _0_0) {
  59769. if (!_this.get$indented() || !_this.lookingAtIdentifier$1(1))
  59770. return _this._styleRule$0();
  59771. _this._isUseAllowed = false;
  59772. t2 = t1._string_scanner$_position;
  59773. t1.readChar$0();
  59774. return _this._includeRule$1(new A._SpanScannerState(t1, t2));
  59775. }
  59776. if (61 === _0_0) {
  59777. if (!_this.get$indented())
  59778. return _this._styleRule$0();
  59779. _this._isUseAllowed = false;
  59780. t2 = t1._string_scanner$_position;
  59781. t1.readChar$0();
  59782. _this.whitespace$1$consumeNewlines(true);
  59783. return _this._mixinRule$1(new A._SpanScannerState(t1, t2));
  59784. }
  59785. if (125 === _0_0)
  59786. t1.error$2$length(0, 'unmatched "}".', 1);
  59787. return _this._inStyleRule || _this._stylesheet$_inUnknownAtRule || _this._stylesheet$_inMixin || _this._inContentBlock ? _this._declarationOrStyleRule$0() : _this._variableDeclarationOrStyleRule$0();
  59788. },
  59789. _statement$0() {
  59790. return this._statement$1$root(false);
  59791. },
  59792. _variableDeclarationWithNamespace$0() {
  59793. var t1 = this.scanner,
  59794. t2 = t1._string_scanner$_position,
  59795. namespace = this.identifier$0();
  59796. t1.expectChar$1(46);
  59797. return this.variableDeclarationWithoutNamespace$2(namespace, new A._SpanScannerState(t1, t2));
  59798. },
  59799. variableDeclarationWithoutNamespace$2(namespace, start_) {
  59800. var t1, start, $name, t2, value, flagStart, t3, guarded, global, _0_0, endPosition, t4, t5, t6, declaration, _this = this,
  59801. precedingComment = _this.lastSilentComment;
  59802. _this.lastSilentComment = null;
  59803. if (start_ == null) {
  59804. t1 = _this.scanner;
  59805. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  59806. } else
  59807. start = start_;
  59808. $name = _this.variableName$0();
  59809. t1 = namespace != null;
  59810. if (t1)
  59811. _this._assertPublic$2($name, new A.StylesheetParser_variableDeclarationWithoutNamespace_closure(_this, start));
  59812. if (_this.get$plainCss())
  59813. _this.error$2(0, string$.Sassx20v, _this.scanner.spanFrom$1(start));
  59814. _this.whitespace$1$consumeNewlines(true);
  59815. t2 = _this.scanner;
  59816. t2.expectChar$1(58);
  59817. _this.whitespace$1$consumeNewlines(true);
  59818. value = _this._expression$0();
  59819. flagStart = new A._SpanScannerState(t2, t2._string_scanner$_position);
  59820. for (t3 = _this.warnings, guarded = false, global = false; t2.scanChar$1(33);) {
  59821. $label0$0: {
  59822. _0_0 = _this.identifier$0();
  59823. if ("default" === _0_0) {
  59824. if (guarded) {
  59825. endPosition = t2._string_scanner$_position;
  59826. t4 = t2._sourceFile;
  59827. t5 = flagStart.position;
  59828. t6 = new A._FileSpan(t4, t5, endPosition);
  59829. t6._FileSpan$3(t4, t5, endPosition);
  59830. t3.push(new A._Record_3_deprecation_message_span(B.Deprecation_0NP, string$.x21defau, t6));
  59831. }
  59832. guarded = true;
  59833. break $label0$0;
  59834. }
  59835. if ("global" === _0_0) {
  59836. if (t1) {
  59837. endPosition = t2._string_scanner$_position;
  59838. t4 = t2._sourceFile;
  59839. t5 = flagStart.position;
  59840. t6 = new A._FileSpan(t4, t5, endPosition);
  59841. t6._FileSpan$3(t4, t5, endPosition);
  59842. _this.error$2(0, string$.x21globai, t6);
  59843. } else if (global) {
  59844. endPosition = t2._string_scanner$_position;
  59845. t4 = t2._sourceFile;
  59846. t5 = flagStart.position;
  59847. t6 = new A._FileSpan(t4, t5, endPosition);
  59848. t6._FileSpan$3(t4, t5, endPosition);
  59849. t3.push(new A._Record_3_deprecation_message_span(B.Deprecation_0NP, string$.x21globas, t6));
  59850. }
  59851. global = true;
  59852. break $label0$0;
  59853. }
  59854. endPosition = t2._string_scanner$_position;
  59855. t4 = t2._sourceFile;
  59856. t5 = flagStart.position;
  59857. t6 = new A._FileSpan(t4, t5, endPosition);
  59858. t6._FileSpan$3(t4, t5, endPosition);
  59859. _this.error$2(0, "Invalid flag name.", t6);
  59860. }
  59861. _this.whitespace$1$consumeNewlines(false);
  59862. flagStart = new A._SpanScannerState(t2, t2._string_scanner$_position);
  59863. }
  59864. _this.expectStatementSeparator$1("variable declaration");
  59865. declaration = A.VariableDeclaration$($name, value, t2.spanFrom$1(start), precedingComment, global, guarded, namespace);
  59866. if (global)
  59867. _this._globalVariables.putIfAbsent$2($name, new A.StylesheetParser_variableDeclarationWithoutNamespace_closure0(declaration));
  59868. return declaration;
  59869. },
  59870. variableDeclarationWithoutNamespace$0() {
  59871. return this.variableDeclarationWithoutNamespace$2(null, null);
  59872. },
  59873. _variableDeclarationOrStyleRule$0() {
  59874. var t1, t2, variableOrInterpolation, t3, _this = this;
  59875. if (_this.get$plainCss())
  59876. return _this._styleRule$0();
  59877. if (_this.get$indented() && _this.scanner.scanChar$1(92))
  59878. return _this._styleRule$0();
  59879. if (!_this.lookingAtIdentifier$0())
  59880. return _this._styleRule$0();
  59881. t1 = _this.scanner;
  59882. t2 = t1._string_scanner$_position;
  59883. variableOrInterpolation = _this._variableDeclarationOrInterpolation$0();
  59884. if (variableOrInterpolation instanceof A.VariableDeclaration)
  59885. t1 = variableOrInterpolation;
  59886. else {
  59887. t3 = new A.InterpolationBuffer(new A.StringBuffer(""), A._setArrayType([], type$.JSArray_Object), A._setArrayType([], type$.JSArray_nullable_FileSpan));
  59888. t3.addInterpolation$1(type$.Interpolation._as(variableOrInterpolation));
  59889. t2 = _this._styleRule$2(t3, new A._SpanScannerState(t1, t2));
  59890. t1 = t2;
  59891. }
  59892. return t1;
  59893. },
  59894. _declarationOrStyleRule$0() {
  59895. var t1, t2, declarationOrBuffer, _this = this;
  59896. if (_this.get$indented() && _this.scanner.scanChar$1(92))
  59897. return _this._styleRule$0();
  59898. t1 = _this.scanner;
  59899. t2 = t1._string_scanner$_position;
  59900. declarationOrBuffer = _this._declarationOrBuffer$0();
  59901. return declarationOrBuffer instanceof A.Statement ? declarationOrBuffer : _this._styleRule$2(type$.InterpolationBuffer._as(declarationOrBuffer), new A._SpanScannerState(t1, t2));
  59902. },
  59903. _declarationOrBuffer$0() {
  59904. var midBuffer, couldBeSelector, beforeDeclaration, value, additional, t2, t3, variableOrInterpolation, t4, $name, postColonWhitespace, _0_0, exception, _1_0, _this = this,
  59905. t1 = _this.scanner,
  59906. start = new A._SpanScannerState(t1, t1._string_scanner$_position),
  59907. nameBuffer = new A.InterpolationBuffer(new A.StringBuffer(""), A._setArrayType([], type$.JSArray_Object), A._setArrayType([], type$.JSArray_nullable_FileSpan)),
  59908. startsWithPunctuation = _this._lookingAtPotentialPropertyHack$0();
  59909. if (startsWithPunctuation) {
  59910. t2 = t1.readChar$0();
  59911. t3 = nameBuffer._interpolation_buffer$_text;
  59912. t2 = A.Primitives_stringFromCharCode(t2);
  59913. t3._contents += t2;
  59914. t2 = _this.rawText$1(new A.StylesheetParser__declarationOrBuffer_closure(_this));
  59915. t3 = nameBuffer._interpolation_buffer$_text;
  59916. t3._contents += t2;
  59917. }
  59918. if (!_this._lookingAtInterpolatedIdentifier$0())
  59919. return nameBuffer;
  59920. variableOrInterpolation = startsWithPunctuation ? _this.interpolatedIdentifier$0() : _this._variableDeclarationOrInterpolation$0();
  59921. if (variableOrInterpolation instanceof A.VariableDeclaration)
  59922. return variableOrInterpolation;
  59923. else
  59924. nameBuffer.addInterpolation$1(type$.Interpolation._as(variableOrInterpolation));
  59925. _this._isUseAllowed = false;
  59926. if (t1.matches$1("/*")) {
  59927. t2 = _this.rawText$1(_this.get$loudComment());
  59928. t3 = nameBuffer._interpolation_buffer$_text;
  59929. t3._contents += t2;
  59930. }
  59931. midBuffer = new A.StringBuffer("");
  59932. t2 = midBuffer;
  59933. t3 = _this.rawText$1(new A.StylesheetParser__declarationOrBuffer_closure0(_this));
  59934. t2._contents += t3;
  59935. t3 = t1._string_scanner$_position;
  59936. if (!t1.scanChar$1(58)) {
  59937. if (midBuffer._contents.length !== 0) {
  59938. t1 = nameBuffer._interpolation_buffer$_text;
  59939. t2 = A.Primitives_stringFromCharCode(32);
  59940. t1._contents += t2;
  59941. }
  59942. return nameBuffer;
  59943. }
  59944. t2 = midBuffer;
  59945. t4 = A.Primitives_stringFromCharCode(58);
  59946. t2._contents += t4;
  59947. $name = nameBuffer.interpolation$1(t1.spanFrom$2(start, new A._SpanScannerState(t1, t3)));
  59948. if (B.JSString_methods.startsWith$1($name.get$initialPlain(), "--")) {
  59949. if (_this.atEndOfStatement$0()) {
  59950. t2 = A.FileLocation$_(t1._sourceFile, t1._string_scanner$_position);
  59951. t3 = t2.offset;
  59952. t3 = A.Interpolation$(B.List_empty11, B.List_empty12, A._FileSpan$(t2.file, t3, t3));
  59953. t2 = t3;
  59954. } else
  59955. t2 = _this._interpolatedDeclarationValue$1$silentComments(false);
  59956. _this.expectStatementSeparator$1("custom property");
  59957. return A.Declaration$($name, new A.StringExpression(t2, false), t1.spanFrom$1(start));
  59958. }
  59959. if (t1.scanChar$1(58)) {
  59960. t1 = nameBuffer;
  59961. t2 = t1._interpolation_buffer$_text;
  59962. t3 = A.S(midBuffer);
  59963. t2._contents += t3;
  59964. t3 = A.Primitives_stringFromCharCode(58);
  59965. t2._contents += t3;
  59966. return t1;
  59967. } else if (_this.get$indented() && _this._lookingAtInterpolatedIdentifier$0()) {
  59968. t1 = nameBuffer;
  59969. t2 = t1._interpolation_buffer$_text;
  59970. t3 = A.S(midBuffer);
  59971. t2._contents += t3;
  59972. return t1;
  59973. }
  59974. postColonWhitespace = _this.rawText$1(new A.StylesheetParser__declarationOrBuffer_closure1(_this));
  59975. _0_0 = _this._tryDeclarationChildren$2($name, start);
  59976. if (_0_0 != null)
  59977. return _0_0;
  59978. midBuffer._contents += postColonWhitespace;
  59979. couldBeSelector = postColonWhitespace.length === 0 && _this._lookingAtInterpolatedIdentifier$0();
  59980. beforeDeclaration = new A._SpanScannerState(t1, t1._string_scanner$_position);
  59981. value = null;
  59982. try {
  59983. value = _this._expression$0();
  59984. if (_this.lookingAtChildren$0()) {
  59985. if (couldBeSelector)
  59986. _this.expectStatementSeparator$0();
  59987. } else if (!_this.atEndOfStatement$0())
  59988. _this.expectStatementSeparator$0();
  59989. } catch (exception) {
  59990. if (type$.FormatException._is(A.unwrapException(exception))) {
  59991. if (!couldBeSelector)
  59992. throw exception;
  59993. t1.set$state(beforeDeclaration);
  59994. additional = _this.almostAnyValue$0();
  59995. if (!_this.get$indented() && t1.peekChar$0() === 59)
  59996. throw exception;
  59997. t1 = nameBuffer._interpolation_buffer$_text;
  59998. t2 = A.S(midBuffer);
  59999. t1._contents += t2;
  60000. nameBuffer.addInterpolation$1(additional);
  60001. return nameBuffer;
  60002. } else
  60003. throw exception;
  60004. }
  60005. _1_0 = _this._tryDeclarationChildren$3$value($name, start, value);
  60006. if (_1_0 != null)
  60007. return _1_0;
  60008. else {
  60009. _this.expectStatementSeparator$0();
  60010. return A.Declaration$($name, value, t1.spanFrom$1(start));
  60011. }
  60012. },
  60013. _variableDeclarationOrInterpolation$0() {
  60014. var t1, start, identifier, t2, buffer, _this = this;
  60015. if (!_this.lookingAtIdentifier$0())
  60016. return _this.interpolatedIdentifier$0();
  60017. t1 = _this.scanner;
  60018. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  60019. identifier = _this.identifier$0();
  60020. if (t1.matches$1(".$")) {
  60021. t1.readChar$0();
  60022. return _this.variableDeclarationWithoutNamespace$2(identifier, start);
  60023. } else {
  60024. t2 = new A.StringBuffer("");
  60025. buffer = new A.InterpolationBuffer(t2, A._setArrayType([], type$.JSArray_Object), A._setArrayType([], type$.JSArray_nullable_FileSpan));
  60026. t2._contents = "" + identifier;
  60027. if (_this._lookingAtInterpolatedIdentifierBody$0())
  60028. buffer.addInterpolation$1(_this.interpolatedIdentifier$0());
  60029. return buffer.interpolation$1(t1.spanFrom$1(start));
  60030. }
  60031. },
  60032. _styleRule$2(buffer, start_) {
  60033. var t2, start, interpolation, wasInStyleRule, _this = this, t1 = {};
  60034. _this._isUseAllowed = false;
  60035. if (start_ == null) {
  60036. t2 = _this.scanner;
  60037. start = new A._SpanScannerState(t2, t2._string_scanner$_position);
  60038. } else
  60039. start = start_;
  60040. interpolation = t1.interpolation = _this.styleRuleSelector$0();
  60041. if (buffer != null) {
  60042. buffer.addInterpolation$1(interpolation);
  60043. t2 = t1.interpolation = buffer.interpolation$1(_this.scanner.spanFrom$1(start));
  60044. } else
  60045. t2 = interpolation;
  60046. if (t2.contents.length === 0)
  60047. _this.scanner.error$1(0, 'expected "}".');
  60048. wasInStyleRule = _this._inStyleRule;
  60049. _this._inStyleRule = true;
  60050. return _this._withChildren$3(_this.get$_statement(), start, new A.StylesheetParser__styleRule_closure(t1, _this, wasInStyleRule, start));
  60051. },
  60052. _styleRule$0() {
  60053. return this._styleRule$2(null, null);
  60054. },
  60055. _propertyOrVariableDeclaration$1$parseCustomProperties(parseCustomProperties) {
  60056. var t2, nameBuffer, t3, $name, variableOrInterpolation, _0_0, value, _1_0, _this = this,
  60057. t1 = _this.scanner,
  60058. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  60059. if (_this._lookingAtPotentialPropertyHack$0()) {
  60060. t2 = new A.StringBuffer("");
  60061. nameBuffer = new A.InterpolationBuffer(t2, A._setArrayType([], type$.JSArray_Object), A._setArrayType([], type$.JSArray_nullable_FileSpan));
  60062. t3 = A.Primitives_stringFromCharCode(t1.readChar$0());
  60063. t2._contents += t3;
  60064. t3 = _this.rawText$1(new A.StylesheetParser__propertyOrVariableDeclaration_closure(_this));
  60065. t2._contents += t3;
  60066. nameBuffer.addInterpolation$1(_this.interpolatedIdentifier$0());
  60067. $name = nameBuffer.interpolation$1(t1.spanFrom$1(start));
  60068. } else if (!_this.get$plainCss()) {
  60069. variableOrInterpolation = _this._variableDeclarationOrInterpolation$0();
  60070. if (variableOrInterpolation instanceof A.VariableDeclaration)
  60071. return variableOrInterpolation;
  60072. else
  60073. type$.Interpolation._as(variableOrInterpolation);
  60074. $name = variableOrInterpolation;
  60075. } else
  60076. $name = _this.interpolatedIdentifier$0();
  60077. _this.whitespace$1$consumeNewlines(false);
  60078. t1.expectChar$1(58);
  60079. _this.whitespace$1$consumeNewlines(false);
  60080. _0_0 = _this._tryDeclarationChildren$2($name, start);
  60081. if (_0_0 != null)
  60082. return _0_0;
  60083. value = _this._expression$0();
  60084. _1_0 = _this._tryDeclarationChildren$3$value($name, start, value);
  60085. if (_1_0 != null)
  60086. return _1_0;
  60087. else {
  60088. _this.expectStatementSeparator$0();
  60089. return A.Declaration$($name, value, t1.spanFrom$1(start));
  60090. }
  60091. },
  60092. _tryDeclarationChildren$3$value($name, start, value) {
  60093. var _this = this;
  60094. if (!_this.lookingAtChildren$0())
  60095. return null;
  60096. if (_this.get$plainCss())
  60097. _this.scanner.error$1(0, string$.Nested);
  60098. return _this._withChildren$3(_this.get$_declarationChild(), start, new A.StylesheetParser__tryDeclarationChildren_closure($name, value));
  60099. },
  60100. _tryDeclarationChildren$2($name, start) {
  60101. return this._tryDeclarationChildren$3$value($name, start, null);
  60102. },
  60103. _declarationChild$0() {
  60104. return this.scanner.peekChar$0() === 64 ? this._declarationAtRule$0() : this._propertyOrVariableDeclaration$1$parseCustomProperties(false);
  60105. },
  60106. atRule$2$root(child, root) {
  60107. var $name, wasUseAllowed, value, optional, _this = this,
  60108. t1 = _this.scanner,
  60109. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  60110. t1.expectChar$2$name(64, "@-rule");
  60111. $name = _this.interpolatedIdentifier$0();
  60112. wasUseAllowed = _this._isUseAllowed;
  60113. _this._isUseAllowed = false;
  60114. switch ($name.get$asPlain()) {
  60115. case "at-root":
  60116. return _this._atRootRule$1(start);
  60117. case "content":
  60118. return _this._contentRule$1(start);
  60119. case "debug":
  60120. return _this._debugRule$1(start);
  60121. case "each":
  60122. return _this._eachRule$2(start, child);
  60123. case "else":
  60124. return _this._disallowedAtRule$1(start);
  60125. case "error":
  60126. return _this._errorRule$1(start);
  60127. case "extend":
  60128. _this.whitespace$1$consumeNewlines(true);
  60129. if (!_this._inStyleRule && !_this._stylesheet$_inMixin && !_this._inContentBlock)
  60130. _this.error$2(0, string$.x40exten, t1.spanFrom$1(start));
  60131. value = _this.almostAnyValue$0();
  60132. optional = t1.scanChar$1(33);
  60133. if (optional) {
  60134. _this.expectIdentifier$1("optional");
  60135. _this.whitespace$1$consumeNewlines(false);
  60136. }
  60137. _this.expectStatementSeparator$1("@extend rule");
  60138. return new A.ExtendRule(value, optional, t1.spanFrom$1(start));
  60139. case "for":
  60140. return _this._forRule$2(start, child);
  60141. case "forward":
  60142. _this._isUseAllowed = wasUseAllowed;
  60143. if (!root)
  60144. _this._disallowedAtRule$1(start);
  60145. return _this._forwardRule$1(start);
  60146. case "function":
  60147. return _this._functionRule$1(start);
  60148. case "if":
  60149. return _this._ifRule$2(start, child);
  60150. case "import":
  60151. return _this._importRule$1(start);
  60152. case "include":
  60153. return _this._includeRule$1(start);
  60154. case "media":
  60155. return _this.mediaRule$1(start);
  60156. case "mixin":
  60157. return _this._mixinRule$1(start);
  60158. case "-moz-document":
  60159. return _this.mozDocumentRule$2(start, $name);
  60160. case "return":
  60161. return _this._disallowedAtRule$1(start);
  60162. case "supports":
  60163. return _this.supportsRule$1(start);
  60164. case "use":
  60165. _this._isUseAllowed = wasUseAllowed;
  60166. if (!root)
  60167. _this._disallowedAtRule$1(start);
  60168. return _this._useRule$1(start);
  60169. case "warn":
  60170. return _this._warnRule$1(start);
  60171. case "while":
  60172. return _this._whileRule$2(start, child);
  60173. default:
  60174. return _this.unknownAtRule$2(start, $name);
  60175. }
  60176. },
  60177. _declarationAtRule$0() {
  60178. var _this = this,
  60179. t1 = _this.scanner,
  60180. start = new A._SpanScannerState(t1, t1._string_scanner$_position),
  60181. _0_0 = _this._plainAtRuleName$0();
  60182. $label0$0: {
  60183. if ("content" === _0_0) {
  60184. t1 = _this._contentRule$1(start);
  60185. break $label0$0;
  60186. }
  60187. if ("debug" === _0_0) {
  60188. t1 = _this._debugRule$1(start);
  60189. break $label0$0;
  60190. }
  60191. if ("each" === _0_0) {
  60192. t1 = _this._eachRule$2(start, _this.get$_declarationChild());
  60193. break $label0$0;
  60194. }
  60195. if ("else" === _0_0)
  60196. _this._disallowedAtRule$1(start);
  60197. if ("error" === _0_0) {
  60198. t1 = _this._errorRule$1(start);
  60199. break $label0$0;
  60200. }
  60201. if ("for" === _0_0) {
  60202. t1 = _this._forRule$2(start, _this.get$_declarationChild());
  60203. break $label0$0;
  60204. }
  60205. if ("if" === _0_0) {
  60206. t1 = _this._ifRule$2(start, _this.get$_declarationChild());
  60207. break $label0$0;
  60208. }
  60209. if ("include" === _0_0) {
  60210. t1 = _this._includeRule$1(start);
  60211. break $label0$0;
  60212. }
  60213. if ("warn" === _0_0) {
  60214. t1 = _this._warnRule$1(start);
  60215. break $label0$0;
  60216. }
  60217. if ("while" === _0_0) {
  60218. t1 = _this._whileRule$2(start, _this.get$_declarationChild());
  60219. break $label0$0;
  60220. }
  60221. t1 = _this._disallowedAtRule$1(start);
  60222. }
  60223. return t1;
  60224. },
  60225. _functionChild$0() {
  60226. var state, variableDeclarationError, stackTrace, statement, t2, exception, t3, start, _0_0, value, _this = this,
  60227. t1 = _this.scanner;
  60228. if (t1.peekChar$0() !== 64) {
  60229. state = new A._SpanScannerState(t1, t1._string_scanner$_position);
  60230. try {
  60231. t2 = _this._variableDeclarationWithNamespace$0();
  60232. return t2;
  60233. } catch (exception) {
  60234. t2 = A.unwrapException(exception);
  60235. t3 = type$.SourceSpanFormatException;
  60236. if (t3._is(t2)) {
  60237. variableDeclarationError = t2;
  60238. stackTrace = A.getTraceFromException(exception);
  60239. t1.set$state(state);
  60240. statement = null;
  60241. try {
  60242. statement = _this._declarationOrStyleRule$0();
  60243. } catch (exception) {
  60244. if (t3._is(A.unwrapException(exception)))
  60245. throw A.wrapException(variableDeclarationError);
  60246. else
  60247. throw exception;
  60248. }
  60249. t2 = statement instanceof A.StyleRule ? "style rules" : "declarations";
  60250. _this.error$3(0, "@function rules may not contain " + t2 + ".", J.get$span$z(statement), stackTrace);
  60251. } else
  60252. throw exception;
  60253. }
  60254. }
  60255. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  60256. _0_0 = _this._plainAtRuleName$0();
  60257. $label0$0: {
  60258. if ("debug" === _0_0) {
  60259. t1 = _this._debugRule$1(start);
  60260. break $label0$0;
  60261. }
  60262. if ("each" === _0_0) {
  60263. t1 = _this._eachRule$2(start, _this.get$_functionChild());
  60264. break $label0$0;
  60265. }
  60266. if ("else" === _0_0)
  60267. _this._disallowedAtRule$1(start);
  60268. if ("error" === _0_0) {
  60269. t1 = _this._errorRule$1(start);
  60270. break $label0$0;
  60271. }
  60272. if ("for" === _0_0) {
  60273. t1 = _this._forRule$2(start, _this.get$_functionChild());
  60274. break $label0$0;
  60275. }
  60276. if ("if" === _0_0) {
  60277. t1 = _this._ifRule$2(start, _this.get$_functionChild());
  60278. break $label0$0;
  60279. }
  60280. if ("return" === _0_0) {
  60281. _this.whitespace$1$consumeNewlines(true);
  60282. value = _this._expression$0();
  60283. _this.expectStatementSeparator$1("@return rule");
  60284. t1 = new A.ReturnRule(value, t1.spanFrom$1(start));
  60285. break $label0$0;
  60286. }
  60287. if ("warn" === _0_0) {
  60288. t1 = _this._warnRule$1(start);
  60289. break $label0$0;
  60290. }
  60291. if ("while" === _0_0) {
  60292. t1 = _this._whileRule$2(start, _this.get$_functionChild());
  60293. break $label0$0;
  60294. }
  60295. t1 = _this._disallowedAtRule$1(start);
  60296. }
  60297. return t1;
  60298. },
  60299. _plainAtRuleName$0() {
  60300. this.scanner.expectChar$2$name(64, "@-rule");
  60301. return this.identifier$0();
  60302. },
  60303. _atRootRule$1(start) {
  60304. var t1, t2, t3, buffer, t4, _this = this;
  60305. _this.whitespace$1$consumeNewlines(false);
  60306. t1 = _this.scanner;
  60307. if (t1.peekChar$0() === 40) {
  60308. t2 = t1._string_scanner$_position;
  60309. t3 = new A.StringBuffer("");
  60310. buffer = new A.InterpolationBuffer(t3, A._setArrayType([], type$.JSArray_Object), A._setArrayType([], type$.JSArray_nullable_FileSpan));
  60311. t1.expectChar$1(40);
  60312. t4 = A.Primitives_stringFromCharCode(40);
  60313. t3._contents += t4;
  60314. _this.whitespace$1$consumeNewlines(true);
  60315. _this._addOrInject$2(buffer, _this._expression$1$consumeNewlines(true));
  60316. if (t1.scanChar$1(58)) {
  60317. _this.whitespace$1$consumeNewlines(true);
  60318. t4 = A.Primitives_stringFromCharCode(58);
  60319. t3._contents += t4;
  60320. t4 = A.Primitives_stringFromCharCode(32);
  60321. t3._contents += t4;
  60322. _this._addOrInject$2(buffer, _this._expression$1$consumeNewlines(true));
  60323. }
  60324. t1.expectChar$1(41);
  60325. _this.whitespace$1$consumeNewlines(false);
  60326. t4 = A.Primitives_stringFromCharCode(41);
  60327. t3._contents += t4;
  60328. return _this._withChildren$3(_this.get$_statement(), start, new A.StylesheetParser__atRootRule_closure(buffer.interpolation$1(t1.spanFrom$1(new A._SpanScannerState(t1, t2)))));
  60329. } else {
  60330. if (!_this.lookingAtChildren$0())
  60331. t2 = _this.get$indented() && _this.atEndOfStatement$0();
  60332. else
  60333. t2 = true;
  60334. if (t2)
  60335. return _this._withChildren$3(_this.get$_statement(), start, new A.StylesheetParser__atRootRule_closure0());
  60336. else
  60337. return A.AtRootRule$(A._setArrayType([_this._styleRule$0()], type$.JSArray_Statement), t1.spanFrom$1(start), null);
  60338. }
  60339. },
  60340. _contentRule$1(start) {
  60341. var t1, beforeWhitespace, $arguments, t2, _this = this;
  60342. if (!_this._stylesheet$_inMixin)
  60343. _this.error$2(0, string$.x40conte, _this.scanner.spanFrom$1(start));
  60344. t1 = _this.scanner;
  60345. beforeWhitespace = A.FileLocation$_(t1._sourceFile, t1._string_scanner$_position);
  60346. _this.whitespace$1$consumeNewlines(false);
  60347. if (t1.peekChar$0() === 40) {
  60348. $arguments = _this._argumentInvocation$1$mixin(true);
  60349. _this.whitespace$1$consumeNewlines(false);
  60350. } else {
  60351. t2 = beforeWhitespace.offset;
  60352. $arguments = A.ArgumentList$empty(A._FileSpan$(beforeWhitespace.file, t2, t2));
  60353. }
  60354. _this.expectStatementSeparator$1("@content rule");
  60355. return new A.ContentRule($arguments, t1.spanFrom$1(start));
  60356. },
  60357. _debugRule$1(start) {
  60358. var value, t1, t2, _this = this;
  60359. _this.whitespace$1$consumeNewlines(true);
  60360. value = _this._expression$0();
  60361. t1 = _this.scanner;
  60362. t2 = t1._string_scanner$_position;
  60363. _this.expectStatementSeparator$1("@debug rule");
  60364. return new A.DebugRule(value, t1.spanFrom$2(start, new A._SpanScannerState(t1, t2)));
  60365. },
  60366. _eachRule$2(start, child) {
  60367. var wasInControlDirective, variables, t1, _this = this;
  60368. _this.whitespace$1$consumeNewlines(true);
  60369. wasInControlDirective = _this._inControlDirective;
  60370. _this._inControlDirective = true;
  60371. variables = A._setArrayType([_this.variableName$0()], type$.JSArray_String);
  60372. _this.whitespace$1$consumeNewlines(true);
  60373. for (t1 = _this.scanner; t1.scanChar$1(44);) {
  60374. _this.whitespace$1$consumeNewlines(true);
  60375. t1.expectChar$1(36);
  60376. variables.push(_this.identifier$1$normalize(true));
  60377. _this.whitespace$1$consumeNewlines(true);
  60378. }
  60379. _this.whitespace$1$consumeNewlines(true);
  60380. _this.expectIdentifier$1("in");
  60381. _this.whitespace$1$consumeNewlines(true);
  60382. return _this._withChildren$3(child, start, new A.StylesheetParser__eachRule_closure(_this, wasInControlDirective, variables, _this._expression$0()));
  60383. },
  60384. _errorRule$1(start) {
  60385. var value, t1, t2, _this = this;
  60386. _this.whitespace$1$consumeNewlines(true);
  60387. value = _this._expression$0();
  60388. t1 = _this.scanner;
  60389. t2 = t1._string_scanner$_position;
  60390. _this.expectStatementSeparator$1("@error rule");
  60391. return new A.ErrorRule(value, t1.spanFrom$2(start, new A._SpanScannerState(t1, t2)));
  60392. },
  60393. _functionRule$1(start) {
  60394. var precedingComment, t1, beforeName, $name, parameters, _0_0, _this = this;
  60395. _this.whitespace$1$consumeNewlines(true);
  60396. precedingComment = _this.lastSilentComment;
  60397. _this.lastSilentComment = null;
  60398. t1 = _this.scanner;
  60399. beforeName = new A._SpanScannerState(t1, t1._string_scanner$_position);
  60400. $name = _this.identifier$0();
  60401. if (B.JSString_methods.startsWith$1($name, "--"))
  60402. _this.warnings.push(new A._Record_3_deprecation_message_span(B.Deprecation_Kg6, string$.Sassx20_f_, t1.spanFrom$1(beforeName)));
  60403. else if (A.equalsIgnoreCase($name, "type"))
  60404. _this.warnings.push(new A._Record_3_deprecation_message_span(B.Deprecation_kms, string$.Sassx20_fs, t1.spanFrom$1(beforeName)));
  60405. _this.whitespace$1$consumeNewlines(true);
  60406. parameters = _this._parameterList$0();
  60407. if (_this._stylesheet$_inMixin || _this._inContentBlock)
  60408. _this.error$2(0, string$.Mixinscf, t1.spanFrom$1(start));
  60409. else if (_this._inControlDirective)
  60410. _this.error$2(0, string$.Functi, t1.spanFrom$1(start));
  60411. _0_0 = A.unvendor($name);
  60412. if ("calc" === _0_0 || "element" === _0_0 || "expression" === _0_0 || "url" === _0_0 || "and" === _0_0 || "or" === _0_0 || "not" === _0_0 || "clamp" === _0_0)
  60413. _this.error$2(0, "Invalid function name.", t1.spanFrom$1(start));
  60414. _this.whitespace$1$consumeNewlines(false);
  60415. return _this._withChildren$3(_this.get$_functionChild(), start, new A.StylesheetParser__functionRule_closure($name, parameters, precedingComment));
  60416. },
  60417. _forRule$2(start, child) {
  60418. var wasInControlDirective, variable, from, _this = this, t1 = {};
  60419. _this.whitespace$1$consumeNewlines(true);
  60420. wasInControlDirective = _this._inControlDirective;
  60421. _this._inControlDirective = true;
  60422. variable = _this.variableName$0();
  60423. _this.whitespace$1$consumeNewlines(true);
  60424. _this.expectIdentifier$1("from");
  60425. _this.whitespace$1$consumeNewlines(true);
  60426. t1.exclusive = null;
  60427. from = _this._expression$2$consumeNewlines$until(true, new A.StylesheetParser__forRule_closure(t1, _this));
  60428. if (t1.exclusive == null)
  60429. _this.scanner.error$1(0, 'Expected "to" or "through".');
  60430. _this.whitespace$1$consumeNewlines(true);
  60431. return _this._withChildren$3(child, start, new A.StylesheetParser__forRule_closure0(t1, _this, wasInControlDirective, variable, from, _this._expression$0()));
  60432. },
  60433. _forwardRule$1(start) {
  60434. var url, prefix, hiddenMixinsAndFunctions, hiddenVariables, _0_0, shownMixinsAndFunctions, shownVariables, _1_0, configuration, span, t1, t2, t3, t4, _this = this, _null = null;
  60435. _this.whitespace$1$consumeNewlines(true);
  60436. url = _this._urlString$0();
  60437. _this.whitespace$1$consumeNewlines(false);
  60438. if (_this.scanIdentifier$1("as")) {
  60439. _this.whitespace$1$consumeNewlines(true);
  60440. prefix = _this.identifier$1$normalize(true);
  60441. _this.scanner.expectChar$1(42);
  60442. _this.whitespace$1$consumeNewlines(false);
  60443. } else
  60444. prefix = _null;
  60445. hiddenMixinsAndFunctions = _null;
  60446. hiddenVariables = _null;
  60447. if (_this.scanIdentifier$1("show")) {
  60448. _this.whitespace$1$consumeNewlines(true);
  60449. _0_0 = _this._memberList$0();
  60450. shownMixinsAndFunctions = _0_0._0;
  60451. shownVariables = _0_0._1;
  60452. } else {
  60453. if (_this.scanIdentifier$1("hide")) {
  60454. _this.whitespace$1$consumeNewlines(true);
  60455. _1_0 = _this._memberList$0();
  60456. hiddenMixinsAndFunctions = _1_0._0;
  60457. hiddenVariables = _1_0._1;
  60458. }
  60459. shownVariables = _null;
  60460. shownMixinsAndFunctions = shownVariables;
  60461. }
  60462. configuration = _this._stylesheet$_configuration$1$allowGuarded(true);
  60463. _this.whitespace$1$consumeNewlines(false);
  60464. _this.expectStatementSeparator$1("@forward rule");
  60465. span = _this.scanner.spanFrom$1(start);
  60466. if (!_this._isUseAllowed)
  60467. _this.error$2(0, string$.x40forwa, span);
  60468. if (shownMixinsAndFunctions != null) {
  60469. shownVariables.toString;
  60470. t1 = type$.String;
  60471. t2 = A.LinkedHashSet_LinkedHashSet$of(shownMixinsAndFunctions, t1);
  60472. t3 = type$.UnmodifiableSetView_String;
  60473. t1 = A.LinkedHashSet_LinkedHashSet$of(shownVariables, t1);
  60474. t4 = configuration == null ? B.List_empty10 : A.List_List$unmodifiable(configuration, type$.ConfiguredVariable);
  60475. return new A.ForwardRule(url, new A.UnmodifiableSetView0(t2, t3), new A.UnmodifiableSetView0(t1, t3), _null, _null, prefix, t4, span);
  60476. } else if (hiddenMixinsAndFunctions != null) {
  60477. hiddenVariables.toString;
  60478. t1 = type$.String;
  60479. t2 = A.LinkedHashSet_LinkedHashSet$of(hiddenMixinsAndFunctions, t1);
  60480. t3 = type$.UnmodifiableSetView_String;
  60481. t1 = A.LinkedHashSet_LinkedHashSet$of(hiddenVariables, t1);
  60482. t4 = configuration == null ? B.List_empty10 : A.List_List$unmodifiable(configuration, type$.ConfiguredVariable);
  60483. return new A.ForwardRule(url, _null, _null, new A.UnmodifiableSetView0(t2, t3), new A.UnmodifiableSetView0(t1, t3), prefix, t4, span);
  60484. } else
  60485. return new A.ForwardRule(url, _null, _null, _null, _null, prefix, configuration == null ? B.List_empty10 : A.List_List$unmodifiable(configuration, type$.ConfiguredVariable), span);
  60486. },
  60487. _memberList$0() {
  60488. var _this = this,
  60489. t1 = type$.String,
  60490. identifiers = A.LinkedHashSet_LinkedHashSet$_empty(t1),
  60491. variables = A.LinkedHashSet_LinkedHashSet$_empty(t1);
  60492. t1 = _this.scanner;
  60493. do {
  60494. _this.whitespace$1$consumeNewlines(true);
  60495. _this.withErrorMessage$2(string$.Expectv, new A.StylesheetParser__memberList_closure(_this, variables, identifiers));
  60496. _this.whitespace$1$consumeNewlines(false);
  60497. } while (t1.scanChar$1(44));
  60498. return new A._Record_2(identifiers, variables);
  60499. },
  60500. _ifRule$2(start, child) {
  60501. var ifIndentation, wasInControlDirective, condition, children, clauses, lastClause, span, _this = this;
  60502. _this.whitespace$1$consumeNewlines(true);
  60503. ifIndentation = _this.get$currentIndentation();
  60504. wasInControlDirective = _this._inControlDirective;
  60505. _this._inControlDirective = true;
  60506. condition = _this._expression$0();
  60507. children = _this.children$1(0, child);
  60508. _this.whitespaceWithoutComments$1$consumeNewlines(false);
  60509. clauses = A._setArrayType([A.IfClause$(condition, children)], type$.JSArray_IfClause);
  60510. while (true) {
  60511. if (!_this.scanElse$1(ifIndentation)) {
  60512. lastClause = null;
  60513. break;
  60514. }
  60515. _this.whitespace$1$consumeNewlines(false);
  60516. if (_this.scanIdentifier$1("if")) {
  60517. _this.whitespace$1$consumeNewlines(true);
  60518. clauses.push(A.IfClause$(_this._expression$0(), _this.children$1(0, child)));
  60519. } else {
  60520. lastClause = A.ElseClause$(_this.children$1(0, child));
  60521. break;
  60522. }
  60523. }
  60524. _this._inControlDirective = wasInControlDirective;
  60525. span = _this.scanner.spanFrom$1(start);
  60526. _this.whitespaceWithoutComments$1$consumeNewlines(false);
  60527. return new A.IfRule(A.List_List$unmodifiable(clauses, type$.IfClause), lastClause, span);
  60528. },
  60529. _importRule$1(start) {
  60530. var argument, t3, _this = this,
  60531. imports = A._setArrayType([], type$.JSArray_Import),
  60532. t1 = _this.scanner,
  60533. t2 = _this.warnings;
  60534. do {
  60535. _this.whitespace$1$consumeNewlines(false);
  60536. argument = _this.importArgument$0();
  60537. t3 = argument instanceof A.DynamicImport;
  60538. if (t3)
  60539. t2.push(new A._Record_3_deprecation_message_span(B.Deprecation_2g5, string$.Sassx20_i, argument.span));
  60540. if ((_this._inControlDirective || _this._stylesheet$_inMixin) && t3)
  60541. _this._disallowedAtRule$1(start);
  60542. imports.push(argument);
  60543. _this.whitespace$1$consumeNewlines(false);
  60544. } while (t1.scanChar$1(44));
  60545. _this.expectStatementSeparator$1("@import rule");
  60546. t1 = t1.spanFrom$1(start);
  60547. return new A.ImportRule(A.List_List$unmodifiable(imports, type$.Import), t1);
  60548. },
  60549. importArgument$0() {
  60550. var url, urlSpan, innerError, stackTrace, modifiers, t2, exception, _this = this,
  60551. t1 = _this.scanner,
  60552. start = new A._SpanScannerState(t1, t1._string_scanner$_position),
  60553. _0_0 = t1.peekChar$0();
  60554. if (117 === _0_0 || 85 === _0_0) {
  60555. url = _this.dynamicUrl$0();
  60556. _this.whitespace$1$consumeNewlines(false);
  60557. modifiers = _this.tryImportModifiers$0();
  60558. t2 = url instanceof A.StringExpression ? url.text : A.Interpolation$(A._setArrayType([url], type$.JSArray_Object), A._setArrayType([url.get$span(url)], type$.JSArray_nullable_FileSpan), url.get$span(url));
  60559. return new A.StaticImport(t2, modifiers, t1.spanFrom$1(start));
  60560. }
  60561. url = _this.string$0();
  60562. urlSpan = t1.spanFrom$1(start);
  60563. _this.whitespace$1$consumeNewlines(false);
  60564. modifiers = _this.tryImportModifiers$0();
  60565. if (_this.isPlainImportUrl$1(url) || modifiers != null) {
  60566. t2 = urlSpan;
  60567. return new A.StaticImport(new A.Interpolation(A.List_List$unmodifiable([A.String_String$fromCharCodes(B.NativeUint32List_methods.sublist$2(t2.file._decodedChars, t2._file$_start, t2._end), 0, null)], type$.Object), B.List_null, urlSpan), modifiers, t1.spanFrom$1(start));
  60568. } else
  60569. try {
  60570. t1 = _this.parseImportUrl$1(url);
  60571. return new A.DynamicImport(t1, urlSpan);
  60572. } catch (exception) {
  60573. t1 = A.unwrapException(exception);
  60574. if (type$.FormatException._is(t1)) {
  60575. innerError = t1;
  60576. stackTrace = A.getTraceFromException(exception);
  60577. _this.error$3(0, "Invalid URL: " + J.get$message$x(innerError), urlSpan, stackTrace);
  60578. } else
  60579. throw exception;
  60580. }
  60581. },
  60582. parseImportUrl$1(url) {
  60583. var t1 = $.$get$windows();
  60584. if (t1.style.rootLength$1(url) > 0 && !$.$get$url().style.isRootRelative$1(url))
  60585. return t1.toUri$1(url).toString$0(0);
  60586. A.Uri_parse(url);
  60587. return url;
  60588. },
  60589. isPlainImportUrl$1(url) {
  60590. var _0_0, t1;
  60591. if (url.length < 5)
  60592. return false;
  60593. if (B.JSString_methods.endsWith$1(url, ".css"))
  60594. return true;
  60595. _0_0 = url.charCodeAt(0);
  60596. $label0$0: {
  60597. if (47 === _0_0) {
  60598. t1 = url.charCodeAt(1) === 47;
  60599. break $label0$0;
  60600. }
  60601. if (104 === _0_0) {
  60602. t1 = B.JSString_methods.startsWith$1(url, "http://") || B.JSString_methods.startsWith$1(url, "https://");
  60603. break $label0$0;
  60604. }
  60605. t1 = false;
  60606. break $label0$0;
  60607. }
  60608. return t1;
  60609. },
  60610. tryImportModifiers$0() {
  60611. var t1, start, t2, t3, t4, buffer, t5, identifier, $name, query, t6, endPosition, _this = this;
  60612. if (!_this._lookingAtInterpolatedIdentifier$0() && _this.scanner.peekChar$0() !== 40)
  60613. return null;
  60614. t1 = _this.scanner;
  60615. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  60616. t2 = new A.StringBuffer("");
  60617. t3 = A._setArrayType([], type$.JSArray_Object);
  60618. t4 = A._setArrayType([], type$.JSArray_nullable_FileSpan);
  60619. buffer = new A.InterpolationBuffer(t2, t3, t4);
  60620. for (; true;)
  60621. if (_this._lookingAtInterpolatedIdentifier$0()) {
  60622. if (!(t3.length === 0 && t2._contents.length === 0)) {
  60623. t5 = A.Primitives_stringFromCharCode(32);
  60624. t2._contents += t5;
  60625. }
  60626. identifier = _this.interpolatedIdentifier$0();
  60627. buffer.addInterpolation$1(identifier);
  60628. t5 = identifier.get$asPlain();
  60629. $name = t5 == null ? null : t5.toLowerCase();
  60630. if ($name !== "and" && t1.scanChar$1(40)) {
  60631. if ($name === "supports") {
  60632. query = _this._importSupportsQuery$0();
  60633. t5 = !(query instanceof A.SupportsDeclaration);
  60634. if (t5) {
  60635. t6 = A.Primitives_stringFromCharCode(40);
  60636. t2._contents += t6;
  60637. }
  60638. t6 = query.get$span(query);
  60639. buffer._flushText$0();
  60640. t3.push(new A.SupportsExpression(query));
  60641. t4.push(t6);
  60642. if (t5) {
  60643. t5 = A.Primitives_stringFromCharCode(41);
  60644. t2._contents += t5;
  60645. }
  60646. } else {
  60647. t5 = A.Primitives_stringFromCharCode(40);
  60648. t2._contents += t5;
  60649. buffer.addInterpolation$1(_this._interpolatedDeclarationValue$3$allowEmpty$allowSemicolon$consumeNewlines(true, true, true));
  60650. t5 = A.Primitives_stringFromCharCode(41);
  60651. t2._contents += t5;
  60652. }
  60653. t1.expectChar$1(41);
  60654. _this.whitespace$1$consumeNewlines(false);
  60655. } else {
  60656. _this.whitespace$1$consumeNewlines(false);
  60657. if (t1.scanChar$1(44)) {
  60658. t2._contents += ", ";
  60659. buffer.addInterpolation$1(_this._mediaQueryList$0());
  60660. endPosition = t1._string_scanner$_position;
  60661. t2 = t1._sourceFile;
  60662. t3 = start.position;
  60663. t1 = new A._FileSpan(t2, t3, endPosition);
  60664. t1._FileSpan$3(t2, t3, endPosition);
  60665. return buffer.interpolation$1(t1);
  60666. }
  60667. }
  60668. } else if (t1.peekChar$0() === 40) {
  60669. if (!(t3.length === 0 && t2._contents.length === 0)) {
  60670. t3 = A.Primitives_stringFromCharCode(32);
  60671. t2._contents += t3;
  60672. }
  60673. buffer.addInterpolation$1(_this._mediaQueryList$0());
  60674. endPosition = t1._string_scanner$_position;
  60675. t1 = t1._sourceFile;
  60676. t2 = start.position;
  60677. t3 = new A._FileSpan(t1, t2, endPosition);
  60678. t3._FileSpan$3(t1, t2, endPosition);
  60679. return buffer.interpolation$1(t3);
  60680. } else {
  60681. endPosition = t1._string_scanner$_position;
  60682. t1 = t1._sourceFile;
  60683. t2 = start.position;
  60684. t3 = new A._FileSpan(t1, t2, endPosition);
  60685. t3._FileSpan$3(t1, t2, endPosition);
  60686. return buffer.interpolation$1(t3);
  60687. }
  60688. },
  60689. _importSupportsQuery$0() {
  60690. var t1, t2, _0_0, $name, _this = this;
  60691. _this.whitespace$1$consumeNewlines(true);
  60692. if (_this.scanIdentifier$1("not")) {
  60693. _this.whitespace$1$consumeNewlines(true);
  60694. t1 = _this.scanner;
  60695. t2 = t1._string_scanner$_position;
  60696. return new A.SupportsNegation(_this._supportsConditionInParens$0(), t1.spanFrom$1(new A._SpanScannerState(t1, t2)));
  60697. } else {
  60698. t1 = _this.scanner;
  60699. if (t1.peekChar$0() === 40)
  60700. return _this._supportsCondition$1$inParentheses(true);
  60701. else {
  60702. _0_0 = _this._tryImportSupportsFunction$0();
  60703. if (_0_0 != null)
  60704. return _0_0;
  60705. t2 = t1._string_scanner$_position;
  60706. $name = _this._expression$1$consumeNewlines(true);
  60707. t1.expectChar$1(58);
  60708. return new A.SupportsDeclaration($name, _this._supportsDeclarationValue$1($name), t1.spanFrom$1(new A._SpanScannerState(t1, t2)));
  60709. }
  60710. }
  60711. },
  60712. _tryImportSupportsFunction$0() {
  60713. var t1, start, $name, value, _this = this;
  60714. if (!_this._lookingAtInterpolatedIdentifier$0())
  60715. return null;
  60716. t1 = _this.scanner;
  60717. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  60718. $name = _this.interpolatedIdentifier$0();
  60719. if (!t1.scanChar$1(40)) {
  60720. t1.set$state(start);
  60721. return null;
  60722. }
  60723. value = _this._interpolatedDeclarationValue$3$allowEmpty$allowSemicolon$consumeNewlines(true, true, true);
  60724. t1.expectChar$1(41);
  60725. return new A.SupportsFunction($name, value, t1.spanFrom$1(start));
  60726. },
  60727. _includeRule$1(start) {
  60728. var $name, t1, name0, namespace, $arguments, t2, t3, contentParameters, contentParameters_, wasInContentBlock, $content, span, _this = this, _null = null;
  60729. _this.whitespace$1$consumeNewlines(true);
  60730. $name = _this.identifier$0();
  60731. t1 = _this.scanner;
  60732. if (t1.scanChar$1(46)) {
  60733. name0 = _this._publicIdentifier$0();
  60734. namespace = $name;
  60735. $name = name0;
  60736. } else
  60737. namespace = _null;
  60738. _this.whitespace$1$consumeNewlines(false);
  60739. if (t1.peekChar$0() === 40)
  60740. $arguments = _this._argumentInvocation$1$mixin(true);
  60741. else {
  60742. t2 = A.FileLocation$_(t1._sourceFile, t1._string_scanner$_position);
  60743. t3 = t2.offset;
  60744. $arguments = A.ArgumentList$empty(A._FileSpan$(t2.file, t3, t3));
  60745. }
  60746. _this.whitespace$1$consumeNewlines(false);
  60747. if (_this.scanIdentifier$1("using")) {
  60748. _this.whitespace$1$consumeNewlines(true);
  60749. contentParameters = _this._parameterList$0();
  60750. _this.whitespace$1$consumeNewlines(false);
  60751. } else
  60752. contentParameters = _null;
  60753. t2 = contentParameters == null;
  60754. if (!t2 || _this.lookingAtChildren$0()) {
  60755. if (t2) {
  60756. t2 = A.FileLocation$_(t1._sourceFile, t1._string_scanner$_position);
  60757. t3 = t2.offset;
  60758. contentParameters_ = new A.ParameterList(B.List_empty14, _null, A._FileSpan$(t2.file, t3, t3));
  60759. } else
  60760. contentParameters_ = contentParameters;
  60761. wasInContentBlock = _this._inContentBlock;
  60762. _this._inContentBlock = true;
  60763. $content = _this._withChildren$3(_this.get$_statement(), start, new A.StylesheetParser__includeRule_closure(contentParameters_));
  60764. _this._inContentBlock = wasInContentBlock;
  60765. } else {
  60766. _this.expectStatementSeparator$0();
  60767. $content = _null;
  60768. }
  60769. t1 = t1.spanFrom$2(start, start);
  60770. t2 = $content == null ? $arguments : $content;
  60771. span = t1.expand$1(0, t2.get$span(t2));
  60772. return new A.IncludeRule(namespace, A.stringReplaceAllUnchecked($name, "_", "-"), $name, $arguments, $content, span);
  60773. },
  60774. mediaRule$1(start) {
  60775. var _this = this;
  60776. _this.whitespace$1$consumeNewlines(false);
  60777. return _this._withChildren$3(_this.get$_statement(), start, new A.StylesheetParser_mediaRule_closure(_this._mediaQueryList$0()));
  60778. },
  60779. _mixinRule$1(start) {
  60780. var precedingComment, t1, t2, $name, parameters, t3, _this = this;
  60781. _this.whitespace$1$consumeNewlines(true);
  60782. precedingComment = _this.lastSilentComment;
  60783. _this.lastSilentComment = null;
  60784. t1 = _this.scanner;
  60785. t2 = t1._string_scanner$_position;
  60786. $name = _this.identifier$0();
  60787. if (B.JSString_methods.startsWith$1($name, "--"))
  60788. _this.warnings.push(new A._Record_3_deprecation_message_span(B.Deprecation_Kg6, string$.Sassx20_m, t1.spanFrom$1(new A._SpanScannerState(t1, t2))));
  60789. _this.whitespace$1$consumeNewlines(false);
  60790. if (t1.peekChar$0() === 40)
  60791. parameters = _this._parameterList$0();
  60792. else {
  60793. t2 = A.FileLocation$_(t1._sourceFile, t1._string_scanner$_position);
  60794. t3 = t2.offset;
  60795. parameters = new A.ParameterList(B.List_empty14, null, A._FileSpan$(t2.file, t3, t3));
  60796. }
  60797. if (_this._stylesheet$_inMixin || _this._inContentBlock)
  60798. _this.error$2(0, string$.Mixinscm, t1.spanFrom$1(start));
  60799. else if (_this._inControlDirective)
  60800. _this.error$2(0, string$.Mixinsb, t1.spanFrom$1(start));
  60801. _this.whitespace$1$consumeNewlines(false);
  60802. _this._stylesheet$_inMixin = true;
  60803. return _this._withChildren$3(_this.get$_statement(), start, new A.StylesheetParser__mixinRule_closure(_this, $name, parameters, precedingComment));
  60804. },
  60805. mozDocumentRule$2(start, $name) {
  60806. var t1, t2, t3, t4, t5, buffer, _0_0, t6, identifier, _1_0, argument, trailing, endPosition, t7, t8, start0, end, _this = this, _box_0 = {};
  60807. _this.whitespace$1$consumeNewlines(false);
  60808. t1 = _this.scanner;
  60809. t2 = t1._string_scanner$_position;
  60810. t3 = new A.StringBuffer("");
  60811. t4 = A._setArrayType([], type$.JSArray_Object);
  60812. t5 = A._setArrayType([], type$.JSArray_nullable_FileSpan);
  60813. buffer = new A.InterpolationBuffer(t3, t4, t5);
  60814. _box_0.needsDeprecationWarning = false;
  60815. for (; true;) {
  60816. if (t1.peekChar$0() === 35) {
  60817. _0_0 = _this.singleInterpolation$0();
  60818. buffer._flushText$0();
  60819. t4.push(_0_0._0);
  60820. t5.push(_0_0._1);
  60821. _box_0.needsDeprecationWarning = true;
  60822. } else {
  60823. t6 = t1._string_scanner$_position;
  60824. identifier = _this.identifier$0();
  60825. $label0$0: {
  60826. if ("url" === identifier || "url-prefix" === identifier || "domain" === identifier) {
  60827. _1_0 = _this._tryUrlContents$2$name(new A._SpanScannerState(t1, t6), identifier);
  60828. if (_1_0 != null)
  60829. buffer.addInterpolation$1(_1_0);
  60830. else {
  60831. t1.expectChar$1(40);
  60832. _this.whitespace$1$consumeNewlines(false);
  60833. argument = _this.interpolatedString$0();
  60834. t1.expectChar$1(41);
  60835. t3._contents += identifier;
  60836. t6 = A.Primitives_stringFromCharCode(40);
  60837. t3._contents += t6;
  60838. buffer.addInterpolation$1(argument.asInterpolation$0());
  60839. t6 = A.Primitives_stringFromCharCode(41);
  60840. t3._contents += t6;
  60841. }
  60842. t6 = t3._contents;
  60843. trailing = t6.charCodeAt(0) == 0 ? t6 : t6;
  60844. 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("")'))
  60845. _box_0.needsDeprecationWarning = true;
  60846. break $label0$0;
  60847. }
  60848. if ("regexp" === identifier) {
  60849. t3._contents += "regexp(";
  60850. t1.expectChar$1(40);
  60851. buffer.addInterpolation$1(_this.interpolatedString$0().asInterpolation$0());
  60852. t1.expectChar$1(41);
  60853. t6 = A.Primitives_stringFromCharCode(41);
  60854. t3._contents += t6;
  60855. _box_0.needsDeprecationWarning = true;
  60856. break $label0$0;
  60857. }
  60858. endPosition = t1._string_scanner$_position;
  60859. t7 = t1._sourceFile;
  60860. t8 = new A._FileSpan(t7, t6, endPosition);
  60861. t8._FileSpan$3(t7, t6, endPosition);
  60862. _this.error$2(0, "Invalid function name.", t8);
  60863. }
  60864. }
  60865. _this.whitespace$1$consumeNewlines(false);
  60866. if (!t1.scanChar$1(44))
  60867. break;
  60868. t6 = A.Primitives_stringFromCharCode(44);
  60869. t3._contents += t6;
  60870. start0 = t1._string_scanner$_position;
  60871. new A.StylesheetParser_mozDocumentRule_closure(_this).call$0();
  60872. end = t1._string_scanner$_position;
  60873. t3._contents += B.JSString_methods.substring$2(t1.string, start0, end);
  60874. }
  60875. return _this._withChildren$3(_this.get$_statement(), start, new A.StylesheetParser_mozDocumentRule_closure0(_box_0, _this, $name, buffer.interpolation$1(t1.spanFrom$1(new A._SpanScannerState(t1, t2)))));
  60876. },
  60877. supportsRule$1(start) {
  60878. var condition, _this = this;
  60879. _this.whitespace$1$consumeNewlines(false);
  60880. condition = _this._supportsCondition$0();
  60881. _this.whitespace$1$consumeNewlines(false);
  60882. return _this._withChildren$3(_this.get$_statement(), start, new A.StylesheetParser_supportsRule_closure(condition));
  60883. },
  60884. _useRule$1(start) {
  60885. var url, namespace, configuration, span, t1, _this = this;
  60886. _this.whitespace$1$consumeNewlines(true);
  60887. url = _this._urlString$0();
  60888. _this.whitespace$1$consumeNewlines(false);
  60889. namespace = _this._useNamespace$2(url, start);
  60890. _this.whitespace$1$consumeNewlines(false);
  60891. configuration = _this._stylesheet$_configuration$0();
  60892. _this.whitespace$1$consumeNewlines(false);
  60893. span = _this.scanner.spanFrom$1(start);
  60894. if (!_this._isUseAllowed)
  60895. _this.error$2(0, string$.x40use_r, span);
  60896. _this.expectStatementSeparator$1("@use rule");
  60897. t1 = new A.UseRule(url, namespace, configuration == null ? B.List_empty10 : A.List_List$unmodifiable(configuration, type$.ConfiguredVariable), span);
  60898. t1.UseRule$4$configuration(url, namespace, span, configuration);
  60899. return t1;
  60900. },
  60901. _useNamespace$2(url, start) {
  60902. var namespace, basename, dot, t1, exception, _this = this;
  60903. if (_this.scanIdentifier$1("as")) {
  60904. _this.whitespace$1$consumeNewlines(true);
  60905. return _this.scanner.scanChar$1(42) ? null : _this.identifier$0();
  60906. }
  60907. basename = url.get$pathSegments().length === 0 ? "" : B.JSArray_methods.get$last(url.get$pathSegments());
  60908. dot = B.JSString_methods.indexOf$1(basename, ".");
  60909. t1 = B.JSString_methods.startsWith$1(basename, "_") ? 1 : 0;
  60910. namespace = B.JSString_methods.substring$2(basename, t1, dot === -1 ? basename.length : dot);
  60911. try {
  60912. t1 = new A.Parser(A.SpanScanner$(namespace, null), null)._parseIdentifier$0();
  60913. return t1;
  60914. } catch (exception) {
  60915. if (type$.SassFormatException._is(A.unwrapException(exception)))
  60916. _this.error$2(0, 'The default namespace "' + A.S(namespace) + string$.x22x20is_n, _this.scanner.spanFrom$1(start));
  60917. else
  60918. throw exception;
  60919. }
  60920. },
  60921. _stylesheet$_configuration$1$allowGuarded(allowGuarded) {
  60922. var variableNames, configuration, t1, t2, $name, expression, t3, guarded, endPosition, t4, t5, span, _this = this;
  60923. if (!_this.scanIdentifier$1("with"))
  60924. return null;
  60925. variableNames = A.LinkedHashSet_LinkedHashSet$_empty(type$.String);
  60926. configuration = A._setArrayType([], type$.JSArray_ConfiguredVariable);
  60927. _this.whitespace$1$consumeNewlines(true);
  60928. t1 = _this.scanner;
  60929. t1.expectChar$1(40);
  60930. for (; true;) {
  60931. _this.whitespace$1$consumeNewlines(true);
  60932. t2 = t1._string_scanner$_position;
  60933. t1.expectChar$1(36);
  60934. $name = _this.identifier$1$normalize(true);
  60935. _this.whitespace$1$consumeNewlines(true);
  60936. t1.expectChar$1(58);
  60937. _this.whitespace$1$consumeNewlines(true);
  60938. expression = _this.expressionUntilComma$0();
  60939. t3 = t1._string_scanner$_position;
  60940. if (allowGuarded && t1.scanChar$1(33)) {
  60941. guarded = _this.identifier$0() === "default";
  60942. if (guarded)
  60943. _this.whitespace$1$consumeNewlines(true);
  60944. else {
  60945. endPosition = t1._string_scanner$_position;
  60946. t4 = t1._sourceFile;
  60947. t5 = new A._FileSpan(t4, t3, endPosition);
  60948. t5._FileSpan$3(t4, t3, endPosition);
  60949. _this.error$2(0, "Invalid flag name.", t5);
  60950. }
  60951. } else
  60952. guarded = false;
  60953. endPosition = t1._string_scanner$_position;
  60954. t3 = t1._sourceFile;
  60955. span = new A._FileSpan(t3, t2, endPosition);
  60956. span._FileSpan$3(t3, t2, endPosition);
  60957. if (variableNames.contains$1(0, $name))
  60958. _this.error$2(0, string$.The_sa, span);
  60959. variableNames.add$1(0, $name);
  60960. configuration.push(new A.ConfiguredVariable($name, expression, guarded, span));
  60961. if (!t1.scanChar$1(44))
  60962. break;
  60963. _this.whitespace$1$consumeNewlines(true);
  60964. if (!_this._lookingAtExpression$0())
  60965. break;
  60966. }
  60967. t1.expectChar$1(41);
  60968. return configuration;
  60969. },
  60970. _stylesheet$_configuration$0() {
  60971. return this._stylesheet$_configuration$1$allowGuarded(false);
  60972. },
  60973. _warnRule$1(start) {
  60974. var value, t1, t2, _this = this;
  60975. _this.whitespace$1$consumeNewlines(true);
  60976. value = _this._expression$0();
  60977. t1 = _this.scanner;
  60978. t2 = t1._string_scanner$_position;
  60979. _this.expectStatementSeparator$1("@warn rule");
  60980. return new A.WarnRule(value, t1.spanFrom$2(start, new A._SpanScannerState(t1, t2)));
  60981. },
  60982. _whileRule$2(start, child) {
  60983. var wasInControlDirective, _this = this;
  60984. _this.whitespace$1$consumeNewlines(true);
  60985. wasInControlDirective = _this._inControlDirective;
  60986. _this._inControlDirective = true;
  60987. return _this._withChildren$3(child, start, new A.StylesheetParser__whileRule_closure(_this, wasInControlDirective, _this._expression$0()));
  60988. },
  60989. unknownAtRule$2(start, $name) {
  60990. var t2, t3, rule, _this = this, t1 = {},
  60991. wasInUnknownAtRule = _this._stylesheet$_inUnknownAtRule;
  60992. _this._stylesheet$_inUnknownAtRule = true;
  60993. _this.whitespace$1$consumeNewlines(false);
  60994. t1.value = null;
  60995. t2 = _this.scanner;
  60996. t3 = t2.peekChar$0() !== 33 && !_this.atEndOfStatement$0() ? t1.value = _this._interpolatedDeclarationValue$1$allowOpenBrace(false) : null;
  60997. if (_this.lookingAtChildren$0())
  60998. rule = _this._withChildren$3(_this.get$_statement(), start, new A.StylesheetParser_unknownAtRule_closure(t1, $name));
  60999. else {
  61000. _this.expectStatementSeparator$0();
  61001. rule = A.AtRule$($name, t2.spanFrom$1(start), null, t3);
  61002. }
  61003. _this._stylesheet$_inUnknownAtRule = wasInUnknownAtRule;
  61004. return rule;
  61005. },
  61006. _disallowedAtRule$1(start) {
  61007. var _this = this;
  61008. _this.whitespace$1$consumeNewlines(false);
  61009. _this._interpolatedDeclarationValue$2$allowEmpty$allowOpenBrace(true, false);
  61010. _this.error$2(0, "This at-rule is not allowed here.", _this.scanner.spanFrom$1(start));
  61011. },
  61012. _parameterList$0() {
  61013. var parameters, named, restParameter, t3, $name, defaultValue, endPosition, t4, t5, _this = this,
  61014. t1 = _this.scanner,
  61015. t2 = t1._string_scanner$_position;
  61016. t1.expectChar$1(40);
  61017. _this.whitespace$1$consumeNewlines(true);
  61018. parameters = A._setArrayType([], type$.JSArray_Parameter);
  61019. named = A.LinkedHashSet_LinkedHashSet$_empty(type$.String);
  61020. for (; restParameter = null, t1.peekChar$0() === 36;) {
  61021. t3 = t1._string_scanner$_position;
  61022. t1.expectChar$1(36);
  61023. $name = _this.identifier$1$normalize(true);
  61024. _this.whitespace$1$consumeNewlines(true);
  61025. if (t1.scanChar$1(58)) {
  61026. _this.whitespace$1$consumeNewlines(true);
  61027. defaultValue = _this.expressionUntilComma$0();
  61028. } else {
  61029. if (t1.scanChar$1(46)) {
  61030. t1.expectChar$1(46);
  61031. t1.expectChar$1(46);
  61032. _this.whitespace$1$consumeNewlines(true);
  61033. if (t1.scanChar$1(44))
  61034. _this.whitespace$1$consumeNewlines(true);
  61035. restParameter = $name;
  61036. break;
  61037. }
  61038. defaultValue = null;
  61039. }
  61040. endPosition = t1._string_scanner$_position;
  61041. t4 = t1._sourceFile;
  61042. t5 = new A._FileSpan(t4, t3, endPosition);
  61043. t5._FileSpan$3(t4, t3, endPosition);
  61044. parameters.push(new A.Parameter($name, defaultValue, t5));
  61045. if (!named.add$1(0, $name))
  61046. _this.error$2(0, "Duplicate parameter.", B.JSArray_methods.get$last(parameters).span);
  61047. if (!t1.scanChar$1(44))
  61048. break;
  61049. _this.whitespace$1$consumeNewlines(true);
  61050. }
  61051. t1.expectChar$1(41);
  61052. t1 = t1.spanFrom$1(new A._SpanScannerState(t1, t2));
  61053. return new A.ParameterList(A.List_List$unmodifiable(parameters, type$.Parameter), restParameter, t1);
  61054. },
  61055. _argumentInvocation$2$allowEmptySecondArg$mixin(allowEmptySecondArg, mixin) {
  61056. var positional, t3, t4, named, t5, rest, keywordRest, expression, t6, t7, result, _this = this,
  61057. t1 = _this.scanner,
  61058. t2 = t1._string_scanner$_position;
  61059. t1.expectChar$1(40);
  61060. _this.whitespace$1$consumeNewlines(true);
  61061. positional = A._setArrayType([], type$.JSArray_Expression);
  61062. t3 = type$.String;
  61063. t4 = type$.Expression;
  61064. named = A.LinkedHashMap_LinkedHashMap$_empty(t3, t4);
  61065. for (t5 = !mixin, rest = null; keywordRest = null, _this._lookingAtExpression$0();) {
  61066. expression = _this.expressionUntilComma$1$singleEquals(t5);
  61067. _this.whitespace$1$consumeNewlines(true);
  61068. if (expression instanceof A.VariableExpression && t1.scanChar$1(58)) {
  61069. _this.whitespace$1$consumeNewlines(true);
  61070. t6 = expression.name;
  61071. if (named.containsKey$1(t6))
  61072. _this.error$2(0, "Duplicate argument.", expression.span);
  61073. named.$indexSet(0, t6, _this.expressionUntilComma$1$singleEquals(t5));
  61074. } else if (t1.scanChar$1(46)) {
  61075. t1.expectChar$1(46);
  61076. t1.expectChar$1(46);
  61077. if (rest != null) {
  61078. _this.whitespace$1$consumeNewlines(true);
  61079. if (t1.scanChar$1(44))
  61080. _this.whitespace$1$consumeNewlines(true);
  61081. keywordRest = expression;
  61082. break;
  61083. }
  61084. rest = expression;
  61085. } else if (named.__js_helper$_length !== 0)
  61086. _this.error$2(0, string$.Positi, expression.get$span(expression));
  61087. else
  61088. positional.push(expression);
  61089. _this.whitespace$1$consumeNewlines(true);
  61090. if (!t1.scanChar$1(44))
  61091. break;
  61092. _this.whitespace$1$consumeNewlines(true);
  61093. if (allowEmptySecondArg && positional.length === 1 && named.__js_helper$_length === 0 && rest == null && t1.peekChar$0() === 41) {
  61094. t5 = t1._sourceFile;
  61095. t6 = t1._string_scanner$_position;
  61096. new A.FileLocation(t5, t6).FileLocation$_$2(t5, t6);
  61097. t7 = new A._FileSpan(t5, t6, t6);
  61098. t7._FileSpan$3(t5, t6, t6);
  61099. result = A.List_List$from([""], false, type$.Object);
  61100. result.$flags = 3;
  61101. positional.push(new A.StringExpression(new A.Interpolation(result, B.List_null, t7), false));
  61102. break;
  61103. }
  61104. }
  61105. t1.expectChar$1(41);
  61106. t1 = t1.spanFrom$1(new A._SpanScannerState(t1, t2));
  61107. return new A.ArgumentList(A.List_List$unmodifiable(positional, t4), A.ConstantMap_ConstantMap$from(named, t3, t4), rest, keywordRest, t1);
  61108. },
  61109. _argumentInvocation$0() {
  61110. return this._argumentInvocation$2$allowEmptySecondArg$mixin(false, false);
  61111. },
  61112. _argumentInvocation$1$allowEmptySecondArg(allowEmptySecondArg) {
  61113. return this._argumentInvocation$2$allowEmptySecondArg$mixin(allowEmptySecondArg, false);
  61114. },
  61115. _argumentInvocation$1$mixin(mixin) {
  61116. return this._argumentInvocation$2$allowEmptySecondArg$mixin(false, mixin);
  61117. },
  61118. _expression$4$bracketList$consumeNewlines$singleEquals$until(bracketList, consumeNewlines, singleEquals, until) {
  61119. var t2, beforeBracket, start, wasInExpression, wasInParentheses, resetState, resolveOneOperation, resolveOperations, addSingleExpression, addOperator, resolveSpaceExpressions, t3, t4, _3_0, _1_0, t5, _3_28, _2_0, _3_32, _3_40, commaExpressions, spaceExpressions, singleExpression, _this = this,
  61120. _s20_ = "Expected expression.",
  61121. _box_0 = {},
  61122. t1 = until != null;
  61123. if (t1 && until.call$0())
  61124. _this.scanner.error$1(0, _s20_);
  61125. if (bracketList) {
  61126. t2 = _this.scanner;
  61127. beforeBracket = new A._SpanScannerState(t2, t2._string_scanner$_position);
  61128. t2.expectChar$1(91);
  61129. _this.whitespace$1$consumeNewlines(true);
  61130. if (t2.scanChar$1(93)) {
  61131. t1 = A._setArrayType([], type$.JSArray_Expression);
  61132. t2 = t2.spanFrom$1(beforeBracket);
  61133. return new A.ListExpression(A.List_List$unmodifiable(t1, type$.Expression), B.ListSeparator_undecided_null_undecided, true, t2);
  61134. }
  61135. } else
  61136. beforeBracket = null;
  61137. t2 = _this.scanner;
  61138. start = new A._SpanScannerState(t2, t2._string_scanner$_position);
  61139. wasInExpression = _this._inExpression;
  61140. wasInParentheses = _this._inParentheses;
  61141. _this._inExpression = true;
  61142. _box_0.operands_ = _box_0.operators_ = _box_0.spaceExpressions_ = _box_0.commaExpressions_ = null;
  61143. _box_0.allowSlash = true;
  61144. _box_0.singleExpression_ = _this._singleExpression$0();
  61145. resetState = new A.StylesheetParser__expression_resetState(_box_0, _this, start);
  61146. resolveOneOperation = new A.StylesheetParser__expression_resolveOneOperation(_box_0, _this);
  61147. resolveOperations = new A.StylesheetParser__expression_resolveOperations(_box_0, resolveOneOperation);
  61148. addSingleExpression = new A.StylesheetParser__expression_addSingleExpression(_box_0, _this, resetState, resolveOperations);
  61149. addOperator = new A.StylesheetParser__expression_addOperator(_box_0, _this, resolveOneOperation, addSingleExpression);
  61150. resolveSpaceExpressions = new A.StylesheetParser__expression_resolveSpaceExpressions(_box_0, _this, resolveOperations);
  61151. for (t3 = !consumeNewlines, t4 = type$.JSArray_Expression; true;) {
  61152. _this.whitespace$1$consumeNewlines(!t3 || bracketList);
  61153. if (t1 && until.call$0())
  61154. break;
  61155. _3_0 = t2.peekChar$0();
  61156. if (_3_0 == null)
  61157. break;
  61158. if (40 === _3_0) {
  61159. addSingleExpression.call$1(_this.parentheses$0());
  61160. continue;
  61161. }
  61162. if (91 === _3_0) {
  61163. addSingleExpression.call$1(_this._expression$1$bracketList(true));
  61164. continue;
  61165. }
  61166. if (36 === _3_0) {
  61167. addSingleExpression.call$1(_this._variable$0());
  61168. continue;
  61169. }
  61170. if (38 === _3_0) {
  61171. addSingleExpression.call$1(_this._selector$0());
  61172. continue;
  61173. }
  61174. if (39 === _3_0 || 34 === _3_0) {
  61175. addSingleExpression.call$1(_this.interpolatedString$0());
  61176. continue;
  61177. }
  61178. if (35 === _3_0) {
  61179. addSingleExpression.call$1(_this._hashExpression$0());
  61180. continue;
  61181. }
  61182. if (61 === _3_0) {
  61183. t2.readChar$0();
  61184. if (singleEquals && t2.peekChar$0() !== 61)
  61185. addOperator.call$1(B.BinaryOperator_Kyq);
  61186. else {
  61187. t2.expectChar$1(61);
  61188. addOperator.call$1(B.BinaryOperator_r84);
  61189. }
  61190. continue;
  61191. }
  61192. if (33 === _3_0) {
  61193. $label0$1: {
  61194. _1_0 = t2.peekChar$1(1);
  61195. if (61 === _1_0) {
  61196. t2.readChar$0();
  61197. t2.readChar$0();
  61198. addOperator.call$1(B.BinaryOperator_qGq);
  61199. break $label0$1;
  61200. }
  61201. t5 = true;
  61202. if (_1_0 != null)
  61203. if (105 !== _1_0)
  61204. if (73 !== _1_0)
  61205. t5 = _1_0 === 32 || _1_0 === 9 || _1_0 === 10 || _1_0 === 13 || _1_0 === 12;
  61206. if (t5) {
  61207. addSingleExpression.call$1(_this._importantExpression$0());
  61208. break $label0$1;
  61209. }
  61210. break;
  61211. }
  61212. continue;
  61213. }
  61214. if (60 === _3_0) {
  61215. t2.readChar$0();
  61216. addOperator.call$1(t2.scanChar$1(61) ? B.BinaryOperator_FPG : B.BinaryOperator_qHy);
  61217. continue;
  61218. }
  61219. if (62 === _3_0) {
  61220. t2.readChar$0();
  61221. addOperator.call$1(t2.scanChar$1(61) ? B.BinaryOperator_JiR : B.BinaryOperator_o8O);
  61222. continue;
  61223. }
  61224. if (42 === _3_0) {
  61225. t2.readChar$0();
  61226. addOperator.call$1(B.BinaryOperator_tht);
  61227. continue;
  61228. }
  61229. _3_28 = 43 === _3_0;
  61230. if (_3_28 && _box_0.singleExpression_ == null) {
  61231. addSingleExpression.call$1(_this._unaryOperation$0());
  61232. continue;
  61233. }
  61234. if (_3_28) {
  61235. t2.readChar$0();
  61236. addOperator.call$1(B.BinaryOperator_Swh);
  61237. continue;
  61238. }
  61239. if (45 === _3_0) {
  61240. _2_0 = t2.peekChar$1(1);
  61241. if (A._isInt(_2_0) && _2_0 >= 48 && _2_0 <= 57 || 46 === _2_0)
  61242. if (_box_0.singleExpression_ != null) {
  61243. t5 = t2.peekChar$1(-1);
  61244. t5 = t5 === 32 || t5 === 9 || t5 === 10 || t5 === 13 || t5 === 12;
  61245. } else
  61246. t5 = true;
  61247. else
  61248. t5 = false;
  61249. if (t5)
  61250. addSingleExpression.call$1(_this._number$0());
  61251. else if (_this._lookingAtInterpolatedIdentifier$0())
  61252. addSingleExpression.call$1(_this.identifierLike$0());
  61253. else if (_box_0.singleExpression_ == null)
  61254. addSingleExpression.call$1(_this._unaryOperation$0());
  61255. else {
  61256. t2.readChar$0();
  61257. addOperator.call$1(B.BinaryOperator_QG1);
  61258. }
  61259. continue;
  61260. }
  61261. _3_32 = 47 === _3_0;
  61262. if (_3_32 && _box_0.singleExpression_ == null) {
  61263. addSingleExpression.call$1(_this._unaryOperation$0());
  61264. continue;
  61265. }
  61266. if (_3_32) {
  61267. t2.readChar$0();
  61268. addOperator.call$1(B.BinaryOperator_Mh5);
  61269. continue;
  61270. }
  61271. if (37 === _3_0) {
  61272. t2.readChar$0();
  61273. addOperator.call$1(B.BinaryOperator_s7T);
  61274. continue;
  61275. }
  61276. if (_3_0 >= 48 && _3_0 <= 57) {
  61277. addSingleExpression.call$1(_this._number$0());
  61278. continue;
  61279. }
  61280. _3_40 = 46 === _3_0;
  61281. if (_3_40 && t2.peekChar$1(1) === 46)
  61282. break;
  61283. if (_3_40) {
  61284. addSingleExpression.call$1(_this._number$0());
  61285. continue;
  61286. }
  61287. if (97 === _3_0 && !_this.get$plainCss() && _this.scanIdentifier$1("and")) {
  61288. addOperator.call$1(B.BinaryOperator_uke);
  61289. continue;
  61290. }
  61291. if (111 === _3_0 && !_this.get$plainCss() && _this.scanIdentifier$1("or")) {
  61292. addOperator.call$1(B.BinaryOperator_tKu);
  61293. continue;
  61294. }
  61295. if ((117 === _3_0 || 85 === _3_0) && t2.peekChar$1(1) === 43) {
  61296. addSingleExpression.call$1(_this._unicodeRange$0());
  61297. continue;
  61298. }
  61299. if (!(_3_0 >= 97 && _3_0 <= 122))
  61300. t5 = _3_0 >= 65 && _3_0 <= 90 || 95 === _3_0 || 92 === _3_0 || _3_0 >= 128;
  61301. else
  61302. t5 = true;
  61303. if (t5) {
  61304. addSingleExpression.call$1(_this.identifierLike$0());
  61305. continue;
  61306. }
  61307. if (44 === _3_0) {
  61308. if (_this._inParentheses) {
  61309. _this._inParentheses = false;
  61310. if (_box_0.allowSlash) {
  61311. resetState.call$0();
  61312. continue;
  61313. }
  61314. }
  61315. commaExpressions = _box_0.commaExpressions_;
  61316. if (commaExpressions == null)
  61317. commaExpressions = _box_0.commaExpressions_ = A._setArrayType([], t4);
  61318. if (_box_0.singleExpression_ == null)
  61319. t2.error$1(0, _s20_);
  61320. resolveSpaceExpressions.call$0();
  61321. t5 = _box_0.singleExpression_;
  61322. t5.toString;
  61323. commaExpressions.push(t5);
  61324. t2.readChar$0();
  61325. _box_0.allowSlash = true;
  61326. _box_0.singleExpression_ = null;
  61327. continue;
  61328. }
  61329. break;
  61330. }
  61331. if (bracketList)
  61332. t2.expectChar$1(93);
  61333. commaExpressions = _box_0.commaExpressions_;
  61334. spaceExpressions = _box_0.spaceExpressions_;
  61335. if (commaExpressions != null) {
  61336. resolveSpaceExpressions.call$0();
  61337. _this._inParentheses = wasInParentheses;
  61338. singleExpression = _box_0.singleExpression_;
  61339. if (singleExpression != null)
  61340. commaExpressions.push(singleExpression);
  61341. _this._inExpression = wasInExpression;
  61342. t1 = t2.spanFrom$1(beforeBracket == null ? start : beforeBracket);
  61343. return new A.ListExpression(A.List_List$unmodifiable(commaExpressions, type$.Expression), B.ListSeparator_qVN, bracketList, t1);
  61344. } else if (bracketList && spaceExpressions != null) {
  61345. resolveOperations.call$0();
  61346. _this._inExpression = wasInExpression;
  61347. t1 = _box_0.singleExpression_;
  61348. t1.toString;
  61349. spaceExpressions.push(t1);
  61350. beforeBracket.toString;
  61351. t2 = t2.spanFrom$1(beforeBracket);
  61352. return new A.ListExpression(A.List_List$unmodifiable(spaceExpressions, type$.Expression), B.ListSeparator_qSL, true, t2);
  61353. } else {
  61354. resolveSpaceExpressions.call$0();
  61355. if (bracketList) {
  61356. t1 = _box_0.singleExpression_;
  61357. t1.toString;
  61358. t4 = A._setArrayType([t1], t4);
  61359. beforeBracket.toString;
  61360. t2 = t2.spanFrom$1(beforeBracket);
  61361. _box_0.singleExpression_ = new A.ListExpression(A.List_List$unmodifiable(t4, type$.Expression), B.ListSeparator_undecided_null_undecided, true, t2);
  61362. }
  61363. _this._inExpression = wasInExpression;
  61364. t1 = _box_0.singleExpression_;
  61365. t1.toString;
  61366. return t1;
  61367. }
  61368. },
  61369. _expression$0() {
  61370. return this._expression$4$bracketList$consumeNewlines$singleEquals$until(false, false, false, null);
  61371. },
  61372. _expression$1$consumeNewlines(consumeNewlines) {
  61373. return this._expression$4$bracketList$consumeNewlines$singleEquals$until(false, consumeNewlines, false, null);
  61374. },
  61375. _expression$3$consumeNewlines$singleEquals$until(consumeNewlines, singleEquals, until) {
  61376. return this._expression$4$bracketList$consumeNewlines$singleEquals$until(false, consumeNewlines, singleEquals, until);
  61377. },
  61378. _expression$1$bracketList(bracketList) {
  61379. return this._expression$4$bracketList$consumeNewlines$singleEquals$until(bracketList, false, false, null);
  61380. },
  61381. _expression$2$consumeNewlines$until(consumeNewlines, until) {
  61382. return this._expression$4$bracketList$consumeNewlines$singleEquals$until(false, consumeNewlines, false, until);
  61383. },
  61384. expressionUntilComma$1$singleEquals(singleEquals) {
  61385. return this._expression$3$consumeNewlines$singleEquals$until(true, singleEquals, new A.StylesheetParser_expressionUntilComma_closure(this));
  61386. },
  61387. expressionUntilComma$0() {
  61388. return this.expressionUntilComma$1$singleEquals(false);
  61389. },
  61390. _isSlashOperand$1(expression) {
  61391. var t1 = true;
  61392. if (!(expression instanceof A.NumberExpression))
  61393. if (!(expression instanceof A.FunctionExpression))
  61394. t1 = expression instanceof A.BinaryOperationExpression && expression.allowsSlash;
  61395. return t1;
  61396. },
  61397. _singleExpression$0() {
  61398. var next, t2, _this = this,
  61399. _s20_ = "Expected expression.",
  61400. t1 = _this.scanner,
  61401. _0_0 = t1.peekChar$0();
  61402. $label0$0: {
  61403. if (_0_0 == null)
  61404. t1.error$1(0, _s20_);
  61405. if (40 === _0_0) {
  61406. t1 = _this.parentheses$0();
  61407. break $label0$0;
  61408. }
  61409. if (47 === _0_0) {
  61410. t1 = _this._unaryOperation$0();
  61411. break $label0$0;
  61412. }
  61413. if (46 === _0_0) {
  61414. t1 = _this._number$0();
  61415. break $label0$0;
  61416. }
  61417. if (91 === _0_0) {
  61418. t1 = _this._expression$1$bracketList(true);
  61419. break $label0$0;
  61420. }
  61421. if (36 === _0_0) {
  61422. t1 = _this._variable$0();
  61423. break $label0$0;
  61424. }
  61425. if (38 === _0_0) {
  61426. t1 = _this._selector$0();
  61427. break $label0$0;
  61428. }
  61429. if (39 === _0_0 || 34 === _0_0) {
  61430. t1 = _this.interpolatedString$0();
  61431. break $label0$0;
  61432. }
  61433. if (35 === _0_0) {
  61434. t1 = _this._hashExpression$0();
  61435. break $label0$0;
  61436. }
  61437. if (43 === _0_0) {
  61438. next = t1.peekChar$1(1);
  61439. t1 = next != null && next >= 48 && next <= 57 || next === 46 ? _this._number$0() : _this._unaryOperation$0();
  61440. break $label0$0;
  61441. }
  61442. if (45 === _0_0) {
  61443. t1 = _this._minusExpression$0();
  61444. break $label0$0;
  61445. }
  61446. if (33 === _0_0) {
  61447. t1 = _this._importantExpression$0();
  61448. break $label0$0;
  61449. }
  61450. if (37 === _0_0) {
  61451. t2 = t1._string_scanner$_position;
  61452. t1.readChar$0();
  61453. t2 = t1.spanFrom$1(new A._SpanScannerState(t1, t2));
  61454. t2 = new A.StringExpression(new A.Interpolation(A.List_List$unmodifiable(["%"], type$.Object), B.List_null, t2), false);
  61455. t1 = t2;
  61456. break $label0$0;
  61457. }
  61458. if ((117 === _0_0 || 85 === _0_0) && t1.peekChar$1(1) === 43) {
  61459. t1 = _this._unicodeRange$0();
  61460. break $label0$0;
  61461. }
  61462. if (_0_0 >= 48 && _0_0 <= 57) {
  61463. t1 = _this._number$0();
  61464. break $label0$0;
  61465. }
  61466. if (!(_0_0 >= 97 && _0_0 <= 122))
  61467. t2 = _0_0 >= 65 && _0_0 <= 90 || 95 === _0_0 || 92 === _0_0 || _0_0 >= 128;
  61468. else
  61469. t2 = true;
  61470. if (t2) {
  61471. t1 = _this.identifierLike$0();
  61472. break $label0$0;
  61473. }
  61474. t1 = t1.error$1(0, _s20_);
  61475. }
  61476. return t1;
  61477. },
  61478. parentheses$0() {
  61479. var start, inside, first, expressions, list, t1, t2, _this = this,
  61480. wasInParentheses = _this._inParentheses;
  61481. _this._inParentheses = true;
  61482. try {
  61483. t1 = _this.scanner;
  61484. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  61485. t1.expectChar$1(40);
  61486. _this.whitespace$1$consumeNewlines(true);
  61487. inside = new A._SpanScannerState(t1, t1._string_scanner$_position);
  61488. if (!_this._lookingAtExpression$0()) {
  61489. t1.expectChar$1(41);
  61490. t2 = A._setArrayType([], type$.JSArray_Expression);
  61491. t1 = t1.spanFrom$1(start);
  61492. t2 = A.List_List$unmodifiable(t2, type$.Expression);
  61493. return new A.ListExpression(t2, B.ListSeparator_undecided_null_undecided, false, t1);
  61494. }
  61495. first = _this.expressionUntilComma$0();
  61496. if (t1.scanChar$1(58)) {
  61497. _this.whitespace$1$consumeNewlines(true);
  61498. t1 = _this._stylesheet$_map$2(first, start);
  61499. return t1;
  61500. }
  61501. if (!t1.scanChar$1(44)) {
  61502. t1.expectChar$1(41);
  61503. t1 = t1.spanFrom$1(start);
  61504. return new A.ParenthesizedExpression(first, t1);
  61505. }
  61506. _this.whitespace$1$consumeNewlines(true);
  61507. expressions = A._setArrayType([first], type$.JSArray_Expression);
  61508. for (; true;) {
  61509. if (!_this._lookingAtExpression$0())
  61510. break;
  61511. J.add$1$ax(expressions, _this.expressionUntilComma$0());
  61512. if (!t1.scanChar$1(44))
  61513. break;
  61514. _this.whitespace$1$consumeNewlines(true);
  61515. }
  61516. t2 = t1.spanFrom$1(inside);
  61517. list = new A.ListExpression(A.List_List$unmodifiable(expressions, type$.Expression), B.ListSeparator_qVN, false, t2);
  61518. t1.expectChar$1(41);
  61519. t1 = t1.spanFrom$1(start);
  61520. return new A.ParenthesizedExpression(list, t1);
  61521. } finally {
  61522. _this._inParentheses = wasInParentheses;
  61523. }
  61524. },
  61525. _stylesheet$_map$2(first, start) {
  61526. var t1, key, _this = this,
  61527. pairs = A._setArrayType([new A._Record_2(first, _this.expressionUntilComma$0())], type$.JSArray_Record_2_Expression_and_Expression);
  61528. for (t1 = _this.scanner; t1.scanChar$1(44);) {
  61529. _this.whitespace$1$consumeNewlines(true);
  61530. if (!_this._lookingAtExpression$0())
  61531. break;
  61532. key = _this.expressionUntilComma$0();
  61533. t1.expectChar$1(58);
  61534. _this.whitespace$1$consumeNewlines(true);
  61535. pairs.push(new A._Record_2(key, _this.expressionUntilComma$0()));
  61536. }
  61537. t1.expectChar$1(41);
  61538. t1 = t1.spanFrom$1(start);
  61539. return new A.MapExpression(A.List_List$unmodifiable(pairs, type$.Record_2_Expression_and_Expression), t1);
  61540. },
  61541. _hashExpression$0() {
  61542. var start, t2, identifier, buffer, t3, _this = this,
  61543. t1 = _this.scanner;
  61544. if (t1.peekChar$1(1) === 123)
  61545. return _this.identifierLike$0();
  61546. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  61547. t1.expectChar$1(35);
  61548. t2 = t1.peekChar$0();
  61549. if (t2 == null)
  61550. t2 = null;
  61551. else
  61552. t2 = t2 >= 48 && t2 <= 57;
  61553. if (t2 === true)
  61554. return new A.ColorExpression(_this._hexColorContents$1(start), t1.spanFrom$1(start));
  61555. t2 = t1._string_scanner$_position;
  61556. identifier = _this.interpolatedIdentifier$0();
  61557. if (_this._isHexColor$1(identifier)) {
  61558. t1.set$state(new A._SpanScannerState(t1, t2));
  61559. return new A.ColorExpression(_this._hexColorContents$1(start), t1.spanFrom$1(start));
  61560. }
  61561. t2 = new A.StringBuffer("");
  61562. buffer = new A.InterpolationBuffer(t2, A._setArrayType([], type$.JSArray_Object), A._setArrayType([], type$.JSArray_nullable_FileSpan));
  61563. t3 = A.Primitives_stringFromCharCode(35);
  61564. t2._contents += t3;
  61565. buffer.addInterpolation$1(identifier);
  61566. return new A.StringExpression(buffer.interpolation$1(t1.spanFrom$1(start)), false);
  61567. },
  61568. _hexColorContents$1(start) {
  61569. var red, green, blue, alpha, digit4, t2, t3, t4, _this = this,
  61570. digit1 = _this._hexDigit$0(),
  61571. digit2 = _this._hexDigit$0(),
  61572. digit3 = _this._hexDigit$0(),
  61573. t1 = _this.scanner,
  61574. $self = t1.peekChar$0();
  61575. if (!($self != null && A.CharacterExtension_get_isHex($self))) {
  61576. red = (digit1 << 4 >>> 0) + digit1;
  61577. green = (digit2 << 4 >>> 0) + digit2;
  61578. blue = (digit3 << 4 >>> 0) + digit3;
  61579. alpha = null;
  61580. } else {
  61581. digit4 = _this._hexDigit$0();
  61582. $self = t1.peekChar$0();
  61583. t2 = $self != null && A.CharacterExtension_get_isHex($self);
  61584. t3 = digit1 << 4 >>> 0;
  61585. t4 = digit3 << 4 >>> 0;
  61586. if (!t2) {
  61587. red = t3 + digit1;
  61588. green = (digit2 << 4 >>> 0) + digit2;
  61589. blue = t4 + digit3;
  61590. alpha = ((digit4 << 4 >>> 0) + digit4) / 255;
  61591. } else {
  61592. red = t3 + digit2;
  61593. green = t4 + digit4;
  61594. blue = (_this._hexDigit$0() << 4 >>> 0) + _this._hexDigit$0();
  61595. $self = t1.peekChar$0();
  61596. alpha = $self != null && A.CharacterExtension_get_isHex($self) ? ((_this._hexDigit$0() << 4 >>> 0) + _this._hexDigit$0()) / 255 : null;
  61597. }
  61598. }
  61599. t2 = alpha == null;
  61600. t3 = t2 ? 1 : alpha;
  61601. return A.SassColor_SassColor$rgbInternal(red, green, blue, t3, t2 ? new A.SpanColorFormat(t1.spanFrom$1(start)) : null);
  61602. },
  61603. _isHexColor$1(interpolation) {
  61604. var _0_2, t1,
  61605. plain = interpolation.get$asPlain();
  61606. if (typeof plain == "string") {
  61607. _0_2 = plain.length;
  61608. t1 = true;
  61609. if (3 !== _0_2)
  61610. if (4 !== _0_2)
  61611. if (6 !== _0_2)
  61612. t1 = 8 === _0_2;
  61613. } else
  61614. t1 = false;
  61615. if (t1) {
  61616. t1 = new A.CodeUnits(plain);
  61617. return t1.every$1(t1, new A.StylesheetParser__isHexColor_closure());
  61618. } else
  61619. return false;
  61620. },
  61621. _hexDigit$0() {
  61622. var t1 = this.scanner,
  61623. t2 = t1.peekChar$0();
  61624. t2 = t2 == null ? null : A.CharacterExtension_get_isHex(t2);
  61625. return t2 === true ? A.asHex(t1.readChar$0()) : t1.error$1(0, "Expected hex digit.");
  61626. },
  61627. _minusExpression$0() {
  61628. var _this = this,
  61629. _0_0 = _this.scanner.peekChar$1(1);
  61630. if (A._isInt(_0_0) && _0_0 >= 48 && _0_0 <= 57 || 46 === _0_0)
  61631. return _this._number$0();
  61632. if (_this._lookingAtInterpolatedIdentifier$0())
  61633. return _this.identifierLike$0();
  61634. return _this._unaryOperation$0();
  61635. },
  61636. _importantExpression$0() {
  61637. var t1 = this.scanner,
  61638. t2 = t1._string_scanner$_position;
  61639. t1.readChar$0();
  61640. this.whitespace$1$consumeNewlines(true);
  61641. this.expectIdentifier$1("important");
  61642. t2 = t1.spanFrom$1(new A._SpanScannerState(t1, t2));
  61643. return new A.StringExpression(new A.Interpolation(A.List_List$unmodifiable(["!important"], type$.Object), B.List_null, t2), false);
  61644. },
  61645. _unaryOperation$0() {
  61646. var _this = this,
  61647. t1 = _this.scanner,
  61648. t2 = t1._string_scanner$_position,
  61649. operator = _this._unaryOperatorFor$1(t1.readChar$0());
  61650. if (operator == null)
  61651. t1.error$2$position(0, "Expected unary operator.", t1._string_scanner$_position - 1);
  61652. else if (_this.get$plainCss() && operator !== B.UnaryOperator_lZV)
  61653. t1.error$3$length$position(0, "Operators aren't allowed in plain CSS.", 1, t1._string_scanner$_position - 1);
  61654. _this.whitespace$1$consumeNewlines(true);
  61655. return new A.UnaryOperationExpression(operator, _this._singleExpression$0(), t1.spanFrom$1(new A._SpanScannerState(t1, t2)));
  61656. },
  61657. _unaryOperatorFor$1(character) {
  61658. var t1;
  61659. $label0$0: {
  61660. if (43 === character) {
  61661. t1 = B.UnaryOperator_Rbl;
  61662. break $label0$0;
  61663. }
  61664. if (45 === character) {
  61665. t1 = B.UnaryOperator_UCP;
  61666. break $label0$0;
  61667. }
  61668. if (47 === character) {
  61669. t1 = B.UnaryOperator_lZV;
  61670. break $label0$0;
  61671. }
  61672. t1 = null;
  61673. break $label0$0;
  61674. }
  61675. return t1;
  61676. },
  61677. _number$0() {
  61678. var number, unit, _this = this,
  61679. t1 = _this.scanner,
  61680. t2 = t1._string_scanner$_position,
  61681. first = t1.peekChar$0(),
  61682. t3 = first !== 43;
  61683. if (!t3 || first === 45)
  61684. t1.readChar$0();
  61685. if (t1.peekChar$0() !== 46)
  61686. _this._consumeNaturalNumber$0();
  61687. _this._tryDecimal$1$allowTrailingDot(t1._string_scanner$_position !== t2 && t3 && first !== 45);
  61688. _this._tryExponent$0();
  61689. number = A.double_parse(t1.substring$1(0, t2));
  61690. if (t1.scanChar$1(37))
  61691. unit = "%";
  61692. else {
  61693. if (_this.lookingAtIdentifier$0())
  61694. t3 = t1.peekChar$0() !== 45 || t1.peekChar$1(1) !== 45;
  61695. else
  61696. t3 = false;
  61697. unit = t3 ? _this.identifier$1$unit(true) : null;
  61698. }
  61699. return new A.NumberExpression(number, unit, t1.spanFrom$1(new A._SpanScannerState(t1, t2)));
  61700. },
  61701. _consumeNaturalNumber$0() {
  61702. var $self,
  61703. t1 = this.scanner,
  61704. t2 = t1.readChar$0();
  61705. if (!(t2 >= 48 && t2 <= 57))
  61706. t1.error$2$position(0, "Expected digit.", t1._string_scanner$_position - 1);
  61707. while (true) {
  61708. $self = t1.peekChar$0();
  61709. if (!($self != null && $self >= 48 && $self <= 57))
  61710. break;
  61711. t1.readChar$0();
  61712. }
  61713. },
  61714. _tryDecimal$1$allowTrailingDot(allowTrailingDot) {
  61715. var $self,
  61716. t1 = this.scanner;
  61717. if (t1.peekChar$0() !== 46)
  61718. return;
  61719. $self = t1.peekChar$1(1);
  61720. if (!($self != null && $self >= 48 && $self <= 57)) {
  61721. if (allowTrailingDot)
  61722. return;
  61723. t1.error$2$position(0, "Expected digit.", t1._string_scanner$_position + 1);
  61724. }
  61725. t1.readChar$0();
  61726. while (true) {
  61727. $self = t1.peekChar$0();
  61728. if (!($self != null && $self >= 48 && $self <= 57))
  61729. break;
  61730. t1.readChar$0();
  61731. }
  61732. },
  61733. _tryExponent$0() {
  61734. var next, $self,
  61735. t1 = this.scanner,
  61736. first = t1.peekChar$0();
  61737. if (first !== 101 && first !== 69)
  61738. return;
  61739. next = t1.peekChar$1(1);
  61740. if (!(next != null && next >= 48 && next <= 57) && next !== 45 && next !== 43)
  61741. return;
  61742. t1.readChar$0();
  61743. if (43 === next || 45 === next)
  61744. t1.readChar$0();
  61745. $self = t1.peekChar$0();
  61746. if (!($self != null && $self >= 48 && $self <= 57))
  61747. t1.error$1(0, "Expected digit.");
  61748. while (true) {
  61749. $self = t1.peekChar$0();
  61750. if (!($self != null && $self >= 48 && $self <= 57))
  61751. break;
  61752. t1.readChar$0();
  61753. }
  61754. },
  61755. _unicodeRange$0() {
  61756. var firstRangeLength, hasQuestionMark, t2, secondRangeLength, _this = this,
  61757. _s26_ = "Expected at most 6 digits.",
  61758. t1 = _this.scanner,
  61759. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  61760. _this.expectIdentChar$1(117);
  61761. t1.expectChar$1(43);
  61762. for (firstRangeLength = 0; _this.scanCharIf$1(new A.StylesheetParser__unicodeRange_closure());)
  61763. ++firstRangeLength;
  61764. for (hasQuestionMark = false; t1.scanChar$1(63); hasQuestionMark = true)
  61765. ++firstRangeLength;
  61766. if (firstRangeLength === 0)
  61767. t1.error$1(0, 'Expected hex digit or "?".');
  61768. else if (firstRangeLength > 6)
  61769. _this.error$2(0, _s26_, t1.spanFrom$1(start));
  61770. else if (hasQuestionMark) {
  61771. t2 = t1.substring$1(0, start.position);
  61772. t1 = t1.spanFrom$1(start);
  61773. return new A.StringExpression(new A.Interpolation(A.List_List$unmodifiable([t2], type$.Object), B.List_null, t1), false);
  61774. }
  61775. if (t1.scanChar$1(45)) {
  61776. t2 = t1._string_scanner$_position;
  61777. for (secondRangeLength = 0; _this.scanCharIf$1(new A.StylesheetParser__unicodeRange_closure0());)
  61778. ++secondRangeLength;
  61779. if (secondRangeLength === 0)
  61780. t1.error$1(0, "Expected hex digit.");
  61781. else if (secondRangeLength > 6)
  61782. _this.error$2(0, _s26_, t1.spanFrom$1(new A._SpanScannerState(t1, t2)));
  61783. }
  61784. if (_this._lookingAtInterpolatedIdentifierBody$0())
  61785. t1.error$1(0, "Expected end of identifier.");
  61786. t2 = t1.substring$1(0, start.position);
  61787. t1 = t1.spanFrom$1(start);
  61788. return new A.StringExpression(new A.Interpolation(A.List_List$unmodifiable([t2], type$.Object), B.List_null, t1), false);
  61789. },
  61790. _variable$0() {
  61791. var _this = this,
  61792. t1 = _this.scanner,
  61793. start = new A._SpanScannerState(t1, t1._string_scanner$_position),
  61794. $name = _this.variableName$0();
  61795. if (_this.get$plainCss())
  61796. _this.error$2(0, string$.Sassx20v, t1.spanFrom$1(start));
  61797. return new A.VariableExpression(null, $name, t1.spanFrom$1(start));
  61798. },
  61799. _selector$0() {
  61800. var t1, start, _this = this;
  61801. if (_this.get$plainCss())
  61802. _this.scanner.error$2$length(0, string$.The_pa, 1);
  61803. t1 = _this.scanner;
  61804. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  61805. t1.expectChar$1(38);
  61806. if (t1.scanChar$1(38)) {
  61807. _this.warnings.push(new A._Record_3_deprecation_message_span(null, string$.In_Sas, t1.spanFrom$1(start)));
  61808. t1.set$position(t1._string_scanner$_position - 1);
  61809. }
  61810. return new A.SelectorExpression(t1.spanFrom$1(start));
  61811. },
  61812. interpolatedString$0() {
  61813. var t3, t4, t5, buffer, _1_0, second, t6, _0_0,
  61814. t1 = this.scanner,
  61815. t2 = t1._string_scanner$_position,
  61816. quote = t1.readChar$0();
  61817. if (quote !== 39 && quote !== 34)
  61818. t1.error$2$position(0, "Expected string.", t2);
  61819. t3 = new A.StringBuffer("");
  61820. t4 = A._setArrayType([], type$.JSArray_Object);
  61821. t5 = A._setArrayType([], type$.JSArray_nullable_FileSpan);
  61822. buffer = new A.InterpolationBuffer(t3, t4, t5);
  61823. for (; true;) {
  61824. _1_0 = t1.peekChar$0();
  61825. if (_1_0 === quote) {
  61826. t1.readChar$0();
  61827. break;
  61828. }
  61829. if (_1_0 == null || _1_0 === 10 || _1_0 === 13 || _1_0 === 12)
  61830. t1.error$1(0, "Expected " + A.Primitives_stringFromCharCode(quote) + ".");
  61831. if (92 === _1_0) {
  61832. second = t1.peekChar$1(1);
  61833. if (second === 10 || second === 13 || second === 12) {
  61834. t1.readChar$0();
  61835. t1.readChar$0();
  61836. if (second === 13)
  61837. t1.scanChar$1(10);
  61838. } else {
  61839. t6 = A.Primitives_stringFromCharCode(A.consumeEscapedCharacter(t1));
  61840. t3._contents += t6;
  61841. }
  61842. continue;
  61843. }
  61844. if (35 === _1_0 && t1.peekChar$1(1) === 123) {
  61845. _0_0 = this.singleInterpolation$0();
  61846. buffer._flushText$0();
  61847. t4.push(_0_0._0);
  61848. t5.push(_0_0._1);
  61849. continue;
  61850. }
  61851. t6 = A.Primitives_stringFromCharCode(t1.readChar$0());
  61852. t3._contents += t6;
  61853. }
  61854. return new A.StringExpression(buffer.interpolation$1(t1.spanFrom$1(new A._SpanScannerState(t1, t2))), true);
  61855. },
  61856. identifierLike$0() {
  61857. var invocation, expression, _0_0, t3, t4, t5, _1_0, _2_0, _2_2, _2_4, _this = this,
  61858. t1 = _this.scanner,
  61859. start = new A._SpanScannerState(t1, t1._string_scanner$_position),
  61860. identifier = _this.interpolatedIdentifier$0(),
  61861. plain = identifier.get$asPlain(),
  61862. lower = A._Cell$(),
  61863. t2 = plain != null;
  61864. if (t2) {
  61865. if (plain === "if" && t1.peekChar$0() === 40) {
  61866. invocation = _this._argumentInvocation$0();
  61867. return new A.IfExpression(invocation, identifier.span.expand$1(0, invocation.span));
  61868. } else if (plain === "not") {
  61869. _this.whitespace$1$consumeNewlines(true);
  61870. expression = _this._singleExpression$0();
  61871. return new A.UnaryOperationExpression(B.UnaryOperator_not_not_not, expression, identifier.span.expand$1(0, expression.get$span(expression)));
  61872. }
  61873. lower.__late_helper$_value = plain.toLowerCase();
  61874. if (t1.peekChar$0() !== 40) {
  61875. switch (plain) {
  61876. case "false":
  61877. return new A.BooleanExpression(false, identifier.span);
  61878. case "null":
  61879. return new A.NullExpression(identifier.span);
  61880. case "true":
  61881. return new A.BooleanExpression(true, identifier.span);
  61882. }
  61883. _0_0 = $.$get$colorsByName().$index(0, lower._readLocal$0());
  61884. if (_0_0 != null) {
  61885. t1 = B.JSNumber_methods.round$0(_0_0._legacyChannel$2(B.RgbColorSpace_i0P, "red"));
  61886. t2 = B.JSNumber_methods.round$0(_0_0._legacyChannel$2(B.RgbColorSpace_i0P, "green"));
  61887. t3 = B.JSNumber_methods.round$0(_0_0._legacyChannel$2(B.RgbColorSpace_i0P, "blue"));
  61888. t4 = _0_0.alphaOrNull;
  61889. if (t4 == null)
  61890. t4 = 0;
  61891. t5 = identifier.span;
  61892. return new A.ColorExpression(A.SassColor_SassColor$rgbInternal(t1, t2, t3, t4, new A.SpanColorFormat(t5)), t5);
  61893. }
  61894. }
  61895. _1_0 = _this.trySpecialFunction$2(lower._readLocal$0(), start);
  61896. if (_1_0 != null)
  61897. return _1_0;
  61898. }
  61899. _2_0 = t1.peekChar$0();
  61900. _2_2 = 46 === _2_0;
  61901. if (_2_2 && t1.peekChar$1(1) === 46)
  61902. return new A.StringExpression(identifier, false);
  61903. if (_2_2) {
  61904. t1.readChar$0();
  61905. if (t2)
  61906. return _this.namespacedExpression$2(plain, start);
  61907. _this.error$2(0, string$.Interpn, identifier.span);
  61908. }
  61909. _2_4 = 40 === _2_0;
  61910. if (_2_4 && t2) {
  61911. t2 = _this._argumentInvocation$1$allowEmptySecondArg(J.$eq$(lower._readLocal$0(), "var"));
  61912. t1 = t1.spanFrom$1(start);
  61913. return new A.FunctionExpression(null, A.stringReplaceAllUnchecked(plain, "_", "-"), plain, t2, t1);
  61914. }
  61915. if (_2_4)
  61916. return new A.InterpolatedFunctionExpression(identifier, _this._argumentInvocation$0(), t1.spanFrom$1(start));
  61917. return new A.StringExpression(identifier, false);
  61918. },
  61919. namespacedExpression$2(namespace, start) {
  61920. var $name, t2, t3, _this = this,
  61921. t1 = _this.scanner;
  61922. if (t1.peekChar$0() === 36) {
  61923. $name = _this.variableName$0();
  61924. _this._assertPublic$2($name, new A.StylesheetParser_namespacedExpression_closure(_this, start));
  61925. return new A.VariableExpression(namespace, $name, t1.spanFrom$1(start));
  61926. }
  61927. t2 = _this._publicIdentifier$0();
  61928. t3 = _this._argumentInvocation$0();
  61929. t1 = t1.spanFrom$1(start);
  61930. return new A.FunctionExpression(namespace, A.stringReplaceAllUnchecked(t2, "_", "-"), t2, t3, t1);
  61931. },
  61932. trySpecialFunction$2($name, start) {
  61933. var t1, buffer, t2, next, t3, _this = this,
  61934. normalized = A.unvendor($name);
  61935. $label0$0: {
  61936. if (!("calc" === normalized && normalized !== $name && _this.scanner.scanChar$1(40)))
  61937. t1 = ("element" === normalized || "expression" === normalized) && _this.scanner.scanChar$1(40);
  61938. else
  61939. t1 = true;
  61940. if (t1) {
  61941. t1 = new A.StringBuffer("");
  61942. buffer = new A.InterpolationBuffer(t1, A._setArrayType([], type$.JSArray_Object), A._setArrayType([], type$.JSArray_nullable_FileSpan));
  61943. t1._contents = "" + $name;
  61944. t2 = A.Primitives_stringFromCharCode(40);
  61945. t1._contents += t2;
  61946. break $label0$0;
  61947. }
  61948. if ("progid" === normalized && _this.scanner.scanChar$1(58)) {
  61949. t1 = new A.StringBuffer("");
  61950. buffer = new A.InterpolationBuffer(t1, A._setArrayType([], type$.JSArray_Object), A._setArrayType([], type$.JSArray_nullable_FileSpan));
  61951. t1._contents = "" + $name;
  61952. t2 = A.Primitives_stringFromCharCode(58);
  61953. t1._contents += t2;
  61954. t2 = _this.scanner;
  61955. next = t2.peekChar$0();
  61956. while (true) {
  61957. if (next != null) {
  61958. if (!(next >= 97 && next <= 122))
  61959. t3 = next >= 65 && next <= 90;
  61960. else
  61961. t3 = true;
  61962. t3 = t3 || next === 46;
  61963. } else
  61964. t3 = false;
  61965. if (!t3)
  61966. break;
  61967. t3 = A.Primitives_stringFromCharCode(t2.readChar$0());
  61968. t1._contents += t3;
  61969. next = t2.peekChar$0();
  61970. }
  61971. t2.expectChar$1(40);
  61972. t2 = A.Primitives_stringFromCharCode(40);
  61973. t1._contents += t2;
  61974. break $label0$0;
  61975. }
  61976. if ("url" === normalized)
  61977. return A.NullableExtension_andThen(_this._tryUrlContents$1(start), new A.StylesheetParser_trySpecialFunction_closure());
  61978. return null;
  61979. }
  61980. buffer.addInterpolation$1(_this._interpolatedDeclarationValue$1$allowEmpty(true));
  61981. t1 = _this.scanner;
  61982. t1.expectChar$1(41);
  61983. t2 = buffer._interpolation_buffer$_text;
  61984. t3 = A.Primitives_stringFromCharCode(41);
  61985. t2._contents += t3;
  61986. return new A.StringExpression(buffer.interpolation$1(t1.spanFrom$1(start)), false);
  61987. },
  61988. _tryUrlContents$2$name(start, $name) {
  61989. var t3, t4, t5, buffer, t6, _1_0, _1_6, _0_0, endPosition, _this = this,
  61990. t1 = _this.scanner,
  61991. t2 = t1._string_scanner$_position;
  61992. if (!t1.scanChar$1(40))
  61993. return null;
  61994. _this.whitespaceWithoutComments$1$consumeNewlines(true);
  61995. t3 = new A.StringBuffer("");
  61996. t4 = A._setArrayType([], type$.JSArray_Object);
  61997. t5 = A._setArrayType([], type$.JSArray_nullable_FileSpan);
  61998. buffer = new A.InterpolationBuffer(t3, t4, t5);
  61999. t3._contents = "" + ($name == null ? "url" : $name);
  62000. t6 = A.Primitives_stringFromCharCode(40);
  62001. t3._contents += t6;
  62002. for (; true;) {
  62003. _1_0 = t1.peekChar$0();
  62004. if (_1_0 == null)
  62005. break;
  62006. if (92 === _1_0) {
  62007. t6 = _this.escape$0();
  62008. t3._contents += t6;
  62009. continue;
  62010. }
  62011. _1_6 = 35 === _1_0;
  62012. if (_1_6 && t1.peekChar$1(1) === 123) {
  62013. _0_0 = _this.singleInterpolation$0();
  62014. buffer._flushText$0();
  62015. t4.push(_0_0._0);
  62016. t5.push(_0_0._1);
  62017. continue;
  62018. }
  62019. t6 = true;
  62020. if (33 !== _1_0)
  62021. if (37 !== _1_0)
  62022. if (38 !== _1_0)
  62023. if (!_1_6)
  62024. t6 = _1_0 >= 42 && _1_0 <= 126 || _1_0 >= 128;
  62025. if (t6) {
  62026. t6 = A.Primitives_stringFromCharCode(t1.readChar$0());
  62027. t3._contents += t6;
  62028. continue;
  62029. }
  62030. if (_1_0 === 32 || _1_0 === 9 || _1_0 === 10 || _1_0 === 13 || _1_0 === 12) {
  62031. _this.whitespaceWithoutComments$1$consumeNewlines(true);
  62032. if (t1.peekChar$0() !== 41)
  62033. break;
  62034. continue;
  62035. }
  62036. if (41 === _1_0) {
  62037. t2 = A.Primitives_stringFromCharCode(t1.readChar$0());
  62038. t3._contents += t2;
  62039. endPosition = t1._string_scanner$_position;
  62040. t2 = t1._sourceFile;
  62041. t3 = start.position;
  62042. t1 = new A._FileSpan(t2, t3, endPosition);
  62043. t1._FileSpan$3(t2, t3, endPosition);
  62044. return buffer.interpolation$1(t1);
  62045. }
  62046. break;
  62047. }
  62048. t1.set$state(new A._SpanScannerState(t1, t2));
  62049. return null;
  62050. },
  62051. _tryUrlContents$1(start) {
  62052. return this._tryUrlContents$2$name(start, null);
  62053. },
  62054. dynamicUrl$0() {
  62055. var _0_0, t2, _this = this,
  62056. t1 = _this.scanner,
  62057. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  62058. _this.expectIdentifier$1("url");
  62059. _0_0 = _this._tryUrlContents$1(start);
  62060. if (_0_0 != null)
  62061. return new A.StringExpression(_0_0, false);
  62062. t2 = t1.spanFrom$1(start);
  62063. return new A.InterpolatedFunctionExpression(new A.Interpolation(A.List_List$unmodifiable(["url"], type$.Object), B.List_null, t2), _this._argumentInvocation$0(), t1.spanFrom$1(start));
  62064. },
  62065. almostAnyValue$1$omitComments(omitComments) {
  62066. var t4, t5, t6, t7, _2_0, t8, _0_0, _0_2, start, end, _0_4, identifier, _1_0, bracket, char, _this = this,
  62067. t1 = _this.scanner,
  62068. t2 = t1._string_scanner$_position,
  62069. t3 = new A.StringBuffer(""),
  62070. buffer = new A.InterpolationBuffer(t3, A._setArrayType([], type$.JSArray_Object), A._setArrayType([], type$.JSArray_nullable_FileSpan)),
  62071. brackets = A._setArrayType([], type$.JSArray_int);
  62072. for (t4 = t1.string, t5 = t4.length, t6 = !omitComments, t7 = _this.get$loudComment(); true;)
  62073. $label0$0: {
  62074. _2_0 = t1.peekChar$0();
  62075. if (92 === _2_0) {
  62076. t8 = A.Primitives_stringFromCharCode(t1.readChar$0());
  62077. t3._contents += t8;
  62078. t8 = A.Primitives_stringFromCharCode(t1.readChar$0());
  62079. t3._contents += t8;
  62080. break $label0$0;
  62081. }
  62082. if (34 === _2_0 || 39 === _2_0) {
  62083. buffer.addInterpolation$1(_this.interpolatedString$0().asInterpolation$0());
  62084. break $label0$0;
  62085. }
  62086. if (47 === _2_0) {
  62087. $label1$1: {
  62088. _0_0 = t1.peekChar$1(1);
  62089. _0_2 = 42 === _0_0;
  62090. if (_0_2 && t6) {
  62091. start = t1._string_scanner$_position;
  62092. t7.call$0();
  62093. end = t1._string_scanner$_position;
  62094. t3._contents += B.JSString_methods.substring$2(t4, start, end);
  62095. break $label1$1;
  62096. }
  62097. if (_0_2) {
  62098. _this.loudComment$0();
  62099. break $label1$1;
  62100. }
  62101. _0_4 = 47 === _0_0;
  62102. if (_0_4 && t6) {
  62103. t8 = _this.get$silentComment();
  62104. start = t1._string_scanner$_position;
  62105. t8.call$0();
  62106. end = t1._string_scanner$_position;
  62107. t3._contents += B.JSString_methods.substring$2(t4, start, end);
  62108. break $label1$1;
  62109. }
  62110. if (_0_4) {
  62111. _this.silentComment$0();
  62112. break $label1$1;
  62113. }
  62114. t8 = A.Primitives_stringFromCharCode(t1.readChar$0());
  62115. t3._contents += t8;
  62116. }
  62117. break $label0$0;
  62118. }
  62119. if (35 === _2_0 && t1.peekChar$1(1) === 123) {
  62120. buffer.addInterpolation$1(_this.interpolatedIdentifier$0());
  62121. break $label0$0;
  62122. }
  62123. if (13 === _2_0 || 10 === _2_0 || 12 === _2_0) {
  62124. if (_this.get$indented() && brackets.length === 0)
  62125. break;
  62126. t8 = A.Primitives_stringFromCharCode(t1.readChar$0());
  62127. t3._contents += t8;
  62128. break $label0$0;
  62129. }
  62130. if (33 === _2_0 || 59 === _2_0 || 123 === _2_0 || 125 === _2_0)
  62131. break;
  62132. if (117 === _2_0 || 85 === _2_0) {
  62133. t8 = t1._string_scanner$_position;
  62134. identifier = _this.identifier$0();
  62135. if (identifier !== "url" && identifier !== "url-prefix") {
  62136. t3._contents += identifier;
  62137. continue;
  62138. }
  62139. _1_0 = _this._tryUrlContents$2$name(new A._SpanScannerState(t1, t8), identifier);
  62140. if (_1_0 != null)
  62141. buffer.addInterpolation$1(_1_0);
  62142. else {
  62143. if ((t8 === 0 ? 1 / t8 < 0 : t8 < 0) || t8 > t5)
  62144. A.throwExpression(A.ArgumentError$("Invalid position " + t8, null));
  62145. t1._string_scanner$_position = t8;
  62146. t1._lastMatch = null;
  62147. t8 = A.Primitives_stringFromCharCode(t1.readChar$0());
  62148. t3._contents += t8;
  62149. }
  62150. break $label0$0;
  62151. }
  62152. if (40 === _2_0 || 91 === _2_0) {
  62153. bracket = t1.readChar$0();
  62154. t8 = A.Primitives_stringFromCharCode(bracket);
  62155. t3._contents += t8;
  62156. brackets.push(A.opposite(bracket));
  62157. break $label0$0;
  62158. }
  62159. if (41 === _2_0 || 93 === _2_0) {
  62160. t8 = _2_0 != null;
  62161. char = t8 ? _2_0 : null;
  62162. } else {
  62163. char = null;
  62164. t8 = false;
  62165. }
  62166. if (t8) {
  62167. if (brackets.length === 0)
  62168. t1.error$1(0, 'Unexpected "' + A.Primitives_stringFromCharCode(char) + '".');
  62169. bracket = brackets.pop();
  62170. t1.expectChar$1(bracket);
  62171. t8 = A.Primitives_stringFromCharCode(bracket);
  62172. t3._contents += t8;
  62173. break $label0$0;
  62174. }
  62175. if (_2_0 == null)
  62176. break;
  62177. t8 = _this.lookingAtIdentifier$0();
  62178. if (t8) {
  62179. t8 = _this.identifier$0();
  62180. t3._contents += t8;
  62181. break $label0$0;
  62182. }
  62183. t8 = A.Primitives_stringFromCharCode(t1.readChar$0());
  62184. t3._contents += t8;
  62185. }
  62186. return buffer.interpolation$1(t1.spanFrom$1(new A._SpanScannerState(t1, t2)));
  62187. },
  62188. almostAnyValue$0() {
  62189. return this.almostAnyValue$1$omitComments(false);
  62190. },
  62191. _interpolatedDeclarationValue$6$allowColon$allowEmpty$allowOpenBrace$allowSemicolon$consumeNewlines$silentComments(allowColon, allowEmpty, allowOpenBrace, allowSemicolon, consumeNewlines, silentComments) {
  62192. var t4, t5, t6, t7, t8, t9, t10, wroteNewline, _2_0, wroteNewline0, t11, _0_0, start, end, _2_14_isSet, _2_14, t12, _2_18_isSet, _2_20, _2_18, _2_20_isSet, _2_22, bracket, identifier, _1_0, _this = this, _null = null,
  62193. t1 = _this.scanner,
  62194. t2 = t1._string_scanner$_position,
  62195. t3 = new A.StringBuffer(""),
  62196. buffer = new A.InterpolationBuffer(t3, A._setArrayType([], type$.JSArray_Object), A._setArrayType([], type$.JSArray_nullable_FileSpan)),
  62197. brackets = A._setArrayType([], type$.JSArray_int);
  62198. for (t4 = !consumeNewlines, t5 = !allowOpenBrace, t6 = t1.string, t7 = t6.length, t8 = !allowColon, t9 = !allowSemicolon, t10 = _this.get$loudComment(), wroteNewline = false; true;)
  62199. $label0$0: {
  62200. _2_0 = t1.peekChar$0();
  62201. wroteNewline0 = false;
  62202. if (92 === _2_0) {
  62203. t11 = _this.escape$1$identifierStart(true);
  62204. t3._contents += t11;
  62205. wroteNewline = wroteNewline0;
  62206. break $label0$0;
  62207. }
  62208. if (34 === _2_0 || 39 === _2_0) {
  62209. buffer.addInterpolation$1(_this.interpolatedString$0().asInterpolation$0());
  62210. wroteNewline = wroteNewline0;
  62211. break $label0$0;
  62212. }
  62213. if (47 === _2_0) {
  62214. $label1$1: {
  62215. _0_0 = t1.peekChar$1(1);
  62216. if (42 === _0_0) {
  62217. start = t1._string_scanner$_position;
  62218. t10.call$0();
  62219. end = t1._string_scanner$_position;
  62220. t3._contents += B.JSString_methods.substring$2(t6, start, end);
  62221. break $label1$1;
  62222. }
  62223. if (47 === _0_0 && silentComments) {
  62224. _this.silentComment$0();
  62225. break $label1$1;
  62226. }
  62227. t11 = A.Primitives_stringFromCharCode(t1.readChar$0());
  62228. t3._contents += t11;
  62229. }
  62230. wroteNewline = wroteNewline0;
  62231. break $label0$0;
  62232. }
  62233. if (35 === _2_0 && t1.peekChar$1(1) === 123) {
  62234. buffer.addInterpolation$1(_this.interpolatedIdentifier$0());
  62235. wroteNewline = wroteNewline0;
  62236. break $label0$0;
  62237. }
  62238. _2_14_isSet = 32 !== _2_0;
  62239. if (_2_14_isSet) {
  62240. _2_14 = 9 === _2_0;
  62241. t11 = _2_14;
  62242. } else {
  62243. _2_14 = _null;
  62244. t11 = true;
  62245. }
  62246. t12 = false;
  62247. if (t11)
  62248. if (!wroteNewline) {
  62249. t11 = t1.peekChar$1(1);
  62250. t11 = t11 === 32 || t11 === 9 || t11 === 10 || t11 === 13 || t11 === 12;
  62251. } else
  62252. t11 = t12;
  62253. else
  62254. t11 = t12;
  62255. if (t11) {
  62256. t1.readChar$0();
  62257. break $label0$0;
  62258. }
  62259. if (_2_14_isSet)
  62260. t11 = _2_14;
  62261. else
  62262. t11 = true;
  62263. if (t11) {
  62264. t11 = A.Primitives_stringFromCharCode(t1.readChar$0());
  62265. t3._contents += t11;
  62266. break $label0$0;
  62267. }
  62268. _2_18_isSet = 10 !== _2_0;
  62269. _2_20 = _null;
  62270. t11 = true;
  62271. if (_2_18_isSet) {
  62272. _2_18 = 13 === _2_0;
  62273. _2_20_isSet = !_2_18;
  62274. if (_2_20_isSet) {
  62275. _2_20 = 12 === _2_0;
  62276. t11 = _2_20;
  62277. }
  62278. } else {
  62279. _2_18 = _null;
  62280. _2_20_isSet = false;
  62281. }
  62282. if (t11 && _this.get$indented() && t4 && brackets.length === 0)
  62283. break;
  62284. t11 = true;
  62285. if (_2_18_isSet)
  62286. if (!_2_18)
  62287. t11 = _2_20_isSet ? _2_20 : 12 === _2_0;
  62288. if (t11) {
  62289. t11 = t1.peekChar$1(-1);
  62290. if (!(t11 === 10 || t11 === 13 || t11 === 12))
  62291. t3._contents += "\n";
  62292. t1.readChar$0();
  62293. wroteNewline = true;
  62294. break $label0$0;
  62295. }
  62296. _2_22 = 123 === _2_0;
  62297. if (_2_22 && t5)
  62298. break;
  62299. if (40 !== _2_0)
  62300. t11 = _2_22 || 91 === _2_0;
  62301. else
  62302. t11 = true;
  62303. if (t11) {
  62304. bracket = t1.readChar$0();
  62305. t11 = A.Primitives_stringFromCharCode(bracket);
  62306. t3._contents += t11;
  62307. brackets.push(A.opposite(bracket));
  62308. wroteNewline = wroteNewline0;
  62309. break $label0$0;
  62310. }
  62311. if (41 === _2_0 || 125 === _2_0 || 93 === _2_0) {
  62312. if (brackets.length === 0)
  62313. break;
  62314. bracket = brackets.pop();
  62315. t1.expectChar$1(bracket);
  62316. t11 = A.Primitives_stringFromCharCode(bracket);
  62317. t3._contents += t11;
  62318. wroteNewline = wroteNewline0;
  62319. break $label0$0;
  62320. }
  62321. if (59 === _2_0) {
  62322. if (t9 && brackets.length === 0)
  62323. break;
  62324. t11 = A.Primitives_stringFromCharCode(t1.readChar$0());
  62325. t3._contents += t11;
  62326. wroteNewline = wroteNewline0;
  62327. break $label0$0;
  62328. }
  62329. if (58 === _2_0) {
  62330. if (t8 && brackets.length === 0)
  62331. break;
  62332. t11 = A.Primitives_stringFromCharCode(t1.readChar$0());
  62333. t3._contents += t11;
  62334. wroteNewline = wroteNewline0;
  62335. break $label0$0;
  62336. }
  62337. if (117 === _2_0 || 85 === _2_0) {
  62338. t11 = t1._string_scanner$_position;
  62339. identifier = _this.identifier$0();
  62340. if (identifier !== "url" && identifier !== "url-prefix") {
  62341. t3._contents += identifier;
  62342. wroteNewline = wroteNewline0;
  62343. continue;
  62344. }
  62345. _1_0 = _this._tryUrlContents$2$name(new A._SpanScannerState(t1, t11), identifier);
  62346. if (_1_0 != null)
  62347. buffer.addInterpolation$1(_1_0);
  62348. else {
  62349. if ((t11 === 0 ? 1 / t11 < 0 : t11 < 0) || t11 > t7)
  62350. A.throwExpression(A.ArgumentError$("Invalid position " + t11, _null));
  62351. t1._string_scanner$_position = t11;
  62352. t1._lastMatch = null;
  62353. t11 = A.Primitives_stringFromCharCode(t1.readChar$0());
  62354. t3._contents += t11;
  62355. }
  62356. wroteNewline = wroteNewline0;
  62357. break $label0$0;
  62358. }
  62359. if (_2_0 == null)
  62360. break;
  62361. t11 = _this.lookingAtIdentifier$0();
  62362. if (t11) {
  62363. t11 = _this.identifier$0();
  62364. t3._contents += t11;
  62365. wroteNewline = wroteNewline0;
  62366. break $label0$0;
  62367. }
  62368. t11 = A.Primitives_stringFromCharCode(t1.readChar$0());
  62369. t3._contents += t11;
  62370. wroteNewline = wroteNewline0;
  62371. }
  62372. if (brackets.length !== 0)
  62373. t1.expectChar$1(B.JSArray_methods.get$last(brackets));
  62374. if (!allowEmpty && buffer._interpolation_buffer$_contents.length === 0 && t3._contents.length === 0)
  62375. t1.error$1(0, "Expected token.");
  62376. return buffer.interpolation$1(t1.spanFrom$1(new A._SpanScannerState(t1, t2)));
  62377. },
  62378. _interpolatedDeclarationValue$1$allowEmpty(allowEmpty) {
  62379. return this._interpolatedDeclarationValue$6$allowColon$allowEmpty$allowOpenBrace$allowSemicolon$consumeNewlines$silentComments(true, allowEmpty, true, false, false, true);
  62380. },
  62381. _interpolatedDeclarationValue$1$allowOpenBrace(allowOpenBrace) {
  62382. return this._interpolatedDeclarationValue$6$allowColon$allowEmpty$allowOpenBrace$allowSemicolon$consumeNewlines$silentComments(true, false, allowOpenBrace, false, false, true);
  62383. },
  62384. _interpolatedDeclarationValue$3$allowEmpty$allowSemicolon$consumeNewlines(allowEmpty, allowSemicolon, consumeNewlines) {
  62385. return this._interpolatedDeclarationValue$6$allowColon$allowEmpty$allowOpenBrace$allowSemicolon$consumeNewlines$silentComments(true, allowEmpty, true, allowSemicolon, consumeNewlines, true);
  62386. },
  62387. _interpolatedDeclarationValue$4$allowColon$allowEmpty$allowSemicolon$consumeNewlines(allowColon, allowEmpty, allowSemicolon, consumeNewlines) {
  62388. return this._interpolatedDeclarationValue$6$allowColon$allowEmpty$allowOpenBrace$allowSemicolon$consumeNewlines$silentComments(allowColon, allowEmpty, true, allowSemicolon, consumeNewlines, true);
  62389. },
  62390. _interpolatedDeclarationValue$0() {
  62391. return this._interpolatedDeclarationValue$6$allowColon$allowEmpty$allowOpenBrace$allowSemicolon$consumeNewlines$silentComments(true, false, true, false, false, true);
  62392. },
  62393. _interpolatedDeclarationValue$2$allowEmpty$allowOpenBrace(allowEmpty, allowOpenBrace) {
  62394. return this._interpolatedDeclarationValue$6$allowColon$allowEmpty$allowOpenBrace$allowSemicolon$consumeNewlines$silentComments(true, allowEmpty, allowOpenBrace, false, false, true);
  62395. },
  62396. _interpolatedDeclarationValue$1$silentComments(silentComments) {
  62397. return this._interpolatedDeclarationValue$6$allowColon$allowEmpty$allowOpenBrace$allowSemicolon$consumeNewlines$silentComments(true, false, true, false, false, silentComments);
  62398. },
  62399. interpolatedIdentifier$0() {
  62400. var t3, _1_0, _0_0, _this = this,
  62401. _s20_ = "Expected identifier.",
  62402. t1 = _this.scanner,
  62403. start = new A._SpanScannerState(t1, t1._string_scanner$_position),
  62404. t2 = new A.StringBuffer(""),
  62405. buffer = new A.InterpolationBuffer(t2, A._setArrayType([], type$.JSArray_Object), A._setArrayType([], type$.JSArray_nullable_FileSpan));
  62406. if (t1.scanChar$1(45)) {
  62407. t3 = A.Primitives_stringFromCharCode(45);
  62408. t2._contents += t3;
  62409. if (t1.scanChar$1(45)) {
  62410. t3 = A.Primitives_stringFromCharCode(45);
  62411. t2._contents += t3;
  62412. _this._interpolatedIdentifierBody$1(buffer);
  62413. return buffer.interpolation$1(t1.spanFrom$1(start));
  62414. }
  62415. }
  62416. $label0$0: {
  62417. _1_0 = t1.peekChar$0();
  62418. if (_1_0 == null)
  62419. t1.error$1(0, _s20_);
  62420. if (_1_0 === 95 || A.CharacterExtension_get_isAlphabetic(_1_0) || _1_0 >= 128) {
  62421. t3 = A.Primitives_stringFromCharCode(t1.readChar$0());
  62422. t2._contents += t3;
  62423. break $label0$0;
  62424. }
  62425. if (92 === _1_0) {
  62426. t3 = _this.escape$1$identifierStart(true);
  62427. t2._contents += t3;
  62428. break $label0$0;
  62429. }
  62430. if (35 === _1_0 && t1.peekChar$1(1) === 123) {
  62431. _0_0 = _this.singleInterpolation$0();
  62432. buffer.add$2(0, _0_0._0, _0_0._1);
  62433. break $label0$0;
  62434. }
  62435. t1.error$1(0, _s20_);
  62436. }
  62437. _this._interpolatedIdentifierBody$1(buffer);
  62438. return buffer.interpolation$1(t1.spanFrom$1(start));
  62439. },
  62440. _interpolatedIdentifierBody$1(buffer) {
  62441. var t1, t2, t3, t4, _1_0, t5, _0_0;
  62442. for (t1 = buffer._interpolation_buffer$_contents, t2 = buffer._spans, t3 = this.scanner, t4 = buffer._interpolation_buffer$_text; true;) {
  62443. _1_0 = t3.peekChar$0();
  62444. if (_1_0 == null)
  62445. break;
  62446. t5 = true;
  62447. if (95 !== _1_0)
  62448. if (45 !== _1_0) {
  62449. if (!(_1_0 >= 97 && _1_0 <= 122))
  62450. t5 = _1_0 >= 65 && _1_0 <= 90;
  62451. else
  62452. t5 = true;
  62453. if (!t5)
  62454. t5 = _1_0 >= 48 && _1_0 <= 57;
  62455. else
  62456. t5 = true;
  62457. t5 = t5 || _1_0 >= 128;
  62458. }
  62459. if (t5) {
  62460. t5 = A.Primitives_stringFromCharCode(t3.readChar$0());
  62461. t4._contents += t5;
  62462. continue;
  62463. }
  62464. if (92 === _1_0) {
  62465. t5 = this.escape$0();
  62466. t4._contents += t5;
  62467. continue;
  62468. }
  62469. if (35 === _1_0 && t3.peekChar$1(1) === 123) {
  62470. _0_0 = this.singleInterpolation$0();
  62471. buffer._flushText$0();
  62472. t1.push(_0_0._0);
  62473. t2.push(_0_0._1);
  62474. continue;
  62475. }
  62476. break;
  62477. }
  62478. },
  62479. singleInterpolation$0() {
  62480. var contents, span, _this = this,
  62481. t1 = _this.scanner,
  62482. t2 = t1._string_scanner$_position;
  62483. t1.expect$1("#{");
  62484. _this.whitespace$1$consumeNewlines(true);
  62485. contents = _this._expression$1$consumeNewlines(true);
  62486. t1.expectChar$1(125);
  62487. span = t1.spanFrom$1(new A._SpanScannerState(t1, t2));
  62488. if (_this.get$plainCss())
  62489. _this.error$2(0, string$.Interpp, span);
  62490. return new A._Record_2(contents, span);
  62491. },
  62492. _mediaQueryList$0() {
  62493. var t4, _this = this,
  62494. t1 = _this.scanner,
  62495. t2 = t1._string_scanner$_position,
  62496. t3 = new A.StringBuffer(""),
  62497. buffer = new A.InterpolationBuffer(t3, A._setArrayType([], type$.JSArray_Object), A._setArrayType([], type$.JSArray_nullable_FileSpan));
  62498. for (; true;) {
  62499. _this.whitespace$1$consumeNewlines(false);
  62500. _this._stylesheet$_mediaQuery$1(buffer);
  62501. _this.whitespace$1$consumeNewlines(false);
  62502. if (!t1.scanChar$1(44))
  62503. break;
  62504. t4 = A.Primitives_stringFromCharCode(44);
  62505. t3._contents += t4;
  62506. t4 = A.Primitives_stringFromCharCode(32);
  62507. t3._contents += t4;
  62508. }
  62509. return buffer.interpolation$1(t1.spanFrom$1(new A._SpanScannerState(t1, t2)));
  62510. },
  62511. _stylesheet$_mediaQuery$1(buffer) {
  62512. var identifier1, t1, t2, identifier2, _this = this, _s3_ = "and";
  62513. if (_this.scanner.peekChar$0() === 40) {
  62514. _this._stylesheet$_mediaInParens$1(buffer);
  62515. _this.whitespace$1$consumeNewlines(false);
  62516. if (_this.scanIdentifier$1(_s3_)) {
  62517. buffer._interpolation_buffer$_text._contents += " and ";
  62518. _this.expectWhitespace$0();
  62519. _this._stylesheet$_mediaLogicSequence$2(buffer, _s3_);
  62520. } else if (_this.scanIdentifier$1("or")) {
  62521. buffer._interpolation_buffer$_text._contents += " or ";
  62522. _this.expectWhitespace$0();
  62523. _this._stylesheet$_mediaLogicSequence$2(buffer, "or");
  62524. }
  62525. return;
  62526. }
  62527. identifier1 = _this.interpolatedIdentifier$0();
  62528. if (A.equalsIgnoreCase(identifier1.get$asPlain(), "not")) {
  62529. _this.expectWhitespace$0();
  62530. if (!_this._lookingAtInterpolatedIdentifier$0()) {
  62531. buffer._interpolation_buffer$_text._contents += "not ";
  62532. _this._mediaOrInterp$1(buffer);
  62533. return;
  62534. }
  62535. }
  62536. _this.whitespace$1$consumeNewlines(false);
  62537. buffer.addInterpolation$1(identifier1);
  62538. if (!_this._lookingAtInterpolatedIdentifier$0())
  62539. return;
  62540. t1 = buffer._interpolation_buffer$_text;
  62541. t2 = A.Primitives_stringFromCharCode(32);
  62542. t1._contents += t2;
  62543. identifier2 = _this.interpolatedIdentifier$0();
  62544. if (A.equalsIgnoreCase(identifier2.get$asPlain(), _s3_)) {
  62545. _this.expectWhitespace$0();
  62546. t1._contents += " and ";
  62547. } else {
  62548. _this.whitespace$1$consumeNewlines(false);
  62549. buffer.addInterpolation$1(identifier2);
  62550. if (_this.scanIdentifier$1(_s3_)) {
  62551. _this.expectWhitespace$0();
  62552. t1._contents += " and ";
  62553. } else
  62554. return;
  62555. }
  62556. if (_this.scanIdentifier$1("not")) {
  62557. _this.expectWhitespace$0();
  62558. t1._contents += "not ";
  62559. _this._mediaOrInterp$1(buffer);
  62560. return;
  62561. }
  62562. _this._stylesheet$_mediaLogicSequence$2(buffer, _s3_);
  62563. return;
  62564. },
  62565. _stylesheet$_mediaLogicSequence$2(buffer, operator) {
  62566. var t1, t2, _this = this;
  62567. for (t1 = buffer._interpolation_buffer$_text; true;) {
  62568. _this._mediaOrInterp$1(buffer);
  62569. _this.whitespace$1$consumeNewlines(false);
  62570. if (!_this.scanIdentifier$1(operator))
  62571. return;
  62572. _this.expectWhitespace$1$consumeNewlines(false);
  62573. t2 = A.Primitives_stringFromCharCode(32);
  62574. t1._contents = (t1._contents += t2) + operator;
  62575. t2 = A.Primitives_stringFromCharCode(32);
  62576. t1._contents += t2;
  62577. }
  62578. },
  62579. _mediaOrInterp$1(buffer) {
  62580. var _0_0;
  62581. if (this.scanner.peekChar$0() === 35) {
  62582. _0_0 = this.singleInterpolation$0();
  62583. buffer.add$2(0, _0_0._0, _0_0._1);
  62584. } else
  62585. this._stylesheet$_mediaInParens$1(buffer);
  62586. },
  62587. _stylesheet$_mediaInParens$1(buffer) {
  62588. var t2, t3, expressionBefore, expressionAfter, next, t4, expressionMiddle, _this = this,
  62589. t1 = _this.scanner;
  62590. t1.expectChar$2$name(40, "media condition in parentheses");
  62591. t2 = buffer._interpolation_buffer$_text;
  62592. t3 = A.Primitives_stringFromCharCode(40);
  62593. t2._contents += t3;
  62594. _this.whitespace$1$consumeNewlines(true);
  62595. if (t1.peekChar$0() === 40) {
  62596. _this._stylesheet$_mediaInParens$1(buffer);
  62597. _this.whitespace$1$consumeNewlines(true);
  62598. if (_this.scanIdentifier$1("and")) {
  62599. t2._contents += " and ";
  62600. _this.expectWhitespace$1$consumeNewlines(true);
  62601. _this._stylesheet$_mediaLogicSequence$2(buffer, "and");
  62602. } else if (_this.scanIdentifier$1("or")) {
  62603. t2._contents += " or ";
  62604. _this.expectWhitespace$1$consumeNewlines(true);
  62605. _this._stylesheet$_mediaLogicSequence$2(buffer, "or");
  62606. }
  62607. } else if (_this.scanIdentifier$1("not")) {
  62608. t2._contents += "not ";
  62609. _this.expectWhitespace$1$consumeNewlines(true);
  62610. _this._mediaOrInterp$1(buffer);
  62611. } else {
  62612. expressionBefore = _this._expressionUntilComparison$0();
  62613. buffer.add$2(0, expressionBefore, expressionBefore.get$span(expressionBefore));
  62614. if (t1.scanChar$1(58)) {
  62615. _this.whitespace$1$consumeNewlines(true);
  62616. t3 = A.Primitives_stringFromCharCode(58);
  62617. t2._contents += t3;
  62618. t3 = A.Primitives_stringFromCharCode(32);
  62619. t2._contents += t3;
  62620. expressionAfter = _this._expression$1$consumeNewlines(true);
  62621. buffer.add$2(0, expressionAfter, expressionAfter.get$span(expressionAfter));
  62622. } else {
  62623. next = t1.peekChar$0();
  62624. t3 = 60 !== next;
  62625. if (!t3 || 62 === next || 61 === next) {
  62626. t4 = A.Primitives_stringFromCharCode(32);
  62627. t2._contents += t4;
  62628. t4 = A.Primitives_stringFromCharCode(t1.readChar$0());
  62629. t2._contents += t4;
  62630. if ((!t3 || 62 === next) && t1.scanChar$1(61)) {
  62631. t4 = A.Primitives_stringFromCharCode(61);
  62632. t2._contents += t4;
  62633. }
  62634. t4 = A.Primitives_stringFromCharCode(32);
  62635. t2._contents += t4;
  62636. _this.whitespace$1$consumeNewlines(true);
  62637. expressionMiddle = _this._expressionUntilComparison$0();
  62638. buffer.add$2(0, expressionMiddle, expressionMiddle.get$span(expressionMiddle));
  62639. if (!t3 || 62 === next) {
  62640. next.toString;
  62641. t3 = t1.scanChar$1(next);
  62642. } else
  62643. t3 = false;
  62644. if (t3) {
  62645. t3 = A.Primitives_stringFromCharCode(32);
  62646. t2._contents += t3;
  62647. t3 = A.Primitives_stringFromCharCode(next);
  62648. t2._contents += t3;
  62649. if (t1.scanChar$1(61)) {
  62650. t3 = A.Primitives_stringFromCharCode(61);
  62651. t2._contents += t3;
  62652. }
  62653. t3 = A.Primitives_stringFromCharCode(32);
  62654. t2._contents += t3;
  62655. _this.whitespace$1$consumeNewlines(true);
  62656. expressionAfter = _this._expressionUntilComparison$0();
  62657. buffer.add$2(0, expressionAfter, expressionAfter.get$span(expressionAfter));
  62658. }
  62659. }
  62660. }
  62661. }
  62662. t1.expectChar$1(41);
  62663. _this.whitespace$1$consumeNewlines(false);
  62664. t1 = A.Primitives_stringFromCharCode(41);
  62665. t2._contents += t1;
  62666. },
  62667. _expressionUntilComparison$0() {
  62668. return this._expression$2$consumeNewlines$until(true, new A.StylesheetParser__expressionUntilComparison_closure(this));
  62669. },
  62670. _supportsCondition$1$inParentheses(inParentheses) {
  62671. var condition, operator, right, endPosition, t3, t4, lowerOperator, _this = this,
  62672. t1 = _this.scanner,
  62673. t2 = t1._string_scanner$_position;
  62674. if (_this.scanIdentifier$1("not")) {
  62675. _this.whitespace$1$consumeNewlines(inParentheses);
  62676. return new A.SupportsNegation(_this._supportsConditionInParens$0(), t1.spanFrom$1(new A._SpanScannerState(t1, t2)));
  62677. }
  62678. condition = _this._supportsConditionInParens$0();
  62679. _this.whitespace$1$consumeNewlines(inParentheses);
  62680. for (operator = null; _this.lookingAtIdentifier$0();) {
  62681. if (operator != null)
  62682. _this.expectIdentifier$1(operator);
  62683. else if (_this.scanIdentifier$1("or"))
  62684. operator = "or";
  62685. else {
  62686. _this.expectIdentifier$1("and");
  62687. operator = "and";
  62688. }
  62689. _this.whitespace$1$consumeNewlines(inParentheses);
  62690. right = _this._supportsConditionInParens$0();
  62691. endPosition = t1._string_scanner$_position;
  62692. t3 = t1._sourceFile;
  62693. t4 = new A._FileSpan(t3, t2, endPosition);
  62694. t4._FileSpan$3(t3, t2, endPosition);
  62695. condition = new A.SupportsOperation(condition, right, operator, t4);
  62696. lowerOperator = operator.toLowerCase();
  62697. if (lowerOperator !== "and" && lowerOperator !== "or")
  62698. A.throwExpression(A.ArgumentError$value(operator, "operator", 'may only be "and" or "or".'));
  62699. _this.whitespace$1$consumeNewlines(inParentheses);
  62700. }
  62701. return condition;
  62702. },
  62703. _supportsCondition$0() {
  62704. return this._supportsCondition$1$inParentheses(false);
  62705. },
  62706. _supportsConditionInParens$0() {
  62707. var $name, nameStart, wasInParentheses, identifier, _1_0, operation, contents, identifier0, t2, $arguments, _0_0, _0_4_isSet, _0_4, _0_40, condition, exception, value, _this = this,
  62708. t1 = _this.scanner,
  62709. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  62710. if (_this._lookingAtInterpolatedIdentifier$0()) {
  62711. identifier0 = _this.interpolatedIdentifier$0();
  62712. t2 = identifier0.get$asPlain();
  62713. if ((t2 == null ? null : t2.toLowerCase()) === "not")
  62714. _this.error$2(0, '"not" is not a valid identifier here.', identifier0.span);
  62715. if (t1.scanChar$1(40)) {
  62716. $arguments = _this._interpolatedDeclarationValue$3$allowEmpty$allowSemicolon$consumeNewlines(true, true, true);
  62717. t1.expectChar$1(41);
  62718. return new A.SupportsFunction(identifier0, $arguments, t1.spanFrom$1(start));
  62719. } else {
  62720. _0_0 = identifier0.contents;
  62721. _0_4_isSet = _0_0.length === 1;
  62722. if (_0_4_isSet) {
  62723. _0_4 = _0_0[0];
  62724. _0_40 = _0_4;
  62725. t2 = _0_4 instanceof A.Expression;
  62726. _0_4 = _0_40;
  62727. } else {
  62728. _0_4 = null;
  62729. t2 = false;
  62730. }
  62731. if (t2) {
  62732. t2 = _0_4_isSet ? _0_4 : _0_0[0];
  62733. return new A.SupportsInterpolation(type$.Expression._as(t2), t1.spanFrom$1(start));
  62734. } else
  62735. _this.error$2(0, "Expected @supports condition.", identifier0.span);
  62736. }
  62737. }
  62738. t1.expectChar$1(40);
  62739. _this.whitespace$1$consumeNewlines(true);
  62740. if (_this.scanIdentifier$1("not")) {
  62741. _this.whitespace$1$consumeNewlines(true);
  62742. condition = _this._supportsConditionInParens$0();
  62743. t1.expectChar$1(41);
  62744. return new A.SupportsNegation(condition, t1.spanFrom$1(start));
  62745. } else if (t1.peekChar$0() === 40) {
  62746. condition = _this._supportsCondition$1$inParentheses(true);
  62747. t1.expectChar$1(41);
  62748. return condition.withSpan$1(t1.spanFrom$1(start));
  62749. }
  62750. $name = null;
  62751. nameStart = new A._SpanScannerState(t1, t1._string_scanner$_position);
  62752. wasInParentheses = _this._inParentheses;
  62753. try {
  62754. $name = _this._expression$1$consumeNewlines(true);
  62755. t1.expectChar$1(58);
  62756. } catch (exception) {
  62757. if (type$.FormatException._is(A.unwrapException(exception))) {
  62758. t1.set$state(nameStart);
  62759. _this._inParentheses = wasInParentheses;
  62760. identifier = _this.interpolatedIdentifier$0();
  62761. _1_0 = _this._trySupportsOperation$2(identifier, nameStart);
  62762. operation = null;
  62763. if (_1_0 != null) {
  62764. operation = _1_0;
  62765. t1.expectChar$1(41);
  62766. t2 = operation;
  62767. t1 = t1.spanFrom$1(start);
  62768. return A.SupportsOperation$(t2.left, t2.right, t2.operator, t1);
  62769. }
  62770. t2 = new A.InterpolationBuffer(new A.StringBuffer(""), A._setArrayType([], type$.JSArray_Object), A._setArrayType([], type$.JSArray_nullable_FileSpan));
  62771. t2.addInterpolation$1(identifier);
  62772. t2.addInterpolation$1(_this._interpolatedDeclarationValue$4$allowColon$allowEmpty$allowSemicolon$consumeNewlines(false, true, true, true));
  62773. contents = t2.interpolation$1(t1.spanFrom$1(nameStart));
  62774. if (t1.peekChar$0() === 58)
  62775. throw exception;
  62776. t1.expectChar$1(41);
  62777. return new A.SupportsAnything(contents, t1.spanFrom$1(start));
  62778. } else
  62779. throw exception;
  62780. }
  62781. value = _this._supportsDeclarationValue$1($name);
  62782. t1.expectChar$1(41);
  62783. return new A.SupportsDeclaration($name, value, t1.spanFrom$1(start));
  62784. },
  62785. _supportsDeclarationValue$1($name) {
  62786. var t1 = false;
  62787. if ($name instanceof A.StringExpression)
  62788. if (!$name.hasQuotes)
  62789. t1 = B.JSString_methods.startsWith$1($name.text.get$initialPlain(), "--");
  62790. if (t1)
  62791. return new A.StringExpression(this._interpolatedDeclarationValue$0(), false);
  62792. else {
  62793. this.whitespace$1$consumeNewlines(true);
  62794. return this._expression$1$consumeNewlines(true);
  62795. }
  62796. },
  62797. _trySupportsOperation$2(interpolation, start) {
  62798. var expression, beforeWhitespace, t2, t3, operator, operation, right, t4, endPosition, t5, t6, lowerOperator, _this = this, _null = null,
  62799. t1 = interpolation.contents;
  62800. if (t1.length !== 1)
  62801. return _null;
  62802. expression = B.JSArray_methods.get$first(t1);
  62803. if (!(expression instanceof A.Expression))
  62804. return _null;
  62805. t1 = _this.scanner;
  62806. beforeWhitespace = new A._SpanScannerState(t1, t1._string_scanner$_position);
  62807. _this.whitespace$1$consumeNewlines(true);
  62808. for (t2 = start.position, t3 = interpolation.span, operator = _null, operation = operator; _this.lookingAtIdentifier$0();) {
  62809. if (operator != null)
  62810. _this.expectIdentifier$1(operator);
  62811. else if (_this.scanIdentifier$1("and"))
  62812. operator = "and";
  62813. else {
  62814. if (!_this.scanIdentifier$1("or")) {
  62815. if (beforeWhitespace._scanner !== t1)
  62816. A.throwExpression(A.ArgumentError$(string$.The_gi, _null));
  62817. t2 = beforeWhitespace.position;
  62818. if ((t2 === 0 ? 1 / t2 < 0 : t2 < 0) || t2 > t1.string.length)
  62819. A.throwExpression(A.ArgumentError$("Invalid position " + t2, _null));
  62820. t1._string_scanner$_position = t2;
  62821. return t1._lastMatch = null;
  62822. }
  62823. operator = "or";
  62824. }
  62825. _this.whitespace$1$consumeNewlines(true);
  62826. right = _this._supportsConditionInParens$0();
  62827. t4 = operation == null ? new A.SupportsInterpolation(expression, t3) : operation;
  62828. endPosition = t1._string_scanner$_position;
  62829. t5 = t1._sourceFile;
  62830. t6 = new A._FileSpan(t5, t2, endPosition);
  62831. t6._FileSpan$3(t5, t2, endPosition);
  62832. operation = new A.SupportsOperation(t4, right, operator, t6);
  62833. lowerOperator = operator.toLowerCase();
  62834. if (lowerOperator !== "and" && lowerOperator !== "or")
  62835. A.throwExpression(A.ArgumentError$value(operator, "operator", 'may only be "and" or "or".'));
  62836. _this.whitespace$1$consumeNewlines(true);
  62837. }
  62838. return operation;
  62839. },
  62840. _lookingAtInterpolatedIdentifier$0() {
  62841. var t2, _0_0,
  62842. t1 = this.scanner,
  62843. _1_0 = t1.peekChar$0();
  62844. $label0$0: {
  62845. t2 = false;
  62846. if (_1_0 == null) {
  62847. t1 = t2;
  62848. break $label0$0;
  62849. }
  62850. if (_1_0 === 95 || A.CharacterExtension_get_isAlphabetic(_1_0) || _1_0 >= 128 || 92 === _1_0) {
  62851. t1 = true;
  62852. break $label0$0;
  62853. }
  62854. if (35 === _1_0) {
  62855. t1 = t1.peekChar$1(1) === 123;
  62856. break $label0$0;
  62857. }
  62858. if (45 === _1_0) {
  62859. _0_0 = t1.peekChar$1(1);
  62860. $label1$1: {
  62861. if (_0_0 == null) {
  62862. t1 = t2;
  62863. break $label1$1;
  62864. }
  62865. if (35 === _0_0) {
  62866. t1 = t1.peekChar$1(2) === 123;
  62867. break $label1$1;
  62868. }
  62869. if (_0_0 === 95 || A.CharacterExtension_get_isAlphabetic(_0_0) || _0_0 >= 128 || 92 === _0_0 || 45 === _0_0) {
  62870. t1 = true;
  62871. break $label1$1;
  62872. }
  62873. t1 = t2;
  62874. break $label1$1;
  62875. }
  62876. break $label0$0;
  62877. }
  62878. t1 = t2;
  62879. break $label0$0;
  62880. }
  62881. return t1;
  62882. },
  62883. _lookingAtPotentialPropertyHack$0() {
  62884. var t1 = this.scanner,
  62885. _0_0 = t1.peekChar$0();
  62886. $label0$0: {
  62887. if (58 === _0_0 || 42 === _0_0 || 46 === _0_0) {
  62888. t1 = true;
  62889. break $label0$0;
  62890. }
  62891. if (35 === _0_0) {
  62892. t1 = t1.peekChar$1(1) !== 123;
  62893. break $label0$0;
  62894. }
  62895. t1 = false;
  62896. break $label0$0;
  62897. }
  62898. return t1;
  62899. },
  62900. _lookingAtInterpolatedIdentifierBody$0() {
  62901. var t2, t3,
  62902. t1 = this.scanner,
  62903. _0_0 = t1.peekChar$0();
  62904. $label0$0: {
  62905. t2 = false;
  62906. if (_0_0 == null) {
  62907. t1 = t2;
  62908. break $label0$0;
  62909. }
  62910. if (!(_0_0 === 95 || A.CharacterExtension_get_isAlphabetic(_0_0) || _0_0 >= 128))
  62911. t3 = _0_0 >= 48 && _0_0 <= 57 || _0_0 === 45;
  62912. else
  62913. t3 = true;
  62914. if (t3 || 92 === _0_0) {
  62915. t1 = true;
  62916. break $label0$0;
  62917. }
  62918. if (35 === _0_0) {
  62919. t1 = t1.peekChar$1(1) === 123;
  62920. break $label0$0;
  62921. }
  62922. t1 = t2;
  62923. break $label0$0;
  62924. }
  62925. return t1;
  62926. },
  62927. _lookingAtExpression$0() {
  62928. var t2, _0_0,
  62929. t1 = this.scanner,
  62930. _1_0 = t1.peekChar$0();
  62931. $label0$0: {
  62932. t2 = true;
  62933. if (_1_0 == null) {
  62934. t1 = false;
  62935. break $label0$0;
  62936. }
  62937. if (46 === _1_0) {
  62938. t1 = t1.peekChar$1(1) !== 46;
  62939. break $label0$0;
  62940. }
  62941. if (33 === _1_0) {
  62942. _0_0 = t1.peekChar$1(1);
  62943. $label1$1: {
  62944. if (_0_0 != null)
  62945. if (105 !== _0_0)
  62946. if (73 !== _0_0)
  62947. t1 = _0_0 === 32 || _0_0 === 9 || _0_0 === 10 || _0_0 === 13 || _0_0 === 12;
  62948. else
  62949. t1 = t2;
  62950. else
  62951. t1 = t2;
  62952. else
  62953. t1 = t2;
  62954. break $label1$1;
  62955. }
  62956. break $label0$0;
  62957. }
  62958. t1 = true;
  62959. if (40 !== _1_0)
  62960. if (47 !== _1_0)
  62961. if (91 !== _1_0)
  62962. if (39 !== _1_0)
  62963. if (34 !== _1_0)
  62964. if (35 !== _1_0)
  62965. if (43 !== _1_0)
  62966. if (45 !== _1_0)
  62967. if (92 !== _1_0)
  62968. if (36 !== _1_0)
  62969. if (38 !== _1_0)
  62970. if (37 !== _1_0)
  62971. if (!(_1_0 === 95 || A.CharacterExtension_get_isAlphabetic(_1_0) || _1_0 >= 128))
  62972. t1 = _1_0 >= 48 && _1_0 <= 57;
  62973. if (t1) {
  62974. t1 = t2;
  62975. break $label0$0;
  62976. }
  62977. t1 = false;
  62978. break $label0$0;
  62979. }
  62980. return t1;
  62981. },
  62982. _withChildren$1$3(child, start, create) {
  62983. var result = create.call$2(this.children$1(0, child), this.scanner.spanFrom$1(start));
  62984. this.whitespaceWithoutComments$1$consumeNewlines(false);
  62985. return result;
  62986. },
  62987. _withChildren$3(child, start, create) {
  62988. child.toString;
  62989. create.toString;
  62990. return this._withChildren$1$3(child, start, create, type$.dynamic);
  62991. },
  62992. _urlString$0() {
  62993. var innerError, stackTrace, t2, exception,
  62994. t1 = this.scanner,
  62995. start = new A._SpanScannerState(t1, t1._string_scanner$_position),
  62996. url = this.string$0();
  62997. try {
  62998. t2 = A.Uri_parse(url);
  62999. return t2;
  63000. } catch (exception) {
  63001. t2 = A.unwrapException(exception);
  63002. if (type$.FormatException._is(t2)) {
  63003. innerError = t2;
  63004. stackTrace = A.getTraceFromException(exception);
  63005. this.error$3(0, "Invalid URL: " + J.get$message$x(innerError), t1.spanFrom$1(start), stackTrace);
  63006. } else
  63007. throw exception;
  63008. }
  63009. },
  63010. _publicIdentifier$0() {
  63011. var _this = this,
  63012. t1 = _this.scanner,
  63013. t2 = t1._string_scanner$_position,
  63014. result = _this.identifier$0();
  63015. _this._assertPublic$2(result, new A.StylesheetParser__publicIdentifier_closure(_this, new A._SpanScannerState(t1, t2)));
  63016. return result;
  63017. },
  63018. _assertPublic$2(identifier, span) {
  63019. var first = identifier.charCodeAt(0);
  63020. if (!(first === 45 || first === 95))
  63021. return;
  63022. this.error$2(0, string$.Privat, span.call$0());
  63023. },
  63024. _addOrInject$2(buffer, expression) {
  63025. if (expression instanceof A.StringExpression && !expression.hasQuotes)
  63026. buffer.addInterpolation$1(expression.text);
  63027. else
  63028. buffer.add$2(0, expression, expression.get$span(expression));
  63029. },
  63030. get$plainCss() {
  63031. return false;
  63032. }
  63033. };
  63034. A.StylesheetParser_parse_closure.prototype = {
  63035. call$0() {
  63036. var statements,
  63037. t1 = this.$this,
  63038. t2 = t1.scanner,
  63039. t3 = t2._string_scanner$_position;
  63040. t2.scanChar$1(65279);
  63041. statements = t1.statements$1(new A.StylesheetParser_parse__closure(t1));
  63042. t2.expectDone$0();
  63043. return A.Stylesheet$internal(statements, t2.spanFrom$1(new A._SpanScannerState(t2, t3)), t1.warnings, t1._globalVariables, t1.get$plainCss());
  63044. },
  63045. $signature: 538
  63046. };
  63047. A.StylesheetParser_parse__closure.prototype = {
  63048. call$0() {
  63049. var t1 = this.$this;
  63050. if (t1.scanner.scan$1("@charset")) {
  63051. t1.whitespace$1$consumeNewlines(false);
  63052. t1.string$0();
  63053. return null;
  63054. }
  63055. return t1._statement$1$root(true);
  63056. },
  63057. $signature: 539
  63058. };
  63059. A.StylesheetParser_parseParameterList_closure.prototype = {
  63060. call$0() {
  63061. var parameters,
  63062. t1 = this.$this,
  63063. t2 = t1.scanner;
  63064. t2.expectChar$2$name(64, "@-rule");
  63065. t1.identifier$0();
  63066. t1.whitespace$1$consumeNewlines(true);
  63067. t1.identifier$0();
  63068. parameters = t1._parameterList$0();
  63069. t1.whitespace$1$consumeNewlines(true);
  63070. t2.expectChar$1(123);
  63071. return parameters;
  63072. },
  63073. $signature: 540
  63074. };
  63075. A.StylesheetParser_parseVariableDeclaration_closure.prototype = {
  63076. call$0() {
  63077. var t1 = this.$this;
  63078. return t1.lookingAtIdentifier$0() ? t1._variableDeclarationWithNamespace$0() : t1.variableDeclarationWithoutNamespace$0();
  63079. },
  63080. $signature: 542
  63081. };
  63082. A.StylesheetParser_parseUseRule_closure.prototype = {
  63083. call$0() {
  63084. var t1 = this.$this,
  63085. t2 = t1.scanner,
  63086. t3 = t2._string_scanner$_position;
  63087. t2.expectChar$2$name(64, "@-rule");
  63088. t1.expectIdentifier$1("use");
  63089. t1.whitespace$1$consumeNewlines(true);
  63090. return t1._useRule$1(new A._SpanScannerState(t2, t3));
  63091. },
  63092. $signature: 565
  63093. };
  63094. A.StylesheetParser__parseSingleProduction_closure.prototype = {
  63095. call$0() {
  63096. var result = this.production.call$0();
  63097. this.$this.scanner.expectDone$0();
  63098. return result;
  63099. },
  63100. $signature() {
  63101. return this.T._eval$1("0()");
  63102. }
  63103. };
  63104. A.StylesheetParser__statement_closure.prototype = {
  63105. call$0() {
  63106. return this.$this._statement$0();
  63107. },
  63108. $signature: 121
  63109. };
  63110. A.StylesheetParser_variableDeclarationWithoutNamespace_closure.prototype = {
  63111. call$0() {
  63112. return this.$this.scanner.spanFrom$1(this.start);
  63113. },
  63114. $signature: 29
  63115. };
  63116. A.StylesheetParser_variableDeclarationWithoutNamespace_closure0.prototype = {
  63117. call$0() {
  63118. return this.declaration.span;
  63119. },
  63120. $signature: 29
  63121. };
  63122. A.StylesheetParser__declarationOrBuffer_closure.prototype = {
  63123. call$0() {
  63124. return this.$this.whitespace$1$consumeNewlines(false);
  63125. },
  63126. $signature: 0
  63127. };
  63128. A.StylesheetParser__declarationOrBuffer_closure0.prototype = {
  63129. call$0() {
  63130. return this.$this.whitespace$1$consumeNewlines(false);
  63131. },
  63132. $signature: 0
  63133. };
  63134. A.StylesheetParser__declarationOrBuffer_closure1.prototype = {
  63135. call$0() {
  63136. return this.$this.whitespace$1$consumeNewlines(false);
  63137. },
  63138. $signature: 0
  63139. };
  63140. A.StylesheetParser__styleRule_closure.prototype = {
  63141. call$2(children, span) {
  63142. var _this = this,
  63143. t1 = _this.$this;
  63144. if (t1.get$indented() && children.length === 0)
  63145. t1.warnings.push(new A._Record_3_deprecation_message_span(null, string$.This_s, _this._box_0.interpolation.span));
  63146. t1._inStyleRule = _this.wasInStyleRule;
  63147. return A.StyleRule$(_this._box_0.interpolation, children, t1.scanner.spanFrom$1(_this.start));
  63148. },
  63149. $signature: 604
  63150. };
  63151. A.StylesheetParser__propertyOrVariableDeclaration_closure.prototype = {
  63152. call$0() {
  63153. return this.$this.whitespace$1$consumeNewlines(false);
  63154. },
  63155. $signature: 0
  63156. };
  63157. A.StylesheetParser__tryDeclarationChildren_closure.prototype = {
  63158. call$2(children, span) {
  63159. return A.Declaration$nested(this.name, children, span, this.value);
  63160. },
  63161. $signature: 274
  63162. };
  63163. A.StylesheetParser__atRootRule_closure.prototype = {
  63164. call$2(children, span) {
  63165. return A.AtRootRule$(children, span, this.query);
  63166. },
  63167. $signature: 160
  63168. };
  63169. A.StylesheetParser__atRootRule_closure0.prototype = {
  63170. call$2(children, span) {
  63171. return A.AtRootRule$(children, span, null);
  63172. },
  63173. $signature: 160
  63174. };
  63175. A.StylesheetParser__eachRule_closure.prototype = {
  63176. call$2(children, span) {
  63177. var _this = this;
  63178. _this.$this._inControlDirective = _this.wasInControlDirective;
  63179. return A.EachRule$(_this.variables, _this.list, children, span);
  63180. },
  63181. $signature: 293
  63182. };
  63183. A.StylesheetParser__functionRule_closure.prototype = {
  63184. call$2(children, span) {
  63185. return A.FunctionRule$(this.name, this.parameters, children, span, this.precedingComment);
  63186. },
  63187. $signature: 295
  63188. };
  63189. A.StylesheetParser__forRule_closure.prototype = {
  63190. call$0() {
  63191. var t1 = this.$this;
  63192. if (!t1.lookingAtIdentifier$0())
  63193. return false;
  63194. if (t1.scanIdentifier$1("to"))
  63195. return this._box_0.exclusive = true;
  63196. else if (t1.scanIdentifier$1("through")) {
  63197. this._box_0.exclusive = false;
  63198. return true;
  63199. } else
  63200. return false;
  63201. },
  63202. $signature: 19
  63203. };
  63204. A.StylesheetParser__forRule_closure0.prototype = {
  63205. call$2(children, span) {
  63206. var t1, _this = this;
  63207. _this.$this._inControlDirective = _this.wasInControlDirective;
  63208. t1 = _this._box_0.exclusive;
  63209. t1.toString;
  63210. return A.ForRule$(_this.variable, _this.from, _this.to, children, span, t1);
  63211. },
  63212. $signature: 296
  63213. };
  63214. A.StylesheetParser__memberList_closure.prototype = {
  63215. call$0() {
  63216. var t1 = this.$this;
  63217. if (t1.scanner.peekChar$0() === 36)
  63218. this.variables.add$1(0, t1.variableName$0());
  63219. else
  63220. this.identifiers.add$1(0, t1.identifier$1$normalize(true));
  63221. },
  63222. $signature: 1
  63223. };
  63224. A.StylesheetParser__includeRule_closure.prototype = {
  63225. call$2(children, span) {
  63226. return A.ContentBlock$(this.contentParameters_, children, span);
  63227. },
  63228. $signature: 298
  63229. };
  63230. A.StylesheetParser_mediaRule_closure.prototype = {
  63231. call$2(children, span) {
  63232. return A.MediaRule$(this.query, children, span);
  63233. },
  63234. $signature: 299
  63235. };
  63236. A.StylesheetParser__mixinRule_closure.prototype = {
  63237. call$2(children, span) {
  63238. var _this = this;
  63239. _this.$this._stylesheet$_inMixin = false;
  63240. return A.MixinRule$(_this.name, _this.parameters, children, span, _this.precedingComment);
  63241. },
  63242. $signature: 301
  63243. };
  63244. A.StylesheetParser_mozDocumentRule_closure.prototype = {
  63245. call$0() {
  63246. return this.$this.whitespace$1$consumeNewlines(false);
  63247. },
  63248. $signature: 0
  63249. };
  63250. A.StylesheetParser_mozDocumentRule_closure0.prototype = {
  63251. call$2(children, span) {
  63252. var _this = this;
  63253. if (_this._box_0.needsDeprecationWarning)
  63254. _this.$this.warnings.push(new A._Record_3_deprecation_message_span(B.Deprecation_89v, string$.x40_moz_, span));
  63255. return A.AtRule$(_this.name, span, children, _this.value);
  63256. },
  63257. $signature: 161
  63258. };
  63259. A.StylesheetParser_supportsRule_closure.prototype = {
  63260. call$2(children, span) {
  63261. return A.SupportsRule$(this.condition, children, span);
  63262. },
  63263. $signature: 307
  63264. };
  63265. A.StylesheetParser__whileRule_closure.prototype = {
  63266. call$2(children, span) {
  63267. this.$this._inControlDirective = this.wasInControlDirective;
  63268. return A.WhileRule$(this.condition, children, span);
  63269. },
  63270. $signature: 312
  63271. };
  63272. A.StylesheetParser_unknownAtRule_closure.prototype = {
  63273. call$2(children, span) {
  63274. return A.AtRule$(this.name, span, children, this._box_0.value);
  63275. },
  63276. $signature: 161
  63277. };
  63278. A.StylesheetParser__expression_resetState.prototype = {
  63279. call$0() {
  63280. var t2,
  63281. t1 = this._box_0;
  63282. t1.operands_ = t1.operators_ = t1.spaceExpressions_ = t1.commaExpressions_ = null;
  63283. t2 = this.$this;
  63284. t2.scanner.set$state(this.start);
  63285. t1.allowSlash = true;
  63286. t1.singleExpression_ = t2._singleExpression$0();
  63287. },
  63288. $signature: 0
  63289. };
  63290. A.StylesheetParser__expression_resolveOneOperation.prototype = {
  63291. call$0() {
  63292. var t2, t3, t4, t5, t6, t7, _this = this,
  63293. t1 = _this._box_0,
  63294. operator = t1.operators_.pop(),
  63295. left = t1.operands_.pop(),
  63296. right = t1.singleExpression_;
  63297. if (right == null) {
  63298. t2 = _this.$this.scanner;
  63299. t3 = operator.operator.length;
  63300. t2.error$3$length$position(0, "Expected expression.", t3, t2._string_scanner$_position - t3);
  63301. }
  63302. if (t1.allowSlash) {
  63303. t2 = _this.$this;
  63304. t2 = !t2._inParentheses && operator === B.BinaryOperator_Mh5 && t2._isSlashOperand$1(left) && t2._isSlashOperand$1(right);
  63305. } else
  63306. t2 = false;
  63307. if (t2)
  63308. t1.singleExpression_ = new A.BinaryOperationExpression(B.BinaryOperator_Mh5, left, right, true);
  63309. else {
  63310. t1.singleExpression_ = new A.BinaryOperationExpression(operator, left, right, false);
  63311. t2 = t1.allowSlash = false;
  63312. if (B.BinaryOperator_Swh === operator || B.BinaryOperator_QG1 === operator) {
  63313. t3 = _this.$this;
  63314. t4 = t3.scanner.string;
  63315. t5 = right.get$span(right);
  63316. t5 = t5.get$start(t5);
  63317. t6 = right.get$span(right);
  63318. t7 = operator.operator;
  63319. if (B.JSString_methods.substring$2(t4, t5.offset - 1, t6.get$start(t6).offset) === t7) {
  63320. t2 = left.get$span(left);
  63321. t2 = t4.charCodeAt(t2.get$end(t2).offset);
  63322. t2 = t2 === 32 || t2 === 9 || t2 === 10 || t2 === 13 || t2 === 12;
  63323. }
  63324. if (t2) {
  63325. t2 = left.toString$0(0);
  63326. t4 = right.toString$0(0);
  63327. t5 = left.toString$0(0);
  63328. t6 = right.toString$0(0);
  63329. t1 = t1.singleExpression_;
  63330. t3.warnings.push(new A._Record_3_deprecation_message_span(B.Deprecation_t60, "This operation is parsed as:\n\n " + t2 + " " + t7 + " " + t4 + string$.x0a_but_ + t5 + " (" + t7 + t6 + ")\n\nAdd a space after " + t7 + string$.x20to_cl, t1.get$span(t1)));
  63331. }
  63332. }
  63333. }
  63334. },
  63335. $signature: 0
  63336. };
  63337. A.StylesheetParser__expression_resolveOperations.prototype = {
  63338. call$0() {
  63339. var t1,
  63340. operators = this._box_0.operators_;
  63341. if (operators == null)
  63342. return;
  63343. for (t1 = this.resolveOneOperation; operators.length !== 0;)
  63344. t1.call$0();
  63345. },
  63346. $signature: 0
  63347. };
  63348. A.StylesheetParser__expression_addSingleExpression.prototype = {
  63349. call$1(expression) {
  63350. var t2, spaceExpressions, _this = this,
  63351. t1 = _this._box_0;
  63352. if (t1.singleExpression_ != null) {
  63353. t2 = _this.$this;
  63354. if (t2._inParentheses) {
  63355. t2._inParentheses = false;
  63356. if (t1.allowSlash) {
  63357. _this.resetState.call$0();
  63358. return;
  63359. }
  63360. }
  63361. spaceExpressions = t1.spaceExpressions_;
  63362. if (spaceExpressions == null)
  63363. spaceExpressions = t1.spaceExpressions_ = A._setArrayType([], type$.JSArray_Expression);
  63364. _this.resolveOperations.call$0();
  63365. t2 = t1.singleExpression_;
  63366. t2.toString;
  63367. spaceExpressions.push(t2);
  63368. t1.allowSlash = true;
  63369. }
  63370. t1.singleExpression_ = expression;
  63371. },
  63372. $signature: 313
  63373. };
  63374. A.StylesheetParser__expression_addOperator.prototype = {
  63375. call$1(operator) {
  63376. var t2, t3, operators, operands, t4, singleExpression, _this = this,
  63377. t1 = _this.$this;
  63378. if (t1.get$plainCss() && operator !== B.BinaryOperator_Kyq && operator !== B.BinaryOperator_Swh && operator !== B.BinaryOperator_QG1 && operator !== B.BinaryOperator_tht && operator !== B.BinaryOperator_Mh5) {
  63379. t2 = t1.scanner;
  63380. t3 = operator.operator.length;
  63381. t2.error$3$length$position(0, "Operators aren't allowed in plain CSS.", t3, t2._string_scanner$_position - t3);
  63382. }
  63383. t2 = _this._box_0;
  63384. t2.allowSlash = t2.allowSlash && operator === B.BinaryOperator_Mh5;
  63385. operators = t2.operators_;
  63386. if (operators == null)
  63387. operators = t2.operators_ = A._setArrayType([], type$.JSArray_BinaryOperator);
  63388. operands = t2.operands_;
  63389. if (operands == null)
  63390. operands = t2.operands_ = A._setArrayType([], type$.JSArray_Expression);
  63391. t3 = _this.resolveOneOperation;
  63392. t4 = operator.precedence;
  63393. while (true) {
  63394. if (!(operators.length !== 0 && B.JSArray_methods.get$last(operators).precedence >= t4))
  63395. break;
  63396. t3.call$0();
  63397. }
  63398. singleExpression = t2.singleExpression_;
  63399. if (singleExpression == null) {
  63400. t3 = t1.scanner;
  63401. t4 = operator.operator.length;
  63402. t3.error$3$length$position(0, "Expected expression.", t4, t3._string_scanner$_position - t4);
  63403. }
  63404. t1.whitespace$1$consumeNewlines(true);
  63405. if (operator === B.BinaryOperator_s7T && !t1._lookingAtExpression$0()) {
  63406. t1 = t1.scanner;
  63407. t1 = t1.spanFromPosition$1(t1._string_scanner$_position - 1);
  63408. _this.addSingleExpression.call$1(new A.StringExpression(new A.Interpolation(A.List_List$unmodifiable(["%"], type$.Object), B.List_null, t1), false));
  63409. } else {
  63410. operators.push(operator);
  63411. operands.push(singleExpression);
  63412. t2.singleExpression_ = t1._singleExpression$0();
  63413. }
  63414. },
  63415. $signature: 316
  63416. };
  63417. A.StylesheetParser__expression_resolveSpaceExpressions.prototype = {
  63418. call$0() {
  63419. var t1, spaceExpressions, singleExpression, t2;
  63420. this.resolveOperations.call$0();
  63421. t1 = this._box_0;
  63422. spaceExpressions = t1.spaceExpressions_;
  63423. if (spaceExpressions == null)
  63424. return;
  63425. singleExpression = t1.singleExpression_;
  63426. if (singleExpression == null)
  63427. this.$this.scanner.error$1(0, "Expected expression.");
  63428. spaceExpressions.push(singleExpression);
  63429. t2 = B.JSArray_methods.get$first(spaceExpressions);
  63430. t2 = t2.get$span(t2).expand$1(0, singleExpression.get$span(singleExpression));
  63431. t1.singleExpression_ = new A.ListExpression(A.List_List$unmodifiable(spaceExpressions, type$.Expression), B.ListSeparator_qSL, false, t2);
  63432. t1.spaceExpressions_ = null;
  63433. },
  63434. $signature: 0
  63435. };
  63436. A.StylesheetParser_expressionUntilComma_closure.prototype = {
  63437. call$0() {
  63438. return this.$this.scanner.peekChar$0() === 44;
  63439. },
  63440. $signature: 19
  63441. };
  63442. A.StylesheetParser__isHexColor_closure.prototype = {
  63443. call$1(char) {
  63444. return A.CharacterExtension_get_isHex(char);
  63445. },
  63446. $signature: 47
  63447. };
  63448. A.StylesheetParser__unicodeRange_closure.prototype = {
  63449. call$1(char) {
  63450. return char != null && A.CharacterExtension_get_isHex(char);
  63451. },
  63452. $signature: 30
  63453. };
  63454. A.StylesheetParser__unicodeRange_closure0.prototype = {
  63455. call$1(char) {
  63456. return char != null && A.CharacterExtension_get_isHex(char);
  63457. },
  63458. $signature: 30
  63459. };
  63460. A.StylesheetParser_namespacedExpression_closure.prototype = {
  63461. call$0() {
  63462. return this.$this.scanner.spanFrom$1(this.start);
  63463. },
  63464. $signature: 29
  63465. };
  63466. A.StylesheetParser_trySpecialFunction_closure.prototype = {
  63467. call$1(contents) {
  63468. return new A.StringExpression(contents, false);
  63469. },
  63470. $signature: 319
  63471. };
  63472. A.StylesheetParser__expressionUntilComparison_closure.prototype = {
  63473. call$0() {
  63474. var t1 = this.$this.scanner,
  63475. _0_0 = t1.peekChar$0();
  63476. $label0$0: {
  63477. if (61 === _0_0) {
  63478. t1 = t1.peekChar$1(1) !== 61;
  63479. break $label0$0;
  63480. }
  63481. if (60 === _0_0 || 62 === _0_0) {
  63482. t1 = true;
  63483. break $label0$0;
  63484. }
  63485. t1 = false;
  63486. break $label0$0;
  63487. }
  63488. return t1;
  63489. },
  63490. $signature: 19
  63491. };
  63492. A.StylesheetParser__publicIdentifier_closure.prototype = {
  63493. call$0() {
  63494. return this.$this.scanner.spanFrom$1(this.start);
  63495. },
  63496. $signature: 29
  63497. };
  63498. A.StylesheetGraph.prototype = {
  63499. modifiedSince$3(url, since, baseImporter) {
  63500. var node = this._stylesheet_graph$_add$3(url, baseImporter, null);
  63501. if (node == null)
  63502. return true;
  63503. return new A.StylesheetGraph_modifiedSince_transitiveModificationTime(this).call$1(node).isAfter$1(since);
  63504. },
  63505. _stylesheet_graph$_add$3(url, baseImporter, baseUrl) {
  63506. var importer, canonicalUrl, _this = this,
  63507. result = _this._ignoreErrors$1(new A.StylesheetGraph__add_closure(_this, url, baseImporter, baseUrl));
  63508. if (type$.Record_3_nullable_Object_and_nullable_Object_and_nullable_Object_originalUrl._is(result)) {
  63509. importer = result._0;
  63510. canonicalUrl = result._1;
  63511. _this.addCanonical$3(importer, canonicalUrl, result._2);
  63512. return _this._nodes.$index(0, canonicalUrl);
  63513. } else
  63514. return null;
  63515. },
  63516. addCanonical$4$recanonicalize(importer, canonicalUrl, originalUrl, recanonicalize) {
  63517. var stylesheet, _this = this,
  63518. t1 = _this._nodes;
  63519. if (t1.$index(0, canonicalUrl) != null)
  63520. return B.Set_empty3;
  63521. stylesheet = _this._ignoreErrors$1(new A.StylesheetGraph_addCanonical_closure(_this, importer, canonicalUrl, originalUrl));
  63522. if (stylesheet == null)
  63523. return B.Set_empty3;
  63524. t1.$indexSet(0, canonicalUrl, A.StylesheetNode$_(stylesheet, importer, canonicalUrl, _this._upstreamNodes$3(stylesheet, importer, canonicalUrl)));
  63525. return recanonicalize ? _this._recanonicalizeImports$2(importer, canonicalUrl) : B.Set_empty3;
  63526. },
  63527. addCanonical$3(importer, canonicalUrl, originalUrl) {
  63528. return this.addCanonical$4$recanonicalize(importer, canonicalUrl, originalUrl, true);
  63529. },
  63530. _upstreamNodes$3(stylesheet, baseImporter, baseUrl) {
  63531. var t6, t7, t8, t9, t10,
  63532. t1 = type$.Uri,
  63533. active = A.LinkedHashSet_LinkedHashSet$_literal([baseUrl], t1),
  63534. t2 = A.LinkedHashSet_LinkedHashSet$_empty(t1),
  63535. t3 = A.LinkedHashSet_LinkedHashSet$_empty(t1),
  63536. t4 = A.LinkedHashSet_LinkedHashSet$_empty(t1),
  63537. t5 = A.LinkedHashSet_LinkedHashSet$_empty(t1);
  63538. new A._FindDependenciesVisitor(t2, t3, t4, t5, A.LinkedHashSet_LinkedHashSet$_empty(type$.nullable_String)).visitChildren$1(stylesheet.children);
  63539. t6 = type$.UnmodifiableSetView_Uri;
  63540. t2 = new A.UnmodifiableSetView0(t2, t6);
  63541. t3 = new A.UnmodifiableSetView0(t3, t6);
  63542. t4 = new A.UnmodifiableSetView0(t4, t6);
  63543. t7 = type$.nullable_StylesheetNode;
  63544. t8 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t7);
  63545. for (t9 = new A.UnionSet(A.LinkedHashSet_LinkedHashSet$_literal([t2, t3, t4], type$.Set_Uri), type$.UnionSet_Uri).get$_union_set$_iterable(), t9 = t9.get$iterator(t9); t9.moveNext$0();) {
  63546. t10 = t9.get$current(t9);
  63547. t8.$indexSet(0, t10, this._nodeFor$4(t10, baseImporter, baseUrl, active));
  63548. }
  63549. t1 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t7);
  63550. for (t2 = new A.DependencyReport(t2, t3, t4, new A.UnmodifiableSetView0(t5, t6)).imports._base.get$iterator(0); t2.moveNext$0();) {
  63551. t3 = t2.get$current(0);
  63552. t1.$indexSet(0, t3, this._nodeFor$5$forImport(t3, baseImporter, baseUrl, active, true));
  63553. }
  63554. return new A._Record_2_imports_modules(t1, t8);
  63555. },
  63556. reload$1(canonicalUrl) {
  63557. var stylesheet, upstream, _this = this,
  63558. node = _this._nodes.$index(0, canonicalUrl);
  63559. if (node == null)
  63560. throw A.wrapException(A.StateError$(canonicalUrl.toString$0(0) + " is not in the dependency graph."));
  63561. _this._transitiveModificationTimes.clear$0(0);
  63562. _this.importCache.clearImport$1(canonicalUrl);
  63563. stylesheet = _this._ignoreErrors$1(new A.StylesheetGraph_reload_closure(_this, node, canonicalUrl));
  63564. if (stylesheet == null)
  63565. return false;
  63566. node._stylesheet = stylesheet;
  63567. upstream = _this._upstreamNodes$3(stylesheet, node.importer, canonicalUrl);
  63568. node._replaceUpstream$2(upstream._1, upstream._0);
  63569. return true;
  63570. },
  63571. reloadAllModified$0() {
  63572. var node, modified, loadTime, t2, t3, _i, t4, t5, t6, t7, modified0, exception, _this = this,
  63573. t1 = _this._nodes;
  63574. t1 = A.List_List$_of(new A.LinkedHashMapValuesIterable(t1, A._instanceType(t1)._eval$1("LinkedHashMapValuesIterable<2>")), type$.StylesheetNode);
  63575. t2 = t1.length;
  63576. t3 = _this.importCache._loadTimes;
  63577. _i = 0;
  63578. for (; _i < t1.length; t1.length === t2 || (0, A.throwConcurrentModificationError)(t1), ++_i) {
  63579. node = t1[_i];
  63580. modified = false;
  63581. try {
  63582. loadTime = t3.$index(0, node.canonicalUrl);
  63583. if (loadTime != null) {
  63584. t4 = node.importer.modificationTime$1(node.canonicalUrl);
  63585. t5 = loadTime;
  63586. t6 = t4._value;
  63587. t7 = t5._value;
  63588. if (t6 <= t7) {
  63589. t4 = t6 === t7 && t4._microsecond > t5._microsecond;
  63590. modified0 = t4;
  63591. } else
  63592. modified0 = true;
  63593. } else
  63594. modified0 = false;
  63595. modified = modified0;
  63596. } catch (exception) {
  63597. if (A.unwrapException(exception) instanceof A.FileSystemException)
  63598. modified = true;
  63599. else
  63600. throw exception;
  63601. }
  63602. if (modified)
  63603. if (!_this.reload$1(node.canonicalUrl))
  63604. _this.remove$2(0, node.importer, node.canonicalUrl);
  63605. }
  63606. },
  63607. remove$2(_, importer, canonicalUrl) {
  63608. var toRecompile, _this = this,
  63609. node = _this._nodes.remove$1(0, canonicalUrl),
  63610. t1 = node != null;
  63611. if (t1) {
  63612. _this._transitiveModificationTimes.clear$0(0);
  63613. _this.importCache.clearImport$1(canonicalUrl);
  63614. node._stylesheet_graph$_remove$0();
  63615. }
  63616. toRecompile = _this._recanonicalizeImports$2(importer, canonicalUrl);
  63617. if (t1)
  63618. toRecompile.addAll$1(0, node._downstream);
  63619. return toRecompile;
  63620. },
  63621. _recanonicalizeImports$2(importer, canonicalUrl) {
  63622. var changed, t1, t2, t3, t4, t5, newUpstream, newUpstreamImports, _this = this;
  63623. _this.importCache.clearCanonicalize$1(canonicalUrl);
  63624. changed = A.LinkedHashSet_LinkedHashSet$_empty(type$.StylesheetNode);
  63625. for (t1 = _this._nodes.get$values(0).get$iterator(0), t2 = type$.UnmodifiableMapView_of_Uri_and_nullable_StylesheetNode, t3 = type$.Uri, t4 = type$.nullable_StylesheetNode; t1.moveNext$0();) {
  63626. t5 = t1.get$current(0);
  63627. newUpstream = _this._recanonicalizeImportsForNode$4$forImport(t5, importer, canonicalUrl, false);
  63628. newUpstreamImports = _this._recanonicalizeImportsForNode$4$forImport(t5, importer, canonicalUrl, true);
  63629. if (newUpstream.__js_helper$_length !== 0 || newUpstreamImports.__js_helper$_length !== 0) {
  63630. changed.add$1(0, t5);
  63631. 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));
  63632. }
  63633. }
  63634. if (changed._collection$_length !== 0)
  63635. _this._transitiveModificationTimes.clear$0(0);
  63636. return changed;
  63637. },
  63638. _recanonicalizeImportsForNode$4$forImport(node, importer, canonicalUrl, forImport) {
  63639. var url, result, t2, newMap, t3, t4, t5, t6, upstream, exception, newCanonicalUrl,
  63640. t1 = type$.UnmodifiableMapView_of_Uri_and_nullable_StylesheetNode,
  63641. map = forImport ? new A.UnmodifiableMapView(node._upstreamImports, t1) : new A.UnmodifiableMapView(node._upstream, t1);
  63642. t1 = type$.Uri;
  63643. t2 = type$.nullable_StylesheetNode;
  63644. newMap = A.LinkedHashMap_LinkedHashMap$_empty(t1, t2);
  63645. for (t1 = A.MapExtensions_get_pairs(map, t1, t2), t1 = t1.get$iterator(t1), t2 = this._nodes, t3 = this.importCache, t4 = node.importer, t5 = node.canonicalUrl; t1.moveNext$0();) {
  63646. t6 = t1.get$current(t1);
  63647. url = null;
  63648. url = t6._0;
  63649. upstream = t6._1;
  63650. if (!importer.couldCanonicalize$2(url, canonicalUrl))
  63651. continue;
  63652. result = null;
  63653. try {
  63654. result = t3.canonicalize$4$baseImporter$baseUrl$forImport(0, url, t4, t5, forImport);
  63655. } catch (exception) {
  63656. }
  63657. t6 = result;
  63658. newCanonicalUrl = t6 == null ? null : t6._1;
  63659. if (J.$eq$(newCanonicalUrl, upstream == null ? null : upstream.canonicalUrl))
  63660. continue;
  63661. t6 = url;
  63662. newMap.$indexSet(0, t6, result == null ? null : t2.$index(0, newCanonicalUrl));
  63663. }
  63664. return newMap;
  63665. },
  63666. _nodeFor$5$forImport(url, baseImporter, baseUrl, active, forImport) {
  63667. var canonicalUrl, t2, _1_0, stylesheet, t3, t4, node, _this = this, t1 = {},
  63668. result = _this._ignoreErrors$1(new A.StylesheetGraph__nodeFor_closure(_this, url, baseImporter, baseUrl, forImport));
  63669. if (result == null)
  63670. return null;
  63671. t1.originalUrl = t1.canonicalUrl = t1.importer = null;
  63672. t1.importer = result._0;
  63673. canonicalUrl = t1.canonicalUrl = result._1;
  63674. t1.originalUrl = result._2;
  63675. t2 = _this._nodes;
  63676. _1_0 = t2.$index(0, canonicalUrl);
  63677. if (_1_0 != null)
  63678. return _1_0;
  63679. if (active.contains$1(0, canonicalUrl))
  63680. return null;
  63681. stylesheet = _this._ignoreErrors$1(new A.StylesheetGraph__nodeFor_closure0(t1, _this));
  63682. if (stylesheet == null)
  63683. return null;
  63684. active.add$1(0, t1.canonicalUrl);
  63685. t3 = t1.importer;
  63686. t4 = t1.canonicalUrl;
  63687. node = A.StylesheetNode$_(stylesheet, t3, t4, _this._upstreamNodes$3(stylesheet, t3, t4));
  63688. active.remove$1(0, t1.canonicalUrl);
  63689. t2.$indexSet(0, t1.canonicalUrl, node);
  63690. return node;
  63691. },
  63692. _nodeFor$4(url, baseImporter, baseUrl, active) {
  63693. return this._nodeFor$5$forImport(url, baseImporter, baseUrl, active, false);
  63694. },
  63695. _ignoreErrors$1$1(callback) {
  63696. var t1, exception;
  63697. try {
  63698. t1 = callback.call$0();
  63699. return t1;
  63700. } catch (exception) {
  63701. return null;
  63702. }
  63703. },
  63704. _ignoreErrors$1(callback) {
  63705. callback.toString;
  63706. return this._ignoreErrors$1$1(callback, type$.dynamic);
  63707. }
  63708. };
  63709. A.StylesheetGraph_modifiedSince_transitiveModificationTime.prototype = {
  63710. call$1(node) {
  63711. return this.$this._transitiveModificationTimes.putIfAbsent$2(node.canonicalUrl, new A.StylesheetGraph_modifiedSince_transitiveModificationTime_closure(node, this));
  63712. },
  63713. $signature: 320
  63714. };
  63715. A.StylesheetGraph_modifiedSince_transitiveModificationTime_closure.prototype = {
  63716. call$0() {
  63717. var t2, t3, upstreamTime, t4,
  63718. t1 = this.node,
  63719. latest = t1.importer.modificationTime$1(t1.canonicalUrl);
  63720. for (t1 = t1._upstream.get$values(0).followedBy$1(0, t1._upstreamImports.get$values(0)).get$iterator(0), t2 = this.transitiveModificationTime; t1.moveNext$0();) {
  63721. t3 = t1.get$current(0);
  63722. upstreamTime = t3 == null ? new A.DateTime(Date.now(), 0, false) : t2.call$1(t3);
  63723. t3 = upstreamTime._value;
  63724. t4 = latest._value;
  63725. if (t3 <= t4)
  63726. t3 = t3 === t4 && upstreamTime._microsecond > latest._microsecond;
  63727. else
  63728. t3 = true;
  63729. if (t3)
  63730. latest = upstreamTime;
  63731. }
  63732. return latest;
  63733. },
  63734. $signature: 155
  63735. };
  63736. A.StylesheetGraph__add_closure.prototype = {
  63737. call$0() {
  63738. var _this = this;
  63739. return _this.$this.importCache.canonicalize$3$baseImporter$baseUrl(0, _this.url, _this.baseImporter, _this.baseUrl);
  63740. },
  63741. $signature: 123
  63742. };
  63743. A.StylesheetGraph_addCanonical_closure.prototype = {
  63744. call$0() {
  63745. var _this = this;
  63746. return _this.$this.importCache.importCanonical$3$originalUrl(_this.importer, _this.canonicalUrl, _this.originalUrl);
  63747. },
  63748. $signature: 112
  63749. };
  63750. A.StylesheetGraph_reload_closure.prototype = {
  63751. call$0() {
  63752. return this.$this.importCache.importCanonical$2(this.node.importer, this.canonicalUrl);
  63753. },
  63754. $signature: 112
  63755. };
  63756. A.StylesheetGraph__nodeFor_closure.prototype = {
  63757. call$0() {
  63758. var _this = this;
  63759. return _this.$this.importCache.canonicalize$4$baseImporter$baseUrl$forImport(0, _this.url, _this.baseImporter, _this.baseUrl, _this.forImport);
  63760. },
  63761. $signature: 123
  63762. };
  63763. A.StylesheetGraph__nodeFor_closure0.prototype = {
  63764. call$0() {
  63765. var t1 = this._box_0;
  63766. return this.$this.importCache.importCanonical$3$originalUrl(t1.importer, t1.canonicalUrl, t1.originalUrl);
  63767. },
  63768. $signature: 112
  63769. };
  63770. A.StylesheetNode.prototype = {
  63771. StylesheetNode$_$4(_stylesheet, importer, canonicalUrl, allUpstream) {
  63772. var t1, t2;
  63773. for (t1 = this._upstream.get$values(0).followedBy$1(0, this._upstreamImports.get$values(0)).get$iterator(0); t1.moveNext$0();) {
  63774. t2 = t1.get$current(0);
  63775. if (t2 != null)
  63776. t2._downstream.add$1(0, this);
  63777. }
  63778. },
  63779. _replaceUpstream$2(newUpstream, newUpstreamImports) {
  63780. var t3, oldUpstream, newUpstreamSet, _this = this,
  63781. t1 = type$.nullable_StylesheetNode,
  63782. t2 = A.LinkedHashSet_LinkedHashSet$of(_this._upstream.get$values(0), t1);
  63783. t2.addAll$1(0, _this._upstreamImports.get$values(0));
  63784. t3 = type$.StylesheetNode;
  63785. oldUpstream = A.SetExtension_removeNull(t2, t3);
  63786. t1 = A.LinkedHashSet_LinkedHashSet$of(new A.LinkedHashMapValuesIterable(newUpstream, A._instanceType(newUpstream)._eval$1("LinkedHashMapValuesIterable<2>")), t1);
  63787. t1.addAll$1(0, new A.LinkedHashMapValuesIterable(newUpstreamImports, A._instanceType(newUpstreamImports)._eval$1("LinkedHashMapValuesIterable<2>")));
  63788. newUpstreamSet = A.SetExtension_removeNull(t1, t3);
  63789. for (t1 = oldUpstream.difference$1(newUpstreamSet), t1 = t1.get$iterator(t1); t1.moveNext$0();)
  63790. t1.get$current(t1)._downstream.remove$1(0, _this);
  63791. for (t1 = newUpstreamSet.difference$1(oldUpstream), t1 = t1.get$iterator(t1); t1.moveNext$0();)
  63792. t1.get$current(t1)._downstream.add$1(0, _this);
  63793. _this._upstream = newUpstream;
  63794. _this._upstreamImports = newUpstreamImports;
  63795. },
  63796. _stylesheet_graph$_remove$0() {
  63797. var t1, t2, t3, t4, _i, url, _this = this;
  63798. for (t1 = A.LinkedHashSet_LinkedHashSet$of(_this._upstream.get$values(0), type$.nullable_StylesheetNode), t1.addAll$1(0, _this._upstreamImports.get$values(0)), t1 = A._LinkedHashSetIterator$(t1, t1._collection$_modifications, A._instanceType(t1)._precomputed1), t2 = t1.$ti._precomputed1; t1.moveNext$0();) {
  63799. t3 = t1._collection$_current;
  63800. if (t3 == null)
  63801. t3 = t2._as(t3);
  63802. if (t3 == null)
  63803. continue;
  63804. t3._downstream.remove$1(0, _this);
  63805. }
  63806. for (t1 = _this._downstream.get$iterator(0); t1.moveNext$0();) {
  63807. t2 = t1.get$current(0);
  63808. t3 = t2._upstream;
  63809. t4 = A._instanceType(t3)._eval$1("LinkedHashMapKeysIterable<1>");
  63810. t3 = A.List_List$_of(new A.LinkedHashMapKeysIterable(t3, t4), t4._eval$1("Iterable.E"));
  63811. t4 = t3.length;
  63812. _i = 0;
  63813. for (; _i < t3.length; t3.length === t4 || (0, A.throwConcurrentModificationError)(t3), ++_i) {
  63814. url = t3[_i];
  63815. if (t2._upstream.$index(0, url) === _this) {
  63816. t2._upstream.$indexSet(0, url, null);
  63817. break;
  63818. }
  63819. }
  63820. t3 = t2._upstreamImports;
  63821. t4 = A._instanceType(t3)._eval$1("LinkedHashMapKeysIterable<1>");
  63822. t3 = A.List_List$_of(new A.LinkedHashMapKeysIterable(t3, t4), t4._eval$1("Iterable.E"));
  63823. t4 = t3.length;
  63824. _i = 0;
  63825. for (; _i < t3.length; t3.length === t4 || (0, A.throwConcurrentModificationError)(t3), ++_i) {
  63826. url = t3[_i];
  63827. if (t2._upstreamImports.$index(0, url) === _this) {
  63828. t2._upstreamImports.$indexSet(0, url, null);
  63829. break;
  63830. }
  63831. }
  63832. }
  63833. },
  63834. toString$0(_) {
  63835. var t1 = this._stylesheet.span;
  63836. t1 = A.NullableExtension_andThen(t1.get$sourceUrl(t1), A.path__prettyUri$closure());
  63837. return t1 == null ? "<unknown>" : t1;
  63838. }
  63839. };
  63840. A.Syntax.prototype = {
  63841. _enumToString$0() {
  63842. return "Syntax." + this._name;
  63843. },
  63844. toString$0(_) {
  63845. return this._syntax$_name;
  63846. }
  63847. };
  63848. A.Box.prototype = {
  63849. $eq(_, other) {
  63850. if (other == null)
  63851. return false;
  63852. return this.$ti._is(other) && other._box$_inner === this._box$_inner;
  63853. },
  63854. get$hashCode(_) {
  63855. return A.Primitives_objectHashCode(this._box$_inner);
  63856. }
  63857. };
  63858. A.ModifiableBox.prototype = {};
  63859. A.LazyFileSpan.prototype = {
  63860. get$span(_) {
  63861. var t1 = this._lazy_file_span$_span;
  63862. return t1 == null ? this._lazy_file_span$_span = this._builder.call$0() : t1;
  63863. },
  63864. compareTo$1(_, other) {
  63865. return this.get$span(0).compareTo$1(0, other);
  63866. },
  63867. get$context(_) {
  63868. var t1 = this.get$span(0);
  63869. return t1.get$context(t1);
  63870. },
  63871. get$end(_) {
  63872. var t1 = this.get$span(0);
  63873. return t1.get$end(t1);
  63874. },
  63875. expand$1(_, other) {
  63876. return this.get$span(0).expand$1(0, other);
  63877. },
  63878. get$file(_) {
  63879. var t1 = this.get$span(0);
  63880. return t1.get$file(t1);
  63881. },
  63882. highlight$1$color(color) {
  63883. return this.get$span(0).highlight$1$color(color);
  63884. },
  63885. get$length(_) {
  63886. var t1 = this.get$span(0);
  63887. return t1.get$length(t1);
  63888. },
  63889. message$2$color(_, message, color) {
  63890. return this.get$span(0).message$2$color(0, message, color);
  63891. },
  63892. message$1(_, message) {
  63893. return this.message$2$color(0, message, null);
  63894. },
  63895. get$sourceUrl(_) {
  63896. var t1 = this.get$span(0);
  63897. return t1.get$sourceUrl(t1);
  63898. },
  63899. get$start(_) {
  63900. var t1 = this.get$span(0);
  63901. return t1.get$start(t1);
  63902. },
  63903. get$text() {
  63904. return this.get$span(0).get$text();
  63905. },
  63906. $isComparable: 1,
  63907. $isFileSpan: 1,
  63908. $isSourceSpan: 1,
  63909. $isSourceSpanWithContext: 1
  63910. };
  63911. A.LimitedMapView.prototype = {
  63912. get$keys(_) {
  63913. return this._limited_map_view$_keys;
  63914. },
  63915. get$length(_) {
  63916. return this._limited_map_view$_keys._collection$_length;
  63917. },
  63918. get$isEmpty(_) {
  63919. return this._limited_map_view$_keys._collection$_length === 0;
  63920. },
  63921. get$isNotEmpty(_) {
  63922. return this._limited_map_view$_keys._collection$_length !== 0;
  63923. },
  63924. $index(_, key) {
  63925. return this._limited_map_view$_keys.contains$1(0, key) ? this._limited_map_view$_map.$index(0, key) : null;
  63926. },
  63927. containsKey$1(key) {
  63928. return this._limited_map_view$_keys.contains$1(0, key);
  63929. },
  63930. remove$1(_, key) {
  63931. return this._limited_map_view$_keys.contains$1(0, key) ? this._limited_map_view$_map.remove$1(0, key) : null;
  63932. }
  63933. };
  63934. A.MapExtensions_get_pairs_closure.prototype = {
  63935. call$1(e) {
  63936. return new A._Record_2(e.key, e.value);
  63937. },
  63938. $signature() {
  63939. return this.K._eval$1("@<0>")._bind$1(this.V)._eval$1("+(1,2)(MapEntry<1,2>)");
  63940. }
  63941. };
  63942. A.MergedMapView.prototype = {
  63943. get$keys(_) {
  63944. var t1 = this._mapsByKey;
  63945. return new A.LinkedHashMapKeysIterable(t1, A._instanceType(t1)._eval$1("LinkedHashMapKeysIterable<1>"));
  63946. },
  63947. get$length(_) {
  63948. return this._mapsByKey.__js_helper$_length;
  63949. },
  63950. get$isEmpty(_) {
  63951. return this._mapsByKey.__js_helper$_length === 0;
  63952. },
  63953. get$isNotEmpty(_) {
  63954. return this._mapsByKey.__js_helper$_length !== 0;
  63955. },
  63956. MergedMapView$1(maps, $K, $V) {
  63957. var t1, t2, _i, map, t3, t4;
  63958. for (t1 = maps.length, t2 = this._mapsByKey, _i = 0; _i < maps.length; maps.length === t1 || (0, A.throwConcurrentModificationError)(maps), ++_i) {
  63959. map = maps[_i];
  63960. if (map instanceof A.MergedMapView)
  63961. for (t3 = map._mapsByKey, t3 = new A.LinkedHashMapValueIterator(t3, t3._modifications, t3._first); t3.moveNext$0();) {
  63962. t4 = t3.__js_helper$_current;
  63963. A.setAll(t2, t4.get$keys(t4), t4);
  63964. }
  63965. else
  63966. A.setAll(t2, map.get$keys(map), map);
  63967. }
  63968. },
  63969. $index(_, key) {
  63970. var t1 = this._mapsByKey.$index(0, this.$ti._precomputed1._as(key));
  63971. return t1 == null ? null : t1.$index(0, key);
  63972. },
  63973. $indexSet(_, key, value) {
  63974. var _0_0 = this._mapsByKey.$index(0, key);
  63975. if (_0_0 != null)
  63976. _0_0.$indexSet(0, key, value);
  63977. else
  63978. throw A.wrapException(A.UnsupportedError$(string$.New_en));
  63979. },
  63980. remove$1(_, key) {
  63981. throw A.wrapException(A.UnsupportedError$(string$.Entrie));
  63982. },
  63983. containsKey$1(key) {
  63984. return this._mapsByKey.containsKey$1(key);
  63985. }
  63986. };
  63987. A.MultiDirWatcher.prototype = {
  63988. watch$1(_, directory) {
  63989. var t1, t2, t3, t4, isParentOfExistingDir, _i, t5, _0_1, t6, future, completer;
  63990. for (t1 = this._watchers, t2 = A.MapExtensions_get_pairs(t1, type$.nullable_String, type$.Stream_WatchEvent).toList$0(0), t3 = t2.length, t1 = t1._map, t4 = this._group, isParentOfExistingDir = false, _i = 0; _i < t2.length; t2.length === t3 || (0, A.throwConcurrentModificationError)(t2), ++_i) {
  63991. t5 = t2[_i];
  63992. _0_1 = t5._0;
  63993. _0_1.toString;
  63994. if (!isParentOfExistingDir) {
  63995. t6 = $.$get$context();
  63996. t6 = t6._isWithinOrEquals$2(_0_1, directory) === B._PathRelation_equal || t6._isWithinOrEquals$2(_0_1, directory) === B._PathRelation_within;
  63997. } else
  63998. t6 = false;
  63999. if (t6) {
  64000. t1 = new A._Future($.Zone__current, type$._Future_void);
  64001. t1._asyncComplete$1(null);
  64002. return t1;
  64003. }
  64004. if ($.$get$context()._isWithinOrEquals$2(directory, _0_1) === B._PathRelation_within) {
  64005. t1.remove$1(0, _0_1);
  64006. t4.remove$1(0, t5._1);
  64007. isParentOfExistingDir = true;
  64008. }
  64009. }
  64010. future = A.watchDir(directory, this._poll);
  64011. t2 = new A._CompleterStream(type$._CompleterStream_WatchEvent);
  64012. completer = new A.StreamCompleter(t2, type$.StreamCompleter_WatchEvent);
  64013. future.then$1$2$onError(0, completer.get$setSourceStream(), completer.get$setError(), type$.void);
  64014. t1.$indexSet(0, directory, t2);
  64015. t4.add$1(0, t2);
  64016. return future;
  64017. }
  64018. };
  64019. A.MultiSpan.prototype = {
  64020. get$start(_) {
  64021. var t1 = this._multi_span$_primary;
  64022. return t1.get$start(t1);
  64023. },
  64024. get$end(_) {
  64025. var t1 = this._multi_span$_primary;
  64026. return t1.get$end(t1);
  64027. },
  64028. get$text() {
  64029. return this._multi_span$_primary.get$text();
  64030. },
  64031. get$context(_) {
  64032. var t1 = this._multi_span$_primary;
  64033. return t1.get$context(t1);
  64034. },
  64035. get$file(_) {
  64036. var t1 = this._multi_span$_primary;
  64037. return t1.get$file(t1);
  64038. },
  64039. get$length(_) {
  64040. var t1 = this._multi_span$_primary;
  64041. return t1.get$length(t1);
  64042. },
  64043. get$sourceUrl(_) {
  64044. var t1 = this._multi_span$_primary;
  64045. return t1.get$sourceUrl(t1);
  64046. },
  64047. compareTo$1(_, other) {
  64048. return this._multi_span$_primary.compareTo$1(0, other);
  64049. },
  64050. toString$0(_) {
  64051. return this._multi_span$_primary.toString$0(0);
  64052. },
  64053. expand$1(_, other) {
  64054. return new A.MultiSpan(this._multi_span$_primary.expand$1(0, other), this.primaryLabel, this.secondarySpans);
  64055. },
  64056. highlight$1$color(color) {
  64057. return A.Highlighter$multiple(this._multi_span$_primary, this.primaryLabel, this.secondarySpans, color === true, null, null).highlight$0();
  64058. },
  64059. message$2$color(_, message, color) {
  64060. var t1 = J.$eq$(color, true) || typeof color == "string",
  64061. t2 = typeof color == "string" ? color : null;
  64062. return A.SourceSpanExtension_messageMultiple(this._multi_span$_primary, message, this.primaryLabel, this.secondarySpans, t1, t2, null);
  64063. },
  64064. message$1(_, message) {
  64065. return this.message$2$color(0, message, null);
  64066. },
  64067. $isComparable: 1,
  64068. $isFileSpan: 1,
  64069. $isSourceSpan: 1,
  64070. $isSourceSpanWithContext: 1
  64071. };
  64072. A.NoSourceMapBuffer.prototype = {
  64073. get$length(_) {
  64074. return this._no_source_map_buffer$_buffer._contents.length;
  64075. },
  64076. forSpan$1$2(span, callback) {
  64077. return callback.call$0();
  64078. },
  64079. forSpan$2(span, callback) {
  64080. callback.toString;
  64081. return this.forSpan$1$2(span, callback, type$.dynamic);
  64082. },
  64083. write$1(_, object) {
  64084. var t1 = this._no_source_map_buffer$_buffer,
  64085. t2 = A.S(object);
  64086. t1._contents += t2;
  64087. return null;
  64088. },
  64089. writeCharCode$1(charCode) {
  64090. var t1 = this._no_source_map_buffer$_buffer,
  64091. t2 = A.Primitives_stringFromCharCode(charCode);
  64092. t1._contents += t2;
  64093. return null;
  64094. },
  64095. toString$0(_) {
  64096. var t1 = this._no_source_map_buffer$_buffer._contents;
  64097. return t1.charCodeAt(0) == 0 ? t1 : t1;
  64098. },
  64099. buildSourceMap$1$prefix(prefix) {
  64100. return A.throwExpression(A.UnsupportedError$(string$.NoSour));
  64101. }
  64102. };
  64103. A.PrefixedMapView.prototype = {
  64104. get$keys(_) {
  64105. return new A._PrefixedKeys(this);
  64106. },
  64107. get$length(_) {
  64108. var t1 = this._prefixed_map_view$_map;
  64109. return t1.get$length(t1);
  64110. },
  64111. get$isEmpty(_) {
  64112. var t1 = this._prefixed_map_view$_map;
  64113. return t1.get$isEmpty(t1);
  64114. },
  64115. get$isNotEmpty(_) {
  64116. var t1 = this._prefixed_map_view$_map;
  64117. return t1.get$isNotEmpty(t1);
  64118. },
  64119. $index(_, key) {
  64120. return typeof key == "string" && B.JSString_methods.startsWith$1(key, this._prefix) ? this._prefixed_map_view$_map.$index(0, B.JSString_methods.substring$1(key, this._prefix.length)) : null;
  64121. },
  64122. containsKey$1(key) {
  64123. return typeof key == "string" && B.JSString_methods.startsWith$1(key, this._prefix) && this._prefixed_map_view$_map.containsKey$1(B.JSString_methods.substring$1(key, this._prefix.length));
  64124. }
  64125. };
  64126. A._PrefixedKeys.prototype = {
  64127. get$length(_) {
  64128. var t1 = this._view._prefixed_map_view$_map;
  64129. return t1.get$length(t1);
  64130. },
  64131. get$iterator(_) {
  64132. var t1 = this._view._prefixed_map_view$_map;
  64133. t1 = J.map$1$1$ax(t1.get$keys(t1), new A._PrefixedKeys_iterator_closure(this), type$.String);
  64134. return t1.get$iterator(t1);
  64135. },
  64136. contains$1(_, key) {
  64137. return this._view.containsKey$1(key);
  64138. }
  64139. };
  64140. A._PrefixedKeys_iterator_closure.prototype = {
  64141. call$1(key) {
  64142. return this.$this._view._prefix + key;
  64143. },
  64144. $signature: 6
  64145. };
  64146. A.PublicMemberMapView.prototype = {
  64147. get$keys(_) {
  64148. var t1 = this._public_member_map_view$_inner;
  64149. return J.where$1$ax(t1.get$keys(t1), A.utils__isPublic$closure());
  64150. },
  64151. containsKey$1(key) {
  64152. return typeof key == "string" && A.isPublic(key) && this._public_member_map_view$_inner.containsKey$1(key);
  64153. },
  64154. $index(_, key) {
  64155. if (typeof key == "string" && A.isPublic(key))
  64156. return this._public_member_map_view$_inner.$index(0, key);
  64157. return null;
  64158. }
  64159. };
  64160. A.SourceMapBuffer.prototype = {
  64161. get$_targetLocation() {
  64162. var t1 = this._source_map_buffer$_buffer._contents,
  64163. t2 = this._line;
  64164. return A.SourceLocation$(t1.length, this._column, t2, null);
  64165. },
  64166. get$length(_) {
  64167. return this._source_map_buffer$_buffer._contents.length;
  64168. },
  64169. forSpan$1$2(span, callback) {
  64170. var t1, _this = this,
  64171. wasInSpan = _this._inSpan;
  64172. _this._inSpan = true;
  64173. _this._addEntry$2(span.get$start(span), _this.get$_targetLocation());
  64174. try {
  64175. t1 = callback.call$0();
  64176. return t1;
  64177. } finally {
  64178. _this._inSpan = wasInSpan;
  64179. }
  64180. },
  64181. forSpan$2(span, callback) {
  64182. callback.toString;
  64183. return this.forSpan$1$2(span, callback, type$.dynamic);
  64184. },
  64185. _addEntry$2(source, target) {
  64186. var entry, t2,
  64187. t1 = this._entries;
  64188. if (t1.length !== 0) {
  64189. entry = B.JSArray_methods.get$last(t1);
  64190. t2 = entry.source;
  64191. if (t2.file.getLine$1(t2.offset) === source.file.getLine$1(source.offset) && entry.target.line === target.line)
  64192. return;
  64193. if (entry.target.offset === target.offset)
  64194. return;
  64195. }
  64196. t1.push(new A.Entry(source, target, null));
  64197. },
  64198. write$1(_, object) {
  64199. var t1, i,
  64200. string = J.toString$0$(object);
  64201. this._source_map_buffer$_buffer._contents += string;
  64202. for (t1 = string.length, i = 0; i < t1; ++i)
  64203. if (string.charCodeAt(i) === 10)
  64204. this._source_map_buffer$_writeLine$0();
  64205. else
  64206. ++this._column;
  64207. },
  64208. writeCharCode$1(charCode) {
  64209. var t1 = this._source_map_buffer$_buffer,
  64210. t2 = A.Primitives_stringFromCharCode(charCode);
  64211. t1._contents += t2;
  64212. if (charCode === 10)
  64213. this._source_map_buffer$_writeLine$0();
  64214. else
  64215. ++this._column;
  64216. },
  64217. _source_map_buffer$_writeLine$0() {
  64218. var _this = this,
  64219. t1 = _this._entries;
  64220. if (B.JSArray_methods.get$last(t1).target.line === _this._line && B.JSArray_methods.get$last(t1).target.column === _this._column)
  64221. t1.pop();
  64222. ++_this._line;
  64223. _this._column = 0;
  64224. if (_this._inSpan)
  64225. t1.push(new A.Entry(B.JSArray_methods.get$last(t1).source, _this.get$_targetLocation(), null));
  64226. },
  64227. toString$0(_) {
  64228. var t1 = this._source_map_buffer$_buffer._contents;
  64229. return t1.charCodeAt(0) == 0 ? t1 : t1;
  64230. },
  64231. buildSourceMap$1$prefix(prefix) {
  64232. var i, t2, prefixColumn, _box_0 = {},
  64233. t1 = prefix.length;
  64234. if (t1 === 0)
  64235. return A.SingleMapping_SingleMapping$fromEntries(this._entries);
  64236. _box_0.prefixColumn = _box_0.prefixLines = 0;
  64237. for (i = 0, t2 = 0; i < t1; ++i)
  64238. if (prefix.charCodeAt(i) === 10) {
  64239. ++_box_0.prefixLines;
  64240. _box_0.prefixColumn = 0;
  64241. t2 = 0;
  64242. } else {
  64243. prefixColumn = t2 + 1;
  64244. _box_0.prefixColumn = prefixColumn;
  64245. t2 = prefixColumn;
  64246. }
  64247. t2 = this._entries;
  64248. 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>")));
  64249. }
  64250. };
  64251. A.SourceMapBuffer_buildSourceMap_closure.prototype = {
  64252. call$1(entry) {
  64253. var t1 = entry.target,
  64254. t2 = t1.line,
  64255. t3 = this._box_0,
  64256. t4 = t3.prefixLines;
  64257. t3 = t2 === 0 ? t3.prefixColumn : 0;
  64258. return new A.Entry(entry.source, A.SourceLocation$(t1.offset + this.prefixLength, t1.column + t3, t2 + t4, null), entry.identifierName);
  64259. },
  64260. $signature: 164
  64261. };
  64262. A.UnprefixedMapView.prototype = {
  64263. get$keys(_) {
  64264. return new A._UnprefixedKeys(this);
  64265. },
  64266. $index(_, key) {
  64267. return typeof key == "string" ? this._unprefixed_map_view$_map.$index(0, this._unprefixed_map_view$_prefix + key) : null;
  64268. },
  64269. containsKey$1(key) {
  64270. return typeof key == "string" && this._unprefixed_map_view$_map.containsKey$1(this._unprefixed_map_view$_prefix + key);
  64271. },
  64272. remove$1(_, key) {
  64273. var t1 = this._unprefixed_map_view$_map.remove$1(0, this._unprefixed_map_view$_prefix + key);
  64274. return t1;
  64275. }
  64276. };
  64277. A._UnprefixedKeys.prototype = {
  64278. get$iterator(_) {
  64279. var t1 = this._unprefixed_map_view$_view._unprefixed_map_view$_map;
  64280. 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);
  64281. return t1.get$iterator(t1);
  64282. },
  64283. contains$1(_, key) {
  64284. return this._unprefixed_map_view$_view.containsKey$1(key);
  64285. }
  64286. };
  64287. A._UnprefixedKeys_iterator_closure.prototype = {
  64288. call$1(key) {
  64289. return B.JSString_methods.startsWith$1(key, this.$this._unprefixed_map_view$_view._unprefixed_map_view$_prefix);
  64290. },
  64291. $signature: 5
  64292. };
  64293. A._UnprefixedKeys_iterator_closure0.prototype = {
  64294. call$1(key) {
  64295. return B.JSString_methods.substring$1(key, this.$this._unprefixed_map_view$_view._unprefixed_map_view$_prefix.length);
  64296. },
  64297. $signature: 6
  64298. };
  64299. A.indent_closure.prototype = {
  64300. call$1(line) {
  64301. return B.JSString_methods.$mul(" ", this.indentation) + line;
  64302. },
  64303. $signature: 6
  64304. };
  64305. A.flattenVertically_closure.prototype = {
  64306. call$1(inner) {
  64307. return A.QueueList_QueueList$from(inner, this.T);
  64308. },
  64309. $signature() {
  64310. return this.T._eval$1("QueueList<0>(Iterable<0>)");
  64311. }
  64312. };
  64313. A.flattenVertically_closure0.prototype = {
  64314. call$1(queue) {
  64315. this.result.push(queue.removeFirst$0());
  64316. return queue.get$length(0) === 0;
  64317. },
  64318. $signature() {
  64319. return this.T._eval$1("bool(QueueList<0>)");
  64320. }
  64321. };
  64322. A.longestCommonSubsequence_backtrack.prototype = {
  64323. call$2(i, j) {
  64324. var selection, t1, _this = this;
  64325. if (i === -1 || j === -1)
  64326. return A._setArrayType([], _this.T._eval$1("JSArray<0>"));
  64327. selection = _this.selections[i][j];
  64328. if (selection != null) {
  64329. t1 = _this.call$2(i - 1, j - 1);
  64330. J.add$1$ax(t1, selection);
  64331. return t1;
  64332. }
  64333. t1 = _this.lengths;
  64334. return t1[i + 1][j] > t1[i][j + 1] ? _this.call$2(i, j - 1) : _this.call$2(i - 1, j);
  64335. },
  64336. $signature() {
  64337. return this.T._eval$1("List<0>(int,int)");
  64338. }
  64339. };
  64340. A.mapAddAll2_closure.prototype = {
  64341. call$2(key, inner) {
  64342. var t1 = this.destination,
  64343. _0_0 = t1.$index(0, key);
  64344. if (_0_0 != null)
  64345. _0_0.addAll$1(0, inner);
  64346. else
  64347. t1.$indexSet(0, key, inner);
  64348. },
  64349. $signature() {
  64350. return this.K1._eval$1("@<0>")._bind$1(this.K2)._bind$1(this.V)._eval$1("~(1,Map<2,3>)");
  64351. }
  64352. };
  64353. A.Value.prototype = {
  64354. get$isTruthy() {
  64355. return true;
  64356. },
  64357. get$separator(_) {
  64358. return B.ListSeparator_undecided_null_undecided;
  64359. },
  64360. get$hasBrackets() {
  64361. return false;
  64362. },
  64363. get$asList() {
  64364. return A._setArrayType([this], type$.JSArray_Value);
  64365. },
  64366. get$lengthAsList() {
  64367. return 1;
  64368. },
  64369. get$isBlank() {
  64370. return false;
  64371. },
  64372. get$isSpecialNumber() {
  64373. return false;
  64374. },
  64375. get$isVar() {
  64376. return false;
  64377. },
  64378. get$realNull() {
  64379. return this;
  64380. },
  64381. sassIndexToListIndex$2(sassIndex, $name) {
  64382. var t1, index,
  64383. indexValue = sassIndex.assertNumber$1($name);
  64384. if (indexValue.get$hasUnits()) {
  64385. t1 = indexValue.get$unitString();
  64386. A.warnForDeprecation("$" + $name + ": Passing a number with unit " + t1 + string$.x20is_de + indexValue.unitSuggestion$1($name) + string$.x0a_Morex3af, B.Deprecation_jG1);
  64387. }
  64388. index = indexValue.assertInt$1($name);
  64389. if (index === 0)
  64390. throw A.wrapException(A.SassScriptException$("List index may not be 0.", $name));
  64391. if (Math.abs(index) > this.get$lengthAsList())
  64392. throw A.wrapException(A.SassScriptException$("Invalid index " + sassIndex.toString$0(0) + " for a list with " + this.get$lengthAsList() + " elements.", $name));
  64393. return index < 0 ? this.get$lengthAsList() + index : index - 1;
  64394. },
  64395. assertCalculation$1($name) {
  64396. return A.throwExpression(A.SassScriptException$(this.toString$0(0) + " is not a calculation.", $name));
  64397. },
  64398. assertColor$1($name) {
  64399. return A.throwExpression(A.SassScriptException$(this.toString$0(0) + " is not a color.", $name));
  64400. },
  64401. assertFunction$1($name) {
  64402. return A.throwExpression(A.SassScriptException$(this.toString$0(0) + " is not a function reference.", $name));
  64403. },
  64404. assertMixin$1($name) {
  64405. return A.throwExpression(A.SassScriptException$(this.toString$0(0) + " is not a mixin reference.", $name));
  64406. },
  64407. assertMap$1($name) {
  64408. return A.throwExpression(A.SassScriptException$(this.toString$0(0) + " is not a map.", $name));
  64409. },
  64410. tryMap$0() {
  64411. return null;
  64412. },
  64413. assertNumber$1($name) {
  64414. return A.throwExpression(A.SassScriptException$(this.toString$0(0) + " is not a number.", $name));
  64415. },
  64416. assertNumber$0() {
  64417. return this.assertNumber$1(null);
  64418. },
  64419. assertString$1($name) {
  64420. return A.throwExpression(A.SassScriptException$(this.toString$0(0) + " is not a string.", $name));
  64421. },
  64422. assertCommonListStyle$2$allowSlash($name, allowSlash) {
  64423. var invalidSeparator, buffer, t1, _this = this,
  64424. _s8_ = "Expected";
  64425. if (_this.get$separator(_this) !== B.ListSeparator_qVN)
  64426. invalidSeparator = !allowSlash && _this.get$separator(_this) === B.ListSeparator_bRz;
  64427. else
  64428. invalidSeparator = true;
  64429. if (!invalidSeparator && !_this.get$hasBrackets())
  64430. return _this.get$asList();
  64431. buffer = new A.StringBuffer(_s8_);
  64432. if (_this.get$hasBrackets()) {
  64433. t1 = "Expected" + " an unbracketed";
  64434. buffer._contents = t1;
  64435. } else
  64436. t1 = _s8_;
  64437. if (invalidSeparator) {
  64438. t1 += _this.get$hasBrackets() ? "," : " a";
  64439. buffer._contents = t1;
  64440. t1 = buffer._contents = t1 + " space-";
  64441. t1 = buffer._contents = (allowSlash ? buffer._contents = t1 + " or slash-" : t1) + "separated";
  64442. }
  64443. buffer._contents = t1 + (" list, was " + _this.toString$0(0));
  64444. throw A.wrapException(A.SassScriptException$(buffer.toString$0(0), $name));
  64445. },
  64446. _selectorString$1($name) {
  64447. var _0_0 = this._selectorStringOrNull$0();
  64448. if (_0_0 != null)
  64449. return _0_0;
  64450. throw A.wrapException(A.SassScriptException$(this.toString$0(0) + string$.x20is_noav, $name));
  64451. },
  64452. _selectorStringOrNull$0() {
  64453. var t1, t2, result, _1_0, _i, complex, string, compound, _this = this, _null = null;
  64454. if (_this instanceof A.SassString)
  64455. return _this._string$_text;
  64456. if (!(_this instanceof A.SassList))
  64457. return _null;
  64458. t1 = _this._list$_contents;
  64459. t2 = t1.length;
  64460. if (t2 === 0)
  64461. return _null;
  64462. result = A._setArrayType([], type$.JSArray_String);
  64463. $label0$1: {
  64464. _1_0 = _this._separator;
  64465. if (B.ListSeparator_qVN === _1_0) {
  64466. for (_i = 0; _i < t2; ++_i) {
  64467. complex = t1[_i];
  64468. if (complex instanceof A.SassString) {
  64469. result.push(complex._string$_text);
  64470. continue;
  64471. }
  64472. if (complex instanceof A.SassList && B.ListSeparator_qSL === complex._separator) {
  64473. string = complex._selectorStringOrNull$0();
  64474. if (string == null)
  64475. return _null;
  64476. result.push(string);
  64477. continue;
  64478. }
  64479. return _null;
  64480. }
  64481. break $label0$1;
  64482. }
  64483. if (B.ListSeparator_bRz === _1_0)
  64484. return _null;
  64485. for (_i = 0; _i < t2; ++_i) {
  64486. compound = t1[_i];
  64487. if (!(compound instanceof A.SassString))
  64488. return _null;
  64489. result.push(compound._string$_text);
  64490. }
  64491. }
  64492. return B.JSArray_methods.join$1(result, _1_0 === B.ListSeparator_qVN ? ", " : " ");
  64493. },
  64494. withListContents$2$separator(contents, separator) {
  64495. var t1 = separator == null ? this.get$separator(this) : separator,
  64496. t2 = this.get$hasBrackets();
  64497. return A.SassList$(contents, t1, t2);
  64498. },
  64499. withListContents$1(contents) {
  64500. return this.withListContents$2$separator(contents, null);
  64501. },
  64502. greaterThan$1(other) {
  64503. return A.throwExpression(A.SassScriptException$('Undefined operation "' + this.toString$0(0) + " > " + other.toString$0(0) + '".', null));
  64504. },
  64505. greaterThanOrEquals$1(other) {
  64506. return A.throwExpression(A.SassScriptException$('Undefined operation "' + this.toString$0(0) + " >= " + other.toString$0(0) + '".', null));
  64507. },
  64508. lessThan$1(other) {
  64509. return A.throwExpression(A.SassScriptException$('Undefined operation "' + this.toString$0(0) + " < " + other.toString$0(0) + '".', null));
  64510. },
  64511. lessThanOrEquals$1(other) {
  64512. return A.throwExpression(A.SassScriptException$('Undefined operation "' + this.toString$0(0) + " <= " + other.toString$0(0) + '".', null));
  64513. },
  64514. times$1(other) {
  64515. return A.throwExpression(A.SassScriptException$('Undefined operation "' + this.toString$0(0) + " * " + other.toString$0(0) + '".', null));
  64516. },
  64517. modulo$1(other) {
  64518. return A.throwExpression(A.SassScriptException$('Undefined operation "' + this.toString$0(0) + " % " + other.toString$0(0) + '".', null));
  64519. },
  64520. plus$1(other) {
  64521. var t1;
  64522. $label0$0: {
  64523. if (other instanceof A.SassString) {
  64524. t1 = new A.SassString(A.serializeValue(this, false, true) + other._string$_text, other._hasQuotes);
  64525. break $label0$0;
  64526. }
  64527. if (other instanceof A.SassCalculation)
  64528. A.throwExpression(A.SassScriptException$('Undefined operation "' + this.toString$0(0) + " + " + other.toString$0(0) + '".', null));
  64529. t1 = new A.SassString(A.serializeValue(this, false, true) + A.serializeValue(other, false, true), false);
  64530. break $label0$0;
  64531. }
  64532. return t1;
  64533. },
  64534. minus$1(other) {
  64535. return other instanceof A.SassCalculation ? A.throwExpression(A.SassScriptException$('Undefined operation "' + this.toString$0(0) + " - " + other.toString$0(0) + '".', null)) : new A.SassString(A.serializeValue(this, false, true) + "-" + A.serializeValue(other, false, true), false);
  64536. },
  64537. dividedBy$1(other) {
  64538. return new A.SassString(A.serializeValue(this, false, true) + "/" + A.serializeValue(other, false, true), false);
  64539. },
  64540. unaryPlus$0() {
  64541. return new A.SassString("+" + A.serializeValue(this, false, true), false);
  64542. },
  64543. unaryMinus$0() {
  64544. return new A.SassString("-" + A.serializeValue(this, false, true), false);
  64545. },
  64546. unaryNot$0() {
  64547. return B.SassBoolean_false;
  64548. },
  64549. withoutSlash$0() {
  64550. return this;
  64551. },
  64552. toString$0(_) {
  64553. return A.serializeValue(this, true, true);
  64554. }
  64555. };
  64556. A.SassArgumentList.prototype = {};
  64557. A.SassBoolean.prototype = {
  64558. get$isTruthy() {
  64559. return this.value;
  64560. },
  64561. accept$1$1(visitor) {
  64562. return visitor._serialize$_buffer.write$1(0, String(this.value));
  64563. },
  64564. accept$1(visitor) {
  64565. return this.accept$1$1(visitor, type$.dynamic);
  64566. },
  64567. unaryNot$0() {
  64568. return this.value ? B.SassBoolean_false : B.SassBoolean_true;
  64569. }
  64570. };
  64571. A.SassCalculation.prototype = {
  64572. get$isSpecialNumber() {
  64573. return true;
  64574. },
  64575. accept$1$1(visitor) {
  64576. return visitor.visitCalculation$1(this);
  64577. },
  64578. accept$1(visitor) {
  64579. return this.accept$1$1(visitor, type$.dynamic);
  64580. },
  64581. assertCalculation$1($name) {
  64582. return this;
  64583. },
  64584. plus$1(other) {
  64585. if (other instanceof A.SassString)
  64586. return this.super$Value$plus(other);
  64587. throw A.wrapException(A.SassScriptException$('Undefined operation "' + this.toString$0(0) + " + " + other.toString$0(0) + '".', null));
  64588. },
  64589. minus$1(other) {
  64590. return A.throwExpression(A.SassScriptException$('Undefined operation "' + this.toString$0(0) + " - " + other.toString$0(0) + '".', null));
  64591. },
  64592. unaryPlus$0() {
  64593. return A.throwExpression(A.SassScriptException$('Undefined operation "+' + this.toString$0(0) + '".', null));
  64594. },
  64595. unaryMinus$0() {
  64596. return A.throwExpression(A.SassScriptException$('Undefined operation "-' + this.toString$0(0) + '".', null));
  64597. },
  64598. $eq(_, other) {
  64599. if (other == null)
  64600. return false;
  64601. return other instanceof A.SassCalculation && this.name === other.name && B.C_ListEquality.equals$2(0, this.$arguments, other.$arguments);
  64602. },
  64603. get$hashCode(_) {
  64604. return B.JSString_methods.get$hashCode(this.name) ^ B.C_ListEquality0.hash$1(this.$arguments);
  64605. }
  64606. };
  64607. A.SassCalculation__verifyLength_closure.prototype = {
  64608. call$1(arg) {
  64609. return arg instanceof A.SassString;
  64610. },
  64611. $signature: 77
  64612. };
  64613. A.CalculationOperation.prototype = {
  64614. $eq(_, other) {
  64615. if (other == null)
  64616. return false;
  64617. return other instanceof A.CalculationOperation && this._operator === other._operator && J.$eq$(this._left, other._left) && J.$eq$(this._right, other._right);
  64618. },
  64619. get$hashCode(_) {
  64620. return (A.Primitives_objectHashCode(this._operator) ^ J.get$hashCode$(this._left) ^ J.get$hashCode$(this._right)) >>> 0;
  64621. },
  64622. toString$0(_) {
  64623. var parenthesized = A.serializeValue(new A.SassCalculation("", A._setArrayType([this], type$.JSArray_Object)), true, true);
  64624. return B.JSString_methods.substring$2(parenthesized, 1, parenthesized.length - 1);
  64625. }
  64626. };
  64627. A.CalculationOperator.prototype = {
  64628. _enumToString$0() {
  64629. return "CalculationOperator." + this._name;
  64630. },
  64631. toString$0(_) {
  64632. return this.name;
  64633. }
  64634. };
  64635. A.SassColor.prototype = {
  64636. get$channels() {
  64637. var t2, t3,
  64638. t1 = this.channel0OrNull;
  64639. if (t1 == null)
  64640. t1 = 0;
  64641. t2 = this.channel1OrNull;
  64642. if (t2 == null)
  64643. t2 = 0;
  64644. t3 = this.channel2OrNull;
  64645. return A.List_List$unmodifiable([t1, t2, t3 == null ? 0 : t3], type$.double);
  64646. },
  64647. get$channelsOrNull() {
  64648. return A.List_List$unmodifiable([this.channel0OrNull, this.channel1OrNull, this.channel2OrNull], type$.nullable_double);
  64649. },
  64650. get$isChannel0Powerless() {
  64651. var t1, t2, _this = this,
  64652. _0_0 = _this._space;
  64653. $label0$0: {
  64654. if (B.HslColorSpace_JQ2 === _0_0) {
  64655. t1 = _this.channel1OrNull;
  64656. t1 = A.fuzzyEquals(t1 == null ? 0 : t1, 0);
  64657. break $label0$0;
  64658. }
  64659. if (B.HwbColorSpace_guQ === _0_0) {
  64660. t1 = _this.channel1OrNull;
  64661. if (t1 == null)
  64662. t1 = 0;
  64663. t2 = _this.channel2OrNull;
  64664. t1 += t2 == null ? 0 : t2;
  64665. t1 = t1 > 100 || A.fuzzyEquals(t1, 100);
  64666. break $label0$0;
  64667. }
  64668. t1 = false;
  64669. break $label0$0;
  64670. }
  64671. return t1;
  64672. },
  64673. get$isChannel2Powerless() {
  64674. var t1,
  64675. _0_0 = this._space;
  64676. $label0$0: {
  64677. if (B.LchColorSpace_Bpv === _0_0 || B.OklchColorSpace_9Gj === _0_0) {
  64678. t1 = this.channel1OrNull;
  64679. t1 = A.fuzzyEquals(t1 == null ? 0 : t1, 0);
  64680. break $label0$0;
  64681. }
  64682. t1 = false;
  64683. break $label0$0;
  64684. }
  64685. return t1;
  64686. },
  64687. get$isInGamut() {
  64688. var t2, t3, _this = this,
  64689. t1 = _this._space;
  64690. if (!t1.get$isBoundedInternal())
  64691. return true;
  64692. t2 = _this.channel0OrNull;
  64693. if (t2 == null)
  64694. t2 = 0;
  64695. t1 = t1._channels;
  64696. t3 = false;
  64697. if (_this._isChannelInGamut$2(t2, t1[0])) {
  64698. t2 = _this.channel1OrNull;
  64699. if (t2 == null)
  64700. t2 = 0;
  64701. if (_this._isChannelInGamut$2(t2, t1[1])) {
  64702. t2 = _this.channel2OrNull;
  64703. if (t2 == null)
  64704. t2 = 0;
  64705. t1 = _this._isChannelInGamut$2(t2, t1[2]);
  64706. } else
  64707. t1 = t3;
  64708. } else
  64709. t1 = t3;
  64710. return t1;
  64711. },
  64712. _isChannelInGamut$2(value, channel) {
  64713. var min, max, t1;
  64714. $label0$0: {
  64715. if (channel instanceof A.LinearChannel) {
  64716. min = channel.min;
  64717. max = channel.max;
  64718. if (value < max || A.fuzzyEquals(value, max))
  64719. t1 = value > min || A.fuzzyEquals(value, min);
  64720. else
  64721. t1 = false;
  64722. break $label0$0;
  64723. }
  64724. t1 = true;
  64725. break $label0$0;
  64726. }
  64727. return t1;
  64728. },
  64729. accept$1$1(visitor) {
  64730. return visitor.visitColor$1(this);
  64731. },
  64732. accept$1(visitor) {
  64733. return this.accept$1$1(visitor, type$.dynamic);
  64734. },
  64735. assertColor$1($name) {
  64736. return this;
  64737. },
  64738. assertLegacy$1($name) {
  64739. if (this._space.get$isLegacyInternal())
  64740. return;
  64741. throw A.wrapException(A.SassScriptException$("Expected " + this.toString$0(0) + string$.x20to_be, $name));
  64742. },
  64743. channel$1(_, channel) {
  64744. var t1, _this = this,
  64745. channels = _this._space._channels;
  64746. if (channel === channels[0].name) {
  64747. t1 = _this.channel0OrNull;
  64748. return t1 == null ? 0 : t1;
  64749. }
  64750. if (channel === channels[1].name) {
  64751. t1 = _this.channel1OrNull;
  64752. return t1 == null ? 0 : t1;
  64753. }
  64754. if (channel === channels[2].name) {
  64755. t1 = _this.channel2OrNull;
  64756. return t1 == null ? 0 : t1;
  64757. }
  64758. if (channel === "alpha") {
  64759. t1 = _this.alphaOrNull;
  64760. return t1 == null ? 0 : t1;
  64761. }
  64762. throw A.wrapException(A.SassScriptException$("Color " + _this.toString$0(0) + " doesn't have a channel named \"" + channel + '".', null));
  64763. },
  64764. isChannelMissing$3$channelName$colorName(channel, channelName, colorName) {
  64765. var _this = this,
  64766. channels = _this._space._channels;
  64767. if (channel === channels[0].name)
  64768. return _this.channel0OrNull == null;
  64769. if (channel === channels[1].name)
  64770. return _this.channel1OrNull == null;
  64771. if (channel === channels[2].name)
  64772. return _this.channel2OrNull == null;
  64773. if (channel === "alpha")
  64774. return _this.alphaOrNull == null;
  64775. throw A.wrapException(A.SassScriptException$("Color " + _this.toString$0(0) + " doesn't have a channel named \"" + channel + '".', channelName));
  64776. },
  64777. isChannelMissing$1(channel) {
  64778. return this.isChannelMissing$3$channelName$colorName(channel, null, null);
  64779. },
  64780. isChannelPowerless$3$channelName$colorName(channel, channelName, colorName) {
  64781. var _this = this,
  64782. channels = _this._space._channels;
  64783. if (channel === channels[0].name)
  64784. return _this.get$isChannel0Powerless();
  64785. if (channel === channels[1].name)
  64786. return false;
  64787. if (channel === channels[2].name)
  64788. return _this.get$isChannel2Powerless();
  64789. if (channel === "alpha")
  64790. return false;
  64791. throw A.wrapException(A.SassScriptException$("Color " + _this.toString$0(0) + " doesn't have a channel named \"" + channel + '".', channelName));
  64792. },
  64793. _legacyChannel$2(space, channel) {
  64794. if (!this._space.get$isLegacyInternal())
  64795. throw A.wrapException(A.SassScriptException$("color." + channel + string$.x28__is_oc, null));
  64796. return this.toSpace$1(space).channel$1(0, channel);
  64797. },
  64798. toSpace$2$legacyMissing(space, legacyMissing) {
  64799. var t2, converted, t3, t4, _this = this,
  64800. t1 = _this._space;
  64801. if (t1 === space)
  64802. return _this;
  64803. t2 = _this.alphaOrNull;
  64804. if (t2 == null)
  64805. t2 = 0;
  64806. converted = t1.convert$5(space, _this.channel0OrNull, _this.channel1OrNull, _this.channel2OrNull, t2);
  64807. t1 = false;
  64808. if (!legacyMissing)
  64809. if (converted._space.get$isLegacyInternal())
  64810. t1 = converted.channel0OrNull == null || converted.channel1OrNull == null || converted.channel2OrNull == null || converted.alphaOrNull == null;
  64811. if (t1) {
  64812. t1 = converted.channel0OrNull;
  64813. if (t1 == null)
  64814. t1 = 0;
  64815. t2 = converted.channel1OrNull;
  64816. if (t2 == null)
  64817. t2 = 0;
  64818. t3 = converted.channel2OrNull;
  64819. if (t3 == null)
  64820. t3 = 0;
  64821. t4 = converted.alphaOrNull;
  64822. if (t4 == null)
  64823. t4 = 0;
  64824. t4 = A.SassColor_SassColor$forSpaceInternal(converted._space, t1, t2, t3, t4);
  64825. t1 = t4;
  64826. } else
  64827. t1 = converted;
  64828. return t1;
  64829. },
  64830. toSpace$1(space) {
  64831. return this.toSpace$2$legacyMissing(space, true);
  64832. },
  64833. changeHsl$3$hue$lightness$saturation(hue, lightness, saturation) {
  64834. var t2, t3, t4, t5, _this = this, _null = null,
  64835. t1 = _this._space;
  64836. if (!t1.get$isLegacyInternal())
  64837. throw A.wrapException(A.SassScriptException$(string$.color_c, _null));
  64838. t2 = hue == null ? _null : hue;
  64839. if (t2 == null)
  64840. t2 = _this._legacyChannel$2(B.HslColorSpace_JQ2, "hue");
  64841. t3 = saturation == null ? _null : saturation;
  64842. if (t3 == null)
  64843. t3 = _this._legacyChannel$2(B.HslColorSpace_JQ2, "saturation");
  64844. t4 = lightness == null ? _null : lightness;
  64845. if (t4 == null)
  64846. t4 = _this._legacyChannel$2(B.HslColorSpace_JQ2, "lightness");
  64847. t5 = _this.alphaOrNull;
  64848. if (t5 == null)
  64849. t5 = 0;
  64850. return A.SassColor_SassColor$hsl(t2, t3, t4, t5).toSpace$1(t1);
  64851. },
  64852. changeHsl$1$saturation(saturation) {
  64853. return this.changeHsl$3$hue$lightness$saturation(null, null, saturation);
  64854. },
  64855. changeHsl$1$lightness(lightness) {
  64856. return this.changeHsl$3$hue$lightness$saturation(null, lightness, null);
  64857. },
  64858. changeHsl$1$hue(hue) {
  64859. return this.changeHsl$3$hue$lightness$saturation(hue, null, null);
  64860. },
  64861. changeAlpha$1(alpha) {
  64862. var t2, t3, _this = this,
  64863. t1 = _this.channel0OrNull;
  64864. if (t1 == null)
  64865. t1 = 0;
  64866. t2 = _this.channel1OrNull;
  64867. if (t2 == null)
  64868. t2 = 0;
  64869. t3 = _this.channel2OrNull;
  64870. if (t3 == null)
  64871. t3 = 0;
  64872. return A.SassColor_SassColor$forSpaceInternal(_this._space, t1, t2, t3, alpha);
  64873. },
  64874. interpolate$4$legacyMissing$weight(other, method, legacyMissing, weight) {
  64875. var t1, color1, color2, missing1_0, missing1_1, missing1_2, missing2_0, missing2_1, missing2_2, channel1_0, channel1_1, channel1_2, channel2_0, channel2_1, channel2_2, alpha1, t2, t3, alpha10, alpha2, alpha20, thisMultiplier, t4, t5, otherMultiplier, mixedAlpha, mixed0, mixed1, mixed2, _this = this, _null = null;
  64876. if (A.fuzzyEquals(weight, 0))
  64877. return other;
  64878. if (A.fuzzyEquals(weight, 1))
  64879. return _this;
  64880. t1 = method.space;
  64881. color1 = _this.toSpace$1(t1);
  64882. color2 = other.toSpace$1(t1);
  64883. if (weight < 0 || weight > 1)
  64884. throw A.wrapException(A.RangeError$range(weight, 0, 1, "weight", _null));
  64885. missing1_0 = _this._isAnalogousChannelMissing$3(_this, color1, 0);
  64886. missing1_1 = _this._isAnalogousChannelMissing$3(_this, color1, 1);
  64887. missing1_2 = _this._isAnalogousChannelMissing$3(_this, color1, 2);
  64888. missing2_0 = _this._isAnalogousChannelMissing$3(other, color2, 0);
  64889. missing2_1 = _this._isAnalogousChannelMissing$3(other, color2, 1);
  64890. missing2_2 = _this._isAnalogousChannelMissing$3(other, color2, 2);
  64891. channel1_0 = (missing1_0 ? color2 : color1).channel0OrNull;
  64892. if (channel1_0 == null)
  64893. channel1_0 = 0;
  64894. channel1_1 = (missing1_1 ? color2 : color1).channel1OrNull;
  64895. if (channel1_1 == null)
  64896. channel1_1 = 0;
  64897. channel1_2 = (missing1_2 ? color2 : color1).channel2OrNull;
  64898. if (channel1_2 == null)
  64899. channel1_2 = 0;
  64900. channel2_0 = (missing2_0 ? color1 : color2).channel0OrNull;
  64901. if (channel2_0 == null)
  64902. channel2_0 = 0;
  64903. channel2_1 = (missing2_1 ? color1 : color2).channel1OrNull;
  64904. if (channel2_1 == null)
  64905. channel2_1 = 0;
  64906. channel2_2 = (missing2_2 ? color1 : color2).channel2OrNull;
  64907. if (channel2_2 == null)
  64908. channel2_2 = 0;
  64909. alpha1 = _this.alphaOrNull;
  64910. t2 = alpha1 == null;
  64911. if (t2) {
  64912. t3 = other.alphaOrNull;
  64913. alpha10 = t3 == null ? 0 : t3;
  64914. } else
  64915. alpha10 = alpha1;
  64916. alpha2 = other.alphaOrNull;
  64917. t3 = alpha2 == null;
  64918. if (t3)
  64919. alpha20 = t2 ? 0 : alpha1;
  64920. else
  64921. alpha20 = alpha2;
  64922. thisMultiplier = (t2 ? 1 : alpha1) * weight;
  64923. t4 = t3 ? 1 : alpha2;
  64924. t5 = 1 - weight;
  64925. otherMultiplier = t4 * t5;
  64926. mixedAlpha = t2 && t3 ? _null : alpha10 * weight + alpha20 * t5;
  64927. if (missing1_0 && missing2_0)
  64928. mixed0 = _null;
  64929. else {
  64930. t2 = mixedAlpha == null ? 1 : mixedAlpha;
  64931. mixed0 = (channel1_0 * thisMultiplier + channel2_0 * otherMultiplier) / t2;
  64932. }
  64933. if (missing1_1 && missing2_1)
  64934. mixed1 = _null;
  64935. else {
  64936. t2 = mixedAlpha == null ? 1 : mixedAlpha;
  64937. mixed1 = (channel1_1 * thisMultiplier + channel2_1 * otherMultiplier) / t2;
  64938. }
  64939. if (missing1_2 && missing2_2)
  64940. mixed2 = _null;
  64941. else {
  64942. t2 = mixedAlpha == null ? 1 : mixedAlpha;
  64943. mixed2 = (channel1_2 * thisMultiplier + channel2_2 * otherMultiplier) / t2;
  64944. }
  64945. $label0$0: {
  64946. if (B.HslColorSpace_JQ2 === t1 || B.HwbColorSpace_guQ === t1) {
  64947. if (missing1_0 && missing2_0)
  64948. t2 = _null;
  64949. else {
  64950. t2 = method.hue;
  64951. t2.toString;
  64952. t2 = _this._interpolateHues$4(channel1_0, channel2_0, t2, weight);
  64953. }
  64954. t2 = A.SassColor_SassColor$forSpaceInternal(t1, t2, mixed1, mixed2, mixedAlpha);
  64955. t1 = t2;
  64956. break $label0$0;
  64957. }
  64958. if (B.LchColorSpace_Bpv === t1 || B.OklchColorSpace_9Gj === t1) {
  64959. if (missing1_2 && missing2_2)
  64960. t2 = _null;
  64961. else {
  64962. t2 = method.hue;
  64963. t2.toString;
  64964. t2 = _this._interpolateHues$4(channel1_2, channel2_2, t2, weight);
  64965. }
  64966. t2 = A.SassColor_SassColor$forSpaceInternal(t1, mixed0, mixed1, t2, mixedAlpha);
  64967. t1 = t2;
  64968. break $label0$0;
  64969. }
  64970. t1 = A.SassColor_SassColor$forSpaceInternal(t1, mixed0, mixed1, mixed2, mixedAlpha);
  64971. break $label0$0;
  64972. }
  64973. return t1.toSpace$2$legacyMissing(_this._space, false);
  64974. },
  64975. _isAnalogousChannelMissing$3(original, output, outputChannelIndex) {
  64976. var originalChannel;
  64977. if (output.get$channelsOrNull()[outputChannelIndex] == null)
  64978. return true;
  64979. if (original === output)
  64980. return false;
  64981. originalChannel = A.IterableExtension_firstWhereOrNull(original._space._channels, output._space._channels[outputChannelIndex].get$isAnalogous());
  64982. if (originalChannel == null)
  64983. return false;
  64984. return original.isChannelMissing$1(originalChannel.name);
  64985. },
  64986. _interpolateHues$4(hue1, hue2, method, weight) {
  64987. var _0_0, _1_0;
  64988. $label1$1: {
  64989. if (B.HueInterpolationMethod_0 === method) {
  64990. $label0$0: {
  64991. _0_0 = hue2 - hue1;
  64992. if (_0_0 > 180) {
  64993. hue1 += 360;
  64994. break $label0$0;
  64995. }
  64996. if (_0_0 < -180)
  64997. hue2 += 360;
  64998. }
  64999. break $label1$1;
  65000. }
  65001. if (B.HueInterpolationMethod_1 === method) {
  65002. $label2$2: {
  65003. _1_0 = hue2 - hue1;
  65004. if (_1_0 > 0 && _1_0 < 180) {
  65005. hue2 += 360;
  65006. break $label2$2;
  65007. }
  65008. if (_1_0 > -180 && _1_0 <= 0)
  65009. hue1 += 360;
  65010. }
  65011. break $label1$1;
  65012. }
  65013. if (B.HueInterpolationMethod_2 === method && hue2 < hue1) {
  65014. hue2 += 360;
  65015. break $label1$1;
  65016. }
  65017. if (B.HueInterpolationMethod_3 === method && hue1 < hue2) {
  65018. hue1 += 360;
  65019. break $label1$1;
  65020. }
  65021. }
  65022. return hue1 * weight + hue2 * (1 - weight);
  65023. },
  65024. plus$1(other) {
  65025. if (!(other instanceof A.SassNumber) && !(other instanceof A.SassColor))
  65026. return this.super$Value$plus(other);
  65027. throw A.wrapException(A.SassScriptException$('Undefined operation "' + this.toString$0(0) + " + " + other.toString$0(0) + '".', null));
  65028. },
  65029. minus$1(other) {
  65030. if (!(other instanceof A.SassNumber) && !(other instanceof A.SassColor))
  65031. return this.super$Value$minus(other);
  65032. throw A.wrapException(A.SassScriptException$('Undefined operation "' + this.toString$0(0) + " - " + other.toString$0(0) + '".', null));
  65033. },
  65034. dividedBy$1(other) {
  65035. if (!(other instanceof A.SassNumber) && !(other instanceof A.SassColor))
  65036. return this.super$Value$dividedBy(other);
  65037. throw A.wrapException(A.SassScriptException$('Undefined operation "' + this.toString$0(0) + " / " + other.toString$0(0) + '".', null));
  65038. },
  65039. $eq(_, other) {
  65040. var t1, t2, _this = this;
  65041. if (other == null)
  65042. return false;
  65043. if (!(other instanceof A.SassColor))
  65044. return false;
  65045. t1 = _this._space;
  65046. if (t1.get$isLegacyInternal()) {
  65047. t2 = other._space;
  65048. if (!t2.get$isLegacyInternal())
  65049. return false;
  65050. if (!A.fuzzyEqualsNullable(_this.alphaOrNull, other.alphaOrNull))
  65051. return false;
  65052. if (t1 === t2)
  65053. return A.fuzzyEqualsNullable(_this.channel0OrNull, other.channel0OrNull) && A.fuzzyEqualsNullable(_this.channel1OrNull, other.channel1OrNull) && A.fuzzyEqualsNullable(_this.channel2OrNull, other.channel2OrNull);
  65054. else
  65055. return _this.toSpace$1(B.RgbColorSpace_i0P).$eq(0, other.toSpace$1(B.RgbColorSpace_i0P));
  65056. }
  65057. return t1 === other._space && A.fuzzyEqualsNullable(_this.channel0OrNull, other.channel0OrNull) && A.fuzzyEqualsNullable(_this.channel1OrNull, other.channel1OrNull) && A.fuzzyEqualsNullable(_this.channel2OrNull, other.channel2OrNull) && A.fuzzyEqualsNullable(_this.alphaOrNull, other.alphaOrNull);
  65058. },
  65059. get$hashCode(_) {
  65060. var rgb, t2, t3, t4, t5, _this = this,
  65061. t1 = _this._space;
  65062. if (t1.get$isLegacyInternal()) {
  65063. rgb = _this.toSpace$1(B.RgbColorSpace_i0P);
  65064. t1 = rgb.channel0OrNull;
  65065. t1 = A.fuzzyHashCode(t1 == null ? 0 : t1);
  65066. t2 = rgb.channel1OrNull;
  65067. t2 = A.fuzzyHashCode(t2 == null ? 0 : t2);
  65068. t3 = rgb.channel2OrNull;
  65069. t3 = A.fuzzyHashCode(t3 == null ? 0 : t3);
  65070. t4 = _this.alphaOrNull;
  65071. return t1 ^ t2 ^ t3 ^ A.fuzzyHashCode(t4 == null ? 0 : t4);
  65072. } else {
  65073. t1 = A.Primitives_objectHashCode(t1);
  65074. t2 = _this.channel0OrNull;
  65075. t2 = A.fuzzyHashCode(t2 == null ? 0 : t2);
  65076. t3 = _this.channel1OrNull;
  65077. t3 = A.fuzzyHashCode(t3 == null ? 0 : t3);
  65078. t4 = _this.channel2OrNull;
  65079. t4 = A.fuzzyHashCode(t4 == null ? 0 : t4);
  65080. t5 = _this.alphaOrNull;
  65081. return (t1 ^ t2 ^ t3 ^ t4 ^ A.fuzzyHashCode(t5 == null ? 0 : t5)) >>> 0;
  65082. }
  65083. }
  65084. };
  65085. A.SassColor$_forSpace_closure.prototype = {
  65086. call$1(alpha) {
  65087. return A.fuzzyAssertRange(alpha, 0, 1, "alpha");
  65088. },
  65089. $signature: 16
  65090. };
  65091. A._ColorFormatEnum.prototype = {
  65092. toString$0(_) {
  65093. return "rgbFunction";
  65094. }
  65095. };
  65096. A.SpanColorFormat.prototype = {};
  65097. A.ColorChannel.prototype = {
  65098. isAnalogous$1(other) {
  65099. var _0_6_isSet, t1, _0_60, t2, _0_6_isSet0,
  65100. _0_1 = this.name,
  65101. _0_6 = other.name;
  65102. $label0$0: {
  65103. if ("red" !== _0_1)
  65104. _0_6_isSet = "x" === _0_1;
  65105. else
  65106. _0_6_isSet = true;
  65107. if (_0_6_isSet) {
  65108. if ("red" !== _0_6)
  65109. t1 = "x" === _0_6;
  65110. else
  65111. t1 = true;
  65112. _0_60 = _0_6;
  65113. } else {
  65114. _0_60 = null;
  65115. t1 = false;
  65116. }
  65117. t2 = true;
  65118. if (!t1) {
  65119. if ("green" !== _0_1)
  65120. t1 = "y" === _0_1;
  65121. else
  65122. t1 = true;
  65123. if (t1) {
  65124. _0_6_isSet0 = true;
  65125. if (_0_6_isSet)
  65126. t1 = _0_60;
  65127. else {
  65128. t1 = _0_6;
  65129. _0_6_isSet = _0_6_isSet0;
  65130. _0_60 = t1;
  65131. }
  65132. if ("green" !== t1) {
  65133. if (_0_6_isSet)
  65134. t1 = _0_60;
  65135. else {
  65136. t1 = _0_6;
  65137. _0_6_isSet = _0_6_isSet0;
  65138. _0_60 = t1;
  65139. }
  65140. t1 = "y" === t1;
  65141. } else
  65142. t1 = true;
  65143. } else
  65144. t1 = false;
  65145. if (!t1) {
  65146. if ("blue" !== _0_1)
  65147. t1 = "z" === _0_1;
  65148. else
  65149. t1 = true;
  65150. if (t1) {
  65151. _0_6_isSet0 = true;
  65152. if (_0_6_isSet)
  65153. t1 = _0_60;
  65154. else {
  65155. t1 = _0_6;
  65156. _0_6_isSet = _0_6_isSet0;
  65157. _0_60 = t1;
  65158. }
  65159. if ("blue" !== t1) {
  65160. if (_0_6_isSet)
  65161. t1 = _0_60;
  65162. else {
  65163. t1 = _0_6;
  65164. _0_6_isSet = _0_6_isSet0;
  65165. _0_60 = t1;
  65166. }
  65167. t1 = "z" === t1;
  65168. } else
  65169. t1 = true;
  65170. } else
  65171. t1 = false;
  65172. if (!t1) {
  65173. if ("chroma" !== _0_1)
  65174. t1 = "saturation" === _0_1;
  65175. else
  65176. t1 = true;
  65177. if (t1) {
  65178. _0_6_isSet0 = true;
  65179. if (_0_6_isSet)
  65180. t1 = _0_60;
  65181. else {
  65182. t1 = _0_6;
  65183. _0_6_isSet = _0_6_isSet0;
  65184. _0_60 = t1;
  65185. }
  65186. if ("chroma" !== t1) {
  65187. if (_0_6_isSet)
  65188. t1 = _0_60;
  65189. else {
  65190. t1 = _0_6;
  65191. _0_6_isSet = _0_6_isSet0;
  65192. _0_60 = t1;
  65193. }
  65194. t1 = "saturation" === t1;
  65195. } else
  65196. t1 = true;
  65197. } else
  65198. t1 = false;
  65199. if (!t1) {
  65200. if ("lightness" === _0_1) {
  65201. if (_0_6_isSet)
  65202. t1 = _0_60;
  65203. else {
  65204. t1 = _0_6;
  65205. _0_60 = t1;
  65206. _0_6_isSet = true;
  65207. }
  65208. t1 = "lightness" === t1;
  65209. } else
  65210. t1 = false;
  65211. if (!t1)
  65212. if ("hue" === _0_1)
  65213. t1 = "hue" === (_0_6_isSet ? _0_60 : _0_6);
  65214. else
  65215. t1 = false;
  65216. else
  65217. t1 = t2;
  65218. } else
  65219. t1 = t2;
  65220. } else
  65221. t1 = t2;
  65222. } else
  65223. t1 = t2;
  65224. } else
  65225. t1 = t2;
  65226. break $label0$0;
  65227. }
  65228. return t1;
  65229. }
  65230. };
  65231. A.LinearChannel.prototype = {};
  65232. A.GamutMapMethod.prototype = {
  65233. toString$0(_) {
  65234. return this.name;
  65235. }
  65236. };
  65237. A.ClipGamutMap.prototype = {
  65238. map$1(_, color) {
  65239. var t1 = color._space,
  65240. t2 = t1._channels;
  65241. return A.SassColor_SassColor$forSpaceInternal(t1, this._clampChannel$2(color.channel0OrNull, t2[0]), this._clampChannel$2(color.channel1OrNull, t2[1]), this._clampChannel$2(color.channel2OrNull, t2[2]), color.alphaOrNull);
  65242. },
  65243. _clampChannel$2(value, channel) {
  65244. var t1, min;
  65245. if (value == null)
  65246. t1 = null;
  65247. else
  65248. $label0$0: {
  65249. if (channel instanceof A.LinearChannel) {
  65250. min = channel.min;
  65251. t1 = isNaN(value) ? min : B.JSNumber_methods.clamp$2(value, min, channel.max);
  65252. break $label0$0;
  65253. }
  65254. t1 = value;
  65255. break $label0$0;
  65256. }
  65257. return t1;
  65258. }
  65259. };
  65260. A.LocalMindeGamutMap.prototype = {
  65261. map$1(_, color) {
  65262. var clipped, max, min, minInGamut, chroma, current, e,
  65263. originOklch = color.toSpace$1(B.OklchColorSpace_9Gj),
  65264. lightness = originOklch.channel0OrNull,
  65265. hue = originOklch.channel2OrNull,
  65266. alpha = originOklch.alphaOrNull,
  65267. t1 = lightness == null,
  65268. t2 = t1 ? 0 : lightness;
  65269. if (t2 > 1 || A.fuzzyEquals(t2, 1)) {
  65270. t1 = color._space;
  65271. t2 = color.alphaOrNull;
  65272. return t1.get$isLegacyInternal() ? A.SassColor_SassColor$rgbInternal(255, 255, 255, t2, null).toSpace$1(t1) : A.SassColor_SassColor$forSpaceInternal(t1, 1, 1, 1, t2);
  65273. } else {
  65274. t1 = t1 ? 0 : lightness;
  65275. if (t1 < 0 || A.fuzzyEquals(t1, 0))
  65276. return A.SassColor_SassColor$rgbInternal(0, 0, 0, color.alphaOrNull, null).toSpace$1(color._space);
  65277. }
  65278. clipped = color.get$isInGamut() ? color : B.ClipGamutMap_clip.map$1(0, color);
  65279. if (this._deltaEOK$2(clipped, color) < 0.02)
  65280. return clipped;
  65281. max = originOklch.channel1OrNull;
  65282. if (max == null)
  65283. max = 0;
  65284. for (t1 = color._space, min = 0, minInGamut = true; max - min > 0.0001;) {
  65285. chroma = (min + max) / 2;
  65286. current = B.OklchColorSpace_9Gj.convert$5(t1, lightness, chroma, hue, alpha);
  65287. if (minInGamut && current.get$isInGamut()) {
  65288. min = chroma;
  65289. continue;
  65290. }
  65291. clipped = current.get$isInGamut() ? current : B.ClipGamutMap_clip.map$1(0, current);
  65292. e = this._deltaEOK$2(clipped, current);
  65293. if (e < 0.02) {
  65294. if (0.02 - e < 0.0001)
  65295. return clipped;
  65296. min = chroma;
  65297. minInGamut = false;
  65298. } else
  65299. max = chroma;
  65300. }
  65301. return clipped;
  65302. },
  65303. _deltaEOK$2(color1, color2) {
  65304. var t2, t3, t4,
  65305. lab1 = color1.toSpace$1(B.OklabColorSpace_540),
  65306. lab2 = color2.toSpace$1(B.OklabColorSpace_540),
  65307. t1 = lab1.channel0OrNull;
  65308. if (t1 == null)
  65309. t1 = 0;
  65310. t2 = lab2.channel0OrNull;
  65311. t1 = Math.pow(t1 - (t2 == null ? 0 : t2), 2);
  65312. t2 = lab1.channel1OrNull;
  65313. if (t2 == null)
  65314. t2 = 0;
  65315. t3 = lab2.channel1OrNull;
  65316. t2 = Math.pow(t2 - (t3 == null ? 0 : t3), 2);
  65317. t3 = lab1.channel2OrNull;
  65318. if (t3 == null)
  65319. t3 = 0;
  65320. t4 = lab2.channel2OrNull;
  65321. return Math.sqrt(t1 + t2 + Math.pow(t3 - (t4 == null ? 0 : t4), 2));
  65322. }
  65323. };
  65324. A.InterpolationMethod.prototype = {
  65325. toString$0(_) {
  65326. var t1 = this.hue;
  65327. t1 = t1 == null ? "" : " " + t1.toString$0(0) + " hue";
  65328. return this.space.name + t1;
  65329. }
  65330. };
  65331. A.HueInterpolationMethod.prototype = {
  65332. _enumToString$0() {
  65333. return "HueInterpolationMethod." + this._name;
  65334. }
  65335. };
  65336. A.ColorSpace.prototype = {
  65337. get$isLegacyInternal() {
  65338. return false;
  65339. },
  65340. get$isPolarInternal() {
  65341. return false;
  65342. },
  65343. convert$5(dest, channel0, channel1, channel2, alpha) {
  65344. return this.convertLinear$5(dest, channel0, channel1, channel2, alpha);
  65345. },
  65346. convertLinear$10$missingA$missingB$missingChroma$missingHue$missingLightness(dest, red, green, blue, alpha, missingA, missingB, missingChroma, missingHue, missingLightness) {
  65347. var t1, t2, transformedBlue, transformedGreen, transformedRed, linearRed, linearGreen, linearBlue, matrix, _this = this;
  65348. $label0$0: {
  65349. t1 = B.HslColorSpace_JQ2 !== dest;
  65350. if (!t1 || B.HwbColorSpace_guQ === dest) {
  65351. t2 = B.SrgbColorSpace_thf;
  65352. break $label0$0;
  65353. }
  65354. if (B.LabColorSpace_2nT === dest || B.LchColorSpace_Bpv === dest) {
  65355. t2 = B.XyzD50ColorSpace_2OB;
  65356. break $label0$0;
  65357. }
  65358. if (B.OklabColorSpace_540 === dest || B.OklchColorSpace_9Gj === dest) {
  65359. t2 = B.LmsColorSpace_Os3;
  65360. break $label0$0;
  65361. }
  65362. t2 = dest;
  65363. break $label0$0;
  65364. }
  65365. if (t2 === _this) {
  65366. transformedBlue = blue;
  65367. transformedGreen = green;
  65368. transformedRed = red;
  65369. } else {
  65370. linearRed = _this.toLinear$1(red == null ? 0 : red);
  65371. linearGreen = _this.toLinear$1(green == null ? 0 : green);
  65372. linearBlue = _this.toLinear$1(blue == null ? 0 : blue);
  65373. matrix = _this.transformationMatrix$1(t2);
  65374. transformedRed = t2.fromLinear$1(matrix[0] * linearRed + matrix[1] * linearGreen + matrix[2] * linearBlue);
  65375. transformedGreen = t2.fromLinear$1(matrix[3] * linearRed + matrix[4] * linearGreen + matrix[5] * linearBlue);
  65376. transformedBlue = t2.fromLinear$1(matrix[6] * linearRed + matrix[7] * linearGreen + matrix[8] * linearBlue);
  65377. }
  65378. $label1$1: {
  65379. if (!t1 || B.HwbColorSpace_guQ === dest) {
  65380. t1 = B.SrgbColorSpace_thf.convert$8$missingChroma$missingHue$missingLightness(dest, transformedRed, transformedGreen, transformedBlue, alpha, missingChroma, missingHue, missingLightness);
  65381. break $label1$1;
  65382. }
  65383. if (B.LabColorSpace_2nT === dest || B.LchColorSpace_Bpv === dest) {
  65384. t1 = B.XyzD50ColorSpace_2OB.convert$10$missingA$missingB$missingChroma$missingHue$missingLightness(dest, transformedRed, transformedGreen, transformedBlue, alpha, missingA, missingB, missingChroma, missingHue, missingLightness);
  65385. break $label1$1;
  65386. }
  65387. if (B.OklabColorSpace_540 === dest || B.OklchColorSpace_9Gj === dest) {
  65388. t1 = B.LmsColorSpace_Os3.convert$10$missingA$missingB$missingChroma$missingHue$missingLightness(dest, transformedRed, transformedGreen, transformedBlue, alpha, missingA, missingB, missingChroma, missingHue, missingLightness);
  65389. break $label1$1;
  65390. }
  65391. t1 = red == null ? null : transformedRed;
  65392. t2 = green == null ? null : transformedGreen;
  65393. t1 = A.SassColor_SassColor$forSpaceInternal(dest, t1, t2, blue == null ? null : transformedBlue, alpha);
  65394. break $label1$1;
  65395. }
  65396. return t1;
  65397. },
  65398. convertLinear$5(dest, red, green, blue, alpha) {
  65399. return this.convertLinear$10$missingA$missingB$missingChroma$missingHue$missingLightness(dest, red, green, blue, alpha, false, false, false, false, false);
  65400. },
  65401. toLinear$1(channel) {
  65402. return A.throwExpression(A.UnimplementedError$("[BUG] Color space " + this.toString$0(0) + " doesn't support linear conversions."));
  65403. },
  65404. fromLinear$1(channel) {
  65405. return A.throwExpression(A.UnimplementedError$("[BUG] Color space " + this.toString$0(0) + " doesn't support linear conversions."));
  65406. },
  65407. transformationMatrix$1(dest) {
  65408. return A.throwExpression(A.UnimplementedError$("[BUG] Color space conversion from " + this.toString$0(0) + " to " + dest.toString$0(0) + " not implemented."));
  65409. },
  65410. toString$0(_) {
  65411. return this.name;
  65412. }
  65413. };
  65414. A.A98RgbColorSpace.prototype = {
  65415. get$isBoundedInternal() {
  65416. return true;
  65417. },
  65418. toLinear$1(channel) {
  65419. return J.get$sign$in(channel) * Math.pow(Math.abs(channel), 2.19921875);
  65420. },
  65421. fromLinear$1(channel) {
  65422. return J.get$sign$in(channel) * Math.pow(Math.abs(channel), 0.4547069271758437);
  65423. },
  65424. transformationMatrix$1(dest) {
  65425. var t1;
  65426. $label0$0: {
  65427. if (B.SrgbLinearColorSpace_kUj === dest || B.SrgbColorSpace_thf === dest || B.RgbColorSpace_i0P === dest) {
  65428. t1 = $.$get$linearA98RgbToLinearSrgb();
  65429. break $label0$0;
  65430. }
  65431. if (B.DisplayP3ColorSpace_MmT === dest) {
  65432. t1 = $.$get$linearA98RgbToLinearDisplayP3();
  65433. break $label0$0;
  65434. }
  65435. if (B.ProphotoRgbColorSpace_BDz === dest) {
  65436. t1 = $.$get$linearA98RgbToLinearProphotoRgb();
  65437. break $label0$0;
  65438. }
  65439. if (B.Rec2020ColorSpace_6oo === dest) {
  65440. t1 = $.$get$linearA98RgbToLinearRec2020();
  65441. break $label0$0;
  65442. }
  65443. if (B.XyzD65ColorSpace_WiJ === dest) {
  65444. t1 = $.$get$linearA98RgbToXyzD65();
  65445. break $label0$0;
  65446. }
  65447. if (B.XyzD50ColorSpace_2OB === dest) {
  65448. t1 = $.$get$linearA98RgbToXyzD50();
  65449. break $label0$0;
  65450. }
  65451. if (B.LmsColorSpace_Os3 === dest) {
  65452. t1 = $.$get$linearA98RgbToLms();
  65453. break $label0$0;
  65454. }
  65455. t1 = this.super$ColorSpace$transformationMatrix(dest);
  65456. break $label0$0;
  65457. }
  65458. return t1;
  65459. }
  65460. };
  65461. A.DisplayP3ColorSpace.prototype = {
  65462. get$isBoundedInternal() {
  65463. return true;
  65464. },
  65465. toLinear$1(channel) {
  65466. return A.srgbAndDisplayP3ToLinear(channel);
  65467. },
  65468. fromLinear$1(channel) {
  65469. return A.srgbAndDisplayP3FromLinear(channel);
  65470. },
  65471. transformationMatrix$1(dest) {
  65472. var t1;
  65473. $label0$0: {
  65474. if (B.SrgbLinearColorSpace_kUj === dest || B.SrgbColorSpace_thf === dest || B.RgbColorSpace_i0P === dest) {
  65475. t1 = $.$get$linearDisplayP3ToLinearSrgb();
  65476. break $label0$0;
  65477. }
  65478. if (B.A98RgbColorSpace_lf2 === dest) {
  65479. t1 = $.$get$linearDisplayP3ToLinearA98Rgb();
  65480. break $label0$0;
  65481. }
  65482. if (B.ProphotoRgbColorSpace_BDz === dest) {
  65483. t1 = $.$get$linearDisplayP3ToLinearProphotoRgb();
  65484. break $label0$0;
  65485. }
  65486. if (B.Rec2020ColorSpace_6oo === dest) {
  65487. t1 = $.$get$linearDisplayP3ToLinearRec2020();
  65488. break $label0$0;
  65489. }
  65490. if (B.XyzD65ColorSpace_WiJ === dest) {
  65491. t1 = $.$get$linearDisplayP3ToXyzD65();
  65492. break $label0$0;
  65493. }
  65494. if (B.XyzD50ColorSpace_2OB === dest) {
  65495. t1 = $.$get$linearDisplayP3ToXyzD50();
  65496. break $label0$0;
  65497. }
  65498. if (B.LmsColorSpace_Os3 === dest) {
  65499. t1 = $.$get$linearDisplayP3ToLms();
  65500. break $label0$0;
  65501. }
  65502. t1 = this.super$ColorSpace$transformationMatrix(dest);
  65503. break $label0$0;
  65504. }
  65505. return t1;
  65506. }
  65507. };
  65508. A.HslColorSpace.prototype = {
  65509. get$isBoundedInternal() {
  65510. return true;
  65511. },
  65512. get$isLegacyInternal() {
  65513. return true;
  65514. },
  65515. get$isPolarInternal() {
  65516. return true;
  65517. },
  65518. convert$5(dest, hue, saturation, lightness, alpha) {
  65519. var t1 = hue == null,
  65520. scaledHue = B.JSNumber_methods.$mod((t1 ? 0 : hue) / 360, 1),
  65521. t2 = saturation == null,
  65522. scaledSaturation = (t2 ? 0 : saturation) / 100,
  65523. t3 = lightness == null,
  65524. scaledLightness = (t3 ? 0 : lightness) / 100,
  65525. m2 = scaledLightness <= 0.5 ? scaledLightness * (scaledSaturation + 1) : scaledLightness + scaledSaturation - scaledLightness * scaledSaturation,
  65526. m1 = scaledLightness * 2 - m2;
  65527. return B.SrgbColorSpace_thf.convert$8$missingChroma$missingHue$missingLightness(dest, A.hueToRgb(m1, m2, scaledHue + 0.3333333333333333), A.hueToRgb(m1, m2, scaledHue), A.hueToRgb(m1, m2, scaledHue - 0.3333333333333333), alpha, t2, t1, t3);
  65528. }
  65529. };
  65530. A.HwbColorSpace.prototype = {
  65531. get$isBoundedInternal() {
  65532. return true;
  65533. },
  65534. get$isLegacyInternal() {
  65535. return true;
  65536. },
  65537. get$isPolarInternal() {
  65538. return true;
  65539. },
  65540. convert$5(dest, hue, whiteness, blackness, alpha) {
  65541. var t3, t1 = {},
  65542. t2 = hue == null,
  65543. scaledHue = B.JSNumber_methods.$mod(t2 ? 0 : hue, 360) / 360,
  65544. scaledWhiteness = t1.scaledWhiteness = (whiteness == null ? 0 : whiteness) / 100,
  65545. scaledBlackness = (blackness == null ? 0 : blackness) / 100,
  65546. sum = scaledWhiteness + scaledBlackness;
  65547. if (sum > 1) {
  65548. t3 = t1.scaledWhiteness = scaledWhiteness / sum;
  65549. scaledBlackness /= sum;
  65550. } else
  65551. t3 = scaledWhiteness;
  65552. t3 = new A.HwbColorSpace_convert_toRgb(t1, 1 - t3 - scaledBlackness);
  65553. return B.SrgbColorSpace_thf.convert$6$missingHue(dest, t3.call$1(scaledHue + 0.3333333333333333), t3.call$1(scaledHue), t3.call$1(scaledHue - 0.3333333333333333), alpha, t2);
  65554. }
  65555. };
  65556. A.HwbColorSpace_convert_toRgb.prototype = {
  65557. call$1(hue) {
  65558. return A.hueToRgb(0, 1, hue) * this.factor + this._box_0.scaledWhiteness;
  65559. },
  65560. $signature: 16
  65561. };
  65562. A.LabColorSpace.prototype = {
  65563. get$isBoundedInternal() {
  65564. return false;
  65565. },
  65566. convert$7$missingChroma$missingHue(dest, lightness, a, b, alpha, missingChroma, missingHue) {
  65567. var powerlessAB, t1, missingLightness, f1, t2, t3, t4;
  65568. switch (dest) {
  65569. case B.LabColorSpace_2nT:
  65570. powerlessAB = lightness == null || A.fuzzyEquals(lightness, 0);
  65571. t1 = a == null || powerlessAB ? null : a;
  65572. return A.SassColor$_forSpace(B.LabColorSpace_2nT, lightness, t1, b == null || powerlessAB ? null : b, alpha, null);
  65573. case B.LchColorSpace_Bpv:
  65574. return A.labToLch(dest, lightness, a, b, alpha, false, false);
  65575. default:
  65576. missingLightness = lightness == null;
  65577. if (missingLightness)
  65578. lightness = 0;
  65579. f1 = (lightness + 16) / 116;
  65580. t1 = a == null;
  65581. t2 = this._convertFToXorZ$1((t1 ? 0 : a) / 500 + f1);
  65582. t3 = lightness > 8 ? Math.pow(f1, 3) : lightness / 903.2962962962963;
  65583. t4 = b == null;
  65584. return B.XyzD50ColorSpace_2OB.convert$10$missingA$missingB$missingChroma$missingHue$missingLightness(dest, t2 * 0.9642956764295677, t3, this._convertFToXorZ$1(f1 - (t4 ? 0 : b) / 200) * 0.8251046025104602, alpha, t1, t4, missingChroma, missingHue, missingLightness);
  65585. }
  65586. },
  65587. convert$5(dest, lightness, a, b, alpha) {
  65588. return this.convert$7$missingChroma$missingHue(dest, lightness, a, b, alpha, false, false);
  65589. },
  65590. _convertFToXorZ$1(component) {
  65591. var cubed = Math.pow(component, 3) + 0;
  65592. return cubed > 0.008856451679035631 ? cubed : (116 * component - 16) / 903.2962962962963;
  65593. }
  65594. };
  65595. A.LchColorSpace.prototype = {
  65596. get$isBoundedInternal() {
  65597. return false;
  65598. },
  65599. get$isPolarInternal() {
  65600. return true;
  65601. },
  65602. convert$5(dest, lightness, chroma, hue, alpha) {
  65603. var t1 = hue == null,
  65604. hueRadians = (t1 ? 0 : hue) * 3.141592653589793 / 180,
  65605. t2 = chroma == null,
  65606. t3 = t2 ? 0 : chroma,
  65607. t4 = Math.cos(hueRadians),
  65608. t5 = t2 ? 0 : chroma;
  65609. return B.LabColorSpace_2nT.convert$7$missingChroma$missingHue(dest, lightness, t3 * t4, t5 * Math.sin(hueRadians), alpha, t2, t1);
  65610. }
  65611. };
  65612. A.LmsColorSpace.prototype = {
  65613. get$isBoundedInternal() {
  65614. return false;
  65615. },
  65616. convert$10$missingA$missingB$missingChroma$missingHue$missingLightness(dest, long, medium, short, alpha, missingA, missingB, missingChroma, missingHue, missingLightness) {
  65617. var t1, longScaled, mediumScaled, shortScaled, lightness, t2, t3, _null = null;
  65618. switch (dest) {
  65619. case B.OklabColorSpace_540:
  65620. t1 = long == null ? 0 : long;
  65621. longScaled = Math.pow(Math.abs(t1), 0.3333333333333333) * J.get$sign$in(t1);
  65622. t1 = medium == null ? 0 : medium;
  65623. mediumScaled = Math.pow(Math.abs(t1), 0.3333333333333333) * J.get$sign$in(t1);
  65624. t1 = short == null ? 0 : short;
  65625. shortScaled = Math.pow(Math.abs(t1), 0.3333333333333333) * J.get$sign$in(t1);
  65626. t1 = $.$get$lmsToOklab();
  65627. lightness = t1[0] * longScaled + t1[1] * mediumScaled + t1[2] * shortScaled;
  65628. t2 = missingLightness ? _null : lightness;
  65629. t3 = missingA ? _null : t1[3] * longScaled + t1[4] * mediumScaled + t1[5] * shortScaled;
  65630. return A.SassColor$_forSpace(B.OklabColorSpace_540, t2, t3, missingB ? _null : t1[6] * longScaled + t1[7] * mediumScaled + t1[8] * shortScaled, alpha, _null);
  65631. case B.OklchColorSpace_9Gj:
  65632. t1 = long == null ? 0 : long;
  65633. longScaled = Math.pow(Math.abs(t1), 0.3333333333333333) * J.get$sign$in(t1);
  65634. t1 = medium == null ? 0 : medium;
  65635. mediumScaled = Math.pow(Math.abs(t1), 0.3333333333333333) * J.get$sign$in(t1);
  65636. t1 = short == null ? 0 : short;
  65637. shortScaled = Math.pow(Math.abs(t1), 0.3333333333333333) * J.get$sign$in(t1);
  65638. if (missingLightness)
  65639. t1 = _null;
  65640. else {
  65641. t1 = $.$get$lmsToOklab();
  65642. t1 = t1[0] * longScaled + t1[1] * mediumScaled + t1[2] * shortScaled;
  65643. }
  65644. t2 = $.$get$lmsToOklab();
  65645. return A.labToLch(dest, t1, t2[3] * longScaled + t2[4] * mediumScaled + t2[5] * shortScaled, t2[6] * longScaled + t2[7] * mediumScaled + t2[8] * shortScaled, alpha, missingChroma, missingHue);
  65646. default:
  65647. return this.super$ColorSpace$convertLinear(dest, long, medium, short, alpha, missingA, missingB, missingChroma, missingHue, missingLightness);
  65648. }
  65649. },
  65650. convert$5(dest, long, medium, short, alpha) {
  65651. return this.convert$10$missingA$missingB$missingChroma$missingHue$missingLightness(dest, long, medium, short, alpha, false, false, false, false, false);
  65652. },
  65653. toLinear$1(channel) {
  65654. return channel;
  65655. },
  65656. fromLinear$1(channel) {
  65657. return channel;
  65658. },
  65659. transformationMatrix$1(dest) {
  65660. var t1;
  65661. $label0$0: {
  65662. if (B.SrgbLinearColorSpace_kUj === dest || B.SrgbColorSpace_thf === dest || B.RgbColorSpace_i0P === dest) {
  65663. t1 = $.$get$lmsToLinearSrgb();
  65664. break $label0$0;
  65665. }
  65666. if (B.A98RgbColorSpace_lf2 === dest) {
  65667. t1 = $.$get$lmsToLinearA98Rgb();
  65668. break $label0$0;
  65669. }
  65670. if (B.ProphotoRgbColorSpace_BDz === dest) {
  65671. t1 = $.$get$lmsToLinearProphotoRgb();
  65672. break $label0$0;
  65673. }
  65674. if (B.DisplayP3ColorSpace_MmT === dest) {
  65675. t1 = $.$get$lmsToLinearDisplayP3();
  65676. break $label0$0;
  65677. }
  65678. if (B.Rec2020ColorSpace_6oo === dest) {
  65679. t1 = $.$get$lmsToLinearRec2020();
  65680. break $label0$0;
  65681. }
  65682. if (B.XyzD65ColorSpace_WiJ === dest) {
  65683. t1 = $.$get$lmsToXyzD65();
  65684. break $label0$0;
  65685. }
  65686. if (B.XyzD50ColorSpace_2OB === dest) {
  65687. t1 = $.$get$lmsToXyzD50();
  65688. break $label0$0;
  65689. }
  65690. t1 = this.super$ColorSpace$transformationMatrix(dest);
  65691. break $label0$0;
  65692. }
  65693. return t1;
  65694. }
  65695. };
  65696. A.OklabColorSpace.prototype = {
  65697. get$isBoundedInternal() {
  65698. return false;
  65699. },
  65700. convert$7$missingChroma$missingHue(dest, lightness, a, b, alpha, missingChroma, missingHue) {
  65701. var missingLightness, missingA, missingB, t1;
  65702. if (dest === B.OklchColorSpace_9Gj)
  65703. return A.labToLch(dest, lightness, a, b, alpha, missingChroma, missingHue);
  65704. missingLightness = lightness == null;
  65705. missingA = a == null;
  65706. missingB = b == null;
  65707. if (missingLightness)
  65708. lightness = 0;
  65709. if (missingA)
  65710. a = 0;
  65711. if (missingB)
  65712. b = 0;
  65713. t1 = $.$get$oklabToLms();
  65714. return B.LmsColorSpace_Os3.convert$10$missingA$missingB$missingChroma$missingHue$missingLightness(dest, Math.pow(t1[0] * lightness + t1[1] * a + t1[2] * b, 3) + 0, Math.pow(t1[3] * lightness + t1[4] * a + t1[5] * b, 3) + 0, Math.pow(t1[6] * lightness + t1[7] * a + t1[8] * b, 3) + 0, alpha, missingA, missingB, missingChroma, missingHue, missingLightness);
  65715. },
  65716. convert$5(dest, lightness, a, b, alpha) {
  65717. return this.convert$7$missingChroma$missingHue(dest, lightness, a, b, alpha, false, false);
  65718. }
  65719. };
  65720. A.OklchColorSpace.prototype = {
  65721. get$isBoundedInternal() {
  65722. return false;
  65723. },
  65724. get$isPolarInternal() {
  65725. return true;
  65726. },
  65727. convert$5(dest, lightness, chroma, hue, alpha) {
  65728. var t1 = hue == null,
  65729. hueRadians = (t1 ? 0 : hue) * 3.141592653589793 / 180,
  65730. t2 = chroma == null,
  65731. t3 = t2 ? 0 : chroma,
  65732. t4 = Math.cos(hueRadians),
  65733. t5 = t2 ? 0 : chroma;
  65734. return B.OklabColorSpace_540.convert$7$missingChroma$missingHue(dest, lightness, t3 * t4, t5 * Math.sin(hueRadians), alpha, t2, t1);
  65735. }
  65736. };
  65737. A.ProphotoRgbColorSpace.prototype = {
  65738. get$isBoundedInternal() {
  65739. return true;
  65740. },
  65741. toLinear$1(channel) {
  65742. var abs = Math.abs(channel);
  65743. return abs <= 0.03125 ? channel / 16 : J.get$sign$in(channel) * Math.pow(abs, 1.8);
  65744. },
  65745. fromLinear$1(channel) {
  65746. var abs = Math.abs(channel);
  65747. return abs >= 0.001953125 ? J.get$sign$in(channel) * Math.pow(abs, 0.5555555555555556) : 16 * channel;
  65748. },
  65749. transformationMatrix$1(dest) {
  65750. var t1;
  65751. $label0$0: {
  65752. if (B.SrgbLinearColorSpace_kUj === dest || B.SrgbColorSpace_thf === dest || B.RgbColorSpace_i0P === dest) {
  65753. t1 = $.$get$linearProphotoRgbToLinearSrgb();
  65754. break $label0$0;
  65755. }
  65756. if (B.A98RgbColorSpace_lf2 === dest) {
  65757. t1 = $.$get$linearProphotoRgbToLinearA98Rgb();
  65758. break $label0$0;
  65759. }
  65760. if (B.DisplayP3ColorSpace_MmT === dest) {
  65761. t1 = $.$get$linearProphotoRgbToLinearDisplayP3();
  65762. break $label0$0;
  65763. }
  65764. if (B.Rec2020ColorSpace_6oo === dest) {
  65765. t1 = $.$get$linearProphotoRgbToLinearRec2020();
  65766. break $label0$0;
  65767. }
  65768. if (B.XyzD65ColorSpace_WiJ === dest) {
  65769. t1 = $.$get$linearProphotoRgbToXyzD65();
  65770. break $label0$0;
  65771. }
  65772. if (B.XyzD50ColorSpace_2OB === dest) {
  65773. t1 = $.$get$linearProphotoRgbToXyzD50();
  65774. break $label0$0;
  65775. }
  65776. if (B.LmsColorSpace_Os3 === dest) {
  65777. t1 = $.$get$linearProphotoRgbToLms();
  65778. break $label0$0;
  65779. }
  65780. t1 = this.super$ColorSpace$transformationMatrix(dest);
  65781. break $label0$0;
  65782. }
  65783. return t1;
  65784. }
  65785. };
  65786. A.Rec2020ColorSpace.prototype = {
  65787. get$isBoundedInternal() {
  65788. return true;
  65789. },
  65790. toLinear$1(channel) {
  65791. var abs = Math.abs(channel);
  65792. return abs < 0.08124285829863151 ? channel / 4.5 : J.get$sign$in(channel) * Math.pow((abs + 1.09929682680944 - 1) / 1.09929682680944, 2.2222222222222223);
  65793. },
  65794. fromLinear$1(channel) {
  65795. var abs = Math.abs(channel);
  65796. return abs > 0.018053968510807 ? J.get$sign$in(channel) * (1.09929682680944 * Math.pow(abs, 0.45) - 0.09929682680944008) : 4.5 * channel;
  65797. },
  65798. transformationMatrix$1(dest) {
  65799. var t1;
  65800. $label0$0: {
  65801. if (B.SrgbLinearColorSpace_kUj === dest || B.SrgbColorSpace_thf === dest || B.RgbColorSpace_i0P === dest) {
  65802. t1 = $.$get$linearRec2020ToLinearSrgb();
  65803. break $label0$0;
  65804. }
  65805. if (B.A98RgbColorSpace_lf2 === dest) {
  65806. t1 = $.$get$linearRec2020ToLinearA98Rgb();
  65807. break $label0$0;
  65808. }
  65809. if (B.DisplayP3ColorSpace_MmT === dest) {
  65810. t1 = $.$get$linearRec2020ToLinearDisplayP3();
  65811. break $label0$0;
  65812. }
  65813. if (B.ProphotoRgbColorSpace_BDz === dest) {
  65814. t1 = $.$get$linearRec2020ToLinearProphotoRgb();
  65815. break $label0$0;
  65816. }
  65817. if (B.XyzD65ColorSpace_WiJ === dest) {
  65818. t1 = $.$get$linearRec2020ToXyzD65();
  65819. break $label0$0;
  65820. }
  65821. if (B.XyzD50ColorSpace_2OB === dest) {
  65822. t1 = $.$get$linearRec2020ToXyzD50();
  65823. break $label0$0;
  65824. }
  65825. if (B.LmsColorSpace_Os3 === dest) {
  65826. t1 = $.$get$linearRec2020ToLms();
  65827. break $label0$0;
  65828. }
  65829. t1 = this.super$ColorSpace$transformationMatrix(dest);
  65830. break $label0$0;
  65831. }
  65832. return t1;
  65833. }
  65834. };
  65835. A.RgbColorSpace.prototype = {
  65836. get$isBoundedInternal() {
  65837. return true;
  65838. },
  65839. get$isLegacyInternal() {
  65840. return true;
  65841. },
  65842. convert$5(dest, red, green, blue, alpha) {
  65843. var t1 = red == null ? null : red / 255,
  65844. t2 = green == null ? null : green / 255;
  65845. return B.SrgbColorSpace_thf.convert$5(dest, t1, t2, blue == null ? null : blue / 255, alpha);
  65846. },
  65847. toLinear$1(channel) {
  65848. return A.srgbAndDisplayP3ToLinear(channel / 255);
  65849. },
  65850. fromLinear$1(channel) {
  65851. return A.srgbAndDisplayP3FromLinear(channel) * 255;
  65852. }
  65853. };
  65854. A.SrgbColorSpace.prototype = {
  65855. get$isBoundedInternal() {
  65856. return true;
  65857. },
  65858. convert$8$missingChroma$missingHue$missingLightness(dest, red, green, blue, alpha, missingChroma, missingHue, missingLightness) {
  65859. var max, min, delta, hue, lightness, saturation, t1, t2, whiteness, blackness, _null = null;
  65860. if (B.HslColorSpace_JQ2 === dest || B.HwbColorSpace_guQ === dest) {
  65861. if (red == null)
  65862. red = 0;
  65863. if (green == null)
  65864. green = 0;
  65865. if (blue == null)
  65866. blue = 0;
  65867. max = Math.max(Math.max(red, green), blue);
  65868. min = Math.min(Math.min(red, green), blue);
  65869. delta = max - min;
  65870. if (max === min)
  65871. hue = 0;
  65872. else if (max === red)
  65873. hue = 60 * (green - blue) / delta + 360;
  65874. else
  65875. hue = max === green ? 60 * (blue - red) / delta + 120 : 60 * (red - green) / delta + 240;
  65876. if (dest === B.HslColorSpace_JQ2) {
  65877. lightness = (min + max) / 2;
  65878. saturation = lightness === 0 || lightness === 1 ? 0 : 100 * (max - lightness) / Math.min(lightness, 1 - lightness);
  65879. if (saturation < 0) {
  65880. hue += 180;
  65881. saturation = Math.abs(saturation);
  65882. }
  65883. t1 = missingHue || A.fuzzyEquals(saturation, 0) ? _null : B.JSNumber_methods.$mod(hue, 360);
  65884. t2 = missingChroma ? _null : saturation;
  65885. return A.SassColor_SassColor$forSpaceInternal(dest, t1, t2, missingLightness ? _null : lightness * 100, alpha);
  65886. } else {
  65887. whiteness = min * 100;
  65888. blackness = 100 - max * 100;
  65889. if (!missingHue) {
  65890. t1 = whiteness + blackness;
  65891. t1 = t1 > 100 || A.fuzzyEquals(t1, 100);
  65892. } else
  65893. t1 = true;
  65894. return A.SassColor_SassColor$forSpaceInternal(dest, t1 ? _null : B.JSNumber_methods.$mod(hue, 360), whiteness, blackness, alpha);
  65895. }
  65896. }
  65897. if (B.RgbColorSpace_i0P === dest) {
  65898. t1 = red == null ? _null : red * 255;
  65899. t2 = green == null ? _null : green * 255;
  65900. return A.SassColor_SassColor$rgbInternal(t1, t2, blue == null ? _null : blue * 255, alpha, _null);
  65901. }
  65902. if (B.SrgbLinearColorSpace_kUj === dest) {
  65903. t1 = this.get$toLinear();
  65904. return A.SassColor_SassColor$forSpaceInternal(dest, A.NullableExtension_andThen(red, t1), A.NullableExtension_andThen(green, t1), A.NullableExtension_andThen(blue, t1), alpha);
  65905. }
  65906. return this.super$ColorSpace$convertLinear(dest, red, green, blue, alpha, false, false, missingChroma, missingHue, missingLightness);
  65907. },
  65908. convert$5(dest, red, green, blue, alpha) {
  65909. return this.convert$8$missingChroma$missingHue$missingLightness(dest, red, green, blue, alpha, false, false, false);
  65910. },
  65911. convert$6$missingHue(dest, red, green, blue, alpha, missingHue) {
  65912. return this.convert$8$missingChroma$missingHue$missingLightness(dest, red, green, blue, alpha, false, missingHue, false);
  65913. },
  65914. toLinear$1(channel) {
  65915. return A.srgbAndDisplayP3ToLinear(channel);
  65916. },
  65917. fromLinear$1(channel) {
  65918. return A.srgbAndDisplayP3FromLinear(channel);
  65919. },
  65920. transformationMatrix$1(dest) {
  65921. var t1;
  65922. $label0$0: {
  65923. if (B.DisplayP3ColorSpace_MmT === dest) {
  65924. t1 = $.$get$linearSrgbToLinearDisplayP3();
  65925. break $label0$0;
  65926. }
  65927. if (B.A98RgbColorSpace_lf2 === dest) {
  65928. t1 = $.$get$linearSrgbToLinearA98Rgb();
  65929. break $label0$0;
  65930. }
  65931. if (B.ProphotoRgbColorSpace_BDz === dest) {
  65932. t1 = $.$get$linearSrgbToLinearProphotoRgb();
  65933. break $label0$0;
  65934. }
  65935. if (B.Rec2020ColorSpace_6oo === dest) {
  65936. t1 = $.$get$linearSrgbToLinearRec2020();
  65937. break $label0$0;
  65938. }
  65939. if (B.XyzD65ColorSpace_WiJ === dest) {
  65940. t1 = $.$get$linearSrgbToXyzD65();
  65941. break $label0$0;
  65942. }
  65943. if (B.XyzD50ColorSpace_2OB === dest) {
  65944. t1 = $.$get$linearSrgbToXyzD50();
  65945. break $label0$0;
  65946. }
  65947. if (B.LmsColorSpace_Os3 === dest) {
  65948. t1 = $.$get$linearSrgbToLms();
  65949. break $label0$0;
  65950. }
  65951. t1 = this.super$ColorSpace$transformationMatrix(dest);
  65952. break $label0$0;
  65953. }
  65954. return t1;
  65955. }
  65956. };
  65957. A.SrgbLinearColorSpace.prototype = {
  65958. get$isBoundedInternal() {
  65959. return true;
  65960. },
  65961. convert$5(dest, red, green, blue, alpha) {
  65962. var t1;
  65963. $label0$0: {
  65964. if (B.RgbColorSpace_i0P === dest || B.HslColorSpace_JQ2 === dest || B.HwbColorSpace_guQ === dest || B.SrgbColorSpace_thf === dest) {
  65965. t1 = B.SrgbColorSpace_thf.convert$5(dest, A.NullableExtension_andThen(red, A.utils0__srgbAndDisplayP3FromLinear$closure()), A.NullableExtension_andThen(green, A.utils0__srgbAndDisplayP3FromLinear$closure()), A.NullableExtension_andThen(blue, A.utils0__srgbAndDisplayP3FromLinear$closure()), alpha);
  65966. break $label0$0;
  65967. }
  65968. t1 = this.super$ColorSpace$convert(dest, red, green, blue, alpha);
  65969. break $label0$0;
  65970. }
  65971. return t1;
  65972. },
  65973. toLinear$1(channel) {
  65974. return channel;
  65975. },
  65976. fromLinear$1(channel) {
  65977. return channel;
  65978. },
  65979. transformationMatrix$1(dest) {
  65980. var t1;
  65981. $label0$0: {
  65982. if (B.DisplayP3ColorSpace_MmT === dest) {
  65983. t1 = $.$get$linearSrgbToLinearDisplayP3();
  65984. break $label0$0;
  65985. }
  65986. if (B.A98RgbColorSpace_lf2 === dest) {
  65987. t1 = $.$get$linearSrgbToLinearA98Rgb();
  65988. break $label0$0;
  65989. }
  65990. if (B.ProphotoRgbColorSpace_BDz === dest) {
  65991. t1 = $.$get$linearSrgbToLinearProphotoRgb();
  65992. break $label0$0;
  65993. }
  65994. if (B.Rec2020ColorSpace_6oo === dest) {
  65995. t1 = $.$get$linearSrgbToLinearRec2020();
  65996. break $label0$0;
  65997. }
  65998. if (B.XyzD65ColorSpace_WiJ === dest) {
  65999. t1 = $.$get$linearSrgbToXyzD65();
  66000. break $label0$0;
  66001. }
  66002. if (B.XyzD50ColorSpace_2OB === dest) {
  66003. t1 = $.$get$linearSrgbToXyzD50();
  66004. break $label0$0;
  66005. }
  66006. if (B.LmsColorSpace_Os3 === dest) {
  66007. t1 = $.$get$linearSrgbToLms();
  66008. break $label0$0;
  66009. }
  66010. t1 = this.super$ColorSpace$transformationMatrix(dest);
  66011. break $label0$0;
  66012. }
  66013. return t1;
  66014. }
  66015. };
  66016. A.XyzD50ColorSpace.prototype = {
  66017. get$isBoundedInternal() {
  66018. return false;
  66019. },
  66020. convert$10$missingA$missingB$missingChroma$missingHue$missingLightness(dest, x, y, z, alpha, missingA, missingB, missingChroma, missingHue, missingLightness) {
  66021. var f0, f1, f2, lightness, a, b, t1, _this = this, _null = null;
  66022. if (B.LabColorSpace_2nT === dest || B.LchColorSpace_Bpv === dest) {
  66023. f0 = _this._convertComponentToLabF$1((x == null ? 0 : x) / 0.9642956764295677);
  66024. f1 = _this._convertComponentToLabF$1((y == null ? 0 : y) / 1);
  66025. f2 = _this._convertComponentToLabF$1((z == null ? 0 : z) / 0.8251046025104602);
  66026. lightness = missingLightness ? _null : 116 * f1 - 16;
  66027. a = 500 * (f0 - f1);
  66028. b = 200 * (f1 - f2);
  66029. if (dest === B.LabColorSpace_2nT) {
  66030. t1 = missingA ? _null : a;
  66031. t1 = A.SassColor$_forSpace(B.LabColorSpace_2nT, lightness, t1, missingB ? _null : b, alpha, _null);
  66032. } else
  66033. t1 = A.labToLch(B.LchColorSpace_Bpv, lightness, a, b, alpha, missingChroma, missingHue);
  66034. return t1;
  66035. }
  66036. return _this.super$ColorSpace$convertLinear(dest, x, y, z, alpha, missingA, missingB, missingChroma, missingHue, missingLightness);
  66037. },
  66038. convert$5(dest, x, y, z, alpha) {
  66039. return this.convert$10$missingA$missingB$missingChroma$missingHue$missingLightness(dest, x, y, z, alpha, false, false, false, false, false);
  66040. },
  66041. _convertComponentToLabF$1(component) {
  66042. return component > 0.008856451679035631 ? Math.pow(component, 0.3333333333333333) + 0 : (903.2962962962963 * component + 16) / 116;
  66043. },
  66044. toLinear$1(channel) {
  66045. return channel;
  66046. },
  66047. fromLinear$1(channel) {
  66048. return channel;
  66049. },
  66050. transformationMatrix$1(dest) {
  66051. var t1;
  66052. $label0$0: {
  66053. if (B.SrgbLinearColorSpace_kUj === dest || B.SrgbColorSpace_thf === dest || B.RgbColorSpace_i0P === dest) {
  66054. t1 = $.$get$xyzD50ToLinearSrgb();
  66055. break $label0$0;
  66056. }
  66057. if (B.A98RgbColorSpace_lf2 === dest) {
  66058. t1 = $.$get$xyzD50ToLinearA98Rgb();
  66059. break $label0$0;
  66060. }
  66061. if (B.ProphotoRgbColorSpace_BDz === dest) {
  66062. t1 = $.$get$xyzD50ToLinearProphotoRgb();
  66063. break $label0$0;
  66064. }
  66065. if (B.DisplayP3ColorSpace_MmT === dest) {
  66066. t1 = $.$get$xyzD50ToLinearDisplayP3();
  66067. break $label0$0;
  66068. }
  66069. if (B.Rec2020ColorSpace_6oo === dest) {
  66070. t1 = $.$get$xyzD50ToLinearRec2020();
  66071. break $label0$0;
  66072. }
  66073. if (B.XyzD65ColorSpace_WiJ === dest) {
  66074. t1 = $.$get$xyzD50ToXyzD65();
  66075. break $label0$0;
  66076. }
  66077. if (B.LmsColorSpace_Os3 === dest) {
  66078. t1 = $.$get$xyzD50ToLms();
  66079. break $label0$0;
  66080. }
  66081. t1 = this.super$ColorSpace$transformationMatrix(dest);
  66082. break $label0$0;
  66083. }
  66084. return t1;
  66085. }
  66086. };
  66087. A.XyzD65ColorSpace.prototype = {
  66088. get$isBoundedInternal() {
  66089. return false;
  66090. },
  66091. toLinear$1(channel) {
  66092. return channel;
  66093. },
  66094. fromLinear$1(channel) {
  66095. return channel;
  66096. },
  66097. transformationMatrix$1(dest) {
  66098. var t1;
  66099. $label0$0: {
  66100. if (B.SrgbLinearColorSpace_kUj === dest || B.SrgbColorSpace_thf === dest || B.RgbColorSpace_i0P === dest) {
  66101. t1 = $.$get$xyzD65ToLinearSrgb();
  66102. break $label0$0;
  66103. }
  66104. if (B.A98RgbColorSpace_lf2 === dest) {
  66105. t1 = $.$get$xyzD65ToLinearA98Rgb();
  66106. break $label0$0;
  66107. }
  66108. if (B.ProphotoRgbColorSpace_BDz === dest) {
  66109. t1 = $.$get$xyzD65ToLinearProphotoRgb();
  66110. break $label0$0;
  66111. }
  66112. if (B.DisplayP3ColorSpace_MmT === dest) {
  66113. t1 = $.$get$xyzD65ToLinearDisplayP3();
  66114. break $label0$0;
  66115. }
  66116. if (B.Rec2020ColorSpace_6oo === dest) {
  66117. t1 = $.$get$xyzD65ToLinearRec2020();
  66118. break $label0$0;
  66119. }
  66120. if (B.XyzD50ColorSpace_2OB === dest) {
  66121. t1 = $.$get$xyzD65ToXyzD50();
  66122. break $label0$0;
  66123. }
  66124. if (B.LmsColorSpace_Os3 === dest) {
  66125. t1 = $.$get$xyzD65ToLms();
  66126. break $label0$0;
  66127. }
  66128. t1 = this.super$ColorSpace$transformationMatrix(dest);
  66129. break $label0$0;
  66130. }
  66131. return t1;
  66132. }
  66133. };
  66134. A.SassFunction.prototype = {
  66135. accept$1$1(visitor) {
  66136. var t1, t2;
  66137. if (!visitor._inspect)
  66138. A.throwExpression(A.SassScriptException$(this.toString$0(0) + " isn't a valid CSS value.", null));
  66139. t1 = visitor._serialize$_buffer;
  66140. t1.write$1(0, "get-function(");
  66141. t2 = this.callable;
  66142. visitor._visitQuotedString$1(t2.get$name(t2));
  66143. t1.writeCharCode$1(41);
  66144. return null;
  66145. },
  66146. accept$1(visitor) {
  66147. return this.accept$1$1(visitor, type$.dynamic);
  66148. },
  66149. assertFunction$1($name) {
  66150. return this;
  66151. },
  66152. assertCompileContext$1(compileContext) {
  66153. var t1 = this._function$_compileContext !== compileContext;
  66154. if (t1)
  66155. throw A.wrapException(A.SassScriptException$(this.toString$0(0) + " does not belong to current compilation.", null));
  66156. return this;
  66157. },
  66158. $eq(_, other) {
  66159. if (other == null)
  66160. return false;
  66161. return other instanceof A.SassFunction && this.callable.$eq(0, other.callable);
  66162. },
  66163. get$hashCode(_) {
  66164. var t1 = this.callable;
  66165. return t1.get$hashCode(t1);
  66166. }
  66167. };
  66168. A.SassList.prototype = {
  66169. get$separator(_) {
  66170. return this._separator;
  66171. },
  66172. get$hasBrackets() {
  66173. return this._hasBrackets;
  66174. },
  66175. get$isBlank() {
  66176. return !this._hasBrackets && B.JSArray_methods.every$1(this._list$_contents, new A.SassList_isBlank_closure());
  66177. },
  66178. get$asList() {
  66179. return this._list$_contents;
  66180. },
  66181. get$lengthAsList() {
  66182. return this._list$_contents.length;
  66183. },
  66184. SassList$3$brackets(contents, _separator, brackets) {
  66185. if (this._separator === B.ListSeparator_undecided_null_undecided && this._list$_contents.length > 1)
  66186. throw A.wrapException(A.ArgumentError$(string$.A_list, null));
  66187. },
  66188. toString$0(_) {
  66189. var t2, _this = this,
  66190. t1 = true;
  66191. if (!_this._hasBrackets) {
  66192. t2 = _this._list$_contents.length;
  66193. if (t2 !== 0)
  66194. t1 = t2 === 1 && _this._separator === B.ListSeparator_qVN;
  66195. }
  66196. if (t1)
  66197. return _this.super$Value$toString(0);
  66198. return "(" + _this.super$Value$toString(0) + ")";
  66199. },
  66200. accept$1$1(visitor) {
  66201. return visitor.visitList$1(this);
  66202. },
  66203. accept$1(visitor) {
  66204. return this.accept$1$1(visitor, type$.dynamic);
  66205. },
  66206. assertMap$1($name) {
  66207. return this._list$_contents.length === 0 ? B.SassMap_Map_empty : this.super$Value$assertMap($name);
  66208. },
  66209. tryMap$0() {
  66210. return this._list$_contents.length === 0 ? B.SassMap_Map_empty : null;
  66211. },
  66212. $eq(_, other) {
  66213. var t1, _this = this;
  66214. if (other == null)
  66215. return false;
  66216. 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)))
  66217. t1 = _this._list$_contents.length === 0 && other instanceof A.SassMap && other.get$asList().length === 0;
  66218. else
  66219. t1 = true;
  66220. return t1;
  66221. },
  66222. get$hashCode(_) {
  66223. return B.C_ListEquality0.hash$1(this._list$_contents);
  66224. }
  66225. };
  66226. A.SassList_isBlank_closure.prototype = {
  66227. call$1(element) {
  66228. return element.get$isBlank();
  66229. },
  66230. $signature: 72
  66231. };
  66232. A.ListSeparator.prototype = {
  66233. _enumToString$0() {
  66234. return "ListSeparator." + this._name;
  66235. },
  66236. toString$0(_) {
  66237. return this._list$_name;
  66238. }
  66239. };
  66240. A.SassMap.prototype = {
  66241. get$separator(_) {
  66242. var t1 = this._map$_contents;
  66243. return t1.get$isEmpty(t1) ? B.ListSeparator_undecided_null_undecided : B.ListSeparator_qVN;
  66244. },
  66245. get$asList() {
  66246. var t3, t4, t5, result,
  66247. t1 = type$.JSArray_Value,
  66248. t2 = A._setArrayType([], t1);
  66249. for (t3 = type$.Value, t4 = A.MapExtensions_get_pairs(this._map$_contents, t3, t3), t4 = t4.get$iterator(t4); t4.moveNext$0();) {
  66250. t5 = t4.get$current(t4);
  66251. result = A.List_List$from(A._setArrayType([t5._0, t5._1], t1), false, t3);
  66252. result.$flags = 3;
  66253. t2.push(new A.SassList(result, B.ListSeparator_qSL, false));
  66254. }
  66255. return t2;
  66256. },
  66257. get$lengthAsList() {
  66258. var t1 = this._map$_contents;
  66259. return t1.get$length(t1);
  66260. },
  66261. accept$1$1(visitor) {
  66262. return visitor.visitMap$1(this);
  66263. },
  66264. accept$1(visitor) {
  66265. return this.accept$1$1(visitor, type$.dynamic);
  66266. },
  66267. assertMap$1($name) {
  66268. return this;
  66269. },
  66270. tryMap$0() {
  66271. return this;
  66272. },
  66273. $eq(_, other) {
  66274. var t1;
  66275. if (other == null)
  66276. return false;
  66277. if (!(other instanceof A.SassMap && B.C_MapEquality.equals$2(0, other._map$_contents, this._map$_contents))) {
  66278. t1 = this._map$_contents;
  66279. t1 = t1.get$isEmpty(t1) && other instanceof A.SassList && other._list$_contents.length === 0;
  66280. } else
  66281. t1 = true;
  66282. return t1;
  66283. },
  66284. get$hashCode(_) {
  66285. var t1 = this._map$_contents;
  66286. return t1.get$isEmpty(t1) ? B.C_ListEquality0.hash$1(B.List_empty8) : B.C_MapEquality.hash$1(t1);
  66287. }
  66288. };
  66289. A.SassMixin.prototype = {
  66290. accept$1$1(visitor) {
  66291. var t1, t2;
  66292. if (!visitor._inspect)
  66293. A.throwExpression(A.SassScriptException$(this.toString$0(0) + " isn't a valid CSS value.", null));
  66294. t1 = visitor._serialize$_buffer;
  66295. t1.write$1(0, "get-mixin(");
  66296. t2 = this.callable;
  66297. visitor._visitQuotedString$1(t2.get$name(t2));
  66298. t1.writeCharCode$1(41);
  66299. return null;
  66300. },
  66301. accept$1(visitor) {
  66302. return this.accept$1$1(visitor, type$.dynamic);
  66303. },
  66304. assertMixin$1($name) {
  66305. return this;
  66306. },
  66307. assertCompileContext$1(compileContext) {
  66308. var t1 = this._mixin$_compileContext !== compileContext;
  66309. if (t1)
  66310. throw A.wrapException(A.SassScriptException$(this.toString$0(0) + " does not belong to current compilation.", null));
  66311. return this;
  66312. },
  66313. $eq(_, other) {
  66314. if (other == null)
  66315. return false;
  66316. return other instanceof A.SassMixin && this.callable.$eq(0, other.callable);
  66317. },
  66318. get$hashCode(_) {
  66319. var t1 = this.callable;
  66320. return t1.get$hashCode(t1);
  66321. }
  66322. };
  66323. A._SassNull.prototype = {
  66324. get$isTruthy() {
  66325. return false;
  66326. },
  66327. get$isBlank() {
  66328. return true;
  66329. },
  66330. get$realNull() {
  66331. return null;
  66332. },
  66333. accept$1$1(visitor) {
  66334. if (visitor._inspect)
  66335. visitor._serialize$_buffer.write$1(0, "null");
  66336. return null;
  66337. },
  66338. accept$1(visitor) {
  66339. return this.accept$1$1(visitor, type$.dynamic);
  66340. },
  66341. unaryNot$0() {
  66342. return B.SassBoolean_true;
  66343. }
  66344. };
  66345. A.SassNumber.prototype = {
  66346. get$unitString() {
  66347. var _this = this;
  66348. return _this.get$hasUnits() ? _this._unitString$2(_this.get$numeratorUnits(_this), _this.get$denominatorUnits(_this)) : "";
  66349. },
  66350. accept$1$1(visitor) {
  66351. return visitor.visitNumber$1(this);
  66352. },
  66353. accept$1(visitor) {
  66354. return this.accept$1$1(visitor, type$.dynamic);
  66355. },
  66356. withoutSlash$0() {
  66357. var _this = this;
  66358. return _this.asSlash == null ? _this : _this.withValue$1(_this._number$_value);
  66359. },
  66360. assertNumber$1($name) {
  66361. return this;
  66362. },
  66363. assertNumber$0() {
  66364. return this.assertNumber$1(null);
  66365. },
  66366. assertInt$1($name) {
  66367. var _0_0 = A.fuzzyAsInt(this._number$_value);
  66368. if (_0_0 != null)
  66369. return _0_0;
  66370. throw A.wrapException(A.SassScriptException$(this.toString$0(0) + " is not an int.", $name));
  66371. },
  66372. assertInt$0() {
  66373. return this.assertInt$1(null);
  66374. },
  66375. valueInRange$3(min, max, $name) {
  66376. var _this = this,
  66377. _0_0 = A.fuzzyCheckRange(_this._number$_value, min, max);
  66378. if (_0_0 != null)
  66379. return _0_0;
  66380. throw A.wrapException(A.SassScriptException$("Expected " + _this.toString$0(0) + " to be within " + min + _this.get$unitString() + " and " + max + _this.get$unitString() + ".", $name));
  66381. },
  66382. valueInRangeWithUnit$4(min, max, $name, unit) {
  66383. var _0_0 = A.fuzzyCheckRange(this._number$_value, min, max);
  66384. if (_0_0 != null)
  66385. return _0_0;
  66386. throw A.wrapException(A.SassScriptException$("Expected " + this.toString$0(0) + " to be within " + min + unit + " and " + max + unit + ".", $name));
  66387. },
  66388. hasCompatibleUnits$1(other) {
  66389. var _this = this;
  66390. if (_this.get$numeratorUnits(_this).length !== other.get$numeratorUnits(other).length)
  66391. return false;
  66392. if (_this.get$denominatorUnits(_this).length !== other.get$denominatorUnits(other).length)
  66393. return false;
  66394. return _this.isComparableTo$1(other);
  66395. },
  66396. assertUnit$2(unit, $name) {
  66397. if (this.hasUnit$1(unit))
  66398. return;
  66399. throw A.wrapException(A.SassScriptException$("Expected " + this.toString$0(0) + ' to have unit "' + unit + '".', $name));
  66400. },
  66401. assertNoUnits$1($name) {
  66402. if (!this.get$hasUnits())
  66403. return;
  66404. throw A.wrapException(A.SassScriptException$("Expected " + this.toString$0(0) + " to have no units.", $name));
  66405. },
  66406. assertNoUnits$0() {
  66407. return this.assertNoUnits$1(null);
  66408. },
  66409. convertValueToMatch$3(other, $name, otherName) {
  66410. return this._coerceOrConvertValue$6$coerceUnitless$name$other$otherName(other.get$numeratorUnits(other), other.get$denominatorUnits(other), false, $name, other, otherName);
  66411. },
  66412. convertValueToMatch$1(other) {
  66413. return this.convertValueToMatch$3(other, null, null);
  66414. },
  66415. coerce$3(newNumerators, newDenominators, $name) {
  66416. return A.SassNumber_SassNumber$withUnits(this.coerceValue$3(newNumerators, newDenominators, $name), newDenominators, newNumerators);
  66417. },
  66418. coerce$2(newNumerators, newDenominators) {
  66419. return this.coerce$3(newNumerators, newDenominators, null);
  66420. },
  66421. coerceValue$3(newNumerators, newDenominators, $name) {
  66422. return this._coerceOrConvertValue$4$coerceUnitless$name(newNumerators, newDenominators, true, $name);
  66423. },
  66424. coerceValueToUnit$2(unit, $name) {
  66425. var t1 = type$.JSArray_String;
  66426. return this.coerceValue$3(A._setArrayType([unit], t1), A._setArrayType([], t1), $name);
  66427. },
  66428. coerceValueToUnit$1(unit) {
  66429. return this.coerceValueToUnit$2(unit, null);
  66430. },
  66431. coerceToMatch$3(other, $name, otherName) {
  66432. var t1 = this.coerceValueToMatch$3(other, $name, otherName),
  66433. t2 = other.get$numeratorUnits(other);
  66434. return A.SassNumber_SassNumber$withUnits(t1, other.get$denominatorUnits(other), t2);
  66435. },
  66436. coerceValueToMatch$3(other, $name, otherName) {
  66437. return this._coerceOrConvertValue$6$coerceUnitless$name$other$otherName(other.get$numeratorUnits(other), other.get$denominatorUnits(other), true, $name, other, otherName);
  66438. },
  66439. coerceValueToMatch$1(other) {
  66440. return this.coerceValueToMatch$3(other, null, null);
  66441. },
  66442. _coerceOrConvertValue$6$coerceUnitless$name$other$otherName(newNumerators, newDenominators, coerceUnitless, $name, other, otherName) {
  66443. var otherHasUnits, t1, compatibilityException, oldNumerators, _i, oldDenominators, _this = this, _box_0 = {};
  66444. if (B.C_ListEquality.equals$2(0, _this.get$numeratorUnits(_this), newNumerators) && B.C_ListEquality.equals$2(0, _this.get$denominatorUnits(_this), newDenominators))
  66445. return _this._number$_value;
  66446. otherHasUnits = newNumerators.length !== 0 || newDenominators.length !== 0;
  66447. if (coerceUnitless)
  66448. t1 = !_this.get$hasUnits() || !otherHasUnits;
  66449. else
  66450. t1 = false;
  66451. if (t1)
  66452. return _this._number$_value;
  66453. compatibilityException = new A.SassNumber__coerceOrConvertValue_compatibilityException(_this, other, otherName, otherHasUnits, $name, newNumerators, newDenominators);
  66454. _box_0.value = _this._number$_value;
  66455. t1 = _this.get$numeratorUnits(_this);
  66456. oldNumerators = A._setArrayType(t1.slice(0), A._arrayInstanceType(t1));
  66457. for (t1 = newNumerators.length, _i = 0; _i < newNumerators.length; newNumerators.length === t1 || (0, A.throwConcurrentModificationError)(newNumerators), ++_i)
  66458. A.removeFirstWhere(oldNumerators, new A.SassNumber__coerceOrConvertValue_closure(_box_0, newNumerators[_i]), new A.SassNumber__coerceOrConvertValue_closure0(compatibilityException));
  66459. t1 = _this.get$denominatorUnits(_this);
  66460. oldDenominators = A._setArrayType(t1.slice(0), A._arrayInstanceType(t1));
  66461. for (t1 = newDenominators.length, _i = 0; _i < newDenominators.length; newDenominators.length === t1 || (0, A.throwConcurrentModificationError)(newDenominators), ++_i)
  66462. A.removeFirstWhere(oldDenominators, new A.SassNumber__coerceOrConvertValue_closure1(_box_0, newDenominators[_i]), new A.SassNumber__coerceOrConvertValue_closure2(compatibilityException));
  66463. if (oldNumerators.length !== 0 || oldDenominators.length !== 0)
  66464. throw A.wrapException(compatibilityException.call$0());
  66465. return _box_0.value;
  66466. },
  66467. _coerceOrConvertValue$4$coerceUnitless$name(newNumerators, newDenominators, coerceUnitless, $name) {
  66468. return this._coerceOrConvertValue$6$coerceUnitless$name$other$otherName(newNumerators, newDenominators, coerceUnitless, $name, null, null);
  66469. },
  66470. isComparableTo$1(other) {
  66471. var exception;
  66472. if (!this.get$hasUnits() || !other.get$hasUnits())
  66473. return true;
  66474. try {
  66475. this.greaterThan$1(other);
  66476. return true;
  66477. } catch (exception) {
  66478. if (A.unwrapException(exception) instanceof A.SassScriptException)
  66479. return false;
  66480. else
  66481. throw exception;
  66482. }
  66483. },
  66484. greaterThan$1(other) {
  66485. if (other instanceof A.SassNumber)
  66486. return this._coerceUnits$2(other, A.number0__fuzzyGreaterThan$closure()) ? B.SassBoolean_true : B.SassBoolean_false;
  66487. throw A.wrapException(A.SassScriptException$('Undefined operation "' + this.toString$0(0) + " > " + other.toString$0(0) + '".', null));
  66488. },
  66489. greaterThanOrEquals$1(other) {
  66490. if (other instanceof A.SassNumber)
  66491. return this._coerceUnits$2(other, A.number0__fuzzyGreaterThanOrEquals$closure()) ? B.SassBoolean_true : B.SassBoolean_false;
  66492. throw A.wrapException(A.SassScriptException$('Undefined operation "' + this.toString$0(0) + " >= " + other.toString$0(0) + '".', null));
  66493. },
  66494. lessThan$1(other) {
  66495. if (other instanceof A.SassNumber)
  66496. return this._coerceUnits$2(other, A.number0__fuzzyLessThan$closure()) ? B.SassBoolean_true : B.SassBoolean_false;
  66497. throw A.wrapException(A.SassScriptException$('Undefined operation "' + this.toString$0(0) + " < " + other.toString$0(0) + '".', null));
  66498. },
  66499. lessThanOrEquals$1(other) {
  66500. if (other instanceof A.SassNumber)
  66501. return this._coerceUnits$2(other, A.number0__fuzzyLessThanOrEquals$closure()) ? B.SassBoolean_true : B.SassBoolean_false;
  66502. throw A.wrapException(A.SassScriptException$('Undefined operation "' + this.toString$0(0) + " <= " + other.toString$0(0) + '".', null));
  66503. },
  66504. modulo$1(other) {
  66505. if (other instanceof A.SassNumber)
  66506. return this.withValue$1(this._coerceUnits$2(other, A.number0__moduloLikeSass$closure()));
  66507. throw A.wrapException(A.SassScriptException$('Undefined operation "' + this.toString$0(0) + " % " + other.toString$0(0) + '".', null));
  66508. },
  66509. plus$1(other) {
  66510. var _this = this;
  66511. if (other instanceof A.SassNumber)
  66512. return _this.withValue$1(_this._coerceUnits$2(other, new A.SassNumber_plus_closure()));
  66513. if (!(other instanceof A.SassColor))
  66514. return _this.super$Value$plus(other);
  66515. throw A.wrapException(A.SassScriptException$('Undefined operation "' + _this.toString$0(0) + " + " + other.toString$0(0) + '".', null));
  66516. },
  66517. minus$1(other) {
  66518. var _this = this;
  66519. if (other instanceof A.SassNumber)
  66520. return _this.withValue$1(_this._coerceUnits$2(other, new A.SassNumber_minus_closure()));
  66521. if (!(other instanceof A.SassColor))
  66522. return _this.super$Value$minus(other);
  66523. throw A.wrapException(A.SassScriptException$('Undefined operation "' + _this.toString$0(0) + " - " + other.toString$0(0) + '".', null));
  66524. },
  66525. times$1(other) {
  66526. var _this = this;
  66527. if (other instanceof A.SassNumber) {
  66528. if (!other.get$hasUnits())
  66529. return _this.withValue$1(_this._number$_value * other._number$_value);
  66530. return _this.multiplyUnits$3(_this._number$_value * other._number$_value, other.get$numeratorUnits(other), other.get$denominatorUnits(other));
  66531. }
  66532. throw A.wrapException(A.SassScriptException$('Undefined operation "' + _this.toString$0(0) + " * " + other.toString$0(0) + '".', null));
  66533. },
  66534. dividedBy$1(other) {
  66535. var _this = this;
  66536. if (other instanceof A.SassNumber) {
  66537. if (!other.get$hasUnits())
  66538. return _this.withValue$1(_this._number$_value / other._number$_value);
  66539. return _this.multiplyUnits$3(_this._number$_value / other._number$_value, other.get$denominatorUnits(other), other.get$numeratorUnits(other));
  66540. }
  66541. return _this.super$Value$dividedBy(other);
  66542. },
  66543. unaryPlus$0() {
  66544. return this;
  66545. },
  66546. _coerceUnits$1$2(other, operation) {
  66547. var t1, exception;
  66548. try {
  66549. t1 = operation.call$2(this._number$_value, other.coerceValueToMatch$1(this));
  66550. return t1;
  66551. } catch (exception) {
  66552. if (A.unwrapException(exception) instanceof A.SassScriptException) {
  66553. this.coerceValueToMatch$1(other);
  66554. throw exception;
  66555. } else
  66556. throw exception;
  66557. }
  66558. },
  66559. _coerceUnits$2(other, operation) {
  66560. operation.toString;
  66561. return this._coerceUnits$1$2(other, operation, type$.dynamic);
  66562. },
  66563. multiplyUnits$3(value, otherNumerators, otherDenominators) {
  66564. var t1, _0_1, _0_6, _0_3, _0_9, _0_9_isSet, _0_7, _0_7_isSet, t2, _0_2, denominators_case_0, _0_11_isSet, _0_13, _0_11, _0_13_isSet, numerators_case_0, t4, t3, t5, t6, t7, denominators_case_1, numerators_case_1, t0, newNumerators, mutableOtherDenominators, _i, numerator, mutableDenominatorUnits, _this = this, _null = null, _box_0 = {};
  66565. _box_0.value = value;
  66566. t1 = [_this.get$numeratorUnits(_this), _this.get$denominatorUnits(_this), otherNumerators, otherDenominators];
  66567. _0_1 = t1[0];
  66568. _0_6 = _null;
  66569. _0_3 = _null;
  66570. _0_9 = _null;
  66571. _0_9_isSet = false;
  66572. _0_7 = _null;
  66573. _0_7_isSet = false;
  66574. t2 = false;
  66575. _0_2 = t1[1];
  66576. _0_3 = t1[2];
  66577. _0_6 = _0_3.length <= 0;
  66578. _0_9_isSet = _0_6;
  66579. if (_0_9_isSet) {
  66580. _0_7 = t1[3];
  66581. _0_9 = _0_7.length <= 0;
  66582. t2 = _0_9;
  66583. }
  66584. _0_7_isSet = _0_9_isSet;
  66585. denominators_case_0 = _0_2;
  66586. _0_11_isSet = !t2;
  66587. _0_13 = _null;
  66588. if (_0_11_isSet) {
  66589. _0_11 = _0_1.length <= 0;
  66590. _0_13_isSet = _0_11;
  66591. if (_0_13_isSet) {
  66592. t2 = _0_2;
  66593. _0_13 = t2.length <= 0;
  66594. t2 = _0_13;
  66595. if (t2) {
  66596. numerators_case_0 = _0_3;
  66597. if (_0_7_isSet)
  66598. denominators_case_0 = _0_7;
  66599. else {
  66600. _0_7 = t1[3];
  66601. denominators_case_0 = _0_7;
  66602. _0_7_isSet = true;
  66603. }
  66604. } else
  66605. numerators_case_0 = _0_1;
  66606. } else {
  66607. numerators_case_0 = _0_1;
  66608. t2 = false;
  66609. }
  66610. } else {
  66611. numerators_case_0 = _0_1;
  66612. _0_11 = _null;
  66613. _0_13_isSet = false;
  66614. t2 = true;
  66615. }
  66616. if (t2) {
  66617. t4 = denominators_case_0;
  66618. t3 = numerators_case_0;
  66619. } else {
  66620. t4 = _null;
  66621. t3 = t4;
  66622. }
  66623. if (!t2) {
  66624. t2 = _null;
  66625. t5 = _null;
  66626. if (_0_11_isSet)
  66627. t6 = _0_11;
  66628. else {
  66629. _0_11 = _0_1.length <= 0;
  66630. t6 = _0_11;
  66631. }
  66632. t7 = false;
  66633. if (t6) {
  66634. denominators_case_1 = _0_2;
  66635. numerators_case_1 = _0_3;
  66636. if (_0_9_isSet)
  66637. t2 = _0_9;
  66638. else {
  66639. if (_0_7_isSet)
  66640. t2 = _0_7;
  66641. else {
  66642. _0_7 = t1[3];
  66643. t2 = _0_7;
  66644. _0_7_isSet = true;
  66645. }
  66646. _0_9 = t2.length <= 0;
  66647. t2 = _0_9;
  66648. }
  66649. } else {
  66650. numerators_case_1 = t2;
  66651. t2 = t7;
  66652. denominators_case_1 = t5;
  66653. }
  66654. if (!t2) {
  66655. t2 = false;
  66656. if (_0_13_isSet)
  66657. t5 = _0_13;
  66658. else {
  66659. _0_13 = _0_2.length <= 0;
  66660. t5 = _0_13;
  66661. }
  66662. if (t5) {
  66663. t2 = _0_6;
  66664. if (t2)
  66665. denominators_case_1 = _0_7_isSet ? _0_7 : t1[3];
  66666. t1 = t2;
  66667. } else
  66668. t1 = t2;
  66669. numerators_case_1 = _0_1;
  66670. } else
  66671. t1 = true;
  66672. if (t1) {
  66673. t1 = !_this._areAnyConvertible$2(numerators_case_1, denominators_case_1);
  66674. if (t1) {
  66675. t3 = denominators_case_1;
  66676. t2 = numerators_case_1;
  66677. } else {
  66678. t2 = t3;
  66679. t3 = t4;
  66680. }
  66681. t0 = t3;
  66682. t3 = t1;
  66683. t1 = t2;
  66684. t2 = t0;
  66685. } else {
  66686. t2 = t4;
  66687. t1 = t3;
  66688. t3 = false;
  66689. }
  66690. } else {
  66691. t2 = t4;
  66692. t1 = t3;
  66693. t3 = true;
  66694. }
  66695. if (t3)
  66696. return A.SassNumber_SassNumber$withUnits(value, t2, t1);
  66697. newNumerators = A._setArrayType([], type$.JSArray_String);
  66698. mutableOtherDenominators = A._setArrayType(otherDenominators.slice(0), A._arrayInstanceType(otherDenominators));
  66699. for (t1 = _this.get$numeratorUnits(_this), t2 = t1.length, _i = 0; _i < t2; ++_i) {
  66700. numerator = t1[_i];
  66701. A.removeFirstWhere(mutableOtherDenominators, new A.SassNumber_multiplyUnits_closure(_box_0, numerator), new A.SassNumber_multiplyUnits_closure0(newNumerators, numerator));
  66702. }
  66703. t1 = _this.get$denominatorUnits(_this);
  66704. mutableDenominatorUnits = A._setArrayType(t1.slice(0), A._arrayInstanceType(t1));
  66705. for (t1 = otherNumerators.length, _i = 0; _i < t1; ++_i) {
  66706. numerator = otherNumerators[_i];
  66707. A.removeFirstWhere(mutableDenominatorUnits, new A.SassNumber_multiplyUnits_closure1(_box_0, numerator), new A.SassNumber_multiplyUnits_closure2(newNumerators, numerator));
  66708. }
  66709. t1 = _box_0.value;
  66710. B.JSArray_methods.addAll$1(mutableDenominatorUnits, mutableOtherDenominators);
  66711. return A.SassNumber_SassNumber$withUnits(t1, mutableDenominatorUnits, newNumerators);
  66712. },
  66713. _areAnyConvertible$2(units1, units2) {
  66714. return B.JSArray_methods.any$1(units1, new A.SassNumber__areAnyConvertible_closure(units2));
  66715. },
  66716. _unitString$2(numerators, denominators) {
  66717. var _0_4, _0_6, t1, _0_7, _0_5, _0_9, _0_10, denominator;
  66718. $label0$0: {
  66719. _0_4 = numerators.length <= 0;
  66720. if (_0_4) {
  66721. _0_6 = denominators.length;
  66722. t1 = _0_6;
  66723. _0_7 = t1 <= 0;
  66724. t1 = _0_7;
  66725. _0_5 = denominators;
  66726. } else {
  66727. _0_6 = null;
  66728. _0_5 = null;
  66729. t1 = false;
  66730. }
  66731. if (t1) {
  66732. t1 = "no units";
  66733. break $label0$0;
  66734. }
  66735. if (_0_4) {
  66736. t1 = _0_6;
  66737. _0_9 = t1 === 1;
  66738. t1 = _0_9;
  66739. } else
  66740. t1 = false;
  66741. if (t1) {
  66742. _0_10 = (_0_4 ? _0_5 : denominators)[0];
  66743. denominator = _0_10;
  66744. t1 = denominator + "^-1";
  66745. break $label0$0;
  66746. }
  66747. if (_0_4) {
  66748. t1 = "(" + B.JSArray_methods.join$1(denominators, "*") + ")^-1";
  66749. break $label0$0;
  66750. }
  66751. _0_6 = denominators.length;
  66752. t1 = _0_6;
  66753. _0_5 = denominators;
  66754. _0_7 = t1 <= 0;
  66755. t1 = _0_7;
  66756. if (t1) {
  66757. t1 = B.JSArray_methods.join$1(numerators, "*");
  66758. break $label0$0;
  66759. }
  66760. t1 = _0_6;
  66761. _0_9 = t1 === 1;
  66762. t1 = _0_9;
  66763. if (t1) {
  66764. _0_10 = _0_5[0];
  66765. denominator = _0_10;
  66766. t1 = B.JSArray_methods.join$1(numerators, "*") + "/" + denominator;
  66767. break $label0$0;
  66768. }
  66769. t1 = B.JSArray_methods.join$1(numerators, "*") + "/(" + B.JSArray_methods.join$1(denominators, "*") + ")";
  66770. break $label0$0;
  66771. }
  66772. return t1;
  66773. },
  66774. $eq(_, other) {
  66775. var _this = this;
  66776. if (other == null)
  66777. return false;
  66778. if (!(other instanceof A.SassNumber))
  66779. return false;
  66780. if (_this.get$numeratorUnits(_this).length !== other.get$numeratorUnits(other).length || _this.get$denominatorUnits(_this).length !== other.get$denominatorUnits(other).length)
  66781. return false;
  66782. if (!_this.get$hasUnits())
  66783. return A.fuzzyEquals(_this._number$_value, other._number$_value);
  66784. 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))))
  66785. return false;
  66786. 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)));
  66787. },
  66788. get$hashCode(_) {
  66789. var _this = this,
  66790. t1 = _this.hashCache;
  66791. 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;
  66792. },
  66793. _canonicalizeUnitList$1(units) {
  66794. var type,
  66795. t1 = units.length;
  66796. if (t1 === 0)
  66797. return units;
  66798. if (t1 === 1) {
  66799. type = $.$get$_typesByUnit().$index(0, B.JSArray_methods.get$first(units));
  66800. if (type == null)
  66801. t1 = units;
  66802. else {
  66803. t1 = B.Map_Sr65K.$index(0, type);
  66804. t1.toString;
  66805. t1 = A._setArrayType([B.JSArray_methods.get$first(t1)], type$.JSArray_String);
  66806. }
  66807. return t1;
  66808. }
  66809. t1 = A._arrayInstanceType(units)._eval$1("MappedListIterable<1,String>");
  66810. t1 = A.List_List$_of(new A.MappedListIterable(units, new A.SassNumber__canonicalizeUnitList_closure(), t1), t1._eval$1("ListIterable.E"));
  66811. B.JSArray_methods.sort$0(t1);
  66812. return t1;
  66813. },
  66814. _canonicalMultiplier$1(units) {
  66815. return B.JSArray_methods.fold$2(units, 1, new A.SassNumber__canonicalMultiplier_closure(this));
  66816. },
  66817. canonicalMultiplierForUnit$1(unit) {
  66818. var t1,
  66819. innerMap = B.Map_NtHoP.$index(0, unit);
  66820. if (innerMap == null)
  66821. t1 = 1;
  66822. else {
  66823. t1 = innerMap.get$values(innerMap);
  66824. t1 = 1 / t1.get$first(t1);
  66825. }
  66826. return t1;
  66827. },
  66828. unitSuggestion$2($name, unit) {
  66829. var t2, t3, result, _this = this,
  66830. t1 = _this.get$denominatorUnits(_this);
  66831. t1 = new A.MappedListIterable(t1, new A.SassNumber_unitSuggestion_closure(), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,String>")).join$0(0);
  66832. t2 = _this.get$numeratorUnits(_this);
  66833. t2 = new A.MappedListIterable(t2, new A.SassNumber_unitSuggestion_closure0(), A._arrayInstanceType(t2)._eval$1("MappedListIterable<1,String>")).join$0(0);
  66834. t3 = unit == null ? "" : " * 1" + unit;
  66835. result = "$" + $name + t1 + t2 + t3;
  66836. return _this.get$numeratorUnits(_this).length === 0 ? result : "calc(" + result + ")";
  66837. },
  66838. unitSuggestion$1($name) {
  66839. return this.unitSuggestion$2($name, null);
  66840. }
  66841. };
  66842. A.SassNumber__coerceOrConvertValue_compatibilityException.prototype = {
  66843. call$0() {
  66844. var t2, t3, message, t4, type, unit, _this = this,
  66845. t1 = _this.other;
  66846. if (t1 != null) {
  66847. t2 = _this.$this;
  66848. t3 = t2.toString$0(0) + " and";
  66849. message = new A.StringBuffer(t3);
  66850. t4 = _this.otherName;
  66851. if (t4 != null)
  66852. t3 = message._contents = t3 + (" $" + t4 + ":");
  66853. t1 = t3 + (" " + t1.toString$0(0) + " have incompatible units");
  66854. message._contents = t1;
  66855. if (!t2.get$hasUnits() || !_this.otherHasUnits)
  66856. message._contents = t1 + " (one has units and the other doesn't)";
  66857. t1 = message.toString$0(0) + ".";
  66858. t2 = _this.name;
  66859. return new A.SassScriptException(t2 == null ? t1 : "$" + t2 + ": " + t1);
  66860. } else if (!_this.otherHasUnits) {
  66861. t1 = "Expected " + _this.$this.toString$0(0) + " to have no units.";
  66862. t2 = _this.name;
  66863. return new A.SassScriptException(t2 == null ? t1 : "$" + t2 + ": " + t1);
  66864. } else {
  66865. t1 = _this.newNumerators;
  66866. if (t1.length === 1 && _this.newDenominators.length === 0) {
  66867. type = $.$get$_typesByUnit().$index(0, B.JSArray_methods.get$first(t1));
  66868. if (type != null) {
  66869. t1 = _this.$this.toString$0(0);
  66870. t2 = B.JSArray_methods.contains$1(A._setArrayType([97, 101, 105, 111, 117], type$.JSArray_int), type.charCodeAt(0)) ? "an " + type : "a " + type;
  66871. t3 = B.Map_Sr65K.$index(0, type);
  66872. t3.toString;
  66873. t3 = "Expected " + t1 + " to have " + t2 + " unit (" + B.JSArray_methods.join$1(t3, ", ") + ").";
  66874. t2 = _this.name;
  66875. return new A.SassScriptException(t2 == null ? t3 : "$" + t2 + ": " + t3);
  66876. }
  66877. }
  66878. t2 = _this.newDenominators;
  66879. unit = A.pluralize("unit", t1.length + t2.length, null);
  66880. t3 = _this.$this;
  66881. t2 = "Expected " + t3.toString$0(0) + " to have " + unit + " " + t3._unitString$2(t1, t2) + ".";
  66882. t1 = _this.name;
  66883. return new A.SassScriptException(t1 == null ? t2 : "$" + t1 + ": " + t2);
  66884. }
  66885. },
  66886. $signature: 326
  66887. };
  66888. A.SassNumber__coerceOrConvertValue_closure.prototype = {
  66889. call$1(oldNumerator) {
  66890. var factor = A.conversionFactor(this.newNumerator, oldNumerator);
  66891. if (factor == null)
  66892. return false;
  66893. this._box_0.value *= factor;
  66894. return true;
  66895. },
  66896. $signature: 5
  66897. };
  66898. A.SassNumber__coerceOrConvertValue_closure0.prototype = {
  66899. call$0() {
  66900. return A.throwExpression(this.compatibilityException.call$0());
  66901. },
  66902. $signature: 0
  66903. };
  66904. A.SassNumber__coerceOrConvertValue_closure1.prototype = {
  66905. call$1(oldDenominator) {
  66906. var factor = A.conversionFactor(this.newDenominator, oldDenominator);
  66907. if (factor == null)
  66908. return false;
  66909. this._box_0.value /= factor;
  66910. return true;
  66911. },
  66912. $signature: 5
  66913. };
  66914. A.SassNumber__coerceOrConvertValue_closure2.prototype = {
  66915. call$0() {
  66916. return A.throwExpression(this.compatibilityException.call$0());
  66917. },
  66918. $signature: 0
  66919. };
  66920. A.SassNumber_plus_closure.prototype = {
  66921. call$2(num1, num2) {
  66922. return num1 + num2;
  66923. },
  66924. $signature: 60
  66925. };
  66926. A.SassNumber_minus_closure.prototype = {
  66927. call$2(num1, num2) {
  66928. return num1 - num2;
  66929. },
  66930. $signature: 60
  66931. };
  66932. A.SassNumber_multiplyUnits_closure.prototype = {
  66933. call$1(denominator) {
  66934. var factor = A.conversionFactor(this.numerator, denominator);
  66935. if (factor == null)
  66936. return false;
  66937. this._box_0.value /= factor;
  66938. return true;
  66939. },
  66940. $signature: 5
  66941. };
  66942. A.SassNumber_multiplyUnits_closure0.prototype = {
  66943. call$0() {
  66944. return this.newNumerators.push(this.numerator);
  66945. },
  66946. $signature: 0
  66947. };
  66948. A.SassNumber_multiplyUnits_closure1.prototype = {
  66949. call$1(denominator) {
  66950. var factor = A.conversionFactor(this.numerator, denominator);
  66951. if (factor == null)
  66952. return false;
  66953. this._box_0.value /= factor;
  66954. return true;
  66955. },
  66956. $signature: 5
  66957. };
  66958. A.SassNumber_multiplyUnits_closure2.prototype = {
  66959. call$0() {
  66960. return this.newNumerators.push(this.numerator);
  66961. },
  66962. $signature: 0
  66963. };
  66964. A.SassNumber__areAnyConvertible_closure.prototype = {
  66965. call$1(unit1) {
  66966. var t1,
  66967. _0_0 = B.Map_NtHoP.$index(0, unit1);
  66968. $label0$0: {
  66969. if (_0_0 != null) {
  66970. t1 = B.JSArray_methods.any$1(this.units2, _0_0.get$containsKey());
  66971. break $label0$0;
  66972. }
  66973. t1 = B.JSArray_methods.contains$1(this.units2, unit1);
  66974. break $label0$0;
  66975. }
  66976. return t1;
  66977. },
  66978. $signature: 5
  66979. };
  66980. A.SassNumber__canonicalizeUnitList_closure.prototype = {
  66981. call$1(unit) {
  66982. var t1,
  66983. type = $.$get$_typesByUnit().$index(0, unit);
  66984. if (type == null)
  66985. t1 = unit;
  66986. else {
  66987. t1 = B.Map_Sr65K.$index(0, type);
  66988. t1.toString;
  66989. t1 = B.JSArray_methods.get$first(t1);
  66990. }
  66991. return t1;
  66992. },
  66993. $signature: 6
  66994. };
  66995. A.SassNumber__canonicalMultiplier_closure.prototype = {
  66996. call$2(multiplier, unit) {
  66997. return multiplier * this.$this.canonicalMultiplierForUnit$1(unit);
  66998. },
  66999. $signature: 165
  67000. };
  67001. A.SassNumber_unitSuggestion_closure.prototype = {
  67002. call$1(unit) {
  67003. return " * 1" + unit;
  67004. },
  67005. $signature: 6
  67006. };
  67007. A.SassNumber_unitSuggestion_closure0.prototype = {
  67008. call$1(unit) {
  67009. return " / 1" + unit;
  67010. },
  67011. $signature: 6
  67012. };
  67013. A.ComplexSassNumber.prototype = {
  67014. get$numeratorUnits(_) {
  67015. return this._numeratorUnits;
  67016. },
  67017. get$denominatorUnits(_) {
  67018. return this._denominatorUnits;
  67019. },
  67020. get$hasUnits() {
  67021. return true;
  67022. },
  67023. get$hasComplexUnits() {
  67024. return true;
  67025. },
  67026. hasUnit$1(unit) {
  67027. return false;
  67028. },
  67029. compatibleWithUnit$1(unit) {
  67030. return false;
  67031. },
  67032. hasPossiblyCompatibleUnits$1(other) {
  67033. throw A.wrapException(A.UnimplementedError$(string$.Comple));
  67034. },
  67035. withValue$1(value) {
  67036. return new A.ComplexSassNumber(this._numeratorUnits, this._denominatorUnits, value, null);
  67037. },
  67038. withSlash$2(numerator, denominator) {
  67039. return new A.ComplexSassNumber(this._numeratorUnits, this._denominatorUnits, this._number$_value, new A._Record_2(numerator, denominator));
  67040. }
  67041. };
  67042. A.SingleUnitSassNumber.prototype = {
  67043. get$numeratorUnits(_) {
  67044. return A.List_List$unmodifiable([this._unit], type$.String);
  67045. },
  67046. get$denominatorUnits(_) {
  67047. return B.List_empty;
  67048. },
  67049. get$hasUnits() {
  67050. return true;
  67051. },
  67052. get$hasComplexUnits() {
  67053. return false;
  67054. },
  67055. withValue$1(value) {
  67056. return new A.SingleUnitSassNumber(this._unit, value, null);
  67057. },
  67058. withSlash$2(numerator, denominator) {
  67059. return new A.SingleUnitSassNumber(this._unit, this._number$_value, new A._Record_2(numerator, denominator));
  67060. },
  67061. hasUnit$1(unit) {
  67062. return unit === this._unit;
  67063. },
  67064. hasCompatibleUnits$1(other) {
  67065. return other instanceof A.SingleUnitSassNumber && A.conversionFactor(this._unit, other._unit) != null;
  67066. },
  67067. hasPossiblyCompatibleUnits$1(other) {
  67068. var t1, knownCompatibilities, otherUnit;
  67069. if (!(other instanceof A.SingleUnitSassNumber))
  67070. return false;
  67071. t1 = $.$get$_knownCompatibilitiesByUnit();
  67072. knownCompatibilities = t1.$index(0, this._unit.toLowerCase());
  67073. if (knownCompatibilities == null)
  67074. return true;
  67075. otherUnit = other._unit.toLowerCase();
  67076. return knownCompatibilities.contains$1(0, otherUnit) || !t1.containsKey$1(otherUnit);
  67077. },
  67078. compatibleWithUnit$1(unit) {
  67079. return A.conversionFactor(this._unit, unit) != null;
  67080. },
  67081. coerceToMatch$1(other) {
  67082. var t1 = other instanceof A.SingleUnitSassNumber ? this._coerceToUnit$1(other._unit) : null;
  67083. return t1 == null ? this.super$SassNumber$coerceToMatch(other, null, null) : t1;
  67084. },
  67085. coerceValueToMatch$3(other, $name, otherName) {
  67086. var t1 = other instanceof A.SingleUnitSassNumber ? this._coerceValueToUnit$1(other._unit) : null;
  67087. return t1 == null ? this.super$SassNumber$coerceValueToMatch(other, $name, otherName) : t1;
  67088. },
  67089. coerceValueToMatch$1(other) {
  67090. return this.coerceValueToMatch$3(other, null, null);
  67091. },
  67092. convertValueToMatch$3(other, $name, otherName) {
  67093. var t1 = other instanceof A.SingleUnitSassNumber ? this._coerceValueToUnit$1(other._unit) : null;
  67094. return t1 == null ? this.super$SassNumber$convertValueToMatch(other, $name, otherName) : t1;
  67095. },
  67096. convertValueToMatch$1(other) {
  67097. return this.convertValueToMatch$3(other, null, null);
  67098. },
  67099. coerce$2(newNumerators, newDenominators) {
  67100. var t1 = newNumerators.length === 1 && newDenominators.length === 0 ? this._coerceToUnit$1(newNumerators[0]) : null;
  67101. return t1 == null ? this.super$SassNumber$coerce(newNumerators, newDenominators, null) : t1;
  67102. },
  67103. coerceValue$3(newNumerators, newDenominators, $name) {
  67104. var t1 = newNumerators.length === 1 && newDenominators.length === 0 ? this._coerceValueToUnit$1(newNumerators[0]) : null;
  67105. return t1 == null ? this.super$SassNumber$coerceValue(newNumerators, newDenominators, $name) : t1;
  67106. },
  67107. coerceValueToUnit$2(unit, $name) {
  67108. var t1 = this._coerceValueToUnit$1(unit);
  67109. return t1 == null ? this.super$SassNumber$coerceValueToUnit(unit, $name) : t1;
  67110. },
  67111. coerceValueToUnit$1(unit) {
  67112. return this.coerceValueToUnit$2(unit, null);
  67113. },
  67114. _coerceToUnit$1(unit) {
  67115. var t1 = this._unit;
  67116. if (t1 === unit)
  67117. return this;
  67118. return A.NullableExtension_andThen(A.conversionFactor(unit, t1), new A.SingleUnitSassNumber__coerceToUnit_closure(this, unit));
  67119. },
  67120. _coerceValueToUnit$1(unit) {
  67121. return A.NullableExtension_andThen(A.conversionFactor(unit, this._unit), new A.SingleUnitSassNumber__coerceValueToUnit_closure(this));
  67122. },
  67123. multiplyUnits$3(value, otherNumerators, otherDenominators) {
  67124. var mutableOtherDenominators, t1 = {};
  67125. t1.value = value;
  67126. t1.newNumerators = otherNumerators;
  67127. mutableOtherDenominators = A._setArrayType(otherDenominators.slice(0), A._arrayInstanceType(otherDenominators));
  67128. A.removeFirstWhere(mutableOtherDenominators, new A.SingleUnitSassNumber_multiplyUnits_closure(t1, this), new A.SingleUnitSassNumber_multiplyUnits_closure0(t1, this));
  67129. return A.SassNumber_SassNumber$withUnits(t1.value, mutableOtherDenominators, t1.newNumerators);
  67130. },
  67131. unaryMinus$0() {
  67132. return new A.SingleUnitSassNumber(this._unit, -this._number$_value, null);
  67133. },
  67134. $eq(_, other) {
  67135. var factor;
  67136. if (other == null)
  67137. return false;
  67138. if (other instanceof A.SingleUnitSassNumber) {
  67139. factor = A.conversionFactor(other._unit, this._unit);
  67140. return factor != null && A.fuzzyEquals(this._number$_value * factor, other._number$_value);
  67141. } else
  67142. return false;
  67143. },
  67144. get$hashCode(_) {
  67145. var _this = this,
  67146. t1 = _this.hashCache;
  67147. return t1 == null ? _this.hashCache = A.fuzzyHashCode(_this._number$_value * _this.canonicalMultiplierForUnit$1(_this._unit)) : t1;
  67148. }
  67149. };
  67150. A.SingleUnitSassNumber__coerceToUnit_closure.prototype = {
  67151. call$1(factor) {
  67152. return new A.SingleUnitSassNumber(this.unit, this.$this._number$_value * factor, null);
  67153. },
  67154. $signature: 337
  67155. };
  67156. A.SingleUnitSassNumber__coerceValueToUnit_closure.prototype = {
  67157. call$1(factor) {
  67158. return this.$this._number$_value * factor;
  67159. },
  67160. $signature: 16
  67161. };
  67162. A.SingleUnitSassNumber_multiplyUnits_closure.prototype = {
  67163. call$1(denominator) {
  67164. var factor = A.conversionFactor(denominator, this.$this._unit);
  67165. if (factor == null)
  67166. return false;
  67167. this._box_0.value *= factor;
  67168. return true;
  67169. },
  67170. $signature: 5
  67171. };
  67172. A.SingleUnitSassNumber_multiplyUnits_closure0.prototype = {
  67173. call$0() {
  67174. var t1 = A._setArrayType([this.$this._unit], type$.JSArray_String),
  67175. t2 = this._box_0;
  67176. B.JSArray_methods.addAll$1(t1, t2.newNumerators);
  67177. t2.newNumerators = t1;
  67178. },
  67179. $signature: 0
  67180. };
  67181. A.UnitlessSassNumber.prototype = {
  67182. get$numeratorUnits(_) {
  67183. return B.List_empty;
  67184. },
  67185. get$denominatorUnits(_) {
  67186. return B.List_empty;
  67187. },
  67188. get$hasUnits() {
  67189. return false;
  67190. },
  67191. get$hasComplexUnits() {
  67192. return false;
  67193. },
  67194. withValue$1(value) {
  67195. return new A.UnitlessSassNumber(value, null);
  67196. },
  67197. withSlash$2(numerator, denominator) {
  67198. return new A.UnitlessSassNumber(this._number$_value, new A._Record_2(numerator, denominator));
  67199. },
  67200. hasUnit$1(unit) {
  67201. return false;
  67202. },
  67203. hasCompatibleUnits$1(other) {
  67204. return other instanceof A.UnitlessSassNumber;
  67205. },
  67206. hasPossiblyCompatibleUnits$1(other) {
  67207. return other instanceof A.UnitlessSassNumber;
  67208. },
  67209. compatibleWithUnit$1(unit) {
  67210. return true;
  67211. },
  67212. coerceToMatch$1(other) {
  67213. return other.withValue$1(this._number$_value);
  67214. },
  67215. coerceValueToMatch$3(other, $name, otherName) {
  67216. return this._number$_value;
  67217. },
  67218. coerceValueToMatch$1(other) {
  67219. return this.coerceValueToMatch$3(other, null, null);
  67220. },
  67221. convertValueToMatch$3(other, $name, otherName) {
  67222. return other.get$hasUnits() ? this.super$SassNumber$convertValueToMatch(other, $name, otherName) : this._number$_value;
  67223. },
  67224. convertValueToMatch$1(other) {
  67225. return this.convertValueToMatch$3(other, null, null);
  67226. },
  67227. coerce$2(newNumerators, newDenominators) {
  67228. return A.SassNumber_SassNumber$withUnits(this._number$_value, newDenominators, newNumerators);
  67229. },
  67230. coerceValue$3(newNumerators, newDenominators, $name) {
  67231. return this._number$_value;
  67232. },
  67233. coerceValueToUnit$2(unit, $name) {
  67234. return this._number$_value;
  67235. },
  67236. coerceValueToUnit$1(unit) {
  67237. return this.coerceValueToUnit$2(unit, null);
  67238. },
  67239. greaterThan$1(other) {
  67240. var t1, t2;
  67241. if (other instanceof A.SassNumber) {
  67242. t1 = this._number$_value;
  67243. t2 = other._number$_value;
  67244. return t1 > t2 && !A.fuzzyEquals(t1, t2) ? B.SassBoolean_true : B.SassBoolean_false;
  67245. }
  67246. return this.super$SassNumber$greaterThan(other);
  67247. },
  67248. greaterThanOrEquals$1(other) {
  67249. var t1, t2;
  67250. if (other instanceof A.SassNumber) {
  67251. t1 = this._number$_value;
  67252. t2 = other._number$_value;
  67253. return t1 > t2 || A.fuzzyEquals(t1, t2) ? B.SassBoolean_true : B.SassBoolean_false;
  67254. }
  67255. return this.super$SassNumber$greaterThanOrEquals(other);
  67256. },
  67257. lessThan$1(other) {
  67258. var t1, t2;
  67259. if (other instanceof A.SassNumber) {
  67260. t1 = this._number$_value;
  67261. t2 = other._number$_value;
  67262. return t1 < t2 && !A.fuzzyEquals(t1, t2) ? B.SassBoolean_true : B.SassBoolean_false;
  67263. }
  67264. return this.super$SassNumber$lessThan(other);
  67265. },
  67266. lessThanOrEquals$1(other) {
  67267. var t1, t2;
  67268. if (other instanceof A.SassNumber) {
  67269. t1 = this._number$_value;
  67270. t2 = other._number$_value;
  67271. return t1 < t2 || A.fuzzyEquals(t1, t2) ? B.SassBoolean_true : B.SassBoolean_false;
  67272. }
  67273. return this.super$SassNumber$lessThanOrEquals(other);
  67274. },
  67275. modulo$1(other) {
  67276. if (other instanceof A.SassNumber)
  67277. return other.withValue$1(A.moduloLikeSass(this._number$_value, other._number$_value));
  67278. return this.super$SassNumber$modulo(other);
  67279. },
  67280. plus$1(other) {
  67281. if (other instanceof A.SassNumber)
  67282. return other.withValue$1(this._number$_value + other._number$_value);
  67283. return this.super$SassNumber$plus(other);
  67284. },
  67285. minus$1(other) {
  67286. if (other instanceof A.SassNumber)
  67287. return other.withValue$1(this._number$_value - other._number$_value);
  67288. return this.super$SassNumber$minus(other);
  67289. },
  67290. times$1(other) {
  67291. if (other instanceof A.SassNumber)
  67292. return other.withValue$1(this._number$_value * other._number$_value);
  67293. return this.super$SassNumber$times(other);
  67294. },
  67295. dividedBy$1(other) {
  67296. var t1, t2;
  67297. if (other instanceof A.SassNumber) {
  67298. t1 = this._number$_value / other._number$_value;
  67299. if (other.get$hasUnits()) {
  67300. t2 = other.get$denominatorUnits(other);
  67301. t2 = A.SassNumber_SassNumber$withUnits(t1, other.get$numeratorUnits(other), t2);
  67302. t1 = t2;
  67303. } else
  67304. t1 = new A.UnitlessSassNumber(t1, null);
  67305. return t1;
  67306. }
  67307. return this.super$SassNumber$dividedBy(other);
  67308. },
  67309. unaryMinus$0() {
  67310. return new A.UnitlessSassNumber(-this._number$_value, null);
  67311. },
  67312. $eq(_, other) {
  67313. if (other == null)
  67314. return false;
  67315. return other instanceof A.UnitlessSassNumber && A.fuzzyEquals(this._number$_value, other._number$_value);
  67316. },
  67317. get$hashCode(_) {
  67318. var t1 = this.hashCache;
  67319. return t1 == null ? this.hashCache = A.fuzzyHashCode(this._number$_value) : t1;
  67320. }
  67321. };
  67322. A.SassString.prototype = {
  67323. get$_sassLength() {
  67324. var result, _this = this,
  67325. value = _this.__SassString__sassLength_FI;
  67326. if (value === $) {
  67327. result = new A.Runes(_this._string$_text).get$length(0);
  67328. _this.__SassString__sassLength_FI !== $ && A.throwUnnamedLateFieldADI();
  67329. _this.__SassString__sassLength_FI = result;
  67330. value = result;
  67331. }
  67332. return value;
  67333. },
  67334. get$isSpecialNumber() {
  67335. var t1, _2_0, t2, _0_0, _1_0;
  67336. if (this._hasQuotes)
  67337. return false;
  67338. t1 = this._string$_text;
  67339. if (t1.length < 6)
  67340. return false;
  67341. _2_0 = t1.charCodeAt(0);
  67342. $label0$0: {
  67343. t2 = false;
  67344. if (97 === _2_0 || 65 === _2_0) {
  67345. t1 = (t1.charCodeAt(1) | 32) === 116 && (t1.charCodeAt(2) | 32) === 116 && (t1.charCodeAt(3) | 32) === 114 && t1.charCodeAt(4) === 40;
  67346. break $label0$0;
  67347. }
  67348. if (99 === _2_0 || 67 === _2_0) {
  67349. _0_0 = t1.charCodeAt(1);
  67350. $label1$1: {
  67351. if (108 === _0_0 || 76 === _0_0) {
  67352. t1 = (t1.charCodeAt(2) | 32) === 97 && (t1.charCodeAt(3) | 32) === 109 && (t1.charCodeAt(4) | 32) === 112 && t1.charCodeAt(5) === 40;
  67353. break $label1$1;
  67354. }
  67355. if (97 === _0_0 || 65 === _0_0) {
  67356. t1 = (t1.charCodeAt(2) | 32) === 108 && (t1.charCodeAt(3) | 32) === 99 && t1.charCodeAt(4) === 40;
  67357. break $label1$1;
  67358. }
  67359. t1 = t2;
  67360. break $label1$1;
  67361. }
  67362. break $label0$0;
  67363. }
  67364. if (118 === _2_0 || 86 === _2_0) {
  67365. t1 = (t1.charCodeAt(1) | 32) === 97 && (t1.charCodeAt(2) | 32) === 114 && t1.charCodeAt(3) === 40;
  67366. break $label0$0;
  67367. }
  67368. if (101 === _2_0 || 69 === _2_0) {
  67369. t1 = (t1.charCodeAt(1) | 32) === 110 && (t1.charCodeAt(2) | 32) === 118 && t1.charCodeAt(3) === 40;
  67370. break $label0$0;
  67371. }
  67372. if (109 === _2_0 || 77 === _2_0) {
  67373. _1_0 = t1.charCodeAt(1);
  67374. $label2$2: {
  67375. if (97 === _1_0 || 65 === _1_0) {
  67376. t1 = (t1.charCodeAt(2) | 32) === 120 && t1.charCodeAt(3) === 40;
  67377. break $label2$2;
  67378. }
  67379. if (105 === _1_0 || 73 === _1_0) {
  67380. t1 = (t1.charCodeAt(2) | 32) === 110 && t1.charCodeAt(3) === 40;
  67381. break $label2$2;
  67382. }
  67383. t1 = t2;
  67384. break $label2$2;
  67385. }
  67386. break $label0$0;
  67387. }
  67388. t1 = t2;
  67389. break $label0$0;
  67390. }
  67391. return t1;
  67392. },
  67393. get$isVar() {
  67394. if (this._hasQuotes)
  67395. return false;
  67396. var t1 = this._string$_text;
  67397. if (t1.length < 8)
  67398. return false;
  67399. return (t1.charCodeAt(0) | 32) === 118 && (t1.charCodeAt(1) | 32) === 97 && (t1.charCodeAt(2) | 32) === 114 && t1.charCodeAt(3) === 40;
  67400. },
  67401. get$isBlank() {
  67402. return !this._hasQuotes && this._string$_text.length === 0;
  67403. },
  67404. assertQuoted$1($name) {
  67405. if (this._hasQuotes)
  67406. return;
  67407. throw A.wrapException(A.SassScriptException$("Expected " + this.toString$0(0) + " to be a quoted string.", $name));
  67408. },
  67409. assertUnquoted$1($name) {
  67410. if (!this._hasQuotes)
  67411. return;
  67412. throw A.wrapException(A.SassScriptException$("Expected " + this.toString$0(0) + " to be an unquoted string.", $name));
  67413. },
  67414. assertUnquoted$0() {
  67415. return this.assertUnquoted$1(null);
  67416. },
  67417. accept$1$1(visitor) {
  67418. var t1 = visitor._quote && this._hasQuotes,
  67419. t2 = this._string$_text;
  67420. if (t1)
  67421. visitor._visitQuotedString$1(t2);
  67422. else
  67423. visitor._visitUnquotedString$1(t2);
  67424. return null;
  67425. },
  67426. accept$1(visitor) {
  67427. return this.accept$1$1(visitor, type$.dynamic);
  67428. },
  67429. assertString$1($name) {
  67430. return this;
  67431. },
  67432. plus$1(other) {
  67433. var t1 = this._string$_text,
  67434. t2 = this._hasQuotes;
  67435. return other instanceof A.SassString ? new A.SassString(t1 + other._string$_text, t2) : new A.SassString(t1 + A.serializeValue(other, false, true), t2);
  67436. },
  67437. $eq(_, other) {
  67438. if (other == null)
  67439. return false;
  67440. return other instanceof A.SassString && this._string$_text === other._string$_text;
  67441. },
  67442. get$hashCode(_) {
  67443. var t1 = this._hashCache;
  67444. return t1 == null ? this._hashCache = B.JSString_methods.get$hashCode(this._string$_text) : t1;
  67445. }
  67446. };
  67447. A.AnySelectorVisitor.prototype = {
  67448. visitComplexSelector$1(complex) {
  67449. return B.JSArray_methods.any$1(complex.components, new A.AnySelectorVisitor_visitComplexSelector_closure(this));
  67450. },
  67451. visitCompoundSelector$1(compound) {
  67452. return B.JSArray_methods.any$1(compound.components, new A.AnySelectorVisitor_visitCompoundSelector_closure(this));
  67453. },
  67454. visitPseudoSelector$1(pseudo) {
  67455. var selector = pseudo.selector;
  67456. return selector == null ? false : this.visitSelectorList$1(selector);
  67457. },
  67458. visitSelectorList$1(list) {
  67459. return B.JSArray_methods.any$1(list.components, this.get$visitComplexSelector());
  67460. },
  67461. visitAttributeSelector$1(attribute) {
  67462. return false;
  67463. },
  67464. visitClassSelector$1(klass) {
  67465. return false;
  67466. },
  67467. visitIDSelector$1(id) {
  67468. return false;
  67469. },
  67470. visitParentSelector$1($parent) {
  67471. return false;
  67472. },
  67473. visitPlaceholderSelector$1(placeholder) {
  67474. return false;
  67475. },
  67476. visitTypeSelector$1(type) {
  67477. return false;
  67478. },
  67479. visitUniversalSelector$1(universal) {
  67480. return false;
  67481. }
  67482. };
  67483. A.AnySelectorVisitor_visitComplexSelector_closure.prototype = {
  67484. call$1(component) {
  67485. return this.$this.visitCompoundSelector$1(component.selector);
  67486. },
  67487. $signature: 53
  67488. };
  67489. A.AnySelectorVisitor_visitCompoundSelector_closure.prototype = {
  67490. call$1(simple) {
  67491. return simple.accept$1(this.$this);
  67492. },
  67493. $signature: 13
  67494. };
  67495. A._EvaluateVisitor0.prototype = {
  67496. _EvaluateVisitor$6$functions$importCache$logger$nodeImporter$quietDeps$sourceMap0(functions, importCache, logger, nodeImporter, quietDeps, sourceMap) {
  67497. var t2, metaModule, t3, _i, module, $function, t4, _this = this,
  67498. _s20_ = "$name, $module: null",
  67499. _s9_ = "sass:meta",
  67500. _s7_ = "$module",
  67501. t1 = type$.JSArray_AsyncBuiltInCallable,
  67502. metaFunctions = A._setArrayType([A.BuiltInCallable$function("global-variable-exists", _s20_, new A._EvaluateVisitor_closure12(_this), _s9_), A.BuiltInCallable$function("variable-exists", "$name", new A._EvaluateVisitor_closure13(_this), _s9_), A.BuiltInCallable$function("function-exists", _s20_, new A._EvaluateVisitor_closure14(_this), _s9_), A.BuiltInCallable$function("mixin-exists", _s20_, new A._EvaluateVisitor_closure15(_this), _s9_), A.BuiltInCallable$function("content-exists", "", new A._EvaluateVisitor_closure16(_this), _s9_), A.BuiltInCallable$function("module-variables", _s7_, new A._EvaluateVisitor_closure17(_this), _s9_), A.BuiltInCallable$function("module-functions", _s7_, new A._EvaluateVisitor_closure18(_this), _s9_), A.BuiltInCallable$function("module-mixins", _s7_, new A._EvaluateVisitor_closure19(_this), _s9_), A.BuiltInCallable$function("get-function", "$name, $css: false, $module: null", new A._EvaluateVisitor_closure20(_this), _s9_), A.BuiltInCallable$function("get-mixin", _s20_, new A._EvaluateVisitor_closure21(_this), _s9_), new A.AsyncBuiltInCallable("call", A.ScssParser$("@function call($function, $args...) {", _s9_).parseParameterList$0(), new A._EvaluateVisitor_closure22(_this), false)], t1),
  67503. metaMixins = A._setArrayType([A.AsyncBuiltInCallable$mixin("load-css", "$url, $with: null", new A._EvaluateVisitor_closure23(_this), false, _s9_), A.AsyncBuiltInCallable$mixin("apply", "$mixin, $args...", new A._EvaluateVisitor_closure24(_this), true, _s9_)], t1);
  67504. t1 = type$.AsyncBuiltInCallable;
  67505. t2 = A.List_List$_of($.$get$moduleFunctions(), t1);
  67506. B.JSArray_methods.addAll$1(t2, metaFunctions);
  67507. metaModule = A.BuiltInModule$("meta", t2, metaMixins, null, t1);
  67508. t1 = A.List_List$_of($.$get$coreModules(), type$.BuiltInModule_AsyncCallable);
  67509. t1.push(metaModule);
  67510. t2 = t1.length;
  67511. t3 = _this._async_evaluate$_builtInModules;
  67512. _i = 0;
  67513. for (; _i < t1.length; t1.length === t2 || (0, A.throwConcurrentModificationError)(t1), ++_i) {
  67514. module = t1[_i];
  67515. t3.$indexSet(0, module.url, module);
  67516. }
  67517. t1 = type$.JSArray_AsyncCallable;
  67518. t2 = A._setArrayType([], t1);
  67519. B.JSArray_methods.addAll$1(t2, $.$get$globalFunctions());
  67520. t1 = A._setArrayType([], t1);
  67521. for (_i = 0; _i < 11; ++_i)
  67522. t1.push(metaFunctions[_i].withDeprecationWarning$1("meta"));
  67523. B.JSArray_methods.addAll$1(t2, t1);
  67524. for (t1 = t2.length, t3 = _this._async_evaluate$_builtInFunctions, _i = 0; _i < t2.length; t2.length === t1 || (0, A.throwConcurrentModificationError)(t2), ++_i) {
  67525. $function = t2[_i];
  67526. t4 = $function.get$name($function);
  67527. t3.$indexSet(0, A.stringReplaceAllUnchecked(t4, "_", "-"), $function);
  67528. }
  67529. },
  67530. run$2(_, importer, node) {
  67531. return this.run$body$_EvaluateVisitor(0, importer, node);
  67532. },
  67533. run$body$_EvaluateVisitor(_, importer, node) {
  67534. var $async$goto = 0,
  67535. $async$completer = A._makeAsyncAwaitCompleter(type$.Record_2_Set_Uri_loadedUrls_and_CssStylesheet_stylesheet),
  67536. $async$returnValue, $async$handler = 2, $async$errorStack = [], $async$self = this, error, stackTrace, t1, exception, $async$exception;
  67537. var $async$run$2 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  67538. if ($async$errorCode === 1) {
  67539. $async$errorStack.push($async$result);
  67540. $async$goto = $async$handler;
  67541. }
  67542. while (true)
  67543. switch ($async$goto) {
  67544. case 0:
  67545. // Function start
  67546. $async$handler = 4;
  67547. t1 = type$.nullable_Object;
  67548. t1 = A.runZoned(new A._EvaluateVisitor_run_closure0($async$self, node, importer), A.LinkedHashMap_LinkedHashMap$_literal([B.Symbol__evaluationContext, new A._EvaluationContext0($async$self, node)], t1, t1), type$.FutureOr_Record_2_Set_Uri_loadedUrls_and_CssStylesheet_stylesheet);
  67549. $async$goto = 7;
  67550. return A._asyncAwait(type$.Future_Record_2_Set_Uri_loadedUrls_and_CssStylesheet_stylesheet._is(t1) ? t1 : A._Future$value(t1, type$.Record_2_Set_Uri_loadedUrls_and_CssStylesheet_stylesheet), $async$run$2);
  67551. case 7:
  67552. // returning from await.
  67553. t1 = $async$result;
  67554. $async$returnValue = t1;
  67555. // goto return
  67556. $async$goto = 1;
  67557. break;
  67558. $async$handler = 2;
  67559. // goto after finally
  67560. $async$goto = 6;
  67561. break;
  67562. case 4:
  67563. // catch
  67564. $async$handler = 3;
  67565. $async$exception = $async$errorStack.pop();
  67566. t1 = A.unwrapException($async$exception);
  67567. if (t1 instanceof A.SassException) {
  67568. error = t1;
  67569. stackTrace = A.getTraceFromException($async$exception);
  67570. A.throwWithTrace(error.withLoadedUrls$1($async$self._async_evaluate$_loadedUrls), error, stackTrace);
  67571. } else
  67572. throw $async$exception;
  67573. // goto after finally
  67574. $async$goto = 6;
  67575. break;
  67576. case 3:
  67577. // uncaught
  67578. // goto rethrow
  67579. $async$goto = 2;
  67580. break;
  67581. case 6:
  67582. // after finally
  67583. case 1:
  67584. // return
  67585. return A._asyncReturn($async$returnValue, $async$completer);
  67586. case 2:
  67587. // rethrow
  67588. return A._asyncRethrow($async$errorStack.at(-1), $async$completer);
  67589. }
  67590. });
  67591. return A._asyncStartSync($async$run$2, $async$completer);
  67592. },
  67593. _async_evaluate$_assertInModule$1$2(value, $name) {
  67594. if (value != null)
  67595. return value;
  67596. throw A.wrapException(A.StateError$("Can't access " + $name + " outside of a module."));
  67597. },
  67598. _async_evaluate$_assertInModule$2(value, $name) {
  67599. return this._async_evaluate$_assertInModule$1$2(value, $name, type$.dynamic);
  67600. },
  67601. _async_evaluate$_loadModule$7$baseUrl$configuration$namesInErrors(url, stackFrame, nodeWithSpan, callback, baseUrl, configuration, namesInErrors) {
  67602. return this._loadModule$body$_EvaluateVisitor(url, stackFrame, nodeWithSpan, callback, baseUrl, configuration, namesInErrors);
  67603. },
  67604. _async_evaluate$_loadModule$5$configuration(url, stackFrame, nodeWithSpan, callback, configuration) {
  67605. callback.toString;
  67606. return this._async_evaluate$_loadModule$7$baseUrl$configuration$namesInErrors(url, stackFrame, nodeWithSpan, callback, null, configuration, false);
  67607. },
  67608. _async_evaluate$_loadModule$4(url, stackFrame, nodeWithSpan, callback) {
  67609. callback.toString;
  67610. return this._async_evaluate$_loadModule$7$baseUrl$configuration$namesInErrors(url, stackFrame, nodeWithSpan, callback, null, null, false);
  67611. },
  67612. _loadModule$body$_EvaluateVisitor(url, stackFrame, nodeWithSpan, callback, baseUrl, configuration, namesInErrors) {
  67613. var $async$goto = 0,
  67614. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  67615. $async$returnValue, $async$self = this, t2, _0_0, t1;
  67616. var $async$_async_evaluate$_loadModule$7$baseUrl$configuration$namesInErrors = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  67617. if ($async$errorCode === 1)
  67618. return A._asyncRethrow($async$result, $async$completer);
  67619. while (true)
  67620. switch ($async$goto) {
  67621. case 0:
  67622. // Function start
  67623. _0_0 = $async$self._async_evaluate$_builtInModules.$index(0, url);
  67624. t1 = {};
  67625. t1.builtInModule = null;
  67626. $async$goto = _0_0 != null ? 3 : 4;
  67627. break;
  67628. case 3:
  67629. // then
  67630. t1.builtInModule = _0_0;
  67631. if (configuration instanceof A.ExplicitConfiguration) {
  67632. t1 = namesInErrors ? "Built-in module " + url.toString$0(0) + " can't be configured." : "Built-in modules can't be configured.";
  67633. t2 = configuration.nodeWithSpan;
  67634. throw A.wrapException($async$self._async_evaluate$_exception$2(t1, t2.get$span(t2)));
  67635. }
  67636. $async$goto = 5;
  67637. return A._asyncAwait($async$self._addExceptionSpanAsync$1$2(nodeWithSpan, new A._EvaluateVisitor__loadModule_closure1(t1, callback), type$.void), $async$_async_evaluate$_loadModule$7$baseUrl$configuration$namesInErrors);
  67638. case 5:
  67639. // returning from await.
  67640. // goto return
  67641. $async$goto = 1;
  67642. break;
  67643. case 4:
  67644. // join
  67645. $async$goto = 6;
  67646. 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);
  67647. case 6:
  67648. // returning from await.
  67649. case 1:
  67650. // return
  67651. return A._asyncReturn($async$returnValue, $async$completer);
  67652. }
  67653. });
  67654. return A._asyncStartSync($async$_async_evaluate$_loadModule$7$baseUrl$configuration$namesInErrors, $async$completer);
  67655. },
  67656. _async_evaluate$_execute$5$configuration$namesInErrors$nodeWithSpan(importer, stylesheet, configuration, namesInErrors, nodeWithSpan) {
  67657. return this._execute$body$_EvaluateVisitor(importer, stylesheet, configuration, namesInErrors, nodeWithSpan);
  67658. },
  67659. _async_evaluate$_execute$2(importer, stylesheet) {
  67660. return this._async_evaluate$_execute$5$configuration$namesInErrors$nodeWithSpan(importer, stylesheet, null, false, null);
  67661. },
  67662. _execute$body$_EvaluateVisitor(importer, stylesheet, configuration, namesInErrors, nodeWithSpan) {
  67663. var $async$goto = 0,
  67664. $async$completer = A._makeAsyncAwaitCompleter(type$.Module_AsyncCallable),
  67665. $async$returnValue, $async$self = this, _0_0, currentConfiguration, t2, t3, message, existingSpan, configurationSpan, environment, css, preModuleComments, extensionStore, module, t1, url;
  67666. var $async$_async_evaluate$_execute$5$configuration$namesInErrors$nodeWithSpan = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  67667. if ($async$errorCode === 1)
  67668. return A._asyncRethrow($async$result, $async$completer);
  67669. while (true)
  67670. switch ($async$goto) {
  67671. case 0:
  67672. // Function start
  67673. t1 = stylesheet.span;
  67674. url = t1.get$sourceUrl(t1);
  67675. t1 = $async$self._async_evaluate$_modules;
  67676. _0_0 = t1.$index(0, url);
  67677. if (_0_0 != null) {
  67678. t1 = configuration == null;
  67679. currentConfiguration = t1 ? $async$self._async_evaluate$_configuration : configuration;
  67680. t2 = $async$self._async_evaluate$_moduleConfigurations.$index(0, url);
  67681. t3 = t2.__originalConfiguration;
  67682. t2 = t3 == null ? t2 : t3;
  67683. t3 = currentConfiguration.__originalConfiguration;
  67684. if (t2 !== (t3 == null ? currentConfiguration : t3) && currentConfiguration instanceof A.ExplicitConfiguration) {
  67685. if (namesInErrors) {
  67686. t2 = $.$get$context();
  67687. url.toString;
  67688. message = t2.prettyUri$1(url) + string$.x20was_a;
  67689. } else
  67690. message = string$.This_mw;
  67691. t2 = $async$self._async_evaluate$_moduleNodes.$index(0, url);
  67692. existingSpan = t2 == null ? null : t2.get$span(t2);
  67693. if (t1) {
  67694. t1 = currentConfiguration.nodeWithSpan;
  67695. configurationSpan = t1.get$span(t1);
  67696. } else
  67697. configurationSpan = null;
  67698. t1 = A.LinkedHashMap_LinkedHashMap$_empty(type$.FileSpan, type$.String);
  67699. if (existingSpan != null)
  67700. t1.$indexSet(0, existingSpan, "original load");
  67701. if (configurationSpan != null)
  67702. t1.$indexSet(0, configurationSpan, "configuration");
  67703. throw A.wrapException(t1.get$isEmpty(0) ? $async$self._async_evaluate$_exception$1(message) : $async$self._async_evaluate$_multiSpanException$3(message, "new load", t1));
  67704. }
  67705. $async$returnValue = _0_0;
  67706. // goto return
  67707. $async$goto = 1;
  67708. break;
  67709. }
  67710. environment = A.AsyncEnvironment$();
  67711. css = A._Cell$();
  67712. preModuleComments = A._Cell$();
  67713. extensionStore = A.ExtensionStore$();
  67714. $async$goto = 3;
  67715. return A._asyncAwait($async$self._async_evaluate$_withEnvironment$1$2(environment, new A._EvaluateVisitor__execute_closure0($async$self, importer, stylesheet, extensionStore, configuration, css, preModuleComments), type$.Null), $async$_async_evaluate$_execute$5$configuration$namesInErrors$nodeWithSpan);
  67716. case 3:
  67717. // returning from await.
  67718. t2 = css._readLocal$0();
  67719. t3 = preModuleComments._readLocal$0();
  67720. module = environment.toModule$3(t2, t3 == null ? B.Map_empty7 : t3, extensionStore);
  67721. if (url != null) {
  67722. t1.$indexSet(0, url, module);
  67723. $async$self._async_evaluate$_moduleConfigurations.$indexSet(0, url, $async$self._async_evaluate$_configuration);
  67724. if (nodeWithSpan != null)
  67725. $async$self._async_evaluate$_moduleNodes.$indexSet(0, url, nodeWithSpan);
  67726. }
  67727. $async$returnValue = module;
  67728. // goto return
  67729. $async$goto = 1;
  67730. break;
  67731. case 1:
  67732. // return
  67733. return A._asyncReturn($async$returnValue, $async$completer);
  67734. }
  67735. });
  67736. return A._asyncStartSync($async$_async_evaluate$_execute$5$configuration$namesInErrors$nodeWithSpan, $async$completer);
  67737. },
  67738. _async_evaluate$_addOutOfOrderImports$0() {
  67739. var t1, t2, _this = this, _s5_ = "_root",
  67740. _s13_ = "_endOfImports",
  67741. _0_0 = _this._async_evaluate$_outOfOrderImports;
  67742. $label0$0: {
  67743. if (_0_0 == null) {
  67744. t1 = _this._async_evaluate$_assertInModule$2(_this._async_evaluate$__root, _s5_).children;
  67745. break $label0$0;
  67746. }
  67747. t1 = _this._async_evaluate$_assertInModule$2(_this._async_evaluate$__root, _s5_).children;
  67748. t1 = A.List_List$_of(A.SubListIterable$(t1, 0, A.checkNotNullable(_this._async_evaluate$_assertInModule$2(_this._async_evaluate$__endOfImports, _s13_), "count", type$.int), t1.$ti._eval$1("ListBase.E")), type$.ModifiableCssNode);
  67749. B.JSArray_methods.addAll$1(t1, _0_0);
  67750. t2 = _this._async_evaluate$_assertInModule$2(_this._async_evaluate$__root, _s5_).children;
  67751. B.JSArray_methods.addAll$1(t1, A.SubListIterable$(t2, _this._async_evaluate$_assertInModule$2(_this._async_evaluate$__endOfImports, _s13_), null, t2.$ti._eval$1("ListBase.E")));
  67752. break $label0$0;
  67753. }
  67754. return t1;
  67755. },
  67756. _async_evaluate$_combineCss$2$clone(root, clone) {
  67757. var selectors, _0_0, t1, imports, css, sorted, t2;
  67758. if (!B.JSArray_methods.any$1(root.get$upstream(), new A._EvaluateVisitor__combineCss_closure1())) {
  67759. selectors = root.get$extensionStore().get$simpleSelectors();
  67760. _0_0 = A.IterableExtension_get_firstOrNull(root.get$extensionStore().extensionsWhereTarget$1(new A._EvaluateVisitor__combineCss_closure2(selectors)));
  67761. if (_0_0 != null)
  67762. this._async_evaluate$_throwForUnsatisfiedExtension$1(_0_0);
  67763. return root.get$css(root);
  67764. }
  67765. t1 = type$.JSArray_CssNode;
  67766. imports = A._setArrayType([], t1);
  67767. css = A._setArrayType([], t1);
  67768. t1 = type$.Module_AsyncCallable;
  67769. sorted = A.ListQueue$(t1);
  67770. new A._EvaluateVisitor__combineCss_visitModule0(this, A.LinkedHashSet_LinkedHashSet$_empty(t1), clone, css, imports, sorted).call$1(root);
  67771. if (root.get$transitivelyContainsExtensions())
  67772. this._async_evaluate$_extendModules$1(sorted);
  67773. t1 = B.JSArray_methods.$add(imports, css);
  67774. t2 = root.get$css(root);
  67775. return new A.CssStylesheet(new A.UnmodifiableListView(t1, type$.UnmodifiableListView_CssNode), t2.get$span(t2));
  67776. },
  67777. _async_evaluate$_combineCss$1(root) {
  67778. return this._async_evaluate$_combineCss$2$clone(root, false);
  67779. },
  67780. _async_evaluate$_extendModules$1(sortedModules) {
  67781. var t1, t2, t3, originalSelectors, $self, t4, t5, _i, upstream, _0_0,
  67782. downstreamExtensionStores = A.LinkedHashMap_LinkedHashMap$_empty(type$.Uri, type$.List_ExtensionStore),
  67783. unsatisfiedExtensions = new A._LinkedIdentityHashSet(type$._LinkedIdentityHashSet_Extension);
  67784. for (t1 = A._ListQueueIterator$(sortedModules, sortedModules.$ti._precomputed1), t2 = t1.$ti._precomputed1; t1.moveNext$0();) {
  67785. t3 = t1._collection$_current;
  67786. if (t3 == null)
  67787. t3 = t2._as(t3);
  67788. originalSelectors = t3.get$extensionStore().get$simpleSelectors().toSet$0(0);
  67789. unsatisfiedExtensions.addAll$1(0, t3.get$extensionStore().extensionsWhereTarget$1(new A._EvaluateVisitor__extendModules_closure1(originalSelectors)));
  67790. $self = downstreamExtensionStores.$index(0, t3.get$url(t3));
  67791. t4 = t3.get$extensionStore().get$addExtensions();
  67792. if ($self != null)
  67793. t4.call$1($self);
  67794. t4 = t3.get$extensionStore();
  67795. if (t4.get$isEmpty(t4))
  67796. continue;
  67797. for (t4 = t3.get$upstream(), t5 = t4.length, _i = 0; _i < t4.length; t4.length === t5 || (0, A.throwConcurrentModificationError)(t4), ++_i) {
  67798. upstream = t4[_i];
  67799. _0_0 = upstream.get$url(upstream);
  67800. if (_0_0 != null)
  67801. J.add$1$ax(downstreamExtensionStores.putIfAbsent$2(_0_0, new A._EvaluateVisitor__extendModules_closure2()), t3.get$extensionStore());
  67802. }
  67803. unsatisfiedExtensions.removeAll$1(t3.get$extensionStore().extensionsWhereTarget$1(originalSelectors.get$contains(originalSelectors)));
  67804. }
  67805. if (unsatisfiedExtensions._collection$_length !== 0)
  67806. this._async_evaluate$_throwForUnsatisfiedExtension$1(unsatisfiedExtensions.get$first(0));
  67807. },
  67808. _async_evaluate$_throwForUnsatisfiedExtension$1(extension) {
  67809. throw A.wrapException(A.SassException$(string$.The_ta + extension.target.toString$0(0) + ' !optional" to avoid this error.', extension.span, null));
  67810. },
  67811. _async_evaluate$_indexAfterImports$1(statements) {
  67812. var t1, lastImport, i, _0_0;
  67813. for (t1 = J.getInterceptor$asx(statements), lastImport = -1, i = 0; i < t1.get$length(statements); ++i) {
  67814. $label0$0: {
  67815. _0_0 = t1.$index(statements, i);
  67816. if (_0_0 instanceof A.ModifiableCssImport)
  67817. break $label0$0;
  67818. if (_0_0 instanceof A.ModifiableCssComment)
  67819. continue;
  67820. break;
  67821. }
  67822. lastImport = i;
  67823. }
  67824. return lastImport + 1;
  67825. },
  67826. visitStylesheet$1(_, node) {
  67827. return this.visitStylesheet$body$_EvaluateVisitor(0, node);
  67828. },
  67829. visitStylesheet$body$_EvaluateVisitor(_, node) {
  67830. var $async$goto = 0,
  67831. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value),
  67832. $async$returnValue, $async$self = this, t1, t2, warning, _i, $name, span;
  67833. var $async$visitStylesheet$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  67834. if ($async$errorCode === 1)
  67835. return A._asyncRethrow($async$result, $async$completer);
  67836. while (true)
  67837. switch ($async$goto) {
  67838. case 0:
  67839. // Function start
  67840. for (t1 = node.parseTimeWarnings, t2 = t1.$ti, t1 = new A.ListIterator(t1, t1.get$length(0), t2._eval$1("ListIterator<ListBase.E>")), t2 = t2._eval$1("ListBase.E"); t1.moveNext$0();) {
  67841. warning = t1.__internal$_current;
  67842. if (warning == null)
  67843. warning = t2._as(warning);
  67844. $async$self._async_evaluate$_warn$3(warning._1, warning._2, warning._0);
  67845. }
  67846. t1 = node.children, t2 = t1.length, _i = 0;
  67847. case 3:
  67848. // for condition
  67849. if (!(_i < t2)) {
  67850. // goto after for
  67851. $async$goto = 5;
  67852. break;
  67853. }
  67854. $async$goto = 6;
  67855. return A._asyncAwait(t1[_i].accept$1($async$self), $async$visitStylesheet$1);
  67856. case 6:
  67857. // returning from await.
  67858. case 4:
  67859. // for update
  67860. ++_i;
  67861. // goto for condition
  67862. $async$goto = 3;
  67863. break;
  67864. case 5:
  67865. // after for
  67866. for (t1 = A.MapExtensions_get_pairs(node.globalVariables, type$.String, type$.FileSpan), t1 = t1.get$iterator(t1); t1.moveNext$0();) {
  67867. t2 = t1.get$current(t1);
  67868. $name = t2._0;
  67869. span = t2._1;
  67870. $async$self.visitVariableDeclaration$1(0, new A.VariableDeclaration(null, $name, new A.NullExpression(span), true, false, span));
  67871. }
  67872. $async$returnValue = null;
  67873. // goto return
  67874. $async$goto = 1;
  67875. break;
  67876. case 1:
  67877. // return
  67878. return A._asyncReturn($async$returnValue, $async$completer);
  67879. }
  67880. });
  67881. return A._asyncStartSync($async$visitStylesheet$1, $async$completer);
  67882. },
  67883. visitAtRootRule$1(_, node) {
  67884. return this.visitAtRootRule$body$_EvaluateVisitor(0, node);
  67885. },
  67886. visitAtRootRule$body$_EvaluateVisitor(_, node) {
  67887. var $async$goto = 0,
  67888. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value),
  67889. $async$returnValue, $async$self = this, _1_0, resolved, query, $parent, included, t1, _2_0, root, first, rest, innerCopy, outerCopy, _i, copy, _0_0;
  67890. var $async$visitAtRootRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  67891. if ($async$errorCode === 1)
  67892. return A._asyncRethrow($async$result, $async$completer);
  67893. while (true)
  67894. switch ($async$goto) {
  67895. case 0:
  67896. // Function start
  67897. _0_0 = node.query;
  67898. $async$goto = _0_0 != null ? 3 : 5;
  67899. break;
  67900. case 3:
  67901. // then
  67902. $async$goto = 6;
  67903. return A._asyncAwait($async$self._async_evaluate$_performInterpolationWithMap$2$warnForColor(_0_0, true), $async$visitAtRootRule$1);
  67904. case 6:
  67905. // returning from await.
  67906. _1_0 = $async$result;
  67907. resolved = _1_0._0;
  67908. _1_0._1;
  67909. query = new A.AtRootQueryParser(A.SpanScanner$(resolved, null), null).parse$0(0);
  67910. // goto join
  67911. $async$goto = 4;
  67912. break;
  67913. case 5:
  67914. // else
  67915. query = B.AtRootQuery_bfj;
  67916. case 4:
  67917. // join
  67918. $parent = $async$self._async_evaluate$_assertInModule$2($async$self._async_evaluate$__parent, "__parent");
  67919. included = A._setArrayType([], type$.JSArray_ModifiableCssParentNode);
  67920. for (t1 = type$.CssStylesheet; !t1._is($parent); $parent = _2_0) {
  67921. if (!query.excludes$1($parent))
  67922. included.push($parent);
  67923. _2_0 = $parent._parent;
  67924. if (_2_0 == null)
  67925. throw A.wrapException(A.StateError$(string$.CssNod));
  67926. }
  67927. root = $async$self._async_evaluate$_trimIncluded$1(included);
  67928. $async$goto = root === $async$self._async_evaluate$_assertInModule$2($async$self._async_evaluate$__parent, "__parent") ? 7 : 8;
  67929. break;
  67930. case 7:
  67931. // then
  67932. $async$goto = 9;
  67933. return A._asyncAwait($async$self._async_evaluate$_environment.scope$1$2$when(new A._EvaluateVisitor_visitAtRootRule_closure1($async$self, node), node.hasDeclarations, type$.Null), $async$visitAtRootRule$1);
  67934. case 9:
  67935. // returning from await.
  67936. $async$returnValue = null;
  67937. // goto return
  67938. $async$goto = 1;
  67939. break;
  67940. case 8:
  67941. // join
  67942. if (included.length >= 1) {
  67943. first = included[0];
  67944. rest = B.JSArray_methods.sublist$1(included, 1);
  67945. innerCopy = first.copyWithoutChildren$0();
  67946. for (t1 = rest.length, outerCopy = innerCopy, _i = 0; _i < rest.length; rest.length === t1 || (0, A.throwConcurrentModificationError)(rest), ++_i, outerCopy = copy) {
  67947. copy = rest[_i].copyWithoutChildren$0();
  67948. copy.addChild$1(outerCopy);
  67949. }
  67950. root.addChild$1(outerCopy);
  67951. } else
  67952. innerCopy = root;
  67953. $async$goto = 10;
  67954. return A._asyncAwait($async$self._async_evaluate$_scopeForAtRoot$4(node, innerCopy, query, included).call$1(new A._EvaluateVisitor_visitAtRootRule_closure2($async$self, node)), $async$visitAtRootRule$1);
  67955. case 10:
  67956. // returning from await.
  67957. $async$returnValue = null;
  67958. // goto return
  67959. $async$goto = 1;
  67960. break;
  67961. case 1:
  67962. // return
  67963. return A._asyncReturn($async$returnValue, $async$completer);
  67964. }
  67965. });
  67966. return A._asyncStartSync($async$visitAtRootRule$1, $async$completer);
  67967. },
  67968. _async_evaluate$_trimIncluded$1(nodes) {
  67969. var $parent, t1, innermostContiguous, i, t2, _0_0, _1_0, root, _this = this, _null = null, _s5_ = "_root",
  67970. _s22_ = " to be an ancestor of ";
  67971. if (nodes.length === 0)
  67972. return _this._async_evaluate$_assertInModule$2(_this._async_evaluate$__root, _s5_);
  67973. $parent = _this._async_evaluate$_assertInModule$2(_this._async_evaluate$__parent, "__parent");
  67974. for (t1 = nodes.length, innermostContiguous = _null, i = 0; i < t1; ++i, $parent = _1_0) {
  67975. for (; t2 = nodes[i], $parent !== t2; innermostContiguous = _null, $parent = _0_0) {
  67976. _0_0 = $parent._parent;
  67977. if (_0_0 == null)
  67978. throw A.wrapException(A.ArgumentError$("Expected " + t2.toString$0(0) + _s22_ + _this.toString$0(0) + ".", _null));
  67979. }
  67980. if (innermostContiguous == null)
  67981. innermostContiguous = i;
  67982. _1_0 = $parent._parent;
  67983. if (_1_0 == null)
  67984. throw A.wrapException(A.ArgumentError$("Expected " + t2.toString$0(0) + _s22_ + _this.toString$0(0) + ".", _null));
  67985. }
  67986. if ($parent !== _this._async_evaluate$_assertInModule$2(_this._async_evaluate$__root, _s5_))
  67987. return _this._async_evaluate$_assertInModule$2(_this._async_evaluate$__root, _s5_);
  67988. innermostContiguous.toString;
  67989. root = nodes[innermostContiguous];
  67990. B.JSArray_methods.removeRange$2(nodes, innermostContiguous, nodes.length);
  67991. return root;
  67992. },
  67993. _async_evaluate$_scopeForAtRoot$4(node, newParent, query, included) {
  67994. var _this = this,
  67995. scope = new A._EvaluateVisitor__scopeForAtRoot_closure5(_this, newParent, node),
  67996. t1 = query._all || query._at_root_query$_rule;
  67997. if (t1 !== query.include)
  67998. scope = new A._EvaluateVisitor__scopeForAtRoot_closure6(_this, scope);
  67999. if (_this._async_evaluate$_mediaQueries != null && query.excludesName$1("media"))
  68000. scope = new A._EvaluateVisitor__scopeForAtRoot_closure7(_this, scope);
  68001. if (_this._async_evaluate$_inKeyframes && query.excludesName$1("keyframes"))
  68002. scope = new A._EvaluateVisitor__scopeForAtRoot_closure8(_this, scope);
  68003. return _this._async_evaluate$_inUnknownAtRule && !B.JSArray_methods.any$1(included, new A._EvaluateVisitor__scopeForAtRoot_closure9()) ? new A._EvaluateVisitor__scopeForAtRoot_closure10(_this, scope) : scope;
  68004. },
  68005. visitContentBlock$1(_, node) {
  68006. return A.throwExpression(A.UnsupportedError$(string$.Evalua));
  68007. },
  68008. visitContentRule$1(_, node) {
  68009. return this.visitContentRule$body$_EvaluateVisitor(0, node);
  68010. },
  68011. visitContentRule$body$_EvaluateVisitor(_, node) {
  68012. var $async$goto = 0,
  68013. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value),
  68014. $async$returnValue, $async$self = this, $content;
  68015. var $async$visitContentRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  68016. if ($async$errorCode === 1)
  68017. return A._asyncRethrow($async$result, $async$completer);
  68018. while (true)
  68019. switch ($async$goto) {
  68020. case 0:
  68021. // Function start
  68022. $content = $async$self._async_evaluate$_environment._async_environment$_content;
  68023. if ($content == null) {
  68024. $async$returnValue = null;
  68025. // goto return
  68026. $async$goto = 1;
  68027. break;
  68028. }
  68029. $async$goto = 3;
  68030. 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);
  68031. case 3:
  68032. // returning from await.
  68033. $async$returnValue = null;
  68034. // goto return
  68035. $async$goto = 1;
  68036. break;
  68037. case 1:
  68038. // return
  68039. return A._asyncReturn($async$returnValue, $async$completer);
  68040. }
  68041. });
  68042. return A._asyncStartSync($async$visitContentRule$1, $async$completer);
  68043. },
  68044. visitDebugRule$1(_, node) {
  68045. return this.visitDebugRule$body$_EvaluateVisitor(0, node);
  68046. },
  68047. visitDebugRule$body$_EvaluateVisitor(_, node) {
  68048. var $async$goto = 0,
  68049. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value),
  68050. $async$returnValue, $async$self = this, value, t1;
  68051. var $async$visitDebugRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  68052. if ($async$errorCode === 1)
  68053. return A._asyncRethrow($async$result, $async$completer);
  68054. while (true)
  68055. switch ($async$goto) {
  68056. case 0:
  68057. // Function start
  68058. $async$goto = 3;
  68059. return A._asyncAwait(node.expression.accept$1($async$self), $async$visitDebugRule$1);
  68060. case 3:
  68061. // returning from await.
  68062. value = $async$result;
  68063. t1 = value instanceof A.SassString ? value._string$_text : A.serializeValue(value, true, true);
  68064. $async$self._async_evaluate$_logger.debug$2(0, t1, node.span);
  68065. $async$returnValue = null;
  68066. // goto return
  68067. $async$goto = 1;
  68068. break;
  68069. case 1:
  68070. // return
  68071. return A._asyncReturn($async$returnValue, $async$completer);
  68072. }
  68073. });
  68074. return A._asyncStartSync($async$visitDebugRule$1, $async$completer);
  68075. },
  68076. visitDeclaration$1(_, node) {
  68077. return this.visitDeclaration$body$_EvaluateVisitor(0, node);
  68078. },
  68079. visitDeclaration$body$_EvaluateVisitor(_, node) {
  68080. var $async$goto = 0,
  68081. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value),
  68082. $async$returnValue, $async$self = this, siblings, interleavedRules, t1, t2, t3, t4, t5, t6, rule, rule0, $name, _1_0, _2_0, value, _3_0, oldDeclarationName;
  68083. var $async$visitDeclaration$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  68084. if ($async$errorCode === 1)
  68085. return A._asyncRethrow($async$result, $async$completer);
  68086. while (true)
  68087. switch ($async$goto) {
  68088. case 0:
  68089. // Function start
  68090. if (($async$self._async_evaluate$_atRootExcludingStyleRule ? null : $async$self._async_evaluate$_styleRuleIgnoringAtRoot) == null && !$async$self._async_evaluate$_inUnknownAtRule && !$async$self._async_evaluate$_inKeyframes)
  68091. throw A.wrapException($async$self._async_evaluate$_exception$2(string$.Declarm, node.span));
  68092. if ($async$self._async_evaluate$_declarationName != null && B.JSString_methods.startsWith$1(node.name.get$initialPlain(), "--"))
  68093. throw A.wrapException($async$self._async_evaluate$_exception$2(string$.Declarw, node.span));
  68094. siblings = $async$self._async_evaluate$_assertInModule$2($async$self._async_evaluate$__parent, "__parent")._parent.children;
  68095. interleavedRules = A._setArrayType([], type$.JSArray_CssStyleRule);
  68096. if (siblings.get$last(siblings) !== $async$self._async_evaluate$_assertInModule$2($async$self._async_evaluate$__parent, "__parent"))
  68097. t1 = !($async$self._async_evaluate$_quietDeps && $async$self._async_evaluate$_inDependency);
  68098. else
  68099. t1 = false;
  68100. if (t1)
  68101. for (t1 = A.SubListIterable$(siblings, siblings.indexOf$1(siblings, $async$self._async_evaluate$_assertInModule$2($async$self._async_evaluate$__parent, "__parent")) + 1, null, siblings.$ti._eval$1("ListBase.E")), t2 = t1.$ti, t1 = new A.ListIterator(t1, t1.get$length(0), t2._eval$1("ListIterator<ListIterable.E>")), t3 = node.span, t4 = type$.SourceSpan, t5 = type$.String, t2 = t2._eval$1("ListIterable.E"); t1.moveNext$0();) {
  68102. t6 = t1.__internal$_current;
  68103. rule = t6 == null ? t2._as(t6) : t6;
  68104. $label0$1: {
  68105. if (rule instanceof A.ModifiableCssComment)
  68106. continue;
  68107. t6 = rule instanceof A.ModifiableCssStyleRule;
  68108. rule0 = t6 ? rule : null;
  68109. if (t6) {
  68110. interleavedRules.push(rule0);
  68111. break $label0$1;
  68112. }
  68113. $async$self._async_evaluate$_warn$3(string$.Sassx27s, new A.MultiSpan(t3, "declaration", A.ConstantMap_ConstantMap$from(A.LinkedHashMap_LinkedHashMap$_literal([rule.get$span(rule), "nested rule"], t4, t5), t4, t5)), B.Deprecation_39u);
  68114. B.JSArray_methods.clear$0(interleavedRules);
  68115. break $label0$1;
  68116. }
  68117. }
  68118. t1 = node.name;
  68119. $async$goto = 3;
  68120. return A._asyncAwait($async$self._async_evaluate$_interpolationToValue$2$warnForColor(t1, true), $async$visitDeclaration$1);
  68121. case 3:
  68122. // returning from await.
  68123. $name = $async$result;
  68124. _1_0 = $async$self._async_evaluate$_declarationName;
  68125. if (_1_0 != null)
  68126. $name = new A.CssValue(_1_0 + "-" + A.S($name.value), $name.span, type$.CssValue_String);
  68127. _2_0 = node.value;
  68128. $async$goto = _2_0 != null ? 4 : 5;
  68129. break;
  68130. case 4:
  68131. // then
  68132. $async$goto = 6;
  68133. return A._asyncAwait(_2_0.accept$1($async$self), $async$visitDeclaration$1);
  68134. case 6:
  68135. // returning from await.
  68136. value = $async$result;
  68137. if (!value.get$isBlank() || value.get$asList().length === 0 || J.startsWith$1$s($name.value, "--")) {
  68138. t2 = $async$self._async_evaluate$_assertInModule$2($async$self._async_evaluate$__parent, "__parent");
  68139. t3 = _2_0.get$span(_2_0);
  68140. t4 = node.span;
  68141. t1 = B.JSString_methods.startsWith$1(t1.get$initialPlain(), "--");
  68142. t5 = interleavedRules.length === 0 ? null : $async$self._async_evaluate$_stackTrace$1(t4);
  68143. if ($async$self._async_evaluate$_sourceMap) {
  68144. t6 = A.NullableExtension_andThen(_2_0, $async$self.get$_async_evaluate$_expressionNode());
  68145. t6 = t6 == null ? null : J.get$span$z(t6);
  68146. } else
  68147. t6 = null;
  68148. t2.addChild$1(A.ModifiableCssDeclaration$($name, new A.CssValue(value, t3, type$.CssValue_Value), t4, interleavedRules, t1, t5, t6));
  68149. }
  68150. case 5:
  68151. // join
  68152. _3_0 = node.children;
  68153. t1 = {};
  68154. t1.children = null;
  68155. $async$goto = _3_0 != null ? 7 : 8;
  68156. break;
  68157. case 7:
  68158. // then
  68159. t1.children = _3_0;
  68160. oldDeclarationName = $async$self._async_evaluate$_declarationName;
  68161. $async$self._async_evaluate$_declarationName = $name.value;
  68162. $async$goto = 9;
  68163. return A._asyncAwait($async$self._async_evaluate$_environment.scope$1$2$when(new A._EvaluateVisitor_visitDeclaration_closure0(t1, $async$self), node.hasDeclarations, type$.Null), $async$visitDeclaration$1);
  68164. case 9:
  68165. // returning from await.
  68166. $async$self._async_evaluate$_declarationName = oldDeclarationName;
  68167. case 8:
  68168. // join
  68169. $async$returnValue = null;
  68170. // goto return
  68171. $async$goto = 1;
  68172. break;
  68173. case 1:
  68174. // return
  68175. return A._asyncReturn($async$returnValue, $async$completer);
  68176. }
  68177. });
  68178. return A._asyncStartSync($async$visitDeclaration$1, $async$completer);
  68179. },
  68180. visitEachRule$1(_, node) {
  68181. return this.visitEachRule$body$_EvaluateVisitor(0, node);
  68182. },
  68183. visitEachRule$body$_EvaluateVisitor(_, node) {
  68184. var $async$goto = 0,
  68185. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value),
  68186. $async$returnValue, $async$self = this, t1, list, nodeWithSpan, _0_0;
  68187. var $async$visitEachRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  68188. if ($async$errorCode === 1)
  68189. return A._asyncRethrow($async$result, $async$completer);
  68190. while (true)
  68191. switch ($async$goto) {
  68192. case 0:
  68193. // Function start
  68194. t1 = node.list;
  68195. $async$goto = 3;
  68196. return A._asyncAwait(t1.accept$1($async$self), $async$visitEachRule$1);
  68197. case 3:
  68198. // returning from await.
  68199. list = $async$result;
  68200. nodeWithSpan = $async$self._async_evaluate$_expressionNode$1(t1);
  68201. _0_0 = node.variables;
  68202. $label0$0: {
  68203. t1 = {};
  68204. t1.variable = null;
  68205. if (_0_0.length === 1) {
  68206. t1.variable = _0_0[0];
  68207. t1 = new A._EvaluateVisitor_visitEachRule_closure2(t1, $async$self, nodeWithSpan);
  68208. break $label0$0;
  68209. }
  68210. t1 = {};
  68211. t1.variables = null;
  68212. t1.variables = _0_0;
  68213. t1 = new A._EvaluateVisitor_visitEachRule_closure3(t1, $async$self, nodeWithSpan);
  68214. break $label0$0;
  68215. }
  68216. $async$returnValue = $async$self._async_evaluate$_environment.scope$1$2$semiGlobal(new A._EvaluateVisitor_visitEachRule_closure4($async$self, list, t1, node), true, type$.nullable_Value);
  68217. // goto return
  68218. $async$goto = 1;
  68219. break;
  68220. case 1:
  68221. // return
  68222. return A._asyncReturn($async$returnValue, $async$completer);
  68223. }
  68224. });
  68225. return A._asyncStartSync($async$visitEachRule$1, $async$completer);
  68226. },
  68227. _async_evaluate$_setMultipleVariables$3(variables, value, nodeWithSpan) {
  68228. var i,
  68229. list = value.get$asList(),
  68230. t1 = variables.length,
  68231. minLength = Math.min(t1, list.length);
  68232. for (i = 0; i < minLength; ++i)
  68233. this._async_evaluate$_environment.setLocalVariable$3(variables[i], this._async_evaluate$_withoutSlash$2(list[i], nodeWithSpan), nodeWithSpan);
  68234. for (i = minLength; i < t1; ++i)
  68235. this._async_evaluate$_environment.setLocalVariable$3(variables[i], B.C__SassNull, nodeWithSpan);
  68236. },
  68237. visitErrorRule$1(_, node) {
  68238. return this.visitErrorRule$body$_EvaluateVisitor(0, node);
  68239. },
  68240. visitErrorRule$body$_EvaluateVisitor(_, node) {
  68241. var $async$goto = 0,
  68242. $async$completer = A._makeAsyncAwaitCompleter(type$.Value),
  68243. $async$self = this, $async$temp1, $async$temp2;
  68244. var $async$visitErrorRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  68245. if ($async$errorCode === 1)
  68246. return A._asyncRethrow($async$result, $async$completer);
  68247. while (true)
  68248. switch ($async$goto) {
  68249. case 0:
  68250. // Function start
  68251. $async$temp1 = A;
  68252. $async$temp2 = J;
  68253. $async$goto = 2;
  68254. return A._asyncAwait(node.expression.accept$1($async$self), $async$visitErrorRule$1);
  68255. case 2:
  68256. // returning from await.
  68257. throw $async$temp1.wrapException($async$self._async_evaluate$_exception$2($async$temp2.toString$0$($async$result), node.span));
  68258. // implicit return
  68259. return A._asyncReturn(null, $async$completer);
  68260. }
  68261. });
  68262. return A._asyncStartSync($async$visitErrorRule$1, $async$completer);
  68263. },
  68264. visitExtendRule$1(_, node) {
  68265. return this.visitExtendRule$body$_EvaluateVisitor(0, node);
  68266. },
  68267. visitExtendRule$body$_EvaluateVisitor(_, node) {
  68268. var $async$goto = 0,
  68269. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value),
  68270. $async$returnValue, $async$self = this, t1, t2, t3, t4, t5, _i, complex, visitor, t6, t7, _0_0, targetText, targetMap, compound, styleRule;
  68271. var $async$visitExtendRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  68272. if ($async$errorCode === 1)
  68273. return A._asyncRethrow($async$result, $async$completer);
  68274. while (true)
  68275. switch ($async$goto) {
  68276. case 0:
  68277. // Function start
  68278. styleRule = $async$self._async_evaluate$_atRootExcludingStyleRule ? null : $async$self._async_evaluate$_styleRuleIgnoringAtRoot;
  68279. if (styleRule == null || $async$self._async_evaluate$_declarationName != null)
  68280. throw A.wrapException($async$self._async_evaluate$_exception$2(string$.x40exten, node.span));
  68281. for (t1 = styleRule.originalSelector.components, t2 = t1.length, t3 = node.span, t4 = type$.SourceSpan, t5 = type$.String, _i = 0; _i < t2; ++_i) {
  68282. complex = t1[_i];
  68283. if (!complex.accept$1(B._IsBogusVisitor_true))
  68284. continue;
  68285. visitor = A._SerializeVisitor$(null, true, null, null, true, false, null, true);
  68286. complex.accept$1(visitor);
  68287. t6 = B.JSString_methods.trim$0(visitor._serialize$_buffer.toString$0(0));
  68288. t7 = complex.accept$1(B.C__IsUselessVisitor) ? "can't" : "shouldn't";
  68289. $async$self._async_evaluate$_warn$3('The selector "' + t6 + '" is invalid CSS and ' + t7 + string$.x20be_an, new A.MultiSpan(A.SpanExtensions_trimRight(complex.span), "invalid selector", A.ConstantMap_ConstantMap$from(A.LinkedHashMap_LinkedHashMap$_literal([t3, "@extend rule"], t4, t5), t4, t5)), B.Deprecation_9hF);
  68290. }
  68291. $async$goto = 3;
  68292. return A._asyncAwait($async$self._async_evaluate$_performInterpolationWithMap$2$warnForColor(node.selector, true), $async$visitExtendRule$1);
  68293. case 3:
  68294. // returning from await.
  68295. _0_0 = $async$result;
  68296. targetText = _0_0._0;
  68297. targetMap = _0_0._1;
  68298. for (t1 = A.SelectorList_SelectorList$parse(A.trimAscii(targetText, true), false, targetMap, false).components, t2 = t1.length, t3 = styleRule._style_rule$_selector._box$_inner, _i = 0; _i < t2; ++_i) {
  68299. complex = t1[_i];
  68300. compound = complex.get$singleCompound();
  68301. if (compound == null)
  68302. throw A.wrapException(A.SassFormatException$("complex selectors may not be extended.", complex.span, null));
  68303. t4 = compound.components;
  68304. t5 = t4.length === 1 ? B.JSArray_methods.get$first(t4) : null;
  68305. if (t5 == null)
  68306. throw A.wrapException(A.SassFormatException$(string$.compou + B.JSArray_methods.join$1(t4, ", ") + string$.x60_inst, compound.span, null));
  68307. $async$self._async_evaluate$_assertInModule$2($async$self._async_evaluate$__extensionStore, "_extensionStore").addExtension$4(t3.value, t5, node, $async$self._async_evaluate$_mediaQueries);
  68308. }
  68309. $async$returnValue = null;
  68310. // goto return
  68311. $async$goto = 1;
  68312. break;
  68313. case 1:
  68314. // return
  68315. return A._asyncReturn($async$returnValue, $async$completer);
  68316. }
  68317. });
  68318. return A._asyncStartSync($async$visitExtendRule$1, $async$completer);
  68319. },
  68320. visitAtRule$1(_, node) {
  68321. return this.visitAtRule$body$_EvaluateVisitor(0, node);
  68322. },
  68323. visitAtRule$body$_EvaluateVisitor(_, node) {
  68324. var $async$goto = 0,
  68325. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value),
  68326. $async$returnValue, $async$self = this, $name, t1, value, children, wasInKeyframes, wasInUnknownAtRule;
  68327. var $async$visitAtRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  68328. if ($async$errorCode === 1)
  68329. return A._asyncRethrow($async$result, $async$completer);
  68330. while (true)
  68331. switch ($async$goto) {
  68332. case 0:
  68333. // Function start
  68334. if ($async$self._async_evaluate$_declarationName != null)
  68335. throw A.wrapException($async$self._async_evaluate$_exception$2(string$.At_rul, node.span));
  68336. $async$goto = 3;
  68337. return A._asyncAwait($async$self._async_evaluate$_interpolationToValue$1(node.name), $async$visitAtRule$1);
  68338. case 3:
  68339. // returning from await.
  68340. $name = $async$result;
  68341. t1 = A.NullableExtension_andThen(node.value, new A._EvaluateVisitor_visitAtRule_closure2($async$self));
  68342. $async$goto = 4;
  68343. return A._asyncAwait(type$.Future_nullable_CssValue_String._is(t1) ? t1 : A._Future$value(t1, type$.nullable_CssValue_String), $async$visitAtRule$1);
  68344. case 4:
  68345. // returning from await.
  68346. value = $async$result;
  68347. children = node.children;
  68348. if (children == null) {
  68349. $async$self._async_evaluate$_assertInModule$2($async$self._async_evaluate$__parent, "__parent").addChild$1(A.ModifiableCssAtRule$($name, node.span, true, value));
  68350. $async$returnValue = null;
  68351. // goto return
  68352. $async$goto = 1;
  68353. break;
  68354. }
  68355. wasInKeyframes = $async$self._async_evaluate$_inKeyframes;
  68356. wasInUnknownAtRule = $async$self._async_evaluate$_inUnknownAtRule;
  68357. if (A.unvendor($name.value) === "keyframes")
  68358. $async$self._async_evaluate$_inKeyframes = true;
  68359. else
  68360. $async$self._async_evaluate$_inUnknownAtRule = true;
  68361. $async$goto = 5;
  68362. return A._asyncAwait($async$self._async_evaluate$_withParent$2$4$scopeWhen$through(A.ModifiableCssAtRule$($name, node.span, false, value), new A._EvaluateVisitor_visitAtRule_closure3($async$self, $name, children), node.hasDeclarations, new A._EvaluateVisitor_visitAtRule_closure4(), type$.ModifiableCssAtRule, type$.Null), $async$visitAtRule$1);
  68363. case 5:
  68364. // returning from await.
  68365. $async$self._async_evaluate$_inUnknownAtRule = wasInUnknownAtRule;
  68366. $async$self._async_evaluate$_inKeyframes = wasInKeyframes;
  68367. $async$returnValue = null;
  68368. // goto return
  68369. $async$goto = 1;
  68370. break;
  68371. case 1:
  68372. // return
  68373. return A._asyncReturn($async$returnValue, $async$completer);
  68374. }
  68375. });
  68376. return A._asyncStartSync($async$visitAtRule$1, $async$completer);
  68377. },
  68378. visitForRule$1(_, node) {
  68379. return this.visitForRule$body$_EvaluateVisitor(0, node);
  68380. },
  68381. visitForRule$body$_EvaluateVisitor(_, node) {
  68382. var $async$goto = 0,
  68383. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value),
  68384. $async$returnValue, $async$self = this, t1, t2, t3, fromNumber, t4, toNumber, from, to, direction;
  68385. var $async$visitForRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  68386. if ($async$errorCode === 1)
  68387. return A._asyncRethrow($async$result, $async$completer);
  68388. while (true)
  68389. switch ($async$goto) {
  68390. case 0:
  68391. // Function start
  68392. t1 = {};
  68393. t2 = node.from;
  68394. t3 = type$.SassNumber;
  68395. $async$goto = 3;
  68396. return A._asyncAwait($async$self._addExceptionSpanAsync$1$2(t2, new A._EvaluateVisitor_visitForRule_closure4($async$self, node), t3), $async$visitForRule$1);
  68397. case 3:
  68398. // returning from await.
  68399. fromNumber = $async$result;
  68400. t4 = node.to;
  68401. $async$goto = 4;
  68402. return A._asyncAwait($async$self._addExceptionSpanAsync$1$2(t4, new A._EvaluateVisitor_visitForRule_closure5($async$self, node), t3), $async$visitForRule$1);
  68403. case 4:
  68404. // returning from await.
  68405. toNumber = $async$result;
  68406. from = $async$self._async_evaluate$_addExceptionSpan$2(t2, new A._EvaluateVisitor_visitForRule_closure6(fromNumber));
  68407. to = t1.to = $async$self._async_evaluate$_addExceptionSpan$2(t4, new A._EvaluateVisitor_visitForRule_closure7(toNumber, fromNumber));
  68408. direction = from > to ? -1 : 1;
  68409. if (from === (!node.isExclusive ? t1.to = to + direction : to)) {
  68410. $async$returnValue = null;
  68411. // goto return
  68412. $async$goto = 1;
  68413. break;
  68414. }
  68415. $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);
  68416. // goto return
  68417. $async$goto = 1;
  68418. break;
  68419. case 1:
  68420. // return
  68421. return A._asyncReturn($async$returnValue, $async$completer);
  68422. }
  68423. });
  68424. return A._asyncStartSync($async$visitForRule$1, $async$completer);
  68425. },
  68426. visitForwardRule$1(_, node) {
  68427. return this.visitForwardRule$body$_EvaluateVisitor(0, node);
  68428. },
  68429. visitForwardRule$body$_EvaluateVisitor(_, node) {
  68430. var $async$goto = 0,
  68431. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value),
  68432. $async$returnValue, $async$self = this, newConfiguration, t4, _i, variable, $name, oldConfiguration, adjustedConfiguration, t1, t2, t3;
  68433. var $async$visitForwardRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  68434. if ($async$errorCode === 1)
  68435. return A._asyncRethrow($async$result, $async$completer);
  68436. while (true)
  68437. switch ($async$goto) {
  68438. case 0:
  68439. // Function start
  68440. oldConfiguration = $async$self._async_evaluate$_configuration;
  68441. adjustedConfiguration = oldConfiguration.throughForward$1(node);
  68442. t1 = node.configuration;
  68443. t2 = t1.length;
  68444. t3 = node.url;
  68445. $async$goto = t2 !== 0 ? 3 : 5;
  68446. break;
  68447. case 3:
  68448. // then
  68449. $async$goto = 6;
  68450. return A._asyncAwait($async$self._async_evaluate$_addForwardConfiguration$2(adjustedConfiguration, node), $async$visitForwardRule$1);
  68451. case 6:
  68452. // returning from await.
  68453. newConfiguration = $async$result;
  68454. $async$goto = 7;
  68455. 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);
  68456. case 7:
  68457. // returning from await.
  68458. t3 = type$.String;
  68459. t4 = A.LinkedHashSet_LinkedHashSet$_empty(t3);
  68460. for (_i = 0; _i < t2; ++_i) {
  68461. variable = t1[_i];
  68462. if (!variable.isGuarded)
  68463. t4.add$1(0, variable.name);
  68464. }
  68465. $async$self._async_evaluate$_removeUsedConfiguration$3$except(adjustedConfiguration, newConfiguration, t4);
  68466. t3 = A.LinkedHashSet_LinkedHashSet$_empty(t3);
  68467. for (_i = 0; _i < t2; ++_i)
  68468. t3.add$1(0, t1[_i].name);
  68469. 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) {
  68470. $name = t2[_i];
  68471. if (!t3.contains$1(0, $name))
  68472. if (!t1.get$isEmpty(t1))
  68473. t1.remove$1(0, $name);
  68474. }
  68475. $async$self._async_evaluate$_assertConfigurationIsEmpty$1(newConfiguration);
  68476. // goto join
  68477. $async$goto = 4;
  68478. break;
  68479. case 5:
  68480. // else
  68481. $async$self._async_evaluate$_configuration = adjustedConfiguration;
  68482. $async$goto = 8;
  68483. return A._asyncAwait($async$self._async_evaluate$_loadModule$4(t3, "@forward", node, new A._EvaluateVisitor_visitForwardRule_closure2($async$self, node)), $async$visitForwardRule$1);
  68484. case 8:
  68485. // returning from await.
  68486. $async$self._async_evaluate$_configuration = oldConfiguration;
  68487. case 4:
  68488. // join
  68489. $async$returnValue = null;
  68490. // goto return
  68491. $async$goto = 1;
  68492. break;
  68493. case 1:
  68494. // return
  68495. return A._asyncReturn($async$returnValue, $async$completer);
  68496. }
  68497. });
  68498. return A._asyncStartSync($async$visitForwardRule$1, $async$completer);
  68499. },
  68500. _async_evaluate$_addForwardConfiguration$2(configuration, node) {
  68501. return this._addForwardConfiguration$body$_EvaluateVisitor(configuration, node);
  68502. },
  68503. _addForwardConfiguration$body$_EvaluateVisitor(configuration, node) {
  68504. var $async$goto = 0,
  68505. $async$completer = A._makeAsyncAwaitCompleter(type$.Configuration),
  68506. $async$returnValue, $async$self = this, t2, t3, t4, t5, _i, variable, t6, _0_0, t7, oldValue, variableNodeWithSpan, t1, newValues, $async$temp1, $async$temp2, $async$temp3;
  68507. var $async$_async_evaluate$_addForwardConfiguration$2 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  68508. if ($async$errorCode === 1)
  68509. return A._asyncRethrow($async$result, $async$completer);
  68510. while (true)
  68511. switch ($async$goto) {
  68512. case 0:
  68513. // Function start
  68514. t1 = configuration._configuration$_values;
  68515. newValues = A.LinkedHashMap_LinkedHashMap$of(new A.UnmodifiableMapView(t1, type$.UnmodifiableMapView_String_ConfiguredValue), type$.String, type$.ConfiguredValue);
  68516. t2 = node.configuration, t3 = t2.length, t4 = type$._Future_Value, t5 = type$.Future_Value, _i = 0;
  68517. case 3:
  68518. // for condition
  68519. if (!(_i < t3)) {
  68520. // goto after for
  68521. $async$goto = 5;
  68522. break;
  68523. }
  68524. variable = t2[_i];
  68525. if (variable.isGuarded) {
  68526. t6 = variable.name;
  68527. _0_0 = t1.get$isEmpty(t1) ? null : t1.remove$1(0, t6);
  68528. if (_0_0 != null) {
  68529. t7 = !_0_0.value.$eq(0, B.C__SassNull);
  68530. oldValue = _0_0;
  68531. } else {
  68532. oldValue = null;
  68533. t7 = false;
  68534. }
  68535. if (t7) {
  68536. newValues.$indexSet(0, t6, oldValue);
  68537. // goto for update
  68538. $async$goto = 4;
  68539. break;
  68540. }
  68541. }
  68542. t6 = variable.expression;
  68543. variableNodeWithSpan = $async$self._async_evaluate$_expressionNode$1(t6);
  68544. t6 = t6.accept$1($async$self);
  68545. if (!t5._is(t6)) {
  68546. t7 = new A._Future($.Zone__current, t4);
  68547. t7._state = 8;
  68548. t7._resultOrListeners = t6;
  68549. t6 = t7;
  68550. }
  68551. $async$temp1 = newValues;
  68552. $async$temp2 = variable.name;
  68553. $async$temp3 = A;
  68554. $async$goto = 6;
  68555. return A._asyncAwait(t6, $async$_async_evaluate$_addForwardConfiguration$2);
  68556. case 6:
  68557. // returning from await.
  68558. $async$temp1.$indexSet(0, $async$temp2, new $async$temp3.ConfiguredValue($async$self._async_evaluate$_withoutSlash$2($async$result, variableNodeWithSpan), variable.span, variableNodeWithSpan));
  68559. case 4:
  68560. // for update
  68561. ++_i;
  68562. // goto for condition
  68563. $async$goto = 3;
  68564. break;
  68565. case 5:
  68566. // after for
  68567. if (configuration instanceof A.ExplicitConfiguration || t1.get$isEmpty(t1)) {
  68568. $async$returnValue = new A.ExplicitConfiguration(node, newValues, null);
  68569. // goto return
  68570. $async$goto = 1;
  68571. break;
  68572. } else {
  68573. $async$returnValue = new A.Configuration(newValues, null);
  68574. // goto return
  68575. $async$goto = 1;
  68576. break;
  68577. }
  68578. case 1:
  68579. // return
  68580. return A._asyncReturn($async$returnValue, $async$completer);
  68581. }
  68582. });
  68583. return A._asyncStartSync($async$_async_evaluate$_addForwardConfiguration$2, $async$completer);
  68584. },
  68585. _async_evaluate$_registerCommentsForModule$1(module) {
  68586. var _this = this, _s5_ = "_root",
  68587. t1 = _this._async_evaluate$__root;
  68588. if (t1 == null)
  68589. return;
  68590. if (_this._async_evaluate$_assertInModule$2(t1, _s5_).children.get$length(0) === 0 || !module.get$transitivelyContainsCss())
  68591. return;
  68592. t1 = _this._async_evaluate$_preModuleComments;
  68593. if (t1 == null)
  68594. t1 = _this._async_evaluate$_preModuleComments = A.LinkedHashMap_LinkedHashMap$_empty(type$.Module_AsyncCallable, type$.List_CssComment);
  68595. J.addAll$1$ax(t1.putIfAbsent$2(module, new A._EvaluateVisitor__registerCommentsForModule_closure0()), new A.UnmodifiableListView(J.cast$1$0$ax(_this._async_evaluate$_assertInModule$2(_this._async_evaluate$__root, _s5_).children._collection$_source, type$.CssComment), type$.UnmodifiableListView_CssComment));
  68596. _this._async_evaluate$_assertInModule$2(_this._async_evaluate$__root, _s5_).clearChildren$0();
  68597. _this._async_evaluate$__endOfImports = 0;
  68598. },
  68599. _async_evaluate$_removeUsedConfiguration$3$except(upstream, downstream, except) {
  68600. var t1, t2, t3, t4, _i, $name;
  68601. 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) {
  68602. $name = t2[_i];
  68603. if (except.contains$1(0, $name))
  68604. continue;
  68605. if (!t4.containsKey$1($name))
  68606. if (!t1.get$isEmpty(t1))
  68607. t1.remove$1(0, $name);
  68608. }
  68609. },
  68610. _async_evaluate$_assertConfigurationIsEmpty$2$nameInError(configuration, nameInError) {
  68611. var t1, _0_0, $name, value;
  68612. if (!(configuration instanceof A.ExplicitConfiguration))
  68613. return;
  68614. t1 = configuration._configuration$_values;
  68615. if (t1.get$isEmpty(t1))
  68616. return;
  68617. t1 = A.MapExtensions_get_pairs(new A.UnmodifiableMapView(t1, type$.UnmodifiableMapView_String_ConfiguredValue), type$.String, type$.ConfiguredValue);
  68618. _0_0 = t1.get$first(t1);
  68619. $name = _0_0._0;
  68620. value = _0_0._1;
  68621. t1 = nameInError ? "$" + $name + string$.x20was_n : string$.This_v;
  68622. throw A.wrapException(this._async_evaluate$_exception$2(t1, value.configurationSpan));
  68623. },
  68624. _async_evaluate$_assertConfigurationIsEmpty$1(configuration) {
  68625. return this._async_evaluate$_assertConfigurationIsEmpty$2$nameInError(configuration, false);
  68626. },
  68627. visitFunctionRule$1(_, node) {
  68628. return this.visitFunctionRule$body$_EvaluateVisitor(0, node);
  68629. },
  68630. visitFunctionRule$body$_EvaluateVisitor(_, node) {
  68631. var $async$goto = 0,
  68632. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value),
  68633. $async$returnValue, $async$self = this, t1, t2, t3, t4, index, t5;
  68634. var $async$visitFunctionRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  68635. if ($async$errorCode === 1)
  68636. return A._asyncRethrow($async$result, $async$completer);
  68637. while (true)
  68638. switch ($async$goto) {
  68639. case 0:
  68640. // Function start
  68641. t1 = $async$self._async_evaluate$_environment;
  68642. t2 = t1.closure$0();
  68643. t3 = $async$self._async_evaluate$_inDependency;
  68644. t4 = t1._async_environment$_functions;
  68645. index = t4.length - 1;
  68646. t5 = node.name;
  68647. t1._async_environment$_functionIndices.$indexSet(0, t5, index);
  68648. t4[index].$indexSet(0, t5, new A.UserDefinedCallable(node, t2, t3, type$.UserDefinedCallable_AsyncEnvironment));
  68649. $async$returnValue = null;
  68650. // goto return
  68651. $async$goto = 1;
  68652. break;
  68653. case 1:
  68654. // return
  68655. return A._asyncReturn($async$returnValue, $async$completer);
  68656. }
  68657. });
  68658. return A._asyncStartSync($async$visitFunctionRule$1, $async$completer);
  68659. },
  68660. visitIfRule$1(_, node) {
  68661. return this.visitIfRule$body$_EvaluateVisitor(0, node);
  68662. },
  68663. visitIfRule$body$_EvaluateVisitor(_, node) {
  68664. var $async$goto = 0,
  68665. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value),
  68666. $async$returnValue, $async$self = this, t1, t2, _i, clauseToCheck, clause;
  68667. var $async$visitIfRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  68668. if ($async$errorCode === 1)
  68669. return A._asyncRethrow($async$result, $async$completer);
  68670. while (true)
  68671. switch ($async$goto) {
  68672. case 0:
  68673. // Function start
  68674. clause = node.lastClause;
  68675. t1 = node.clauses, t2 = t1.length, _i = 0;
  68676. case 3:
  68677. // for condition
  68678. if (!(_i < t2)) {
  68679. // goto after for
  68680. $async$goto = 5;
  68681. break;
  68682. }
  68683. clauseToCheck = t1[_i];
  68684. $async$goto = 6;
  68685. return A._asyncAwait(clauseToCheck.expression.accept$1($async$self), $async$visitIfRule$1);
  68686. case 6:
  68687. // returning from await.
  68688. if ($async$result.get$isTruthy()) {
  68689. clause = clauseToCheck;
  68690. // goto after for
  68691. $async$goto = 5;
  68692. break;
  68693. }
  68694. case 4:
  68695. // for update
  68696. ++_i;
  68697. // goto for condition
  68698. $async$goto = 3;
  68699. break;
  68700. case 5:
  68701. // after for
  68702. t1 = A.NullableExtension_andThen(clause, new A._EvaluateVisitor_visitIfRule_closure0($async$self));
  68703. $async$goto = 7;
  68704. return A._asyncAwait(type$.Future_nullable_Value._is(t1) ? t1 : A._Future$value(t1, type$.nullable_Value), $async$visitIfRule$1);
  68705. case 7:
  68706. // returning from await.
  68707. $async$returnValue = $async$result;
  68708. // goto return
  68709. $async$goto = 1;
  68710. break;
  68711. case 1:
  68712. // return
  68713. return A._asyncReturn($async$returnValue, $async$completer);
  68714. }
  68715. });
  68716. return A._asyncStartSync($async$visitIfRule$1, $async$completer);
  68717. },
  68718. visitImportRule$1(_, node) {
  68719. return this.visitImportRule$body$_EvaluateVisitor(0, node);
  68720. },
  68721. visitImportRule$body$_EvaluateVisitor(_, node) {
  68722. var $async$goto = 0,
  68723. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value),
  68724. $async$returnValue, $async$self = this, t1, t2, t3, _i, $import;
  68725. var $async$visitImportRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  68726. if ($async$errorCode === 1)
  68727. return A._asyncRethrow($async$result, $async$completer);
  68728. while (true)
  68729. switch ($async$goto) {
  68730. case 0:
  68731. // Function start
  68732. t1 = node.imports, t2 = t1.length, t3 = type$.StaticImport, _i = 0;
  68733. case 3:
  68734. // for condition
  68735. if (!(_i < t2)) {
  68736. // goto after for
  68737. $async$goto = 5;
  68738. break;
  68739. }
  68740. $import = t1[_i];
  68741. $async$goto = $import instanceof A.DynamicImport ? 6 : 8;
  68742. break;
  68743. case 6:
  68744. // then
  68745. $async$goto = 9;
  68746. return A._asyncAwait($async$self._async_evaluate$_visitDynamicImport$1($import), $async$visitImportRule$1);
  68747. case 9:
  68748. // returning from await.
  68749. // goto join
  68750. $async$goto = 7;
  68751. break;
  68752. case 8:
  68753. // else
  68754. $async$goto = 10;
  68755. return A._asyncAwait($async$self._visitStaticImport$1(t3._as($import)), $async$visitImportRule$1);
  68756. case 10:
  68757. // returning from await.
  68758. case 7:
  68759. // join
  68760. case 4:
  68761. // for update
  68762. ++_i;
  68763. // goto for condition
  68764. $async$goto = 3;
  68765. break;
  68766. case 5:
  68767. // after for
  68768. $async$returnValue = null;
  68769. // goto return
  68770. $async$goto = 1;
  68771. break;
  68772. case 1:
  68773. // return
  68774. return A._asyncReturn($async$returnValue, $async$completer);
  68775. }
  68776. });
  68777. return A._asyncStartSync($async$visitImportRule$1, $async$completer);
  68778. },
  68779. _async_evaluate$_visitDynamicImport$1($import) {
  68780. return this._async_evaluate$_withStackFrame$1$3("@import", $import, new A._EvaluateVisitor__visitDynamicImport_closure0(this, $import), type$.void);
  68781. },
  68782. _async_evaluate$_loadStylesheet$4$baseUrl$forImport(url, span, baseUrl, forImport) {
  68783. return this._loadStylesheet$body$_EvaluateVisitor(url, span, baseUrl, forImport);
  68784. },
  68785. _async_evaluate$_loadStylesheet$3$baseUrl(url, span, baseUrl) {
  68786. return this._async_evaluate$_loadStylesheet$4$baseUrl$forImport(url, span, baseUrl, false);
  68787. },
  68788. _async_evaluate$_loadStylesheet$3$forImport(url, span, forImport) {
  68789. return this._async_evaluate$_loadStylesheet$4$baseUrl$forImport(url, span, null, forImport);
  68790. },
  68791. _loadStylesheet$body$_EvaluateVisitor(url, span, baseUrl, forImport) {
  68792. var $async$goto = 0,
  68793. $async$completer = A._makeAsyncAwaitCompleter(type$.Record_3_Stylesheet_and_nullable_AsyncImporter_importer_and_bool_isDependency),
  68794. $async$returnValue, $async$handler = 2, $async$errorStack = [], $async$next = [], $async$self = this, _0_0, importCache, _1_0, importer, canonicalUrl, originalUrl, isDependency, _2_0, stylesheet, error, stackTrace, error0, stackTrace0, t1, t2, exception, $async$exception;
  68795. var $async$_async_evaluate$_loadStylesheet$4$baseUrl$forImport = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  68796. if ($async$errorCode === 1) {
  68797. $async$errorStack.push($async$result);
  68798. $async$goto = $async$handler;
  68799. }
  68800. while (true)
  68801. switch ($async$goto) {
  68802. case 0:
  68803. // Function start
  68804. baseUrl = baseUrl;
  68805. $async$handler = 4;
  68806. $async$self._async_evaluate$_importSpan = span;
  68807. _0_0 = $async$self._async_evaluate$_importCache;
  68808. importCache = null;
  68809. $async$goto = _0_0 != null ? 7 : 8;
  68810. break;
  68811. case 7:
  68812. // then
  68813. importCache = _0_0;
  68814. if (baseUrl == null) {
  68815. t1 = $async$self._async_evaluate$_assertInModule$2($async$self._async_evaluate$__stylesheet, "_stylesheet").span;
  68816. baseUrl = t1.get$sourceUrl(t1);
  68817. }
  68818. $async$goto = 9;
  68819. 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);
  68820. case 9:
  68821. // returning from await.
  68822. _1_0 = $async$result;
  68823. importer = null;
  68824. canonicalUrl = null;
  68825. originalUrl = null;
  68826. $async$goto = type$.Record_3_nullable_Object_and_nullable_Object_and_nullable_Object_originalUrl._is(_1_0) ? 10 : 11;
  68827. break;
  68828. case 10:
  68829. // then
  68830. importer = _1_0._0;
  68831. canonicalUrl = _1_0._1;
  68832. originalUrl = _1_0._2;
  68833. if (canonicalUrl.get$scheme() === "")
  68834. A.WarnForDeprecation_warnForDeprecation($async$self._async_evaluate$_logger, B.Deprecation_746, "Importer " + A.S(importer) + " canonicalized " + url + " to " + A.S(canonicalUrl) + string$.x2e_Rela, null, null);
  68835. $async$self._async_evaluate$_loadedUrls.add$1(0, canonicalUrl);
  68836. isDependency = $async$self._async_evaluate$_inDependency || !J.$eq$(importer, $async$self._async_evaluate$_importer);
  68837. $async$goto = 12;
  68838. return A._asyncAwait(importCache.importCanonical$3$originalUrl(importer, canonicalUrl, originalUrl), $async$_async_evaluate$_loadStylesheet$4$baseUrl$forImport);
  68839. case 12:
  68840. // returning from await.
  68841. _2_0 = $async$result;
  68842. stylesheet = null;
  68843. if (_2_0 != null) {
  68844. stylesheet = _2_0;
  68845. t1 = stylesheet;
  68846. t2 = importer;
  68847. $async$returnValue = new A._Record_3_importer_isDependency(t1, t2, isDependency);
  68848. $async$next = [1];
  68849. // goto finally
  68850. $async$goto = 5;
  68851. break;
  68852. }
  68853. case 11:
  68854. // join
  68855. case 8:
  68856. // join
  68857. t1 = B.JSString_methods.startsWith$1(url, "package:");
  68858. if (t1)
  68859. throw A.wrapException(string$.x22packa);
  68860. else
  68861. throw A.wrapException("Can't find stylesheet to import.");
  68862. $async$next.push(6);
  68863. // goto finally
  68864. $async$goto = 5;
  68865. break;
  68866. case 4:
  68867. // catch
  68868. $async$handler = 3;
  68869. $async$exception = $async$errorStack.pop();
  68870. t1 = A.unwrapException($async$exception);
  68871. if (t1 instanceof A.SassException)
  68872. throw $async$exception;
  68873. else if (t1 instanceof A.ArgumentError) {
  68874. error = t1;
  68875. stackTrace = A.getTraceFromException($async$exception);
  68876. A.throwWithTrace($async$self._async_evaluate$_exception$1(J.toString$0$(error)), error, stackTrace);
  68877. } else {
  68878. error0 = t1;
  68879. stackTrace0 = A.getTraceFromException($async$exception);
  68880. A.throwWithTrace($async$self._async_evaluate$_exception$1($async$self._async_evaluate$_getErrorMessage$1(error0)), error0, stackTrace0);
  68881. }
  68882. $async$next.push(6);
  68883. // goto finally
  68884. $async$goto = 5;
  68885. break;
  68886. case 3:
  68887. // uncaught
  68888. $async$next = [2];
  68889. case 5:
  68890. // finally
  68891. $async$handler = 2;
  68892. $async$self._async_evaluate$_importSpan = null;
  68893. // goto the next finally handler
  68894. $async$goto = $async$next.pop();
  68895. break;
  68896. case 6:
  68897. // after finally
  68898. case 1:
  68899. // return
  68900. return A._asyncReturn($async$returnValue, $async$completer);
  68901. case 2:
  68902. // rethrow
  68903. return A._asyncRethrow($async$errorStack.at(-1), $async$completer);
  68904. }
  68905. });
  68906. return A._asyncStartSync($async$_async_evaluate$_loadStylesheet$4$baseUrl$forImport, $async$completer);
  68907. },
  68908. _visitStaticImport$1($import) {
  68909. return this._visitStaticImport$body$_EvaluateVisitor($import);
  68910. },
  68911. _visitStaticImport$body$_EvaluateVisitor($import) {
  68912. var $async$goto = 0,
  68913. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  68914. $async$self = this, t1, t2, node, $async$temp1, $async$temp2;
  68915. var $async$_visitStaticImport$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  68916. if ($async$errorCode === 1)
  68917. return A._asyncRethrow($async$result, $async$completer);
  68918. while (true)
  68919. switch ($async$goto) {
  68920. case 0:
  68921. // Function start
  68922. $async$goto = 2;
  68923. return A._asyncAwait($async$self._async_evaluate$_interpolationToValue$1($import.url), $async$_visitStaticImport$1);
  68924. case 2:
  68925. // returning from await.
  68926. t1 = $async$result;
  68927. t2 = A.NullableExtension_andThen($import.modifiers, $async$self.get$_async_evaluate$_interpolationToValue());
  68928. $async$temp1 = A;
  68929. $async$temp2 = t1;
  68930. $async$goto = 3;
  68931. return A._asyncAwait(type$.Future_nullable_CssValue_String._is(t2) ? t2 : A._Future$value(t2, type$.nullable_CssValue_String), $async$_visitStaticImport$1);
  68932. case 3:
  68933. // returning from await.
  68934. node = new $async$temp1.ModifiableCssImport($async$temp2, $async$result, $import.span);
  68935. 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"))
  68936. $async$self._async_evaluate$_assertInModule$2($async$self._async_evaluate$__parent, "__parent").addChild$1(node);
  68937. 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)) {
  68938. $async$self._async_evaluate$_assertInModule$2($async$self._async_evaluate$__root, "_root").addChild$1(node);
  68939. $async$self._async_evaluate$__endOfImports = $async$self._async_evaluate$_assertInModule$2($async$self._async_evaluate$__endOfImports, "_endOfImports") + 1;
  68940. } else {
  68941. t1 = $async$self._async_evaluate$_outOfOrderImports;
  68942. (t1 == null ? $async$self._async_evaluate$_outOfOrderImports = A._setArrayType([], type$.JSArray_ModifiableCssImport) : t1).push(node);
  68943. }
  68944. // implicit return
  68945. return A._asyncReturn(null, $async$completer);
  68946. }
  68947. });
  68948. return A._asyncStartSync($async$_visitStaticImport$1, $async$completer);
  68949. },
  68950. _async_evaluate$_applyMixin$5(mixin, contentCallable, $arguments, nodeWithSpan, nodeWithSpanWithoutContent) {
  68951. return this._applyMixin$body$_EvaluateVisitor(mixin, contentCallable, $arguments, nodeWithSpan, nodeWithSpanWithoutContent);
  68952. },
  68953. _applyMixin$body$_EvaluateVisitor(mixin, contentCallable, $arguments, nodeWithSpan, nodeWithSpanWithoutContent) {
  68954. var $async$goto = 0,
  68955. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  68956. $async$self = this, t1, _0_0, t2, _1_8, t3;
  68957. var $async$_async_evaluate$_applyMixin$5 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  68958. if ($async$errorCode === 1)
  68959. return A._asyncRethrow($async$result, $async$completer);
  68960. while (true)
  68961. switch ($async$goto) {
  68962. case 0:
  68963. // Function start
  68964. if (mixin == null)
  68965. throw A.wrapException($async$self._async_evaluate$_exception$2("Undefined mixin.", nodeWithSpan.get$span(nodeWithSpan)));
  68966. t1 = type$.AsyncBuiltInCallable._is(mixin);
  68967. $async$goto = t1 && !mixin.get$acceptsContent() && contentCallable != null ? 3 : 4;
  68968. break;
  68969. case 3:
  68970. // then
  68971. $async$goto = 5;
  68972. return A._asyncAwait($async$self._async_evaluate$_evaluateArguments$1($arguments), $async$_async_evaluate$_applyMixin$5);
  68973. case 5:
  68974. // returning from await.
  68975. t1 = $async$result._values;
  68976. _0_0 = mixin.callbackFor$2(J.get$length$asx(t1[2]), new A.MapKeySet(t1[0], type$.MapKeySet_String));
  68977. throw A.wrapException(A.MultiSpanSassRuntimeException$("Mixin doesn't accept a content block.", nodeWithSpanWithoutContent.get$span(nodeWithSpanWithoutContent), "invocation", A.LinkedHashMap_LinkedHashMap$_literal([_0_0._0.get$spanWithName(), "declaration"], type$.FileSpan, type$.String), $async$self._async_evaluate$_stackTrace$1(nodeWithSpanWithoutContent.get$span(nodeWithSpanWithoutContent)), null));
  68978. case 4:
  68979. // join
  68980. $async$goto = t1 ? 6 : 7;
  68981. break;
  68982. case 6:
  68983. // then
  68984. $async$goto = 8;
  68985. return A._asyncAwait($async$self._async_evaluate$_environment.withContent$2(contentCallable, new A._EvaluateVisitor__applyMixin_closure1($async$self, $arguments, mixin, nodeWithSpanWithoutContent)), $async$_async_evaluate$_applyMixin$5);
  68986. case 8:
  68987. // returning from await.
  68988. // goto break $label0$0
  68989. $async$goto = 2;
  68990. break;
  68991. case 7:
  68992. // join
  68993. t1 = type$.UserDefinedCallable_AsyncEnvironment._is(mixin);
  68994. t2 = false;
  68995. if (t1) {
  68996. _1_8 = mixin.declaration;
  68997. t3 = _1_8;
  68998. if (t3 instanceof A.MixinRule)
  68999. t2 = !type$.MixinRule._as(_1_8).get$hasContent() && contentCallable != null;
  69000. }
  69001. if (t2)
  69002. throw A.wrapException(A.MultiSpanSassRuntimeException$("Mixin doesn't accept a content block.", nodeWithSpanWithoutContent.get$span(nodeWithSpanWithoutContent), "invocation", A.LinkedHashMap_LinkedHashMap$_literal([mixin.declaration.parameters.get$spanWithName(), "declaration"], type$.FileSpan, type$.String), $async$self._async_evaluate$_stackTrace$1(nodeWithSpanWithoutContent.get$span(nodeWithSpanWithoutContent)), null));
  69003. $async$goto = t1 ? 9 : 10;
  69004. break;
  69005. case 9:
  69006. // then
  69007. $async$goto = 11;
  69008. return A._asyncAwait($async$self._async_evaluate$_runUserDefinedCallable$1$4($arguments, mixin, nodeWithSpanWithoutContent, new A._EvaluateVisitor__applyMixin_closure2($async$self, contentCallable, mixin, nodeWithSpanWithoutContent), type$.Null), $async$_async_evaluate$_applyMixin$5);
  69009. case 11:
  69010. // returning from await.
  69011. // goto break $label0$0
  69012. $async$goto = 2;
  69013. break;
  69014. case 10:
  69015. // join
  69016. throw A.wrapException(A.UnsupportedError$("Unknown callable type " + mixin.toString$0(0) + "."));
  69017. case 2:
  69018. // break $label0$0
  69019. // implicit return
  69020. return A._asyncReturn(null, $async$completer);
  69021. }
  69022. });
  69023. return A._asyncStartSync($async$_async_evaluate$_applyMixin$5, $async$completer);
  69024. },
  69025. visitIncludeRule$1(_, node) {
  69026. return this.visitIncludeRule$body$_EvaluateVisitor(0, node);
  69027. },
  69028. visitIncludeRule$body$_EvaluateVisitor(_, node) {
  69029. var $async$goto = 0,
  69030. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value),
  69031. $async$returnValue, $async$self = this, mixin;
  69032. var $async$visitIncludeRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  69033. if ($async$errorCode === 1)
  69034. return A._asyncRethrow($async$result, $async$completer);
  69035. while (true)
  69036. switch ($async$goto) {
  69037. case 0:
  69038. // Function start
  69039. mixin = $async$self._async_evaluate$_addExceptionSpan$2(node, new A._EvaluateVisitor_visitIncludeRule_closure2($async$self, node));
  69040. if (B.JSString_methods.startsWith$1(node.originalName, "--") && mixin instanceof A.UserDefinedCallable && !B.JSString_methods.startsWith$1(mixin.declaration.originalName, "--"))
  69041. $async$self._async_evaluate$_warn$3(string$.Sassx20_m, node.get$nameSpan(), B.Deprecation_Kg6);
  69042. $async$goto = 3;
  69043. return A._asyncAwait($async$self._async_evaluate$_applyMixin$5(mixin, A.NullableExtension_andThen(node.content, new A._EvaluateVisitor_visitIncludeRule_closure3($async$self)), node.$arguments, node, new A._FakeAstNode(new A._EvaluateVisitor_visitIncludeRule_closure4(node))), $async$visitIncludeRule$1);
  69044. case 3:
  69045. // returning from await.
  69046. $async$returnValue = null;
  69047. // goto return
  69048. $async$goto = 1;
  69049. break;
  69050. case 1:
  69051. // return
  69052. return A._asyncReturn($async$returnValue, $async$completer);
  69053. }
  69054. });
  69055. return A._asyncStartSync($async$visitIncludeRule$1, $async$completer);
  69056. },
  69057. visitMixinRule$1(_, node) {
  69058. return this.visitMixinRule$body$_EvaluateVisitor(0, node);
  69059. },
  69060. visitMixinRule$body$_EvaluateVisitor(_, node) {
  69061. var $async$goto = 0,
  69062. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value),
  69063. $async$returnValue, $async$self = this, t1, t2, t3, t4, index, t5;
  69064. var $async$visitMixinRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  69065. if ($async$errorCode === 1)
  69066. return A._asyncRethrow($async$result, $async$completer);
  69067. while (true)
  69068. switch ($async$goto) {
  69069. case 0:
  69070. // Function start
  69071. t1 = $async$self._async_evaluate$_environment;
  69072. t2 = t1.closure$0();
  69073. t3 = $async$self._async_evaluate$_inDependency;
  69074. t4 = t1._async_environment$_mixins;
  69075. index = t4.length - 1;
  69076. t5 = node.name;
  69077. t1._async_environment$_mixinIndices.$indexSet(0, t5, index);
  69078. t4[index].$indexSet(0, t5, new A.UserDefinedCallable(node, t2, t3, type$.UserDefinedCallable_AsyncEnvironment));
  69079. $async$returnValue = null;
  69080. // goto return
  69081. $async$goto = 1;
  69082. break;
  69083. case 1:
  69084. // return
  69085. return A._asyncReturn($async$returnValue, $async$completer);
  69086. }
  69087. });
  69088. return A._asyncStartSync($async$visitMixinRule$1, $async$completer);
  69089. },
  69090. visitLoudComment$1(_, node) {
  69091. return this.visitLoudComment$body$_EvaluateVisitor(0, node);
  69092. },
  69093. visitLoudComment$body$_EvaluateVisitor(_, node) {
  69094. var $async$goto = 0,
  69095. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value),
  69096. $async$returnValue, $async$self = this, t1, text;
  69097. var $async$visitLoudComment$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  69098. if ($async$errorCode === 1)
  69099. return A._asyncRethrow($async$result, $async$completer);
  69100. while (true)
  69101. switch ($async$goto) {
  69102. case 0:
  69103. // Function start
  69104. if ($async$self._async_evaluate$_inFunction) {
  69105. $async$returnValue = null;
  69106. // goto return
  69107. $async$goto = 1;
  69108. break;
  69109. }
  69110. 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))
  69111. $async$self._async_evaluate$__endOfImports = $async$self._async_evaluate$_assertInModule$2($async$self._async_evaluate$__endOfImports, "_endOfImports") + 1;
  69112. t1 = node.text;
  69113. $async$goto = 3;
  69114. return A._asyncAwait($async$self._async_evaluate$_performInterpolation$1(t1), $async$visitLoudComment$1);
  69115. case 3:
  69116. // returning from await.
  69117. text = $async$result;
  69118. if (!B.JSString_methods.endsWith$1(text, "*/"))
  69119. text += " */";
  69120. $async$self._async_evaluate$_assertInModule$2($async$self._async_evaluate$__parent, "__parent").addChild$1(new A.ModifiableCssComment(text, t1.span));
  69121. $async$returnValue = null;
  69122. // goto return
  69123. $async$goto = 1;
  69124. break;
  69125. case 1:
  69126. // return
  69127. return A._asyncReturn($async$returnValue, $async$completer);
  69128. }
  69129. });
  69130. return A._asyncStartSync($async$visitLoudComment$1, $async$completer);
  69131. },
  69132. visitMediaRule$1(_, node) {
  69133. return this.visitMediaRule$body$_EvaluateVisitor(0, node);
  69134. },
  69135. visitMediaRule$body$_EvaluateVisitor(_, node) {
  69136. var $async$goto = 0,
  69137. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value),
  69138. $async$returnValue, $async$self = this, queries, mergedQueries, t1, mergedSources, t2, t3;
  69139. var $async$visitMediaRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  69140. if ($async$errorCode === 1)
  69141. return A._asyncRethrow($async$result, $async$completer);
  69142. while (true)
  69143. switch ($async$goto) {
  69144. case 0:
  69145. // Function start
  69146. if ($async$self._async_evaluate$_declarationName != null)
  69147. throw A.wrapException($async$self._async_evaluate$_exception$2(string$.Media_, node.span));
  69148. $async$goto = 3;
  69149. return A._asyncAwait($async$self._visitMediaQueries$1(node.query), $async$visitMediaRule$1);
  69150. case 3:
  69151. // returning from await.
  69152. queries = $async$result;
  69153. mergedQueries = A.NullableExtension_andThen($async$self._async_evaluate$_mediaQueries, new A._EvaluateVisitor_visitMediaRule_closure2($async$self, queries));
  69154. t1 = mergedQueries == null;
  69155. if (!t1 && J.get$isEmpty$asx(mergedQueries)) {
  69156. $async$returnValue = null;
  69157. // goto return
  69158. $async$goto = 1;
  69159. break;
  69160. }
  69161. if (t1)
  69162. mergedSources = B.Set_empty1;
  69163. else {
  69164. t2 = $async$self._async_evaluate$_mediaQuerySources;
  69165. t2.toString;
  69166. t2 = A.LinkedHashSet_LinkedHashSet$of(t2, type$.CssMediaQuery);
  69167. t3 = $async$self._async_evaluate$_mediaQueries;
  69168. t3.toString;
  69169. t2.addAll$1(0, t3);
  69170. t2.addAll$1(0, queries);
  69171. mergedSources = t2;
  69172. }
  69173. t1 = t1 ? queries : mergedQueries;
  69174. $async$goto = 4;
  69175. 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);
  69176. case 4:
  69177. // returning from await.
  69178. $async$returnValue = null;
  69179. // goto return
  69180. $async$goto = 1;
  69181. break;
  69182. case 1:
  69183. // return
  69184. return A._asyncReturn($async$returnValue, $async$completer);
  69185. }
  69186. });
  69187. return A._asyncStartSync($async$visitMediaRule$1, $async$completer);
  69188. },
  69189. _visitMediaQueries$1(interpolation) {
  69190. return this._visitMediaQueries$body$_EvaluateVisitor(interpolation);
  69191. },
  69192. _visitMediaQueries$body$_EvaluateVisitor(interpolation) {
  69193. var $async$goto = 0,
  69194. $async$completer = A._makeAsyncAwaitCompleter(type$.List_CssMediaQuery),
  69195. $async$returnValue, $async$self = this, _0_0, resolved, map;
  69196. var $async$_visitMediaQueries$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  69197. if ($async$errorCode === 1)
  69198. return A._asyncRethrow($async$result, $async$completer);
  69199. while (true)
  69200. switch ($async$goto) {
  69201. case 0:
  69202. // Function start
  69203. $async$goto = 3;
  69204. return A._asyncAwait($async$self._async_evaluate$_performInterpolationWithMap$2$warnForColor(interpolation, true), $async$_visitMediaQueries$1);
  69205. case 3:
  69206. // returning from await.
  69207. _0_0 = $async$result;
  69208. resolved = _0_0._0;
  69209. map = _0_0._1;
  69210. $async$returnValue = new A.MediaQueryParser(A.SpanScanner$(resolved, null), map).parse$0(0);
  69211. // goto return
  69212. $async$goto = 1;
  69213. break;
  69214. case 1:
  69215. // return
  69216. return A._asyncReturn($async$returnValue, $async$completer);
  69217. }
  69218. });
  69219. return A._asyncStartSync($async$_visitMediaQueries$1, $async$completer);
  69220. },
  69221. _async_evaluate$_mergeMediaQueries$2(queries1, queries2) {
  69222. var t1, t2, t3, t4, _0_0, t5, result,
  69223. queries = A._setArrayType([], type$.JSArray_CssMediaQuery);
  69224. for (t1 = J.get$iterator$ax(queries1), t2 = J.getInterceptor$ax(queries2); t1.moveNext$0();) {
  69225. t3 = t1.get$current(t1);
  69226. for (t4 = t2.get$iterator(queries2); t4.moveNext$0();) {
  69227. _0_0 = t3.merge$1(t4.get$current(t4));
  69228. if (B._SingletonCssMediaQueryMergeResult_0 === _0_0)
  69229. continue;
  69230. if (B._SingletonCssMediaQueryMergeResult_1 === _0_0)
  69231. return null;
  69232. t5 = _0_0 instanceof A.MediaQuerySuccessfulMergeResult;
  69233. result = t5 ? _0_0 : null;
  69234. if (t5)
  69235. queries.push(result.query);
  69236. }
  69237. }
  69238. return queries;
  69239. },
  69240. visitReturnRule$1(_, node) {
  69241. return this.visitReturnRule$body$_EvaluateVisitor(0, node);
  69242. },
  69243. visitReturnRule$body$_EvaluateVisitor(_, node) {
  69244. var $async$goto = 0,
  69245. $async$completer = A._makeAsyncAwaitCompleter(type$.Value),
  69246. $async$returnValue, $async$self = this, t1, t2;
  69247. var $async$visitReturnRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  69248. if ($async$errorCode === 1)
  69249. return A._asyncRethrow($async$result, $async$completer);
  69250. while (true)
  69251. switch ($async$goto) {
  69252. case 0:
  69253. // Function start
  69254. t1 = node.expression;
  69255. t2 = t1.accept$1($async$self);
  69256. $async$goto = 3;
  69257. return A._asyncAwait(type$.Future_Value._is(t2) ? t2 : A._Future$value(t2, type$.Value), $async$visitReturnRule$1);
  69258. case 3:
  69259. // returning from await.
  69260. $async$returnValue = $async$self._async_evaluate$_withoutSlash$2($async$result, t1);
  69261. // goto return
  69262. $async$goto = 1;
  69263. break;
  69264. case 1:
  69265. // return
  69266. return A._asyncReturn($async$returnValue, $async$completer);
  69267. }
  69268. });
  69269. return A._asyncStartSync($async$visitReturnRule$1, $async$completer);
  69270. },
  69271. visitSilentComment$1(_, node) {
  69272. return this.visitSilentComment$body$_EvaluateVisitor(0, node);
  69273. },
  69274. visitSilentComment$body$_EvaluateVisitor(_, node) {
  69275. var $async$goto = 0,
  69276. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value),
  69277. $async$returnValue;
  69278. var $async$visitSilentComment$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  69279. if ($async$errorCode === 1)
  69280. return A._asyncRethrow($async$result, $async$completer);
  69281. while (true)
  69282. switch ($async$goto) {
  69283. case 0:
  69284. // Function start
  69285. $async$returnValue = null;
  69286. // goto return
  69287. $async$goto = 1;
  69288. break;
  69289. case 1:
  69290. // return
  69291. return A._asyncReturn($async$returnValue, $async$completer);
  69292. }
  69293. });
  69294. return A._asyncStartSync($async$visitSilentComment$1, $async$completer);
  69295. },
  69296. visitStyleRule$1(_, node) {
  69297. return this.visitStyleRule$body$_EvaluateVisitor(0, node);
  69298. },
  69299. visitStyleRule$body$_EvaluateVisitor(_, node) {
  69300. var $async$goto = 0,
  69301. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value),
  69302. $async$returnValue, $async$self = this, t1, _0_0, selectorText, selectorMap, parsedSelector, _1_0, t2, t3, _i, _2_0, first, t4, rule, oldAtRootExcludingStyleRule;
  69303. var $async$visitStyleRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  69304. if ($async$errorCode === 1)
  69305. return A._asyncRethrow($async$result, $async$completer);
  69306. while (true)
  69307. switch ($async$goto) {
  69308. case 0:
  69309. // Function start
  69310. if ($async$self._async_evaluate$_declarationName != null)
  69311. throw A.wrapException($async$self._async_evaluate$_exception$2(string$.Style_n, node.span));
  69312. else if ($async$self._async_evaluate$_inKeyframes && $async$self._async_evaluate$_assertInModule$2($async$self._async_evaluate$__parent, "__parent") instanceof A.ModifiableCssKeyframeBlock)
  69313. throw A.wrapException($async$self._async_evaluate$_exception$2(string$.Style_k, node.span));
  69314. t1 = node.selector;
  69315. $async$goto = 3;
  69316. return A._asyncAwait($async$self._async_evaluate$_performInterpolationWithMap$2$warnForColor(t1, true), $async$visitStyleRule$1);
  69317. case 3:
  69318. // returning from await.
  69319. _0_0 = $async$result;
  69320. selectorText = _0_0._0;
  69321. selectorMap = _0_0._1;
  69322. $async$goto = $async$self._async_evaluate$_inKeyframes ? 4 : 5;
  69323. break;
  69324. case 4:
  69325. // then
  69326. $async$goto = 6;
  69327. return A._asyncAwait($async$self._async_evaluate$_withParent$2$4$scopeWhen$through(A.ModifiableCssKeyframeBlock$(new A.CssValue(A.List_List$unmodifiable(new A.KeyframeSelectorParser(A.SpanScanner$(selectorText, null), selectorMap).parse$0(0), type$.String), t1.span, type$.CssValue_List_String), node.span), new A._EvaluateVisitor_visitStyleRule_closure3($async$self, node), node.hasDeclarations, new A._EvaluateVisitor_visitStyleRule_closure4(), type$.ModifiableCssKeyframeBlock, type$.Null), $async$visitStyleRule$1);
  69328. case 6:
  69329. // returning from await.
  69330. $async$returnValue = null;
  69331. // goto return
  69332. $async$goto = 1;
  69333. break;
  69334. case 5:
  69335. // join
  69336. parsedSelector = A.SelectorList_SelectorList$parse(selectorText, true, selectorMap, $async$self._async_evaluate$_assertInModule$2($async$self._async_evaluate$__stylesheet, "_stylesheet").plainCss);
  69337. _1_0 = $async$self._async_evaluate$_atRootExcludingStyleRule ? null : $async$self._async_evaluate$_styleRuleIgnoringAtRoot;
  69338. $label0$0: {
  69339. if (_1_0 == null) {
  69340. t1 = true;
  69341. break $label0$0;
  69342. }
  69343. if (_1_0.fromPlainCss) {
  69344. t1 = false;
  69345. break $label0$0;
  69346. }
  69347. t1 = !($async$self._async_evaluate$_assertInModule$2($async$self._async_evaluate$__stylesheet, "_stylesheet").plainCss && parsedSelector.accept$1(B.C__ContainsParentSelectorVisitor));
  69348. break $label0$0;
  69349. }
  69350. if (t1) {
  69351. if ($async$self._async_evaluate$_assertInModule$2($async$self._async_evaluate$__stylesheet, "_stylesheet").plainCss)
  69352. for (t2 = parsedSelector.components, t3 = t2.length, _i = 0; _i < t3; ++_i) {
  69353. _2_0 = t2[_i].leadingCombinators;
  69354. if (_2_0.length >= 1) {
  69355. first = _2_0[0];
  69356. t4 = $async$self._async_evaluate$_assertInModule$2($async$self._async_evaluate$__stylesheet, "_stylesheet").plainCss;
  69357. } else {
  69358. first = null;
  69359. t4 = false;
  69360. }
  69361. if (t4)
  69362. throw A.wrapException($async$self._async_evaluate$_exception$2(string$.Top_lel, first.span));
  69363. }
  69364. t2 = $async$self._async_evaluate$_styleRuleIgnoringAtRoot;
  69365. t2 = t2 == null ? null : t2.originalSelector;
  69366. parsedSelector = parsedSelector.nestWithin$3$implicitParent$preserveParentSelectors(t2, !$async$self._async_evaluate$_atRootExcludingStyleRule, $async$self._async_evaluate$_assertInModule$2($async$self._async_evaluate$__stylesheet, "_stylesheet").plainCss);
  69367. }
  69368. rule = A.ModifiableCssStyleRule$($async$self._async_evaluate$_assertInModule$2($async$self._async_evaluate$__extensionStore, "_extensionStore").addSelector$2(parsedSelector, $async$self._async_evaluate$_mediaQueries), node.span, $async$self._async_evaluate$_assertInModule$2($async$self._async_evaluate$__stylesheet, "_stylesheet").plainCss, parsedSelector);
  69369. oldAtRootExcludingStyleRule = $async$self._async_evaluate$_atRootExcludingStyleRule;
  69370. t2 = $async$self._async_evaluate$_atRootExcludingStyleRule = false;
  69371. t1 = t1 ? new A._EvaluateVisitor_visitStyleRule_closure5() : null;
  69372. $async$goto = 7;
  69373. return A._asyncAwait($async$self._async_evaluate$_withParent$2$4$scopeWhen$through(rule, new A._EvaluateVisitor_visitStyleRule_closure6($async$self, rule, node), node.hasDeclarations, t1, type$.ModifiableCssStyleRule, type$.Null), $async$visitStyleRule$1);
  69374. case 7:
  69375. // returning from await.
  69376. $async$self._async_evaluate$_atRootExcludingStyleRule = oldAtRootExcludingStyleRule;
  69377. $async$self._async_evaluate$_warnForBogusCombinators$1(rule);
  69378. if (($async$self._async_evaluate$_atRootExcludingStyleRule ? null : $async$self._async_evaluate$_styleRuleIgnoringAtRoot) == null) {
  69379. t1 = $async$self._async_evaluate$_assertInModule$2($async$self._async_evaluate$__parent, "__parent").children;
  69380. t1 = !t1.get$isEmpty(t1);
  69381. } else
  69382. t1 = t2;
  69383. if (t1) {
  69384. t1 = $async$self._async_evaluate$_assertInModule$2($async$self._async_evaluate$__parent, "__parent").children;
  69385. t1.get$last(t1).isGroupEnd = true;
  69386. }
  69387. $async$returnValue = null;
  69388. // goto return
  69389. $async$goto = 1;
  69390. break;
  69391. case 1:
  69392. // return
  69393. return A._asyncReturn($async$returnValue, $async$completer);
  69394. }
  69395. });
  69396. return A._asyncStartSync($async$visitStyleRule$1, $async$completer);
  69397. },
  69398. _async_evaluate$_warnForBogusCombinators$1(rule) {
  69399. var t1, t2, t3, t4, t5, _i, complex, visitor, t6, t7, t8, t9, _this = this, _null = null;
  69400. if (!rule.accept$1(B._IsInvisibleVisitor_false_false))
  69401. for (t1 = rule._style_rule$_selector._box$_inner.value.components, t2 = t1.length, t3 = type$.SourceSpan, t4 = type$.String, t5 = rule.children, _i = 0; _i < t2; ++_i) {
  69402. complex = t1[_i];
  69403. if (!complex.accept$1(B._IsBogusVisitor_true))
  69404. continue;
  69405. if (complex.accept$1(B.C__IsUselessVisitor)) {
  69406. visitor = A._SerializeVisitor$(_null, true, _null, _null, true, false, _null, true);
  69407. complex.accept$1(visitor);
  69408. _this._async_evaluate$_warn$3('The selector "' + B.JSString_methods.trim$0(visitor._serialize$_buffer.toString$0(0)) + string$.x22x20is_ix20, A.SpanExtensions_trimRight(complex.span), B.Deprecation_9hF);
  69409. } else if (complex.leadingCombinators.length !== 0) {
  69410. if (!_this._async_evaluate$_assertInModule$2(_this._async_evaluate$__stylesheet, "_stylesheet").plainCss) {
  69411. visitor = A._SerializeVisitor$(_null, true, _null, _null, true, false, _null, true);
  69412. complex.accept$1(visitor);
  69413. _this._async_evaluate$_warn$3('The selector "' + B.JSString_methods.trim$0(visitor._serialize$_buffer.toString$0(0)) + string$.x22x20is_ix0a, A.SpanExtensions_trimRight(complex.span), B.Deprecation_9hF);
  69414. }
  69415. } else {
  69416. visitor = A._SerializeVisitor$(_null, true, _null, _null, true, false, _null, true);
  69417. complex.accept$1(visitor);
  69418. t6 = B.JSString_methods.trim$0(visitor._serialize$_buffer.toString$0(0));
  69419. t7 = complex.accept$1(B._IsBogusVisitor_false) ? string$.x20It_wi : "";
  69420. t8 = A.SpanExtensions_trimRight(complex.span);
  69421. if (t5.get$length(0) === 0)
  69422. A.throwExpression(A.IterableElementError_noElement());
  69423. t9 = J.get$span$z(t5.$index(0, 0));
  69424. _this._async_evaluate$_warn$3('The selector "' + t6 + string$.x22x20is_o + t7 + string$.x0aThis_, new A.MultiSpan(t8, "invalid selector", A.ConstantMap_ConstantMap$from(A.LinkedHashMap_LinkedHashMap$_literal([t9, "this is not a style rule" + (t5.every$1(t5, new A._EvaluateVisitor__warnForBogusCombinators_closure0()) ? "\n(try converting to a //-style comment)" : "")], t3, t4), t3, t4)), B.Deprecation_9hF);
  69425. }
  69426. }
  69427. },
  69428. visitSupportsRule$1(_, node) {
  69429. return this.visitSupportsRule$body$_EvaluateVisitor(0, node);
  69430. },
  69431. visitSupportsRule$body$_EvaluateVisitor(_, node) {
  69432. var $async$goto = 0,
  69433. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value),
  69434. $async$returnValue, $async$self = this, t1, $async$temp1, $async$temp2;
  69435. var $async$visitSupportsRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  69436. if ($async$errorCode === 1)
  69437. return A._asyncRethrow($async$result, $async$completer);
  69438. while (true)
  69439. switch ($async$goto) {
  69440. case 0:
  69441. // Function start
  69442. if ($async$self._async_evaluate$_declarationName != null)
  69443. throw A.wrapException($async$self._async_evaluate$_exception$2(string$.Suppor, node.span));
  69444. t1 = node.condition;
  69445. $async$temp1 = A;
  69446. $async$temp2 = A;
  69447. $async$goto = 4;
  69448. return A._asyncAwait($async$self._async_evaluate$_visitSupportsCondition$1(t1), $async$visitSupportsRule$1);
  69449. case 4:
  69450. // returning from await.
  69451. $async$goto = 3;
  69452. 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);
  69453. case 3:
  69454. // returning from await.
  69455. $async$returnValue = null;
  69456. // goto return
  69457. $async$goto = 1;
  69458. break;
  69459. case 1:
  69460. // return
  69461. return A._asyncReturn($async$returnValue, $async$completer);
  69462. }
  69463. });
  69464. return A._asyncStartSync($async$visitSupportsRule$1, $async$completer);
  69465. },
  69466. _async_evaluate$_visitSupportsCondition$1(condition) {
  69467. return this._visitSupportsCondition$body$_EvaluateVisitor(condition);
  69468. },
  69469. _visitSupportsCondition$body$_EvaluateVisitor(condition) {
  69470. var $async$goto = 0,
  69471. $async$completer = A._makeAsyncAwaitCompleter(type$.String),
  69472. $async$returnValue, $async$self = this, t1, $async$temp1, $async$temp2;
  69473. var $async$_async_evaluate$_visitSupportsCondition$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  69474. if ($async$errorCode === 1)
  69475. return A._asyncRethrow($async$result, $async$completer);
  69476. while (true)
  69477. switch ($async$goto) {
  69478. case 0:
  69479. // Function start
  69480. $async$goto = condition instanceof A.SupportsOperation ? 4 : 5;
  69481. break;
  69482. case 4:
  69483. // then
  69484. t1 = condition.operator;
  69485. $async$temp1 = A;
  69486. $async$goto = 6;
  69487. return A._asyncAwait($async$self._async_evaluate$_parenthesize$2(condition.left, t1), $async$_async_evaluate$_visitSupportsCondition$1);
  69488. case 6:
  69489. // returning from await.
  69490. $async$temp1 = $async$temp1.S($async$result) + " " + t1 + " ";
  69491. $async$temp2 = A;
  69492. $async$goto = 7;
  69493. return A._asyncAwait($async$self._async_evaluate$_parenthesize$2(condition.right, t1), $async$_async_evaluate$_visitSupportsCondition$1);
  69494. case 7:
  69495. // returning from await.
  69496. t1 = $async$temp1 + $async$temp2.S($async$result);
  69497. // goto break $label0$0
  69498. $async$goto = 3;
  69499. break;
  69500. case 5:
  69501. // join
  69502. $async$goto = condition instanceof A.SupportsNegation ? 8 : 9;
  69503. break;
  69504. case 8:
  69505. // then
  69506. $async$temp1 = A;
  69507. $async$goto = 10;
  69508. return A._asyncAwait($async$self._async_evaluate$_parenthesize$1(condition.condition), $async$_async_evaluate$_visitSupportsCondition$1);
  69509. case 10:
  69510. // returning from await.
  69511. t1 = "not " + $async$temp1.S($async$result);
  69512. // goto break $label0$0
  69513. $async$goto = 3;
  69514. break;
  69515. case 9:
  69516. // join
  69517. $async$goto = condition instanceof A.SupportsInterpolation ? 11 : 12;
  69518. break;
  69519. case 11:
  69520. // then
  69521. $async$goto = 13;
  69522. return A._asyncAwait($async$self._evaluateToCss$2$quote(condition.expression, false), $async$_async_evaluate$_visitSupportsCondition$1);
  69523. case 13:
  69524. // returning from await.
  69525. t1 = $async$result;
  69526. // goto break $label0$0
  69527. $async$goto = 3;
  69528. break;
  69529. case 12:
  69530. // join
  69531. t1 = {};
  69532. t1.declaration = null;
  69533. $async$goto = condition instanceof A.SupportsDeclaration ? 14 : 15;
  69534. break;
  69535. case 14:
  69536. // then
  69537. t1.declaration = condition;
  69538. $async$goto = 16;
  69539. return A._asyncAwait($async$self._async_evaluate$_withSupportsDeclaration$1$1(new A._EvaluateVisitor__visitSupportsCondition_closure0(t1, $async$self), type$.String), $async$_async_evaluate$_visitSupportsCondition$1);
  69540. case 16:
  69541. // returning from await.
  69542. t1 = $async$result;
  69543. // goto break $label0$0
  69544. $async$goto = 3;
  69545. break;
  69546. case 15:
  69547. // join
  69548. $async$goto = condition instanceof A.SupportsFunction ? 17 : 18;
  69549. break;
  69550. case 17:
  69551. // then
  69552. $async$temp1 = A;
  69553. $async$goto = 19;
  69554. return A._asyncAwait($async$self._async_evaluate$_performInterpolation$1(condition.name), $async$_async_evaluate$_visitSupportsCondition$1);
  69555. case 19:
  69556. // returning from await.
  69557. $async$temp1 = $async$temp1.S($async$result) + "(";
  69558. $async$temp2 = A;
  69559. $async$goto = 20;
  69560. return A._asyncAwait($async$self._async_evaluate$_performInterpolation$1(condition.$arguments), $async$_async_evaluate$_visitSupportsCondition$1);
  69561. case 20:
  69562. // returning from await.
  69563. t1 = $async$temp1 + $async$temp2.S($async$result) + ")";
  69564. // goto break $label0$0
  69565. $async$goto = 3;
  69566. break;
  69567. case 18:
  69568. // join
  69569. $async$goto = condition instanceof A.SupportsAnything ? 21 : 22;
  69570. break;
  69571. case 21:
  69572. // then
  69573. $async$temp1 = A;
  69574. $async$goto = 23;
  69575. return A._asyncAwait($async$self._async_evaluate$_performInterpolation$1(condition.contents), $async$_async_evaluate$_visitSupportsCondition$1);
  69576. case 23:
  69577. // returning from await.
  69578. t1 = "(" + $async$temp1.S($async$result) + ")";
  69579. // goto break $label0$0
  69580. $async$goto = 3;
  69581. break;
  69582. case 22:
  69583. // join
  69584. t1 = A.throwExpression(A.ArgumentError$("Unknown supports condition type " + A.getRuntimeTypeOfDartObject(condition).toString$0(0) + ".", null));
  69585. case 3:
  69586. // break $label0$0
  69587. $async$returnValue = t1;
  69588. // goto return
  69589. $async$goto = 1;
  69590. break;
  69591. case 1:
  69592. // return
  69593. return A._asyncReturn($async$returnValue, $async$completer);
  69594. }
  69595. });
  69596. return A._asyncStartSync($async$_async_evaluate$_visitSupportsCondition$1, $async$completer);
  69597. },
  69598. _async_evaluate$_withSupportsDeclaration$1$1(callback, $T) {
  69599. return this._withSupportsDeclaration$body$_EvaluateVisitor(callback, $T, $T);
  69600. },
  69601. _withSupportsDeclaration$body$_EvaluateVisitor(callback, $T, $async$type) {
  69602. var $async$goto = 0,
  69603. $async$completer = A._makeAsyncAwaitCompleter($async$type),
  69604. $async$returnValue, $async$handler = 2, $async$errorStack = [], $async$next = [], $async$self = this, t1, oldInSupportsDeclaration;
  69605. var $async$_async_evaluate$_withSupportsDeclaration$1$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  69606. if ($async$errorCode === 1) {
  69607. $async$errorStack.push($async$result);
  69608. $async$goto = $async$handler;
  69609. }
  69610. while (true)
  69611. switch ($async$goto) {
  69612. case 0:
  69613. // Function start
  69614. oldInSupportsDeclaration = $async$self._async_evaluate$_inSupportsDeclaration;
  69615. $async$self._async_evaluate$_inSupportsDeclaration = true;
  69616. $async$handler = 3;
  69617. t1 = callback.call$0();
  69618. $async$goto = 6;
  69619. return A._asyncAwait($T._eval$1("Future<0>")._is(t1) ? t1 : A._Future$value(t1, $T), $async$_async_evaluate$_withSupportsDeclaration$1$1);
  69620. case 6:
  69621. // returning from await.
  69622. t1 = $async$result;
  69623. $async$returnValue = t1;
  69624. $async$next = [1];
  69625. // goto finally
  69626. $async$goto = 4;
  69627. break;
  69628. $async$next.push(5);
  69629. // goto finally
  69630. $async$goto = 4;
  69631. break;
  69632. case 3:
  69633. // uncaught
  69634. $async$next = [2];
  69635. case 4:
  69636. // finally
  69637. $async$handler = 2;
  69638. $async$self._async_evaluate$_inSupportsDeclaration = oldInSupportsDeclaration;
  69639. // goto the next finally handler
  69640. $async$goto = $async$next.pop();
  69641. break;
  69642. case 5:
  69643. // after finally
  69644. case 1:
  69645. // return
  69646. return A._asyncReturn($async$returnValue, $async$completer);
  69647. case 2:
  69648. // rethrow
  69649. return A._asyncRethrow($async$errorStack.at(-1), $async$completer);
  69650. }
  69651. });
  69652. return A._asyncStartSync($async$_async_evaluate$_withSupportsDeclaration$1$1, $async$completer);
  69653. },
  69654. _async_evaluate$_parenthesize$2(condition, operator) {
  69655. return this._parenthesize$body$_EvaluateVisitor(condition, operator);
  69656. },
  69657. _async_evaluate$_parenthesize$1(condition) {
  69658. return this._async_evaluate$_parenthesize$2(condition, null);
  69659. },
  69660. _parenthesize$body$_EvaluateVisitor(condition, operator) {
  69661. var $async$goto = 0,
  69662. $async$completer = A._makeAsyncAwaitCompleter(type$.String),
  69663. $async$returnValue, $async$self = this, t1, $async$temp1;
  69664. var $async$_async_evaluate$_parenthesize$2 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  69665. if ($async$errorCode === 1)
  69666. return A._asyncRethrow($async$result, $async$completer);
  69667. while (true)
  69668. switch ($async$goto) {
  69669. case 0:
  69670. // Function start
  69671. if (!(condition instanceof A.SupportsNegation))
  69672. if (condition instanceof A.SupportsOperation)
  69673. t1 = operator == null || operator !== condition.operator;
  69674. else
  69675. t1 = false;
  69676. else
  69677. t1 = true;
  69678. $async$goto = t1 ? 3 : 4;
  69679. break;
  69680. case 3:
  69681. // then
  69682. $async$temp1 = A;
  69683. $async$goto = 5;
  69684. return A._asyncAwait($async$self._async_evaluate$_visitSupportsCondition$1(condition), $async$_async_evaluate$_parenthesize$2);
  69685. case 5:
  69686. // returning from await.
  69687. $async$returnValue = "(" + $async$temp1.S($async$result) + ")";
  69688. // goto return
  69689. $async$goto = 1;
  69690. break;
  69691. case 4:
  69692. // join
  69693. $async$goto = 6;
  69694. return A._asyncAwait($async$self._async_evaluate$_visitSupportsCondition$1(condition), $async$_async_evaluate$_parenthesize$2);
  69695. case 6:
  69696. // returning from await.
  69697. $async$returnValue = $async$result;
  69698. // goto return
  69699. $async$goto = 1;
  69700. break;
  69701. case 1:
  69702. // return
  69703. return A._asyncReturn($async$returnValue, $async$completer);
  69704. }
  69705. });
  69706. return A._asyncStartSync($async$_async_evaluate$_parenthesize$2, $async$completer);
  69707. },
  69708. visitVariableDeclaration$1(_, node) {
  69709. return this.visitVariableDeclaration$body$_EvaluateVisitor(0, node);
  69710. },
  69711. visitVariableDeclaration$body$_EvaluateVisitor(_, node) {
  69712. var $async$goto = 0,
  69713. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value),
  69714. $async$returnValue, $async$self = this, t1, _0_0, t2, value, $async$temp1, $async$temp2, $async$temp3;
  69715. var $async$visitVariableDeclaration$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  69716. if ($async$errorCode === 1)
  69717. return A._asyncRethrow($async$result, $async$completer);
  69718. while (true)
  69719. switch ($async$goto) {
  69720. case 0:
  69721. // Function start
  69722. if (node.isGuarded) {
  69723. if (node.namespace == null && $async$self._async_evaluate$_environment._async_environment$_variables.length === 1) {
  69724. t1 = $async$self._async_evaluate$_configuration._configuration$_values;
  69725. _0_0 = t1.get$isEmpty(t1) ? null : t1.remove$1(0, node.name);
  69726. t1 = {};
  69727. t1.override = null;
  69728. if (_0_0 != null) {
  69729. t1.override = _0_0;
  69730. t2 = !_0_0.value.$eq(0, B.C__SassNull);
  69731. } else
  69732. t2 = false;
  69733. if (t2) {
  69734. $async$self._async_evaluate$_addExceptionSpan$2(node, new A._EvaluateVisitor_visitVariableDeclaration_closure2(t1, $async$self, node));
  69735. $async$returnValue = null;
  69736. // goto return
  69737. $async$goto = 1;
  69738. break;
  69739. }
  69740. }
  69741. value = $async$self._async_evaluate$_addExceptionSpan$2(node, new A._EvaluateVisitor_visitVariableDeclaration_closure3($async$self, node));
  69742. if (value != null && !value.$eq(0, B.C__SassNull)) {
  69743. $async$returnValue = null;
  69744. // goto return
  69745. $async$goto = 1;
  69746. break;
  69747. }
  69748. }
  69749. if (node.isGlobal && !$async$self._async_evaluate$_environment.globalVariableExists$1(node.name)) {
  69750. 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.";
  69751. $async$self._async_evaluate$_warn$3(t1, node.span, B.Deprecation_Rg0);
  69752. }
  69753. t1 = node.expression;
  69754. t2 = t1.accept$1($async$self);
  69755. $async$temp1 = node;
  69756. $async$temp2 = A;
  69757. $async$temp3 = node;
  69758. $async$goto = 3;
  69759. return A._asyncAwait(type$.Future_Value._is(t2) ? t2 : A._Future$value(t2, type$.Value), $async$visitVariableDeclaration$1);
  69760. case 3:
  69761. // returning from await.
  69762. $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)));
  69763. $async$returnValue = null;
  69764. // goto return
  69765. $async$goto = 1;
  69766. break;
  69767. case 1:
  69768. // return
  69769. return A._asyncReturn($async$returnValue, $async$completer);
  69770. }
  69771. });
  69772. return A._asyncStartSync($async$visitVariableDeclaration$1, $async$completer);
  69773. },
  69774. visitUseRule$1(_, node) {
  69775. return this.visitUseRule$body$_EvaluateVisitor(0, node);
  69776. },
  69777. visitUseRule$body$_EvaluateVisitor(_, node) {
  69778. var $async$goto = 0,
  69779. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value),
  69780. $async$returnValue, $async$self = this, values, t3, t4, _i, variable, t5, variableNodeWithSpan, t6, configuration, t1, t2, $async$temp1, $async$temp2, $async$temp3;
  69781. var $async$visitUseRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  69782. if ($async$errorCode === 1)
  69783. return A._asyncRethrow($async$result, $async$completer);
  69784. while (true)
  69785. switch ($async$goto) {
  69786. case 0:
  69787. // Function start
  69788. t1 = node.configuration;
  69789. t2 = t1.length;
  69790. $async$goto = t2 !== 0 ? 3 : 5;
  69791. break;
  69792. case 3:
  69793. // then
  69794. values = A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.ConfiguredValue);
  69795. t3 = type$._Future_Value, t4 = type$.Future_Value, _i = 0;
  69796. case 6:
  69797. // for condition
  69798. if (!(_i < t2)) {
  69799. // goto after for
  69800. $async$goto = 8;
  69801. break;
  69802. }
  69803. variable = t1[_i];
  69804. t5 = variable.expression;
  69805. variableNodeWithSpan = $async$self._async_evaluate$_expressionNode$1(t5);
  69806. t5 = t5.accept$1($async$self);
  69807. if (!t4._is(t5)) {
  69808. t6 = new A._Future($.Zone__current, t3);
  69809. t6._state = 8;
  69810. t6._resultOrListeners = t5;
  69811. t5 = t6;
  69812. }
  69813. $async$temp1 = values;
  69814. $async$temp2 = variable.name;
  69815. $async$temp3 = A;
  69816. $async$goto = 9;
  69817. return A._asyncAwait(t5, $async$visitUseRule$1);
  69818. case 9:
  69819. // returning from await.
  69820. $async$temp1.$indexSet(0, $async$temp2, new $async$temp3.ConfiguredValue($async$self._async_evaluate$_withoutSlash$2($async$result, variableNodeWithSpan), variable.span, variableNodeWithSpan));
  69821. case 7:
  69822. // for update
  69823. ++_i;
  69824. // goto for condition
  69825. $async$goto = 6;
  69826. break;
  69827. case 8:
  69828. // after for
  69829. configuration = new A.ExplicitConfiguration(node, values, null);
  69830. // goto join
  69831. $async$goto = 4;
  69832. break;
  69833. case 5:
  69834. // else
  69835. configuration = B.Configuration_Map_empty_null;
  69836. case 4:
  69837. // join
  69838. $async$goto = 10;
  69839. 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);
  69840. case 10:
  69841. // returning from await.
  69842. $async$self._async_evaluate$_assertConfigurationIsEmpty$1(configuration);
  69843. $async$returnValue = null;
  69844. // goto return
  69845. $async$goto = 1;
  69846. break;
  69847. case 1:
  69848. // return
  69849. return A._asyncReturn($async$returnValue, $async$completer);
  69850. }
  69851. });
  69852. return A._asyncStartSync($async$visitUseRule$1, $async$completer);
  69853. },
  69854. visitWarnRule$1(_, node) {
  69855. return this.visitWarnRule$body$_EvaluateVisitor(0, node);
  69856. },
  69857. visitWarnRule$body$_EvaluateVisitor(_, node) {
  69858. var $async$goto = 0,
  69859. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value),
  69860. $async$returnValue, $async$self = this, value, t1, t2;
  69861. var $async$visitWarnRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  69862. if ($async$errorCode === 1)
  69863. return A._asyncRethrow($async$result, $async$completer);
  69864. while (true)
  69865. switch ($async$goto) {
  69866. case 0:
  69867. // Function start
  69868. $async$goto = 3;
  69869. return A._asyncAwait($async$self._addExceptionSpanAsync$1$2(node, new A._EvaluateVisitor_visitWarnRule_closure0($async$self, node), type$.Value), $async$visitWarnRule$1);
  69870. case 3:
  69871. // returning from await.
  69872. value = $async$result;
  69873. t1 = value instanceof A.SassString ? value._string$_text : $async$self._async_evaluate$_serialize$2(value, node.expression);
  69874. t2 = $async$self._async_evaluate$_stackTrace$1(node.span);
  69875. $async$self._async_evaluate$_logger.internalWarn$4$deprecation$span$trace(t1, null, null, t2);
  69876. $async$returnValue = null;
  69877. // goto return
  69878. $async$goto = 1;
  69879. break;
  69880. case 1:
  69881. // return
  69882. return A._asyncReturn($async$returnValue, $async$completer);
  69883. }
  69884. });
  69885. return A._asyncStartSync($async$visitWarnRule$1, $async$completer);
  69886. },
  69887. visitWhileRule$1(_, node) {
  69888. return this._async_evaluate$_environment.scope$1$3$semiGlobal$when(new A._EvaluateVisitor_visitWhileRule_closure0(this, node), true, node.hasDeclarations, type$.nullable_Value);
  69889. },
  69890. visitBinaryOperationExpression$1(_, node) {
  69891. var t1, _this = this;
  69892. if (_this._async_evaluate$_assertInModule$2(_this._async_evaluate$__stylesheet, "_stylesheet").plainCss) {
  69893. t1 = node.operator;
  69894. t1 = t1 !== B.BinaryOperator_Kyq && t1 !== B.BinaryOperator_Mh5;
  69895. } else
  69896. t1 = false;
  69897. if (t1)
  69898. throw A.wrapException(_this._async_evaluate$_exception$2("Operators aren't allowed in plain CSS.", node.get$operatorSpan()));
  69899. return _this._addExceptionSpanAsync$1$2(node, new A._EvaluateVisitor_visitBinaryOperationExpression_closure0(_this, node), type$.Value);
  69900. },
  69901. _async_evaluate$_slash$3(left, right, node) {
  69902. var t2, _1_1,
  69903. result = left.dividedBy$1(right),
  69904. _1_2_isSet = left instanceof A.SassNumber,
  69905. _1_2 = null, right0 = null,
  69906. t1 = false;
  69907. if (_1_2_isSet) {
  69908. t2 = type$.SassNumber;
  69909. t2._as(left);
  69910. if (right instanceof A.SassNumber) {
  69911. t2._as(right);
  69912. t1 = node.allowsSlash && this._async_evaluate$_operandAllowsSlash$1(node.left) && this._async_evaluate$_operandAllowsSlash$1(node.right);
  69913. right0 = right;
  69914. _1_2 = right0;
  69915. } else
  69916. _1_2 = right;
  69917. _1_1 = left;
  69918. } else {
  69919. _1_1 = left;
  69920. left = null;
  69921. }
  69922. if (t1)
  69923. return type$.SassNumber._as(result).withSlash$2(left, right0);
  69924. if (_1_1 instanceof A.SassNumber)
  69925. t1 = (_1_2_isSet ? _1_2 : right) instanceof A.SassNumber;
  69926. else
  69927. t1 = false;
  69928. if (t1) {
  69929. this._async_evaluate$_warn$3(string$.Using__o + A.S(new A._EvaluateVisitor__slash_recommendation0().call$1(node)) + " or " + A.expressionToCalc(node).toString$0(0) + string$.x0a_Morex20, node.get$span(0), B.Deprecation_BvP);
  69930. return result;
  69931. }
  69932. return result;
  69933. },
  69934. _async_evaluate$_operandAllowsSlash$1(node) {
  69935. var t1;
  69936. if (node instanceof A.FunctionExpression)
  69937. if (node.namespace == null) {
  69938. t1 = node.name;
  69939. t1 = B.Set_Pr3yj.contains$1(0, t1.toLowerCase()) && this._async_evaluate$_environment.getFunction$1(t1) == null;
  69940. } else
  69941. t1 = false;
  69942. else
  69943. t1 = true;
  69944. return t1;
  69945. },
  69946. visitValueExpression$1(_, node) {
  69947. return this.visitValueExpression$body$_EvaluateVisitor(0, node);
  69948. },
  69949. visitValueExpression$body$_EvaluateVisitor(_, node) {
  69950. var $async$goto = 0,
  69951. $async$completer = A._makeAsyncAwaitCompleter(type$.Value),
  69952. $async$returnValue;
  69953. var $async$visitValueExpression$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  69954. if ($async$errorCode === 1)
  69955. return A._asyncRethrow($async$result, $async$completer);
  69956. while (true)
  69957. switch ($async$goto) {
  69958. case 0:
  69959. // Function start
  69960. $async$returnValue = node.value;
  69961. // goto return
  69962. $async$goto = 1;
  69963. break;
  69964. case 1:
  69965. // return
  69966. return A._asyncReturn($async$returnValue, $async$completer);
  69967. }
  69968. });
  69969. return A._asyncStartSync($async$visitValueExpression$1, $async$completer);
  69970. },
  69971. visitVariableExpression$1(_, node) {
  69972. return this.visitVariableExpression$body$_EvaluateVisitor(0, node);
  69973. },
  69974. visitVariableExpression$body$_EvaluateVisitor(_, node) {
  69975. var $async$goto = 0,
  69976. $async$completer = A._makeAsyncAwaitCompleter(type$.Value),
  69977. $async$returnValue, $async$self = this, result;
  69978. var $async$visitVariableExpression$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  69979. if ($async$errorCode === 1)
  69980. return A._asyncRethrow($async$result, $async$completer);
  69981. while (true)
  69982. switch ($async$goto) {
  69983. case 0:
  69984. // Function start
  69985. result = $async$self._async_evaluate$_addExceptionSpan$2(node, new A._EvaluateVisitor_visitVariableExpression_closure0($async$self, node));
  69986. if (result != null) {
  69987. $async$returnValue = result;
  69988. // goto return
  69989. $async$goto = 1;
  69990. break;
  69991. }
  69992. throw A.wrapException($async$self._async_evaluate$_exception$2("Undefined variable.", node.span));
  69993. case 1:
  69994. // return
  69995. return A._asyncReturn($async$returnValue, $async$completer);
  69996. }
  69997. });
  69998. return A._asyncStartSync($async$visitVariableExpression$1, $async$completer);
  69999. },
  70000. visitUnaryOperationExpression$1(_, node) {
  70001. return this.visitUnaryOperationExpression$body$_EvaluateVisitor(0, node);
  70002. },
  70003. visitUnaryOperationExpression$body$_EvaluateVisitor(_, node) {
  70004. var $async$goto = 0,
  70005. $async$completer = A._makeAsyncAwaitCompleter(type$.Value),
  70006. $async$returnValue, $async$self = this, $async$temp1, $async$temp2, $async$temp3;
  70007. var $async$visitUnaryOperationExpression$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  70008. if ($async$errorCode === 1)
  70009. return A._asyncRethrow($async$result, $async$completer);
  70010. while (true)
  70011. switch ($async$goto) {
  70012. case 0:
  70013. // Function start
  70014. $async$temp1 = node;
  70015. $async$temp2 = A;
  70016. $async$temp3 = node;
  70017. $async$goto = 3;
  70018. return A._asyncAwait(node.operand.accept$1($async$self), $async$visitUnaryOperationExpression$1);
  70019. case 3:
  70020. // returning from await.
  70021. $async$returnValue = $async$self._async_evaluate$_addExceptionSpan$2($async$temp1, new $async$temp2._EvaluateVisitor_visitUnaryOperationExpression_closure0($async$temp3, $async$result));
  70022. // goto return
  70023. $async$goto = 1;
  70024. break;
  70025. case 1:
  70026. // return
  70027. return A._asyncReturn($async$returnValue, $async$completer);
  70028. }
  70029. });
  70030. return A._asyncStartSync($async$visitUnaryOperationExpression$1, $async$completer);
  70031. },
  70032. visitBooleanExpression$1(_, node) {
  70033. return this.visitBooleanExpression$body$_EvaluateVisitor(0, node);
  70034. },
  70035. visitBooleanExpression$body$_EvaluateVisitor(_, node) {
  70036. var $async$goto = 0,
  70037. $async$completer = A._makeAsyncAwaitCompleter(type$.SassBoolean),
  70038. $async$returnValue;
  70039. var $async$visitBooleanExpression$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  70040. if ($async$errorCode === 1)
  70041. return A._asyncRethrow($async$result, $async$completer);
  70042. while (true)
  70043. switch ($async$goto) {
  70044. case 0:
  70045. // Function start
  70046. $async$returnValue = node.value ? B.SassBoolean_true : B.SassBoolean_false;
  70047. // goto return
  70048. $async$goto = 1;
  70049. break;
  70050. case 1:
  70051. // return
  70052. return A._asyncReturn($async$returnValue, $async$completer);
  70053. }
  70054. });
  70055. return A._asyncStartSync($async$visitBooleanExpression$1, $async$completer);
  70056. },
  70057. visitIfExpression$1(_, node) {
  70058. return this.visitIfExpression$body$_EvaluateVisitor(0, node);
  70059. },
  70060. visitIfExpression$body$_EvaluateVisitor(_, node) {
  70061. var $async$goto = 0,
  70062. $async$completer = A._makeAsyncAwaitCompleter(type$.Value),
  70063. $async$returnValue, $async$self = this, condition, t1, ifTrue, ifFalse, result, _0_0, positional, named;
  70064. var $async$visitIfExpression$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  70065. if ($async$errorCode === 1)
  70066. return A._asyncRethrow($async$result, $async$completer);
  70067. while (true)
  70068. switch ($async$goto) {
  70069. case 0:
  70070. // Function start
  70071. $async$goto = 3;
  70072. return A._asyncAwait($async$self._async_evaluate$_evaluateMacroArguments$1(node), $async$visitIfExpression$1);
  70073. case 3:
  70074. // returning from await.
  70075. _0_0 = $async$result;
  70076. positional = _0_0._0;
  70077. named = _0_0._1;
  70078. $async$self._async_evaluate$_verifyArguments$4(J.get$length$asx(positional), named, $.$get$IfExpression_declaration(), node);
  70079. condition = A.ListExtensions_elementAtOrNull(positional, 0);
  70080. if (condition == null) {
  70081. t1 = named.$index(0, "condition");
  70082. t1.toString;
  70083. condition = t1;
  70084. }
  70085. ifTrue = A.ListExtensions_elementAtOrNull(positional, 1);
  70086. if (ifTrue == null) {
  70087. t1 = named.$index(0, "if-true");
  70088. t1.toString;
  70089. ifTrue = t1;
  70090. }
  70091. ifFalse = A.ListExtensions_elementAtOrNull(positional, 2);
  70092. if (ifFalse == null) {
  70093. t1 = named.$index(0, "if-false");
  70094. t1.toString;
  70095. ifFalse = t1;
  70096. }
  70097. $async$goto = 4;
  70098. return A._asyncAwait(condition.accept$1($async$self), $async$visitIfExpression$1);
  70099. case 4:
  70100. // returning from await.
  70101. result = $async$result.get$isTruthy() ? ifTrue : ifFalse;
  70102. t1 = result.accept$1($async$self);
  70103. $async$goto = 5;
  70104. return A._asyncAwait(type$.Future_Value._is(t1) ? t1 : A._Future$value(t1, type$.Value), $async$visitIfExpression$1);
  70105. case 5:
  70106. // returning from await.
  70107. $async$returnValue = $async$self._async_evaluate$_withoutSlash$2($async$result, $async$self._async_evaluate$_expressionNode$1(result));
  70108. // goto return
  70109. $async$goto = 1;
  70110. break;
  70111. case 1:
  70112. // return
  70113. return A._asyncReturn($async$returnValue, $async$completer);
  70114. }
  70115. });
  70116. return A._asyncStartSync($async$visitIfExpression$1, $async$completer);
  70117. },
  70118. visitNullExpression$1(_, node) {
  70119. return this.visitNullExpression$body$_EvaluateVisitor(0, node);
  70120. },
  70121. visitNullExpression$body$_EvaluateVisitor(_, node) {
  70122. var $async$goto = 0,
  70123. $async$completer = A._makeAsyncAwaitCompleter(type$.Value),
  70124. $async$returnValue;
  70125. var $async$visitNullExpression$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  70126. if ($async$errorCode === 1)
  70127. return A._asyncRethrow($async$result, $async$completer);
  70128. while (true)
  70129. switch ($async$goto) {
  70130. case 0:
  70131. // Function start
  70132. $async$returnValue = B.C__SassNull;
  70133. // goto return
  70134. $async$goto = 1;
  70135. break;
  70136. case 1:
  70137. // return
  70138. return A._asyncReturn($async$returnValue, $async$completer);
  70139. }
  70140. });
  70141. return A._asyncStartSync($async$visitNullExpression$1, $async$completer);
  70142. },
  70143. visitNumberExpression$1(_, node) {
  70144. return this.visitNumberExpression$body$_EvaluateVisitor(0, node);
  70145. },
  70146. visitNumberExpression$body$_EvaluateVisitor(_, node) {
  70147. var $async$goto = 0,
  70148. $async$completer = A._makeAsyncAwaitCompleter(type$.SassNumber),
  70149. $async$returnValue;
  70150. var $async$visitNumberExpression$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  70151. if ($async$errorCode === 1)
  70152. return A._asyncRethrow($async$result, $async$completer);
  70153. while (true)
  70154. switch ($async$goto) {
  70155. case 0:
  70156. // Function start
  70157. $async$returnValue = A.SassNumber_SassNumber(node.value, node.unit);
  70158. // goto return
  70159. $async$goto = 1;
  70160. break;
  70161. case 1:
  70162. // return
  70163. return A._asyncReturn($async$returnValue, $async$completer);
  70164. }
  70165. });
  70166. return A._asyncStartSync($async$visitNumberExpression$1, $async$completer);
  70167. },
  70168. visitParenthesizedExpression$1(_, node) {
  70169. var _this = this;
  70170. return _this._async_evaluate$_assertInModule$2(_this._async_evaluate$__stylesheet, "_stylesheet").plainCss ? A.throwExpression(_this._async_evaluate$_exception$2("Parentheses aren't allowed in plain CSS.", node.span)) : node.expression.accept$1(_this);
  70171. },
  70172. visitColorExpression$1(_, node) {
  70173. return this.visitColorExpression$body$_EvaluateVisitor(0, node);
  70174. },
  70175. visitColorExpression$body$_EvaluateVisitor(_, node) {
  70176. var $async$goto = 0,
  70177. $async$completer = A._makeAsyncAwaitCompleter(type$.SassColor),
  70178. $async$returnValue;
  70179. var $async$visitColorExpression$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  70180. if ($async$errorCode === 1)
  70181. return A._asyncRethrow($async$result, $async$completer);
  70182. while (true)
  70183. switch ($async$goto) {
  70184. case 0:
  70185. // Function start
  70186. $async$returnValue = node.value;
  70187. // goto return
  70188. $async$goto = 1;
  70189. break;
  70190. case 1:
  70191. // return
  70192. return A._asyncReturn($async$returnValue, $async$completer);
  70193. }
  70194. });
  70195. return A._asyncStartSync($async$visitColorExpression$1, $async$completer);
  70196. },
  70197. visitListExpression$1(_, node) {
  70198. return this.visitListExpression$body$_EvaluateVisitor(0, node);
  70199. },
  70200. visitListExpression$body$_EvaluateVisitor(_, node) {
  70201. var $async$goto = 0,
  70202. $async$completer = A._makeAsyncAwaitCompleter(type$.SassList),
  70203. $async$returnValue, $async$self = this, $async$temp1;
  70204. var $async$visitListExpression$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  70205. if ($async$errorCode === 1)
  70206. return A._asyncRethrow($async$result, $async$completer);
  70207. while (true)
  70208. switch ($async$goto) {
  70209. case 0:
  70210. // Function start
  70211. $async$temp1 = A;
  70212. $async$goto = 3;
  70213. return A._asyncAwait(A.mapAsync(node.contents, new A._EvaluateVisitor_visitListExpression_closure0($async$self), type$.Expression, type$.Value), $async$visitListExpression$1);
  70214. case 3:
  70215. // returning from await.
  70216. $async$returnValue = $async$temp1.SassList$($async$result, node.separator, node.hasBrackets);
  70217. // goto return
  70218. $async$goto = 1;
  70219. break;
  70220. case 1:
  70221. // return
  70222. return A._asyncReturn($async$returnValue, $async$completer);
  70223. }
  70224. });
  70225. return A._asyncStartSync($async$visitListExpression$1, $async$completer);
  70226. },
  70227. visitMapExpression$1(_, node) {
  70228. return this.visitMapExpression$body$_EvaluateVisitor(0, node);
  70229. },
  70230. visitMapExpression$body$_EvaluateVisitor(_, node) {
  70231. var $async$goto = 0,
  70232. $async$completer = A._makeAsyncAwaitCompleter(type$.SassMap),
  70233. $async$returnValue, $async$self = this, t2, t3, _i, t4, key, keyValue, valueValue, oldValueSpan, t1, map, keyNodes;
  70234. var $async$visitMapExpression$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  70235. if ($async$errorCode === 1)
  70236. return A._asyncRethrow($async$result, $async$completer);
  70237. while (true)
  70238. switch ($async$goto) {
  70239. case 0:
  70240. // Function start
  70241. t1 = type$.Value;
  70242. map = A.LinkedHashMap_LinkedHashMap$_empty(t1, t1);
  70243. keyNodes = A.LinkedHashMap_LinkedHashMap$_empty(t1, type$.AstNode);
  70244. t2 = node.pairs, t3 = t2.length, _i = 0;
  70245. case 3:
  70246. // for condition
  70247. if (!(_i < t3)) {
  70248. // goto after for
  70249. $async$goto = 5;
  70250. break;
  70251. }
  70252. t4 = t2[_i];
  70253. key = t4._0;
  70254. $async$goto = 6;
  70255. return A._asyncAwait(key.accept$1($async$self), $async$visitMapExpression$1);
  70256. case 6:
  70257. // returning from await.
  70258. keyValue = $async$result;
  70259. $async$goto = 7;
  70260. return A._asyncAwait(t4._1.accept$1($async$self), $async$visitMapExpression$1);
  70261. case 7:
  70262. // returning from await.
  70263. valueValue = $async$result;
  70264. if (map.containsKey$1(keyValue)) {
  70265. t1 = keyNodes.$index(0, keyValue);
  70266. oldValueSpan = t1 == null ? null : t1.get$span(t1);
  70267. t1 = key.get$span(key);
  70268. t2 = A.LinkedHashMap_LinkedHashMap$_empty(type$.FileSpan, type$.String);
  70269. if (oldValueSpan != null)
  70270. t2.$indexSet(0, oldValueSpan, "first key");
  70271. throw A.wrapException(A.MultiSpanSassRuntimeException$("Duplicate key.", t1, "second key", t2, $async$self._async_evaluate$_stackTrace$1(key.get$span(key)), null));
  70272. }
  70273. map.$indexSet(0, keyValue, valueValue);
  70274. keyNodes.$indexSet(0, keyValue, key);
  70275. case 4:
  70276. // for update
  70277. ++_i;
  70278. // goto for condition
  70279. $async$goto = 3;
  70280. break;
  70281. case 5:
  70282. // after for
  70283. $async$returnValue = new A.SassMap(A.ConstantMap_ConstantMap$from(map, t1, t1));
  70284. // goto return
  70285. $async$goto = 1;
  70286. break;
  70287. case 1:
  70288. // return
  70289. return A._asyncReturn($async$returnValue, $async$completer);
  70290. }
  70291. });
  70292. return A._asyncStartSync($async$visitMapExpression$1, $async$completer);
  70293. },
  70294. visitFunctionExpression$1(_, node) {
  70295. return this.visitFunctionExpression$body$_EvaluateVisitor(0, node);
  70296. },
  70297. visitFunctionExpression$body$_EvaluateVisitor(_, node) {
  70298. var $async$goto = 0,
  70299. $async$completer = A._makeAsyncAwaitCompleter(type$.Value),
  70300. $async$returnValue, $async$self = this, t2, _0_0, t3, t4, $name, oldInFunction, result, t1, $function;
  70301. var $async$visitFunctionExpression$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  70302. if ($async$errorCode === 1)
  70303. return A._asyncRethrow($async$result, $async$completer);
  70304. while (true)
  70305. switch ($async$goto) {
  70306. case 0:
  70307. // Function start
  70308. t1 = {};
  70309. $function = $async$self._async_evaluate$_assertInModule$2($async$self._async_evaluate$__stylesheet, "_stylesheet").plainCss ? null : $async$self._async_evaluate$_addExceptionSpan$2(node, new A._EvaluateVisitor_visitFunctionExpression_closure2($async$self, node));
  70310. t1.$function = $function;
  70311. $async$goto = $function == null ? 3 : 5;
  70312. break;
  70313. case 3:
  70314. // then
  70315. if (node.namespace != null)
  70316. throw A.wrapException($async$self._async_evaluate$_exception$2("Undefined function.", node.span));
  70317. t2 = node.name;
  70318. _0_0 = t2.toLowerCase();
  70319. t3 = false;
  70320. if ("min" === _0_0 || "max" === _0_0 || "round" === _0_0 || "abs" === _0_0) {
  70321. t3 = node.$arguments;
  70322. t4 = t3.named;
  70323. t3 = t4.get$isEmpty(t4) && t3.rest == null && B.JSArray_methods.every$1(t3.positional, new A._EvaluateVisitor_visitFunctionExpression_closure3());
  70324. $name = _0_0;
  70325. } else
  70326. $name = null;
  70327. $async$goto = t3 ? 6 : 7;
  70328. break;
  70329. case 6:
  70330. // then
  70331. $async$goto = 8;
  70332. return A._asyncAwait($async$self._async_evaluate$_visitCalculation$2$inLegacySassFunction(node, $name), $async$visitFunctionExpression$1);
  70333. case 8:
  70334. // returning from await.
  70335. $async$returnValue = $async$result;
  70336. // goto return
  70337. $async$goto = 1;
  70338. break;
  70339. case 7:
  70340. // join
  70341. $async$goto = "calc" === _0_0 || "clamp" === _0_0 || "hypot" === _0_0 || "sin" === _0_0 || "cos" === _0_0 || "tan" === _0_0 || "asin" === _0_0 || "acos" === _0_0 || "atan" === _0_0 || "sqrt" === _0_0 || "exp" === _0_0 || "sign" === _0_0 || "mod" === _0_0 || "rem" === _0_0 || "atan2" === _0_0 || "pow" === _0_0 || "log" === _0_0 || "calc-size" === _0_0 ? 9 : 10;
  70342. break;
  70343. case 9:
  70344. // then
  70345. $async$goto = 11;
  70346. return A._asyncAwait($async$self._async_evaluate$_visitCalculation$1(node), $async$visitFunctionExpression$1);
  70347. case 11:
  70348. // returning from await.
  70349. $async$returnValue = $async$result;
  70350. // goto return
  70351. $async$goto = 1;
  70352. break;
  70353. case 10:
  70354. // join
  70355. $function = $async$self._async_evaluate$_assertInModule$2($async$self._async_evaluate$__stylesheet, "_stylesheet").plainCss ? null : $async$self._async_evaluate$_builtInFunctions.$index(0, t2);
  70356. t2 = t1.$function = $function == null ? new A.PlainCssCallable(node.originalName) : $function;
  70357. // goto join
  70358. $async$goto = 4;
  70359. break;
  70360. case 5:
  70361. // else
  70362. t2 = $function;
  70363. case 4:
  70364. // join
  70365. if (B.JSString_methods.startsWith$1(node.originalName, "--") && t2 instanceof A.UserDefinedCallable && !B.JSString_methods.startsWith$1(t2.declaration.originalName, "--"))
  70366. $async$self._async_evaluate$_warn$3(string$.Sassx20_f_, node.get$nameSpan(), B.Deprecation_Kg6);
  70367. oldInFunction = $async$self._async_evaluate$_inFunction;
  70368. $async$self._async_evaluate$_inFunction = true;
  70369. $async$goto = 12;
  70370. return A._asyncAwait($async$self._async_evaluate$_addErrorSpan$1$2(node, new A._EvaluateVisitor_visitFunctionExpression_closure4(t1, $async$self, node), type$.Value), $async$visitFunctionExpression$1);
  70371. case 12:
  70372. // returning from await.
  70373. result = $async$result;
  70374. $async$self._async_evaluate$_inFunction = oldInFunction;
  70375. $async$returnValue = result;
  70376. // goto return
  70377. $async$goto = 1;
  70378. break;
  70379. case 1:
  70380. // return
  70381. return A._asyncReturn($async$returnValue, $async$completer);
  70382. }
  70383. });
  70384. return A._asyncStartSync($async$visitFunctionExpression$1, $async$completer);
  70385. },
  70386. _async_evaluate$_visitCalculation$2$inLegacySassFunction(node, inLegacySassFunction) {
  70387. return this._visitCalculation$body$_EvaluateVisitor(node, inLegacySassFunction);
  70388. },
  70389. _async_evaluate$_visitCalculation$1(node) {
  70390. return this._async_evaluate$_visitCalculation$2$inLegacySassFunction(node, null);
  70391. },
  70392. _visitCalculation$body$_EvaluateVisitor(node, inLegacySassFunction) {
  70393. var $async$goto = 0,
  70394. $async$completer = A._makeAsyncAwaitCompleter(type$.Value),
  70395. $async$returnValue, $async$next = [], $async$self = this, $arguments, oldCallableNode, t1, _0_0, error, stackTrace, t4, _i, exception, t2, t3, $async$temp1;
  70396. var $async$_async_evaluate$_visitCalculation$2$inLegacySassFunction = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  70397. if ($async$errorCode === 1)
  70398. return A._asyncRethrow($async$result, $async$completer);
  70399. while (true)
  70400. switch ($async$goto) {
  70401. case 0:
  70402. // Function start
  70403. t2 = node.$arguments;
  70404. t3 = t2.named;
  70405. if (t3.get$isNotEmpty(t3))
  70406. throw A.wrapException($async$self._async_evaluate$_exception$2(string$.Keywor, node.span));
  70407. else if (t2.rest != null)
  70408. throw A.wrapException($async$self._async_evaluate$_exception$2(string$.Rest_a, node.span));
  70409. $async$self._async_evaluate$_checkCalculationArguments$1(node);
  70410. t3 = A._setArrayType([], type$.JSArray_Object);
  70411. t2 = t2.positional, t4 = t2.length, _i = 0;
  70412. case 3:
  70413. // for condition
  70414. if (!(_i < t4)) {
  70415. // goto after for
  70416. $async$goto = 5;
  70417. break;
  70418. }
  70419. $async$temp1 = t3;
  70420. $async$goto = 6;
  70421. return A._asyncAwait($async$self._async_evaluate$_visitCalculationExpression$2$inLegacySassFunction(t2[_i], inLegacySassFunction), $async$_async_evaluate$_visitCalculation$2$inLegacySassFunction);
  70422. case 6:
  70423. // returning from await.
  70424. $async$temp1.push($async$result);
  70425. case 4:
  70426. // for update
  70427. ++_i;
  70428. // goto for condition
  70429. $async$goto = 3;
  70430. break;
  70431. case 5:
  70432. // after for
  70433. $arguments = t3;
  70434. if ($async$self._async_evaluate$_inSupportsDeclaration) {
  70435. $async$returnValue = new A.SassCalculation(node.name, A.List_List$unmodifiable($arguments, type$.Object));
  70436. // goto return
  70437. $async$goto = 1;
  70438. break;
  70439. }
  70440. oldCallableNode = $async$self._async_evaluate$_callableNode;
  70441. $async$self._async_evaluate$_callableNode = node;
  70442. try {
  70443. t1 = null;
  70444. t3 = node.name;
  70445. _0_0 = t3.toLowerCase();
  70446. $label0$0: {
  70447. if ("calc" === _0_0) {
  70448. t1 = A.SassCalculation_calc(J.$index$asx($arguments, 0));
  70449. break $label0$0;
  70450. }
  70451. if ("sqrt" === _0_0) {
  70452. t1 = A.SassCalculation__singleArgument("sqrt", J.$index$asx($arguments, 0), A.number0__sqrt$closure(), true);
  70453. break $label0$0;
  70454. }
  70455. if ("sin" === _0_0) {
  70456. t1 = A.SassCalculation__singleArgument("sin", J.$index$asx($arguments, 0), A.number0__sin$closure(), false);
  70457. break $label0$0;
  70458. }
  70459. if ("cos" === _0_0) {
  70460. t1 = A.SassCalculation__singleArgument("cos", J.$index$asx($arguments, 0), A.number0__cos$closure(), false);
  70461. break $label0$0;
  70462. }
  70463. if ("tan" === _0_0) {
  70464. t1 = A.SassCalculation__singleArgument("tan", J.$index$asx($arguments, 0), A.number0__tan$closure(), false);
  70465. break $label0$0;
  70466. }
  70467. if ("asin" === _0_0) {
  70468. t1 = A.SassCalculation__singleArgument("asin", J.$index$asx($arguments, 0), A.number0__asin$closure(), true);
  70469. break $label0$0;
  70470. }
  70471. if ("acos" === _0_0) {
  70472. t1 = A.SassCalculation__singleArgument("acos", J.$index$asx($arguments, 0), A.number0__acos$closure(), true);
  70473. break $label0$0;
  70474. }
  70475. if ("atan" === _0_0) {
  70476. t1 = A.SassCalculation__singleArgument("atan", J.$index$asx($arguments, 0), A.number0__atan$closure(), true);
  70477. break $label0$0;
  70478. }
  70479. if ("abs" === _0_0) {
  70480. t1 = A.SassCalculation_abs(J.$index$asx($arguments, 0));
  70481. break $label0$0;
  70482. }
  70483. if ("exp" === _0_0) {
  70484. t1 = A.SassCalculation_exp(J.$index$asx($arguments, 0));
  70485. break $label0$0;
  70486. }
  70487. if ("sign" === _0_0) {
  70488. t1 = A.SassCalculation_sign(J.$index$asx($arguments, 0));
  70489. break $label0$0;
  70490. }
  70491. if ("min" === _0_0) {
  70492. t1 = A.SassCalculation_min($arguments);
  70493. break $label0$0;
  70494. }
  70495. if ("max" === _0_0) {
  70496. t1 = A.SassCalculation_max($arguments);
  70497. break $label0$0;
  70498. }
  70499. if ("hypot" === _0_0) {
  70500. t1 = A.SassCalculation_hypot($arguments);
  70501. break $label0$0;
  70502. }
  70503. if ("pow" === _0_0) {
  70504. t1 = A.SassCalculation_pow(J.$index$asx($arguments, 0), A.ListExtensions_elementAtOrNull($arguments, 1));
  70505. break $label0$0;
  70506. }
  70507. if ("atan2" === _0_0) {
  70508. t1 = A.SassCalculation_atan2(J.$index$asx($arguments, 0), A.ListExtensions_elementAtOrNull($arguments, 1));
  70509. break $label0$0;
  70510. }
  70511. if ("log" === _0_0) {
  70512. t1 = A.SassCalculation_log(J.$index$asx($arguments, 0), A.ListExtensions_elementAtOrNull($arguments, 1));
  70513. break $label0$0;
  70514. }
  70515. if ("mod" === _0_0) {
  70516. t1 = A.SassCalculation_mod(J.$index$asx($arguments, 0), A.ListExtensions_elementAtOrNull($arguments, 1));
  70517. break $label0$0;
  70518. }
  70519. if ("rem" === _0_0) {
  70520. t1 = A.SassCalculation_rem(J.$index$asx($arguments, 0), A.ListExtensions_elementAtOrNull($arguments, 1));
  70521. break $label0$0;
  70522. }
  70523. if ("round" === _0_0) {
  70524. t1 = A.SassCalculation_roundInternal(J.$index$asx($arguments, 0), A.ListExtensions_elementAtOrNull($arguments, 1), A.ListExtensions_elementAtOrNull($arguments, 2), inLegacySassFunction, node.span, new A._EvaluateVisitor__visitCalculation_closure0($async$self, node));
  70525. break $label0$0;
  70526. }
  70527. if ("clamp" === _0_0) {
  70528. t1 = A.SassCalculation_clamp(J.$index$asx($arguments, 0), A.ListExtensions_elementAtOrNull($arguments, 1), A.ListExtensions_elementAtOrNull($arguments, 2));
  70529. break $label0$0;
  70530. }
  70531. if ("calc-size" === _0_0) {
  70532. t1 = A.SassCalculation_calcSize(J.$index$asx($arguments, 0), A.ListExtensions_elementAtOrNull($arguments, 1));
  70533. break $label0$0;
  70534. }
  70535. t3 = A.UnsupportedError$('Unknown calculation name "' + t3 + '".');
  70536. t1 = A.throwExpression(t3);
  70537. }
  70538. t1 = t1;
  70539. $async$returnValue = t1;
  70540. // goto return
  70541. $async$goto = 1;
  70542. break;
  70543. } catch (exception) {
  70544. t1 = A.unwrapException(exception);
  70545. if (t1 instanceof A.SassScriptException) {
  70546. error = t1;
  70547. stackTrace = A.getTraceFromException(exception);
  70548. if (B.JSString_methods.contains$1(error.message, "compatible"))
  70549. $async$self._async_evaluate$_verifyCompatibleNumbers$2($arguments, t2);
  70550. A.throwWithTrace($async$self._async_evaluate$_exception$2(error.message, node.span), error, stackTrace);
  70551. } else
  70552. throw exception;
  70553. } finally {
  70554. $async$self._async_evaluate$_callableNode = oldCallableNode;
  70555. }
  70556. case 1:
  70557. // return
  70558. return A._asyncReturn($async$returnValue, $async$completer);
  70559. }
  70560. });
  70561. return A._asyncStartSync($async$_async_evaluate$_visitCalculation$2$inLegacySassFunction, $async$completer);
  70562. },
  70563. _async_evaluate$_checkCalculationArguments$1(node) {
  70564. var t1, _0_0,
  70565. check = new A._EvaluateVisitor__checkCalculationArguments_check0(this, node);
  70566. $label0$0: {
  70567. t1 = node.name;
  70568. _0_0 = t1.toLowerCase();
  70569. if ("calc" === _0_0 || "sqrt" === _0_0 || "sin" === _0_0 || "cos" === _0_0 || "tan" === _0_0 || "asin" === _0_0 || "acos" === _0_0 || "atan" === _0_0 || "abs" === _0_0 || "exp" === _0_0 || "sign" === _0_0) {
  70570. check.call$1(1);
  70571. break $label0$0;
  70572. }
  70573. if ("min" === _0_0 || "max" === _0_0 || "hypot" === _0_0) {
  70574. check.call$0();
  70575. break $label0$0;
  70576. }
  70577. if ("pow" === _0_0 || "atan2" === _0_0 || "log" === _0_0 || "mod" === _0_0 || "rem" === _0_0 || "calc-size" === _0_0) {
  70578. check.call$1(2);
  70579. break $label0$0;
  70580. }
  70581. if ("round" === _0_0 || "clamp" === _0_0) {
  70582. check.call$1(3);
  70583. break $label0$0;
  70584. }
  70585. throw A.wrapException(A.UnsupportedError$('Unknown calculation name "' + t1 + '".'));
  70586. }
  70587. },
  70588. _async_evaluate$_verifyCompatibleNumbers$2(args, nodesWithSpans) {
  70589. var i, t1, _0_0, arg, t2, number1, j, number2, t3, t4, t5, t6;
  70590. for (i = 0; t1 = args.length, i < t1; ++i) {
  70591. _0_0 = args[i];
  70592. if (_0_0 instanceof A.SassNumber) {
  70593. t1 = _0_0.get$hasComplexUnits();
  70594. arg = _0_0;
  70595. } else {
  70596. arg = null;
  70597. t1 = false;
  70598. }
  70599. if (t1) {
  70600. t1 = A.S(arg);
  70601. t2 = nodesWithSpans[i];
  70602. throw A.wrapException(this._async_evaluate$_exception$2("Number " + t1 + " isn't compatible with CSS calculations.", t2.get$span(t2)));
  70603. }
  70604. }
  70605. for (i = 0; i < t1 - 1; ++i) {
  70606. number1 = args[i];
  70607. if (!(number1 instanceof A.SassNumber))
  70608. continue;
  70609. for (j = i + 1; t1 = args.length, j < t1; ++j) {
  70610. number2 = args[j];
  70611. if (!(number2 instanceof A.SassNumber))
  70612. continue;
  70613. if (number1.hasPossiblyCompatibleUnits$1(number2))
  70614. continue;
  70615. t1 = number1.toString$0(0);
  70616. t2 = number2.toString$0(0);
  70617. t3 = nodesWithSpans[i];
  70618. t3 = t3.get$span(t3);
  70619. t4 = number1.toString$0(0);
  70620. t5 = nodesWithSpans[j];
  70621. t5 = A.LinkedHashMap_LinkedHashMap$_literal([t5.get$span(t5), number2.toString$0(0)], type$.FileSpan, type$.String);
  70622. t6 = nodesWithSpans[i];
  70623. throw A.wrapException(A.MultiSpanSassRuntimeException$(t1 + " and " + t2 + " are incompatible.", t3, t4, t5, this._async_evaluate$_stackTrace$1(t6.get$span(t6)), null));
  70624. }
  70625. }
  70626. },
  70627. _async_evaluate$_visitCalculationExpression$2$inLegacySassFunction(node, inLegacySassFunction) {
  70628. return this._visitCalculationExpression$body$_EvaluateVisitor(node, inLegacySassFunction);
  70629. },
  70630. _visitCalculationExpression$body$_EvaluateVisitor(node, inLegacySassFunction) {
  70631. var $async$goto = 0,
  70632. $async$completer = A._makeAsyncAwaitCompleter(type$.Object),
  70633. $async$returnValue, $async$self = this, result, t2, _0_0, _box_0, _1_0, t3, _i, i, t1, inner, $async$temp1;
  70634. var $async$_async_evaluate$_visitCalculationExpression$2$inLegacySassFunction = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  70635. if ($async$errorCode === 1)
  70636. return A._asyncRethrow($async$result, $async$completer);
  70637. while (true)
  70638. switch ($async$goto) {
  70639. case 0:
  70640. // Function start
  70641. t1 = node instanceof A.ParenthesizedExpression;
  70642. inner = t1 ? node.expression : null;
  70643. $async$goto = t1 ? 3 : 4;
  70644. break;
  70645. case 3:
  70646. // then
  70647. $async$goto = 5;
  70648. return A._asyncAwait($async$self._async_evaluate$_visitCalculationExpression$2$inLegacySassFunction(inner, inLegacySassFunction), $async$_async_evaluate$_visitCalculationExpression$2$inLegacySassFunction);
  70649. case 5:
  70650. // returning from await.
  70651. result = $async$result;
  70652. $async$returnValue = result instanceof A.SassString ? new A.SassString("(" + result._string$_text + ")", false) : result;
  70653. // goto return
  70654. $async$goto = 1;
  70655. break;
  70656. case 4:
  70657. // join
  70658. $async$goto = node instanceof A.StringExpression && node.accept$1(B.C_IsCalculationSafeVisitor) ? 6 : 7;
  70659. break;
  70660. case 6:
  70661. // then
  70662. t1 = node.text;
  70663. t2 = t1.get$asPlain();
  70664. _0_0 = t2 == null ? null : t2.toLowerCase();
  70665. if ("pi" === _0_0) {
  70666. t1 = A.SassNumber_SassNumber(3.141592653589793, null);
  70667. // goto break $label0$0
  70668. $async$goto = 8;
  70669. break;
  70670. }
  70671. if ("e" === _0_0) {
  70672. t1 = A.SassNumber_SassNumber(2.718281828459045, null);
  70673. // goto break $label0$0
  70674. $async$goto = 8;
  70675. break;
  70676. }
  70677. if ("infinity" === _0_0) {
  70678. t1 = A.SassNumber_SassNumber(1 / 0, null);
  70679. // goto break $label0$0
  70680. $async$goto = 8;
  70681. break;
  70682. }
  70683. if ("-infinity" === _0_0) {
  70684. t1 = A.SassNumber_SassNumber(-1 / 0, null);
  70685. // goto break $label0$0
  70686. $async$goto = 8;
  70687. break;
  70688. }
  70689. if ("nan" === _0_0) {
  70690. t1 = A.SassNumber_SassNumber(0 / 0, null);
  70691. // goto break $label0$0
  70692. $async$goto = 8;
  70693. break;
  70694. }
  70695. $async$temp1 = A;
  70696. $async$goto = 9;
  70697. return A._asyncAwait($async$self._async_evaluate$_performInterpolation$1(t1), $async$_async_evaluate$_visitCalculationExpression$2$inLegacySassFunction);
  70698. case 9:
  70699. // returning from await.
  70700. t1 = new $async$temp1.SassString($async$result, false);
  70701. // goto break $label0$0
  70702. $async$goto = 8;
  70703. break;
  70704. case 8:
  70705. // break $label0$0
  70706. $async$returnValue = t1;
  70707. // goto return
  70708. $async$goto = 1;
  70709. break;
  70710. case 7:
  70711. // join
  70712. _box_0 = {};
  70713. _box_0.right = _box_0.left = _box_0.operator = null;
  70714. t1 = node instanceof A.BinaryOperationExpression;
  70715. if (t1) {
  70716. _box_0.operator = node.operator;
  70717. _box_0.left = node.left;
  70718. _box_0.right = node.right;
  70719. }
  70720. $async$goto = t1 ? 10 : 11;
  70721. break;
  70722. case 10:
  70723. // then
  70724. $async$self._async_evaluate$_checkWhitespaceAroundCalculationOperator$1(node);
  70725. $async$goto = 12;
  70726. return A._asyncAwait($async$self._addExceptionSpanAsync$1$2(node, new A._EvaluateVisitor__visitCalculationExpression_closure0(_box_0, $async$self, node, inLegacySassFunction), type$.Object), $async$_async_evaluate$_visitCalculationExpression$2$inLegacySassFunction);
  70727. case 12:
  70728. // returning from await.
  70729. $async$returnValue = $async$result;
  70730. // goto return
  70731. $async$goto = 1;
  70732. break;
  70733. case 11:
  70734. // join
  70735. $async$goto = node instanceof A.NumberExpression || node instanceof A.VariableExpression || node instanceof A.FunctionExpression || node instanceof A.IfExpression ? 13 : 14;
  70736. break;
  70737. case 13:
  70738. // then
  70739. $async$goto = 15;
  70740. return A._asyncAwait(node.accept$1($async$self), $async$_async_evaluate$_visitCalculationExpression$2$inLegacySassFunction);
  70741. case 15:
  70742. // returning from await.
  70743. _1_0 = $async$result;
  70744. $label1$1: {
  70745. if (_1_0 instanceof A.SassNumber) {
  70746. t1 = _1_0;
  70747. break $label1$1;
  70748. }
  70749. if (_1_0 instanceof A.SassCalculation) {
  70750. t1 = _1_0;
  70751. break $label1$1;
  70752. }
  70753. if (_1_0 instanceof A.SassString) {
  70754. t1 = !_1_0._hasQuotes;
  70755. result = _1_0;
  70756. } else {
  70757. result = null;
  70758. t1 = false;
  70759. }
  70760. if (t1) {
  70761. t1 = result;
  70762. break $label1$1;
  70763. }
  70764. t1 = A.throwExpression($async$self._async_evaluate$_exception$2("Value " + _1_0.toString$0(0) + " can't be used in a calculation.", node.get$span(node)));
  70765. }
  70766. $async$returnValue = t1;
  70767. // goto return
  70768. $async$goto = 1;
  70769. break;
  70770. case 14:
  70771. // join
  70772. $async$goto = node instanceof A.ListExpression && !node.hasBrackets && B.ListSeparator_qSL === node.separator && node.contents.length >= 2 ? 16 : 17;
  70773. break;
  70774. case 16:
  70775. // then
  70776. t1 = A._setArrayType([], type$.JSArray_Object);
  70777. t2 = node.contents, t3 = t2.length, _i = 0;
  70778. case 18:
  70779. // for condition
  70780. if (!(_i < t3)) {
  70781. // goto after for
  70782. $async$goto = 20;
  70783. break;
  70784. }
  70785. $async$temp1 = t1;
  70786. $async$goto = 21;
  70787. return A._asyncAwait($async$self._async_evaluate$_visitCalculationExpression$2$inLegacySassFunction(t2[_i], inLegacySassFunction), $async$_async_evaluate$_visitCalculationExpression$2$inLegacySassFunction);
  70788. case 21:
  70789. // returning from await.
  70790. $async$temp1.push($async$result);
  70791. case 19:
  70792. // for update
  70793. ++_i;
  70794. // goto for condition
  70795. $async$goto = 18;
  70796. break;
  70797. case 20:
  70798. // after for
  70799. $async$self._async_evaluate$_checkAdjacentCalculationValues$2(t1, node);
  70800. for (i = 0; i < t1.length; ++i) {
  70801. t3 = t1[i];
  70802. if (t3 instanceof A.CalculationOperation && t2[i] instanceof A.ParenthesizedExpression)
  70803. t1[i] = new A.SassString("(" + t3.toString$0(0) + ")", false);
  70804. }
  70805. $async$returnValue = new A.SassString(B.JSArray_methods.join$1(t1, " "), false);
  70806. // goto return
  70807. $async$goto = 1;
  70808. break;
  70809. case 17:
  70810. // join
  70811. throw A.wrapException($async$self._async_evaluate$_exception$2(string$.This_e, node.get$span(node)));
  70812. case 1:
  70813. // return
  70814. return A._asyncReturn($async$returnValue, $async$completer);
  70815. }
  70816. });
  70817. return A._asyncStartSync($async$_async_evaluate$_visitCalculationExpression$2$inLegacySassFunction, $async$completer);
  70818. },
  70819. _async_evaluate$_checkWhitespaceAroundCalculationOperator$1(node) {
  70820. var t2, t3, t4, textBetweenOperands, first, last,
  70821. t1 = node.operator;
  70822. if (t1 !== B.BinaryOperator_Swh && t1 !== B.BinaryOperator_QG1)
  70823. return;
  70824. t1 = node.left;
  70825. t2 = t1.get$span(t1);
  70826. t2 = t2.get$file(t2);
  70827. t3 = node.right;
  70828. t4 = t3.get$span(t3);
  70829. if (t2 !== t4.get$file(t4))
  70830. return;
  70831. t2 = t1.get$span(t1);
  70832. t2 = t2.get$end(t2);
  70833. t4 = t3.get$span(t3);
  70834. if (t2.offset >= t4.get$start(t4).offset)
  70835. return;
  70836. t2 = t1.get$span(t1);
  70837. t2 = t2.get$file(t2);
  70838. t1 = t1.get$span(t1);
  70839. t1 = t1.get$end(t1);
  70840. t3 = t3.get$span(t3);
  70841. textBetweenOperands = A.String_String$fromCharCodes(B.NativeUint32List_methods.sublist$2(t2._decodedChars, t1.offset, t3.get$start(t3).offset), 0, null);
  70842. first = textBetweenOperands.charCodeAt(0);
  70843. last = textBetweenOperands.charCodeAt(textBetweenOperands.length - 1);
  70844. if (first === 32 || first === 9 || first === 10 || first === 13 || first === 12 || first === 47)
  70845. t1 = !(last === 32 || last === 9 || last === 10 || last === 13 || last === 12 || last === 47);
  70846. else
  70847. t1 = true;
  70848. if (t1)
  70849. throw A.wrapException(this._async_evaluate$_exception$2(string$.x22x2b__an, node.get$operatorSpan()));
  70850. },
  70851. _async_evaluate$_binaryOperatorToCalculationOperator$2(operator, node) {
  70852. var t1;
  70853. $label0$0: {
  70854. if (B.BinaryOperator_Swh === operator) {
  70855. t1 = B.CalculationOperator_F7i;
  70856. break $label0$0;
  70857. }
  70858. if (B.BinaryOperator_QG1 === operator) {
  70859. t1 = B.CalculationOperator_oum;
  70860. break $label0$0;
  70861. }
  70862. if (B.BinaryOperator_tht === operator) {
  70863. t1 = B.CalculationOperator_kkN;
  70864. break $label0$0;
  70865. }
  70866. if (B.BinaryOperator_Mh5 === operator) {
  70867. t1 = B.CalculationOperator_bo5;
  70868. break $label0$0;
  70869. }
  70870. t1 = A.throwExpression(this._async_evaluate$_exception$2(string$.This_o, node.get$operatorSpan()));
  70871. }
  70872. return t1;
  70873. },
  70874. _async_evaluate$_checkAdjacentCalculationValues$2(elements, node) {
  70875. var t1, i, t2, previous, current, previousNode, currentNode, _0_2;
  70876. for (t1 = elements.length, i = 1; i < t1; ++i) {
  70877. t2 = i - 1;
  70878. previous = elements[t2];
  70879. current = elements[i];
  70880. if (previous instanceof A.SassString || current instanceof A.SassString)
  70881. continue;
  70882. t1 = node.contents;
  70883. previousNode = t1[t2];
  70884. currentNode = t1[i];
  70885. if (currentNode instanceof A.UnaryOperationExpression) {
  70886. _0_2 = currentNode.operator;
  70887. if (B.UnaryOperator_UCP !== _0_2)
  70888. t1 = B.UnaryOperator_Rbl === _0_2;
  70889. else
  70890. t1 = true;
  70891. } else
  70892. t1 = false;
  70893. if (!t1)
  70894. t1 = currentNode instanceof A.NumberExpression && currentNode.value < 0;
  70895. else
  70896. t1 = true;
  70897. if (t1)
  70898. throw A.wrapException(this._async_evaluate$_exception$2(string$.x22x2b__an, A.FileSpanExtension_subspan(currentNode.get$span(currentNode), 0, 1)));
  70899. else
  70900. throw A.wrapException(this._async_evaluate$_exception$2("Missing math operator.", previousNode.get$span(previousNode).expand$1(0, currentNode.get$span(currentNode))));
  70901. }
  70902. },
  70903. visitInterpolatedFunctionExpression$1(_, node) {
  70904. return this.visitInterpolatedFunctionExpression$body$_EvaluateVisitor(0, node);
  70905. },
  70906. visitInterpolatedFunctionExpression$body$_EvaluateVisitor(_, node) {
  70907. var $async$goto = 0,
  70908. $async$completer = A._makeAsyncAwaitCompleter(type$.Value),
  70909. $async$returnValue, $async$self = this, result, t1, oldInFunction;
  70910. var $async$visitInterpolatedFunctionExpression$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  70911. if ($async$errorCode === 1)
  70912. return A._asyncRethrow($async$result, $async$completer);
  70913. while (true)
  70914. switch ($async$goto) {
  70915. case 0:
  70916. // Function start
  70917. $async$goto = 3;
  70918. return A._asyncAwait($async$self._async_evaluate$_performInterpolation$1(node.name), $async$visitInterpolatedFunctionExpression$1);
  70919. case 3:
  70920. // returning from await.
  70921. t1 = $async$result;
  70922. oldInFunction = $async$self._async_evaluate$_inFunction;
  70923. $async$self._async_evaluate$_inFunction = true;
  70924. $async$goto = 4;
  70925. 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);
  70926. case 4:
  70927. // returning from await.
  70928. result = $async$result;
  70929. $async$self._async_evaluate$_inFunction = oldInFunction;
  70930. $async$returnValue = result;
  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$visitInterpolatedFunctionExpression$1, $async$completer);
  70940. },
  70941. _async_evaluate$_runUserDefinedCallable$1$4($arguments, callable, nodeWithSpan, run, $V) {
  70942. return this._runUserDefinedCallable$body$_EvaluateVisitor($arguments, callable, nodeWithSpan, run, $V, $V);
  70943. },
  70944. _runUserDefinedCallable$body$_EvaluateVisitor($arguments, callable, nodeWithSpan, run, $V, $async$type) {
  70945. var $async$goto = 0,
  70946. $async$completer = A._makeAsyncAwaitCompleter($async$type),
  70947. $async$returnValue, $async$self = this, oldInDependency, result, evaluated, $name;
  70948. var $async$_async_evaluate$_runUserDefinedCallable$1$4 = 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. $async$goto = 3;
  70956. return A._asyncAwait($async$self._async_evaluate$_evaluateArguments$1($arguments), $async$_async_evaluate$_runUserDefinedCallable$1$4);
  70957. case 3:
  70958. // returning from await.
  70959. evaluated = $async$result;
  70960. $name = callable.declaration.name;
  70961. if ($name !== "@content")
  70962. $name += "()";
  70963. oldInDependency = $async$self._async_evaluate$_inDependency;
  70964. $async$self._async_evaluate$_inDependency = callable.inDependency;
  70965. $async$goto = 4;
  70966. 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);
  70967. case 4:
  70968. // returning from await.
  70969. result = $async$result;
  70970. $async$self._async_evaluate$_inDependency = oldInDependency;
  70971. $async$returnValue = result;
  70972. // goto return
  70973. $async$goto = 1;
  70974. break;
  70975. case 1:
  70976. // return
  70977. return A._asyncReturn($async$returnValue, $async$completer);
  70978. }
  70979. });
  70980. return A._asyncStartSync($async$_async_evaluate$_runUserDefinedCallable$1$4, $async$completer);
  70981. },
  70982. _async_evaluate$_runFunctionCallable$3($arguments, callable, nodeWithSpan) {
  70983. return this._runFunctionCallable$body$_EvaluateVisitor($arguments, callable, nodeWithSpan);
  70984. },
  70985. _runFunctionCallable$body$_EvaluateVisitor($arguments, callable, nodeWithSpan) {
  70986. var $async$goto = 0,
  70987. $async$completer = A._makeAsyncAwaitCompleter(type$.Value),
  70988. $async$returnValue, $async$handler = 2, $async$errorStack = [], $async$self = this, buffer, first, argument, restArg, rest, error, t1, t2, _i, t3, t4, exception, $async$exception, $async$temp1;
  70989. var $async$_async_evaluate$_runFunctionCallable$3 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  70990. if ($async$errorCode === 1) {
  70991. $async$errorStack.push($async$result);
  70992. $async$goto = $async$handler;
  70993. }
  70994. while (true)
  70995. switch ($async$goto) {
  70996. case 0:
  70997. // Function start
  70998. $async$goto = type$.AsyncBuiltInCallable._is(callable) ? 3 : 5;
  70999. break;
  71000. case 3:
  71001. // then
  71002. $async$goto = 6;
  71003. return A._asyncAwait($async$self._async_evaluate$_runBuiltInCallable$3($arguments, callable, nodeWithSpan), $async$_async_evaluate$_runFunctionCallable$3);
  71004. case 6:
  71005. // returning from await.
  71006. $async$returnValue = $async$self._async_evaluate$_withoutSlash$2($async$result, nodeWithSpan);
  71007. // goto return
  71008. $async$goto = 1;
  71009. break;
  71010. // goto join
  71011. $async$goto = 4;
  71012. break;
  71013. case 5:
  71014. // else
  71015. $async$goto = type$.UserDefinedCallable_AsyncEnvironment._is(callable) ? 7 : 9;
  71016. break;
  71017. case 7:
  71018. // then
  71019. $async$goto = 10;
  71020. 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);
  71021. case 10:
  71022. // returning from await.
  71023. $async$returnValue = $async$result;
  71024. // goto return
  71025. $async$goto = 1;
  71026. break;
  71027. // goto join
  71028. $async$goto = 8;
  71029. break;
  71030. case 9:
  71031. // else
  71032. $async$goto = callable instanceof A.PlainCssCallable ? 11 : 13;
  71033. break;
  71034. case 11:
  71035. // then
  71036. t1 = $arguments.named;
  71037. if (t1.get$isNotEmpty(t1) || $arguments.keywordRest != null)
  71038. throw A.wrapException($async$self._async_evaluate$_exception$2(string$.Plain_, nodeWithSpan.get$span(nodeWithSpan)));
  71039. buffer = new A.StringBuffer(callable.name + "(");
  71040. $async$handler = 15;
  71041. first = true;
  71042. t1 = $arguments.positional, t2 = t1.length, _i = 0;
  71043. case 18:
  71044. // for condition
  71045. if (!(_i < t2)) {
  71046. // goto after for
  71047. $async$goto = 20;
  71048. break;
  71049. }
  71050. argument = t1[_i];
  71051. if (first)
  71052. first = false;
  71053. else
  71054. buffer._contents += ", ";
  71055. t3 = buffer;
  71056. $async$temp1 = A;
  71057. $async$goto = 21;
  71058. return A._asyncAwait($async$self._evaluateToCss$1(argument), $async$_async_evaluate$_runFunctionCallable$3);
  71059. case 21:
  71060. // returning from await.
  71061. t4 = $async$temp1.S($async$result);
  71062. t3._contents += t4;
  71063. case 19:
  71064. // for update
  71065. ++_i;
  71066. // goto for condition
  71067. $async$goto = 18;
  71068. break;
  71069. case 20:
  71070. // after for
  71071. restArg = $arguments.rest;
  71072. $async$goto = restArg != null ? 22 : 23;
  71073. break;
  71074. case 22:
  71075. // then
  71076. $async$goto = 24;
  71077. return A._asyncAwait(restArg.accept$1($async$self), $async$_async_evaluate$_runFunctionCallable$3);
  71078. case 24:
  71079. // returning from await.
  71080. rest = $async$result;
  71081. if (!first)
  71082. buffer._contents += ", ";
  71083. t1 = buffer;
  71084. t2 = $async$self._async_evaluate$_serialize$2(rest, restArg);
  71085. t1._contents += t2;
  71086. case 23:
  71087. // join
  71088. $async$handler = 2;
  71089. // goto after finally
  71090. $async$goto = 17;
  71091. break;
  71092. case 15:
  71093. // catch
  71094. $async$handler = 14;
  71095. $async$exception = $async$errorStack.pop();
  71096. t1 = A.unwrapException($async$exception);
  71097. if (type$.SassRuntimeException._is(t1)) {
  71098. error = t1;
  71099. if (!B.JSString_methods.endsWith$1(error._span_exception$_message, "isn't a valid CSS value."))
  71100. throw $async$exception;
  71101. throw A.wrapException(A.MultiSpanSassRuntimeException$(error._span_exception$_message, J.get$span$z(error), "value", A.LinkedHashMap_LinkedHashMap$_literal([nodeWithSpan.get$span(nodeWithSpan), "unknown function treated as plain CSS"], type$.FileSpan, type$.String), J.get$trace$z(error), null));
  71102. } else
  71103. throw $async$exception;
  71104. // goto after finally
  71105. $async$goto = 17;
  71106. break;
  71107. case 14:
  71108. // uncaught
  71109. // goto rethrow
  71110. $async$goto = 2;
  71111. break;
  71112. case 17:
  71113. // after finally
  71114. t1 = buffer;
  71115. t2 = A.Primitives_stringFromCharCode(41);
  71116. t1._contents += t2;
  71117. t2 = buffer._contents;
  71118. $async$returnValue = new A.SassString(t2.charCodeAt(0) == 0 ? t2 : t2, false);
  71119. // goto return
  71120. $async$goto = 1;
  71121. break;
  71122. // goto join
  71123. $async$goto = 12;
  71124. break;
  71125. case 13:
  71126. // else
  71127. throw A.wrapException(A.ArgumentError$("Unknown callable type " + J.get$runtimeType$(callable).toString$0(0) + ".", null));
  71128. case 12:
  71129. // join
  71130. case 8:
  71131. // join
  71132. case 4:
  71133. // join
  71134. case 1:
  71135. // return
  71136. return A._asyncReturn($async$returnValue, $async$completer);
  71137. case 2:
  71138. // rethrow
  71139. return A._asyncRethrow($async$errorStack.at(-1), $async$completer);
  71140. }
  71141. });
  71142. return A._asyncStartSync($async$_async_evaluate$_runFunctionCallable$3, $async$completer);
  71143. },
  71144. _async_evaluate$_runBuiltInCallable$3($arguments, callable, nodeWithSpan) {
  71145. return this._runBuiltInCallable$body$_EvaluateVisitor($arguments, callable, nodeWithSpan);
  71146. },
  71147. _runBuiltInCallable$body$_EvaluateVisitor($arguments, callable, nodeWithSpan) {
  71148. var $async$goto = 0,
  71149. $async$completer = A._makeAsyncAwaitCompleter(type$.Value),
  71150. $async$returnValue, $async$handler = 2, $async$errorStack = [], $async$self = this, result, error, stackTrace, namedSet, _0_0, parameters, i, t1, t2, t3, parameter, t4, t5, t6, t7, rest, argumentList, exception, _box_0, evaluated, oldCallableNode, $async$exception;
  71151. var $async$_async_evaluate$_runBuiltInCallable$3 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  71152. if ($async$errorCode === 1) {
  71153. $async$errorStack.push($async$result);
  71154. $async$goto = $async$handler;
  71155. }
  71156. while (true)
  71157. switch ($async$goto) {
  71158. case 0:
  71159. // Function start
  71160. _box_0 = {};
  71161. $async$goto = 3;
  71162. return A._asyncAwait($async$self._async_evaluate$_evaluateArguments$1($arguments), $async$_async_evaluate$_runBuiltInCallable$3);
  71163. case 3:
  71164. // returning from await.
  71165. evaluated = $async$result;
  71166. oldCallableNode = $async$self._async_evaluate$_callableNode;
  71167. $async$self._async_evaluate$_callableNode = nodeWithSpan;
  71168. namedSet = new A.MapKeySet(evaluated._values[0], type$.MapKeySet_String);
  71169. _box_0.callback = _box_0.overload = null;
  71170. _0_0 = callable.callbackFor$2(J.get$length$asx(evaluated._values[2]), namedSet);
  71171. _box_0.overload = _0_0._0;
  71172. _box_0.callback = _0_0._1;
  71173. $async$self._async_evaluate$_addExceptionSpan$2(nodeWithSpan, new A._EvaluateVisitor__runBuiltInCallable_closure2(_box_0, evaluated, namedSet));
  71174. parameters = _box_0.overload.parameters;
  71175. i = J.get$length$asx(evaluated._values[2]), t1 = parameters.length, t2 = type$._Future_Value, t3 = type$.Future_Value;
  71176. case 4:
  71177. // for condition
  71178. if (!(i < t1)) {
  71179. // goto after for
  71180. $async$goto = 6;
  71181. break;
  71182. }
  71183. parameter = parameters[i];
  71184. t4 = evaluated._values[2];
  71185. t5 = evaluated._values[0].remove$1(0, parameter.name);
  71186. $async$goto = t5 == null ? 7 : 8;
  71187. break;
  71188. case 7:
  71189. // then
  71190. t5 = parameter.defaultValue;
  71191. t6 = t5.accept$1($async$self);
  71192. if (!t3._is(t6)) {
  71193. t7 = new A._Future($.Zone__current, t2);
  71194. t7._state = 8;
  71195. t7._resultOrListeners = t6;
  71196. t6 = t7;
  71197. }
  71198. $async$goto = 9;
  71199. return A._asyncAwait(t6, $async$_async_evaluate$_runBuiltInCallable$3);
  71200. case 9:
  71201. // returning from await.
  71202. t5 = $async$self._async_evaluate$_withoutSlash$2($async$result, t5);
  71203. case 8:
  71204. // join
  71205. J.add$1$ax(t4, t5);
  71206. case 5:
  71207. // for update
  71208. ++i;
  71209. // goto for condition
  71210. $async$goto = 4;
  71211. break;
  71212. case 6:
  71213. // after for
  71214. if (_box_0.overload.restParameter != null) {
  71215. if (J.get$length$asx(evaluated._values[2]) > t1) {
  71216. rest = J.sublist$1$ax(evaluated._values[2], t1);
  71217. J.removeRange$2$ax(evaluated._values[2], t1, J.get$length$asx(evaluated._values[2]));
  71218. } else
  71219. rest = B.List_empty8;
  71220. t1 = evaluated._values[0];
  71221. argumentList = A.SassArgumentList$(rest, t1, evaluated._values[4] === B.ListSeparator_undecided_null_undecided ? B.ListSeparator_qVN : evaluated._values[4]);
  71222. J.add$1$ax(evaluated._values[2], argumentList);
  71223. } else
  71224. argumentList = null;
  71225. result = null;
  71226. $async$handler = 11;
  71227. $async$goto = 14;
  71228. return A._asyncAwait($async$self._addExceptionSpanAsync$1$2(nodeWithSpan, new A._EvaluateVisitor__runBuiltInCallable_closure3(_box_0, evaluated), type$.Value), $async$_async_evaluate$_runBuiltInCallable$3);
  71229. case 14:
  71230. // returning from await.
  71231. result = $async$result;
  71232. $async$handler = 2;
  71233. // goto after finally
  71234. $async$goto = 13;
  71235. break;
  71236. case 11:
  71237. // catch
  71238. $async$handler = 10;
  71239. $async$exception = $async$errorStack.pop();
  71240. t1 = A.unwrapException($async$exception);
  71241. if (t1 instanceof A.SassException)
  71242. throw $async$exception;
  71243. else {
  71244. error = t1;
  71245. stackTrace = A.getTraceFromException($async$exception);
  71246. A.throwWithTrace($async$self._async_evaluate$_exception$2($async$self._async_evaluate$_getErrorMessage$1(error), nodeWithSpan.get$span(nodeWithSpan)), error, stackTrace);
  71247. }
  71248. // goto after finally
  71249. $async$goto = 13;
  71250. break;
  71251. case 10:
  71252. // uncaught
  71253. // goto rethrow
  71254. $async$goto = 2;
  71255. break;
  71256. case 13:
  71257. // after finally
  71258. $async$self._async_evaluate$_callableNode = oldCallableNode;
  71259. if (argumentList == null) {
  71260. $async$returnValue = result;
  71261. // goto return
  71262. $async$goto = 1;
  71263. break;
  71264. }
  71265. t1 = evaluated._values[0];
  71266. if (t1.get$isEmpty(t1)) {
  71267. $async$returnValue = result;
  71268. // goto return
  71269. $async$goto = 1;
  71270. break;
  71271. }
  71272. if (argumentList._wereKeywordsAccessed) {
  71273. $async$returnValue = result;
  71274. // goto return
  71275. $async$goto = 1;
  71276. break;
  71277. }
  71278. t1 = evaluated._values[0];
  71279. t1 = A.pluralize("parameter", J.get$length$asx(t1.get$keys(t1)), null);
  71280. t2 = evaluated._values[0];
  71281. throw A.wrapException(A.MultiSpanSassRuntimeException$("No " + t1 + " named " + A.toSentence(J.map$1$1$ax(t2.get$keys(t2), new A._EvaluateVisitor__runBuiltInCallable_closure4(), type$.Object), "or") + ".", nodeWithSpan.get$span(nodeWithSpan), "invocation", A.LinkedHashMap_LinkedHashMap$_literal([_box_0.overload.get$spanWithName(), "declaration"], type$.FileSpan, type$.String), $async$self._async_evaluate$_stackTrace$1(nodeWithSpan.get$span(nodeWithSpan)), null));
  71282. case 1:
  71283. // return
  71284. return A._asyncReturn($async$returnValue, $async$completer);
  71285. case 2:
  71286. // rethrow
  71287. return A._asyncRethrow($async$errorStack.at(-1), $async$completer);
  71288. }
  71289. });
  71290. return A._asyncStartSync($async$_async_evaluate$_runBuiltInCallable$3, $async$completer);
  71291. },
  71292. _async_evaluate$_evaluateArguments$1($arguments) {
  71293. return this._evaluateArguments$body$_EvaluateVisitor($arguments);
  71294. },
  71295. _evaluateArguments$body$_EvaluateVisitor($arguments) {
  71296. var $async$goto = 0,
  71297. $async$completer = A._makeAsyncAwaitCompleter(type$.Record_5_Map_String_Value_named_and_Map_String_AstNode_namedNodes_and_List_Value_positional_and_List_AstNode_positionalNodes_and_ListSeparator_separator),
  71298. $async$returnValue, $async$self = this, t1, t2, t3, t4, _i, expression, nodeForSpan, t5, t6, named, namedNodes, $name, value, t7, restArgs, rest, restNodeForSpan, separator, keywordRestArgs, keywordRest, keywordRestNodeForSpan, positional, positionalNodes, $async$temp1, $async$temp2;
  71299. var $async$_async_evaluate$_evaluateArguments$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  71300. if ($async$errorCode === 1)
  71301. return A._asyncRethrow($async$result, $async$completer);
  71302. while (true)
  71303. switch ($async$goto) {
  71304. case 0:
  71305. // Function start
  71306. positional = A._setArrayType([], type$.JSArray_Value);
  71307. positionalNodes = A._setArrayType([], type$.JSArray_AstNode);
  71308. t1 = $arguments.positional, t2 = t1.length, t3 = type$._Future_Value, t4 = type$.Future_Value, _i = 0;
  71309. case 3:
  71310. // for condition
  71311. if (!(_i < t2)) {
  71312. // goto after for
  71313. $async$goto = 5;
  71314. break;
  71315. }
  71316. expression = t1[_i];
  71317. nodeForSpan = $async$self._async_evaluate$_expressionNode$1(expression);
  71318. t5 = expression.accept$1($async$self);
  71319. if (!t4._is(t5)) {
  71320. t6 = new A._Future($.Zone__current, t3);
  71321. t6._state = 8;
  71322. t6._resultOrListeners = t5;
  71323. t5 = t6;
  71324. }
  71325. $async$temp1 = positional;
  71326. $async$goto = 6;
  71327. return A._asyncAwait(t5, $async$_async_evaluate$_evaluateArguments$1);
  71328. case 6:
  71329. // returning from await.
  71330. $async$temp1.push($async$self._async_evaluate$_withoutSlash$2($async$result, nodeForSpan));
  71331. positionalNodes.push(nodeForSpan);
  71332. case 4:
  71333. // for update
  71334. ++_i;
  71335. // goto for condition
  71336. $async$goto = 3;
  71337. break;
  71338. case 5:
  71339. // after for
  71340. t1 = type$.String;
  71341. named = A.LinkedHashMap_LinkedHashMap$_empty(t1, type$.Value);
  71342. t2 = type$.AstNode;
  71343. namedNodes = A.LinkedHashMap_LinkedHashMap$_empty(t1, t2);
  71344. t5 = A.MapExtensions_get_pairs($arguments.named, t1, type$.Expression), t5 = t5.get$iterator(t5);
  71345. case 7:
  71346. // for condition
  71347. if (!t5.moveNext$0()) {
  71348. // goto after for
  71349. $async$goto = 8;
  71350. break;
  71351. }
  71352. t6 = t5.get$current(t5);
  71353. $name = t6._0;
  71354. value = t6._1;
  71355. nodeForSpan = $async$self._async_evaluate$_expressionNode$1(value);
  71356. t6 = value.accept$1($async$self);
  71357. if (!t4._is(t6)) {
  71358. t7 = new A._Future($.Zone__current, t3);
  71359. t7._state = 8;
  71360. t7._resultOrListeners = t6;
  71361. t6 = t7;
  71362. }
  71363. $async$temp1 = named;
  71364. $async$temp2 = $name;
  71365. $async$goto = 9;
  71366. return A._asyncAwait(t6, $async$_async_evaluate$_evaluateArguments$1);
  71367. case 9:
  71368. // returning from await.
  71369. $async$temp1.$indexSet(0, $async$temp2, $async$self._async_evaluate$_withoutSlash$2($async$result, nodeForSpan));
  71370. namedNodes.$indexSet(0, $name, nodeForSpan);
  71371. // goto for condition
  71372. $async$goto = 7;
  71373. break;
  71374. case 8:
  71375. // after for
  71376. restArgs = $arguments.rest;
  71377. if (restArgs == null) {
  71378. $async$returnValue = new A._Record_5_named_namedNodes_positional_positionalNodes_separator([named, namedNodes, positional, positionalNodes, B.ListSeparator_undecided_null_undecided]);
  71379. // goto return
  71380. $async$goto = 1;
  71381. break;
  71382. }
  71383. $async$goto = 10;
  71384. return A._asyncAwait(restArgs.accept$1($async$self), $async$_async_evaluate$_evaluateArguments$1);
  71385. case 10:
  71386. // returning from await.
  71387. rest = $async$result;
  71388. restNodeForSpan = $async$self._async_evaluate$_expressionNode$1(restArgs);
  71389. if (rest instanceof A.SassMap) {
  71390. $async$self._async_evaluate$_addRestMap$4(named, rest, restArgs, new A._EvaluateVisitor__evaluateArguments_closure3());
  71391. t3 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t2);
  71392. for (t4 = rest._map$_contents, t4 = J.get$iterator$ax(t4.get$keys(t4)), t5 = type$.SassString; t4.moveNext$0();)
  71393. t3.$indexSet(0, t5._as(t4.get$current(t4))._string$_text, restNodeForSpan);
  71394. namedNodes.addAll$1(0, t3);
  71395. separator = B.ListSeparator_undecided_null_undecided;
  71396. } else if (rest instanceof A.SassList) {
  71397. t3 = rest._list$_contents;
  71398. 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>")));
  71399. B.JSArray_methods.addAll$1(positionalNodes, A.List_List$filled(t3.length, restNodeForSpan, false, t2));
  71400. separator = rest._separator;
  71401. if (rest instanceof A.SassArgumentList) {
  71402. rest._wereKeywordsAccessed = true;
  71403. rest._keywords.forEach$1(0, new A._EvaluateVisitor__evaluateArguments_closure5($async$self, named, restNodeForSpan, namedNodes));
  71404. }
  71405. } else {
  71406. positional.push($async$self._async_evaluate$_withoutSlash$2(rest, restNodeForSpan));
  71407. positionalNodes.push(restNodeForSpan);
  71408. separator = B.ListSeparator_undecided_null_undecided;
  71409. }
  71410. keywordRestArgs = $arguments.keywordRest;
  71411. if (keywordRestArgs == null) {
  71412. $async$returnValue = new A._Record_5_named_namedNodes_positional_positionalNodes_separator([named, namedNodes, positional, positionalNodes, separator]);
  71413. // goto return
  71414. $async$goto = 1;
  71415. break;
  71416. }
  71417. $async$goto = 11;
  71418. return A._asyncAwait(keywordRestArgs.accept$1($async$self), $async$_async_evaluate$_evaluateArguments$1);
  71419. case 11:
  71420. // returning from await.
  71421. keywordRest = $async$result;
  71422. keywordRestNodeForSpan = $async$self._async_evaluate$_expressionNode$1(keywordRestArgs);
  71423. if (keywordRest instanceof A.SassMap) {
  71424. $async$self._async_evaluate$_addRestMap$4(named, keywordRest, keywordRestArgs, new A._EvaluateVisitor__evaluateArguments_closure6());
  71425. t1 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t2);
  71426. for (t2 = keywordRest._map$_contents, t2 = J.get$iterator$ax(t2.get$keys(t2)), t3 = type$.SassString; t2.moveNext$0();)
  71427. t1.$indexSet(0, t3._as(t2.get$current(t2))._string$_text, keywordRestNodeForSpan);
  71428. namedNodes.addAll$1(0, t1);
  71429. $async$returnValue = new A._Record_5_named_namedNodes_positional_positionalNodes_separator([named, namedNodes, positional, positionalNodes, separator]);
  71430. // goto return
  71431. $async$goto = 1;
  71432. break;
  71433. } else
  71434. throw A.wrapException($async$self._async_evaluate$_exception$2(string$.Variabs + keywordRest.toString$0(0) + ").", keywordRestArgs.get$span(keywordRestArgs)));
  71435. case 1:
  71436. // return
  71437. return A._asyncReturn($async$returnValue, $async$completer);
  71438. }
  71439. });
  71440. return A._asyncStartSync($async$_async_evaluate$_evaluateArguments$1, $async$completer);
  71441. },
  71442. _async_evaluate$_evaluateMacroArguments$1(invocation) {
  71443. return this._evaluateMacroArguments$body$_EvaluateVisitor(invocation);
  71444. },
  71445. _evaluateMacroArguments$body$_EvaluateVisitor(invocation) {
  71446. var $async$goto = 0,
  71447. $async$completer = A._makeAsyncAwaitCompleter(type$.Record_2_List_Expression_and_Map_String_Expression),
  71448. $async$returnValue, $async$self = this, t2, positional, named, rest, restNodeForSpan, keywordRestArgs_, keywordRest, keywordRestNodeForSpan, t1, restArgs_;
  71449. var $async$_async_evaluate$_evaluateMacroArguments$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  71450. if ($async$errorCode === 1)
  71451. return A._asyncRethrow($async$result, $async$completer);
  71452. while (true)
  71453. switch ($async$goto) {
  71454. case 0:
  71455. // Function start
  71456. t1 = invocation.$arguments;
  71457. restArgs_ = t1.rest;
  71458. if (restArgs_ == null) {
  71459. $async$returnValue = new A._Record_2(t1.positional, t1.named);
  71460. // goto return
  71461. $async$goto = 1;
  71462. break;
  71463. }
  71464. t2 = t1.positional;
  71465. positional = A._setArrayType(t2.slice(0), A._arrayInstanceType(t2));
  71466. named = A.LinkedHashMap_LinkedHashMap$of(t1.named, type$.String, type$.Expression);
  71467. $async$goto = 3;
  71468. return A._asyncAwait(restArgs_.accept$1($async$self), $async$_async_evaluate$_evaluateMacroArguments$1);
  71469. case 3:
  71470. // returning from await.
  71471. rest = $async$result;
  71472. restNodeForSpan = $async$self._async_evaluate$_expressionNode$1(restArgs_);
  71473. if (rest instanceof A.SassMap)
  71474. $async$self._async_evaluate$_addRestMap$4(named, rest, invocation, new A._EvaluateVisitor__evaluateMacroArguments_closure3(restArgs_));
  71475. else if (rest instanceof A.SassList) {
  71476. t2 = rest._list$_contents;
  71477. 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>")));
  71478. if (rest instanceof A.SassArgumentList) {
  71479. rest._wereKeywordsAccessed = true;
  71480. rest._keywords.forEach$1(0, new A._EvaluateVisitor__evaluateMacroArguments_closure5($async$self, named, restNodeForSpan, restArgs_));
  71481. }
  71482. } else
  71483. positional.push(new A.ValueExpression($async$self._async_evaluate$_withoutSlash$2(rest, restNodeForSpan), restArgs_.get$span(restArgs_)));
  71484. keywordRestArgs_ = t1.keywordRest;
  71485. if (keywordRestArgs_ == null) {
  71486. $async$returnValue = new A._Record_2(positional, named);
  71487. // goto return
  71488. $async$goto = 1;
  71489. break;
  71490. }
  71491. $async$goto = 4;
  71492. return A._asyncAwait(keywordRestArgs_.accept$1($async$self), $async$_async_evaluate$_evaluateMacroArguments$1);
  71493. case 4:
  71494. // returning from await.
  71495. keywordRest = $async$result;
  71496. keywordRestNodeForSpan = $async$self._async_evaluate$_expressionNode$1(keywordRestArgs_);
  71497. if (keywordRest instanceof A.SassMap) {
  71498. $async$self._async_evaluate$_addRestMap$4(named, keywordRest, invocation, new A._EvaluateVisitor__evaluateMacroArguments_closure6($async$self, keywordRestNodeForSpan, keywordRestArgs_));
  71499. $async$returnValue = new A._Record_2(positional, named);
  71500. // goto return
  71501. $async$goto = 1;
  71502. break;
  71503. } else
  71504. throw A.wrapException($async$self._async_evaluate$_exception$2(string$.Variabs + keywordRest.toString$0(0) + ").", keywordRestArgs_.get$span(keywordRestArgs_)));
  71505. case 1:
  71506. // return
  71507. return A._asyncReturn($async$returnValue, $async$completer);
  71508. }
  71509. });
  71510. return A._asyncStartSync($async$_async_evaluate$_evaluateMacroArguments$1, $async$completer);
  71511. },
  71512. _async_evaluate$_addRestMap$1$4(values, map, nodeWithSpan, convert) {
  71513. map._map$_contents.forEach$1(0, new A._EvaluateVisitor__addRestMap_closure0(this, values, convert, this._async_evaluate$_expressionNode$1(nodeWithSpan), map, nodeWithSpan));
  71514. },
  71515. _async_evaluate$_addRestMap$4(values, map, nodeWithSpan, convert) {
  71516. convert.toString;
  71517. return this._async_evaluate$_addRestMap$1$4(values, map, nodeWithSpan, convert, type$.dynamic);
  71518. },
  71519. _async_evaluate$_verifyArguments$4(positional, named, parameters, nodeWithSpan) {
  71520. return this._async_evaluate$_addExceptionSpan$2(nodeWithSpan, new A._EvaluateVisitor__verifyArguments_closure0(parameters, positional, named));
  71521. },
  71522. visitSelectorExpression$1(_, node) {
  71523. return this.visitSelectorExpression$body$_EvaluateVisitor(0, node);
  71524. },
  71525. visitSelectorExpression$body$_EvaluateVisitor(_, node) {
  71526. var $async$goto = 0,
  71527. $async$completer = A._makeAsyncAwaitCompleter(type$.Value),
  71528. $async$returnValue, $async$self = this, t1;
  71529. var $async$visitSelectorExpression$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  71530. if ($async$errorCode === 1)
  71531. return A._asyncRethrow($async$result, $async$completer);
  71532. while (true)
  71533. switch ($async$goto) {
  71534. case 0:
  71535. // Function start
  71536. t1 = $async$self._async_evaluate$_styleRuleIgnoringAtRoot;
  71537. t1 = t1 == null ? null : t1.originalSelector.get$asSassList();
  71538. $async$returnValue = t1 == null ? B.C__SassNull : t1;
  71539. // goto return
  71540. $async$goto = 1;
  71541. break;
  71542. case 1:
  71543. // return
  71544. return A._asyncReturn($async$returnValue, $async$completer);
  71545. }
  71546. });
  71547. return A._asyncStartSync($async$visitSelectorExpression$1, $async$completer);
  71548. },
  71549. visitStringExpression$1(_, node) {
  71550. return this.visitStringExpression$body$_EvaluateVisitor(0, node);
  71551. },
  71552. visitStringExpression$body$_EvaluateVisitor(_, node) {
  71553. var $async$goto = 0,
  71554. $async$completer = A._makeAsyncAwaitCompleter(type$.SassString),
  71555. $async$returnValue, $async$self = this, t1, t2, t3, _i, value, t4, _0_0, text, oldInSupportsDeclaration;
  71556. var $async$visitStringExpression$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  71557. if ($async$errorCode === 1)
  71558. return A._asyncRethrow($async$result, $async$completer);
  71559. while (true)
  71560. switch ($async$goto) {
  71561. case 0:
  71562. // Function start
  71563. oldInSupportsDeclaration = $async$self._async_evaluate$_inSupportsDeclaration;
  71564. $async$self._async_evaluate$_inSupportsDeclaration = false;
  71565. t1 = A._setArrayType([], type$.JSArray_String);
  71566. t2 = node.text.contents, t3 = t2.length, _i = 0;
  71567. case 3:
  71568. // for condition
  71569. if (!(_i < t3)) {
  71570. // goto after for
  71571. $async$goto = 5;
  71572. break;
  71573. }
  71574. value = t2[_i];
  71575. if (typeof value == "string") {
  71576. t4 = value;
  71577. // goto break $label0$0
  71578. $async$goto = 6;
  71579. break;
  71580. }
  71581. $async$goto = value instanceof A.Expression ? 7 : 8;
  71582. break;
  71583. case 7:
  71584. // then
  71585. $async$goto = 9;
  71586. return A._asyncAwait(value.accept$1($async$self), $async$visitStringExpression$1);
  71587. case 9:
  71588. // returning from await.
  71589. _0_0 = $async$result;
  71590. $label1$1: {
  71591. if (_0_0 instanceof A.SassString) {
  71592. text = _0_0._string$_text;
  71593. t4 = text;
  71594. break $label1$1;
  71595. }
  71596. t4 = $async$self._async_evaluate$_serialize$3$quote(_0_0, value, false);
  71597. break $label1$1;
  71598. }
  71599. // goto break $label0$0
  71600. $async$goto = 6;
  71601. break;
  71602. case 8:
  71603. // join
  71604. t4 = A.throwExpression(A.UnsupportedError$("Unknown interpolation value " + A.S(value)));
  71605. case 6:
  71606. // break $label0$0
  71607. t1.push(t4);
  71608. case 4:
  71609. // for update
  71610. ++_i;
  71611. // goto for condition
  71612. $async$goto = 3;
  71613. break;
  71614. case 5:
  71615. // after for
  71616. t1 = B.JSArray_methods.join$0(t1);
  71617. $async$self._async_evaluate$_inSupportsDeclaration = oldInSupportsDeclaration;
  71618. $async$returnValue = new A.SassString(t1, node.hasQuotes);
  71619. // goto return
  71620. $async$goto = 1;
  71621. break;
  71622. case 1:
  71623. // return
  71624. return A._asyncReturn($async$returnValue, $async$completer);
  71625. }
  71626. });
  71627. return A._asyncStartSync($async$visitStringExpression$1, $async$completer);
  71628. },
  71629. visitSupportsExpression$1(_, expression) {
  71630. return this.visitSupportsExpression$body$_EvaluateVisitor(0, expression);
  71631. },
  71632. visitSupportsExpression$body$_EvaluateVisitor(_, expression) {
  71633. var $async$goto = 0,
  71634. $async$completer = A._makeAsyncAwaitCompleter(type$.SassString),
  71635. $async$returnValue, $async$self = this, $async$temp1;
  71636. var $async$visitSupportsExpression$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  71637. if ($async$errorCode === 1)
  71638. return A._asyncRethrow($async$result, $async$completer);
  71639. while (true)
  71640. switch ($async$goto) {
  71641. case 0:
  71642. // Function start
  71643. $async$temp1 = A;
  71644. $async$goto = 3;
  71645. return A._asyncAwait($async$self._async_evaluate$_visitSupportsCondition$1(expression.condition), $async$visitSupportsExpression$1);
  71646. case 3:
  71647. // returning from await.
  71648. $async$returnValue = new $async$temp1.SassString($async$result, false);
  71649. // goto return
  71650. $async$goto = 1;
  71651. break;
  71652. case 1:
  71653. // return
  71654. return A._asyncReturn($async$returnValue, $async$completer);
  71655. }
  71656. });
  71657. return A._asyncStartSync($async$visitSupportsExpression$1, $async$completer);
  71658. },
  71659. visitCssAtRule$1(node) {
  71660. return this.visitCssAtRule$body$_EvaluateVisitor(node);
  71661. },
  71662. visitCssAtRule$body$_EvaluateVisitor(node) {
  71663. var $async$goto = 0,
  71664. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  71665. $async$returnValue, $async$self = this, wasInKeyframes, wasInUnknownAtRule, t1;
  71666. var $async$visitCssAtRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  71667. if ($async$errorCode === 1)
  71668. return A._asyncRethrow($async$result, $async$completer);
  71669. while (true)
  71670. switch ($async$goto) {
  71671. case 0:
  71672. // Function start
  71673. if ($async$self._async_evaluate$_declarationName != null)
  71674. throw A.wrapException($async$self._async_evaluate$_exception$2(string$.At_rul, node.span));
  71675. if (node.isChildless) {
  71676. $async$self._async_evaluate$_assertInModule$2($async$self._async_evaluate$__parent, "__parent").addChild$1(A.ModifiableCssAtRule$(node.name, node.span, true, node.value));
  71677. // goto return
  71678. $async$goto = 1;
  71679. break;
  71680. }
  71681. wasInKeyframes = $async$self._async_evaluate$_inKeyframes;
  71682. wasInUnknownAtRule = $async$self._async_evaluate$_inUnknownAtRule;
  71683. t1 = node.name;
  71684. if (A.unvendor(t1.value) === "keyframes")
  71685. $async$self._async_evaluate$_inKeyframes = true;
  71686. else
  71687. $async$self._async_evaluate$_inUnknownAtRule = true;
  71688. $async$goto = 3;
  71689. 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);
  71690. case 3:
  71691. // returning from await.
  71692. $async$self._async_evaluate$_inUnknownAtRule = wasInUnknownAtRule;
  71693. $async$self._async_evaluate$_inKeyframes = wasInKeyframes;
  71694. case 1:
  71695. // return
  71696. return A._asyncReturn($async$returnValue, $async$completer);
  71697. }
  71698. });
  71699. return A._asyncStartSync($async$visitCssAtRule$1, $async$completer);
  71700. },
  71701. visitCssComment$1(node) {
  71702. return this.visitCssComment$body$_EvaluateVisitor(node);
  71703. },
  71704. visitCssComment$body$_EvaluateVisitor(node) {
  71705. var $async$goto = 0,
  71706. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  71707. $async$self = this;
  71708. var $async$visitCssComment$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  71709. if ($async$errorCode === 1)
  71710. return A._asyncRethrow($async$result, $async$completer);
  71711. while (true)
  71712. switch ($async$goto) {
  71713. case 0:
  71714. // Function start
  71715. 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))
  71716. $async$self._async_evaluate$__endOfImports = $async$self._async_evaluate$_assertInModule$2($async$self._async_evaluate$__endOfImports, "_endOfImports") + 1;
  71717. $async$self._async_evaluate$_assertInModule$2($async$self._async_evaluate$__parent, "__parent").addChild$1(new A.ModifiableCssComment(node.text, node.span));
  71718. // implicit return
  71719. return A._asyncReturn(null, $async$completer);
  71720. }
  71721. });
  71722. return A._asyncStartSync($async$visitCssComment$1, $async$completer);
  71723. },
  71724. visitCssDeclaration$1(node) {
  71725. return this.visitCssDeclaration$body$_EvaluateVisitor(node);
  71726. },
  71727. visitCssDeclaration$body$_EvaluateVisitor(node) {
  71728. var $async$goto = 0,
  71729. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  71730. $async$self = this;
  71731. var $async$visitCssDeclaration$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  71732. if ($async$errorCode === 1)
  71733. return A._asyncRethrow($async$result, $async$completer);
  71734. while (true)
  71735. switch ($async$goto) {
  71736. case 0:
  71737. // Function start
  71738. $async$self._async_evaluate$_assertInModule$2($async$self._async_evaluate$__parent, "__parent").addChild$1(A.ModifiableCssDeclaration$(node.name, node.value, node.span, null, node.parsedAsCustomProperty, null, node.valueSpanForMap));
  71739. // implicit return
  71740. return A._asyncReturn(null, $async$completer);
  71741. }
  71742. });
  71743. return A._asyncStartSync($async$visitCssDeclaration$1, $async$completer);
  71744. },
  71745. visitCssImport$1(node) {
  71746. return this.visitCssImport$body$_EvaluateVisitor(node);
  71747. },
  71748. visitCssImport$body$_EvaluateVisitor(node) {
  71749. var $async$goto = 0,
  71750. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  71751. $async$self = this, t1, modifiableNode;
  71752. var $async$visitCssImport$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  71753. if ($async$errorCode === 1)
  71754. return A._asyncRethrow($async$result, $async$completer);
  71755. while (true)
  71756. switch ($async$goto) {
  71757. case 0:
  71758. // Function start
  71759. modifiableNode = new A.ModifiableCssImport(node.url, node.modifiers, node.span);
  71760. 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"))
  71761. $async$self._async_evaluate$_assertInModule$2($async$self._async_evaluate$__parent, "__parent").addChild$1(modifiableNode);
  71762. 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)) {
  71763. $async$self._async_evaluate$_assertInModule$2($async$self._async_evaluate$__root, "_root").addChild$1(modifiableNode);
  71764. $async$self._async_evaluate$__endOfImports = $async$self._async_evaluate$_assertInModule$2($async$self._async_evaluate$__endOfImports, "_endOfImports") + 1;
  71765. } else {
  71766. t1 = $async$self._async_evaluate$_outOfOrderImports;
  71767. (t1 == null ? $async$self._async_evaluate$_outOfOrderImports = A._setArrayType([], type$.JSArray_ModifiableCssImport) : t1).push(modifiableNode);
  71768. }
  71769. // implicit return
  71770. return A._asyncReturn(null, $async$completer);
  71771. }
  71772. });
  71773. return A._asyncStartSync($async$visitCssImport$1, $async$completer);
  71774. },
  71775. visitCssKeyframeBlock$1(node) {
  71776. return this.visitCssKeyframeBlock$body$_EvaluateVisitor(node);
  71777. },
  71778. visitCssKeyframeBlock$body$_EvaluateVisitor(node) {
  71779. var $async$goto = 0,
  71780. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  71781. $async$self = this;
  71782. var $async$visitCssKeyframeBlock$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  71783. if ($async$errorCode === 1)
  71784. return A._asyncRethrow($async$result, $async$completer);
  71785. while (true)
  71786. switch ($async$goto) {
  71787. case 0:
  71788. // Function start
  71789. $async$goto = 2;
  71790. 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);
  71791. case 2:
  71792. // returning from await.
  71793. // implicit return
  71794. return A._asyncReturn(null, $async$completer);
  71795. }
  71796. });
  71797. return A._asyncStartSync($async$visitCssKeyframeBlock$1, $async$completer);
  71798. },
  71799. visitCssMediaRule$1(node) {
  71800. return this.visitCssMediaRule$body$_EvaluateVisitor(node);
  71801. },
  71802. visitCssMediaRule$body$_EvaluateVisitor(node) {
  71803. var $async$goto = 0,
  71804. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  71805. $async$returnValue, $async$self = this, mergedQueries, t1, mergedSources, t2, t3;
  71806. var $async$visitCssMediaRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  71807. if ($async$errorCode === 1)
  71808. return A._asyncRethrow($async$result, $async$completer);
  71809. while (true)
  71810. switch ($async$goto) {
  71811. case 0:
  71812. // Function start
  71813. if ($async$self._async_evaluate$_declarationName != null)
  71814. throw A.wrapException($async$self._async_evaluate$_exception$2(string$.Media_, node.span));
  71815. mergedQueries = A.NullableExtension_andThen($async$self._async_evaluate$_mediaQueries, new A._EvaluateVisitor_visitCssMediaRule_closure2($async$self, node));
  71816. t1 = mergedQueries == null;
  71817. if (!t1 && J.get$isEmpty$asx(mergedQueries)) {
  71818. // goto return
  71819. $async$goto = 1;
  71820. break;
  71821. }
  71822. if (t1)
  71823. mergedSources = B.Set_empty1;
  71824. else {
  71825. t2 = $async$self._async_evaluate$_mediaQuerySources;
  71826. t2.toString;
  71827. t2 = A.LinkedHashSet_LinkedHashSet$of(t2, type$.CssMediaQuery);
  71828. t3 = $async$self._async_evaluate$_mediaQueries;
  71829. t3.toString;
  71830. t2.addAll$1(0, t3);
  71831. t2.addAll$1(0, node.queries);
  71832. mergedSources = t2;
  71833. }
  71834. t1 = t1 ? node.queries : mergedQueries;
  71835. $async$goto = 3;
  71836. 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);
  71837. case 3:
  71838. // returning from await.
  71839. case 1:
  71840. // return
  71841. return A._asyncReturn($async$returnValue, $async$completer);
  71842. }
  71843. });
  71844. return A._asyncStartSync($async$visitCssMediaRule$1, $async$completer);
  71845. },
  71846. visitCssStyleRule$1(node) {
  71847. return this.visitCssStyleRule$body$_EvaluateVisitor(node);
  71848. },
  71849. visitCssStyleRule$body$_EvaluateVisitor(node) {
  71850. var $async$goto = 0,
  71851. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  71852. $async$self = this, t1, styleRule, _0_0, t2, t3, originalSelector, rule, oldAtRootExcludingStyleRule, _1_1, lastChild;
  71853. var $async$visitCssStyleRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  71854. if ($async$errorCode === 1)
  71855. return A._asyncRethrow($async$result, $async$completer);
  71856. while (true)
  71857. switch ($async$goto) {
  71858. case 0:
  71859. // Function start
  71860. if ($async$self._async_evaluate$_declarationName != null)
  71861. throw A.wrapException($async$self._async_evaluate$_exception$2(string$.Style_n, node.span));
  71862. else if ($async$self._async_evaluate$_inKeyframes && $async$self._async_evaluate$_assertInModule$2($async$self._async_evaluate$__parent, "__parent") instanceof A.ModifiableCssKeyframeBlock)
  71863. throw A.wrapException($async$self._async_evaluate$_exception$2(string$.Style_k, node.span));
  71864. t1 = $async$self._async_evaluate$_atRootExcludingStyleRule;
  71865. styleRule = t1 ? null : $async$self._async_evaluate$_styleRuleIgnoringAtRoot;
  71866. _0_0 = t1 ? null : $async$self._async_evaluate$_styleRuleIgnoringAtRoot;
  71867. $label0$0: {
  71868. if (_0_0 == null) {
  71869. t1 = true;
  71870. break $label0$0;
  71871. }
  71872. if (_0_0.fromPlainCss) {
  71873. t1 = false;
  71874. break $label0$0;
  71875. }
  71876. t1 = !(node.fromPlainCss && node._style_rule$_selector._box$_inner.value.accept$1(B.C__ContainsParentSelectorVisitor));
  71877. break $label0$0;
  71878. }
  71879. t2 = node._style_rule$_selector._box$_inner;
  71880. if (t1) {
  71881. t2 = t2.value;
  71882. t3 = styleRule == null ? null : styleRule.originalSelector;
  71883. originalSelector = t2.nestWithin$3$implicitParent$preserveParentSelectors(t3, !$async$self._async_evaluate$_atRootExcludingStyleRule, node.fromPlainCss);
  71884. } else
  71885. originalSelector = t2.value;
  71886. rule = A.ModifiableCssStyleRule$($async$self._async_evaluate$_assertInModule$2($async$self._async_evaluate$__extensionStore, "_extensionStore").addSelector$2(originalSelector, $async$self._async_evaluate$_mediaQueries), node.span, node.fromPlainCss, originalSelector);
  71887. oldAtRootExcludingStyleRule = $async$self._async_evaluate$_atRootExcludingStyleRule;
  71888. $async$self._async_evaluate$_atRootExcludingStyleRule = false;
  71889. t1 = t1 ? new A._EvaluateVisitor_visitCssStyleRule_closure1() : null;
  71890. $async$goto = 2;
  71891. return A._asyncAwait($async$self._async_evaluate$_withParent$2$4$scopeWhen$through(rule, new A._EvaluateVisitor_visitCssStyleRule_closure2($async$self, rule, node), false, t1, type$.ModifiableCssStyleRule, type$.Null), $async$visitCssStyleRule$1);
  71892. case 2:
  71893. // returning from await.
  71894. $async$self._async_evaluate$_atRootExcludingStyleRule = oldAtRootExcludingStyleRule;
  71895. t1 = $async$self._async_evaluate$_assertInModule$2($async$self._async_evaluate$__parent, "__parent").children._collection$_source;
  71896. t2 = J.getInterceptor$asx(t1);
  71897. _1_1 = t2.get$length(t1);
  71898. if (_1_1 >= 1) {
  71899. lastChild = t2.elementAt$1(t1, _1_1 - 1);
  71900. t1 = styleRule == null;
  71901. } else {
  71902. lastChild = null;
  71903. t1 = false;
  71904. }
  71905. if (t1)
  71906. lastChild.isGroupEnd = true;
  71907. // implicit return
  71908. return A._asyncReturn(null, $async$completer);
  71909. }
  71910. });
  71911. return A._asyncStartSync($async$visitCssStyleRule$1, $async$completer);
  71912. },
  71913. visitCssStylesheet$1(node) {
  71914. return this.visitCssStylesheet$body$_EvaluateVisitor(node);
  71915. },
  71916. visitCssStylesheet$body$_EvaluateVisitor(node) {
  71917. var $async$goto = 0,
  71918. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  71919. $async$self = this, t1;
  71920. var $async$visitCssStylesheet$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  71921. if ($async$errorCode === 1)
  71922. return A._asyncRethrow($async$result, $async$completer);
  71923. while (true)
  71924. switch ($async$goto) {
  71925. case 0:
  71926. // Function start
  71927. t1 = J.get$iterator$ax(node.get$children(node));
  71928. case 2:
  71929. // for condition
  71930. if (!t1.moveNext$0()) {
  71931. // goto after for
  71932. $async$goto = 3;
  71933. break;
  71934. }
  71935. $async$goto = 4;
  71936. return A._asyncAwait(t1.get$current(t1).accept$1($async$self), $async$visitCssStylesheet$1);
  71937. case 4:
  71938. // returning from await.
  71939. // goto for condition
  71940. $async$goto = 2;
  71941. break;
  71942. case 3:
  71943. // after for
  71944. // implicit return
  71945. return A._asyncReturn(null, $async$completer);
  71946. }
  71947. });
  71948. return A._asyncStartSync($async$visitCssStylesheet$1, $async$completer);
  71949. },
  71950. visitCssSupportsRule$1(node) {
  71951. return this.visitCssSupportsRule$body$_EvaluateVisitor(node);
  71952. },
  71953. visitCssSupportsRule$body$_EvaluateVisitor(node) {
  71954. var $async$goto = 0,
  71955. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  71956. $async$self = this;
  71957. var $async$visitCssSupportsRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  71958. if ($async$errorCode === 1)
  71959. return A._asyncRethrow($async$result, $async$completer);
  71960. while (true)
  71961. switch ($async$goto) {
  71962. case 0:
  71963. // Function start
  71964. if ($async$self._async_evaluate$_declarationName != null)
  71965. throw A.wrapException($async$self._async_evaluate$_exception$2(string$.Suppor, node.span));
  71966. $async$goto = 2;
  71967. 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);
  71968. case 2:
  71969. // returning from await.
  71970. // implicit return
  71971. return A._asyncReturn(null, $async$completer);
  71972. }
  71973. });
  71974. return A._asyncStartSync($async$visitCssSupportsRule$1, $async$completer);
  71975. },
  71976. _async_evaluate$_handleReturn$1$2(list, callback) {
  71977. return this._handleReturn$body$_EvaluateVisitor(list, callback);
  71978. },
  71979. _async_evaluate$_handleReturn$2(list, callback) {
  71980. callback.toString;
  71981. return this._async_evaluate$_handleReturn$1$2(list, callback, type$.dynamic);
  71982. },
  71983. _handleReturn$body$_EvaluateVisitor(list, callback) {
  71984. var $async$goto = 0,
  71985. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value),
  71986. $async$returnValue, t1, _i, _0_0;
  71987. var $async$_async_evaluate$_handleReturn$1$2 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  71988. if ($async$errorCode === 1)
  71989. return A._asyncRethrow($async$result, $async$completer);
  71990. while (true)
  71991. switch ($async$goto) {
  71992. case 0:
  71993. // Function start
  71994. t1 = list.length, _i = 0;
  71995. case 3:
  71996. // for condition
  71997. if (!(_i < list.length)) {
  71998. // goto after for
  71999. $async$goto = 5;
  72000. break;
  72001. }
  72002. $async$goto = 6;
  72003. return A._asyncAwait(callback.call$1(list[_i]), $async$_async_evaluate$_handleReturn$1$2);
  72004. case 6:
  72005. // returning from await.
  72006. _0_0 = $async$result;
  72007. if (_0_0 != null) {
  72008. $async$returnValue = _0_0;
  72009. // goto return
  72010. $async$goto = 1;
  72011. break;
  72012. }
  72013. case 4:
  72014. // for update
  72015. list.length === t1 || (0, A.throwConcurrentModificationError)(list), ++_i;
  72016. // goto for condition
  72017. $async$goto = 3;
  72018. break;
  72019. case 5:
  72020. // after for
  72021. $async$returnValue = null;
  72022. // goto return
  72023. $async$goto = 1;
  72024. break;
  72025. case 1:
  72026. // return
  72027. return A._asyncReturn($async$returnValue, $async$completer);
  72028. }
  72029. });
  72030. return A._asyncStartSync($async$_async_evaluate$_handleReturn$1$2, $async$completer);
  72031. },
  72032. _async_evaluate$_withEnvironment$1$2(environment, callback, $T) {
  72033. return this._withEnvironment$body$_EvaluateVisitor(environment, callback, $T, $T);
  72034. },
  72035. _withEnvironment$body$_EvaluateVisitor(environment, callback, $T, $async$type) {
  72036. var $async$goto = 0,
  72037. $async$completer = A._makeAsyncAwaitCompleter($async$type),
  72038. $async$returnValue, $async$self = this, result, oldEnvironment;
  72039. var $async$_async_evaluate$_withEnvironment$1$2 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  72040. if ($async$errorCode === 1)
  72041. return A._asyncRethrow($async$result, $async$completer);
  72042. while (true)
  72043. switch ($async$goto) {
  72044. case 0:
  72045. // Function start
  72046. oldEnvironment = $async$self._async_evaluate$_environment;
  72047. $async$self._async_evaluate$_environment = environment;
  72048. $async$goto = 3;
  72049. return A._asyncAwait(callback.call$0(), $async$_async_evaluate$_withEnvironment$1$2);
  72050. case 3:
  72051. // returning from await.
  72052. result = $async$result;
  72053. $async$self._async_evaluate$_environment = oldEnvironment;
  72054. $async$returnValue = result;
  72055. // goto return
  72056. $async$goto = 1;
  72057. break;
  72058. case 1:
  72059. // return
  72060. return A._asyncReturn($async$returnValue, $async$completer);
  72061. }
  72062. });
  72063. return A._asyncStartSync($async$_async_evaluate$_withEnvironment$1$2, $async$completer);
  72064. },
  72065. _async_evaluate$_interpolationToValue$3$trim$warnForColor(interpolation, trim, warnForColor) {
  72066. return this._interpolationToValue$body$_EvaluateVisitor(interpolation, trim, warnForColor);
  72067. },
  72068. _async_evaluate$_interpolationToValue$1(interpolation) {
  72069. return this._async_evaluate$_interpolationToValue$3$trim$warnForColor(interpolation, false, false);
  72070. },
  72071. _async_evaluate$_interpolationToValue$2$warnForColor(interpolation, warnForColor) {
  72072. return this._async_evaluate$_interpolationToValue$3$trim$warnForColor(interpolation, false, warnForColor);
  72073. },
  72074. _interpolationToValue$body$_EvaluateVisitor(interpolation, trim, warnForColor) {
  72075. var $async$goto = 0,
  72076. $async$completer = A._makeAsyncAwaitCompleter(type$.CssValue_String),
  72077. $async$returnValue, $async$self = this, result, t1;
  72078. var $async$_async_evaluate$_interpolationToValue$3$trim$warnForColor = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  72079. if ($async$errorCode === 1)
  72080. return A._asyncRethrow($async$result, $async$completer);
  72081. while (true)
  72082. switch ($async$goto) {
  72083. case 0:
  72084. // Function start
  72085. $async$goto = 3;
  72086. return A._asyncAwait($async$self._async_evaluate$_performInterpolation$2$warnForColor(interpolation, warnForColor), $async$_async_evaluate$_interpolationToValue$3$trim$warnForColor);
  72087. case 3:
  72088. // returning from await.
  72089. result = $async$result;
  72090. t1 = trim ? A.trimAscii(result, true) : result;
  72091. $async$returnValue = new A.CssValue(t1, interpolation.span, type$.CssValue_String);
  72092. // goto return
  72093. $async$goto = 1;
  72094. break;
  72095. case 1:
  72096. // return
  72097. return A._asyncReturn($async$returnValue, $async$completer);
  72098. }
  72099. });
  72100. return A._asyncStartSync($async$_async_evaluate$_interpolationToValue$3$trim$warnForColor, $async$completer);
  72101. },
  72102. _async_evaluate$_performInterpolation$2$warnForColor(interpolation, warnForColor) {
  72103. return this._performInterpolation$body$_EvaluateVisitor(interpolation, warnForColor);
  72104. },
  72105. _async_evaluate$_performInterpolation$1(interpolation) {
  72106. return this._async_evaluate$_performInterpolation$2$warnForColor(interpolation, false);
  72107. },
  72108. _performInterpolation$body$_EvaluateVisitor(interpolation, warnForColor) {
  72109. var $async$goto = 0,
  72110. $async$completer = A._makeAsyncAwaitCompleter(type$.String),
  72111. $async$returnValue, $async$self = this;
  72112. var $async$_async_evaluate$_performInterpolation$2$warnForColor = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  72113. if ($async$errorCode === 1)
  72114. return A._asyncRethrow($async$result, $async$completer);
  72115. while (true)
  72116. switch ($async$goto) {
  72117. case 0:
  72118. // Function start
  72119. $async$goto = 3;
  72120. return A._asyncAwait($async$self._async_evaluate$_performInterpolationHelper$3$sourceMap$warnForColor(interpolation, false, warnForColor), $async$_async_evaluate$_performInterpolation$2$warnForColor);
  72121. case 3:
  72122. // returning from await.
  72123. $async$returnValue = $async$result._0;
  72124. // goto return
  72125. $async$goto = 1;
  72126. break;
  72127. case 1:
  72128. // return
  72129. return A._asyncReturn($async$returnValue, $async$completer);
  72130. }
  72131. });
  72132. return A._asyncStartSync($async$_async_evaluate$_performInterpolation$2$warnForColor, $async$completer);
  72133. },
  72134. _async_evaluate$_performInterpolationWithMap$2$warnForColor(interpolation, warnForColor) {
  72135. return this._performInterpolationWithMap$body$_EvaluateVisitor(interpolation, true);
  72136. },
  72137. _performInterpolationWithMap$body$_EvaluateVisitor(interpolation, warnForColor) {
  72138. var $async$goto = 0,
  72139. $async$completer = A._makeAsyncAwaitCompleter(type$.Record_2_String_and_InterpolationMap),
  72140. $async$returnValue, $async$self = this, _0_0, result, map;
  72141. var $async$_async_evaluate$_performInterpolationWithMap$2$warnForColor = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  72142. if ($async$errorCode === 1)
  72143. return A._asyncRethrow($async$result, $async$completer);
  72144. while (true)
  72145. switch ($async$goto) {
  72146. case 0:
  72147. // Function start
  72148. $async$goto = 3;
  72149. return A._asyncAwait($async$self._async_evaluate$_performInterpolationHelper$3$sourceMap$warnForColor(interpolation, true, true), $async$_async_evaluate$_performInterpolationWithMap$2$warnForColor);
  72150. case 3:
  72151. // returning from await.
  72152. _0_0 = $async$result;
  72153. result = _0_0._0;
  72154. map = _0_0._1;
  72155. map.toString;
  72156. $async$returnValue = new A._Record_2(result, map);
  72157. // goto return
  72158. $async$goto = 1;
  72159. break;
  72160. case 1:
  72161. // return
  72162. return A._asyncReturn($async$returnValue, $async$completer);
  72163. }
  72164. });
  72165. return A._asyncStartSync($async$_async_evaluate$_performInterpolationWithMap$2$warnForColor, $async$completer);
  72166. },
  72167. _async_evaluate$_performInterpolationHelper$3$sourceMap$warnForColor(interpolation, sourceMap, warnForColor) {
  72168. return this._performInterpolationHelper$body$_EvaluateVisitor(interpolation, sourceMap, warnForColor);
  72169. },
  72170. _performInterpolationHelper$body$_EvaluateVisitor(interpolation, sourceMap, warnForColor) {
  72171. var $async$goto = 0,
  72172. $async$completer = A._makeAsyncAwaitCompleter(type$.Record_2_String_and_nullable_InterpolationMap),
  72173. $async$returnValue, $async$self = this, t1, t2, t3, t4, t5, t6, first, _i, t7, value, result, result0, t8, targetLocations, oldInSupportsDeclaration;
  72174. var $async$_async_evaluate$_performInterpolationHelper$3$sourceMap$warnForColor = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  72175. if ($async$errorCode === 1)
  72176. return A._asyncRethrow($async$result, $async$completer);
  72177. while (true)
  72178. switch ($async$goto) {
  72179. case 0:
  72180. // Function start
  72181. targetLocations = sourceMap ? A._setArrayType([], type$.JSArray_SourceLocation) : null;
  72182. oldInSupportsDeclaration = $async$self._async_evaluate$_inSupportsDeclaration;
  72183. $async$self._async_evaluate$_inSupportsDeclaration = false;
  72184. t1 = interpolation.contents, t2 = t1.length, t3 = type$.Expression, t4 = targetLocations == null, t5 = interpolation.span, t6 = type$.Object, first = true, _i = 0, t7 = "";
  72185. case 3:
  72186. // for condition
  72187. if (!(_i < t2)) {
  72188. // goto after for
  72189. $async$goto = 5;
  72190. break;
  72191. }
  72192. value = t1[_i];
  72193. if (!first)
  72194. if (!t4)
  72195. targetLocations.push(A.SourceLocation$(t7.length, null, null, null));
  72196. if (typeof value == "string") {
  72197. t7 += value;
  72198. // goto for update
  72199. $async$goto = 4;
  72200. break;
  72201. }
  72202. t3._as(value);
  72203. $async$goto = 6;
  72204. return A._asyncAwait(value.accept$1($async$self), $async$_async_evaluate$_performInterpolationHelper$3$sourceMap$warnForColor);
  72205. case 6:
  72206. // returning from await.
  72207. result = $async$result;
  72208. if (warnForColor && $.$get$namesByColor().containsKey$1(result)) {
  72209. result0 = A.List_List$from([""], false, t6);
  72210. result0.$flags = 3;
  72211. t8 = $.$get$namesByColor();
  72212. $async$self._async_evaluate$_warn$2(string$.You_pr + A.S(t8.$index(0, result)) + string$.x20in_in + result.toString$0(0) + string$.x2c_whicw + A.S(t8.$index(0, result)) + string$.x22x29__If + new A.BinaryOperationExpression(B.BinaryOperator_Swh, new A.StringExpression(new A.Interpolation(result0, B.List_null, t5), true), value, false).toString$0(0) + "'.", value.get$span(value));
  72213. }
  72214. t7 += $async$self._async_evaluate$_serialize$3$quote(result, value, false);
  72215. case 4:
  72216. // for update
  72217. ++_i, first = false;
  72218. // goto for condition
  72219. $async$goto = 3;
  72220. break;
  72221. case 5:
  72222. // after for
  72223. $async$self._async_evaluate$_inSupportsDeclaration = oldInSupportsDeclaration;
  72224. $async$returnValue = new A._Record_2(t7.charCodeAt(0) == 0 ? t7 : t7, A.NullableExtension_andThen(targetLocations, new A._EvaluateVisitor__performInterpolationHelper_closure0(interpolation)));
  72225. // goto return
  72226. $async$goto = 1;
  72227. break;
  72228. case 1:
  72229. // return
  72230. return A._asyncReturn($async$returnValue, $async$completer);
  72231. }
  72232. });
  72233. return A._asyncStartSync($async$_async_evaluate$_performInterpolationHelper$3$sourceMap$warnForColor, $async$completer);
  72234. },
  72235. _evaluateToCss$2$quote(expression, quote) {
  72236. return this._evaluateToCss$body$_EvaluateVisitor(expression, quote);
  72237. },
  72238. _evaluateToCss$1(expression) {
  72239. return this._evaluateToCss$2$quote(expression, true);
  72240. },
  72241. _evaluateToCss$body$_EvaluateVisitor(expression, quote) {
  72242. var $async$goto = 0,
  72243. $async$completer = A._makeAsyncAwaitCompleter(type$.String),
  72244. $async$returnValue, $async$self = this, t1;
  72245. var $async$_evaluateToCss$2$quote = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  72246. if ($async$errorCode === 1)
  72247. return A._asyncRethrow($async$result, $async$completer);
  72248. while (true)
  72249. switch ($async$goto) {
  72250. case 0:
  72251. // Function start
  72252. t1 = expression.accept$1($async$self);
  72253. $async$goto = 3;
  72254. return A._asyncAwait(type$.Future_Value._is(t1) ? t1 : A._Future$value(t1, type$.Value), $async$_evaluateToCss$2$quote);
  72255. case 3:
  72256. // returning from await.
  72257. $async$returnValue = $async$self._async_evaluate$_serialize$3$quote($async$result, expression, quote);
  72258. // goto return
  72259. $async$goto = 1;
  72260. break;
  72261. case 1:
  72262. // return
  72263. return A._asyncReturn($async$returnValue, $async$completer);
  72264. }
  72265. });
  72266. return A._asyncStartSync($async$_evaluateToCss$2$quote, $async$completer);
  72267. },
  72268. _async_evaluate$_serialize$3$quote(value, nodeWithSpan, quote) {
  72269. return this._async_evaluate$_addExceptionSpan$2(nodeWithSpan, new A._EvaluateVisitor__serialize_closure0(value, quote));
  72270. },
  72271. _async_evaluate$_serialize$2(value, nodeWithSpan) {
  72272. return this._async_evaluate$_serialize$3$quote(value, nodeWithSpan, true);
  72273. },
  72274. _async_evaluate$_expressionNode$1(expression) {
  72275. var t1;
  72276. if (expression instanceof A.VariableExpression) {
  72277. t1 = this._async_evaluate$_addExceptionSpan$2(expression, new A._EvaluateVisitor__expressionNode_closure0(this, expression));
  72278. return t1 == null ? expression : t1;
  72279. } else
  72280. return expression;
  72281. },
  72282. _async_evaluate$_withParent$2$4$scopeWhen$through(node, callback, scopeWhen, through, $S, $T) {
  72283. return this._withParent$body$_EvaluateVisitor(node, callback, scopeWhen, through, $S, $T, $T);
  72284. },
  72285. _async_evaluate$_withParent$2$2(node, callback, $S, $T) {
  72286. node.toString;
  72287. callback.toString;
  72288. return this._async_evaluate$_withParent$2$4$scopeWhen$through(node, callback, true, null, $S, $T);
  72289. },
  72290. _async_evaluate$_withParent$2$3$scopeWhen(node, callback, scopeWhen, $S, $T) {
  72291. node.toString;
  72292. callback.toString;
  72293. return this._async_evaluate$_withParent$2$4$scopeWhen$through(node, callback, scopeWhen, null, $S, $T);
  72294. },
  72295. _withParent$body$_EvaluateVisitor(node, callback, scopeWhen, through, $S, $T, $async$type) {
  72296. var $async$goto = 0,
  72297. $async$completer = A._makeAsyncAwaitCompleter($async$type),
  72298. $async$returnValue, $async$self = this, oldParent, result;
  72299. var $async$_async_evaluate$_withParent$2$4$scopeWhen$through = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  72300. if ($async$errorCode === 1)
  72301. return A._asyncRethrow($async$result, $async$completer);
  72302. while (true)
  72303. switch ($async$goto) {
  72304. case 0:
  72305. // Function start
  72306. $async$self._async_evaluate$_addChild$2$through(node, through);
  72307. oldParent = $async$self._async_evaluate$_assertInModule$2($async$self._async_evaluate$__parent, "__parent");
  72308. $async$self._async_evaluate$__parent = node;
  72309. $async$goto = 3;
  72310. return A._asyncAwait($async$self._async_evaluate$_environment.scope$1$2$when(callback, scopeWhen, $T), $async$_async_evaluate$_withParent$2$4$scopeWhen$through);
  72311. case 3:
  72312. // returning from await.
  72313. result = $async$result;
  72314. $async$self._async_evaluate$__parent = oldParent;
  72315. $async$returnValue = result;
  72316. // goto return
  72317. $async$goto = 1;
  72318. break;
  72319. case 1:
  72320. // return
  72321. return A._asyncReturn($async$returnValue, $async$completer);
  72322. }
  72323. });
  72324. return A._asyncStartSync($async$_async_evaluate$_withParent$2$4$scopeWhen$through, $async$completer);
  72325. },
  72326. _async_evaluate$_addChild$2$through(node, through) {
  72327. var _0_0, grandparent, t1,
  72328. $parent = this._async_evaluate$_assertInModule$2(this._async_evaluate$__parent, "__parent");
  72329. if (through != null) {
  72330. for (; through.call$1($parent); $parent = _0_0) {
  72331. _0_0 = $parent._parent;
  72332. if (_0_0 == null)
  72333. throw A.wrapException(A.ArgumentError$(string$.throug + node.toString$0(0) + ".", null));
  72334. }
  72335. if ($parent.get$hasFollowingSibling()) {
  72336. grandparent = $parent._parent;
  72337. t1 = grandparent.children;
  72338. if ($parent.equalsIgnoringChildren$1(t1.get$last(t1)))
  72339. $parent = type$.ModifiableCssParentNode._as(t1.get$last(t1));
  72340. else {
  72341. $parent = $parent.copyWithoutChildren$0();
  72342. grandparent.addChild$1($parent);
  72343. }
  72344. }
  72345. }
  72346. $parent.addChild$1(node);
  72347. },
  72348. _async_evaluate$_addChild$1(node) {
  72349. return this._async_evaluate$_addChild$2$through(node, null);
  72350. },
  72351. _async_evaluate$_withStyleRule$1$2(rule, callback, $T) {
  72352. return this._withStyleRule$body$_EvaluateVisitor(rule, callback, $T, $T);
  72353. },
  72354. _withStyleRule$body$_EvaluateVisitor(rule, callback, $T, $async$type) {
  72355. var $async$goto = 0,
  72356. $async$completer = A._makeAsyncAwaitCompleter($async$type),
  72357. $async$returnValue, $async$self = this, result, oldRule;
  72358. var $async$_async_evaluate$_withStyleRule$1$2 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  72359. if ($async$errorCode === 1)
  72360. return A._asyncRethrow($async$result, $async$completer);
  72361. while (true)
  72362. switch ($async$goto) {
  72363. case 0:
  72364. // Function start
  72365. oldRule = $async$self._async_evaluate$_styleRuleIgnoringAtRoot;
  72366. $async$self._async_evaluate$_styleRuleIgnoringAtRoot = rule;
  72367. $async$goto = 3;
  72368. return A._asyncAwait(callback.call$0(), $async$_async_evaluate$_withStyleRule$1$2);
  72369. case 3:
  72370. // returning from await.
  72371. result = $async$result;
  72372. $async$self._async_evaluate$_styleRuleIgnoringAtRoot = oldRule;
  72373. $async$returnValue = result;
  72374. // goto return
  72375. $async$goto = 1;
  72376. break;
  72377. case 1:
  72378. // return
  72379. return A._asyncReturn($async$returnValue, $async$completer);
  72380. }
  72381. });
  72382. return A._asyncStartSync($async$_async_evaluate$_withStyleRule$1$2, $async$completer);
  72383. },
  72384. _async_evaluate$_withMediaQueries$1$3(queries, sources, callback, $T) {
  72385. return this._withMediaQueries$body$_EvaluateVisitor(queries, sources, callback, $T, $T);
  72386. },
  72387. _withMediaQueries$body$_EvaluateVisitor(queries, sources, callback, $T, $async$type) {
  72388. var $async$goto = 0,
  72389. $async$completer = A._makeAsyncAwaitCompleter($async$type),
  72390. $async$returnValue, $async$self = this, result, oldMediaQueries, oldSources;
  72391. var $async$_async_evaluate$_withMediaQueries$1$3 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  72392. if ($async$errorCode === 1)
  72393. return A._asyncRethrow($async$result, $async$completer);
  72394. while (true)
  72395. switch ($async$goto) {
  72396. case 0:
  72397. // Function start
  72398. oldMediaQueries = $async$self._async_evaluate$_mediaQueries;
  72399. oldSources = $async$self._async_evaluate$_mediaQuerySources;
  72400. $async$self._async_evaluate$_mediaQueries = queries;
  72401. $async$self._async_evaluate$_mediaQuerySources = sources;
  72402. $async$goto = 3;
  72403. return A._asyncAwait(callback.call$0(), $async$_async_evaluate$_withMediaQueries$1$3);
  72404. case 3:
  72405. // returning from await.
  72406. result = $async$result;
  72407. $async$self._async_evaluate$_mediaQueries = oldMediaQueries;
  72408. $async$self._async_evaluate$_mediaQuerySources = oldSources;
  72409. $async$returnValue = result;
  72410. // goto return
  72411. $async$goto = 1;
  72412. break;
  72413. case 1:
  72414. // return
  72415. return A._asyncReturn($async$returnValue, $async$completer);
  72416. }
  72417. });
  72418. return A._asyncStartSync($async$_async_evaluate$_withMediaQueries$1$3, $async$completer);
  72419. },
  72420. _async_evaluate$_withStackFrame$1$3(member, nodeWithSpan, callback, $T) {
  72421. return this._withStackFrame$body$_EvaluateVisitor(member, nodeWithSpan, callback, $T, $T);
  72422. },
  72423. _withStackFrame$body$_EvaluateVisitor(member, nodeWithSpan, callback, $T, $async$type) {
  72424. var $async$goto = 0,
  72425. $async$completer = A._makeAsyncAwaitCompleter($async$type),
  72426. $async$returnValue, $async$self = this, oldMember, result, t1;
  72427. var $async$_async_evaluate$_withStackFrame$1$3 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  72428. if ($async$errorCode === 1)
  72429. return A._asyncRethrow($async$result, $async$completer);
  72430. while (true)
  72431. switch ($async$goto) {
  72432. case 0:
  72433. // Function start
  72434. t1 = $async$self._async_evaluate$_stack;
  72435. t1.push(new A._Record_2($async$self._async_evaluate$_member, nodeWithSpan));
  72436. oldMember = $async$self._async_evaluate$_member;
  72437. $async$self._async_evaluate$_member = member;
  72438. $async$goto = 3;
  72439. return A._asyncAwait(callback.call$0(), $async$_async_evaluate$_withStackFrame$1$3);
  72440. case 3:
  72441. // returning from await.
  72442. result = $async$result;
  72443. $async$self._async_evaluate$_member = oldMember;
  72444. t1.pop();
  72445. $async$returnValue = result;
  72446. // goto return
  72447. $async$goto = 1;
  72448. break;
  72449. case 1:
  72450. // return
  72451. return A._asyncReturn($async$returnValue, $async$completer);
  72452. }
  72453. });
  72454. return A._asyncStartSync($async$_async_evaluate$_withStackFrame$1$3, $async$completer);
  72455. },
  72456. _async_evaluate$_withoutSlash$2(value, nodeForSpan) {
  72457. var t1;
  72458. if (value instanceof A.SassNumber)
  72459. t1 = value.asSlash != null;
  72460. else
  72461. t1 = false;
  72462. if (t1)
  72463. this._async_evaluate$_warn$3(string$.Using__i + A.S(new A._EvaluateVisitor__withoutSlash_recommendation0().call$1(value)) + string$.x0a_Morex20, nodeForSpan.get$span(nodeForSpan), B.Deprecation_BvP);
  72464. return value.withoutSlash$0();
  72465. },
  72466. _async_evaluate$_stackFrame$2(member, span) {
  72467. return A.frameForSpan(span, member, A.NullableExtension_andThen(span.get$sourceUrl(span), new A._EvaluateVisitor__stackFrame_closure0(this)));
  72468. },
  72469. _async_evaluate$_stackTrace$1(span) {
  72470. var t2, t3, _i, t4, nodeWithSpan, _this = this,
  72471. t1 = A._setArrayType([], type$.JSArray_Frame);
  72472. for (t2 = _this._async_evaluate$_stack, t3 = t2.length, _i = 0; _i < t2.length; t2.length === t3 || (0, A.throwConcurrentModificationError)(t2), ++_i) {
  72473. t4 = t2[_i];
  72474. nodeWithSpan = t4._1;
  72475. t1.push(_this._async_evaluate$_stackFrame$2(t4._0, nodeWithSpan.get$span(nodeWithSpan)));
  72476. }
  72477. if (span != null)
  72478. t1.push(_this._async_evaluate$_stackFrame$2(_this._async_evaluate$_member, span));
  72479. return A.Trace$(new A.ReversedListIterable(t1, type$.ReversedListIterable_Frame), null);
  72480. },
  72481. _async_evaluate$_stackTrace$0() {
  72482. return this._async_evaluate$_stackTrace$1(null);
  72483. },
  72484. _async_evaluate$_warn$3(message, span, deprecation) {
  72485. var trace, t1, _this = this;
  72486. if (_this._async_evaluate$_quietDeps && _this._async_evaluate$_inDependency)
  72487. return;
  72488. if (!_this._async_evaluate$_warningsEmitted.add$1(0, new A._Record_2(message, span)))
  72489. return;
  72490. trace = _this._async_evaluate$_stackTrace$1(span);
  72491. t1 = _this._async_evaluate$_logger;
  72492. if (deprecation == null)
  72493. t1.internalWarn$4$deprecation$span$trace(message, null, span, trace);
  72494. else
  72495. A.WarnForDeprecation_warnForDeprecation(t1, deprecation, message, span, trace);
  72496. },
  72497. _async_evaluate$_warn$2(message, span) {
  72498. return this._async_evaluate$_warn$3(message, span, null);
  72499. },
  72500. _async_evaluate$_exception$2(message, span) {
  72501. var t1, t2;
  72502. if (span == null) {
  72503. t1 = B.JSArray_methods.get$last(this._async_evaluate$_stack)._1;
  72504. t1 = t1.get$span(t1);
  72505. } else
  72506. t1 = span;
  72507. t2 = this._async_evaluate$_stackTrace$1(span);
  72508. return new A.SassRuntimeException(t2, B.Set_empty, message, t1);
  72509. },
  72510. _async_evaluate$_exception$1(message) {
  72511. return this._async_evaluate$_exception$2(message, null);
  72512. },
  72513. _async_evaluate$_multiSpanException$3(message, primaryLabel, secondaryLabels) {
  72514. var t1 = B.JSArray_methods.get$last(this._async_evaluate$_stack)._1;
  72515. return A.MultiSpanSassRuntimeException$(message, t1.get$span(t1), primaryLabel, secondaryLabels, this._async_evaluate$_stackTrace$0(), null);
  72516. },
  72517. _async_evaluate$_addExceptionSpan$1$2(nodeWithSpan, callback) {
  72518. var error, stackTrace, t1, exception,
  72519. addStackFrame = true;
  72520. try {
  72521. t1 = callback.call$0();
  72522. return t1;
  72523. } catch (exception) {
  72524. t1 = A.unwrapException(exception);
  72525. if (t1 instanceof A.SassScriptException) {
  72526. error = t1;
  72527. stackTrace = A.getTraceFromException(exception);
  72528. t1 = error.withSpan$1(nodeWithSpan.get$span(nodeWithSpan));
  72529. A.throwWithTrace(t1.withTrace$1(this._async_evaluate$_stackTrace$1(addStackFrame ? nodeWithSpan.get$span(nodeWithSpan) : null)), error, stackTrace);
  72530. } else
  72531. throw exception;
  72532. }
  72533. },
  72534. _async_evaluate$_addExceptionSpan$2(nodeWithSpan, callback) {
  72535. callback.toString;
  72536. return this._async_evaluate$_addExceptionSpan$1$2(nodeWithSpan, callback, type$.dynamic);
  72537. },
  72538. _addExceptionSpanAsync$1$3$addStackFrame(nodeWithSpan, callback, addStackFrame, $T) {
  72539. return this._addExceptionSpanAsync$body$_EvaluateVisitor(nodeWithSpan, callback, addStackFrame, $T, $T);
  72540. },
  72541. _addExceptionSpanAsync$1$2(nodeWithSpan, callback, $T) {
  72542. callback.toString;
  72543. return this._addExceptionSpanAsync$1$3$addStackFrame(nodeWithSpan, callback, true, $T);
  72544. },
  72545. _addExceptionSpanAsync$body$_EvaluateVisitor(nodeWithSpan, callback, addStackFrame, $T, $async$type) {
  72546. var $async$goto = 0,
  72547. $async$completer = A._makeAsyncAwaitCompleter($async$type),
  72548. $async$returnValue, $async$handler = 2, $async$errorStack = [], $async$self = this, error, stackTrace, t1, exception, $async$exception;
  72549. var $async$_addExceptionSpanAsync$1$3$addStackFrame = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  72550. if ($async$errorCode === 1) {
  72551. $async$errorStack.push($async$result);
  72552. $async$goto = $async$handler;
  72553. }
  72554. while (true)
  72555. switch ($async$goto) {
  72556. case 0:
  72557. // Function start
  72558. $async$handler = 4;
  72559. t1 = callback.call$0();
  72560. $async$goto = 7;
  72561. return A._asyncAwait($T._eval$1("Future<0>")._is(t1) ? t1 : A._Future$value(t1, $T), $async$_addExceptionSpanAsync$1$3$addStackFrame);
  72562. case 7:
  72563. // returning from await.
  72564. t1 = $async$result;
  72565. $async$returnValue = t1;
  72566. // goto return
  72567. $async$goto = 1;
  72568. break;
  72569. $async$handler = 2;
  72570. // goto after finally
  72571. $async$goto = 6;
  72572. break;
  72573. case 4:
  72574. // catch
  72575. $async$handler = 3;
  72576. $async$exception = $async$errorStack.pop();
  72577. t1 = A.unwrapException($async$exception);
  72578. if (t1 instanceof A.SassScriptException) {
  72579. error = t1;
  72580. stackTrace = A.getTraceFromException($async$exception);
  72581. t1 = error.withSpan$1(nodeWithSpan.get$span(nodeWithSpan));
  72582. A.throwWithTrace(t1.withTrace$1($async$self._async_evaluate$_stackTrace$1(addStackFrame ? nodeWithSpan.get$span(nodeWithSpan) : null)), error, stackTrace);
  72583. } else
  72584. throw $async$exception;
  72585. // goto after finally
  72586. $async$goto = 6;
  72587. break;
  72588. case 3:
  72589. // uncaught
  72590. // goto rethrow
  72591. $async$goto = 2;
  72592. break;
  72593. case 6:
  72594. // after finally
  72595. case 1:
  72596. // return
  72597. return A._asyncReturn($async$returnValue, $async$completer);
  72598. case 2:
  72599. // rethrow
  72600. return A._asyncRethrow($async$errorStack.at(-1), $async$completer);
  72601. }
  72602. });
  72603. return A._asyncStartSync($async$_addExceptionSpanAsync$1$3$addStackFrame, $async$completer);
  72604. },
  72605. _async_evaluate$_addExceptionTrace$1$1(callback, $T) {
  72606. return this._addExceptionTrace$body$_EvaluateVisitor(callback, $T, $T);
  72607. },
  72608. _addExceptionTrace$body$_EvaluateVisitor(callback, $T, $async$type) {
  72609. var $async$goto = 0,
  72610. $async$completer = A._makeAsyncAwaitCompleter($async$type),
  72611. $async$returnValue, $async$handler = 2, $async$errorStack = [], $async$self = this, error, stackTrace, t1, exception, t2, $async$exception;
  72612. var $async$_async_evaluate$_addExceptionTrace$1$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  72613. if ($async$errorCode === 1) {
  72614. $async$errorStack.push($async$result);
  72615. $async$goto = $async$handler;
  72616. }
  72617. while (true)
  72618. switch ($async$goto) {
  72619. case 0:
  72620. // Function start
  72621. $async$handler = 4;
  72622. t1 = callback.call$0();
  72623. $async$goto = 7;
  72624. return A._asyncAwait($T._eval$1("Future<0>")._is(t1) ? t1 : A._Future$value(t1, $T), $async$_async_evaluate$_addExceptionTrace$1$1);
  72625. case 7:
  72626. // returning from await.
  72627. t1 = $async$result;
  72628. $async$returnValue = t1;
  72629. // goto return
  72630. $async$goto = 1;
  72631. break;
  72632. $async$handler = 2;
  72633. // goto after finally
  72634. $async$goto = 6;
  72635. break;
  72636. case 4:
  72637. // catch
  72638. $async$handler = 3;
  72639. $async$exception = $async$errorStack.pop();
  72640. t1 = A.unwrapException($async$exception);
  72641. if (type$.SassRuntimeException._is(t1))
  72642. throw $async$exception;
  72643. else if (t1 instanceof A.SassException) {
  72644. error = t1;
  72645. stackTrace = A.getTraceFromException($async$exception);
  72646. t1 = error;
  72647. t2 = J.getInterceptor$z(t1);
  72648. A.throwWithTrace(error.withTrace$1($async$self._async_evaluate$_stackTrace$1(A.SourceSpanException.prototype.get$span.call(t2, t1))), error, stackTrace);
  72649. } else
  72650. throw $async$exception;
  72651. // goto after finally
  72652. $async$goto = 6;
  72653. break;
  72654. case 3:
  72655. // uncaught
  72656. // goto rethrow
  72657. $async$goto = 2;
  72658. break;
  72659. case 6:
  72660. // after finally
  72661. case 1:
  72662. // return
  72663. return A._asyncReturn($async$returnValue, $async$completer);
  72664. case 2:
  72665. // rethrow
  72666. return A._asyncRethrow($async$errorStack.at(-1), $async$completer);
  72667. }
  72668. });
  72669. return A._asyncStartSync($async$_async_evaluate$_addExceptionTrace$1$1, $async$completer);
  72670. },
  72671. _async_evaluate$_addErrorSpan$1$2(nodeWithSpan, callback, $T) {
  72672. return this._addErrorSpan$body$_EvaluateVisitor(nodeWithSpan, callback, $T, $T);
  72673. },
  72674. _addErrorSpan$body$_EvaluateVisitor(nodeWithSpan, callback, $T, $async$type) {
  72675. var $async$goto = 0,
  72676. $async$completer = A._makeAsyncAwaitCompleter($async$type),
  72677. $async$returnValue, $async$handler = 2, $async$errorStack = [], $async$self = this, error, stackTrace, t1, exception, t2, t3, $async$exception;
  72678. var $async$_async_evaluate$_addErrorSpan$1$2 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  72679. if ($async$errorCode === 1) {
  72680. $async$errorStack.push($async$result);
  72681. $async$goto = $async$handler;
  72682. }
  72683. while (true)
  72684. switch ($async$goto) {
  72685. case 0:
  72686. // Function start
  72687. $async$handler = 4;
  72688. $async$goto = 7;
  72689. return A._asyncAwait(callback.call$0(), $async$_async_evaluate$_addErrorSpan$1$2);
  72690. case 7:
  72691. // returning from await.
  72692. t1 = $async$result;
  72693. $async$returnValue = t1;
  72694. // goto return
  72695. $async$goto = 1;
  72696. break;
  72697. $async$handler = 2;
  72698. // goto after finally
  72699. $async$goto = 6;
  72700. break;
  72701. case 4:
  72702. // catch
  72703. $async$handler = 3;
  72704. $async$exception = $async$errorStack.pop();
  72705. t1 = A.unwrapException($async$exception);
  72706. if (type$.SassRuntimeException._is(t1)) {
  72707. error = t1;
  72708. stackTrace = A.getTraceFromException($async$exception);
  72709. if (!B.JSString_methods.startsWith$1(J.get$span$z(error).get$text(), "@error"))
  72710. throw $async$exception;
  72711. t1 = error._span_exception$_message;
  72712. t2 = nodeWithSpan.get$span(nodeWithSpan);
  72713. t3 = $async$self._async_evaluate$_stackTrace$0();
  72714. A.throwWithTrace(new A.SassRuntimeException(t3, B.Set_empty, t1, t2), error, stackTrace);
  72715. } else
  72716. throw $async$exception;
  72717. // goto after finally
  72718. $async$goto = 6;
  72719. break;
  72720. case 3:
  72721. // uncaught
  72722. // goto rethrow
  72723. $async$goto = 2;
  72724. break;
  72725. case 6:
  72726. // after finally
  72727. case 1:
  72728. // return
  72729. return A._asyncReturn($async$returnValue, $async$completer);
  72730. case 2:
  72731. // rethrow
  72732. return A._asyncRethrow($async$errorStack.at(-1), $async$completer);
  72733. }
  72734. });
  72735. return A._asyncStartSync($async$_async_evaluate$_addErrorSpan$1$2, $async$completer);
  72736. },
  72737. _async_evaluate$_getErrorMessage$1(error) {
  72738. var t1, exception;
  72739. if (type$.Error._is(error))
  72740. return error.toString$0(0);
  72741. try {
  72742. t1 = A._asString(J.get$message$x(error));
  72743. return t1;
  72744. } catch (exception) {
  72745. t1 = J.toString$0$(error);
  72746. return t1;
  72747. }
  72748. }
  72749. };
  72750. A._EvaluateVisitor_closure12.prototype = {
  72751. call$1($arguments) {
  72752. var module, t2,
  72753. t1 = J.getInterceptor$asx($arguments),
  72754. variable = t1.$index($arguments, 0).assertString$1("name");
  72755. t1 = t1.$index($arguments, 1).get$realNull();
  72756. module = t1 == null ? null : t1.assertString$1("module");
  72757. t1 = this.$this._async_evaluate$_environment;
  72758. t2 = A.stringReplaceAllUnchecked(variable._string$_text, "_", "-");
  72759. return t1.globalVariableExists$2$namespace(t2, module == null ? null : module._string$_text) ? B.SassBoolean_true : B.SassBoolean_false;
  72760. },
  72761. $signature: 12
  72762. };
  72763. A._EvaluateVisitor_closure13.prototype = {
  72764. call$1($arguments) {
  72765. var variable = J.$index$asx($arguments, 0).assertString$1("name"),
  72766. t1 = this.$this._async_evaluate$_environment;
  72767. return t1.getVariable$1(A.stringReplaceAllUnchecked(variable._string$_text, "_", "-")) != null ? B.SassBoolean_true : B.SassBoolean_false;
  72768. },
  72769. $signature: 12
  72770. };
  72771. A._EvaluateVisitor_closure14.prototype = {
  72772. call$1($arguments) {
  72773. var module, t2, t3, t4,
  72774. t1 = J.getInterceptor$asx($arguments),
  72775. variable = t1.$index($arguments, 0).assertString$1("name");
  72776. t1 = t1.$index($arguments, 1).get$realNull();
  72777. module = t1 == null ? null : t1.assertString$1("module");
  72778. t1 = this.$this;
  72779. t2 = t1._async_evaluate$_environment;
  72780. t3 = variable._string$_text;
  72781. t4 = A.stringReplaceAllUnchecked(t3, "_", "-");
  72782. 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;
  72783. },
  72784. $signature: 12
  72785. };
  72786. A._EvaluateVisitor_closure15.prototype = {
  72787. call$1($arguments) {
  72788. var module, t2,
  72789. t1 = J.getInterceptor$asx($arguments),
  72790. variable = t1.$index($arguments, 0).assertString$1("name");
  72791. t1 = t1.$index($arguments, 1).get$realNull();
  72792. module = t1 == null ? null : t1.assertString$1("module");
  72793. t1 = this.$this._async_evaluate$_environment;
  72794. t2 = A.stringReplaceAllUnchecked(variable._string$_text, "_", "-");
  72795. return t1.getMixin$2$namespace(t2, module == null ? null : module._string$_text) != null ? B.SassBoolean_true : B.SassBoolean_false;
  72796. },
  72797. $signature: 12
  72798. };
  72799. A._EvaluateVisitor_closure16.prototype = {
  72800. call$1($arguments) {
  72801. var t1 = this.$this._async_evaluate$_environment;
  72802. if (!t1._async_environment$_inMixin)
  72803. throw A.wrapException(A.SassScriptException$(string$.conten, null));
  72804. return t1._async_environment$_content != null ? B.SassBoolean_true : B.SassBoolean_false;
  72805. },
  72806. $signature: 12
  72807. };
  72808. A._EvaluateVisitor_closure17.prototype = {
  72809. call$1($arguments) {
  72810. var t2, t3, t4,
  72811. t1 = J.$index$asx($arguments, 0).assertString$1("module")._string$_text,
  72812. module = this.$this._async_evaluate$_environment._async_environment$_modules.$index(0, t1);
  72813. if (module == null)
  72814. throw A.wrapException('There is no module with namespace "' + t1 + '".');
  72815. t1 = type$.Value;
  72816. t2 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t1);
  72817. for (t3 = A.MapExtensions_get_pairs(module.get$variables(), type$.String, t1), t3 = t3.get$iterator(t3); t3.moveNext$0();) {
  72818. t4 = t3.get$current(t3);
  72819. t2.$indexSet(0, new A.SassString(t4._0, true), t4._1);
  72820. }
  72821. return new A.SassMap(A.ConstantMap_ConstantMap$from(t2, t1, t1));
  72822. },
  72823. $signature: 38
  72824. };
  72825. A._EvaluateVisitor_closure18.prototype = {
  72826. call$1($arguments) {
  72827. var t3, t4, t5,
  72828. t1 = this.$this,
  72829. t2 = J.$index$asx($arguments, 0).assertString$1("module")._string$_text,
  72830. module = t1._async_evaluate$_environment._async_environment$_modules.$index(0, t2);
  72831. if (module == null)
  72832. throw A.wrapException('There is no module with namespace "' + t2 + '".');
  72833. t2 = type$.Value;
  72834. t3 = A.LinkedHashMap_LinkedHashMap$_empty(t2, t2);
  72835. for (t4 = A.MapExtensions_get_pairs(module.get$functions(module), type$.String, type$.AsyncCallable), t4 = t4.get$iterator(t4), t1 = t1._async_evaluate$_compileContext; t4.moveNext$0();) {
  72836. t5 = t4.get$current(t4);
  72837. t3.$indexSet(0, new A.SassString(t5._0, true), new A.SassFunction(t5._1, t1));
  72838. }
  72839. return new A.SassMap(A.ConstantMap_ConstantMap$from(t3, t2, t2));
  72840. },
  72841. $signature: 38
  72842. };
  72843. A._EvaluateVisitor_closure19.prototype = {
  72844. call$1($arguments) {
  72845. var t3, t4, t5,
  72846. t1 = this.$this,
  72847. t2 = J.$index$asx($arguments, 0).assertString$1("module")._string$_text,
  72848. module = t1._async_evaluate$_environment._async_environment$_modules.$index(0, t2);
  72849. if (module == null)
  72850. throw A.wrapException('There is no module with namespace "' + t2 + '".');
  72851. t2 = type$.Value;
  72852. t3 = A.LinkedHashMap_LinkedHashMap$_empty(t2, t2);
  72853. for (t4 = A.MapExtensions_get_pairs(module.get$mixins(), type$.String, type$.AsyncCallable), t4 = t4.get$iterator(t4), t1 = t1._async_evaluate$_compileContext; t4.moveNext$0();) {
  72854. t5 = t4.get$current(t4);
  72855. t3.$indexSet(0, new A.SassString(t5._0, true), new A.SassMixin(t5._1, t1));
  72856. }
  72857. return new A.SassMap(A.ConstantMap_ConstantMap$from(t3, t2, t2));
  72858. },
  72859. $signature: 38
  72860. };
  72861. A._EvaluateVisitor_closure20.prototype = {
  72862. call$1($arguments) {
  72863. var module, t2, callable,
  72864. t1 = J.getInterceptor$asx($arguments),
  72865. $name = t1.$index($arguments, 0).assertString$1("name"),
  72866. css = t1.$index($arguments, 1).get$isTruthy();
  72867. t1 = t1.$index($arguments, 2).get$realNull();
  72868. module = t1 == null ? null : t1.assertString$1("module");
  72869. if (css) {
  72870. if (module != null)
  72871. throw A.wrapException(string$.x24css_a);
  72872. return new A.SassFunction(new A.PlainCssCallable($name._string$_text), this.$this._async_evaluate$_compileContext);
  72873. }
  72874. t1 = this.$this;
  72875. t2 = t1._async_evaluate$_callableNode;
  72876. t2.toString;
  72877. callable = t1._async_evaluate$_addExceptionSpan$2(t2, new A._EvaluateVisitor__closure6(t1, $name, module));
  72878. if (callable == null)
  72879. throw A.wrapException("Function not found: " + $name.toString$0(0));
  72880. return new A.SassFunction(callable, t1._async_evaluate$_compileContext);
  72881. },
  72882. $signature: 167
  72883. };
  72884. A._EvaluateVisitor__closure6.prototype = {
  72885. call$0() {
  72886. var local,
  72887. normalizedName = A.stringReplaceAllUnchecked(this.name._string$_text, "_", "-"),
  72888. t1 = this.module,
  72889. namespace = t1 == null ? null : t1._string$_text;
  72890. t1 = this.$this;
  72891. local = t1._async_evaluate$_environment.getFunction$2$namespace(normalizedName, namespace);
  72892. if (local != null || namespace != null)
  72893. return local;
  72894. return t1._async_evaluate$_builtInFunctions.$index(0, normalizedName);
  72895. },
  72896. $signature: 100
  72897. };
  72898. A._EvaluateVisitor_closure21.prototype = {
  72899. call$1($arguments) {
  72900. var module, t2, callable,
  72901. t1 = J.getInterceptor$asx($arguments),
  72902. $name = t1.$index($arguments, 0).assertString$1("name");
  72903. t1 = t1.$index($arguments, 1).get$realNull();
  72904. module = t1 == null ? null : t1.assertString$1("module");
  72905. t1 = this.$this;
  72906. t2 = t1._async_evaluate$_callableNode;
  72907. t2.toString;
  72908. callable = t1._async_evaluate$_addExceptionSpan$2(t2, new A._EvaluateVisitor__closure5(t1, $name, module));
  72909. if (callable == null)
  72910. throw A.wrapException("Mixin not found: " + $name.toString$0(0));
  72911. return new A.SassMixin(callable, t1._async_evaluate$_compileContext);
  72912. },
  72913. $signature: 168
  72914. };
  72915. A._EvaluateVisitor__closure5.prototype = {
  72916. call$0() {
  72917. var t1 = this.$this._async_evaluate$_environment,
  72918. t2 = A.stringReplaceAllUnchecked(this.name._string$_text, "_", "-"),
  72919. t3 = this.module;
  72920. return t1.getMixin$2$namespace(t2, t3 == null ? null : t3._string$_text);
  72921. },
  72922. $signature: 100
  72923. };
  72924. A._EvaluateVisitor_closure22.prototype = {
  72925. call$1($arguments) {
  72926. return this.$call$body$_EvaluateVisitor_closure1($arguments);
  72927. },
  72928. $call$body$_EvaluateVisitor_closure1($arguments) {
  72929. var $async$goto = 0,
  72930. $async$completer = A._makeAsyncAwaitCompleter(type$.Value),
  72931. $async$returnValue, $async$self = this, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, invocation, callableNode, t1, $function, args;
  72932. var $async$call$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  72933. if ($async$errorCode === 1)
  72934. return A._asyncRethrow($async$result, $async$completer);
  72935. while (true)
  72936. switch ($async$goto) {
  72937. case 0:
  72938. // Function start
  72939. t1 = J.getInterceptor$asx($arguments);
  72940. $function = t1.$index($arguments, 0);
  72941. args = type$.SassArgumentList._as(t1.$index($arguments, 1));
  72942. t1 = $async$self.$this;
  72943. t2 = t1._async_evaluate$_callableNode;
  72944. t2.toString;
  72945. t3 = A._setArrayType([], type$.JSArray_Expression);
  72946. t4 = type$.String;
  72947. t5 = type$.Expression;
  72948. t6 = t2.get$span(t2);
  72949. t7 = t2.get$span(t2);
  72950. args._wereKeywordsAccessed = true;
  72951. t8 = args._keywords;
  72952. if (t8.get$isEmpty(t8))
  72953. t2 = null;
  72954. else {
  72955. t9 = type$.Value;
  72956. t10 = A.LinkedHashMap_LinkedHashMap$_empty(t9, t9);
  72957. for (args._wereKeywordsAccessed = true, t8 = A.MapExtensions_get_pairs(t8, t4, t9), t8 = t8.get$iterator(t8); t8.moveNext$0();) {
  72958. t11 = t8.get$current(t8);
  72959. t10.$indexSet(0, new A.SassString(t11._0, false), t11._1);
  72960. }
  72961. t2 = new A.ValueExpression(new A.SassMap(A.ConstantMap_ConstantMap$from(t10, t9, t9)), t2.get$span(t2));
  72962. }
  72963. invocation = new A.ArgumentList(A.List_List$unmodifiable(t3, t5), A.ConstantMap_ConstantMap$from(A.LinkedHashMap_LinkedHashMap$_empty(t4, t5), t4, t5), new A.ValueExpression(args, t7), t2, t6);
  72964. $async$goto = $function instanceof A.SassString ? 3 : 4;
  72965. break;
  72966. case 3:
  72967. // then
  72968. A.warnForDeprecation(string$.Passina + $function.toString$0(0) + "))", B.Deprecation_dAn);
  72969. callableNode = t1._async_evaluate$_callableNode;
  72970. t2 = $function._string$_text;
  72971. t3 = callableNode.get$span(callableNode);
  72972. t1 = t1.visitFunctionExpression$1(0, new A.FunctionExpression(null, A.stringReplaceAllUnchecked(t2, "_", "-"), t2, invocation, t3));
  72973. $async$goto = 5;
  72974. return A._asyncAwait(type$.Future_Value._is(t1) ? t1 : A._Future$value(t1, type$.Value), $async$call$1);
  72975. case 5:
  72976. // returning from await.
  72977. $async$returnValue = $async$result;
  72978. // goto return
  72979. $async$goto = 1;
  72980. break;
  72981. case 4:
  72982. // join
  72983. t2 = $function.assertFunction$1("function").assertCompileContext$1(t1._async_evaluate$_compileContext);
  72984. t3 = t1._async_evaluate$_callableNode;
  72985. t3.toString;
  72986. $async$goto = 6;
  72987. return A._asyncAwait(t1._async_evaluate$_runFunctionCallable$3(invocation, t2.callable, t3), $async$call$1);
  72988. case 6:
  72989. // returning from await.
  72990. t3 = $async$result;
  72991. $async$returnValue = t3;
  72992. // goto return
  72993. $async$goto = 1;
  72994. break;
  72995. case 1:
  72996. // return
  72997. return A._asyncReturn($async$returnValue, $async$completer);
  72998. }
  72999. });
  73000. return A._asyncStartSync($async$call$1, $async$completer);
  73001. },
  73002. $signature: 187
  73003. };
  73004. A._EvaluateVisitor_closure23.prototype = {
  73005. call$1($arguments) {
  73006. return this.$call$body$_EvaluateVisitor_closure0($arguments);
  73007. },
  73008. $call$body$_EvaluateVisitor_closure0($arguments) {
  73009. var $async$goto = 0,
  73010. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  73011. $async$self = this, withMap, t2, values, configuration, t3, t1, url;
  73012. var $async$call$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  73013. if ($async$errorCode === 1)
  73014. return A._asyncRethrow($async$result, $async$completer);
  73015. while (true)
  73016. switch ($async$goto) {
  73017. case 0:
  73018. // Function start
  73019. t1 = J.getInterceptor$asx($arguments);
  73020. url = A.Uri_parse(t1.$index($arguments, 0).assertString$1("url")._string$_text);
  73021. t1 = t1.$index($arguments, 1).get$realNull();
  73022. withMap = t1 == null ? null : t1.assertMap$1("with")._map$_contents;
  73023. t1 = $async$self.$this;
  73024. t2 = t1._async_evaluate$_callableNode;
  73025. t2.toString;
  73026. if (withMap != null) {
  73027. values = A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.ConfiguredValue);
  73028. withMap.forEach$1(0, new A._EvaluateVisitor__closure3(values, t2.get$span(t2), t2));
  73029. configuration = new A.ExplicitConfiguration(t2, values, null);
  73030. } else
  73031. configuration = B.Configuration_Map_empty_null;
  73032. t3 = t2.get$span(t2);
  73033. $async$goto = 2;
  73034. return A._asyncAwait(t1._async_evaluate$_loadModule$7$baseUrl$configuration$namesInErrors(url, "load-css()", t2, new A._EvaluateVisitor__closure4(t1), t3.get$sourceUrl(t3), configuration, true), $async$call$1);
  73035. case 2:
  73036. // returning from await.
  73037. t1._async_evaluate$_assertConfigurationIsEmpty$2$nameInError(configuration, true);
  73038. // implicit return
  73039. return A._asyncReturn(null, $async$completer);
  73040. }
  73041. });
  73042. return A._asyncStartSync($async$call$1, $async$completer);
  73043. },
  73044. $signature: 169
  73045. };
  73046. A._EvaluateVisitor__closure3.prototype = {
  73047. call$2(variable, value) {
  73048. var t1 = variable.assertString$1("with key"),
  73049. $name = A.stringReplaceAllUnchecked(t1._string$_text, "_", "-");
  73050. t1 = this.values;
  73051. if (t1.containsKey$1($name))
  73052. throw A.wrapException("The variable $" + $name + " was configured twice.");
  73053. t1.$indexSet(0, $name, new A.ConfiguredValue(value, this.span, this.callableNode));
  73054. },
  73055. $signature: 101
  73056. };
  73057. A._EvaluateVisitor__closure4.prototype = {
  73058. call$2(module, _) {
  73059. var t1 = this.$this;
  73060. return t1._async_evaluate$_combineCss$2$clone(module, true).accept$1(t1);
  73061. },
  73062. $signature: 360
  73063. };
  73064. A._EvaluateVisitor_closure24.prototype = {
  73065. call$1($arguments) {
  73066. return this.$call$body$_EvaluateVisitor_closure($arguments);
  73067. },
  73068. $call$body$_EvaluateVisitor_closure($arguments) {
  73069. var $async$goto = 0,
  73070. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  73071. $async$self = this, callableNode, t2, t3, t4, t5, t1, mixin, args;
  73072. var $async$call$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  73073. if ($async$errorCode === 1)
  73074. return A._asyncRethrow($async$result, $async$completer);
  73075. while (true)
  73076. switch ($async$goto) {
  73077. case 0:
  73078. // Function start
  73079. t1 = J.getInterceptor$asx($arguments);
  73080. mixin = t1.$index($arguments, 0);
  73081. args = type$.SassArgumentList._as(t1.$index($arguments, 1));
  73082. t1 = $async$self.$this;
  73083. callableNode = t1._async_evaluate$_callableNode;
  73084. t2 = callableNode.get$span(callableNode);
  73085. t3 = callableNode.get$span(callableNode);
  73086. t4 = type$.Expression;
  73087. t5 = A.List_List$unmodifiable(B.List_empty9, t4);
  73088. t4 = A.ConstantMap_ConstantMap$from(B.Map_empty4, type$.String, t4);
  73089. $async$goto = 2;
  73090. return A._asyncAwait(t1._async_evaluate$_applyMixin$5(mixin.assertMixin$1("mixin").assertCompileContext$1(t1._async_evaluate$_compileContext).callable, t1._async_evaluate$_environment._async_environment$_content, new A.ArgumentList(t5, t4, new A.ValueExpression(args, t3), null, t2), callableNode, callableNode), $async$call$1);
  73091. case 2:
  73092. // returning from await.
  73093. // implicit return
  73094. return A._asyncReturn(null, $async$completer);
  73095. }
  73096. });
  73097. return A._asyncStartSync($async$call$1, $async$completer);
  73098. },
  73099. $signature: 169
  73100. };
  73101. A._EvaluateVisitor_run_closure0.prototype = {
  73102. call$0() {
  73103. var $async$goto = 0,
  73104. $async$completer = A._makeAsyncAwaitCompleter(type$.Record_2_Set_Uri_loadedUrls_and_CssStylesheet_stylesheet),
  73105. $async$returnValue, $async$self = this, module, t1, t2, _0_0, url;
  73106. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  73107. if ($async$errorCode === 1)
  73108. return A._asyncRethrow($async$result, $async$completer);
  73109. while (true)
  73110. switch ($async$goto) {
  73111. case 0:
  73112. // Function start
  73113. t1 = $async$self.node;
  73114. t2 = t1.span;
  73115. _0_0 = t2.get$sourceUrl(t2);
  73116. url = null;
  73117. if (_0_0 != null) {
  73118. url = _0_0;
  73119. t2 = $async$self.$this;
  73120. t2._async_evaluate$_activeModules.$indexSet(0, url, null);
  73121. t2._async_evaluate$_loadedUrls.add$1(0, url);
  73122. }
  73123. t2 = $async$self.$this;
  73124. $async$goto = 3;
  73125. return A._asyncAwait(t2._async_evaluate$_addExceptionTrace$1$1(new A._EvaluateVisitor_run__closure0(t2, $async$self.importer, t1), type$.Module_AsyncCallable), $async$call$0);
  73126. case 3:
  73127. // returning from await.
  73128. module = $async$result;
  73129. $async$returnValue = new A._Record_2_loadedUrls_stylesheet(t2._async_evaluate$_loadedUrls, t2._async_evaluate$_combineCss$1(module));
  73130. // goto return
  73131. $async$goto = 1;
  73132. break;
  73133. case 1:
  73134. // return
  73135. return A._asyncReturn($async$returnValue, $async$completer);
  73136. }
  73137. });
  73138. return A._asyncStartSync($async$call$0, $async$completer);
  73139. },
  73140. $signature: 361
  73141. };
  73142. A._EvaluateVisitor_run__closure0.prototype = {
  73143. call$0() {
  73144. return this.$this._async_evaluate$_execute$2(this.importer, this.node);
  73145. },
  73146. $signature: 367
  73147. };
  73148. A._EvaluateVisitor__loadModule_closure1.prototype = {
  73149. call$0() {
  73150. return this.callback.call$2(this._box_0.builtInModule, false);
  73151. },
  73152. $signature: 0
  73153. };
  73154. A._EvaluateVisitor__loadModule_closure2.prototype = {
  73155. call$0() {
  73156. return this.$call$body$_EvaluateVisitor__loadModule_closure();
  73157. },
  73158. $call$body$_EvaluateVisitor__loadModule_closure() {
  73159. var $async$goto = 0,
  73160. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  73161. $async$handler = 1, $async$errorStack = [], $async$next = [], $async$self = this, canonicalUrl, oldInDependency, isDependency, t4, message, t1, stylesheet, importer, t2, t3, _1_0, $async$temp1;
  73162. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  73163. if ($async$errorCode === 1) {
  73164. $async$errorStack.push($async$result);
  73165. $async$goto = $async$handler;
  73166. }
  73167. while (true)
  73168. switch ($async$goto) {
  73169. case 0:
  73170. // Function start
  73171. t1 = {};
  73172. stylesheet = null;
  73173. importer = null;
  73174. t2 = $async$self.$this;
  73175. t3 = $async$self.nodeWithSpan;
  73176. $async$goto = 2;
  73177. return A._asyncAwait(t2._async_evaluate$_loadStylesheet$3$baseUrl($async$self.url.toString$0(0), t3.get$span(t3), $async$self.baseUrl), $async$call$0);
  73178. case 2:
  73179. // returning from await.
  73180. _1_0 = $async$result;
  73181. stylesheet = _1_0._0;
  73182. importer = _1_0._1;
  73183. isDependency = _1_0._2;
  73184. t4 = stylesheet.span;
  73185. canonicalUrl = t4.get$sourceUrl(t4);
  73186. if (canonicalUrl != null) {
  73187. t4 = t2._async_evaluate$_activeModules;
  73188. if (t4.containsKey$1(canonicalUrl)) {
  73189. message = $async$self.namesInErrors ? "Module loop: " + $.$get$context().prettyUri$1(canonicalUrl) + " is already being loaded." : string$.Modulel;
  73190. t1 = A.NullableExtension_andThen(t4.$index(0, canonicalUrl), new A._EvaluateVisitor__loadModule__closure1(t2, message));
  73191. throw A.wrapException(t1 == null ? t2._async_evaluate$_exception$1(message) : t1);
  73192. } else
  73193. t4.$indexSet(0, canonicalUrl, t3);
  73194. }
  73195. t4 = t2._async_evaluate$_modules.containsKey$1(canonicalUrl);
  73196. oldInDependency = t2._async_evaluate$_inDependency;
  73197. t2._async_evaluate$_inDependency = isDependency;
  73198. t1.module = null;
  73199. $async$handler = 3;
  73200. $async$temp1 = t1;
  73201. $async$goto = 6;
  73202. return A._asyncAwait(t2._async_evaluate$_execute$5$configuration$namesInErrors$nodeWithSpan(importer, stylesheet, $async$self.configuration, $async$self.namesInErrors, t3), $async$call$0);
  73203. case 6:
  73204. // returning from await.
  73205. $async$temp1.module = $async$result;
  73206. $async$next.push(5);
  73207. // goto finally
  73208. $async$goto = 4;
  73209. break;
  73210. case 3:
  73211. // uncaught
  73212. $async$next = [1];
  73213. case 4:
  73214. // finally
  73215. $async$handler = 1;
  73216. t2._async_evaluate$_activeModules.remove$1(0, canonicalUrl);
  73217. t2._async_evaluate$_inDependency = oldInDependency;
  73218. // goto the next finally handler
  73219. $async$goto = $async$next.pop();
  73220. break;
  73221. case 5:
  73222. // after finally
  73223. $async$goto = 7;
  73224. return A._asyncAwait(t2._addExceptionSpanAsync$1$3$addStackFrame(t3, new A._EvaluateVisitor__loadModule__closure2(t1, $async$self.callback, !t4), false, type$.void), $async$call$0);
  73225. case 7:
  73226. // returning from await.
  73227. // implicit return
  73228. return A._asyncReturn(null, $async$completer);
  73229. case 1:
  73230. // rethrow
  73231. return A._asyncRethrow($async$errorStack.at(-1), $async$completer);
  73232. }
  73233. });
  73234. return A._asyncStartSync($async$call$0, $async$completer);
  73235. },
  73236. $signature: 2
  73237. };
  73238. A._EvaluateVisitor__loadModule__closure1.prototype = {
  73239. call$1(previousLoad) {
  73240. 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));
  73241. },
  73242. $signature: 85
  73243. };
  73244. A._EvaluateVisitor__loadModule__closure2.prototype = {
  73245. call$0() {
  73246. return this.callback.call$2(this._box_1.module, this.firstLoad);
  73247. },
  73248. $signature: 0
  73249. };
  73250. A._EvaluateVisitor__execute_closure0.prototype = {
  73251. call$0() {
  73252. var $async$goto = 0,
  73253. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  73254. $async$self = this, t3, t4, t5, t6, t1, oldImporter, oldStylesheet, oldRoot, oldPreModuleComments, oldParent, oldEndOfImports, oldOutOfOrderImports, oldExtensionStore, t2, oldStyleRule, oldMediaQueries, oldDeclarationName, oldInUnknownAtRule, oldInKeyframes, oldConfiguration;
  73255. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  73256. if ($async$errorCode === 1)
  73257. return A._asyncRethrow($async$result, $async$completer);
  73258. while (true)
  73259. switch ($async$goto) {
  73260. case 0:
  73261. // Function start
  73262. t1 = $async$self.$this;
  73263. oldImporter = t1._async_evaluate$_importer;
  73264. oldStylesheet = t1._async_evaluate$__stylesheet;
  73265. oldRoot = t1._async_evaluate$__root;
  73266. oldPreModuleComments = t1._async_evaluate$_preModuleComments;
  73267. oldParent = t1._async_evaluate$__parent;
  73268. oldEndOfImports = t1._async_evaluate$__endOfImports;
  73269. oldOutOfOrderImports = t1._async_evaluate$_outOfOrderImports;
  73270. oldExtensionStore = t1._async_evaluate$__extensionStore;
  73271. t2 = t1._async_evaluate$_atRootExcludingStyleRule;
  73272. oldStyleRule = t2 ? null : t1._async_evaluate$_styleRuleIgnoringAtRoot;
  73273. oldMediaQueries = t1._async_evaluate$_mediaQueries;
  73274. oldDeclarationName = t1._async_evaluate$_declarationName;
  73275. oldInUnknownAtRule = t1._async_evaluate$_inUnknownAtRule;
  73276. oldInKeyframes = t1._async_evaluate$_inKeyframes;
  73277. oldConfiguration = t1._async_evaluate$_configuration;
  73278. t1._async_evaluate$_importer = $async$self.importer;
  73279. t3 = t1._async_evaluate$__stylesheet = $async$self.stylesheet;
  73280. t4 = t3.span;
  73281. t5 = t1._async_evaluate$__parent = t1._async_evaluate$__root = A.ModifiableCssStylesheet$(t4);
  73282. t1._async_evaluate$__endOfImports = 0;
  73283. t1._async_evaluate$_outOfOrderImports = null;
  73284. t1._async_evaluate$__extensionStore = $async$self.extensionStore;
  73285. t1._async_evaluate$_declarationName = t1._async_evaluate$_mediaQueries = t1._async_evaluate$_styleRuleIgnoringAtRoot = null;
  73286. t1._async_evaluate$_inKeyframes = t1._async_evaluate$_atRootExcludingStyleRule = t1._async_evaluate$_inUnknownAtRule = false;
  73287. t6 = $async$self.configuration;
  73288. if (t6 != null)
  73289. t1._async_evaluate$_configuration = t6;
  73290. $async$goto = 2;
  73291. return A._asyncAwait(t1.visitStylesheet$1(0, t3), $async$call$0);
  73292. case 2:
  73293. // returning from await.
  73294. t3 = t1._async_evaluate$_outOfOrderImports == null ? t5 : new A.CssStylesheet(new A.UnmodifiableListView(t1._async_evaluate$_addOutOfOrderImports$0(), type$.UnmodifiableListView_CssNode), t4);
  73295. $async$self.css.__late_helper$_value = t3;
  73296. $async$self.preModuleComments.__late_helper$_value = t1._async_evaluate$_preModuleComments;
  73297. t1._async_evaluate$_importer = oldImporter;
  73298. t1._async_evaluate$__stylesheet = oldStylesheet;
  73299. t1._async_evaluate$__root = oldRoot;
  73300. t1._async_evaluate$_preModuleComments = oldPreModuleComments;
  73301. t1._async_evaluate$__parent = oldParent;
  73302. t1._async_evaluate$__endOfImports = oldEndOfImports;
  73303. t1._async_evaluate$_outOfOrderImports = oldOutOfOrderImports;
  73304. t1._async_evaluate$__extensionStore = oldExtensionStore;
  73305. t1._async_evaluate$_styleRuleIgnoringAtRoot = oldStyleRule;
  73306. t1._async_evaluate$_mediaQueries = oldMediaQueries;
  73307. t1._async_evaluate$_declarationName = oldDeclarationName;
  73308. t1._async_evaluate$_inUnknownAtRule = oldInUnknownAtRule;
  73309. t1._async_evaluate$_atRootExcludingStyleRule = t2;
  73310. t1._async_evaluate$_inKeyframes = oldInKeyframes;
  73311. t1._async_evaluate$_configuration = oldConfiguration;
  73312. // implicit return
  73313. return A._asyncReturn(null, $async$completer);
  73314. }
  73315. });
  73316. return A._asyncStartSync($async$call$0, $async$completer);
  73317. },
  73318. $signature: 2
  73319. };
  73320. A._EvaluateVisitor__combineCss_closure1.prototype = {
  73321. call$1(module) {
  73322. return module.get$transitivelyContainsCss();
  73323. },
  73324. $signature: 130
  73325. };
  73326. A._EvaluateVisitor__combineCss_closure2.prototype = {
  73327. call$1(target) {
  73328. return !this.selectors.contains$1(0, target);
  73329. },
  73330. $signature: 13
  73331. };
  73332. A._EvaluateVisitor__combineCss_visitModule0.prototype = {
  73333. call$1(module) {
  73334. var t1, t2, t3, t4, _i, upstream, _1_0, statements, index, _this = this;
  73335. if (!_this.seen.add$1(0, module))
  73336. return;
  73337. if (_this.clone)
  73338. module = module.cloneCss$0();
  73339. for (t1 = module.get$upstream(), t2 = t1.length, t3 = _this.css, t4 = _this.imports, _i = 0; _i < t1.length; t1.length === t2 || (0, A.throwConcurrentModificationError)(t1), ++_i) {
  73340. upstream = t1[_i];
  73341. if (upstream.get$transitivelyContainsCss()) {
  73342. _1_0 = module.get$preModuleComments().$index(0, upstream);
  73343. if (_1_0 != null)
  73344. B.JSArray_methods.addAll$1(t3.length === 0 ? t4 : t3, _1_0);
  73345. _this.call$1(upstream);
  73346. }
  73347. }
  73348. _this.sorted.addFirst$1(module);
  73349. t1 = module.get$css(module);
  73350. statements = t1.get$children(t1);
  73351. index = _this.$this._async_evaluate$_indexAfterImports$1(statements);
  73352. t1 = J.getInterceptor$ax(statements);
  73353. B.JSArray_methods.addAll$1(t4, t1.getRange$2(statements, 0, index));
  73354. B.JSArray_methods.addAll$1(t3, t1.getRange$2(statements, index, t1.get$length(statements)));
  73355. },
  73356. $signature: 389
  73357. };
  73358. A._EvaluateVisitor__extendModules_closure1.prototype = {
  73359. call$1(target) {
  73360. return !this.originalSelectors.contains$1(0, target);
  73361. },
  73362. $signature: 13
  73363. };
  73364. A._EvaluateVisitor__extendModules_closure2.prototype = {
  73365. call$0() {
  73366. return A._setArrayType([], type$.JSArray_ExtensionStore);
  73367. },
  73368. $signature: 141
  73369. };
  73370. A._EvaluateVisitor_visitAtRootRule_closure1.prototype = {
  73371. call$0() {
  73372. var $async$goto = 0,
  73373. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  73374. $async$self = this, t1, t2, t3, _i;
  73375. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  73376. if ($async$errorCode === 1)
  73377. return A._asyncRethrow($async$result, $async$completer);
  73378. while (true)
  73379. switch ($async$goto) {
  73380. case 0:
  73381. // Function start
  73382. t1 = $async$self.node.children, t2 = t1.length, t3 = $async$self.$this, _i = 0;
  73383. case 2:
  73384. // for condition
  73385. if (!(_i < t2)) {
  73386. // goto after for
  73387. $async$goto = 4;
  73388. break;
  73389. }
  73390. $async$goto = 5;
  73391. return A._asyncAwait(t1[_i].accept$1(t3), $async$call$0);
  73392. case 5:
  73393. // returning from await.
  73394. case 3:
  73395. // for update
  73396. ++_i;
  73397. // goto for condition
  73398. $async$goto = 2;
  73399. break;
  73400. case 4:
  73401. // after for
  73402. // implicit return
  73403. return A._asyncReturn(null, $async$completer);
  73404. }
  73405. });
  73406. return A._asyncStartSync($async$call$0, $async$completer);
  73407. },
  73408. $signature: 2
  73409. };
  73410. A._EvaluateVisitor_visitAtRootRule_closure2.prototype = {
  73411. call$0() {
  73412. var $async$goto = 0,
  73413. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  73414. $async$self = this, t1, t2, t3, _i;
  73415. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  73416. if ($async$errorCode === 1)
  73417. return A._asyncRethrow($async$result, $async$completer);
  73418. while (true)
  73419. switch ($async$goto) {
  73420. case 0:
  73421. // Function start
  73422. t1 = $async$self.node.children, t2 = t1.length, t3 = $async$self.$this, _i = 0;
  73423. case 2:
  73424. // for condition
  73425. if (!(_i < t2)) {
  73426. // goto after for
  73427. $async$goto = 4;
  73428. break;
  73429. }
  73430. $async$goto = 5;
  73431. return A._asyncAwait(t1[_i].accept$1(t3), $async$call$0);
  73432. case 5:
  73433. // returning from await.
  73434. case 3:
  73435. // for update
  73436. ++_i;
  73437. // goto for condition
  73438. $async$goto = 2;
  73439. break;
  73440. case 4:
  73441. // after for
  73442. // implicit return
  73443. return A._asyncReturn(null, $async$completer);
  73444. }
  73445. });
  73446. return A._asyncStartSync($async$call$0, $async$completer);
  73447. },
  73448. $signature: 32
  73449. };
  73450. A._EvaluateVisitor__scopeForAtRoot_closure5.prototype = {
  73451. call$1(callback) {
  73452. return this.$call$body$_EvaluateVisitor__scopeForAtRoot_closure2(callback);
  73453. },
  73454. $call$body$_EvaluateVisitor__scopeForAtRoot_closure2(callback) {
  73455. var $async$goto = 0,
  73456. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  73457. $async$self = this, t1, oldParent;
  73458. var $async$call$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  73459. if ($async$errorCode === 1)
  73460. return A._asyncRethrow($async$result, $async$completer);
  73461. while (true)
  73462. switch ($async$goto) {
  73463. case 0:
  73464. // Function start
  73465. t1 = $async$self.$this;
  73466. oldParent = t1._async_evaluate$_assertInModule$2(t1._async_evaluate$__parent, "__parent");
  73467. t1._async_evaluate$__parent = $async$self.newParent;
  73468. $async$goto = 2;
  73469. return A._asyncAwait(t1._async_evaluate$_environment.scope$1$2$when(callback, $async$self.node.hasDeclarations, type$.void), $async$call$1);
  73470. case 2:
  73471. // returning from await.
  73472. t1._async_evaluate$__parent = oldParent;
  73473. // implicit return
  73474. return A._asyncReturn(null, $async$completer);
  73475. }
  73476. });
  73477. return A._asyncStartSync($async$call$1, $async$completer);
  73478. },
  73479. $signature: 40
  73480. };
  73481. A._EvaluateVisitor__scopeForAtRoot_closure6.prototype = {
  73482. call$1(callback) {
  73483. return this.$call$body$_EvaluateVisitor__scopeForAtRoot_closure1(callback);
  73484. },
  73485. $call$body$_EvaluateVisitor__scopeForAtRoot_closure1(callback) {
  73486. var $async$goto = 0,
  73487. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  73488. $async$self = this, t1, oldAtRootExcludingStyleRule;
  73489. var $async$call$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  73490. if ($async$errorCode === 1)
  73491. return A._asyncRethrow($async$result, $async$completer);
  73492. while (true)
  73493. switch ($async$goto) {
  73494. case 0:
  73495. // Function start
  73496. t1 = $async$self.$this;
  73497. oldAtRootExcludingStyleRule = t1._async_evaluate$_atRootExcludingStyleRule;
  73498. t1._async_evaluate$_atRootExcludingStyleRule = true;
  73499. $async$goto = 2;
  73500. return A._asyncAwait($async$self.innerScope.call$1(callback), $async$call$1);
  73501. case 2:
  73502. // returning from await.
  73503. t1._async_evaluate$_atRootExcludingStyleRule = oldAtRootExcludingStyleRule;
  73504. // implicit return
  73505. return A._asyncReturn(null, $async$completer);
  73506. }
  73507. });
  73508. return A._asyncStartSync($async$call$1, $async$completer);
  73509. },
  73510. $signature: 40
  73511. };
  73512. A._EvaluateVisitor__scopeForAtRoot_closure7.prototype = {
  73513. call$1(callback) {
  73514. return this.$this._async_evaluate$_withMediaQueries$1$3(null, null, new A._EvaluateVisitor__scopeForAtRoot__closure0(this.innerScope, callback), type$.Null);
  73515. },
  73516. $signature: 40
  73517. };
  73518. A._EvaluateVisitor__scopeForAtRoot__closure0.prototype = {
  73519. call$0() {
  73520. return this.innerScope.call$1(this.callback);
  73521. },
  73522. $signature: 2
  73523. };
  73524. A._EvaluateVisitor__scopeForAtRoot_closure8.prototype = {
  73525. call$1(callback) {
  73526. return this.$call$body$_EvaluateVisitor__scopeForAtRoot_closure0(callback);
  73527. },
  73528. $call$body$_EvaluateVisitor__scopeForAtRoot_closure0(callback) {
  73529. var $async$goto = 0,
  73530. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  73531. $async$self = this, t1, wasInKeyframes;
  73532. var $async$call$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  73533. if ($async$errorCode === 1)
  73534. return A._asyncRethrow($async$result, $async$completer);
  73535. while (true)
  73536. switch ($async$goto) {
  73537. case 0:
  73538. // Function start
  73539. t1 = $async$self.$this;
  73540. wasInKeyframes = t1._async_evaluate$_inKeyframes;
  73541. t1._async_evaluate$_inKeyframes = false;
  73542. $async$goto = 2;
  73543. return A._asyncAwait($async$self.innerScope.call$1(callback), $async$call$1);
  73544. case 2:
  73545. // returning from await.
  73546. t1._async_evaluate$_inKeyframes = wasInKeyframes;
  73547. // implicit return
  73548. return A._asyncReturn(null, $async$completer);
  73549. }
  73550. });
  73551. return A._asyncStartSync($async$call$1, $async$completer);
  73552. },
  73553. $signature: 40
  73554. };
  73555. A._EvaluateVisitor__scopeForAtRoot_closure9.prototype = {
  73556. call$1($parent) {
  73557. return $parent instanceof A.ModifiableCssAtRule;
  73558. },
  73559. $signature: 172
  73560. };
  73561. A._EvaluateVisitor__scopeForAtRoot_closure10.prototype = {
  73562. call$1(callback) {
  73563. return this.$call$body$_EvaluateVisitor__scopeForAtRoot_closure(callback);
  73564. },
  73565. $call$body$_EvaluateVisitor__scopeForAtRoot_closure(callback) {
  73566. var $async$goto = 0,
  73567. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  73568. $async$self = this, t1, wasInUnknownAtRule;
  73569. var $async$call$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  73570. if ($async$errorCode === 1)
  73571. return A._asyncRethrow($async$result, $async$completer);
  73572. while (true)
  73573. switch ($async$goto) {
  73574. case 0:
  73575. // Function start
  73576. t1 = $async$self.$this;
  73577. wasInUnknownAtRule = t1._async_evaluate$_inUnknownAtRule;
  73578. t1._async_evaluate$_inUnknownAtRule = false;
  73579. $async$goto = 2;
  73580. return A._asyncAwait($async$self.innerScope.call$1(callback), $async$call$1);
  73581. case 2:
  73582. // returning from await.
  73583. t1._async_evaluate$_inUnknownAtRule = wasInUnknownAtRule;
  73584. // implicit return
  73585. return A._asyncReturn(null, $async$completer);
  73586. }
  73587. });
  73588. return A._asyncStartSync($async$call$1, $async$completer);
  73589. },
  73590. $signature: 40
  73591. };
  73592. A._EvaluateVisitor_visitContentRule_closure0.prototype = {
  73593. call$0() {
  73594. var $async$goto = 0,
  73595. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  73596. $async$returnValue, $async$self = this, t1, t2, t3, _i;
  73597. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  73598. if ($async$errorCode === 1)
  73599. return A._asyncRethrow($async$result, $async$completer);
  73600. while (true)
  73601. switch ($async$goto) {
  73602. case 0:
  73603. // Function start
  73604. t1 = $async$self.content.declaration.children, t2 = t1.length, t3 = $async$self.$this, _i = 0;
  73605. case 3:
  73606. // for condition
  73607. if (!(_i < t2)) {
  73608. // goto after for
  73609. $async$goto = 5;
  73610. break;
  73611. }
  73612. $async$goto = 6;
  73613. return A._asyncAwait(t1[_i].accept$1(t3), $async$call$0);
  73614. case 6:
  73615. // returning from await.
  73616. case 4:
  73617. // for update
  73618. ++_i;
  73619. // goto for condition
  73620. $async$goto = 3;
  73621. break;
  73622. case 5:
  73623. // after for
  73624. $async$returnValue = null;
  73625. // goto return
  73626. $async$goto = 1;
  73627. break;
  73628. case 1:
  73629. // return
  73630. return A._asyncReturn($async$returnValue, $async$completer);
  73631. }
  73632. });
  73633. return A._asyncStartSync($async$call$0, $async$completer);
  73634. },
  73635. $signature: 2
  73636. };
  73637. A._EvaluateVisitor_visitDeclaration_closure0.prototype = {
  73638. call$0() {
  73639. var $async$goto = 0,
  73640. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  73641. $async$self = this, t1, t2, t3, _i;
  73642. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  73643. if ($async$errorCode === 1)
  73644. return A._asyncRethrow($async$result, $async$completer);
  73645. while (true)
  73646. switch ($async$goto) {
  73647. case 0:
  73648. // Function start
  73649. t1 = $async$self._box_0.children, t2 = t1.length, t3 = $async$self.$this, _i = 0;
  73650. case 2:
  73651. // for condition
  73652. if (!(_i < t2)) {
  73653. // goto after for
  73654. $async$goto = 4;
  73655. break;
  73656. }
  73657. $async$goto = 5;
  73658. return A._asyncAwait(t1[_i].accept$1(t3), $async$call$0);
  73659. case 5:
  73660. // returning from await.
  73661. case 3:
  73662. // for update
  73663. ++_i;
  73664. // goto for condition
  73665. $async$goto = 2;
  73666. break;
  73667. case 4:
  73668. // after for
  73669. // implicit return
  73670. return A._asyncReturn(null, $async$completer);
  73671. }
  73672. });
  73673. return A._asyncStartSync($async$call$0, $async$completer);
  73674. },
  73675. $signature: 2
  73676. };
  73677. A._EvaluateVisitor_visitEachRule_closure2.prototype = {
  73678. call$1(value) {
  73679. var t1 = this.$this,
  73680. t2 = this.nodeWithSpan;
  73681. return t1._async_evaluate$_environment.setLocalVariable$3(this._box_0.variable, t1._async_evaluate$_withoutSlash$2(value, t2), t2);
  73682. },
  73683. $signature: 61
  73684. };
  73685. A._EvaluateVisitor_visitEachRule_closure3.prototype = {
  73686. call$1(value) {
  73687. return this.$this._async_evaluate$_setMultipleVariables$3(this._box_1.variables, value, this.nodeWithSpan);
  73688. },
  73689. $signature: 61
  73690. };
  73691. A._EvaluateVisitor_visitEachRule_closure4.prototype = {
  73692. call$0() {
  73693. var _this = this,
  73694. t1 = _this.$this;
  73695. return t1._async_evaluate$_handleReturn$2(_this.list.get$asList(), new A._EvaluateVisitor_visitEachRule__closure0(t1, _this.setVariables, _this.node));
  73696. },
  73697. $signature: 68
  73698. };
  73699. A._EvaluateVisitor_visitEachRule__closure0.prototype = {
  73700. call$1(element) {
  73701. var t1;
  73702. this.setVariables.call$1(element);
  73703. t1 = this.$this;
  73704. return t1._async_evaluate$_handleReturn$2(this.node.children, new A._EvaluateVisitor_visitEachRule___closure0(t1));
  73705. },
  73706. $signature: 674
  73707. };
  73708. A._EvaluateVisitor_visitEachRule___closure0.prototype = {
  73709. call$1(child) {
  73710. return child.accept$1(this.$this);
  73711. },
  73712. $signature: 93
  73713. };
  73714. A._EvaluateVisitor_visitAtRule_closure2.prototype = {
  73715. call$1(value) {
  73716. return this.$this._async_evaluate$_interpolationToValue$3$trim$warnForColor(value, true, true);
  73717. },
  73718. $signature: 424
  73719. };
  73720. A._EvaluateVisitor_visitAtRule_closure3.prototype = {
  73721. call$0() {
  73722. var $async$goto = 0,
  73723. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  73724. $async$self = this, t2, t3, _i, t1, styleRule;
  73725. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  73726. if ($async$errorCode === 1)
  73727. return A._asyncRethrow($async$result, $async$completer);
  73728. while (true)
  73729. switch ($async$goto) {
  73730. case 0:
  73731. // Function start
  73732. t1 = $async$self.$this;
  73733. styleRule = t1._async_evaluate$_atRootExcludingStyleRule ? null : t1._async_evaluate$_styleRuleIgnoringAtRoot;
  73734. $async$goto = styleRule == null || t1._async_evaluate$_inKeyframes || J.$eq$($async$self.name.value, "font-face") ? 2 : 4;
  73735. break;
  73736. case 2:
  73737. // then
  73738. t2 = $async$self.children, t3 = t2.length, _i = 0;
  73739. case 5:
  73740. // for condition
  73741. if (!(_i < t3)) {
  73742. // goto after for
  73743. $async$goto = 7;
  73744. break;
  73745. }
  73746. $async$goto = 8;
  73747. return A._asyncAwait(t2[_i].accept$1(t1), $async$call$0);
  73748. case 8:
  73749. // returning from await.
  73750. case 6:
  73751. // for update
  73752. ++_i;
  73753. // goto for condition
  73754. $async$goto = 5;
  73755. break;
  73756. case 7:
  73757. // after for
  73758. // goto join
  73759. $async$goto = 3;
  73760. break;
  73761. case 4:
  73762. // else
  73763. $async$goto = 9;
  73764. return A._asyncAwait(t1._async_evaluate$_withParent$2$3$scopeWhen(A.ModifiableCssStyleRule$(styleRule._style_rule$_selector, styleRule.span, false, styleRule.originalSelector), new A._EvaluateVisitor_visitAtRule__closure0(t1, $async$self.children), false, type$.ModifiableCssStyleRule, type$.Null), $async$call$0);
  73765. case 9:
  73766. // returning from await.
  73767. case 3:
  73768. // join
  73769. // implicit return
  73770. return A._asyncReturn(null, $async$completer);
  73771. }
  73772. });
  73773. return A._asyncStartSync($async$call$0, $async$completer);
  73774. },
  73775. $signature: 2
  73776. };
  73777. A._EvaluateVisitor_visitAtRule__closure0.prototype = {
  73778. call$0() {
  73779. var $async$goto = 0,
  73780. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  73781. $async$self = this, t1, t2, t3, _i;
  73782. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  73783. if ($async$errorCode === 1)
  73784. return A._asyncRethrow($async$result, $async$completer);
  73785. while (true)
  73786. switch ($async$goto) {
  73787. case 0:
  73788. // Function start
  73789. t1 = $async$self.children, t2 = t1.length, t3 = $async$self.$this, _i = 0;
  73790. case 2:
  73791. // for condition
  73792. if (!(_i < t2)) {
  73793. // goto after for
  73794. $async$goto = 4;
  73795. break;
  73796. }
  73797. $async$goto = 5;
  73798. return A._asyncAwait(t1[_i].accept$1(t3), $async$call$0);
  73799. case 5:
  73800. // returning from await.
  73801. case 3:
  73802. // for update
  73803. ++_i;
  73804. // goto for condition
  73805. $async$goto = 2;
  73806. break;
  73807. case 4:
  73808. // after for
  73809. // implicit return
  73810. return A._asyncReturn(null, $async$completer);
  73811. }
  73812. });
  73813. return A._asyncStartSync($async$call$0, $async$completer);
  73814. },
  73815. $signature: 2
  73816. };
  73817. A._EvaluateVisitor_visitAtRule_closure4.prototype = {
  73818. call$1(node) {
  73819. return node instanceof A.ModifiableCssStyleRule;
  73820. },
  73821. $signature: 8
  73822. };
  73823. A._EvaluateVisitor_visitForRule_closure4.prototype = {
  73824. call$0() {
  73825. var $async$goto = 0,
  73826. $async$completer = A._makeAsyncAwaitCompleter(type$.SassNumber),
  73827. $async$returnValue, $async$self = this;
  73828. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  73829. if ($async$errorCode === 1)
  73830. return A._asyncRethrow($async$result, $async$completer);
  73831. while (true)
  73832. switch ($async$goto) {
  73833. case 0:
  73834. // Function start
  73835. $async$goto = 3;
  73836. return A._asyncAwait($async$self.node.from.accept$1($async$self.$this), $async$call$0);
  73837. case 3:
  73838. // returning from await.
  73839. $async$returnValue = $async$result.assertNumber$0();
  73840. // goto return
  73841. $async$goto = 1;
  73842. break;
  73843. case 1:
  73844. // return
  73845. return A._asyncReturn($async$returnValue, $async$completer);
  73846. }
  73847. });
  73848. return A._asyncStartSync($async$call$0, $async$completer);
  73849. },
  73850. $signature: 176
  73851. };
  73852. A._EvaluateVisitor_visitForRule_closure5.prototype = {
  73853. call$0() {
  73854. var $async$goto = 0,
  73855. $async$completer = A._makeAsyncAwaitCompleter(type$.SassNumber),
  73856. $async$returnValue, $async$self = this;
  73857. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  73858. if ($async$errorCode === 1)
  73859. return A._asyncRethrow($async$result, $async$completer);
  73860. while (true)
  73861. switch ($async$goto) {
  73862. case 0:
  73863. // Function start
  73864. $async$goto = 3;
  73865. return A._asyncAwait($async$self.node.to.accept$1($async$self.$this), $async$call$0);
  73866. case 3:
  73867. // returning from await.
  73868. $async$returnValue = $async$result.assertNumber$0();
  73869. // goto return
  73870. $async$goto = 1;
  73871. break;
  73872. case 1:
  73873. // return
  73874. return A._asyncReturn($async$returnValue, $async$completer);
  73875. }
  73876. });
  73877. return A._asyncStartSync($async$call$0, $async$completer);
  73878. },
  73879. $signature: 176
  73880. };
  73881. A._EvaluateVisitor_visitForRule_closure6.prototype = {
  73882. call$0() {
  73883. return this.fromNumber.assertInt$0();
  73884. },
  73885. $signature: 10
  73886. };
  73887. A._EvaluateVisitor_visitForRule_closure7.prototype = {
  73888. call$0() {
  73889. var t1 = this.fromNumber;
  73890. return this.toNumber.coerce$2(t1.get$numeratorUnits(t1), t1.get$denominatorUnits(t1)).assertInt$0();
  73891. },
  73892. $signature: 10
  73893. };
  73894. A._EvaluateVisitor_visitForRule_closure8.prototype = {
  73895. call$0() {
  73896. var $async$goto = 0,
  73897. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value),
  73898. $async$returnValue, $async$self = this, i, t3, t4, t5, t6, t7, t8, _0_0, t1, t2, nodeWithSpan;
  73899. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  73900. if ($async$errorCode === 1)
  73901. return A._asyncRethrow($async$result, $async$completer);
  73902. while (true)
  73903. switch ($async$goto) {
  73904. case 0:
  73905. // Function start
  73906. t1 = $async$self.$this;
  73907. t2 = $async$self.node;
  73908. nodeWithSpan = t1._async_evaluate$_expressionNode$1(t2.from);
  73909. i = $async$self.from, t3 = $async$self._box_0, t4 = $async$self.direction, t5 = t2.variable, t6 = $async$self.fromNumber, t2 = t2.children;
  73910. case 3:
  73911. // for condition
  73912. if (!(i !== t3.to)) {
  73913. // goto after for
  73914. $async$goto = 5;
  73915. break;
  73916. }
  73917. t7 = t1._async_evaluate$_environment;
  73918. t8 = t6.get$numeratorUnits(t6);
  73919. t7.setLocalVariable$3(t5, A.SassNumber_SassNumber$withUnits(i, t6.get$denominatorUnits(t6), t8), nodeWithSpan);
  73920. $async$goto = 6;
  73921. return A._asyncAwait(t1._async_evaluate$_handleReturn$2(t2, new A._EvaluateVisitor_visitForRule__closure0(t1)), $async$call$0);
  73922. case 6:
  73923. // returning from await.
  73924. _0_0 = $async$result;
  73925. if (_0_0 != null) {
  73926. $async$returnValue = _0_0;
  73927. // goto return
  73928. $async$goto = 1;
  73929. break;
  73930. }
  73931. case 4:
  73932. // for update
  73933. i += t4;
  73934. // goto for condition
  73935. $async$goto = 3;
  73936. break;
  73937. case 5:
  73938. // after for
  73939. $async$returnValue = null;
  73940. // goto return
  73941. $async$goto = 1;
  73942. break;
  73943. case 1:
  73944. // return
  73945. return A._asyncReturn($async$returnValue, $async$completer);
  73946. }
  73947. });
  73948. return A._asyncStartSync($async$call$0, $async$completer);
  73949. },
  73950. $signature: 68
  73951. };
  73952. A._EvaluateVisitor_visitForRule__closure0.prototype = {
  73953. call$1(child) {
  73954. return child.accept$1(this.$this);
  73955. },
  73956. $signature: 93
  73957. };
  73958. A._EvaluateVisitor_visitForwardRule_closure1.prototype = {
  73959. call$2(module, firstLoad) {
  73960. if (firstLoad)
  73961. this.$this._async_evaluate$_registerCommentsForModule$1(module);
  73962. this.$this._async_evaluate$_environment.forwardModule$2(module, this.node);
  73963. },
  73964. $signature: 119
  73965. };
  73966. A._EvaluateVisitor_visitForwardRule_closure2.prototype = {
  73967. call$2(module, firstLoad) {
  73968. if (firstLoad)
  73969. this.$this._async_evaluate$_registerCommentsForModule$1(module);
  73970. this.$this._async_evaluate$_environment.forwardModule$2(module, this.node);
  73971. },
  73972. $signature: 119
  73973. };
  73974. A._EvaluateVisitor__registerCommentsForModule_closure0.prototype = {
  73975. call$0() {
  73976. return A._setArrayType([], type$.JSArray_CssComment);
  73977. },
  73978. $signature: 177
  73979. };
  73980. A._EvaluateVisitor_visitIfRule_closure0.prototype = {
  73981. call$1(clause) {
  73982. var t1 = this.$this;
  73983. return t1._async_evaluate$_environment.scope$1$3$semiGlobal$when(new A._EvaluateVisitor_visitIfRule__closure0(t1, clause), true, clause.hasDeclarations, type$.nullable_Value);
  73984. },
  73985. $signature: 447
  73986. };
  73987. A._EvaluateVisitor_visitIfRule__closure0.prototype = {
  73988. call$0() {
  73989. var t1 = this.$this;
  73990. return t1._async_evaluate$_handleReturn$2(this.clause.children, new A._EvaluateVisitor_visitIfRule___closure0(t1));
  73991. },
  73992. $signature: 68
  73993. };
  73994. A._EvaluateVisitor_visitIfRule___closure0.prototype = {
  73995. call$1(child) {
  73996. return child.accept$1(this.$this);
  73997. },
  73998. $signature: 93
  73999. };
  74000. A._EvaluateVisitor__visitDynamicImport_closure0.prototype = {
  74001. call$0() {
  74002. return this.$call$body$_EvaluateVisitor__visitDynamicImport_closure();
  74003. },
  74004. $call$body$_EvaluateVisitor__visitDynamicImport_closure() {
  74005. var $async$goto = 0,
  74006. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  74007. $async$returnValue, $async$self = this, t1, t2, _0_0, stylesheet, importer, isDependency, t3, url, oldImporter, oldStylesheet, oldInDependency, loadsUserDefinedModules, children, t4, t5, t6, t7, t8, t9, t10, environment, module, visitor, _box_0;
  74008. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  74009. if ($async$errorCode === 1)
  74010. return A._asyncRethrow($async$result, $async$completer);
  74011. while (true)
  74012. switch ($async$goto) {
  74013. case 0:
  74014. // Function start
  74015. _box_0 = {};
  74016. _box_0.isDependency = _box_0.importer = _box_0.stylesheet = null;
  74017. t1 = $async$self.$this;
  74018. t2 = $async$self.$import;
  74019. $async$goto = 3;
  74020. return A._asyncAwait(t1._async_evaluate$_loadStylesheet$3$forImport(t2.urlString, t2.span, true), $async$call$0);
  74021. case 3:
  74022. // returning from await.
  74023. _0_0 = $async$result;
  74024. stylesheet = _box_0.stylesheet = _0_0._0;
  74025. importer = _0_0._1;
  74026. _box_0.importer = importer;
  74027. isDependency = _0_0._2;
  74028. _box_0.isDependency = isDependency;
  74029. t3 = stylesheet.span;
  74030. url = t3.get$sourceUrl(t3);
  74031. if (url != null) {
  74032. t3 = t1._async_evaluate$_activeModules;
  74033. if (t3.containsKey$1(url)) {
  74034. t2 = A.NullableExtension_andThen(t3.$index(0, url), new A._EvaluateVisitor__visitDynamicImport__closure3(t1));
  74035. throw A.wrapException(t2 == null ? t1._async_evaluate$_exception$1("This file is already being loaded.") : t2);
  74036. }
  74037. t3.$indexSet(0, url, t2);
  74038. }
  74039. t2 = stylesheet._uses;
  74040. t3 = type$.UnmodifiableListView_UseRule;
  74041. $async$goto = new A.UnmodifiableListView(t2, t3).get$length(0) === 0 && new A.UnmodifiableListView(stylesheet._forwards, type$.UnmodifiableListView_ForwardRule).get$length(0) === 0 ? 4 : 5;
  74042. break;
  74043. case 4:
  74044. // then
  74045. oldImporter = t1._async_evaluate$_importer;
  74046. oldStylesheet = t1._async_evaluate$_assertInModule$2(t1._async_evaluate$__stylesheet, "_stylesheet");
  74047. oldInDependency = t1._async_evaluate$_inDependency;
  74048. t1._async_evaluate$_importer = importer;
  74049. t1._async_evaluate$__stylesheet = stylesheet;
  74050. t1._async_evaluate$_inDependency = isDependency;
  74051. $async$goto = 6;
  74052. return A._asyncAwait(t1.visitStylesheet$1(0, stylesheet), $async$call$0);
  74053. case 6:
  74054. // returning from await.
  74055. t1._async_evaluate$_importer = oldImporter;
  74056. t1._async_evaluate$__stylesheet = oldStylesheet;
  74057. t1._async_evaluate$_inDependency = oldInDependency;
  74058. t1._async_evaluate$_activeModules.remove$1(0, url);
  74059. // goto return
  74060. $async$goto = 1;
  74061. break;
  74062. case 5:
  74063. // join
  74064. t2 = new A.UnmodifiableListView(t2, t3);
  74065. if (!t2.any$1(t2, new A._EvaluateVisitor__visitDynamicImport__closure4())) {
  74066. t2 = new A.UnmodifiableListView(stylesheet._forwards, type$.UnmodifiableListView_ForwardRule);
  74067. loadsUserDefinedModules = t2.any$1(t2, new A._EvaluateVisitor__visitDynamicImport__closure5());
  74068. } else
  74069. loadsUserDefinedModules = true;
  74070. children = A._Cell$();
  74071. t2 = t1._async_evaluate$_environment;
  74072. t3 = type$.String;
  74073. t4 = type$.Module_AsyncCallable;
  74074. t5 = type$.AstNode;
  74075. t6 = A._setArrayType([], type$.JSArray_Module_AsyncCallable);
  74076. t7 = t2._async_environment$_variables;
  74077. t7 = A._setArrayType(t7.slice(0), A._arrayInstanceType(t7));
  74078. t8 = t2._async_environment$_variableNodes;
  74079. t8 = A._setArrayType(t8.slice(0), A._arrayInstanceType(t8));
  74080. t9 = t2._async_environment$_functions;
  74081. t9 = A._setArrayType(t9.slice(0), A._arrayInstanceType(t9));
  74082. t10 = t2._async_environment$_mixins;
  74083. t10 = A._setArrayType(t10.slice(0), A._arrayInstanceType(t10));
  74084. 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);
  74085. $async$goto = 7;
  74086. return A._asyncAwait(t1._async_evaluate$_withEnvironment$1$2(environment, new A._EvaluateVisitor__visitDynamicImport__closure6(_box_0, t1, loadsUserDefinedModules, environment, children), type$.Null), $async$call$0);
  74087. case 7:
  74088. // returning from await.
  74089. module = environment.toDummyModule$0();
  74090. t1._async_evaluate$_environment.importForwards$1(module);
  74091. $async$goto = loadsUserDefinedModules ? 8 : 9;
  74092. break;
  74093. case 8:
  74094. // then
  74095. $async$goto = module.transitivelyContainsCss ? 10 : 11;
  74096. break;
  74097. case 10:
  74098. // then
  74099. $async$goto = 12;
  74100. return A._asyncAwait(t1._async_evaluate$_combineCss$2$clone(module, module.transitivelyContainsExtensions).accept$1(t1), $async$call$0);
  74101. case 12:
  74102. // returning from await.
  74103. case 11:
  74104. // join
  74105. visitor = new A._ImportedCssVisitor0(t1);
  74106. for (t2 = J.get$iterator$ax(children._readLocal$0()); t2.moveNext$0();)
  74107. t2.get$current(t2).accept$1(visitor);
  74108. case 9:
  74109. // join
  74110. t1._async_evaluate$_activeModules.remove$1(0, url);
  74111. case 1:
  74112. // return
  74113. return A._asyncReturn($async$returnValue, $async$completer);
  74114. }
  74115. });
  74116. return A._asyncStartSync($async$call$0, $async$completer);
  74117. },
  74118. $signature: 32
  74119. };
  74120. A._EvaluateVisitor__visitDynamicImport__closure3.prototype = {
  74121. call$1(previousLoad) {
  74122. 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));
  74123. },
  74124. $signature: 85
  74125. };
  74126. A._EvaluateVisitor__visitDynamicImport__closure4.prototype = {
  74127. call$1(rule) {
  74128. return rule.url.get$scheme() !== "sass";
  74129. },
  74130. $signature: 178
  74131. };
  74132. A._EvaluateVisitor__visitDynamicImport__closure5.prototype = {
  74133. call$1(rule) {
  74134. return rule.url.get$scheme() !== "sass";
  74135. },
  74136. $signature: 179
  74137. };
  74138. A._EvaluateVisitor__visitDynamicImport__closure6.prototype = {
  74139. call$0() {
  74140. var $async$goto = 0,
  74141. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  74142. $async$self = this, t3, t4, t1, oldImporter, oldStylesheet, oldRoot, oldParent, oldEndOfImports, oldOutOfOrderImports, oldConfiguration, oldInDependency, t2;
  74143. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  74144. if ($async$errorCode === 1)
  74145. return A._asyncRethrow($async$result, $async$completer);
  74146. while (true)
  74147. switch ($async$goto) {
  74148. case 0:
  74149. // Function start
  74150. t1 = $async$self.$this;
  74151. oldImporter = t1._async_evaluate$_importer;
  74152. oldStylesheet = t1._async_evaluate$_assertInModule$2(t1._async_evaluate$__stylesheet, "_stylesheet");
  74153. oldRoot = t1._async_evaluate$_assertInModule$2(t1._async_evaluate$__root, "_root");
  74154. oldParent = t1._async_evaluate$_assertInModule$2(t1._async_evaluate$__parent, "__parent");
  74155. oldEndOfImports = t1._async_evaluate$_assertInModule$2(t1._async_evaluate$__endOfImports, "_endOfImports");
  74156. oldOutOfOrderImports = t1._async_evaluate$_outOfOrderImports;
  74157. oldConfiguration = t1._async_evaluate$_configuration;
  74158. oldInDependency = t1._async_evaluate$_inDependency;
  74159. t2 = $async$self._box_0;
  74160. t1._async_evaluate$_importer = t2.importer;
  74161. t3 = t2.stylesheet;
  74162. t1._async_evaluate$__stylesheet = t3;
  74163. t4 = $async$self.loadsUserDefinedModules;
  74164. if (t4) {
  74165. t3 = A.ModifiableCssStylesheet$(t3.span);
  74166. t1._async_evaluate$__root = t3;
  74167. t1._async_evaluate$__parent = t1._async_evaluate$_assertInModule$2(t3, "_root");
  74168. t1._async_evaluate$__endOfImports = 0;
  74169. t1._async_evaluate$_outOfOrderImports = null;
  74170. }
  74171. t1._async_evaluate$_inDependency = t2.isDependency;
  74172. t3 = new A.UnmodifiableListView(t2.stylesheet._forwards, type$.UnmodifiableListView_ForwardRule);
  74173. if (!t3.get$isEmpty(t3))
  74174. t1._async_evaluate$_configuration = $async$self.environment.toImplicitConfiguration$0();
  74175. $async$goto = 2;
  74176. return A._asyncAwait(t1.visitStylesheet$1(0, t2.stylesheet), $async$call$0);
  74177. case 2:
  74178. // returning from await.
  74179. t2 = t4 ? t1._async_evaluate$_addOutOfOrderImports$0() : A._setArrayType([], type$.JSArray_ModifiableCssNode);
  74180. $async$self.children.__late_helper$_value = t2;
  74181. t1._async_evaluate$_importer = oldImporter;
  74182. t1._async_evaluate$__stylesheet = oldStylesheet;
  74183. if (t4) {
  74184. t1._async_evaluate$__root = oldRoot;
  74185. t1._async_evaluate$__parent = oldParent;
  74186. t1._async_evaluate$__endOfImports = oldEndOfImports;
  74187. t1._async_evaluate$_outOfOrderImports = oldOutOfOrderImports;
  74188. }
  74189. t1._async_evaluate$_configuration = oldConfiguration;
  74190. t1._async_evaluate$_inDependency = oldInDependency;
  74191. // implicit return
  74192. return A._asyncReturn(null, $async$completer);
  74193. }
  74194. });
  74195. return A._asyncStartSync($async$call$0, $async$completer);
  74196. },
  74197. $signature: 2
  74198. };
  74199. A._EvaluateVisitor__applyMixin_closure1.prototype = {
  74200. call$0() {
  74201. var $async$goto = 0,
  74202. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  74203. $async$self = this, t1;
  74204. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  74205. if ($async$errorCode === 1)
  74206. return A._asyncRethrow($async$result, $async$completer);
  74207. while (true)
  74208. switch ($async$goto) {
  74209. case 0:
  74210. // Function start
  74211. t1 = $async$self.$this;
  74212. $async$goto = 2;
  74213. return A._asyncAwait(t1._async_evaluate$_environment.asMixin$1(new A._EvaluateVisitor__applyMixin__closure2(t1, $async$self.$arguments, $async$self.mixin, $async$self.nodeWithSpanWithoutContent)), $async$call$0);
  74214. case 2:
  74215. // returning from await.
  74216. // implicit return
  74217. return A._asyncReturn(null, $async$completer);
  74218. }
  74219. });
  74220. return A._asyncStartSync($async$call$0, $async$completer);
  74221. },
  74222. $signature: 32
  74223. };
  74224. A._EvaluateVisitor__applyMixin__closure2.prototype = {
  74225. call$0() {
  74226. var $async$goto = 0,
  74227. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  74228. $async$self = this;
  74229. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  74230. if ($async$errorCode === 1)
  74231. return A._asyncRethrow($async$result, $async$completer);
  74232. while (true)
  74233. switch ($async$goto) {
  74234. case 0:
  74235. // Function start
  74236. $async$goto = 2;
  74237. return A._asyncAwait($async$self.$this._async_evaluate$_runBuiltInCallable$3($async$self.$arguments, $async$self.mixin, $async$self.nodeWithSpanWithoutContent), $async$call$0);
  74238. case 2:
  74239. // returning from await.
  74240. // implicit return
  74241. return A._asyncReturn(null, $async$completer);
  74242. }
  74243. });
  74244. return A._asyncStartSync($async$call$0, $async$completer);
  74245. },
  74246. $signature: 32
  74247. };
  74248. A._EvaluateVisitor__applyMixin_closure2.prototype = {
  74249. call$0() {
  74250. var $async$goto = 0,
  74251. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  74252. $async$self = this, t1;
  74253. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  74254. if ($async$errorCode === 1)
  74255. return A._asyncRethrow($async$result, $async$completer);
  74256. while (true)
  74257. switch ($async$goto) {
  74258. case 0:
  74259. // Function start
  74260. t1 = $async$self.$this;
  74261. $async$goto = 2;
  74262. return A._asyncAwait(t1._async_evaluate$_environment.withContent$2($async$self.contentCallable, new A._EvaluateVisitor__applyMixin__closure1(t1, $async$self.mixin, $async$self.nodeWithSpanWithoutContent)), $async$call$0);
  74263. case 2:
  74264. // returning from await.
  74265. // implicit return
  74266. return A._asyncReturn(null, $async$completer);
  74267. }
  74268. });
  74269. return A._asyncStartSync($async$call$0, $async$completer);
  74270. },
  74271. $signature: 2
  74272. };
  74273. A._EvaluateVisitor__applyMixin__closure1.prototype = {
  74274. call$0() {
  74275. var $async$goto = 0,
  74276. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  74277. $async$self = this, t1;
  74278. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  74279. if ($async$errorCode === 1)
  74280. return A._asyncRethrow($async$result, $async$completer);
  74281. while (true)
  74282. switch ($async$goto) {
  74283. case 0:
  74284. // Function start
  74285. t1 = $async$self.$this;
  74286. $async$goto = 2;
  74287. return A._asyncAwait(t1._async_evaluate$_environment.asMixin$1(new A._EvaluateVisitor__applyMixin___closure0(t1, $async$self.mixin, $async$self.nodeWithSpanWithoutContent)), $async$call$0);
  74288. case 2:
  74289. // returning from await.
  74290. // implicit return
  74291. return A._asyncReturn(null, $async$completer);
  74292. }
  74293. });
  74294. return A._asyncStartSync($async$call$0, $async$completer);
  74295. },
  74296. $signature: 32
  74297. };
  74298. A._EvaluateVisitor__applyMixin___closure0.prototype = {
  74299. call$0() {
  74300. var $async$goto = 0,
  74301. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  74302. $async$self = this, t1, t2, t3, t4, t5, _i;
  74303. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  74304. if ($async$errorCode === 1)
  74305. return A._asyncRethrow($async$result, $async$completer);
  74306. while (true)
  74307. switch ($async$goto) {
  74308. case 0:
  74309. // Function start
  74310. t1 = $async$self.mixin.declaration.children, t2 = t1.length, t3 = $async$self.$this, t4 = $async$self.nodeWithSpanWithoutContent, t5 = type$.nullable_Value, _i = 0;
  74311. case 2:
  74312. // for condition
  74313. if (!(_i < t2)) {
  74314. // goto after for
  74315. $async$goto = 4;
  74316. break;
  74317. }
  74318. $async$goto = 5;
  74319. return A._asyncAwait(t3._async_evaluate$_addErrorSpan$1$2(t4, new A._EvaluateVisitor__applyMixin____closure0(t3, t1[_i]), t5), $async$call$0);
  74320. case 5:
  74321. // returning from await.
  74322. case 3:
  74323. // for update
  74324. ++_i;
  74325. // goto for condition
  74326. $async$goto = 2;
  74327. break;
  74328. case 4:
  74329. // after for
  74330. // implicit return
  74331. return A._asyncReturn(null, $async$completer);
  74332. }
  74333. });
  74334. return A._asyncStartSync($async$call$0, $async$completer);
  74335. },
  74336. $signature: 32
  74337. };
  74338. A._EvaluateVisitor__applyMixin____closure0.prototype = {
  74339. call$0() {
  74340. return this.statement.accept$1(this.$this);
  74341. },
  74342. $signature: 68
  74343. };
  74344. A._EvaluateVisitor_visitIncludeRule_closure2.prototype = {
  74345. call$0() {
  74346. var t1 = this.node;
  74347. return this.$this._async_evaluate$_environment.getMixin$2$namespace(t1.name, t1.namespace);
  74348. },
  74349. $signature: 100
  74350. };
  74351. A._EvaluateVisitor_visitIncludeRule_closure3.prototype = {
  74352. call$1($content) {
  74353. var t1 = this.$this;
  74354. return new A.UserDefinedCallable($content, t1._async_evaluate$_environment.closure$0(), t1._async_evaluate$_inDependency, type$.UserDefinedCallable_AsyncEnvironment);
  74355. },
  74356. $signature: 456
  74357. };
  74358. A._EvaluateVisitor_visitIncludeRule_closure4.prototype = {
  74359. call$0() {
  74360. return this.node.get$spanWithoutContent();
  74361. },
  74362. $signature: 29
  74363. };
  74364. A._EvaluateVisitor_visitMediaRule_closure2.prototype = {
  74365. call$1(mediaQueries) {
  74366. return this.$this._async_evaluate$_mergeMediaQueries$2(mediaQueries, this.queries);
  74367. },
  74368. $signature: 96
  74369. };
  74370. A._EvaluateVisitor_visitMediaRule_closure3.prototype = {
  74371. call$0() {
  74372. var $async$goto = 0,
  74373. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  74374. $async$self = this, t1, t2;
  74375. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  74376. if ($async$errorCode === 1)
  74377. return A._asyncRethrow($async$result, $async$completer);
  74378. while (true)
  74379. switch ($async$goto) {
  74380. case 0:
  74381. // Function start
  74382. t1 = $async$self.$this;
  74383. t2 = $async$self.mergedQueries;
  74384. if (t2 == null)
  74385. t2 = $async$self.queries;
  74386. $async$goto = 2;
  74387. 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);
  74388. case 2:
  74389. // returning from await.
  74390. // implicit return
  74391. return A._asyncReturn(null, $async$completer);
  74392. }
  74393. });
  74394. return A._asyncStartSync($async$call$0, $async$completer);
  74395. },
  74396. $signature: 2
  74397. };
  74398. A._EvaluateVisitor_visitMediaRule__closure0.prototype = {
  74399. call$0() {
  74400. var $async$goto = 0,
  74401. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  74402. $async$self = this, t2, t3, _i, t1, _0_0;
  74403. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  74404. if ($async$errorCode === 1)
  74405. return A._asyncRethrow($async$result, $async$completer);
  74406. while (true)
  74407. switch ($async$goto) {
  74408. case 0:
  74409. // Function start
  74410. t1 = $async$self.$this;
  74411. _0_0 = t1._async_evaluate$_atRootExcludingStyleRule ? null : t1._async_evaluate$_styleRuleIgnoringAtRoot;
  74412. $async$goto = _0_0 != null ? 2 : 4;
  74413. break;
  74414. case 2:
  74415. // then
  74416. $async$goto = 5;
  74417. return A._asyncAwait(t1._async_evaluate$_withParent$2$3$scopeWhen(A.ModifiableCssStyleRule$(_0_0._style_rule$_selector, _0_0.span, false, _0_0.originalSelector), new A._EvaluateVisitor_visitMediaRule___closure0(t1, $async$self.node), false, type$.ModifiableCssStyleRule, type$.Null), $async$call$0);
  74418. case 5:
  74419. // returning from await.
  74420. // goto join
  74421. $async$goto = 3;
  74422. break;
  74423. case 4:
  74424. // else
  74425. t2 = $async$self.node.children, t3 = t2.length, _i = 0;
  74426. case 6:
  74427. // for condition
  74428. if (!(_i < t3)) {
  74429. // goto after for
  74430. $async$goto = 8;
  74431. break;
  74432. }
  74433. $async$goto = 9;
  74434. return A._asyncAwait(t2[_i].accept$1(t1), $async$call$0);
  74435. case 9:
  74436. // returning from await.
  74437. case 7:
  74438. // for update
  74439. ++_i;
  74440. // goto for condition
  74441. $async$goto = 6;
  74442. break;
  74443. case 8:
  74444. // after for
  74445. case 3:
  74446. // join
  74447. // implicit return
  74448. return A._asyncReturn(null, $async$completer);
  74449. }
  74450. });
  74451. return A._asyncStartSync($async$call$0, $async$completer);
  74452. },
  74453. $signature: 2
  74454. };
  74455. A._EvaluateVisitor_visitMediaRule___closure0.prototype = {
  74456. call$0() {
  74457. var $async$goto = 0,
  74458. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  74459. $async$self = this, t1, t2, t3, _i;
  74460. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  74461. if ($async$errorCode === 1)
  74462. return A._asyncRethrow($async$result, $async$completer);
  74463. while (true)
  74464. switch ($async$goto) {
  74465. case 0:
  74466. // Function start
  74467. t1 = $async$self.node.children, t2 = t1.length, t3 = $async$self.$this, _i = 0;
  74468. case 2:
  74469. // for condition
  74470. if (!(_i < t2)) {
  74471. // goto after for
  74472. $async$goto = 4;
  74473. break;
  74474. }
  74475. $async$goto = 5;
  74476. return A._asyncAwait(t1[_i].accept$1(t3), $async$call$0);
  74477. case 5:
  74478. // returning from await.
  74479. case 3:
  74480. // for update
  74481. ++_i;
  74482. // goto for condition
  74483. $async$goto = 2;
  74484. break;
  74485. case 4:
  74486. // after for
  74487. // implicit return
  74488. return A._asyncReturn(null, $async$completer);
  74489. }
  74490. });
  74491. return A._asyncStartSync($async$call$0, $async$completer);
  74492. },
  74493. $signature: 2
  74494. };
  74495. A._EvaluateVisitor_visitMediaRule_closure4.prototype = {
  74496. call$1(node) {
  74497. var t1;
  74498. if (!(node instanceof A.ModifiableCssStyleRule)) {
  74499. t1 = this.mergedSources;
  74500. t1 = t1.get$isNotEmpty(t1) && node instanceof A.ModifiableCssMediaRule && B.JSArray_methods.every$1(node.queries, t1.get$contains(t1));
  74501. } else
  74502. t1 = true;
  74503. return t1;
  74504. },
  74505. $signature: 8
  74506. };
  74507. A._EvaluateVisitor_visitStyleRule_closure3.prototype = {
  74508. call$0() {
  74509. var $async$goto = 0,
  74510. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  74511. $async$self = this, t1, t2, t3, _i;
  74512. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  74513. if ($async$errorCode === 1)
  74514. return A._asyncRethrow($async$result, $async$completer);
  74515. while (true)
  74516. switch ($async$goto) {
  74517. case 0:
  74518. // Function start
  74519. t1 = $async$self.node.children, t2 = t1.length, t3 = $async$self.$this, _i = 0;
  74520. case 2:
  74521. // for condition
  74522. if (!(_i < t2)) {
  74523. // goto after for
  74524. $async$goto = 4;
  74525. break;
  74526. }
  74527. $async$goto = 5;
  74528. return A._asyncAwait(t1[_i].accept$1(t3), $async$call$0);
  74529. case 5:
  74530. // returning from await.
  74531. case 3:
  74532. // for update
  74533. ++_i;
  74534. // goto for condition
  74535. $async$goto = 2;
  74536. break;
  74537. case 4:
  74538. // after for
  74539. // implicit return
  74540. return A._asyncReturn(null, $async$completer);
  74541. }
  74542. });
  74543. return A._asyncStartSync($async$call$0, $async$completer);
  74544. },
  74545. $signature: 2
  74546. };
  74547. A._EvaluateVisitor_visitStyleRule_closure4.prototype = {
  74548. call$1(node) {
  74549. return node instanceof A.ModifiableCssStyleRule;
  74550. },
  74551. $signature: 8
  74552. };
  74553. A._EvaluateVisitor_visitStyleRule_closure6.prototype = {
  74554. call$0() {
  74555. var $async$goto = 0,
  74556. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  74557. $async$self = this, t1;
  74558. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  74559. if ($async$errorCode === 1)
  74560. return A._asyncRethrow($async$result, $async$completer);
  74561. while (true)
  74562. switch ($async$goto) {
  74563. case 0:
  74564. // Function start
  74565. t1 = $async$self.$this;
  74566. $async$goto = 2;
  74567. 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);
  74568. case 2:
  74569. // returning from await.
  74570. // implicit return
  74571. return A._asyncReturn(null, $async$completer);
  74572. }
  74573. });
  74574. return A._asyncStartSync($async$call$0, $async$completer);
  74575. },
  74576. $signature: 2
  74577. };
  74578. A._EvaluateVisitor_visitStyleRule__closure0.prototype = {
  74579. call$0() {
  74580. var $async$goto = 0,
  74581. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  74582. $async$self = this, t1, t2, t3, _i;
  74583. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  74584. if ($async$errorCode === 1)
  74585. return A._asyncRethrow($async$result, $async$completer);
  74586. while (true)
  74587. switch ($async$goto) {
  74588. case 0:
  74589. // Function start
  74590. t1 = $async$self.node.children, t2 = t1.length, t3 = $async$self.$this, _i = 0;
  74591. case 2:
  74592. // for condition
  74593. if (!(_i < t2)) {
  74594. // goto after for
  74595. $async$goto = 4;
  74596. break;
  74597. }
  74598. $async$goto = 5;
  74599. return A._asyncAwait(t1[_i].accept$1(t3), $async$call$0);
  74600. case 5:
  74601. // returning from await.
  74602. case 3:
  74603. // for update
  74604. ++_i;
  74605. // goto for condition
  74606. $async$goto = 2;
  74607. break;
  74608. case 4:
  74609. // after for
  74610. // implicit return
  74611. return A._asyncReturn(null, $async$completer);
  74612. }
  74613. });
  74614. return A._asyncStartSync($async$call$0, $async$completer);
  74615. },
  74616. $signature: 2
  74617. };
  74618. A._EvaluateVisitor_visitStyleRule_closure5.prototype = {
  74619. call$1(node) {
  74620. return node instanceof A.ModifiableCssStyleRule;
  74621. },
  74622. $signature: 8
  74623. };
  74624. A._EvaluateVisitor__warnForBogusCombinators_closure0.prototype = {
  74625. call$1(child) {
  74626. return child instanceof A.ModifiableCssComment;
  74627. },
  74628. $signature: 8
  74629. };
  74630. A._EvaluateVisitor_visitSupportsRule_closure1.prototype = {
  74631. call$0() {
  74632. var $async$goto = 0,
  74633. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  74634. $async$self = this, t2, t3, _i, t1, _0_0;
  74635. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  74636. if ($async$errorCode === 1)
  74637. return A._asyncRethrow($async$result, $async$completer);
  74638. while (true)
  74639. switch ($async$goto) {
  74640. case 0:
  74641. // Function start
  74642. t1 = $async$self.$this;
  74643. _0_0 = t1._async_evaluate$_atRootExcludingStyleRule ? null : t1._async_evaluate$_styleRuleIgnoringAtRoot;
  74644. $async$goto = _0_0 != null ? 2 : 4;
  74645. break;
  74646. case 2:
  74647. // then
  74648. $async$goto = 5;
  74649. return A._asyncAwait(t1._async_evaluate$_withParent$2$2(A.ModifiableCssStyleRule$(_0_0._style_rule$_selector, _0_0.span, false, _0_0.originalSelector), new A._EvaluateVisitor_visitSupportsRule__closure0(t1, $async$self.node), type$.ModifiableCssStyleRule, type$.Null), $async$call$0);
  74650. case 5:
  74651. // returning from await.
  74652. // goto join
  74653. $async$goto = 3;
  74654. break;
  74655. case 4:
  74656. // else
  74657. t2 = $async$self.node.children, t3 = t2.length, _i = 0;
  74658. case 6:
  74659. // for condition
  74660. if (!(_i < t3)) {
  74661. // goto after for
  74662. $async$goto = 8;
  74663. break;
  74664. }
  74665. $async$goto = 9;
  74666. return A._asyncAwait(t2[_i].accept$1(t1), $async$call$0);
  74667. case 9:
  74668. // returning from await.
  74669. case 7:
  74670. // for update
  74671. ++_i;
  74672. // goto for condition
  74673. $async$goto = 6;
  74674. break;
  74675. case 8:
  74676. // after for
  74677. case 3:
  74678. // join
  74679. // implicit return
  74680. return A._asyncReturn(null, $async$completer);
  74681. }
  74682. });
  74683. return A._asyncStartSync($async$call$0, $async$completer);
  74684. },
  74685. $signature: 2
  74686. };
  74687. A._EvaluateVisitor_visitSupportsRule__closure0.prototype = {
  74688. call$0() {
  74689. var $async$goto = 0,
  74690. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  74691. $async$self = this, t1, t2, t3, _i;
  74692. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  74693. if ($async$errorCode === 1)
  74694. return A._asyncRethrow($async$result, $async$completer);
  74695. while (true)
  74696. switch ($async$goto) {
  74697. case 0:
  74698. // Function start
  74699. t1 = $async$self.node.children, t2 = t1.length, t3 = $async$self.$this, _i = 0;
  74700. case 2:
  74701. // for condition
  74702. if (!(_i < t2)) {
  74703. // goto after for
  74704. $async$goto = 4;
  74705. break;
  74706. }
  74707. $async$goto = 5;
  74708. return A._asyncAwait(t1[_i].accept$1(t3), $async$call$0);
  74709. case 5:
  74710. // returning from await.
  74711. case 3:
  74712. // for update
  74713. ++_i;
  74714. // goto for condition
  74715. $async$goto = 2;
  74716. break;
  74717. case 4:
  74718. // after for
  74719. // implicit return
  74720. return A._asyncReturn(null, $async$completer);
  74721. }
  74722. });
  74723. return A._asyncStartSync($async$call$0, $async$completer);
  74724. },
  74725. $signature: 2
  74726. };
  74727. A._EvaluateVisitor_visitSupportsRule_closure2.prototype = {
  74728. call$1(node) {
  74729. return node instanceof A.ModifiableCssStyleRule;
  74730. },
  74731. $signature: 8
  74732. };
  74733. A._EvaluateVisitor__visitSupportsCondition_closure0.prototype = {
  74734. call$0() {
  74735. var $async$goto = 0,
  74736. $async$completer = A._makeAsyncAwaitCompleter(type$.String),
  74737. $async$returnValue, $async$self = this, t1, t2, t3, t4, $async$temp1, $async$temp2;
  74738. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  74739. if ($async$errorCode === 1)
  74740. return A._asyncRethrow($async$result, $async$completer);
  74741. while (true)
  74742. switch ($async$goto) {
  74743. case 0:
  74744. // Function start
  74745. t1 = $async$self.$this;
  74746. t2 = $async$self._box_0;
  74747. $async$temp1 = A;
  74748. $async$goto = 3;
  74749. return A._asyncAwait(t1._evaluateToCss$1(t2.declaration.name), $async$call$0);
  74750. case 3:
  74751. // returning from await.
  74752. t3 = $async$temp1.S($async$result);
  74753. t4 = t2.declaration.get$isCustomProperty() ? "" : " ";
  74754. $async$temp1 = "(" + t3 + ":" + t4;
  74755. $async$temp2 = A;
  74756. $async$goto = 4;
  74757. return A._asyncAwait(t1._evaluateToCss$1(t2.declaration.value), $async$call$0);
  74758. case 4:
  74759. // returning from await.
  74760. $async$returnValue = $async$temp1 + $async$temp2.S($async$result) + ")";
  74761. // goto return
  74762. $async$goto = 1;
  74763. break;
  74764. case 1:
  74765. // return
  74766. return A._asyncReturn($async$returnValue, $async$completer);
  74767. }
  74768. });
  74769. return A._asyncStartSync($async$call$0, $async$completer);
  74770. },
  74771. $signature: 181
  74772. };
  74773. A._EvaluateVisitor_visitVariableDeclaration_closure2.prototype = {
  74774. call$0() {
  74775. var t1 = this.$this._async_evaluate$_environment,
  74776. t2 = this._box_0.override;
  74777. t1.setVariable$4$global(this.node.name, t2.value, t2.assignmentNode, true);
  74778. },
  74779. $signature: 1
  74780. };
  74781. A._EvaluateVisitor_visitVariableDeclaration_closure3.prototype = {
  74782. call$0() {
  74783. var t1 = this.node;
  74784. return this.$this._async_evaluate$_environment.getVariable$2$namespace(t1.name, t1.namespace);
  74785. },
  74786. $signature: 41
  74787. };
  74788. A._EvaluateVisitor_visitVariableDeclaration_closure4.prototype = {
  74789. call$0() {
  74790. var t1 = this.$this,
  74791. t2 = this.node;
  74792. t1._async_evaluate$_environment.setVariable$5$global$namespace(t2.name, this.value, t1._async_evaluate$_expressionNode$1(t2.expression), t2.isGlobal, t2.namespace);
  74793. },
  74794. $signature: 1
  74795. };
  74796. A._EvaluateVisitor_visitUseRule_closure0.prototype = {
  74797. call$2(module, firstLoad) {
  74798. var t1, t2, t3, _0_0, t4, t5, span;
  74799. if (firstLoad)
  74800. this.$this._async_evaluate$_registerCommentsForModule$1(module);
  74801. t1 = this.$this._async_evaluate$_environment;
  74802. t2 = this.node;
  74803. t3 = t2.namespace;
  74804. if (t3 == null) {
  74805. t1._async_environment$_globalModules.$indexSet(0, module, t2);
  74806. t1._async_environment$_allModules.push(module);
  74807. _0_0 = A.IterableExtension_firstWhereOrNull(J.get$keys$z(B.JSArray_methods.get$first(t1._async_environment$_variables)), module.get$variables().get$containsKey());
  74808. if (_0_0 != null)
  74809. A.throwExpression(A.SassScriptException$(string$.This_ma + _0_0 + '".', null));
  74810. } else {
  74811. t4 = t1._async_environment$_modules;
  74812. if (t4.containsKey$1(t3)) {
  74813. t5 = t1._async_environment$_namespaceNodes.$index(0, t3);
  74814. span = t5 == null ? null : t5.span;
  74815. t5 = A.LinkedHashMap_LinkedHashMap$_empty(type$.FileSpan, type$.String);
  74816. if (span != null)
  74817. t5.$indexSet(0, span, "original @use");
  74818. A.throwExpression(A.MultiSpanSassScriptException$(string$.There_ + t3 + '".', "new @use", t5));
  74819. }
  74820. t4.$indexSet(0, t3, module);
  74821. t1._async_environment$_namespaceNodes.$indexSet(0, t3, t2);
  74822. t1._async_environment$_allModules.push(module);
  74823. }
  74824. },
  74825. $signature: 119
  74826. };
  74827. A._EvaluateVisitor_visitWarnRule_closure0.prototype = {
  74828. call$0() {
  74829. return this.node.expression.accept$1(this.$this);
  74830. },
  74831. $signature: 67
  74832. };
  74833. A._EvaluateVisitor_visitWhileRule_closure0.prototype = {
  74834. call$0() {
  74835. var $async$goto = 0,
  74836. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value),
  74837. $async$returnValue, $async$self = this, t1, t2, t3, _0_0;
  74838. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  74839. if ($async$errorCode === 1)
  74840. return A._asyncRethrow($async$result, $async$completer);
  74841. while (true)
  74842. switch ($async$goto) {
  74843. case 0:
  74844. // Function start
  74845. t1 = $async$self.node, t2 = t1.condition, t3 = $async$self.$this, t1 = t1.children;
  74846. case 3:
  74847. // for condition
  74848. $async$goto = 5;
  74849. return A._asyncAwait(t2.accept$1(t3), $async$call$0);
  74850. case 5:
  74851. // returning from await.
  74852. if (!$async$result.get$isTruthy()) {
  74853. // goto after for
  74854. $async$goto = 4;
  74855. break;
  74856. }
  74857. $async$goto = 6;
  74858. return A._asyncAwait(t3._async_evaluate$_handleReturn$2(t1, new A._EvaluateVisitor_visitWhileRule__closure0(t3)), $async$call$0);
  74859. case 6:
  74860. // returning from await.
  74861. _0_0 = $async$result;
  74862. if (_0_0 != null) {
  74863. $async$returnValue = _0_0;
  74864. // goto return
  74865. $async$goto = 1;
  74866. break;
  74867. }
  74868. // goto for condition
  74869. $async$goto = 3;
  74870. break;
  74871. case 4:
  74872. // after for
  74873. $async$returnValue = null;
  74874. // goto return
  74875. $async$goto = 1;
  74876. break;
  74877. case 1:
  74878. // return
  74879. return A._asyncReturn($async$returnValue, $async$completer);
  74880. }
  74881. });
  74882. return A._asyncStartSync($async$call$0, $async$completer);
  74883. },
  74884. $signature: 68
  74885. };
  74886. A._EvaluateVisitor_visitWhileRule__closure0.prototype = {
  74887. call$1(child) {
  74888. return child.accept$1(this.$this);
  74889. },
  74890. $signature: 93
  74891. };
  74892. A._EvaluateVisitor_visitBinaryOperationExpression_closure0.prototype = {
  74893. call$0() {
  74894. var $async$goto = 0,
  74895. $async$completer = A._makeAsyncAwaitCompleter(type$.Value),
  74896. $async$returnValue, $async$self = this, t3, t1, t2, left, $async$temp1, $async$temp2;
  74897. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  74898. if ($async$errorCode === 1)
  74899. return A._asyncRethrow($async$result, $async$completer);
  74900. while (true)
  74901. switch ($async$goto) {
  74902. case 0:
  74903. // Function start
  74904. t1 = $async$self.node;
  74905. t2 = $async$self.$this;
  74906. $async$goto = 3;
  74907. return A._asyncAwait(t1.left.accept$1(t2), $async$call$0);
  74908. case 3:
  74909. // returning from await.
  74910. left = $async$result;
  74911. case 4:
  74912. // switch
  74913. switch (t1.operator) {
  74914. case B.BinaryOperator_Kyq:
  74915. // goto case
  74916. $async$goto = 6;
  74917. break;
  74918. case B.BinaryOperator_tKu:
  74919. // goto case
  74920. $async$goto = 7;
  74921. break;
  74922. case B.BinaryOperator_uke:
  74923. // goto case
  74924. $async$goto = 8;
  74925. break;
  74926. case B.BinaryOperator_r84:
  74927. // goto case
  74928. $async$goto = 9;
  74929. break;
  74930. case B.BinaryOperator_qGq:
  74931. // goto case
  74932. $async$goto = 10;
  74933. break;
  74934. case B.BinaryOperator_o8O:
  74935. // goto case
  74936. $async$goto = 11;
  74937. break;
  74938. case B.BinaryOperator_JiR:
  74939. // goto case
  74940. $async$goto = 12;
  74941. break;
  74942. case B.BinaryOperator_qHy:
  74943. // goto case
  74944. $async$goto = 13;
  74945. break;
  74946. case B.BinaryOperator_FPG:
  74947. // goto case
  74948. $async$goto = 14;
  74949. break;
  74950. case B.BinaryOperator_Swh:
  74951. // goto case
  74952. $async$goto = 15;
  74953. break;
  74954. case B.BinaryOperator_QG1:
  74955. // goto case
  74956. $async$goto = 16;
  74957. break;
  74958. case B.BinaryOperator_tht:
  74959. // goto case
  74960. $async$goto = 17;
  74961. break;
  74962. case B.BinaryOperator_Mh5:
  74963. // goto case
  74964. $async$goto = 18;
  74965. break;
  74966. case B.BinaryOperator_s7T:
  74967. // goto case
  74968. $async$goto = 19;
  74969. break;
  74970. default:
  74971. // goto default
  74972. $async$goto = 20;
  74973. break;
  74974. }
  74975. break;
  74976. case 6:
  74977. // case
  74978. t1 = t1.right.accept$1(t2);
  74979. $async$goto = 21;
  74980. return A._asyncAwait(type$.Future_Value._is(t1) ? t1 : A._Future$value(t1, type$.Value), $async$call$0);
  74981. case 21:
  74982. // returning from await.
  74983. t1 = $async$result;
  74984. t1 = new A.SassString(A.serializeValue(left, false, true) + "=" + A.serializeValue(t1, false, true), false);
  74985. // goto after switch
  74986. $async$goto = 5;
  74987. break;
  74988. case 7:
  74989. // case
  74990. $async$goto = left.get$isTruthy() ? 22 : 24;
  74991. break;
  74992. case 22:
  74993. // then
  74994. t1 = left;
  74995. // goto join
  74996. $async$goto = 23;
  74997. break;
  74998. case 24:
  74999. // else
  75000. t1 = t1.right.accept$1(t2);
  75001. $async$goto = 25;
  75002. return A._asyncAwait(type$.Future_Value._is(t1) ? t1 : A._Future$value(t1, type$.Value), $async$call$0);
  75003. case 25:
  75004. // returning from await.
  75005. t1 = $async$result;
  75006. case 23:
  75007. // join
  75008. // goto after switch
  75009. $async$goto = 5;
  75010. break;
  75011. case 8:
  75012. // case
  75013. $async$goto = left.get$isTruthy() ? 26 : 28;
  75014. break;
  75015. case 26:
  75016. // then
  75017. t1 = t1.right.accept$1(t2);
  75018. $async$goto = 29;
  75019. return A._asyncAwait(type$.Future_Value._is(t1) ? t1 : A._Future$value(t1, type$.Value), $async$call$0);
  75020. case 29:
  75021. // returning from await.
  75022. t1 = $async$result;
  75023. // goto join
  75024. $async$goto = 27;
  75025. break;
  75026. case 28:
  75027. // else
  75028. t1 = left;
  75029. case 27:
  75030. // join
  75031. // goto after switch
  75032. $async$goto = 5;
  75033. break;
  75034. case 9:
  75035. // case
  75036. $async$temp1 = left;
  75037. $async$goto = 30;
  75038. return A._asyncAwait(t1.right.accept$1(t2), $async$call$0);
  75039. case 30:
  75040. // returning from await.
  75041. t1 = $async$temp1.$eq(0, $async$result) ? B.SassBoolean_true : B.SassBoolean_false;
  75042. // goto after switch
  75043. $async$goto = 5;
  75044. break;
  75045. case 10:
  75046. // case
  75047. $async$temp1 = left;
  75048. $async$goto = 31;
  75049. return A._asyncAwait(t1.right.accept$1(t2), $async$call$0);
  75050. case 31:
  75051. // returning from await.
  75052. t1 = !$async$temp1.$eq(0, $async$result) ? B.SassBoolean_true : B.SassBoolean_false;
  75053. // goto after switch
  75054. $async$goto = 5;
  75055. break;
  75056. case 11:
  75057. // case
  75058. t1 = t1.right.accept$1(t2);
  75059. $async$temp1 = left;
  75060. $async$goto = 32;
  75061. return A._asyncAwait(type$.Future_Value._is(t1) ? t1 : A._Future$value(t1, type$.Value), $async$call$0);
  75062. case 32:
  75063. // returning from await.
  75064. t1 = $async$temp1.greaterThan$1($async$result);
  75065. // goto after switch
  75066. $async$goto = 5;
  75067. break;
  75068. case 12:
  75069. // case
  75070. t1 = t1.right.accept$1(t2);
  75071. $async$temp1 = left;
  75072. $async$goto = 33;
  75073. return A._asyncAwait(type$.Future_Value._is(t1) ? t1 : A._Future$value(t1, type$.Value), $async$call$0);
  75074. case 33:
  75075. // returning from await.
  75076. t1 = $async$temp1.greaterThanOrEquals$1($async$result);
  75077. // goto after switch
  75078. $async$goto = 5;
  75079. break;
  75080. case 13:
  75081. // case
  75082. t1 = t1.right.accept$1(t2);
  75083. $async$temp1 = left;
  75084. $async$goto = 34;
  75085. return A._asyncAwait(type$.Future_Value._is(t1) ? t1 : A._Future$value(t1, type$.Value), $async$call$0);
  75086. case 34:
  75087. // returning from await.
  75088. t1 = $async$temp1.lessThan$1($async$result);
  75089. // goto after switch
  75090. $async$goto = 5;
  75091. break;
  75092. case 14:
  75093. // case
  75094. t1 = t1.right.accept$1(t2);
  75095. $async$temp1 = left;
  75096. $async$goto = 35;
  75097. return A._asyncAwait(type$.Future_Value._is(t1) ? t1 : A._Future$value(t1, type$.Value), $async$call$0);
  75098. case 35:
  75099. // returning from await.
  75100. t1 = $async$temp1.lessThanOrEquals$1($async$result);
  75101. // goto after switch
  75102. $async$goto = 5;
  75103. break;
  75104. case 15:
  75105. // case
  75106. t1 = t1.right.accept$1(t2);
  75107. $async$temp1 = left;
  75108. $async$goto = 36;
  75109. return A._asyncAwait(type$.Future_Value._is(t1) ? t1 : A._Future$value(t1, type$.Value), $async$call$0);
  75110. case 36:
  75111. // returning from await.
  75112. t1 = $async$temp1.plus$1($async$result);
  75113. // goto after switch
  75114. $async$goto = 5;
  75115. break;
  75116. case 16:
  75117. // case
  75118. t1 = t1.right.accept$1(t2);
  75119. $async$temp1 = left;
  75120. $async$goto = 37;
  75121. return A._asyncAwait(type$.Future_Value._is(t1) ? t1 : A._Future$value(t1, type$.Value), $async$call$0);
  75122. case 37:
  75123. // returning from await.
  75124. t1 = $async$temp1.minus$1($async$result);
  75125. // goto after switch
  75126. $async$goto = 5;
  75127. break;
  75128. case 17:
  75129. // case
  75130. t1 = t1.right.accept$1(t2);
  75131. $async$temp1 = left;
  75132. $async$goto = 38;
  75133. return A._asyncAwait(type$.Future_Value._is(t1) ? t1 : A._Future$value(t1, type$.Value), $async$call$0);
  75134. case 38:
  75135. // returning from await.
  75136. t1 = $async$temp1.times$1($async$result);
  75137. // goto after switch
  75138. $async$goto = 5;
  75139. break;
  75140. case 18:
  75141. // case
  75142. t3 = t1.right.accept$1(t2);
  75143. $async$temp1 = t2;
  75144. $async$temp2 = left;
  75145. $async$goto = 39;
  75146. return A._asyncAwait(type$.Future_Value._is(t3) ? t3 : A._Future$value(t3, type$.Value), $async$call$0);
  75147. case 39:
  75148. // returning from await.
  75149. t1 = $async$temp1._async_evaluate$_slash$3($async$temp2, $async$result, t1);
  75150. // goto after switch
  75151. $async$goto = 5;
  75152. break;
  75153. case 19:
  75154. // case
  75155. t1 = t1.right.accept$1(t2);
  75156. $async$temp1 = left;
  75157. $async$goto = 40;
  75158. return A._asyncAwait(type$.Future_Value._is(t1) ? t1 : A._Future$value(t1, type$.Value), $async$call$0);
  75159. case 40:
  75160. // returning from await.
  75161. t1 = $async$temp1.modulo$1($async$result);
  75162. // goto after switch
  75163. $async$goto = 5;
  75164. break;
  75165. case 20:
  75166. // default
  75167. t1 = null;
  75168. case 5:
  75169. // after switch
  75170. $async$returnValue = t1;
  75171. // goto return
  75172. $async$goto = 1;
  75173. break;
  75174. case 1:
  75175. // return
  75176. return A._asyncReturn($async$returnValue, $async$completer);
  75177. }
  75178. });
  75179. return A._asyncStartSync($async$call$0, $async$completer);
  75180. },
  75181. $signature: 67
  75182. };
  75183. A._EvaluateVisitor__slash_recommendation0.prototype = {
  75184. call$1(expression) {
  75185. var t1;
  75186. $label0$0: {
  75187. if (expression instanceof A.BinaryOperationExpression && B.BinaryOperator_Mh5 === expression.operator) {
  75188. t1 = "math.div(" + A.S(this.call$1(expression.left)) + ", " + A.S(this.call$1(expression.right)) + ")";
  75189. break $label0$0;
  75190. }
  75191. if (expression instanceof A.ParenthesizedExpression) {
  75192. t1 = expression.expression.toString$0(0);
  75193. break $label0$0;
  75194. }
  75195. t1 = expression.toString$0(0);
  75196. break $label0$0;
  75197. }
  75198. return t1;
  75199. },
  75200. $signature: 133
  75201. };
  75202. A._EvaluateVisitor_visitVariableExpression_closure0.prototype = {
  75203. call$0() {
  75204. var t1 = this.node;
  75205. return this.$this._async_evaluate$_environment.getVariable$2$namespace(t1.name, t1.namespace);
  75206. },
  75207. $signature: 41
  75208. };
  75209. A._EvaluateVisitor_visitUnaryOperationExpression_closure0.prototype = {
  75210. call$0() {
  75211. var t1, _this = this;
  75212. switch (_this.node.operator) {
  75213. case B.UnaryOperator_Rbl:
  75214. t1 = _this.operand.unaryPlus$0();
  75215. break;
  75216. case B.UnaryOperator_UCP:
  75217. t1 = _this.operand.unaryMinus$0();
  75218. break;
  75219. case B.UnaryOperator_lZV:
  75220. t1 = new A.SassString("/" + A.serializeValue(_this.operand, false, true), false);
  75221. break;
  75222. case B.UnaryOperator_not_not_not:
  75223. t1 = _this.operand.unaryNot$0();
  75224. break;
  75225. default:
  75226. t1 = null;
  75227. }
  75228. return t1;
  75229. },
  75230. $signature: 33
  75231. };
  75232. A._EvaluateVisitor_visitListExpression_closure0.prototype = {
  75233. call$1(expression) {
  75234. return expression.accept$1(this.$this);
  75235. },
  75236. $signature: 486
  75237. };
  75238. A._EvaluateVisitor_visitFunctionExpression_closure2.prototype = {
  75239. call$0() {
  75240. var t1 = this.node;
  75241. return this.$this._async_evaluate$_environment.getFunction$2$namespace(t1.name, t1.namespace);
  75242. },
  75243. $signature: 100
  75244. };
  75245. A._EvaluateVisitor_visitFunctionExpression_closure3.prototype = {
  75246. call$1(argument) {
  75247. return argument.accept$1(B.C_IsCalculationSafeVisitor);
  75248. },
  75249. $signature: 118
  75250. };
  75251. A._EvaluateVisitor_visitFunctionExpression_closure4.prototype = {
  75252. call$0() {
  75253. var t1 = this.node;
  75254. return this.$this._async_evaluate$_runFunctionCallable$3(t1.$arguments, this._box_0.$function, t1);
  75255. },
  75256. $signature: 67
  75257. };
  75258. A._EvaluateVisitor__visitCalculation_closure0.prototype = {
  75259. call$2(message, deprecation) {
  75260. return this.$this._async_evaluate$_warn$3(message, this.node.span, deprecation);
  75261. },
  75262. call$1(message) {
  75263. return this.call$2(message, null);
  75264. },
  75265. $signature: 105
  75266. };
  75267. A._EvaluateVisitor__checkCalculationArguments_check0.prototype = {
  75268. call$1(maxArgs) {
  75269. var t1 = this.node,
  75270. t2 = t1.$arguments.positional.length;
  75271. if (t2 === 0)
  75272. throw A.wrapException(this.$this._async_evaluate$_exception$2("Missing argument.", t1.span));
  75273. else if (maxArgs != null && t2 > maxArgs)
  75274. throw A.wrapException(this.$this._async_evaluate$_exception$2("Only " + A.S(maxArgs) + " " + A.pluralize("argument", maxArgs, null) + " allowed, but " + t2 + " " + A.pluralize("was", t2, "were") + " passed.", t1.span));
  75275. },
  75276. call$0() {
  75277. return this.call$1(null);
  75278. },
  75279. $signature: 106
  75280. };
  75281. A._EvaluateVisitor__visitCalculationExpression_closure0.prototype = {
  75282. call$0() {
  75283. var $async$goto = 0,
  75284. $async$completer = A._makeAsyncAwaitCompleter(type$.Object),
  75285. $async$returnValue, $async$self = this, t1, t2, t3, t4, $async$temp1, $async$temp2, $async$temp3;
  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.$this;
  75294. t2 = $async$self._box_0;
  75295. t3 = $async$self.node;
  75296. t4 = $async$self.inLegacySassFunction;
  75297. $async$temp1 = A;
  75298. $async$temp2 = t1._async_evaluate$_binaryOperatorToCalculationOperator$2(t2.operator, t3);
  75299. $async$goto = 3;
  75300. return A._asyncAwait(t1._async_evaluate$_visitCalculationExpression$2$inLegacySassFunction(t2.left, t4), $async$call$0);
  75301. case 3:
  75302. // returning from await.
  75303. $async$temp3 = $async$result;
  75304. $async$goto = 4;
  75305. return A._asyncAwait(t1._async_evaluate$_visitCalculationExpression$2$inLegacySassFunction(t2.right, t4), $async$call$0);
  75306. case 4:
  75307. // returning from await.
  75308. $async$returnValue = $async$temp1.SassCalculation_operateInternal($async$temp2, $async$temp3, $async$result, t4, !t1._async_evaluate$_inSupportsDeclaration, new A._EvaluateVisitor__visitCalculationExpression__closure0(t1, t3));
  75309. // goto return
  75310. $async$goto = 1;
  75311. break;
  75312. case 1:
  75313. // return
  75314. return A._asyncReturn($async$returnValue, $async$completer);
  75315. }
  75316. });
  75317. return A._asyncStartSync($async$call$0, $async$completer);
  75318. },
  75319. $signature: 183
  75320. };
  75321. A._EvaluateVisitor__visitCalculationExpression__closure0.prototype = {
  75322. call$2(message, deprecation) {
  75323. return this.$this._async_evaluate$_warn$3(message, this.node.get$span(0), deprecation);
  75324. },
  75325. call$1(message) {
  75326. return this.call$2(message, null);
  75327. },
  75328. $signature: 105
  75329. };
  75330. A._EvaluateVisitor_visitInterpolatedFunctionExpression_closure0.prototype = {
  75331. call$0() {
  75332. var t1 = this.node;
  75333. return this.$this._async_evaluate$_runFunctionCallable$3(t1.$arguments, this.$function, t1);
  75334. },
  75335. $signature: 67
  75336. };
  75337. A._EvaluateVisitor__runUserDefinedCallable_closure0.prototype = {
  75338. call$0() {
  75339. var _this = this,
  75340. t1 = _this.$this,
  75341. t2 = _this.callable,
  75342. t3 = _this.V;
  75343. 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);
  75344. },
  75345. $signature() {
  75346. return this.V._eval$1("Future<0>()");
  75347. }
  75348. };
  75349. A._EvaluateVisitor__runUserDefinedCallable__closure0.prototype = {
  75350. call$0() {
  75351. var _this = this,
  75352. t1 = _this.$this,
  75353. t2 = _this.V;
  75354. return t1._async_evaluate$_environment.scope$1$1(new A._EvaluateVisitor__runUserDefinedCallable___closure0(t1, _this.evaluated, _this.callable, _this.nodeWithSpan, _this.run, t2), t2);
  75355. },
  75356. $signature() {
  75357. return this.V._eval$1("Future<0>()");
  75358. }
  75359. };
  75360. A._EvaluateVisitor__runUserDefinedCallable___closure0.prototype = {
  75361. call$0() {
  75362. return this.$call$body$_EvaluateVisitor__runUserDefinedCallable___closure(this.V);
  75363. },
  75364. $call$body$_EvaluateVisitor__runUserDefinedCallable___closure($async$type) {
  75365. var $async$goto = 0,
  75366. $async$completer = A._makeAsyncAwaitCompleter($async$type),
  75367. $async$returnValue, $async$self = this, parameters, t5, minLength, i, parameter, t6, value, t7, t8, restParameter, rest, argumentList, result, parameterWord, t1, t2, t3, t4, $async$temp1;
  75368. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  75369. if ($async$errorCode === 1)
  75370. return A._asyncRethrow($async$result, $async$completer);
  75371. while (true)
  75372. switch ($async$goto) {
  75373. case 0:
  75374. // Function start
  75375. t1 = $async$self.$this;
  75376. t2 = $async$self.evaluated._values;
  75377. t3 = $async$self.callable.declaration.parameters;
  75378. t4 = $async$self.nodeWithSpan;
  75379. t1._async_evaluate$_verifyArguments$4(J.get$length$asx(t2[2]), t2[0], t3, t4);
  75380. parameters = t3.parameters;
  75381. t5 = parameters.length;
  75382. minLength = Math.min(J.get$length$asx(t2[2]), t5);
  75383. for (i = 0; i < minLength; ++i)
  75384. t1._async_evaluate$_environment.setLocalVariable$3(parameters[i].name, J.$index$asx(t2[2], i), J.$index$asx(t2[3], i));
  75385. i = J.get$length$asx(t2[2]);
  75386. case 3:
  75387. // for condition
  75388. if (!(i < t5)) {
  75389. // goto after for
  75390. $async$goto = 5;
  75391. break;
  75392. }
  75393. parameter = parameters[i];
  75394. t6 = parameter.name;
  75395. value = t2[0].remove$1(0, t6);
  75396. $async$goto = value == null ? 6 : 7;
  75397. break;
  75398. case 6:
  75399. // then
  75400. t7 = parameter.defaultValue;
  75401. $async$temp1 = t1;
  75402. $async$goto = 8;
  75403. return A._asyncAwait(t7.accept$1(t1), $async$call$0);
  75404. case 8:
  75405. // returning from await.
  75406. value = $async$temp1._async_evaluate$_withoutSlash$2($async$result, t1._async_evaluate$_expressionNode$1(t7));
  75407. case 7:
  75408. // join
  75409. t7 = t1._async_evaluate$_environment;
  75410. t8 = t2[1].$index(0, t6);
  75411. if (t8 == null) {
  75412. t8 = parameter.defaultValue;
  75413. t8.toString;
  75414. t8 = t1._async_evaluate$_expressionNode$1(t8);
  75415. }
  75416. t7.setLocalVariable$3(t6, value, t8);
  75417. case 4:
  75418. // for update
  75419. ++i;
  75420. // goto for condition
  75421. $async$goto = 3;
  75422. break;
  75423. case 5:
  75424. // after for
  75425. restParameter = t3.restParameter;
  75426. if (restParameter != null) {
  75427. rest = J.get$length$asx(t2[2]) > t5 ? J.sublist$1$ax(t2[2], t5) : B.List_empty8;
  75428. t5 = t2[0];
  75429. t6 = t2[4];
  75430. argumentList = A.SassArgumentList$(rest, t5, t6 === B.ListSeparator_undecided_null_undecided ? B.ListSeparator_qVN : t6);
  75431. t1._async_evaluate$_environment.setLocalVariable$3(restParameter, argumentList, t4);
  75432. } else
  75433. argumentList = null;
  75434. $async$goto = 9;
  75435. return A._asyncAwait($async$self.run.call$0(), $async$call$0);
  75436. case 9:
  75437. // returning from await.
  75438. result = $async$result;
  75439. if (argumentList == null) {
  75440. $async$returnValue = result;
  75441. // goto return
  75442. $async$goto = 1;
  75443. break;
  75444. }
  75445. t5 = t2[0];
  75446. if (t5.get$isEmpty(t5)) {
  75447. $async$returnValue = result;
  75448. // goto return
  75449. $async$goto = 1;
  75450. break;
  75451. }
  75452. if (argumentList._wereKeywordsAccessed) {
  75453. $async$returnValue = result;
  75454. // goto return
  75455. $async$goto = 1;
  75456. break;
  75457. }
  75458. t5 = t2[0];
  75459. parameterWord = A.pluralize("parameter", J.get$length$asx(t5.get$keys(t5)), null);
  75460. t2 = t2[0];
  75461. throw A.wrapException(A.MultiSpanSassRuntimeException$("No " + parameterWord + " named " + A.toSentence(J.map$1$1$ax(t2.get$keys(t2), new A._EvaluateVisitor__runUserDefinedCallable____closure0(), type$.Object), "or") + ".", t4.get$span(t4), "invocation", A.LinkedHashMap_LinkedHashMap$_literal([t3.get$spanWithName(), "declaration"], type$.FileSpan, type$.String), t1._async_evaluate$_stackTrace$1(t4.get$span(t4)), null));
  75462. case 1:
  75463. // return
  75464. return A._asyncReturn($async$returnValue, $async$completer);
  75465. }
  75466. });
  75467. return A._asyncStartSync($async$call$0, $async$completer);
  75468. },
  75469. $signature() {
  75470. return this.V._eval$1("Future<0>()");
  75471. }
  75472. };
  75473. A._EvaluateVisitor__runUserDefinedCallable____closure0.prototype = {
  75474. call$1($name) {
  75475. return "$" + $name;
  75476. },
  75477. $signature: 6
  75478. };
  75479. A._EvaluateVisitor__runFunctionCallable_closure0.prototype = {
  75480. call$0() {
  75481. var $async$goto = 0,
  75482. $async$completer = A._makeAsyncAwaitCompleter(type$.Value),
  75483. $async$returnValue, $async$self = this, t1, t2, t3, t4, _i, $returnValue;
  75484. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  75485. if ($async$errorCode === 1)
  75486. return A._asyncRethrow($async$result, $async$completer);
  75487. while (true)
  75488. switch ($async$goto) {
  75489. case 0:
  75490. // Function start
  75491. t1 = $async$self.callable.declaration, t2 = t1.children, t3 = t2.length, t4 = $async$self.$this, _i = 0;
  75492. case 3:
  75493. // for condition
  75494. if (!(_i < t3)) {
  75495. // goto after for
  75496. $async$goto = 5;
  75497. break;
  75498. }
  75499. $async$goto = 6;
  75500. return A._asyncAwait(t2[_i].accept$1(t4), $async$call$0);
  75501. case 6:
  75502. // returning from await.
  75503. $returnValue = $async$result;
  75504. if ($returnValue instanceof A.Value) {
  75505. $async$returnValue = $returnValue;
  75506. // goto return
  75507. $async$goto = 1;
  75508. break;
  75509. }
  75510. case 4:
  75511. // for update
  75512. ++_i;
  75513. // goto for condition
  75514. $async$goto = 3;
  75515. break;
  75516. case 5:
  75517. // after for
  75518. throw A.wrapException(t4._async_evaluate$_exception$2("Function finished without @return.", t1.span));
  75519. case 1:
  75520. // return
  75521. return A._asyncReturn($async$returnValue, $async$completer);
  75522. }
  75523. });
  75524. return A._asyncStartSync($async$call$0, $async$completer);
  75525. },
  75526. $signature: 67
  75527. };
  75528. A._EvaluateVisitor__runBuiltInCallable_closure2.prototype = {
  75529. call$0() {
  75530. return this._box_0.overload.verify$2(J.get$length$asx(this.evaluated._values[2]), this.namedSet);
  75531. },
  75532. $signature: 0
  75533. };
  75534. A._EvaluateVisitor__runBuiltInCallable_closure3.prototype = {
  75535. call$0() {
  75536. return this._box_0.callback.call$1(this.evaluated._values[2]);
  75537. },
  75538. $signature: 524
  75539. };
  75540. A._EvaluateVisitor__runBuiltInCallable_closure4.prototype = {
  75541. call$1($name) {
  75542. return "$" + $name;
  75543. },
  75544. $signature: 6
  75545. };
  75546. A._EvaluateVisitor__evaluateArguments_closure3.prototype = {
  75547. call$1(value) {
  75548. return value;
  75549. },
  75550. $signature: 42
  75551. };
  75552. A._EvaluateVisitor__evaluateArguments_closure4.prototype = {
  75553. call$1(value) {
  75554. return this.$this._async_evaluate$_withoutSlash$2(value, this.restNodeForSpan);
  75555. },
  75556. $signature: 42
  75557. };
  75558. A._EvaluateVisitor__evaluateArguments_closure5.prototype = {
  75559. call$2(key, value) {
  75560. var _this = this,
  75561. t1 = _this.restNodeForSpan;
  75562. _this.named.$indexSet(0, key, _this.$this._async_evaluate$_withoutSlash$2(value, t1));
  75563. _this.namedNodes.$indexSet(0, key, t1);
  75564. },
  75565. $signature: 107
  75566. };
  75567. A._EvaluateVisitor__evaluateArguments_closure6.prototype = {
  75568. call$1(value) {
  75569. return value;
  75570. },
  75571. $signature: 42
  75572. };
  75573. A._EvaluateVisitor__evaluateMacroArguments_closure3.prototype = {
  75574. call$1(value) {
  75575. var t1 = this.restArgs;
  75576. return new A.ValueExpression(value, t1.get$span(t1));
  75577. },
  75578. $signature: 64
  75579. };
  75580. A._EvaluateVisitor__evaluateMacroArguments_closure4.prototype = {
  75581. call$1(value) {
  75582. var t1 = this.restArgs;
  75583. return new A.ValueExpression(this.$this._async_evaluate$_withoutSlash$2(value, this.restNodeForSpan), t1.get$span(t1));
  75584. },
  75585. $signature: 64
  75586. };
  75587. A._EvaluateVisitor__evaluateMacroArguments_closure5.prototype = {
  75588. call$2(key, value) {
  75589. var _this = this,
  75590. t1 = _this.restArgs;
  75591. _this.named.$indexSet(0, key, new A.ValueExpression(_this.$this._async_evaluate$_withoutSlash$2(value, _this.restNodeForSpan), t1.get$span(t1)));
  75592. },
  75593. $signature: 107
  75594. };
  75595. A._EvaluateVisitor__evaluateMacroArguments_closure6.prototype = {
  75596. call$1(value) {
  75597. var t1 = this.keywordRestArgs;
  75598. return new A.ValueExpression(this.$this._async_evaluate$_withoutSlash$2(value, this.keywordRestNodeForSpan), t1.get$span(t1));
  75599. },
  75600. $signature: 64
  75601. };
  75602. A._EvaluateVisitor__addRestMap_closure0.prototype = {
  75603. call$2(key, value) {
  75604. var t2, _this = this,
  75605. t1 = _this.$this;
  75606. if (key instanceof A.SassString)
  75607. _this.values.$indexSet(0, key._string$_text, _this.convert.call$1(t1._async_evaluate$_withoutSlash$2(value, _this.expressionNode)));
  75608. else {
  75609. t2 = _this.nodeWithSpan;
  75610. 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)));
  75611. }
  75612. },
  75613. $signature: 101
  75614. };
  75615. A._EvaluateVisitor__verifyArguments_closure0.prototype = {
  75616. call$0() {
  75617. return this.parameters.verify$2(this.positional, new A.MapKeySet(this.named, type$.MapKeySet_String));
  75618. },
  75619. $signature: 0
  75620. };
  75621. A._EvaluateVisitor_visitCssAtRule_closure1.prototype = {
  75622. call$0() {
  75623. var $async$goto = 0,
  75624. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  75625. $async$self = this, t1, t2, t3, t4;
  75626. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  75627. if ($async$errorCode === 1)
  75628. return A._asyncRethrow($async$result, $async$completer);
  75629. while (true)
  75630. switch ($async$goto) {
  75631. case 0:
  75632. // Function start
  75633. t1 = $async$self.node.children, t2 = t1.$ti, t1 = new A.ListIterator(t1, t1.get$length(0), t2._eval$1("ListIterator<ListBase.E>")), t3 = $async$self.$this, t2 = t2._eval$1("ListBase.E");
  75634. case 2:
  75635. // for condition
  75636. if (!t1.moveNext$0()) {
  75637. // goto after for
  75638. $async$goto = 3;
  75639. break;
  75640. }
  75641. t4 = t1.__internal$_current;
  75642. $async$goto = 4;
  75643. return A._asyncAwait((t4 == null ? t2._as(t4) : t4).accept$1(t3), $async$call$0);
  75644. case 4:
  75645. // returning from await.
  75646. // goto for condition
  75647. $async$goto = 2;
  75648. break;
  75649. case 3:
  75650. // after for
  75651. // implicit return
  75652. return A._asyncReturn(null, $async$completer);
  75653. }
  75654. });
  75655. return A._asyncStartSync($async$call$0, $async$completer);
  75656. },
  75657. $signature: 2
  75658. };
  75659. A._EvaluateVisitor_visitCssAtRule_closure2.prototype = {
  75660. call$1(node) {
  75661. return node instanceof A.ModifiableCssStyleRule;
  75662. },
  75663. $signature: 8
  75664. };
  75665. A._EvaluateVisitor_visitCssKeyframeBlock_closure1.prototype = {
  75666. call$0() {
  75667. var $async$goto = 0,
  75668. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  75669. $async$self = this, t1, t2, t3, t4;
  75670. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  75671. if ($async$errorCode === 1)
  75672. return A._asyncRethrow($async$result, $async$completer);
  75673. while (true)
  75674. switch ($async$goto) {
  75675. case 0:
  75676. // Function start
  75677. t1 = $async$self.node.children, t2 = t1.$ti, t1 = new A.ListIterator(t1, t1.get$length(0), t2._eval$1("ListIterator<ListBase.E>")), t3 = $async$self.$this, t2 = t2._eval$1("ListBase.E");
  75678. case 2:
  75679. // for condition
  75680. if (!t1.moveNext$0()) {
  75681. // goto after for
  75682. $async$goto = 3;
  75683. break;
  75684. }
  75685. t4 = t1.__internal$_current;
  75686. $async$goto = 4;
  75687. return A._asyncAwait((t4 == null ? t2._as(t4) : t4).accept$1(t3), $async$call$0);
  75688. case 4:
  75689. // returning from await.
  75690. // goto for condition
  75691. $async$goto = 2;
  75692. break;
  75693. case 3:
  75694. // after for
  75695. // implicit return
  75696. return A._asyncReturn(null, $async$completer);
  75697. }
  75698. });
  75699. return A._asyncStartSync($async$call$0, $async$completer);
  75700. },
  75701. $signature: 2
  75702. };
  75703. A._EvaluateVisitor_visitCssKeyframeBlock_closure2.prototype = {
  75704. call$1(node) {
  75705. return node instanceof A.ModifiableCssStyleRule;
  75706. },
  75707. $signature: 8
  75708. };
  75709. A._EvaluateVisitor_visitCssMediaRule_closure2.prototype = {
  75710. call$1(mediaQueries) {
  75711. return this.$this._async_evaluate$_mergeMediaQueries$2(mediaQueries, this.node.queries);
  75712. },
  75713. $signature: 96
  75714. };
  75715. A._EvaluateVisitor_visitCssMediaRule_closure3.prototype = {
  75716. call$0() {
  75717. var $async$goto = 0,
  75718. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  75719. $async$self = this, t1, t2;
  75720. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  75721. if ($async$errorCode === 1)
  75722. return A._asyncRethrow($async$result, $async$completer);
  75723. while (true)
  75724. switch ($async$goto) {
  75725. case 0:
  75726. // Function start
  75727. t1 = $async$self.$this;
  75728. t2 = $async$self.mergedQueries;
  75729. if (t2 == null)
  75730. t2 = $async$self.node.queries;
  75731. $async$goto = 2;
  75732. 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);
  75733. case 2:
  75734. // returning from await.
  75735. // implicit return
  75736. return A._asyncReturn(null, $async$completer);
  75737. }
  75738. });
  75739. return A._asyncStartSync($async$call$0, $async$completer);
  75740. },
  75741. $signature: 2
  75742. };
  75743. A._EvaluateVisitor_visitCssMediaRule__closure0.prototype = {
  75744. call$0() {
  75745. var $async$goto = 0,
  75746. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  75747. $async$self = this, t2, t3, t4, t1, _0_0;
  75748. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  75749. if ($async$errorCode === 1)
  75750. return A._asyncRethrow($async$result, $async$completer);
  75751. while (true)
  75752. switch ($async$goto) {
  75753. case 0:
  75754. // Function start
  75755. t1 = $async$self.$this;
  75756. _0_0 = t1._async_evaluate$_atRootExcludingStyleRule ? null : t1._async_evaluate$_styleRuleIgnoringAtRoot;
  75757. $async$goto = _0_0 != null ? 2 : 4;
  75758. break;
  75759. case 2:
  75760. // then
  75761. $async$goto = 5;
  75762. return A._asyncAwait(t1._async_evaluate$_withParent$2$3$scopeWhen(A.ModifiableCssStyleRule$(_0_0._style_rule$_selector, _0_0.span, false, _0_0.originalSelector), new A._EvaluateVisitor_visitCssMediaRule___closure0(t1, $async$self.node), false, type$.ModifiableCssStyleRule, type$.Null), $async$call$0);
  75763. case 5:
  75764. // returning from await.
  75765. // goto join
  75766. $async$goto = 3;
  75767. break;
  75768. case 4:
  75769. // else
  75770. t2 = $async$self.node.children, t3 = t2.$ti, t2 = new A.ListIterator(t2, t2.get$length(0), t3._eval$1("ListIterator<ListBase.E>")), t3 = t3._eval$1("ListBase.E");
  75771. case 6:
  75772. // for condition
  75773. if (!t2.moveNext$0()) {
  75774. // goto after for
  75775. $async$goto = 7;
  75776. break;
  75777. }
  75778. t4 = t2.__internal$_current;
  75779. $async$goto = 8;
  75780. return A._asyncAwait((t4 == null ? t3._as(t4) : t4).accept$1(t1), $async$call$0);
  75781. case 8:
  75782. // returning from await.
  75783. // goto for condition
  75784. $async$goto = 6;
  75785. break;
  75786. case 7:
  75787. // after for
  75788. case 3:
  75789. // join
  75790. // implicit return
  75791. return A._asyncReturn(null, $async$completer);
  75792. }
  75793. });
  75794. return A._asyncStartSync($async$call$0, $async$completer);
  75795. },
  75796. $signature: 2
  75797. };
  75798. A._EvaluateVisitor_visitCssMediaRule___closure0.prototype = {
  75799. call$0() {
  75800. var $async$goto = 0,
  75801. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  75802. $async$self = this, t1, t2, t3, t4;
  75803. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  75804. if ($async$errorCode === 1)
  75805. return A._asyncRethrow($async$result, $async$completer);
  75806. while (true)
  75807. switch ($async$goto) {
  75808. case 0:
  75809. // Function start
  75810. t1 = $async$self.node.children, t2 = t1.$ti, t1 = new A.ListIterator(t1, t1.get$length(0), t2._eval$1("ListIterator<ListBase.E>")), t3 = $async$self.$this, t2 = t2._eval$1("ListBase.E");
  75811. case 2:
  75812. // for condition
  75813. if (!t1.moveNext$0()) {
  75814. // goto after for
  75815. $async$goto = 3;
  75816. break;
  75817. }
  75818. t4 = t1.__internal$_current;
  75819. $async$goto = 4;
  75820. return A._asyncAwait((t4 == null ? t2._as(t4) : t4).accept$1(t3), $async$call$0);
  75821. case 4:
  75822. // returning from await.
  75823. // goto for condition
  75824. $async$goto = 2;
  75825. break;
  75826. case 3:
  75827. // after for
  75828. // implicit return
  75829. return A._asyncReturn(null, $async$completer);
  75830. }
  75831. });
  75832. return A._asyncStartSync($async$call$0, $async$completer);
  75833. },
  75834. $signature: 2
  75835. };
  75836. A._EvaluateVisitor_visitCssMediaRule_closure4.prototype = {
  75837. call$1(node) {
  75838. var t1;
  75839. if (!(node instanceof A.ModifiableCssStyleRule)) {
  75840. t1 = this.mergedSources;
  75841. t1 = t1.get$isNotEmpty(t1) && node instanceof A.ModifiableCssMediaRule && B.JSArray_methods.every$1(node.queries, t1.get$contains(t1));
  75842. } else
  75843. t1 = true;
  75844. return t1;
  75845. },
  75846. $signature: 8
  75847. };
  75848. A._EvaluateVisitor_visitCssStyleRule_closure2.prototype = {
  75849. call$0() {
  75850. var $async$goto = 0,
  75851. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  75852. $async$self = this, t1;
  75853. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  75854. if ($async$errorCode === 1)
  75855. return A._asyncRethrow($async$result, $async$completer);
  75856. while (true)
  75857. switch ($async$goto) {
  75858. case 0:
  75859. // Function start
  75860. t1 = $async$self.$this;
  75861. $async$goto = 2;
  75862. 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);
  75863. case 2:
  75864. // returning from await.
  75865. // implicit return
  75866. return A._asyncReturn(null, $async$completer);
  75867. }
  75868. });
  75869. return A._asyncStartSync($async$call$0, $async$completer);
  75870. },
  75871. $signature: 2
  75872. };
  75873. A._EvaluateVisitor_visitCssStyleRule__closure0.prototype = {
  75874. call$0() {
  75875. var $async$goto = 0,
  75876. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  75877. $async$self = this, t1, t2, t3, t4;
  75878. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  75879. if ($async$errorCode === 1)
  75880. return A._asyncRethrow($async$result, $async$completer);
  75881. while (true)
  75882. switch ($async$goto) {
  75883. case 0:
  75884. // Function start
  75885. t1 = $async$self.node.children, t2 = t1.$ti, t1 = new A.ListIterator(t1, t1.get$length(0), t2._eval$1("ListIterator<ListBase.E>")), t3 = $async$self.$this, t2 = t2._eval$1("ListBase.E");
  75886. case 2:
  75887. // for condition
  75888. if (!t1.moveNext$0()) {
  75889. // goto after for
  75890. $async$goto = 3;
  75891. break;
  75892. }
  75893. t4 = t1.__internal$_current;
  75894. $async$goto = 4;
  75895. return A._asyncAwait((t4 == null ? t2._as(t4) : t4).accept$1(t3), $async$call$0);
  75896. case 4:
  75897. // returning from await.
  75898. // goto for condition
  75899. $async$goto = 2;
  75900. break;
  75901. case 3:
  75902. // after for
  75903. // implicit return
  75904. return A._asyncReturn(null, $async$completer);
  75905. }
  75906. });
  75907. return A._asyncStartSync($async$call$0, $async$completer);
  75908. },
  75909. $signature: 2
  75910. };
  75911. A._EvaluateVisitor_visitCssStyleRule_closure1.prototype = {
  75912. call$1(node) {
  75913. return node instanceof A.ModifiableCssStyleRule;
  75914. },
  75915. $signature: 8
  75916. };
  75917. A._EvaluateVisitor_visitCssSupportsRule_closure1.prototype = {
  75918. call$0() {
  75919. var $async$goto = 0,
  75920. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  75921. $async$self = this, t2, t3, t4, t1, _0_0;
  75922. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  75923. if ($async$errorCode === 1)
  75924. return A._asyncRethrow($async$result, $async$completer);
  75925. while (true)
  75926. switch ($async$goto) {
  75927. case 0:
  75928. // Function start
  75929. t1 = $async$self.$this;
  75930. _0_0 = t1._async_evaluate$_atRootExcludingStyleRule ? null : t1._async_evaluate$_styleRuleIgnoringAtRoot;
  75931. $async$goto = _0_0 != null ? 2 : 4;
  75932. break;
  75933. case 2:
  75934. // then
  75935. $async$goto = 5;
  75936. return A._asyncAwait(t1._async_evaluate$_withParent$2$2(A.ModifiableCssStyleRule$(_0_0._style_rule$_selector, _0_0.span, false, _0_0.originalSelector), new A._EvaluateVisitor_visitCssSupportsRule__closure0(t1, $async$self.node), type$.ModifiableCssStyleRule, type$.Null), $async$call$0);
  75937. case 5:
  75938. // returning from await.
  75939. // goto join
  75940. $async$goto = 3;
  75941. break;
  75942. case 4:
  75943. // else
  75944. t2 = $async$self.node.children, t3 = t2.$ti, t2 = new A.ListIterator(t2, t2.get$length(0), t3._eval$1("ListIterator<ListBase.E>")), t3 = t3._eval$1("ListBase.E");
  75945. case 6:
  75946. // for condition
  75947. if (!t2.moveNext$0()) {
  75948. // goto after for
  75949. $async$goto = 7;
  75950. break;
  75951. }
  75952. t4 = t2.__internal$_current;
  75953. $async$goto = 8;
  75954. return A._asyncAwait((t4 == null ? t3._as(t4) : t4).accept$1(t1), $async$call$0);
  75955. case 8:
  75956. // returning from await.
  75957. // goto for condition
  75958. $async$goto = 6;
  75959. break;
  75960. case 7:
  75961. // after for
  75962. case 3:
  75963. // join
  75964. // implicit return
  75965. return A._asyncReturn(null, $async$completer);
  75966. }
  75967. });
  75968. return A._asyncStartSync($async$call$0, $async$completer);
  75969. },
  75970. $signature: 2
  75971. };
  75972. A._EvaluateVisitor_visitCssSupportsRule__closure0.prototype = {
  75973. call$0() {
  75974. var $async$goto = 0,
  75975. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  75976. $async$self = this, t1, t2, t3, t4;
  75977. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  75978. if ($async$errorCode === 1)
  75979. return A._asyncRethrow($async$result, $async$completer);
  75980. while (true)
  75981. switch ($async$goto) {
  75982. case 0:
  75983. // Function start
  75984. t1 = $async$self.node.children, t2 = t1.$ti, t1 = new A.ListIterator(t1, t1.get$length(0), t2._eval$1("ListIterator<ListBase.E>")), t3 = $async$self.$this, t2 = t2._eval$1("ListBase.E");
  75985. case 2:
  75986. // for condition
  75987. if (!t1.moveNext$0()) {
  75988. // goto after for
  75989. $async$goto = 3;
  75990. break;
  75991. }
  75992. t4 = t1.__internal$_current;
  75993. $async$goto = 4;
  75994. return A._asyncAwait((t4 == null ? t2._as(t4) : t4).accept$1(t3), $async$call$0);
  75995. case 4:
  75996. // returning from await.
  75997. // goto for condition
  75998. $async$goto = 2;
  75999. break;
  76000. case 3:
  76001. // after for
  76002. // implicit return
  76003. return A._asyncReturn(null, $async$completer);
  76004. }
  76005. });
  76006. return A._asyncStartSync($async$call$0, $async$completer);
  76007. },
  76008. $signature: 2
  76009. };
  76010. A._EvaluateVisitor_visitCssSupportsRule_closure2.prototype = {
  76011. call$1(node) {
  76012. return node instanceof A.ModifiableCssStyleRule;
  76013. },
  76014. $signature: 8
  76015. };
  76016. A._EvaluateVisitor__performInterpolationHelper_closure0.prototype = {
  76017. call$1(targetLocations) {
  76018. return A.InterpolationMap$(this.interpolation, targetLocations);
  76019. },
  76020. $signature: 184
  76021. };
  76022. A._EvaluateVisitor__serialize_closure0.prototype = {
  76023. call$0() {
  76024. return A.serializeValue(this.value, false, this.quote);
  76025. },
  76026. $signature: 26
  76027. };
  76028. A._EvaluateVisitor__expressionNode_closure0.prototype = {
  76029. call$0() {
  76030. var t1 = this.expression;
  76031. return this.$this._async_evaluate$_environment.getVariableNode$2$namespace(t1.name, t1.namespace);
  76032. },
  76033. $signature: 142
  76034. };
  76035. A._EvaluateVisitor__withoutSlash_recommendation0.prototype = {
  76036. call$1(number) {
  76037. var before, after, t1,
  76038. _1_0 = number.asSlash;
  76039. $label0$0: {
  76040. if (type$.Record_2_nullable_Object_and_nullable_Object._is(_1_0)) {
  76041. before = _1_0._0;
  76042. after = _1_0._1;
  76043. t1 = "math.div(" + A.S(this.call$1(before)) + ", " + A.S(this.call$1(after)) + ")";
  76044. break $label0$0;
  76045. }
  76046. t1 = A.serializeValue(number, true, true);
  76047. break $label0$0;
  76048. }
  76049. return t1;
  76050. },
  76051. $signature: 186
  76052. };
  76053. A._EvaluateVisitor__stackFrame_closure0.prototype = {
  76054. call$1(url) {
  76055. var t1 = this.$this._async_evaluate$_importCache;
  76056. t1 = t1 == null ? null : t1.humanize$1(url);
  76057. return t1 == null ? url : t1;
  76058. },
  76059. $signature: 49
  76060. };
  76061. A._ImportedCssVisitor0.prototype = {
  76062. visitCssAtRule$1(node) {
  76063. var t1 = node.isChildless ? null : new A._ImportedCssVisitor_visitCssAtRule_closure0();
  76064. this._async_evaluate$_visitor._async_evaluate$_addChild$2$through(node, t1);
  76065. },
  76066. visitCssComment$1(node) {
  76067. return this._async_evaluate$_visitor._async_evaluate$_addChild$1(node);
  76068. },
  76069. visitCssDeclaration$1(node) {
  76070. },
  76071. visitCssImport$1(node) {
  76072. var t2,
  76073. _s13_ = "_endOfImports",
  76074. t1 = this._async_evaluate$_visitor;
  76075. if (t1._async_evaluate$_assertInModule$2(t1._async_evaluate$__parent, "__parent") !== t1._async_evaluate$_assertInModule$2(t1._async_evaluate$__root, "_root"))
  76076. t1._async_evaluate$_addChild$1(node);
  76077. 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)) {
  76078. t1._async_evaluate$_addChild$1(node);
  76079. t1._async_evaluate$__endOfImports = t1._async_evaluate$_assertInModule$2(t1._async_evaluate$__endOfImports, _s13_) + 1;
  76080. } else {
  76081. t2 = t1._async_evaluate$_outOfOrderImports;
  76082. (t2 == null ? t1._async_evaluate$_outOfOrderImports = A._setArrayType([], type$.JSArray_ModifiableCssImport) : t2).push(node);
  76083. }
  76084. },
  76085. visitCssKeyframeBlock$1(node) {
  76086. },
  76087. visitCssMediaRule$1(node) {
  76088. var t1 = this._async_evaluate$_visitor,
  76089. mediaQueries = t1._async_evaluate$_mediaQueries;
  76090. t1._async_evaluate$_addChild$2$through(node, new A._ImportedCssVisitor_visitCssMediaRule_closure0(mediaQueries == null || t1._async_evaluate$_mergeMediaQueries$2(mediaQueries, node.queries) != null));
  76091. },
  76092. visitCssStyleRule$1(node) {
  76093. return this._async_evaluate$_visitor._async_evaluate$_addChild$2$through(node, new A._ImportedCssVisitor_visitCssStyleRule_closure0());
  76094. },
  76095. visitCssStylesheet$1(node) {
  76096. var t1, t2, t3;
  76097. for (t1 = node.children, t2 = t1.$ti, t1 = new A.ListIterator(t1, t1.get$length(0), t2._eval$1("ListIterator<ListBase.E>")), t2 = t2._eval$1("ListBase.E"); t1.moveNext$0();) {
  76098. t3 = t1.__internal$_current;
  76099. (t3 == null ? t2._as(t3) : t3).accept$1(this);
  76100. }
  76101. },
  76102. visitCssSupportsRule$1(node) {
  76103. return this._async_evaluate$_visitor._async_evaluate$_addChild$2$through(node, new A._ImportedCssVisitor_visitCssSupportsRule_closure0());
  76104. }
  76105. };
  76106. A._ImportedCssVisitor_visitCssAtRule_closure0.prototype = {
  76107. call$1(node) {
  76108. return node instanceof A.ModifiableCssStyleRule;
  76109. },
  76110. $signature: 8
  76111. };
  76112. A._ImportedCssVisitor_visitCssMediaRule_closure0.prototype = {
  76113. call$1(node) {
  76114. var t1;
  76115. if (!(node instanceof A.ModifiableCssStyleRule))
  76116. t1 = this.hasBeenMerged && node instanceof A.ModifiableCssMediaRule;
  76117. else
  76118. t1 = true;
  76119. return t1;
  76120. },
  76121. $signature: 8
  76122. };
  76123. A._ImportedCssVisitor_visitCssStyleRule_closure0.prototype = {
  76124. call$1(node) {
  76125. return node instanceof A.ModifiableCssStyleRule;
  76126. },
  76127. $signature: 8
  76128. };
  76129. A._ImportedCssVisitor_visitCssSupportsRule_closure0.prototype = {
  76130. call$1(node) {
  76131. return node instanceof A.ModifiableCssStyleRule;
  76132. },
  76133. $signature: 8
  76134. };
  76135. A._EvaluationContext0.prototype = {
  76136. get$currentCallableSpan() {
  76137. var _0_0 = this._async_evaluate$_visitor._async_evaluate$_callableNode;
  76138. if (_0_0 != null)
  76139. return _0_0.get$span(_0_0);
  76140. throw A.wrapException(A.StateError$(string$.No_Sasc));
  76141. },
  76142. warn$2(_, message, deprecation) {
  76143. var t1 = this._async_evaluate$_visitor,
  76144. t2 = t1._async_evaluate$_importSpan;
  76145. if (t2 == null) {
  76146. t2 = t1._async_evaluate$_callableNode;
  76147. t2 = t2 == null ? null : t2.get$span(t2);
  76148. }
  76149. t1._async_evaluate$_warn$3(message, t2 == null ? this._async_evaluate$_defaultWarnNodeWithSpan.span : t2, deprecation);
  76150. },
  76151. $isEvaluationContext: 1
  76152. };
  76153. A._CloneCssVisitor.prototype = {
  76154. visitCssAtRule$1(node) {
  76155. var t1 = node.isChildless,
  76156. rule = A.ModifiableCssAtRule$(node.name, node.span, t1, node.value);
  76157. return t1 ? rule : this._visitChildren$2(rule, node);
  76158. },
  76159. visitCssComment$1(node) {
  76160. return new A.ModifiableCssComment(node.text, node.span);
  76161. },
  76162. visitCssDeclaration$1(node) {
  76163. return A.ModifiableCssDeclaration$(node.name, node.value, node.span, null, node.parsedAsCustomProperty, null, node.valueSpanForMap);
  76164. },
  76165. visitCssImport$1(node) {
  76166. return new A.ModifiableCssImport(node.url, node.modifiers, node.span);
  76167. },
  76168. visitCssKeyframeBlock$1(node) {
  76169. return this._visitChildren$2(A.ModifiableCssKeyframeBlock$(node.selector, node.span), node);
  76170. },
  76171. visitCssMediaRule$1(node) {
  76172. return this._visitChildren$2(A.ModifiableCssMediaRule$(node.queries, node.span), node);
  76173. },
  76174. visitCssStyleRule$1(node) {
  76175. var _0_0 = this._oldToNewSelectors.$index(0, node._style_rule$_selector._box$_inner.value);
  76176. if (_0_0 != null)
  76177. return this._visitChildren$2(A.ModifiableCssStyleRule$(_0_0, node.span, false, node.originalSelector), node);
  76178. else
  76179. throw A.wrapException(A.StateError$(string$.The_Ex));
  76180. },
  76181. visitCssStylesheet$1(node) {
  76182. return this._visitChildren$2(A.ModifiableCssStylesheet$(node.get$span(node)), node);
  76183. },
  76184. visitCssSupportsRule$1(node) {
  76185. return this._visitChildren$2(A.ModifiableCssSupportsRule$(node.condition, node.span), node);
  76186. },
  76187. _visitChildren$1$2(newParent, oldParent) {
  76188. var t1, t2, newChild;
  76189. for (t1 = J.get$iterator$ax(oldParent.get$children(oldParent)); t1.moveNext$0();) {
  76190. t2 = t1.get$current(t1);
  76191. newChild = t2.accept$1(this);
  76192. newChild.isGroupEnd = t2.get$isGroupEnd();
  76193. newParent.addChild$1(newChild);
  76194. }
  76195. return newParent;
  76196. },
  76197. _visitChildren$2(newParent, oldParent) {
  76198. newParent.toString;
  76199. return this._visitChildren$1$2(newParent, oldParent, type$.ModifiableCssParentNode);
  76200. }
  76201. };
  76202. A.Evaluator.prototype = {};
  76203. A._EvaluateVisitor.prototype = {
  76204. _EvaluateVisitor$6$functions$importCache$logger$nodeImporter$quietDeps$sourceMap(functions, importCache, logger, nodeImporter, quietDeps, sourceMap) {
  76205. var t2, metaModule, t3, _i, module, $function, t4, _this = this,
  76206. _s20_ = "$name, $module: null",
  76207. _s9_ = "sass:meta",
  76208. _s7_ = "$module",
  76209. t1 = type$.JSArray_BuiltInCallable,
  76210. metaFunctions = A._setArrayType([A.BuiltInCallable$function("global-variable-exists", _s20_, new A._EvaluateVisitor_closure(_this), _s9_), A.BuiltInCallable$function("variable-exists", "$name", new A._EvaluateVisitor_closure0(_this), _s9_), A.BuiltInCallable$function("function-exists", _s20_, new A._EvaluateVisitor_closure1(_this), _s9_), A.BuiltInCallable$function("mixin-exists", _s20_, new A._EvaluateVisitor_closure2(_this), _s9_), A.BuiltInCallable$function("content-exists", "", new A._EvaluateVisitor_closure3(_this), _s9_), A.BuiltInCallable$function("module-variables", _s7_, new A._EvaluateVisitor_closure4(_this), _s9_), A.BuiltInCallable$function("module-functions", _s7_, new A._EvaluateVisitor_closure5(_this), _s9_), A.BuiltInCallable$function("module-mixins", _s7_, new A._EvaluateVisitor_closure6(_this), _s9_), A.BuiltInCallable$function("get-function", "$name, $css: false, $module: null", new A._EvaluateVisitor_closure7(_this), _s9_), A.BuiltInCallable$function("get-mixin", _s20_, new A._EvaluateVisitor_closure8(_this), _s9_), A.BuiltInCallable$function("call", "$function, $args...", new A._EvaluateVisitor_closure9(_this), _s9_)], t1),
  76211. metaMixins = A._setArrayType([A.BuiltInCallable$mixin("load-css", "$url, $with: null", new A._EvaluateVisitor_closure10(_this), false, _s9_), A.BuiltInCallable$mixin("apply", "$mixin, $args...", new A._EvaluateVisitor_closure11(_this), true, _s9_)], t1);
  76212. t1 = type$.BuiltInCallable;
  76213. t2 = A.List_List$_of($.$get$moduleFunctions(), t1);
  76214. B.JSArray_methods.addAll$1(t2, metaFunctions);
  76215. metaModule = A.BuiltInModule$("meta", t2, metaMixins, null, t1);
  76216. t1 = A.List_List$_of($.$get$coreModules(), type$.BuiltInModule_Callable);
  76217. t1.push(metaModule);
  76218. t2 = t1.length;
  76219. t3 = _this._builtInModules;
  76220. _i = 0;
  76221. for (; _i < t1.length; t1.length === t2 || (0, A.throwConcurrentModificationError)(t1), ++_i) {
  76222. module = t1[_i];
  76223. t3.$indexSet(0, module.url, module);
  76224. }
  76225. t1 = type$.JSArray_Callable;
  76226. t2 = A._setArrayType([], t1);
  76227. B.JSArray_methods.addAll$1(t2, $.$get$globalFunctions());
  76228. t1 = A._setArrayType([], t1);
  76229. for (_i = 0; _i < 11; ++_i)
  76230. t1.push(metaFunctions[_i].withDeprecationWarning$1("meta"));
  76231. B.JSArray_methods.addAll$1(t2, t1);
  76232. for (t1 = t2.length, t3 = _this._builtInFunctions, _i = 0; _i < t2.length; t2.length === t1 || (0, A.throwConcurrentModificationError)(t2), ++_i) {
  76233. $function = t2[_i];
  76234. t4 = $function.get$name($function);
  76235. t3.$indexSet(0, A.stringReplaceAllUnchecked(t4, "_", "-"), $function);
  76236. }
  76237. },
  76238. run$2(_, importer, node) {
  76239. var error, stackTrace, t1, exception;
  76240. try {
  76241. t1 = type$.nullable_Object;
  76242. t1 = A.runZoned(new A._EvaluateVisitor_run_closure(this, node, importer), A.LinkedHashMap_LinkedHashMap$_literal([B.Symbol__evaluationContext, new A._EvaluationContext(this, node)], t1, t1), type$.Record_2_Set_Uri_loadedUrls_and_CssStylesheet_stylesheet);
  76243. return t1;
  76244. } catch (exception) {
  76245. t1 = A.unwrapException(exception);
  76246. if (t1 instanceof A.SassException) {
  76247. error = t1;
  76248. stackTrace = A.getTraceFromException(exception);
  76249. A.throwWithTrace(error.withLoadedUrls$1(this._loadedUrls), error, stackTrace);
  76250. } else
  76251. throw exception;
  76252. }
  76253. },
  76254. runExpression$2(importer, expression) {
  76255. var t1 = type$.nullable_Object;
  76256. 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);
  76257. },
  76258. runStatement$2(importer, statement) {
  76259. var t1 = type$.nullable_Object;
  76260. 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);
  76261. },
  76262. _assertInModule$1$2(value, $name) {
  76263. if (value != null)
  76264. return value;
  76265. throw A.wrapException(A.StateError$("Can't access " + $name + " outside of a module."));
  76266. },
  76267. _assertInModule$2(value, $name) {
  76268. return this._assertInModule$1$2(value, $name, type$.dynamic);
  76269. },
  76270. _withFakeStylesheet$1$3(importer, nodeWithSpan, callback) {
  76271. var t1, _this = this,
  76272. oldImporter = _this._importer;
  76273. _this._importer = importer;
  76274. _this.__stylesheet = A.Stylesheet$(B.List_empty15, nodeWithSpan.get$span(nodeWithSpan));
  76275. try {
  76276. t1 = callback.call$0();
  76277. return t1;
  76278. } finally {
  76279. _this._importer = oldImporter;
  76280. _this.__stylesheet = null;
  76281. }
  76282. },
  76283. _withFakeStylesheet$3(importer, nodeWithSpan, callback) {
  76284. callback.toString;
  76285. return this._withFakeStylesheet$1$3(importer, nodeWithSpan, callback, type$.dynamic);
  76286. },
  76287. _loadModule$7$baseUrl$configuration$namesInErrors(url, stackFrame, nodeWithSpan, callback, baseUrl, configuration, namesInErrors) {
  76288. var t2, _this = this,
  76289. _0_0 = _this._builtInModules.$index(0, url),
  76290. t1 = {};
  76291. t1.builtInModule = null;
  76292. if (_0_0 != null) {
  76293. t1.builtInModule = _0_0;
  76294. if (configuration instanceof A.ExplicitConfiguration) {
  76295. t1 = namesInErrors ? "Built-in module " + url.toString$0(0) + " can't be configured." : "Built-in modules can't be configured.";
  76296. t2 = configuration.nodeWithSpan;
  76297. throw A.wrapException(_this._evaluate$_exception$2(t1, t2.get$span(t2)));
  76298. }
  76299. _this._addExceptionSpan$2(nodeWithSpan, new A._EvaluateVisitor__loadModule_closure(t1, callback));
  76300. return;
  76301. }
  76302. _this._withStackFrame$3(stackFrame, nodeWithSpan, new A._EvaluateVisitor__loadModule_closure0(_this, url, nodeWithSpan, baseUrl, namesInErrors, configuration, callback));
  76303. },
  76304. _loadModule$5$configuration(url, stackFrame, nodeWithSpan, callback, configuration) {
  76305. callback.toString;
  76306. return this._loadModule$7$baseUrl$configuration$namesInErrors(url, stackFrame, nodeWithSpan, callback, null, configuration, false);
  76307. },
  76308. _loadModule$4(url, stackFrame, nodeWithSpan, callback) {
  76309. callback.toString;
  76310. return this._loadModule$7$baseUrl$configuration$namesInErrors(url, stackFrame, nodeWithSpan, callback, null, null, false);
  76311. },
  76312. _execute$5$configuration$namesInErrors$nodeWithSpan(importer, stylesheet, configuration, namesInErrors, nodeWithSpan) {
  76313. var _0_0, currentConfiguration, t2, t3, message, existingSpan, configurationSpan, environment, css, preModuleComments, extensionStore, module, _this = this,
  76314. t1 = stylesheet.span,
  76315. url = t1.get$sourceUrl(t1);
  76316. t1 = _this._modules;
  76317. _0_0 = t1.$index(0, url);
  76318. if (_0_0 != null) {
  76319. t1 = configuration == null;
  76320. currentConfiguration = t1 ? _this._configuration : configuration;
  76321. t2 = _this._moduleConfigurations.$index(0, url);
  76322. t3 = t2.__originalConfiguration;
  76323. t2 = t3 == null ? t2 : t3;
  76324. t3 = currentConfiguration.__originalConfiguration;
  76325. if (t2 !== (t3 == null ? currentConfiguration : t3) && currentConfiguration instanceof A.ExplicitConfiguration) {
  76326. if (namesInErrors) {
  76327. t2 = $.$get$context();
  76328. url.toString;
  76329. message = t2.prettyUri$1(url) + string$.x20was_a;
  76330. } else
  76331. message = string$.This_mw;
  76332. t2 = _this._moduleNodes.$index(0, url);
  76333. existingSpan = t2 == null ? null : t2.get$span(t2);
  76334. if (t1) {
  76335. t1 = currentConfiguration.nodeWithSpan;
  76336. configurationSpan = t1.get$span(t1);
  76337. } else
  76338. configurationSpan = null;
  76339. t1 = A.LinkedHashMap_LinkedHashMap$_empty(type$.FileSpan, type$.String);
  76340. if (existingSpan != null)
  76341. t1.$indexSet(0, existingSpan, "original load");
  76342. if (configurationSpan != null)
  76343. t1.$indexSet(0, configurationSpan, "configuration");
  76344. throw A.wrapException(t1.get$isEmpty(0) ? _this._evaluate$_exception$1(message) : _this._multiSpanException$3(message, "new load", t1));
  76345. }
  76346. return _0_0;
  76347. }
  76348. environment = A.Environment$();
  76349. css = A._Cell$();
  76350. preModuleComments = A._Cell$();
  76351. extensionStore = A.ExtensionStore$();
  76352. _this._withEnvironment$2(environment, new A._EvaluateVisitor__execute_closure(_this, importer, stylesheet, extensionStore, configuration, css, preModuleComments));
  76353. t2 = css._readLocal$0();
  76354. t3 = preModuleComments._readLocal$0();
  76355. module = environment.toModule$3(t2, t3 == null ? B.Map_empty : t3, extensionStore);
  76356. if (url != null) {
  76357. t1.$indexSet(0, url, module);
  76358. _this._moduleConfigurations.$indexSet(0, url, _this._configuration);
  76359. if (nodeWithSpan != null)
  76360. _this._moduleNodes.$indexSet(0, url, nodeWithSpan);
  76361. }
  76362. return module;
  76363. },
  76364. _execute$2(importer, stylesheet) {
  76365. return this._execute$5$configuration$namesInErrors$nodeWithSpan(importer, stylesheet, null, false, null);
  76366. },
  76367. _addOutOfOrderImports$0() {
  76368. var t1, t2, _this = this, _s5_ = "_root",
  76369. _s13_ = "_endOfImports",
  76370. _0_0 = _this._outOfOrderImports;
  76371. $label0$0: {
  76372. if (_0_0 == null) {
  76373. t1 = _this._assertInModule$2(_this.__root, _s5_).children;
  76374. break $label0$0;
  76375. }
  76376. t1 = _this._assertInModule$2(_this.__root, _s5_).children;
  76377. t1 = A.List_List$_of(A.SubListIterable$(t1, 0, A.checkNotNullable(_this._assertInModule$2(_this.__endOfImports, _s13_), "count", type$.int), t1.$ti._eval$1("ListBase.E")), type$.ModifiableCssNode);
  76378. B.JSArray_methods.addAll$1(t1, _0_0);
  76379. t2 = _this._assertInModule$2(_this.__root, _s5_).children;
  76380. B.JSArray_methods.addAll$1(t1, A.SubListIterable$(t2, _this._assertInModule$2(_this.__endOfImports, _s13_), null, t2.$ti._eval$1("ListBase.E")));
  76381. break $label0$0;
  76382. }
  76383. return t1;
  76384. },
  76385. _combineCss$2$clone(root, clone) {
  76386. var selectors, _0_0, t1, imports, css, sorted, t2;
  76387. if (!B.JSArray_methods.any$1(root.get$upstream(), new A._EvaluateVisitor__combineCss_closure())) {
  76388. selectors = root.get$extensionStore().get$simpleSelectors();
  76389. _0_0 = A.IterableExtension_get_firstOrNull(root.get$extensionStore().extensionsWhereTarget$1(new A._EvaluateVisitor__combineCss_closure0(selectors)));
  76390. if (_0_0 != null)
  76391. this._throwForUnsatisfiedExtension$1(_0_0);
  76392. return root.get$css(root);
  76393. }
  76394. t1 = type$.JSArray_CssNode;
  76395. imports = A._setArrayType([], t1);
  76396. css = A._setArrayType([], t1);
  76397. t1 = type$.Module_Callable;
  76398. sorted = A.ListQueue$(t1);
  76399. new A._EvaluateVisitor__combineCss_visitModule(this, A.LinkedHashSet_LinkedHashSet$_empty(t1), clone, css, imports, sorted).call$1(root);
  76400. if (root.get$transitivelyContainsExtensions())
  76401. this._extendModules$1(sorted);
  76402. t1 = B.JSArray_methods.$add(imports, css);
  76403. t2 = root.get$css(root);
  76404. return new A.CssStylesheet(new A.UnmodifiableListView(t1, type$.UnmodifiableListView_CssNode), t2.get$span(t2));
  76405. },
  76406. _combineCss$1(root) {
  76407. return this._combineCss$2$clone(root, false);
  76408. },
  76409. _extendModules$1(sortedModules) {
  76410. var t1, t2, t3, originalSelectors, $self, t4, t5, _i, upstream, _0_0,
  76411. downstreamExtensionStores = A.LinkedHashMap_LinkedHashMap$_empty(type$.Uri, type$.List_ExtensionStore),
  76412. unsatisfiedExtensions = new A._LinkedIdentityHashSet(type$._LinkedIdentityHashSet_Extension);
  76413. for (t1 = A._ListQueueIterator$(sortedModules, sortedModules.$ti._precomputed1), t2 = t1.$ti._precomputed1; t1.moveNext$0();) {
  76414. t3 = t1._collection$_current;
  76415. if (t3 == null)
  76416. t3 = t2._as(t3);
  76417. originalSelectors = t3.get$extensionStore().get$simpleSelectors().toSet$0(0);
  76418. unsatisfiedExtensions.addAll$1(0, t3.get$extensionStore().extensionsWhereTarget$1(new A._EvaluateVisitor__extendModules_closure(originalSelectors)));
  76419. $self = downstreamExtensionStores.$index(0, t3.get$url(t3));
  76420. t4 = t3.get$extensionStore().get$addExtensions();
  76421. if ($self != null)
  76422. t4.call$1($self);
  76423. t4 = t3.get$extensionStore();
  76424. if (t4.get$isEmpty(t4))
  76425. continue;
  76426. for (t4 = t3.get$upstream(), t5 = t4.length, _i = 0; _i < t4.length; t4.length === t5 || (0, A.throwConcurrentModificationError)(t4), ++_i) {
  76427. upstream = t4[_i];
  76428. _0_0 = upstream.get$url(upstream);
  76429. if (_0_0 != null)
  76430. J.add$1$ax(downstreamExtensionStores.putIfAbsent$2(_0_0, new A._EvaluateVisitor__extendModules_closure0()), t3.get$extensionStore());
  76431. }
  76432. unsatisfiedExtensions.removeAll$1(t3.get$extensionStore().extensionsWhereTarget$1(originalSelectors.get$contains(originalSelectors)));
  76433. }
  76434. if (unsatisfiedExtensions._collection$_length !== 0)
  76435. this._throwForUnsatisfiedExtension$1(unsatisfiedExtensions.get$first(0));
  76436. },
  76437. _throwForUnsatisfiedExtension$1(extension) {
  76438. throw A.wrapException(A.SassException$(string$.The_ta + extension.target.toString$0(0) + ' !optional" to avoid this error.', extension.span, null));
  76439. },
  76440. _indexAfterImports$1(statements) {
  76441. var t1, lastImport, i, _0_0;
  76442. for (t1 = J.getInterceptor$asx(statements), lastImport = -1, i = 0; i < t1.get$length(statements); ++i) {
  76443. $label0$0: {
  76444. _0_0 = t1.$index(statements, i);
  76445. if (_0_0 instanceof A.ModifiableCssImport)
  76446. break $label0$0;
  76447. if (_0_0 instanceof A.ModifiableCssComment)
  76448. continue;
  76449. break;
  76450. }
  76451. lastImport = i;
  76452. }
  76453. return lastImport + 1;
  76454. },
  76455. visitStylesheet$1(_, node) {
  76456. var t1, t2, warning, _i, $name, span;
  76457. for (t1 = node.parseTimeWarnings, t2 = t1.$ti, t1 = new A.ListIterator(t1, t1.get$length(0), t2._eval$1("ListIterator<ListBase.E>")), t2 = t2._eval$1("ListBase.E"); t1.moveNext$0();) {
  76458. warning = t1.__internal$_current;
  76459. if (warning == null)
  76460. warning = t2._as(warning);
  76461. this._warn$3(warning._1, warning._2, warning._0);
  76462. }
  76463. for (t1 = node.children, t2 = t1.length, _i = 0; _i < t2; ++_i)
  76464. t1[_i].accept$1(this);
  76465. for (t1 = A.MapExtensions_get_pairs(node.globalVariables, type$.String, type$.FileSpan), t1 = t1.get$iterator(t1); t1.moveNext$0();) {
  76466. t2 = t1.get$current(t1);
  76467. $name = t2._0;
  76468. span = t2._1;
  76469. this.visitVariableDeclaration$1(0, new A.VariableDeclaration(null, $name, new A.NullExpression(span), true, false, span));
  76470. }
  76471. return null;
  76472. },
  76473. visitAtRootRule$1(_, node) {
  76474. var t1, _2_0, root, first, rest, innerCopy, outerCopy, _i, copy, _this = this, _null = null,
  76475. _s8_ = "__parent",
  76476. _0_0 = node.query,
  76477. query = _0_0 != null ? new A.AtRootQueryParser(A.SpanScanner$(_this._performInterpolationWithMap$2$warnForColor(_0_0, true)._0, _null), _null).parse$0(0) : B.AtRootQuery_bfj,
  76478. $parent = _this._assertInModule$2(_this.__parent, _s8_),
  76479. included = A._setArrayType([], type$.JSArray_ModifiableCssParentNode);
  76480. for (t1 = type$.CssStylesheet; !t1._is($parent); $parent = _2_0) {
  76481. if (!query.excludes$1($parent))
  76482. included.push($parent);
  76483. _2_0 = $parent._parent;
  76484. if (_2_0 == null)
  76485. throw A.wrapException(A.StateError$(string$.CssNod));
  76486. }
  76487. root = _this._trimIncluded$1(included);
  76488. if (root === _this._assertInModule$2(_this.__parent, _s8_)) {
  76489. _this._environment.scope$1$2$when(new A._EvaluateVisitor_visitAtRootRule_closure(_this, node), node.hasDeclarations, type$.Null);
  76490. return _null;
  76491. }
  76492. if (included.length >= 1) {
  76493. first = included[0];
  76494. rest = B.JSArray_methods.sublist$1(included, 1);
  76495. innerCopy = first.copyWithoutChildren$0();
  76496. for (t1 = rest.length, outerCopy = innerCopy, _i = 0; _i < rest.length; rest.length === t1 || (0, A.throwConcurrentModificationError)(rest), ++_i, outerCopy = copy) {
  76497. copy = rest[_i].copyWithoutChildren$0();
  76498. copy.addChild$1(outerCopy);
  76499. }
  76500. root.addChild$1(outerCopy);
  76501. } else
  76502. innerCopy = root;
  76503. _this._scopeForAtRoot$4(node, innerCopy, query, included).call$1(new A._EvaluateVisitor_visitAtRootRule_closure0(_this, node));
  76504. return _null;
  76505. },
  76506. _trimIncluded$1(nodes) {
  76507. var $parent, t1, innermostContiguous, i, t2, _0_0, _1_0, root, _this = this, _null = null, _s5_ = "_root",
  76508. _s22_ = " to be an ancestor of ";
  76509. if (nodes.length === 0)
  76510. return _this._assertInModule$2(_this.__root, _s5_);
  76511. $parent = _this._assertInModule$2(_this.__parent, "__parent");
  76512. for (t1 = nodes.length, innermostContiguous = _null, i = 0; i < t1; ++i, $parent = _1_0) {
  76513. for (; t2 = nodes[i], $parent !== t2; innermostContiguous = _null, $parent = _0_0) {
  76514. _0_0 = $parent._parent;
  76515. if (_0_0 == null)
  76516. throw A.wrapException(A.ArgumentError$("Expected " + t2.toString$0(0) + _s22_ + _this.toString$0(0) + ".", _null));
  76517. }
  76518. if (innermostContiguous == null)
  76519. innermostContiguous = i;
  76520. _1_0 = $parent._parent;
  76521. if (_1_0 == null)
  76522. throw A.wrapException(A.ArgumentError$("Expected " + t2.toString$0(0) + _s22_ + _this.toString$0(0) + ".", _null));
  76523. }
  76524. if ($parent !== _this._assertInModule$2(_this.__root, _s5_))
  76525. return _this._assertInModule$2(_this.__root, _s5_);
  76526. innermostContiguous.toString;
  76527. root = nodes[innermostContiguous];
  76528. B.JSArray_methods.removeRange$2(nodes, innermostContiguous, nodes.length);
  76529. return root;
  76530. },
  76531. _scopeForAtRoot$4(node, newParent, query, included) {
  76532. var _this = this,
  76533. scope = new A._EvaluateVisitor__scopeForAtRoot_closure(_this, newParent, node),
  76534. t1 = query._all || query._at_root_query$_rule;
  76535. if (t1 !== query.include)
  76536. scope = new A._EvaluateVisitor__scopeForAtRoot_closure0(_this, scope);
  76537. if (_this._mediaQueries != null && query.excludesName$1("media"))
  76538. scope = new A._EvaluateVisitor__scopeForAtRoot_closure1(_this, scope);
  76539. if (_this._inKeyframes && query.excludesName$1("keyframes"))
  76540. scope = new A._EvaluateVisitor__scopeForAtRoot_closure2(_this, scope);
  76541. return _this._inUnknownAtRule && !B.JSArray_methods.any$1(included, new A._EvaluateVisitor__scopeForAtRoot_closure3()) ? new A._EvaluateVisitor__scopeForAtRoot_closure4(_this, scope) : scope;
  76542. },
  76543. visitContentBlock$1(_, node) {
  76544. return A.throwExpression(A.UnsupportedError$(string$.Evalua));
  76545. },
  76546. visitContentRule$1(_, node) {
  76547. var $content = this._environment._content;
  76548. if ($content == null)
  76549. return null;
  76550. this._runUserDefinedCallable$1$4(node.$arguments, $content, node, new A._EvaluateVisitor_visitContentRule_closure(this, $content), type$.Null);
  76551. return null;
  76552. },
  76553. visitDebugRule$1(_, node) {
  76554. var value = node.expression.accept$1(this),
  76555. t1 = value instanceof A.SassString ? value._string$_text : A.serializeValue(value, true, true);
  76556. this._logger.debug$2(0, t1, node.span);
  76557. return null;
  76558. },
  76559. visitDeclaration$1(_, node) {
  76560. var siblings, interleavedRules, t1, t2, t3, t4, t5, t6, rule, rule0, $name, _1_0, _2_0, value, _3_0, oldDeclarationName, _this = this, _null = null,
  76561. _s8_ = "__parent";
  76562. if ((_this._atRootExcludingStyleRule ? _null : _this._styleRuleIgnoringAtRoot) == null && !_this._inUnknownAtRule && !_this._inKeyframes)
  76563. throw A.wrapException(_this._evaluate$_exception$2(string$.Declarm, node.span));
  76564. if (_this._declarationName != null && B.JSString_methods.startsWith$1(node.name.get$initialPlain(), "--"))
  76565. throw A.wrapException(_this._evaluate$_exception$2(string$.Declarw, node.span));
  76566. siblings = _this._assertInModule$2(_this.__parent, _s8_)._parent.children;
  76567. interleavedRules = A._setArrayType([], type$.JSArray_CssStyleRule);
  76568. if (siblings.get$last(siblings) !== _this._assertInModule$2(_this.__parent, _s8_))
  76569. t1 = !(_this._quietDeps && _this._inDependency);
  76570. else
  76571. t1 = false;
  76572. if (t1)
  76573. for (t1 = A.SubListIterable$(siblings, siblings.indexOf$1(siblings, _this._assertInModule$2(_this.__parent, _s8_)) + 1, _null, siblings.$ti._eval$1("ListBase.E")), t2 = t1.$ti, t1 = new A.ListIterator(t1, t1.get$length(0), t2._eval$1("ListIterator<ListIterable.E>")), t3 = node.span, t4 = type$.SourceSpan, t5 = type$.String, t2 = t2._eval$1("ListIterable.E"); t1.moveNext$0();) {
  76574. t6 = t1.__internal$_current;
  76575. rule = t6 == null ? t2._as(t6) : t6;
  76576. $label0$1: {
  76577. if (rule instanceof A.ModifiableCssComment)
  76578. continue;
  76579. t6 = rule instanceof A.ModifiableCssStyleRule;
  76580. rule0 = t6 ? rule : _null;
  76581. if (t6) {
  76582. interleavedRules.push(rule0);
  76583. break $label0$1;
  76584. }
  76585. _this._warn$3(string$.Sassx27s, new A.MultiSpan(t3, "declaration", A.ConstantMap_ConstantMap$from(A.LinkedHashMap_LinkedHashMap$_literal([rule.get$span(rule), "nested rule"], t4, t5), t4, t5)), B.Deprecation_39u);
  76586. B.JSArray_methods.clear$0(interleavedRules);
  76587. break $label0$1;
  76588. }
  76589. }
  76590. t1 = node.name;
  76591. $name = _this._interpolationToValue$2$warnForColor(t1, true);
  76592. _1_0 = _this._declarationName;
  76593. if (_1_0 != null)
  76594. $name = new A.CssValue(_1_0 + "-" + A.S($name.value), $name.span, type$.CssValue_String);
  76595. _2_0 = node.value;
  76596. if (_2_0 != null) {
  76597. value = _2_0.accept$1(_this);
  76598. if (!value.get$isBlank() || value.get$asList().length === 0 || J.startsWith$1$s($name.value, "--")) {
  76599. t2 = _this._assertInModule$2(_this.__parent, _s8_);
  76600. t3 = _2_0.get$span(_2_0);
  76601. t4 = node.span;
  76602. t1 = B.JSString_methods.startsWith$1(t1.get$initialPlain(), "--");
  76603. t5 = interleavedRules.length === 0 ? _null : _this._evaluate$_stackTrace$1(t4);
  76604. if (_this._sourceMap) {
  76605. t6 = A.NullableExtension_andThen(_2_0, _this.get$_expressionNode());
  76606. t6 = t6 == null ? _null : J.get$span$z(t6);
  76607. } else
  76608. t6 = _null;
  76609. t2.addChild$1(A.ModifiableCssDeclaration$($name, new A.CssValue(value, t3, type$.CssValue_Value), t4, interleavedRules, t1, t5, t6));
  76610. }
  76611. }
  76612. _3_0 = node.children;
  76613. t1 = {};
  76614. t1.children = null;
  76615. if (_3_0 != null) {
  76616. t1.children = _3_0;
  76617. oldDeclarationName = _this._declarationName;
  76618. _this._declarationName = $name.value;
  76619. _this._environment.scope$1$2$when(new A._EvaluateVisitor_visitDeclaration_closure(t1, _this), node.hasDeclarations, type$.Null);
  76620. _this._declarationName = oldDeclarationName;
  76621. }
  76622. return _null;
  76623. },
  76624. visitEachRule$1(_, node) {
  76625. var _this = this,
  76626. t1 = node.list,
  76627. list = t1.accept$1(_this),
  76628. nodeWithSpan = _this._expressionNode$1(t1),
  76629. _0_0 = node.variables;
  76630. $label0$0: {
  76631. t1 = {};
  76632. t1.variable = null;
  76633. if (_0_0.length === 1) {
  76634. t1.variable = _0_0[0];
  76635. t1 = new A._EvaluateVisitor_visitEachRule_closure(t1, _this, nodeWithSpan);
  76636. break $label0$0;
  76637. }
  76638. t1 = {};
  76639. t1.variables = null;
  76640. t1.variables = _0_0;
  76641. t1 = new A._EvaluateVisitor_visitEachRule_closure0(t1, _this, nodeWithSpan);
  76642. break $label0$0;
  76643. }
  76644. return _this._environment.scope$1$2$semiGlobal(new A._EvaluateVisitor_visitEachRule_closure1(_this, list, t1, node), true, type$.nullable_Value);
  76645. },
  76646. _setMultipleVariables$3(variables, value, nodeWithSpan) {
  76647. var i,
  76648. list = value.get$asList(),
  76649. t1 = variables.length,
  76650. minLength = Math.min(t1, list.length);
  76651. for (i = 0; i < minLength; ++i)
  76652. this._environment.setLocalVariable$3(variables[i], this._withoutSlash$2(list[i], nodeWithSpan), nodeWithSpan);
  76653. for (i = minLength; i < t1; ++i)
  76654. this._environment.setLocalVariable$3(variables[i], B.C__SassNull, nodeWithSpan);
  76655. },
  76656. visitErrorRule$1(_, node) {
  76657. throw A.wrapException(this._evaluate$_exception$2(node.expression.accept$1(this).toString$0(0), node.span));
  76658. },
  76659. visitExtendRule$1(_, node) {
  76660. var t1, t2, t3, t4, t5, _i, complex, visitor, t6, t7, _0_0, compound, _this = this, _null = null,
  76661. styleRule = _this._atRootExcludingStyleRule ? _null : _this._styleRuleIgnoringAtRoot;
  76662. if (styleRule == null || _this._declarationName != null)
  76663. throw A.wrapException(_this._evaluate$_exception$2(string$.x40exten, node.span));
  76664. for (t1 = styleRule.originalSelector.components, t2 = t1.length, t3 = node.span, t4 = type$.SourceSpan, t5 = type$.String, _i = 0; _i < t2; ++_i) {
  76665. complex = t1[_i];
  76666. if (!complex.accept$1(B._IsBogusVisitor_true))
  76667. continue;
  76668. visitor = A._SerializeVisitor$(_null, true, _null, _null, true, false, _null, true);
  76669. complex.accept$1(visitor);
  76670. t6 = B.JSString_methods.trim$0(visitor._serialize$_buffer.toString$0(0));
  76671. t7 = complex.accept$1(B.C__IsUselessVisitor) ? "can't" : "shouldn't";
  76672. _this._warn$3('The selector "' + t6 + '" is invalid CSS and ' + t7 + string$.x20be_an, new A.MultiSpan(A.SpanExtensions_trimRight(complex.span), "invalid selector", A.ConstantMap_ConstantMap$from(A.LinkedHashMap_LinkedHashMap$_literal([t3, "@extend rule"], t4, t5), t4, t5)), B.Deprecation_9hF);
  76673. }
  76674. _0_0 = _this._performInterpolationWithMap$2$warnForColor(node.selector, true);
  76675. for (t1 = A.SelectorList_SelectorList$parse(A.trimAscii(_0_0._0, true), false, _0_0._1, false).components, t2 = t1.length, t3 = styleRule._style_rule$_selector._box$_inner, _i = 0; _i < t2; ++_i) {
  76676. complex = t1[_i];
  76677. compound = complex.get$singleCompound();
  76678. if (compound == null)
  76679. throw A.wrapException(A.SassFormatException$("complex selectors may not be extended.", complex.span, _null));
  76680. t4 = compound.components;
  76681. t5 = t4.length === 1 ? B.JSArray_methods.get$first(t4) : _null;
  76682. if (t5 == null)
  76683. throw A.wrapException(A.SassFormatException$(string$.compou + B.JSArray_methods.join$1(t4, ", ") + string$.x60_inst, compound.span, _null));
  76684. _this._assertInModule$2(_this.__extensionStore, "_extensionStore").addExtension$4(t3.value, t5, node, _this._mediaQueries);
  76685. }
  76686. return _null;
  76687. },
  76688. visitAtRule$1(_, node) {
  76689. var $name, value, children, wasInKeyframes, wasInUnknownAtRule, _this = this;
  76690. if (_this._declarationName != null)
  76691. throw A.wrapException(_this._evaluate$_exception$2(string$.At_rul, node.span));
  76692. $name = _this._interpolationToValue$1(node.name);
  76693. value = A.NullableExtension_andThen(node.value, new A._EvaluateVisitor_visitAtRule_closure(_this));
  76694. children = node.children;
  76695. if (children == null) {
  76696. _this._assertInModule$2(_this.__parent, "__parent").addChild$1(A.ModifiableCssAtRule$($name, node.span, true, value));
  76697. return null;
  76698. }
  76699. wasInKeyframes = _this._inKeyframes;
  76700. wasInUnknownAtRule = _this._inUnknownAtRule;
  76701. if (A.unvendor($name.value) === "keyframes")
  76702. _this._inKeyframes = true;
  76703. else
  76704. _this._inUnknownAtRule = true;
  76705. _this._withParent$2$4$scopeWhen$through(A.ModifiableCssAtRule$($name, node.span, false, value), new A._EvaluateVisitor_visitAtRule_closure0(_this, $name, children), node.hasDeclarations, new A._EvaluateVisitor_visitAtRule_closure1(), type$.ModifiableCssAtRule, type$.Null);
  76706. _this._inUnknownAtRule = wasInUnknownAtRule;
  76707. _this._inKeyframes = wasInKeyframes;
  76708. return null;
  76709. },
  76710. visitForRule$1(_, node) {
  76711. var _this = this, t1 = {},
  76712. t2 = node.from,
  76713. fromNumber = _this._addExceptionSpan$2(t2, new A._EvaluateVisitor_visitForRule_closure(_this, node)),
  76714. t3 = node.to,
  76715. toNumber = _this._addExceptionSpan$2(t3, new A._EvaluateVisitor_visitForRule_closure0(_this, node)),
  76716. from = _this._addExceptionSpan$2(t2, new A._EvaluateVisitor_visitForRule_closure1(fromNumber)),
  76717. to = t1.to = _this._addExceptionSpan$2(t3, new A._EvaluateVisitor_visitForRule_closure2(toNumber, fromNumber)),
  76718. direction = from > to ? -1 : 1;
  76719. if (from === (!node.isExclusive ? t1.to = to + direction : to))
  76720. return null;
  76721. return _this._environment.scope$1$2$semiGlobal(new A._EvaluateVisitor_visitForRule_closure3(t1, _this, node, from, direction, fromNumber), true, type$.nullable_Value);
  76722. },
  76723. visitForwardRule$1(_, node) {
  76724. var newConfiguration, t4, _i, variable, $name, _this = this,
  76725. _s8_ = "@forward",
  76726. oldConfiguration = _this._configuration,
  76727. adjustedConfiguration = oldConfiguration.throughForward$1(node),
  76728. t1 = node.configuration,
  76729. t2 = t1.length,
  76730. t3 = node.url;
  76731. if (t2 !== 0) {
  76732. newConfiguration = _this._addForwardConfiguration$2(adjustedConfiguration, node);
  76733. _this._loadModule$5$configuration(t3, _s8_, node, new A._EvaluateVisitor_visitForwardRule_closure(_this, node), newConfiguration);
  76734. t3 = type$.String;
  76735. t4 = A.LinkedHashSet_LinkedHashSet$_empty(t3);
  76736. for (_i = 0; _i < t2; ++_i) {
  76737. variable = t1[_i];
  76738. if (!variable.isGuarded)
  76739. t4.add$1(0, variable.name);
  76740. }
  76741. _this._removeUsedConfiguration$3$except(adjustedConfiguration, newConfiguration, t4);
  76742. t3 = A.LinkedHashSet_LinkedHashSet$_empty(t3);
  76743. for (_i = 0; _i < t2; ++_i)
  76744. t3.add$1(0, t1[_i].name);
  76745. 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) {
  76746. $name = t2[_i];
  76747. if (!t3.contains$1(0, $name))
  76748. if (!t1.get$isEmpty(t1))
  76749. t1.remove$1(0, $name);
  76750. }
  76751. _this._assertConfigurationIsEmpty$1(newConfiguration);
  76752. } else {
  76753. _this._configuration = adjustedConfiguration;
  76754. _this._loadModule$4(t3, _s8_, node, new A._EvaluateVisitor_visitForwardRule_closure0(_this, node));
  76755. _this._configuration = oldConfiguration;
  76756. }
  76757. return null;
  76758. },
  76759. _addForwardConfiguration$2(configuration, node) {
  76760. var t2, t3, _i, variable, t4, _0_0, t5, oldValue, variableNodeWithSpan, _null = null,
  76761. t1 = configuration._configuration$_values,
  76762. newValues = A.LinkedHashMap_LinkedHashMap$of(new A.UnmodifiableMapView(t1, type$.UnmodifiableMapView_String_ConfiguredValue), type$.String, type$.ConfiguredValue);
  76763. for (t2 = node.configuration, t3 = t2.length, _i = 0; _i < t3; ++_i) {
  76764. variable = t2[_i];
  76765. if (variable.isGuarded) {
  76766. t4 = variable.name;
  76767. _0_0 = t1.get$isEmpty(t1) ? _null : t1.remove$1(0, t4);
  76768. if (_0_0 != null) {
  76769. t5 = !_0_0.value.$eq(0, B.C__SassNull);
  76770. oldValue = _0_0;
  76771. } else {
  76772. oldValue = _null;
  76773. t5 = false;
  76774. }
  76775. if (t5) {
  76776. newValues.$indexSet(0, t4, oldValue);
  76777. continue;
  76778. }
  76779. }
  76780. t4 = variable.expression;
  76781. variableNodeWithSpan = this._expressionNode$1(t4);
  76782. newValues.$indexSet(0, variable.name, new A.ConfiguredValue(this._withoutSlash$2(t4.accept$1(this), variableNodeWithSpan), variable.span, variableNodeWithSpan));
  76783. }
  76784. if (configuration instanceof A.ExplicitConfiguration || t1.get$isEmpty(t1))
  76785. return new A.ExplicitConfiguration(node, newValues, _null);
  76786. else
  76787. return new A.Configuration(newValues, _null);
  76788. },
  76789. _registerCommentsForModule$1(module) {
  76790. var _this = this, _s5_ = "_root",
  76791. t1 = _this.__root;
  76792. if (t1 == null)
  76793. return;
  76794. if (_this._assertInModule$2(t1, _s5_).children.get$length(0) === 0 || !module.get$transitivelyContainsCss())
  76795. return;
  76796. t1 = _this._preModuleComments;
  76797. if (t1 == null)
  76798. t1 = _this._preModuleComments = A.LinkedHashMap_LinkedHashMap$_empty(type$.Module_Callable, type$.List_CssComment);
  76799. J.addAll$1$ax(t1.putIfAbsent$2(module, new A._EvaluateVisitor__registerCommentsForModule_closure()), new A.UnmodifiableListView(J.cast$1$0$ax(_this._assertInModule$2(_this.__root, _s5_).children._collection$_source, type$.CssComment), type$.UnmodifiableListView_CssComment));
  76800. _this._assertInModule$2(_this.__root, _s5_).clearChildren$0();
  76801. _this.__endOfImports = 0;
  76802. },
  76803. _removeUsedConfiguration$3$except(upstream, downstream, except) {
  76804. var t1, t2, t3, t4, _i, $name;
  76805. 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) {
  76806. $name = t2[_i];
  76807. if (except.contains$1(0, $name))
  76808. continue;
  76809. if (!t4.containsKey$1($name))
  76810. if (!t1.get$isEmpty(t1))
  76811. t1.remove$1(0, $name);
  76812. }
  76813. },
  76814. _assertConfigurationIsEmpty$2$nameInError(configuration, nameInError) {
  76815. var t1, _0_0, $name, value;
  76816. if (!(configuration instanceof A.ExplicitConfiguration))
  76817. return;
  76818. t1 = configuration._configuration$_values;
  76819. if (t1.get$isEmpty(t1))
  76820. return;
  76821. t1 = A.MapExtensions_get_pairs(new A.UnmodifiableMapView(t1, type$.UnmodifiableMapView_String_ConfiguredValue), type$.String, type$.ConfiguredValue);
  76822. _0_0 = t1.get$first(t1);
  76823. $name = _0_0._0;
  76824. value = _0_0._1;
  76825. t1 = nameInError ? "$" + $name + string$.x20was_n : string$.This_v;
  76826. throw A.wrapException(this._evaluate$_exception$2(t1, value.configurationSpan));
  76827. },
  76828. _assertConfigurationIsEmpty$1(configuration) {
  76829. return this._assertConfigurationIsEmpty$2$nameInError(configuration, false);
  76830. },
  76831. visitFunctionRule$1(_, node) {
  76832. var t1 = this._environment,
  76833. t2 = t1.closure$0(),
  76834. t3 = this._inDependency,
  76835. t4 = t1._functions,
  76836. index = t4.length - 1,
  76837. t5 = node.name;
  76838. t1._functionIndices.$indexSet(0, t5, index);
  76839. t4[index].$indexSet(0, t5, new A.UserDefinedCallable(node, t2, t3, type$.UserDefinedCallable_Environment));
  76840. return null;
  76841. },
  76842. visitIfRule$1(_, node) {
  76843. var t1, t2, _i, clauseToCheck,
  76844. clause = node.lastClause;
  76845. for (t1 = node.clauses, t2 = t1.length, _i = 0; _i < t2; ++_i) {
  76846. clauseToCheck = t1[_i];
  76847. if (clauseToCheck.expression.accept$1(this).get$isTruthy()) {
  76848. clause = clauseToCheck;
  76849. break;
  76850. }
  76851. }
  76852. return A.NullableExtension_andThen(clause, new A._EvaluateVisitor_visitIfRule_closure(this));
  76853. },
  76854. visitImportRule$1(_, node) {
  76855. var t1, t2, t3, t4, t5, t6, _i, $import, t7, _0_0, $self, t8, _this = this,
  76856. _s8_ = "__parent",
  76857. _s5_ = "_root",
  76858. _s13_ = "_endOfImports";
  76859. 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) {
  76860. $import = t1[_i];
  76861. if ($import instanceof A.DynamicImport)
  76862. _this._visitDynamicImport$1($import);
  76863. else {
  76864. t5._as($import);
  76865. t7 = $import.url;
  76866. _0_0 = _this._performInterpolationHelper$3$sourceMap$warnForColor(t7, false, false);
  76867. $self = $import.modifiers;
  76868. t8 = $self == null ? null : t4.call$1($self);
  76869. node = new A.ModifiableCssImport(new A.CssValue(_0_0._0, t7.span, t3), t8, $import.span);
  76870. if (_this._assertInModule$2(_this.__parent, _s8_) !== _this._assertInModule$2(_this.__root, _s5_))
  76871. _this._assertInModule$2(_this.__parent, _s8_).addChild$1(node);
  76872. else if (_this._assertInModule$2(_this.__endOfImports, _s13_) === J.get$length$asx(_this._assertInModule$2(_this.__root, _s5_).children._collection$_source)) {
  76873. t7 = _this._assertInModule$2(_this.__root, _s5_);
  76874. node._parent = t7;
  76875. t7 = t7._children;
  76876. node._indexInParent = t7.length;
  76877. t7.push(node);
  76878. _this.__endOfImports = _this._assertInModule$2(_this.__endOfImports, _s13_) + 1;
  76879. } else {
  76880. t7 = _this._outOfOrderImports;
  76881. (t7 == null ? _this._outOfOrderImports = A._setArrayType([], t6) : t7).push(node);
  76882. }
  76883. }
  76884. }
  76885. return null;
  76886. },
  76887. _visitDynamicImport$1($import) {
  76888. return this._withStackFrame$3("@import", $import, new A._EvaluateVisitor__visitDynamicImport_closure(this, $import));
  76889. },
  76890. _loadStylesheet$4$baseUrl$forImport(url, span, baseUrl, forImport) {
  76891. var _0_0, importCache, _1_0, importer, canonicalUrl, originalUrl, isDependency, _2_0, stylesheet, error, stackTrace, error0, stackTrace0, t1, t2, exception, _this = this;
  76892. baseUrl = baseUrl;
  76893. try {
  76894. _this._importSpan = span;
  76895. _0_0 = _this._evaluate$_importCache;
  76896. importCache = null;
  76897. if (_0_0 != null) {
  76898. importCache = _0_0;
  76899. if (baseUrl == null) {
  76900. t1 = _this._assertInModule$2(_this.__stylesheet, "_stylesheet").span;
  76901. baseUrl = t1.get$sourceUrl(t1);
  76902. }
  76903. _1_0 = J.canonicalize$4$baseImporter$baseUrl$forImport$x(importCache, A.Uri_parse(url), _this._importer, baseUrl, forImport);
  76904. importer = null;
  76905. canonicalUrl = null;
  76906. originalUrl = null;
  76907. if (type$.Record_3_nullable_Object_and_nullable_Object_and_nullable_Object_originalUrl._is(_1_0)) {
  76908. importer = _1_0._0;
  76909. canonicalUrl = _1_0._1;
  76910. originalUrl = _1_0._2;
  76911. if (canonicalUrl.get$scheme() === "")
  76912. A.WarnForDeprecation_warnForDeprecation(_this._logger, B.Deprecation_746, "Importer " + A.S(importer) + " canonicalized " + url + " to " + A.S(canonicalUrl) + string$.x2e_Rela, null, null);
  76913. _this._loadedUrls.add$1(0, canonicalUrl);
  76914. isDependency = _this._inDependency || !J.$eq$(importer, _this._importer);
  76915. _2_0 = importCache.importCanonical$3$originalUrl(importer, canonicalUrl, originalUrl);
  76916. stylesheet = null;
  76917. if (_2_0 != null) {
  76918. stylesheet = _2_0;
  76919. t1 = stylesheet;
  76920. t2 = importer;
  76921. return new A._Record_3_importer_isDependency(t1, t2, isDependency);
  76922. }
  76923. }
  76924. }
  76925. t1 = B.JSString_methods.startsWith$1(url, "package:");
  76926. if (t1)
  76927. throw A.wrapException(string$.x22packa);
  76928. else
  76929. throw A.wrapException("Can't find stylesheet to import.");
  76930. } catch (exception) {
  76931. t1 = A.unwrapException(exception);
  76932. if (t1 instanceof A.SassException)
  76933. throw exception;
  76934. else if (t1 instanceof A.ArgumentError) {
  76935. error = t1;
  76936. stackTrace = A.getTraceFromException(exception);
  76937. A.throwWithTrace(_this._evaluate$_exception$1(J.toString$0$(error)), error, stackTrace);
  76938. } else {
  76939. error0 = t1;
  76940. stackTrace0 = A.getTraceFromException(exception);
  76941. A.throwWithTrace(_this._evaluate$_exception$1(_this._getErrorMessage$1(error0)), error0, stackTrace0);
  76942. }
  76943. } finally {
  76944. _this._importSpan = null;
  76945. }
  76946. },
  76947. _loadStylesheet$3$baseUrl(url, span, baseUrl) {
  76948. return this._loadStylesheet$4$baseUrl$forImport(url, span, baseUrl, false);
  76949. },
  76950. _loadStylesheet$3$forImport(url, span, forImport) {
  76951. return this._loadStylesheet$4$baseUrl$forImport(url, span, null, forImport);
  76952. },
  76953. _applyMixin$5(mixin, contentCallable, $arguments, nodeWithSpan, nodeWithSpanWithoutContent) {
  76954. var t1, _0_0, t2, _1_8, t3, _this = this,
  76955. _s37_ = "Mixin doesn't accept a content block.",
  76956. _s10_ = "invocation";
  76957. $label0$0: {
  76958. if (mixin == null)
  76959. throw A.wrapException(_this._evaluate$_exception$2("Undefined mixin.", nodeWithSpan.get$span(nodeWithSpan)));
  76960. t1 = mixin instanceof A.BuiltInCallable;
  76961. if (t1 && !mixin.acceptsContent && contentCallable != null) {
  76962. t1 = _this._evaluateArguments$1($arguments)._values;
  76963. _0_0 = mixin.callbackFor$2(t1[2].length, new A.MapKeySet(t1[0], type$.MapKeySet_String));
  76964. throw A.wrapException(A.MultiSpanSassRuntimeException$(_s37_, nodeWithSpanWithoutContent.get$span(nodeWithSpanWithoutContent), _s10_, A.LinkedHashMap_LinkedHashMap$_literal([_0_0._0.get$spanWithName(), "declaration"], type$.FileSpan, type$.String), _this._evaluate$_stackTrace$1(nodeWithSpanWithoutContent.get$span(nodeWithSpanWithoutContent)), null));
  76965. }
  76966. if (t1) {
  76967. _this._environment.withContent$2(contentCallable, new A._EvaluateVisitor__applyMixin_closure(_this, $arguments, mixin, nodeWithSpanWithoutContent));
  76968. break $label0$0;
  76969. }
  76970. t1 = type$.UserDefinedCallable_Environment._is(mixin);
  76971. t2 = false;
  76972. if (t1) {
  76973. _1_8 = mixin.declaration;
  76974. t3 = _1_8;
  76975. if (t3 instanceof A.MixinRule)
  76976. t2 = !type$.MixinRule._as(_1_8).get$hasContent() && contentCallable != null;
  76977. }
  76978. if (t2)
  76979. throw A.wrapException(A.MultiSpanSassRuntimeException$(_s37_, nodeWithSpanWithoutContent.get$span(nodeWithSpanWithoutContent), _s10_, A.LinkedHashMap_LinkedHashMap$_literal([mixin.declaration.parameters.get$spanWithName(), "declaration"], type$.FileSpan, type$.String), _this._evaluate$_stackTrace$1(nodeWithSpanWithoutContent.get$span(nodeWithSpanWithoutContent)), null));
  76980. if (t1) {
  76981. _this._runUserDefinedCallable$1$4($arguments, mixin, nodeWithSpanWithoutContent, new A._EvaluateVisitor__applyMixin_closure0(_this, contentCallable, mixin, nodeWithSpanWithoutContent), type$.Null);
  76982. break $label0$0;
  76983. }
  76984. throw A.wrapException(A.UnsupportedError$("Unknown callable type " + mixin.toString$0(0) + "."));
  76985. }
  76986. },
  76987. visitIncludeRule$1(_, node) {
  76988. var _this = this,
  76989. mixin = _this._addExceptionSpan$2(node, new A._EvaluateVisitor_visitIncludeRule_closure(_this, node));
  76990. if (B.JSString_methods.startsWith$1(node.originalName, "--") && mixin instanceof A.UserDefinedCallable && !B.JSString_methods.startsWith$1(mixin.declaration.originalName, "--"))
  76991. _this._warn$3(string$.Sassx20_m, node.get$nameSpan(), B.Deprecation_Kg6);
  76992. _this._applyMixin$5(mixin, A.NullableExtension_andThen(node.content, new A._EvaluateVisitor_visitIncludeRule_closure0(_this)), node.$arguments, node, new A._FakeAstNode(new A._EvaluateVisitor_visitIncludeRule_closure1(node)));
  76993. return null;
  76994. },
  76995. visitMixinRule$1(_, node) {
  76996. var t1 = this._environment,
  76997. t2 = t1.closure$0(),
  76998. t3 = this._inDependency,
  76999. t4 = t1._mixins,
  77000. index = t4.length - 1,
  77001. t5 = node.name;
  77002. t1._mixinIndices.$indexSet(0, t5, index);
  77003. t4[index].$indexSet(0, t5, new A.UserDefinedCallable(node, t2, t3, type$.UserDefinedCallable_Environment));
  77004. return null;
  77005. },
  77006. visitLoudComment$1(_, node) {
  77007. var t1, text, _this = this,
  77008. _s8_ = "__parent",
  77009. _s13_ = "_endOfImports";
  77010. if (_this._inFunction)
  77011. return null;
  77012. 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))
  77013. _this.__endOfImports = _this._assertInModule$2(_this.__endOfImports, _s13_) + 1;
  77014. t1 = node.text;
  77015. text = _this._performInterpolation$1(t1);
  77016. if (!B.JSString_methods.endsWith$1(text, "*/"))
  77017. text += " */";
  77018. _this._assertInModule$2(_this.__parent, _s8_).addChild$1(new A.ModifiableCssComment(text, t1.span));
  77019. return null;
  77020. },
  77021. visitMediaRule$1(_, node) {
  77022. var _0_0, queries, mergedQueries, t1, mergedSources, t2, t3, _this = this;
  77023. if (_this._declarationName != null)
  77024. throw A.wrapException(_this._evaluate$_exception$2(string$.Media_, node.span));
  77025. _0_0 = _this._performInterpolationWithMap$2$warnForColor(node.query, true);
  77026. queries = new A.MediaQueryParser(A.SpanScanner$(_0_0._0, null), _0_0._1).parse$0(0);
  77027. mergedQueries = A.NullableExtension_andThen(_this._mediaQueries, new A._EvaluateVisitor_visitMediaRule_closure(_this, queries));
  77028. t1 = mergedQueries == null;
  77029. if (!t1 && J.get$isEmpty$asx(mergedQueries))
  77030. return null;
  77031. if (t1)
  77032. mergedSources = B.Set_empty1;
  77033. else {
  77034. t2 = _this._mediaQuerySources;
  77035. t2.toString;
  77036. t2 = A.LinkedHashSet_LinkedHashSet$of(t2, type$.CssMediaQuery);
  77037. t3 = _this._mediaQueries;
  77038. t3.toString;
  77039. t2.addAll$1(0, t3);
  77040. t2.addAll$1(0, queries);
  77041. mergedSources = t2;
  77042. }
  77043. t1 = t1 ? queries : mergedQueries;
  77044. _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);
  77045. return null;
  77046. },
  77047. _mergeMediaQueries$2(queries1, queries2) {
  77048. var t1, t2, t3, t4, _0_0, t5, result,
  77049. queries = A._setArrayType([], type$.JSArray_CssMediaQuery);
  77050. for (t1 = J.get$iterator$ax(queries1), t2 = J.getInterceptor$ax(queries2); t1.moveNext$0();) {
  77051. t3 = t1.get$current(t1);
  77052. for (t4 = t2.get$iterator(queries2); t4.moveNext$0();) {
  77053. _0_0 = t3.merge$1(t4.get$current(t4));
  77054. if (B._SingletonCssMediaQueryMergeResult_0 === _0_0)
  77055. continue;
  77056. if (B._SingletonCssMediaQueryMergeResult_1 === _0_0)
  77057. return null;
  77058. t5 = _0_0 instanceof A.MediaQuerySuccessfulMergeResult;
  77059. result = t5 ? _0_0 : null;
  77060. if (t5)
  77061. queries.push(result.query);
  77062. }
  77063. }
  77064. return queries;
  77065. },
  77066. visitReturnRule$1(_, node) {
  77067. var t1 = node.expression;
  77068. return this._withoutSlash$2(t1.accept$1(this), t1);
  77069. },
  77070. visitSilentComment$1(_, node) {
  77071. return null;
  77072. },
  77073. visitStyleRule$1(_, node) {
  77074. var t1, _0_0, selectorText, selectorMap, parsedSelector, _1_0, t2, t3, _i, _2_0, first, t4, rule, oldAtRootExcludingStyleRule, _this = this, _null = null,
  77075. _s8_ = "__parent",
  77076. _s11_ = "_stylesheet";
  77077. if (_this._declarationName != null)
  77078. throw A.wrapException(_this._evaluate$_exception$2(string$.Style_n, node.span));
  77079. else if (_this._inKeyframes && _this._assertInModule$2(_this.__parent, _s8_) instanceof A.ModifiableCssKeyframeBlock)
  77080. throw A.wrapException(_this._evaluate$_exception$2(string$.Style_k, node.span));
  77081. t1 = node.selector;
  77082. _0_0 = _this._performInterpolationWithMap$2$warnForColor(t1, true);
  77083. selectorText = _0_0._0;
  77084. selectorMap = _0_0._1;
  77085. if (_this._inKeyframes) {
  77086. _this._withParent$2$4$scopeWhen$through(A.ModifiableCssKeyframeBlock$(new A.CssValue(A.List_List$unmodifiable(new A.KeyframeSelectorParser(A.SpanScanner$(selectorText, _null), selectorMap).parse$0(0), type$.String), t1.span, type$.CssValue_List_String), node.span), new A._EvaluateVisitor_visitStyleRule_closure(_this, node), node.hasDeclarations, new A._EvaluateVisitor_visitStyleRule_closure0(), type$.ModifiableCssKeyframeBlock, type$.Null);
  77087. return _null;
  77088. }
  77089. parsedSelector = A.SelectorList_SelectorList$parse(selectorText, true, selectorMap, _this._assertInModule$2(_this.__stylesheet, _s11_).plainCss);
  77090. _1_0 = _this._atRootExcludingStyleRule ? _null : _this._styleRuleIgnoringAtRoot;
  77091. $label0$0: {
  77092. if (_1_0 == null) {
  77093. t1 = true;
  77094. break $label0$0;
  77095. }
  77096. if (_1_0.fromPlainCss) {
  77097. t1 = false;
  77098. break $label0$0;
  77099. }
  77100. t1 = !(_this._assertInModule$2(_this.__stylesheet, _s11_).plainCss && parsedSelector.accept$1(B.C__ContainsParentSelectorVisitor));
  77101. break $label0$0;
  77102. }
  77103. if (t1) {
  77104. if (_this._assertInModule$2(_this.__stylesheet, _s11_).plainCss)
  77105. for (t2 = parsedSelector.components, t3 = t2.length, _i = 0; _i < t3; ++_i) {
  77106. _2_0 = t2[_i].leadingCombinators;
  77107. if (_2_0.length >= 1) {
  77108. first = _2_0[0];
  77109. t4 = _this._assertInModule$2(_this.__stylesheet, _s11_).plainCss;
  77110. } else {
  77111. first = _null;
  77112. t4 = false;
  77113. }
  77114. if (t4)
  77115. throw A.wrapException(_this._evaluate$_exception$2(string$.Top_lel, first.span));
  77116. }
  77117. t2 = _this._styleRuleIgnoringAtRoot;
  77118. t2 = t2 == null ? _null : t2.originalSelector;
  77119. parsedSelector = parsedSelector.nestWithin$3$implicitParent$preserveParentSelectors(t2, !_this._atRootExcludingStyleRule, _this._assertInModule$2(_this.__stylesheet, _s11_).plainCss);
  77120. }
  77121. rule = A.ModifiableCssStyleRule$(_this._assertInModule$2(_this.__extensionStore, "_extensionStore").addSelector$2(parsedSelector, _this._mediaQueries), node.span, _this._assertInModule$2(_this.__stylesheet, _s11_).plainCss, parsedSelector);
  77122. oldAtRootExcludingStyleRule = _this._atRootExcludingStyleRule;
  77123. t2 = _this._atRootExcludingStyleRule = false;
  77124. t1 = t1 ? new A._EvaluateVisitor_visitStyleRule_closure1() : _null;
  77125. _this._withParent$2$4$scopeWhen$through(rule, new A._EvaluateVisitor_visitStyleRule_closure2(_this, rule, node), node.hasDeclarations, t1, type$.ModifiableCssStyleRule, type$.Null);
  77126. _this._atRootExcludingStyleRule = oldAtRootExcludingStyleRule;
  77127. _this._warnForBogusCombinators$1(rule);
  77128. if ((_this._atRootExcludingStyleRule ? _null : _this._styleRuleIgnoringAtRoot) == null) {
  77129. t1 = _this._assertInModule$2(_this.__parent, _s8_).children;
  77130. t1 = !t1.get$isEmpty(t1);
  77131. } else
  77132. t1 = t2;
  77133. if (t1) {
  77134. t1 = _this._assertInModule$2(_this.__parent, _s8_).children;
  77135. t1.get$last(t1).isGroupEnd = true;
  77136. }
  77137. return _null;
  77138. },
  77139. _warnForBogusCombinators$1(rule) {
  77140. var t1, t2, t3, t4, t5, _i, complex, visitor, t6, t7, t8, t9, _this = this, _null = null;
  77141. if (!rule.accept$1(B._IsInvisibleVisitor_false_false))
  77142. for (t1 = rule._style_rule$_selector._box$_inner.value.components, t2 = t1.length, t3 = type$.SourceSpan, t4 = type$.String, t5 = rule.children, _i = 0; _i < t2; ++_i) {
  77143. complex = t1[_i];
  77144. if (!complex.accept$1(B._IsBogusVisitor_true))
  77145. continue;
  77146. if (complex.accept$1(B.C__IsUselessVisitor)) {
  77147. visitor = A._SerializeVisitor$(_null, true, _null, _null, true, false, _null, true);
  77148. complex.accept$1(visitor);
  77149. _this._warn$3('The selector "' + B.JSString_methods.trim$0(visitor._serialize$_buffer.toString$0(0)) + string$.x22x20is_ix20, A.SpanExtensions_trimRight(complex.span), B.Deprecation_9hF);
  77150. } else if (complex.leadingCombinators.length !== 0) {
  77151. if (!_this._assertInModule$2(_this.__stylesheet, "_stylesheet").plainCss) {
  77152. visitor = A._SerializeVisitor$(_null, true, _null, _null, true, false, _null, true);
  77153. complex.accept$1(visitor);
  77154. _this._warn$3('The selector "' + B.JSString_methods.trim$0(visitor._serialize$_buffer.toString$0(0)) + string$.x22x20is_ix0a, A.SpanExtensions_trimRight(complex.span), B.Deprecation_9hF);
  77155. }
  77156. } else {
  77157. visitor = A._SerializeVisitor$(_null, true, _null, _null, true, false, _null, true);
  77158. complex.accept$1(visitor);
  77159. t6 = B.JSString_methods.trim$0(visitor._serialize$_buffer.toString$0(0));
  77160. t7 = complex.accept$1(B._IsBogusVisitor_false) ? string$.x20It_wi : "";
  77161. t8 = A.SpanExtensions_trimRight(complex.span);
  77162. if (t5.get$length(0) === 0)
  77163. A.throwExpression(A.IterableElementError_noElement());
  77164. t9 = J.get$span$z(t5.$index(0, 0));
  77165. _this._warn$3('The selector "' + t6 + string$.x22x20is_o + t7 + string$.x0aThis_, new A.MultiSpan(t8, "invalid selector", A.ConstantMap_ConstantMap$from(A.LinkedHashMap_LinkedHashMap$_literal([t9, "this is not a style rule" + (t5.every$1(t5, new A._EvaluateVisitor__warnForBogusCombinators_closure()) ? "\n(try converting to a //-style comment)" : "")], t3, t4), t3, t4)), B.Deprecation_9hF);
  77166. }
  77167. }
  77168. },
  77169. visitSupportsRule$1(_, node) {
  77170. var t1, _this = this;
  77171. if (_this._declarationName != null)
  77172. throw A.wrapException(_this._evaluate$_exception$2(string$.Suppor, node.span));
  77173. t1 = node.condition;
  77174. _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);
  77175. return null;
  77176. },
  77177. _visitSupportsCondition$1(condition) {
  77178. var t1, _this = this;
  77179. $label0$0: {
  77180. if (condition instanceof A.SupportsOperation) {
  77181. t1 = condition.operator;
  77182. t1 = _this._evaluate$_parenthesize$2(condition.left, t1) + " " + t1 + " " + _this._evaluate$_parenthesize$2(condition.right, t1);
  77183. break $label0$0;
  77184. }
  77185. if (condition instanceof A.SupportsNegation) {
  77186. t1 = "not " + _this._evaluate$_parenthesize$1(condition.condition);
  77187. break $label0$0;
  77188. }
  77189. if (condition instanceof A.SupportsInterpolation) {
  77190. t1 = condition.expression;
  77191. t1 = _this._evaluate$_serialize$3$quote(t1.accept$1(_this), t1, false);
  77192. break $label0$0;
  77193. }
  77194. t1 = {};
  77195. t1.declaration = null;
  77196. if (condition instanceof A.SupportsDeclaration) {
  77197. t1.declaration = condition;
  77198. t1 = _this._withSupportsDeclaration$1(new A._EvaluateVisitor__visitSupportsCondition_closure(t1, _this));
  77199. break $label0$0;
  77200. }
  77201. if (condition instanceof A.SupportsFunction) {
  77202. t1 = _this._performInterpolation$1(condition.name) + "(" + _this._performInterpolation$1(condition.$arguments) + ")";
  77203. break $label0$0;
  77204. }
  77205. if (condition instanceof A.SupportsAnything) {
  77206. t1 = "(" + _this._performInterpolation$1(condition.contents) + ")";
  77207. break $label0$0;
  77208. }
  77209. t1 = A.throwExpression(A.ArgumentError$("Unknown supports condition type " + A.getRuntimeTypeOfDartObject(condition).toString$0(0) + ".", null));
  77210. }
  77211. return t1;
  77212. },
  77213. _withSupportsDeclaration$1$1(callback) {
  77214. var t1,
  77215. oldInSupportsDeclaration = this._inSupportsDeclaration;
  77216. this._inSupportsDeclaration = true;
  77217. try {
  77218. t1 = callback.call$0();
  77219. return t1;
  77220. } finally {
  77221. this._inSupportsDeclaration = oldInSupportsDeclaration;
  77222. }
  77223. },
  77224. _withSupportsDeclaration$1(callback) {
  77225. callback.toString;
  77226. return this._withSupportsDeclaration$1$1(callback, type$.dynamic);
  77227. },
  77228. _evaluate$_parenthesize$2(condition, operator) {
  77229. var t1;
  77230. if (!(condition instanceof A.SupportsNegation))
  77231. if (condition instanceof A.SupportsOperation)
  77232. t1 = operator == null || operator !== condition.operator;
  77233. else
  77234. t1 = false;
  77235. else
  77236. t1 = true;
  77237. if (t1)
  77238. return "(" + this._visitSupportsCondition$1(condition) + ")";
  77239. return this._visitSupportsCondition$1(condition);
  77240. },
  77241. _evaluate$_parenthesize$1(condition) {
  77242. return this._evaluate$_parenthesize$2(condition, null);
  77243. },
  77244. visitVariableDeclaration$1(_, node) {
  77245. var t1, _0_0, t2, value, _this = this, _null = null;
  77246. if (node.isGuarded) {
  77247. if (node.namespace == null && _this._environment._variables.length === 1) {
  77248. t1 = _this._configuration._configuration$_values;
  77249. _0_0 = t1.get$isEmpty(t1) ? _null : t1.remove$1(0, node.name);
  77250. t1 = {};
  77251. t1.override = null;
  77252. if (_0_0 != null) {
  77253. t1.override = _0_0;
  77254. t2 = !_0_0.value.$eq(0, B.C__SassNull);
  77255. } else
  77256. t2 = false;
  77257. if (t2) {
  77258. _this._addExceptionSpan$2(node, new A._EvaluateVisitor_visitVariableDeclaration_closure(t1, _this, node));
  77259. return _null;
  77260. }
  77261. }
  77262. value = _this._addExceptionSpan$2(node, new A._EvaluateVisitor_visitVariableDeclaration_closure0(_this, node));
  77263. if (value != null && !value.$eq(0, B.C__SassNull))
  77264. return _null;
  77265. }
  77266. if (node.isGlobal && !_this._environment.globalVariableExists$1(node.name)) {
  77267. t1 = _this._environment._variables.length === 1 ? string$.As_of_S : string$.As_of_R + A.declarationName(node.span) + ": null` at the stylesheet root.";
  77268. _this._warn$3(t1, node.span, B.Deprecation_Rg0);
  77269. }
  77270. t1 = node.expression;
  77271. _this._addExceptionSpan$2(node, new A._EvaluateVisitor_visitVariableDeclaration_closure1(_this, node, _this._withoutSlash$2(t1.accept$1(_this), t1)));
  77272. return _null;
  77273. },
  77274. visitUseRule$1(_, node) {
  77275. var values, _i, variable, t3, variableNodeWithSpan, configuration, _this = this,
  77276. t1 = node.configuration,
  77277. t2 = t1.length;
  77278. if (t2 !== 0) {
  77279. values = A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.ConfiguredValue);
  77280. for (_i = 0; _i < t2; ++_i) {
  77281. variable = t1[_i];
  77282. t3 = variable.expression;
  77283. variableNodeWithSpan = _this._expressionNode$1(t3);
  77284. values.$indexSet(0, variable.name, new A.ConfiguredValue(_this._withoutSlash$2(t3.accept$1(_this), variableNodeWithSpan), variable.span, variableNodeWithSpan));
  77285. }
  77286. configuration = new A.ExplicitConfiguration(node, values, null);
  77287. } else
  77288. configuration = B.Configuration_Map_empty_null;
  77289. _this._loadModule$5$configuration(node.url, "@use", node, new A._EvaluateVisitor_visitUseRule_closure(_this, node), configuration);
  77290. _this._assertConfigurationIsEmpty$1(configuration);
  77291. return null;
  77292. },
  77293. visitWarnRule$1(_, node) {
  77294. var _this = this,
  77295. value = _this._addExceptionSpan$2(node, new A._EvaluateVisitor_visitWarnRule_closure(_this, node)),
  77296. t1 = value instanceof A.SassString ? value._string$_text : _this._evaluate$_serialize$2(value, node.expression),
  77297. t2 = _this._evaluate$_stackTrace$1(node.span);
  77298. _this._logger.internalWarn$4$deprecation$span$trace(t1, null, null, t2);
  77299. return null;
  77300. },
  77301. visitWhileRule$1(_, node) {
  77302. return this._environment.scope$1$3$semiGlobal$when(new A._EvaluateVisitor_visitWhileRule_closure(this, node), true, node.hasDeclarations, type$.nullable_Value);
  77303. },
  77304. visitBinaryOperationExpression$1(_, node) {
  77305. var t1, _this = this;
  77306. if (_this._assertInModule$2(_this.__stylesheet, "_stylesheet").plainCss) {
  77307. t1 = node.operator;
  77308. t1 = t1 !== B.BinaryOperator_Kyq && t1 !== B.BinaryOperator_Mh5;
  77309. } else
  77310. t1 = false;
  77311. if (t1)
  77312. throw A.wrapException(_this._evaluate$_exception$2("Operators aren't allowed in plain CSS.", node.get$operatorSpan()));
  77313. return _this._addExceptionSpan$2(node, new A._EvaluateVisitor_visitBinaryOperationExpression_closure(_this, node));
  77314. },
  77315. _slash$3(left, right, node) {
  77316. var t2, _1_1,
  77317. result = left.dividedBy$1(right),
  77318. _1_2_isSet = left instanceof A.SassNumber,
  77319. _1_2 = null, right0 = null,
  77320. t1 = false;
  77321. if (_1_2_isSet) {
  77322. t2 = type$.SassNumber;
  77323. t2._as(left);
  77324. if (right instanceof A.SassNumber) {
  77325. t2._as(right);
  77326. t1 = node.allowsSlash && this._operandAllowsSlash$1(node.left) && this._operandAllowsSlash$1(node.right);
  77327. right0 = right;
  77328. _1_2 = right0;
  77329. } else
  77330. _1_2 = right;
  77331. _1_1 = left;
  77332. } else {
  77333. _1_1 = left;
  77334. left = null;
  77335. }
  77336. if (t1)
  77337. return type$.SassNumber._as(result).withSlash$2(left, right0);
  77338. if (_1_1 instanceof A.SassNumber)
  77339. t1 = (_1_2_isSet ? _1_2 : right) instanceof A.SassNumber;
  77340. else
  77341. t1 = false;
  77342. if (t1) {
  77343. this._warn$3(string$.Using__o + A.S(new A._EvaluateVisitor__slash_recommendation().call$1(node)) + " or " + A.expressionToCalc(node).toString$0(0) + string$.x0a_Morex20, node.get$span(0), B.Deprecation_BvP);
  77344. return result;
  77345. }
  77346. return result;
  77347. },
  77348. _operandAllowsSlash$1(node) {
  77349. var t1;
  77350. if (node instanceof A.FunctionExpression)
  77351. if (node.namespace == null) {
  77352. t1 = node.name;
  77353. t1 = B.Set_Pr3yj.contains$1(0, t1.toLowerCase()) && this._environment.getFunction$1(t1) == null;
  77354. } else
  77355. t1 = false;
  77356. else
  77357. t1 = true;
  77358. return t1;
  77359. },
  77360. visitValueExpression$1(_, node) {
  77361. return node.value;
  77362. },
  77363. visitVariableExpression$1(_, node) {
  77364. var result = this._addExceptionSpan$2(node, new A._EvaluateVisitor_visitVariableExpression_closure(this, node));
  77365. if (result != null)
  77366. return result;
  77367. throw A.wrapException(this._evaluate$_exception$2("Undefined variable.", node.span));
  77368. },
  77369. visitUnaryOperationExpression$1(_, node) {
  77370. return this._addExceptionSpan$2(node, new A._EvaluateVisitor_visitUnaryOperationExpression_closure(node, node.operand.accept$1(this)));
  77371. },
  77372. visitBooleanExpression$1(_, node) {
  77373. return node.value ? B.SassBoolean_true : B.SassBoolean_false;
  77374. },
  77375. visitIfExpression$1(_, node) {
  77376. var condition, t1, ifTrue, ifFalse, result, _this = this,
  77377. _0_0 = _this._evaluateMacroArguments$1(node),
  77378. positional = _0_0._0,
  77379. named = _0_0._1;
  77380. _this._verifyArguments$4(positional.length, named, $.$get$IfExpression_declaration(), node);
  77381. condition = A.ListExtensions_elementAtOrNull(positional, 0);
  77382. if (condition == null) {
  77383. t1 = named.$index(0, "condition");
  77384. t1.toString;
  77385. condition = t1;
  77386. }
  77387. ifTrue = A.ListExtensions_elementAtOrNull(positional, 1);
  77388. if (ifTrue == null) {
  77389. t1 = named.$index(0, "if-true");
  77390. t1.toString;
  77391. ifTrue = t1;
  77392. }
  77393. ifFalse = A.ListExtensions_elementAtOrNull(positional, 2);
  77394. if (ifFalse == null) {
  77395. t1 = named.$index(0, "if-false");
  77396. t1.toString;
  77397. ifFalse = t1;
  77398. }
  77399. result = condition.accept$1(_this).get$isTruthy() ? ifTrue : ifFalse;
  77400. return _this._withoutSlash$2(result.accept$1(_this), _this._expressionNode$1(result));
  77401. },
  77402. visitNullExpression$1(_, node) {
  77403. return B.C__SassNull;
  77404. },
  77405. visitNumberExpression$1(_, node) {
  77406. return A.SassNumber_SassNumber(node.value, node.unit);
  77407. },
  77408. visitParenthesizedExpression$1(_, node) {
  77409. var _this = this;
  77410. return _this._assertInModule$2(_this.__stylesheet, "_stylesheet").plainCss ? A.throwExpression(_this._evaluate$_exception$2("Parentheses aren't allowed in plain CSS.", node.span)) : node.expression.accept$1(_this);
  77411. },
  77412. visitColorExpression$1(_, node) {
  77413. return node.value;
  77414. },
  77415. visitListExpression$1(_, node) {
  77416. var t1 = node.contents;
  77417. 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);
  77418. },
  77419. visitMapExpression$1(_, node) {
  77420. var t2, t3, _i, t4, key, keyValue, valueValue, oldValueSpan,
  77421. t1 = type$.Value,
  77422. map = A.LinkedHashMap_LinkedHashMap$_empty(t1, t1),
  77423. keyNodes = A.LinkedHashMap_LinkedHashMap$_empty(t1, type$.AstNode);
  77424. for (t2 = node.pairs, t3 = t2.length, _i = 0; _i < t3; ++_i) {
  77425. t4 = t2[_i];
  77426. key = t4._0;
  77427. keyValue = key.accept$1(this);
  77428. valueValue = t4._1.accept$1(this);
  77429. if (map.containsKey$1(keyValue)) {
  77430. t1 = keyNodes.$index(0, keyValue);
  77431. oldValueSpan = t1 == null ? null : t1.get$span(t1);
  77432. t1 = key.get$span(key);
  77433. t2 = A.LinkedHashMap_LinkedHashMap$_empty(type$.FileSpan, type$.String);
  77434. if (oldValueSpan != null)
  77435. t2.$indexSet(0, oldValueSpan, "first key");
  77436. throw A.wrapException(A.MultiSpanSassRuntimeException$("Duplicate key.", t1, "second key", t2, this._evaluate$_stackTrace$1(key.get$span(key)), null));
  77437. }
  77438. map.$indexSet(0, keyValue, valueValue);
  77439. keyNodes.$indexSet(0, keyValue, key);
  77440. }
  77441. return new A.SassMap(A.ConstantMap_ConstantMap$from(map, t1, t1));
  77442. },
  77443. visitFunctionExpression$1(_, node) {
  77444. var t2, _0_0, t3, t4, $name, oldInFunction, result, _this = this,
  77445. _s11_ = "_stylesheet",
  77446. t1 = {},
  77447. $function = _this._assertInModule$2(_this.__stylesheet, _s11_).plainCss ? null : _this._addExceptionSpan$2(node, new A._EvaluateVisitor_visitFunctionExpression_closure(_this, node));
  77448. t1.$function = $function;
  77449. if ($function == null) {
  77450. if (node.namespace != null)
  77451. throw A.wrapException(_this._evaluate$_exception$2("Undefined function.", node.span));
  77452. t2 = node.name;
  77453. _0_0 = t2.toLowerCase();
  77454. t3 = false;
  77455. if ("min" === _0_0 || "max" === _0_0 || "round" === _0_0 || "abs" === _0_0) {
  77456. t3 = node.$arguments;
  77457. t4 = t3.named;
  77458. t3 = t4.get$isEmpty(t4) && t3.rest == null && B.JSArray_methods.every$1(t3.positional, new A._EvaluateVisitor_visitFunctionExpression_closure0());
  77459. $name = _0_0;
  77460. } else
  77461. $name = null;
  77462. if (t3)
  77463. return _this._visitCalculation$2$inLegacySassFunction(node, $name);
  77464. if ("calc" === _0_0 || "clamp" === _0_0 || "hypot" === _0_0 || "sin" === _0_0 || "cos" === _0_0 || "tan" === _0_0 || "asin" === _0_0 || "acos" === _0_0 || "atan" === _0_0 || "sqrt" === _0_0 || "exp" === _0_0 || "sign" === _0_0 || "mod" === _0_0 || "rem" === _0_0 || "atan2" === _0_0 || "pow" === _0_0 || "log" === _0_0 || "calc-size" === _0_0)
  77465. return _this._visitCalculation$1(node);
  77466. $function = _this._assertInModule$2(_this.__stylesheet, _s11_).plainCss ? null : _this._builtInFunctions.$index(0, t2);
  77467. t2 = t1.$function = $function == null ? new A.PlainCssCallable(node.originalName) : $function;
  77468. } else
  77469. t2 = $function;
  77470. if (B.JSString_methods.startsWith$1(node.originalName, "--") && t2 instanceof A.UserDefinedCallable && !B.JSString_methods.startsWith$1(t2.declaration.originalName, "--"))
  77471. _this._warn$3(string$.Sassx20_f_, node.get$nameSpan(), B.Deprecation_Kg6);
  77472. oldInFunction = _this._inFunction;
  77473. _this._inFunction = true;
  77474. result = _this._addErrorSpan$2(node, new A._EvaluateVisitor_visitFunctionExpression_closure1(t1, _this, node));
  77475. _this._inFunction = oldInFunction;
  77476. return result;
  77477. },
  77478. _visitCalculation$2$inLegacySassFunction(node, inLegacySassFunction) {
  77479. var $arguments, oldCallableNode, t1, _0_0, error, stackTrace, t4, _i, exception, _this = this,
  77480. t2 = node.$arguments,
  77481. t3 = t2.named;
  77482. if (t3.get$isNotEmpty(t3))
  77483. throw A.wrapException(_this._evaluate$_exception$2(string$.Keywor, node.span));
  77484. else if (t2.rest != null)
  77485. throw A.wrapException(_this._evaluate$_exception$2(string$.Rest_a, node.span));
  77486. _this._checkCalculationArguments$1(node);
  77487. t3 = A._setArrayType([], type$.JSArray_Object);
  77488. for (t2 = t2.positional, t4 = t2.length, _i = 0; _i < t4; ++_i)
  77489. t3.push(_this._visitCalculationExpression$2$inLegacySassFunction(t2[_i], inLegacySassFunction));
  77490. $arguments = t3;
  77491. if (_this._inSupportsDeclaration)
  77492. return new A.SassCalculation(node.name, A.List_List$unmodifiable($arguments, type$.Object));
  77493. oldCallableNode = _this._callableNode;
  77494. _this._callableNode = node;
  77495. try {
  77496. t1 = null;
  77497. t3 = node.name;
  77498. _0_0 = t3.toLowerCase();
  77499. $label0$0: {
  77500. if ("calc" === _0_0) {
  77501. t1 = A.SassCalculation_calc(J.$index$asx($arguments, 0));
  77502. break $label0$0;
  77503. }
  77504. if ("sqrt" === _0_0) {
  77505. t1 = A.SassCalculation__singleArgument("sqrt", J.$index$asx($arguments, 0), A.number0__sqrt$closure(), true);
  77506. break $label0$0;
  77507. }
  77508. if ("sin" === _0_0) {
  77509. t1 = A.SassCalculation__singleArgument("sin", J.$index$asx($arguments, 0), A.number0__sin$closure(), false);
  77510. break $label0$0;
  77511. }
  77512. if ("cos" === _0_0) {
  77513. t1 = A.SassCalculation__singleArgument("cos", J.$index$asx($arguments, 0), A.number0__cos$closure(), false);
  77514. break $label0$0;
  77515. }
  77516. if ("tan" === _0_0) {
  77517. t1 = A.SassCalculation__singleArgument("tan", J.$index$asx($arguments, 0), A.number0__tan$closure(), false);
  77518. break $label0$0;
  77519. }
  77520. if ("asin" === _0_0) {
  77521. t1 = A.SassCalculation__singleArgument("asin", J.$index$asx($arguments, 0), A.number0__asin$closure(), true);
  77522. break $label0$0;
  77523. }
  77524. if ("acos" === _0_0) {
  77525. t1 = A.SassCalculation__singleArgument("acos", J.$index$asx($arguments, 0), A.number0__acos$closure(), true);
  77526. break $label0$0;
  77527. }
  77528. if ("atan" === _0_0) {
  77529. t1 = A.SassCalculation__singleArgument("atan", J.$index$asx($arguments, 0), A.number0__atan$closure(), true);
  77530. break $label0$0;
  77531. }
  77532. if ("abs" === _0_0) {
  77533. t1 = A.SassCalculation_abs(J.$index$asx($arguments, 0));
  77534. break $label0$0;
  77535. }
  77536. if ("exp" === _0_0) {
  77537. t1 = A.SassCalculation_exp(J.$index$asx($arguments, 0));
  77538. break $label0$0;
  77539. }
  77540. if ("sign" === _0_0) {
  77541. t1 = A.SassCalculation_sign(J.$index$asx($arguments, 0));
  77542. break $label0$0;
  77543. }
  77544. if ("min" === _0_0) {
  77545. t1 = A.SassCalculation_min($arguments);
  77546. break $label0$0;
  77547. }
  77548. if ("max" === _0_0) {
  77549. t1 = A.SassCalculation_max($arguments);
  77550. break $label0$0;
  77551. }
  77552. if ("hypot" === _0_0) {
  77553. t1 = A.SassCalculation_hypot($arguments);
  77554. break $label0$0;
  77555. }
  77556. if ("pow" === _0_0) {
  77557. t1 = A.SassCalculation_pow(J.$index$asx($arguments, 0), A.ListExtensions_elementAtOrNull($arguments, 1));
  77558. break $label0$0;
  77559. }
  77560. if ("atan2" === _0_0) {
  77561. t1 = A.SassCalculation_atan2(J.$index$asx($arguments, 0), A.ListExtensions_elementAtOrNull($arguments, 1));
  77562. break $label0$0;
  77563. }
  77564. if ("log" === _0_0) {
  77565. t1 = A.SassCalculation_log(J.$index$asx($arguments, 0), A.ListExtensions_elementAtOrNull($arguments, 1));
  77566. break $label0$0;
  77567. }
  77568. if ("mod" === _0_0) {
  77569. t1 = A.SassCalculation_mod(J.$index$asx($arguments, 0), A.ListExtensions_elementAtOrNull($arguments, 1));
  77570. break $label0$0;
  77571. }
  77572. if ("rem" === _0_0) {
  77573. t1 = A.SassCalculation_rem(J.$index$asx($arguments, 0), A.ListExtensions_elementAtOrNull($arguments, 1));
  77574. break $label0$0;
  77575. }
  77576. if ("round" === _0_0) {
  77577. t1 = A.SassCalculation_roundInternal(J.$index$asx($arguments, 0), A.ListExtensions_elementAtOrNull($arguments, 1), A.ListExtensions_elementAtOrNull($arguments, 2), inLegacySassFunction, node.span, new A._EvaluateVisitor__visitCalculation_closure(_this, node));
  77578. break $label0$0;
  77579. }
  77580. if ("clamp" === _0_0) {
  77581. t1 = A.SassCalculation_clamp(J.$index$asx($arguments, 0), A.ListExtensions_elementAtOrNull($arguments, 1), A.ListExtensions_elementAtOrNull($arguments, 2));
  77582. break $label0$0;
  77583. }
  77584. if ("calc-size" === _0_0) {
  77585. t1 = A.SassCalculation_calcSize(J.$index$asx($arguments, 0), A.ListExtensions_elementAtOrNull($arguments, 1));
  77586. break $label0$0;
  77587. }
  77588. t3 = A.UnsupportedError$('Unknown calculation name "' + t3 + '".');
  77589. t1 = A.throwExpression(t3);
  77590. }
  77591. t1 = t1;
  77592. return t1;
  77593. } catch (exception) {
  77594. t1 = A.unwrapException(exception);
  77595. if (t1 instanceof A.SassScriptException) {
  77596. error = t1;
  77597. stackTrace = A.getTraceFromException(exception);
  77598. if (B.JSString_methods.contains$1(error.message, "compatible"))
  77599. _this._verifyCompatibleNumbers$2($arguments, t2);
  77600. A.throwWithTrace(_this._evaluate$_exception$2(error.message, node.span), error, stackTrace);
  77601. } else
  77602. throw exception;
  77603. } finally {
  77604. _this._callableNode = oldCallableNode;
  77605. }
  77606. },
  77607. _visitCalculation$1(node) {
  77608. return this._visitCalculation$2$inLegacySassFunction(node, null);
  77609. },
  77610. _checkCalculationArguments$1(node) {
  77611. var t1, _0_0,
  77612. check = new A._EvaluateVisitor__checkCalculationArguments_check(this, node);
  77613. $label0$0: {
  77614. t1 = node.name;
  77615. _0_0 = t1.toLowerCase();
  77616. if ("calc" === _0_0 || "sqrt" === _0_0 || "sin" === _0_0 || "cos" === _0_0 || "tan" === _0_0 || "asin" === _0_0 || "acos" === _0_0 || "atan" === _0_0 || "abs" === _0_0 || "exp" === _0_0 || "sign" === _0_0) {
  77617. check.call$1(1);
  77618. break $label0$0;
  77619. }
  77620. if ("min" === _0_0 || "max" === _0_0 || "hypot" === _0_0) {
  77621. check.call$0();
  77622. break $label0$0;
  77623. }
  77624. if ("pow" === _0_0 || "atan2" === _0_0 || "log" === _0_0 || "mod" === _0_0 || "rem" === _0_0 || "calc-size" === _0_0) {
  77625. check.call$1(2);
  77626. break $label0$0;
  77627. }
  77628. if ("round" === _0_0 || "clamp" === _0_0) {
  77629. check.call$1(3);
  77630. break $label0$0;
  77631. }
  77632. throw A.wrapException(A.UnsupportedError$('Unknown calculation name "' + t1 + '".'));
  77633. }
  77634. },
  77635. _verifyCompatibleNumbers$2(args, nodesWithSpans) {
  77636. var i, t1, _0_0, arg, t2, number1, j, number2, t3, t4, t5, t6;
  77637. for (i = 0; t1 = args.length, i < t1; ++i) {
  77638. _0_0 = args[i];
  77639. if (_0_0 instanceof A.SassNumber) {
  77640. t1 = _0_0.get$hasComplexUnits();
  77641. arg = _0_0;
  77642. } else {
  77643. arg = null;
  77644. t1 = false;
  77645. }
  77646. if (t1) {
  77647. t1 = A.S(arg);
  77648. t2 = nodesWithSpans[i];
  77649. throw A.wrapException(this._evaluate$_exception$2("Number " + t1 + " isn't compatible with CSS calculations.", t2.get$span(t2)));
  77650. }
  77651. }
  77652. for (i = 0; i < t1 - 1; ++i) {
  77653. number1 = args[i];
  77654. if (!(number1 instanceof A.SassNumber))
  77655. continue;
  77656. for (j = i + 1; t1 = args.length, j < t1; ++j) {
  77657. number2 = args[j];
  77658. if (!(number2 instanceof A.SassNumber))
  77659. continue;
  77660. if (number1.hasPossiblyCompatibleUnits$1(number2))
  77661. continue;
  77662. t1 = number1.toString$0(0);
  77663. t2 = number2.toString$0(0);
  77664. t3 = nodesWithSpans[i];
  77665. t3 = t3.get$span(t3);
  77666. t4 = number1.toString$0(0);
  77667. t5 = nodesWithSpans[j];
  77668. t5 = A.LinkedHashMap_LinkedHashMap$_literal([t5.get$span(t5), number2.toString$0(0)], type$.FileSpan, type$.String);
  77669. t6 = nodesWithSpans[i];
  77670. throw A.wrapException(A.MultiSpanSassRuntimeException$(t1 + " and " + t2 + " are incompatible.", t3, t4, t5, this._evaluate$_stackTrace$1(t6.get$span(t6)), null));
  77671. }
  77672. }
  77673. },
  77674. _visitCalculationExpression$2$inLegacySassFunction(node, inLegacySassFunction) {
  77675. var result, t2, _0_0, _box_0, _1_0, t3, _i, i, _this = this, _null = null,
  77676. t1 = node instanceof A.ParenthesizedExpression,
  77677. inner = t1 ? node.expression : _null;
  77678. if (t1) {
  77679. result = _this._visitCalculationExpression$2$inLegacySassFunction(inner, inLegacySassFunction);
  77680. return result instanceof A.SassString ? new A.SassString("(" + result._string$_text + ")", false) : result;
  77681. }
  77682. if (node instanceof A.StringExpression && node.accept$1(B.C_IsCalculationSafeVisitor)) {
  77683. t1 = node.text;
  77684. t2 = t1.get$asPlain();
  77685. _0_0 = t2 == null ? _null : t2.toLowerCase();
  77686. $label0$0: {
  77687. if ("pi" === _0_0) {
  77688. t1 = A.SassNumber_SassNumber(3.141592653589793, _null);
  77689. break $label0$0;
  77690. }
  77691. if ("e" === _0_0) {
  77692. t1 = A.SassNumber_SassNumber(2.718281828459045, _null);
  77693. break $label0$0;
  77694. }
  77695. if ("infinity" === _0_0) {
  77696. t1 = A.SassNumber_SassNumber(1 / 0, _null);
  77697. break $label0$0;
  77698. }
  77699. if ("-infinity" === _0_0) {
  77700. t1 = A.SassNumber_SassNumber(-1 / 0, _null);
  77701. break $label0$0;
  77702. }
  77703. if ("nan" === _0_0) {
  77704. t1 = A.SassNumber_SassNumber(0 / 0, _null);
  77705. break $label0$0;
  77706. }
  77707. t1 = new A.SassString(_this._performInterpolation$1(t1), false);
  77708. break $label0$0;
  77709. }
  77710. return t1;
  77711. }
  77712. _box_0 = {};
  77713. _box_0.right = _box_0.left = _box_0.operator = null;
  77714. t1 = node instanceof A.BinaryOperationExpression;
  77715. if (t1) {
  77716. _box_0.operator = node.operator;
  77717. _box_0.left = node.left;
  77718. _box_0.right = node.right;
  77719. }
  77720. if (t1) {
  77721. _this._checkWhitespaceAroundCalculationOperator$1(node);
  77722. return _this._addExceptionSpan$2(node, new A._EvaluateVisitor__visitCalculationExpression_closure(_box_0, _this, node, inLegacySassFunction));
  77723. }
  77724. if (node instanceof A.NumberExpression || node instanceof A.VariableExpression || node instanceof A.FunctionExpression || node instanceof A.IfExpression) {
  77725. _1_0 = node.accept$1(_this);
  77726. $label1$1: {
  77727. if (_1_0 instanceof A.SassNumber) {
  77728. t1 = _1_0;
  77729. break $label1$1;
  77730. }
  77731. if (_1_0 instanceof A.SassCalculation) {
  77732. t1 = _1_0;
  77733. break $label1$1;
  77734. }
  77735. if (_1_0 instanceof A.SassString) {
  77736. t1 = !_1_0._hasQuotes;
  77737. result = _1_0;
  77738. } else {
  77739. result = _null;
  77740. t1 = false;
  77741. }
  77742. if (t1) {
  77743. t1 = result;
  77744. break $label1$1;
  77745. }
  77746. t1 = A.throwExpression(_this._evaluate$_exception$2("Value " + _1_0.toString$0(0) + " can't be used in a calculation.", node.get$span(node)));
  77747. }
  77748. return t1;
  77749. }
  77750. if (node instanceof A.ListExpression && !node.hasBrackets && B.ListSeparator_qSL === node.separator && node.contents.length >= 2) {
  77751. t1 = A._setArrayType([], type$.JSArray_Object);
  77752. for (t2 = node.contents, t3 = t2.length, _i = 0; _i < t3; ++_i)
  77753. t1.push(_this._visitCalculationExpression$2$inLegacySassFunction(t2[_i], inLegacySassFunction));
  77754. _this._checkAdjacentCalculationValues$2(t1, node);
  77755. for (i = 0; i < t1.length; ++i) {
  77756. t3 = t1[i];
  77757. if (t3 instanceof A.CalculationOperation && t2[i] instanceof A.ParenthesizedExpression)
  77758. t1[i] = new A.SassString("(" + t3.toString$0(0) + ")", false);
  77759. }
  77760. return new A.SassString(B.JSArray_methods.join$1(t1, " "), false);
  77761. }
  77762. throw A.wrapException(_this._evaluate$_exception$2(string$.This_e, node.get$span(node)));
  77763. },
  77764. _checkWhitespaceAroundCalculationOperator$1(node) {
  77765. var t2, t3, t4, textBetweenOperands, first, last,
  77766. t1 = node.operator;
  77767. if (t1 !== B.BinaryOperator_Swh && t1 !== B.BinaryOperator_QG1)
  77768. return;
  77769. t1 = node.left;
  77770. t2 = t1.get$span(t1);
  77771. t2 = t2.get$file(t2);
  77772. t3 = node.right;
  77773. t4 = t3.get$span(t3);
  77774. if (t2 !== t4.get$file(t4))
  77775. return;
  77776. t2 = t1.get$span(t1);
  77777. t2 = t2.get$end(t2);
  77778. t4 = t3.get$span(t3);
  77779. if (t2.offset >= t4.get$start(t4).offset)
  77780. return;
  77781. t2 = t1.get$span(t1);
  77782. t2 = t2.get$file(t2);
  77783. t1 = t1.get$span(t1);
  77784. t1 = t1.get$end(t1);
  77785. t3 = t3.get$span(t3);
  77786. textBetweenOperands = A.String_String$fromCharCodes(B.NativeUint32List_methods.sublist$2(t2._decodedChars, t1.offset, t3.get$start(t3).offset), 0, null);
  77787. first = textBetweenOperands.charCodeAt(0);
  77788. last = textBetweenOperands.charCodeAt(textBetweenOperands.length - 1);
  77789. if (first === 32 || first === 9 || first === 10 || first === 13 || first === 12 || first === 47)
  77790. t1 = !(last === 32 || last === 9 || last === 10 || last === 13 || last === 12 || last === 47);
  77791. else
  77792. t1 = true;
  77793. if (t1)
  77794. throw A.wrapException(this._evaluate$_exception$2(string$.x22x2b__an, node.get$operatorSpan()));
  77795. },
  77796. _binaryOperatorToCalculationOperator$2(operator, node) {
  77797. var t1;
  77798. $label0$0: {
  77799. if (B.BinaryOperator_Swh === operator) {
  77800. t1 = B.CalculationOperator_F7i;
  77801. break $label0$0;
  77802. }
  77803. if (B.BinaryOperator_QG1 === operator) {
  77804. t1 = B.CalculationOperator_oum;
  77805. break $label0$0;
  77806. }
  77807. if (B.BinaryOperator_tht === operator) {
  77808. t1 = B.CalculationOperator_kkN;
  77809. break $label0$0;
  77810. }
  77811. if (B.BinaryOperator_Mh5 === operator) {
  77812. t1 = B.CalculationOperator_bo5;
  77813. break $label0$0;
  77814. }
  77815. t1 = A.throwExpression(this._evaluate$_exception$2(string$.This_o, node.get$operatorSpan()));
  77816. }
  77817. return t1;
  77818. },
  77819. _checkAdjacentCalculationValues$2(elements, node) {
  77820. var t1, i, t2, previous, current, previousNode, currentNode, _0_2;
  77821. for (t1 = elements.length, i = 1; i < t1; ++i) {
  77822. t2 = i - 1;
  77823. previous = elements[t2];
  77824. current = elements[i];
  77825. if (previous instanceof A.SassString || current instanceof A.SassString)
  77826. continue;
  77827. t1 = node.contents;
  77828. previousNode = t1[t2];
  77829. currentNode = t1[i];
  77830. if (currentNode instanceof A.UnaryOperationExpression) {
  77831. _0_2 = currentNode.operator;
  77832. if (B.UnaryOperator_UCP !== _0_2)
  77833. t1 = B.UnaryOperator_Rbl === _0_2;
  77834. else
  77835. t1 = true;
  77836. } else
  77837. t1 = false;
  77838. if (!t1)
  77839. t1 = currentNode instanceof A.NumberExpression && currentNode.value < 0;
  77840. else
  77841. t1 = true;
  77842. if (t1)
  77843. throw A.wrapException(this._evaluate$_exception$2(string$.x22x2b__an, A.FileSpanExtension_subspan(currentNode.get$span(currentNode), 0, 1)));
  77844. else
  77845. throw A.wrapException(this._evaluate$_exception$2("Missing math operator.", previousNode.get$span(previousNode).expand$1(0, currentNode.get$span(currentNode))));
  77846. }
  77847. },
  77848. visitInterpolatedFunctionExpression$1(_, node) {
  77849. var result, _this = this,
  77850. t1 = _this._performInterpolation$1(node.name),
  77851. oldInFunction = _this._inFunction;
  77852. _this._inFunction = true;
  77853. result = _this._addErrorSpan$2(node, new A._EvaluateVisitor_visitInterpolatedFunctionExpression_closure(_this, node, new A.PlainCssCallable(t1)));
  77854. _this._inFunction = oldInFunction;
  77855. return result;
  77856. },
  77857. _runUserDefinedCallable$1$4($arguments, callable, nodeWithSpan, run, $V) {
  77858. var oldInDependency, result, _this = this,
  77859. evaluated = _this._evaluateArguments$1($arguments),
  77860. $name = callable.declaration.name;
  77861. if ($name !== "@content")
  77862. $name += "()";
  77863. oldInDependency = _this._inDependency;
  77864. _this._inDependency = callable.inDependency;
  77865. result = _this._withStackFrame$3($name, nodeWithSpan, new A._EvaluateVisitor__runUserDefinedCallable_closure(_this, callable, evaluated, nodeWithSpan, run, $V));
  77866. _this._inDependency = oldInDependency;
  77867. return result;
  77868. },
  77869. _runFunctionCallable$3($arguments, callable, nodeWithSpan) {
  77870. var buffer, first, argument, restArg, rest, error, t1, t2, _i, t3, t4, exception, _this = this;
  77871. if (callable instanceof A.BuiltInCallable)
  77872. return _this._withoutSlash$2(_this._runBuiltInCallable$3($arguments, callable, nodeWithSpan), nodeWithSpan);
  77873. else if (type$.UserDefinedCallable_Environment._is(callable))
  77874. return _this._runUserDefinedCallable$1$4($arguments, callable, nodeWithSpan, new A._EvaluateVisitor__runFunctionCallable_closure(_this, callable), type$.Value);
  77875. else if (callable instanceof A.PlainCssCallable) {
  77876. t1 = $arguments.named;
  77877. if (t1.get$isNotEmpty(t1) || $arguments.keywordRest != null)
  77878. throw A.wrapException(_this._evaluate$_exception$2(string$.Plain_, nodeWithSpan.get$span(nodeWithSpan)));
  77879. buffer = new A.StringBuffer(callable.name + "(");
  77880. try {
  77881. first = true;
  77882. for (t1 = $arguments.positional, t2 = t1.length, _i = 0; _i < t2; ++_i) {
  77883. argument = t1[_i];
  77884. if (first)
  77885. first = false;
  77886. else
  77887. buffer._contents += ", ";
  77888. t3 = buffer;
  77889. t4 = argument;
  77890. t4 = _this._evaluate$_serialize$3$quote(t4.accept$1(_this), t4, true);
  77891. t3._contents += t4;
  77892. }
  77893. restArg = $arguments.rest;
  77894. if (restArg != null) {
  77895. rest = restArg.accept$1(_this);
  77896. if (!first)
  77897. buffer._contents += ", ";
  77898. t1 = buffer;
  77899. t2 = _this._evaluate$_serialize$2(rest, restArg);
  77900. t1._contents += t2;
  77901. }
  77902. } catch (exception) {
  77903. t1 = A.unwrapException(exception);
  77904. if (type$.SassRuntimeException._is(t1)) {
  77905. error = t1;
  77906. if (!B.JSString_methods.endsWith$1(error._span_exception$_message, "isn't a valid CSS value."))
  77907. throw exception;
  77908. throw A.wrapException(A.MultiSpanSassRuntimeException$(error._span_exception$_message, J.get$span$z(error), "value", A.LinkedHashMap_LinkedHashMap$_literal([nodeWithSpan.get$span(nodeWithSpan), "unknown function treated as plain CSS"], type$.FileSpan, type$.String), J.get$trace$z(error), null));
  77909. } else
  77910. throw exception;
  77911. }
  77912. t1 = buffer;
  77913. t2 = A.Primitives_stringFromCharCode(41);
  77914. t1._contents += t2;
  77915. t2 = buffer._contents;
  77916. return new A.SassString(t2.charCodeAt(0) == 0 ? t2 : t2, false);
  77917. } else
  77918. throw A.wrapException(A.ArgumentError$("Unknown callable type " + J.get$runtimeType$(callable).toString$0(0) + ".", null));
  77919. },
  77920. _runBuiltInCallable$3($arguments, callable, nodeWithSpan) {
  77921. var result, error, stackTrace, namedSet, _0_0, parameters, i, t1, parameter, t2, t3, rest, argumentList, exception, _this = this, _box_0 = {},
  77922. evaluated = _this._evaluateArguments$1($arguments),
  77923. oldCallableNode = _this._callableNode;
  77924. _this._callableNode = nodeWithSpan;
  77925. namedSet = new A.MapKeySet(evaluated._values[0], type$.MapKeySet_String);
  77926. _box_0.callback = _box_0.overload = null;
  77927. _0_0 = callable.callbackFor$2(evaluated._values[2].length, namedSet);
  77928. _box_0.overload = _0_0._0;
  77929. _box_0.callback = _0_0._1;
  77930. _this._addExceptionSpan$2(nodeWithSpan, new A._EvaluateVisitor__runBuiltInCallable_closure(_box_0, evaluated, namedSet));
  77931. parameters = _box_0.overload.parameters;
  77932. for (i = evaluated._values[2].length, t1 = parameters.length; i < t1; ++i) {
  77933. parameter = parameters[i];
  77934. t2 = evaluated._values[2];
  77935. t3 = evaluated._values[0].remove$1(0, parameter.name);
  77936. if (t3 == null) {
  77937. t3 = parameter.defaultValue;
  77938. t3 = _this._withoutSlash$2(t3.accept$1(_this), t3);
  77939. }
  77940. t2.push(t3);
  77941. }
  77942. if (_box_0.overload.restParameter != null) {
  77943. if (evaluated._values[2].length > t1) {
  77944. rest = B.JSArray_methods.sublist$1(evaluated._values[2], t1);
  77945. B.JSArray_methods.removeRange$2(evaluated._values[2], t1, evaluated._values[2].length);
  77946. } else
  77947. rest = B.List_empty8;
  77948. t1 = evaluated._values[0];
  77949. argumentList = A.SassArgumentList$(rest, t1, evaluated._values[4] === B.ListSeparator_undecided_null_undecided ? B.ListSeparator_qVN : evaluated._values[4]);
  77950. evaluated._values[2].push(argumentList);
  77951. } else
  77952. argumentList = null;
  77953. result = null;
  77954. try {
  77955. result = _this._addExceptionSpan$2(nodeWithSpan, new A._EvaluateVisitor__runBuiltInCallable_closure0(_box_0, evaluated));
  77956. } catch (exception) {
  77957. t1 = A.unwrapException(exception);
  77958. if (t1 instanceof A.SassException)
  77959. throw exception;
  77960. else {
  77961. error = t1;
  77962. stackTrace = A.getTraceFromException(exception);
  77963. A.throwWithTrace(_this._evaluate$_exception$2(_this._getErrorMessage$1(error), nodeWithSpan.get$span(nodeWithSpan)), error, stackTrace);
  77964. }
  77965. }
  77966. _this._callableNode = oldCallableNode;
  77967. if (argumentList == null)
  77968. return result;
  77969. if (evaluated._values[0].__js_helper$_length === 0)
  77970. return result;
  77971. if (argumentList._wereKeywordsAccessed)
  77972. return result;
  77973. throw A.wrapException(A.MultiSpanSassRuntimeException$("No " + A.pluralize("parameter", evaluated._values[0].get$keys(0).get$length(0), null) + " named " + A.toSentence(evaluated._values[0].get$keys(0).map$1$1(0, new A._EvaluateVisitor__runBuiltInCallable_closure1(), type$.Object), "or") + ".", nodeWithSpan.get$span(nodeWithSpan), "invocation", A.LinkedHashMap_LinkedHashMap$_literal([_box_0.overload.get$spanWithName(), "declaration"], type$.FileSpan, type$.String), _this._evaluate$_stackTrace$1(nodeWithSpan.get$span(nodeWithSpan)), null));
  77974. },
  77975. _evaluateArguments$1($arguments) {
  77976. var t1, t2, _i, expression, nodeForSpan, named, namedNodes, t3, t4, $name, value, restArgs, rest, restNodeForSpan, t5, separator, keywordRestArgs, keywordRest, keywordRestNodeForSpan, _this = this,
  77977. positional = A._setArrayType([], type$.JSArray_Value),
  77978. positionalNodes = A._setArrayType([], type$.JSArray_AstNode);
  77979. for (t1 = $arguments.positional, t2 = t1.length, _i = 0; _i < t2; ++_i) {
  77980. expression = t1[_i];
  77981. nodeForSpan = _this._expressionNode$1(expression);
  77982. positional.push(_this._withoutSlash$2(expression.accept$1(_this), nodeForSpan));
  77983. positionalNodes.push(nodeForSpan);
  77984. }
  77985. t1 = type$.String;
  77986. named = A.LinkedHashMap_LinkedHashMap$_empty(t1, type$.Value);
  77987. t2 = type$.AstNode;
  77988. namedNodes = A.LinkedHashMap_LinkedHashMap$_empty(t1, t2);
  77989. for (t3 = A.MapExtensions_get_pairs($arguments.named, t1, type$.Expression), t3 = t3.get$iterator(t3); t3.moveNext$0();) {
  77990. t4 = t3.get$current(t3);
  77991. $name = t4._0;
  77992. value = t4._1;
  77993. nodeForSpan = _this._expressionNode$1(value);
  77994. named.$indexSet(0, $name, _this._withoutSlash$2(value.accept$1(_this), nodeForSpan));
  77995. namedNodes.$indexSet(0, $name, nodeForSpan);
  77996. }
  77997. restArgs = $arguments.rest;
  77998. if (restArgs == null)
  77999. return new A._Record_5_named_namedNodes_positional_positionalNodes_separator([named, namedNodes, positional, positionalNodes, B.ListSeparator_undecided_null_undecided]);
  78000. rest = restArgs.accept$1(_this);
  78001. restNodeForSpan = _this._expressionNode$1(restArgs);
  78002. if (rest instanceof A.SassMap) {
  78003. _this._addRestMap$4(named, rest, restArgs, new A._EvaluateVisitor__evaluateArguments_closure());
  78004. t3 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t2);
  78005. for (t4 = rest._map$_contents, t4 = J.get$iterator$ax(t4.get$keys(t4)), t5 = type$.SassString; t4.moveNext$0();)
  78006. t3.$indexSet(0, t5._as(t4.get$current(t4))._string$_text, restNodeForSpan);
  78007. namedNodes.addAll$1(0, t3);
  78008. separator = B.ListSeparator_undecided_null_undecided;
  78009. } else if (rest instanceof A.SassList) {
  78010. t3 = rest._list$_contents;
  78011. 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>")));
  78012. B.JSArray_methods.addAll$1(positionalNodes, A.List_List$filled(t3.length, restNodeForSpan, false, t2));
  78013. separator = rest._separator;
  78014. if (rest instanceof A.SassArgumentList) {
  78015. rest._wereKeywordsAccessed = true;
  78016. rest._keywords.forEach$1(0, new A._EvaluateVisitor__evaluateArguments_closure1(_this, named, restNodeForSpan, namedNodes));
  78017. }
  78018. } else {
  78019. positional.push(_this._withoutSlash$2(rest, restNodeForSpan));
  78020. positionalNodes.push(restNodeForSpan);
  78021. separator = B.ListSeparator_undecided_null_undecided;
  78022. }
  78023. keywordRestArgs = $arguments.keywordRest;
  78024. if (keywordRestArgs == null)
  78025. return new A._Record_5_named_namedNodes_positional_positionalNodes_separator([named, namedNodes, positional, positionalNodes, separator]);
  78026. keywordRest = keywordRestArgs.accept$1(_this);
  78027. keywordRestNodeForSpan = _this._expressionNode$1(keywordRestArgs);
  78028. if (keywordRest instanceof A.SassMap) {
  78029. _this._addRestMap$4(named, keywordRest, keywordRestArgs, new A._EvaluateVisitor__evaluateArguments_closure2());
  78030. t1 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t2);
  78031. for (t2 = keywordRest._map$_contents, t2 = J.get$iterator$ax(t2.get$keys(t2)), t3 = type$.SassString; t2.moveNext$0();)
  78032. t1.$indexSet(0, t3._as(t2.get$current(t2))._string$_text, keywordRestNodeForSpan);
  78033. namedNodes.addAll$1(0, t1);
  78034. return new A._Record_5_named_namedNodes_positional_positionalNodes_separator([named, namedNodes, positional, positionalNodes, separator]);
  78035. } else
  78036. throw A.wrapException(_this._evaluate$_exception$2(string$.Variabs + keywordRest.toString$0(0) + ").", keywordRestArgs.get$span(keywordRestArgs)));
  78037. },
  78038. _evaluateMacroArguments$1(invocation) {
  78039. var t2, positional, named, rest, restNodeForSpan, keywordRestArgs_, keywordRest, keywordRestNodeForSpan, _this = this,
  78040. t1 = invocation.$arguments,
  78041. restArgs_ = t1.rest;
  78042. if (restArgs_ == null)
  78043. return new A._Record_2(t1.positional, t1.named);
  78044. t2 = t1.positional;
  78045. positional = A._setArrayType(t2.slice(0), A._arrayInstanceType(t2));
  78046. named = A.LinkedHashMap_LinkedHashMap$of(t1.named, type$.String, type$.Expression);
  78047. rest = restArgs_.accept$1(_this);
  78048. restNodeForSpan = _this._expressionNode$1(restArgs_);
  78049. if (rest instanceof A.SassMap)
  78050. _this._addRestMap$4(named, rest, invocation, new A._EvaluateVisitor__evaluateMacroArguments_closure(restArgs_));
  78051. else if (rest instanceof A.SassList) {
  78052. t2 = rest._list$_contents;
  78053. 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>")));
  78054. if (rest instanceof A.SassArgumentList) {
  78055. rest._wereKeywordsAccessed = true;
  78056. rest._keywords.forEach$1(0, new A._EvaluateVisitor__evaluateMacroArguments_closure1(_this, named, restNodeForSpan, restArgs_));
  78057. }
  78058. } else
  78059. positional.push(new A.ValueExpression(_this._withoutSlash$2(rest, restNodeForSpan), restArgs_.get$span(restArgs_)));
  78060. keywordRestArgs_ = t1.keywordRest;
  78061. if (keywordRestArgs_ == null)
  78062. return new A._Record_2(positional, named);
  78063. keywordRest = keywordRestArgs_.accept$1(_this);
  78064. keywordRestNodeForSpan = _this._expressionNode$1(keywordRestArgs_);
  78065. if (keywordRest instanceof A.SassMap) {
  78066. _this._addRestMap$4(named, keywordRest, invocation, new A._EvaluateVisitor__evaluateMacroArguments_closure2(_this, keywordRestNodeForSpan, keywordRestArgs_));
  78067. return new A._Record_2(positional, named);
  78068. } else
  78069. throw A.wrapException(_this._evaluate$_exception$2(string$.Variabs + keywordRest.toString$0(0) + ").", keywordRestArgs_.get$span(keywordRestArgs_)));
  78070. },
  78071. _addRestMap$1$4(values, map, nodeWithSpan, convert) {
  78072. map._map$_contents.forEach$1(0, new A._EvaluateVisitor__addRestMap_closure(this, values, convert, this._expressionNode$1(nodeWithSpan), map, nodeWithSpan));
  78073. },
  78074. _addRestMap$4(values, map, nodeWithSpan, convert) {
  78075. convert.toString;
  78076. return this._addRestMap$1$4(values, map, nodeWithSpan, convert, type$.dynamic);
  78077. },
  78078. _verifyArguments$4(positional, named, parameters, nodeWithSpan) {
  78079. return this._addExceptionSpan$2(nodeWithSpan, new A._EvaluateVisitor__verifyArguments_closure(parameters, positional, named));
  78080. },
  78081. visitSelectorExpression$1(_, node) {
  78082. var t1 = this._styleRuleIgnoringAtRoot;
  78083. t1 = t1 == null ? null : t1.originalSelector.get$asSassList();
  78084. return t1 == null ? B.C__SassNull : t1;
  78085. },
  78086. visitStringExpression$1(_, node) {
  78087. var t1, t2, t3, _i, value, t4, _0_0, text, _this = this,
  78088. oldInSupportsDeclaration = _this._inSupportsDeclaration;
  78089. _this._inSupportsDeclaration = false;
  78090. t1 = A._setArrayType([], type$.JSArray_String);
  78091. for (t2 = node.text.contents, t3 = t2.length, _i = 0; _i < t3; ++_i) {
  78092. value = t2[_i];
  78093. $label0$0: {
  78094. if (typeof value == "string") {
  78095. t4 = value;
  78096. break $label0$0;
  78097. }
  78098. if (value instanceof A.Expression) {
  78099. _0_0 = value.accept$1(_this);
  78100. $label1$1: {
  78101. if (_0_0 instanceof A.SassString) {
  78102. text = _0_0._string$_text;
  78103. t4 = text;
  78104. break $label1$1;
  78105. }
  78106. t4 = _this._evaluate$_serialize$3$quote(_0_0, value, false);
  78107. break $label1$1;
  78108. }
  78109. break $label0$0;
  78110. }
  78111. t4 = A.throwExpression(A.UnsupportedError$("Unknown interpolation value " + A.S(value)));
  78112. }
  78113. t1.push(t4);
  78114. }
  78115. t1 = B.JSArray_methods.join$0(t1);
  78116. _this._inSupportsDeclaration = oldInSupportsDeclaration;
  78117. return new A.SassString(t1, node.hasQuotes);
  78118. },
  78119. visitSupportsExpression$1(_, expression) {
  78120. return new A.SassString(this._visitSupportsCondition$1(expression.condition), false);
  78121. },
  78122. visitCssAtRule$1(node) {
  78123. var wasInKeyframes, wasInUnknownAtRule, t1, _this = this;
  78124. if (_this._declarationName != null)
  78125. throw A.wrapException(_this._evaluate$_exception$2(string$.At_rul, node.span));
  78126. if (node.isChildless) {
  78127. _this._assertInModule$2(_this.__parent, "__parent").addChild$1(A.ModifiableCssAtRule$(node.name, node.span, true, node.value));
  78128. return;
  78129. }
  78130. wasInKeyframes = _this._inKeyframes;
  78131. wasInUnknownAtRule = _this._inUnknownAtRule;
  78132. t1 = node.name;
  78133. if (A.unvendor(t1.value) === "keyframes")
  78134. _this._inKeyframes = true;
  78135. else
  78136. _this._inUnknownAtRule = true;
  78137. _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);
  78138. _this._inUnknownAtRule = wasInUnknownAtRule;
  78139. _this._inKeyframes = wasInKeyframes;
  78140. },
  78141. visitCssComment$1(node) {
  78142. var _this = this,
  78143. _s8_ = "__parent",
  78144. _s13_ = "_endOfImports";
  78145. 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))
  78146. _this.__endOfImports = _this._assertInModule$2(_this.__endOfImports, _s13_) + 1;
  78147. _this._assertInModule$2(_this.__parent, _s8_).addChild$1(new A.ModifiableCssComment(node.text, node.span));
  78148. },
  78149. visitCssDeclaration$1(node) {
  78150. this._assertInModule$2(this.__parent, "__parent").addChild$1(A.ModifiableCssDeclaration$(node.name, node.value, node.span, null, node.parsedAsCustomProperty, null, node.valueSpanForMap));
  78151. },
  78152. visitCssImport$1(node) {
  78153. var t1, _this = this,
  78154. _s8_ = "__parent",
  78155. _s5_ = "_root",
  78156. _s13_ = "_endOfImports",
  78157. modifiableNode = new A.ModifiableCssImport(node.url, node.modifiers, node.span);
  78158. if (_this._assertInModule$2(_this.__parent, _s8_) !== _this._assertInModule$2(_this.__root, _s5_))
  78159. _this._assertInModule$2(_this.__parent, _s8_).addChild$1(modifiableNode);
  78160. else if (_this._assertInModule$2(_this.__endOfImports, _s13_) === J.get$length$asx(_this._assertInModule$2(_this.__root, _s5_).children._collection$_source)) {
  78161. _this._assertInModule$2(_this.__root, _s5_).addChild$1(modifiableNode);
  78162. _this.__endOfImports = _this._assertInModule$2(_this.__endOfImports, _s13_) + 1;
  78163. } else {
  78164. t1 = _this._outOfOrderImports;
  78165. (t1 == null ? _this._outOfOrderImports = A._setArrayType([], type$.JSArray_ModifiableCssImport) : t1).push(modifiableNode);
  78166. }
  78167. },
  78168. visitCssKeyframeBlock$1(node) {
  78169. 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);
  78170. },
  78171. visitCssMediaRule$1(node) {
  78172. var mergedQueries, t1, mergedSources, t2, t3, _this = this;
  78173. if (_this._declarationName != null)
  78174. throw A.wrapException(_this._evaluate$_exception$2(string$.Media_, node.span));
  78175. mergedQueries = A.NullableExtension_andThen(_this._mediaQueries, new A._EvaluateVisitor_visitCssMediaRule_closure(_this, node));
  78176. t1 = mergedQueries == null;
  78177. if (!t1 && J.get$isEmpty$asx(mergedQueries))
  78178. return;
  78179. if (t1)
  78180. mergedSources = B.Set_empty1;
  78181. else {
  78182. t2 = _this._mediaQuerySources;
  78183. t2.toString;
  78184. t2 = A.LinkedHashSet_LinkedHashSet$of(t2, type$.CssMediaQuery);
  78185. t3 = _this._mediaQueries;
  78186. t3.toString;
  78187. t2.addAll$1(0, t3);
  78188. t2.addAll$1(0, node.queries);
  78189. mergedSources = t2;
  78190. }
  78191. t1 = t1 ? node.queries : mergedQueries;
  78192. _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);
  78193. },
  78194. visitCssStyleRule$1(node) {
  78195. var t1, styleRule, _0_0, t2, t3, originalSelector, rule, oldAtRootExcludingStyleRule, _1_1, lastChild, _this = this, _null = null,
  78196. _s8_ = "__parent";
  78197. if (_this._declarationName != null)
  78198. throw A.wrapException(_this._evaluate$_exception$2(string$.Style_n, node.span));
  78199. else if (_this._inKeyframes && _this._assertInModule$2(_this.__parent, _s8_) instanceof A.ModifiableCssKeyframeBlock)
  78200. throw A.wrapException(_this._evaluate$_exception$2(string$.Style_k, node.span));
  78201. t1 = _this._atRootExcludingStyleRule;
  78202. styleRule = t1 ? _null : _this._styleRuleIgnoringAtRoot;
  78203. _0_0 = t1 ? _null : _this._styleRuleIgnoringAtRoot;
  78204. $label0$0: {
  78205. if (_0_0 == null) {
  78206. t1 = true;
  78207. break $label0$0;
  78208. }
  78209. if (_0_0.fromPlainCss) {
  78210. t1 = false;
  78211. break $label0$0;
  78212. }
  78213. t1 = !(node.fromPlainCss && node._style_rule$_selector._box$_inner.value.accept$1(B.C__ContainsParentSelectorVisitor));
  78214. break $label0$0;
  78215. }
  78216. t2 = node._style_rule$_selector._box$_inner;
  78217. if (t1) {
  78218. t2 = t2.value;
  78219. t3 = styleRule == null ? _null : styleRule.originalSelector;
  78220. originalSelector = t2.nestWithin$3$implicitParent$preserveParentSelectors(t3, !_this._atRootExcludingStyleRule, node.fromPlainCss);
  78221. } else
  78222. originalSelector = t2.value;
  78223. rule = A.ModifiableCssStyleRule$(_this._assertInModule$2(_this.__extensionStore, "_extensionStore").addSelector$2(originalSelector, _this._mediaQueries), node.span, node.fromPlainCss, originalSelector);
  78224. oldAtRootExcludingStyleRule = _this._atRootExcludingStyleRule;
  78225. _this._atRootExcludingStyleRule = false;
  78226. t1 = t1 ? new A._EvaluateVisitor_visitCssStyleRule_closure() : _null;
  78227. _this._withParent$2$4$scopeWhen$through(rule, new A._EvaluateVisitor_visitCssStyleRule_closure0(_this, rule, node), false, t1, type$.ModifiableCssStyleRule, type$.Null);
  78228. _this._atRootExcludingStyleRule = oldAtRootExcludingStyleRule;
  78229. t1 = _this._assertInModule$2(_this.__parent, _s8_).children._collection$_source;
  78230. t2 = J.getInterceptor$asx(t1);
  78231. _1_1 = t2.get$length(t1);
  78232. if (_1_1 >= 1) {
  78233. lastChild = t2.elementAt$1(t1, _1_1 - 1);
  78234. t1 = styleRule == null;
  78235. } else {
  78236. lastChild = _null;
  78237. t1 = false;
  78238. }
  78239. if (t1)
  78240. lastChild.isGroupEnd = true;
  78241. },
  78242. visitCssStylesheet$1(node) {
  78243. var t1;
  78244. for (t1 = J.get$iterator$ax(node.get$children(node)); t1.moveNext$0();)
  78245. t1.get$current(t1).accept$1(this);
  78246. },
  78247. visitCssSupportsRule$1(node) {
  78248. var _this = this;
  78249. if (_this._declarationName != null)
  78250. throw A.wrapException(_this._evaluate$_exception$2(string$.Suppor, node.span));
  78251. _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);
  78252. },
  78253. _handleReturn$1$2(list, callback) {
  78254. var t1, _i, _0_0;
  78255. for (t1 = list.length, _i = 0; _i < list.length; list.length === t1 || (0, A.throwConcurrentModificationError)(list), ++_i) {
  78256. _0_0 = callback.call$1(list[_i]);
  78257. if (_0_0 != null)
  78258. return _0_0;
  78259. }
  78260. return null;
  78261. },
  78262. _handleReturn$2(list, callback) {
  78263. callback.toString;
  78264. return this._handleReturn$1$2(list, callback, type$.dynamic);
  78265. },
  78266. _withEnvironment$1$2(environment, callback) {
  78267. var result,
  78268. oldEnvironment = this._environment;
  78269. this._environment = environment;
  78270. result = callback.call$0();
  78271. this._environment = oldEnvironment;
  78272. return result;
  78273. },
  78274. _withEnvironment$2(environment, callback) {
  78275. callback.toString;
  78276. return this._withEnvironment$1$2(environment, callback, type$.dynamic);
  78277. },
  78278. _interpolationToValue$3$trim$warnForColor(interpolation, trim, warnForColor) {
  78279. var result = this._performInterpolation$2$warnForColor(interpolation, warnForColor),
  78280. t1 = trim ? A.trimAscii(result, true) : result;
  78281. return new A.CssValue(t1, interpolation.span, type$.CssValue_String);
  78282. },
  78283. _interpolationToValue$1(interpolation) {
  78284. return this._interpolationToValue$3$trim$warnForColor(interpolation, false, false);
  78285. },
  78286. _interpolationToValue$2$warnForColor(interpolation, warnForColor) {
  78287. return this._interpolationToValue$3$trim$warnForColor(interpolation, false, warnForColor);
  78288. },
  78289. _performInterpolation$2$warnForColor(interpolation, warnForColor) {
  78290. return this._performInterpolationHelper$3$sourceMap$warnForColor(interpolation, false, warnForColor)._0;
  78291. },
  78292. _performInterpolation$1(interpolation) {
  78293. return this._performInterpolation$2$warnForColor(interpolation, false);
  78294. },
  78295. _performInterpolationWithMap$2$warnForColor(interpolation, warnForColor) {
  78296. var _0_0 = this._performInterpolationHelper$3$sourceMap$warnForColor(interpolation, true, true),
  78297. map = _0_0._1;
  78298. map.toString;
  78299. return new A._Record_2(_0_0._0, map);
  78300. },
  78301. _performInterpolationHelper$3$sourceMap$warnForColor(interpolation, sourceMap, warnForColor) {
  78302. var t1, t2, t3, t4, t5, t6, first, _i, t7, value, result, result0, t8, _this = this, _null = null,
  78303. targetLocations = sourceMap ? A._setArrayType([], type$.JSArray_SourceLocation) : _null,
  78304. oldInSupportsDeclaration = _this._inSupportsDeclaration;
  78305. _this._inSupportsDeclaration = false;
  78306. for (t1 = interpolation.contents, t2 = t1.length, t3 = type$.Expression, t4 = targetLocations == null, t5 = interpolation.span, t6 = type$.Object, first = true, _i = 0, t7 = ""; _i < t2; ++_i, first = false) {
  78307. value = t1[_i];
  78308. if (!first)
  78309. if (!t4)
  78310. targetLocations.push(A.SourceLocation$(t7.length, _null, _null, _null));
  78311. if (typeof value == "string") {
  78312. t7 += value;
  78313. continue;
  78314. }
  78315. t3._as(value);
  78316. result = value.accept$1(_this);
  78317. if (warnForColor && $.$get$namesByColor().containsKey$1(result)) {
  78318. result0 = A.List_List$from([""], false, t6);
  78319. result0.$flags = 3;
  78320. t8 = $.$get$namesByColor();
  78321. _this._warn$2(string$.You_pr + A.S(t8.$index(0, result)) + string$.x20in_in + result.toString$0(0) + string$.x2c_whicw + A.S(t8.$index(0, result)) + string$.x22x29__If + new A.BinaryOperationExpression(B.BinaryOperator_Swh, new A.StringExpression(new A.Interpolation(result0, B.List_null, t5), true), value, false).toString$0(0) + "'.", value.get$span(value));
  78322. }
  78323. t7 += _this._evaluate$_serialize$3$quote(result, value, false);
  78324. }
  78325. _this._inSupportsDeclaration = oldInSupportsDeclaration;
  78326. return new A._Record_2(t7.charCodeAt(0) == 0 ? t7 : t7, A.NullableExtension_andThen(targetLocations, new A._EvaluateVisitor__performInterpolationHelper_closure(interpolation)));
  78327. },
  78328. _evaluate$_serialize$3$quote(value, nodeWithSpan, quote) {
  78329. return this._addExceptionSpan$2(nodeWithSpan, new A._EvaluateVisitor__serialize_closure(value, quote));
  78330. },
  78331. _evaluate$_serialize$2(value, nodeWithSpan) {
  78332. return this._evaluate$_serialize$3$quote(value, nodeWithSpan, true);
  78333. },
  78334. _expressionNode$1(expression) {
  78335. var t1;
  78336. if (expression instanceof A.VariableExpression) {
  78337. t1 = this._addExceptionSpan$2(expression, new A._EvaluateVisitor__expressionNode_closure(this, expression));
  78338. return t1 == null ? expression : t1;
  78339. } else
  78340. return expression;
  78341. },
  78342. _withParent$2$4$scopeWhen$through(node, callback, scopeWhen, through, $S, $T) {
  78343. var oldParent, result, _this = this;
  78344. _this._addChild$2$through(node, through);
  78345. oldParent = _this._assertInModule$2(_this.__parent, "__parent");
  78346. _this.__parent = node;
  78347. result = _this._environment.scope$1$2$when(callback, scopeWhen, $T);
  78348. _this.__parent = oldParent;
  78349. return result;
  78350. },
  78351. _withParent$2$3$scopeWhen(node, callback, scopeWhen, $S, $T) {
  78352. node.toString;
  78353. callback.toString;
  78354. return this._withParent$2$4$scopeWhen$through(node, callback, scopeWhen, null, $S, $T);
  78355. },
  78356. _withParent$2$2(node, callback, $S, $T) {
  78357. node.toString;
  78358. callback.toString;
  78359. return this._withParent$2$4$scopeWhen$through(node, callback, true, null, $S, $T);
  78360. },
  78361. _addChild$2$through(node, through) {
  78362. var _0_0, grandparent, t1,
  78363. $parent = this._assertInModule$2(this.__parent, "__parent");
  78364. if (through != null) {
  78365. for (; through.call$1($parent); $parent = _0_0) {
  78366. _0_0 = $parent._parent;
  78367. if (_0_0 == null)
  78368. throw A.wrapException(A.ArgumentError$(string$.throug + node.toString$0(0) + ".", null));
  78369. }
  78370. if ($parent.get$hasFollowingSibling()) {
  78371. grandparent = $parent._parent;
  78372. t1 = grandparent.children;
  78373. if ($parent.equalsIgnoringChildren$1(t1.get$last(t1)))
  78374. $parent = type$.ModifiableCssParentNode._as(t1.get$last(t1));
  78375. else {
  78376. $parent = $parent.copyWithoutChildren$0();
  78377. grandparent.addChild$1($parent);
  78378. }
  78379. }
  78380. }
  78381. $parent.addChild$1(node);
  78382. },
  78383. _addChild$1(node) {
  78384. return this._addChild$2$through(node, null);
  78385. },
  78386. _withStyleRule$1$2(rule, callback) {
  78387. var result,
  78388. oldRule = this._styleRuleIgnoringAtRoot;
  78389. this._styleRuleIgnoringAtRoot = rule;
  78390. result = callback.call$0();
  78391. this._styleRuleIgnoringAtRoot = oldRule;
  78392. return result;
  78393. },
  78394. _withStyleRule$2(rule, callback) {
  78395. callback.toString;
  78396. return this._withStyleRule$1$2(rule, callback, type$.dynamic);
  78397. },
  78398. _withMediaQueries$1$3(queries, sources, callback) {
  78399. var result, _this = this,
  78400. oldMediaQueries = _this._mediaQueries,
  78401. oldSources = _this._mediaQuerySources;
  78402. _this._mediaQueries = queries;
  78403. _this._mediaQuerySources = sources;
  78404. result = callback.call$0();
  78405. _this._mediaQueries = oldMediaQueries;
  78406. _this._mediaQuerySources = oldSources;
  78407. return result;
  78408. },
  78409. _withMediaQueries$3(queries, sources, callback) {
  78410. callback.toString;
  78411. return this._withMediaQueries$1$3(queries, sources, callback, type$.dynamic);
  78412. },
  78413. _withStackFrame$1$3(member, nodeWithSpan, callback) {
  78414. var oldMember, result, _this = this,
  78415. t1 = _this._stack;
  78416. t1.push(new A._Record_2(_this._member, nodeWithSpan));
  78417. oldMember = _this._member;
  78418. _this._member = member;
  78419. result = callback.call$0();
  78420. _this._member = oldMember;
  78421. t1.pop();
  78422. return result;
  78423. },
  78424. _withStackFrame$3(member, nodeWithSpan, callback) {
  78425. callback.toString;
  78426. return this._withStackFrame$1$3(member, nodeWithSpan, callback, type$.dynamic);
  78427. },
  78428. _withoutSlash$2(value, nodeForSpan) {
  78429. var t1;
  78430. if (value instanceof A.SassNumber)
  78431. t1 = value.asSlash != null;
  78432. else
  78433. t1 = false;
  78434. if (t1)
  78435. this._warn$3(string$.Using__i + A.S(new A._EvaluateVisitor__withoutSlash_recommendation().call$1(value)) + string$.x0a_Morex20, nodeForSpan.get$span(nodeForSpan), B.Deprecation_BvP);
  78436. return value.withoutSlash$0();
  78437. },
  78438. _stackFrame$2(member, span) {
  78439. return A.frameForSpan(span, member, A.NullableExtension_andThen(span.get$sourceUrl(span), new A._EvaluateVisitor__stackFrame_closure(this)));
  78440. },
  78441. _evaluate$_stackTrace$1(span) {
  78442. var t2, t3, _i, t4, nodeWithSpan, _this = this,
  78443. t1 = A._setArrayType([], type$.JSArray_Frame);
  78444. for (t2 = _this._stack, t3 = t2.length, _i = 0; _i < t2.length; t2.length === t3 || (0, A.throwConcurrentModificationError)(t2), ++_i) {
  78445. t4 = t2[_i];
  78446. nodeWithSpan = t4._1;
  78447. t1.push(_this._stackFrame$2(t4._0, nodeWithSpan.get$span(nodeWithSpan)));
  78448. }
  78449. if (span != null)
  78450. t1.push(_this._stackFrame$2(_this._member, span));
  78451. return A.Trace$(new A.ReversedListIterable(t1, type$.ReversedListIterable_Frame), null);
  78452. },
  78453. _evaluate$_stackTrace$0() {
  78454. return this._evaluate$_stackTrace$1(null);
  78455. },
  78456. _warn$3(message, span, deprecation) {
  78457. var trace, t1, _this = this;
  78458. if (_this._quietDeps && _this._inDependency)
  78459. return;
  78460. if (!_this._warningsEmitted.add$1(0, new A._Record_2(message, span)))
  78461. return;
  78462. trace = _this._evaluate$_stackTrace$1(span);
  78463. t1 = _this._logger;
  78464. if (deprecation == null)
  78465. t1.internalWarn$4$deprecation$span$trace(message, null, span, trace);
  78466. else
  78467. A.WarnForDeprecation_warnForDeprecation(t1, deprecation, message, span, trace);
  78468. },
  78469. _warn$2(message, span) {
  78470. return this._warn$3(message, span, null);
  78471. },
  78472. _evaluate$_exception$2(message, span) {
  78473. var t1, t2;
  78474. if (span == null) {
  78475. t1 = B.JSArray_methods.get$last(this._stack)._1;
  78476. t1 = t1.get$span(t1);
  78477. } else
  78478. t1 = span;
  78479. t2 = this._evaluate$_stackTrace$1(span);
  78480. return new A.SassRuntimeException(t2, B.Set_empty, message, t1);
  78481. },
  78482. _evaluate$_exception$1(message) {
  78483. return this._evaluate$_exception$2(message, null);
  78484. },
  78485. _multiSpanException$3(message, primaryLabel, secondaryLabels) {
  78486. var t1 = B.JSArray_methods.get$last(this._stack)._1;
  78487. return A.MultiSpanSassRuntimeException$(message, t1.get$span(t1), primaryLabel, secondaryLabels, this._evaluate$_stackTrace$0(), null);
  78488. },
  78489. _addExceptionSpan$1$3$addStackFrame(nodeWithSpan, callback, addStackFrame) {
  78490. var error, stackTrace, t1, exception;
  78491. try {
  78492. t1 = callback.call$0();
  78493. return t1;
  78494. } catch (exception) {
  78495. t1 = A.unwrapException(exception);
  78496. if (t1 instanceof A.SassScriptException) {
  78497. error = t1;
  78498. stackTrace = A.getTraceFromException(exception);
  78499. t1 = error.withSpan$1(nodeWithSpan.get$span(nodeWithSpan));
  78500. A.throwWithTrace(t1.withTrace$1(this._evaluate$_stackTrace$1(addStackFrame ? nodeWithSpan.get$span(nodeWithSpan) : null)), error, stackTrace);
  78501. } else
  78502. throw exception;
  78503. }
  78504. },
  78505. _addExceptionSpan$2(nodeWithSpan, callback) {
  78506. callback.toString;
  78507. return this._addExceptionSpan$1$3$addStackFrame(nodeWithSpan, callback, true, type$.dynamic);
  78508. },
  78509. _addExceptionSpan$3$addStackFrame(nodeWithSpan, callback, addStackFrame) {
  78510. callback.toString;
  78511. return this._addExceptionSpan$1$3$addStackFrame(nodeWithSpan, callback, addStackFrame, type$.dynamic);
  78512. },
  78513. _addExceptionTrace$1$1(callback) {
  78514. var error, stackTrace, t1, exception, t2;
  78515. try {
  78516. t1 = callback.call$0();
  78517. return t1;
  78518. } catch (exception) {
  78519. t1 = A.unwrapException(exception);
  78520. if (type$.SassRuntimeException._is(t1))
  78521. throw exception;
  78522. else if (t1 instanceof A.SassException) {
  78523. error = t1;
  78524. stackTrace = A.getTraceFromException(exception);
  78525. t1 = error;
  78526. t2 = J.getInterceptor$z(t1);
  78527. A.throwWithTrace(error.withTrace$1(this._evaluate$_stackTrace$1(A.SourceSpanException.prototype.get$span.call(t2, t1))), error, stackTrace);
  78528. } else
  78529. throw exception;
  78530. }
  78531. },
  78532. _addExceptionTrace$1(callback) {
  78533. callback.toString;
  78534. return this._addExceptionTrace$1$1(callback, type$.dynamic);
  78535. },
  78536. _addErrorSpan$1$2(nodeWithSpan, callback) {
  78537. var error, stackTrace, t1, exception, t2, t3;
  78538. try {
  78539. t1 = callback.call$0();
  78540. return t1;
  78541. } catch (exception) {
  78542. t1 = A.unwrapException(exception);
  78543. if (type$.SassRuntimeException._is(t1)) {
  78544. error = t1;
  78545. stackTrace = A.getTraceFromException(exception);
  78546. if (!B.JSString_methods.startsWith$1(J.get$span$z(error).get$text(), "@error"))
  78547. throw exception;
  78548. t1 = error._span_exception$_message;
  78549. t2 = nodeWithSpan.get$span(nodeWithSpan);
  78550. t3 = this._evaluate$_stackTrace$0();
  78551. A.throwWithTrace(new A.SassRuntimeException(t3, B.Set_empty, t1, t2), error, stackTrace);
  78552. } else
  78553. throw exception;
  78554. }
  78555. },
  78556. _addErrorSpan$2(nodeWithSpan, callback) {
  78557. callback.toString;
  78558. return this._addErrorSpan$1$2(nodeWithSpan, callback, type$.dynamic);
  78559. },
  78560. _getErrorMessage$1(error) {
  78561. var t1, exception;
  78562. if (type$.Error._is(error))
  78563. return error.toString$0(0);
  78564. try {
  78565. t1 = A._asString(J.get$message$x(error));
  78566. return t1;
  78567. } catch (exception) {
  78568. t1 = J.toString$0$(error);
  78569. return t1;
  78570. }
  78571. }
  78572. };
  78573. A._EvaluateVisitor_closure.prototype = {
  78574. call$1($arguments) {
  78575. var module, t2,
  78576. t1 = J.getInterceptor$asx($arguments),
  78577. variable = t1.$index($arguments, 0).assertString$1("name");
  78578. t1 = t1.$index($arguments, 1).get$realNull();
  78579. module = t1 == null ? null : t1.assertString$1("module");
  78580. t1 = this.$this._environment;
  78581. t2 = A.stringReplaceAllUnchecked(variable._string$_text, "_", "-");
  78582. return t1.globalVariableExists$2$namespace(t2, module == null ? null : module._string$_text) ? B.SassBoolean_true : B.SassBoolean_false;
  78583. },
  78584. $signature: 12
  78585. };
  78586. A._EvaluateVisitor_closure0.prototype = {
  78587. call$1($arguments) {
  78588. var variable = J.$index$asx($arguments, 0).assertString$1("name"),
  78589. t1 = this.$this._environment;
  78590. return t1.getVariable$1(A.stringReplaceAllUnchecked(variable._string$_text, "_", "-")) != null ? B.SassBoolean_true : B.SassBoolean_false;
  78591. },
  78592. $signature: 12
  78593. };
  78594. A._EvaluateVisitor_closure1.prototype = {
  78595. call$1($arguments) {
  78596. var module, t2, t3, t4,
  78597. t1 = J.getInterceptor$asx($arguments),
  78598. variable = t1.$index($arguments, 0).assertString$1("name");
  78599. t1 = t1.$index($arguments, 1).get$realNull();
  78600. module = t1 == null ? null : t1.assertString$1("module");
  78601. t1 = this.$this;
  78602. t2 = t1._environment;
  78603. t3 = variable._string$_text;
  78604. t4 = A.stringReplaceAllUnchecked(t3, "_", "-");
  78605. return t2.getFunction$2$namespace(t4, module == null ? null : module._string$_text) != null || t1._builtInFunctions.containsKey$1(t3) ? B.SassBoolean_true : B.SassBoolean_false;
  78606. },
  78607. $signature: 12
  78608. };
  78609. A._EvaluateVisitor_closure2.prototype = {
  78610. call$1($arguments) {
  78611. var module, t2,
  78612. t1 = J.getInterceptor$asx($arguments),
  78613. variable = t1.$index($arguments, 0).assertString$1("name");
  78614. t1 = t1.$index($arguments, 1).get$realNull();
  78615. module = t1 == null ? null : t1.assertString$1("module");
  78616. t1 = this.$this._environment;
  78617. t2 = A.stringReplaceAllUnchecked(variable._string$_text, "_", "-");
  78618. return t1.getMixin$2$namespace(t2, module == null ? null : module._string$_text) != null ? B.SassBoolean_true : B.SassBoolean_false;
  78619. },
  78620. $signature: 12
  78621. };
  78622. A._EvaluateVisitor_closure3.prototype = {
  78623. call$1($arguments) {
  78624. var t1 = this.$this._environment;
  78625. if (!t1._inMixin)
  78626. throw A.wrapException(A.SassScriptException$(string$.conten, null));
  78627. return t1._content != null ? B.SassBoolean_true : B.SassBoolean_false;
  78628. },
  78629. $signature: 12
  78630. };
  78631. A._EvaluateVisitor_closure4.prototype = {
  78632. call$1($arguments) {
  78633. var t2, t3, t4,
  78634. t1 = J.$index$asx($arguments, 0).assertString$1("module")._string$_text,
  78635. module = this.$this._environment._environment$_modules.$index(0, t1);
  78636. if (module == null)
  78637. throw A.wrapException('There is no module with namespace "' + t1 + '".');
  78638. t1 = type$.Value;
  78639. t2 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t1);
  78640. for (t3 = A.MapExtensions_get_pairs(module.get$variables(), type$.String, t1), t3 = t3.get$iterator(t3); t3.moveNext$0();) {
  78641. t4 = t3.get$current(t3);
  78642. t2.$indexSet(0, new A.SassString(t4._0, true), t4._1);
  78643. }
  78644. return new A.SassMap(A.ConstantMap_ConstantMap$from(t2, t1, t1));
  78645. },
  78646. $signature: 38
  78647. };
  78648. A._EvaluateVisitor_closure5.prototype = {
  78649. call$1($arguments) {
  78650. var t3, t4, t5,
  78651. t1 = this.$this,
  78652. t2 = J.$index$asx($arguments, 0).assertString$1("module")._string$_text,
  78653. module = t1._environment._environment$_modules.$index(0, t2);
  78654. if (module == null)
  78655. throw A.wrapException('There is no module with namespace "' + t2 + '".');
  78656. t2 = type$.Value;
  78657. t3 = A.LinkedHashMap_LinkedHashMap$_empty(t2, t2);
  78658. for (t4 = A.MapExtensions_get_pairs(module.get$functions(module), type$.String, type$.Callable), t4 = t4.get$iterator(t4), t1 = t1._compileContext; t4.moveNext$0();) {
  78659. t5 = t4.get$current(t4);
  78660. t3.$indexSet(0, new A.SassString(t5._0, true), new A.SassFunction(t5._1, t1));
  78661. }
  78662. return new A.SassMap(A.ConstantMap_ConstantMap$from(t3, t2, t2));
  78663. },
  78664. $signature: 38
  78665. };
  78666. A._EvaluateVisitor_closure6.prototype = {
  78667. call$1($arguments) {
  78668. var t3, t4, t5,
  78669. t1 = this.$this,
  78670. t2 = J.$index$asx($arguments, 0).assertString$1("module")._string$_text,
  78671. module = t1._environment._environment$_modules.$index(0, t2);
  78672. if (module == null)
  78673. throw A.wrapException('There is no module with namespace "' + t2 + '".');
  78674. t2 = type$.Value;
  78675. t3 = A.LinkedHashMap_LinkedHashMap$_empty(t2, t2);
  78676. for (t4 = A.MapExtensions_get_pairs(module.get$mixins(), type$.String, type$.Callable), t4 = t4.get$iterator(t4), t1 = t1._compileContext; t4.moveNext$0();) {
  78677. t5 = t4.get$current(t4);
  78678. t3.$indexSet(0, new A.SassString(t5._0, true), new A.SassMixin(t5._1, t1));
  78679. }
  78680. return new A.SassMap(A.ConstantMap_ConstantMap$from(t3, t2, t2));
  78681. },
  78682. $signature: 38
  78683. };
  78684. A._EvaluateVisitor_closure7.prototype = {
  78685. call$1($arguments) {
  78686. var module, t2, callable,
  78687. t1 = J.getInterceptor$asx($arguments),
  78688. $name = t1.$index($arguments, 0).assertString$1("name"),
  78689. css = t1.$index($arguments, 1).get$isTruthy();
  78690. t1 = t1.$index($arguments, 2).get$realNull();
  78691. module = t1 == null ? null : t1.assertString$1("module");
  78692. if (css) {
  78693. if (module != null)
  78694. throw A.wrapException(string$.x24css_a);
  78695. return new A.SassFunction(new A.PlainCssCallable($name._string$_text), this.$this._compileContext);
  78696. }
  78697. t1 = this.$this;
  78698. t2 = t1._callableNode;
  78699. t2.toString;
  78700. callable = t1._addExceptionSpan$2(t2, new A._EvaluateVisitor__closure2(t1, $name, module));
  78701. if (callable == null)
  78702. throw A.wrapException("Function not found: " + $name.toString$0(0));
  78703. return new A.SassFunction(callable, t1._compileContext);
  78704. },
  78705. $signature: 167
  78706. };
  78707. A._EvaluateVisitor__closure2.prototype = {
  78708. call$0() {
  78709. var local,
  78710. normalizedName = A.stringReplaceAllUnchecked(this.name._string$_text, "_", "-"),
  78711. t1 = this.module,
  78712. namespace = t1 == null ? null : t1._string$_text;
  78713. t1 = this.$this;
  78714. local = t1._environment.getFunction$2$namespace(normalizedName, namespace);
  78715. if (local != null || namespace != null)
  78716. return local;
  78717. return t1._builtInFunctions.$index(0, normalizedName);
  78718. },
  78719. $signature: 81
  78720. };
  78721. A._EvaluateVisitor_closure8.prototype = {
  78722. call$1($arguments) {
  78723. var module, t2, callable,
  78724. t1 = J.getInterceptor$asx($arguments),
  78725. $name = t1.$index($arguments, 0).assertString$1("name");
  78726. t1 = t1.$index($arguments, 1).get$realNull();
  78727. module = t1 == null ? null : t1.assertString$1("module");
  78728. t1 = this.$this;
  78729. t2 = t1._callableNode;
  78730. t2.toString;
  78731. callable = t1._addExceptionSpan$2(t2, new A._EvaluateVisitor__closure1(t1, $name, module));
  78732. if (callable == null)
  78733. throw A.wrapException("Mixin not found: " + $name.toString$0(0));
  78734. return new A.SassMixin(callable, t1._compileContext);
  78735. },
  78736. $signature: 168
  78737. };
  78738. A._EvaluateVisitor__closure1.prototype = {
  78739. call$0() {
  78740. var t1 = this.$this._environment,
  78741. t2 = A.stringReplaceAllUnchecked(this.name._string$_text, "_", "-"),
  78742. t3 = this.module;
  78743. return t1.getMixin$2$namespace(t2, t3 == null ? null : t3._string$_text);
  78744. },
  78745. $signature: 81
  78746. };
  78747. A._EvaluateVisitor_closure9.prototype = {
  78748. call$1($arguments) {
  78749. var t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, invocation, callableNode, callable,
  78750. t1 = J.getInterceptor$asx($arguments),
  78751. $function = t1.$index($arguments, 0),
  78752. args = type$.SassArgumentList._as(t1.$index($arguments, 1));
  78753. t1 = this.$this;
  78754. t2 = t1._callableNode;
  78755. t2.toString;
  78756. t3 = A._setArrayType([], type$.JSArray_Expression);
  78757. t4 = type$.String;
  78758. t5 = type$.Expression;
  78759. t6 = t2.get$span(t2);
  78760. t7 = t2.get$span(t2);
  78761. args._wereKeywordsAccessed = true;
  78762. t8 = args._keywords;
  78763. if (t8.get$isEmpty(t8))
  78764. t2 = null;
  78765. else {
  78766. t9 = type$.Value;
  78767. t10 = A.LinkedHashMap_LinkedHashMap$_empty(t9, t9);
  78768. for (args._wereKeywordsAccessed = true, t8 = A.MapExtensions_get_pairs(t8, t4, t9), t8 = t8.get$iterator(t8); t8.moveNext$0();) {
  78769. t11 = t8.get$current(t8);
  78770. t10.$indexSet(0, new A.SassString(t11._0, false), t11._1);
  78771. }
  78772. t2 = new A.ValueExpression(new A.SassMap(A.ConstantMap_ConstantMap$from(t10, t9, t9)), t2.get$span(t2));
  78773. }
  78774. invocation = new A.ArgumentList(A.List_List$unmodifiable(t3, t5), A.ConstantMap_ConstantMap$from(A.LinkedHashMap_LinkedHashMap$_empty(t4, t5), t4, t5), new A.ValueExpression(args, t7), t2, t6);
  78775. if ($function instanceof A.SassString) {
  78776. A.warnForDeprecation(string$.Passina + $function.toString$0(0) + "))", B.Deprecation_dAn);
  78777. callableNode = t1._callableNode;
  78778. t2 = $function._string$_text;
  78779. t3 = callableNode.get$span(callableNode);
  78780. return t1.visitFunctionExpression$1(0, new A.FunctionExpression(null, A.stringReplaceAllUnchecked(t2, "_", "-"), t2, invocation, t3));
  78781. }
  78782. callable = $function.assertFunction$1("function").assertCompileContext$1(t1._compileContext).callable;
  78783. if (type$.Callable._is(callable)) {
  78784. t2 = t1._callableNode;
  78785. t2.toString;
  78786. return t1._runFunctionCallable$3(invocation, callable, t2);
  78787. } else
  78788. throw A.wrapException(A.SassScriptException$("The function " + callable.get$name(callable) + string$.x20is_as, null));
  78789. },
  78790. $signature: 4
  78791. };
  78792. A._EvaluateVisitor_closure10.prototype = {
  78793. call$1($arguments) {
  78794. var withMap, t2, values, configuration, t3,
  78795. t1 = J.getInterceptor$asx($arguments),
  78796. url = A.Uri_parse(t1.$index($arguments, 0).assertString$1("url")._string$_text);
  78797. t1 = t1.$index($arguments, 1).get$realNull();
  78798. withMap = t1 == null ? null : t1.assertMap$1("with")._map$_contents;
  78799. t1 = this.$this;
  78800. t2 = t1._callableNode;
  78801. t2.toString;
  78802. if (withMap != null) {
  78803. values = A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.ConfiguredValue);
  78804. withMap.forEach$1(0, new A._EvaluateVisitor__closure(values, t2.get$span(t2), t2));
  78805. configuration = new A.ExplicitConfiguration(t2, values, null);
  78806. } else
  78807. configuration = B.Configuration_Map_empty_null;
  78808. t3 = t2.get$span(t2);
  78809. t1._loadModule$7$baseUrl$configuration$namesInErrors(url, "load-css()", t2, new A._EvaluateVisitor__closure0(t1), t3.get$sourceUrl(t3), configuration, true);
  78810. t1._assertConfigurationIsEmpty$2$nameInError(configuration, true);
  78811. },
  78812. $signature: 188
  78813. };
  78814. A._EvaluateVisitor__closure.prototype = {
  78815. call$2(variable, value) {
  78816. var t1 = variable.assertString$1("with key"),
  78817. $name = A.stringReplaceAllUnchecked(t1._string$_text, "_", "-");
  78818. t1 = this.values;
  78819. if (t1.containsKey$1($name))
  78820. throw A.wrapException("The variable $" + $name + " was configured twice.");
  78821. t1.$indexSet(0, $name, new A.ConfiguredValue(value, this.span, this.callableNode));
  78822. },
  78823. $signature: 101
  78824. };
  78825. A._EvaluateVisitor__closure0.prototype = {
  78826. call$2(module, _) {
  78827. var t1 = this.$this;
  78828. return t1._combineCss$2$clone(module, true).accept$1(t1);
  78829. },
  78830. $signature: 82
  78831. };
  78832. A._EvaluateVisitor_closure11.prototype = {
  78833. call$1($arguments) {
  78834. var callableNode, t2, t3, t4, t5, callable, $content,
  78835. t1 = J.getInterceptor$asx($arguments),
  78836. mixin = t1.$index($arguments, 0),
  78837. args = type$.SassArgumentList._as(t1.$index($arguments, 1));
  78838. t1 = this.$this;
  78839. callableNode = t1._callableNode;
  78840. t2 = callableNode.get$span(callableNode);
  78841. t3 = callableNode.get$span(callableNode);
  78842. t4 = type$.Expression;
  78843. t5 = A.List_List$unmodifiable(B.List_empty9, t4);
  78844. t4 = A.ConstantMap_ConstantMap$from(B.Map_empty4, type$.String, t4);
  78845. callable = mixin.assertMixin$1("mixin").assertCompileContext$1(t1._compileContext).callable;
  78846. $content = t1._environment._content;
  78847. if (type$.Callable._is(callable))
  78848. t1._applyMixin$5(callable, $content, new A.ArgumentList(t5, t4, new A.ValueExpression(args, t3), null, t2), callableNode, callableNode);
  78849. else
  78850. throw A.wrapException(A.SassScriptException$("The mixin " + callable.get$name(callable) + string$.x20is_as, null));
  78851. },
  78852. $signature: 188
  78853. };
  78854. A._EvaluateVisitor_run_closure.prototype = {
  78855. call$0() {
  78856. var module, _this = this,
  78857. t1 = _this.node,
  78858. t2 = t1.span,
  78859. _0_0 = t2.get$sourceUrl(t2),
  78860. url = null;
  78861. if (_0_0 != null) {
  78862. url = _0_0;
  78863. t2 = _this.$this;
  78864. t2._activeModules.$indexSet(0, url, null);
  78865. t2._loadedUrls.add$1(0, url);
  78866. }
  78867. t2 = _this.$this;
  78868. module = t2._addExceptionTrace$1(new A._EvaluateVisitor_run__closure(t2, _this.importer, t1));
  78869. return new A._Record_2_loadedUrls_stylesheet(t2._loadedUrls, t2._combineCss$1(module));
  78870. },
  78871. $signature: 569
  78872. };
  78873. A._EvaluateVisitor_run__closure.prototype = {
  78874. call$0() {
  78875. return this.$this._execute$2(this.importer, this.node);
  78876. },
  78877. $signature: 570
  78878. };
  78879. A._EvaluateVisitor_runExpression_closure.prototype = {
  78880. call$0() {
  78881. var t1 = this.$this,
  78882. t2 = this.expression;
  78883. return t1._withFakeStylesheet$3(this.importer, t2, new A._EvaluateVisitor_runExpression__closure(t1, t2));
  78884. },
  78885. $signature: 33
  78886. };
  78887. A._EvaluateVisitor_runExpression__closure.prototype = {
  78888. call$0() {
  78889. var t1 = this.$this;
  78890. return t1._addExceptionTrace$1(new A._EvaluateVisitor_runExpression___closure(t1, this.expression));
  78891. },
  78892. $signature: 33
  78893. };
  78894. A._EvaluateVisitor_runExpression___closure.prototype = {
  78895. call$0() {
  78896. return this.expression.accept$1(this.$this);
  78897. },
  78898. $signature: 33
  78899. };
  78900. A._EvaluateVisitor_runStatement_closure.prototype = {
  78901. call$0() {
  78902. var t1 = this.$this,
  78903. t2 = this.statement;
  78904. return t1._withFakeStylesheet$3(this.importer, t2, new A._EvaluateVisitor_runStatement__closure(t1, t2));
  78905. },
  78906. $signature: 0
  78907. };
  78908. A._EvaluateVisitor_runStatement__closure.prototype = {
  78909. call$0() {
  78910. var t1 = this.$this;
  78911. return t1._addExceptionTrace$1(new A._EvaluateVisitor_runStatement___closure(t1, this.statement));
  78912. },
  78913. $signature: 0
  78914. };
  78915. A._EvaluateVisitor_runStatement___closure.prototype = {
  78916. call$0() {
  78917. return this.statement.accept$1(this.$this);
  78918. },
  78919. $signature: 0
  78920. };
  78921. A._EvaluateVisitor__loadModule_closure.prototype = {
  78922. call$0() {
  78923. return this.callback.call$2(this._box_0.builtInModule, false);
  78924. },
  78925. $signature: 0
  78926. };
  78927. A._EvaluateVisitor__loadModule_closure0.prototype = {
  78928. call$0() {
  78929. var canonicalUrl, oldInDependency, t4, message, _this = this, t1 = {}, stylesheet = null, importer = null,
  78930. t2 = _this.$this,
  78931. t3 = _this.nodeWithSpan,
  78932. _1_0 = t2._loadStylesheet$3$baseUrl(_this.url.toString$0(0), t3.get$span(t3), _this.baseUrl);
  78933. stylesheet = _1_0._0;
  78934. importer = _1_0._1;
  78935. t4 = stylesheet.span;
  78936. canonicalUrl = t4.get$sourceUrl(t4);
  78937. if (canonicalUrl != null) {
  78938. t4 = t2._activeModules;
  78939. if (t4.containsKey$1(canonicalUrl)) {
  78940. message = _this.namesInErrors ? "Module loop: " + $.$get$context().prettyUri$1(canonicalUrl) + " is already being loaded." : string$.Modulel;
  78941. t1 = A.NullableExtension_andThen(t4.$index(0, canonicalUrl), new A._EvaluateVisitor__loadModule__closure(t2, message));
  78942. throw A.wrapException(t1 == null ? t2._evaluate$_exception$1(message) : t1);
  78943. } else
  78944. t4.$indexSet(0, canonicalUrl, t3);
  78945. }
  78946. t4 = t2._modules.containsKey$1(canonicalUrl);
  78947. oldInDependency = t2._inDependency;
  78948. t2._inDependency = _1_0._2;
  78949. t1.module = null;
  78950. try {
  78951. t1.module = t2._execute$5$configuration$namesInErrors$nodeWithSpan(importer, stylesheet, _this.configuration, _this.namesInErrors, t3);
  78952. } finally {
  78953. t2._activeModules.remove$1(0, canonicalUrl);
  78954. t2._inDependency = oldInDependency;
  78955. }
  78956. t2._addExceptionSpan$3$addStackFrame(t3, new A._EvaluateVisitor__loadModule__closure0(t1, _this.callback, !t4), false);
  78957. },
  78958. $signature: 1
  78959. };
  78960. A._EvaluateVisitor__loadModule__closure.prototype = {
  78961. call$1(previousLoad) {
  78962. return this.$this._multiSpanException$3(this.message, "new load", A.LinkedHashMap_LinkedHashMap$_literal([previousLoad.get$span(previousLoad), "original load"], type$.FileSpan, type$.String));
  78963. },
  78964. $signature: 85
  78965. };
  78966. A._EvaluateVisitor__loadModule__closure0.prototype = {
  78967. call$0() {
  78968. return this.callback.call$2(this._box_1.module, this.firstLoad);
  78969. },
  78970. $signature: 0
  78971. };
  78972. A._EvaluateVisitor__execute_closure.prototype = {
  78973. call$0() {
  78974. var t3, t4, t5, t6, _this = this,
  78975. t1 = _this.$this,
  78976. oldImporter = t1._importer,
  78977. oldStylesheet = t1.__stylesheet,
  78978. oldRoot = t1.__root,
  78979. oldPreModuleComments = t1._preModuleComments,
  78980. oldParent = t1.__parent,
  78981. oldEndOfImports = t1.__endOfImports,
  78982. oldOutOfOrderImports = t1._outOfOrderImports,
  78983. oldExtensionStore = t1.__extensionStore,
  78984. t2 = t1._atRootExcludingStyleRule,
  78985. oldStyleRule = t2 ? null : t1._styleRuleIgnoringAtRoot,
  78986. oldMediaQueries = t1._mediaQueries,
  78987. oldDeclarationName = t1._declarationName,
  78988. oldInUnknownAtRule = t1._inUnknownAtRule,
  78989. oldInKeyframes = t1._inKeyframes,
  78990. oldConfiguration = t1._configuration;
  78991. t1._importer = _this.importer;
  78992. t3 = t1.__stylesheet = _this.stylesheet;
  78993. t4 = t3.span;
  78994. t5 = t1.__parent = t1.__root = A.ModifiableCssStylesheet$(t4);
  78995. t1.__endOfImports = 0;
  78996. t1._outOfOrderImports = null;
  78997. t1.__extensionStore = _this.extensionStore;
  78998. t1._declarationName = t1._mediaQueries = t1._styleRuleIgnoringAtRoot = null;
  78999. t1._inKeyframes = t1._atRootExcludingStyleRule = t1._inUnknownAtRule = false;
  79000. t6 = _this.configuration;
  79001. if (t6 != null)
  79002. t1._configuration = t6;
  79003. t1.visitStylesheet$1(0, t3);
  79004. t3 = t1._outOfOrderImports == null ? t5 : new A.CssStylesheet(new A.UnmodifiableListView(t1._addOutOfOrderImports$0(), type$.UnmodifiableListView_CssNode), t4);
  79005. _this.css.__late_helper$_value = t3;
  79006. _this.preModuleComments.__late_helper$_value = t1._preModuleComments;
  79007. t1._importer = oldImporter;
  79008. t1.__stylesheet = oldStylesheet;
  79009. t1.__root = oldRoot;
  79010. t1._preModuleComments = oldPreModuleComments;
  79011. t1.__parent = oldParent;
  79012. t1.__endOfImports = oldEndOfImports;
  79013. t1._outOfOrderImports = oldOutOfOrderImports;
  79014. t1.__extensionStore = oldExtensionStore;
  79015. t1._styleRuleIgnoringAtRoot = oldStyleRule;
  79016. t1._mediaQueries = oldMediaQueries;
  79017. t1._declarationName = oldDeclarationName;
  79018. t1._inUnknownAtRule = oldInUnknownAtRule;
  79019. t1._atRootExcludingStyleRule = t2;
  79020. t1._inKeyframes = oldInKeyframes;
  79021. t1._configuration = oldConfiguration;
  79022. },
  79023. $signature: 1
  79024. };
  79025. A._EvaluateVisitor__combineCss_closure.prototype = {
  79026. call$1(module) {
  79027. return module.get$transitivelyContainsCss();
  79028. },
  79029. $signature: 129
  79030. };
  79031. A._EvaluateVisitor__combineCss_closure0.prototype = {
  79032. call$1(target) {
  79033. return !this.selectors.contains$1(0, target);
  79034. },
  79035. $signature: 13
  79036. };
  79037. A._EvaluateVisitor__combineCss_visitModule.prototype = {
  79038. call$1(module) {
  79039. var t1, t2, t3, t4, _i, upstream, _1_0, statements, index, _this = this;
  79040. if (!_this.seen.add$1(0, module))
  79041. return;
  79042. if (_this.clone)
  79043. module = module.cloneCss$0();
  79044. for (t1 = module.get$upstream(), t2 = t1.length, t3 = _this.css, t4 = _this.imports, _i = 0; _i < t1.length; t1.length === t2 || (0, A.throwConcurrentModificationError)(t1), ++_i) {
  79045. upstream = t1[_i];
  79046. if (upstream.get$transitivelyContainsCss()) {
  79047. _1_0 = module.get$preModuleComments().$index(0, upstream);
  79048. if (_1_0 != null)
  79049. B.JSArray_methods.addAll$1(t3.length === 0 ? t4 : t3, _1_0);
  79050. _this.call$1(upstream);
  79051. }
  79052. }
  79053. _this.sorted.addFirst$1(module);
  79054. t1 = module.get$css(module);
  79055. statements = t1.get$children(t1);
  79056. index = _this.$this._indexAfterImports$1(statements);
  79057. t1 = J.getInterceptor$ax(statements);
  79058. B.JSArray_methods.addAll$1(t4, t1.getRange$2(statements, 0, index));
  79059. B.JSArray_methods.addAll$1(t3, t1.getRange$2(statements, index, t1.get$length(statements)));
  79060. },
  79061. $signature: 579
  79062. };
  79063. A._EvaluateVisitor__extendModules_closure.prototype = {
  79064. call$1(target) {
  79065. return !this.originalSelectors.contains$1(0, target);
  79066. },
  79067. $signature: 13
  79068. };
  79069. A._EvaluateVisitor__extendModules_closure0.prototype = {
  79070. call$0() {
  79071. return A._setArrayType([], type$.JSArray_ExtensionStore);
  79072. },
  79073. $signature: 141
  79074. };
  79075. A._EvaluateVisitor_visitAtRootRule_closure.prototype = {
  79076. call$0() {
  79077. var t1, t2, t3, _i;
  79078. for (t1 = this.node.children, t2 = t1.length, t3 = this.$this, _i = 0; _i < t2; ++_i)
  79079. t1[_i].accept$1(t3);
  79080. },
  79081. $signature: 1
  79082. };
  79083. A._EvaluateVisitor_visitAtRootRule_closure0.prototype = {
  79084. call$0() {
  79085. var t1, t2, t3, _i;
  79086. for (t1 = this.node.children, t2 = t1.length, t3 = this.$this, _i = 0; _i < t2; ++_i)
  79087. t1[_i].accept$1(t3);
  79088. },
  79089. $signature: 0
  79090. };
  79091. A._EvaluateVisitor__scopeForAtRoot_closure.prototype = {
  79092. call$1(callback) {
  79093. var t1 = this.$this,
  79094. oldParent = t1._assertInModule$2(t1.__parent, "__parent");
  79095. t1.__parent = this.newParent;
  79096. t1._environment.scope$1$2$when(callback, this.node.hasDeclarations, type$.void);
  79097. t1.__parent = oldParent;
  79098. },
  79099. $signature: 35
  79100. };
  79101. A._EvaluateVisitor__scopeForAtRoot_closure0.prototype = {
  79102. call$1(callback) {
  79103. var t1 = this.$this,
  79104. oldAtRootExcludingStyleRule = t1._atRootExcludingStyleRule;
  79105. t1._atRootExcludingStyleRule = true;
  79106. this.innerScope.call$1(callback);
  79107. t1._atRootExcludingStyleRule = oldAtRootExcludingStyleRule;
  79108. },
  79109. $signature: 35
  79110. };
  79111. A._EvaluateVisitor__scopeForAtRoot_closure1.prototype = {
  79112. call$1(callback) {
  79113. return this.$this._withMediaQueries$3(null, null, new A._EvaluateVisitor__scopeForAtRoot__closure(this.innerScope, callback));
  79114. },
  79115. $signature: 35
  79116. };
  79117. A._EvaluateVisitor__scopeForAtRoot__closure.prototype = {
  79118. call$0() {
  79119. return this.innerScope.call$1(this.callback);
  79120. },
  79121. $signature: 1
  79122. };
  79123. A._EvaluateVisitor__scopeForAtRoot_closure2.prototype = {
  79124. call$1(callback) {
  79125. var t1 = this.$this,
  79126. wasInKeyframes = t1._inKeyframes;
  79127. t1._inKeyframes = false;
  79128. this.innerScope.call$1(callback);
  79129. t1._inKeyframes = wasInKeyframes;
  79130. },
  79131. $signature: 35
  79132. };
  79133. A._EvaluateVisitor__scopeForAtRoot_closure3.prototype = {
  79134. call$1($parent) {
  79135. return $parent instanceof A.ModifiableCssAtRule;
  79136. },
  79137. $signature: 172
  79138. };
  79139. A._EvaluateVisitor__scopeForAtRoot_closure4.prototype = {
  79140. call$1(callback) {
  79141. var t1 = this.$this,
  79142. wasInUnknownAtRule = t1._inUnknownAtRule;
  79143. t1._inUnknownAtRule = false;
  79144. this.innerScope.call$1(callback);
  79145. t1._inUnknownAtRule = wasInUnknownAtRule;
  79146. },
  79147. $signature: 35
  79148. };
  79149. A._EvaluateVisitor_visitContentRule_closure.prototype = {
  79150. call$0() {
  79151. var t1, t2, t3, _i;
  79152. for (t1 = this.content.declaration.children, t2 = t1.length, t3 = this.$this, _i = 0; _i < t2; ++_i)
  79153. t1[_i].accept$1(t3);
  79154. return null;
  79155. },
  79156. $signature: 1
  79157. };
  79158. A._EvaluateVisitor_visitDeclaration_closure.prototype = {
  79159. call$0() {
  79160. var t1, t2, t3, _i;
  79161. for (t1 = this._box_0.children, t2 = t1.length, t3 = this.$this, _i = 0; _i < t2; ++_i)
  79162. t1[_i].accept$1(t3);
  79163. },
  79164. $signature: 1
  79165. };
  79166. A._EvaluateVisitor_visitEachRule_closure.prototype = {
  79167. call$1(value) {
  79168. var t1 = this.$this,
  79169. t2 = this.nodeWithSpan;
  79170. return t1._environment.setLocalVariable$3(this._box_0.variable, t1._withoutSlash$2(value, t2), t2);
  79171. },
  79172. $signature: 61
  79173. };
  79174. A._EvaluateVisitor_visitEachRule_closure0.prototype = {
  79175. call$1(value) {
  79176. return this.$this._setMultipleVariables$3(this._box_1.variables, value, this.nodeWithSpan);
  79177. },
  79178. $signature: 61
  79179. };
  79180. A._EvaluateVisitor_visitEachRule_closure1.prototype = {
  79181. call$0() {
  79182. var _this = this,
  79183. t1 = _this.$this;
  79184. return t1._handleReturn$2(_this.list.get$asList(), new A._EvaluateVisitor_visitEachRule__closure(t1, _this.setVariables, _this.node));
  79185. },
  79186. $signature: 41
  79187. };
  79188. A._EvaluateVisitor_visitEachRule__closure.prototype = {
  79189. call$1(element) {
  79190. var t1;
  79191. this.setVariables.call$1(element);
  79192. t1 = this.$this;
  79193. return t1._handleReturn$2(this.node.children, new A._EvaluateVisitor_visitEachRule___closure(t1));
  79194. },
  79195. $signature: 581
  79196. };
  79197. A._EvaluateVisitor_visitEachRule___closure.prototype = {
  79198. call$1(child) {
  79199. return child.accept$1(this.$this);
  79200. },
  79201. $signature: 83
  79202. };
  79203. A._EvaluateVisitor_visitAtRule_closure.prototype = {
  79204. call$1(value) {
  79205. return this.$this._interpolationToValue$3$trim$warnForColor(value, true, true);
  79206. },
  79207. $signature: 583
  79208. };
  79209. A._EvaluateVisitor_visitAtRule_closure0.prototype = {
  79210. call$0() {
  79211. var t2, t3, _i, _this = this,
  79212. t1 = _this.$this,
  79213. styleRule = t1._atRootExcludingStyleRule ? null : t1._styleRuleIgnoringAtRoot;
  79214. if (styleRule == null || t1._inKeyframes || J.$eq$(_this.name.value, "font-face"))
  79215. for (t2 = _this.children, t3 = t2.length, _i = 0; _i < t3; ++_i)
  79216. t2[_i].accept$1(t1);
  79217. else
  79218. t1._withParent$2$3$scopeWhen(A.ModifiableCssStyleRule$(styleRule._style_rule$_selector, styleRule.span, false, styleRule.originalSelector), new A._EvaluateVisitor_visitAtRule__closure(t1, _this.children), false, type$.ModifiableCssStyleRule, type$.Null);
  79219. },
  79220. $signature: 1
  79221. };
  79222. A._EvaluateVisitor_visitAtRule__closure.prototype = {
  79223. call$0() {
  79224. var t1, t2, t3, _i;
  79225. for (t1 = this.children, t2 = t1.length, t3 = this.$this, _i = 0; _i < t2; ++_i)
  79226. t1[_i].accept$1(t3);
  79227. },
  79228. $signature: 1
  79229. };
  79230. A._EvaluateVisitor_visitAtRule_closure1.prototype = {
  79231. call$1(node) {
  79232. return node instanceof A.ModifiableCssStyleRule;
  79233. },
  79234. $signature: 8
  79235. };
  79236. A._EvaluateVisitor_visitForRule_closure.prototype = {
  79237. call$0() {
  79238. return this.node.from.accept$1(this.$this).assertNumber$0();
  79239. },
  79240. $signature: 189
  79241. };
  79242. A._EvaluateVisitor_visitForRule_closure0.prototype = {
  79243. call$0() {
  79244. return this.node.to.accept$1(this.$this).assertNumber$0();
  79245. },
  79246. $signature: 189
  79247. };
  79248. A._EvaluateVisitor_visitForRule_closure1.prototype = {
  79249. call$0() {
  79250. return this.fromNumber.assertInt$0();
  79251. },
  79252. $signature: 10
  79253. };
  79254. A._EvaluateVisitor_visitForRule_closure2.prototype = {
  79255. call$0() {
  79256. var t1 = this.fromNumber;
  79257. return this.toNumber.coerce$2(t1.get$numeratorUnits(t1), t1.get$denominatorUnits(t1)).assertInt$0();
  79258. },
  79259. $signature: 10
  79260. };
  79261. A._EvaluateVisitor_visitForRule_closure3.prototype = {
  79262. call$0() {
  79263. var i, t3, t4, t5, t6, t7, t8, _0_0, _this = this,
  79264. t1 = _this.$this,
  79265. t2 = _this.node,
  79266. nodeWithSpan = t1._expressionNode$1(t2.from);
  79267. 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) {
  79268. t7 = t1._environment;
  79269. t8 = t6.get$numeratorUnits(t6);
  79270. t7.setLocalVariable$3(t5, A.SassNumber_SassNumber$withUnits(i, t6.get$denominatorUnits(t6), t8), nodeWithSpan);
  79271. _0_0 = t1._handleReturn$2(t2, new A._EvaluateVisitor_visitForRule__closure(t1));
  79272. if (_0_0 != null)
  79273. return _0_0;
  79274. }
  79275. return null;
  79276. },
  79277. $signature: 41
  79278. };
  79279. A._EvaluateVisitor_visitForRule__closure.prototype = {
  79280. call$1(child) {
  79281. return child.accept$1(this.$this);
  79282. },
  79283. $signature: 83
  79284. };
  79285. A._EvaluateVisitor_visitForwardRule_closure.prototype = {
  79286. call$2(module, firstLoad) {
  79287. if (firstLoad)
  79288. this.$this._registerCommentsForModule$1(module);
  79289. this.$this._environment.forwardModule$2(module, this.node);
  79290. },
  79291. $signature: 82
  79292. };
  79293. A._EvaluateVisitor_visitForwardRule_closure0.prototype = {
  79294. call$2(module, firstLoad) {
  79295. if (firstLoad)
  79296. this.$this._registerCommentsForModule$1(module);
  79297. this.$this._environment.forwardModule$2(module, this.node);
  79298. },
  79299. $signature: 82
  79300. };
  79301. A._EvaluateVisitor__registerCommentsForModule_closure.prototype = {
  79302. call$0() {
  79303. return A._setArrayType([], type$.JSArray_CssComment);
  79304. },
  79305. $signature: 177
  79306. };
  79307. A._EvaluateVisitor_visitIfRule_closure.prototype = {
  79308. call$1(clause) {
  79309. var t1 = this.$this;
  79310. return t1._environment.scope$1$3$semiGlobal$when(new A._EvaluateVisitor_visitIfRule__closure(t1, clause), true, clause.hasDeclarations, type$.nullable_Value);
  79311. },
  79312. $signature: 611
  79313. };
  79314. A._EvaluateVisitor_visitIfRule__closure.prototype = {
  79315. call$0() {
  79316. var t1 = this.$this;
  79317. return t1._handleReturn$2(this.clause.children, new A._EvaluateVisitor_visitIfRule___closure(t1));
  79318. },
  79319. $signature: 41
  79320. };
  79321. A._EvaluateVisitor_visitIfRule___closure.prototype = {
  79322. call$1(child) {
  79323. return child.accept$1(this.$this);
  79324. },
  79325. $signature: 83
  79326. };
  79327. A._EvaluateVisitor__visitDynamicImport_closure.prototype = {
  79328. call$0() {
  79329. var t1, t2, _0_0, stylesheet, importer, isDependency, t3, url, oldImporter, oldStylesheet, oldInDependency, loadsUserDefinedModules, children, t4, t5, t6, t7, t8, t9, t10, environment, module, visitor, _box_0 = {};
  79330. _box_0.isDependency = _box_0.importer = _box_0.stylesheet = null;
  79331. t1 = this.$this;
  79332. t2 = this.$import;
  79333. _0_0 = t1._loadStylesheet$3$forImport(t2.urlString, t2.span, true);
  79334. stylesheet = _box_0.stylesheet = _0_0._0;
  79335. importer = _0_0._1;
  79336. _box_0.importer = importer;
  79337. isDependency = _0_0._2;
  79338. _box_0.isDependency = isDependency;
  79339. t3 = stylesheet.span;
  79340. url = t3.get$sourceUrl(t3);
  79341. if (url != null) {
  79342. t3 = t1._activeModules;
  79343. if (t3.containsKey$1(url)) {
  79344. t2 = A.NullableExtension_andThen(t3.$index(0, url), new A._EvaluateVisitor__visitDynamicImport__closure(t1));
  79345. throw A.wrapException(t2 == null ? t1._evaluate$_exception$1("This file is already being loaded.") : t2);
  79346. }
  79347. t3.$indexSet(0, url, t2);
  79348. }
  79349. t2 = stylesheet._uses;
  79350. t3 = type$.UnmodifiableListView_UseRule;
  79351. if (new A.UnmodifiableListView(t2, t3).get$length(0) === 0 && new A.UnmodifiableListView(stylesheet._forwards, type$.UnmodifiableListView_ForwardRule).get$length(0) === 0) {
  79352. oldImporter = t1._importer;
  79353. oldStylesheet = t1._assertInModule$2(t1.__stylesheet, "_stylesheet");
  79354. oldInDependency = t1._inDependency;
  79355. t1._importer = importer;
  79356. t1.__stylesheet = stylesheet;
  79357. t1._inDependency = isDependency;
  79358. t1.visitStylesheet$1(0, stylesheet);
  79359. t1._importer = oldImporter;
  79360. t1.__stylesheet = oldStylesheet;
  79361. t1._inDependency = oldInDependency;
  79362. t1._activeModules.remove$1(0, url);
  79363. return;
  79364. }
  79365. t2 = new A.UnmodifiableListView(t2, t3);
  79366. if (!t2.any$1(t2, new A._EvaluateVisitor__visitDynamicImport__closure0())) {
  79367. t2 = new A.UnmodifiableListView(stylesheet._forwards, type$.UnmodifiableListView_ForwardRule);
  79368. loadsUserDefinedModules = t2.any$1(t2, new A._EvaluateVisitor__visitDynamicImport__closure1());
  79369. } else
  79370. loadsUserDefinedModules = true;
  79371. children = A._Cell$();
  79372. t2 = t1._environment;
  79373. t3 = type$.String;
  79374. t4 = type$.Module_Callable;
  79375. t5 = type$.AstNode;
  79376. t6 = A._setArrayType([], type$.JSArray_Module_Callable);
  79377. t7 = t2._variables;
  79378. t7 = A._setArrayType(t7.slice(0), A._arrayInstanceType(t7));
  79379. t8 = t2._variableNodes;
  79380. t8 = A._setArrayType(t8.slice(0), A._arrayInstanceType(t8));
  79381. t9 = t2._functions;
  79382. t9 = A._setArrayType(t9.slice(0), A._arrayInstanceType(t9));
  79383. t10 = t2._mixins;
  79384. t10 = A._setArrayType(t10.slice(0), A._arrayInstanceType(t10));
  79385. 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);
  79386. t1._withEnvironment$2(environment, new A._EvaluateVisitor__visitDynamicImport__closure2(_box_0, t1, loadsUserDefinedModules, environment, children));
  79387. module = environment.toDummyModule$0();
  79388. t1._environment.importForwards$1(module);
  79389. if (loadsUserDefinedModules) {
  79390. if (module.transitivelyContainsCss)
  79391. t1._combineCss$2$clone(module, module.transitivelyContainsExtensions).accept$1(t1);
  79392. visitor = new A._ImportedCssVisitor(t1);
  79393. for (t2 = J.get$iterator$ax(children._readLocal$0()); t2.moveNext$0();)
  79394. t2.get$current(t2).accept$1(visitor);
  79395. }
  79396. t1._activeModules.remove$1(0, url);
  79397. },
  79398. $signature: 0
  79399. };
  79400. A._EvaluateVisitor__visitDynamicImport__closure.prototype = {
  79401. call$1(previousLoad) {
  79402. 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));
  79403. },
  79404. $signature: 85
  79405. };
  79406. A._EvaluateVisitor__visitDynamicImport__closure0.prototype = {
  79407. call$1(rule) {
  79408. return rule.url.get$scheme() !== "sass";
  79409. },
  79410. $signature: 178
  79411. };
  79412. A._EvaluateVisitor__visitDynamicImport__closure1.prototype = {
  79413. call$1(rule) {
  79414. return rule.url.get$scheme() !== "sass";
  79415. },
  79416. $signature: 179
  79417. };
  79418. A._EvaluateVisitor__visitDynamicImport__closure2.prototype = {
  79419. call$0() {
  79420. var t3, t4, _this = this,
  79421. t1 = _this.$this,
  79422. oldImporter = t1._importer,
  79423. oldStylesheet = t1._assertInModule$2(t1.__stylesheet, "_stylesheet"),
  79424. oldRoot = t1._assertInModule$2(t1.__root, "_root"),
  79425. oldParent = t1._assertInModule$2(t1.__parent, "__parent"),
  79426. oldEndOfImports = t1._assertInModule$2(t1.__endOfImports, "_endOfImports"),
  79427. oldOutOfOrderImports = t1._outOfOrderImports,
  79428. oldConfiguration = t1._configuration,
  79429. oldInDependency = t1._inDependency,
  79430. t2 = _this._box_0;
  79431. t1._importer = t2.importer;
  79432. t3 = t2.stylesheet;
  79433. t1.__stylesheet = t3;
  79434. t4 = _this.loadsUserDefinedModules;
  79435. if (t4) {
  79436. t3 = A.ModifiableCssStylesheet$(t3.span);
  79437. t1.__root = t3;
  79438. t1.__parent = t1._assertInModule$2(t3, "_root");
  79439. t1.__endOfImports = 0;
  79440. t1._outOfOrderImports = null;
  79441. }
  79442. t1._inDependency = t2.isDependency;
  79443. t3 = new A.UnmodifiableListView(t2.stylesheet._forwards, type$.UnmodifiableListView_ForwardRule);
  79444. if (!t3.get$isEmpty(t3))
  79445. t1._configuration = _this.environment.toImplicitConfiguration$0();
  79446. t1.visitStylesheet$1(0, t2.stylesheet);
  79447. t2 = t4 ? t1._addOutOfOrderImports$0() : A._setArrayType([], type$.JSArray_ModifiableCssNode);
  79448. _this.children.__late_helper$_value = t2;
  79449. t1._importer = oldImporter;
  79450. t1.__stylesheet = oldStylesheet;
  79451. if (t4) {
  79452. t1.__root = oldRoot;
  79453. t1.__parent = oldParent;
  79454. t1.__endOfImports = oldEndOfImports;
  79455. t1._outOfOrderImports = oldOutOfOrderImports;
  79456. }
  79457. t1._configuration = oldConfiguration;
  79458. t1._inDependency = oldInDependency;
  79459. },
  79460. $signature: 1
  79461. };
  79462. A._EvaluateVisitor__applyMixin_closure.prototype = {
  79463. call$0() {
  79464. var _this = this,
  79465. t1 = _this.$this;
  79466. t1._environment.asMixin$1(new A._EvaluateVisitor__applyMixin__closure0(t1, _this.$arguments, _this.mixin, _this.nodeWithSpanWithoutContent));
  79467. },
  79468. $signature: 0
  79469. };
  79470. A._EvaluateVisitor__applyMixin__closure0.prototype = {
  79471. call$0() {
  79472. var _this = this;
  79473. _this.$this._runBuiltInCallable$3(_this.$arguments, _this.mixin, _this.nodeWithSpanWithoutContent);
  79474. },
  79475. $signature: 0
  79476. };
  79477. A._EvaluateVisitor__applyMixin_closure0.prototype = {
  79478. call$0() {
  79479. var _this = this,
  79480. t1 = _this.$this;
  79481. t1._environment.withContent$2(_this.contentCallable, new A._EvaluateVisitor__applyMixin__closure(t1, _this.mixin, _this.nodeWithSpanWithoutContent));
  79482. },
  79483. $signature: 1
  79484. };
  79485. A._EvaluateVisitor__applyMixin__closure.prototype = {
  79486. call$0() {
  79487. var t1 = this.$this;
  79488. t1._environment.asMixin$1(new A._EvaluateVisitor__applyMixin___closure(t1, this.mixin, this.nodeWithSpanWithoutContent));
  79489. },
  79490. $signature: 0
  79491. };
  79492. A._EvaluateVisitor__applyMixin___closure.prototype = {
  79493. call$0() {
  79494. var t1, t2, t3, t4, _i;
  79495. for (t1 = this.mixin.declaration.children, t2 = t1.length, t3 = this.$this, t4 = this.nodeWithSpanWithoutContent, _i = 0; _i < t2; ++_i)
  79496. t3._addErrorSpan$2(t4, new A._EvaluateVisitor__applyMixin____closure(t3, t1[_i]));
  79497. },
  79498. $signature: 0
  79499. };
  79500. A._EvaluateVisitor__applyMixin____closure.prototype = {
  79501. call$0() {
  79502. return this.statement.accept$1(this.$this);
  79503. },
  79504. $signature: 41
  79505. };
  79506. A._EvaluateVisitor_visitIncludeRule_closure.prototype = {
  79507. call$0() {
  79508. var t1 = this.node;
  79509. return this.$this._environment.getMixin$2$namespace(t1.name, t1.namespace);
  79510. },
  79511. $signature: 81
  79512. };
  79513. A._EvaluateVisitor_visitIncludeRule_closure0.prototype = {
  79514. call$1($content) {
  79515. var t1 = this.$this;
  79516. return new A.UserDefinedCallable($content, t1._environment.closure$0(), t1._inDependency, type$.UserDefinedCallable_Environment);
  79517. },
  79518. $signature: 632
  79519. };
  79520. A._EvaluateVisitor_visitIncludeRule_closure1.prototype = {
  79521. call$0() {
  79522. return this.node.get$spanWithoutContent();
  79523. },
  79524. $signature: 29
  79525. };
  79526. A._EvaluateVisitor_visitMediaRule_closure.prototype = {
  79527. call$1(mediaQueries) {
  79528. return this.$this._mergeMediaQueries$2(mediaQueries, this.queries);
  79529. },
  79530. $signature: 96
  79531. };
  79532. A._EvaluateVisitor_visitMediaRule_closure0.prototype = {
  79533. call$0() {
  79534. var _this = this,
  79535. t1 = _this.$this,
  79536. t2 = _this.mergedQueries;
  79537. if (t2 == null)
  79538. t2 = _this.queries;
  79539. t1._withMediaQueries$3(t2, _this.mergedSources, new A._EvaluateVisitor_visitMediaRule__closure(t1, _this.node));
  79540. },
  79541. $signature: 1
  79542. };
  79543. A._EvaluateVisitor_visitMediaRule__closure.prototype = {
  79544. call$0() {
  79545. var t2, t3, _i,
  79546. t1 = this.$this,
  79547. _0_0 = t1._atRootExcludingStyleRule ? null : t1._styleRuleIgnoringAtRoot;
  79548. if (_0_0 != null)
  79549. t1._withParent$2$3$scopeWhen(A.ModifiableCssStyleRule$(_0_0._style_rule$_selector, _0_0.span, false, _0_0.originalSelector), new A._EvaluateVisitor_visitMediaRule___closure(t1, this.node), false, type$.ModifiableCssStyleRule, type$.Null);
  79550. else
  79551. for (t2 = this.node.children, t3 = t2.length, _i = 0; _i < t3; ++_i)
  79552. t2[_i].accept$1(t1);
  79553. },
  79554. $signature: 1
  79555. };
  79556. A._EvaluateVisitor_visitMediaRule___closure.prototype = {
  79557. call$0() {
  79558. var t1, t2, t3, _i;
  79559. for (t1 = this.node.children, t2 = t1.length, t3 = this.$this, _i = 0; _i < t2; ++_i)
  79560. t1[_i].accept$1(t3);
  79561. },
  79562. $signature: 1
  79563. };
  79564. A._EvaluateVisitor_visitMediaRule_closure1.prototype = {
  79565. call$1(node) {
  79566. var t1;
  79567. if (!(node instanceof A.ModifiableCssStyleRule)) {
  79568. t1 = this.mergedSources;
  79569. t1 = t1.get$isNotEmpty(t1) && node instanceof A.ModifiableCssMediaRule && B.JSArray_methods.every$1(node.queries, t1.get$contains(t1));
  79570. } else
  79571. t1 = true;
  79572. return t1;
  79573. },
  79574. $signature: 8
  79575. };
  79576. A._EvaluateVisitor_visitStyleRule_closure.prototype = {
  79577. call$0() {
  79578. var t1, t2, t3, _i;
  79579. for (t1 = this.node.children, t2 = t1.length, t3 = this.$this, _i = 0; _i < t2; ++_i)
  79580. t1[_i].accept$1(t3);
  79581. },
  79582. $signature: 1
  79583. };
  79584. A._EvaluateVisitor_visitStyleRule_closure0.prototype = {
  79585. call$1(node) {
  79586. return node instanceof A.ModifiableCssStyleRule;
  79587. },
  79588. $signature: 8
  79589. };
  79590. A._EvaluateVisitor_visitStyleRule_closure2.prototype = {
  79591. call$0() {
  79592. var t1 = this.$this;
  79593. t1._withStyleRule$2(this.rule, new A._EvaluateVisitor_visitStyleRule__closure(t1, this.node));
  79594. },
  79595. $signature: 1
  79596. };
  79597. A._EvaluateVisitor_visitStyleRule__closure.prototype = {
  79598. call$0() {
  79599. var t1, t2, t3, _i;
  79600. for (t1 = this.node.children, t2 = t1.length, t3 = this.$this, _i = 0; _i < t2; ++_i)
  79601. t1[_i].accept$1(t3);
  79602. },
  79603. $signature: 1
  79604. };
  79605. A._EvaluateVisitor_visitStyleRule_closure1.prototype = {
  79606. call$1(node) {
  79607. return node instanceof A.ModifiableCssStyleRule;
  79608. },
  79609. $signature: 8
  79610. };
  79611. A._EvaluateVisitor__warnForBogusCombinators_closure.prototype = {
  79612. call$1(child) {
  79613. return child instanceof A.ModifiableCssComment;
  79614. },
  79615. $signature: 8
  79616. };
  79617. A._EvaluateVisitor_visitSupportsRule_closure.prototype = {
  79618. call$0() {
  79619. var t2, t3, _i,
  79620. t1 = this.$this,
  79621. _0_0 = t1._atRootExcludingStyleRule ? null : t1._styleRuleIgnoringAtRoot;
  79622. if (_0_0 != null)
  79623. t1._withParent$2$2(A.ModifiableCssStyleRule$(_0_0._style_rule$_selector, _0_0.span, false, _0_0.originalSelector), new A._EvaluateVisitor_visitSupportsRule__closure(t1, this.node), type$.ModifiableCssStyleRule, type$.Null);
  79624. else
  79625. for (t2 = this.node.children, t3 = t2.length, _i = 0; _i < t3; ++_i)
  79626. t2[_i].accept$1(t1);
  79627. },
  79628. $signature: 1
  79629. };
  79630. A._EvaluateVisitor_visitSupportsRule__closure.prototype = {
  79631. call$0() {
  79632. var t1, t2, t3, _i;
  79633. for (t1 = this.node.children, t2 = t1.length, t3 = this.$this, _i = 0; _i < t2; ++_i)
  79634. t1[_i].accept$1(t3);
  79635. },
  79636. $signature: 1
  79637. };
  79638. A._EvaluateVisitor_visitSupportsRule_closure0.prototype = {
  79639. call$1(node) {
  79640. return node instanceof A.ModifiableCssStyleRule;
  79641. },
  79642. $signature: 8
  79643. };
  79644. A._EvaluateVisitor__visitSupportsCondition_closure.prototype = {
  79645. call$0() {
  79646. var t4,
  79647. t1 = this.$this,
  79648. t2 = this._box_0,
  79649. t3 = t2.declaration.name;
  79650. t3 = t1._evaluate$_serialize$3$quote(t3.accept$1(t1), t3, true);
  79651. t4 = t2.declaration.get$isCustomProperty() ? "" : " ";
  79652. t2 = t2.declaration.value;
  79653. return "(" + t3 + ":" + t4 + t1._evaluate$_serialize$3$quote(t2.accept$1(t1), t2, true) + ")";
  79654. },
  79655. $signature: 26
  79656. };
  79657. A._EvaluateVisitor_visitVariableDeclaration_closure.prototype = {
  79658. call$0() {
  79659. var t1 = this.$this._environment,
  79660. t2 = this._box_0.override;
  79661. t1.setVariable$4$global(this.node.name, t2.value, t2.assignmentNode, true);
  79662. },
  79663. $signature: 1
  79664. };
  79665. A._EvaluateVisitor_visitVariableDeclaration_closure0.prototype = {
  79666. call$0() {
  79667. var t1 = this.node;
  79668. return this.$this._environment.getVariable$2$namespace(t1.name, t1.namespace);
  79669. },
  79670. $signature: 41
  79671. };
  79672. A._EvaluateVisitor_visitVariableDeclaration_closure1.prototype = {
  79673. call$0() {
  79674. var t1 = this.$this,
  79675. t2 = this.node;
  79676. t1._environment.setVariable$5$global$namespace(t2.name, this.value, t1._expressionNode$1(t2.expression), t2.isGlobal, t2.namespace);
  79677. },
  79678. $signature: 1
  79679. };
  79680. A._EvaluateVisitor_visitUseRule_closure.prototype = {
  79681. call$2(module, firstLoad) {
  79682. var t1, t2, t3, _0_0, t4, t5, span;
  79683. if (firstLoad)
  79684. this.$this._registerCommentsForModule$1(module);
  79685. t1 = this.$this._environment;
  79686. t2 = this.node;
  79687. t3 = t2.namespace;
  79688. if (t3 == null) {
  79689. t1._globalModules.$indexSet(0, module, t2);
  79690. t1._allModules.push(module);
  79691. _0_0 = A.IterableExtension_firstWhereOrNull(J.get$keys$z(B.JSArray_methods.get$first(t1._variables)), module.get$variables().get$containsKey());
  79692. if (_0_0 != null)
  79693. A.throwExpression(A.SassScriptException$(string$.This_ma + _0_0 + '".', null));
  79694. } else {
  79695. t4 = t1._environment$_modules;
  79696. if (t4.containsKey$1(t3)) {
  79697. t5 = t1._namespaceNodes.$index(0, t3);
  79698. span = t5 == null ? null : t5.span;
  79699. t5 = A.LinkedHashMap_LinkedHashMap$_empty(type$.FileSpan, type$.String);
  79700. if (span != null)
  79701. t5.$indexSet(0, span, "original @use");
  79702. A.throwExpression(A.MultiSpanSassScriptException$(string$.There_ + t3 + '".', "new @use", t5));
  79703. }
  79704. t4.$indexSet(0, t3, module);
  79705. t1._namespaceNodes.$indexSet(0, t3, t2);
  79706. t1._allModules.push(module);
  79707. }
  79708. },
  79709. $signature: 82
  79710. };
  79711. A._EvaluateVisitor_visitWarnRule_closure.prototype = {
  79712. call$0() {
  79713. return this.node.expression.accept$1(this.$this);
  79714. },
  79715. $signature: 33
  79716. };
  79717. A._EvaluateVisitor_visitWhileRule_closure.prototype = {
  79718. call$0() {
  79719. var t1, t2, t3, _0_0;
  79720. for (t1 = this.node, t2 = t1.condition, t3 = this.$this, t1 = t1.children; t2.accept$1(t3).get$isTruthy();) {
  79721. _0_0 = t3._handleReturn$2(t1, new A._EvaluateVisitor_visitWhileRule__closure(t3));
  79722. if (_0_0 != null)
  79723. return _0_0;
  79724. }
  79725. return null;
  79726. },
  79727. $signature: 41
  79728. };
  79729. A._EvaluateVisitor_visitWhileRule__closure.prototype = {
  79730. call$1(child) {
  79731. return child.accept$1(this.$this);
  79732. },
  79733. $signature: 83
  79734. };
  79735. A._EvaluateVisitor_visitBinaryOperationExpression_closure.prototype = {
  79736. call$0() {
  79737. var t1 = this.node,
  79738. t2 = this.$this,
  79739. left = t1.left.accept$1(t2);
  79740. switch (t1.operator) {
  79741. case B.BinaryOperator_Kyq:
  79742. t1 = t1.right.accept$1(t2);
  79743. t1 = new A.SassString(A.serializeValue(left, false, true) + "=" + A.serializeValue(t1, false, true), false);
  79744. break;
  79745. case B.BinaryOperator_tKu:
  79746. t1 = left.get$isTruthy() ? left : t1.right.accept$1(t2);
  79747. break;
  79748. case B.BinaryOperator_uke:
  79749. t1 = left.get$isTruthy() ? t1.right.accept$1(t2) : left;
  79750. break;
  79751. case B.BinaryOperator_r84:
  79752. t1 = left.$eq(0, t1.right.accept$1(t2)) ? B.SassBoolean_true : B.SassBoolean_false;
  79753. break;
  79754. case B.BinaryOperator_qGq:
  79755. t1 = !left.$eq(0, t1.right.accept$1(t2)) ? B.SassBoolean_true : B.SassBoolean_false;
  79756. break;
  79757. case B.BinaryOperator_o8O:
  79758. t1 = left.greaterThan$1(t1.right.accept$1(t2));
  79759. break;
  79760. case B.BinaryOperator_JiR:
  79761. t1 = left.greaterThanOrEquals$1(t1.right.accept$1(t2));
  79762. break;
  79763. case B.BinaryOperator_qHy:
  79764. t1 = left.lessThan$1(t1.right.accept$1(t2));
  79765. break;
  79766. case B.BinaryOperator_FPG:
  79767. t1 = left.lessThanOrEquals$1(t1.right.accept$1(t2));
  79768. break;
  79769. case B.BinaryOperator_Swh:
  79770. t1 = left.plus$1(t1.right.accept$1(t2));
  79771. break;
  79772. case B.BinaryOperator_QG1:
  79773. t1 = left.minus$1(t1.right.accept$1(t2));
  79774. break;
  79775. case B.BinaryOperator_tht:
  79776. t1 = left.times$1(t1.right.accept$1(t2));
  79777. break;
  79778. case B.BinaryOperator_Mh5:
  79779. t1 = t2._slash$3(left, t1.right.accept$1(t2), t1);
  79780. break;
  79781. case B.BinaryOperator_s7T:
  79782. t1 = left.modulo$1(t1.right.accept$1(t2));
  79783. break;
  79784. default:
  79785. t1 = null;
  79786. }
  79787. return t1;
  79788. },
  79789. $signature: 33
  79790. };
  79791. A._EvaluateVisitor__slash_recommendation.prototype = {
  79792. call$1(expression) {
  79793. var t1;
  79794. $label0$0: {
  79795. if (expression instanceof A.BinaryOperationExpression && B.BinaryOperator_Mh5 === expression.operator) {
  79796. t1 = "math.div(" + A.S(this.call$1(expression.left)) + ", " + A.S(this.call$1(expression.right)) + ")";
  79797. break $label0$0;
  79798. }
  79799. if (expression instanceof A.ParenthesizedExpression) {
  79800. t1 = expression.expression.toString$0(0);
  79801. break $label0$0;
  79802. }
  79803. t1 = expression.toString$0(0);
  79804. break $label0$0;
  79805. }
  79806. return t1;
  79807. },
  79808. $signature: 133
  79809. };
  79810. A._EvaluateVisitor_visitVariableExpression_closure.prototype = {
  79811. call$0() {
  79812. var t1 = this.node;
  79813. return this.$this._environment.getVariable$2$namespace(t1.name, t1.namespace);
  79814. },
  79815. $signature: 41
  79816. };
  79817. A._EvaluateVisitor_visitUnaryOperationExpression_closure.prototype = {
  79818. call$0() {
  79819. var t1, _this = this;
  79820. switch (_this.node.operator) {
  79821. case B.UnaryOperator_Rbl:
  79822. t1 = _this.operand.unaryPlus$0();
  79823. break;
  79824. case B.UnaryOperator_UCP:
  79825. t1 = _this.operand.unaryMinus$0();
  79826. break;
  79827. case B.UnaryOperator_lZV:
  79828. t1 = new A.SassString("/" + A.serializeValue(_this.operand, false, true), false);
  79829. break;
  79830. case B.UnaryOperator_not_not_not:
  79831. t1 = _this.operand.unaryNot$0();
  79832. break;
  79833. default:
  79834. t1 = null;
  79835. }
  79836. return t1;
  79837. },
  79838. $signature: 33
  79839. };
  79840. A._EvaluateVisitor_visitListExpression_closure.prototype = {
  79841. call$1(expression) {
  79842. return expression.accept$1(this.$this);
  79843. },
  79844. $signature: 647
  79845. };
  79846. A._EvaluateVisitor_visitFunctionExpression_closure.prototype = {
  79847. call$0() {
  79848. var t1 = this.node;
  79849. return this.$this._environment.getFunction$2$namespace(t1.name, t1.namespace);
  79850. },
  79851. $signature: 81
  79852. };
  79853. A._EvaluateVisitor_visitFunctionExpression_closure0.prototype = {
  79854. call$1(argument) {
  79855. return argument.accept$1(B.C_IsCalculationSafeVisitor);
  79856. },
  79857. $signature: 118
  79858. };
  79859. A._EvaluateVisitor_visitFunctionExpression_closure1.prototype = {
  79860. call$0() {
  79861. var t1 = this.node;
  79862. return this.$this._runFunctionCallable$3(t1.$arguments, this._box_0.$function, t1);
  79863. },
  79864. $signature: 33
  79865. };
  79866. A._EvaluateVisitor__visitCalculation_closure.prototype = {
  79867. call$2(message, deprecation) {
  79868. return this.$this._warn$3(message, this.node.span, deprecation);
  79869. },
  79870. call$1(message) {
  79871. return this.call$2(message, null);
  79872. },
  79873. $signature: 105
  79874. };
  79875. A._EvaluateVisitor__checkCalculationArguments_check.prototype = {
  79876. call$1(maxArgs) {
  79877. var t1 = this.node,
  79878. t2 = t1.$arguments.positional.length;
  79879. if (t2 === 0)
  79880. throw A.wrapException(this.$this._evaluate$_exception$2("Missing argument.", t1.span));
  79881. else if (maxArgs != null && t2 > maxArgs)
  79882. throw A.wrapException(this.$this._evaluate$_exception$2("Only " + A.S(maxArgs) + " " + A.pluralize("argument", maxArgs, null) + " allowed, but " + t2 + " " + A.pluralize("was", t2, "were") + " passed.", t1.span));
  79883. },
  79884. call$0() {
  79885. return this.call$1(null);
  79886. },
  79887. $signature: 106
  79888. };
  79889. A._EvaluateVisitor__visitCalculationExpression_closure.prototype = {
  79890. call$0() {
  79891. var _this = this,
  79892. t1 = _this.$this,
  79893. t2 = _this._box_0,
  79894. t3 = _this.node,
  79895. t4 = _this.inLegacySassFunction;
  79896. return A.SassCalculation_operateInternal(t1._binaryOperatorToCalculationOperator$2(t2.operator, t3), t1._visitCalculationExpression$2$inLegacySassFunction(t2.left, t4), t1._visitCalculationExpression$2$inLegacySassFunction(t2.right, t4), t4, !t1._inSupportsDeclaration, new A._EvaluateVisitor__visitCalculationExpression__closure(t1, t3));
  79897. },
  79898. $signature: 84
  79899. };
  79900. A._EvaluateVisitor__visitCalculationExpression__closure.prototype = {
  79901. call$2(message, deprecation) {
  79902. return this.$this._warn$3(message, this.node.get$span(0), deprecation);
  79903. },
  79904. call$1(message) {
  79905. return this.call$2(message, null);
  79906. },
  79907. $signature: 105
  79908. };
  79909. A._EvaluateVisitor_visitInterpolatedFunctionExpression_closure.prototype = {
  79910. call$0() {
  79911. var t1 = this.node;
  79912. return this.$this._runFunctionCallable$3(t1.$arguments, this.$function, t1);
  79913. },
  79914. $signature: 33
  79915. };
  79916. A._EvaluateVisitor__runUserDefinedCallable_closure.prototype = {
  79917. call$0() {
  79918. var _this = this,
  79919. t1 = _this.$this,
  79920. t2 = _this.callable;
  79921. return t1._withEnvironment$2(t2.environment.closure$0(), new A._EvaluateVisitor__runUserDefinedCallable__closure(t1, _this.evaluated, t2, _this.nodeWithSpan, _this.run, _this.V));
  79922. },
  79923. $signature() {
  79924. return this.V._eval$1("0()");
  79925. }
  79926. };
  79927. A._EvaluateVisitor__runUserDefinedCallable__closure.prototype = {
  79928. call$0() {
  79929. var _this = this,
  79930. t1 = _this.$this,
  79931. t2 = _this.V;
  79932. return t1._environment.scope$1$1(new A._EvaluateVisitor__runUserDefinedCallable___closure(t1, _this.evaluated, _this.callable, _this.nodeWithSpan, _this.run, t2), t2);
  79933. },
  79934. $signature() {
  79935. return this.V._eval$1("0()");
  79936. }
  79937. };
  79938. A._EvaluateVisitor__runUserDefinedCallable___closure.prototype = {
  79939. call$0() {
  79940. var parameters, t5, minLength, i, parameter, t6, value, t7, t8, restParameter, rest, argumentList, result, parameterWord, _this = this,
  79941. t1 = _this.$this,
  79942. t2 = _this.evaluated._values,
  79943. t3 = _this.callable.declaration.parameters,
  79944. t4 = _this.nodeWithSpan;
  79945. t1._verifyArguments$4(t2[2].length, t2[0], t3, t4);
  79946. parameters = t3.parameters;
  79947. t5 = parameters.length;
  79948. minLength = Math.min(t2[2].length, t5);
  79949. for (i = 0; i < minLength; ++i)
  79950. t1._environment.setLocalVariable$3(parameters[i].name, t2[2][i], t2[3][i]);
  79951. for (i = t2[2].length; i < t5; ++i) {
  79952. parameter = parameters[i];
  79953. t6 = parameter.name;
  79954. value = t2[0].remove$1(0, t6);
  79955. if (value == null) {
  79956. t7 = parameter.defaultValue;
  79957. value = t1._withoutSlash$2(t7.accept$1(t1), t1._expressionNode$1(t7));
  79958. }
  79959. t7 = t1._environment;
  79960. t8 = t2[1].$index(0, t6);
  79961. if (t8 == null) {
  79962. t8 = parameter.defaultValue;
  79963. t8.toString;
  79964. t8 = t1._expressionNode$1(t8);
  79965. }
  79966. t7.setLocalVariable$3(t6, value, t8);
  79967. }
  79968. restParameter = t3.restParameter;
  79969. if (restParameter != null) {
  79970. t6 = t2[2];
  79971. rest = t6.length > t5 ? B.JSArray_methods.sublist$1(t6, t5) : B.List_empty8;
  79972. t5 = t2[0];
  79973. t6 = t2[4];
  79974. argumentList = A.SassArgumentList$(rest, t5, t6 === B.ListSeparator_undecided_null_undecided ? B.ListSeparator_qVN : t6);
  79975. t1._environment.setLocalVariable$3(restParameter, argumentList, t4);
  79976. } else
  79977. argumentList = null;
  79978. result = _this.run.call$0();
  79979. if (argumentList == null)
  79980. return result;
  79981. t5 = t2[0].__js_helper$_length;
  79982. if (t5 === 0)
  79983. return result;
  79984. if (argumentList._wereKeywordsAccessed)
  79985. return result;
  79986. parameterWord = A.pluralize("parameter", t5, null);
  79987. t2 = t2[0];
  79988. t5 = A._instanceType(t2)._eval$1("LinkedHashMapKeysIterable<1>");
  79989. throw A.wrapException(A.MultiSpanSassRuntimeException$("No " + parameterWord + " named " + A.toSentence(A.MappedIterable_MappedIterable(new A.LinkedHashMapKeysIterable(t2, t5), new A._EvaluateVisitor__runUserDefinedCallable____closure(), t5._eval$1("Iterable.E"), type$.Object), "or") + ".", t4.get$span(t4), "invocation", A.LinkedHashMap_LinkedHashMap$_literal([t3.get$spanWithName(), "declaration"], type$.FileSpan, type$.String), t1._evaluate$_stackTrace$1(t4.get$span(t4)), null));
  79990. },
  79991. $signature() {
  79992. return this.V._eval$1("0()");
  79993. }
  79994. };
  79995. A._EvaluateVisitor__runUserDefinedCallable____closure.prototype = {
  79996. call$1($name) {
  79997. return "$" + $name;
  79998. },
  79999. $signature: 6
  80000. };
  80001. A._EvaluateVisitor__runFunctionCallable_closure.prototype = {
  80002. call$0() {
  80003. var t1, t2, t3, t4, _i, $returnValue;
  80004. for (t1 = this.callable.declaration, t2 = t1.children, t3 = t2.length, t4 = this.$this, _i = 0; _i < t3; ++_i) {
  80005. $returnValue = t2[_i].accept$1(t4);
  80006. if ($returnValue instanceof A.Value)
  80007. return $returnValue;
  80008. }
  80009. throw A.wrapException(t4._evaluate$_exception$2("Function finished without @return.", t1.span));
  80010. },
  80011. $signature: 33
  80012. };
  80013. A._EvaluateVisitor__runBuiltInCallable_closure.prototype = {
  80014. call$0() {
  80015. return this._box_0.overload.verify$2(this.evaluated._values[2].length, this.namedSet);
  80016. },
  80017. $signature: 0
  80018. };
  80019. A._EvaluateVisitor__runBuiltInCallable_closure0.prototype = {
  80020. call$0() {
  80021. return this._box_0.callback.call$1(this.evaluated._values[2]);
  80022. },
  80023. $signature: 33
  80024. };
  80025. A._EvaluateVisitor__runBuiltInCallable_closure1.prototype = {
  80026. call$1($name) {
  80027. return "$" + $name;
  80028. },
  80029. $signature: 6
  80030. };
  80031. A._EvaluateVisitor__evaluateArguments_closure.prototype = {
  80032. call$1(value) {
  80033. return value;
  80034. },
  80035. $signature: 42
  80036. };
  80037. A._EvaluateVisitor__evaluateArguments_closure0.prototype = {
  80038. call$1(value) {
  80039. return this.$this._withoutSlash$2(value, this.restNodeForSpan);
  80040. },
  80041. $signature: 42
  80042. };
  80043. A._EvaluateVisitor__evaluateArguments_closure1.prototype = {
  80044. call$2(key, value) {
  80045. var _this = this,
  80046. t1 = _this.restNodeForSpan;
  80047. _this.named.$indexSet(0, key, _this.$this._withoutSlash$2(value, t1));
  80048. _this.namedNodes.$indexSet(0, key, t1);
  80049. },
  80050. $signature: 107
  80051. };
  80052. A._EvaluateVisitor__evaluateArguments_closure2.prototype = {
  80053. call$1(value) {
  80054. return value;
  80055. },
  80056. $signature: 42
  80057. };
  80058. A._EvaluateVisitor__evaluateMacroArguments_closure.prototype = {
  80059. call$1(value) {
  80060. var t1 = this.restArgs;
  80061. return new A.ValueExpression(value, t1.get$span(t1));
  80062. },
  80063. $signature: 64
  80064. };
  80065. A._EvaluateVisitor__evaluateMacroArguments_closure0.prototype = {
  80066. call$1(value) {
  80067. var t1 = this.restArgs;
  80068. return new A.ValueExpression(this.$this._withoutSlash$2(value, this.restNodeForSpan), t1.get$span(t1));
  80069. },
  80070. $signature: 64
  80071. };
  80072. A._EvaluateVisitor__evaluateMacroArguments_closure1.prototype = {
  80073. call$2(key, value) {
  80074. var _this = this,
  80075. t1 = _this.restArgs;
  80076. _this.named.$indexSet(0, key, new A.ValueExpression(_this.$this._withoutSlash$2(value, _this.restNodeForSpan), t1.get$span(t1)));
  80077. },
  80078. $signature: 107
  80079. };
  80080. A._EvaluateVisitor__evaluateMacroArguments_closure2.prototype = {
  80081. call$1(value) {
  80082. var t1 = this.keywordRestArgs;
  80083. return new A.ValueExpression(this.$this._withoutSlash$2(value, this.keywordRestNodeForSpan), t1.get$span(t1));
  80084. },
  80085. $signature: 64
  80086. };
  80087. A._EvaluateVisitor__addRestMap_closure.prototype = {
  80088. call$2(key, value) {
  80089. var t2, _this = this,
  80090. t1 = _this.$this;
  80091. if (key instanceof A.SassString)
  80092. _this.values.$indexSet(0, key._string$_text, _this.convert.call$1(t1._withoutSlash$2(value, _this.expressionNode)));
  80093. else {
  80094. t2 = _this.nodeWithSpan;
  80095. 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)));
  80096. }
  80097. },
  80098. $signature: 101
  80099. };
  80100. A._EvaluateVisitor__verifyArguments_closure.prototype = {
  80101. call$0() {
  80102. return this.parameters.verify$2(this.positional, new A.MapKeySet(this.named, type$.MapKeySet_String));
  80103. },
  80104. $signature: 0
  80105. };
  80106. A._EvaluateVisitor_visitCssAtRule_closure.prototype = {
  80107. call$0() {
  80108. var t1, t2, t3, t4;
  80109. for (t1 = this.node.children, t2 = t1.$ti, t1 = new A.ListIterator(t1, t1.get$length(0), t2._eval$1("ListIterator<ListBase.E>")), t3 = this.$this, t2 = t2._eval$1("ListBase.E"); t1.moveNext$0();) {
  80110. t4 = t1.__internal$_current;
  80111. (t4 == null ? t2._as(t4) : t4).accept$1(t3);
  80112. }
  80113. },
  80114. $signature: 1
  80115. };
  80116. A._EvaluateVisitor_visitCssAtRule_closure0.prototype = {
  80117. call$1(node) {
  80118. return node instanceof A.ModifiableCssStyleRule;
  80119. },
  80120. $signature: 8
  80121. };
  80122. A._EvaluateVisitor_visitCssKeyframeBlock_closure.prototype = {
  80123. call$0() {
  80124. var t1, t2, t3, t4;
  80125. for (t1 = this.node.children, t2 = t1.$ti, t1 = new A.ListIterator(t1, t1.get$length(0), t2._eval$1("ListIterator<ListBase.E>")), t3 = this.$this, t2 = t2._eval$1("ListBase.E"); t1.moveNext$0();) {
  80126. t4 = t1.__internal$_current;
  80127. (t4 == null ? t2._as(t4) : t4).accept$1(t3);
  80128. }
  80129. },
  80130. $signature: 1
  80131. };
  80132. A._EvaluateVisitor_visitCssKeyframeBlock_closure0.prototype = {
  80133. call$1(node) {
  80134. return node instanceof A.ModifiableCssStyleRule;
  80135. },
  80136. $signature: 8
  80137. };
  80138. A._EvaluateVisitor_visitCssMediaRule_closure.prototype = {
  80139. call$1(mediaQueries) {
  80140. return this.$this._mergeMediaQueries$2(mediaQueries, this.node.queries);
  80141. },
  80142. $signature: 96
  80143. };
  80144. A._EvaluateVisitor_visitCssMediaRule_closure0.prototype = {
  80145. call$0() {
  80146. var _this = this,
  80147. t1 = _this.$this,
  80148. t2 = _this.mergedQueries;
  80149. if (t2 == null)
  80150. t2 = _this.node.queries;
  80151. t1._withMediaQueries$3(t2, _this.mergedSources, new A._EvaluateVisitor_visitCssMediaRule__closure(t1, _this.node));
  80152. },
  80153. $signature: 1
  80154. };
  80155. A._EvaluateVisitor_visitCssMediaRule__closure.prototype = {
  80156. call$0() {
  80157. var t2, t3, t4,
  80158. t1 = this.$this,
  80159. _0_0 = t1._atRootExcludingStyleRule ? null : t1._styleRuleIgnoringAtRoot;
  80160. if (_0_0 != null)
  80161. t1._withParent$2$3$scopeWhen(A.ModifiableCssStyleRule$(_0_0._style_rule$_selector, _0_0.span, false, _0_0.originalSelector), new A._EvaluateVisitor_visitCssMediaRule___closure(t1, this.node), false, type$.ModifiableCssStyleRule, type$.Null);
  80162. else
  80163. for (t2 = this.node.children, t3 = t2.$ti, t2 = new A.ListIterator(t2, t2.get$length(0), t3._eval$1("ListIterator<ListBase.E>")), t3 = t3._eval$1("ListBase.E"); t2.moveNext$0();) {
  80164. t4 = t2.__internal$_current;
  80165. (t4 == null ? t3._as(t4) : t4).accept$1(t1);
  80166. }
  80167. },
  80168. $signature: 1
  80169. };
  80170. A._EvaluateVisitor_visitCssMediaRule___closure.prototype = {
  80171. call$0() {
  80172. var t1, t2, t3, t4;
  80173. for (t1 = this.node.children, t2 = t1.$ti, t1 = new A.ListIterator(t1, t1.get$length(0), t2._eval$1("ListIterator<ListBase.E>")), t3 = this.$this, t2 = t2._eval$1("ListBase.E"); t1.moveNext$0();) {
  80174. t4 = t1.__internal$_current;
  80175. (t4 == null ? t2._as(t4) : t4).accept$1(t3);
  80176. }
  80177. },
  80178. $signature: 1
  80179. };
  80180. A._EvaluateVisitor_visitCssMediaRule_closure1.prototype = {
  80181. call$1(node) {
  80182. var t1;
  80183. if (!(node instanceof A.ModifiableCssStyleRule)) {
  80184. t1 = this.mergedSources;
  80185. t1 = t1.get$isNotEmpty(t1) && node instanceof A.ModifiableCssMediaRule && B.JSArray_methods.every$1(node.queries, t1.get$contains(t1));
  80186. } else
  80187. t1 = true;
  80188. return t1;
  80189. },
  80190. $signature: 8
  80191. };
  80192. A._EvaluateVisitor_visitCssStyleRule_closure0.prototype = {
  80193. call$0() {
  80194. var t1 = this.$this;
  80195. t1._withStyleRule$2(this.rule, new A._EvaluateVisitor_visitCssStyleRule__closure(t1, this.node));
  80196. },
  80197. $signature: 1
  80198. };
  80199. A._EvaluateVisitor_visitCssStyleRule__closure.prototype = {
  80200. call$0() {
  80201. var t1, t2, t3, t4;
  80202. for (t1 = this.node.children, t2 = t1.$ti, t1 = new A.ListIterator(t1, t1.get$length(0), t2._eval$1("ListIterator<ListBase.E>")), t3 = this.$this, t2 = t2._eval$1("ListBase.E"); t1.moveNext$0();) {
  80203. t4 = t1.__internal$_current;
  80204. (t4 == null ? t2._as(t4) : t4).accept$1(t3);
  80205. }
  80206. },
  80207. $signature: 1
  80208. };
  80209. A._EvaluateVisitor_visitCssStyleRule_closure.prototype = {
  80210. call$1(node) {
  80211. return node instanceof A.ModifiableCssStyleRule;
  80212. },
  80213. $signature: 8
  80214. };
  80215. A._EvaluateVisitor_visitCssSupportsRule_closure.prototype = {
  80216. call$0() {
  80217. var t2, t3, t4,
  80218. t1 = this.$this,
  80219. _0_0 = t1._atRootExcludingStyleRule ? null : t1._styleRuleIgnoringAtRoot;
  80220. if (_0_0 != null)
  80221. t1._withParent$2$2(A.ModifiableCssStyleRule$(_0_0._style_rule$_selector, _0_0.span, false, _0_0.originalSelector), new A._EvaluateVisitor_visitCssSupportsRule__closure(t1, this.node), type$.ModifiableCssStyleRule, type$.Null);
  80222. else
  80223. for (t2 = this.node.children, t3 = t2.$ti, t2 = new A.ListIterator(t2, t2.get$length(0), t3._eval$1("ListIterator<ListBase.E>")), t3 = t3._eval$1("ListBase.E"); t2.moveNext$0();) {
  80224. t4 = t2.__internal$_current;
  80225. (t4 == null ? t3._as(t4) : t4).accept$1(t1);
  80226. }
  80227. },
  80228. $signature: 1
  80229. };
  80230. A._EvaluateVisitor_visitCssSupportsRule__closure.prototype = {
  80231. call$0() {
  80232. var t1, t2, t3, t4;
  80233. for (t1 = this.node.children, t2 = t1.$ti, t1 = new A.ListIterator(t1, t1.get$length(0), t2._eval$1("ListIterator<ListBase.E>")), t3 = this.$this, t2 = t2._eval$1("ListBase.E"); t1.moveNext$0();) {
  80234. t4 = t1.__internal$_current;
  80235. (t4 == null ? t2._as(t4) : t4).accept$1(t3);
  80236. }
  80237. },
  80238. $signature: 1
  80239. };
  80240. A._EvaluateVisitor_visitCssSupportsRule_closure0.prototype = {
  80241. call$1(node) {
  80242. return node instanceof A.ModifiableCssStyleRule;
  80243. },
  80244. $signature: 8
  80245. };
  80246. A._EvaluateVisitor__performInterpolationHelper_closure.prototype = {
  80247. call$1(targetLocations) {
  80248. return A.InterpolationMap$(this.interpolation, targetLocations);
  80249. },
  80250. $signature: 184
  80251. };
  80252. A._EvaluateVisitor__serialize_closure.prototype = {
  80253. call$0() {
  80254. return A.serializeValue(this.value, false, this.quote);
  80255. },
  80256. $signature: 26
  80257. };
  80258. A._EvaluateVisitor__expressionNode_closure.prototype = {
  80259. call$0() {
  80260. var t1 = this.expression;
  80261. return this.$this._environment.getVariableNode$2$namespace(t1.name, t1.namespace);
  80262. },
  80263. $signature: 142
  80264. };
  80265. A._EvaluateVisitor__withoutSlash_recommendation.prototype = {
  80266. call$1(number) {
  80267. var before, after, t1,
  80268. _1_0 = number.asSlash;
  80269. $label0$0: {
  80270. if (type$.Record_2_nullable_Object_and_nullable_Object._is(_1_0)) {
  80271. before = _1_0._0;
  80272. after = _1_0._1;
  80273. t1 = "math.div(" + A.S(this.call$1(before)) + ", " + A.S(this.call$1(after)) + ")";
  80274. break $label0$0;
  80275. }
  80276. t1 = A.serializeValue(number, true, true);
  80277. break $label0$0;
  80278. }
  80279. return t1;
  80280. },
  80281. $signature: 186
  80282. };
  80283. A._EvaluateVisitor__stackFrame_closure.prototype = {
  80284. call$1(url) {
  80285. var t1 = this.$this._evaluate$_importCache;
  80286. t1 = t1 == null ? null : t1.humanize$1(url);
  80287. return t1 == null ? url : t1;
  80288. },
  80289. $signature: 49
  80290. };
  80291. A._ImportedCssVisitor.prototype = {
  80292. visitCssAtRule$1(node) {
  80293. var t1 = node.isChildless ? null : new A._ImportedCssVisitor_visitCssAtRule_closure();
  80294. this._visitor._addChild$2$through(node, t1);
  80295. },
  80296. visitCssComment$1(node) {
  80297. return this._visitor._addChild$1(node);
  80298. },
  80299. visitCssDeclaration$1(node) {
  80300. },
  80301. visitCssImport$1(node) {
  80302. var t2,
  80303. _s13_ = "_endOfImports",
  80304. t1 = this._visitor;
  80305. if (t1._assertInModule$2(t1.__parent, "__parent") !== t1._assertInModule$2(t1.__root, "_root"))
  80306. t1._addChild$1(node);
  80307. else if (t1._assertInModule$2(t1.__endOfImports, _s13_) === J.get$length$asx(t1._assertInModule$2(t1.__root, "_root").children._collection$_source)) {
  80308. t1._addChild$1(node);
  80309. t1.__endOfImports = t1._assertInModule$2(t1.__endOfImports, _s13_) + 1;
  80310. } else {
  80311. t2 = t1._outOfOrderImports;
  80312. (t2 == null ? t1._outOfOrderImports = A._setArrayType([], type$.JSArray_ModifiableCssImport) : t2).push(node);
  80313. }
  80314. },
  80315. visitCssKeyframeBlock$1(node) {
  80316. },
  80317. visitCssMediaRule$1(node) {
  80318. var t1 = this._visitor,
  80319. mediaQueries = t1._mediaQueries;
  80320. t1._addChild$2$through(node, new A._ImportedCssVisitor_visitCssMediaRule_closure(mediaQueries == null || t1._mergeMediaQueries$2(mediaQueries, node.queries) != null));
  80321. },
  80322. visitCssStyleRule$1(node) {
  80323. return this._visitor._addChild$2$through(node, new A._ImportedCssVisitor_visitCssStyleRule_closure());
  80324. },
  80325. visitCssStylesheet$1(node) {
  80326. var t1, t2, t3;
  80327. for (t1 = node.children, t2 = t1.$ti, t1 = new A.ListIterator(t1, t1.get$length(0), t2._eval$1("ListIterator<ListBase.E>")), t2 = t2._eval$1("ListBase.E"); t1.moveNext$0();) {
  80328. t3 = t1.__internal$_current;
  80329. (t3 == null ? t2._as(t3) : t3).accept$1(this);
  80330. }
  80331. },
  80332. visitCssSupportsRule$1(node) {
  80333. return this._visitor._addChild$2$through(node, new A._ImportedCssVisitor_visitCssSupportsRule_closure());
  80334. }
  80335. };
  80336. A._ImportedCssVisitor_visitCssAtRule_closure.prototype = {
  80337. call$1(node) {
  80338. return node instanceof A.ModifiableCssStyleRule;
  80339. },
  80340. $signature: 8
  80341. };
  80342. A._ImportedCssVisitor_visitCssMediaRule_closure.prototype = {
  80343. call$1(node) {
  80344. var t1;
  80345. if (!(node instanceof A.ModifiableCssStyleRule))
  80346. t1 = this.hasBeenMerged && node instanceof A.ModifiableCssMediaRule;
  80347. else
  80348. t1 = true;
  80349. return t1;
  80350. },
  80351. $signature: 8
  80352. };
  80353. A._ImportedCssVisitor_visitCssStyleRule_closure.prototype = {
  80354. call$1(node) {
  80355. return node instanceof A.ModifiableCssStyleRule;
  80356. },
  80357. $signature: 8
  80358. };
  80359. A._ImportedCssVisitor_visitCssSupportsRule_closure.prototype = {
  80360. call$1(node) {
  80361. return node instanceof A.ModifiableCssStyleRule;
  80362. },
  80363. $signature: 8
  80364. };
  80365. A._EvaluationContext.prototype = {
  80366. get$currentCallableSpan() {
  80367. var _0_0 = this._visitor._callableNode;
  80368. if (_0_0 != null)
  80369. return _0_0.get$span(_0_0);
  80370. throw A.wrapException(A.StateError$(string$.No_Sasc));
  80371. },
  80372. warn$2(_, message, deprecation) {
  80373. var t1 = this._visitor,
  80374. t2 = t1._importSpan;
  80375. if (t2 == null) {
  80376. t2 = t1._callableNode;
  80377. t2 = t2 == null ? null : t2.get$span(t2);
  80378. }
  80379. if (t2 == null) {
  80380. t2 = this._defaultWarnNodeWithSpan;
  80381. t2 = t2.get$span(t2);
  80382. }
  80383. t1._warn$3(message, t2, deprecation);
  80384. },
  80385. $isEvaluationContext: 1
  80386. };
  80387. A.EveryCssVisitor.prototype = {
  80388. visitCssAtRule$1(node) {
  80389. var t1 = node.children;
  80390. return t1.every$1(t1, new A.EveryCssVisitor_visitCssAtRule_closure(this));
  80391. },
  80392. visitCssComment$1(node) {
  80393. return false;
  80394. },
  80395. visitCssDeclaration$1(node) {
  80396. return false;
  80397. },
  80398. visitCssImport$1(node) {
  80399. return false;
  80400. },
  80401. visitCssKeyframeBlock$1(node) {
  80402. var t1 = node.children;
  80403. return t1.every$1(t1, new A.EveryCssVisitor_visitCssKeyframeBlock_closure(this));
  80404. },
  80405. visitCssMediaRule$1(node) {
  80406. var t1 = node.children;
  80407. return t1.every$1(t1, new A.EveryCssVisitor_visitCssMediaRule_closure(this));
  80408. },
  80409. visitCssStyleRule$1(node) {
  80410. var t1 = node.children;
  80411. return t1.every$1(t1, new A.EveryCssVisitor_visitCssStyleRule_closure(this));
  80412. },
  80413. visitCssStylesheet$1(node) {
  80414. return J.every$1$ax(node.get$children(node), new A.EveryCssVisitor_visitCssStylesheet_closure(this));
  80415. },
  80416. visitCssSupportsRule$1(node) {
  80417. var t1 = node.children;
  80418. return t1.every$1(t1, new A.EveryCssVisitor_visitCssSupportsRule_closure(this));
  80419. }
  80420. };
  80421. A.EveryCssVisitor_visitCssAtRule_closure.prototype = {
  80422. call$1(child) {
  80423. return child.accept$1(this.$this);
  80424. },
  80425. $signature: 8
  80426. };
  80427. A.EveryCssVisitor_visitCssKeyframeBlock_closure.prototype = {
  80428. call$1(child) {
  80429. return child.accept$1(this.$this);
  80430. },
  80431. $signature: 8
  80432. };
  80433. A.EveryCssVisitor_visitCssMediaRule_closure.prototype = {
  80434. call$1(child) {
  80435. return child.accept$1(this.$this);
  80436. },
  80437. $signature: 8
  80438. };
  80439. A.EveryCssVisitor_visitCssStyleRule_closure.prototype = {
  80440. call$1(child) {
  80441. return child.accept$1(this.$this);
  80442. },
  80443. $signature: 8
  80444. };
  80445. A.EveryCssVisitor_visitCssStylesheet_closure.prototype = {
  80446. call$1(child) {
  80447. return child.accept$1(this.$this);
  80448. },
  80449. $signature: 8
  80450. };
  80451. A.EveryCssVisitor_visitCssSupportsRule_closure.prototype = {
  80452. call$1(child) {
  80453. return child.accept$1(this.$this);
  80454. },
  80455. $signature: 8
  80456. };
  80457. A._MakeExpressionCalculationSafe.prototype = {
  80458. visitBinaryOperationExpression$1(_, node) {
  80459. var t1, t2, t3, t4;
  80460. if (node.operator === B.BinaryOperator_s7T) {
  80461. t1 = A._setArrayType([node], type$.JSArray_Expression);
  80462. t2 = node.get$span(0);
  80463. t3 = type$.Expression;
  80464. t1 = A.List_List$unmodifiable(t1, t3);
  80465. t3 = A.ConstantMap_ConstantMap$from(B.Map_empty4, type$.String, t3);
  80466. t4 = node.get$span(0);
  80467. t1 = new A.FunctionExpression("math", A.stringReplaceAllUnchecked("max", "_", "-"), "max", new A.ArgumentList(t1, t3, null, null, t2), t4);
  80468. } else
  80469. t1 = this.super$ReplaceExpressionVisitor$visitBinaryOperationExpression(0, node);
  80470. return t1;
  80471. },
  80472. visitInterpolatedFunctionExpression$1(_, node) {
  80473. return node;
  80474. },
  80475. visitUnaryOperationExpression$1(_, node) {
  80476. var t1,
  80477. _0_0 = node.operator;
  80478. $label0$0: {
  80479. if (B.UnaryOperator_Rbl === _0_0) {
  80480. t1 = node.operand;
  80481. break $label0$0;
  80482. }
  80483. if (B.UnaryOperator_UCP === _0_0) {
  80484. t1 = new A.BinaryOperationExpression(B.BinaryOperator_tht, new A.NumberExpression(-1, null, node.span), node.operand, false);
  80485. break $label0$0;
  80486. }
  80487. t1 = this.super$ReplaceExpressionVisitor$visitUnaryOperationExpression(0, node);
  80488. break $label0$0;
  80489. }
  80490. return t1;
  80491. }
  80492. };
  80493. A.__MakeExpressionCalculationSafe_Object_ReplaceExpressionVisitor.prototype = {};
  80494. A._FindDependenciesVisitor.prototype = {
  80495. visitEachRule$1(_, node) {
  80496. },
  80497. visitForRule$1(_, node) {
  80498. },
  80499. visitIfRule$1(_, node) {
  80500. },
  80501. visitWhileRule$1(_, node) {
  80502. },
  80503. visitUseRule$1(_, node) {
  80504. var t1 = node.url;
  80505. if (t1.get$scheme() !== "sass")
  80506. this._find_dependencies$_uses.add$1(0, t1);
  80507. else if (t1.toString$0(0) === "sass:meta")
  80508. this._metaNamespaces.add$1(0, node.namespace);
  80509. },
  80510. visitForwardRule$1(_, node) {
  80511. var t1 = node.url;
  80512. if (t1.get$scheme() !== "sass")
  80513. this._find_dependencies$_forwards.add$1(0, t1);
  80514. },
  80515. visitImportRule$1(_, node) {
  80516. var t1, t2, t3, _i, $import;
  80517. for (t1 = node.imports, t2 = t1.length, t3 = this._imports, _i = 0; _i < t2; ++_i) {
  80518. $import = t1[_i];
  80519. if ($import instanceof A.DynamicImport)
  80520. t3.add$1(0, A.Uri_parse($import.urlString));
  80521. }
  80522. },
  80523. visitIncludeRule$1(_, node) {
  80524. var url, _0_0, _0_4_isSet, _0_7, t1, _0_4, _0_7_isSet, url0, exception;
  80525. if (node.name !== "load-css")
  80526. return;
  80527. if (!this._metaNamespaces.contains$1(0, node.namespace))
  80528. return;
  80529. _0_0 = node.$arguments.positional;
  80530. url = null;
  80531. _0_4_isSet = _0_0.length === 1;
  80532. _0_7 = null;
  80533. t1 = false;
  80534. if (_0_4_isSet) {
  80535. _0_4 = _0_0[0];
  80536. _0_7_isSet = _0_4 instanceof A.StringExpression;
  80537. if (_0_7_isSet) {
  80538. type$.StringExpression._as(_0_4);
  80539. _0_7 = _0_4.text.get$asPlain();
  80540. t1 = _0_7;
  80541. t1 = t1 != null;
  80542. }
  80543. } else {
  80544. _0_4 = null;
  80545. _0_7_isSet = false;
  80546. }
  80547. if (t1) {
  80548. if (_0_7_isSet)
  80549. url0 = _0_7;
  80550. else {
  80551. t1 = _0_4_isSet ? _0_4 : _0_0[0];
  80552. _0_7 = type$.StringExpression._as(t1).text.get$asPlain();
  80553. url0 = _0_7;
  80554. }
  80555. url = url0 == null ? A._asString(url0) : url0;
  80556. try {
  80557. this._metaLoadCss.add$1(0, A.Uri_parse(url));
  80558. } catch (exception) {
  80559. if (!type$.FormatException._is(A.unwrapException(exception)))
  80560. throw exception;
  80561. }
  80562. }
  80563. }
  80564. };
  80565. A.DependencyReport.prototype = {};
  80566. A.__FindDependenciesVisitor_Object_RecursiveStatementVisitor.prototype = {};
  80567. A.IsCalculationSafeVisitor.prototype = {
  80568. visitBinaryOperationExpression$1(_, node) {
  80569. return B.Set_oQTdo.contains$1(0, node.operator) && node.left.accept$1(this) && node.right.accept$1(this);
  80570. },
  80571. visitBooleanExpression$1(_, node) {
  80572. return false;
  80573. },
  80574. visitColorExpression$1(_, node) {
  80575. return false;
  80576. },
  80577. visitFunctionExpression$1(_, node) {
  80578. return true;
  80579. },
  80580. visitInterpolatedFunctionExpression$1(_, node) {
  80581. return true;
  80582. },
  80583. visitIfExpression$1(_, node) {
  80584. return true;
  80585. },
  80586. visitListExpression$1(_, node) {
  80587. var t1 = false;
  80588. if (node.separator === B.ListSeparator_qSL)
  80589. if (!node.hasBrackets) {
  80590. t1 = node.contents;
  80591. t1 = t1.length > 1 && B.JSArray_methods.every$1(t1, new A.IsCalculationSafeVisitor_visitListExpression_closure(this));
  80592. }
  80593. return t1;
  80594. },
  80595. visitMapExpression$1(_, node) {
  80596. return false;
  80597. },
  80598. visitNullExpression$1(_, node) {
  80599. return false;
  80600. },
  80601. visitNumberExpression$1(_, node) {
  80602. return true;
  80603. },
  80604. visitParenthesizedExpression$1(_, node) {
  80605. return node.expression.accept$1(this);
  80606. },
  80607. visitSelectorExpression$1(_, node) {
  80608. return false;
  80609. },
  80610. visitStringExpression$1(_, node) {
  80611. var text, t1, t2;
  80612. if (node.hasQuotes)
  80613. return false;
  80614. text = node.text.get$initialPlain();
  80615. t1 = false;
  80616. if (!B.JSString_methods.startsWith$1(text, "!"))
  80617. if (!B.JSString_methods.startsWith$1(text, "#")) {
  80618. t2 = text.length;
  80619. if ((1 >= t2 ? null : text.charCodeAt(1)) !== 43)
  80620. t1 = (3 >= t2 ? null : text.charCodeAt(3)) !== 40;
  80621. }
  80622. return t1;
  80623. },
  80624. visitSupportsExpression$1(_, node) {
  80625. return false;
  80626. },
  80627. visitUnaryOperationExpression$1(_, node) {
  80628. return false;
  80629. },
  80630. visitValueExpression$1(_, node) {
  80631. return false;
  80632. },
  80633. visitVariableExpression$1(_, node) {
  80634. return true;
  80635. }
  80636. };
  80637. A.IsCalculationSafeVisitor_visitListExpression_closure.prototype = {
  80638. call$1(expression) {
  80639. return expression.accept$1(this.$this);
  80640. },
  80641. $signature: 118
  80642. };
  80643. A.RecursiveStatementVisitor.prototype = {
  80644. visitAtRootRule$1(_, node) {
  80645. this.visitChildren$1(node.children);
  80646. },
  80647. visitAtRule$1(_, node) {
  80648. return A.NullableExtension_andThen(node.children, this.get$visitChildren());
  80649. },
  80650. visitContentBlock$1(_, node) {
  80651. return null;
  80652. },
  80653. visitContentRule$1(_, node) {
  80654. },
  80655. visitDebugRule$1(_, node) {
  80656. },
  80657. visitDeclaration$1(_, node) {
  80658. return A.NullableExtension_andThen(node.children, this.get$visitChildren());
  80659. },
  80660. visitEachRule$1(_, node) {
  80661. return this.visitChildren$1(node.children);
  80662. },
  80663. visitErrorRule$1(_, node) {
  80664. },
  80665. visitExtendRule$1(_, node) {
  80666. },
  80667. visitForRule$1(_, node) {
  80668. return this.visitChildren$1(node.children);
  80669. },
  80670. visitForwardRule$1(_, node) {
  80671. },
  80672. visitFunctionRule$1(_, node) {
  80673. return null;
  80674. },
  80675. visitIfRule$1(_, node) {
  80676. var t1, t2, _i, t3, t4, _i0, _0_0;
  80677. for (t1 = node.clauses, t2 = t1.length, _i = 0; _i < t2; ++_i)
  80678. for (t3 = t1[_i].children, t4 = t3.length, _i0 = 0; _i0 < t4; ++_i0)
  80679. t3[_i0].accept$1(this);
  80680. _0_0 = node.lastClause;
  80681. if (_0_0 != null)
  80682. for (t1 = _0_0.children, t2 = t1.length, _i = 0; _i < t2; ++_i)
  80683. t1[_i].accept$1(this);
  80684. },
  80685. visitImportRule$1(_, node) {
  80686. },
  80687. visitIncludeRule$1(_, node) {
  80688. return A.NullableExtension_andThen(node.content, this.get$visitContentBlock(this));
  80689. },
  80690. visitLoudComment$1(_, node) {
  80691. },
  80692. visitMediaRule$1(_, node) {
  80693. return this.visitChildren$1(node.children);
  80694. },
  80695. visitMixinRule$1(_, node) {
  80696. return null;
  80697. },
  80698. visitReturnRule$1(_, node) {
  80699. },
  80700. visitSilentComment$1(_, node) {
  80701. },
  80702. visitStyleRule$1(_, node) {
  80703. return this.visitChildren$1(node.children);
  80704. },
  80705. visitStylesheet$1(_, node) {
  80706. return this.visitChildren$1(node.children);
  80707. },
  80708. visitSupportsRule$1(_, node) {
  80709. return this.visitChildren$1(node.children);
  80710. },
  80711. visitUseRule$1(_, node) {
  80712. },
  80713. visitVariableDeclaration$1(_, node) {
  80714. },
  80715. visitWarnRule$1(_, node) {
  80716. },
  80717. visitWhileRule$1(_, node) {
  80718. return this.visitChildren$1(node.children);
  80719. },
  80720. visitChildren$1(children) {
  80721. var t1;
  80722. for (t1 = J.get$iterator$ax(children); t1.moveNext$0();)
  80723. t1.get$current(t1).accept$1(this);
  80724. }
  80725. };
  80726. A.ReplaceExpressionVisitor.prototype = {
  80727. visitBinaryOperationExpression$1(_, node) {
  80728. return new A.BinaryOperationExpression(node.operator, node.left.accept$1(this), node.right.accept$1(this), false);
  80729. },
  80730. visitBooleanExpression$1(_, node) {
  80731. return node;
  80732. },
  80733. visitColorExpression$1(_, node) {
  80734. return node;
  80735. },
  80736. visitFunctionExpression$1(_, node) {
  80737. var t1 = node.originalName,
  80738. t2 = this.visitArgumentList$1(node.$arguments);
  80739. return new A.FunctionExpression(node.namespace, A.stringReplaceAllUnchecked(t1, "_", "-"), t1, t2, node.span);
  80740. },
  80741. visitInterpolatedFunctionExpression$1(_, node) {
  80742. return new A.InterpolatedFunctionExpression(this.visitInterpolation$1(node.name), this.visitArgumentList$1(node.$arguments), node.span);
  80743. },
  80744. visitIfExpression$1(_, node) {
  80745. return new A.IfExpression(this.visitArgumentList$1(node.$arguments), node.span);
  80746. },
  80747. visitListExpression$1(_, node) {
  80748. var t1 = node.contents;
  80749. return new A.ListExpression(A.List_List$unmodifiable(new A.MappedListIterable(t1, new A.ReplaceExpressionVisitor_visitListExpression_closure(this), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,Expression>")), type$.Expression), node.separator, node.hasBrackets, node.span);
  80750. },
  80751. visitMapExpression$1(_, node) {
  80752. var t2, t3, _i, t4,
  80753. t1 = A._setArrayType([], type$.JSArray_Record_2_Expression_and_Expression);
  80754. for (t2 = node.pairs, t3 = t2.length, _i = 0; _i < t3; ++_i) {
  80755. t4 = t2[_i];
  80756. t1.push(new A._Record_2(t4._0.accept$1(this), t4._1.accept$1(this)));
  80757. }
  80758. return new A.MapExpression(A.List_List$unmodifiable(t1, type$.Record_2_Expression_and_Expression), node.span);
  80759. },
  80760. visitNullExpression$1(_, node) {
  80761. return node;
  80762. },
  80763. visitNumberExpression$1(_, node) {
  80764. return node;
  80765. },
  80766. visitParenthesizedExpression$1(_, node) {
  80767. return new A.ParenthesizedExpression(node.expression.accept$1(this), node.span);
  80768. },
  80769. visitSelectorExpression$1(_, node) {
  80770. return node;
  80771. },
  80772. visitStringExpression$1(_, node) {
  80773. return new A.StringExpression(this.visitInterpolation$1(node.text), node.hasQuotes);
  80774. },
  80775. visitSupportsExpression$1(_, node) {
  80776. return new A.SupportsExpression(this.visitSupportsCondition$1(node.condition));
  80777. },
  80778. visitUnaryOperationExpression$1(_, node) {
  80779. return new A.UnaryOperationExpression(node.operator, node.operand.accept$1(this), node.span);
  80780. },
  80781. visitValueExpression$1(_, node) {
  80782. return node;
  80783. },
  80784. visitVariableExpression$1(_, node) {
  80785. return node;
  80786. },
  80787. visitArgumentList$1(invocation) {
  80788. var t5, t6, _this = this,
  80789. t1 = invocation.positional,
  80790. t2 = type$.String,
  80791. t3 = type$.Expression,
  80792. t4 = A.LinkedHashMap_LinkedHashMap$_empty(t2, t3);
  80793. for (t5 = A.MapExtensions_get_pairs(invocation.named, t2, t3), t5 = t5.get$iterator(t5); t5.moveNext$0();) {
  80794. t6 = t5.get$current(t5);
  80795. t4.$indexSet(0, t6._0, t6._1.accept$1(_this));
  80796. }
  80797. t5 = invocation.rest;
  80798. t5 = t5 == null ? null : t5.accept$1(_this);
  80799. t6 = invocation.keywordRest;
  80800. t6 = t6 == null ? null : t6.accept$1(_this);
  80801. return new A.ArgumentList(A.List_List$unmodifiable(new A.MappedListIterable(t1, new A.ReplaceExpressionVisitor_visitArgumentList_closure(_this), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,Expression>")), t3), A.ConstantMap_ConstantMap$from(t4, t2, t3), t5, t6, invocation.span);
  80802. },
  80803. visitSupportsCondition$1(condition) {
  80804. var _this = this;
  80805. if (condition instanceof A.SupportsOperation)
  80806. return A.SupportsOperation$(_this.visitSupportsCondition$1(condition.left), _this.visitSupportsCondition$1(condition.right), condition.operator, condition.span);
  80807. else if (condition instanceof A.SupportsNegation)
  80808. return new A.SupportsNegation(_this.visitSupportsCondition$1(condition.condition), condition.span);
  80809. else if (condition instanceof A.SupportsInterpolation)
  80810. return new A.SupportsInterpolation(condition.expression.accept$1(_this), condition.span);
  80811. else if (condition instanceof A.SupportsDeclaration)
  80812. return new A.SupportsDeclaration(condition.name.accept$1(_this), condition.value.accept$1(_this), condition.span);
  80813. else
  80814. throw A.wrapException(A.SassException$("BUG: Unknown SupportsCondition " + condition.toString$0(0) + ".", condition.get$span(condition), null));
  80815. },
  80816. visitInterpolation$1(interpolation) {
  80817. var t1 = interpolation.contents;
  80818. return A.Interpolation$(new A.MappedListIterable(t1, new A.ReplaceExpressionVisitor_visitInterpolation_closure(this), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,Object>")), interpolation.spans, interpolation.span);
  80819. }
  80820. };
  80821. A.ReplaceExpressionVisitor_visitListExpression_closure.prototype = {
  80822. call$1(item) {
  80823. return item.accept$1(this.$this);
  80824. },
  80825. $signature: 190
  80826. };
  80827. A.ReplaceExpressionVisitor_visitArgumentList_closure.prototype = {
  80828. call$1(expression) {
  80829. return expression.accept$1(this.$this);
  80830. },
  80831. $signature: 190
  80832. };
  80833. A.ReplaceExpressionVisitor_visitInterpolation_closure.prototype = {
  80834. call$1(node) {
  80835. return node instanceof A.Expression ? node.accept$1(this.$this) : node;
  80836. },
  80837. $signature: 79
  80838. };
  80839. A.SelectorSearchVisitor.prototype = {
  80840. visitAttributeSelector$1(attribute) {
  80841. return null;
  80842. },
  80843. visitClassSelector$1(klass) {
  80844. return null;
  80845. },
  80846. visitIDSelector$1(id) {
  80847. return null;
  80848. },
  80849. visitParentSelector$1(placeholder) {
  80850. return null;
  80851. },
  80852. visitPlaceholderSelector$1(placeholder) {
  80853. return null;
  80854. },
  80855. visitTypeSelector$1(type) {
  80856. return null;
  80857. },
  80858. visitUniversalSelector$1(universal) {
  80859. return null;
  80860. },
  80861. visitComplexSelector$1(complex) {
  80862. return A.IterableExtension_search(complex.components, new A.SelectorSearchVisitor_visitComplexSelector_closure(this));
  80863. },
  80864. visitCompoundSelector$1(compound) {
  80865. return A.IterableExtension_search(compound.components, new A.SelectorSearchVisitor_visitCompoundSelector_closure(this));
  80866. },
  80867. visitPseudoSelector$1(pseudo) {
  80868. return A.NullableExtension_andThen(pseudo.selector, this.get$visitSelectorList());
  80869. },
  80870. visitSelectorList$1(list) {
  80871. return A.IterableExtension_search(list.components, this.get$visitComplexSelector());
  80872. }
  80873. };
  80874. A.SelectorSearchVisitor_visitComplexSelector_closure.prototype = {
  80875. call$1(component) {
  80876. return this.$this.visitCompoundSelector$1(component.selector);
  80877. },
  80878. $signature() {
  80879. return A._instanceType(this.$this)._eval$1("SelectorSearchVisitor.T?(ComplexSelectorComponent)");
  80880. }
  80881. };
  80882. A.SelectorSearchVisitor_visitCompoundSelector_closure.prototype = {
  80883. call$1(simple) {
  80884. return simple.accept$1(this.$this);
  80885. },
  80886. $signature() {
  80887. return A._instanceType(this.$this)._eval$1("SelectorSearchVisitor.T?(SimpleSelector)");
  80888. }
  80889. };
  80890. A.serialize_closure.prototype = {
  80891. call$1(codeUnit) {
  80892. return codeUnit > 127;
  80893. },
  80894. $signature: 47
  80895. };
  80896. A._SerializeVisitor.prototype = {
  80897. visitCssStylesheet$1(node) {
  80898. var t1, t2, t3, t4, t5, t6, previous, previous0, t7, _this = this;
  80899. for (t1 = J.get$iterator$ax(node.get$children(node)), t2 = !_this._inspect, t3 = _this._style === B.OutputStyle_1, t4 = !t3, t5 = type$.CssParentNode, t6 = _this._serialize$_buffer, previous = null; t1.moveNext$0();) {
  80900. previous0 = t1.get$current(t1);
  80901. if (t2)
  80902. t7 = t3 ? previous0.accept$1(B._IsInvisibleVisitor_true_true) : previous0.accept$1(B._IsInvisibleVisitor_true_false);
  80903. else
  80904. t7 = false;
  80905. if (t7)
  80906. continue;
  80907. if (previous != null) {
  80908. if (t5._is(previous) ? previous.get$isChildless() : !(previous instanceof A.ModifiableCssComment))
  80909. t6.writeCharCode$1(59);
  80910. if (_this._isTrailingComment$2(previous0, previous)) {
  80911. if (t4)
  80912. t6.writeCharCode$1(32);
  80913. } else {
  80914. if (t4)
  80915. t6.write$1(0, "\n");
  80916. if (previous.get$isGroupEnd())
  80917. if (t4)
  80918. t6.write$1(0, "\n");
  80919. }
  80920. }
  80921. previous0.accept$1(_this);
  80922. previous = previous0;
  80923. }
  80924. if (previous != null)
  80925. t1 = (t5._is(previous) ? previous.get$isChildless() : !(previous instanceof A.ModifiableCssComment)) && t4;
  80926. else
  80927. t1 = false;
  80928. if (t1)
  80929. t6.writeCharCode$1(59);
  80930. },
  80931. visitCssComment$1(node) {
  80932. this._serialize$_buffer.forSpan$2(node.span, new A._SerializeVisitor_visitCssComment_closure(this, node));
  80933. },
  80934. visitCssAtRule$1(node) {
  80935. var t1, _this = this;
  80936. _this._writeIndentation$0();
  80937. t1 = _this._serialize$_buffer;
  80938. t1.forSpan$2(node.span, new A._SerializeVisitor_visitCssAtRule_closure(_this, node));
  80939. if (!node.isChildless) {
  80940. if (_this._style !== B.OutputStyle_1)
  80941. t1.writeCharCode$1(32);
  80942. _this._serialize$_visitChildren$1(node);
  80943. }
  80944. },
  80945. visitCssMediaRule$1(node) {
  80946. var t1, _this = this;
  80947. _this._writeIndentation$0();
  80948. t1 = _this._serialize$_buffer;
  80949. t1.forSpan$2(node.span, new A._SerializeVisitor_visitCssMediaRule_closure(_this, node));
  80950. if (_this._style !== B.OutputStyle_1)
  80951. t1.writeCharCode$1(32);
  80952. _this._serialize$_visitChildren$1(node);
  80953. },
  80954. visitCssImport$1(node) {
  80955. this._writeIndentation$0();
  80956. this._serialize$_buffer.forSpan$2(node.span, new A._SerializeVisitor_visitCssImport_closure(this, node));
  80957. },
  80958. _writeImportUrl$1(url) {
  80959. var urlContents, maybeQuote, _this = this;
  80960. if (_this._style !== B.OutputStyle_1 || url.charCodeAt(0) !== 117) {
  80961. _this._serialize$_buffer.write$1(0, url);
  80962. return;
  80963. }
  80964. urlContents = B.JSString_methods.substring$2(url, 4, url.length - 1);
  80965. maybeQuote = urlContents.charCodeAt(0);
  80966. if (maybeQuote === 39 || maybeQuote === 34)
  80967. _this._serialize$_buffer.write$1(0, urlContents);
  80968. else
  80969. _this._visitQuotedString$1(urlContents);
  80970. },
  80971. visitCssKeyframeBlock$1(node) {
  80972. var t1, _this = this;
  80973. _this._writeIndentation$0();
  80974. t1 = _this._serialize$_buffer;
  80975. t1.forSpan$2(node.selector.span, new A._SerializeVisitor_visitCssKeyframeBlock_closure(_this, node));
  80976. if (_this._style !== B.OutputStyle_1)
  80977. t1.writeCharCode$1(32);
  80978. _this._serialize$_visitChildren$1(node);
  80979. },
  80980. _visitMediaQuery$1(query) {
  80981. var t1, _1_0, _2_0, condition, operator, t2, _this = this,
  80982. _0_0 = query.modifier;
  80983. if (_0_0 != null) {
  80984. t1 = _this._serialize$_buffer;
  80985. t1.write$1(0, _0_0);
  80986. t1.writeCharCode$1(32);
  80987. }
  80988. _1_0 = query.type;
  80989. if (_1_0 != null) {
  80990. t1 = _this._serialize$_buffer;
  80991. t1.write$1(0, _1_0);
  80992. if (query.conditions.length !== 0)
  80993. t1.write$1(0, " and ");
  80994. }
  80995. _2_0 = query.conditions;
  80996. if (_2_0.length === 1)
  80997. t1 = B.JSString_methods.startsWith$1(_2_0[0], "(not ");
  80998. else
  80999. t1 = false;
  81000. if (t1) {
  81001. t1 = _this._serialize$_buffer;
  81002. t1.write$1(0, "not ");
  81003. condition = B.JSArray_methods.get$first(_2_0);
  81004. t1.write$1(0, B.JSString_methods.substring$2(condition, 5, condition.length - 1));
  81005. } else {
  81006. operator = query.conjunction ? "and" : "or";
  81007. t1 = _this._style === B.OutputStyle_1 ? operator + " " : " " + operator + " ";
  81008. t2 = _this._serialize$_buffer;
  81009. _this._writeBetween$3(_2_0, t1, t2.get$write(t2));
  81010. }
  81011. },
  81012. visitCssStyleRule$1(node) {
  81013. var t1, _this = this;
  81014. _this._writeIndentation$0();
  81015. t1 = _this._serialize$_buffer;
  81016. t1.forSpan$2(node._style_rule$_selector._box$_inner.value.span, new A._SerializeVisitor_visitCssStyleRule_closure(_this, node));
  81017. if (_this._style !== B.OutputStyle_1)
  81018. t1.writeCharCode$1(32);
  81019. _this._serialize$_visitChildren$1(node);
  81020. },
  81021. visitCssSupportsRule$1(node) {
  81022. var t1, _this = this;
  81023. _this._writeIndentation$0();
  81024. t1 = _this._serialize$_buffer;
  81025. t1.forSpan$2(node.span, new A._SerializeVisitor_visitCssSupportsRule_closure(_this, node));
  81026. if (_this._style !== B.OutputStyle_1)
  81027. t1.writeCharCode$1(32);
  81028. _this._serialize$_visitChildren$1(node);
  81029. },
  81030. visitCssDeclaration$1(node) {
  81031. var error, stackTrace, error0, stackTrace0, t3, declSpecificities, t4, t5, t6, t7, _i, rule, ruleSpecificities, exception, _this = this,
  81032. t1 = node.interleavedRules,
  81033. t2 = t1.length;
  81034. if (t2 !== 0) {
  81035. t3 = node._parent;
  81036. t3.toString;
  81037. declSpecificities = _this._specificities$1(t3);
  81038. for (t3 = _this._serialize$_logger, t4 = node.span, t5 = type$.SourceSpan, t6 = type$.String, t7 = node.trace, _i = 0; _i < t2; ++_i) {
  81039. rule = t1[_i];
  81040. ruleSpecificities = _this._specificities$1(rule);
  81041. if (!declSpecificities.any$1(0, ruleSpecificities.get$contains(ruleSpecificities)))
  81042. continue;
  81043. A.WarnForDeprecation_warnForDeprecation(t3, B.Deprecation_39u, string$.Sassx27s, new A.MultiSpan(t4, "declaration", A.ConstantMap_ConstantMap$from(A.LinkedHashMap_LinkedHashMap$_literal([rule.span, "nested rule"], t5, t6), t5, t6)), t7);
  81044. }
  81045. }
  81046. _this._writeIndentation$0();
  81047. t1 = node.name;
  81048. _this._serialize$_write$1(t1);
  81049. t2 = _this._serialize$_buffer;
  81050. t2.writeCharCode$1(58);
  81051. if (J.startsWith$1$s(t1.value, "--") && node.parsedAsCustomProperty)
  81052. t2.forSpan$2(node.value.span, new A._SerializeVisitor_visitCssDeclaration_closure(_this, node));
  81053. else {
  81054. if (_this._style !== B.OutputStyle_1)
  81055. t2.writeCharCode$1(32);
  81056. try {
  81057. t2.forSpan$2(node.valueSpanForMap, new A._SerializeVisitor_visitCssDeclaration_closure0(_this, node));
  81058. } catch (exception) {
  81059. t1 = A.unwrapException(exception);
  81060. if (t1 instanceof A.MultiSpanSassScriptException) {
  81061. error = t1;
  81062. stackTrace = A.getTraceFromException(exception);
  81063. A.throwWithTrace(A.MultiSpanSassException$(error.message, node.value.span, error.primaryLabel, error.secondarySpans, null), error, stackTrace);
  81064. } else if (t1 instanceof A.SassScriptException) {
  81065. error0 = t1;
  81066. stackTrace0 = A.getTraceFromException(exception);
  81067. t1 = error0.message;
  81068. A.throwWithTrace(new A.SassException(B.Set_empty, t1, node.value.span), error0, stackTrace0);
  81069. } else
  81070. throw exception;
  81071. }
  81072. }
  81073. },
  81074. _specificities$1(node) {
  81075. var $parent, t2, t3, _i,
  81076. t1 = this.get$_specificities();
  81077. if (node instanceof A.ModifiableCssStyleRule) {
  81078. t1 = A.NullableExtension_andThen(node._parent, t1);
  81079. $parent = t1 == null ? null : A.IterableIntegerExtension_get_max(t1);
  81080. if ($parent == null)
  81081. $parent = 0;
  81082. t1 = A.LinkedHashSet_LinkedHashSet$_empty(type$.int);
  81083. for (t2 = node._style_rule$_selector._box$_inner.value.components, t3 = t2.length, _i = 0; _i < t3; ++_i)
  81084. t1.add$1(0, $parent + t2[_i].get$specificity());
  81085. return t1;
  81086. } else {
  81087. t1 = A.NullableExtension_andThen(node.get$parent(node), t1);
  81088. return t1 == null ? B.Set_WDSXk : t1;
  81089. }
  81090. },
  81091. _writeFoldedValue$1(node) {
  81092. var t1, t2, next, t3,
  81093. scanner = A.StringScanner$(type$.SassString._as(node.value.value)._string$_text, null, null);
  81094. for (t1 = scanner.string.length, t2 = this._serialize$_buffer; scanner._string_scanner$_position !== t1;) {
  81095. next = scanner.readChar$0();
  81096. if (next !== 10) {
  81097. t2.writeCharCode$1(next);
  81098. continue;
  81099. }
  81100. t2.writeCharCode$1(32);
  81101. while (true) {
  81102. t3 = scanner.peekChar$0();
  81103. if (!(t3 === 32 || t3 === 9 || t3 === 10 || t3 === 13 || t3 === 12))
  81104. break;
  81105. scanner.readChar$0();
  81106. }
  81107. }
  81108. },
  81109. _writeReindentedValue$1(node) {
  81110. var _0_0, t1, _this = this,
  81111. value = type$.SassString._as(node.value.value)._string$_text;
  81112. $label0$0: {
  81113. _0_0 = _this._minimumIndentation$1(value);
  81114. if (_0_0 == null) {
  81115. _this._serialize$_buffer.write$1(0, value);
  81116. break $label0$0;
  81117. }
  81118. if (-1 === _0_0) {
  81119. t1 = _this._serialize$_buffer;
  81120. t1.write$1(0, A.trimAsciiRight(value, true));
  81121. t1.writeCharCode$1(32);
  81122. break $label0$0;
  81123. }
  81124. t1 = node.name.span;
  81125. t1 = t1.get$start(t1);
  81126. _this._writeWithIndent$2(value, Math.min(_0_0, t1.file.getColumn$1(t1.offset)));
  81127. }
  81128. },
  81129. _minimumIndentation$1(text) {
  81130. var character, t2, min, next, min0,
  81131. scanner = A.LineScanner$(text),
  81132. t1 = scanner.string.length;
  81133. while (true) {
  81134. if (scanner._string_scanner$_position !== t1) {
  81135. character = scanner.super$StringScanner$readChar();
  81136. scanner._adjustLineAndColumn$1(character);
  81137. t2 = character !== 10;
  81138. } else
  81139. t2 = false;
  81140. if (!t2)
  81141. break;
  81142. }
  81143. if (scanner._string_scanner$_position === t1)
  81144. return scanner.peekChar$1(-1) === 10 ? -1 : null;
  81145. for (min = null; scanner._string_scanner$_position !== t1;) {
  81146. for (; scanner._string_scanner$_position !== t1;) {
  81147. next = scanner.peekChar$0();
  81148. if (next !== 32 && next !== 9)
  81149. break;
  81150. scanner._adjustLineAndColumn$1(scanner.super$StringScanner$readChar());
  81151. }
  81152. if (scanner._string_scanner$_position === t1 || scanner.scanChar$1(10))
  81153. continue;
  81154. min0 = scanner._line_scanner$_column;
  81155. min = min == null ? min0 : Math.min(min, min0);
  81156. while (true) {
  81157. if (scanner._string_scanner$_position !== t1) {
  81158. character = scanner.super$StringScanner$readChar();
  81159. scanner._adjustLineAndColumn$1(character);
  81160. t2 = character !== 10;
  81161. } else
  81162. t2 = false;
  81163. if (!t2)
  81164. break;
  81165. }
  81166. }
  81167. return min == null ? -1 : min;
  81168. },
  81169. _writeWithIndent$2(text, minimumIndentation) {
  81170. var t1, t2, t3, character, lineStart, newlines, end,
  81171. scanner = A.LineScanner$(text);
  81172. for (t1 = scanner.string, t2 = t1.length, t3 = this._serialize$_buffer; scanner._string_scanner$_position !== t2;) {
  81173. character = scanner.super$StringScanner$readChar();
  81174. scanner._adjustLineAndColumn$1(character);
  81175. if (character === 10)
  81176. break;
  81177. t3.writeCharCode$1(character);
  81178. }
  81179. for (; true;) {
  81180. lineStart = scanner._string_scanner$_position;
  81181. for (newlines = 1; true;) {
  81182. if (scanner._string_scanner$_position === t2) {
  81183. t3.writeCharCode$1(32);
  81184. return;
  81185. }
  81186. $label0$2: {
  81187. character = scanner.super$StringScanner$readChar();
  81188. scanner._adjustLineAndColumn$1(character);
  81189. if (32 === character || 9 === character)
  81190. continue;
  81191. if (10 === character) {
  81192. lineStart = scanner._string_scanner$_position;
  81193. ++newlines;
  81194. break $label0$2;
  81195. }
  81196. break;
  81197. }
  81198. }
  81199. this._writeTimes$2(10, newlines);
  81200. this._writeIndentation$0();
  81201. end = scanner._string_scanner$_position;
  81202. t3.write$1(0, B.JSString_methods.substring$2(t1, lineStart + minimumIndentation, end));
  81203. for (; true;) {
  81204. if (scanner._string_scanner$_position === t2)
  81205. return;
  81206. character = scanner.super$StringScanner$readChar();
  81207. scanner._adjustLineAndColumn$1(character);
  81208. if (character === 10)
  81209. break;
  81210. t3.writeCharCode$1(character);
  81211. }
  81212. }
  81213. },
  81214. visitCalculation$1(value) {
  81215. var t2, _this = this,
  81216. t1 = _this._serialize$_buffer;
  81217. t1.write$1(0, value.name);
  81218. t1.writeCharCode$1(40);
  81219. t2 = _this._style === B.OutputStyle_1 ? "," : ", ";
  81220. _this._writeBetween$3(value.$arguments, t2, _this.get$_writeCalculationValue());
  81221. t1.writeCharCode$1(41);
  81222. },
  81223. _writeCalculationValue$1(value) {
  81224. var _2_4_isSet, _2_4, t1, _0_0, _1_0, first, rest, left, right, operator, parenthesizeLeft, operatorWhitespace, parenthesizeRight, t2, _this = this, _null = null;
  81225. $label1$1: {
  81226. _2_4_isSet = value instanceof A.SassNumber;
  81227. if (_2_4_isSet) {
  81228. _2_4 = value.get$hasComplexUnits();
  81229. t1 = _2_4;
  81230. t1 = t1 && !_this._inspect;
  81231. } else {
  81232. _2_4 = _null;
  81233. t1 = false;
  81234. }
  81235. if (t1)
  81236. throw A.wrapException(A.SassScriptException$(value.toString$0(0) + " isn't a valid CSS value.", _null));
  81237. if (_2_4_isSet && !isFinite(value._number$_value)) {
  81238. $label0$0: {
  81239. _0_0 = value._number$_value;
  81240. if (1 / 0 === _0_0) {
  81241. _this._serialize$_buffer.write$1(0, "infinity");
  81242. break $label0$0;
  81243. }
  81244. if (-1 / 0 === _0_0) {
  81245. _this._serialize$_buffer.write$1(0, "-infinity");
  81246. break $label0$0;
  81247. }
  81248. if (isNaN(_0_0))
  81249. _this._serialize$_buffer.write$1(0, "NaN");
  81250. }
  81251. _this._writeCalculationUnits$2(value.get$numeratorUnits(value), value.get$denominatorUnits(value));
  81252. break $label1$1;
  81253. }
  81254. if (_2_4_isSet)
  81255. t1 = _2_4;
  81256. else
  81257. t1 = false;
  81258. if (t1) {
  81259. _this._writeNumber$1(value._number$_value);
  81260. _1_0 = value.get$numeratorUnits(value);
  81261. if (_1_0.length >= 1) {
  81262. first = _1_0[0];
  81263. rest = B.JSArray_methods.sublist$1(_1_0, 1);
  81264. _this._serialize$_buffer.write$1(0, first);
  81265. _this._writeCalculationUnits$2(rest, value.get$denominatorUnits(value));
  81266. } else
  81267. _this._writeCalculationUnits$2(A._setArrayType([], type$.JSArray_String), value.get$denominatorUnits(value));
  81268. break $label1$1;
  81269. }
  81270. if (value instanceof A.Value) {
  81271. value.accept$1(_this);
  81272. break $label1$1;
  81273. }
  81274. t1 = value instanceof A.CalculationOperation;
  81275. left = _null;
  81276. right = _null;
  81277. if (t1) {
  81278. operator = value._operator;
  81279. left = value._left;
  81280. right = value._right;
  81281. right = right;
  81282. } else
  81283. operator = _null;
  81284. if (t1) {
  81285. parenthesizeLeft = left instanceof A.CalculationOperation && left._operator.precedence < operator.precedence;
  81286. if (parenthesizeLeft)
  81287. _this._serialize$_buffer.writeCharCode$1(40);
  81288. _this._writeCalculationValue$1(left);
  81289. if (parenthesizeLeft)
  81290. _this._serialize$_buffer.writeCharCode$1(41);
  81291. operatorWhitespace = _this._style !== B.OutputStyle_1 || operator.precedence === 1;
  81292. if (operatorWhitespace)
  81293. _this._serialize$_buffer.writeCharCode$1(32);
  81294. t1 = _this._serialize$_buffer;
  81295. t1.write$1(0, operator.operator);
  81296. if (operatorWhitespace)
  81297. t1.writeCharCode$1(32);
  81298. if (!(right instanceof A.CalculationOperation && _this._parenthesizeCalculationRhs$2(operator, right._operator))) {
  81299. parenthesizeRight = false;
  81300. if (operator === B.CalculationOperator_bo5) {
  81301. if (right instanceof A.SassNumber)
  81302. t2 = isFinite(right._number$_value) ? right.get$hasComplexUnits() : right.get$hasUnits();
  81303. else
  81304. t2 = parenthesizeRight;
  81305. parenthesizeRight = t2;
  81306. }
  81307. } else
  81308. parenthesizeRight = true;
  81309. if (parenthesizeRight)
  81310. t1.writeCharCode$1(40);
  81311. _this._writeCalculationValue$1(right);
  81312. if (parenthesizeRight)
  81313. t1.writeCharCode$1(41);
  81314. }
  81315. }
  81316. },
  81317. _writeCalculationUnits$2(numeratorUnits, denominatorUnits) {
  81318. var t1, t2, t3, t4;
  81319. for (t1 = J.get$iterator$ax(numeratorUnits), t2 = this._serialize$_buffer, t3 = this._style !== B.OutputStyle_1; t1.moveNext$0();) {
  81320. t4 = t1.get$current(t1);
  81321. if (t3)
  81322. t2.writeCharCode$1(32);
  81323. t2.writeCharCode$1(42);
  81324. if (t3)
  81325. t2.writeCharCode$1(32);
  81326. t2.writeCharCode$1(49);
  81327. t2.write$1(0, t4);
  81328. }
  81329. for (t1 = J.get$iterator$ax(denominatorUnits); t1.moveNext$0();) {
  81330. t4 = t1.get$current(t1);
  81331. if (t3)
  81332. t2.writeCharCode$1(32);
  81333. t2.writeCharCode$1(47);
  81334. if (t3)
  81335. t2.writeCharCode$1(32);
  81336. t2.writeCharCode$1(49);
  81337. t2.write$1(0, t4);
  81338. }
  81339. },
  81340. _parenthesizeCalculationRhs$2(outer, right) {
  81341. var t1;
  81342. $label0$0: {
  81343. if (B.CalculationOperator_bo5 === outer) {
  81344. t1 = true;
  81345. break $label0$0;
  81346. }
  81347. if (B.CalculationOperator_F7i === outer) {
  81348. t1 = false;
  81349. break $label0$0;
  81350. }
  81351. t1 = right === B.CalculationOperator_F7i || right === B.CalculationOperator_oum;
  81352. break $label0$0;
  81353. }
  81354. return t1;
  81355. },
  81356. visitColor$1(value) {
  81357. var _0_0, _0_2, _0_6, t1, _0_4, _0_6_isSet, t2, _0_10_isSet, _0_10, _0_12_isSet, _0_14, _0_12, _0_14_isSet, t3, _0_10_isSet0, polar, t4, t5, _this = this, _null = null;
  81358. $label0$0: {
  81359. _0_0 = value._space;
  81360. _0_2 = B.RgbColorSpace_i0P === _0_0;
  81361. _0_6 = _null;
  81362. t1 = true;
  81363. if (!_0_2) {
  81364. _0_4 = B.HslColorSpace_JQ2 === _0_0;
  81365. _0_6_isSet = !_0_4;
  81366. if (_0_6_isSet) {
  81367. _0_6 = B.HwbColorSpace_guQ === _0_0;
  81368. t1 = _0_6;
  81369. }
  81370. } else {
  81371. _0_4 = _null;
  81372. _0_6_isSet = false;
  81373. }
  81374. if (t1 && value.channel0OrNull != null && value.channel1OrNull != null && value.channel2OrNull != null && value.alphaOrNull != null) {
  81375. _this._writeLegacyColor$1(value);
  81376. break $label0$0;
  81377. }
  81378. if (_0_2) {
  81379. t1 = _this._serialize$_buffer;
  81380. t1.write$1(0, "rgb(");
  81381. _this._writeChannel$1(value.channel0OrNull);
  81382. t1.writeCharCode$1(32);
  81383. _this._writeChannel$1(value.channel1OrNull);
  81384. t1.writeCharCode$1(32);
  81385. _this._writeChannel$1(value.channel2OrNull);
  81386. _this._maybeWriteSlashAlpha$1(value);
  81387. t1.writeCharCode$1(41);
  81388. break $label0$0;
  81389. }
  81390. if (!_0_4)
  81391. t1 = _0_6_isSet ? _0_6 : B.HwbColorSpace_guQ === _0_0;
  81392. else
  81393. t1 = true;
  81394. if (t1) {
  81395. t1 = _this._serialize$_buffer;
  81396. t1.write$1(0, _0_0);
  81397. t1.writeCharCode$1(40);
  81398. t2 = _this._style === B.OutputStyle_1 ? _null : "deg";
  81399. _this._writeChannel$2(value.channel0OrNull, t2);
  81400. t1.writeCharCode$1(32);
  81401. _this._writeChannel$2(value.channel1OrNull, "%");
  81402. t1.writeCharCode$1(32);
  81403. _this._writeChannel$2(value.channel2OrNull, "%");
  81404. _this._maybeWriteSlashAlpha$1(value);
  81405. t1.writeCharCode$1(41);
  81406. break $label0$0;
  81407. }
  81408. _0_10_isSet = B.LabColorSpace_2nT !== _0_0;
  81409. if (_0_10_isSet) {
  81410. _0_10 = B.LchColorSpace_Bpv === _0_0;
  81411. t1 = _0_10;
  81412. } else {
  81413. _0_10 = _null;
  81414. t1 = true;
  81415. }
  81416. t2 = false;
  81417. if (t1)
  81418. if (!_this._inspect) {
  81419. t1 = value.channel0OrNull;
  81420. if (t1 == null)
  81421. t1 = 0;
  81422. if (t1 > 0 || A.fuzzyEquals(t1, 0))
  81423. t1 = t1 < 100 || A.fuzzyEquals(t1, 100);
  81424. else
  81425. t1 = false;
  81426. t1 = !t1 && value.channel1OrNull != null && value.channel2OrNull != null;
  81427. } else
  81428. t1 = t2;
  81429. else
  81430. t1 = t2;
  81431. _0_12_isSet = !t1;
  81432. _0_14 = _null;
  81433. if (_0_12_isSet) {
  81434. _0_12 = B.OklabColorSpace_540 === _0_0;
  81435. t1 = false;
  81436. _0_14_isSet = !_0_12;
  81437. if (_0_14_isSet) {
  81438. _0_14 = B.OklchColorSpace_9Gj === _0_0;
  81439. t2 = _0_14;
  81440. } else
  81441. t2 = true;
  81442. t3 = false;
  81443. if (t2)
  81444. if (!_this._inspect) {
  81445. t2 = value.channel0OrNull;
  81446. if (t2 == null)
  81447. t2 = 0;
  81448. if (t2 > 0 || A.fuzzyEquals(t2, 0))
  81449. t2 = t2 < 1 || A.fuzzyEquals(t2, 1);
  81450. else
  81451. t2 = false;
  81452. t2 = !t2 && value.channel1OrNull != null && value.channel2OrNull != null;
  81453. } else
  81454. t2 = t3;
  81455. else
  81456. t2 = t3;
  81457. if (!t2) {
  81458. if (_0_10_isSet) {
  81459. t2 = _0_10;
  81460. _0_10_isSet0 = _0_10_isSet;
  81461. } else {
  81462. _0_10 = B.LchColorSpace_Bpv === _0_0;
  81463. t2 = _0_10;
  81464. _0_10_isSet0 = true;
  81465. }
  81466. if (!t2)
  81467. if (_0_14_isSet)
  81468. t2 = _0_14;
  81469. else {
  81470. _0_14 = B.OklchColorSpace_9Gj === _0_0;
  81471. t2 = _0_14;
  81472. _0_14_isSet = true;
  81473. }
  81474. else
  81475. t2 = true;
  81476. if (t2)
  81477. if (!_this._inspect) {
  81478. t1 = value.channel1OrNull;
  81479. t2 = t1 == null;
  81480. if (t2)
  81481. t1 = 0;
  81482. t1 = t1 < 0 && !A.fuzzyEquals(t1, 0) && value.channel0OrNull != null && !t2;
  81483. }
  81484. } else {
  81485. _0_10_isSet0 = _0_10_isSet;
  81486. t1 = true;
  81487. }
  81488. } else {
  81489. _0_12 = _null;
  81490. _0_10_isSet0 = _0_10_isSet;
  81491. _0_14_isSet = false;
  81492. t1 = true;
  81493. }
  81494. if (t1) {
  81495. t1 = _this._serialize$_buffer;
  81496. t1.write$1(0, "color-mix(in ");
  81497. t1.write$1(0, _0_0);
  81498. t2 = _this._style === B.OutputStyle_1;
  81499. t1.write$1(0, t2 ? "," : ", ");
  81500. _this._writeColorFunction$1(value.toSpace$1(B.XyzD65ColorSpace_WiJ));
  81501. if (!t2)
  81502. t1.writeCharCode$1(32);
  81503. t1.write$1(0, "100%");
  81504. t1.write$1(0, t2 ? "," : ", ");
  81505. t1.write$1(0, t2 ? "red" : "black");
  81506. t1.writeCharCode$1(41);
  81507. break $label0$0;
  81508. }
  81509. t1 = true;
  81510. if (_0_10_isSet)
  81511. if (!(_0_12_isSet ? _0_12 : B.OklabColorSpace_540 === _0_0))
  81512. if (!(_0_10_isSet0 ? _0_10 : B.LchColorSpace_Bpv === _0_0))
  81513. t1 = _0_14_isSet ? _0_14 : B.OklchColorSpace_9Gj === _0_0;
  81514. if (t1) {
  81515. t1 = _this._serialize$_buffer;
  81516. t1.write$1(0, _0_0);
  81517. t1.writeCharCode$1(40);
  81518. t2 = _0_0._channels;
  81519. polar = t2[2].isPolarAngle;
  81520. t3 = false;
  81521. if (!_this._inspect) {
  81522. t4 = value.channel0OrNull;
  81523. if (t4 == null)
  81524. t4 = 0;
  81525. if (t4 > 0 || A.fuzzyEquals(t4, 0))
  81526. t4 = t4 < 100 || A.fuzzyEquals(t4, 100);
  81527. else
  81528. t4 = false;
  81529. if (t4) {
  81530. if (polar) {
  81531. t3 = value.channel1OrNull;
  81532. if (t3 == null)
  81533. t3 = 0;
  81534. t3 = t3 < 0 && !A.fuzzyEquals(t3, 0);
  81535. }
  81536. } else
  81537. t3 = true;
  81538. }
  81539. if (t3) {
  81540. t1.write$1(0, "from ");
  81541. t1.write$1(0, _this._style === B.OutputStyle_1 ? "red" : "black");
  81542. t1.writeCharCode$1(32);
  81543. }
  81544. t3 = _this._style !== B.OutputStyle_1;
  81545. t4 = t3 && value.channel0OrNull != null;
  81546. t5 = value.channel0OrNull;
  81547. if (t4) {
  81548. t2 = type$.LinearChannel._as(t2[0]);
  81549. _this._writeNumber$1((t5 == null ? 0 : t5) * 100 / t2.max);
  81550. t1.writeCharCode$1(37);
  81551. } else
  81552. _this._writeChannel$1(t5);
  81553. t1.writeCharCode$1(32);
  81554. _this._writeChannel$1(value.channel1OrNull);
  81555. t1.writeCharCode$1(32);
  81556. t2 = polar && t3 ? "deg" : _null;
  81557. _this._writeChannel$2(value.channel2OrNull, t2);
  81558. _this._maybeWriteSlashAlpha$1(value);
  81559. t1.writeCharCode$1(41);
  81560. break $label0$0;
  81561. }
  81562. _this._writeColorFunction$1(value);
  81563. }
  81564. },
  81565. _writeChannel$2(channel, unit) {
  81566. var _this = this;
  81567. if (channel == null)
  81568. _this._serialize$_buffer.write$1(0, "none");
  81569. else if (isFinite(channel)) {
  81570. _this._writeNumber$1(channel);
  81571. if (unit != null)
  81572. _this._serialize$_buffer.write$1(0, unit);
  81573. } else
  81574. _this.visitNumber$1(A.SassNumber_SassNumber(channel, unit));
  81575. },
  81576. _writeChannel$1(channel) {
  81577. return this._writeChannel$2(channel, null);
  81578. },
  81579. _writeLegacyColor$1(color) {
  81580. var rgb, t3, red, green, blue, hsl, hue, saturation, lightness, hwb, _0_0, format, _1_0, _this = this,
  81581. t1 = color.alphaOrNull,
  81582. t2 = t1 == null,
  81583. opaque = A.fuzzyEquals(t2 ? 0 : t1, 1);
  81584. if (!color.get$isInGamut() && !_this._inspect) {
  81585. _this._writeHsl$1(color);
  81586. return;
  81587. }
  81588. if (_this._style === B.OutputStyle_1) {
  81589. rgb = color.toSpace$1(B.RgbColorSpace_i0P);
  81590. if (opaque && _this._tryIntegerRgb$1(rgb))
  81591. return;
  81592. t3 = rgb.channel0OrNull;
  81593. red = _this._writeNumberToString$1(t3 == null ? 0 : t3);
  81594. t3 = rgb.channel1OrNull;
  81595. green = _this._writeNumberToString$1(t3 == null ? 0 : t3);
  81596. t3 = rgb.channel2OrNull;
  81597. blue = _this._writeNumberToString$1(t3 == null ? 0 : t3);
  81598. hsl = color.toSpace$1(B.HslColorSpace_JQ2);
  81599. t3 = hsl.channel0OrNull;
  81600. hue = _this._writeNumberToString$1(t3 == null ? 0 : t3);
  81601. t3 = hsl.channel1OrNull;
  81602. saturation = _this._writeNumberToString$1(t3 == null ? 0 : t3);
  81603. t3 = hsl.channel2OrNull;
  81604. lightness = _this._writeNumberToString$1(t3 == null ? 0 : t3);
  81605. t3 = _this._serialize$_buffer;
  81606. if (red.length + green.length + blue.length <= hue.length + saturation.length + lightness.length + 2) {
  81607. t3.write$1(0, opaque ? "rgb(" : "rgba(");
  81608. t3.write$1(0, red);
  81609. t3.writeCharCode$1(44);
  81610. t3.write$1(0, green);
  81611. t3.writeCharCode$1(44);
  81612. t3.write$1(0, blue);
  81613. } else {
  81614. t3.write$1(0, opaque ? "hsl(" : "hsla(");
  81615. t3.write$1(0, hue);
  81616. t3.writeCharCode$1(44);
  81617. t3.write$1(0, saturation);
  81618. t3.write$1(0, "%,");
  81619. t3.write$1(0, lightness);
  81620. t3.writeCharCode$1(37);
  81621. }
  81622. if (!opaque) {
  81623. t3.writeCharCode$1(44);
  81624. _this._writeNumber$1(t2 ? 0 : t1);
  81625. }
  81626. t3.writeCharCode$1(41);
  81627. return;
  81628. }
  81629. t3 = color._space;
  81630. if (t3 === B.HslColorSpace_JQ2) {
  81631. _this._writeHsl$1(color);
  81632. return;
  81633. } else if (_this._inspect && t3 === B.HwbColorSpace_guQ) {
  81634. t3 = _this._serialize$_buffer;
  81635. t3.write$1(0, "hwb(");
  81636. hwb = color.toSpace$1(B.HwbColorSpace_guQ);
  81637. _this._writeNumber$1(hwb.channel$1(0, "hue"));
  81638. t3.writeCharCode$1(32);
  81639. _this._writeNumber$1(hwb.channel$1(0, "whiteness"));
  81640. t3.writeCharCode$1(37);
  81641. t3.writeCharCode$1(32);
  81642. _this._writeNumber$1(hwb.channel$1(0, "blackness"));
  81643. t3.writeCharCode$1(37);
  81644. if (!A.fuzzyEquals(t2 ? 0 : t1, 1)) {
  81645. t3.write$1(0, " / ");
  81646. _this._writeNumber$1(t2 ? 0 : t1);
  81647. }
  81648. t3.writeCharCode$1(41);
  81649. return;
  81650. }
  81651. _0_0 = color.format;
  81652. if (B.C__ColorFormatEnum === _0_0) {
  81653. _this._writeRgb$1(color);
  81654. return;
  81655. }
  81656. t1 = _0_0 instanceof A.SpanColorFormat;
  81657. format = t1 ? _0_0 : null;
  81658. if (t1) {
  81659. t1 = format._color$_span;
  81660. _this._serialize$_buffer.write$1(0, A.String_String$fromCharCodes(B.NativeUint32List_methods.sublist$2(t1.file._decodedChars, t1._file$_start, t1._end), 0, null));
  81661. return;
  81662. }
  81663. if (opaque) {
  81664. rgb = color.toSpace$1(B.RgbColorSpace_i0P);
  81665. _1_0 = $.$get$namesByColor().$index(0, rgb);
  81666. if (_1_0 != null) {
  81667. _this._serialize$_buffer.write$1(0, _1_0);
  81668. return;
  81669. }
  81670. if (_this._canUseHex$1(rgb)) {
  81671. _this._serialize$_buffer.writeCharCode$1(35);
  81672. t1 = rgb.channel0OrNull;
  81673. _this._writeHexComponent$1(B.JSNumber_methods.round$0(t1 == null ? 0 : t1));
  81674. t1 = rgb.channel1OrNull;
  81675. _this._writeHexComponent$1(B.JSNumber_methods.round$0(t1 == null ? 0 : t1));
  81676. t1 = rgb.channel2OrNull;
  81677. _this._writeHexComponent$1(B.JSNumber_methods.round$0(t1 == null ? 0 : t1));
  81678. return;
  81679. }
  81680. }
  81681. if (t3 === B.HwbColorSpace_guQ)
  81682. _this._writeHsl$1(color);
  81683. else
  81684. _this._writeRgb$1(color);
  81685. },
  81686. _tryIntegerRgb$1(rgb) {
  81687. var t1, redInt, greenInt, blueInt, shortHex, _0_0, t2, t3, $name, _this = this;
  81688. if (!_this._canUseHex$1(rgb))
  81689. return false;
  81690. t1 = rgb.channel0OrNull;
  81691. redInt = B.JSNumber_methods.round$0(t1 == null ? 0 : t1);
  81692. t1 = rgb.channel1OrNull;
  81693. greenInt = B.JSNumber_methods.round$0(t1 == null ? 0 : t1);
  81694. t1 = rgb.channel2OrNull;
  81695. blueInt = B.JSNumber_methods.round$0(t1 == null ? 0 : t1);
  81696. t1 = redInt & 15;
  81697. shortHex = t1 === B.JSInt_methods._shrOtherPositive$1(redInt, 4) && (greenInt & 15) === B.JSInt_methods._shrOtherPositive$1(greenInt, 4) && (blueInt & 15) === B.JSInt_methods._shrOtherPositive$1(blueInt, 4);
  81698. _0_0 = $.$get$namesByColor().$index(0, rgb);
  81699. t2 = false;
  81700. if (_0_0 != null) {
  81701. t3 = _0_0.length;
  81702. t2 = t3 <= (shortHex ? 4 : 7);
  81703. $name = _0_0;
  81704. } else
  81705. $name = null;
  81706. if (t2)
  81707. _this._serialize$_buffer.write$1(0, $name);
  81708. else {
  81709. t2 = _this._serialize$_buffer;
  81710. if (shortHex) {
  81711. t2.writeCharCode$1(35);
  81712. t2.writeCharCode$1(A.hexCharFor(t1));
  81713. t2.writeCharCode$1(A.hexCharFor(greenInt & 15));
  81714. t2.writeCharCode$1(A.hexCharFor(blueInt & 15));
  81715. } else {
  81716. t2.writeCharCode$1(35);
  81717. _this._writeHexComponent$1(redInt);
  81718. _this._writeHexComponent$1(greenInt);
  81719. _this._writeHexComponent$1(blueInt);
  81720. }
  81721. }
  81722. return true;
  81723. },
  81724. _canUseHex$1(rgb) {
  81725. var t2,
  81726. t1 = rgb.channel0OrNull;
  81727. if (t1 == null)
  81728. t1 = 0;
  81729. if (A.fuzzyIsInt(t1))
  81730. t1 = (t1 > 0 || A.fuzzyEquals(t1, 0)) && t1 < 256 && !A.fuzzyEquals(t1, 256);
  81731. else
  81732. t1 = false;
  81733. t2 = false;
  81734. if (t1) {
  81735. t1 = rgb.channel1OrNull;
  81736. if (t1 == null)
  81737. t1 = 0;
  81738. if (A.fuzzyIsInt(t1))
  81739. t1 = (t1 > 0 || A.fuzzyEquals(t1, 0)) && t1 < 256 && !A.fuzzyEquals(t1, 256);
  81740. else
  81741. t1 = false;
  81742. if (t1) {
  81743. t1 = rgb.channel2OrNull;
  81744. if (t1 == null)
  81745. t1 = 0;
  81746. if (A.fuzzyIsInt(t1))
  81747. t1 = (t1 > 0 || A.fuzzyEquals(t1, 0)) && t1 < 256 && !A.fuzzyEquals(t1, 256);
  81748. else
  81749. t1 = t2;
  81750. } else
  81751. t1 = t2;
  81752. } else
  81753. t1 = t2;
  81754. return t1;
  81755. },
  81756. _writeRgb$1(color) {
  81757. var t4, _this = this,
  81758. t1 = color.alphaOrNull,
  81759. t2 = t1 == null,
  81760. opaque = A.fuzzyEquals(t2 ? 0 : t1, 1),
  81761. rgb = color.toSpace$1(B.RgbColorSpace_i0P),
  81762. t3 = _this._serialize$_buffer;
  81763. t3.write$1(0, opaque ? "rgb(" : "rgba(");
  81764. _this._writeNumber$1(rgb.channel$1(0, "red"));
  81765. t4 = _this._style === B.OutputStyle_1;
  81766. t3.write$1(0, t4 ? "," : ", ");
  81767. _this._writeNumber$1(rgb.channel$1(0, "green"));
  81768. t3.write$1(0, t4 ? "," : ", ");
  81769. _this._writeNumber$1(rgb.channel$1(0, "blue"));
  81770. if (!opaque) {
  81771. t3.write$1(0, t4 ? "," : ", ");
  81772. _this._writeNumber$1(t2 ? 0 : t1);
  81773. }
  81774. t3.writeCharCode$1(41);
  81775. },
  81776. _writeHsl$1(color) {
  81777. var t4, _this = this,
  81778. t1 = color.alphaOrNull,
  81779. t2 = t1 == null,
  81780. opaque = A.fuzzyEquals(t2 ? 0 : t1, 1),
  81781. hsl = color.toSpace$1(B.HslColorSpace_JQ2),
  81782. t3 = _this._serialize$_buffer;
  81783. t3.write$1(0, opaque ? "hsl(" : "hsla(");
  81784. _this._writeChannel$1(hsl.channel$1(0, "hue"));
  81785. t4 = _this._style === B.OutputStyle_1;
  81786. t3.write$1(0, t4 ? "," : ", ");
  81787. _this._writeChannel$2(hsl.channel$1(0, "saturation"), "%");
  81788. t3.write$1(0, t4 ? "," : ", ");
  81789. _this._writeChannel$2(hsl.channel$1(0, "lightness"), "%");
  81790. if (!opaque) {
  81791. t3.write$1(0, t4 ? "," : ", ");
  81792. _this._writeNumber$1(t2 ? 0 : t1);
  81793. }
  81794. t3.writeCharCode$1(41);
  81795. },
  81796. _writeColorFunction$1(color) {
  81797. var _this = this,
  81798. t1 = _this._serialize$_buffer;
  81799. t1.write$1(0, "color(");
  81800. t1.write$1(0, color._space);
  81801. t1.writeCharCode$1(32);
  81802. _this._writeBetween$3(color.get$channelsOrNull(), " ", _this.get$_writeChannel());
  81803. _this._maybeWriteSlashAlpha$1(color);
  81804. t1.writeCharCode$1(41);
  81805. },
  81806. _writeHexComponent$1(color) {
  81807. var t1 = this._serialize$_buffer;
  81808. t1.writeCharCode$1(A.hexCharFor(B.JSInt_methods._shrOtherPositive$1(color, 4)));
  81809. t1.writeCharCode$1(A.hexCharFor(color & 15));
  81810. },
  81811. _maybeWriteSlashAlpha$1(color) {
  81812. var t2, t3, _this = this,
  81813. t1 = color.alphaOrNull;
  81814. if (A.fuzzyEquals(t1 == null ? 0 : t1, 1))
  81815. return;
  81816. t2 = _this._style !== B.OutputStyle_1;
  81817. if (t2)
  81818. _this._serialize$_buffer.writeCharCode$1(32);
  81819. t3 = _this._serialize$_buffer;
  81820. t3.writeCharCode$1(47);
  81821. if (t2)
  81822. t3.writeCharCode$1(32);
  81823. _this._writeChannel$1(t1);
  81824. },
  81825. visitList$1(value) {
  81826. var t2, singleton, t3, t4, t5, _this = this,
  81827. t1 = value._hasBrackets;
  81828. if (t1)
  81829. _this._serialize$_buffer.writeCharCode$1(91);
  81830. else if (value._list$_contents.length === 0) {
  81831. if (!_this._inspect)
  81832. throw A.wrapException(A.SassScriptException$("() isn't a valid CSS value.", null));
  81833. _this._serialize$_buffer.write$1(0, "()");
  81834. return;
  81835. }
  81836. t2 = _this._inspect;
  81837. singleton = false;
  81838. if (t2)
  81839. if (value._list$_contents.length === 1) {
  81840. t3 = value._separator;
  81841. t3 = t3 === B.ListSeparator_qVN || t3 === B.ListSeparator_bRz;
  81842. singleton = t3;
  81843. }
  81844. if (singleton && !t1)
  81845. _this._serialize$_buffer.writeCharCode$1(40);
  81846. t3 = value._list$_contents;
  81847. t3 = t2 ? t3 : new A.WhereIterable(t3, new A._SerializeVisitor_visitList_closure(), A._arrayInstanceType(t3)._eval$1("WhereIterable<1>"));
  81848. t4 = value._separator;
  81849. t5 = _this._separatorString$1(t4);
  81850. _this._writeBetween$3(t3, t5, t2 ? new A._SerializeVisitor_visitList_closure0(_this, value) : new A._SerializeVisitor_visitList_closure1(_this));
  81851. if (singleton) {
  81852. t2 = _this._serialize$_buffer;
  81853. t2.write$1(0, t4.separator);
  81854. if (!t1)
  81855. t2.writeCharCode$1(41);
  81856. }
  81857. if (t1)
  81858. _this._serialize$_buffer.writeCharCode$1(93);
  81859. },
  81860. _separatorString$1(separator) {
  81861. var t1;
  81862. $label0$0: {
  81863. if (B.ListSeparator_qVN === separator) {
  81864. t1 = this._style === B.OutputStyle_1 ? "," : ", ";
  81865. break $label0$0;
  81866. }
  81867. if (B.ListSeparator_bRz === separator) {
  81868. t1 = this._style === B.OutputStyle_1 ? "/" : " / ";
  81869. break $label0$0;
  81870. }
  81871. if (B.ListSeparator_qSL === separator) {
  81872. t1 = " ";
  81873. break $label0$0;
  81874. }
  81875. t1 = "";
  81876. break $label0$0;
  81877. }
  81878. return t1;
  81879. },
  81880. _elementNeedsParens$2(separator, value) {
  81881. var t1;
  81882. $label1$1: {
  81883. if (value instanceof A.SassList && value._list$_contents.length > 1 && !value._hasBrackets) {
  81884. $label0$0: {
  81885. if (B.ListSeparator_qVN === separator) {
  81886. t1 = value._separator === B.ListSeparator_qVN;
  81887. break $label0$0;
  81888. }
  81889. if (B.ListSeparator_bRz === separator) {
  81890. t1 = value._separator;
  81891. t1 = t1 === B.ListSeparator_qVN || t1 === B.ListSeparator_bRz;
  81892. break $label0$0;
  81893. }
  81894. t1 = value._separator !== B.ListSeparator_undecided_null_undecided;
  81895. break $label0$0;
  81896. }
  81897. break $label1$1;
  81898. }
  81899. t1 = false;
  81900. break $label1$1;
  81901. }
  81902. return t1;
  81903. },
  81904. visitMap$1(map) {
  81905. var t1, t2, _this = this;
  81906. if (!_this._inspect)
  81907. throw A.wrapException(A.SassScriptException$(map.toString$0(0) + " isn't a valid CSS value.", null));
  81908. t1 = _this._serialize$_buffer;
  81909. t1.writeCharCode$1(40);
  81910. t2 = map._map$_contents;
  81911. _this._writeBetween$3(t2.get$entries(t2), ", ", new A._SerializeVisitor_visitMap_closure(_this));
  81912. t1.writeCharCode$1(41);
  81913. },
  81914. _writeMapElement$1(value) {
  81915. var needsParens = value instanceof A.SassList && value._separator === B.ListSeparator_qVN && !value._hasBrackets;
  81916. if (needsParens)
  81917. this._serialize$_buffer.writeCharCode$1(40);
  81918. value.accept$1(this);
  81919. if (needsParens)
  81920. this._serialize$_buffer.writeCharCode$1(41);
  81921. },
  81922. visitNumber$1(value) {
  81923. var before, after, t1, _1_0, _this = this,
  81924. _0_0 = value.asSlash;
  81925. if (type$.Record_2_nullable_Object_and_nullable_Object._is(_0_0)) {
  81926. before = _0_0._0;
  81927. after = _0_0._1;
  81928. _this.visitNumber$1(before);
  81929. _this._serialize$_buffer.writeCharCode$1(47);
  81930. _this.visitNumber$1(after);
  81931. return;
  81932. }
  81933. t1 = value._number$_value;
  81934. if (!isFinite(t1)) {
  81935. _this.visitCalculation$1(new A.SassCalculation("calc", A.List_List$unmodifiable(A._setArrayType([value], type$.JSArray_Object), type$.Object)));
  81936. return;
  81937. }
  81938. if (value.get$hasComplexUnits()) {
  81939. if (!_this._inspect)
  81940. throw A.wrapException(A.SassScriptException$(value.toString$0(0) + " isn't a valid CSS value.", null));
  81941. _this.visitCalculation$1(new A.SassCalculation("calc", A.List_List$unmodifiable(A._setArrayType([value], type$.JSArray_Object), type$.Object)));
  81942. } else {
  81943. _this._writeNumber$1(t1);
  81944. _1_0 = value.get$numeratorUnits(value);
  81945. if (_1_0.length === 1)
  81946. _this._serialize$_buffer.write$1(0, _1_0[0]);
  81947. }
  81948. },
  81949. _writeNumberToString$1(number) {
  81950. var t1 = new A.StringBuffer("");
  81951. this._writeNumber$2(number, new A.NoSourceMapBuffer(t1));
  81952. t1 = t1._contents;
  81953. return t1.charCodeAt(0) == 0 ? t1 : t1;
  81954. },
  81955. _writeNumber$2(number, buffer) {
  81956. var _0_0, text, _this = this;
  81957. if (buffer == null)
  81958. buffer = _this._serialize$_buffer;
  81959. _0_0 = A.fuzzyAsInt(number);
  81960. if (_0_0 != null) {
  81961. buffer.write$1(0, _this._removeExponent$1(B.JSInt_methods.toString$0(_0_0)));
  81962. return;
  81963. }
  81964. text = _this._removeExponent$1(B.JSNumber_methods.toString$0(number));
  81965. if (text.length < 12) {
  81966. buffer.write$1(0, _this._style === B.OutputStyle_1 && text.charCodeAt(0) === 48 ? B.JSString_methods.substring$1(text, 1) : text);
  81967. return;
  81968. }
  81969. _this._writeRounded$2(text, buffer);
  81970. },
  81971. _writeNumber$1(number) {
  81972. return this._writeNumber$2(number, null);
  81973. },
  81974. _removeExponent$1(text) {
  81975. var buffer, t2, t3, additionalZeroes,
  81976. negative = text.charCodeAt(0) === 45,
  81977. exponent = A._Cell$(),
  81978. t1 = text.length,
  81979. i = 0;
  81980. while (true) {
  81981. if (!(i < t1)) {
  81982. buffer = null;
  81983. break;
  81984. }
  81985. c$0: {
  81986. if (text.charCodeAt(i) !== 101)
  81987. break c$0;
  81988. buffer = new A.StringBuffer("");
  81989. t2 = buffer._contents = "" + A.Primitives_stringFromCharCode(text.charCodeAt(0));
  81990. if (negative) {
  81991. t2 += A.Primitives_stringFromCharCode(text.charCodeAt(1));
  81992. buffer._contents = t2;
  81993. if (i > 3)
  81994. buffer._contents = t2 + B.JSString_methods.substring$2(text, 3, i);
  81995. } else if (i > 2)
  81996. buffer._contents = t2 + B.JSString_methods.substring$2(text, 2, i);
  81997. exponent.__late_helper$_value = A.int_parse(B.JSString_methods.substring$2(text, i + 1, t1), null);
  81998. break;
  81999. }
  82000. ++i;
  82001. }
  82002. if (buffer == null)
  82003. return text;
  82004. if (exponent._readLocal$0() > 0) {
  82005. t1 = exponent._readLocal$0();
  82006. t2 = buffer._contents;
  82007. t3 = negative ? 1 : 0;
  82008. additionalZeroes = t1 - (t2.length - 1 - t3);
  82009. for (t1 = t2, i = 0; i < additionalZeroes; ++i) {
  82010. t1 = A.Primitives_stringFromCharCode(48);
  82011. t1 = buffer._contents += t1;
  82012. }
  82013. return t1.charCodeAt(0) == 0 ? t1 : t1;
  82014. } else {
  82015. negative = text.charCodeAt(0) === 45;
  82016. t1 = (negative ? "" + A.Primitives_stringFromCharCode(45) : "") + "0.";
  82017. i = -1;
  82018. while (true) {
  82019. t2 = exponent.__late_helper$_value;
  82020. if (t2 === exponent)
  82021. A.throwExpression(A.LateError$localNI(""));
  82022. if (!(i > t2))
  82023. break;
  82024. t1 += A.Primitives_stringFromCharCode(48);
  82025. --i;
  82026. }
  82027. if (negative) {
  82028. t2 = buffer._contents;
  82029. t2 = B.JSString_methods.substring$1(t2.charCodeAt(0) == 0 ? t2 : t2, 1);
  82030. } else
  82031. t2 = buffer;
  82032. t2 = t1 + A.S(t2);
  82033. return t2.charCodeAt(0) == 0 ? t2 : t2;
  82034. }
  82035. },
  82036. _writeRounded$2(text, buffer) {
  82037. var t1, digits, negative, textIndex, digitsIndex, textIndex0, codeUnit, digitsIndex0, indexAfterPrecision, digitsIndex1, newDigit, writtenIndex;
  82038. if (B.JSString_methods.endsWith$1(text, ".0")) {
  82039. buffer.write$1(0, B.JSString_methods.substring$2(text, 0, text.length - 2));
  82040. return;
  82041. }
  82042. t1 = text.length;
  82043. digits = new Uint8Array(t1 + 1);
  82044. negative = text.charCodeAt(0) === 45;
  82045. textIndex = negative ? 1 : 0;
  82046. for (digitsIndex = 1; true; textIndex = textIndex0, digitsIndex = digitsIndex0) {
  82047. if (textIndex === t1) {
  82048. buffer.write$1(0, text);
  82049. return;
  82050. }
  82051. textIndex0 = textIndex + 1;
  82052. codeUnit = text.charCodeAt(textIndex);
  82053. if (codeUnit === 46) {
  82054. textIndex = textIndex0;
  82055. break;
  82056. }
  82057. digitsIndex0 = digitsIndex + 1;
  82058. digits[digitsIndex] = codeUnit - 48;
  82059. }
  82060. indexAfterPrecision = textIndex + 10;
  82061. if (indexAfterPrecision >= t1) {
  82062. buffer.write$1(0, text);
  82063. return;
  82064. }
  82065. for (digitsIndex0 = digitsIndex; textIndex < indexAfterPrecision; textIndex = textIndex0, digitsIndex0 = digitsIndex1) {
  82066. digitsIndex1 = digitsIndex0 + 1;
  82067. textIndex0 = textIndex + 1;
  82068. digits[digitsIndex0] = text.charCodeAt(textIndex) - 48;
  82069. }
  82070. if (text.charCodeAt(textIndex) - 48 >= 5)
  82071. for (; true; digitsIndex0 = digitsIndex1) {
  82072. digitsIndex1 = digitsIndex0 - 1;
  82073. newDigit = digits[digitsIndex1] + 1;
  82074. digits[digitsIndex1] = newDigit;
  82075. if (newDigit !== 10)
  82076. break;
  82077. }
  82078. for (; digitsIndex0 < digitsIndex; ++digitsIndex0)
  82079. digits[digitsIndex0] = 0;
  82080. while (true) {
  82081. t1 = digitsIndex0 > digitsIndex;
  82082. if (!(t1 && digits[digitsIndex0 - 1] === 0))
  82083. break;
  82084. --digitsIndex0;
  82085. }
  82086. if (digitsIndex0 === 2 && digits[0] === 0 && digits[1] === 0) {
  82087. buffer.writeCharCode$1(48);
  82088. return;
  82089. }
  82090. if (negative)
  82091. buffer.writeCharCode$1(45);
  82092. if (digits[0] === 0)
  82093. writtenIndex = this._style === B.OutputStyle_1 && digits[1] === 0 ? 2 : 1;
  82094. else
  82095. writtenIndex = 0;
  82096. for (; writtenIndex < digitsIndex; ++writtenIndex)
  82097. buffer.writeCharCode$1(48 + digits[writtenIndex]);
  82098. if (t1) {
  82099. buffer.writeCharCode$1(46);
  82100. for (; writtenIndex < digitsIndex0; ++writtenIndex)
  82101. buffer.writeCharCode$1(48 + digits[writtenIndex]);
  82102. }
  82103. },
  82104. _visitQuotedString$2$forceDoubleQuote(string, forceDoubleQuote) {
  82105. var t1, includesSingleQuote, includesDoubleQuote, i, char, _1_2, _1_4, _0_0, quote, _this = this,
  82106. buffer = forceDoubleQuote ? _this._serialize$_buffer : new A.StringBuffer("");
  82107. if (forceDoubleQuote)
  82108. buffer.writeCharCode$1(34);
  82109. for (t1 = string.length, includesSingleQuote = false, includesDoubleQuote = false, i = 0; i < t1; ++i) {
  82110. char = string.charCodeAt(i);
  82111. _1_2 = 39 === char;
  82112. if (_1_2 && forceDoubleQuote) {
  82113. buffer.writeCharCode$1(39);
  82114. continue;
  82115. }
  82116. if (_1_2 && includesDoubleQuote) {
  82117. _this._visitQuotedString$2$forceDoubleQuote(string, true);
  82118. return;
  82119. }
  82120. if (_1_2) {
  82121. buffer.writeCharCode$1(39);
  82122. includesSingleQuote = true;
  82123. continue;
  82124. }
  82125. _1_4 = 34 === char;
  82126. if (_1_4 && forceDoubleQuote) {
  82127. buffer.writeCharCode$1(92);
  82128. buffer.writeCharCode$1(34);
  82129. continue;
  82130. }
  82131. if (_1_4 && includesSingleQuote) {
  82132. _this._visitQuotedString$2$forceDoubleQuote(string, true);
  82133. return;
  82134. }
  82135. if (_1_4) {
  82136. buffer.writeCharCode$1(34);
  82137. includesDoubleQuote = true;
  82138. continue;
  82139. }
  82140. if (0 === char || 1 === char || 2 === char || 3 === char || 4 === char || 5 === char || 6 === char || 7 === char || 8 === char || 10 === char || 11 === char || 12 === char || 13 === char || 14 === char || 15 === char || 16 === char || 17 === char || 18 === char || 19 === char || 20 === char || 21 === char || 22 === char || 23 === char || 24 === char || 25 === char || 26 === char || 27 === char || 28 === char || 29 === char || 30 === char || 31 === char || 127 === char) {
  82141. _this._writeEscape$4(buffer, char, string, i);
  82142. continue;
  82143. }
  82144. if (92 === char) {
  82145. buffer.writeCharCode$1(92);
  82146. buffer.writeCharCode$1(92);
  82147. continue;
  82148. }
  82149. _0_0 = _this._tryPrivateUseCharacter$4(buffer, char, string, i);
  82150. if (_0_0 != null)
  82151. i = _0_0;
  82152. else
  82153. buffer.writeCharCode$1(char);
  82154. }
  82155. if (forceDoubleQuote)
  82156. buffer.writeCharCode$1(34);
  82157. else {
  82158. quote = includesDoubleQuote ? 39 : 34;
  82159. t1 = _this._serialize$_buffer;
  82160. t1.writeCharCode$1(quote);
  82161. t1.write$1(0, buffer);
  82162. t1.writeCharCode$1(quote);
  82163. }
  82164. },
  82165. _visitQuotedString$1(string) {
  82166. return this._visitQuotedString$2$forceDoubleQuote(string, false);
  82167. },
  82168. _visitUnquotedString$1(string) {
  82169. var t1, t2, afterNewline, i, _1_0, _0_0;
  82170. for (t1 = string.length, t2 = this._serialize$_buffer, afterNewline = false, i = 0; i < t1; ++i) {
  82171. _1_0 = string.charCodeAt(i);
  82172. if (10 === _1_0) {
  82173. t2.writeCharCode$1(32);
  82174. afterNewline = true;
  82175. continue;
  82176. }
  82177. if (32 === _1_0) {
  82178. if (!afterNewline)
  82179. t2.writeCharCode$1(32);
  82180. continue;
  82181. }
  82182. _0_0 = this._tryPrivateUseCharacter$4(t2, _1_0, string, i);
  82183. if (_0_0 != null)
  82184. i = _0_0;
  82185. else
  82186. t2.writeCharCode$1(_1_0);
  82187. afterNewline = false;
  82188. }
  82189. },
  82190. _tryPrivateUseCharacter$4(buffer, codeUnit, string, i) {
  82191. var t1;
  82192. if (this._style === B.OutputStyle_1)
  82193. return null;
  82194. if (codeUnit >= 57344 && codeUnit <= 63743) {
  82195. this._writeEscape$4(buffer, codeUnit, string, i);
  82196. return i;
  82197. }
  82198. if (codeUnit >>> 7 === 439 && string.length > i + 1) {
  82199. t1 = i + 1;
  82200. this._writeEscape$4(buffer, 65536 + ((codeUnit & 1023) << 10) + (string.charCodeAt(t1) & 1023), string, t1);
  82201. return t1;
  82202. }
  82203. return null;
  82204. },
  82205. _writeEscape$4(buffer, character, string, i) {
  82206. var t1, next;
  82207. buffer.writeCharCode$1(92);
  82208. buffer.write$1(0, B.JSInt_methods.toRadixString$1(character, 16));
  82209. t1 = i + 1;
  82210. if (string.length === t1)
  82211. return;
  82212. next = string.charCodeAt(t1);
  82213. if (A.CharacterExtension_get_isHex(next) || 32 === next || 9 === next)
  82214. buffer.writeCharCode$1(32);
  82215. },
  82216. visitAttributeSelector$1(attribute) {
  82217. var _0_0, t2,
  82218. t1 = this._serialize$_buffer;
  82219. t1.writeCharCode$1(91);
  82220. t1.write$1(0, attribute.name);
  82221. _0_0 = attribute.value;
  82222. if (_0_0 != null) {
  82223. t1.write$1(0, attribute.op);
  82224. if (A.Parser_isIdentifier(_0_0) && !B.JSString_methods.startsWith$1(_0_0, "--")) {
  82225. t1.write$1(0, _0_0);
  82226. t2 = attribute.modifier;
  82227. if (t2 != null)
  82228. t1.writeCharCode$1(32);
  82229. } else {
  82230. this._visitQuotedString$1(_0_0);
  82231. t2 = attribute.modifier;
  82232. if (t2 != null)
  82233. if (this._style !== B.OutputStyle_1)
  82234. t1.writeCharCode$1(32);
  82235. }
  82236. A.NullableExtension_andThen(t2, t1.get$write(t1));
  82237. }
  82238. t1.writeCharCode$1(93);
  82239. },
  82240. visitClassSelector$1(klass) {
  82241. var t1 = this._serialize$_buffer;
  82242. t1.writeCharCode$1(46);
  82243. t1.write$1(0, klass.name);
  82244. },
  82245. visitComplexSelector$1(complex) {
  82246. var t2, t3, t4, t5, t6, i, component, t7, t8, t9, _this = this,
  82247. t1 = complex.leadingCombinators;
  82248. _this._writeCombinators$1(t1);
  82249. if (t1.length >= 1 && complex.components.length >= 1)
  82250. if (_this._style !== B.OutputStyle_1)
  82251. _this._serialize$_buffer.writeCharCode$1(32);
  82252. 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) {
  82253. component = t1[i];
  82254. _this.visitCompoundSelector$1(component.selector);
  82255. t7 = component.combinators;
  82256. t8 = t7.length === 0;
  82257. if (!t8)
  82258. if (t6)
  82259. t4.writeCharCode$1(32);
  82260. t9 = t5 ? "" : " ";
  82261. _this._writeBetween$3(t7, t9, t4.get$write(t4));
  82262. if (i !== t3)
  82263. t7 = !t5 || t8;
  82264. else
  82265. t7 = false;
  82266. if (t7)
  82267. t4.writeCharCode$1(32);
  82268. }
  82269. },
  82270. _writeCombinators$1(combinators) {
  82271. var t1 = this._style === B.OutputStyle_1 ? "" : " ",
  82272. t2 = this._serialize$_buffer;
  82273. return this._writeBetween$3(combinators, t1, t2.get$write(t2));
  82274. },
  82275. visitCompoundSelector$1(compound) {
  82276. var t2, t3, _i,
  82277. t1 = this._serialize$_buffer,
  82278. start = t1.get$length(t1);
  82279. for (t2 = compound.components, t3 = t2.length, _i = 0; _i < t3; ++_i)
  82280. t2[_i].accept$1(this);
  82281. if (t1.get$length(t1) === start)
  82282. t1.writeCharCode$1(42);
  82283. },
  82284. visitIDSelector$1(id) {
  82285. var t1 = this._serialize$_buffer;
  82286. t1.writeCharCode$1(35);
  82287. t1.write$1(0, id.name);
  82288. },
  82289. visitSelectorList$1(list) {
  82290. var t1, t2, t3, first, t4, _this = this,
  82291. complexes = list.components;
  82292. 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();) {
  82293. t4 = t1.get$current(t1);
  82294. if (first)
  82295. first = false;
  82296. else {
  82297. t3.writeCharCode$1(44);
  82298. if (t4.lineBreak) {
  82299. if (t2)
  82300. t3.write$1(0, "\n");
  82301. _this._writeIndentation$0();
  82302. } else if (t2)
  82303. t3.writeCharCode$1(32);
  82304. }
  82305. _this.visitComplexSelector$1(t4);
  82306. }
  82307. },
  82308. visitParentSelector$1($parent) {
  82309. var t1 = this._serialize$_buffer;
  82310. t1.writeCharCode$1(38);
  82311. A.NullableExtension_andThen($parent.suffix, t1.get$write(t1));
  82312. },
  82313. visitPlaceholderSelector$1(placeholder) {
  82314. var t1 = this._serialize$_buffer;
  82315. t1.writeCharCode$1(37);
  82316. t1.write$1(0, placeholder.name);
  82317. },
  82318. visitPseudoSelector$1(pseudo) {
  82319. var _0_4, t3,
  82320. t1 = pseudo.name,
  82321. t2 = false;
  82322. if ("not" === t1) {
  82323. _0_4 = pseudo.selector;
  82324. if (_0_4 instanceof A.SelectorList)
  82325. t2 = (_0_4 == null ? type$.SelectorList._as(_0_4) : _0_4).accept$1(B._IsInvisibleVisitor_true);
  82326. }
  82327. if (t2)
  82328. return;
  82329. t2 = this._serialize$_buffer;
  82330. t2.writeCharCode$1(58);
  82331. if (!pseudo.isSyntacticClass)
  82332. t2.writeCharCode$1(58);
  82333. t2.write$1(0, t1);
  82334. t1 = pseudo.argument;
  82335. t3 = t1 == null;
  82336. if (t3 && pseudo.selector == null)
  82337. return;
  82338. t2.writeCharCode$1(40);
  82339. if (!t3) {
  82340. t2.write$1(0, t1);
  82341. if (pseudo.selector != null)
  82342. t2.writeCharCode$1(32);
  82343. }
  82344. A.NullableExtension_andThen(pseudo.selector, this.get$visitSelectorList());
  82345. t2.writeCharCode$1(41);
  82346. },
  82347. visitTypeSelector$1(type) {
  82348. this._serialize$_buffer.write$1(0, type.name);
  82349. },
  82350. visitUniversalSelector$1(universal) {
  82351. var t2,
  82352. t1 = universal.namespace;
  82353. if (t1 != null) {
  82354. t2 = this._serialize$_buffer;
  82355. t2.write$1(0, t1);
  82356. t2.writeCharCode$1(124);
  82357. }
  82358. this._serialize$_buffer.writeCharCode$1(42);
  82359. },
  82360. _serialize$_write$1(value) {
  82361. return this._serialize$_buffer.forSpan$2(value.span, new A._SerializeVisitor__write_closure(this, value));
  82362. },
  82363. _serialize$_visitChildren$1($parent) {
  82364. var t2, t3, t4, t5, t6, t7, prePrevious, previous, t8, previous0, t9, savedIndentation, _this = this,
  82365. t1 = _this._serialize$_buffer;
  82366. t1.writeCharCode$1(123);
  82367. for (t2 = $parent.children, t3 = t2.$ti, t2 = new A.ListIterator(t2, t2.get$length(0), t3._eval$1("ListIterator<ListBase.E>")), t4 = _this._style === B.OutputStyle_1, t5 = !t4, t6 = _this.get$_requiresSemicolon(), t7 = !_this._inspect, t3 = t3._eval$1("ListBase.E"), prePrevious = null, previous = null; t2.moveNext$0();) {
  82368. t8 = t2.__internal$_current;
  82369. previous0 = t8 == null ? t3._as(t8) : t8;
  82370. if (t7)
  82371. t8 = t4 ? previous0.accept$1(B._IsInvisibleVisitor_true_true) : previous0.accept$1(B._IsInvisibleVisitor_true_false);
  82372. else
  82373. t8 = false;
  82374. if (t8)
  82375. continue;
  82376. t8 = previous == null;
  82377. t9 = t8 ? null : t6.call$1(previous);
  82378. if (t9 == null ? false : t9)
  82379. t1.writeCharCode$1(59);
  82380. if (_this._isTrailingComment$2(previous0, t8 ? $parent : previous)) {
  82381. if (t5)
  82382. t1.writeCharCode$1(32);
  82383. savedIndentation = _this._indentation;
  82384. _this._indentation = 0;
  82385. new A._SerializeVisitor__visitChildren_closure(_this, previous0).call$0();
  82386. _this._indentation = savedIndentation;
  82387. } else {
  82388. if (t5)
  82389. t1.write$1(0, "\n");
  82390. ++_this._indentation;
  82391. new A._SerializeVisitor__visitChildren_closure0(_this, previous0).call$0();
  82392. --_this._indentation;
  82393. }
  82394. prePrevious = previous;
  82395. previous = previous0;
  82396. }
  82397. if (previous != null) {
  82398. if ((type$.CssParentNode._is(previous) ? previous.get$isChildless() : !(previous instanceof A.ModifiableCssComment)) && t5)
  82399. t1.writeCharCode$1(59);
  82400. if (prePrevious == null && _this._isTrailingComment$2(previous, $parent)) {
  82401. if (t5)
  82402. t1.writeCharCode$1(32);
  82403. } else {
  82404. _this._writeLineFeed$0();
  82405. _this._writeIndentation$0();
  82406. }
  82407. }
  82408. t1.writeCharCode$1(125);
  82409. },
  82410. _requiresSemicolon$1(node) {
  82411. return type$.CssParentNode._is(node) ? node.get$isChildless() : !(node instanceof A.ModifiableCssComment);
  82412. },
  82413. _isTrailingComment$2(node, previous) {
  82414. var t1, t2, t3, t4, searchFrom, endOffset, t5, span;
  82415. if (this._style === B.OutputStyle_1)
  82416. return false;
  82417. if (!(node instanceof A.ModifiableCssComment))
  82418. return false;
  82419. t1 = node.span;
  82420. t2 = t1.file;
  82421. t3 = t2.url;
  82422. t4 = previous.get$span(previous);
  82423. if (!J.$eq$(t3, t4.get$sourceUrl(t4)))
  82424. return false;
  82425. t4 = previous.get$span(previous);
  82426. if (!(J.$eq$(t4.get$file(t4).url, t3) && t4.get$start(t4).offset <= A.FileLocation$_(t2, t1._file$_start).offset && t4.get$end(t4).offset >= A.FileLocation$_(t2, t1._end).offset)) {
  82427. t1 = A.FileLocation$_(t2, t1._file$_start);
  82428. t1 = t1.file.getLine$1(t1.offset);
  82429. t2 = previous.get$span(previous);
  82430. t2 = t2.get$end(t2);
  82431. return t1 === t2.file.getLine$1(t2.offset);
  82432. }
  82433. t1 = t1._file$_start;
  82434. t3 = A.FileLocation$_(t2, t1);
  82435. t4 = previous.get$span(previous);
  82436. searchFrom = t3.offset - t4.get$start(t4).offset - 1;
  82437. if (searchFrom < 0)
  82438. return false;
  82439. endOffset = Math.max(0, B.JSString_methods.lastIndexOf$2(previous.get$span(previous).get$text(), "{", searchFrom));
  82440. t3 = previous.get$span(previous);
  82441. t3 = t3.get$file(t3);
  82442. t4 = previous.get$span(previous);
  82443. t4 = t4.get$start(t4);
  82444. t5 = previous.get$span(previous);
  82445. span = t3.span$2(0, t4.offset, t5.get$start(t5).offset + endOffset);
  82446. t1 = A.FileLocation$_(t2, t1);
  82447. t1 = t1.file.getLine$1(t1.offset);
  82448. t2 = A.FileLocation$_(span.file, span._end);
  82449. return t1 === t2.file.getLine$1(t2.offset);
  82450. },
  82451. _writeLineFeed$0() {
  82452. if (this._style !== B.OutputStyle_1)
  82453. this._serialize$_buffer.write$1(0, "\n");
  82454. },
  82455. _writeIndentation$0() {
  82456. var _this = this;
  82457. if (_this._style === B.OutputStyle_1)
  82458. return;
  82459. _this._writeTimes$2(_this._indentCharacter, _this._indentation * _this._indentWidth);
  82460. },
  82461. _writeTimes$2(char, times) {
  82462. var t1, i;
  82463. for (t1 = this._serialize$_buffer, i = 0; i < times; ++i)
  82464. t1.writeCharCode$1(char);
  82465. },
  82466. _writeBetween$1$3(iterable, text, callback) {
  82467. var t1, t2, first, value;
  82468. for (t1 = J.get$iterator$ax(iterable), t2 = this._serialize$_buffer, first = true; t1.moveNext$0();) {
  82469. value = t1.get$current(t1);
  82470. if (first)
  82471. first = false;
  82472. else
  82473. t2.write$1(0, text);
  82474. callback.call$1(value);
  82475. }
  82476. },
  82477. _writeBetween$3(iterable, text, callback) {
  82478. callback.toString;
  82479. return this._writeBetween$1$3(iterable, text, callback, type$.dynamic);
  82480. }
  82481. };
  82482. A._SerializeVisitor_visitCssComment_closure.prototype = {
  82483. call$0() {
  82484. var t2, t3, _0_0, minimumIndentation,
  82485. t1 = this.$this;
  82486. if (t1._style === B.OutputStyle_1 && this.node.text.charCodeAt(2) !== 33)
  82487. return;
  82488. t2 = this.node;
  82489. t3 = t2.text;
  82490. if (B.JSString_methods.startsWith$1(t3, A.RegExp_RegExp("/\\*# source(Mapping)?URL=", false)))
  82491. return;
  82492. _0_0 = t1._minimumIndentation$1(t3);
  82493. if (_0_0 != null) {
  82494. t2 = t2.span;
  82495. t2 = A.FileLocation$_(t2.file, t2._file$_start);
  82496. minimumIndentation = Math.min(_0_0, t2.file.getColumn$1(t2.offset));
  82497. t1._writeIndentation$0();
  82498. t1._writeWithIndent$2(t3, minimumIndentation);
  82499. } else {
  82500. t1._writeIndentation$0();
  82501. t1._serialize$_buffer.write$1(0, t3);
  82502. }
  82503. },
  82504. $signature: 1
  82505. };
  82506. A._SerializeVisitor_visitCssAtRule_closure.prototype = {
  82507. call$0() {
  82508. var t3, _0_0,
  82509. t1 = this.$this,
  82510. t2 = t1._serialize$_buffer;
  82511. t2.writeCharCode$1(64);
  82512. t3 = this.node;
  82513. t1._serialize$_write$1(t3.name);
  82514. _0_0 = t3.value;
  82515. if (_0_0 != null) {
  82516. t2.writeCharCode$1(32);
  82517. t1._serialize$_write$1(_0_0);
  82518. }
  82519. },
  82520. $signature: 1
  82521. };
  82522. A._SerializeVisitor_visitCssMediaRule_closure.prototype = {
  82523. call$0() {
  82524. var t3, firstQuery, t4, t5,
  82525. t1 = this.$this,
  82526. t2 = t1._serialize$_buffer;
  82527. t2.write$1(0, "@media");
  82528. t3 = this.node.queries;
  82529. firstQuery = B.JSArray_methods.get$first(t3);
  82530. t4 = t1._style === B.OutputStyle_1;
  82531. t5 = true;
  82532. if (t4)
  82533. if (firstQuery.modifier == null)
  82534. if (firstQuery.type == null) {
  82535. t5 = firstQuery.conditions;
  82536. t5 = t5.length === 1 && J.startsWith$1$s(B.JSArray_methods.get$first(t5), "(not ");
  82537. }
  82538. if (t5)
  82539. t2.writeCharCode$1(32);
  82540. t2 = t4 ? "," : ", ";
  82541. t1._writeBetween$3(t3, t2, t1.get$_visitMediaQuery());
  82542. },
  82543. $signature: 1
  82544. };
  82545. A._SerializeVisitor_visitCssImport_closure.prototype = {
  82546. call$0() {
  82547. var t3, t4, _0_0,
  82548. t1 = this.$this,
  82549. t2 = t1._serialize$_buffer;
  82550. t2.write$1(0, "@import");
  82551. t3 = t1._style !== B.OutputStyle_1;
  82552. if (t3)
  82553. t2.writeCharCode$1(32);
  82554. t4 = this.node;
  82555. t2.forSpan$2(t4.url.span, new A._SerializeVisitor_visitCssImport__closure(t1, t4));
  82556. _0_0 = t4.modifiers;
  82557. if (_0_0 != null) {
  82558. if (t3)
  82559. t2.writeCharCode$1(32);
  82560. t2.write$1(0, _0_0);
  82561. }
  82562. },
  82563. $signature: 1
  82564. };
  82565. A._SerializeVisitor_visitCssImport__closure.prototype = {
  82566. call$0() {
  82567. return this.$this._writeImportUrl$1(this.node.url.value);
  82568. },
  82569. $signature: 0
  82570. };
  82571. A._SerializeVisitor_visitCssKeyframeBlock_closure.prototype = {
  82572. call$0() {
  82573. var t1 = this.$this,
  82574. t2 = t1._style === B.OutputStyle_1 ? "," : ", ",
  82575. t3 = t1._serialize$_buffer;
  82576. return t1._writeBetween$3(this.node.selector.value, t2, t3.get$write(t3));
  82577. },
  82578. $signature: 0
  82579. };
  82580. A._SerializeVisitor_visitCssStyleRule_closure.prototype = {
  82581. call$0() {
  82582. return this.$this.visitSelectorList$1(this.node._style_rule$_selector._box$_inner.value);
  82583. },
  82584. $signature: 0
  82585. };
  82586. A._SerializeVisitor_visitCssSupportsRule_closure.prototype = {
  82587. call$0() {
  82588. var t1 = this.$this,
  82589. t2 = t1._serialize$_buffer;
  82590. t2.write$1(0, "@supports");
  82591. if (!(t1._style === B.OutputStyle_1 && J.codeUnitAt$1$s(this.node.condition.value, 0) === 40))
  82592. t2.writeCharCode$1(32);
  82593. t1._serialize$_write$1(this.node.condition);
  82594. },
  82595. $signature: 1
  82596. };
  82597. A._SerializeVisitor_visitCssDeclaration_closure.prototype = {
  82598. call$0() {
  82599. var t1 = this.$this,
  82600. t2 = this.node;
  82601. if (t1._style === B.OutputStyle_1)
  82602. t1._writeFoldedValue$1(t2);
  82603. else
  82604. t1._writeReindentedValue$1(t2);
  82605. },
  82606. $signature: 1
  82607. };
  82608. A._SerializeVisitor_visitCssDeclaration_closure0.prototype = {
  82609. call$0() {
  82610. return this.node.value.value.accept$1(this.$this);
  82611. },
  82612. $signature: 0
  82613. };
  82614. A._SerializeVisitor_visitList_closure.prototype = {
  82615. call$1(element) {
  82616. return !element.get$isBlank();
  82617. },
  82618. $signature: 72
  82619. };
  82620. A._SerializeVisitor_visitList_closure0.prototype = {
  82621. call$1(element) {
  82622. var t1 = this.$this,
  82623. needsParens = t1._elementNeedsParens$2(this.value._separator, element);
  82624. if (needsParens)
  82625. t1._serialize$_buffer.writeCharCode$1(40);
  82626. element.accept$1(t1);
  82627. if (needsParens)
  82628. t1._serialize$_buffer.writeCharCode$1(41);
  82629. },
  82630. $signature: 61
  82631. };
  82632. A._SerializeVisitor_visitList_closure1.prototype = {
  82633. call$1(element) {
  82634. element.accept$1(this.$this);
  82635. },
  82636. $signature: 61
  82637. };
  82638. A._SerializeVisitor_visitMap_closure.prototype = {
  82639. call$1(entry) {
  82640. var t1 = this.$this;
  82641. t1._writeMapElement$1(entry.key);
  82642. t1._serialize$_buffer.write$1(0, ": ");
  82643. t1._writeMapElement$1(entry.value);
  82644. },
  82645. $signature: 280
  82646. };
  82647. A._SerializeVisitor_visitSelectorList_closure.prototype = {
  82648. call$1(complex) {
  82649. return !complex.accept$1(B._IsInvisibleVisitor_true);
  82650. },
  82651. $signature: 20
  82652. };
  82653. A._SerializeVisitor__write_closure.prototype = {
  82654. call$0() {
  82655. return this.$this._serialize$_buffer.write$1(0, this.value.value);
  82656. },
  82657. $signature: 0
  82658. };
  82659. A._SerializeVisitor__visitChildren_closure.prototype = {
  82660. call$0() {
  82661. return this.child.accept$1(this.$this);
  82662. },
  82663. $signature: 0
  82664. };
  82665. A._SerializeVisitor__visitChildren_closure0.prototype = {
  82666. call$0() {
  82667. this.child.accept$1(this.$this);
  82668. },
  82669. $signature: 0
  82670. };
  82671. A.OutputStyle.prototype = {
  82672. _enumToString$0() {
  82673. return "OutputStyle." + this._name;
  82674. }
  82675. };
  82676. A.LineFeed.prototype = {
  82677. _enumToString$0() {
  82678. return "LineFeed." + this._name;
  82679. },
  82680. toString$0(_) {
  82681. return "lf";
  82682. }
  82683. };
  82684. A.StatementSearchVisitor.prototype = {
  82685. visitAtRootRule$1(_, node) {
  82686. return this.visitChildren$1(node.children);
  82687. },
  82688. visitAtRule$1(_, node) {
  82689. return A.NullableExtension_andThen(node.children, this.get$visitChildren());
  82690. },
  82691. visitContentBlock$1(_, node) {
  82692. return this.visitChildren$1(node.children);
  82693. },
  82694. visitContentRule$1(_, node) {
  82695. return null;
  82696. },
  82697. visitDebugRule$1(_, node) {
  82698. return null;
  82699. },
  82700. visitDeclaration$1(_, node) {
  82701. return A.NullableExtension_andThen(node.children, this.get$visitChildren());
  82702. },
  82703. visitEachRule$1(_, node) {
  82704. return this.visitChildren$1(node.children);
  82705. },
  82706. visitErrorRule$1(_, node) {
  82707. return null;
  82708. },
  82709. visitExtendRule$1(_, node) {
  82710. return null;
  82711. },
  82712. visitForRule$1(_, node) {
  82713. return this.visitChildren$1(node.children);
  82714. },
  82715. visitForwardRule$1(_, node) {
  82716. return null;
  82717. },
  82718. visitFunctionRule$1(_, node) {
  82719. return this.visitChildren$1(node.children);
  82720. },
  82721. visitIfRule$1(_, node) {
  82722. var t1 = A.IterableExtension_search(node.clauses, new A.StatementSearchVisitor_visitIfRule_closure(this));
  82723. return t1 == null ? A.NullableExtension_andThen(node.lastClause, new A.StatementSearchVisitor_visitIfRule_closure0(this)) : t1;
  82724. },
  82725. visitImportRule$1(_, node) {
  82726. return null;
  82727. },
  82728. visitIncludeRule$1(_, node) {
  82729. return A.NullableExtension_andThen(node.content, this.get$visitContentBlock(this));
  82730. },
  82731. visitLoudComment$1(_, node) {
  82732. return null;
  82733. },
  82734. visitMediaRule$1(_, node) {
  82735. return this.visitChildren$1(node.children);
  82736. },
  82737. visitMixinRule$1(_, node) {
  82738. return this.visitChildren$1(node.children);
  82739. },
  82740. visitReturnRule$1(_, node) {
  82741. return null;
  82742. },
  82743. visitSilentComment$1(_, node) {
  82744. return null;
  82745. },
  82746. visitStyleRule$1(_, node) {
  82747. return this.visitChildren$1(node.children);
  82748. },
  82749. visitStylesheet$1(_, node) {
  82750. return this.visitChildren$1(node.children);
  82751. },
  82752. visitSupportsRule$1(_, node) {
  82753. return this.visitChildren$1(node.children);
  82754. },
  82755. visitUseRule$1(_, node) {
  82756. return null;
  82757. },
  82758. visitVariableDeclaration$1(_, node) {
  82759. return null;
  82760. },
  82761. visitWarnRule$1(_, node) {
  82762. return null;
  82763. },
  82764. visitWhileRule$1(_, node) {
  82765. return this.visitChildren$1(node.children);
  82766. },
  82767. visitChildren$1(children) {
  82768. return A.IterableExtension_search(children, new A.StatementSearchVisitor_visitChildren_closure(this));
  82769. }
  82770. };
  82771. A.StatementSearchVisitor_visitIfRule_closure.prototype = {
  82772. call$1(clause) {
  82773. return A.IterableExtension_search(clause.children, new A.StatementSearchVisitor_visitIfRule__closure0(this.$this));
  82774. },
  82775. $signature() {
  82776. return A._instanceType(this.$this)._eval$1("StatementSearchVisitor.T?(IfClause)");
  82777. }
  82778. };
  82779. A.StatementSearchVisitor_visitIfRule__closure0.prototype = {
  82780. call$1(child) {
  82781. return child.accept$1(this.$this);
  82782. },
  82783. $signature() {
  82784. return A._instanceType(this.$this)._eval$1("StatementSearchVisitor.T?(Statement)");
  82785. }
  82786. };
  82787. A.StatementSearchVisitor_visitIfRule_closure0.prototype = {
  82788. call$1(lastClause) {
  82789. return A.IterableExtension_search(lastClause.children, new A.StatementSearchVisitor_visitIfRule__closure(this.$this));
  82790. },
  82791. $signature() {
  82792. return A._instanceType(this.$this)._eval$1("StatementSearchVisitor.T?(ElseClause)");
  82793. }
  82794. };
  82795. A.StatementSearchVisitor_visitIfRule__closure.prototype = {
  82796. call$1(child) {
  82797. return child.accept$1(this.$this);
  82798. },
  82799. $signature() {
  82800. return A._instanceType(this.$this)._eval$1("StatementSearchVisitor.T?(Statement)");
  82801. }
  82802. };
  82803. A.StatementSearchVisitor_visitChildren_closure.prototype = {
  82804. call$1(child) {
  82805. return child.accept$1(this.$this);
  82806. },
  82807. $signature() {
  82808. return A._instanceType(this.$this)._eval$1("StatementSearchVisitor.T?(Statement)");
  82809. }
  82810. };
  82811. A.Entry.prototype = {
  82812. compareTo$1(_, other) {
  82813. var t1, t2,
  82814. res = this.target.compareTo$1(0, other.target);
  82815. if (res !== 0)
  82816. return res;
  82817. t1 = this.source;
  82818. t2 = other.source;
  82819. res = B.JSString_methods.compareTo$1(J.toString$0$(t1.file.url), J.toString$0$(t2.file.url));
  82820. if (res !== 0)
  82821. return res;
  82822. return t1.compareTo$1(0, t2);
  82823. },
  82824. $isComparable: 1
  82825. };
  82826. A.Mapping.prototype = {};
  82827. A.SingleMapping.prototype = {
  82828. toJson$1$includeSourceContents(includeSourceContents) {
  82829. 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,
  82830. buff = new A.StringBuffer("");
  82831. 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) {
  82832. entry = t1[_i];
  82833. nextLine = entry.line;
  82834. if (nextLine > line) {
  82835. for (i = line; i < nextLine; ++i)
  82836. buff._contents += ";";
  82837. line = nextLine;
  82838. column = 0;
  82839. first = true;
  82840. }
  82841. for (t3 = J.get$iterator$ax(entry.entries); t3.moveNext$0(); column = column0, first = false) {
  82842. t4 = t3.get$current(t3);
  82843. if (!first)
  82844. buff._contents += ",";
  82845. column0 = t4.column;
  82846. t5 = A.encodeVlq(column0 - column);
  82847. t5 = A.StringBuffer__writeAll(buff._contents, t5, "");
  82848. buff._contents = t5;
  82849. newUrlId = t4.sourceUrlId;
  82850. t5 = A.StringBuffer__writeAll(t5, A.encodeVlq(newUrlId - srcUrlId), "");
  82851. buff._contents = t5;
  82852. srcLine0 = t4.sourceLine;
  82853. t5 = A.StringBuffer__writeAll(t5, A.encodeVlq(srcLine0 - srcLine), "");
  82854. buff._contents = t5;
  82855. srcColumn0 = t4.sourceColumn;
  82856. t5 = A.StringBuffer__writeAll(t5, A.encodeVlq(srcColumn0 - srcColumn), "");
  82857. buff._contents = t5;
  82858. srcNameId0 = t4.sourceNameId;
  82859. if (srcNameId0 == null) {
  82860. srcUrlId = newUrlId;
  82861. srcColumn = srcColumn0;
  82862. srcLine = srcLine0;
  82863. continue;
  82864. }
  82865. buff._contents = A.StringBuffer__writeAll(t5, A.encodeVlq(srcNameId0 - srcNameId), "");
  82866. srcNameId = srcNameId0;
  82867. srcUrlId = newUrlId;
  82868. srcColumn = srcColumn0;
  82869. srcLine = srcLine0;
  82870. }
  82871. }
  82872. t1 = _this.sourceRoot;
  82873. if (t1 == null)
  82874. t1 = "";
  82875. t2 = buff._contents;
  82876. result = A.LinkedHashMap_LinkedHashMap$_literal(["version", 3, "sourceRoot", t1, "sources", _this.urls, "names", _this.names, "mappings", t2.charCodeAt(0) == 0 ? t2 : t2], type$.String, type$.dynamic);
  82877. t1 = _this.targetUrl;
  82878. if (t1 != null)
  82879. result.$indexSet(0, "file", t1);
  82880. if (includeSourceContents) {
  82881. t1 = _this.files;
  82882. t2 = A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,String?>");
  82883. t1 = A.List_List$_of(new A.MappedListIterable(t1, new A.SingleMapping_toJson_closure(), t2), t2._eval$1("ListIterable.E"));
  82884. result.$indexSet(0, "sourcesContent", t1);
  82885. }
  82886. _this.extensions.forEach$1(0, new A.SingleMapping_toJson_closure0(result));
  82887. return result;
  82888. },
  82889. toJson$0() {
  82890. return this.toJson$1$includeSourceContents(false);
  82891. },
  82892. toString$0(_) {
  82893. var _this = this,
  82894. t1 = A.getRuntimeTypeOfDartObject(_this).toString$0(0) + " : [" + "targetUrl: " + A.S(_this.targetUrl) + ", sourceRoot: " + A.S(_this.sourceRoot) + ", urls: " + A.S(_this.urls) + ", names: " + A.S(_this.names) + ", lines: " + A.S(_this.lines) + "]";
  82895. return t1.charCodeAt(0) == 0 ? t1 : t1;
  82896. }
  82897. };
  82898. A.SingleMapping_SingleMapping$fromEntries_closure.prototype = {
  82899. call$0() {
  82900. return this.urls.__js_helper$_length;
  82901. },
  82902. $signature: 10
  82903. };
  82904. A.SingleMapping_SingleMapping$fromEntries_closure0.prototype = {
  82905. call$0() {
  82906. return this.sourceEntry.source.file;
  82907. },
  82908. $signature: 281
  82909. };
  82910. A.SingleMapping_SingleMapping$fromEntries_closure1.prototype = {
  82911. call$1(i) {
  82912. return this.files.$index(0, i);
  82913. },
  82914. $signature: 282
  82915. };
  82916. A.SingleMapping_toJson_closure.prototype = {
  82917. call$1(file) {
  82918. return file == null ? null : A.String_String$fromCharCodes(B.NativeUint32List_methods.sublist$2(file._decodedChars, 0, null), 0, null);
  82919. },
  82920. $signature: 283
  82921. };
  82922. A.SingleMapping_toJson_closure0.prototype = {
  82923. call$2($name, value) {
  82924. this.result.$indexSet(0, $name, value);
  82925. return value;
  82926. },
  82927. $signature: 139
  82928. };
  82929. A.TargetLineEntry.prototype = {
  82930. toString$0(_) {
  82931. return A.getRuntimeTypeOfDartObject(this).toString$0(0) + ": " + this.line + " " + A.S(this.entries);
  82932. }
  82933. };
  82934. A.TargetEntry.prototype = {
  82935. toString$0(_) {
  82936. var _this = this;
  82937. return A.getRuntimeTypeOfDartObject(_this).toString$0(0) + ": (" + _this.column + ", " + _this.sourceUrlId + ", " + _this.sourceLine + ", " + _this.sourceColumn + ", " + A.S(_this.sourceNameId) + ")";
  82938. }
  82939. };
  82940. A.SourceFile.prototype = {
  82941. get$length(_) {
  82942. return this._decodedChars.length;
  82943. },
  82944. get$lines() {
  82945. return this._lineStarts.length;
  82946. },
  82947. SourceFile$decoded$2$url(decodedChars, url) {
  82948. var t1, t2, t3, i, c, j;
  82949. for (t1 = this._decodedChars, t2 = t1.length, t3 = this._lineStarts, i = 0; i < t2; ++i) {
  82950. c = t1[i];
  82951. if (c === 13) {
  82952. j = i + 1;
  82953. if (j >= t2 || t1[j] !== 10)
  82954. c = 10;
  82955. }
  82956. if (c === 10)
  82957. t3.push(i + 1);
  82958. }
  82959. },
  82960. span$2(_, start, end) {
  82961. return A._FileSpan$(this, start, end == null ? this._decodedChars.length : end);
  82962. },
  82963. span$1(_, start) {
  82964. return this.span$2(0, start, null);
  82965. },
  82966. getLine$1(offset) {
  82967. var t1, _this = this;
  82968. if (offset < 0)
  82969. throw A.wrapException(A.RangeError$("Offset may not be negative, was " + offset + "."));
  82970. else if (offset > _this._decodedChars.length)
  82971. throw A.wrapException(A.RangeError$("Offset " + offset + string$.x20must_n + _this.get$length(0) + "."));
  82972. t1 = _this._lineStarts;
  82973. if (offset < B.JSArray_methods.get$first(t1))
  82974. return -1;
  82975. if (offset >= B.JSArray_methods.get$last(t1))
  82976. return t1.length - 1;
  82977. if (_this._isNearCachedLine$1(offset)) {
  82978. t1 = _this._cachedLine;
  82979. t1.toString;
  82980. return t1;
  82981. }
  82982. return _this._cachedLine = _this._binarySearch$1(offset) - 1;
  82983. },
  82984. _isNearCachedLine$1(offset) {
  82985. var t2, t3,
  82986. t1 = this._cachedLine;
  82987. if (t1 == null)
  82988. return false;
  82989. t2 = this._lineStarts;
  82990. if (offset < t2[t1])
  82991. return false;
  82992. t3 = t2.length;
  82993. if (t1 >= t3 - 1 || offset < t2[t1 + 1])
  82994. return true;
  82995. if (t1 >= t3 - 2 || offset < t2[t1 + 2]) {
  82996. this._cachedLine = t1 + 1;
  82997. return true;
  82998. }
  82999. return false;
  83000. },
  83001. _binarySearch$1(offset) {
  83002. var min, half,
  83003. t1 = this._lineStarts,
  83004. max = t1.length - 1;
  83005. for (min = 0; min < max;) {
  83006. half = min + B.JSInt_methods._tdivFast$1(max - min, 2);
  83007. if (t1[half] > offset)
  83008. max = half;
  83009. else
  83010. min = half + 1;
  83011. }
  83012. return max;
  83013. },
  83014. getColumn$1(offset) {
  83015. var line, lineStart, _this = this;
  83016. if (offset < 0)
  83017. throw A.wrapException(A.RangeError$("Offset may not be negative, was " + offset + "."));
  83018. else if (offset > _this._decodedChars.length)
  83019. throw A.wrapException(A.RangeError$("Offset " + offset + " must be not be greater than the number of characters in the file, " + _this.get$length(0) + "."));
  83020. line = _this.getLine$1(offset);
  83021. lineStart = _this._lineStarts[line];
  83022. if (lineStart > offset)
  83023. throw A.wrapException(A.RangeError$("Line " + line + " comes after offset " + offset + "."));
  83024. return offset - lineStart;
  83025. },
  83026. getOffset$1(line) {
  83027. var t1, t2, result, t3;
  83028. if (line < 0)
  83029. throw A.wrapException(A.RangeError$("Line may not be negative, was " + line + "."));
  83030. else {
  83031. t1 = this._lineStarts;
  83032. t2 = t1.length;
  83033. if (line >= t2)
  83034. throw A.wrapException(A.RangeError$("Line " + line + " must be less than the number of lines in the file, " + this.get$lines() + "."));
  83035. }
  83036. result = t1[line];
  83037. if (result <= this._decodedChars.length) {
  83038. t3 = line + 1;
  83039. t1 = t3 < t2 && result >= t1[t3];
  83040. } else
  83041. t1 = true;
  83042. if (t1)
  83043. throw A.wrapException(A.RangeError$("Line " + line + " doesn't have 0 columns."));
  83044. return result;
  83045. }
  83046. };
  83047. A.FileLocation.prototype = {
  83048. get$sourceUrl(_) {
  83049. return this.file.url;
  83050. },
  83051. get$line() {
  83052. return this.file.getLine$1(this.offset);
  83053. },
  83054. get$column() {
  83055. return this.file.getColumn$1(this.offset);
  83056. },
  83057. FileLocation$_$2(file, offset) {
  83058. var t2,
  83059. t1 = this.offset;
  83060. if (t1 < 0)
  83061. throw A.wrapException(A.RangeError$("Offset may not be negative, was " + t1 + "."));
  83062. else {
  83063. t2 = this.file;
  83064. if (t1 > t2._decodedChars.length)
  83065. throw A.wrapException(A.RangeError$("Offset " + t1 + string$.x20must_n + t2.get$length(0) + "."));
  83066. }
  83067. },
  83068. pointSpan$0() {
  83069. var t1 = this.offset;
  83070. return A._FileSpan$(this.file, t1, t1);
  83071. },
  83072. get$offset() {
  83073. return this.offset;
  83074. }
  83075. };
  83076. A._FileSpan.prototype = {
  83077. get$sourceUrl(_) {
  83078. return this.file.url;
  83079. },
  83080. get$length(_) {
  83081. return this._end - this._file$_start;
  83082. },
  83083. get$start(_) {
  83084. return A.FileLocation$_(this.file, this._file$_start);
  83085. },
  83086. get$end(_) {
  83087. return A.FileLocation$_(this.file, this._end);
  83088. },
  83089. get$text() {
  83090. return A.String_String$fromCharCodes(B.NativeUint32List_methods.sublist$2(this.file._decodedChars, this._file$_start, this._end), 0, null);
  83091. },
  83092. get$context(_) {
  83093. var _this = this,
  83094. t1 = _this.file,
  83095. endOffset = _this._end,
  83096. endLine = t1.getLine$1(endOffset);
  83097. if (t1.getColumn$1(endOffset) === 0 && endLine !== 0) {
  83098. if (endOffset - _this._file$_start === 0)
  83099. 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);
  83100. } else
  83101. endOffset = endLine === t1._lineStarts.length - 1 ? t1._decodedChars.length : t1.getOffset$1(endLine + 1);
  83102. return A.String_String$fromCharCodes(B.NativeUint32List_methods.sublist$2(t1._decodedChars, t1.getOffset$1(t1.getLine$1(_this._file$_start)), endOffset), 0, null);
  83103. },
  83104. _FileSpan$3(file, _start, _end) {
  83105. var t3,
  83106. t1 = this._end,
  83107. t2 = this._file$_start;
  83108. if (t1 < t2)
  83109. throw A.wrapException(A.ArgumentError$("End " + t1 + " must come after start " + t2 + ".", null));
  83110. else {
  83111. t3 = this.file;
  83112. if (t1 > t3._decodedChars.length)
  83113. throw A.wrapException(A.RangeError$("End " + t1 + string$.x20must_n + t3.get$length(0) + "."));
  83114. else if (t2 < 0)
  83115. throw A.wrapException(A.RangeError$("Start may not be negative, was " + t2 + "."));
  83116. }
  83117. },
  83118. compareTo$1(_, other) {
  83119. var result;
  83120. if (!(other instanceof A._FileSpan))
  83121. return this.super$SourceSpanMixin$compareTo(0, other);
  83122. result = B.JSInt_methods.compareTo$1(this._file$_start, other._file$_start);
  83123. return result === 0 ? B.JSInt_methods.compareTo$1(this._end, other._end) : result;
  83124. },
  83125. $eq(_, other) {
  83126. var _this = this;
  83127. if (other == null)
  83128. return false;
  83129. if (!type$.FileSpan._is(other))
  83130. return _this.super$SourceSpanMixin$$eq(0, other);
  83131. if (!(other instanceof A._FileSpan))
  83132. return _this.super$SourceSpanMixin$$eq(0, other) && J.$eq$(_this.file.url, other.get$sourceUrl(other));
  83133. return _this._file$_start === other._file$_start && _this._end === other._end && J.$eq$(_this.file.url, other.file.url);
  83134. },
  83135. get$hashCode(_) {
  83136. return A.Object_hash(this._file$_start, this._end, this.file.url, B.C_SentinelValue);
  83137. },
  83138. expand$1(_, other) {
  83139. var t2, t3, _this = this,
  83140. t1 = _this.file;
  83141. if (!J.$eq$(t1.url, other.get$sourceUrl(other)))
  83142. throw A.wrapException(A.ArgumentError$('Source URLs "' + A.S(_this.get$sourceUrl(0)) + '" and "' + A.S(other.get$sourceUrl(other)) + "\" don't match.", null));
  83143. t2 = _this._file$_start;
  83144. t3 = _this._end;
  83145. if (other instanceof A._FileSpan)
  83146. return A._FileSpan$(t1, Math.min(t2, other._file$_start), Math.max(t3, other._end));
  83147. else
  83148. return A._FileSpan$(t1, Math.min(t2, other.get$start(other).offset), Math.max(t3, other.get$end(other).offset));
  83149. },
  83150. $isFileSpan: 1,
  83151. $isSourceSpanWithContext: 1,
  83152. get$file(receiver) {
  83153. return this.file;
  83154. }
  83155. };
  83156. A.Highlighter.prototype = {
  83157. highlight$0() {
  83158. var t2, highlightsByColumn, t3, t4, i, line, lastLine, t5, t6, t7, t8, t9, t10, t11, index, primaryIdx, primary, _i, highlight, _this = this, _null = null,
  83159. t1 = _this._lines;
  83160. _this._writeFileStart$1(B.JSArray_methods.get$first(t1).url);
  83161. t2 = _this._maxMultilineSpans;
  83162. highlightsByColumn = A.List_List$filled(t2, _null, false, type$.nullable__Highlight);
  83163. for (t3 = _this._highlighter$_buffer, t2 = t2 !== 0, t4 = _this._primaryColor, i = 0; i < t1.length; ++i) {
  83164. line = t1[i];
  83165. if (i > 0) {
  83166. lastLine = t1[i - 1];
  83167. t5 = line.url;
  83168. if (!J.$eq$(lastLine.url, t5)) {
  83169. _this._writeSidebar$1$end($._glyphs.get$upEnd());
  83170. t3._contents += "\n";
  83171. _this._writeFileStart$1(t5);
  83172. } else if (lastLine.number + 1 !== line.number) {
  83173. _this._writeSidebar$1$text("...");
  83174. t3._contents += "\n";
  83175. }
  83176. }
  83177. for (t5 = line.highlights, t6 = A._arrayInstanceType(t5)._eval$1("ReversedListIterable<1>"), t7 = new A.ReversedListIterable(t5, t6), t7 = new A.ListIterator(t7, t7.get$length(0), t6._eval$1("ListIterator<ListIterable.E>")), t6 = t6._eval$1("ListIterable.E"), t8 = line.number, t9 = line.text; t7.moveNext$0();) {
  83178. t10 = t7.__internal$_current;
  83179. if (t10 == null)
  83180. t10 = t6._as(t10);
  83181. t11 = t10.span;
  83182. 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()))) {
  83183. index = B.JSArray_methods.indexOf$1(highlightsByColumn, _null);
  83184. if (index < 0)
  83185. A.throwExpression(A.ArgumentError$(A.S(highlightsByColumn) + " contains no null elements.", _null));
  83186. highlightsByColumn[index] = t10;
  83187. }
  83188. }
  83189. _this._writeSidebar$1$line(t8);
  83190. t3._contents += " ";
  83191. _this._writeMultilineHighlights$2(line, highlightsByColumn);
  83192. if (t2)
  83193. t3._contents += " ";
  83194. primaryIdx = B.JSArray_methods.indexWhere$1(t5, new A.Highlighter_highlight_closure());
  83195. primary = primaryIdx === -1 ? _null : t5[primaryIdx];
  83196. t6 = primary != null;
  83197. if (t6) {
  83198. t7 = primary.span;
  83199. t10 = t7.get$start(t7).get$line() === t8 ? t7.get$start(t7).get$column() : 0;
  83200. _this._writeHighlightedText$4$color(t9, t10, t7.get$end(t7).get$line() === t8 ? t7.get$end(t7).get$column() : t9.length, t4);
  83201. } else
  83202. _this._writeText$1(t9);
  83203. t3._contents += "\n";
  83204. if (t6)
  83205. _this._writeIndicator$3(line, primary, highlightsByColumn);
  83206. for (t6 = t5.length, _i = 0; _i < t5.length; t5.length === t6 || (0, A.throwConcurrentModificationError)(t5), ++_i) {
  83207. highlight = t5[_i];
  83208. if (highlight.isPrimary)
  83209. continue;
  83210. _this._writeIndicator$3(line, highlight, highlightsByColumn);
  83211. }
  83212. }
  83213. _this._writeSidebar$1$end($._glyphs.get$upEnd());
  83214. t1 = t3._contents;
  83215. return t1.charCodeAt(0) == 0 ? t1 : t1;
  83216. },
  83217. _writeFileStart$1(url) {
  83218. var _this = this,
  83219. t1 = !_this._multipleFiles || !type$.Uri._is(url),
  83220. t2 = $._glyphs;
  83221. if (t1)
  83222. _this._writeSidebar$1$end(t2.get$downEnd());
  83223. else {
  83224. _this._writeSidebar$1$end(t2.get$topLeftCorner());
  83225. _this._colorize$2$color(new A.Highlighter__writeFileStart_closure(_this), "\x1b[34m");
  83226. t1 = _this._highlighter$_buffer;
  83227. t2 = " " + $.$get$context().prettyUri$1(url);
  83228. t1._contents += t2;
  83229. }
  83230. _this._highlighter$_buffer._contents += "\n";
  83231. },
  83232. _writeMultilineHighlights$3$current(line, highlightsByColumn, current) {
  83233. var t1, currentColor, t2, t3, t4, t5, foundCurrent, _i, highlight, t6, startLine, t7, endLine, _this = this, _box_0 = {};
  83234. _box_0.openedOnThisLine = false;
  83235. _box_0.openedOnThisLineColor = null;
  83236. t1 = current == null;
  83237. if (t1)
  83238. currentColor = null;
  83239. else
  83240. currentColor = current.isPrimary ? _this._primaryColor : _this._secondaryColor;
  83241. for (t2 = highlightsByColumn.length, t3 = _this._secondaryColor, t1 = !t1, t4 = _this._primaryColor, t5 = _this._highlighter$_buffer, foundCurrent = false, _i = 0; _i < t2; ++_i) {
  83242. highlight = highlightsByColumn[_i];
  83243. t6 = highlight == null;
  83244. if (t6)
  83245. startLine = null;
  83246. else {
  83247. t7 = highlight.span;
  83248. startLine = t7.get$start(t7).get$line();
  83249. }
  83250. if (t6)
  83251. endLine = null;
  83252. else {
  83253. t7 = highlight.span;
  83254. endLine = t7.get$end(t7).get$line();
  83255. }
  83256. if (t1 && highlight === current) {
  83257. _this._colorize$2$color(new A.Highlighter__writeMultilineHighlights_closure(_this, startLine, line), currentColor);
  83258. foundCurrent = true;
  83259. } else if (foundCurrent)
  83260. _this._colorize$2$color(new A.Highlighter__writeMultilineHighlights_closure0(_this, highlight), currentColor);
  83261. else if (t6)
  83262. if (_box_0.openedOnThisLine)
  83263. _this._colorize$2$color(new A.Highlighter__writeMultilineHighlights_closure1(_this), _box_0.openedOnThisLineColor);
  83264. else
  83265. t5._contents += " ";
  83266. else {
  83267. t6 = highlight.isPrimary ? t4 : t3;
  83268. _this._colorize$2$color(new A.Highlighter__writeMultilineHighlights_closure2(_box_0, _this, current, startLine, line, highlight, endLine), t6);
  83269. }
  83270. }
  83271. },
  83272. _writeMultilineHighlights$2(line, highlightsByColumn) {
  83273. return this._writeMultilineHighlights$3$current(line, highlightsByColumn, null);
  83274. },
  83275. _writeHighlightedText$4$color(text, startColumn, endColumn, color) {
  83276. var _this = this;
  83277. _this._writeText$1(B.JSString_methods.substring$2(text, 0, startColumn));
  83278. _this._colorize$2$color(new A.Highlighter__writeHighlightedText_closure(_this, text, startColumn, endColumn), color);
  83279. _this._writeText$1(B.JSString_methods.substring$2(text, endColumn, text.length));
  83280. },
  83281. _writeIndicator$3(line, highlight, highlightsByColumn) {
  83282. var t2, coversWholeLine, _this = this,
  83283. color = highlight.isPrimary ? _this._primaryColor : _this._secondaryColor,
  83284. t1 = highlight.span;
  83285. if (t1.get$start(t1).get$line() === t1.get$end(t1).get$line()) {
  83286. _this._writeSidebar$0();
  83287. t1 = _this._highlighter$_buffer;
  83288. t1._contents += " ";
  83289. _this._writeMultilineHighlights$3$current(line, highlightsByColumn, highlight);
  83290. if (highlightsByColumn.length !== 0)
  83291. t1._contents += " ";
  83292. _this._writeLabel$3(highlight, highlightsByColumn, _this._colorize$2$color(new A.Highlighter__writeIndicator_closure(_this, line, highlight), color));
  83293. } else {
  83294. t2 = line.number;
  83295. if (t1.get$start(t1).get$line() === t2) {
  83296. if (B.JSArray_methods.contains$1(highlightsByColumn, highlight))
  83297. return;
  83298. A.replaceFirstNull(highlightsByColumn, highlight);
  83299. _this._writeSidebar$0();
  83300. t1 = _this._highlighter$_buffer;
  83301. t1._contents += " ";
  83302. _this._writeMultilineHighlights$3$current(line, highlightsByColumn, highlight);
  83303. _this._colorize$2$color(new A.Highlighter__writeIndicator_closure0(_this, line, highlight), color);
  83304. t1._contents += "\n";
  83305. } else if (t1.get$end(t1).get$line() === t2) {
  83306. coversWholeLine = t1.get$end(t1).get$column() === line.text.length;
  83307. if (coversWholeLine && highlight.label == null) {
  83308. A.replaceWithNull(highlightsByColumn, highlight);
  83309. return;
  83310. }
  83311. _this._writeSidebar$0();
  83312. _this._highlighter$_buffer._contents += " ";
  83313. _this._writeMultilineHighlights$3$current(line, highlightsByColumn, highlight);
  83314. _this._writeLabel$3(highlight, highlightsByColumn, _this._colorize$2$color(new A.Highlighter__writeIndicator_closure1(_this, coversWholeLine, line, highlight), color));
  83315. A.replaceWithNull(highlightsByColumn, highlight);
  83316. }
  83317. }
  83318. },
  83319. _writeArrow$3$beginning(line, column, beginning) {
  83320. var t2,
  83321. t1 = beginning ? 0 : 1,
  83322. tabs = this._countTabs$1(B.JSString_methods.substring$2(line.text, 0, column + t1));
  83323. t1 = this._highlighter$_buffer;
  83324. t2 = B.JSString_methods.$mul($._glyphs.get$horizontalLine(), 1 + column + tabs * 3);
  83325. t1._contents = (t1._contents += t2) + "^";
  83326. },
  83327. _writeArrow$2(line, column) {
  83328. return this._writeArrow$3$beginning(line, column, true);
  83329. },
  83330. _writeLabel$3(highlight, highlightsByColumn, underlineLength) {
  83331. var lines, color, t1, t2, t3, t4, t5, t6, _i, columnHighlight, _this = this,
  83332. label = highlight.label;
  83333. if (label == null) {
  83334. _this._highlighter$_buffer._contents += "\n";
  83335. return;
  83336. }
  83337. lines = A._setArrayType(label.split("\n"), type$.JSArray_String);
  83338. color = highlight.isPrimary ? _this._primaryColor : _this._secondaryColor;
  83339. _this._colorize$2$color(new A.Highlighter__writeLabel_closure(_this, lines), color);
  83340. t1 = _this._highlighter$_buffer;
  83341. t1._contents += "\n";
  83342. for (t2 = A.SubListIterable$(lines, 1, null, type$.String), t3 = t2.$ti, t2 = new A.ListIterator(t2, t2.get$length(0), t3._eval$1("ListIterator<ListIterable.E>")), t4 = highlightsByColumn.length, t3 = t3._eval$1("ListIterable.E"); t2.moveNext$0();) {
  83343. t5 = t2.__internal$_current;
  83344. if (t5 == null)
  83345. t5 = t3._as(t5);
  83346. _this._writeSidebar$0();
  83347. t6 = t1._contents += " ";
  83348. for (_i = 0; _i < t4; ++_i) {
  83349. columnHighlight = highlightsByColumn[_i];
  83350. if (columnHighlight == null || columnHighlight === highlight) {
  83351. t6 += " ";
  83352. t1._contents = t6;
  83353. } else {
  83354. t6 = $._glyphs.get$verticalLine();
  83355. t6 = t1._contents += t6;
  83356. }
  83357. }
  83358. t6 = B.JSString_methods.$mul(" ", underlineLength);
  83359. t1._contents += t6;
  83360. _this._colorize$2$color(new A.Highlighter__writeLabel_closure0(_this, t5), color);
  83361. t1._contents += "\n";
  83362. }
  83363. },
  83364. _writeText$1(text) {
  83365. var t1, t2, t3, t4;
  83366. for (t1 = new A.CodeUnits(text), t2 = type$.CodeUnits, t1 = new A.ListIterator(t1, t1.get$length(0), t2._eval$1("ListIterator<ListBase.E>")), t3 = this._highlighter$_buffer, t2 = t2._eval$1("ListBase.E"); t1.moveNext$0();) {
  83367. t4 = t1.__internal$_current;
  83368. if (t4 == null)
  83369. t4 = t2._as(t4);
  83370. if (t4 === 9) {
  83371. t4 = B.JSString_methods.$mul(" ", 4);
  83372. t3._contents += t4;
  83373. } else {
  83374. t4 = A.Primitives_stringFromCharCode(t4);
  83375. t3._contents += t4;
  83376. }
  83377. }
  83378. },
  83379. _writeSidebar$3$end$line$text(end, line, text) {
  83380. var t1 = {};
  83381. t1.text = text;
  83382. if (line != null)
  83383. t1.text = B.JSInt_methods.toString$0(line + 1);
  83384. this._colorize$2$color(new A.Highlighter__writeSidebar_closure(t1, this, end), "\x1b[34m");
  83385. },
  83386. _writeSidebar$1$end(end) {
  83387. return this._writeSidebar$3$end$line$text(end, null, null);
  83388. },
  83389. _writeSidebar$1$text(text) {
  83390. return this._writeSidebar$3$end$line$text(null, null, text);
  83391. },
  83392. _writeSidebar$1$line(line) {
  83393. return this._writeSidebar$3$end$line$text(null, line, null);
  83394. },
  83395. _writeSidebar$0() {
  83396. return this._writeSidebar$3$end$line$text(null, null, null);
  83397. },
  83398. _countTabs$1(text) {
  83399. var t1, t2, count, t3;
  83400. for (t1 = new A.CodeUnits(text), t2 = type$.CodeUnits, t1 = new A.ListIterator(t1, t1.get$length(0), t2._eval$1("ListIterator<ListBase.E>")), t2 = t2._eval$1("ListBase.E"), count = 0; t1.moveNext$0();) {
  83401. t3 = t1.__internal$_current;
  83402. if ((t3 == null ? t2._as(t3) : t3) === 9)
  83403. ++count;
  83404. }
  83405. return count;
  83406. },
  83407. _isOnlyWhitespace$1(text) {
  83408. var t1, t2, t3;
  83409. for (t1 = new A.CodeUnits(text), t2 = type$.CodeUnits, t1 = new A.ListIterator(t1, t1.get$length(0), t2._eval$1("ListIterator<ListBase.E>")), t2 = t2._eval$1("ListBase.E"); t1.moveNext$0();) {
  83410. t3 = t1.__internal$_current;
  83411. if (t3 == null)
  83412. t3 = t2._as(t3);
  83413. if (t3 !== 32 && t3 !== 9)
  83414. return false;
  83415. }
  83416. return true;
  83417. },
  83418. _colorize$1$2$color(callback, color) {
  83419. var result,
  83420. t1 = this._primaryColor != null;
  83421. if (t1 && color != null)
  83422. this._highlighter$_buffer._contents += color;
  83423. result = callback.call$0();
  83424. if (t1 && color != null)
  83425. this._highlighter$_buffer._contents += "\x1b[0m";
  83426. return result;
  83427. },
  83428. _colorize$2$color(callback, color) {
  83429. callback.toString;
  83430. return this._colorize$1$2$color(callback, color, type$.dynamic);
  83431. }
  83432. };
  83433. A.Highlighter_closure.prototype = {
  83434. call$0() {
  83435. var t1 = this.color,
  83436. t2 = J.getInterceptor$(t1);
  83437. if (t2.$eq(t1, true))
  83438. return "\x1b[31m";
  83439. if (t2.$eq(t1, false))
  83440. return null;
  83441. return A._asStringQ(t1);
  83442. },
  83443. $signature: 46
  83444. };
  83445. A.Highlighter$__closure.prototype = {
  83446. call$1(line) {
  83447. var t1 = line.highlights;
  83448. return new A.WhereIterable(t1, new A.Highlighter$___closure(), A._arrayInstanceType(t1)._eval$1("WhereIterable<1>")).get$length(0);
  83449. },
  83450. $signature: 284
  83451. };
  83452. A.Highlighter$___closure.prototype = {
  83453. call$1(highlight) {
  83454. var t1 = highlight.span;
  83455. return t1.get$start(t1).get$line() !== t1.get$end(t1).get$line();
  83456. },
  83457. $signature: 117
  83458. };
  83459. A.Highlighter$__closure0.prototype = {
  83460. call$1(line) {
  83461. return line.url;
  83462. },
  83463. $signature: 286
  83464. };
  83465. A.Highlighter__collateLines_closure.prototype = {
  83466. call$1(highlight) {
  83467. var t1 = highlight.span;
  83468. t1 = t1.get$sourceUrl(t1);
  83469. return t1 == null ? new A.Object() : t1;
  83470. },
  83471. $signature: 287
  83472. };
  83473. A.Highlighter__collateLines_closure0.prototype = {
  83474. call$2(highlight1, highlight2) {
  83475. return highlight1.span.compareTo$1(0, highlight2.span);
  83476. },
  83477. $signature: 288
  83478. };
  83479. A.Highlighter__collateLines_closure1.prototype = {
  83480. call$1(entry) {
  83481. var t1, t2, t3, t4, context, t5, linesBeforeSpan, lineNumber, _i, line, activeHighlights, flags, highlightIndex, oldHighlightLength, t6, t7,
  83482. url = entry.key,
  83483. highlightsForFile = entry.value,
  83484. lines = A._setArrayType([], type$.JSArray__Line);
  83485. for (t1 = J.getInterceptor$ax(highlightsForFile), t2 = t1.get$iterator(highlightsForFile), t3 = type$.JSArray__Highlight; t2.moveNext$0();) {
  83486. t4 = t2.get$current(t2).span;
  83487. context = t4.get$context(t4);
  83488. t5 = A.findLineStart(context, t4.get$text(), t4.get$start(t4).get$column());
  83489. t5.toString;
  83490. linesBeforeSpan = B.JSString_methods.allMatches$1("\n", B.JSString_methods.substring$2(context, 0, t5)).get$length(0);
  83491. lineNumber = t4.get$start(t4).get$line() - linesBeforeSpan;
  83492. for (t4 = context.split("\n"), t5 = t4.length, _i = 0; _i < t5; ++_i) {
  83493. line = t4[_i];
  83494. if (lines.length === 0 || lineNumber > B.JSArray_methods.get$last(lines).number)
  83495. lines.push(new A._Line(line, lineNumber, url, A._setArrayType([], t3)));
  83496. ++lineNumber;
  83497. }
  83498. }
  83499. activeHighlights = A._setArrayType([], t3);
  83500. for (t2 = lines.length, flags = activeHighlights.$flags | 0, highlightIndex = 0, _i = 0; _i < lines.length; lines.length === t2 || (0, A.throwConcurrentModificationError)(lines), ++_i) {
  83501. line = lines[_i];
  83502. flags & 1 && A.throwUnsupportedOperation(activeHighlights, 16);
  83503. B.JSArray_methods._removeWhere$2(activeHighlights, new A.Highlighter__collateLines__closure(line), true);
  83504. oldHighlightLength = activeHighlights.length;
  83505. for (t3 = t1.skip$1(highlightsForFile, highlightIndex), t4 = t3.$ti, t3 = new A.ListIterator(t3, t3.get$length(0), t4._eval$1("ListIterator<ListIterable.E>")), t5 = line.number, t4 = t4._eval$1("ListIterable.E"); t3.moveNext$0();) {
  83506. t6 = t3.__internal$_current;
  83507. if (t6 == null)
  83508. t6 = t4._as(t6);
  83509. t7 = t6.span;
  83510. if (t7.get$start(t7).get$line() > t5)
  83511. break;
  83512. activeHighlights.push(t6);
  83513. }
  83514. highlightIndex += activeHighlights.length - oldHighlightLength;
  83515. B.JSArray_methods.addAll$1(line.highlights, activeHighlights);
  83516. }
  83517. return lines;
  83518. },
  83519. $signature: 289
  83520. };
  83521. A.Highlighter__collateLines__closure.prototype = {
  83522. call$1(highlight) {
  83523. var t1 = highlight.span;
  83524. return t1.get$end(t1).get$line() < this.line.number;
  83525. },
  83526. $signature: 117
  83527. };
  83528. A.Highlighter_highlight_closure.prototype = {
  83529. call$1(highlight) {
  83530. return highlight.isPrimary;
  83531. },
  83532. $signature: 117
  83533. };
  83534. A.Highlighter__writeFileStart_closure.prototype = {
  83535. call$0() {
  83536. var t1 = this.$this._highlighter$_buffer,
  83537. t2 = B.JSString_methods.$mul($._glyphs.get$horizontalLine(), 2) + ">";
  83538. t1._contents += t2;
  83539. return null;
  83540. },
  83541. $signature: 0
  83542. };
  83543. A.Highlighter__writeMultilineHighlights_closure.prototype = {
  83544. call$0() {
  83545. var t1 = this.$this._highlighter$_buffer,
  83546. t2 = $._glyphs;
  83547. t2 = this.startLine === this.line.number ? t2.get$topLeftCorner() : t2.get$bottomLeftCorner();
  83548. t1._contents += t2;
  83549. },
  83550. $signature: 1
  83551. };
  83552. A.Highlighter__writeMultilineHighlights_closure0.prototype = {
  83553. call$0() {
  83554. var t1 = this.$this._highlighter$_buffer,
  83555. t2 = $._glyphs;
  83556. t2 = this.highlight == null ? t2.get$horizontalLine() : t2.get$cross();
  83557. t1._contents += t2;
  83558. },
  83559. $signature: 1
  83560. };
  83561. A.Highlighter__writeMultilineHighlights_closure1.prototype = {
  83562. call$0() {
  83563. var t1 = this.$this._highlighter$_buffer,
  83564. t2 = $._glyphs.get$horizontalLine();
  83565. t1._contents += t2;
  83566. return null;
  83567. },
  83568. $signature: 0
  83569. };
  83570. A.Highlighter__writeMultilineHighlights_closure2.prototype = {
  83571. call$0() {
  83572. var _this = this,
  83573. t1 = _this._box_0,
  83574. t2 = t1.openedOnThisLine,
  83575. t3 = $._glyphs,
  83576. vertical = t2 ? t3.get$cross() : t3.get$verticalLine();
  83577. if (_this.current != null)
  83578. _this.$this._highlighter$_buffer._contents += vertical;
  83579. else {
  83580. t2 = _this.line;
  83581. t3 = t2.number;
  83582. if (_this.startLine === t3) {
  83583. t2 = _this.$this;
  83584. t2._colorize$2$color(new A.Highlighter__writeMultilineHighlights__closure(t1, t2), t1.openedOnThisLineColor);
  83585. t1.openedOnThisLine = true;
  83586. if (t1.openedOnThisLineColor == null)
  83587. t1.openedOnThisLineColor = _this.highlight.isPrimary ? t2._primaryColor : t2._secondaryColor;
  83588. } else {
  83589. if (_this.endLine === t3) {
  83590. t3 = _this.highlight.span;
  83591. t2 = t3.get$end(t3).get$column() === t2.text.length;
  83592. } else
  83593. t2 = false;
  83594. t3 = _this.$this;
  83595. if (t2) {
  83596. t1 = t3._highlighter$_buffer;
  83597. t2 = _this.highlight.label == null ? $._glyphs.glyphOrAscii$2("\u2514", "\\") : vertical;
  83598. t1._contents += t2;
  83599. } else
  83600. t3._colorize$2$color(new A.Highlighter__writeMultilineHighlights__closure0(t3, vertical), t1.openedOnThisLineColor);
  83601. }
  83602. }
  83603. },
  83604. $signature: 1
  83605. };
  83606. A.Highlighter__writeMultilineHighlights__closure.prototype = {
  83607. call$0() {
  83608. var t1 = this.$this._highlighter$_buffer,
  83609. t2 = this._box_0.openedOnThisLine ? "\u252c" : "\u250c";
  83610. t2 = $._glyphs.glyphOrAscii$2(t2, "/");
  83611. t1._contents += t2;
  83612. },
  83613. $signature: 1
  83614. };
  83615. A.Highlighter__writeMultilineHighlights__closure0.prototype = {
  83616. call$0() {
  83617. this.$this._highlighter$_buffer._contents += this.vertical;
  83618. },
  83619. $signature: 1
  83620. };
  83621. A.Highlighter__writeHighlightedText_closure.prototype = {
  83622. call$0() {
  83623. var _this = this;
  83624. return _this.$this._writeText$1(B.JSString_methods.substring$2(_this.text, _this.startColumn, _this.endColumn));
  83625. },
  83626. $signature: 0
  83627. };
  83628. A.Highlighter__writeIndicator_closure.prototype = {
  83629. call$0() {
  83630. var startColumn, endColumn, tabsBefore, tabsInside,
  83631. t1 = this.$this,
  83632. t2 = t1._highlighter$_buffer,
  83633. t3 = t2._contents,
  83634. t4 = this.highlight,
  83635. t5 = t4.span;
  83636. t4 = t4.isPrimary ? "^" : $._glyphs.get$horizontalLineBold();
  83637. startColumn = t5.get$start(t5).get$column();
  83638. endColumn = t5.get$end(t5).get$column();
  83639. t5 = this.line.text;
  83640. tabsBefore = t1._countTabs$1(B.JSString_methods.substring$2(t5, 0, startColumn));
  83641. tabsInside = t1._countTabs$1(B.JSString_methods.substring$2(t5, startColumn, endColumn));
  83642. startColumn += tabsBefore * 3;
  83643. t5 = B.JSString_methods.$mul(" ", startColumn);
  83644. t2._contents += t5;
  83645. t4 = B.JSString_methods.$mul(t4, Math.max(endColumn + (tabsBefore + tabsInside) * 3 - startColumn, 1));
  83646. return (t2._contents += t4).length - t3.length;
  83647. },
  83648. $signature: 10
  83649. };
  83650. A.Highlighter__writeIndicator_closure0.prototype = {
  83651. call$0() {
  83652. var t1 = this.highlight.span;
  83653. return this.$this._writeArrow$2(this.line, t1.get$start(t1).get$column());
  83654. },
  83655. $signature: 0
  83656. };
  83657. A.Highlighter__writeIndicator_closure1.prototype = {
  83658. call$0() {
  83659. var t4, _this = this,
  83660. t1 = _this.$this,
  83661. t2 = t1._highlighter$_buffer,
  83662. t3 = t2._contents;
  83663. if (_this.coversWholeLine) {
  83664. t1 = B.JSString_methods.$mul($._glyphs.get$horizontalLine(), 3);
  83665. t2._contents += t1;
  83666. } else {
  83667. t4 = _this.highlight.span;
  83668. t1._writeArrow$3$beginning(_this.line, Math.max(t4.get$end(t4).get$column() - 1, 0), false);
  83669. }
  83670. return t2._contents.length - t3.length;
  83671. },
  83672. $signature: 10
  83673. };
  83674. A.Highlighter__writeLabel_closure.prototype = {
  83675. call$0() {
  83676. var t1 = this.$this._highlighter$_buffer,
  83677. t2 = " " + A.S(B.JSArray_methods.get$first(this.lines));
  83678. t1._contents += t2;
  83679. return null;
  83680. },
  83681. $signature: 0
  83682. };
  83683. A.Highlighter__writeLabel_closure0.prototype = {
  83684. call$0() {
  83685. this.$this._highlighter$_buffer._contents += " " + this.text;
  83686. return null;
  83687. },
  83688. $signature: 0
  83689. };
  83690. A.Highlighter__writeSidebar_closure.prototype = {
  83691. call$0() {
  83692. var t1 = this.$this,
  83693. t2 = t1._highlighter$_buffer,
  83694. t3 = this._box_0.text;
  83695. if (t3 == null)
  83696. t3 = "";
  83697. t1 = B.JSString_methods.padRight$1(t3, t1._paddingBeforeSidebar);
  83698. t2._contents += t1;
  83699. t1 = this.end;
  83700. if (t1 == null)
  83701. t1 = $._glyphs.get$verticalLine();
  83702. t2._contents += t1;
  83703. },
  83704. $signature: 1
  83705. };
  83706. A._Highlight.prototype = {
  83707. toString$0(_) {
  83708. var t1 = this.isPrimary ? "" + "primary " : "",
  83709. t2 = this.span;
  83710. 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());
  83711. t1 = this.label;
  83712. t1 = t1 != null ? t2 + (" (" + t1 + ")") : t2;
  83713. return t1.charCodeAt(0) == 0 ? t1 : t1;
  83714. }
  83715. };
  83716. A._Highlight_closure.prototype = {
  83717. call$0() {
  83718. var t1, t2, t3, t4,
  83719. newSpan = this.span;
  83720. if (!(type$.SourceSpanWithContext._is(newSpan) && A.findLineStart(newSpan.get$context(newSpan), newSpan.get$text(), newSpan.get$start(newSpan).get$column()) != null)) {
  83721. t1 = A.SourceLocation$(newSpan.get$start(newSpan).get$offset(), 0, 0, newSpan.get$sourceUrl(newSpan));
  83722. t2 = newSpan.get$end(newSpan).get$offset();
  83723. t3 = newSpan.get$sourceUrl(newSpan);
  83724. t4 = A.countCodeUnits(newSpan.get$text(), 10);
  83725. newSpan = A.SourceSpanWithContext$(t1, A.SourceLocation$(t2, A._Highlight__lastLineLength(newSpan.get$text()), t4, t3), newSpan.get$text(), newSpan.get$text());
  83726. }
  83727. return A._Highlight__normalizeEndOfLine(A._Highlight__normalizeTrailingNewline(A._Highlight__normalizeNewlines(newSpan)));
  83728. },
  83729. $signature: 290
  83730. };
  83731. A._Line.prototype = {
  83732. toString$0(_) {
  83733. return "" + this.number + ': "' + this.text + '" (' + B.JSArray_methods.join$1(this.highlights, ", ") + ")";
  83734. }
  83735. };
  83736. A.SourceLocation.prototype = {
  83737. distance$1(other) {
  83738. var t1 = this.sourceUrl;
  83739. if (!J.$eq$(t1, other.get$sourceUrl(other)))
  83740. throw A.wrapException(A.ArgumentError$('Source URLs "' + A.S(t1) + '" and "' + A.S(other.get$sourceUrl(other)) + "\" don't match.", null));
  83741. return Math.abs(this.offset - other.get$offset());
  83742. },
  83743. compareTo$1(_, other) {
  83744. var t1 = this.sourceUrl;
  83745. if (!J.$eq$(t1, other.get$sourceUrl(other)))
  83746. throw A.wrapException(A.ArgumentError$('Source URLs "' + A.S(t1) + '" and "' + A.S(other.get$sourceUrl(other)) + "\" don't match.", null));
  83747. return this.offset - other.get$offset();
  83748. },
  83749. $eq(_, other) {
  83750. if (other == null)
  83751. return false;
  83752. return type$.SourceLocation._is(other) && J.$eq$(this.sourceUrl, other.get$sourceUrl(other)) && this.offset === other.get$offset();
  83753. },
  83754. get$hashCode(_) {
  83755. var t1 = this.sourceUrl;
  83756. t1 = t1 == null ? null : t1.get$hashCode(t1);
  83757. if (t1 == null)
  83758. t1 = 0;
  83759. return t1 + this.offset;
  83760. },
  83761. toString$0(_) {
  83762. var _this = this,
  83763. t1 = A.getRuntimeTypeOfDartObject(_this).toString$0(0),
  83764. source = _this.sourceUrl;
  83765. return "<" + t1 + ": " + _this.offset + " " + (A.S(source == null ? "unknown source" : source) + ":" + (_this.line + 1) + ":" + (_this.column + 1)) + ">";
  83766. },
  83767. $isComparable: 1,
  83768. get$sourceUrl(receiver) {
  83769. return this.sourceUrl;
  83770. },
  83771. get$offset() {
  83772. return this.offset;
  83773. },
  83774. get$line() {
  83775. return this.line;
  83776. },
  83777. get$column() {
  83778. return this.column;
  83779. }
  83780. };
  83781. A.SourceLocationMixin.prototype = {
  83782. distance$1(other) {
  83783. if (!J.$eq$(this.file.url, other.get$sourceUrl(other)))
  83784. throw A.wrapException(A.ArgumentError$('Source URLs "' + A.S(this.get$sourceUrl(0)) + '" and "' + A.S(other.get$sourceUrl(other)) + "\" don't match.", null));
  83785. return Math.abs(this.offset - other.get$offset());
  83786. },
  83787. compareTo$1(_, other) {
  83788. if (!J.$eq$(this.file.url, other.get$sourceUrl(other)))
  83789. throw A.wrapException(A.ArgumentError$('Source URLs "' + A.S(this.get$sourceUrl(0)) + '" and "' + A.S(other.get$sourceUrl(other)) + "\" don't match.", null));
  83790. return this.offset - other.get$offset();
  83791. },
  83792. $eq(_, other) {
  83793. if (other == null)
  83794. return false;
  83795. return type$.SourceLocation._is(other) && J.$eq$(this.file.url, other.get$sourceUrl(other)) && this.offset === other.get$offset();
  83796. },
  83797. get$hashCode(_) {
  83798. var t1 = this.file.url;
  83799. t1 = t1 == null ? null : t1.get$hashCode(t1);
  83800. if (t1 == null)
  83801. t1 = 0;
  83802. return t1 + this.offset;
  83803. },
  83804. toString$0(_) {
  83805. var t1 = A.getRuntimeTypeOfDartObject(this).toString$0(0),
  83806. t2 = this.offset,
  83807. t3 = this.file,
  83808. source = t3.url;
  83809. return "<" + t1 + ": " + t2 + " " + (A.S(source == null ? "unknown source" : source) + ":" + (t3.getLine$1(t2) + 1) + ":" + (t3.getColumn$1(t2) + 1)) + ">";
  83810. },
  83811. $isComparable: 1,
  83812. $isSourceLocation: 1
  83813. };
  83814. A.SourceSpanBase.prototype = {
  83815. SourceSpanBase$3(start, end, text) {
  83816. var t3,
  83817. t1 = this.end,
  83818. t2 = this.start;
  83819. if (!J.$eq$(t1.get$sourceUrl(t1), t2.get$sourceUrl(t2)))
  83820. throw A.wrapException(A.ArgumentError$('Source URLs "' + A.S(t2.get$sourceUrl(t2)) + '" and "' + A.S(t1.get$sourceUrl(t1)) + "\" don't match.", null));
  83821. else if (t1.get$offset() < t2.get$offset())
  83822. throw A.wrapException(A.ArgumentError$("End " + t1.toString$0(0) + " must come after start " + t2.toString$0(0) + ".", null));
  83823. else {
  83824. t3 = this.text;
  83825. if (t3.length !== t2.distance$1(t1))
  83826. throw A.wrapException(A.ArgumentError$('Text "' + t3 + '" must be ' + t2.distance$1(t1) + " characters long.", null));
  83827. }
  83828. },
  83829. get$start(receiver) {
  83830. return this.start;
  83831. },
  83832. get$end(receiver) {
  83833. return this.end;
  83834. },
  83835. get$text() {
  83836. return this.text;
  83837. }
  83838. };
  83839. A.SourceSpanException.prototype = {
  83840. get$message(_) {
  83841. return this._span_exception$_message;
  83842. },
  83843. get$span(_) {
  83844. return this._span;
  83845. },
  83846. toString$1$color(_, color) {
  83847. var _this = this;
  83848. _this.get$span(_this);
  83849. return "Error on " + _this.get$span(_this).message$2$color(0, _this._span_exception$_message, color);
  83850. },
  83851. toString$0(_) {
  83852. return this.toString$1$color(0, null);
  83853. },
  83854. $isException: 1
  83855. };
  83856. A.SourceSpanFormatException.prototype = {$isFormatException: 1,
  83857. get$source() {
  83858. return this.source;
  83859. }
  83860. };
  83861. A.MultiSourceSpanException.prototype = {
  83862. toString$0(_) {
  83863. var _this = this;
  83864. return "Error on " + A.SourceSpanExtension_messageMultiple(_this._span, _this._span_exception$_message, _this.primaryLabel, _this.secondarySpans, false, null, null);
  83865. },
  83866. get$primaryLabel() {
  83867. return this.primaryLabel;
  83868. },
  83869. get$secondarySpans() {
  83870. return this.secondarySpans;
  83871. }
  83872. };
  83873. A.MultiSourceSpanFormatException.prototype = {$isFormatException: 1};
  83874. A.SourceSpanMixin.prototype = {
  83875. get$sourceUrl(_) {
  83876. var t1 = this.get$start(this);
  83877. return t1.get$sourceUrl(t1);
  83878. },
  83879. get$length(_) {
  83880. var _this = this;
  83881. return _this.get$end(_this).get$offset() - _this.get$start(_this).get$offset();
  83882. },
  83883. compareTo$1(_, other) {
  83884. var _this = this,
  83885. result = _this.get$start(_this).compareTo$1(0, other.get$start(other));
  83886. return result === 0 ? _this.get$end(_this).compareTo$1(0, other.get$end(other)) : result;
  83887. },
  83888. message$2$color(_, message, color) {
  83889. var t2, t3, highlight, _this = this,
  83890. t1 = "" + ("line " + (_this.get$start(_this).get$line() + 1) + ", column " + (_this.get$start(_this).get$column() + 1));
  83891. if (_this.get$sourceUrl(_this) != null) {
  83892. t2 = _this.get$sourceUrl(_this);
  83893. t3 = $.$get$context();
  83894. t2.toString;
  83895. t2 = t1 + (" of " + t3.prettyUri$1(t2));
  83896. t1 = t2;
  83897. }
  83898. t1 += ": " + message;
  83899. highlight = _this.highlight$1$color(color);
  83900. if (highlight.length !== 0)
  83901. t1 = t1 + "\n" + highlight;
  83902. return t1.charCodeAt(0) == 0 ? t1 : t1;
  83903. },
  83904. message$1(_, message) {
  83905. return this.message$2$color(0, message, null);
  83906. },
  83907. highlight$1$color(color) {
  83908. var _this = this;
  83909. if (!type$.SourceSpanWithContext._is(_this) && _this.get$length(_this) === 0)
  83910. return "";
  83911. return A.Highlighter$(_this, color).highlight$0();
  83912. },
  83913. $eq(_, other) {
  83914. var _this = this;
  83915. if (other == null)
  83916. return false;
  83917. 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));
  83918. },
  83919. get$hashCode(_) {
  83920. var _this = this;
  83921. return A.Object_hash(_this.get$start(_this), _this.get$end(_this), B.C_SentinelValue, B.C_SentinelValue);
  83922. },
  83923. toString$0(_) {
  83924. var _this = this;
  83925. return "<" + A.getRuntimeTypeOfDartObject(_this).toString$0(0) + ": from " + _this.get$start(_this).toString$0(0) + " to " + _this.get$end(_this).toString$0(0) + ' "' + _this.get$text() + '">';
  83926. },
  83927. $isComparable: 1,
  83928. $isSourceSpan: 1
  83929. };
  83930. A.SourceSpanWithContext.prototype = {
  83931. get$context(_) {
  83932. return this._context;
  83933. }
  83934. };
  83935. A.Chain.prototype = {
  83936. toTrace$0() {
  83937. var t1 = this.traces;
  83938. return A.Trace$(new A.ExpandIterable(t1, new A.Chain_toTrace_closure(), A._arrayInstanceType(t1)._eval$1("ExpandIterable<1,Frame>")), null);
  83939. },
  83940. toString$0(_) {
  83941. var t1 = this.traces,
  83942. t2 = A._arrayInstanceType(t1);
  83943. 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_____);
  83944. },
  83945. $isStackTrace: 1
  83946. };
  83947. A.Chain_Chain$parse_closure.prototype = {
  83948. call$1(line) {
  83949. return line.length !== 0;
  83950. },
  83951. $signature: 5
  83952. };
  83953. A.Chain_toTrace_closure.prototype = {
  83954. call$1(trace) {
  83955. return trace.get$frames();
  83956. },
  83957. $signature: 291
  83958. };
  83959. A.Chain_toString_closure0.prototype = {
  83960. call$1(trace) {
  83961. var t1 = trace.get$frames();
  83962. return new A.MappedListIterable(t1, new A.Chain_toString__closure0(), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,int>")).fold$2(0, 0, B.CONSTANT);
  83963. },
  83964. $signature: 292
  83965. };
  83966. A.Chain_toString__closure0.prototype = {
  83967. call$1(frame) {
  83968. return frame.get$location().length;
  83969. },
  83970. $signature: 192
  83971. };
  83972. A.Chain_toString_closure.prototype = {
  83973. call$1(trace) {
  83974. var t1 = trace.get$frames();
  83975. return new A.MappedListIterable(t1, new A.Chain_toString__closure(this.longest), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,String>")).join$0(0);
  83976. },
  83977. $signature: 294
  83978. };
  83979. A.Chain_toString__closure.prototype = {
  83980. call$1(frame) {
  83981. return B.JSString_methods.padRight$1(frame.get$location(), this.longest) + " " + A.S(frame.get$member()) + "\n";
  83982. },
  83983. $signature: 193
  83984. };
  83985. A.Frame.prototype = {
  83986. get$isCore() {
  83987. return this.uri.get$scheme() === "dart";
  83988. },
  83989. get$library() {
  83990. var t1 = this.uri;
  83991. if (t1.get$scheme() === "data")
  83992. return "data:...";
  83993. return $.$get$context().prettyUri$1(t1);
  83994. },
  83995. get$$package() {
  83996. var t1 = this.uri;
  83997. if (t1.get$scheme() !== "package")
  83998. return null;
  83999. return B.JSArray_methods.get$first(t1.get$path(t1).split("/"));
  84000. },
  84001. get$location() {
  84002. var t2, _this = this,
  84003. t1 = _this.line;
  84004. if (t1 == null)
  84005. return _this.get$library();
  84006. t2 = _this.column;
  84007. if (t2 == null)
  84008. return _this.get$library() + " " + A.S(t1);
  84009. return _this.get$library() + " " + A.S(t1) + ":" + A.S(t2);
  84010. },
  84011. toString$0(_) {
  84012. return this.get$location() + " in " + A.S(this.member);
  84013. },
  84014. get$uri() {
  84015. return this.uri;
  84016. },
  84017. get$line() {
  84018. return this.line;
  84019. },
  84020. get$column() {
  84021. return this.column;
  84022. },
  84023. get$member() {
  84024. return this.member;
  84025. }
  84026. };
  84027. A.Frame_Frame$parseVM_closure.prototype = {
  84028. call$0() {
  84029. var match, t2, t3, member, uri, lineAndColumn, line, _null = null,
  84030. t1 = this.frame;
  84031. if (t1 === "...")
  84032. return new A.Frame(A._Uri__Uri(_null, _null, _null, _null), _null, _null, "...");
  84033. match = $.$get$_vmFrame().firstMatch$1(t1);
  84034. if (match == null)
  84035. return new A.UnparsedFrame(A._Uri__Uri(_null, "unparsed", _null, _null), t1);
  84036. t1 = match._match;
  84037. t2 = t1[1];
  84038. t2.toString;
  84039. t3 = $.$get$_asyncBody();
  84040. t2 = A.stringReplaceAllUnchecked(t2, t3, "<async>");
  84041. member = A.stringReplaceAllUnchecked(t2, "<anonymous closure>", "<fn>");
  84042. t2 = t1[2];
  84043. t3 = t2;
  84044. t3.toString;
  84045. if (B.JSString_methods.startsWith$1(t3, "<data:"))
  84046. uri = A.Uri_Uri$dataFromString("", _null, _null);
  84047. else {
  84048. t2 = t2;
  84049. t2.toString;
  84050. uri = A.Uri_parse(t2);
  84051. }
  84052. lineAndColumn = t1[3].split(":");
  84053. t1 = lineAndColumn.length;
  84054. line = t1 > 1 ? A.int_parse(lineAndColumn[1], _null) : _null;
  84055. return new A.Frame(uri, line, t1 > 2 ? A.int_parse(lineAndColumn[2], _null) : _null, member);
  84056. },
  84057. $signature: 69
  84058. };
  84059. A.Frame_Frame$parseV8_closure.prototype = {
  84060. call$0() {
  84061. var member, uri, t2, functionOffset, t3, _s4_ = "<fn>",
  84062. t1 = this.frame,
  84063. match = $.$get$_v8WasmFrame().firstMatch$1(t1);
  84064. if (match != null) {
  84065. member = match.namedGroup$1("member");
  84066. t1 = match.namedGroup$1("uri");
  84067. t1.toString;
  84068. uri = A.Frame__uriOrPathToUri(t1);
  84069. t1 = match.namedGroup$1("index");
  84070. t1.toString;
  84071. t2 = match.namedGroup$1("offset");
  84072. t2.toString;
  84073. functionOffset = A.int_parse(t2, 16);
  84074. if (!(member == null))
  84075. t1 = member;
  84076. return new A.Frame(uri, 1, functionOffset + 1, t1);
  84077. }
  84078. match = $.$get$_v8JsFrame().firstMatch$1(t1);
  84079. if (match != null) {
  84080. t1 = new A.Frame_Frame$parseV8_closure_parseJsLocation(t1);
  84081. t2 = match._match;
  84082. t3 = t2[2];
  84083. if (t3 != null) {
  84084. t3 = t3;
  84085. t3.toString;
  84086. t2 = t2[1];
  84087. t2.toString;
  84088. t2 = A.stringReplaceAllUnchecked(t2, "<anonymous>", _s4_);
  84089. t2 = A.stringReplaceAllUnchecked(t2, "Anonymous function", _s4_);
  84090. return t1.call$2(t3, A.stringReplaceAllUnchecked(t2, "(anonymous function)", _s4_));
  84091. } else {
  84092. t2 = t2[3];
  84093. t2.toString;
  84094. return t1.call$2(t2, _s4_);
  84095. }
  84096. }
  84097. return new A.UnparsedFrame(A._Uri__Uri(null, "unparsed", null, null), t1);
  84098. },
  84099. $signature: 69
  84100. };
  84101. A.Frame_Frame$parseV8_closure_parseJsLocation.prototype = {
  84102. call$2($location, member) {
  84103. var t2, urlMatch, uri, line, columnMatch, _null = null,
  84104. t1 = $.$get$_v8EvalLocation(),
  84105. evalMatch = t1.firstMatch$1($location);
  84106. for (; evalMatch != null; $location = t2) {
  84107. t2 = evalMatch._match[1];
  84108. t2.toString;
  84109. evalMatch = t1.firstMatch$1(t2);
  84110. }
  84111. if ($location === "native")
  84112. return new A.Frame(A.Uri_parse("native"), _null, _null, member);
  84113. urlMatch = $.$get$_v8JsUrlLocation().firstMatch$1($location);
  84114. if (urlMatch == null)
  84115. return new A.UnparsedFrame(A._Uri__Uri(_null, "unparsed", _null, _null), this.frame);
  84116. t1 = urlMatch._match;
  84117. t2 = t1[1];
  84118. t2.toString;
  84119. uri = A.Frame__uriOrPathToUri(t2);
  84120. t2 = t1[2];
  84121. t2.toString;
  84122. line = A.int_parse(t2, _null);
  84123. columnMatch = t1[3];
  84124. return new A.Frame(uri, line, columnMatch != null ? A.int_parse(columnMatch, _null) : _null, member);
  84125. },
  84126. $signature: 297
  84127. };
  84128. A.Frame_Frame$_parseFirefoxEval_closure.prototype = {
  84129. call$0() {
  84130. var t2, member, uri, line, _null = null,
  84131. t1 = this.frame,
  84132. match = $.$get$_firefoxEvalLocation().firstMatch$1(t1);
  84133. if (match == null)
  84134. return new A.UnparsedFrame(A._Uri__Uri(_null, "unparsed", _null, _null), t1);
  84135. t1 = match._match;
  84136. t2 = t1[1];
  84137. t2.toString;
  84138. member = A.stringReplaceAllUnchecked(t2, "/<", "");
  84139. t2 = t1[2];
  84140. t2.toString;
  84141. uri = A.Frame__uriOrPathToUri(t2);
  84142. t1 = t1[3];
  84143. t1.toString;
  84144. line = A.int_parse(t1, _null);
  84145. return new A.Frame(uri, line, _null, member.length === 0 || member === "anonymous" ? "<fn>" : member);
  84146. },
  84147. $signature: 69
  84148. };
  84149. A.Frame_Frame$parseFirefox_closure.prototype = {
  84150. call$0() {
  84151. var t2, t3, t4, uri, member, line, column, functionOffset, _null = null,
  84152. t1 = this.frame,
  84153. match = $.$get$_firefoxSafariJSFrame().firstMatch$1(t1);
  84154. if (match != null) {
  84155. t2 = match._match;
  84156. t3 = t2[3];
  84157. t4 = t3;
  84158. t4.toString;
  84159. if (B.JSString_methods.contains$1(t4, " line "))
  84160. return A.Frame_Frame$_parseFirefoxEval(t1);
  84161. t1 = t3;
  84162. t1.toString;
  84163. uri = A.Frame__uriOrPathToUri(t1);
  84164. member = t2[1];
  84165. if (member != null) {
  84166. t1 = t2[2];
  84167. t1.toString;
  84168. member += B.JSArray_methods.join$0(A.List_List$filled(B.JSString_methods.allMatches$1("/", t1).get$length(0), ".<fn>", false, type$.String));
  84169. if (member === "")
  84170. member = "<fn>";
  84171. member = B.JSString_methods.replaceFirst$2(member, $.$get$_initialDot(), "");
  84172. } else
  84173. member = "<fn>";
  84174. t1 = t2[4];
  84175. if (t1 === "")
  84176. line = _null;
  84177. else {
  84178. t1 = t1;
  84179. t1.toString;
  84180. line = A.int_parse(t1, _null);
  84181. }
  84182. t1 = t2[5];
  84183. if (t1 == null || t1 === "")
  84184. column = _null;
  84185. else {
  84186. t1 = t1;
  84187. t1.toString;
  84188. column = A.int_parse(t1, _null);
  84189. }
  84190. return new A.Frame(uri, line, column, member);
  84191. }
  84192. match = $.$get$_firefoxWasmFrame().firstMatch$1(t1);
  84193. if (match != null) {
  84194. t1 = match.namedGroup$1("member");
  84195. t1.toString;
  84196. t2 = match.namedGroup$1("uri");
  84197. t2.toString;
  84198. uri = A.Frame__uriOrPathToUri(t2);
  84199. t2 = match.namedGroup$1("index");
  84200. t2.toString;
  84201. t3 = match.namedGroup$1("offset");
  84202. t3.toString;
  84203. functionOffset = A.int_parse(t3, 16);
  84204. if (!(t1.length !== 0))
  84205. t1 = t2;
  84206. return new A.Frame(uri, 1, functionOffset + 1, t1);
  84207. }
  84208. match = $.$get$_safariWasmFrame().firstMatch$1(t1);
  84209. if (match != null) {
  84210. t1 = match.namedGroup$1("member");
  84211. t1.toString;
  84212. return new A.Frame(A._Uri__Uri(_null, "wasm code", _null, _null), _null, _null, t1);
  84213. }
  84214. return new A.UnparsedFrame(A._Uri__Uri(_null, "unparsed", _null, _null), t1);
  84215. },
  84216. $signature: 69
  84217. };
  84218. A.Frame_Frame$parseFriendly_closure.prototype = {
  84219. call$0() {
  84220. var t2, uri, line, column, _null = null,
  84221. t1 = this.frame,
  84222. match = $.$get$_friendlyFrame().firstMatch$1(t1);
  84223. if (match == null)
  84224. throw A.wrapException(A.FormatException$("Couldn't parse package:stack_trace stack trace line '" + t1 + "'.", _null, _null));
  84225. t1 = match._match;
  84226. t2 = t1[1];
  84227. if (t2 === "data:...")
  84228. uri = A.Uri_Uri$dataFromString("", _null, _null);
  84229. else {
  84230. t2 = t2;
  84231. t2.toString;
  84232. uri = A.Uri_parse(t2);
  84233. }
  84234. if (uri.get$scheme() === "") {
  84235. t2 = $.$get$context();
  84236. uri = t2.toUri$1(A.absolute(t2.style.pathFromUri$1(A._parseUri(uri)), _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null));
  84237. }
  84238. t2 = t1[2];
  84239. if (t2 == null)
  84240. line = _null;
  84241. else {
  84242. t2 = t2;
  84243. t2.toString;
  84244. line = A.int_parse(t2, _null);
  84245. }
  84246. t2 = t1[3];
  84247. if (t2 == null)
  84248. column = _null;
  84249. else {
  84250. t2 = t2;
  84251. t2.toString;
  84252. column = A.int_parse(t2, _null);
  84253. }
  84254. return new A.Frame(uri, line, column, t1[4]);
  84255. },
  84256. $signature: 69
  84257. };
  84258. A.LazyTrace.prototype = {
  84259. get$_lazy_trace$_trace() {
  84260. var result, _this = this,
  84261. value = _this.__LazyTrace__trace_FI;
  84262. if (value === $) {
  84263. result = _this._thunk.call$0();
  84264. _this.__LazyTrace__trace_FI !== $ && A.throwUnnamedLateFieldADI();
  84265. _this.__LazyTrace__trace_FI = result;
  84266. value = result;
  84267. }
  84268. return value;
  84269. },
  84270. get$frames() {
  84271. return this.get$_lazy_trace$_trace().get$frames();
  84272. },
  84273. get$terse() {
  84274. return new A.LazyTrace(new A.LazyTrace_terse_closure(this));
  84275. },
  84276. toString$0(_) {
  84277. return this.get$_lazy_trace$_trace().toString$0(0);
  84278. },
  84279. $isStackTrace: 1,
  84280. $isTrace: 1
  84281. };
  84282. A.LazyTrace_terse_closure.prototype = {
  84283. call$0() {
  84284. return this.$this.get$_lazy_trace$_trace().get$terse();
  84285. },
  84286. $signature: 195
  84287. };
  84288. A.Trace.prototype = {
  84289. get$terse() {
  84290. return this.foldFrames$2$terse(new A.Trace_terse_closure(), true);
  84291. },
  84292. foldFrames$2$terse(predicate, terse) {
  84293. var newFrames, t1, t2, t3, _box_0 = {};
  84294. _box_0.predicate = predicate;
  84295. _box_0.predicate = new A.Trace_foldFrames_closure(predicate);
  84296. newFrames = A._setArrayType([], type$.JSArray_Frame);
  84297. for (t1 = this.frames, t2 = A._arrayInstanceType(t1)._eval$1("ReversedListIterable<1>"), t1 = new A.ReversedListIterable(t1, t2), t1 = new A.ListIterator(t1, t1.get$length(0), t2._eval$1("ListIterator<ListIterable.E>")), t2 = t2._eval$1("ListIterable.E"); t1.moveNext$0();) {
  84298. t3 = t1.__internal$_current;
  84299. if (t3 == null)
  84300. t3 = t2._as(t3);
  84301. if (t3 instanceof A.UnparsedFrame || !_box_0.predicate.call$1(t3))
  84302. newFrames.push(t3);
  84303. else if (newFrames.length === 0 || !_box_0.predicate.call$1(B.JSArray_methods.get$last(newFrames)))
  84304. newFrames.push(new A.Frame(t3.get$uri(), t3.get$line(), t3.get$column(), t3.get$member()));
  84305. }
  84306. t1 = type$.MappedListIterable_Frame_Frame;
  84307. newFrames = A.List_List$_of(new A.MappedListIterable(newFrames, new A.Trace_foldFrames_closure0(_box_0), t1), t1._eval$1("ListIterable.E"));
  84308. if (newFrames.length > 1 && _box_0.predicate.call$1(B.JSArray_methods.get$first(newFrames)))
  84309. B.JSArray_methods.removeAt$1(newFrames, 0);
  84310. return A.Trace$(new A.ReversedListIterable(newFrames, A._arrayInstanceType(newFrames)._eval$1("ReversedListIterable<1>")), this.original._stackTrace);
  84311. },
  84312. toString$0(_) {
  84313. var t1 = this.frames,
  84314. t2 = A._arrayInstanceType(t1);
  84315. 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);
  84316. },
  84317. $isStackTrace: 1,
  84318. get$frames() {
  84319. return this.frames;
  84320. }
  84321. };
  84322. A.Trace_Trace$from_closure.prototype = {
  84323. call$0() {
  84324. return A.Trace_Trace$parse(this.trace.toString$0(0));
  84325. },
  84326. $signature: 195
  84327. };
  84328. A.Trace__parseVM_closure.prototype = {
  84329. call$1(line) {
  84330. return line.length !== 0;
  84331. },
  84332. $signature: 5
  84333. };
  84334. A.Trace$parseV8_closure.prototype = {
  84335. call$1(line) {
  84336. return !B.JSString_methods.startsWith$1(line, $.$get$_v8TraceLine());
  84337. },
  84338. $signature: 5
  84339. };
  84340. A.Trace$parseJSCore_closure.prototype = {
  84341. call$1(line) {
  84342. return line !== "\tat ";
  84343. },
  84344. $signature: 5
  84345. };
  84346. A.Trace$parseFirefox_closure.prototype = {
  84347. call$1(line) {
  84348. return line.length !== 0 && line !== "[native code]";
  84349. },
  84350. $signature: 5
  84351. };
  84352. A.Trace$parseFriendly_closure.prototype = {
  84353. call$1(line) {
  84354. return !B.JSString_methods.startsWith$1(line, "=====");
  84355. },
  84356. $signature: 5
  84357. };
  84358. A.Trace_terse_closure.prototype = {
  84359. call$1(_) {
  84360. return false;
  84361. },
  84362. $signature: 196
  84363. };
  84364. A.Trace_foldFrames_closure.prototype = {
  84365. call$1(frame) {
  84366. var t1;
  84367. if (this.oldPredicate.call$1(frame))
  84368. return true;
  84369. if (frame.get$isCore())
  84370. return true;
  84371. if (frame.get$$package() === "stack_trace")
  84372. return true;
  84373. t1 = frame.get$member();
  84374. t1.toString;
  84375. if (!B.JSString_methods.contains$1(t1, "<async>"))
  84376. return false;
  84377. return frame.get$line() == null;
  84378. },
  84379. $signature: 196
  84380. };
  84381. A.Trace_foldFrames_closure0.prototype = {
  84382. call$1(frame) {
  84383. var t1, t2;
  84384. if (frame instanceof A.UnparsedFrame || !this._box_0.predicate.call$1(frame))
  84385. return frame;
  84386. t1 = frame.get$library();
  84387. t2 = $.$get$_terseRegExp();
  84388. return new A.Frame(A.Uri_parse(A.stringReplaceAllUnchecked(t1, t2, "")), null, null, frame.get$member());
  84389. },
  84390. $signature: 300
  84391. };
  84392. A.Trace_toString_closure0.prototype = {
  84393. call$1(frame) {
  84394. return frame.get$location().length;
  84395. },
  84396. $signature: 192
  84397. };
  84398. A.Trace_toString_closure.prototype = {
  84399. call$1(frame) {
  84400. if (frame instanceof A.UnparsedFrame)
  84401. return frame.toString$0(0) + "\n";
  84402. return B.JSString_methods.padRight$1(frame.get$location(), this.longest) + " " + A.S(frame.get$member()) + "\n";
  84403. },
  84404. $signature: 193
  84405. };
  84406. A.UnparsedFrame.prototype = {
  84407. toString$0(_) {
  84408. return this.member;
  84409. },
  84410. $isFrame: 1,
  84411. get$uri() {
  84412. return this.uri;
  84413. },
  84414. get$line() {
  84415. return null;
  84416. },
  84417. get$column() {
  84418. return null;
  84419. },
  84420. get$isCore() {
  84421. return false;
  84422. },
  84423. get$library() {
  84424. return "unparsed";
  84425. },
  84426. get$$package() {
  84427. return null;
  84428. },
  84429. get$location() {
  84430. return "unparsed";
  84431. },
  84432. get$member() {
  84433. return this.member;
  84434. }
  84435. };
  84436. A.TransformByHandlers_transformByHandlers_closure.prototype = {
  84437. call$0() {
  84438. var t2, subscription, t3, t4, _this = this, t1 = {};
  84439. t1.valuesDone = false;
  84440. t2 = _this.controller;
  84441. subscription = _this._this.listen$3$onDone$onError(0, new A.TransformByHandlers_transformByHandlers__closure(_this.onData, t2, _this.S), new A.TransformByHandlers_transformByHandlers__closure0(t1, _this.handleDone, t2), new A.TransformByHandlers_transformByHandlers__closure1(_this.handleError, t2));
  84442. t3 = _this._box_1;
  84443. t3.subscription = subscription;
  84444. t2.set$onPause(subscription.get$pause(subscription));
  84445. t4 = t3.subscription;
  84446. t2.set$onResume(t4.get$resume(t4));
  84447. t2.set$onCancel(new A.TransformByHandlers_transformByHandlers__closure2(t3, t1));
  84448. },
  84449. $signature: 0
  84450. };
  84451. A.TransformByHandlers_transformByHandlers__closure.prototype = {
  84452. call$1(value) {
  84453. return this.onData.call$2(value, this.controller);
  84454. },
  84455. $signature() {
  84456. return this.S._eval$1("~(0)");
  84457. }
  84458. };
  84459. A.TransformByHandlers_transformByHandlers__closure1.prototype = {
  84460. call$2(error, stackTrace) {
  84461. this.handleError.call$3(error, stackTrace, this.controller);
  84462. },
  84463. $signature: 51
  84464. };
  84465. A.TransformByHandlers_transformByHandlers__closure0.prototype = {
  84466. call$0() {
  84467. this._box_0.valuesDone = true;
  84468. this.handleDone.call$1(this.controller);
  84469. },
  84470. $signature: 0
  84471. };
  84472. A.TransformByHandlers_transformByHandlers__closure2.prototype = {
  84473. call$0() {
  84474. var t1 = this._box_1,
  84475. toCancel = t1.subscription;
  84476. t1.subscription = null;
  84477. if (!this._box_0.valuesDone)
  84478. return toCancel.cancel$0();
  84479. return null;
  84480. },
  84481. $signature: 224
  84482. };
  84483. A.RateLimit__debounceAggregate_closure.prototype = {
  84484. call$2(value, sink) {
  84485. var _this = this,
  84486. t1 = _this._box_0,
  84487. t2 = new A.RateLimit__debounceAggregate_closure_emit(t1, sink, _this.S),
  84488. t3 = t1.timer;
  84489. if (t3 != null)
  84490. t3.cancel$0();
  84491. t1.soFar = _this.collect.call$2(value, t1.soFar);
  84492. t1.hasPending = true;
  84493. if (t1.timer == null && _this.leading) {
  84494. t1.emittedLatestAsLeading = true;
  84495. t2.call$0();
  84496. } else
  84497. t1.emittedLatestAsLeading = false;
  84498. t1.timer = A.Timer_Timer(_this.duration, new A.RateLimit__debounceAggregate__closure(t1, _this.trailing, t2, sink));
  84499. },
  84500. $signature() {
  84501. return this.T._eval$1("@<0>")._bind$1(this.S)._eval$1("~(1,EventSink<2>)");
  84502. }
  84503. };
  84504. A.RateLimit__debounceAggregate_closure_emit.prototype = {
  84505. call$0() {
  84506. var t1 = this._box_0,
  84507. t2 = t1.soFar;
  84508. if (t2 == null)
  84509. t2 = this.S._as(t2);
  84510. this.sink.add$1(0, t2);
  84511. t1.soFar = null;
  84512. t1.hasPending = false;
  84513. },
  84514. $signature: 0
  84515. };
  84516. A.RateLimit__debounceAggregate__closure.prototype = {
  84517. call$0() {
  84518. var t1 = this._box_0,
  84519. t2 = t1.emittedLatestAsLeading;
  84520. if (!t2)
  84521. this.emit.call$0();
  84522. if (t1.shouldClose)
  84523. this.sink.close$0(0);
  84524. t1.timer = null;
  84525. },
  84526. $signature: 0
  84527. };
  84528. A.RateLimit__debounceAggregate_closure0.prototype = {
  84529. call$1(sink) {
  84530. var t1 = this._box_0;
  84531. if (t1.hasPending && this.trailing)
  84532. t1.shouldClose = true;
  84533. else {
  84534. t1 = t1.timer;
  84535. if (t1 != null)
  84536. t1.cancel$0();
  84537. sink.close$0(0);
  84538. }
  84539. },
  84540. $signature() {
  84541. return this.S._eval$1("~(EventSink<0>)");
  84542. }
  84543. };
  84544. A.StringScannerException.prototype = {
  84545. get$source() {
  84546. return A._asString(this.source);
  84547. }
  84548. };
  84549. A.LineScanner.prototype = {
  84550. scanChar$1(character) {
  84551. if (!this.super$StringScanner$scanChar(character))
  84552. return false;
  84553. this._adjustLineAndColumn$1(character);
  84554. return true;
  84555. },
  84556. readChar$0() {
  84557. var character = this.super$StringScanner$readChar();
  84558. this._adjustLineAndColumn$1(character);
  84559. return character;
  84560. },
  84561. _adjustLineAndColumn$1(character) {
  84562. var t1, _this = this;
  84563. if (character !== 10)
  84564. t1 = character === 13 && _this.peekChar$0() !== 10;
  84565. else
  84566. t1 = true;
  84567. if (t1) {
  84568. ++_this._line_scanner$_line;
  84569. _this._line_scanner$_column = 0;
  84570. } else {
  84571. t1 = _this._line_scanner$_column;
  84572. _this._line_scanner$_column = t1 + (character >= 65536 && character <= 1114111 ? 2 : 1);
  84573. }
  84574. },
  84575. scan$1(pattern) {
  84576. var t1, newlines, t2, _this = this;
  84577. if (!_this.super$StringScanner$scan(pattern))
  84578. return false;
  84579. t1 = _this.get$lastMatch();
  84580. newlines = _this._newlinesIn$2$endPosition(t1.pattern, _this._string_scanner$_position);
  84581. t1 = _this._line_scanner$_line;
  84582. t2 = newlines.length;
  84583. _this._line_scanner$_line = t1 + t2;
  84584. if (t2 === 0) {
  84585. t1 = _this._line_scanner$_column;
  84586. t2 = _this.get$lastMatch();
  84587. _this._line_scanner$_column = t1 + t2.pattern.length;
  84588. } else {
  84589. t1 = _this.get$lastMatch();
  84590. _this._line_scanner$_column = t1.pattern.length - J.get$end$z(B.JSArray_methods.get$last(newlines));
  84591. }
  84592. return true;
  84593. },
  84594. _newlinesIn$2$endPosition(text, endPosition) {
  84595. var t1 = $.$get$_newlineRegExp().allMatches$1(0, text),
  84596. newlines = A.List_List$_of(t1, A._instanceType(t1)._eval$1("Iterable.E"));
  84597. t1 = this.string;
  84598. if (endPosition < t1.length && B.JSString_methods.endsWith$1(text, "\r") && t1[endPosition] === "\n")
  84599. newlines.pop();
  84600. return newlines;
  84601. }
  84602. };
  84603. A.SpanScanner.prototype = {
  84604. set$state(state) {
  84605. if (state._scanner !== this)
  84606. throw A.wrapException(A.ArgumentError$(string$.The_gi, null));
  84607. this.set$position(state.position);
  84608. },
  84609. spanFrom$2(startState, endState) {
  84610. var endPosition = endState == null ? this._string_scanner$_position : endState.position;
  84611. return this._sourceFile.span$2(0, startState.position, endPosition);
  84612. },
  84613. spanFrom$1(startState) {
  84614. return this.spanFrom$2(startState, null);
  84615. },
  84616. spanFromPosition$1(startPosition) {
  84617. var t1 = this._string_scanner$_position;
  84618. return this._sourceFile.span$2(0, startPosition, t1);
  84619. },
  84620. matches$1(pattern) {
  84621. var t1, t2, _this = this;
  84622. if (!_this.super$StringScanner$matches(pattern))
  84623. return false;
  84624. t1 = _this._string_scanner$_position;
  84625. t2 = _this.get$lastMatch();
  84626. _this._sourceFile.span$2(0, t1, t2.start + t2.pattern.length);
  84627. return true;
  84628. },
  84629. error$3$length$position(_, message, $length, position) {
  84630. var match, t2, _this = this,
  84631. t1 = _this.string;
  84632. A.validateErrorArgs(t1, null, position, $length);
  84633. match = position == null && $length == null ? _this.get$lastMatch() : null;
  84634. if (position == null)
  84635. position = match == null ? _this._string_scanner$_position : match.start;
  84636. if ($length == null)
  84637. if (match == null)
  84638. $length = 0;
  84639. else {
  84640. t2 = match.start;
  84641. $length = t2 + match.pattern.length - t2;
  84642. }
  84643. throw A.wrapException(A.StringScannerException$(message, _this._sourceFile.span$2(0, position, position + $length), t1));
  84644. },
  84645. error$1(_, message) {
  84646. return this.error$3$length$position(0, message, null, null);
  84647. },
  84648. error$2$position(_, message, position) {
  84649. return this.error$3$length$position(0, message, null, position);
  84650. },
  84651. error$2$length(_, message, $length) {
  84652. return this.error$3$length$position(0, message, $length, null);
  84653. }
  84654. };
  84655. A._SpanScannerState.prototype = {};
  84656. A.StringScanner.prototype = {
  84657. set$position(position) {
  84658. if (B.JSInt_methods.get$isNegative(position) || position > this.string.length)
  84659. throw A.wrapException(A.ArgumentError$("Invalid position " + position, null));
  84660. this._string_scanner$_position = position;
  84661. this._lastMatch = null;
  84662. },
  84663. get$lastMatch() {
  84664. var _this = this;
  84665. if (_this._string_scanner$_position !== _this._lastMatchPosition)
  84666. _this._lastMatch = null;
  84667. return _this._lastMatch;
  84668. },
  84669. readChar$0() {
  84670. var _this = this,
  84671. t1 = _this.string;
  84672. if (_this._string_scanner$_position === t1.length)
  84673. _this._fail$1("more input");
  84674. return t1.charCodeAt(_this._string_scanner$_position++);
  84675. },
  84676. peekChar$1(offset) {
  84677. var index;
  84678. if (offset == null)
  84679. offset = 0;
  84680. index = this._string_scanner$_position + offset;
  84681. if (index < 0 || index >= this.string.length)
  84682. return null;
  84683. return this.string.charCodeAt(index);
  84684. },
  84685. peekChar$0() {
  84686. return this.peekChar$1(null);
  84687. },
  84688. scanChar$1(character) {
  84689. var t1, t2, t3, t4, _this = this;
  84690. if (character >= 65536 && character <= 1114111) {
  84691. t1 = _this._string_scanner$_position;
  84692. t2 = t1 + 1;
  84693. t3 = _this.string;
  84694. if (t2 < t3.length) {
  84695. t4 = character - 65536;
  84696. t2 = t3.charCodeAt(t1) !== B.JSInt_methods._shrOtherPositive$1(t4, 10) + 55296 || t3.charCodeAt(t2) !== (t4 & 1023) + 56320;
  84697. } else
  84698. t2 = true;
  84699. if (t2)
  84700. return false;
  84701. else {
  84702. _this._string_scanner$_position = t1 + 2;
  84703. return true;
  84704. }
  84705. } else {
  84706. t1 = _this._string_scanner$_position;
  84707. t2 = _this.string;
  84708. if (t1 === t2.length)
  84709. return false;
  84710. if (t2.charCodeAt(t1) !== character)
  84711. return false;
  84712. _this._string_scanner$_position = t1 + 1;
  84713. return true;
  84714. }
  84715. },
  84716. expectChar$2$name(character, $name) {
  84717. if (this.scanChar$1(character))
  84718. return;
  84719. if ($name == null)
  84720. if (character === 92)
  84721. $name = '"\\"';
  84722. else
  84723. $name = character === 34 ? '"\\""' : '"' + A.Primitives_stringFromCharCode(character) + '"';
  84724. this._fail$1($name);
  84725. },
  84726. expectChar$1(character) {
  84727. return this.expectChar$2$name(character, null);
  84728. },
  84729. scan$1(pattern) {
  84730. var t1, _this = this,
  84731. success = _this.matches$1(pattern);
  84732. if (success) {
  84733. t1 = _this._lastMatch;
  84734. _this._lastMatchPosition = _this._string_scanner$_position = t1.start + t1.pattern.length;
  84735. }
  84736. return success;
  84737. },
  84738. expect$1(pattern) {
  84739. var t1, $name;
  84740. if (this.scan$1(pattern))
  84741. return;
  84742. t1 = A.stringReplaceAllUnchecked(pattern, "\\", "\\\\");
  84743. $name = '"' + A.stringReplaceAllUnchecked(t1, '"', '\\"') + '"';
  84744. this._fail$1($name);
  84745. },
  84746. expectDone$0() {
  84747. if (this._string_scanner$_position === this.string.length)
  84748. return;
  84749. this._fail$1("no more input");
  84750. },
  84751. matches$1(pattern) {
  84752. var _this = this,
  84753. t1 = B.JSString_methods.matchAsPrefix$2(pattern, _this.string, _this._string_scanner$_position);
  84754. _this._lastMatch = t1;
  84755. _this._lastMatchPosition = _this._string_scanner$_position;
  84756. return t1 != null;
  84757. },
  84758. substring$1(_, start) {
  84759. var end = this._string_scanner$_position;
  84760. return B.JSString_methods.substring$2(this.string, start, end);
  84761. },
  84762. error$3$length$position(_, message, $length, position) {
  84763. var match, t2, _this = this,
  84764. t1 = _this.string;
  84765. A.validateErrorArgs(t1, null, position, $length);
  84766. match = position == null && $length == null ? _this.get$lastMatch() : null;
  84767. if (position == null)
  84768. position = match == null ? _this._string_scanner$_position : match.start;
  84769. if ($length == null)
  84770. if (match == null)
  84771. $length = 0;
  84772. else {
  84773. t2 = match.start;
  84774. $length = t2 + match.pattern.length - t2;
  84775. }
  84776. throw A.wrapException(A.StringScannerException$(message, A.SourceFile$fromString(t1, _this.sourceUrl).span$2(0, position, position + $length), t1));
  84777. },
  84778. error$1(_, message) {
  84779. return this.error$3$length$position(0, message, null, null);
  84780. },
  84781. _fail$1($name) {
  84782. this.error$3$length$position(0, "expected " + $name + ".", 0, this._string_scanner$_position);
  84783. }
  84784. };
  84785. A.AsciiGlyphSet.prototype = {
  84786. glyphOrAscii$2(glyph, alternative) {
  84787. return alternative;
  84788. },
  84789. get$horizontalLine() {
  84790. return "-";
  84791. },
  84792. get$verticalLine() {
  84793. return "|";
  84794. },
  84795. get$topLeftCorner() {
  84796. return ",";
  84797. },
  84798. get$bottomLeftCorner() {
  84799. return "'";
  84800. },
  84801. get$cross() {
  84802. return "+";
  84803. },
  84804. get$upEnd() {
  84805. return "'";
  84806. },
  84807. get$downEnd() {
  84808. return ",";
  84809. },
  84810. get$horizontalLineBold() {
  84811. return "=";
  84812. }
  84813. };
  84814. A.UnicodeGlyphSet.prototype = {
  84815. glyphOrAscii$2(glyph, alternative) {
  84816. return glyph;
  84817. },
  84818. get$horizontalLine() {
  84819. return "\u2500";
  84820. },
  84821. get$verticalLine() {
  84822. return "\u2502";
  84823. },
  84824. get$topLeftCorner() {
  84825. return "\u250c";
  84826. },
  84827. get$bottomLeftCorner() {
  84828. return "\u2514";
  84829. },
  84830. get$cross() {
  84831. return "\u253c";
  84832. },
  84833. get$upEnd() {
  84834. return "\u2575";
  84835. },
  84836. get$downEnd() {
  84837. return "\u2577";
  84838. },
  84839. get$horizontalLineBold() {
  84840. return "\u2501";
  84841. }
  84842. };
  84843. A.WatchEvent.prototype = {
  84844. toString$0(_) {
  84845. return this.type.toString$0(0) + " " + this.path;
  84846. }
  84847. };
  84848. A.ChangeType.prototype = {
  84849. toString$0(_) {
  84850. return this._watch_event$_name;
  84851. }
  84852. };
  84853. A.A98RgbColorSpace0.prototype = {
  84854. get$isBoundedInternal() {
  84855. return true;
  84856. },
  84857. toLinear$1(channel) {
  84858. return J.get$sign$in(channel) * Math.pow(Math.abs(channel), 2.19921875);
  84859. },
  84860. fromLinear$1(channel) {
  84861. return J.get$sign$in(channel) * Math.pow(Math.abs(channel), 0.4547069271758437);
  84862. },
  84863. transformationMatrix$1(dest) {
  84864. var t1;
  84865. $label0$0: {
  84866. if (B.SrgbLinearColorSpace_kUj0 === dest || B.SrgbColorSpace_thf0 === dest || B.RgbColorSpace_i0P0 === dest) {
  84867. t1 = $.$get$linearA98RgbToLinearSrgb0();
  84868. break $label0$0;
  84869. }
  84870. if (B.DisplayP3ColorSpace_MmT0 === dest) {
  84871. t1 = $.$get$linearA98RgbToLinearDisplayP30();
  84872. break $label0$0;
  84873. }
  84874. if (B.ProphotoRgbColorSpace_BDz0 === dest) {
  84875. t1 = $.$get$linearA98RgbToLinearProphotoRgb0();
  84876. break $label0$0;
  84877. }
  84878. if (B.Rec2020ColorSpace_6oo0 === dest) {
  84879. t1 = $.$get$linearA98RgbToLinearRec20200();
  84880. break $label0$0;
  84881. }
  84882. if (B.XyzD65ColorSpace_WiJ0 === dest) {
  84883. t1 = $.$get$linearA98RgbToXyzD650();
  84884. break $label0$0;
  84885. }
  84886. if (B.XyzD50ColorSpace_2OB0 === dest) {
  84887. t1 = $.$get$linearA98RgbToXyzD500();
  84888. break $label0$0;
  84889. }
  84890. if (B.LmsColorSpace_Os30 === dest) {
  84891. t1 = $.$get$linearA98RgbToLms0();
  84892. break $label0$0;
  84893. }
  84894. t1 = this.super$ColorSpace$transformationMatrix0(dest);
  84895. break $label0$0;
  84896. }
  84897. return t1;
  84898. }
  84899. };
  84900. A.AnySelectorVisitor0.prototype = {
  84901. visitComplexSelector$1(complex) {
  84902. return B.JSArray_methods.any$1(complex.components, new A.AnySelectorVisitor_visitComplexSelector_closure0(this));
  84903. },
  84904. visitCompoundSelector$1(compound) {
  84905. return B.JSArray_methods.any$1(compound.components, new A.AnySelectorVisitor_visitCompoundSelector_closure0(this));
  84906. },
  84907. visitPseudoSelector$1(pseudo) {
  84908. var selector = pseudo.selector;
  84909. return selector == null ? false : this.visitSelectorList$1(selector);
  84910. },
  84911. visitSelectorList$1(list) {
  84912. return B.JSArray_methods.any$1(list.components, this.get$visitComplexSelector());
  84913. },
  84914. visitAttributeSelector$1(attribute) {
  84915. return false;
  84916. },
  84917. visitClassSelector$1(klass) {
  84918. return false;
  84919. },
  84920. visitIDSelector$1(id) {
  84921. return false;
  84922. },
  84923. visitParentSelector$1($parent) {
  84924. return false;
  84925. },
  84926. visitPlaceholderSelector$1(placeholder) {
  84927. return false;
  84928. },
  84929. visitTypeSelector$1(type) {
  84930. return false;
  84931. },
  84932. visitUniversalSelector$1(universal) {
  84933. return false;
  84934. }
  84935. };
  84936. A.AnySelectorVisitor_visitComplexSelector_closure0.prototype = {
  84937. call$1(component) {
  84938. return this.$this.visitCompoundSelector$1(component.selector);
  84939. },
  84940. $signature: 56
  84941. };
  84942. A.AnySelectorVisitor_visitCompoundSelector_closure0.prototype = {
  84943. call$1(simple) {
  84944. return simple.accept$1(this.$this);
  84945. },
  84946. $signature: 14
  84947. };
  84948. A.SupportsAnything0.prototype = {
  84949. toInterpolation$0() {
  84950. var t1 = new A.StringBuffer(""),
  84951. t2 = new A.InterpolationBuffer0(t1, A._setArrayType([], type$.JSArray_Object), A._setArrayType([], type$.JSArray_nullable_FileSpan)),
  84952. t3 = this.span,
  84953. t4 = this.contents,
  84954. t5 = t4.span,
  84955. t6 = A.SpanExtensions_before(t3, t5);
  84956. t6 = A.String_String$fromCharCodes(B.NativeUint32List_methods.sublist$2(t6.file._decodedChars, t6._file$_start, t6._end), 0, null);
  84957. t1._contents += t6;
  84958. t2.addInterpolation$1(t4);
  84959. t5 = A.SpanExtensions_after(t3, t5);
  84960. t5 = A.String_String$fromCharCodes(B.NativeUint32List_methods.sublist$2(t5.file._decodedChars, t5._file$_start, t5._end), 0, null);
  84961. t1._contents += t5;
  84962. return t2.interpolation$1(t3);
  84963. },
  84964. withSpan$1(span) {
  84965. return new A.SupportsAnything0(this.contents, span);
  84966. },
  84967. toString$0(_) {
  84968. return "(" + this.contents.toString$0(0) + ")";
  84969. },
  84970. $isAstNode0: 1,
  84971. $isSassNode: 1,
  84972. $isSupportsCondition: 1,
  84973. get$span(receiver) {
  84974. return this.span;
  84975. }
  84976. };
  84977. A.ArgumentList0.prototype = {
  84978. get$isEmpty(_) {
  84979. var t1;
  84980. if (this.positional.length === 0) {
  84981. t1 = this.named;
  84982. t1 = t1.get$isEmpty(t1) && this.rest == null;
  84983. } else
  84984. t1 = false;
  84985. return t1;
  84986. },
  84987. toString$0(_) {
  84988. var t2, t3, _i, _1_0, _2_0, _this = this,
  84989. t1 = A._setArrayType([], type$.JSArray_String);
  84990. for (t2 = _this.positional, t3 = t2.length, _i = 0; _i < t3; ++_i)
  84991. t1.push(_this._argument_list0$_parenthesizeArgument$1(t2[_i]));
  84992. for (t2 = A.MapExtensions_get_pairs0(_this.named, type$.String, type$.Expression_2), t2 = t2.get$iterator(t2); t2.moveNext$0();) {
  84993. t3 = t2.get$current(t2);
  84994. t1.push("$" + t3._0 + ": " + _this._argument_list0$_parenthesizeArgument$1(t3._1));
  84995. }
  84996. _1_0 = _this.rest;
  84997. if (_1_0 != null)
  84998. t1.push(_this._argument_list0$_parenthesizeArgument$1(_1_0) + "...");
  84999. _2_0 = _this.keywordRest;
  85000. if (_2_0 != null)
  85001. t1.push(_this._argument_list0$_parenthesizeArgument$1(_2_0) + "...");
  85002. return "(" + B.JSArray_methods.join$1(t1, ", ") + ")";
  85003. },
  85004. _argument_list0$_parenthesizeArgument$1(argument) {
  85005. var t1;
  85006. $label0$0: {
  85007. if (argument instanceof A.ListExpression0 && B.ListSeparator_qVN0 === argument.separator && !argument.hasBrackets && argument.contents.length >= 2) {
  85008. t1 = "(" + argument.toString$0(0) + ")";
  85009. break $label0$0;
  85010. }
  85011. t1 = argument.toString$0(0);
  85012. break $label0$0;
  85013. }
  85014. return t1;
  85015. },
  85016. $isAstNode0: 1,
  85017. $isSassNode: 1,
  85018. get$span(receiver) {
  85019. return this.span;
  85020. }
  85021. };
  85022. A.argumentListClass_closure.prototype = {
  85023. call$0() {
  85024. var t1 = type$.JSClass,
  85025. jsClass = t1._as(A.allowInteropCaptureThisNamed("sass.SassArgumentList", new A.argumentListClass__closure()));
  85026. A.defineGetter(J.get$$prototype$x(jsClass), "keywords", new A.argumentListClass__closure0(), null);
  85027. 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);
  85028. return jsClass;
  85029. },
  85030. $signature: 15
  85031. };
  85032. A.argumentListClass__closure.prototype = {
  85033. call$4($self, contents, keywords, separator) {
  85034. var t3,
  85035. t1 = self.immutable.isOrderedMap(contents) ? J.toArray$0$x(type$.ImmutableList._as(contents)) : type$.List_dynamic._as(contents),
  85036. t2 = type$.Value_2;
  85037. t1 = J.cast$1$0$ax(t1, t2);
  85038. t3 = self.immutable.isOrderedMap(keywords) ? A.immutableMapToDartMap(type$.ImmutableMap._as(keywords)) : A.objectToMap(keywords);
  85039. return A.SassArgumentList$0(t1, t3.cast$2$0(0, type$.String, t2), A.jsToDartSeparator(separator));
  85040. },
  85041. call$3($self, contents, keywords) {
  85042. return this.call$4($self, contents, keywords, ",");
  85043. },
  85044. "call*": "call$4",
  85045. $requiredArgCount: 3,
  85046. $defaultValues() {
  85047. return [","];
  85048. },
  85049. $signature: 305
  85050. };
  85051. A.argumentListClass__closure0.prototype = {
  85052. call$1($self) {
  85053. $self._argument_list$_wereKeywordsAccessed = true;
  85054. return A.dartMapToImmutableMap($self._argument_list$_keywords);
  85055. },
  85056. $signature: 306
  85057. };
  85058. A.SassArgumentList0.prototype = {};
  85059. A.JSArray1.prototype = {};
  85060. A.AsyncImporter0.prototype = {
  85061. isNonCanonicalScheme$1(scheme) {
  85062. return false;
  85063. }
  85064. };
  85065. A.JSToDartAsyncImporter.prototype = {
  85066. canonicalize$1(_, url) {
  85067. return this.canonicalize$body$JSToDartAsyncImporter(0, url);
  85068. },
  85069. canonicalize$body$JSToDartAsyncImporter(_, url) {
  85070. var $async$goto = 0,
  85071. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Uri),
  85072. $async$returnValue, $async$self = this, t1, result;
  85073. var $async$canonicalize$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  85074. if ($async$errorCode === 1)
  85075. return A._asyncRethrow($async$result, $async$completer);
  85076. while (true)
  85077. switch ($async$goto) {
  85078. case 0:
  85079. // Function start
  85080. result = A.wrapJSExceptions(new A.JSToDartAsyncImporter_canonicalize_closure($async$self, url));
  85081. $async$goto = result != null && result instanceof self.Promise ? 3 : 4;
  85082. break;
  85083. case 3:
  85084. // then
  85085. $async$goto = 5;
  85086. return A._asyncAwait(A.promiseToFuture0(type$.Promise._as(result), type$.nullable_Object), $async$canonicalize$1);
  85087. case 5:
  85088. // returning from await.
  85089. result = $async$result;
  85090. case 4:
  85091. // join
  85092. if (result == null) {
  85093. $async$returnValue = null;
  85094. // goto return
  85095. $async$goto = 1;
  85096. break;
  85097. }
  85098. t1 = self.URL;
  85099. if (result instanceof t1) {
  85100. $async$returnValue = A.Uri_parse(J.toString$0$(type$.JSUrl._as(result)));
  85101. // goto return
  85102. $async$goto = 1;
  85103. break;
  85104. }
  85105. A.jsThrow(new self.Error(string$.The_ca));
  85106. case 1:
  85107. // return
  85108. return A._asyncReturn($async$returnValue, $async$completer);
  85109. }
  85110. });
  85111. return A._asyncStartSync($async$canonicalize$1, $async$completer);
  85112. },
  85113. load$1(_, url) {
  85114. return this.load$body$JSToDartAsyncImporter(0, url);
  85115. },
  85116. load$body$JSToDartAsyncImporter(_, url) {
  85117. var $async$goto = 0,
  85118. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_ImporterResult_2),
  85119. $async$returnValue, $async$self = this, t1, contents, syntax, t2, result;
  85120. var $async$load$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  85121. if ($async$errorCode === 1)
  85122. return A._asyncRethrow($async$result, $async$completer);
  85123. while (true)
  85124. switch ($async$goto) {
  85125. case 0:
  85126. // Function start
  85127. result = A.wrapJSExceptions(new A.JSToDartAsyncImporter_load_closure($async$self, url));
  85128. $async$goto = result != null && result instanceof self.Promise ? 3 : 4;
  85129. break;
  85130. case 3:
  85131. // then
  85132. $async$goto = 5;
  85133. return A._asyncAwait(A.promiseToFuture0(type$.Promise._as(result), type$.nullable_Object), $async$load$1);
  85134. case 5:
  85135. // returning from await.
  85136. result = $async$result;
  85137. case 4:
  85138. // join
  85139. if (result == null) {
  85140. $async$returnValue = null;
  85141. // goto return
  85142. $async$goto = 1;
  85143. break;
  85144. }
  85145. type$.JSImporterResult._as(result);
  85146. t1 = J.getInterceptor$x(result);
  85147. contents = t1.get$contents(result);
  85148. if (A._asString(new self.Function("value", "return typeof value").call$1(contents)) !== "string")
  85149. A.jsThrow(new A.ArgumentError(true, contents, "contents", "must be a string but was: " + A.jsType(contents)));
  85150. syntax = t1.get$syntax(result);
  85151. if (contents == null || syntax == null)
  85152. A.jsThrow(new self.Error(string$.The_lo));
  85153. t2 = A.parseSyntax(syntax);
  85154. $async$returnValue = A.ImporterResult$(contents, A.NullableExtension_andThen0(t1.get$sourceMapUrl(result), A.utils3__jsToDartUrl$closure()), t2);
  85155. // goto return
  85156. $async$goto = 1;
  85157. break;
  85158. case 1:
  85159. // return
  85160. return A._asyncReturn($async$returnValue, $async$completer);
  85161. }
  85162. });
  85163. return A._asyncStartSync($async$load$1, $async$completer);
  85164. },
  85165. isNonCanonicalScheme$1(scheme) {
  85166. return this._nonCanonicalSchemes.contains$1(0, scheme);
  85167. }
  85168. };
  85169. A.JSToDartAsyncImporter_canonicalize_closure.prototype = {
  85170. call$0() {
  85171. return this.$this._async0$_canonicalize.call$2(this.url.toString$0(0), A.canonicalizeContext0());
  85172. },
  85173. $signature: 36
  85174. };
  85175. A.JSToDartAsyncImporter_load_closure.prototype = {
  85176. call$0() {
  85177. return this.$this._load.call$1(new self.URL(this.url.toString$0(0)));
  85178. },
  85179. $signature: 36
  85180. };
  85181. A.AsyncBuiltInCallable0.prototype = {
  85182. callbackFor$2(positional, names) {
  85183. return new A._Record_2(this._async_built_in0$_parameters, this._async_built_in0$_callback);
  85184. },
  85185. withDeprecationWarning$1(module) {
  85186. return new A.AsyncBuiltInCallable0(this.name, this._async_built_in0$_parameters, new A.AsyncBuiltInCallable_withDeprecationWarning_closure0(this, module, null), false);
  85187. },
  85188. $isAsyncCallable0: 1,
  85189. get$name(receiver) {
  85190. return this.name;
  85191. },
  85192. get$acceptsContent() {
  85193. return this.acceptsContent;
  85194. }
  85195. };
  85196. A.AsyncBuiltInCallable$mixin_closure0.prototype = {
  85197. call$1($arguments) {
  85198. return this.$call$body$AsyncBuiltInCallable$mixin_closure0($arguments);
  85199. },
  85200. $call$body$AsyncBuiltInCallable$mixin_closure0($arguments) {
  85201. var $async$goto = 0,
  85202. $async$completer = A._makeAsyncAwaitCompleter(type$.Value_2),
  85203. $async$returnValue, $async$self = this, t1;
  85204. var $async$call$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  85205. if ($async$errorCode === 1)
  85206. return A._asyncRethrow($async$result, $async$completer);
  85207. while (true)
  85208. switch ($async$goto) {
  85209. case 0:
  85210. // Function start
  85211. t1 = $async$self.callback.call$1($arguments);
  85212. $async$goto = 3;
  85213. return A._asyncAwait(t1 instanceof A._Future ? t1 : A._Future$value(t1, type$.void), $async$call$1);
  85214. case 3:
  85215. // returning from await.
  85216. $async$returnValue = B.C__SassNull0;
  85217. // goto return
  85218. $async$goto = 1;
  85219. break;
  85220. case 1:
  85221. // return
  85222. return A._asyncReturn($async$returnValue, $async$completer);
  85223. }
  85224. });
  85225. return A._asyncStartSync($async$call$1, $async$completer);
  85226. },
  85227. $signature: 86
  85228. };
  85229. A.AsyncBuiltInCallable_withDeprecationWarning_closure0.prototype = {
  85230. call$1(args) {
  85231. var t1 = this.$this;
  85232. A.warnForDeprecation0(string$.Global + this.module + "." + t1.name + string$.x20inste, B.Deprecation_ZDV);
  85233. return t1._async_built_in0$_callback.call$1(args);
  85234. },
  85235. $signature: 309
  85236. };
  85237. A._compileStylesheet_closure2.prototype = {
  85238. call$1(url) {
  85239. 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);
  85240. },
  85241. $signature: 6
  85242. };
  85243. A.AsyncEnvironment0.prototype = {
  85244. closure$0() {
  85245. var t4, t5, t6, _this = this,
  85246. t1 = _this._async_environment0$_forwardedModules,
  85247. t2 = _this._async_environment0$_nestedForwardedModules,
  85248. t3 = _this._async_environment0$_variables;
  85249. t3 = A._setArrayType(t3.slice(0), A._arrayInstanceType(t3));
  85250. t4 = _this._async_environment0$_variableNodes;
  85251. t4 = A._setArrayType(t4.slice(0), A._arrayInstanceType(t4));
  85252. t5 = _this._async_environment0$_functions;
  85253. t5 = A._setArrayType(t5.slice(0), A._arrayInstanceType(t5));
  85254. t6 = _this._async_environment0$_mixins;
  85255. t6 = A._setArrayType(t6.slice(0), A._arrayInstanceType(t6));
  85256. 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);
  85257. },
  85258. forwardModule$2(module, rule) {
  85259. var view, t1, t2, _this = this,
  85260. forwardedModules = _this._async_environment0$_forwardedModules;
  85261. if (forwardedModules == null)
  85262. forwardedModules = _this._async_environment0$_forwardedModules = A.LinkedHashMap_LinkedHashMap$_empty(type$.Module_AsyncCallable_2, type$.AstNode_2);
  85263. view = A.ForwardedModuleView_ifNecessary0(module, rule, type$.AsyncCallable_2);
  85264. for (t1 = new A.LinkedHashMapKeyIterator(forwardedModules, forwardedModules._modifications, forwardedModules._first); t1.moveNext$0();) {
  85265. t2 = t1.__js_helper$_current;
  85266. _this._async_environment0$_assertNoConflicts$5(view.get$variables(), t2.get$variables(), view, t2, "variable");
  85267. _this._async_environment0$_assertNoConflicts$5(view.get$functions(view), t2.get$functions(t2), view, t2, "function");
  85268. _this._async_environment0$_assertNoConflicts$5(view.get$mixins(), t2.get$mixins(), view, t2, "mixin");
  85269. }
  85270. _this._async_environment0$_allModules.push(module);
  85271. forwardedModules.$indexSet(0, view, rule);
  85272. },
  85273. _async_environment0$_assertNoConflicts$5(newMembers, oldMembers, newModule, oldModule, type) {
  85274. var larger, smaller, t1, t2, t3, t4, $name, small, large, span;
  85275. if (newMembers.get$length(newMembers) < oldMembers.get$length(oldMembers)) {
  85276. larger = oldMembers;
  85277. smaller = newMembers;
  85278. } else {
  85279. larger = newMembers;
  85280. smaller = oldMembers;
  85281. }
  85282. for (t1 = type$.String, t2 = A.MapExtensions_get_pairs0(smaller, t1, type$.Object), t2 = t2.get$iterator(t2), t3 = type === "variable"; t2.moveNext$0();) {
  85283. t4 = t2.get$current(t2);
  85284. $name = t4._0;
  85285. small = t4._1;
  85286. large = larger.$index(0, $name);
  85287. if (large == null)
  85288. continue;
  85289. if (t3 ? newModule.variableIdentity$1($name) === oldModule.variableIdentity$1($name) : J.$eq$(large, small))
  85290. continue;
  85291. if (t3)
  85292. $name = "$" + $name;
  85293. t2 = this._async_environment0$_forwardedModules;
  85294. if (t2 == null)
  85295. span = null;
  85296. else {
  85297. t2 = t2.$index(0, oldModule);
  85298. span = t2 == null ? null : t2.get$span(t2);
  85299. }
  85300. t2 = A.LinkedHashMap_LinkedHashMap$_empty(type$.FileSpan, t1);
  85301. if (span != null)
  85302. t2.$indexSet(0, span, "original @forward");
  85303. throw A.wrapException(A.MultiSpanSassScriptException$0("Two forwarded modules both define a " + type + " named " + $name + ".", "new @forward", t2));
  85304. }
  85305. },
  85306. importForwards$1(module) {
  85307. var forwardedModules, t1, t2, t3, t4, node, t5, t6, t7, t8, t9, t10, _i, t11, shadowed, t12, t13, _length, _list, _this = this,
  85308. forwarded = module._async_environment0$_environment._async_environment0$_forwardedModules;
  85309. if (forwarded == null)
  85310. return;
  85311. forwardedModules = _this._async_environment0$_forwardedModules;
  85312. if (forwardedModules != null) {
  85313. t1 = type$.Module_AsyncCallable_2;
  85314. t2 = type$.AstNode_2;
  85315. t3 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t2);
  85316. for (t1 = A.MapExtensions_get_pairs0(forwarded, t1, t2), t1 = t1.get$iterator(t1), t2 = _this._async_environment0$_globalModules; t1.moveNext$0();) {
  85317. t4 = t1.get$current(t1);
  85318. module = t4._0;
  85319. node = t4._1;
  85320. if (!forwardedModules.containsKey$1(module) || !t2.containsKey$1(module))
  85321. t3.$indexSet(0, module, node);
  85322. }
  85323. forwarded = t3;
  85324. } else
  85325. forwardedModules = _this._async_environment0$_forwardedModules = A.LinkedHashMap_LinkedHashMap$_empty(type$.Module_AsyncCallable_2, type$.AstNode_2);
  85326. t1 = type$.String;
  85327. t2 = A.LinkedHashSet_LinkedHashSet$_empty(t1);
  85328. for (t3 = new A.LinkedHashMapKeyIterator(forwarded, forwarded._modifications, forwarded._first); t3.moveNext$0();)
  85329. for (t4 = t3.__js_helper$_current.get$variables(), t4 = J.get$iterator$ax(t4.get$keys(t4)); t4.moveNext$0();)
  85330. t2.add$1(0, t4.get$current(t4));
  85331. t3 = A.LinkedHashSet_LinkedHashSet$_empty(t1);
  85332. for (t4 = new A.LinkedHashMapKeyIterator(forwarded, forwarded._modifications, forwarded._first); t4.moveNext$0();) {
  85333. t5 = t4.__js_helper$_current;
  85334. for (t5 = t5.get$functions(t5), t5 = J.get$iterator$ax(t5.get$keys(t5)); t5.moveNext$0();)
  85335. t3.add$1(0, t5.get$current(t5));
  85336. }
  85337. t1 = A.LinkedHashSet_LinkedHashSet$_empty(t1);
  85338. for (t4 = new A.LinkedHashMapKeyIterator(forwarded, forwarded._modifications, forwarded._first); t4.moveNext$0();)
  85339. for (t5 = t4.__js_helper$_current.get$mixins(), t5 = J.get$iterator$ax(t5.get$keys(t5)); t5.moveNext$0();)
  85340. t1.add$1(0, t5.get$current(t5));
  85341. t4 = _this._async_environment0$_variables;
  85342. t5 = t4.length;
  85343. if (t5 === 1) {
  85344. for (t5 = _this._async_environment0$_importedModules, t6 = type$.Module_AsyncCallable_2, t7 = type$.AstNode_2, t8 = A.MapExtensions_get_pairs0(t5, t6, t7).toList$0(0), t9 = t8.length, t10 = type$.AsyncCallable_2, _i = 0; _i < t8.length; t8.length === t9 || (0, A.throwConcurrentModificationError)(t8), ++_i) {
  85345. t11 = t8[_i];
  85346. module = t11._0;
  85347. shadowed = A.ShadowedModuleView_ifNecessary0(module, t3, t1, t2, t10);
  85348. if (shadowed != null) {
  85349. t5.remove$1(0, module);
  85350. t12 = shadowed.variables;
  85351. t13 = false;
  85352. if (t12.get$isEmpty(t12)) {
  85353. t12 = shadowed.functions;
  85354. if (t12.get$isEmpty(t12)) {
  85355. t12 = shadowed.mixins;
  85356. if (t12.get$isEmpty(t12)) {
  85357. t12 = shadowed._shadowed_view0$_inner;
  85358. t12 = t12.get$css(t12);
  85359. t12 = J.get$isEmpty$asx(t12.get$children(t12));
  85360. } else
  85361. t12 = t13;
  85362. } else
  85363. t12 = t13;
  85364. } else
  85365. t12 = t13;
  85366. if (!t12)
  85367. t5.$indexSet(0, shadowed, t11._1);
  85368. }
  85369. }
  85370. for (t6 = A.MapExtensions_get_pairs0(forwardedModules, t6, t7).toList$0(0), t7 = t6.length, _i = 0; _i < t6.length; t6.length === t7 || (0, A.throwConcurrentModificationError)(t6), ++_i) {
  85371. t8 = t6[_i];
  85372. module = t8._0;
  85373. shadowed = A.ShadowedModuleView_ifNecessary0(module, t3, t1, t2, t10);
  85374. if (shadowed != null) {
  85375. forwardedModules.remove$1(0, module);
  85376. t9 = shadowed.variables;
  85377. t11 = false;
  85378. if (t9.get$isEmpty(t9)) {
  85379. t9 = shadowed.functions;
  85380. if (t9.get$isEmpty(t9)) {
  85381. t9 = shadowed.mixins;
  85382. if (t9.get$isEmpty(t9)) {
  85383. t9 = shadowed._shadowed_view0$_inner;
  85384. t9 = t9.get$css(t9);
  85385. t9 = J.get$isEmpty$asx(t9.get$children(t9));
  85386. } else
  85387. t9 = t11;
  85388. } else
  85389. t9 = t11;
  85390. } else
  85391. t9 = t11;
  85392. if (!t9)
  85393. forwardedModules.$indexSet(0, shadowed, t8._1);
  85394. }
  85395. }
  85396. t5.addAll$1(0, forwarded);
  85397. forwardedModules.addAll$1(0, forwarded);
  85398. } else {
  85399. t6 = _this._async_environment0$_nestedForwardedModules;
  85400. if (t6 == null) {
  85401. _length = t5 - 1;
  85402. _list = J.JSArray_JSArray$allocateGrowable(_length, type$.List_Module_AsyncCallable_2);
  85403. for (t5 = type$.JSArray_Module_AsyncCallable_2, _i = 0; _i < _length; ++_i)
  85404. _list[_i] = A._setArrayType([], t5);
  85405. _this._async_environment0$_nestedForwardedModules = _list;
  85406. t5 = _list;
  85407. } else
  85408. t5 = t6;
  85409. B.JSArray_methods.addAll$1(B.JSArray_methods.get$last(t5), new A.LinkedHashMapKeysIterable(forwarded, A._instanceType(forwarded)._eval$1("LinkedHashMapKeysIterable<1>")));
  85410. }
  85411. for (t2 = A._LinkedHashSetIterator$(t2, t2._collection$_modifications, t2.$ti._precomputed1), t5 = _this._async_environment0$_variableIndices, t6 = _this._async_environment0$_variableNodes, t7 = t2.$ti._precomputed1; t2.moveNext$0();) {
  85412. t8 = t2._collection$_current;
  85413. if (t8 == null)
  85414. t8 = t7._as(t8);
  85415. t5.remove$1(0, t8);
  85416. J.remove$1$z(B.JSArray_methods.get$last(t4), t8);
  85417. J.remove$1$z(B.JSArray_methods.get$last(t6), t8);
  85418. }
  85419. for (t2 = A._LinkedHashSetIterator$(t3, t3._collection$_modifications, t3.$ti._precomputed1), t3 = _this._async_environment0$_functionIndices, t4 = _this._async_environment0$_functions, t5 = t2.$ti._precomputed1; t2.moveNext$0();) {
  85420. t6 = t2._collection$_current;
  85421. if (t6 == null)
  85422. t6 = t5._as(t6);
  85423. t3.remove$1(0, t6);
  85424. J.remove$1$z(B.JSArray_methods.get$last(t4), t6);
  85425. }
  85426. for (t1 = A._LinkedHashSetIterator$(t1, t1._collection$_modifications, t1.$ti._precomputed1), t2 = _this._async_environment0$_mixinIndices, t3 = _this._async_environment0$_mixins, t4 = t1.$ti._precomputed1; t1.moveNext$0();) {
  85427. t5 = t1._collection$_current;
  85428. if (t5 == null)
  85429. t5 = t4._as(t5);
  85430. t2.remove$1(0, t5);
  85431. J.remove$1$z(B.JSArray_methods.get$last(t3), t5);
  85432. }
  85433. },
  85434. getVariable$2$namespace($name, namespace) {
  85435. var t1, _0_0, _1_0, _this = this;
  85436. if (namespace != null)
  85437. return _this._async_environment0$_getModule$1(namespace).get$variables().$index(0, $name);
  85438. if (_this._async_environment0$_lastVariableName === $name) {
  85439. t1 = _this._async_environment0$_lastVariableIndex;
  85440. t1.toString;
  85441. t1 = _this._async_environment0$_variables[t1].$index(0, $name);
  85442. return t1 == null ? _this._async_environment0$_getVariableFromGlobalModule$1($name) : t1;
  85443. }
  85444. t1 = _this._async_environment0$_variableIndices;
  85445. _0_0 = t1.$index(0, $name);
  85446. if (_0_0 != null) {
  85447. _this._async_environment0$_lastVariableName = $name;
  85448. _this._async_environment0$_lastVariableIndex = _0_0;
  85449. t1 = _this._async_environment0$_variables[_0_0].$index(0, $name);
  85450. return t1 == null ? _this._async_environment0$_getVariableFromGlobalModule$1($name) : t1;
  85451. } else {
  85452. _1_0 = _this._async_environment0$_variableIndex$1($name);
  85453. if (_1_0 != null) {
  85454. _this._async_environment0$_lastVariableName = $name;
  85455. _this._async_environment0$_lastVariableIndex = _1_0;
  85456. t1.$indexSet(0, $name, _1_0);
  85457. t1 = _this._async_environment0$_variables[_1_0].$index(0, $name);
  85458. return t1 == null ? _this._async_environment0$_getVariableFromGlobalModule$1($name) : t1;
  85459. } else
  85460. return _this._async_environment0$_getVariableFromGlobalModule$1($name);
  85461. }
  85462. },
  85463. getVariable$1($name) {
  85464. return this.getVariable$2$namespace($name, null);
  85465. },
  85466. _async_environment0$_getVariableFromGlobalModule$1($name) {
  85467. return this._async_environment0$_fromOneModule$3($name, "variable", new A.AsyncEnvironment__getVariableFromGlobalModule_closure0($name));
  85468. },
  85469. getVariableNode$2$namespace($name, namespace) {
  85470. var t1, _0_0, _1_0, _this = this;
  85471. if (namespace != null)
  85472. return _this._async_environment0$_getModule$1(namespace).get$variableNodes().$index(0, $name);
  85473. if (_this._async_environment0$_lastVariableName === $name) {
  85474. t1 = _this._async_environment0$_lastVariableIndex;
  85475. t1.toString;
  85476. t1 = _this._async_environment0$_variableNodes[t1].$index(0, $name);
  85477. return t1 == null ? _this._async_environment0$_getVariableNodeFromGlobalModule$1($name) : t1;
  85478. }
  85479. t1 = _this._async_environment0$_variableIndices;
  85480. _0_0 = t1.$index(0, $name);
  85481. if (_0_0 != null) {
  85482. _this._async_environment0$_lastVariableName = $name;
  85483. _this._async_environment0$_lastVariableIndex = _0_0;
  85484. t1 = _this._async_environment0$_variableNodes[_0_0].$index(0, $name);
  85485. return t1 == null ? _this._async_environment0$_getVariableNodeFromGlobalModule$1($name) : t1;
  85486. } else {
  85487. _1_0 = _this._async_environment0$_variableIndex$1($name);
  85488. if (_1_0 != null) {
  85489. _this._async_environment0$_lastVariableName = $name;
  85490. _this._async_environment0$_lastVariableIndex = _1_0;
  85491. t1.$indexSet(0, $name, _1_0);
  85492. t1 = _this._async_environment0$_variableNodes[_1_0].$index(0, $name);
  85493. return t1 == null ? _this._async_environment0$_getVariableNodeFromGlobalModule$1($name) : t1;
  85494. } else
  85495. return _this._async_environment0$_getVariableNodeFromGlobalModule$1($name);
  85496. }
  85497. },
  85498. _async_environment0$_getVariableNodeFromGlobalModule$1($name) {
  85499. var t1, t2, _0_0;
  85500. for (t1 = this._async_environment0$_importedModules, t2 = this._async_environment0$_globalModules, t2 = new A.LinkedHashMapKeysIterable(t1, A._instanceType(t1)._eval$1("LinkedHashMapKeysIterable<1>")).followedBy$1(0, new A.LinkedHashMapKeysIterable(t2, A._instanceType(t2)._eval$1("LinkedHashMapKeysIterable<1>"))), t2 = new A.FollowedByIterator(J.get$iterator$ax(t2.__internal$_first), t2._second); t2.moveNext$0();) {
  85501. t1 = t2._currentIterator;
  85502. _0_0 = t1.get$current(t1).get$variableNodes().$index(0, $name);
  85503. if (_0_0 != null)
  85504. return _0_0;
  85505. }
  85506. return null;
  85507. },
  85508. globalVariableExists$2$namespace($name, namespace) {
  85509. if (namespace != null)
  85510. return this._async_environment0$_getModule$1(namespace).get$variables().containsKey$1($name);
  85511. if (B.JSArray_methods.get$first(this._async_environment0$_variables).containsKey$1($name))
  85512. return true;
  85513. return this._async_environment0$_getVariableFromGlobalModule$1($name) != null;
  85514. },
  85515. globalVariableExists$1($name) {
  85516. return this.globalVariableExists$2$namespace($name, null);
  85517. },
  85518. _async_environment0$_variableIndex$1($name) {
  85519. var t1, i;
  85520. for (t1 = this._async_environment0$_variables, i = t1.length - 1; i >= 0; --i)
  85521. if (t1[i].containsKey$1($name))
  85522. return i;
  85523. return null;
  85524. },
  85525. setVariable$5$global$namespace($name, value, nodeWithSpan, global, namespace) {
  85526. var t1, moduleWithName, nestedForwardedModules, t2, t3, t4, t5, index, _this = this;
  85527. if (namespace != null) {
  85528. _this._async_environment0$_getModule$1(namespace).setVariable$3($name, value, nodeWithSpan);
  85529. return;
  85530. }
  85531. if (global || _this._async_environment0$_variables.length === 1) {
  85532. _this._async_environment0$_variableIndices.putIfAbsent$2($name, new A.AsyncEnvironment_setVariable_closure2(_this, $name));
  85533. t1 = _this._async_environment0$_variables;
  85534. if (!B.JSArray_methods.get$first(t1).containsKey$1($name)) {
  85535. moduleWithName = _this._async_environment0$_fromOneModule$3($name, "variable", new A.AsyncEnvironment_setVariable_closure3($name));
  85536. if (moduleWithName != null) {
  85537. moduleWithName.setVariable$3($name, value, nodeWithSpan);
  85538. return;
  85539. }
  85540. }
  85541. J.$indexSet$ax(B.JSArray_methods.get$first(t1), $name, value);
  85542. J.$indexSet$ax(B.JSArray_methods.get$first(_this._async_environment0$_variableNodes), $name, nodeWithSpan);
  85543. return;
  85544. }
  85545. nestedForwardedModules = _this._async_environment0$_nestedForwardedModules;
  85546. if (nestedForwardedModules != null && !_this._async_environment0$_variableIndices.containsKey$1($name) && _this._async_environment0$_variableIndex$1($name) == null)
  85547. for (t1 = A._arrayInstanceType(nestedForwardedModules)._eval$1("ReversedListIterable<1>"), t2 = new A.ReversedListIterable(nestedForwardedModules, t1), t2 = new A.ListIterator(t2, t2.get$length(0), t1._eval$1("ListIterator<ListIterable.E>")), t1 = t1._eval$1("ListIterable.E"); t2.moveNext$0();) {
  85548. t3 = t2.__internal$_current;
  85549. for (t3 = J.get$reversed$ax(t3 == null ? t1._as(t3) : t3), t4 = t3.$ti, t3 = new A.ListIterator(t3, t3.get$length(0), t4._eval$1("ListIterator<ListIterable.E>")), t4 = t4._eval$1("ListIterable.E"); t3.moveNext$0();) {
  85550. t5 = t3.__internal$_current;
  85551. if (t5 == null)
  85552. t5 = t4._as(t5);
  85553. if (t5.get$variables().containsKey$1($name)) {
  85554. t5.setVariable$3($name, value, nodeWithSpan);
  85555. return;
  85556. }
  85557. }
  85558. }
  85559. if (_this._async_environment0$_lastVariableName === $name) {
  85560. t1 = _this._async_environment0$_lastVariableIndex;
  85561. t1.toString;
  85562. index = t1;
  85563. } else
  85564. index = _this._async_environment0$_variableIndices.putIfAbsent$2($name, new A.AsyncEnvironment_setVariable_closure4(_this, $name));
  85565. if (!_this._async_environment0$_inSemiGlobalScope && index === 0) {
  85566. index = _this._async_environment0$_variables.length - 1;
  85567. _this._async_environment0$_variableIndices.$indexSet(0, $name, index);
  85568. }
  85569. _this._async_environment0$_lastVariableName = $name;
  85570. _this._async_environment0$_lastVariableIndex = index;
  85571. _this._async_environment0$_variables[index].$indexSet(0, $name, value);
  85572. _this._async_environment0$_variableNodes[index].$indexSet(0, $name, nodeWithSpan);
  85573. },
  85574. setVariable$4$global($name, value, nodeWithSpan, global) {
  85575. return this.setVariable$5$global$namespace($name, value, nodeWithSpan, global, null);
  85576. },
  85577. setLocalVariable$3($name, value, nodeWithSpan) {
  85578. var index, _this = this,
  85579. t1 = _this._async_environment0$_variables,
  85580. t2 = t1.length;
  85581. _this._async_environment0$_lastVariableName = $name;
  85582. index = _this._async_environment0$_lastVariableIndex = t2 - 1;
  85583. _this._async_environment0$_variableIndices.$indexSet(0, $name, index);
  85584. t1[index].$indexSet(0, $name, value);
  85585. _this._async_environment0$_variableNodes[index].$indexSet(0, $name, nodeWithSpan);
  85586. },
  85587. getFunction$2$namespace($name, namespace) {
  85588. var t1, _0_0, _1_0, _this = this;
  85589. if (namespace != null) {
  85590. t1 = _this._async_environment0$_getModule$1(namespace);
  85591. return t1.get$functions(t1).$index(0, $name);
  85592. }
  85593. t1 = _this._async_environment0$_functionIndices;
  85594. _0_0 = t1.$index(0, $name);
  85595. if (_0_0 != null) {
  85596. t1 = _this._async_environment0$_functions[_0_0].$index(0, $name);
  85597. return t1 == null ? _this._async_environment0$_getFunctionFromGlobalModule$1($name) : t1;
  85598. } else {
  85599. _1_0 = _this._async_environment0$_functionIndex$1($name);
  85600. if (_1_0 != null) {
  85601. t1.$indexSet(0, $name, _1_0);
  85602. t1 = _this._async_environment0$_functions[_1_0].$index(0, $name);
  85603. return t1 == null ? _this._async_environment0$_getFunctionFromGlobalModule$1($name) : t1;
  85604. } else
  85605. return _this._async_environment0$_getFunctionFromGlobalModule$1($name);
  85606. }
  85607. },
  85608. getFunction$1($name) {
  85609. return this.getFunction$2$namespace($name, null);
  85610. },
  85611. _async_environment0$_getFunctionFromGlobalModule$1($name) {
  85612. return this._async_environment0$_fromOneModule$3($name, "function", new A.AsyncEnvironment__getFunctionFromGlobalModule_closure0($name));
  85613. },
  85614. _async_environment0$_functionIndex$1($name) {
  85615. var t1, i;
  85616. for (t1 = this._async_environment0$_functions, i = t1.length - 1; i >= 0; --i)
  85617. if (t1[i].containsKey$1($name))
  85618. return i;
  85619. return null;
  85620. },
  85621. getMixin$2$namespace($name, namespace) {
  85622. var t1, _0_0, _1_0, _this = this;
  85623. if (namespace != null)
  85624. return _this._async_environment0$_getModule$1(namespace).get$mixins().$index(0, $name);
  85625. t1 = _this._async_environment0$_mixinIndices;
  85626. _0_0 = t1.$index(0, $name);
  85627. if (_0_0 != null) {
  85628. t1 = _this._async_environment0$_mixins[_0_0].$index(0, $name);
  85629. return t1 == null ? _this._async_environment0$_getMixinFromGlobalModule$1($name) : t1;
  85630. } else {
  85631. _1_0 = _this._async_environment0$_mixinIndex$1($name);
  85632. if (_1_0 != null) {
  85633. t1.$indexSet(0, $name, _1_0);
  85634. t1 = _this._async_environment0$_mixins[_1_0].$index(0, $name);
  85635. return t1 == null ? _this._async_environment0$_getMixinFromGlobalModule$1($name) : t1;
  85636. } else
  85637. return _this._async_environment0$_getMixinFromGlobalModule$1($name);
  85638. }
  85639. },
  85640. _async_environment0$_getMixinFromGlobalModule$1($name) {
  85641. return this._async_environment0$_fromOneModule$3($name, "mixin", new A.AsyncEnvironment__getMixinFromGlobalModule_closure0($name));
  85642. },
  85643. _async_environment0$_mixinIndex$1($name) {
  85644. var t1, i;
  85645. for (t1 = this._async_environment0$_mixins, i = t1.length - 1; i >= 0; --i)
  85646. if (t1[i].containsKey$1($name))
  85647. return i;
  85648. return null;
  85649. },
  85650. withContent$2($content, callback) {
  85651. return this.withContent$body$AsyncEnvironment0($content, callback);
  85652. },
  85653. withContent$body$AsyncEnvironment0($content, callback) {
  85654. var $async$goto = 0,
  85655. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  85656. $async$self = this, oldContent;
  85657. var $async$withContent$2 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  85658. if ($async$errorCode === 1)
  85659. return A._asyncRethrow($async$result, $async$completer);
  85660. while (true)
  85661. switch ($async$goto) {
  85662. case 0:
  85663. // Function start
  85664. oldContent = $async$self._async_environment0$_content;
  85665. $async$self._async_environment0$_content = $content;
  85666. $async$goto = 2;
  85667. return A._asyncAwait(callback.call$0(), $async$withContent$2);
  85668. case 2:
  85669. // returning from await.
  85670. $async$self._async_environment0$_content = oldContent;
  85671. // implicit return
  85672. return A._asyncReturn(null, $async$completer);
  85673. }
  85674. });
  85675. return A._asyncStartSync($async$withContent$2, $async$completer);
  85676. },
  85677. asMixin$1(callback) {
  85678. return this.asMixin$body$AsyncEnvironment0(callback);
  85679. },
  85680. asMixin$body$AsyncEnvironment0(callback) {
  85681. var $async$goto = 0,
  85682. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  85683. $async$self = this, oldInMixin;
  85684. var $async$asMixin$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  85685. if ($async$errorCode === 1)
  85686. return A._asyncRethrow($async$result, $async$completer);
  85687. while (true)
  85688. switch ($async$goto) {
  85689. case 0:
  85690. // Function start
  85691. oldInMixin = $async$self._async_environment0$_inMixin;
  85692. $async$self._async_environment0$_inMixin = true;
  85693. $async$goto = 2;
  85694. return A._asyncAwait(callback.call$0(), $async$asMixin$1);
  85695. case 2:
  85696. // returning from await.
  85697. $async$self._async_environment0$_inMixin = oldInMixin;
  85698. // implicit return
  85699. return A._asyncReturn(null, $async$completer);
  85700. }
  85701. });
  85702. return A._asyncStartSync($async$asMixin$1, $async$completer);
  85703. },
  85704. scope$1$3$semiGlobal$when(callback, semiGlobal, when, $T) {
  85705. return this.scope$body$AsyncEnvironment0(callback, semiGlobal, when, $T, $T);
  85706. },
  85707. scope$1$1(callback, $T) {
  85708. callback.toString;
  85709. return this.scope$1$3$semiGlobal$when(callback, false, true, $T);
  85710. },
  85711. scope$1$2$when(callback, when, $T) {
  85712. callback.toString;
  85713. return this.scope$1$3$semiGlobal$when(callback, false, when, $T);
  85714. },
  85715. scope$1$2$semiGlobal(callback, semiGlobal, $T) {
  85716. callback.toString;
  85717. return this.scope$1$3$semiGlobal$when(callback, semiGlobal, true, $T);
  85718. },
  85719. scope$body$AsyncEnvironment0(callback, semiGlobal, when, $T, $async$type) {
  85720. var $async$goto = 0,
  85721. $async$completer = A._makeAsyncAwaitCompleter($async$type),
  85722. $async$returnValue, $async$handler = 2, $async$errorStack = [], $async$next = [], $async$self = this, wasInSemiGlobalScope, $name, name0, name1, t1, t2, t3, t4, t5, t6;
  85723. var $async$scope$1$3$semiGlobal$when = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  85724. if ($async$errorCode === 1) {
  85725. $async$errorStack.push($async$result);
  85726. $async$goto = $async$handler;
  85727. }
  85728. while (true)
  85729. switch ($async$goto) {
  85730. case 0:
  85731. // Function start
  85732. semiGlobal = semiGlobal && $async$self._async_environment0$_inSemiGlobalScope;
  85733. wasInSemiGlobalScope = $async$self._async_environment0$_inSemiGlobalScope;
  85734. $async$self._async_environment0$_inSemiGlobalScope = semiGlobal;
  85735. $async$goto = !when ? 3 : 4;
  85736. break;
  85737. case 3:
  85738. // then
  85739. $async$handler = 5;
  85740. $async$goto = 8;
  85741. return A._asyncAwait(callback.call$0(), $async$scope$1$3$semiGlobal$when);
  85742. case 8:
  85743. // returning from await.
  85744. t1 = $async$result;
  85745. $async$returnValue = t1;
  85746. $async$next = [1];
  85747. // goto finally
  85748. $async$goto = 6;
  85749. break;
  85750. $async$next.push(7);
  85751. // goto finally
  85752. $async$goto = 6;
  85753. break;
  85754. case 5:
  85755. // uncaught
  85756. $async$next = [2];
  85757. case 6:
  85758. // finally
  85759. $async$handler = 2;
  85760. $async$self._async_environment0$_inSemiGlobalScope = wasInSemiGlobalScope;
  85761. // goto the next finally handler
  85762. $async$goto = $async$next.pop();
  85763. break;
  85764. case 7:
  85765. // after finally
  85766. case 4:
  85767. // join
  85768. t1 = $async$self._async_environment0$_variables;
  85769. t2 = type$.String;
  85770. B.JSArray_methods.add$1(t1, A.LinkedHashMap_LinkedHashMap$_empty(t2, type$.Value_2));
  85771. t3 = $async$self._async_environment0$_variableNodes;
  85772. B.JSArray_methods.add$1(t3, A.LinkedHashMap_LinkedHashMap$_empty(t2, type$.AstNode_2));
  85773. t4 = $async$self._async_environment0$_functions;
  85774. t5 = type$.AsyncCallable_2;
  85775. B.JSArray_methods.add$1(t4, A.LinkedHashMap_LinkedHashMap$_empty(t2, t5));
  85776. t6 = $async$self._async_environment0$_mixins;
  85777. B.JSArray_methods.add$1(t6, A.LinkedHashMap_LinkedHashMap$_empty(t2, t5));
  85778. t5 = $async$self._async_environment0$_nestedForwardedModules;
  85779. if (t5 != null)
  85780. t5.push(A._setArrayType([], type$.JSArray_Module_AsyncCallable_2));
  85781. $async$handler = 9;
  85782. $async$goto = 12;
  85783. return A._asyncAwait(callback.call$0(), $async$scope$1$3$semiGlobal$when);
  85784. case 12:
  85785. // returning from await.
  85786. t2 = $async$result;
  85787. $async$returnValue = t2;
  85788. $async$next = [1];
  85789. // goto finally
  85790. $async$goto = 10;
  85791. break;
  85792. $async$next.push(11);
  85793. // goto finally
  85794. $async$goto = 10;
  85795. break;
  85796. case 9:
  85797. // uncaught
  85798. $async$next = [2];
  85799. case 10:
  85800. // finally
  85801. $async$handler = 2;
  85802. $async$self._async_environment0$_inSemiGlobalScope = wasInSemiGlobalScope;
  85803. $async$self._async_environment0$_lastVariableIndex = $async$self._async_environment0$_lastVariableName = null;
  85804. 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();) {
  85805. $name = t1.get$current(t1);
  85806. t2.remove$1(0, $name);
  85807. }
  85808. B.JSArray_methods.removeLast$0(t3);
  85809. 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();) {
  85810. name0 = t1.get$current(t1);
  85811. t2.remove$1(0, name0);
  85812. }
  85813. 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();) {
  85814. name1 = t1.get$current(t1);
  85815. t2.remove$1(0, name1);
  85816. }
  85817. t1 = $async$self._async_environment0$_nestedForwardedModules;
  85818. if (t1 != null)
  85819. t1.pop();
  85820. // goto the next finally handler
  85821. $async$goto = $async$next.pop();
  85822. break;
  85823. case 11:
  85824. // after finally
  85825. case 1:
  85826. // return
  85827. return A._asyncReturn($async$returnValue, $async$completer);
  85828. case 2:
  85829. // rethrow
  85830. return A._asyncRethrow($async$errorStack.at(-1), $async$completer);
  85831. }
  85832. });
  85833. return A._asyncStartSync($async$scope$1$3$semiGlobal$when, $async$completer);
  85834. },
  85835. toImplicitConfiguration$0() {
  85836. var t2, t3, t4, i, values, nodes, t5, t6, $name, value,
  85837. t1 = type$.String,
  85838. configuration = A.LinkedHashMap_LinkedHashMap$_empty(t1, type$.ConfiguredValue_2);
  85839. for (t2 = this._async_environment0$_variables, t3 = type$.Value_2, t4 = this._async_environment0$_variableNodes, i = 0; i < t2.length; ++i) {
  85840. values = t2[i];
  85841. nodes = t4[i];
  85842. for (t5 = A.MapExtensions_get_pairs0(values, t1, t3), t5 = t5.get$iterator(t5); t5.moveNext$0();) {
  85843. t6 = t5.get$current(t5);
  85844. $name = t6._0;
  85845. value = t6._1;
  85846. t6 = nodes.$index(0, $name);
  85847. t6.toString;
  85848. configuration.$indexSet(0, $name, new A.ConfiguredValue0(value, null, t6));
  85849. }
  85850. }
  85851. return new A.Configuration0(configuration, null);
  85852. },
  85853. toModule$3(css, preModuleComments, extensionStore) {
  85854. return A._EnvironmentModule__EnvironmentModule2(this, css, preModuleComments, extensionStore, A.NullableExtension_andThen0(this._async_environment0$_forwardedModules, new A.AsyncEnvironment_toModule_closure0()));
  85855. },
  85856. toDummyModule$0() {
  85857. return A._EnvironmentModule__EnvironmentModule2(this, new A.CssStylesheet0(new A.UnmodifiableListView(B.List_empty19, type$.UnmodifiableListView_CssNode_2), A.SourceFile$decoded(B.List_empty4, "<dummy module>").span$1(0, 0)), B.Map_empty16, B.C_EmptyExtensionStore0, A.NullableExtension_andThen0(this._async_environment0$_forwardedModules, new A.AsyncEnvironment_toDummyModule_closure0()));
  85858. },
  85859. _async_environment0$_getModule$1(namespace) {
  85860. var _0_0 = this._async_environment0$_modules.$index(0, namespace);
  85861. if (_0_0 != null)
  85862. return _0_0;
  85863. throw A.wrapException(A.SassScriptException$0('There is no module with the namespace "' + namespace + '".', null));
  85864. },
  85865. _async_environment0$_fromOneModule$1$3($name, type, callback) {
  85866. var t1, t2, t3, t4, t5, _1_0, _2_0, value, identity, valueInModule, identityFromModule, module, node,
  85867. _0_0 = this._async_environment0$_nestedForwardedModules;
  85868. if (_0_0 != null)
  85869. for (t1 = A._arrayInstanceType(_0_0)._eval$1("ReversedListIterable<1>"), t2 = new A.ReversedListIterable(_0_0, t1), t2 = new A.ListIterator(t2, t2.get$length(0), t1._eval$1("ListIterator<ListIterable.E>")), t1 = t1._eval$1("ListIterable.E"); t2.moveNext$0();) {
  85870. t3 = t2.__internal$_current;
  85871. for (t3 = J.get$reversed$ax(t3 == null ? t1._as(t3) : t3), t4 = t3.$ti, t3 = new A.ListIterator(t3, t3.get$length(0), t4._eval$1("ListIterator<ListIterable.E>")), t4 = t4._eval$1("ListIterable.E"); t3.moveNext$0();) {
  85872. t5 = t3.__internal$_current;
  85873. _1_0 = callback.call$1(t5 == null ? t4._as(t5) : t5);
  85874. if (_1_0 != null)
  85875. return _1_0;
  85876. }
  85877. }
  85878. for (t1 = this._async_environment0$_importedModules, t1 = new A.LinkedHashMapKeyIterator(t1, t1._modifications, t1._first); t1.moveNext$0();) {
  85879. _2_0 = callback.call$1(t1.__js_helper$_current);
  85880. if (_2_0 != null)
  85881. return _2_0;
  85882. }
  85883. for (t1 = this._async_environment0$_globalModules, t2 = new A.LinkedHashMapKeyIterator(t1, t1._modifications, t1._first), t3 = type$.AsyncCallable_2, value = null, identity = null; t2.moveNext$0();) {
  85884. t4 = t2.__js_helper$_current;
  85885. valueInModule = callback.call$1(t4);
  85886. if (valueInModule == null)
  85887. continue;
  85888. identityFromModule = t3._is(valueInModule) ? valueInModule : t4.variableIdentity$1($name);
  85889. if (identityFromModule.$eq(0, identity))
  85890. continue;
  85891. if (value != null) {
  85892. t2 = A.LinkedHashMap_LinkedHashMap$_empty(type$.FileSpan, type$.String);
  85893. for (t3 = A.MapExtensions_get_pairs0(t1, type$.Module_AsyncCallable_2, type$.AstNode_2), t3 = t3.get$iterator(t3), t4 = "includes " + type; t3.moveNext$0();) {
  85894. t1 = t3.get$current(t3);
  85895. module = t1._0;
  85896. node = t1._1;
  85897. if (callback.call$1(module) != null)
  85898. t2.$indexSet(0, node.get$span(node), t4);
  85899. }
  85900. throw A.wrapException(A.MultiSpanSassScriptException$0("This " + type + string$.x20is_av, type + " use", t2));
  85901. }
  85902. identity = identityFromModule;
  85903. value = valueInModule;
  85904. }
  85905. return value;
  85906. },
  85907. _async_environment0$_fromOneModule$3($name, type, callback) {
  85908. callback.toString;
  85909. return this._async_environment0$_fromOneModule$1$3($name, type, callback, type$.dynamic);
  85910. }
  85911. };
  85912. A.AsyncEnvironment__getVariableFromGlobalModule_closure0.prototype = {
  85913. call$1(module) {
  85914. return module.get$variables().$index(0, this.name);
  85915. },
  85916. $signature: 310
  85917. };
  85918. A.AsyncEnvironment_setVariable_closure2.prototype = {
  85919. call$0() {
  85920. var t1 = this.$this;
  85921. t1._async_environment0$_lastVariableName = this.name;
  85922. return t1._async_environment0$_lastVariableIndex = 0;
  85923. },
  85924. $signature: 10
  85925. };
  85926. A.AsyncEnvironment_setVariable_closure3.prototype = {
  85927. call$1(module) {
  85928. return module.get$variables().containsKey$1(this.name) ? module : null;
  85929. },
  85930. $signature: 311
  85931. };
  85932. A.AsyncEnvironment_setVariable_closure4.prototype = {
  85933. call$0() {
  85934. var t1 = this.$this,
  85935. t2 = t1._async_environment0$_variableIndex$1(this.name);
  85936. return t2 == null ? t1._async_environment0$_variables.length - 1 : t2;
  85937. },
  85938. $signature: 10
  85939. };
  85940. A.AsyncEnvironment__getFunctionFromGlobalModule_closure0.prototype = {
  85941. call$1(module) {
  85942. return module.get$functions(module).$index(0, this.name);
  85943. },
  85944. $signature: 200
  85945. };
  85946. A.AsyncEnvironment__getMixinFromGlobalModule_closure0.prototype = {
  85947. call$1(module) {
  85948. return module.get$mixins().$index(0, this.name);
  85949. },
  85950. $signature: 200
  85951. };
  85952. A.AsyncEnvironment_toModule_closure0.prototype = {
  85953. call$1(modules) {
  85954. return new A.MapKeySet(modules, type$.MapKeySet_Module_AsyncCallable_2);
  85955. },
  85956. $signature: 201
  85957. };
  85958. A.AsyncEnvironment_toDummyModule_closure0.prototype = {
  85959. call$1(modules) {
  85960. return new A.MapKeySet(modules, type$.MapKeySet_Module_AsyncCallable_2);
  85961. },
  85962. $signature: 201
  85963. };
  85964. A._EnvironmentModule2.prototype = {
  85965. get$url(_) {
  85966. var t1 = this.css;
  85967. return t1.get$span(t1).file.url;
  85968. },
  85969. setVariable$3($name, value, nodeWithSpan) {
  85970. var t1, t2,
  85971. _0_0 = this._async_environment0$_modulesByVariable.$index(0, $name);
  85972. if (_0_0 != null) {
  85973. _0_0.setVariable$3($name, value, nodeWithSpan);
  85974. return;
  85975. }
  85976. t1 = this._async_environment0$_environment;
  85977. t2 = t1._async_environment0$_variables;
  85978. if (!B.JSArray_methods.get$first(t2).containsKey$1($name))
  85979. throw A.wrapException(A.SassScriptException$0("Undefined variable.", null));
  85980. J.$indexSet$ax(B.JSArray_methods.get$first(t2), $name, value);
  85981. J.$indexSet$ax(B.JSArray_methods.get$first(t1._async_environment0$_variableNodes), $name, nodeWithSpan);
  85982. return;
  85983. },
  85984. variableIdentity$1($name) {
  85985. var module = this._async_environment0$_modulesByVariable.$index(0, $name);
  85986. return module == null ? this : module.variableIdentity$1($name);
  85987. },
  85988. cloneCss$0() {
  85989. var _0_0, _this = this;
  85990. if (!_this.transitivelyContainsCss)
  85991. return _this;
  85992. _0_0 = A.cloneCssStylesheet0(_this.css, _this.extensionStore);
  85993. return A._EnvironmentModule$_2(_this._async_environment0$_environment, _0_0._0, _this.preModuleComments, _0_0._1, _this._async_environment0$_modulesByVariable, _this.variables, _this.variableNodes, _this.functions, _this.mixins, true, _this.transitivelyContainsExtensions);
  85994. },
  85995. toString$0(_) {
  85996. var t2,
  85997. t1 = this.css;
  85998. if (t1.get$span(t1).file.url == null)
  85999. t1 = "<unknown url>";
  86000. else {
  86001. t1 = t1.get$span(t1).file.url;
  86002. t2 = $.$get$context();
  86003. t1.toString;
  86004. t1 = t2.prettyUri$1(t1);
  86005. }
  86006. return t1;
  86007. },
  86008. $isModule1: 1,
  86009. get$upstream() {
  86010. return this.upstream;
  86011. },
  86012. get$variables() {
  86013. return this.variables;
  86014. },
  86015. get$variableNodes() {
  86016. return this.variableNodes;
  86017. },
  86018. get$functions(receiver) {
  86019. return this.functions;
  86020. },
  86021. get$mixins() {
  86022. return this.mixins;
  86023. },
  86024. get$extensionStore() {
  86025. return this.extensionStore;
  86026. },
  86027. get$css(receiver) {
  86028. return this.css;
  86029. },
  86030. get$preModuleComments() {
  86031. return this.preModuleComments;
  86032. },
  86033. get$transitivelyContainsCss() {
  86034. return this.transitivelyContainsCss;
  86035. },
  86036. get$transitivelyContainsExtensions() {
  86037. return this.transitivelyContainsExtensions;
  86038. }
  86039. };
  86040. A._EnvironmentModule__EnvironmentModule_closure17.prototype = {
  86041. call$1(module) {
  86042. return module.get$variables();
  86043. },
  86044. $signature: 314
  86045. };
  86046. A._EnvironmentModule__EnvironmentModule_closure18.prototype = {
  86047. call$1(module) {
  86048. return module.get$variableNodes();
  86049. },
  86050. $signature: 315
  86051. };
  86052. A._EnvironmentModule__EnvironmentModule_closure19.prototype = {
  86053. call$1(module) {
  86054. return module.get$functions(module);
  86055. },
  86056. $signature: 202
  86057. };
  86058. A._EnvironmentModule__EnvironmentModule_closure20.prototype = {
  86059. call$1(module) {
  86060. return module.get$mixins();
  86061. },
  86062. $signature: 202
  86063. };
  86064. A._EnvironmentModule__EnvironmentModule_closure21.prototype = {
  86065. call$1(module) {
  86066. return module.get$transitivelyContainsCss();
  86067. },
  86068. $signature: 116
  86069. };
  86070. A._EnvironmentModule__EnvironmentModule_closure22.prototype = {
  86071. call$1(module) {
  86072. return module.get$transitivelyContainsExtensions();
  86073. },
  86074. $signature: 116
  86075. };
  86076. A._EvaluateVisitor2.prototype = {
  86077. _EvaluateVisitor$6$functions$importCache$logger$nodeImporter$quietDeps$sourceMap2(functions, importCache, logger, nodeImporter, quietDeps, sourceMap) {
  86078. var t2, metaModule, t3, _i, module, $function, t4, _this = this,
  86079. _s20_ = "$name, $module: null",
  86080. _s9_ = "sass:meta",
  86081. _s7_ = "$module",
  86082. t1 = type$.JSArray_AsyncBuiltInCallable_2,
  86083. metaFunctions = A._setArrayType([A.BuiltInCallable$function0("global-variable-exists", _s20_, new A._EvaluateVisitor_closure38(_this), _s9_), A.BuiltInCallable$function0("variable-exists", "$name", new A._EvaluateVisitor_closure39(_this), _s9_), A.BuiltInCallable$function0("function-exists", _s20_, new A._EvaluateVisitor_closure40(_this), _s9_), A.BuiltInCallable$function0("mixin-exists", _s20_, new A._EvaluateVisitor_closure41(_this), _s9_), A.BuiltInCallable$function0("content-exists", "", new A._EvaluateVisitor_closure42(_this), _s9_), A.BuiltInCallable$function0("module-variables", _s7_, new A._EvaluateVisitor_closure43(_this), _s9_), A.BuiltInCallable$function0("module-functions", _s7_, new A._EvaluateVisitor_closure44(_this), _s9_), A.BuiltInCallable$function0("module-mixins", _s7_, new A._EvaluateVisitor_closure45(_this), _s9_), A.BuiltInCallable$function0("get-function", "$name, $css: false, $module: null", new A._EvaluateVisitor_closure46(_this), _s9_), A.BuiltInCallable$function0("get-mixin", _s20_, new A._EvaluateVisitor_closure47(_this), _s9_), new A.AsyncBuiltInCallable0("call", A.ScssParser$0("@function call($function, $args...) {", _s9_).parseParameterList$0(), new A._EvaluateVisitor_closure48(_this), false)], t1),
  86084. metaMixins = A._setArrayType([A.AsyncBuiltInCallable$mixin0("load-css", "$url, $with: null", new A._EvaluateVisitor_closure49(_this), false, _s9_), A.AsyncBuiltInCallable$mixin0("apply", "$mixin, $args...", new A._EvaluateVisitor_closure50(_this), true, _s9_)], t1);
  86085. t1 = type$.AsyncBuiltInCallable_2;
  86086. t2 = A.List_List$_of($.$get$moduleFunctions0(), t1);
  86087. B.JSArray_methods.addAll$1(t2, metaFunctions);
  86088. metaModule = A.BuiltInModule$0("meta", t2, metaMixins, null, t1);
  86089. t1 = A.List_List$_of($.$get$coreModules0(), type$.BuiltInModule_AsyncCallable_2);
  86090. t1.push(metaModule);
  86091. t2 = t1.length;
  86092. t3 = _this._async_evaluate0$_builtInModules;
  86093. _i = 0;
  86094. for (; _i < t1.length; t1.length === t2 || (0, A.throwConcurrentModificationError)(t1), ++_i) {
  86095. module = t1[_i];
  86096. t3.$indexSet(0, module.url, module);
  86097. }
  86098. t1 = type$.JSArray_AsyncCallable_2;
  86099. t2 = A._setArrayType([], t1);
  86100. B.JSArray_methods.addAll$1(t2, functions);
  86101. B.JSArray_methods.addAll$1(t2, $.$get$globalFunctions0());
  86102. t1 = A._setArrayType([], t1);
  86103. for (_i = 0; _i < 11; ++_i)
  86104. t1.push(metaFunctions[_i].withDeprecationWarning$1("meta"));
  86105. B.JSArray_methods.addAll$1(t2, t1);
  86106. for (t1 = t2.length, t3 = _this._async_evaluate0$_builtInFunctions, _i = 0; _i < t2.length; t2.length === t1 || (0, A.throwConcurrentModificationError)(t2), ++_i) {
  86107. $function = t2[_i];
  86108. t4 = $function.get$name($function);
  86109. t3.$indexSet(0, A.stringReplaceAllUnchecked(t4, "_", "-"), $function);
  86110. }
  86111. },
  86112. run$2(_, importer, node) {
  86113. return this.run$body$_EvaluateVisitor0(0, importer, node);
  86114. },
  86115. run$body$_EvaluateVisitor0(_, importer, node) {
  86116. var $async$goto = 0,
  86117. $async$completer = A._makeAsyncAwaitCompleter(type$.Record_2_Set_Uri_loadedUrls_and_CssStylesheet_stylesheet_2),
  86118. $async$returnValue, $async$handler = 2, $async$errorStack = [], $async$self = this, error, stackTrace, t1, exception, $async$exception;
  86119. var $async$run$2 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  86120. if ($async$errorCode === 1) {
  86121. $async$errorStack.push($async$result);
  86122. $async$goto = $async$handler;
  86123. }
  86124. while (true)
  86125. switch ($async$goto) {
  86126. case 0:
  86127. // Function start
  86128. $async$handler = 4;
  86129. t1 = type$.nullable_Object;
  86130. t1 = A.runZoned(new A._EvaluateVisitor_run_closure2($async$self, node, importer), A.LinkedHashMap_LinkedHashMap$_literal([B.Symbol__evaluationContext, new A._EvaluationContext2($async$self, node)], t1, t1), type$.FutureOr_Record_2_Set_Uri_loadedUrls_and_CssStylesheet_stylesheet_2);
  86131. $async$goto = 7;
  86132. return A._asyncAwait(type$.Future_Record_2_Set_Uri_loadedUrls_and_CssStylesheet_stylesheet_2._is(t1) ? t1 : A._Future$value(t1, type$.Record_2_Set_Uri_loadedUrls_and_CssStylesheet_stylesheet_2), $async$run$2);
  86133. case 7:
  86134. // returning from await.
  86135. t1 = $async$result;
  86136. $async$returnValue = t1;
  86137. // goto return
  86138. $async$goto = 1;
  86139. break;
  86140. $async$handler = 2;
  86141. // goto after finally
  86142. $async$goto = 6;
  86143. break;
  86144. case 4:
  86145. // catch
  86146. $async$handler = 3;
  86147. $async$exception = $async$errorStack.pop();
  86148. t1 = A.unwrapException($async$exception);
  86149. if (t1 instanceof A.SassException0) {
  86150. error = t1;
  86151. stackTrace = A.getTraceFromException($async$exception);
  86152. A.throwWithTrace0(error.withLoadedUrls$1($async$self._async_evaluate0$_loadedUrls), error, stackTrace);
  86153. } else
  86154. throw $async$exception;
  86155. // goto after finally
  86156. $async$goto = 6;
  86157. break;
  86158. case 3:
  86159. // uncaught
  86160. // goto rethrow
  86161. $async$goto = 2;
  86162. break;
  86163. case 6:
  86164. // after finally
  86165. case 1:
  86166. // return
  86167. return A._asyncReturn($async$returnValue, $async$completer);
  86168. case 2:
  86169. // rethrow
  86170. return A._asyncRethrow($async$errorStack.at(-1), $async$completer);
  86171. }
  86172. });
  86173. return A._asyncStartSync($async$run$2, $async$completer);
  86174. },
  86175. _async_evaluate0$_assertInModule$1$2(value, $name) {
  86176. if (value != null)
  86177. return value;
  86178. throw A.wrapException(A.StateError$("Can't access " + $name + " outside of a module."));
  86179. },
  86180. _async_evaluate0$_assertInModule$2(value, $name) {
  86181. return this._async_evaluate0$_assertInModule$1$2(value, $name, type$.dynamic);
  86182. },
  86183. _async_evaluate0$_loadModule$7$baseUrl$configuration$namesInErrors(url, stackFrame, nodeWithSpan, callback, baseUrl, configuration, namesInErrors) {
  86184. return this._loadModule$body$_EvaluateVisitor0(url, stackFrame, nodeWithSpan, callback, baseUrl, configuration, namesInErrors);
  86185. },
  86186. _async_evaluate0$_loadModule$5$configuration(url, stackFrame, nodeWithSpan, callback, configuration) {
  86187. callback.toString;
  86188. return this._async_evaluate0$_loadModule$7$baseUrl$configuration$namesInErrors(url, stackFrame, nodeWithSpan, callback, null, configuration, false);
  86189. },
  86190. _async_evaluate0$_loadModule$4(url, stackFrame, nodeWithSpan, callback) {
  86191. callback.toString;
  86192. return this._async_evaluate0$_loadModule$7$baseUrl$configuration$namesInErrors(url, stackFrame, nodeWithSpan, callback, null, null, false);
  86193. },
  86194. _loadModule$body$_EvaluateVisitor0(url, stackFrame, nodeWithSpan, callback, baseUrl, configuration, namesInErrors) {
  86195. var $async$goto = 0,
  86196. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  86197. $async$returnValue, $async$self = this, t2, _0_0, t1;
  86198. var $async$_async_evaluate0$_loadModule$7$baseUrl$configuration$namesInErrors = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  86199. if ($async$errorCode === 1)
  86200. return A._asyncRethrow($async$result, $async$completer);
  86201. while (true)
  86202. switch ($async$goto) {
  86203. case 0:
  86204. // Function start
  86205. _0_0 = $async$self._async_evaluate0$_builtInModules.$index(0, url);
  86206. t1 = {};
  86207. t1.builtInModule = null;
  86208. $async$goto = _0_0 != null ? 3 : 4;
  86209. break;
  86210. case 3:
  86211. // then
  86212. t1.builtInModule = _0_0;
  86213. if (configuration instanceof A.ExplicitConfiguration0) {
  86214. t1 = namesInErrors ? "Built-in module " + url.toString$0(0) + " can't be configured." : "Built-in modules can't be configured.";
  86215. t2 = configuration.nodeWithSpan;
  86216. throw A.wrapException($async$self._async_evaluate0$_exception$2(t1, t2.get$span(t2)));
  86217. }
  86218. $async$goto = 5;
  86219. return A._asyncAwait($async$self._async_evaluate0$_addExceptionSpanAsync$1$2(nodeWithSpan, new A._EvaluateVisitor__loadModule_closure5(t1, callback), type$.void), $async$_async_evaluate0$_loadModule$7$baseUrl$configuration$namesInErrors);
  86220. case 5:
  86221. // returning from await.
  86222. // goto return
  86223. $async$goto = 1;
  86224. break;
  86225. case 4:
  86226. // join
  86227. $async$goto = 6;
  86228. 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);
  86229. case 6:
  86230. // returning from await.
  86231. case 1:
  86232. // return
  86233. return A._asyncReturn($async$returnValue, $async$completer);
  86234. }
  86235. });
  86236. return A._asyncStartSync($async$_async_evaluate0$_loadModule$7$baseUrl$configuration$namesInErrors, $async$completer);
  86237. },
  86238. _async_evaluate0$_execute$5$configuration$namesInErrors$nodeWithSpan(importer, stylesheet, configuration, namesInErrors, nodeWithSpan) {
  86239. return this._execute$body$_EvaluateVisitor0(importer, stylesheet, configuration, namesInErrors, nodeWithSpan);
  86240. },
  86241. _async_evaluate0$_execute$2(importer, stylesheet) {
  86242. return this._async_evaluate0$_execute$5$configuration$namesInErrors$nodeWithSpan(importer, stylesheet, null, false, null);
  86243. },
  86244. _execute$body$_EvaluateVisitor0(importer, stylesheet, configuration, namesInErrors, nodeWithSpan) {
  86245. var $async$goto = 0,
  86246. $async$completer = A._makeAsyncAwaitCompleter(type$.Module_AsyncCallable_2),
  86247. $async$returnValue, $async$self = this, currentConfiguration, t2, t3, message, existingSpan, configurationSpan, environment, css, preModuleComments, extensionStore, module, url, t1, _0_0;
  86248. var $async$_async_evaluate0$_execute$5$configuration$namesInErrors$nodeWithSpan = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  86249. if ($async$errorCode === 1)
  86250. return A._asyncRethrow($async$result, $async$completer);
  86251. while (true)
  86252. switch ($async$goto) {
  86253. case 0:
  86254. // Function start
  86255. url = stylesheet.span.file.url;
  86256. t1 = $async$self._async_evaluate0$_modules;
  86257. _0_0 = t1.$index(0, url);
  86258. if (_0_0 != null) {
  86259. t1 = configuration == null;
  86260. currentConfiguration = t1 ? $async$self._async_evaluate0$_configuration : configuration;
  86261. t2 = $async$self._async_evaluate0$_moduleConfigurations.$index(0, url);
  86262. t3 = t2._configuration0$__originalConfiguration;
  86263. t2 = t3 == null ? t2 : t3;
  86264. t3 = currentConfiguration._configuration0$__originalConfiguration;
  86265. if (t2 !== (t3 == null ? currentConfiguration : t3) && currentConfiguration instanceof A.ExplicitConfiguration0) {
  86266. if (namesInErrors) {
  86267. t2 = $.$get$context();
  86268. url.toString;
  86269. message = t2.prettyUri$1(url) + string$.x20was_a;
  86270. } else
  86271. message = string$.This_mw;
  86272. t2 = $async$self._async_evaluate0$_moduleNodes.$index(0, url);
  86273. existingSpan = t2 == null ? null : t2.get$span(t2);
  86274. if (t1) {
  86275. t1 = currentConfiguration.nodeWithSpan;
  86276. configurationSpan = t1.get$span(t1);
  86277. } else
  86278. configurationSpan = null;
  86279. t1 = A.LinkedHashMap_LinkedHashMap$_empty(type$.FileSpan, type$.String);
  86280. if (existingSpan != null)
  86281. t1.$indexSet(0, existingSpan, "original load");
  86282. if (configurationSpan != null)
  86283. t1.$indexSet(0, configurationSpan, "configuration");
  86284. throw A.wrapException(t1.get$isEmpty(0) ? $async$self._async_evaluate0$_exception$1(message) : $async$self._async_evaluate0$_multiSpanException$3(message, "new load", t1));
  86285. }
  86286. $async$returnValue = _0_0;
  86287. // goto return
  86288. $async$goto = 1;
  86289. break;
  86290. }
  86291. environment = A.AsyncEnvironment$0();
  86292. css = A._Cell$();
  86293. preModuleComments = A._Cell$();
  86294. extensionStore = A.ExtensionStore$0();
  86295. $async$goto = 3;
  86296. return A._asyncAwait($async$self._async_evaluate0$_withEnvironment$1$2(environment, new A._EvaluateVisitor__execute_closure2($async$self, importer, stylesheet, extensionStore, configuration, css, preModuleComments), type$.Null), $async$_async_evaluate0$_execute$5$configuration$namesInErrors$nodeWithSpan);
  86297. case 3:
  86298. // returning from await.
  86299. t2 = css._readLocal$0();
  86300. t3 = preModuleComments._readLocal$0();
  86301. module = environment.toModule$3(t2, t3 == null ? B.Map_empty16 : t3, extensionStore);
  86302. if (url != null) {
  86303. t1.$indexSet(0, url, module);
  86304. $async$self._async_evaluate0$_moduleConfigurations.$indexSet(0, url, $async$self._async_evaluate0$_configuration);
  86305. if (nodeWithSpan != null)
  86306. $async$self._async_evaluate0$_moduleNodes.$indexSet(0, url, nodeWithSpan);
  86307. }
  86308. $async$returnValue = module;
  86309. // goto return
  86310. $async$goto = 1;
  86311. break;
  86312. case 1:
  86313. // return
  86314. return A._asyncReturn($async$returnValue, $async$completer);
  86315. }
  86316. });
  86317. return A._asyncStartSync($async$_async_evaluate0$_execute$5$configuration$namesInErrors$nodeWithSpan, $async$completer);
  86318. },
  86319. _async_evaluate0$_addOutOfOrderImports$0() {
  86320. var t1, t2, _this = this, _s5_ = "_root",
  86321. _s13_ = "_endOfImports",
  86322. _0_0 = _this._async_evaluate0$_outOfOrderImports;
  86323. $label0$0: {
  86324. if (_0_0 == null) {
  86325. t1 = _this._async_evaluate0$_assertInModule$2(_this._async_evaluate0$__root, _s5_).children;
  86326. break $label0$0;
  86327. }
  86328. t1 = _this._async_evaluate0$_assertInModule$2(_this._async_evaluate0$__root, _s5_).children;
  86329. t1 = A.List_List$_of(A.SubListIterable$(t1, 0, A.checkNotNullable(_this._async_evaluate0$_assertInModule$2(_this._async_evaluate0$__endOfImports, _s13_), "count", type$.int), t1.$ti._eval$1("ListBase.E")), type$.ModifiableCssNode_2);
  86330. B.JSArray_methods.addAll$1(t1, _0_0);
  86331. t2 = _this._async_evaluate0$_assertInModule$2(_this._async_evaluate0$__root, _s5_).children;
  86332. B.JSArray_methods.addAll$1(t1, A.SubListIterable$(t2, _this._async_evaluate0$_assertInModule$2(_this._async_evaluate0$__endOfImports, _s13_), null, t2.$ti._eval$1("ListBase.E")));
  86333. break $label0$0;
  86334. }
  86335. return t1;
  86336. },
  86337. _async_evaluate0$_combineCss$2$clone(root, clone) {
  86338. var selectors, _0_0, t1, imports, css, sorted, t2;
  86339. if (!B.JSArray_methods.any$1(root.get$upstream(), new A._EvaluateVisitor__combineCss_closure5())) {
  86340. selectors = root.get$extensionStore().get$simpleSelectors();
  86341. _0_0 = A.IterableExtension_get_firstOrNull(root.get$extensionStore().extensionsWhereTarget$1(new A._EvaluateVisitor__combineCss_closure6(selectors)));
  86342. if (_0_0 != null)
  86343. this._async_evaluate0$_throwForUnsatisfiedExtension$1(_0_0);
  86344. return root.get$css(root);
  86345. }
  86346. t1 = type$.JSArray_CssNode_2;
  86347. imports = A._setArrayType([], t1);
  86348. css = A._setArrayType([], t1);
  86349. t1 = type$.Module_AsyncCallable_2;
  86350. sorted = A.ListQueue$(t1);
  86351. new A._EvaluateVisitor__combineCss_visitModule2(this, A.LinkedHashSet_LinkedHashSet$_empty(t1), clone, css, imports, sorted).call$1(root);
  86352. if (root.get$transitivelyContainsExtensions())
  86353. this._async_evaluate0$_extendModules$1(sorted);
  86354. t1 = B.JSArray_methods.$add(imports, css);
  86355. t2 = root.get$css(root);
  86356. return new A.CssStylesheet0(new A.UnmodifiableListView(t1, type$.UnmodifiableListView_CssNode_2), t2.get$span(t2));
  86357. },
  86358. _async_evaluate0$_combineCss$1(root) {
  86359. return this._async_evaluate0$_combineCss$2$clone(root, false);
  86360. },
  86361. _async_evaluate0$_extendModules$1(sortedModules) {
  86362. var t1, t2, t3, originalSelectors, $self, t4, t5, _i, upstream, _0_0,
  86363. downstreamExtensionStores = A.LinkedHashMap_LinkedHashMap$_empty(type$.Uri, type$.List_ExtensionStore_2),
  86364. unsatisfiedExtensions = new A._LinkedIdentityHashSet(type$._LinkedIdentityHashSet_Extension_2);
  86365. for (t1 = A._ListQueueIterator$(sortedModules, sortedModules.$ti._precomputed1), t2 = t1.$ti._precomputed1; t1.moveNext$0();) {
  86366. t3 = t1._collection$_current;
  86367. if (t3 == null)
  86368. t3 = t2._as(t3);
  86369. originalSelectors = t3.get$extensionStore().get$simpleSelectors().toSet$0(0);
  86370. unsatisfiedExtensions.addAll$1(0, t3.get$extensionStore().extensionsWhereTarget$1(new A._EvaluateVisitor__extendModules_closure5(originalSelectors)));
  86371. $self = downstreamExtensionStores.$index(0, t3.get$url(t3));
  86372. t4 = t3.get$extensionStore().get$addExtensions();
  86373. if ($self != null)
  86374. t4.call$1($self);
  86375. t4 = t3.get$extensionStore();
  86376. if (t4.get$isEmpty(t4))
  86377. continue;
  86378. for (t4 = t3.get$upstream(), t5 = t4.length, _i = 0; _i < t4.length; t4.length === t5 || (0, A.throwConcurrentModificationError)(t4), ++_i) {
  86379. upstream = t4[_i];
  86380. _0_0 = upstream.get$url(upstream);
  86381. if (_0_0 != null)
  86382. J.add$1$ax(downstreamExtensionStores.putIfAbsent$2(_0_0, new A._EvaluateVisitor__extendModules_closure6()), t3.get$extensionStore());
  86383. }
  86384. unsatisfiedExtensions.removeAll$1(t3.get$extensionStore().extensionsWhereTarget$1(originalSelectors.get$contains(originalSelectors)));
  86385. }
  86386. if (unsatisfiedExtensions._collection$_length !== 0)
  86387. this._async_evaluate0$_throwForUnsatisfiedExtension$1(unsatisfiedExtensions.get$first(0));
  86388. },
  86389. _async_evaluate0$_throwForUnsatisfiedExtension$1(extension) {
  86390. throw A.wrapException(A.SassException$0(string$.The_ta + extension.target.toString$0(0) + ' !optional" to avoid this error.', extension.span, null));
  86391. },
  86392. _async_evaluate0$_indexAfterImports$1(statements) {
  86393. var t1, lastImport, i, _0_0;
  86394. for (t1 = J.getInterceptor$asx(statements), lastImport = -1, i = 0; i < t1.get$length(statements); ++i) {
  86395. $label0$0: {
  86396. _0_0 = t1.$index(statements, i);
  86397. if (_0_0 instanceof A.ModifiableCssImport0)
  86398. break $label0$0;
  86399. if (_0_0 instanceof A.ModifiableCssComment0)
  86400. continue;
  86401. break;
  86402. }
  86403. lastImport = i;
  86404. }
  86405. return lastImport + 1;
  86406. },
  86407. visitStylesheet$1(_, node) {
  86408. return this.visitStylesheet$body$_EvaluateVisitor0(0, node);
  86409. },
  86410. visitStylesheet$body$_EvaluateVisitor0(_, node) {
  86411. var $async$goto = 0,
  86412. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value_2),
  86413. $async$returnValue, $async$self = this, t1, t2, warning, _i, $name, span;
  86414. var $async$visitStylesheet$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  86415. if ($async$errorCode === 1)
  86416. return A._asyncRethrow($async$result, $async$completer);
  86417. while (true)
  86418. switch ($async$goto) {
  86419. case 0:
  86420. // Function start
  86421. for (t1 = node.parseTimeWarnings, t2 = t1.$ti, t1 = new A.ListIterator(t1, t1.get$length(0), t2._eval$1("ListIterator<ListBase.E>")), t2 = t2._eval$1("ListBase.E"); t1.moveNext$0();) {
  86422. warning = t1.__internal$_current;
  86423. if (warning == null)
  86424. warning = t2._as(warning);
  86425. $async$self._async_evaluate0$_warn$3(warning._1, warning._2, warning._0);
  86426. }
  86427. t1 = node.children, t2 = t1.length, _i = 0;
  86428. case 3:
  86429. // for condition
  86430. if (!(_i < t2)) {
  86431. // goto after for
  86432. $async$goto = 5;
  86433. break;
  86434. }
  86435. $async$goto = 6;
  86436. return A._asyncAwait(t1[_i].accept$1($async$self), $async$visitStylesheet$1);
  86437. case 6:
  86438. // returning from await.
  86439. case 4:
  86440. // for update
  86441. ++_i;
  86442. // goto for condition
  86443. $async$goto = 3;
  86444. break;
  86445. case 5:
  86446. // after for
  86447. for (t1 = A.MapExtensions_get_pairs0(node.globalVariables, type$.String, type$.FileSpan), t1 = t1.get$iterator(t1); t1.moveNext$0();) {
  86448. t2 = t1.get$current(t1);
  86449. $name = t2._0;
  86450. span = t2._1;
  86451. $async$self.visitVariableDeclaration$1(0, new A.VariableDeclaration0(null, $name, new A.NullExpression0(span), true, false, span));
  86452. }
  86453. $async$returnValue = null;
  86454. // goto return
  86455. $async$goto = 1;
  86456. break;
  86457. case 1:
  86458. // return
  86459. return A._asyncReturn($async$returnValue, $async$completer);
  86460. }
  86461. });
  86462. return A._asyncStartSync($async$visitStylesheet$1, $async$completer);
  86463. },
  86464. visitAtRootRule$1(_, node) {
  86465. return this.visitAtRootRule$body$_EvaluateVisitor0(0, node);
  86466. },
  86467. visitAtRootRule$body$_EvaluateVisitor0(_, node) {
  86468. var $async$goto = 0,
  86469. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value_2),
  86470. $async$returnValue, $async$self = this, _1_0, resolved, query, $parent, included, t1, _2_0, root, first, rest, innerCopy, outerCopy, _i, copy, _0_0;
  86471. var $async$visitAtRootRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  86472. if ($async$errorCode === 1)
  86473. return A._asyncRethrow($async$result, $async$completer);
  86474. while (true)
  86475. switch ($async$goto) {
  86476. case 0:
  86477. // Function start
  86478. _0_0 = node.query;
  86479. $async$goto = _0_0 != null ? 3 : 5;
  86480. break;
  86481. case 3:
  86482. // then
  86483. $async$goto = 6;
  86484. return A._asyncAwait($async$self._async_evaluate0$_performInterpolationWithMap$2$warnForColor(_0_0, true), $async$visitAtRootRule$1);
  86485. case 6:
  86486. // returning from await.
  86487. _1_0 = $async$result;
  86488. resolved = _1_0._0;
  86489. _1_0._1;
  86490. query = new A.AtRootQueryParser0(A.SpanScanner$(resolved, null), null).parse$0(0);
  86491. // goto join
  86492. $async$goto = 4;
  86493. break;
  86494. case 5:
  86495. // else
  86496. query = B.AtRootQuery_bfj0;
  86497. case 4:
  86498. // join
  86499. $parent = $async$self._async_evaluate0$_assertInModule$2($async$self._async_evaluate0$__parent, "__parent");
  86500. included = A._setArrayType([], type$.JSArray_ModifiableCssParentNode_2);
  86501. for (t1 = type$.CssStylesheet_2; !t1._is($parent); $parent = _2_0) {
  86502. if (!query.excludes$1($parent))
  86503. included.push($parent);
  86504. _2_0 = $parent._node$_parent;
  86505. if (_2_0 == null)
  86506. throw A.wrapException(A.StateError$(string$.CssNod));
  86507. }
  86508. root = $async$self._async_evaluate0$_trimIncluded$1(included);
  86509. $async$goto = root === $async$self._async_evaluate0$_assertInModule$2($async$self._async_evaluate0$__parent, "__parent") ? 7 : 8;
  86510. break;
  86511. case 7:
  86512. // then
  86513. $async$goto = 9;
  86514. return A._asyncAwait($async$self._async_evaluate0$_environment.scope$1$2$when(new A._EvaluateVisitor_visitAtRootRule_closure5($async$self, node), node.hasDeclarations, type$.Null), $async$visitAtRootRule$1);
  86515. case 9:
  86516. // returning from await.
  86517. $async$returnValue = null;
  86518. // goto return
  86519. $async$goto = 1;
  86520. break;
  86521. case 8:
  86522. // join
  86523. if (included.length >= 1) {
  86524. first = included[0];
  86525. rest = B.JSArray_methods.sublist$1(included, 1);
  86526. innerCopy = first.copyWithoutChildren$0();
  86527. for (t1 = rest.length, outerCopy = innerCopy, _i = 0; _i < rest.length; rest.length === t1 || (0, A.throwConcurrentModificationError)(rest), ++_i, outerCopy = copy) {
  86528. copy = rest[_i].copyWithoutChildren$0();
  86529. copy.addChild$1(outerCopy);
  86530. }
  86531. root.addChild$1(outerCopy);
  86532. } else
  86533. innerCopy = root;
  86534. $async$goto = 10;
  86535. return A._asyncAwait($async$self._async_evaluate0$_scopeForAtRoot$4(node, innerCopy, query, included).call$1(new A._EvaluateVisitor_visitAtRootRule_closure6($async$self, node)), $async$visitAtRootRule$1);
  86536. case 10:
  86537. // returning from await.
  86538. $async$returnValue = null;
  86539. // goto return
  86540. $async$goto = 1;
  86541. break;
  86542. case 1:
  86543. // return
  86544. return A._asyncReturn($async$returnValue, $async$completer);
  86545. }
  86546. });
  86547. return A._asyncStartSync($async$visitAtRootRule$1, $async$completer);
  86548. },
  86549. _async_evaluate0$_trimIncluded$1(nodes) {
  86550. var $parent, t1, innermostContiguous, i, t2, _0_0, _1_0, root, _this = this, _null = null, _s5_ = "_root",
  86551. _s22_ = " to be an ancestor of ";
  86552. if (nodes.length === 0)
  86553. return _this._async_evaluate0$_assertInModule$2(_this._async_evaluate0$__root, _s5_);
  86554. $parent = _this._async_evaluate0$_assertInModule$2(_this._async_evaluate0$__parent, "__parent");
  86555. for (t1 = nodes.length, innermostContiguous = _null, i = 0; i < t1; ++i, $parent = _1_0) {
  86556. for (; t2 = nodes[i], $parent !== t2; innermostContiguous = _null, $parent = _0_0) {
  86557. _0_0 = $parent._node$_parent;
  86558. if (_0_0 == null)
  86559. throw A.wrapException(A.ArgumentError$("Expected " + t2.toString$0(0) + _s22_ + _this.toString$0(0) + ".", _null));
  86560. }
  86561. if (innermostContiguous == null)
  86562. innermostContiguous = i;
  86563. _1_0 = $parent._node$_parent;
  86564. if (_1_0 == null)
  86565. throw A.wrapException(A.ArgumentError$("Expected " + t2.toString$0(0) + _s22_ + _this.toString$0(0) + ".", _null));
  86566. }
  86567. if ($parent !== _this._async_evaluate0$_assertInModule$2(_this._async_evaluate0$__root, _s5_))
  86568. return _this._async_evaluate0$_assertInModule$2(_this._async_evaluate0$__root, _s5_);
  86569. innermostContiguous.toString;
  86570. root = nodes[innermostContiguous];
  86571. B.JSArray_methods.removeRange$2(nodes, innermostContiguous, nodes.length);
  86572. return root;
  86573. },
  86574. _async_evaluate0$_scopeForAtRoot$4(node, newParent, query, included) {
  86575. var _this = this,
  86576. scope = new A._EvaluateVisitor__scopeForAtRoot_closure17(_this, newParent, node),
  86577. t1 = query._at_root_query0$_all || query._at_root_query0$_rule;
  86578. if (t1 !== query.include)
  86579. scope = new A._EvaluateVisitor__scopeForAtRoot_closure18(_this, scope);
  86580. if (_this._async_evaluate0$_mediaQueries != null && query.excludesName$1("media"))
  86581. scope = new A._EvaluateVisitor__scopeForAtRoot_closure19(_this, scope);
  86582. if (_this._async_evaluate0$_inKeyframes && query.excludesName$1("keyframes"))
  86583. scope = new A._EvaluateVisitor__scopeForAtRoot_closure20(_this, scope);
  86584. return _this._async_evaluate0$_inUnknownAtRule && !B.JSArray_methods.any$1(included, new A._EvaluateVisitor__scopeForAtRoot_closure21()) ? new A._EvaluateVisitor__scopeForAtRoot_closure22(_this, scope) : scope;
  86585. },
  86586. visitContentBlock$1(_, node) {
  86587. return A.throwExpression(A.UnsupportedError$(string$.Evalua));
  86588. },
  86589. visitContentRule$1(_, node) {
  86590. return this.visitContentRule$body$_EvaluateVisitor0(0, node);
  86591. },
  86592. visitContentRule$body$_EvaluateVisitor0(_, node) {
  86593. var $async$goto = 0,
  86594. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value_2),
  86595. $async$returnValue, $async$self = this, $content;
  86596. var $async$visitContentRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  86597. if ($async$errorCode === 1)
  86598. return A._asyncRethrow($async$result, $async$completer);
  86599. while (true)
  86600. switch ($async$goto) {
  86601. case 0:
  86602. // Function start
  86603. $content = $async$self._async_evaluate0$_environment._async_environment0$_content;
  86604. if ($content == null) {
  86605. $async$returnValue = null;
  86606. // goto return
  86607. $async$goto = 1;
  86608. break;
  86609. }
  86610. $async$goto = 3;
  86611. 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);
  86612. case 3:
  86613. // returning from await.
  86614. $async$returnValue = null;
  86615. // goto return
  86616. $async$goto = 1;
  86617. break;
  86618. case 1:
  86619. // return
  86620. return A._asyncReturn($async$returnValue, $async$completer);
  86621. }
  86622. });
  86623. return A._asyncStartSync($async$visitContentRule$1, $async$completer);
  86624. },
  86625. visitDebugRule$1(_, node) {
  86626. return this.visitDebugRule$body$_EvaluateVisitor0(0, node);
  86627. },
  86628. visitDebugRule$body$_EvaluateVisitor0(_, node) {
  86629. var $async$goto = 0,
  86630. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value_2),
  86631. $async$returnValue, $async$self = this, value, t1;
  86632. var $async$visitDebugRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  86633. if ($async$errorCode === 1)
  86634. return A._asyncRethrow($async$result, $async$completer);
  86635. while (true)
  86636. switch ($async$goto) {
  86637. case 0:
  86638. // Function start
  86639. $async$goto = 3;
  86640. return A._asyncAwait(node.expression.accept$1($async$self), $async$visitDebugRule$1);
  86641. case 3:
  86642. // returning from await.
  86643. value = $async$result;
  86644. t1 = value instanceof A.SassString0 ? value._string0$_text : A.serializeValue0(value, true, true);
  86645. $async$self._async_evaluate0$_logger.debug$2(0, t1, node.span);
  86646. $async$returnValue = null;
  86647. // goto return
  86648. $async$goto = 1;
  86649. break;
  86650. case 1:
  86651. // return
  86652. return A._asyncReturn($async$returnValue, $async$completer);
  86653. }
  86654. });
  86655. return A._asyncStartSync($async$visitDebugRule$1, $async$completer);
  86656. },
  86657. visitDeclaration$1(_, node) {
  86658. return this.visitDeclaration$body$_EvaluateVisitor0(0, node);
  86659. },
  86660. visitDeclaration$body$_EvaluateVisitor0(_, node) {
  86661. var $async$goto = 0,
  86662. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value_2),
  86663. $async$returnValue, $async$self = this, siblings, interleavedRules, t1, t2, t3, t4, t5, t6, rule, rule0, $name, _1_0, _2_0, value, _3_0, oldDeclarationName;
  86664. var $async$visitDeclaration$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  86665. if ($async$errorCode === 1)
  86666. return A._asyncRethrow($async$result, $async$completer);
  86667. while (true)
  86668. switch ($async$goto) {
  86669. case 0:
  86670. // Function start
  86671. if (($async$self._async_evaluate0$_atRootExcludingStyleRule ? null : $async$self._async_evaluate0$_styleRuleIgnoringAtRoot) == null && !$async$self._async_evaluate0$_inUnknownAtRule && !$async$self._async_evaluate0$_inKeyframes)
  86672. throw A.wrapException($async$self._async_evaluate0$_exception$2(string$.Declarm, node.span));
  86673. if ($async$self._async_evaluate0$_declarationName != null && B.JSString_methods.startsWith$1(node.name.get$initialPlain(), "--"))
  86674. throw A.wrapException($async$self._async_evaluate0$_exception$2(string$.Declarw, node.span));
  86675. siblings = $async$self._async_evaluate0$_assertInModule$2($async$self._async_evaluate0$__parent, "__parent")._node$_parent.children;
  86676. interleavedRules = A._setArrayType([], type$.JSArray_CssStyleRule_2);
  86677. if (siblings.get$last(siblings) !== $async$self._async_evaluate0$_assertInModule$2($async$self._async_evaluate0$__parent, "__parent"))
  86678. t1 = !($async$self._async_evaluate0$_quietDeps && $async$self._async_evaluate0$_inDependency);
  86679. else
  86680. t1 = false;
  86681. if (t1)
  86682. for (t1 = A.SubListIterable$(siblings, siblings.indexOf$1(siblings, $async$self._async_evaluate0$_assertInModule$2($async$self._async_evaluate0$__parent, "__parent")) + 1, null, siblings.$ti._eval$1("ListBase.E")), t2 = t1.$ti, t1 = new A.ListIterator(t1, t1.get$length(0), t2._eval$1("ListIterator<ListIterable.E>")), t3 = node.span, t4 = type$.SourceSpan, t5 = type$.String, t2 = t2._eval$1("ListIterable.E"); t1.moveNext$0();) {
  86683. t6 = t1.__internal$_current;
  86684. rule = t6 == null ? t2._as(t6) : t6;
  86685. $label0$1: {
  86686. if (rule instanceof A.ModifiableCssComment0)
  86687. continue;
  86688. t6 = rule instanceof A.ModifiableCssStyleRule0;
  86689. rule0 = t6 ? rule : null;
  86690. if (t6) {
  86691. interleavedRules.push(rule0);
  86692. break $label0$1;
  86693. }
  86694. $async$self._async_evaluate0$_warn$3(string$.Sassx27s, new A.MultiSpan0(t3, "declaration", A.ConstantMap_ConstantMap$from(A.LinkedHashMap_LinkedHashMap$_literal([rule.get$span(rule), "nested rule"], t4, t5), t4, t5)), B.Deprecation_MSr);
  86695. B.JSArray_methods.clear$0(interleavedRules);
  86696. break $label0$1;
  86697. }
  86698. }
  86699. t1 = node.name;
  86700. $async$goto = 3;
  86701. return A._asyncAwait($async$self._async_evaluate0$_interpolationToValue$2$warnForColor(t1, true), $async$visitDeclaration$1);
  86702. case 3:
  86703. // returning from await.
  86704. $name = $async$result;
  86705. _1_0 = $async$self._async_evaluate0$_declarationName;
  86706. if (_1_0 != null)
  86707. $name = new A.CssValue0(_1_0 + "-" + A.S($name.value), $name.span, type$.CssValue_String_2);
  86708. _2_0 = node.value;
  86709. $async$goto = _2_0 != null ? 4 : 5;
  86710. break;
  86711. case 4:
  86712. // then
  86713. $async$goto = 6;
  86714. return A._asyncAwait(_2_0.accept$1($async$self), $async$visitDeclaration$1);
  86715. case 6:
  86716. // returning from await.
  86717. value = $async$result;
  86718. if (!value.get$isBlank() || value.get$asList().length === 0 || J.startsWith$1$s($name.value, "--")) {
  86719. t2 = $async$self._async_evaluate0$_assertInModule$2($async$self._async_evaluate0$__parent, "__parent");
  86720. t3 = _2_0.get$span(_2_0);
  86721. t4 = node.span;
  86722. t1 = B.JSString_methods.startsWith$1(t1.get$initialPlain(), "--");
  86723. t5 = interleavedRules.length === 0 ? null : $async$self._async_evaluate0$_stackTrace$1(t4);
  86724. if ($async$self._async_evaluate0$_sourceMap) {
  86725. t6 = A.NullableExtension_andThen0(_2_0, $async$self.get$_async_evaluate0$_expressionNode());
  86726. t6 = t6 == null ? null : J.get$span$z(t6);
  86727. } else
  86728. t6 = null;
  86729. t2.addChild$1(A.ModifiableCssDeclaration$0($name, new A.CssValue0(value, t3, type$.CssValue_Value_2), t4, interleavedRules, t1, t5, t6));
  86730. }
  86731. case 5:
  86732. // join
  86733. _3_0 = node.children;
  86734. t1 = {};
  86735. t1.children = null;
  86736. $async$goto = _3_0 != null ? 7 : 8;
  86737. break;
  86738. case 7:
  86739. // then
  86740. t1.children = _3_0;
  86741. oldDeclarationName = $async$self._async_evaluate0$_declarationName;
  86742. $async$self._async_evaluate0$_declarationName = $name.value;
  86743. $async$goto = 9;
  86744. return A._asyncAwait($async$self._async_evaluate0$_environment.scope$1$2$when(new A._EvaluateVisitor_visitDeclaration_closure2(t1, $async$self), node.hasDeclarations, type$.Null), $async$visitDeclaration$1);
  86745. case 9:
  86746. // returning from await.
  86747. $async$self._async_evaluate0$_declarationName = oldDeclarationName;
  86748. case 8:
  86749. // join
  86750. $async$returnValue = null;
  86751. // goto return
  86752. $async$goto = 1;
  86753. break;
  86754. case 1:
  86755. // return
  86756. return A._asyncReturn($async$returnValue, $async$completer);
  86757. }
  86758. });
  86759. return A._asyncStartSync($async$visitDeclaration$1, $async$completer);
  86760. },
  86761. visitEachRule$1(_, node) {
  86762. return this.visitEachRule$body$_EvaluateVisitor0(0, node);
  86763. },
  86764. visitEachRule$body$_EvaluateVisitor0(_, node) {
  86765. var $async$goto = 0,
  86766. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value_2),
  86767. $async$returnValue, $async$self = this, t1, list, nodeWithSpan, _0_0;
  86768. var $async$visitEachRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  86769. if ($async$errorCode === 1)
  86770. return A._asyncRethrow($async$result, $async$completer);
  86771. while (true)
  86772. switch ($async$goto) {
  86773. case 0:
  86774. // Function start
  86775. t1 = node.list;
  86776. $async$goto = 3;
  86777. return A._asyncAwait(t1.accept$1($async$self), $async$visitEachRule$1);
  86778. case 3:
  86779. // returning from await.
  86780. list = $async$result;
  86781. nodeWithSpan = $async$self._async_evaluate0$_expressionNode$1(t1);
  86782. _0_0 = node.variables;
  86783. $label0$0: {
  86784. t1 = {};
  86785. t1.variable = null;
  86786. if (_0_0.length === 1) {
  86787. t1.variable = _0_0[0];
  86788. t1 = new A._EvaluateVisitor_visitEachRule_closure8(t1, $async$self, nodeWithSpan);
  86789. break $label0$0;
  86790. }
  86791. t1 = {};
  86792. t1.variables = null;
  86793. t1.variables = _0_0;
  86794. t1 = new A._EvaluateVisitor_visitEachRule_closure9(t1, $async$self, nodeWithSpan);
  86795. break $label0$0;
  86796. }
  86797. $async$returnValue = $async$self._async_evaluate0$_environment.scope$1$2$semiGlobal(new A._EvaluateVisitor_visitEachRule_closure10($async$self, list, t1, node), true, type$.nullable_Value_2);
  86798. // goto return
  86799. $async$goto = 1;
  86800. break;
  86801. case 1:
  86802. // return
  86803. return A._asyncReturn($async$returnValue, $async$completer);
  86804. }
  86805. });
  86806. return A._asyncStartSync($async$visitEachRule$1, $async$completer);
  86807. },
  86808. _async_evaluate0$_setMultipleVariables$3(variables, value, nodeWithSpan) {
  86809. var i,
  86810. list = value.get$asList(),
  86811. t1 = variables.length,
  86812. minLength = Math.min(t1, list.length);
  86813. for (i = 0; i < minLength; ++i)
  86814. this._async_evaluate0$_environment.setLocalVariable$3(variables[i], this._async_evaluate0$_withoutSlash$2(list[i], nodeWithSpan), nodeWithSpan);
  86815. for (i = minLength; i < t1; ++i)
  86816. this._async_evaluate0$_environment.setLocalVariable$3(variables[i], B.C__SassNull0, nodeWithSpan);
  86817. },
  86818. visitErrorRule$1(_, node) {
  86819. return this.visitErrorRule$body$_EvaluateVisitor0(0, node);
  86820. },
  86821. visitErrorRule$body$_EvaluateVisitor0(_, node) {
  86822. var $async$goto = 0,
  86823. $async$completer = A._makeAsyncAwaitCompleter(type$.Value_2),
  86824. $async$self = this, $async$temp1, $async$temp2;
  86825. var $async$visitErrorRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  86826. if ($async$errorCode === 1)
  86827. return A._asyncRethrow($async$result, $async$completer);
  86828. while (true)
  86829. switch ($async$goto) {
  86830. case 0:
  86831. // Function start
  86832. $async$temp1 = A;
  86833. $async$temp2 = J;
  86834. $async$goto = 2;
  86835. return A._asyncAwait(node.expression.accept$1($async$self), $async$visitErrorRule$1);
  86836. case 2:
  86837. // returning from await.
  86838. throw $async$temp1.wrapException($async$self._async_evaluate0$_exception$2($async$temp2.toString$0$($async$result), node.span));
  86839. // implicit return
  86840. return A._asyncReturn(null, $async$completer);
  86841. }
  86842. });
  86843. return A._asyncStartSync($async$visitErrorRule$1, $async$completer);
  86844. },
  86845. visitExtendRule$1(_, node) {
  86846. return this.visitExtendRule$body$_EvaluateVisitor0(0, node);
  86847. },
  86848. visitExtendRule$body$_EvaluateVisitor0(_, node) {
  86849. var $async$goto = 0,
  86850. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value_2),
  86851. $async$returnValue, $async$self = this, t1, t2, t3, t4, t5, _i, complex, visitor, t6, t7, _0_0, targetText, targetMap, compound, styleRule;
  86852. var $async$visitExtendRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  86853. if ($async$errorCode === 1)
  86854. return A._asyncRethrow($async$result, $async$completer);
  86855. while (true)
  86856. switch ($async$goto) {
  86857. case 0:
  86858. // Function start
  86859. styleRule = $async$self._async_evaluate0$_atRootExcludingStyleRule ? null : $async$self._async_evaluate0$_styleRuleIgnoringAtRoot;
  86860. if (styleRule == null || $async$self._async_evaluate0$_declarationName != null)
  86861. throw A.wrapException($async$self._async_evaluate0$_exception$2(string$.x40exten, node.span));
  86862. for (t1 = styleRule.originalSelector.components, t2 = t1.length, t3 = node.span, t4 = type$.SourceSpan, t5 = type$.String, _i = 0; _i < t2; ++_i) {
  86863. complex = t1[_i];
  86864. if (!complex.accept$1(B._IsBogusVisitor_true0))
  86865. continue;
  86866. visitor = A._SerializeVisitor$0(null, true, null, null, true, false, null, true);
  86867. complex.accept$1(visitor);
  86868. t6 = B.JSString_methods.trim$0(visitor._serialize0$_buffer.toString$0(0));
  86869. t7 = complex.accept$1(B.C__IsUselessVisitor0) ? "can't" : "shouldn't";
  86870. $async$self._async_evaluate0$_warn$3('The selector "' + t6 + '" is invalid CSS and ' + t7 + string$.x20be_an, new A.MultiSpan0(A.SpanExtensions_trimRight0(complex.span), "invalid selector", A.ConstantMap_ConstantMap$from(A.LinkedHashMap_LinkedHashMap$_literal([t3, "@extend rule"], t4, t5), t4, t5)), B.Deprecation_SHb);
  86871. }
  86872. $async$goto = 3;
  86873. return A._asyncAwait($async$self._async_evaluate0$_performInterpolationWithMap$2$warnForColor(node.selector, true), $async$visitExtendRule$1);
  86874. case 3:
  86875. // returning from await.
  86876. _0_0 = $async$result;
  86877. targetText = _0_0._0;
  86878. targetMap = _0_0._1;
  86879. for (t1 = A.SelectorList_SelectorList$parse0(A.trimAscii0(targetText, true), false, targetMap, false).components, t2 = t1.length, t3 = styleRule._style_rule0$_selector._box0$_inner, _i = 0; _i < t2; ++_i) {
  86880. complex = t1[_i];
  86881. compound = complex.get$singleCompound();
  86882. if (compound == null)
  86883. throw A.wrapException(A.SassFormatException$0("complex selectors may not be extended.", complex.span, null));
  86884. t4 = compound.components;
  86885. t5 = t4.length === 1 ? B.JSArray_methods.get$first(t4) : null;
  86886. if (t5 == null)
  86887. throw A.wrapException(A.SassFormatException$0(string$.compou + B.JSArray_methods.join$1(t4, ", ") + string$.x60_inst, compound.span, null));
  86888. $async$self._async_evaluate0$_assertInModule$2($async$self._async_evaluate0$__extensionStore, "_extensionStore").addExtension$4(t3.value, t5, node, $async$self._async_evaluate0$_mediaQueries);
  86889. }
  86890. $async$returnValue = null;
  86891. // goto return
  86892. $async$goto = 1;
  86893. break;
  86894. case 1:
  86895. // return
  86896. return A._asyncReturn($async$returnValue, $async$completer);
  86897. }
  86898. });
  86899. return A._asyncStartSync($async$visitExtendRule$1, $async$completer);
  86900. },
  86901. visitAtRule$1(_, node) {
  86902. return this.visitAtRule$body$_EvaluateVisitor0(0, node);
  86903. },
  86904. visitAtRule$body$_EvaluateVisitor0(_, node) {
  86905. var $async$goto = 0,
  86906. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value_2),
  86907. $async$returnValue, $async$self = this, $name, t1, value, children, wasInKeyframes, wasInUnknownAtRule;
  86908. var $async$visitAtRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  86909. if ($async$errorCode === 1)
  86910. return A._asyncRethrow($async$result, $async$completer);
  86911. while (true)
  86912. switch ($async$goto) {
  86913. case 0:
  86914. // Function start
  86915. if ($async$self._async_evaluate0$_declarationName != null)
  86916. throw A.wrapException($async$self._async_evaluate0$_exception$2(string$.At_rul, node.span));
  86917. $async$goto = 3;
  86918. return A._asyncAwait($async$self._async_evaluate0$_interpolationToValue$1(node.name), $async$visitAtRule$1);
  86919. case 3:
  86920. // returning from await.
  86921. $name = $async$result;
  86922. t1 = A.NullableExtension_andThen0(node.value, new A._EvaluateVisitor_visitAtRule_closure8($async$self));
  86923. $async$goto = 4;
  86924. return A._asyncAwait(type$.Future_nullable_CssValue_String_2._is(t1) ? t1 : A._Future$value(t1, type$.nullable_CssValue_String_2), $async$visitAtRule$1);
  86925. case 4:
  86926. // returning from await.
  86927. value = $async$result;
  86928. children = node.children;
  86929. if (children == null) {
  86930. $async$self._async_evaluate0$_assertInModule$2($async$self._async_evaluate0$__parent, "__parent").addChild$1(A.ModifiableCssAtRule$0($name, node.span, true, value));
  86931. $async$returnValue = null;
  86932. // goto return
  86933. $async$goto = 1;
  86934. break;
  86935. }
  86936. wasInKeyframes = $async$self._async_evaluate0$_inKeyframes;
  86937. wasInUnknownAtRule = $async$self._async_evaluate0$_inUnknownAtRule;
  86938. if (A.unvendor0($name.value) === "keyframes")
  86939. $async$self._async_evaluate0$_inKeyframes = true;
  86940. else
  86941. $async$self._async_evaluate0$_inUnknownAtRule = true;
  86942. $async$goto = 5;
  86943. return A._asyncAwait($async$self._async_evaluate0$_withParent$2$4$scopeWhen$through(A.ModifiableCssAtRule$0($name, node.span, false, value), new A._EvaluateVisitor_visitAtRule_closure9($async$self, $name, children), node.hasDeclarations, new A._EvaluateVisitor_visitAtRule_closure10(), type$.ModifiableCssAtRule_2, type$.Null), $async$visitAtRule$1);
  86944. case 5:
  86945. // returning from await.
  86946. $async$self._async_evaluate0$_inUnknownAtRule = wasInUnknownAtRule;
  86947. $async$self._async_evaluate0$_inKeyframes = wasInKeyframes;
  86948. $async$returnValue = null;
  86949. // goto return
  86950. $async$goto = 1;
  86951. break;
  86952. case 1:
  86953. // return
  86954. return A._asyncReturn($async$returnValue, $async$completer);
  86955. }
  86956. });
  86957. return A._asyncStartSync($async$visitAtRule$1, $async$completer);
  86958. },
  86959. visitForRule$1(_, node) {
  86960. return this.visitForRule$body$_EvaluateVisitor0(0, node);
  86961. },
  86962. visitForRule$body$_EvaluateVisitor0(_, node) {
  86963. var $async$goto = 0,
  86964. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value_2),
  86965. $async$returnValue, $async$self = this, t1, t2, t3, fromNumber, t4, toNumber, from, to, direction;
  86966. var $async$visitForRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  86967. if ($async$errorCode === 1)
  86968. return A._asyncRethrow($async$result, $async$completer);
  86969. while (true)
  86970. switch ($async$goto) {
  86971. case 0:
  86972. // Function start
  86973. t1 = {};
  86974. t2 = node.from;
  86975. t3 = type$.SassNumber_2;
  86976. $async$goto = 3;
  86977. return A._asyncAwait($async$self._async_evaluate0$_addExceptionSpanAsync$1$2(t2, new A._EvaluateVisitor_visitForRule_closure14($async$self, node), t3), $async$visitForRule$1);
  86978. case 3:
  86979. // returning from await.
  86980. fromNumber = $async$result;
  86981. t4 = node.to;
  86982. $async$goto = 4;
  86983. return A._asyncAwait($async$self._async_evaluate0$_addExceptionSpanAsync$1$2(t4, new A._EvaluateVisitor_visitForRule_closure15($async$self, node), t3), $async$visitForRule$1);
  86984. case 4:
  86985. // returning from await.
  86986. toNumber = $async$result;
  86987. from = $async$self._async_evaluate0$_addExceptionSpan$2(t2, new A._EvaluateVisitor_visitForRule_closure16(fromNumber));
  86988. to = t1.to = $async$self._async_evaluate0$_addExceptionSpan$2(t4, new A._EvaluateVisitor_visitForRule_closure17(toNumber, fromNumber));
  86989. direction = from > to ? -1 : 1;
  86990. if (from === (!node.isExclusive ? t1.to = to + direction : to)) {
  86991. $async$returnValue = null;
  86992. // goto return
  86993. $async$goto = 1;
  86994. break;
  86995. }
  86996. $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);
  86997. // goto return
  86998. $async$goto = 1;
  86999. break;
  87000. case 1:
  87001. // return
  87002. return A._asyncReturn($async$returnValue, $async$completer);
  87003. }
  87004. });
  87005. return A._asyncStartSync($async$visitForRule$1, $async$completer);
  87006. },
  87007. visitForwardRule$1(_, node) {
  87008. return this.visitForwardRule$body$_EvaluateVisitor0(0, node);
  87009. },
  87010. visitForwardRule$body$_EvaluateVisitor0(_, node) {
  87011. var $async$goto = 0,
  87012. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value_2),
  87013. $async$returnValue, $async$self = this, newConfiguration, t4, _i, variable, $name, oldConfiguration, adjustedConfiguration, t1, t2, t3;
  87014. var $async$visitForwardRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  87015. if ($async$errorCode === 1)
  87016. return A._asyncRethrow($async$result, $async$completer);
  87017. while (true)
  87018. switch ($async$goto) {
  87019. case 0:
  87020. // Function start
  87021. oldConfiguration = $async$self._async_evaluate0$_configuration;
  87022. adjustedConfiguration = oldConfiguration.throughForward$1(node);
  87023. t1 = node.configuration;
  87024. t2 = t1.length;
  87025. t3 = node.url;
  87026. $async$goto = t2 !== 0 ? 3 : 5;
  87027. break;
  87028. case 3:
  87029. // then
  87030. $async$goto = 6;
  87031. return A._asyncAwait($async$self._async_evaluate0$_addForwardConfiguration$2(adjustedConfiguration, node), $async$visitForwardRule$1);
  87032. case 6:
  87033. // returning from await.
  87034. newConfiguration = $async$result;
  87035. $async$goto = 7;
  87036. 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);
  87037. case 7:
  87038. // returning from await.
  87039. t3 = type$.String;
  87040. t4 = A.LinkedHashSet_LinkedHashSet$_empty(t3);
  87041. for (_i = 0; _i < t2; ++_i) {
  87042. variable = t1[_i];
  87043. if (!variable.isGuarded)
  87044. t4.add$1(0, variable.name);
  87045. }
  87046. $async$self._async_evaluate0$_removeUsedConfiguration$3$except(adjustedConfiguration, newConfiguration, t4);
  87047. t3 = A.LinkedHashSet_LinkedHashSet$_empty(t3);
  87048. for (_i = 0; _i < t2; ++_i)
  87049. t3.add$1(0, t1[_i].name);
  87050. for (t1 = newConfiguration._configuration0$_values, t2 = J.toList$0$ax(t1.get$keys(t1)), t4 = t2.length, _i = 0; _i < t2.length; t2.length === t4 || (0, A.throwConcurrentModificationError)(t2), ++_i) {
  87051. $name = t2[_i];
  87052. if (!t3.contains$1(0, $name))
  87053. if (!t1.get$isEmpty(t1))
  87054. t1.remove$1(0, $name);
  87055. }
  87056. $async$self._async_evaluate0$_assertConfigurationIsEmpty$1(newConfiguration);
  87057. // goto join
  87058. $async$goto = 4;
  87059. break;
  87060. case 5:
  87061. // else
  87062. $async$self._async_evaluate0$_configuration = adjustedConfiguration;
  87063. $async$goto = 8;
  87064. return A._asyncAwait($async$self._async_evaluate0$_loadModule$4(t3, "@forward", node, new A._EvaluateVisitor_visitForwardRule_closure6($async$self, node)), $async$visitForwardRule$1);
  87065. case 8:
  87066. // returning from await.
  87067. $async$self._async_evaluate0$_configuration = oldConfiguration;
  87068. case 4:
  87069. // join
  87070. $async$returnValue = null;
  87071. // goto return
  87072. $async$goto = 1;
  87073. break;
  87074. case 1:
  87075. // return
  87076. return A._asyncReturn($async$returnValue, $async$completer);
  87077. }
  87078. });
  87079. return A._asyncStartSync($async$visitForwardRule$1, $async$completer);
  87080. },
  87081. _async_evaluate0$_addForwardConfiguration$2(configuration, node) {
  87082. return this._addForwardConfiguration$body$_EvaluateVisitor0(configuration, node);
  87083. },
  87084. _addForwardConfiguration$body$_EvaluateVisitor0(configuration, node) {
  87085. var $async$goto = 0,
  87086. $async$completer = A._makeAsyncAwaitCompleter(type$.Configuration_2),
  87087. $async$returnValue, $async$self = this, t2, t3, t4, t5, _i, variable, t6, _0_0, t7, oldValue, variableNodeWithSpan, t1, newValues, $async$temp1, $async$temp2, $async$temp3;
  87088. var $async$_async_evaluate0$_addForwardConfiguration$2 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  87089. if ($async$errorCode === 1)
  87090. return A._asyncRethrow($async$result, $async$completer);
  87091. while (true)
  87092. switch ($async$goto) {
  87093. case 0:
  87094. // Function start
  87095. t1 = configuration._configuration0$_values;
  87096. newValues = A.LinkedHashMap_LinkedHashMap$of(new A.UnmodifiableMapView(t1, type$.UnmodifiableMapView_String_ConfiguredValue_2), type$.String, type$.ConfiguredValue_2);
  87097. t2 = node.configuration, t3 = t2.length, t4 = type$._Future_Value_2, t5 = type$.Future_Value_2, _i = 0;
  87098. case 3:
  87099. // for condition
  87100. if (!(_i < t3)) {
  87101. // goto after for
  87102. $async$goto = 5;
  87103. break;
  87104. }
  87105. variable = t2[_i];
  87106. if (variable.isGuarded) {
  87107. t6 = variable.name;
  87108. _0_0 = t1.get$isEmpty(t1) ? null : t1.remove$1(0, t6);
  87109. if (_0_0 != null) {
  87110. t7 = !_0_0.value.$eq(0, B.C__SassNull0);
  87111. oldValue = _0_0;
  87112. } else {
  87113. oldValue = null;
  87114. t7 = false;
  87115. }
  87116. if (t7) {
  87117. newValues.$indexSet(0, t6, oldValue);
  87118. // goto for update
  87119. $async$goto = 4;
  87120. break;
  87121. }
  87122. }
  87123. t6 = variable.expression;
  87124. variableNodeWithSpan = $async$self._async_evaluate0$_expressionNode$1(t6);
  87125. t6 = t6.accept$1($async$self);
  87126. if (!t5._is(t6)) {
  87127. t7 = new A._Future($.Zone__current, t4);
  87128. t7._state = 8;
  87129. t7._resultOrListeners = t6;
  87130. t6 = t7;
  87131. }
  87132. $async$temp1 = newValues;
  87133. $async$temp2 = variable.name;
  87134. $async$temp3 = A;
  87135. $async$goto = 6;
  87136. return A._asyncAwait(t6, $async$_async_evaluate0$_addForwardConfiguration$2);
  87137. case 6:
  87138. // returning from await.
  87139. $async$temp1.$indexSet(0, $async$temp2, new $async$temp3.ConfiguredValue0($async$self._async_evaluate0$_withoutSlash$2($async$result, variableNodeWithSpan), variable.span, variableNodeWithSpan));
  87140. case 4:
  87141. // for update
  87142. ++_i;
  87143. // goto for condition
  87144. $async$goto = 3;
  87145. break;
  87146. case 5:
  87147. // after for
  87148. if (configuration instanceof A.ExplicitConfiguration0 || t1.get$isEmpty(t1)) {
  87149. $async$returnValue = new A.ExplicitConfiguration0(node, newValues, null);
  87150. // goto return
  87151. $async$goto = 1;
  87152. break;
  87153. } else {
  87154. $async$returnValue = new A.Configuration0(newValues, null);
  87155. // goto return
  87156. $async$goto = 1;
  87157. break;
  87158. }
  87159. case 1:
  87160. // return
  87161. return A._asyncReturn($async$returnValue, $async$completer);
  87162. }
  87163. });
  87164. return A._asyncStartSync($async$_async_evaluate0$_addForwardConfiguration$2, $async$completer);
  87165. },
  87166. _async_evaluate0$_registerCommentsForModule$1(module) {
  87167. var _this = this, _s5_ = "_root",
  87168. t1 = _this._async_evaluate0$__root;
  87169. if (t1 == null)
  87170. return;
  87171. if (_this._async_evaluate0$_assertInModule$2(t1, _s5_).children.get$length(0) === 0 || !module.get$transitivelyContainsCss())
  87172. return;
  87173. t1 = _this._async_evaluate0$_preModuleComments;
  87174. if (t1 == null)
  87175. t1 = _this._async_evaluate0$_preModuleComments = A.LinkedHashMap_LinkedHashMap$_empty(type$.Module_AsyncCallable_2, type$.List_CssComment_2);
  87176. J.addAll$1$ax(t1.putIfAbsent$2(module, new A._EvaluateVisitor__registerCommentsForModule_closure2()), new A.UnmodifiableListView(J.cast$1$0$ax(_this._async_evaluate0$_assertInModule$2(_this._async_evaluate0$__root, _s5_).children._collection$_source, type$.CssComment_2), type$.UnmodifiableListView_CssComment_2));
  87177. _this._async_evaluate0$_assertInModule$2(_this._async_evaluate0$__root, _s5_).clearChildren$0();
  87178. _this._async_evaluate0$__endOfImports = 0;
  87179. },
  87180. _async_evaluate0$_removeUsedConfiguration$3$except(upstream, downstream, except) {
  87181. var t1, t2, t3, t4, _i, $name;
  87182. for (t1 = upstream._configuration0$_values, t2 = J.toList$0$ax(t1.get$keys(t1)), t3 = t2.length, t4 = downstream._configuration0$_values, _i = 0; _i < t2.length; t2.length === t3 || (0, A.throwConcurrentModificationError)(t2), ++_i) {
  87183. $name = t2[_i];
  87184. if (except.contains$1(0, $name))
  87185. continue;
  87186. if (!t4.containsKey$1($name))
  87187. if (!t1.get$isEmpty(t1))
  87188. t1.remove$1(0, $name);
  87189. }
  87190. },
  87191. _async_evaluate0$_assertConfigurationIsEmpty$2$nameInError(configuration, nameInError) {
  87192. var t1, _0_0, $name, value;
  87193. if (!(configuration instanceof A.ExplicitConfiguration0))
  87194. return;
  87195. t1 = configuration._configuration0$_values;
  87196. if (t1.get$isEmpty(t1))
  87197. return;
  87198. t1 = A.MapExtensions_get_pairs0(new A.UnmodifiableMapView(t1, type$.UnmodifiableMapView_String_ConfiguredValue_2), type$.String, type$.ConfiguredValue_2);
  87199. _0_0 = t1.get$first(t1);
  87200. $name = _0_0._0;
  87201. value = _0_0._1;
  87202. t1 = nameInError ? "$" + $name + string$.x20was_n : string$.This_v;
  87203. throw A.wrapException(this._async_evaluate0$_exception$2(t1, value.configurationSpan));
  87204. },
  87205. _async_evaluate0$_assertConfigurationIsEmpty$1(configuration) {
  87206. return this._async_evaluate0$_assertConfigurationIsEmpty$2$nameInError(configuration, false);
  87207. },
  87208. visitFunctionRule$1(_, node) {
  87209. return this.visitFunctionRule$body$_EvaluateVisitor0(0, node);
  87210. },
  87211. visitFunctionRule$body$_EvaluateVisitor0(_, node) {
  87212. var $async$goto = 0,
  87213. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value_2),
  87214. $async$returnValue, $async$self = this, t1, t2, t3, t4, index, t5;
  87215. var $async$visitFunctionRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  87216. if ($async$errorCode === 1)
  87217. return A._asyncRethrow($async$result, $async$completer);
  87218. while (true)
  87219. switch ($async$goto) {
  87220. case 0:
  87221. // Function start
  87222. t1 = $async$self._async_evaluate0$_environment;
  87223. t2 = t1.closure$0();
  87224. t3 = $async$self._async_evaluate0$_inDependency;
  87225. t4 = t1._async_environment0$_functions;
  87226. index = t4.length - 1;
  87227. t5 = node.name;
  87228. t1._async_environment0$_functionIndices.$indexSet(0, t5, index);
  87229. t4[index].$indexSet(0, t5, new A.UserDefinedCallable0(node, t2, t3, type$.UserDefinedCallable_AsyncEnvironment_2));
  87230. $async$returnValue = null;
  87231. // goto return
  87232. $async$goto = 1;
  87233. break;
  87234. case 1:
  87235. // return
  87236. return A._asyncReturn($async$returnValue, $async$completer);
  87237. }
  87238. });
  87239. return A._asyncStartSync($async$visitFunctionRule$1, $async$completer);
  87240. },
  87241. visitIfRule$1(_, node) {
  87242. return this.visitIfRule$body$_EvaluateVisitor0(0, node);
  87243. },
  87244. visitIfRule$body$_EvaluateVisitor0(_, node) {
  87245. var $async$goto = 0,
  87246. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value_2),
  87247. $async$returnValue, $async$self = this, t1, t2, _i, clauseToCheck, clause;
  87248. var $async$visitIfRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  87249. if ($async$errorCode === 1)
  87250. return A._asyncRethrow($async$result, $async$completer);
  87251. while (true)
  87252. switch ($async$goto) {
  87253. case 0:
  87254. // Function start
  87255. clause = node.lastClause;
  87256. t1 = node.clauses, t2 = t1.length, _i = 0;
  87257. case 3:
  87258. // for condition
  87259. if (!(_i < t2)) {
  87260. // goto after for
  87261. $async$goto = 5;
  87262. break;
  87263. }
  87264. clauseToCheck = t1[_i];
  87265. $async$goto = 6;
  87266. return A._asyncAwait(clauseToCheck.expression.accept$1($async$self), $async$visitIfRule$1);
  87267. case 6:
  87268. // returning from await.
  87269. if ($async$result.get$isTruthy()) {
  87270. clause = clauseToCheck;
  87271. // goto after for
  87272. $async$goto = 5;
  87273. break;
  87274. }
  87275. case 4:
  87276. // for update
  87277. ++_i;
  87278. // goto for condition
  87279. $async$goto = 3;
  87280. break;
  87281. case 5:
  87282. // after for
  87283. t1 = A.NullableExtension_andThen0(clause, new A._EvaluateVisitor_visitIfRule_closure2($async$self));
  87284. $async$goto = 7;
  87285. return A._asyncAwait(type$.Future_nullable_Value_2._is(t1) ? t1 : A._Future$value(t1, type$.nullable_Value_2), $async$visitIfRule$1);
  87286. case 7:
  87287. // returning from await.
  87288. $async$returnValue = $async$result;
  87289. // goto return
  87290. $async$goto = 1;
  87291. break;
  87292. case 1:
  87293. // return
  87294. return A._asyncReturn($async$returnValue, $async$completer);
  87295. }
  87296. });
  87297. return A._asyncStartSync($async$visitIfRule$1, $async$completer);
  87298. },
  87299. visitImportRule$1(_, node) {
  87300. return this.visitImportRule$body$_EvaluateVisitor0(0, node);
  87301. },
  87302. visitImportRule$body$_EvaluateVisitor0(_, node) {
  87303. var $async$goto = 0,
  87304. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value_2),
  87305. $async$returnValue, $async$self = this, t1, t2, t3, _i, $import;
  87306. var $async$visitImportRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  87307. if ($async$errorCode === 1)
  87308. return A._asyncRethrow($async$result, $async$completer);
  87309. while (true)
  87310. switch ($async$goto) {
  87311. case 0:
  87312. // Function start
  87313. t1 = node.imports, t2 = t1.length, t3 = type$.StaticImport_2, _i = 0;
  87314. case 3:
  87315. // for condition
  87316. if (!(_i < t2)) {
  87317. // goto after for
  87318. $async$goto = 5;
  87319. break;
  87320. }
  87321. $import = t1[_i];
  87322. $async$goto = $import instanceof A.DynamicImport0 ? 6 : 8;
  87323. break;
  87324. case 6:
  87325. // then
  87326. $async$goto = 9;
  87327. return A._asyncAwait($async$self._async_evaluate0$_visitDynamicImport$1($import), $async$visitImportRule$1);
  87328. case 9:
  87329. // returning from await.
  87330. // goto join
  87331. $async$goto = 7;
  87332. break;
  87333. case 8:
  87334. // else
  87335. $async$goto = 10;
  87336. return A._asyncAwait($async$self._async_evaluate0$_visitStaticImport$1(t3._as($import)), $async$visitImportRule$1);
  87337. case 10:
  87338. // returning from await.
  87339. case 7:
  87340. // join
  87341. case 4:
  87342. // for update
  87343. ++_i;
  87344. // goto for condition
  87345. $async$goto = 3;
  87346. break;
  87347. case 5:
  87348. // after for
  87349. $async$returnValue = null;
  87350. // goto return
  87351. $async$goto = 1;
  87352. break;
  87353. case 1:
  87354. // return
  87355. return A._asyncReturn($async$returnValue, $async$completer);
  87356. }
  87357. });
  87358. return A._asyncStartSync($async$visitImportRule$1, $async$completer);
  87359. },
  87360. _async_evaluate0$_visitDynamicImport$1($import) {
  87361. return this._async_evaluate0$_withStackFrame$1$3("@import", $import, new A._EvaluateVisitor__visitDynamicImport_closure2(this, $import), type$.void);
  87362. },
  87363. _async_evaluate0$_loadStylesheet$4$baseUrl$forImport(url, span, baseUrl, forImport) {
  87364. return this._loadStylesheet$body$_EvaluateVisitor0(url, span, baseUrl, forImport);
  87365. },
  87366. _async_evaluate0$_loadStylesheet$3$baseUrl(url, span, baseUrl) {
  87367. return this._async_evaluate0$_loadStylesheet$4$baseUrl$forImport(url, span, baseUrl, false);
  87368. },
  87369. _async_evaluate0$_loadStylesheet$3$forImport(url, span, forImport) {
  87370. return this._async_evaluate0$_loadStylesheet$4$baseUrl$forImport(url, span, null, forImport);
  87371. },
  87372. _loadStylesheet$body$_EvaluateVisitor0(url, span, baseUrl, forImport) {
  87373. var $async$goto = 0,
  87374. $async$completer = A._makeAsyncAwaitCompleter(type$.Record_3_Stylesheet_and_nullable_AsyncImporter_importer_and_bool_isDependency_2),
  87375. $async$returnValue, $async$handler = 2, $async$errorStack = [], $async$next = [], $async$self = this, _0_0, importCache, _1_0, importer, canonicalUrl, originalUrl, isDependency, _2_0, stylesheet, _3_0, result, error, stackTrace, error0, stackTrace0, t1, t2, exception, $async$exception;
  87376. var $async$_async_evaluate0$_loadStylesheet$4$baseUrl$forImport = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  87377. if ($async$errorCode === 1) {
  87378. $async$errorStack.push($async$result);
  87379. $async$goto = $async$handler;
  87380. }
  87381. while (true)
  87382. switch ($async$goto) {
  87383. case 0:
  87384. // Function start
  87385. baseUrl = baseUrl;
  87386. $async$handler = 4;
  87387. $async$self._async_evaluate0$_importSpan = span;
  87388. _0_0 = $async$self._async_evaluate0$_importCache;
  87389. importCache = null;
  87390. $async$goto = _0_0 != null ? 7 : 8;
  87391. break;
  87392. case 7:
  87393. // then
  87394. importCache = _0_0;
  87395. if (baseUrl == null)
  87396. baseUrl = $async$self._async_evaluate0$_assertInModule$2($async$self._async_evaluate0$__stylesheet, "_stylesheet").span.file.url;
  87397. $async$goto = 9;
  87398. 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);
  87399. case 9:
  87400. // returning from await.
  87401. _1_0 = $async$result;
  87402. importer = null;
  87403. canonicalUrl = null;
  87404. originalUrl = null;
  87405. $async$goto = type$.Record_3_nullable_Object_and_nullable_Object_and_nullable_Object_originalUrl._is(_1_0) ? 10 : 11;
  87406. break;
  87407. case 10:
  87408. // then
  87409. importer = _1_0._0;
  87410. canonicalUrl = _1_0._1;
  87411. originalUrl = _1_0._2;
  87412. if (canonicalUrl.get$scheme() === "")
  87413. A.WarnForDeprecation_warnForDeprecation0($async$self._async_evaluate0$_logger, B.Deprecation_Ord, "Importer " + A.S(importer) + " canonicalized " + url + " to " + A.S(canonicalUrl) + string$.x2e_Rela, null, null);
  87414. $async$self._async_evaluate0$_loadedUrls.add$1(0, canonicalUrl);
  87415. isDependency = $async$self._async_evaluate0$_inDependency || !J.$eq$(importer, $async$self._async_evaluate0$_importer);
  87416. $async$goto = 12;
  87417. return A._asyncAwait(importCache.importCanonical$3$originalUrl(importer, canonicalUrl, originalUrl), $async$_async_evaluate0$_loadStylesheet$4$baseUrl$forImport);
  87418. case 12:
  87419. // returning from await.
  87420. _2_0 = $async$result;
  87421. stylesheet = null;
  87422. if (_2_0 != null) {
  87423. stylesheet = _2_0;
  87424. t1 = stylesheet;
  87425. t2 = importer;
  87426. $async$returnValue = new A._Record_3_importer_isDependency(t1, t2, isDependency);
  87427. $async$next = [1];
  87428. // goto finally
  87429. $async$goto = 5;
  87430. break;
  87431. }
  87432. case 11:
  87433. // join
  87434. case 8:
  87435. // join
  87436. $async$goto = $async$self._async_evaluate0$_nodeImporter != null ? 13 : 14;
  87437. break;
  87438. case 13:
  87439. // then
  87440. t1 = baseUrl;
  87441. $async$goto = 15;
  87442. 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);
  87443. case 15:
  87444. // returning from await.
  87445. _3_0 = $async$result;
  87446. result = null;
  87447. if (_3_0 != null) {
  87448. result = _3_0;
  87449. t1 = $async$self._async_evaluate0$_loadedUrls;
  87450. A.NullableExtension_andThen0(result._0.span.file.url, t1.get$add(t1));
  87451. t1 = result;
  87452. $async$returnValue = t1;
  87453. $async$next = [1];
  87454. // goto finally
  87455. $async$goto = 5;
  87456. break;
  87457. }
  87458. case 14:
  87459. // join
  87460. t1 = B.JSString_methods.startsWith$1(url, "package:");
  87461. if (t1)
  87462. throw A.wrapException(string$.x22packa);
  87463. else
  87464. throw A.wrapException("Can't find stylesheet to import.");
  87465. $async$next.push(6);
  87466. // goto finally
  87467. $async$goto = 5;
  87468. break;
  87469. case 4:
  87470. // catch
  87471. $async$handler = 3;
  87472. $async$exception = $async$errorStack.pop();
  87473. t1 = A.unwrapException($async$exception);
  87474. if (t1 instanceof A.SassException0)
  87475. throw $async$exception;
  87476. else if (t1 instanceof A.ArgumentError) {
  87477. error = t1;
  87478. stackTrace = A.getTraceFromException($async$exception);
  87479. A.throwWithTrace0($async$self._async_evaluate0$_exception$1(J.toString$0$(error)), error, stackTrace);
  87480. } else {
  87481. error0 = t1;
  87482. stackTrace0 = A.getTraceFromException($async$exception);
  87483. A.throwWithTrace0($async$self._async_evaluate0$_exception$1($async$self._async_evaluate0$_getErrorMessage$1(error0)), error0, stackTrace0);
  87484. }
  87485. $async$next.push(6);
  87486. // goto finally
  87487. $async$goto = 5;
  87488. break;
  87489. case 3:
  87490. // uncaught
  87491. $async$next = [2];
  87492. case 5:
  87493. // finally
  87494. $async$handler = 2;
  87495. $async$self._async_evaluate0$_importSpan = null;
  87496. // goto the next finally handler
  87497. $async$goto = $async$next.pop();
  87498. break;
  87499. case 6:
  87500. // after finally
  87501. case 1:
  87502. // return
  87503. return A._asyncReturn($async$returnValue, $async$completer);
  87504. case 2:
  87505. // rethrow
  87506. return A._asyncRethrow($async$errorStack.at(-1), $async$completer);
  87507. }
  87508. });
  87509. return A._asyncStartSync($async$_async_evaluate0$_loadStylesheet$4$baseUrl$forImport, $async$completer);
  87510. },
  87511. _async_evaluate0$_importLikeNode$3(originalUrl, previous, forImport) {
  87512. return this._importLikeNode$body$_EvaluateVisitor(originalUrl, previous, forImport);
  87513. },
  87514. _importLikeNode$body$_EvaluateVisitor(originalUrl, previous, forImport) {
  87515. var $async$goto = 0,
  87516. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Record_3_Stylesheet_and_nullable_AsyncImporter_importer_and_bool_isDependency),
  87517. $async$returnValue, $async$self = this, isDependency, url, t1, result;
  87518. var $async$_async_evaluate0$_importLikeNode$3 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  87519. if ($async$errorCode === 1)
  87520. return A._asyncRethrow($async$result, $async$completer);
  87521. while (true)
  87522. switch ($async$goto) {
  87523. case 0:
  87524. // Function start
  87525. t1 = $async$self._async_evaluate0$_nodeImporter;
  87526. result = t1.loadRelative$3(originalUrl, previous, forImport);
  87527. $async$goto = result != null ? 3 : 5;
  87528. break;
  87529. case 3:
  87530. // then
  87531. isDependency = $async$self._async_evaluate0$_inDependency;
  87532. // goto join
  87533. $async$goto = 4;
  87534. break;
  87535. case 5:
  87536. // else
  87537. $async$goto = 6;
  87538. return A._asyncAwait(t1.loadAsync$3(originalUrl, previous, forImport), $async$_async_evaluate0$_importLikeNode$3);
  87539. case 6:
  87540. // returning from await.
  87541. result = $async$result;
  87542. if (result == null) {
  87543. $async$returnValue = null;
  87544. // goto return
  87545. $async$goto = 1;
  87546. break;
  87547. }
  87548. isDependency = true;
  87549. case 4:
  87550. // join
  87551. url = result._1;
  87552. t1 = B.JSString_methods.startsWith$1(url, "file") ? A.Syntax_forPath0(url) : B.Syntax_SCSS_scss0;
  87553. $async$returnValue = new A._Record_3_importer_isDependency(A.Stylesheet_Stylesheet$parse0(result._0, t1, url), null, isDependency);
  87554. // goto return
  87555. $async$goto = 1;
  87556. break;
  87557. case 1:
  87558. // return
  87559. return A._asyncReturn($async$returnValue, $async$completer);
  87560. }
  87561. });
  87562. return A._asyncStartSync($async$_async_evaluate0$_importLikeNode$3, $async$completer);
  87563. },
  87564. _async_evaluate0$_visitStaticImport$1($import) {
  87565. return this._visitStaticImport$body$_EvaluateVisitor0($import);
  87566. },
  87567. _visitStaticImport$body$_EvaluateVisitor0($import) {
  87568. var $async$goto = 0,
  87569. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  87570. $async$self = this, t1, t2, node, $async$temp1, $async$temp2;
  87571. var $async$_async_evaluate0$_visitStaticImport$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  87572. if ($async$errorCode === 1)
  87573. return A._asyncRethrow($async$result, $async$completer);
  87574. while (true)
  87575. switch ($async$goto) {
  87576. case 0:
  87577. // Function start
  87578. $async$goto = 2;
  87579. return A._asyncAwait($async$self._async_evaluate0$_interpolationToValue$1($import.url), $async$_async_evaluate0$_visitStaticImport$1);
  87580. case 2:
  87581. // returning from await.
  87582. t1 = $async$result;
  87583. t2 = A.NullableExtension_andThen0($import.modifiers, $async$self.get$_async_evaluate0$_interpolationToValue());
  87584. $async$temp1 = A;
  87585. $async$temp2 = t1;
  87586. $async$goto = 3;
  87587. return A._asyncAwait(type$.Future_nullable_CssValue_String_2._is(t2) ? t2 : A._Future$value(t2, type$.nullable_CssValue_String_2), $async$_async_evaluate0$_visitStaticImport$1);
  87588. case 3:
  87589. // returning from await.
  87590. node = new $async$temp1.ModifiableCssImport0($async$temp2, $async$result, $import.span);
  87591. 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"))
  87592. $async$self._async_evaluate0$_assertInModule$2($async$self._async_evaluate0$__parent, "__parent").addChild$1(node);
  87593. 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)) {
  87594. $async$self._async_evaluate0$_assertInModule$2($async$self._async_evaluate0$__root, "_root").addChild$1(node);
  87595. $async$self._async_evaluate0$__endOfImports = $async$self._async_evaluate0$_assertInModule$2($async$self._async_evaluate0$__endOfImports, "_endOfImports") + 1;
  87596. } else {
  87597. t1 = $async$self._async_evaluate0$_outOfOrderImports;
  87598. (t1 == null ? $async$self._async_evaluate0$_outOfOrderImports = A._setArrayType([], type$.JSArray_ModifiableCssImport_2) : t1).push(node);
  87599. }
  87600. // implicit return
  87601. return A._asyncReturn(null, $async$completer);
  87602. }
  87603. });
  87604. return A._asyncStartSync($async$_async_evaluate0$_visitStaticImport$1, $async$completer);
  87605. },
  87606. _async_evaluate0$_applyMixin$5(mixin, contentCallable, $arguments, nodeWithSpan, nodeWithSpanWithoutContent) {
  87607. return this._applyMixin$body$_EvaluateVisitor0(mixin, contentCallable, $arguments, nodeWithSpan, nodeWithSpanWithoutContent);
  87608. },
  87609. _applyMixin$body$_EvaluateVisitor0(mixin, contentCallable, $arguments, nodeWithSpan, nodeWithSpanWithoutContent) {
  87610. var $async$goto = 0,
  87611. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  87612. $async$self = this, t1, _0_0, t2, _1_8, t3;
  87613. var $async$_async_evaluate0$_applyMixin$5 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  87614. if ($async$errorCode === 1)
  87615. return A._asyncRethrow($async$result, $async$completer);
  87616. while (true)
  87617. switch ($async$goto) {
  87618. case 0:
  87619. // Function start
  87620. if (mixin == null)
  87621. throw A.wrapException($async$self._async_evaluate0$_exception$2("Undefined mixin.", nodeWithSpan.get$span(nodeWithSpan)));
  87622. t1 = type$.AsyncBuiltInCallable_2._is(mixin);
  87623. $async$goto = t1 && !mixin.get$acceptsContent() && contentCallable != null ? 3 : 4;
  87624. break;
  87625. case 3:
  87626. // then
  87627. $async$goto = 5;
  87628. return A._asyncAwait($async$self._async_evaluate0$_evaluateArguments$1($arguments), $async$_async_evaluate0$_applyMixin$5);
  87629. case 5:
  87630. // returning from await.
  87631. t1 = $async$result._values;
  87632. _0_0 = mixin.callbackFor$2(J.get$length$asx(t1[2]), new A.MapKeySet(t1[0], type$.MapKeySet_String));
  87633. throw A.wrapException(A.MultiSpanSassRuntimeException$0("Mixin doesn't accept a content block.", nodeWithSpanWithoutContent.get$span(nodeWithSpanWithoutContent), "invocation", A.LinkedHashMap_LinkedHashMap$_literal([_0_0._0.get$spanWithName(), "declaration"], type$.FileSpan, type$.String), $async$self._async_evaluate0$_stackTrace$1(nodeWithSpanWithoutContent.get$span(nodeWithSpanWithoutContent)), null));
  87634. case 4:
  87635. // join
  87636. $async$goto = t1 ? 6 : 7;
  87637. break;
  87638. case 6:
  87639. // then
  87640. $async$goto = 8;
  87641. return A._asyncAwait($async$self._async_evaluate0$_environment.withContent$2(contentCallable, new A._EvaluateVisitor__applyMixin_closure5($async$self, $arguments, mixin, nodeWithSpanWithoutContent)), $async$_async_evaluate0$_applyMixin$5);
  87642. case 8:
  87643. // returning from await.
  87644. // goto break $label0$0
  87645. $async$goto = 2;
  87646. break;
  87647. case 7:
  87648. // join
  87649. t1 = type$.UserDefinedCallable_AsyncEnvironment_2._is(mixin);
  87650. t2 = false;
  87651. if (t1) {
  87652. _1_8 = mixin.declaration;
  87653. t3 = _1_8;
  87654. if (t3 instanceof A.MixinRule0)
  87655. t2 = !type$.MixinRule_2._as(_1_8).get$hasContent() && contentCallable != null;
  87656. }
  87657. if (t2)
  87658. throw A.wrapException(A.MultiSpanSassRuntimeException$0("Mixin doesn't accept a content block.", nodeWithSpanWithoutContent.get$span(nodeWithSpanWithoutContent), "invocation", A.LinkedHashMap_LinkedHashMap$_literal([mixin.declaration.parameters.get$spanWithName(), "declaration"], type$.FileSpan, type$.String), $async$self._async_evaluate0$_stackTrace$1(nodeWithSpanWithoutContent.get$span(nodeWithSpanWithoutContent)), null));
  87659. $async$goto = t1 ? 9 : 10;
  87660. break;
  87661. case 9:
  87662. // then
  87663. $async$goto = 11;
  87664. return A._asyncAwait($async$self._async_evaluate0$_runUserDefinedCallable$1$4($arguments, mixin, nodeWithSpanWithoutContent, new A._EvaluateVisitor__applyMixin_closure6($async$self, contentCallable, mixin, nodeWithSpanWithoutContent), type$.Null), $async$_async_evaluate0$_applyMixin$5);
  87665. case 11:
  87666. // returning from await.
  87667. // goto break $label0$0
  87668. $async$goto = 2;
  87669. break;
  87670. case 10:
  87671. // join
  87672. throw A.wrapException(A.UnsupportedError$("Unknown callable type " + mixin.toString$0(0) + "."));
  87673. case 2:
  87674. // break $label0$0
  87675. // implicit return
  87676. return A._asyncReturn(null, $async$completer);
  87677. }
  87678. });
  87679. return A._asyncStartSync($async$_async_evaluate0$_applyMixin$5, $async$completer);
  87680. },
  87681. visitIncludeRule$1(_, node) {
  87682. return this.visitIncludeRule$body$_EvaluateVisitor0(0, node);
  87683. },
  87684. visitIncludeRule$body$_EvaluateVisitor0(_, node) {
  87685. var $async$goto = 0,
  87686. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value_2),
  87687. $async$returnValue, $async$self = this, mixin;
  87688. var $async$visitIncludeRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  87689. if ($async$errorCode === 1)
  87690. return A._asyncRethrow($async$result, $async$completer);
  87691. while (true)
  87692. switch ($async$goto) {
  87693. case 0:
  87694. // Function start
  87695. mixin = $async$self._async_evaluate0$_addExceptionSpan$2(node, new A._EvaluateVisitor_visitIncludeRule_closure8($async$self, node));
  87696. if (B.JSString_methods.startsWith$1(node.originalName, "--") && mixin instanceof A.UserDefinedCallable0 && !B.JSString_methods.startsWith$1(mixin.declaration.originalName, "--"))
  87697. $async$self._async_evaluate0$_warn$3(string$.Sassx20_m, node.get$nameSpan(), B.Deprecation_d4j);
  87698. $async$goto = 3;
  87699. return A._asyncAwait($async$self._async_evaluate0$_applyMixin$5(mixin, A.NullableExtension_andThen0(node.content, new A._EvaluateVisitor_visitIncludeRule_closure9($async$self)), node.$arguments, node, new A._FakeAstNode0(new A._EvaluateVisitor_visitIncludeRule_closure10(node))), $async$visitIncludeRule$1);
  87700. case 3:
  87701. // returning from await.
  87702. $async$returnValue = null;
  87703. // goto return
  87704. $async$goto = 1;
  87705. break;
  87706. case 1:
  87707. // return
  87708. return A._asyncReturn($async$returnValue, $async$completer);
  87709. }
  87710. });
  87711. return A._asyncStartSync($async$visitIncludeRule$1, $async$completer);
  87712. },
  87713. visitMixinRule$1(_, node) {
  87714. return this.visitMixinRule$body$_EvaluateVisitor0(0, node);
  87715. },
  87716. visitMixinRule$body$_EvaluateVisitor0(_, node) {
  87717. var $async$goto = 0,
  87718. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value_2),
  87719. $async$returnValue, $async$self = this, t1, t2, t3, t4, index, t5;
  87720. var $async$visitMixinRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  87721. if ($async$errorCode === 1)
  87722. return A._asyncRethrow($async$result, $async$completer);
  87723. while (true)
  87724. switch ($async$goto) {
  87725. case 0:
  87726. // Function start
  87727. t1 = $async$self._async_evaluate0$_environment;
  87728. t2 = t1.closure$0();
  87729. t3 = $async$self._async_evaluate0$_inDependency;
  87730. t4 = t1._async_environment0$_mixins;
  87731. index = t4.length - 1;
  87732. t5 = node.name;
  87733. t1._async_environment0$_mixinIndices.$indexSet(0, t5, index);
  87734. t4[index].$indexSet(0, t5, new A.UserDefinedCallable0(node, t2, t3, type$.UserDefinedCallable_AsyncEnvironment_2));
  87735. $async$returnValue = null;
  87736. // goto return
  87737. $async$goto = 1;
  87738. break;
  87739. case 1:
  87740. // return
  87741. return A._asyncReturn($async$returnValue, $async$completer);
  87742. }
  87743. });
  87744. return A._asyncStartSync($async$visitMixinRule$1, $async$completer);
  87745. },
  87746. visitLoudComment$1(_, node) {
  87747. return this.visitLoudComment$body$_EvaluateVisitor0(0, node);
  87748. },
  87749. visitLoudComment$body$_EvaluateVisitor0(_, node) {
  87750. var $async$goto = 0,
  87751. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value_2),
  87752. $async$returnValue, $async$self = this, t1, text;
  87753. var $async$visitLoudComment$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  87754. if ($async$errorCode === 1)
  87755. return A._asyncRethrow($async$result, $async$completer);
  87756. while (true)
  87757. switch ($async$goto) {
  87758. case 0:
  87759. // Function start
  87760. if ($async$self._async_evaluate0$_inFunction) {
  87761. $async$returnValue = null;
  87762. // goto return
  87763. $async$goto = 1;
  87764. break;
  87765. }
  87766. 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))
  87767. $async$self._async_evaluate0$__endOfImports = $async$self._async_evaluate0$_assertInModule$2($async$self._async_evaluate0$__endOfImports, "_endOfImports") + 1;
  87768. t1 = node.text;
  87769. $async$goto = 3;
  87770. return A._asyncAwait($async$self._async_evaluate0$_performInterpolation$1(t1), $async$visitLoudComment$1);
  87771. case 3:
  87772. // returning from await.
  87773. text = $async$result;
  87774. if (!B.JSString_methods.endsWith$1(text, "*/"))
  87775. text += " */";
  87776. $async$self._async_evaluate0$_assertInModule$2($async$self._async_evaluate0$__parent, "__parent").addChild$1(new A.ModifiableCssComment0(text, t1.span));
  87777. $async$returnValue = null;
  87778. // goto return
  87779. $async$goto = 1;
  87780. break;
  87781. case 1:
  87782. // return
  87783. return A._asyncReturn($async$returnValue, $async$completer);
  87784. }
  87785. });
  87786. return A._asyncStartSync($async$visitLoudComment$1, $async$completer);
  87787. },
  87788. visitMediaRule$1(_, node) {
  87789. return this.visitMediaRule$body$_EvaluateVisitor0(0, node);
  87790. },
  87791. visitMediaRule$body$_EvaluateVisitor0(_, node) {
  87792. var $async$goto = 0,
  87793. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value_2),
  87794. $async$returnValue, $async$self = this, queries, mergedQueries, t1, mergedSources, t2, t3;
  87795. var $async$visitMediaRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  87796. if ($async$errorCode === 1)
  87797. return A._asyncRethrow($async$result, $async$completer);
  87798. while (true)
  87799. switch ($async$goto) {
  87800. case 0:
  87801. // Function start
  87802. if ($async$self._async_evaluate0$_declarationName != null)
  87803. throw A.wrapException($async$self._async_evaluate0$_exception$2(string$.Media_, node.span));
  87804. $async$goto = 3;
  87805. return A._asyncAwait($async$self._async_evaluate0$_visitMediaQueries$1(node.query), $async$visitMediaRule$1);
  87806. case 3:
  87807. // returning from await.
  87808. queries = $async$result;
  87809. mergedQueries = A.NullableExtension_andThen0($async$self._async_evaluate0$_mediaQueries, new A._EvaluateVisitor_visitMediaRule_closure8($async$self, queries));
  87810. t1 = mergedQueries == null;
  87811. if (!t1 && J.get$isEmpty$asx(mergedQueries)) {
  87812. $async$returnValue = null;
  87813. // goto return
  87814. $async$goto = 1;
  87815. break;
  87816. }
  87817. if (t1)
  87818. mergedSources = B.Set_empty5;
  87819. else {
  87820. t2 = $async$self._async_evaluate0$_mediaQuerySources;
  87821. t2.toString;
  87822. t2 = A.LinkedHashSet_LinkedHashSet$of(t2, type$.CssMediaQuery_2);
  87823. t3 = $async$self._async_evaluate0$_mediaQueries;
  87824. t3.toString;
  87825. t2.addAll$1(0, t3);
  87826. t2.addAll$1(0, queries);
  87827. mergedSources = t2;
  87828. }
  87829. t1 = t1 ? queries : mergedQueries;
  87830. $async$goto = 4;
  87831. 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);
  87832. case 4:
  87833. // returning from await.
  87834. $async$returnValue = null;
  87835. // goto return
  87836. $async$goto = 1;
  87837. break;
  87838. case 1:
  87839. // return
  87840. return A._asyncReturn($async$returnValue, $async$completer);
  87841. }
  87842. });
  87843. return A._asyncStartSync($async$visitMediaRule$1, $async$completer);
  87844. },
  87845. _async_evaluate0$_visitMediaQueries$1(interpolation) {
  87846. return this._visitMediaQueries$body$_EvaluateVisitor0(interpolation);
  87847. },
  87848. _visitMediaQueries$body$_EvaluateVisitor0(interpolation) {
  87849. var $async$goto = 0,
  87850. $async$completer = A._makeAsyncAwaitCompleter(type$.List_CssMediaQuery_2),
  87851. $async$returnValue, $async$self = this, _0_0, resolved, map;
  87852. var $async$_async_evaluate0$_visitMediaQueries$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  87853. if ($async$errorCode === 1)
  87854. return A._asyncRethrow($async$result, $async$completer);
  87855. while (true)
  87856. switch ($async$goto) {
  87857. case 0:
  87858. // Function start
  87859. $async$goto = 3;
  87860. return A._asyncAwait($async$self._async_evaluate0$_performInterpolationWithMap$2$warnForColor(interpolation, true), $async$_async_evaluate0$_visitMediaQueries$1);
  87861. case 3:
  87862. // returning from await.
  87863. _0_0 = $async$result;
  87864. resolved = _0_0._0;
  87865. map = _0_0._1;
  87866. $async$returnValue = new A.MediaQueryParser0(A.SpanScanner$(resolved, null), map).parse$0(0);
  87867. // goto return
  87868. $async$goto = 1;
  87869. break;
  87870. case 1:
  87871. // return
  87872. return A._asyncReturn($async$returnValue, $async$completer);
  87873. }
  87874. });
  87875. return A._asyncStartSync($async$_async_evaluate0$_visitMediaQueries$1, $async$completer);
  87876. },
  87877. _async_evaluate0$_mergeMediaQueries$2(queries1, queries2) {
  87878. var t1, t2, t3, t4, _0_0, t5, result,
  87879. queries = A._setArrayType([], type$.JSArray_CssMediaQuery_2);
  87880. for (t1 = J.get$iterator$ax(queries1), t2 = J.getInterceptor$ax(queries2); t1.moveNext$0();) {
  87881. t3 = t1.get$current(t1);
  87882. for (t4 = t2.get$iterator(queries2); t4.moveNext$0();) {
  87883. _0_0 = t3.merge$1(t4.get$current(t4));
  87884. if (B._SingletonCssMediaQueryMergeResult_00 === _0_0)
  87885. continue;
  87886. if (B._SingletonCssMediaQueryMergeResult_10 === _0_0)
  87887. return null;
  87888. t5 = _0_0 instanceof A.MediaQuerySuccessfulMergeResult0;
  87889. result = t5 ? _0_0 : null;
  87890. if (t5)
  87891. queries.push(result.query);
  87892. }
  87893. }
  87894. return queries;
  87895. },
  87896. visitReturnRule$1(_, node) {
  87897. return this.visitReturnRule$body$_EvaluateVisitor0(0, node);
  87898. },
  87899. visitReturnRule$body$_EvaluateVisitor0(_, node) {
  87900. var $async$goto = 0,
  87901. $async$completer = A._makeAsyncAwaitCompleter(type$.Value_2),
  87902. $async$returnValue, $async$self = this, t1, t2;
  87903. var $async$visitReturnRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  87904. if ($async$errorCode === 1)
  87905. return A._asyncRethrow($async$result, $async$completer);
  87906. while (true)
  87907. switch ($async$goto) {
  87908. case 0:
  87909. // Function start
  87910. t1 = node.expression;
  87911. t2 = t1.accept$1($async$self);
  87912. $async$goto = 3;
  87913. return A._asyncAwait(type$.Future_Value_2._is(t2) ? t2 : A._Future$value(t2, type$.Value_2), $async$visitReturnRule$1);
  87914. case 3:
  87915. // returning from await.
  87916. $async$returnValue = $async$self._async_evaluate0$_withoutSlash$2($async$result, t1);
  87917. // goto return
  87918. $async$goto = 1;
  87919. break;
  87920. case 1:
  87921. // return
  87922. return A._asyncReturn($async$returnValue, $async$completer);
  87923. }
  87924. });
  87925. return A._asyncStartSync($async$visitReturnRule$1, $async$completer);
  87926. },
  87927. visitSilentComment$1(_, node) {
  87928. return this.visitSilentComment$body$_EvaluateVisitor0(0, node);
  87929. },
  87930. visitSilentComment$body$_EvaluateVisitor0(_, node) {
  87931. var $async$goto = 0,
  87932. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value_2),
  87933. $async$returnValue;
  87934. var $async$visitSilentComment$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  87935. if ($async$errorCode === 1)
  87936. return A._asyncRethrow($async$result, $async$completer);
  87937. while (true)
  87938. switch ($async$goto) {
  87939. case 0:
  87940. // Function start
  87941. $async$returnValue = null;
  87942. // goto return
  87943. $async$goto = 1;
  87944. break;
  87945. case 1:
  87946. // return
  87947. return A._asyncReturn($async$returnValue, $async$completer);
  87948. }
  87949. });
  87950. return A._asyncStartSync($async$visitSilentComment$1, $async$completer);
  87951. },
  87952. visitStyleRule$1(_, node) {
  87953. return this.visitStyleRule$body$_EvaluateVisitor0(0, node);
  87954. },
  87955. visitStyleRule$body$_EvaluateVisitor0(_, node) {
  87956. var $async$goto = 0,
  87957. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value_2),
  87958. $async$returnValue, $async$self = this, t1, _0_0, selectorText, selectorMap, parsedSelector, _1_0, t2, t3, _i, _2_0, first, t4, rule, oldAtRootExcludingStyleRule;
  87959. var $async$visitStyleRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  87960. if ($async$errorCode === 1)
  87961. return A._asyncRethrow($async$result, $async$completer);
  87962. while (true)
  87963. switch ($async$goto) {
  87964. case 0:
  87965. // Function start
  87966. if ($async$self._async_evaluate0$_declarationName != null)
  87967. throw A.wrapException($async$self._async_evaluate0$_exception$2(string$.Style_n, node.span));
  87968. else if ($async$self._async_evaluate0$_inKeyframes && $async$self._async_evaluate0$_assertInModule$2($async$self._async_evaluate0$__parent, "__parent") instanceof A.ModifiableCssKeyframeBlock0)
  87969. throw A.wrapException($async$self._async_evaluate0$_exception$2(string$.Style_k, node.span));
  87970. t1 = node.selector;
  87971. $async$goto = 3;
  87972. return A._asyncAwait($async$self._async_evaluate0$_performInterpolationWithMap$2$warnForColor(t1, true), $async$visitStyleRule$1);
  87973. case 3:
  87974. // returning from await.
  87975. _0_0 = $async$result;
  87976. selectorText = _0_0._0;
  87977. selectorMap = _0_0._1;
  87978. $async$goto = $async$self._async_evaluate0$_inKeyframes ? 4 : 5;
  87979. break;
  87980. case 4:
  87981. // then
  87982. $async$goto = 6;
  87983. return A._asyncAwait($async$self._async_evaluate0$_withParent$2$4$scopeWhen$through(A.ModifiableCssKeyframeBlock$0(new A.CssValue0(A.List_List$unmodifiable(new A.KeyframeSelectorParser0(A.SpanScanner$(selectorText, null), selectorMap).parse$0(0), type$.String), t1.span, type$.CssValue_List_String_2), node.span), new A._EvaluateVisitor_visitStyleRule_closure11($async$self, node), node.hasDeclarations, new A._EvaluateVisitor_visitStyleRule_closure12(), type$.ModifiableCssKeyframeBlock_2, type$.Null), $async$visitStyleRule$1);
  87984. case 6:
  87985. // returning from await.
  87986. $async$returnValue = null;
  87987. // goto return
  87988. $async$goto = 1;
  87989. break;
  87990. case 5:
  87991. // join
  87992. parsedSelector = A.SelectorList_SelectorList$parse0(selectorText, true, selectorMap, $async$self._async_evaluate0$_assertInModule$2($async$self._async_evaluate0$__stylesheet, "_stylesheet").plainCss);
  87993. _1_0 = $async$self._async_evaluate0$_atRootExcludingStyleRule ? null : $async$self._async_evaluate0$_styleRuleIgnoringAtRoot;
  87994. $label0$0: {
  87995. if (_1_0 == null) {
  87996. t1 = true;
  87997. break $label0$0;
  87998. }
  87999. if (_1_0.fromPlainCss) {
  88000. t1 = false;
  88001. break $label0$0;
  88002. }
  88003. t1 = !($async$self._async_evaluate0$_assertInModule$2($async$self._async_evaluate0$__stylesheet, "_stylesheet").plainCss && parsedSelector.accept$1(B.C__ContainsParentSelectorVisitor0));
  88004. break $label0$0;
  88005. }
  88006. if (t1) {
  88007. if ($async$self._async_evaluate0$_assertInModule$2($async$self._async_evaluate0$__stylesheet, "_stylesheet").plainCss)
  88008. for (t2 = parsedSelector.components, t3 = t2.length, _i = 0; _i < t3; ++_i) {
  88009. _2_0 = t2[_i].leadingCombinators;
  88010. if (_2_0.length >= 1) {
  88011. first = _2_0[0];
  88012. t4 = $async$self._async_evaluate0$_assertInModule$2($async$self._async_evaluate0$__stylesheet, "_stylesheet").plainCss;
  88013. } else {
  88014. first = null;
  88015. t4 = false;
  88016. }
  88017. if (t4)
  88018. throw A.wrapException($async$self._async_evaluate0$_exception$2(string$.Top_lel, first.span));
  88019. }
  88020. t2 = $async$self._async_evaluate0$_styleRuleIgnoringAtRoot;
  88021. t2 = t2 == null ? null : t2.originalSelector;
  88022. parsedSelector = parsedSelector.nestWithin$3$implicitParent$preserveParentSelectors(t2, !$async$self._async_evaluate0$_atRootExcludingStyleRule, $async$self._async_evaluate0$_assertInModule$2($async$self._async_evaluate0$__stylesheet, "_stylesheet").plainCss);
  88023. }
  88024. rule = A.ModifiableCssStyleRule$0($async$self._async_evaluate0$_assertInModule$2($async$self._async_evaluate0$__extensionStore, "_extensionStore").addSelector$2(parsedSelector, $async$self._async_evaluate0$_mediaQueries), node.span, $async$self._async_evaluate0$_assertInModule$2($async$self._async_evaluate0$__stylesheet, "_stylesheet").plainCss, parsedSelector);
  88025. oldAtRootExcludingStyleRule = $async$self._async_evaluate0$_atRootExcludingStyleRule;
  88026. t2 = $async$self._async_evaluate0$_atRootExcludingStyleRule = false;
  88027. t1 = t1 ? new A._EvaluateVisitor_visitStyleRule_closure13() : null;
  88028. $async$goto = 7;
  88029. return A._asyncAwait($async$self._async_evaluate0$_withParent$2$4$scopeWhen$through(rule, new A._EvaluateVisitor_visitStyleRule_closure14($async$self, rule, node), node.hasDeclarations, t1, type$.ModifiableCssStyleRule_2, type$.Null), $async$visitStyleRule$1);
  88030. case 7:
  88031. // returning from await.
  88032. $async$self._async_evaluate0$_atRootExcludingStyleRule = oldAtRootExcludingStyleRule;
  88033. $async$self._async_evaluate0$_warnForBogusCombinators$1(rule);
  88034. if (($async$self._async_evaluate0$_atRootExcludingStyleRule ? null : $async$self._async_evaluate0$_styleRuleIgnoringAtRoot) == null) {
  88035. t1 = $async$self._async_evaluate0$_assertInModule$2($async$self._async_evaluate0$__parent, "__parent").children;
  88036. t1 = !t1.get$isEmpty(t1);
  88037. } else
  88038. t1 = t2;
  88039. if (t1) {
  88040. t1 = $async$self._async_evaluate0$_assertInModule$2($async$self._async_evaluate0$__parent, "__parent").children;
  88041. t1.get$last(t1).isGroupEnd = true;
  88042. }
  88043. $async$returnValue = null;
  88044. // goto return
  88045. $async$goto = 1;
  88046. break;
  88047. case 1:
  88048. // return
  88049. return A._asyncReturn($async$returnValue, $async$completer);
  88050. }
  88051. });
  88052. return A._asyncStartSync($async$visitStyleRule$1, $async$completer);
  88053. },
  88054. _async_evaluate0$_warnForBogusCombinators$1(rule) {
  88055. var t1, t2, t3, t4, t5, _i, complex, visitor, t6, t7, t8, t9, _this = this, _null = null;
  88056. if (!rule.accept$1(B._IsInvisibleVisitor_false_false0))
  88057. for (t1 = rule._style_rule0$_selector._box0$_inner.value.components, t2 = t1.length, t3 = type$.SourceSpan, t4 = type$.String, t5 = rule.children, _i = 0; _i < t2; ++_i) {
  88058. complex = t1[_i];
  88059. if (!complex.accept$1(B._IsBogusVisitor_true0))
  88060. continue;
  88061. if (complex.accept$1(B.C__IsUselessVisitor0)) {
  88062. visitor = A._SerializeVisitor$0(_null, true, _null, _null, true, false, _null, true);
  88063. complex.accept$1(visitor);
  88064. _this._async_evaluate0$_warn$3('The selector "' + B.JSString_methods.trim$0(visitor._serialize0$_buffer.toString$0(0)) + string$.x22x20is_ix20, A.SpanExtensions_trimRight0(complex.span), B.Deprecation_SHb);
  88065. } else if (complex.leadingCombinators.length !== 0) {
  88066. if (!_this._async_evaluate0$_assertInModule$2(_this._async_evaluate0$__stylesheet, "_stylesheet").plainCss) {
  88067. visitor = A._SerializeVisitor$0(_null, true, _null, _null, true, false, _null, true);
  88068. complex.accept$1(visitor);
  88069. _this._async_evaluate0$_warn$3('The selector "' + B.JSString_methods.trim$0(visitor._serialize0$_buffer.toString$0(0)) + string$.x22x20is_ix0a, A.SpanExtensions_trimRight0(complex.span), B.Deprecation_SHb);
  88070. }
  88071. } else {
  88072. visitor = A._SerializeVisitor$0(_null, true, _null, _null, true, false, _null, true);
  88073. complex.accept$1(visitor);
  88074. t6 = B.JSString_methods.trim$0(visitor._serialize0$_buffer.toString$0(0));
  88075. t7 = complex.accept$1(B._IsBogusVisitor_false0) ? string$.x20It_wi : "";
  88076. t8 = A.SpanExtensions_trimRight0(complex.span);
  88077. if (t5.get$length(0) === 0)
  88078. A.throwExpression(A.IterableElementError_noElement());
  88079. t9 = J.get$span$z(t5.$index(0, 0));
  88080. _this._async_evaluate0$_warn$3('The selector "' + t6 + string$.x22x20is_o + t7 + string$.x0aThis_, new A.MultiSpan0(t8, "invalid selector", A.ConstantMap_ConstantMap$from(A.LinkedHashMap_LinkedHashMap$_literal([t9, "this is not a style rule" + (t5.every$1(t5, new A._EvaluateVisitor__warnForBogusCombinators_closure2()) ? "\n(try converting to a //-style comment)" : "")], t3, t4), t3, t4)), B.Deprecation_SHb);
  88081. }
  88082. }
  88083. },
  88084. visitSupportsRule$1(_, node) {
  88085. return this.visitSupportsRule$body$_EvaluateVisitor0(0, node);
  88086. },
  88087. visitSupportsRule$body$_EvaluateVisitor0(_, node) {
  88088. var $async$goto = 0,
  88089. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value_2),
  88090. $async$returnValue, $async$self = this, t1, $async$temp1, $async$temp2;
  88091. var $async$visitSupportsRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  88092. if ($async$errorCode === 1)
  88093. return A._asyncRethrow($async$result, $async$completer);
  88094. while (true)
  88095. switch ($async$goto) {
  88096. case 0:
  88097. // Function start
  88098. if ($async$self._async_evaluate0$_declarationName != null)
  88099. throw A.wrapException($async$self._async_evaluate0$_exception$2(string$.Suppor, node.span));
  88100. t1 = node.condition;
  88101. $async$temp1 = A;
  88102. $async$temp2 = A;
  88103. $async$goto = 4;
  88104. return A._asyncAwait($async$self._async_evaluate0$_visitSupportsCondition$1(t1), $async$visitSupportsRule$1);
  88105. case 4:
  88106. // returning from await.
  88107. $async$goto = 3;
  88108. 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);
  88109. case 3:
  88110. // returning from await.
  88111. $async$returnValue = null;
  88112. // goto return
  88113. $async$goto = 1;
  88114. break;
  88115. case 1:
  88116. // return
  88117. return A._asyncReturn($async$returnValue, $async$completer);
  88118. }
  88119. });
  88120. return A._asyncStartSync($async$visitSupportsRule$1, $async$completer);
  88121. },
  88122. _async_evaluate0$_visitSupportsCondition$1(condition) {
  88123. return this._visitSupportsCondition$body$_EvaluateVisitor0(condition);
  88124. },
  88125. _visitSupportsCondition$body$_EvaluateVisitor0(condition) {
  88126. var $async$goto = 0,
  88127. $async$completer = A._makeAsyncAwaitCompleter(type$.String),
  88128. $async$returnValue, $async$self = this, t1, $async$temp1, $async$temp2;
  88129. var $async$_async_evaluate0$_visitSupportsCondition$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  88130. if ($async$errorCode === 1)
  88131. return A._asyncRethrow($async$result, $async$completer);
  88132. while (true)
  88133. switch ($async$goto) {
  88134. case 0:
  88135. // Function start
  88136. $async$goto = condition instanceof A.SupportsOperation0 ? 4 : 5;
  88137. break;
  88138. case 4:
  88139. // then
  88140. t1 = condition.operator;
  88141. $async$temp1 = A;
  88142. $async$goto = 6;
  88143. return A._asyncAwait($async$self._async_evaluate0$_parenthesize$2(condition.left, t1), $async$_async_evaluate0$_visitSupportsCondition$1);
  88144. case 6:
  88145. // returning from await.
  88146. $async$temp1 = $async$temp1.S($async$result) + " " + t1 + " ";
  88147. $async$temp2 = A;
  88148. $async$goto = 7;
  88149. return A._asyncAwait($async$self._async_evaluate0$_parenthesize$2(condition.right, t1), $async$_async_evaluate0$_visitSupportsCondition$1);
  88150. case 7:
  88151. // returning from await.
  88152. t1 = $async$temp1 + $async$temp2.S($async$result);
  88153. // goto break $label0$0
  88154. $async$goto = 3;
  88155. break;
  88156. case 5:
  88157. // join
  88158. $async$goto = condition instanceof A.SupportsNegation0 ? 8 : 9;
  88159. break;
  88160. case 8:
  88161. // then
  88162. $async$temp1 = A;
  88163. $async$goto = 10;
  88164. return A._asyncAwait($async$self._async_evaluate0$_parenthesize$1(condition.condition), $async$_async_evaluate0$_visitSupportsCondition$1);
  88165. case 10:
  88166. // returning from await.
  88167. t1 = "not " + $async$temp1.S($async$result);
  88168. // goto break $label0$0
  88169. $async$goto = 3;
  88170. break;
  88171. case 9:
  88172. // join
  88173. $async$goto = condition instanceof A.SupportsInterpolation0 ? 11 : 12;
  88174. break;
  88175. case 11:
  88176. // then
  88177. $async$goto = 13;
  88178. return A._asyncAwait($async$self._async_evaluate0$_evaluateToCss$2$quote(condition.expression, false), $async$_async_evaluate0$_visitSupportsCondition$1);
  88179. case 13:
  88180. // returning from await.
  88181. t1 = $async$result;
  88182. // goto break $label0$0
  88183. $async$goto = 3;
  88184. break;
  88185. case 12:
  88186. // join
  88187. t1 = {};
  88188. t1.declaration = null;
  88189. $async$goto = condition instanceof A.SupportsDeclaration0 ? 14 : 15;
  88190. break;
  88191. case 14:
  88192. // then
  88193. t1.declaration = condition;
  88194. $async$goto = 16;
  88195. return A._asyncAwait($async$self._async_evaluate0$_withSupportsDeclaration$1$1(new A._EvaluateVisitor__visitSupportsCondition_closure2(t1, $async$self), type$.String), $async$_async_evaluate0$_visitSupportsCondition$1);
  88196. case 16:
  88197. // returning from await.
  88198. t1 = $async$result;
  88199. // goto break $label0$0
  88200. $async$goto = 3;
  88201. break;
  88202. case 15:
  88203. // join
  88204. $async$goto = condition instanceof A.SupportsFunction0 ? 17 : 18;
  88205. break;
  88206. case 17:
  88207. // then
  88208. $async$temp1 = A;
  88209. $async$goto = 19;
  88210. return A._asyncAwait($async$self._async_evaluate0$_performInterpolation$1(condition.name), $async$_async_evaluate0$_visitSupportsCondition$1);
  88211. case 19:
  88212. // returning from await.
  88213. $async$temp1 = $async$temp1.S($async$result) + "(";
  88214. $async$temp2 = A;
  88215. $async$goto = 20;
  88216. return A._asyncAwait($async$self._async_evaluate0$_performInterpolation$1(condition.$arguments), $async$_async_evaluate0$_visitSupportsCondition$1);
  88217. case 20:
  88218. // returning from await.
  88219. t1 = $async$temp1 + $async$temp2.S($async$result) + ")";
  88220. // goto break $label0$0
  88221. $async$goto = 3;
  88222. break;
  88223. case 18:
  88224. // join
  88225. $async$goto = condition instanceof A.SupportsAnything0 ? 21 : 22;
  88226. break;
  88227. case 21:
  88228. // then
  88229. $async$temp1 = A;
  88230. $async$goto = 23;
  88231. return A._asyncAwait($async$self._async_evaluate0$_performInterpolation$1(condition.contents), $async$_async_evaluate0$_visitSupportsCondition$1);
  88232. case 23:
  88233. // returning from await.
  88234. t1 = "(" + $async$temp1.S($async$result) + ")";
  88235. // goto break $label0$0
  88236. $async$goto = 3;
  88237. break;
  88238. case 22:
  88239. // join
  88240. t1 = A.throwExpression(A.ArgumentError$("Unknown supports condition type " + A.getRuntimeTypeOfDartObject(condition).toString$0(0) + ".", null));
  88241. case 3:
  88242. // break $label0$0
  88243. $async$returnValue = t1;
  88244. // goto return
  88245. $async$goto = 1;
  88246. break;
  88247. case 1:
  88248. // return
  88249. return A._asyncReturn($async$returnValue, $async$completer);
  88250. }
  88251. });
  88252. return A._asyncStartSync($async$_async_evaluate0$_visitSupportsCondition$1, $async$completer);
  88253. },
  88254. _async_evaluate0$_withSupportsDeclaration$1$1(callback, $T) {
  88255. return this._withSupportsDeclaration$body$_EvaluateVisitor0(callback, $T, $T);
  88256. },
  88257. _withSupportsDeclaration$body$_EvaluateVisitor0(callback, $T, $async$type) {
  88258. var $async$goto = 0,
  88259. $async$completer = A._makeAsyncAwaitCompleter($async$type),
  88260. $async$returnValue, $async$handler = 2, $async$errorStack = [], $async$next = [], $async$self = this, t1, oldInSupportsDeclaration;
  88261. var $async$_async_evaluate0$_withSupportsDeclaration$1$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  88262. if ($async$errorCode === 1) {
  88263. $async$errorStack.push($async$result);
  88264. $async$goto = $async$handler;
  88265. }
  88266. while (true)
  88267. switch ($async$goto) {
  88268. case 0:
  88269. // Function start
  88270. oldInSupportsDeclaration = $async$self._async_evaluate0$_inSupportsDeclaration;
  88271. $async$self._async_evaluate0$_inSupportsDeclaration = true;
  88272. $async$handler = 3;
  88273. t1 = callback.call$0();
  88274. $async$goto = 6;
  88275. return A._asyncAwait($T._eval$1("Future<0>")._is(t1) ? t1 : A._Future$value(t1, $T), $async$_async_evaluate0$_withSupportsDeclaration$1$1);
  88276. case 6:
  88277. // returning from await.
  88278. t1 = $async$result;
  88279. $async$returnValue = t1;
  88280. $async$next = [1];
  88281. // goto finally
  88282. $async$goto = 4;
  88283. break;
  88284. $async$next.push(5);
  88285. // goto finally
  88286. $async$goto = 4;
  88287. break;
  88288. case 3:
  88289. // uncaught
  88290. $async$next = [2];
  88291. case 4:
  88292. // finally
  88293. $async$handler = 2;
  88294. $async$self._async_evaluate0$_inSupportsDeclaration = oldInSupportsDeclaration;
  88295. // goto the next finally handler
  88296. $async$goto = $async$next.pop();
  88297. break;
  88298. case 5:
  88299. // after finally
  88300. case 1:
  88301. // return
  88302. return A._asyncReturn($async$returnValue, $async$completer);
  88303. case 2:
  88304. // rethrow
  88305. return A._asyncRethrow($async$errorStack.at(-1), $async$completer);
  88306. }
  88307. });
  88308. return A._asyncStartSync($async$_async_evaluate0$_withSupportsDeclaration$1$1, $async$completer);
  88309. },
  88310. _async_evaluate0$_parenthesize$2(condition, operator) {
  88311. return this._parenthesize$body$_EvaluateVisitor0(condition, operator);
  88312. },
  88313. _async_evaluate0$_parenthesize$1(condition) {
  88314. return this._async_evaluate0$_parenthesize$2(condition, null);
  88315. },
  88316. _parenthesize$body$_EvaluateVisitor0(condition, operator) {
  88317. var $async$goto = 0,
  88318. $async$completer = A._makeAsyncAwaitCompleter(type$.String),
  88319. $async$returnValue, $async$self = this, t1, $async$temp1;
  88320. var $async$_async_evaluate0$_parenthesize$2 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  88321. if ($async$errorCode === 1)
  88322. return A._asyncRethrow($async$result, $async$completer);
  88323. while (true)
  88324. switch ($async$goto) {
  88325. case 0:
  88326. // Function start
  88327. if (!(condition instanceof A.SupportsNegation0))
  88328. if (condition instanceof A.SupportsOperation0)
  88329. t1 = operator == null || operator !== condition.operator;
  88330. else
  88331. t1 = false;
  88332. else
  88333. t1 = true;
  88334. $async$goto = t1 ? 3 : 4;
  88335. break;
  88336. case 3:
  88337. // then
  88338. $async$temp1 = A;
  88339. $async$goto = 5;
  88340. return A._asyncAwait($async$self._async_evaluate0$_visitSupportsCondition$1(condition), $async$_async_evaluate0$_parenthesize$2);
  88341. case 5:
  88342. // returning from await.
  88343. $async$returnValue = "(" + $async$temp1.S($async$result) + ")";
  88344. // goto return
  88345. $async$goto = 1;
  88346. break;
  88347. case 4:
  88348. // join
  88349. $async$goto = 6;
  88350. return A._asyncAwait($async$self._async_evaluate0$_visitSupportsCondition$1(condition), $async$_async_evaluate0$_parenthesize$2);
  88351. case 6:
  88352. // returning from await.
  88353. $async$returnValue = $async$result;
  88354. // goto return
  88355. $async$goto = 1;
  88356. break;
  88357. case 1:
  88358. // return
  88359. return A._asyncReturn($async$returnValue, $async$completer);
  88360. }
  88361. });
  88362. return A._asyncStartSync($async$_async_evaluate0$_parenthesize$2, $async$completer);
  88363. },
  88364. visitVariableDeclaration$1(_, node) {
  88365. return this.visitVariableDeclaration$body$_EvaluateVisitor0(0, node);
  88366. },
  88367. visitVariableDeclaration$body$_EvaluateVisitor0(_, node) {
  88368. var $async$goto = 0,
  88369. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value_2),
  88370. $async$returnValue, $async$self = this, t1, _0_0, t2, value, $async$temp1, $async$temp2, $async$temp3;
  88371. var $async$visitVariableDeclaration$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  88372. if ($async$errorCode === 1)
  88373. return A._asyncRethrow($async$result, $async$completer);
  88374. while (true)
  88375. switch ($async$goto) {
  88376. case 0:
  88377. // Function start
  88378. if (node.isGuarded) {
  88379. if (node.namespace == null && $async$self._async_evaluate0$_environment._async_environment0$_variables.length === 1) {
  88380. t1 = $async$self._async_evaluate0$_configuration._configuration0$_values;
  88381. _0_0 = t1.get$isEmpty(t1) ? null : t1.remove$1(0, node.name);
  88382. t1 = {};
  88383. t1.override = null;
  88384. if (_0_0 != null) {
  88385. t1.override = _0_0;
  88386. t2 = !_0_0.value.$eq(0, B.C__SassNull0);
  88387. } else
  88388. t2 = false;
  88389. if (t2) {
  88390. $async$self._async_evaluate0$_addExceptionSpan$2(node, new A._EvaluateVisitor_visitVariableDeclaration_closure8(t1, $async$self, node));
  88391. $async$returnValue = null;
  88392. // goto return
  88393. $async$goto = 1;
  88394. break;
  88395. }
  88396. }
  88397. value = $async$self._async_evaluate0$_addExceptionSpan$2(node, new A._EvaluateVisitor_visitVariableDeclaration_closure9($async$self, node));
  88398. if (value != null && !value.$eq(0, B.C__SassNull0)) {
  88399. $async$returnValue = null;
  88400. // goto return
  88401. $async$goto = 1;
  88402. break;
  88403. }
  88404. }
  88405. if (node.isGlobal && !$async$self._async_evaluate0$_environment.globalVariableExists$1(node.name)) {
  88406. 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.";
  88407. $async$self._async_evaluate0$_warn$3(t1, node.span, B.Deprecation_mSy);
  88408. }
  88409. t1 = node.expression;
  88410. t2 = t1.accept$1($async$self);
  88411. $async$temp1 = node;
  88412. $async$temp2 = A;
  88413. $async$temp3 = node;
  88414. $async$goto = 3;
  88415. return A._asyncAwait(type$.Future_Value_2._is(t2) ? t2 : A._Future$value(t2, type$.Value_2), $async$visitVariableDeclaration$1);
  88416. case 3:
  88417. // returning from await.
  88418. $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)));
  88419. $async$returnValue = null;
  88420. // goto return
  88421. $async$goto = 1;
  88422. break;
  88423. case 1:
  88424. // return
  88425. return A._asyncReturn($async$returnValue, $async$completer);
  88426. }
  88427. });
  88428. return A._asyncStartSync($async$visitVariableDeclaration$1, $async$completer);
  88429. },
  88430. visitUseRule$1(_, node) {
  88431. return this.visitUseRule$body$_EvaluateVisitor0(0, node);
  88432. },
  88433. visitUseRule$body$_EvaluateVisitor0(_, node) {
  88434. var $async$goto = 0,
  88435. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value_2),
  88436. $async$returnValue, $async$self = this, values, t3, t4, _i, variable, t5, variableNodeWithSpan, t6, configuration, t1, t2, $async$temp1, $async$temp2, $async$temp3;
  88437. var $async$visitUseRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  88438. if ($async$errorCode === 1)
  88439. return A._asyncRethrow($async$result, $async$completer);
  88440. while (true)
  88441. switch ($async$goto) {
  88442. case 0:
  88443. // Function start
  88444. t1 = node.configuration;
  88445. t2 = t1.length;
  88446. $async$goto = t2 !== 0 ? 3 : 5;
  88447. break;
  88448. case 3:
  88449. // then
  88450. values = A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.ConfiguredValue_2);
  88451. t3 = type$._Future_Value_2, t4 = type$.Future_Value_2, _i = 0;
  88452. case 6:
  88453. // for condition
  88454. if (!(_i < t2)) {
  88455. // goto after for
  88456. $async$goto = 8;
  88457. break;
  88458. }
  88459. variable = t1[_i];
  88460. t5 = variable.expression;
  88461. variableNodeWithSpan = $async$self._async_evaluate0$_expressionNode$1(t5);
  88462. t5 = t5.accept$1($async$self);
  88463. if (!t4._is(t5)) {
  88464. t6 = new A._Future($.Zone__current, t3);
  88465. t6._state = 8;
  88466. t6._resultOrListeners = t5;
  88467. t5 = t6;
  88468. }
  88469. $async$temp1 = values;
  88470. $async$temp2 = variable.name;
  88471. $async$temp3 = A;
  88472. $async$goto = 9;
  88473. return A._asyncAwait(t5, $async$visitUseRule$1);
  88474. case 9:
  88475. // returning from await.
  88476. $async$temp1.$indexSet(0, $async$temp2, new $async$temp3.ConfiguredValue0($async$self._async_evaluate0$_withoutSlash$2($async$result, variableNodeWithSpan), variable.span, variableNodeWithSpan));
  88477. case 7:
  88478. // for update
  88479. ++_i;
  88480. // goto for condition
  88481. $async$goto = 6;
  88482. break;
  88483. case 8:
  88484. // after for
  88485. configuration = new A.ExplicitConfiguration0(node, values, null);
  88486. // goto join
  88487. $async$goto = 4;
  88488. break;
  88489. case 5:
  88490. // else
  88491. configuration = B.Configuration_Map_empty_null0;
  88492. case 4:
  88493. // join
  88494. $async$goto = 10;
  88495. 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);
  88496. case 10:
  88497. // returning from await.
  88498. $async$self._async_evaluate0$_assertConfigurationIsEmpty$1(configuration);
  88499. $async$returnValue = null;
  88500. // goto return
  88501. $async$goto = 1;
  88502. break;
  88503. case 1:
  88504. // return
  88505. return A._asyncReturn($async$returnValue, $async$completer);
  88506. }
  88507. });
  88508. return A._asyncStartSync($async$visitUseRule$1, $async$completer);
  88509. },
  88510. visitWarnRule$1(_, node) {
  88511. return this.visitWarnRule$body$_EvaluateVisitor0(0, node);
  88512. },
  88513. visitWarnRule$body$_EvaluateVisitor0(_, node) {
  88514. var $async$goto = 0,
  88515. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value_2),
  88516. $async$returnValue, $async$self = this, value, t1, t2;
  88517. var $async$visitWarnRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  88518. if ($async$errorCode === 1)
  88519. return A._asyncRethrow($async$result, $async$completer);
  88520. while (true)
  88521. switch ($async$goto) {
  88522. case 0:
  88523. // Function start
  88524. $async$goto = 3;
  88525. 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);
  88526. case 3:
  88527. // returning from await.
  88528. value = $async$result;
  88529. t1 = value instanceof A.SassString0 ? value._string0$_text : $async$self._async_evaluate0$_serialize$2(value, node.expression);
  88530. t2 = $async$self._async_evaluate0$_stackTrace$1(node.span);
  88531. $async$self._async_evaluate0$_logger.internalWarn$4$deprecation$span$trace(t1, null, null, t2);
  88532. $async$returnValue = null;
  88533. // goto return
  88534. $async$goto = 1;
  88535. break;
  88536. case 1:
  88537. // return
  88538. return A._asyncReturn($async$returnValue, $async$completer);
  88539. }
  88540. });
  88541. return A._asyncStartSync($async$visitWarnRule$1, $async$completer);
  88542. },
  88543. visitWhileRule$1(_, node) {
  88544. return this._async_evaluate0$_environment.scope$1$3$semiGlobal$when(new A._EvaluateVisitor_visitWhileRule_closure2(this, node), true, node.hasDeclarations, type$.nullable_Value_2);
  88545. },
  88546. visitBinaryOperationExpression$1(_, node) {
  88547. var t1, _this = this;
  88548. if (_this._async_evaluate0$_assertInModule$2(_this._async_evaluate0$__stylesheet, "_stylesheet").plainCss) {
  88549. t1 = node.operator;
  88550. t1 = t1 !== B.BinaryOperator_Kyq0 && t1 !== B.BinaryOperator_Mh50;
  88551. } else
  88552. t1 = false;
  88553. if (t1)
  88554. throw A.wrapException(_this._async_evaluate0$_exception$2("Operators aren't allowed in plain CSS.", node.get$operatorSpan()));
  88555. return _this._async_evaluate0$_addExceptionSpanAsync$1$2(node, new A._EvaluateVisitor_visitBinaryOperationExpression_closure2(_this, node), type$.Value_2);
  88556. },
  88557. _async_evaluate0$_slash$3(left, right, node) {
  88558. var t2, _1_1,
  88559. result = left.dividedBy$1(right),
  88560. _1_2_isSet = left instanceof A.SassNumber0,
  88561. _1_2 = null, right0 = null,
  88562. t1 = false;
  88563. if (_1_2_isSet) {
  88564. t2 = type$.SassNumber_2;
  88565. t2._as(left);
  88566. if (right instanceof A.SassNumber0) {
  88567. t2._as(right);
  88568. t1 = node.allowsSlash && this._async_evaluate0$_operandAllowsSlash$1(node.left) && this._async_evaluate0$_operandAllowsSlash$1(node.right);
  88569. right0 = right;
  88570. _1_2 = right0;
  88571. } else
  88572. _1_2 = right;
  88573. _1_1 = left;
  88574. } else {
  88575. _1_1 = left;
  88576. left = null;
  88577. }
  88578. if (t1)
  88579. return type$.SassNumber_2._as(result).withSlash$2(left, right0);
  88580. if (_1_1 instanceof A.SassNumber0)
  88581. t1 = (_1_2_isSet ? _1_2 : right) instanceof A.SassNumber0;
  88582. else
  88583. t1 = false;
  88584. if (t1) {
  88585. this._async_evaluate0$_warn$3(string$.Using__o + A.S(new A._EvaluateVisitor__slash_recommendation2().call$1(node)) + " or " + A.expressionToCalc0(node).toString$0(0) + string$.x0a_Morex20, node.get$span(0), B.Deprecation_FyB);
  88586. return result;
  88587. }
  88588. return result;
  88589. },
  88590. _async_evaluate0$_operandAllowsSlash$1(node) {
  88591. var t1;
  88592. if (node instanceof A.FunctionExpression0)
  88593. if (node.namespace == null) {
  88594. t1 = node.name;
  88595. t1 = B.Set_Pr3yj.contains$1(0, t1.toLowerCase()) && this._async_evaluate0$_environment.getFunction$1(t1) == null;
  88596. } else
  88597. t1 = false;
  88598. else
  88599. t1 = true;
  88600. return t1;
  88601. },
  88602. visitValueExpression$1(_, node) {
  88603. return this.visitValueExpression$body$_EvaluateVisitor0(0, node);
  88604. },
  88605. visitValueExpression$body$_EvaluateVisitor0(_, node) {
  88606. var $async$goto = 0,
  88607. $async$completer = A._makeAsyncAwaitCompleter(type$.Value_2),
  88608. $async$returnValue;
  88609. var $async$visitValueExpression$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  88610. if ($async$errorCode === 1)
  88611. return A._asyncRethrow($async$result, $async$completer);
  88612. while (true)
  88613. switch ($async$goto) {
  88614. case 0:
  88615. // Function start
  88616. $async$returnValue = node.value;
  88617. // goto return
  88618. $async$goto = 1;
  88619. break;
  88620. case 1:
  88621. // return
  88622. return A._asyncReturn($async$returnValue, $async$completer);
  88623. }
  88624. });
  88625. return A._asyncStartSync($async$visitValueExpression$1, $async$completer);
  88626. },
  88627. visitVariableExpression$1(_, node) {
  88628. return this.visitVariableExpression$body$_EvaluateVisitor0(0, node);
  88629. },
  88630. visitVariableExpression$body$_EvaluateVisitor0(_, node) {
  88631. var $async$goto = 0,
  88632. $async$completer = A._makeAsyncAwaitCompleter(type$.Value_2),
  88633. $async$returnValue, $async$self = this, result;
  88634. var $async$visitVariableExpression$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  88635. if ($async$errorCode === 1)
  88636. return A._asyncRethrow($async$result, $async$completer);
  88637. while (true)
  88638. switch ($async$goto) {
  88639. case 0:
  88640. // Function start
  88641. result = $async$self._async_evaluate0$_addExceptionSpan$2(node, new A._EvaluateVisitor_visitVariableExpression_closure2($async$self, node));
  88642. if (result != null) {
  88643. $async$returnValue = result;
  88644. // goto return
  88645. $async$goto = 1;
  88646. break;
  88647. }
  88648. throw A.wrapException($async$self._async_evaluate0$_exception$2("Undefined variable.", node.span));
  88649. case 1:
  88650. // return
  88651. return A._asyncReturn($async$returnValue, $async$completer);
  88652. }
  88653. });
  88654. return A._asyncStartSync($async$visitVariableExpression$1, $async$completer);
  88655. },
  88656. visitUnaryOperationExpression$1(_, node) {
  88657. return this.visitUnaryOperationExpression$body$_EvaluateVisitor0(0, node);
  88658. },
  88659. visitUnaryOperationExpression$body$_EvaluateVisitor0(_, node) {
  88660. var $async$goto = 0,
  88661. $async$completer = A._makeAsyncAwaitCompleter(type$.Value_2),
  88662. $async$returnValue, $async$self = this, $async$temp1, $async$temp2, $async$temp3;
  88663. var $async$visitUnaryOperationExpression$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  88664. if ($async$errorCode === 1)
  88665. return A._asyncRethrow($async$result, $async$completer);
  88666. while (true)
  88667. switch ($async$goto) {
  88668. case 0:
  88669. // Function start
  88670. $async$temp1 = node;
  88671. $async$temp2 = A;
  88672. $async$temp3 = node;
  88673. $async$goto = 3;
  88674. return A._asyncAwait(node.operand.accept$1($async$self), $async$visitUnaryOperationExpression$1);
  88675. case 3:
  88676. // returning from await.
  88677. $async$returnValue = $async$self._async_evaluate0$_addExceptionSpan$2($async$temp1, new $async$temp2._EvaluateVisitor_visitUnaryOperationExpression_closure2($async$temp3, $async$result));
  88678. // goto return
  88679. $async$goto = 1;
  88680. break;
  88681. case 1:
  88682. // return
  88683. return A._asyncReturn($async$returnValue, $async$completer);
  88684. }
  88685. });
  88686. return A._asyncStartSync($async$visitUnaryOperationExpression$1, $async$completer);
  88687. },
  88688. visitBooleanExpression$1(_, node) {
  88689. return this.visitBooleanExpression$body$_EvaluateVisitor0(0, node);
  88690. },
  88691. visitBooleanExpression$body$_EvaluateVisitor0(_, node) {
  88692. var $async$goto = 0,
  88693. $async$completer = A._makeAsyncAwaitCompleter(type$.SassBoolean_2),
  88694. $async$returnValue;
  88695. var $async$visitBooleanExpression$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  88696. if ($async$errorCode === 1)
  88697. return A._asyncRethrow($async$result, $async$completer);
  88698. while (true)
  88699. switch ($async$goto) {
  88700. case 0:
  88701. // Function start
  88702. $async$returnValue = node.value ? B.SassBoolean_true0 : B.SassBoolean_false0;
  88703. // goto return
  88704. $async$goto = 1;
  88705. break;
  88706. case 1:
  88707. // return
  88708. return A._asyncReturn($async$returnValue, $async$completer);
  88709. }
  88710. });
  88711. return A._asyncStartSync($async$visitBooleanExpression$1, $async$completer);
  88712. },
  88713. visitIfExpression$1(_, node) {
  88714. return this.visitIfExpression$body$_EvaluateVisitor0(0, node);
  88715. },
  88716. visitIfExpression$body$_EvaluateVisitor0(_, node) {
  88717. var $async$goto = 0,
  88718. $async$completer = A._makeAsyncAwaitCompleter(type$.Value_2),
  88719. $async$returnValue, $async$self = this, condition, t1, ifTrue, ifFalse, result, _0_0, positional, named;
  88720. var $async$visitIfExpression$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  88721. if ($async$errorCode === 1)
  88722. return A._asyncRethrow($async$result, $async$completer);
  88723. while (true)
  88724. switch ($async$goto) {
  88725. case 0:
  88726. // Function start
  88727. $async$goto = 3;
  88728. return A._asyncAwait($async$self._async_evaluate0$_evaluateMacroArguments$1(node), $async$visitIfExpression$1);
  88729. case 3:
  88730. // returning from await.
  88731. _0_0 = $async$result;
  88732. positional = _0_0._0;
  88733. named = _0_0._1;
  88734. $async$self._async_evaluate0$_verifyArguments$4(J.get$length$asx(positional), named, $.$get$IfExpression_declaration0(), node);
  88735. condition = A.ListExtensions_elementAtOrNull(positional, 0);
  88736. if (condition == null) {
  88737. t1 = named.$index(0, "condition");
  88738. t1.toString;
  88739. condition = t1;
  88740. }
  88741. ifTrue = A.ListExtensions_elementAtOrNull(positional, 1);
  88742. if (ifTrue == null) {
  88743. t1 = named.$index(0, "if-true");
  88744. t1.toString;
  88745. ifTrue = t1;
  88746. }
  88747. ifFalse = A.ListExtensions_elementAtOrNull(positional, 2);
  88748. if (ifFalse == null) {
  88749. t1 = named.$index(0, "if-false");
  88750. t1.toString;
  88751. ifFalse = t1;
  88752. }
  88753. $async$goto = 4;
  88754. return A._asyncAwait(condition.accept$1($async$self), $async$visitIfExpression$1);
  88755. case 4:
  88756. // returning from await.
  88757. result = $async$result.get$isTruthy() ? ifTrue : ifFalse;
  88758. t1 = result.accept$1($async$self);
  88759. $async$goto = 5;
  88760. return A._asyncAwait(type$.Future_Value_2._is(t1) ? t1 : A._Future$value(t1, type$.Value_2), $async$visitIfExpression$1);
  88761. case 5:
  88762. // returning from await.
  88763. $async$returnValue = $async$self._async_evaluate0$_withoutSlash$2($async$result, $async$self._async_evaluate0$_expressionNode$1(result));
  88764. // goto return
  88765. $async$goto = 1;
  88766. break;
  88767. case 1:
  88768. // return
  88769. return A._asyncReturn($async$returnValue, $async$completer);
  88770. }
  88771. });
  88772. return A._asyncStartSync($async$visitIfExpression$1, $async$completer);
  88773. },
  88774. visitNullExpression$1(_, node) {
  88775. return this.visitNullExpression$body$_EvaluateVisitor0(0, node);
  88776. },
  88777. visitNullExpression$body$_EvaluateVisitor0(_, node) {
  88778. var $async$goto = 0,
  88779. $async$completer = A._makeAsyncAwaitCompleter(type$.Value_2),
  88780. $async$returnValue;
  88781. var $async$visitNullExpression$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  88782. if ($async$errorCode === 1)
  88783. return A._asyncRethrow($async$result, $async$completer);
  88784. while (true)
  88785. switch ($async$goto) {
  88786. case 0:
  88787. // Function start
  88788. $async$returnValue = B.C__SassNull0;
  88789. // goto return
  88790. $async$goto = 1;
  88791. break;
  88792. case 1:
  88793. // return
  88794. return A._asyncReturn($async$returnValue, $async$completer);
  88795. }
  88796. });
  88797. return A._asyncStartSync($async$visitNullExpression$1, $async$completer);
  88798. },
  88799. visitNumberExpression$1(_, node) {
  88800. return this.visitNumberExpression$body$_EvaluateVisitor0(0, node);
  88801. },
  88802. visitNumberExpression$body$_EvaluateVisitor0(_, node) {
  88803. var $async$goto = 0,
  88804. $async$completer = A._makeAsyncAwaitCompleter(type$.SassNumber_2),
  88805. $async$returnValue;
  88806. var $async$visitNumberExpression$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  88807. if ($async$errorCode === 1)
  88808. return A._asyncRethrow($async$result, $async$completer);
  88809. while (true)
  88810. switch ($async$goto) {
  88811. case 0:
  88812. // Function start
  88813. $async$returnValue = A.SassNumber_SassNumber0(node.value, node.unit);
  88814. // goto return
  88815. $async$goto = 1;
  88816. break;
  88817. case 1:
  88818. // return
  88819. return A._asyncReturn($async$returnValue, $async$completer);
  88820. }
  88821. });
  88822. return A._asyncStartSync($async$visitNumberExpression$1, $async$completer);
  88823. },
  88824. visitParenthesizedExpression$1(_, node) {
  88825. var _this = this;
  88826. return _this._async_evaluate0$_assertInModule$2(_this._async_evaluate0$__stylesheet, "_stylesheet").plainCss ? A.throwExpression(_this._async_evaluate0$_exception$2("Parentheses aren't allowed in plain CSS.", node.span)) : node.expression.accept$1(_this);
  88827. },
  88828. visitColorExpression$1(_, node) {
  88829. return this.visitColorExpression$body$_EvaluateVisitor0(0, node);
  88830. },
  88831. visitColorExpression$body$_EvaluateVisitor0(_, node) {
  88832. var $async$goto = 0,
  88833. $async$completer = A._makeAsyncAwaitCompleter(type$.SassColor_2),
  88834. $async$returnValue;
  88835. var $async$visitColorExpression$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  88836. if ($async$errorCode === 1)
  88837. return A._asyncRethrow($async$result, $async$completer);
  88838. while (true)
  88839. switch ($async$goto) {
  88840. case 0:
  88841. // Function start
  88842. $async$returnValue = node.value;
  88843. // goto return
  88844. $async$goto = 1;
  88845. break;
  88846. case 1:
  88847. // return
  88848. return A._asyncReturn($async$returnValue, $async$completer);
  88849. }
  88850. });
  88851. return A._asyncStartSync($async$visitColorExpression$1, $async$completer);
  88852. },
  88853. visitListExpression$1(_, node) {
  88854. return this.visitListExpression$body$_EvaluateVisitor0(0, node);
  88855. },
  88856. visitListExpression$body$_EvaluateVisitor0(_, node) {
  88857. var $async$goto = 0,
  88858. $async$completer = A._makeAsyncAwaitCompleter(type$.SassList_2),
  88859. $async$returnValue, $async$self = this, $async$temp1;
  88860. var $async$visitListExpression$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  88861. if ($async$errorCode === 1)
  88862. return A._asyncRethrow($async$result, $async$completer);
  88863. while (true)
  88864. switch ($async$goto) {
  88865. case 0:
  88866. // Function start
  88867. $async$temp1 = A;
  88868. $async$goto = 3;
  88869. return A._asyncAwait(A.mapAsync0(node.contents, new A._EvaluateVisitor_visitListExpression_closure2($async$self), type$.Expression_2, type$.Value_2), $async$visitListExpression$1);
  88870. case 3:
  88871. // returning from await.
  88872. $async$returnValue = $async$temp1.SassList$0($async$result, node.separator, node.hasBrackets);
  88873. // goto return
  88874. $async$goto = 1;
  88875. break;
  88876. case 1:
  88877. // return
  88878. return A._asyncReturn($async$returnValue, $async$completer);
  88879. }
  88880. });
  88881. return A._asyncStartSync($async$visitListExpression$1, $async$completer);
  88882. },
  88883. visitMapExpression$1(_, node) {
  88884. return this.visitMapExpression$body$_EvaluateVisitor0(0, node);
  88885. },
  88886. visitMapExpression$body$_EvaluateVisitor0(_, node) {
  88887. var $async$goto = 0,
  88888. $async$completer = A._makeAsyncAwaitCompleter(type$.SassMap_2),
  88889. $async$returnValue, $async$self = this, t2, t3, _i, t4, key, keyValue, valueValue, oldValueSpan, t1, map, keyNodes;
  88890. var $async$visitMapExpression$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  88891. if ($async$errorCode === 1)
  88892. return A._asyncRethrow($async$result, $async$completer);
  88893. while (true)
  88894. switch ($async$goto) {
  88895. case 0:
  88896. // Function start
  88897. t1 = type$.Value_2;
  88898. map = A.LinkedHashMap_LinkedHashMap$_empty(t1, t1);
  88899. keyNodes = A.LinkedHashMap_LinkedHashMap$_empty(t1, type$.AstNode_2);
  88900. t2 = node.pairs, t3 = t2.length, _i = 0;
  88901. case 3:
  88902. // for condition
  88903. if (!(_i < t3)) {
  88904. // goto after for
  88905. $async$goto = 5;
  88906. break;
  88907. }
  88908. t4 = t2[_i];
  88909. key = t4._0;
  88910. $async$goto = 6;
  88911. return A._asyncAwait(key.accept$1($async$self), $async$visitMapExpression$1);
  88912. case 6:
  88913. // returning from await.
  88914. keyValue = $async$result;
  88915. $async$goto = 7;
  88916. return A._asyncAwait(t4._1.accept$1($async$self), $async$visitMapExpression$1);
  88917. case 7:
  88918. // returning from await.
  88919. valueValue = $async$result;
  88920. if (map.containsKey$1(keyValue)) {
  88921. t1 = keyNodes.$index(0, keyValue);
  88922. oldValueSpan = t1 == null ? null : t1.get$span(t1);
  88923. t1 = key.get$span(key);
  88924. t2 = A.LinkedHashMap_LinkedHashMap$_empty(type$.FileSpan, type$.String);
  88925. if (oldValueSpan != null)
  88926. t2.$indexSet(0, oldValueSpan, "first key");
  88927. throw A.wrapException(A.MultiSpanSassRuntimeException$0("Duplicate key.", t1, "second key", t2, $async$self._async_evaluate0$_stackTrace$1(key.get$span(key)), null));
  88928. }
  88929. map.$indexSet(0, keyValue, valueValue);
  88930. keyNodes.$indexSet(0, keyValue, key);
  88931. case 4:
  88932. // for update
  88933. ++_i;
  88934. // goto for condition
  88935. $async$goto = 3;
  88936. break;
  88937. case 5:
  88938. // after for
  88939. $async$returnValue = new A.SassMap0(A.ConstantMap_ConstantMap$from(map, t1, t1));
  88940. // goto return
  88941. $async$goto = 1;
  88942. break;
  88943. case 1:
  88944. // return
  88945. return A._asyncReturn($async$returnValue, $async$completer);
  88946. }
  88947. });
  88948. return A._asyncStartSync($async$visitMapExpression$1, $async$completer);
  88949. },
  88950. visitFunctionExpression$1(_, node) {
  88951. return this.visitFunctionExpression$body$_EvaluateVisitor0(0, node);
  88952. },
  88953. visitFunctionExpression$body$_EvaluateVisitor0(_, node) {
  88954. var $async$goto = 0,
  88955. $async$completer = A._makeAsyncAwaitCompleter(type$.Value_2),
  88956. $async$returnValue, $async$self = this, t2, _0_0, t3, t4, $name, oldInFunction, result, t1, $function;
  88957. var $async$visitFunctionExpression$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  88958. if ($async$errorCode === 1)
  88959. return A._asyncRethrow($async$result, $async$completer);
  88960. while (true)
  88961. switch ($async$goto) {
  88962. case 0:
  88963. // Function start
  88964. t1 = {};
  88965. $function = $async$self._async_evaluate0$_assertInModule$2($async$self._async_evaluate0$__stylesheet, "_stylesheet").plainCss ? null : $async$self._async_evaluate0$_addExceptionSpan$2(node, new A._EvaluateVisitor_visitFunctionExpression_closure8($async$self, node));
  88966. t1.$function = $function;
  88967. $async$goto = $function == null ? 3 : 5;
  88968. break;
  88969. case 3:
  88970. // then
  88971. if (node.namespace != null)
  88972. throw A.wrapException($async$self._async_evaluate0$_exception$2("Undefined function.", node.span));
  88973. t2 = node.name;
  88974. _0_0 = t2.toLowerCase();
  88975. t3 = false;
  88976. if ("min" === _0_0 || "max" === _0_0 || "round" === _0_0 || "abs" === _0_0) {
  88977. t3 = node.$arguments;
  88978. t4 = t3.named;
  88979. t3 = t4.get$isEmpty(t4) && t3.rest == null && B.JSArray_methods.every$1(t3.positional, new A._EvaluateVisitor_visitFunctionExpression_closure9());
  88980. $name = _0_0;
  88981. } else
  88982. $name = null;
  88983. $async$goto = t3 ? 6 : 7;
  88984. break;
  88985. case 6:
  88986. // then
  88987. $async$goto = 8;
  88988. return A._asyncAwait($async$self._async_evaluate0$_visitCalculation$2$inLegacySassFunction(node, $name), $async$visitFunctionExpression$1);
  88989. case 8:
  88990. // returning from await.
  88991. $async$returnValue = $async$result;
  88992. // goto return
  88993. $async$goto = 1;
  88994. break;
  88995. case 7:
  88996. // join
  88997. $async$goto = "calc" === _0_0 || "clamp" === _0_0 || "hypot" === _0_0 || "sin" === _0_0 || "cos" === _0_0 || "tan" === _0_0 || "asin" === _0_0 || "acos" === _0_0 || "atan" === _0_0 || "sqrt" === _0_0 || "exp" === _0_0 || "sign" === _0_0 || "mod" === _0_0 || "rem" === _0_0 || "atan2" === _0_0 || "pow" === _0_0 || "log" === _0_0 || "calc-size" === _0_0 ? 9 : 10;
  88998. break;
  88999. case 9:
  89000. // then
  89001. $async$goto = 11;
  89002. return A._asyncAwait($async$self._async_evaluate0$_visitCalculation$1(node), $async$visitFunctionExpression$1);
  89003. case 11:
  89004. // returning from await.
  89005. $async$returnValue = $async$result;
  89006. // goto return
  89007. $async$goto = 1;
  89008. break;
  89009. case 10:
  89010. // join
  89011. $function = $async$self._async_evaluate0$_assertInModule$2($async$self._async_evaluate0$__stylesheet, "_stylesheet").plainCss ? null : $async$self._async_evaluate0$_builtInFunctions.$index(0, t2);
  89012. t2 = t1.$function = $function == null ? new A.PlainCssCallable0(node.originalName) : $function;
  89013. // goto join
  89014. $async$goto = 4;
  89015. break;
  89016. case 5:
  89017. // else
  89018. t2 = $function;
  89019. case 4:
  89020. // join
  89021. if (B.JSString_methods.startsWith$1(node.originalName, "--") && t2 instanceof A.UserDefinedCallable0 && !B.JSString_methods.startsWith$1(t2.declaration.originalName, "--"))
  89022. $async$self._async_evaluate0$_warn$3(string$.Sassx20_f_, node.get$nameSpan(), B.Deprecation_d4j);
  89023. oldInFunction = $async$self._async_evaluate0$_inFunction;
  89024. $async$self._async_evaluate0$_inFunction = true;
  89025. $async$goto = 12;
  89026. return A._asyncAwait($async$self._async_evaluate0$_addErrorSpan$1$2(node, new A._EvaluateVisitor_visitFunctionExpression_closure10(t1, $async$self, node), type$.Value_2), $async$visitFunctionExpression$1);
  89027. case 12:
  89028. // returning from await.
  89029. result = $async$result;
  89030. $async$self._async_evaluate0$_inFunction = oldInFunction;
  89031. $async$returnValue = result;
  89032. // goto return
  89033. $async$goto = 1;
  89034. break;
  89035. case 1:
  89036. // return
  89037. return A._asyncReturn($async$returnValue, $async$completer);
  89038. }
  89039. });
  89040. return A._asyncStartSync($async$visitFunctionExpression$1, $async$completer);
  89041. },
  89042. _async_evaluate0$_visitCalculation$2$inLegacySassFunction(node, inLegacySassFunction) {
  89043. return this._visitCalculation$body$_EvaluateVisitor0(node, inLegacySassFunction);
  89044. },
  89045. _async_evaluate0$_visitCalculation$1(node) {
  89046. return this._async_evaluate0$_visitCalculation$2$inLegacySassFunction(node, null);
  89047. },
  89048. _visitCalculation$body$_EvaluateVisitor0(node, inLegacySassFunction) {
  89049. var $async$goto = 0,
  89050. $async$completer = A._makeAsyncAwaitCompleter(type$.Value_2),
  89051. $async$returnValue, $async$next = [], $async$self = this, $arguments, oldCallableNode, t1, _0_0, error, stackTrace, t4, _i, exception, t2, t3, $async$temp1;
  89052. var $async$_async_evaluate0$_visitCalculation$2$inLegacySassFunction = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  89053. if ($async$errorCode === 1)
  89054. return A._asyncRethrow($async$result, $async$completer);
  89055. while (true)
  89056. switch ($async$goto) {
  89057. case 0:
  89058. // Function start
  89059. t2 = node.$arguments;
  89060. t3 = t2.named;
  89061. if (t3.get$isNotEmpty(t3))
  89062. throw A.wrapException($async$self._async_evaluate0$_exception$2(string$.Keywor, node.span));
  89063. else if (t2.rest != null)
  89064. throw A.wrapException($async$self._async_evaluate0$_exception$2(string$.Rest_a, node.span));
  89065. $async$self._async_evaluate0$_checkCalculationArguments$1(node);
  89066. t3 = A._setArrayType([], type$.JSArray_Object);
  89067. t2 = t2.positional, t4 = t2.length, _i = 0;
  89068. case 3:
  89069. // for condition
  89070. if (!(_i < t4)) {
  89071. // goto after for
  89072. $async$goto = 5;
  89073. break;
  89074. }
  89075. $async$temp1 = t3;
  89076. $async$goto = 6;
  89077. return A._asyncAwait($async$self._async_evaluate0$_visitCalculationExpression$2$inLegacySassFunction(t2[_i], inLegacySassFunction), $async$_async_evaluate0$_visitCalculation$2$inLegacySassFunction);
  89078. case 6:
  89079. // returning from await.
  89080. $async$temp1.push($async$result);
  89081. case 4:
  89082. // for update
  89083. ++_i;
  89084. // goto for condition
  89085. $async$goto = 3;
  89086. break;
  89087. case 5:
  89088. // after for
  89089. $arguments = t3;
  89090. if ($async$self._async_evaluate0$_inSupportsDeclaration) {
  89091. $async$returnValue = new A.SassCalculation0(node.name, A.List_List$unmodifiable($arguments, type$.Object));
  89092. // goto return
  89093. $async$goto = 1;
  89094. break;
  89095. }
  89096. oldCallableNode = $async$self._async_evaluate0$_callableNode;
  89097. $async$self._async_evaluate0$_callableNode = node;
  89098. try {
  89099. t1 = null;
  89100. t3 = node.name;
  89101. _0_0 = t3.toLowerCase();
  89102. $label0$0: {
  89103. if ("calc" === _0_0) {
  89104. t1 = A.SassCalculation_calc0(J.$index$asx($arguments, 0));
  89105. break $label0$0;
  89106. }
  89107. if ("sqrt" === _0_0) {
  89108. t1 = A.SassCalculation__singleArgument0("sqrt", J.$index$asx($arguments, 0), A.number2__sqrt$closure(), true);
  89109. break $label0$0;
  89110. }
  89111. if ("sin" === _0_0) {
  89112. t1 = A.SassCalculation__singleArgument0("sin", J.$index$asx($arguments, 0), A.number2__sin$closure(), false);
  89113. break $label0$0;
  89114. }
  89115. if ("cos" === _0_0) {
  89116. t1 = A.SassCalculation__singleArgument0("cos", J.$index$asx($arguments, 0), A.number2__cos$closure(), false);
  89117. break $label0$0;
  89118. }
  89119. if ("tan" === _0_0) {
  89120. t1 = A.SassCalculation__singleArgument0("tan", J.$index$asx($arguments, 0), A.number2__tan$closure(), false);
  89121. break $label0$0;
  89122. }
  89123. if ("asin" === _0_0) {
  89124. t1 = A.SassCalculation__singleArgument0("asin", J.$index$asx($arguments, 0), A.number2__asin$closure(), true);
  89125. break $label0$0;
  89126. }
  89127. if ("acos" === _0_0) {
  89128. t1 = A.SassCalculation__singleArgument0("acos", J.$index$asx($arguments, 0), A.number2__acos$closure(), true);
  89129. break $label0$0;
  89130. }
  89131. if ("atan" === _0_0) {
  89132. t1 = A.SassCalculation__singleArgument0("atan", J.$index$asx($arguments, 0), A.number2__atan$closure(), true);
  89133. break $label0$0;
  89134. }
  89135. if ("abs" === _0_0) {
  89136. t1 = A.SassCalculation_abs0(J.$index$asx($arguments, 0));
  89137. break $label0$0;
  89138. }
  89139. if ("exp" === _0_0) {
  89140. t1 = A.SassCalculation_exp0(J.$index$asx($arguments, 0));
  89141. break $label0$0;
  89142. }
  89143. if ("sign" === _0_0) {
  89144. t1 = A.SassCalculation_sign0(J.$index$asx($arguments, 0));
  89145. break $label0$0;
  89146. }
  89147. if ("min" === _0_0) {
  89148. t1 = A.SassCalculation_min0($arguments);
  89149. break $label0$0;
  89150. }
  89151. if ("max" === _0_0) {
  89152. t1 = A.SassCalculation_max0($arguments);
  89153. break $label0$0;
  89154. }
  89155. if ("hypot" === _0_0) {
  89156. t1 = A.SassCalculation_hypot0($arguments);
  89157. break $label0$0;
  89158. }
  89159. if ("pow" === _0_0) {
  89160. t1 = A.SassCalculation_pow0(J.$index$asx($arguments, 0), A.ListExtensions_elementAtOrNull($arguments, 1));
  89161. break $label0$0;
  89162. }
  89163. if ("atan2" === _0_0) {
  89164. t1 = A.SassCalculation_atan20(J.$index$asx($arguments, 0), A.ListExtensions_elementAtOrNull($arguments, 1));
  89165. break $label0$0;
  89166. }
  89167. if ("log" === _0_0) {
  89168. t1 = A.SassCalculation_log0(J.$index$asx($arguments, 0), A.ListExtensions_elementAtOrNull($arguments, 1));
  89169. break $label0$0;
  89170. }
  89171. if ("mod" === _0_0) {
  89172. t1 = A.SassCalculation_mod0(J.$index$asx($arguments, 0), A.ListExtensions_elementAtOrNull($arguments, 1));
  89173. break $label0$0;
  89174. }
  89175. if ("rem" === _0_0) {
  89176. t1 = A.SassCalculation_rem0(J.$index$asx($arguments, 0), A.ListExtensions_elementAtOrNull($arguments, 1));
  89177. break $label0$0;
  89178. }
  89179. if ("round" === _0_0) {
  89180. t1 = A.SassCalculation_roundInternal0(J.$index$asx($arguments, 0), A.ListExtensions_elementAtOrNull($arguments, 1), A.ListExtensions_elementAtOrNull($arguments, 2), inLegacySassFunction, node.span, new A._EvaluateVisitor__visitCalculation_closure2($async$self, node));
  89181. break $label0$0;
  89182. }
  89183. if ("clamp" === _0_0) {
  89184. t1 = A.SassCalculation_clamp0(J.$index$asx($arguments, 0), A.ListExtensions_elementAtOrNull($arguments, 1), A.ListExtensions_elementAtOrNull($arguments, 2));
  89185. break $label0$0;
  89186. }
  89187. if ("calc-size" === _0_0) {
  89188. t1 = A.SassCalculation_calcSize0(J.$index$asx($arguments, 0), A.ListExtensions_elementAtOrNull($arguments, 1));
  89189. break $label0$0;
  89190. }
  89191. t3 = A.UnsupportedError$('Unknown calculation name "' + t3 + '".');
  89192. t1 = A.throwExpression(t3);
  89193. }
  89194. t1 = t1;
  89195. $async$returnValue = t1;
  89196. // goto return
  89197. $async$goto = 1;
  89198. break;
  89199. } catch (exception) {
  89200. t1 = A.unwrapException(exception);
  89201. if (t1 instanceof A.SassScriptException0) {
  89202. error = t1;
  89203. stackTrace = A.getTraceFromException(exception);
  89204. if (B.JSString_methods.contains$1(error.message, "compatible"))
  89205. $async$self._async_evaluate0$_verifyCompatibleNumbers$2($arguments, t2);
  89206. A.throwWithTrace0($async$self._async_evaluate0$_exception$2(error.message, node.span), error, stackTrace);
  89207. } else
  89208. throw exception;
  89209. } finally {
  89210. $async$self._async_evaluate0$_callableNode = oldCallableNode;
  89211. }
  89212. case 1:
  89213. // return
  89214. return A._asyncReturn($async$returnValue, $async$completer);
  89215. }
  89216. });
  89217. return A._asyncStartSync($async$_async_evaluate0$_visitCalculation$2$inLegacySassFunction, $async$completer);
  89218. },
  89219. _async_evaluate0$_checkCalculationArguments$1(node) {
  89220. var t1, _0_0,
  89221. check = new A._EvaluateVisitor__checkCalculationArguments_check2(this, node);
  89222. $label0$0: {
  89223. t1 = node.name;
  89224. _0_0 = t1.toLowerCase();
  89225. if ("calc" === _0_0 || "sqrt" === _0_0 || "sin" === _0_0 || "cos" === _0_0 || "tan" === _0_0 || "asin" === _0_0 || "acos" === _0_0 || "atan" === _0_0 || "abs" === _0_0 || "exp" === _0_0 || "sign" === _0_0) {
  89226. check.call$1(1);
  89227. break $label0$0;
  89228. }
  89229. if ("min" === _0_0 || "max" === _0_0 || "hypot" === _0_0) {
  89230. check.call$0();
  89231. break $label0$0;
  89232. }
  89233. if ("pow" === _0_0 || "atan2" === _0_0 || "log" === _0_0 || "mod" === _0_0 || "rem" === _0_0 || "calc-size" === _0_0) {
  89234. check.call$1(2);
  89235. break $label0$0;
  89236. }
  89237. if ("round" === _0_0 || "clamp" === _0_0) {
  89238. check.call$1(3);
  89239. break $label0$0;
  89240. }
  89241. throw A.wrapException(A.UnsupportedError$('Unknown calculation name "' + t1 + '".'));
  89242. }
  89243. },
  89244. _async_evaluate0$_verifyCompatibleNumbers$2(args, nodesWithSpans) {
  89245. var i, t1, _0_0, arg, t2, number1, j, number2, t3, t4, t5, t6;
  89246. for (i = 0; t1 = args.length, i < t1; ++i) {
  89247. _0_0 = args[i];
  89248. if (_0_0 instanceof A.SassNumber0) {
  89249. t1 = _0_0.get$hasComplexUnits();
  89250. arg = _0_0;
  89251. } else {
  89252. arg = null;
  89253. t1 = false;
  89254. }
  89255. if (t1) {
  89256. t1 = A.S(arg);
  89257. t2 = nodesWithSpans[i];
  89258. throw A.wrapException(this._async_evaluate0$_exception$2("Number " + t1 + " isn't compatible with CSS calculations.", t2.get$span(t2)));
  89259. }
  89260. }
  89261. for (i = 0; i < t1 - 1; ++i) {
  89262. number1 = args[i];
  89263. if (!(number1 instanceof A.SassNumber0))
  89264. continue;
  89265. for (j = i + 1; t1 = args.length, j < t1; ++j) {
  89266. number2 = args[j];
  89267. if (!(number2 instanceof A.SassNumber0))
  89268. continue;
  89269. if (number1.hasPossiblyCompatibleUnits$1(number2))
  89270. continue;
  89271. t1 = number1.toString$0(0);
  89272. t2 = number2.toString$0(0);
  89273. t3 = nodesWithSpans[i];
  89274. t3 = t3.get$span(t3);
  89275. t4 = number1.toString$0(0);
  89276. t5 = nodesWithSpans[j];
  89277. t5 = A.LinkedHashMap_LinkedHashMap$_literal([t5.get$span(t5), number2.toString$0(0)], type$.FileSpan, type$.String);
  89278. t6 = nodesWithSpans[i];
  89279. throw A.wrapException(A.MultiSpanSassRuntimeException$0(t1 + " and " + t2 + " are incompatible.", t3, t4, t5, this._async_evaluate0$_stackTrace$1(t6.get$span(t6)), null));
  89280. }
  89281. }
  89282. },
  89283. _async_evaluate0$_visitCalculationExpression$2$inLegacySassFunction(node, inLegacySassFunction) {
  89284. return this._visitCalculationExpression$body$_EvaluateVisitor0(node, inLegacySassFunction);
  89285. },
  89286. _visitCalculationExpression$body$_EvaluateVisitor0(node, inLegacySassFunction) {
  89287. var $async$goto = 0,
  89288. $async$completer = A._makeAsyncAwaitCompleter(type$.Object),
  89289. $async$returnValue, $async$self = this, result, t2, _0_0, _box_0, _1_0, t3, _i, i, t1, inner, $async$temp1;
  89290. var $async$_async_evaluate0$_visitCalculationExpression$2$inLegacySassFunction = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  89291. if ($async$errorCode === 1)
  89292. return A._asyncRethrow($async$result, $async$completer);
  89293. while (true)
  89294. switch ($async$goto) {
  89295. case 0:
  89296. // Function start
  89297. t1 = node instanceof A.ParenthesizedExpression0;
  89298. inner = t1 ? node.expression : null;
  89299. $async$goto = t1 ? 3 : 4;
  89300. break;
  89301. case 3:
  89302. // then
  89303. $async$goto = 5;
  89304. return A._asyncAwait($async$self._async_evaluate0$_visitCalculationExpression$2$inLegacySassFunction(inner, inLegacySassFunction), $async$_async_evaluate0$_visitCalculationExpression$2$inLegacySassFunction);
  89305. case 5:
  89306. // returning from await.
  89307. result = $async$result;
  89308. $async$returnValue = result instanceof A.SassString0 ? new A.SassString0("(" + result._string0$_text + ")", false) : result;
  89309. // goto return
  89310. $async$goto = 1;
  89311. break;
  89312. case 4:
  89313. // join
  89314. $async$goto = node instanceof A.StringExpression0 && node.accept$1(B.C_IsCalculationSafeVisitor0) ? 6 : 7;
  89315. break;
  89316. case 6:
  89317. // then
  89318. t1 = node.text;
  89319. t2 = t1.get$asPlain();
  89320. _0_0 = t2 == null ? null : t2.toLowerCase();
  89321. if ("pi" === _0_0) {
  89322. t1 = A.SassNumber_SassNumber0(3.141592653589793, null);
  89323. // goto break $label0$0
  89324. $async$goto = 8;
  89325. break;
  89326. }
  89327. if ("e" === _0_0) {
  89328. t1 = A.SassNumber_SassNumber0(2.718281828459045, null);
  89329. // goto break $label0$0
  89330. $async$goto = 8;
  89331. break;
  89332. }
  89333. if ("infinity" === _0_0) {
  89334. t1 = A.SassNumber_SassNumber0(1 / 0, null);
  89335. // goto break $label0$0
  89336. $async$goto = 8;
  89337. break;
  89338. }
  89339. if ("-infinity" === _0_0) {
  89340. t1 = A.SassNumber_SassNumber0(-1 / 0, null);
  89341. // goto break $label0$0
  89342. $async$goto = 8;
  89343. break;
  89344. }
  89345. if ("nan" === _0_0) {
  89346. t1 = A.SassNumber_SassNumber0(0 / 0, null);
  89347. // goto break $label0$0
  89348. $async$goto = 8;
  89349. break;
  89350. }
  89351. $async$temp1 = A;
  89352. $async$goto = 9;
  89353. return A._asyncAwait($async$self._async_evaluate0$_performInterpolation$1(t1), $async$_async_evaluate0$_visitCalculationExpression$2$inLegacySassFunction);
  89354. case 9:
  89355. // returning from await.
  89356. t1 = new $async$temp1.SassString0($async$result, false);
  89357. // goto break $label0$0
  89358. $async$goto = 8;
  89359. break;
  89360. case 8:
  89361. // break $label0$0
  89362. $async$returnValue = t1;
  89363. // goto return
  89364. $async$goto = 1;
  89365. break;
  89366. case 7:
  89367. // join
  89368. _box_0 = {};
  89369. _box_0.right = _box_0.left = _box_0.operator = null;
  89370. t1 = node instanceof A.BinaryOperationExpression0;
  89371. if (t1) {
  89372. _box_0.operator = node.operator;
  89373. _box_0.left = node.left;
  89374. _box_0.right = node.right;
  89375. }
  89376. $async$goto = t1 ? 10 : 11;
  89377. break;
  89378. case 10:
  89379. // then
  89380. $async$self._async_evaluate0$_checkWhitespaceAroundCalculationOperator$1(node);
  89381. $async$goto = 12;
  89382. return A._asyncAwait($async$self._async_evaluate0$_addExceptionSpanAsync$1$2(node, new A._EvaluateVisitor__visitCalculationExpression_closure2(_box_0, $async$self, node, inLegacySassFunction), type$.Object), $async$_async_evaluate0$_visitCalculationExpression$2$inLegacySassFunction);
  89383. case 12:
  89384. // returning from await.
  89385. $async$returnValue = $async$result;
  89386. // goto return
  89387. $async$goto = 1;
  89388. break;
  89389. case 11:
  89390. // join
  89391. $async$goto = node instanceof A.NumberExpression0 || node instanceof A.VariableExpression0 || node instanceof A.FunctionExpression0 || node instanceof A.IfExpression0 ? 13 : 14;
  89392. break;
  89393. case 13:
  89394. // then
  89395. $async$goto = 15;
  89396. return A._asyncAwait(node.accept$1($async$self), $async$_async_evaluate0$_visitCalculationExpression$2$inLegacySassFunction);
  89397. case 15:
  89398. // returning from await.
  89399. _1_0 = $async$result;
  89400. $label1$1: {
  89401. if (_1_0 instanceof A.SassNumber0) {
  89402. t1 = _1_0;
  89403. break $label1$1;
  89404. }
  89405. if (_1_0 instanceof A.SassCalculation0) {
  89406. t1 = _1_0;
  89407. break $label1$1;
  89408. }
  89409. if (_1_0 instanceof A.SassString0) {
  89410. t1 = !_1_0._string0$_hasQuotes;
  89411. result = _1_0;
  89412. } else {
  89413. result = null;
  89414. t1 = false;
  89415. }
  89416. if (t1) {
  89417. t1 = result;
  89418. break $label1$1;
  89419. }
  89420. t1 = A.throwExpression($async$self._async_evaluate0$_exception$2("Value " + _1_0.toString$0(0) + " can't be used in a calculation.", node.get$span(node)));
  89421. }
  89422. $async$returnValue = t1;
  89423. // goto return
  89424. $async$goto = 1;
  89425. break;
  89426. case 14:
  89427. // join
  89428. $async$goto = node instanceof A.ListExpression0 && !node.hasBrackets && B.ListSeparator_qSL0 === node.separator && node.contents.length >= 2 ? 16 : 17;
  89429. break;
  89430. case 16:
  89431. // then
  89432. t1 = A._setArrayType([], type$.JSArray_Object);
  89433. t2 = node.contents, t3 = t2.length, _i = 0;
  89434. case 18:
  89435. // for condition
  89436. if (!(_i < t3)) {
  89437. // goto after for
  89438. $async$goto = 20;
  89439. break;
  89440. }
  89441. $async$temp1 = t1;
  89442. $async$goto = 21;
  89443. return A._asyncAwait($async$self._async_evaluate0$_visitCalculationExpression$2$inLegacySassFunction(t2[_i], inLegacySassFunction), $async$_async_evaluate0$_visitCalculationExpression$2$inLegacySassFunction);
  89444. case 21:
  89445. // returning from await.
  89446. $async$temp1.push($async$result);
  89447. case 19:
  89448. // for update
  89449. ++_i;
  89450. // goto for condition
  89451. $async$goto = 18;
  89452. break;
  89453. case 20:
  89454. // after for
  89455. $async$self._async_evaluate0$_checkAdjacentCalculationValues$2(t1, node);
  89456. for (i = 0; i < t1.length; ++i) {
  89457. t3 = t1[i];
  89458. if (t3 instanceof A.CalculationOperation0 && t2[i] instanceof A.ParenthesizedExpression0)
  89459. t1[i] = new A.SassString0("(" + t3.toString$0(0) + ")", false);
  89460. }
  89461. $async$returnValue = new A.SassString0(B.JSArray_methods.join$1(t1, " "), false);
  89462. // goto return
  89463. $async$goto = 1;
  89464. break;
  89465. case 17:
  89466. // join
  89467. throw A.wrapException($async$self._async_evaluate0$_exception$2(string$.This_e, node.get$span(node)));
  89468. case 1:
  89469. // return
  89470. return A._asyncReturn($async$returnValue, $async$completer);
  89471. }
  89472. });
  89473. return A._asyncStartSync($async$_async_evaluate0$_visitCalculationExpression$2$inLegacySassFunction, $async$completer);
  89474. },
  89475. _async_evaluate0$_checkWhitespaceAroundCalculationOperator$1(node) {
  89476. var t2, t3, t4, textBetweenOperands, first, last,
  89477. t1 = node.operator;
  89478. if (t1 !== B.BinaryOperator_Swh0 && t1 !== B.BinaryOperator_QG10)
  89479. return;
  89480. t1 = node.left;
  89481. t2 = t1.get$span(t1);
  89482. t2 = t2.get$file(t2);
  89483. t3 = node.right;
  89484. t4 = t3.get$span(t3);
  89485. if (t2 !== t4.get$file(t4))
  89486. return;
  89487. t2 = t1.get$span(t1);
  89488. t2 = t2.get$end(t2);
  89489. t4 = t3.get$span(t3);
  89490. if (t2.offset >= t4.get$start(t4).offset)
  89491. return;
  89492. t2 = t1.get$span(t1);
  89493. t2 = t2.get$file(t2);
  89494. t1 = t1.get$span(t1);
  89495. t1 = t1.get$end(t1);
  89496. t3 = t3.get$span(t3);
  89497. textBetweenOperands = A.String_String$fromCharCodes(B.NativeUint32List_methods.sublist$2(t2._decodedChars, t1.offset, t3.get$start(t3).offset), 0, null);
  89498. first = textBetweenOperands.charCodeAt(0);
  89499. last = textBetweenOperands.charCodeAt(textBetweenOperands.length - 1);
  89500. if (first === 32 || first === 9 || first === 10 || first === 13 || first === 12 || first === 47)
  89501. t1 = !(last === 32 || last === 9 || last === 10 || last === 13 || last === 12 || last === 47);
  89502. else
  89503. t1 = true;
  89504. if (t1)
  89505. throw A.wrapException(this._async_evaluate0$_exception$2(string$.x22x2b__an, node.get$operatorSpan()));
  89506. },
  89507. _async_evaluate0$_binaryOperatorToCalculationOperator$2(operator, node) {
  89508. var t1;
  89509. $label0$0: {
  89510. if (B.BinaryOperator_Swh0 === operator) {
  89511. t1 = B.CalculationOperator_F7i0;
  89512. break $label0$0;
  89513. }
  89514. if (B.BinaryOperator_QG10 === operator) {
  89515. t1 = B.CalculationOperator_oum0;
  89516. break $label0$0;
  89517. }
  89518. if (B.BinaryOperator_tht0 === operator) {
  89519. t1 = B.CalculationOperator_kkN0;
  89520. break $label0$0;
  89521. }
  89522. if (B.BinaryOperator_Mh50 === operator) {
  89523. t1 = B.CalculationOperator_bo50;
  89524. break $label0$0;
  89525. }
  89526. t1 = A.throwExpression(this._async_evaluate0$_exception$2(string$.This_o, node.get$operatorSpan()));
  89527. }
  89528. return t1;
  89529. },
  89530. _async_evaluate0$_checkAdjacentCalculationValues$2(elements, node) {
  89531. var t1, i, t2, previous, current, previousNode, currentNode, _0_2;
  89532. for (t1 = elements.length, i = 1; i < t1; ++i) {
  89533. t2 = i - 1;
  89534. previous = elements[t2];
  89535. current = elements[i];
  89536. if (previous instanceof A.SassString0 || current instanceof A.SassString0)
  89537. continue;
  89538. t1 = node.contents;
  89539. previousNode = t1[t2];
  89540. currentNode = t1[i];
  89541. if (currentNode instanceof A.UnaryOperationExpression0) {
  89542. _0_2 = currentNode.operator;
  89543. if (B.UnaryOperator_UCP0 !== _0_2)
  89544. t1 = B.UnaryOperator_Rbl0 === _0_2;
  89545. else
  89546. t1 = true;
  89547. } else
  89548. t1 = false;
  89549. if (!t1)
  89550. t1 = currentNode instanceof A.NumberExpression0 && currentNode.value < 0;
  89551. else
  89552. t1 = true;
  89553. if (t1)
  89554. throw A.wrapException(this._async_evaluate0$_exception$2(string$.x22x2b__an, A.FileSpanExtension_subspan(currentNode.get$span(currentNode), 0, 1)));
  89555. else
  89556. throw A.wrapException(this._async_evaluate0$_exception$2("Missing math operator.", previousNode.get$span(previousNode).expand$1(0, currentNode.get$span(currentNode))));
  89557. }
  89558. },
  89559. visitInterpolatedFunctionExpression$1(_, node) {
  89560. return this.visitInterpolatedFunctionExpression$body$_EvaluateVisitor0(0, node);
  89561. },
  89562. visitInterpolatedFunctionExpression$body$_EvaluateVisitor0(_, node) {
  89563. var $async$goto = 0,
  89564. $async$completer = A._makeAsyncAwaitCompleter(type$.Value_2),
  89565. $async$returnValue, $async$self = this, result, t1, oldInFunction;
  89566. var $async$visitInterpolatedFunctionExpression$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  89567. if ($async$errorCode === 1)
  89568. return A._asyncRethrow($async$result, $async$completer);
  89569. while (true)
  89570. switch ($async$goto) {
  89571. case 0:
  89572. // Function start
  89573. $async$goto = 3;
  89574. return A._asyncAwait($async$self._async_evaluate0$_performInterpolation$1(node.name), $async$visitInterpolatedFunctionExpression$1);
  89575. case 3:
  89576. // returning from await.
  89577. t1 = $async$result;
  89578. oldInFunction = $async$self._async_evaluate0$_inFunction;
  89579. $async$self._async_evaluate0$_inFunction = true;
  89580. $async$goto = 4;
  89581. 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);
  89582. case 4:
  89583. // returning from await.
  89584. result = $async$result;
  89585. $async$self._async_evaluate0$_inFunction = oldInFunction;
  89586. $async$returnValue = result;
  89587. // goto return
  89588. $async$goto = 1;
  89589. break;
  89590. case 1:
  89591. // return
  89592. return A._asyncReturn($async$returnValue, $async$completer);
  89593. }
  89594. });
  89595. return A._asyncStartSync($async$visitInterpolatedFunctionExpression$1, $async$completer);
  89596. },
  89597. _async_evaluate0$_runUserDefinedCallable$1$4($arguments, callable, nodeWithSpan, run, $V) {
  89598. return this._runUserDefinedCallable$body$_EvaluateVisitor0($arguments, callable, nodeWithSpan, run, $V, $V);
  89599. },
  89600. _runUserDefinedCallable$body$_EvaluateVisitor0($arguments, callable, nodeWithSpan, run, $V, $async$type) {
  89601. var $async$goto = 0,
  89602. $async$completer = A._makeAsyncAwaitCompleter($async$type),
  89603. $async$returnValue, $async$self = this, oldInDependency, result, evaluated, $name;
  89604. var $async$_async_evaluate0$_runUserDefinedCallable$1$4 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  89605. if ($async$errorCode === 1)
  89606. return A._asyncRethrow($async$result, $async$completer);
  89607. while (true)
  89608. switch ($async$goto) {
  89609. case 0:
  89610. // Function start
  89611. $async$goto = 3;
  89612. return A._asyncAwait($async$self._async_evaluate0$_evaluateArguments$1($arguments), $async$_async_evaluate0$_runUserDefinedCallable$1$4);
  89613. case 3:
  89614. // returning from await.
  89615. evaluated = $async$result;
  89616. $name = callable.declaration.name;
  89617. if ($name !== "@content")
  89618. $name += "()";
  89619. oldInDependency = $async$self._async_evaluate0$_inDependency;
  89620. $async$self._async_evaluate0$_inDependency = callable.inDependency;
  89621. $async$goto = 4;
  89622. 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);
  89623. case 4:
  89624. // returning from await.
  89625. result = $async$result;
  89626. $async$self._async_evaluate0$_inDependency = oldInDependency;
  89627. $async$returnValue = result;
  89628. // goto return
  89629. $async$goto = 1;
  89630. break;
  89631. case 1:
  89632. // return
  89633. return A._asyncReturn($async$returnValue, $async$completer);
  89634. }
  89635. });
  89636. return A._asyncStartSync($async$_async_evaluate0$_runUserDefinedCallable$1$4, $async$completer);
  89637. },
  89638. _async_evaluate0$_runFunctionCallable$3($arguments, callable, nodeWithSpan) {
  89639. return this._runFunctionCallable$body$_EvaluateVisitor0($arguments, callable, nodeWithSpan);
  89640. },
  89641. _runFunctionCallable$body$_EvaluateVisitor0($arguments, callable, nodeWithSpan) {
  89642. var $async$goto = 0,
  89643. $async$completer = A._makeAsyncAwaitCompleter(type$.Value_2),
  89644. $async$returnValue, $async$handler = 2, $async$errorStack = [], $async$self = this, buffer, first, argument, restArg, rest, error, t1, t2, _i, t3, t4, exception, $async$exception, $async$temp1;
  89645. var $async$_async_evaluate0$_runFunctionCallable$3 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  89646. if ($async$errorCode === 1) {
  89647. $async$errorStack.push($async$result);
  89648. $async$goto = $async$handler;
  89649. }
  89650. while (true)
  89651. switch ($async$goto) {
  89652. case 0:
  89653. // Function start
  89654. $async$goto = type$.AsyncBuiltInCallable_2._is(callable) ? 3 : 5;
  89655. break;
  89656. case 3:
  89657. // then
  89658. $async$goto = 6;
  89659. return A._asyncAwait($async$self._async_evaluate0$_runBuiltInCallable$3($arguments, callable, nodeWithSpan), $async$_async_evaluate0$_runFunctionCallable$3);
  89660. case 6:
  89661. // returning from await.
  89662. $async$returnValue = $async$self._async_evaluate0$_withoutSlash$2($async$result, nodeWithSpan);
  89663. // goto return
  89664. $async$goto = 1;
  89665. break;
  89666. // goto join
  89667. $async$goto = 4;
  89668. break;
  89669. case 5:
  89670. // else
  89671. $async$goto = type$.UserDefinedCallable_AsyncEnvironment_2._is(callable) ? 7 : 9;
  89672. break;
  89673. case 7:
  89674. // then
  89675. $async$goto = 10;
  89676. 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);
  89677. case 10:
  89678. // returning from await.
  89679. $async$returnValue = $async$result;
  89680. // goto return
  89681. $async$goto = 1;
  89682. break;
  89683. // goto join
  89684. $async$goto = 8;
  89685. break;
  89686. case 9:
  89687. // else
  89688. $async$goto = callable instanceof A.PlainCssCallable0 ? 11 : 13;
  89689. break;
  89690. case 11:
  89691. // then
  89692. t1 = $arguments.named;
  89693. if (t1.get$isNotEmpty(t1) || $arguments.keywordRest != null)
  89694. throw A.wrapException($async$self._async_evaluate0$_exception$2(string$.Plain_, nodeWithSpan.get$span(nodeWithSpan)));
  89695. buffer = new A.StringBuffer(callable.name + "(");
  89696. $async$handler = 15;
  89697. first = true;
  89698. t1 = $arguments.positional, t2 = t1.length, _i = 0;
  89699. case 18:
  89700. // for condition
  89701. if (!(_i < t2)) {
  89702. // goto after for
  89703. $async$goto = 20;
  89704. break;
  89705. }
  89706. argument = t1[_i];
  89707. if (first)
  89708. first = false;
  89709. else
  89710. buffer._contents += ", ";
  89711. t3 = buffer;
  89712. $async$temp1 = A;
  89713. $async$goto = 21;
  89714. return A._asyncAwait($async$self._async_evaluate0$_evaluateToCss$1(argument), $async$_async_evaluate0$_runFunctionCallable$3);
  89715. case 21:
  89716. // returning from await.
  89717. t4 = $async$temp1.S($async$result);
  89718. t3._contents += t4;
  89719. case 19:
  89720. // for update
  89721. ++_i;
  89722. // goto for condition
  89723. $async$goto = 18;
  89724. break;
  89725. case 20:
  89726. // after for
  89727. restArg = $arguments.rest;
  89728. $async$goto = restArg != null ? 22 : 23;
  89729. break;
  89730. case 22:
  89731. // then
  89732. $async$goto = 24;
  89733. return A._asyncAwait(restArg.accept$1($async$self), $async$_async_evaluate0$_runFunctionCallable$3);
  89734. case 24:
  89735. // returning from await.
  89736. rest = $async$result;
  89737. if (!first)
  89738. buffer._contents += ", ";
  89739. t1 = buffer;
  89740. t2 = $async$self._async_evaluate0$_serialize$2(rest, restArg);
  89741. t1._contents += t2;
  89742. case 23:
  89743. // join
  89744. $async$handler = 2;
  89745. // goto after finally
  89746. $async$goto = 17;
  89747. break;
  89748. case 15:
  89749. // catch
  89750. $async$handler = 14;
  89751. $async$exception = $async$errorStack.pop();
  89752. t1 = A.unwrapException($async$exception);
  89753. if (type$.SassRuntimeException_2._is(t1)) {
  89754. error = t1;
  89755. if (!B.JSString_methods.endsWith$1(error._span_exception$_message, "isn't a valid CSS value."))
  89756. throw $async$exception;
  89757. throw A.wrapException(A.MultiSpanSassRuntimeException$0(error._span_exception$_message, J.get$span$z(error), "value", A.LinkedHashMap_LinkedHashMap$_literal([nodeWithSpan.get$span(nodeWithSpan), "unknown function treated as plain CSS"], type$.FileSpan, type$.String), J.get$trace$z(error), null));
  89758. } else
  89759. throw $async$exception;
  89760. // goto after finally
  89761. $async$goto = 17;
  89762. break;
  89763. case 14:
  89764. // uncaught
  89765. // goto rethrow
  89766. $async$goto = 2;
  89767. break;
  89768. case 17:
  89769. // after finally
  89770. t1 = buffer;
  89771. t2 = A.Primitives_stringFromCharCode(41);
  89772. t1._contents += t2;
  89773. t2 = buffer._contents;
  89774. $async$returnValue = new A.SassString0(t2.charCodeAt(0) == 0 ? t2 : t2, false);
  89775. // goto return
  89776. $async$goto = 1;
  89777. break;
  89778. // goto join
  89779. $async$goto = 12;
  89780. break;
  89781. case 13:
  89782. // else
  89783. throw A.wrapException(A.ArgumentError$("Unknown callable type " + J.get$runtimeType$(callable).toString$0(0) + ".", null));
  89784. case 12:
  89785. // join
  89786. case 8:
  89787. // join
  89788. case 4:
  89789. // join
  89790. case 1:
  89791. // return
  89792. return A._asyncReturn($async$returnValue, $async$completer);
  89793. case 2:
  89794. // rethrow
  89795. return A._asyncRethrow($async$errorStack.at(-1), $async$completer);
  89796. }
  89797. });
  89798. return A._asyncStartSync($async$_async_evaluate0$_runFunctionCallable$3, $async$completer);
  89799. },
  89800. _async_evaluate0$_runBuiltInCallable$3($arguments, callable, nodeWithSpan) {
  89801. return this._runBuiltInCallable$body$_EvaluateVisitor0($arguments, callable, nodeWithSpan);
  89802. },
  89803. _runBuiltInCallable$body$_EvaluateVisitor0($arguments, callable, nodeWithSpan) {
  89804. var $async$goto = 0,
  89805. $async$completer = A._makeAsyncAwaitCompleter(type$.Value_2),
  89806. $async$returnValue, $async$handler = 2, $async$errorStack = [], $async$self = this, result, error, stackTrace, namedSet, _0_0, parameters, i, t1, t2, t3, parameter, t4, t5, t6, t7, rest, argumentList, exception, _box_0, evaluated, oldCallableNode, $async$exception;
  89807. var $async$_async_evaluate0$_runBuiltInCallable$3 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  89808. if ($async$errorCode === 1) {
  89809. $async$errorStack.push($async$result);
  89810. $async$goto = $async$handler;
  89811. }
  89812. while (true)
  89813. switch ($async$goto) {
  89814. case 0:
  89815. // Function start
  89816. _box_0 = {};
  89817. $async$goto = 3;
  89818. return A._asyncAwait($async$self._async_evaluate0$_evaluateArguments$1($arguments), $async$_async_evaluate0$_runBuiltInCallable$3);
  89819. case 3:
  89820. // returning from await.
  89821. evaluated = $async$result;
  89822. oldCallableNode = $async$self._async_evaluate0$_callableNode;
  89823. $async$self._async_evaluate0$_callableNode = nodeWithSpan;
  89824. namedSet = new A.MapKeySet(evaluated._values[0], type$.MapKeySet_String);
  89825. _box_0.callback = _box_0.overload = null;
  89826. _0_0 = callable.callbackFor$2(J.get$length$asx(evaluated._values[2]), namedSet);
  89827. _box_0.overload = _0_0._0;
  89828. _box_0.callback = _0_0._1;
  89829. $async$self._async_evaluate0$_addExceptionSpan$2(nodeWithSpan, new A._EvaluateVisitor__runBuiltInCallable_closure8(_box_0, evaluated, namedSet));
  89830. parameters = _box_0.overload.parameters;
  89831. i = J.get$length$asx(evaluated._values[2]), t1 = parameters.length, t2 = type$._Future_Value_2, t3 = type$.Future_Value_2;
  89832. case 4:
  89833. // for condition
  89834. if (!(i < t1)) {
  89835. // goto after for
  89836. $async$goto = 6;
  89837. break;
  89838. }
  89839. parameter = parameters[i];
  89840. t4 = evaluated._values[2];
  89841. t5 = evaluated._values[0].remove$1(0, parameter.name);
  89842. $async$goto = t5 == null ? 7 : 8;
  89843. break;
  89844. case 7:
  89845. // then
  89846. t5 = parameter.defaultValue;
  89847. t6 = t5.accept$1($async$self);
  89848. if (!t3._is(t6)) {
  89849. t7 = new A._Future($.Zone__current, t2);
  89850. t7._state = 8;
  89851. t7._resultOrListeners = t6;
  89852. t6 = t7;
  89853. }
  89854. $async$goto = 9;
  89855. return A._asyncAwait(t6, $async$_async_evaluate0$_runBuiltInCallable$3);
  89856. case 9:
  89857. // returning from await.
  89858. t5 = $async$self._async_evaluate0$_withoutSlash$2($async$result, t5);
  89859. case 8:
  89860. // join
  89861. J.add$1$ax(t4, t5);
  89862. case 5:
  89863. // for update
  89864. ++i;
  89865. // goto for condition
  89866. $async$goto = 4;
  89867. break;
  89868. case 6:
  89869. // after for
  89870. if (_box_0.overload.restParameter != null) {
  89871. if (J.get$length$asx(evaluated._values[2]) > t1) {
  89872. rest = J.sublist$1$ax(evaluated._values[2], t1);
  89873. J.removeRange$2$ax(evaluated._values[2], t1, J.get$length$asx(evaluated._values[2]));
  89874. } else
  89875. rest = B.List_empty22;
  89876. t1 = evaluated._values[0];
  89877. argumentList = A.SassArgumentList$0(rest, t1, evaluated._values[4] === B.ListSeparator_undecided_null_undecided0 ? B.ListSeparator_qVN0 : evaluated._values[4]);
  89878. J.add$1$ax(evaluated._values[2], argumentList);
  89879. } else
  89880. argumentList = null;
  89881. result = null;
  89882. $async$handler = 11;
  89883. $async$goto = 14;
  89884. return A._asyncAwait($async$self._async_evaluate0$_addExceptionSpanAsync$1$2(nodeWithSpan, new A._EvaluateVisitor__runBuiltInCallable_closure9(_box_0, evaluated), type$.Value_2), $async$_async_evaluate0$_runBuiltInCallable$3);
  89885. case 14:
  89886. // returning from await.
  89887. result = $async$result;
  89888. $async$handler = 2;
  89889. // goto after finally
  89890. $async$goto = 13;
  89891. break;
  89892. case 11:
  89893. // catch
  89894. $async$handler = 10;
  89895. $async$exception = $async$errorStack.pop();
  89896. t1 = A.unwrapException($async$exception);
  89897. if (t1 instanceof A.SassException0)
  89898. throw $async$exception;
  89899. else {
  89900. error = t1;
  89901. stackTrace = A.getTraceFromException($async$exception);
  89902. A.throwWithTrace0($async$self._async_evaluate0$_exception$2($async$self._async_evaluate0$_getErrorMessage$1(error), nodeWithSpan.get$span(nodeWithSpan)), error, stackTrace);
  89903. }
  89904. // goto after finally
  89905. $async$goto = 13;
  89906. break;
  89907. case 10:
  89908. // uncaught
  89909. // goto rethrow
  89910. $async$goto = 2;
  89911. break;
  89912. case 13:
  89913. // after finally
  89914. $async$self._async_evaluate0$_callableNode = oldCallableNode;
  89915. if (argumentList == null) {
  89916. $async$returnValue = result;
  89917. // goto return
  89918. $async$goto = 1;
  89919. break;
  89920. }
  89921. t1 = evaluated._values[0];
  89922. if (t1.get$isEmpty(t1)) {
  89923. $async$returnValue = result;
  89924. // goto return
  89925. $async$goto = 1;
  89926. break;
  89927. }
  89928. if (argumentList._argument_list$_wereKeywordsAccessed) {
  89929. $async$returnValue = result;
  89930. // goto return
  89931. $async$goto = 1;
  89932. break;
  89933. }
  89934. t1 = evaluated._values[0];
  89935. t1 = A.pluralize0("parameter", J.get$length$asx(t1.get$keys(t1)), null);
  89936. t2 = evaluated._values[0];
  89937. throw A.wrapException(A.MultiSpanSassRuntimeException$0("No " + t1 + " named " + A.toSentence0(J.map$1$1$ax(t2.get$keys(t2), new A._EvaluateVisitor__runBuiltInCallable_closure10(), type$.Object), "or") + ".", nodeWithSpan.get$span(nodeWithSpan), "invocation", A.LinkedHashMap_LinkedHashMap$_literal([_box_0.overload.get$spanWithName(), "declaration"], type$.FileSpan, type$.String), $async$self._async_evaluate0$_stackTrace$1(nodeWithSpan.get$span(nodeWithSpan)), null));
  89938. case 1:
  89939. // return
  89940. return A._asyncReturn($async$returnValue, $async$completer);
  89941. case 2:
  89942. // rethrow
  89943. return A._asyncRethrow($async$errorStack.at(-1), $async$completer);
  89944. }
  89945. });
  89946. return A._asyncStartSync($async$_async_evaluate0$_runBuiltInCallable$3, $async$completer);
  89947. },
  89948. _async_evaluate0$_evaluateArguments$1($arguments) {
  89949. return this._evaluateArguments$body$_EvaluateVisitor0($arguments);
  89950. },
  89951. _evaluateArguments$body$_EvaluateVisitor0($arguments) {
  89952. var $async$goto = 0,
  89953. $async$completer = A._makeAsyncAwaitCompleter(type$.Record_5_Map_String_Value_named_and_Map_String_AstNode_namedNodes_and_List_Value_positional_and_List_AstNode_positionalNodes_and_ListSeparator_separator_2),
  89954. $async$returnValue, $async$self = this, t1, t2, t3, t4, _i, expression, nodeForSpan, t5, t6, named, namedNodes, $name, value, t7, restArgs, rest, restNodeForSpan, separator, keywordRestArgs, keywordRest, keywordRestNodeForSpan, positional, positionalNodes, $async$temp1, $async$temp2;
  89955. var $async$_async_evaluate0$_evaluateArguments$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  89956. if ($async$errorCode === 1)
  89957. return A._asyncRethrow($async$result, $async$completer);
  89958. while (true)
  89959. switch ($async$goto) {
  89960. case 0:
  89961. // Function start
  89962. positional = A._setArrayType([], type$.JSArray_Value_2);
  89963. positionalNodes = A._setArrayType([], type$.JSArray_AstNode_2);
  89964. t1 = $arguments.positional, t2 = t1.length, t3 = type$._Future_Value_2, t4 = type$.Future_Value_2, _i = 0;
  89965. case 3:
  89966. // for condition
  89967. if (!(_i < t2)) {
  89968. // goto after for
  89969. $async$goto = 5;
  89970. break;
  89971. }
  89972. expression = t1[_i];
  89973. nodeForSpan = $async$self._async_evaluate0$_expressionNode$1(expression);
  89974. t5 = expression.accept$1($async$self);
  89975. if (!t4._is(t5)) {
  89976. t6 = new A._Future($.Zone__current, t3);
  89977. t6._state = 8;
  89978. t6._resultOrListeners = t5;
  89979. t5 = t6;
  89980. }
  89981. $async$temp1 = positional;
  89982. $async$goto = 6;
  89983. return A._asyncAwait(t5, $async$_async_evaluate0$_evaluateArguments$1);
  89984. case 6:
  89985. // returning from await.
  89986. $async$temp1.push($async$self._async_evaluate0$_withoutSlash$2($async$result, nodeForSpan));
  89987. positionalNodes.push(nodeForSpan);
  89988. case 4:
  89989. // for update
  89990. ++_i;
  89991. // goto for condition
  89992. $async$goto = 3;
  89993. break;
  89994. case 5:
  89995. // after for
  89996. t1 = type$.String;
  89997. named = A.LinkedHashMap_LinkedHashMap$_empty(t1, type$.Value_2);
  89998. t2 = type$.AstNode_2;
  89999. namedNodes = A.LinkedHashMap_LinkedHashMap$_empty(t1, t2);
  90000. t5 = A.MapExtensions_get_pairs0($arguments.named, t1, type$.Expression_2), t5 = t5.get$iterator(t5);
  90001. case 7:
  90002. // for condition
  90003. if (!t5.moveNext$0()) {
  90004. // goto after for
  90005. $async$goto = 8;
  90006. break;
  90007. }
  90008. t6 = t5.get$current(t5);
  90009. $name = t6._0;
  90010. value = t6._1;
  90011. nodeForSpan = $async$self._async_evaluate0$_expressionNode$1(value);
  90012. t6 = value.accept$1($async$self);
  90013. if (!t4._is(t6)) {
  90014. t7 = new A._Future($.Zone__current, t3);
  90015. t7._state = 8;
  90016. t7._resultOrListeners = t6;
  90017. t6 = t7;
  90018. }
  90019. $async$temp1 = named;
  90020. $async$temp2 = $name;
  90021. $async$goto = 9;
  90022. return A._asyncAwait(t6, $async$_async_evaluate0$_evaluateArguments$1);
  90023. case 9:
  90024. // returning from await.
  90025. $async$temp1.$indexSet(0, $async$temp2, $async$self._async_evaluate0$_withoutSlash$2($async$result, nodeForSpan));
  90026. namedNodes.$indexSet(0, $name, nodeForSpan);
  90027. // goto for condition
  90028. $async$goto = 7;
  90029. break;
  90030. case 8:
  90031. // after for
  90032. restArgs = $arguments.rest;
  90033. if (restArgs == null) {
  90034. $async$returnValue = new A._Record_5_named_namedNodes_positional_positionalNodes_separator([named, namedNodes, positional, positionalNodes, B.ListSeparator_undecided_null_undecided0]);
  90035. // goto return
  90036. $async$goto = 1;
  90037. break;
  90038. }
  90039. $async$goto = 10;
  90040. return A._asyncAwait(restArgs.accept$1($async$self), $async$_async_evaluate0$_evaluateArguments$1);
  90041. case 10:
  90042. // returning from await.
  90043. rest = $async$result;
  90044. restNodeForSpan = $async$self._async_evaluate0$_expressionNode$1(restArgs);
  90045. if (rest instanceof A.SassMap0) {
  90046. $async$self._async_evaluate0$_addRestMap$4(named, rest, restArgs, new A._EvaluateVisitor__evaluateArguments_closure11());
  90047. t3 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t2);
  90048. for (t4 = rest._map0$_contents, t4 = J.get$iterator$ax(t4.get$keys(t4)), t5 = type$.SassString_2; t4.moveNext$0();)
  90049. t3.$indexSet(0, t5._as(t4.get$current(t4))._string0$_text, restNodeForSpan);
  90050. namedNodes.addAll$1(0, t3);
  90051. separator = B.ListSeparator_undecided_null_undecided0;
  90052. } else if (rest instanceof A.SassList0) {
  90053. t3 = rest._list1$_contents;
  90054. 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>")));
  90055. B.JSArray_methods.addAll$1(positionalNodes, A.List_List$filled(t3.length, restNodeForSpan, false, t2));
  90056. separator = rest._list1$_separator;
  90057. if (rest instanceof A.SassArgumentList0) {
  90058. rest._argument_list$_wereKeywordsAccessed = true;
  90059. rest._argument_list$_keywords.forEach$1(0, new A._EvaluateVisitor__evaluateArguments_closure13($async$self, named, restNodeForSpan, namedNodes));
  90060. }
  90061. } else {
  90062. positional.push($async$self._async_evaluate0$_withoutSlash$2(rest, restNodeForSpan));
  90063. positionalNodes.push(restNodeForSpan);
  90064. separator = B.ListSeparator_undecided_null_undecided0;
  90065. }
  90066. keywordRestArgs = $arguments.keywordRest;
  90067. if (keywordRestArgs == null) {
  90068. $async$returnValue = new A._Record_5_named_namedNodes_positional_positionalNodes_separator([named, namedNodes, positional, positionalNodes, separator]);
  90069. // goto return
  90070. $async$goto = 1;
  90071. break;
  90072. }
  90073. $async$goto = 11;
  90074. return A._asyncAwait(keywordRestArgs.accept$1($async$self), $async$_async_evaluate0$_evaluateArguments$1);
  90075. case 11:
  90076. // returning from await.
  90077. keywordRest = $async$result;
  90078. keywordRestNodeForSpan = $async$self._async_evaluate0$_expressionNode$1(keywordRestArgs);
  90079. if (keywordRest instanceof A.SassMap0) {
  90080. $async$self._async_evaluate0$_addRestMap$4(named, keywordRest, keywordRestArgs, new A._EvaluateVisitor__evaluateArguments_closure14());
  90081. t1 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t2);
  90082. for (t2 = keywordRest._map0$_contents, t2 = J.get$iterator$ax(t2.get$keys(t2)), t3 = type$.SassString_2; t2.moveNext$0();)
  90083. t1.$indexSet(0, t3._as(t2.get$current(t2))._string0$_text, keywordRestNodeForSpan);
  90084. namedNodes.addAll$1(0, t1);
  90085. $async$returnValue = new A._Record_5_named_namedNodes_positional_positionalNodes_separator([named, namedNodes, positional, positionalNodes, separator]);
  90086. // goto return
  90087. $async$goto = 1;
  90088. break;
  90089. } else
  90090. throw A.wrapException($async$self._async_evaluate0$_exception$2(string$.Variabs + keywordRest.toString$0(0) + ").", keywordRestArgs.get$span(keywordRestArgs)));
  90091. case 1:
  90092. // return
  90093. return A._asyncReturn($async$returnValue, $async$completer);
  90094. }
  90095. });
  90096. return A._asyncStartSync($async$_async_evaluate0$_evaluateArguments$1, $async$completer);
  90097. },
  90098. _async_evaluate0$_evaluateMacroArguments$1(invocation) {
  90099. return this._evaluateMacroArguments$body$_EvaluateVisitor0(invocation);
  90100. },
  90101. _evaluateMacroArguments$body$_EvaluateVisitor0(invocation) {
  90102. var $async$goto = 0,
  90103. $async$completer = A._makeAsyncAwaitCompleter(type$.Record_2_List_Expression_and_Map_String_Expression_2),
  90104. $async$returnValue, $async$self = this, t2, positional, named, rest, restNodeForSpan, keywordRestArgs_, keywordRest, keywordRestNodeForSpan, t1, restArgs_;
  90105. var $async$_async_evaluate0$_evaluateMacroArguments$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  90106. if ($async$errorCode === 1)
  90107. return A._asyncRethrow($async$result, $async$completer);
  90108. while (true)
  90109. switch ($async$goto) {
  90110. case 0:
  90111. // Function start
  90112. t1 = invocation.$arguments;
  90113. restArgs_ = t1.rest;
  90114. if (restArgs_ == null) {
  90115. $async$returnValue = new A._Record_2(t1.positional, t1.named);
  90116. // goto return
  90117. $async$goto = 1;
  90118. break;
  90119. }
  90120. t2 = t1.positional;
  90121. positional = A._setArrayType(t2.slice(0), A._arrayInstanceType(t2));
  90122. named = A.LinkedHashMap_LinkedHashMap$of(t1.named, type$.String, type$.Expression_2);
  90123. $async$goto = 3;
  90124. return A._asyncAwait(restArgs_.accept$1($async$self), $async$_async_evaluate0$_evaluateMacroArguments$1);
  90125. case 3:
  90126. // returning from await.
  90127. rest = $async$result;
  90128. restNodeForSpan = $async$self._async_evaluate0$_expressionNode$1(restArgs_);
  90129. if (rest instanceof A.SassMap0)
  90130. $async$self._async_evaluate0$_addRestMap$4(named, rest, invocation, new A._EvaluateVisitor__evaluateMacroArguments_closure11(restArgs_));
  90131. else if (rest instanceof A.SassList0) {
  90132. t2 = rest._list1$_contents;
  90133. 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>")));
  90134. if (rest instanceof A.SassArgumentList0) {
  90135. rest._argument_list$_wereKeywordsAccessed = true;
  90136. rest._argument_list$_keywords.forEach$1(0, new A._EvaluateVisitor__evaluateMacroArguments_closure13($async$self, named, restNodeForSpan, restArgs_));
  90137. }
  90138. } else
  90139. positional.push(new A.ValueExpression0($async$self._async_evaluate0$_withoutSlash$2(rest, restNodeForSpan), restArgs_.get$span(restArgs_)));
  90140. keywordRestArgs_ = t1.keywordRest;
  90141. if (keywordRestArgs_ == null) {
  90142. $async$returnValue = new A._Record_2(positional, named);
  90143. // goto return
  90144. $async$goto = 1;
  90145. break;
  90146. }
  90147. $async$goto = 4;
  90148. return A._asyncAwait(keywordRestArgs_.accept$1($async$self), $async$_async_evaluate0$_evaluateMacroArguments$1);
  90149. case 4:
  90150. // returning from await.
  90151. keywordRest = $async$result;
  90152. keywordRestNodeForSpan = $async$self._async_evaluate0$_expressionNode$1(keywordRestArgs_);
  90153. if (keywordRest instanceof A.SassMap0) {
  90154. $async$self._async_evaluate0$_addRestMap$4(named, keywordRest, invocation, new A._EvaluateVisitor__evaluateMacroArguments_closure14($async$self, keywordRestNodeForSpan, keywordRestArgs_));
  90155. $async$returnValue = new A._Record_2(positional, named);
  90156. // goto return
  90157. $async$goto = 1;
  90158. break;
  90159. } else
  90160. throw A.wrapException($async$self._async_evaluate0$_exception$2(string$.Variabs + keywordRest.toString$0(0) + ").", keywordRestArgs_.get$span(keywordRestArgs_)));
  90161. case 1:
  90162. // return
  90163. return A._asyncReturn($async$returnValue, $async$completer);
  90164. }
  90165. });
  90166. return A._asyncStartSync($async$_async_evaluate0$_evaluateMacroArguments$1, $async$completer);
  90167. },
  90168. _async_evaluate0$_addRestMap$1$4(values, map, nodeWithSpan, convert) {
  90169. map._map0$_contents.forEach$1(0, new A._EvaluateVisitor__addRestMap_closure2(this, values, convert, this._async_evaluate0$_expressionNode$1(nodeWithSpan), map, nodeWithSpan));
  90170. },
  90171. _async_evaluate0$_addRestMap$4(values, map, nodeWithSpan, convert) {
  90172. convert.toString;
  90173. return this._async_evaluate0$_addRestMap$1$4(values, map, nodeWithSpan, convert, type$.dynamic);
  90174. },
  90175. _async_evaluate0$_verifyArguments$4(positional, named, parameters, nodeWithSpan) {
  90176. return this._async_evaluate0$_addExceptionSpan$2(nodeWithSpan, new A._EvaluateVisitor__verifyArguments_closure2(parameters, positional, named));
  90177. },
  90178. visitSelectorExpression$1(_, node) {
  90179. return this.visitSelectorExpression$body$_EvaluateVisitor0(0, node);
  90180. },
  90181. visitSelectorExpression$body$_EvaluateVisitor0(_, node) {
  90182. var $async$goto = 0,
  90183. $async$completer = A._makeAsyncAwaitCompleter(type$.Value_2),
  90184. $async$returnValue, $async$self = this, t1;
  90185. var $async$visitSelectorExpression$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  90186. if ($async$errorCode === 1)
  90187. return A._asyncRethrow($async$result, $async$completer);
  90188. while (true)
  90189. switch ($async$goto) {
  90190. case 0:
  90191. // Function start
  90192. t1 = $async$self._async_evaluate0$_styleRuleIgnoringAtRoot;
  90193. t1 = t1 == null ? null : t1.originalSelector.get$asSassList();
  90194. $async$returnValue = t1 == null ? B.C__SassNull0 : t1;
  90195. // goto return
  90196. $async$goto = 1;
  90197. break;
  90198. case 1:
  90199. // return
  90200. return A._asyncReturn($async$returnValue, $async$completer);
  90201. }
  90202. });
  90203. return A._asyncStartSync($async$visitSelectorExpression$1, $async$completer);
  90204. },
  90205. visitStringExpression$1(_, node) {
  90206. return this.visitStringExpression$body$_EvaluateVisitor0(0, node);
  90207. },
  90208. visitStringExpression$body$_EvaluateVisitor0(_, node) {
  90209. var $async$goto = 0,
  90210. $async$completer = A._makeAsyncAwaitCompleter(type$.SassString_2),
  90211. $async$returnValue, $async$self = this, t1, t2, t3, _i, value, t4, _0_0, text, oldInSupportsDeclaration;
  90212. var $async$visitStringExpression$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  90213. if ($async$errorCode === 1)
  90214. return A._asyncRethrow($async$result, $async$completer);
  90215. while (true)
  90216. switch ($async$goto) {
  90217. case 0:
  90218. // Function start
  90219. oldInSupportsDeclaration = $async$self._async_evaluate0$_inSupportsDeclaration;
  90220. $async$self._async_evaluate0$_inSupportsDeclaration = false;
  90221. t1 = A._setArrayType([], type$.JSArray_String);
  90222. t2 = node.text.contents, t3 = t2.length, _i = 0;
  90223. case 3:
  90224. // for condition
  90225. if (!(_i < t3)) {
  90226. // goto after for
  90227. $async$goto = 5;
  90228. break;
  90229. }
  90230. value = t2[_i];
  90231. if (typeof value == "string") {
  90232. t4 = value;
  90233. // goto break $label0$0
  90234. $async$goto = 6;
  90235. break;
  90236. }
  90237. $async$goto = value instanceof A.Expression0 ? 7 : 8;
  90238. break;
  90239. case 7:
  90240. // then
  90241. $async$goto = 9;
  90242. return A._asyncAwait(value.accept$1($async$self), $async$visitStringExpression$1);
  90243. case 9:
  90244. // returning from await.
  90245. _0_0 = $async$result;
  90246. $label1$1: {
  90247. if (_0_0 instanceof A.SassString0) {
  90248. text = _0_0._string0$_text;
  90249. t4 = text;
  90250. break $label1$1;
  90251. }
  90252. t4 = $async$self._async_evaluate0$_serialize$3$quote(_0_0, value, false);
  90253. break $label1$1;
  90254. }
  90255. // goto break $label0$0
  90256. $async$goto = 6;
  90257. break;
  90258. case 8:
  90259. // join
  90260. t4 = A.throwExpression(A.UnsupportedError$("Unknown interpolation value " + A.S(value)));
  90261. case 6:
  90262. // break $label0$0
  90263. t1.push(t4);
  90264. case 4:
  90265. // for update
  90266. ++_i;
  90267. // goto for condition
  90268. $async$goto = 3;
  90269. break;
  90270. case 5:
  90271. // after for
  90272. t1 = B.JSArray_methods.join$0(t1);
  90273. $async$self._async_evaluate0$_inSupportsDeclaration = oldInSupportsDeclaration;
  90274. $async$returnValue = new A.SassString0(t1, node.hasQuotes);
  90275. // goto return
  90276. $async$goto = 1;
  90277. break;
  90278. case 1:
  90279. // return
  90280. return A._asyncReturn($async$returnValue, $async$completer);
  90281. }
  90282. });
  90283. return A._asyncStartSync($async$visitStringExpression$1, $async$completer);
  90284. },
  90285. visitSupportsExpression$1(_, expression) {
  90286. return this.visitSupportsExpression$body$_EvaluateVisitor0(0, expression);
  90287. },
  90288. visitSupportsExpression$body$_EvaluateVisitor0(_, expression) {
  90289. var $async$goto = 0,
  90290. $async$completer = A._makeAsyncAwaitCompleter(type$.SassString_2),
  90291. $async$returnValue, $async$self = this, $async$temp1;
  90292. var $async$visitSupportsExpression$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  90293. if ($async$errorCode === 1)
  90294. return A._asyncRethrow($async$result, $async$completer);
  90295. while (true)
  90296. switch ($async$goto) {
  90297. case 0:
  90298. // Function start
  90299. $async$temp1 = A;
  90300. $async$goto = 3;
  90301. return A._asyncAwait($async$self._async_evaluate0$_visitSupportsCondition$1(expression.condition), $async$visitSupportsExpression$1);
  90302. case 3:
  90303. // returning from await.
  90304. $async$returnValue = new $async$temp1.SassString0($async$result, false);
  90305. // goto return
  90306. $async$goto = 1;
  90307. break;
  90308. case 1:
  90309. // return
  90310. return A._asyncReturn($async$returnValue, $async$completer);
  90311. }
  90312. });
  90313. return A._asyncStartSync($async$visitSupportsExpression$1, $async$completer);
  90314. },
  90315. visitCssAtRule$1(node) {
  90316. return this.visitCssAtRule$body$_EvaluateVisitor0(node);
  90317. },
  90318. visitCssAtRule$body$_EvaluateVisitor0(node) {
  90319. var $async$goto = 0,
  90320. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  90321. $async$returnValue, $async$self = this, wasInKeyframes, wasInUnknownAtRule, t1;
  90322. var $async$visitCssAtRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  90323. if ($async$errorCode === 1)
  90324. return A._asyncRethrow($async$result, $async$completer);
  90325. while (true)
  90326. switch ($async$goto) {
  90327. case 0:
  90328. // Function start
  90329. if ($async$self._async_evaluate0$_declarationName != null)
  90330. throw A.wrapException($async$self._async_evaluate0$_exception$2(string$.At_rul, node.span));
  90331. if (node.isChildless) {
  90332. $async$self._async_evaluate0$_assertInModule$2($async$self._async_evaluate0$__parent, "__parent").addChild$1(A.ModifiableCssAtRule$0(node.name, node.span, true, node.value));
  90333. // goto return
  90334. $async$goto = 1;
  90335. break;
  90336. }
  90337. wasInKeyframes = $async$self._async_evaluate0$_inKeyframes;
  90338. wasInUnknownAtRule = $async$self._async_evaluate0$_inUnknownAtRule;
  90339. t1 = node.name;
  90340. if (A.unvendor0(t1.value) === "keyframes")
  90341. $async$self._async_evaluate0$_inKeyframes = true;
  90342. else
  90343. $async$self._async_evaluate0$_inUnknownAtRule = true;
  90344. $async$goto = 3;
  90345. 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);
  90346. case 3:
  90347. // returning from await.
  90348. $async$self._async_evaluate0$_inUnknownAtRule = wasInUnknownAtRule;
  90349. $async$self._async_evaluate0$_inKeyframes = wasInKeyframes;
  90350. case 1:
  90351. // return
  90352. return A._asyncReturn($async$returnValue, $async$completer);
  90353. }
  90354. });
  90355. return A._asyncStartSync($async$visitCssAtRule$1, $async$completer);
  90356. },
  90357. visitCssComment$1(node) {
  90358. return this.visitCssComment$body$_EvaluateVisitor0(node);
  90359. },
  90360. visitCssComment$body$_EvaluateVisitor0(node) {
  90361. var $async$goto = 0,
  90362. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  90363. $async$self = this;
  90364. var $async$visitCssComment$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  90365. if ($async$errorCode === 1)
  90366. return A._asyncRethrow($async$result, $async$completer);
  90367. while (true)
  90368. switch ($async$goto) {
  90369. case 0:
  90370. // Function start
  90371. 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))
  90372. $async$self._async_evaluate0$__endOfImports = $async$self._async_evaluate0$_assertInModule$2($async$self._async_evaluate0$__endOfImports, "_endOfImports") + 1;
  90373. $async$self._async_evaluate0$_assertInModule$2($async$self._async_evaluate0$__parent, "__parent").addChild$1(new A.ModifiableCssComment0(node.text, node.span));
  90374. // implicit return
  90375. return A._asyncReturn(null, $async$completer);
  90376. }
  90377. });
  90378. return A._asyncStartSync($async$visitCssComment$1, $async$completer);
  90379. },
  90380. visitCssDeclaration$1(node) {
  90381. return this.visitCssDeclaration$body$_EvaluateVisitor0(node);
  90382. },
  90383. visitCssDeclaration$body$_EvaluateVisitor0(node) {
  90384. var $async$goto = 0,
  90385. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  90386. $async$self = this;
  90387. var $async$visitCssDeclaration$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  90388. if ($async$errorCode === 1)
  90389. return A._asyncRethrow($async$result, $async$completer);
  90390. while (true)
  90391. switch ($async$goto) {
  90392. case 0:
  90393. // Function start
  90394. $async$self._async_evaluate0$_assertInModule$2($async$self._async_evaluate0$__parent, "__parent").addChild$1(A.ModifiableCssDeclaration$0(node.name, node.value, node.span, null, node.parsedAsCustomProperty, null, node.valueSpanForMap));
  90395. // implicit return
  90396. return A._asyncReturn(null, $async$completer);
  90397. }
  90398. });
  90399. return A._asyncStartSync($async$visitCssDeclaration$1, $async$completer);
  90400. },
  90401. visitCssImport$1(node) {
  90402. return this.visitCssImport$body$_EvaluateVisitor0(node);
  90403. },
  90404. visitCssImport$body$_EvaluateVisitor0(node) {
  90405. var $async$goto = 0,
  90406. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  90407. $async$self = this, t1, modifiableNode;
  90408. var $async$visitCssImport$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  90409. if ($async$errorCode === 1)
  90410. return A._asyncRethrow($async$result, $async$completer);
  90411. while (true)
  90412. switch ($async$goto) {
  90413. case 0:
  90414. // Function start
  90415. modifiableNode = new A.ModifiableCssImport0(node.url, node.modifiers, node.span);
  90416. 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"))
  90417. $async$self._async_evaluate0$_assertInModule$2($async$self._async_evaluate0$__parent, "__parent").addChild$1(modifiableNode);
  90418. 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)) {
  90419. $async$self._async_evaluate0$_assertInModule$2($async$self._async_evaluate0$__root, "_root").addChild$1(modifiableNode);
  90420. $async$self._async_evaluate0$__endOfImports = $async$self._async_evaluate0$_assertInModule$2($async$self._async_evaluate0$__endOfImports, "_endOfImports") + 1;
  90421. } else {
  90422. t1 = $async$self._async_evaluate0$_outOfOrderImports;
  90423. (t1 == null ? $async$self._async_evaluate0$_outOfOrderImports = A._setArrayType([], type$.JSArray_ModifiableCssImport_2) : t1).push(modifiableNode);
  90424. }
  90425. // implicit return
  90426. return A._asyncReturn(null, $async$completer);
  90427. }
  90428. });
  90429. return A._asyncStartSync($async$visitCssImport$1, $async$completer);
  90430. },
  90431. visitCssKeyframeBlock$1(node) {
  90432. return this.visitCssKeyframeBlock$body$_EvaluateVisitor0(node);
  90433. },
  90434. visitCssKeyframeBlock$body$_EvaluateVisitor0(node) {
  90435. var $async$goto = 0,
  90436. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  90437. $async$self = this;
  90438. var $async$visitCssKeyframeBlock$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  90439. if ($async$errorCode === 1)
  90440. return A._asyncRethrow($async$result, $async$completer);
  90441. while (true)
  90442. switch ($async$goto) {
  90443. case 0:
  90444. // Function start
  90445. $async$goto = 2;
  90446. 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);
  90447. case 2:
  90448. // returning from await.
  90449. // implicit return
  90450. return A._asyncReturn(null, $async$completer);
  90451. }
  90452. });
  90453. return A._asyncStartSync($async$visitCssKeyframeBlock$1, $async$completer);
  90454. },
  90455. visitCssMediaRule$1(node) {
  90456. return this.visitCssMediaRule$body$_EvaluateVisitor0(node);
  90457. },
  90458. visitCssMediaRule$body$_EvaluateVisitor0(node) {
  90459. var $async$goto = 0,
  90460. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  90461. $async$returnValue, $async$self = this, mergedQueries, t1, mergedSources, t2, t3;
  90462. var $async$visitCssMediaRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  90463. if ($async$errorCode === 1)
  90464. return A._asyncRethrow($async$result, $async$completer);
  90465. while (true)
  90466. switch ($async$goto) {
  90467. case 0:
  90468. // Function start
  90469. if ($async$self._async_evaluate0$_declarationName != null)
  90470. throw A.wrapException($async$self._async_evaluate0$_exception$2(string$.Media_, node.span));
  90471. mergedQueries = A.NullableExtension_andThen0($async$self._async_evaluate0$_mediaQueries, new A._EvaluateVisitor_visitCssMediaRule_closure8($async$self, node));
  90472. t1 = mergedQueries == null;
  90473. if (!t1 && J.get$isEmpty$asx(mergedQueries)) {
  90474. // goto return
  90475. $async$goto = 1;
  90476. break;
  90477. }
  90478. if (t1)
  90479. mergedSources = B.Set_empty5;
  90480. else {
  90481. t2 = $async$self._async_evaluate0$_mediaQuerySources;
  90482. t2.toString;
  90483. t2 = A.LinkedHashSet_LinkedHashSet$of(t2, type$.CssMediaQuery_2);
  90484. t3 = $async$self._async_evaluate0$_mediaQueries;
  90485. t3.toString;
  90486. t2.addAll$1(0, t3);
  90487. t2.addAll$1(0, node.queries);
  90488. mergedSources = t2;
  90489. }
  90490. t1 = t1 ? node.queries : mergedQueries;
  90491. $async$goto = 3;
  90492. 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);
  90493. case 3:
  90494. // returning from await.
  90495. case 1:
  90496. // return
  90497. return A._asyncReturn($async$returnValue, $async$completer);
  90498. }
  90499. });
  90500. return A._asyncStartSync($async$visitCssMediaRule$1, $async$completer);
  90501. },
  90502. visitCssStyleRule$1(node) {
  90503. return this.visitCssStyleRule$body$_EvaluateVisitor0(node);
  90504. },
  90505. visitCssStyleRule$body$_EvaluateVisitor0(node) {
  90506. var $async$goto = 0,
  90507. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  90508. $async$self = this, t1, styleRule, _0_0, t2, t3, originalSelector, rule, oldAtRootExcludingStyleRule, _1_1, lastChild;
  90509. var $async$visitCssStyleRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  90510. if ($async$errorCode === 1)
  90511. return A._asyncRethrow($async$result, $async$completer);
  90512. while (true)
  90513. switch ($async$goto) {
  90514. case 0:
  90515. // Function start
  90516. if ($async$self._async_evaluate0$_declarationName != null)
  90517. throw A.wrapException($async$self._async_evaluate0$_exception$2(string$.Style_n, node.span));
  90518. else if ($async$self._async_evaluate0$_inKeyframes && $async$self._async_evaluate0$_assertInModule$2($async$self._async_evaluate0$__parent, "__parent") instanceof A.ModifiableCssKeyframeBlock0)
  90519. throw A.wrapException($async$self._async_evaluate0$_exception$2(string$.Style_k, node.span));
  90520. t1 = $async$self._async_evaluate0$_atRootExcludingStyleRule;
  90521. styleRule = t1 ? null : $async$self._async_evaluate0$_styleRuleIgnoringAtRoot;
  90522. _0_0 = t1 ? null : $async$self._async_evaluate0$_styleRuleIgnoringAtRoot;
  90523. $label0$0: {
  90524. if (_0_0 == null) {
  90525. t1 = true;
  90526. break $label0$0;
  90527. }
  90528. if (_0_0.fromPlainCss) {
  90529. t1 = false;
  90530. break $label0$0;
  90531. }
  90532. t1 = !(node.fromPlainCss && node._style_rule0$_selector._box0$_inner.value.accept$1(B.C__ContainsParentSelectorVisitor0));
  90533. break $label0$0;
  90534. }
  90535. t2 = node._style_rule0$_selector._box0$_inner;
  90536. if (t1) {
  90537. t2 = t2.value;
  90538. t3 = styleRule == null ? null : styleRule.originalSelector;
  90539. originalSelector = t2.nestWithin$3$implicitParent$preserveParentSelectors(t3, !$async$self._async_evaluate0$_atRootExcludingStyleRule, node.fromPlainCss);
  90540. } else
  90541. originalSelector = t2.value;
  90542. rule = A.ModifiableCssStyleRule$0($async$self._async_evaluate0$_assertInModule$2($async$self._async_evaluate0$__extensionStore, "_extensionStore").addSelector$2(originalSelector, $async$self._async_evaluate0$_mediaQueries), node.span, node.fromPlainCss, originalSelector);
  90543. oldAtRootExcludingStyleRule = $async$self._async_evaluate0$_atRootExcludingStyleRule;
  90544. $async$self._async_evaluate0$_atRootExcludingStyleRule = false;
  90545. t1 = t1 ? new A._EvaluateVisitor_visitCssStyleRule_closure5() : null;
  90546. $async$goto = 2;
  90547. return A._asyncAwait($async$self._async_evaluate0$_withParent$2$4$scopeWhen$through(rule, new A._EvaluateVisitor_visitCssStyleRule_closure6($async$self, rule, node), false, t1, type$.ModifiableCssStyleRule_2, type$.Null), $async$visitCssStyleRule$1);
  90548. case 2:
  90549. // returning from await.
  90550. $async$self._async_evaluate0$_atRootExcludingStyleRule = oldAtRootExcludingStyleRule;
  90551. t1 = $async$self._async_evaluate0$_assertInModule$2($async$self._async_evaluate0$__parent, "__parent").children._collection$_source;
  90552. t2 = J.getInterceptor$asx(t1);
  90553. _1_1 = t2.get$length(t1);
  90554. if (_1_1 >= 1) {
  90555. lastChild = t2.elementAt$1(t1, _1_1 - 1);
  90556. t1 = styleRule == null;
  90557. } else {
  90558. lastChild = null;
  90559. t1 = false;
  90560. }
  90561. if (t1)
  90562. lastChild.isGroupEnd = true;
  90563. // implicit return
  90564. return A._asyncReturn(null, $async$completer);
  90565. }
  90566. });
  90567. return A._asyncStartSync($async$visitCssStyleRule$1, $async$completer);
  90568. },
  90569. visitCssStylesheet$1(node) {
  90570. return this.visitCssStylesheet$body$_EvaluateVisitor0(node);
  90571. },
  90572. visitCssStylesheet$body$_EvaluateVisitor0(node) {
  90573. var $async$goto = 0,
  90574. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  90575. $async$self = this, t1;
  90576. var $async$visitCssStylesheet$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  90577. if ($async$errorCode === 1)
  90578. return A._asyncRethrow($async$result, $async$completer);
  90579. while (true)
  90580. switch ($async$goto) {
  90581. case 0:
  90582. // Function start
  90583. t1 = J.get$iterator$ax(node.get$children(node));
  90584. case 2:
  90585. // for condition
  90586. if (!t1.moveNext$0()) {
  90587. // goto after for
  90588. $async$goto = 3;
  90589. break;
  90590. }
  90591. $async$goto = 4;
  90592. return A._asyncAwait(t1.get$current(t1).accept$1($async$self), $async$visitCssStylesheet$1);
  90593. case 4:
  90594. // returning from await.
  90595. // goto for condition
  90596. $async$goto = 2;
  90597. break;
  90598. case 3:
  90599. // after for
  90600. // implicit return
  90601. return A._asyncReturn(null, $async$completer);
  90602. }
  90603. });
  90604. return A._asyncStartSync($async$visitCssStylesheet$1, $async$completer);
  90605. },
  90606. visitCssSupportsRule$1(node) {
  90607. return this.visitCssSupportsRule$body$_EvaluateVisitor0(node);
  90608. },
  90609. visitCssSupportsRule$body$_EvaluateVisitor0(node) {
  90610. var $async$goto = 0,
  90611. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  90612. $async$self = this;
  90613. var $async$visitCssSupportsRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  90614. if ($async$errorCode === 1)
  90615. return A._asyncRethrow($async$result, $async$completer);
  90616. while (true)
  90617. switch ($async$goto) {
  90618. case 0:
  90619. // Function start
  90620. if ($async$self._async_evaluate0$_declarationName != null)
  90621. throw A.wrapException($async$self._async_evaluate0$_exception$2(string$.Suppor, node.span));
  90622. $async$goto = 2;
  90623. 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);
  90624. case 2:
  90625. // returning from await.
  90626. // implicit return
  90627. return A._asyncReturn(null, $async$completer);
  90628. }
  90629. });
  90630. return A._asyncStartSync($async$visitCssSupportsRule$1, $async$completer);
  90631. },
  90632. _async_evaluate0$_handleReturn$1$2(list, callback) {
  90633. return this._handleReturn$body$_EvaluateVisitor0(list, callback);
  90634. },
  90635. _async_evaluate0$_handleReturn$2(list, callback) {
  90636. callback.toString;
  90637. return this._async_evaluate0$_handleReturn$1$2(list, callback, type$.dynamic);
  90638. },
  90639. _handleReturn$body$_EvaluateVisitor0(list, callback) {
  90640. var $async$goto = 0,
  90641. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value_2),
  90642. $async$returnValue, t1, _i, _0_0;
  90643. var $async$_async_evaluate0$_handleReturn$1$2 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  90644. if ($async$errorCode === 1)
  90645. return A._asyncRethrow($async$result, $async$completer);
  90646. while (true)
  90647. switch ($async$goto) {
  90648. case 0:
  90649. // Function start
  90650. t1 = list.length, _i = 0;
  90651. case 3:
  90652. // for condition
  90653. if (!(_i < list.length)) {
  90654. // goto after for
  90655. $async$goto = 5;
  90656. break;
  90657. }
  90658. $async$goto = 6;
  90659. return A._asyncAwait(callback.call$1(list[_i]), $async$_async_evaluate0$_handleReturn$1$2);
  90660. case 6:
  90661. // returning from await.
  90662. _0_0 = $async$result;
  90663. if (_0_0 != null) {
  90664. $async$returnValue = _0_0;
  90665. // goto return
  90666. $async$goto = 1;
  90667. break;
  90668. }
  90669. case 4:
  90670. // for update
  90671. list.length === t1 || (0, A.throwConcurrentModificationError)(list), ++_i;
  90672. // goto for condition
  90673. $async$goto = 3;
  90674. break;
  90675. case 5:
  90676. // after for
  90677. $async$returnValue = null;
  90678. // goto return
  90679. $async$goto = 1;
  90680. break;
  90681. case 1:
  90682. // return
  90683. return A._asyncReturn($async$returnValue, $async$completer);
  90684. }
  90685. });
  90686. return A._asyncStartSync($async$_async_evaluate0$_handleReturn$1$2, $async$completer);
  90687. },
  90688. _async_evaluate0$_withEnvironment$1$2(environment, callback, $T) {
  90689. return this._withEnvironment$body$_EvaluateVisitor0(environment, callback, $T, $T);
  90690. },
  90691. _withEnvironment$body$_EvaluateVisitor0(environment, callback, $T, $async$type) {
  90692. var $async$goto = 0,
  90693. $async$completer = A._makeAsyncAwaitCompleter($async$type),
  90694. $async$returnValue, $async$self = this, result, oldEnvironment;
  90695. var $async$_async_evaluate0$_withEnvironment$1$2 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  90696. if ($async$errorCode === 1)
  90697. return A._asyncRethrow($async$result, $async$completer);
  90698. while (true)
  90699. switch ($async$goto) {
  90700. case 0:
  90701. // Function start
  90702. oldEnvironment = $async$self._async_evaluate0$_environment;
  90703. $async$self._async_evaluate0$_environment = environment;
  90704. $async$goto = 3;
  90705. return A._asyncAwait(callback.call$0(), $async$_async_evaluate0$_withEnvironment$1$2);
  90706. case 3:
  90707. // returning from await.
  90708. result = $async$result;
  90709. $async$self._async_evaluate0$_environment = oldEnvironment;
  90710. $async$returnValue = result;
  90711. // goto return
  90712. $async$goto = 1;
  90713. break;
  90714. case 1:
  90715. // return
  90716. return A._asyncReturn($async$returnValue, $async$completer);
  90717. }
  90718. });
  90719. return A._asyncStartSync($async$_async_evaluate0$_withEnvironment$1$2, $async$completer);
  90720. },
  90721. _async_evaluate0$_interpolationToValue$3$trim$warnForColor(interpolation, trim, warnForColor) {
  90722. return this._interpolationToValue$body$_EvaluateVisitor0(interpolation, trim, warnForColor);
  90723. },
  90724. _async_evaluate0$_interpolationToValue$1(interpolation) {
  90725. return this._async_evaluate0$_interpolationToValue$3$trim$warnForColor(interpolation, false, false);
  90726. },
  90727. _async_evaluate0$_interpolationToValue$2$warnForColor(interpolation, warnForColor) {
  90728. return this._async_evaluate0$_interpolationToValue$3$trim$warnForColor(interpolation, false, warnForColor);
  90729. },
  90730. _interpolationToValue$body$_EvaluateVisitor0(interpolation, trim, warnForColor) {
  90731. var $async$goto = 0,
  90732. $async$completer = A._makeAsyncAwaitCompleter(type$.CssValue_String_2),
  90733. $async$returnValue, $async$self = this, result, t1;
  90734. var $async$_async_evaluate0$_interpolationToValue$3$trim$warnForColor = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  90735. if ($async$errorCode === 1)
  90736. return A._asyncRethrow($async$result, $async$completer);
  90737. while (true)
  90738. switch ($async$goto) {
  90739. case 0:
  90740. // Function start
  90741. $async$goto = 3;
  90742. return A._asyncAwait($async$self._async_evaluate0$_performInterpolation$2$warnForColor(interpolation, warnForColor), $async$_async_evaluate0$_interpolationToValue$3$trim$warnForColor);
  90743. case 3:
  90744. // returning from await.
  90745. result = $async$result;
  90746. t1 = trim ? A.trimAscii0(result, true) : result;
  90747. $async$returnValue = new A.CssValue0(t1, interpolation.span, type$.CssValue_String_2);
  90748. // goto return
  90749. $async$goto = 1;
  90750. break;
  90751. case 1:
  90752. // return
  90753. return A._asyncReturn($async$returnValue, $async$completer);
  90754. }
  90755. });
  90756. return A._asyncStartSync($async$_async_evaluate0$_interpolationToValue$3$trim$warnForColor, $async$completer);
  90757. },
  90758. _async_evaluate0$_performInterpolation$2$warnForColor(interpolation, warnForColor) {
  90759. return this._performInterpolation$body$_EvaluateVisitor0(interpolation, warnForColor);
  90760. },
  90761. _async_evaluate0$_performInterpolation$1(interpolation) {
  90762. return this._async_evaluate0$_performInterpolation$2$warnForColor(interpolation, false);
  90763. },
  90764. _performInterpolation$body$_EvaluateVisitor0(interpolation, warnForColor) {
  90765. var $async$goto = 0,
  90766. $async$completer = A._makeAsyncAwaitCompleter(type$.String),
  90767. $async$returnValue, $async$self = this;
  90768. var $async$_async_evaluate0$_performInterpolation$2$warnForColor = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  90769. if ($async$errorCode === 1)
  90770. return A._asyncRethrow($async$result, $async$completer);
  90771. while (true)
  90772. switch ($async$goto) {
  90773. case 0:
  90774. // Function start
  90775. $async$goto = 3;
  90776. return A._asyncAwait($async$self._async_evaluate0$_performInterpolationHelper$3$sourceMap$warnForColor(interpolation, false, warnForColor), $async$_async_evaluate0$_performInterpolation$2$warnForColor);
  90777. case 3:
  90778. // returning from await.
  90779. $async$returnValue = $async$result._0;
  90780. // goto return
  90781. $async$goto = 1;
  90782. break;
  90783. case 1:
  90784. // return
  90785. return A._asyncReturn($async$returnValue, $async$completer);
  90786. }
  90787. });
  90788. return A._asyncStartSync($async$_async_evaluate0$_performInterpolation$2$warnForColor, $async$completer);
  90789. },
  90790. _async_evaluate0$_performInterpolationWithMap$2$warnForColor(interpolation, warnForColor) {
  90791. return this._performInterpolationWithMap$body$_EvaluateVisitor0(interpolation, true);
  90792. },
  90793. _performInterpolationWithMap$body$_EvaluateVisitor0(interpolation, warnForColor) {
  90794. var $async$goto = 0,
  90795. $async$completer = A._makeAsyncAwaitCompleter(type$.Record_2_String_and_InterpolationMap_2),
  90796. $async$returnValue, $async$self = this, _0_0, result, map;
  90797. var $async$_async_evaluate0$_performInterpolationWithMap$2$warnForColor = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  90798. if ($async$errorCode === 1)
  90799. return A._asyncRethrow($async$result, $async$completer);
  90800. while (true)
  90801. switch ($async$goto) {
  90802. case 0:
  90803. // Function start
  90804. $async$goto = 3;
  90805. return A._asyncAwait($async$self._async_evaluate0$_performInterpolationHelper$3$sourceMap$warnForColor(interpolation, true, true), $async$_async_evaluate0$_performInterpolationWithMap$2$warnForColor);
  90806. case 3:
  90807. // returning from await.
  90808. _0_0 = $async$result;
  90809. result = _0_0._0;
  90810. map = _0_0._1;
  90811. map.toString;
  90812. $async$returnValue = new A._Record_2(result, map);
  90813. // goto return
  90814. $async$goto = 1;
  90815. break;
  90816. case 1:
  90817. // return
  90818. return A._asyncReturn($async$returnValue, $async$completer);
  90819. }
  90820. });
  90821. return A._asyncStartSync($async$_async_evaluate0$_performInterpolationWithMap$2$warnForColor, $async$completer);
  90822. },
  90823. _async_evaluate0$_performInterpolationHelper$3$sourceMap$warnForColor(interpolation, sourceMap, warnForColor) {
  90824. return this._performInterpolationHelper$body$_EvaluateVisitor0(interpolation, sourceMap, warnForColor);
  90825. },
  90826. _performInterpolationHelper$body$_EvaluateVisitor0(interpolation, sourceMap, warnForColor) {
  90827. var $async$goto = 0,
  90828. $async$completer = A._makeAsyncAwaitCompleter(type$.Record_2_String_and_nullable_InterpolationMap_2),
  90829. $async$returnValue, $async$self = this, t1, t2, t3, t4, t5, t6, first, _i, t7, value, result, result0, t8, targetLocations, oldInSupportsDeclaration;
  90830. var $async$_async_evaluate0$_performInterpolationHelper$3$sourceMap$warnForColor = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  90831. if ($async$errorCode === 1)
  90832. return A._asyncRethrow($async$result, $async$completer);
  90833. while (true)
  90834. switch ($async$goto) {
  90835. case 0:
  90836. // Function start
  90837. targetLocations = sourceMap ? A._setArrayType([], type$.JSArray_SourceLocation) : null;
  90838. oldInSupportsDeclaration = $async$self._async_evaluate0$_inSupportsDeclaration;
  90839. $async$self._async_evaluate0$_inSupportsDeclaration = false;
  90840. t1 = interpolation.contents, t2 = t1.length, t3 = type$.Expression_2, t4 = targetLocations == null, t5 = interpolation.span, t6 = type$.Object, first = true, _i = 0, t7 = "";
  90841. case 3:
  90842. // for condition
  90843. if (!(_i < t2)) {
  90844. // goto after for
  90845. $async$goto = 5;
  90846. break;
  90847. }
  90848. value = t1[_i];
  90849. if (!first)
  90850. if (!t4)
  90851. targetLocations.push(A.SourceLocation$(t7.length, null, null, null));
  90852. if (typeof value == "string") {
  90853. t7 += value;
  90854. // goto for update
  90855. $async$goto = 4;
  90856. break;
  90857. }
  90858. t3._as(value);
  90859. $async$goto = 6;
  90860. return A._asyncAwait(value.accept$1($async$self), $async$_async_evaluate0$_performInterpolationHelper$3$sourceMap$warnForColor);
  90861. case 6:
  90862. // returning from await.
  90863. result = $async$result;
  90864. if (warnForColor && $.$get$namesByColor0().containsKey$1(result)) {
  90865. result0 = A.List_List$from([""], false, t6);
  90866. result0.$flags = 3;
  90867. t8 = $.$get$namesByColor0();
  90868. $async$self._async_evaluate0$_warn$2(string$.You_pr + A.S(t8.$index(0, result)) + string$.x20in_in + result.toString$0(0) + string$.x2c_whicw + A.S(t8.$index(0, result)) + string$.x22x29__If + new A.BinaryOperationExpression0(B.BinaryOperator_Swh0, new A.StringExpression0(new A.Interpolation0(result0, B.List_null, t5), true), value, false).toString$0(0) + "'.", value.get$span(value));
  90869. }
  90870. t7 += $async$self._async_evaluate0$_serialize$3$quote(result, value, false);
  90871. case 4:
  90872. // for update
  90873. ++_i, first = false;
  90874. // goto for condition
  90875. $async$goto = 3;
  90876. break;
  90877. case 5:
  90878. // after for
  90879. $async$self._async_evaluate0$_inSupportsDeclaration = oldInSupportsDeclaration;
  90880. $async$returnValue = new A._Record_2(t7.charCodeAt(0) == 0 ? t7 : t7, A.NullableExtension_andThen0(targetLocations, new A._EvaluateVisitor__performInterpolationHelper_closure2(interpolation)));
  90881. // goto return
  90882. $async$goto = 1;
  90883. break;
  90884. case 1:
  90885. // return
  90886. return A._asyncReturn($async$returnValue, $async$completer);
  90887. }
  90888. });
  90889. return A._asyncStartSync($async$_async_evaluate0$_performInterpolationHelper$3$sourceMap$warnForColor, $async$completer);
  90890. },
  90891. _async_evaluate0$_evaluateToCss$2$quote(expression, quote) {
  90892. return this._evaluateToCss$body$_EvaluateVisitor0(expression, quote);
  90893. },
  90894. _async_evaluate0$_evaluateToCss$1(expression) {
  90895. return this._async_evaluate0$_evaluateToCss$2$quote(expression, true);
  90896. },
  90897. _evaluateToCss$body$_EvaluateVisitor0(expression, quote) {
  90898. var $async$goto = 0,
  90899. $async$completer = A._makeAsyncAwaitCompleter(type$.String),
  90900. $async$returnValue, $async$self = this, t1;
  90901. var $async$_async_evaluate0$_evaluateToCss$2$quote = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  90902. if ($async$errorCode === 1)
  90903. return A._asyncRethrow($async$result, $async$completer);
  90904. while (true)
  90905. switch ($async$goto) {
  90906. case 0:
  90907. // Function start
  90908. t1 = expression.accept$1($async$self);
  90909. $async$goto = 3;
  90910. return A._asyncAwait(type$.Future_Value_2._is(t1) ? t1 : A._Future$value(t1, type$.Value_2), $async$_async_evaluate0$_evaluateToCss$2$quote);
  90911. case 3:
  90912. // returning from await.
  90913. $async$returnValue = $async$self._async_evaluate0$_serialize$3$quote($async$result, expression, quote);
  90914. // goto return
  90915. $async$goto = 1;
  90916. break;
  90917. case 1:
  90918. // return
  90919. return A._asyncReturn($async$returnValue, $async$completer);
  90920. }
  90921. });
  90922. return A._asyncStartSync($async$_async_evaluate0$_evaluateToCss$2$quote, $async$completer);
  90923. },
  90924. _async_evaluate0$_serialize$3$quote(value, nodeWithSpan, quote) {
  90925. return this._async_evaluate0$_addExceptionSpan$2(nodeWithSpan, new A._EvaluateVisitor__serialize_closure2(value, quote));
  90926. },
  90927. _async_evaluate0$_serialize$2(value, nodeWithSpan) {
  90928. return this._async_evaluate0$_serialize$3$quote(value, nodeWithSpan, true);
  90929. },
  90930. _async_evaluate0$_expressionNode$1(expression) {
  90931. var t1;
  90932. if (expression instanceof A.VariableExpression0) {
  90933. t1 = this._async_evaluate0$_addExceptionSpan$2(expression, new A._EvaluateVisitor__expressionNode_closure2(this, expression));
  90934. return t1 == null ? expression : t1;
  90935. } else
  90936. return expression;
  90937. },
  90938. _async_evaluate0$_withParent$2$4$scopeWhen$through(node, callback, scopeWhen, through, $S, $T) {
  90939. return this._withParent$body$_EvaluateVisitor0(node, callback, scopeWhen, through, $S, $T, $T);
  90940. },
  90941. _async_evaluate0$_withParent$2$2(node, callback, $S, $T) {
  90942. node.toString;
  90943. callback.toString;
  90944. return this._async_evaluate0$_withParent$2$4$scopeWhen$through(node, callback, true, null, $S, $T);
  90945. },
  90946. _async_evaluate0$_withParent$2$3$scopeWhen(node, callback, scopeWhen, $S, $T) {
  90947. node.toString;
  90948. callback.toString;
  90949. return this._async_evaluate0$_withParent$2$4$scopeWhen$through(node, callback, scopeWhen, null, $S, $T);
  90950. },
  90951. _withParent$body$_EvaluateVisitor0(node, callback, scopeWhen, through, $S, $T, $async$type) {
  90952. var $async$goto = 0,
  90953. $async$completer = A._makeAsyncAwaitCompleter($async$type),
  90954. $async$returnValue, $async$self = this, oldParent, result;
  90955. var $async$_async_evaluate0$_withParent$2$4$scopeWhen$through = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  90956. if ($async$errorCode === 1)
  90957. return A._asyncRethrow($async$result, $async$completer);
  90958. while (true)
  90959. switch ($async$goto) {
  90960. case 0:
  90961. // Function start
  90962. $async$self._async_evaluate0$_addChild$2$through(node, through);
  90963. oldParent = $async$self._async_evaluate0$_assertInModule$2($async$self._async_evaluate0$__parent, "__parent");
  90964. $async$self._async_evaluate0$__parent = node;
  90965. $async$goto = 3;
  90966. return A._asyncAwait($async$self._async_evaluate0$_environment.scope$1$2$when(callback, scopeWhen, $T), $async$_async_evaluate0$_withParent$2$4$scopeWhen$through);
  90967. case 3:
  90968. // returning from await.
  90969. result = $async$result;
  90970. $async$self._async_evaluate0$__parent = oldParent;
  90971. $async$returnValue = result;
  90972. // goto return
  90973. $async$goto = 1;
  90974. break;
  90975. case 1:
  90976. // return
  90977. return A._asyncReturn($async$returnValue, $async$completer);
  90978. }
  90979. });
  90980. return A._asyncStartSync($async$_async_evaluate0$_withParent$2$4$scopeWhen$through, $async$completer);
  90981. },
  90982. _async_evaluate0$_addChild$2$through(node, through) {
  90983. var _0_0, grandparent, t1,
  90984. $parent = this._async_evaluate0$_assertInModule$2(this._async_evaluate0$__parent, "__parent");
  90985. if (through != null) {
  90986. for (; through.call$1($parent); $parent = _0_0) {
  90987. _0_0 = $parent._node$_parent;
  90988. if (_0_0 == null)
  90989. throw A.wrapException(A.ArgumentError$(string$.throug + node.toString$0(0) + ".", null));
  90990. }
  90991. if ($parent.get$hasFollowingSibling()) {
  90992. grandparent = $parent._node$_parent;
  90993. t1 = grandparent.children;
  90994. if ($parent.equalsIgnoringChildren$1(t1.get$last(t1)))
  90995. $parent = type$.ModifiableCssParentNode_2._as(t1.get$last(t1));
  90996. else {
  90997. $parent = $parent.copyWithoutChildren$0();
  90998. grandparent.addChild$1($parent);
  90999. }
  91000. }
  91001. }
  91002. $parent.addChild$1(node);
  91003. },
  91004. _async_evaluate0$_addChild$1(node) {
  91005. return this._async_evaluate0$_addChild$2$through(node, null);
  91006. },
  91007. _async_evaluate0$_withStyleRule$1$2(rule, callback, $T) {
  91008. return this._withStyleRule$body$_EvaluateVisitor0(rule, callback, $T, $T);
  91009. },
  91010. _withStyleRule$body$_EvaluateVisitor0(rule, callback, $T, $async$type) {
  91011. var $async$goto = 0,
  91012. $async$completer = A._makeAsyncAwaitCompleter($async$type),
  91013. $async$returnValue, $async$self = this, result, oldRule;
  91014. var $async$_async_evaluate0$_withStyleRule$1$2 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  91015. if ($async$errorCode === 1)
  91016. return A._asyncRethrow($async$result, $async$completer);
  91017. while (true)
  91018. switch ($async$goto) {
  91019. case 0:
  91020. // Function start
  91021. oldRule = $async$self._async_evaluate0$_styleRuleIgnoringAtRoot;
  91022. $async$self._async_evaluate0$_styleRuleIgnoringAtRoot = rule;
  91023. $async$goto = 3;
  91024. return A._asyncAwait(callback.call$0(), $async$_async_evaluate0$_withStyleRule$1$2);
  91025. case 3:
  91026. // returning from await.
  91027. result = $async$result;
  91028. $async$self._async_evaluate0$_styleRuleIgnoringAtRoot = oldRule;
  91029. $async$returnValue = result;
  91030. // goto return
  91031. $async$goto = 1;
  91032. break;
  91033. case 1:
  91034. // return
  91035. return A._asyncReturn($async$returnValue, $async$completer);
  91036. }
  91037. });
  91038. return A._asyncStartSync($async$_async_evaluate0$_withStyleRule$1$2, $async$completer);
  91039. },
  91040. _async_evaluate0$_withMediaQueries$1$3(queries, sources, callback, $T) {
  91041. return this._withMediaQueries$body$_EvaluateVisitor0(queries, sources, callback, $T, $T);
  91042. },
  91043. _withMediaQueries$body$_EvaluateVisitor0(queries, sources, callback, $T, $async$type) {
  91044. var $async$goto = 0,
  91045. $async$completer = A._makeAsyncAwaitCompleter($async$type),
  91046. $async$returnValue, $async$self = this, result, oldMediaQueries, oldSources;
  91047. var $async$_async_evaluate0$_withMediaQueries$1$3 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  91048. if ($async$errorCode === 1)
  91049. return A._asyncRethrow($async$result, $async$completer);
  91050. while (true)
  91051. switch ($async$goto) {
  91052. case 0:
  91053. // Function start
  91054. oldMediaQueries = $async$self._async_evaluate0$_mediaQueries;
  91055. oldSources = $async$self._async_evaluate0$_mediaQuerySources;
  91056. $async$self._async_evaluate0$_mediaQueries = queries;
  91057. $async$self._async_evaluate0$_mediaQuerySources = sources;
  91058. $async$goto = 3;
  91059. return A._asyncAwait(callback.call$0(), $async$_async_evaluate0$_withMediaQueries$1$3);
  91060. case 3:
  91061. // returning from await.
  91062. result = $async$result;
  91063. $async$self._async_evaluate0$_mediaQueries = oldMediaQueries;
  91064. $async$self._async_evaluate0$_mediaQuerySources = oldSources;
  91065. $async$returnValue = result;
  91066. // goto return
  91067. $async$goto = 1;
  91068. break;
  91069. case 1:
  91070. // return
  91071. return A._asyncReturn($async$returnValue, $async$completer);
  91072. }
  91073. });
  91074. return A._asyncStartSync($async$_async_evaluate0$_withMediaQueries$1$3, $async$completer);
  91075. },
  91076. _async_evaluate0$_withStackFrame$1$3(member, nodeWithSpan, callback, $T) {
  91077. return this._withStackFrame$body$_EvaluateVisitor0(member, nodeWithSpan, callback, $T, $T);
  91078. },
  91079. _withStackFrame$body$_EvaluateVisitor0(member, nodeWithSpan, callback, $T, $async$type) {
  91080. var $async$goto = 0,
  91081. $async$completer = A._makeAsyncAwaitCompleter($async$type),
  91082. $async$returnValue, $async$self = this, oldMember, result, t1;
  91083. var $async$_async_evaluate0$_withStackFrame$1$3 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  91084. if ($async$errorCode === 1)
  91085. return A._asyncRethrow($async$result, $async$completer);
  91086. while (true)
  91087. switch ($async$goto) {
  91088. case 0:
  91089. // Function start
  91090. t1 = $async$self._async_evaluate0$_stack;
  91091. t1.push(new A._Record_2($async$self._async_evaluate0$_member, nodeWithSpan));
  91092. oldMember = $async$self._async_evaluate0$_member;
  91093. $async$self._async_evaluate0$_member = member;
  91094. $async$goto = 3;
  91095. return A._asyncAwait(callback.call$0(), $async$_async_evaluate0$_withStackFrame$1$3);
  91096. case 3:
  91097. // returning from await.
  91098. result = $async$result;
  91099. $async$self._async_evaluate0$_member = oldMember;
  91100. t1.pop();
  91101. $async$returnValue = result;
  91102. // goto return
  91103. $async$goto = 1;
  91104. break;
  91105. case 1:
  91106. // return
  91107. return A._asyncReturn($async$returnValue, $async$completer);
  91108. }
  91109. });
  91110. return A._asyncStartSync($async$_async_evaluate0$_withStackFrame$1$3, $async$completer);
  91111. },
  91112. _async_evaluate0$_withoutSlash$2(value, nodeForSpan) {
  91113. var t1;
  91114. if (value instanceof A.SassNumber0)
  91115. t1 = value.asSlash != null;
  91116. else
  91117. t1 = false;
  91118. if (t1)
  91119. this._async_evaluate0$_warn$3(string$.Using__i + A.S(new A._EvaluateVisitor__withoutSlash_recommendation2().call$1(value)) + string$.x0a_Morex20, nodeForSpan.get$span(nodeForSpan), B.Deprecation_FyB);
  91120. return value.withoutSlash$0();
  91121. },
  91122. _async_evaluate0$_stackFrame$2(member, span) {
  91123. return A.frameForSpan0(span, member, A.NullableExtension_andThen0(span.get$sourceUrl(span), new A._EvaluateVisitor__stackFrame_closure2(this)));
  91124. },
  91125. _async_evaluate0$_stackTrace$1(span) {
  91126. var t2, t3, _i, t4, nodeWithSpan, _this = this,
  91127. t1 = A._setArrayType([], type$.JSArray_Frame);
  91128. for (t2 = _this._async_evaluate0$_stack, t3 = t2.length, _i = 0; _i < t2.length; t2.length === t3 || (0, A.throwConcurrentModificationError)(t2), ++_i) {
  91129. t4 = t2[_i];
  91130. nodeWithSpan = t4._1;
  91131. t1.push(_this._async_evaluate0$_stackFrame$2(t4._0, nodeWithSpan.get$span(nodeWithSpan)));
  91132. }
  91133. if (span != null)
  91134. t1.push(_this._async_evaluate0$_stackFrame$2(_this._async_evaluate0$_member, span));
  91135. return A.Trace$(new A.ReversedListIterable(t1, type$.ReversedListIterable_Frame), null);
  91136. },
  91137. _async_evaluate0$_stackTrace$0() {
  91138. return this._async_evaluate0$_stackTrace$1(null);
  91139. },
  91140. _async_evaluate0$_warn$3(message, span, deprecation) {
  91141. var trace, t1, _this = this;
  91142. if (_this._async_evaluate0$_quietDeps && _this._async_evaluate0$_inDependency)
  91143. return;
  91144. if (!_this._async_evaluate0$_warningsEmitted.add$1(0, new A._Record_2(message, span)))
  91145. return;
  91146. trace = _this._async_evaluate0$_stackTrace$1(span);
  91147. t1 = _this._async_evaluate0$_logger;
  91148. if (deprecation == null)
  91149. t1.internalWarn$4$deprecation$span$trace(message, null, span, trace);
  91150. else
  91151. A.WarnForDeprecation_warnForDeprecation0(t1, deprecation, message, span, trace);
  91152. },
  91153. _async_evaluate0$_warn$2(message, span) {
  91154. return this._async_evaluate0$_warn$3(message, span, null);
  91155. },
  91156. _async_evaluate0$_exception$2(message, span) {
  91157. var t1, t2;
  91158. if (span == null) {
  91159. t1 = B.JSArray_methods.get$last(this._async_evaluate0$_stack)._1;
  91160. t1 = t1.get$span(t1);
  91161. } else
  91162. t1 = span;
  91163. t2 = this._async_evaluate0$_stackTrace$1(span);
  91164. return new A.SassRuntimeException0(t2, B.Set_empty, message, t1);
  91165. },
  91166. _async_evaluate0$_exception$1(message) {
  91167. return this._async_evaluate0$_exception$2(message, null);
  91168. },
  91169. _async_evaluate0$_multiSpanException$3(message, primaryLabel, secondaryLabels) {
  91170. var t1 = B.JSArray_methods.get$last(this._async_evaluate0$_stack)._1;
  91171. return A.MultiSpanSassRuntimeException$0(message, t1.get$span(t1), primaryLabel, secondaryLabels, this._async_evaluate0$_stackTrace$0(), null);
  91172. },
  91173. _async_evaluate0$_addExceptionSpan$1$2(nodeWithSpan, callback) {
  91174. var error, stackTrace, t1, exception,
  91175. addStackFrame = true;
  91176. try {
  91177. t1 = callback.call$0();
  91178. return t1;
  91179. } catch (exception) {
  91180. t1 = A.unwrapException(exception);
  91181. if (t1 instanceof A.SassScriptException0) {
  91182. error = t1;
  91183. stackTrace = A.getTraceFromException(exception);
  91184. t1 = error.withSpan$1(nodeWithSpan.get$span(nodeWithSpan));
  91185. A.throwWithTrace0(t1.withTrace$1(this._async_evaluate0$_stackTrace$1(addStackFrame ? nodeWithSpan.get$span(nodeWithSpan) : null)), error, stackTrace);
  91186. } else
  91187. throw exception;
  91188. }
  91189. },
  91190. _async_evaluate0$_addExceptionSpan$2(nodeWithSpan, callback) {
  91191. callback.toString;
  91192. return this._async_evaluate0$_addExceptionSpan$1$2(nodeWithSpan, callback, type$.dynamic);
  91193. },
  91194. _async_evaluate0$_addExceptionSpanAsync$1$3$addStackFrame(nodeWithSpan, callback, addStackFrame, $T) {
  91195. return this._addExceptionSpanAsync$body$_EvaluateVisitor0(nodeWithSpan, callback, addStackFrame, $T, $T);
  91196. },
  91197. _async_evaluate0$_addExceptionSpanAsync$1$2(nodeWithSpan, callback, $T) {
  91198. callback.toString;
  91199. return this._async_evaluate0$_addExceptionSpanAsync$1$3$addStackFrame(nodeWithSpan, callback, true, $T);
  91200. },
  91201. _addExceptionSpanAsync$body$_EvaluateVisitor0(nodeWithSpan, callback, addStackFrame, $T, $async$type) {
  91202. var $async$goto = 0,
  91203. $async$completer = A._makeAsyncAwaitCompleter($async$type),
  91204. $async$returnValue, $async$handler = 2, $async$errorStack = [], $async$self = this, error, stackTrace, t1, exception, $async$exception;
  91205. var $async$_async_evaluate0$_addExceptionSpanAsync$1$3$addStackFrame = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  91206. if ($async$errorCode === 1) {
  91207. $async$errorStack.push($async$result);
  91208. $async$goto = $async$handler;
  91209. }
  91210. while (true)
  91211. switch ($async$goto) {
  91212. case 0:
  91213. // Function start
  91214. $async$handler = 4;
  91215. t1 = callback.call$0();
  91216. $async$goto = 7;
  91217. return A._asyncAwait($T._eval$1("Future<0>")._is(t1) ? t1 : A._Future$value(t1, $T), $async$_async_evaluate0$_addExceptionSpanAsync$1$3$addStackFrame);
  91218. case 7:
  91219. // returning from await.
  91220. t1 = $async$result;
  91221. $async$returnValue = t1;
  91222. // goto return
  91223. $async$goto = 1;
  91224. break;
  91225. $async$handler = 2;
  91226. // goto after finally
  91227. $async$goto = 6;
  91228. break;
  91229. case 4:
  91230. // catch
  91231. $async$handler = 3;
  91232. $async$exception = $async$errorStack.pop();
  91233. t1 = A.unwrapException($async$exception);
  91234. if (t1 instanceof A.SassScriptException0) {
  91235. error = t1;
  91236. stackTrace = A.getTraceFromException($async$exception);
  91237. t1 = error.withSpan$1(nodeWithSpan.get$span(nodeWithSpan));
  91238. A.throwWithTrace0(t1.withTrace$1($async$self._async_evaluate0$_stackTrace$1(addStackFrame ? nodeWithSpan.get$span(nodeWithSpan) : null)), error, stackTrace);
  91239. } else
  91240. throw $async$exception;
  91241. // goto after finally
  91242. $async$goto = 6;
  91243. break;
  91244. case 3:
  91245. // uncaught
  91246. // goto rethrow
  91247. $async$goto = 2;
  91248. break;
  91249. case 6:
  91250. // after finally
  91251. case 1:
  91252. // return
  91253. return A._asyncReturn($async$returnValue, $async$completer);
  91254. case 2:
  91255. // rethrow
  91256. return A._asyncRethrow($async$errorStack.at(-1), $async$completer);
  91257. }
  91258. });
  91259. return A._asyncStartSync($async$_async_evaluate0$_addExceptionSpanAsync$1$3$addStackFrame, $async$completer);
  91260. },
  91261. _async_evaluate0$_addExceptionTrace$1$1(callback, $T) {
  91262. return this._addExceptionTrace$body$_EvaluateVisitor0(callback, $T, $T);
  91263. },
  91264. _addExceptionTrace$body$_EvaluateVisitor0(callback, $T, $async$type) {
  91265. var $async$goto = 0,
  91266. $async$completer = A._makeAsyncAwaitCompleter($async$type),
  91267. $async$returnValue, $async$handler = 2, $async$errorStack = [], $async$self = this, error, stackTrace, t1, exception, t2, $async$exception;
  91268. var $async$_async_evaluate0$_addExceptionTrace$1$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  91269. if ($async$errorCode === 1) {
  91270. $async$errorStack.push($async$result);
  91271. $async$goto = $async$handler;
  91272. }
  91273. while (true)
  91274. switch ($async$goto) {
  91275. case 0:
  91276. // Function start
  91277. $async$handler = 4;
  91278. t1 = callback.call$0();
  91279. $async$goto = 7;
  91280. return A._asyncAwait($T._eval$1("Future<0>")._is(t1) ? t1 : A._Future$value(t1, $T), $async$_async_evaluate0$_addExceptionTrace$1$1);
  91281. case 7:
  91282. // returning from await.
  91283. t1 = $async$result;
  91284. $async$returnValue = t1;
  91285. // goto return
  91286. $async$goto = 1;
  91287. break;
  91288. $async$handler = 2;
  91289. // goto after finally
  91290. $async$goto = 6;
  91291. break;
  91292. case 4:
  91293. // catch
  91294. $async$handler = 3;
  91295. $async$exception = $async$errorStack.pop();
  91296. t1 = A.unwrapException($async$exception);
  91297. if (type$.SassRuntimeException_2._is(t1))
  91298. throw $async$exception;
  91299. else if (t1 instanceof A.SassException0) {
  91300. error = t1;
  91301. stackTrace = A.getTraceFromException($async$exception);
  91302. t1 = error;
  91303. t2 = J.getInterceptor$z(t1);
  91304. A.throwWithTrace0(error.withTrace$1($async$self._async_evaluate0$_stackTrace$1(A.SourceSpanException.prototype.get$span.call(t2, t1))), error, stackTrace);
  91305. } else
  91306. throw $async$exception;
  91307. // goto after finally
  91308. $async$goto = 6;
  91309. break;
  91310. case 3:
  91311. // uncaught
  91312. // goto rethrow
  91313. $async$goto = 2;
  91314. break;
  91315. case 6:
  91316. // after finally
  91317. case 1:
  91318. // return
  91319. return A._asyncReturn($async$returnValue, $async$completer);
  91320. case 2:
  91321. // rethrow
  91322. return A._asyncRethrow($async$errorStack.at(-1), $async$completer);
  91323. }
  91324. });
  91325. return A._asyncStartSync($async$_async_evaluate0$_addExceptionTrace$1$1, $async$completer);
  91326. },
  91327. _async_evaluate0$_addErrorSpan$1$2(nodeWithSpan, callback, $T) {
  91328. return this._addErrorSpan$body$_EvaluateVisitor0(nodeWithSpan, callback, $T, $T);
  91329. },
  91330. _addErrorSpan$body$_EvaluateVisitor0(nodeWithSpan, callback, $T, $async$type) {
  91331. var $async$goto = 0,
  91332. $async$completer = A._makeAsyncAwaitCompleter($async$type),
  91333. $async$returnValue, $async$handler = 2, $async$errorStack = [], $async$self = this, error, stackTrace, t1, exception, t2, t3, $async$exception;
  91334. var $async$_async_evaluate0$_addErrorSpan$1$2 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  91335. if ($async$errorCode === 1) {
  91336. $async$errorStack.push($async$result);
  91337. $async$goto = $async$handler;
  91338. }
  91339. while (true)
  91340. switch ($async$goto) {
  91341. case 0:
  91342. // Function start
  91343. $async$handler = 4;
  91344. $async$goto = 7;
  91345. return A._asyncAwait(callback.call$0(), $async$_async_evaluate0$_addErrorSpan$1$2);
  91346. case 7:
  91347. // returning from await.
  91348. t1 = $async$result;
  91349. $async$returnValue = t1;
  91350. // goto return
  91351. $async$goto = 1;
  91352. break;
  91353. $async$handler = 2;
  91354. // goto after finally
  91355. $async$goto = 6;
  91356. break;
  91357. case 4:
  91358. // catch
  91359. $async$handler = 3;
  91360. $async$exception = $async$errorStack.pop();
  91361. t1 = A.unwrapException($async$exception);
  91362. if (type$.SassRuntimeException_2._is(t1)) {
  91363. error = t1;
  91364. stackTrace = A.getTraceFromException($async$exception);
  91365. if (!B.JSString_methods.startsWith$1(J.get$span$z(error).get$text(), "@error"))
  91366. throw $async$exception;
  91367. t1 = error._span_exception$_message;
  91368. t2 = nodeWithSpan.get$span(nodeWithSpan);
  91369. t3 = $async$self._async_evaluate0$_stackTrace$0();
  91370. A.throwWithTrace0(new A.SassRuntimeException0(t3, B.Set_empty, t1, t2), error, stackTrace);
  91371. } else
  91372. throw $async$exception;
  91373. // goto after finally
  91374. $async$goto = 6;
  91375. break;
  91376. case 3:
  91377. // uncaught
  91378. // goto rethrow
  91379. $async$goto = 2;
  91380. break;
  91381. case 6:
  91382. // after finally
  91383. case 1:
  91384. // return
  91385. return A._asyncReturn($async$returnValue, $async$completer);
  91386. case 2:
  91387. // rethrow
  91388. return A._asyncRethrow($async$errorStack.at(-1), $async$completer);
  91389. }
  91390. });
  91391. return A._asyncStartSync($async$_async_evaluate0$_addErrorSpan$1$2, $async$completer);
  91392. },
  91393. _async_evaluate0$_getErrorMessage$1(error) {
  91394. var t1, exception;
  91395. if (type$.Error._is(error))
  91396. return error.toString$0(0);
  91397. try {
  91398. t1 = A._asString(J.get$message$x(error));
  91399. return t1;
  91400. } catch (exception) {
  91401. t1 = J.toString$0$(error);
  91402. return t1;
  91403. }
  91404. },
  91405. $isExpressionVisitor: 1,
  91406. $isStatementVisitor: 1
  91407. };
  91408. A._EvaluateVisitor_closure38.prototype = {
  91409. call$1($arguments) {
  91410. var module, t2,
  91411. t1 = J.getInterceptor$asx($arguments),
  91412. variable = t1.$index($arguments, 0).assertString$1("name");
  91413. t1 = t1.$index($arguments, 1).get$realNull();
  91414. module = t1 == null ? null : t1.assertString$1("module");
  91415. t1 = this.$this._async_evaluate0$_environment;
  91416. t2 = A.stringReplaceAllUnchecked(variable._string0$_text, "_", "-");
  91417. return t1.globalVariableExists$2$namespace(t2, module == null ? null : module._string0$_text) ? B.SassBoolean_true0 : B.SassBoolean_false0;
  91418. },
  91419. $signature: 11
  91420. };
  91421. A._EvaluateVisitor_closure39.prototype = {
  91422. call$1($arguments) {
  91423. var variable = J.$index$asx($arguments, 0).assertString$1("name"),
  91424. t1 = this.$this._async_evaluate0$_environment;
  91425. return t1.getVariable$1(A.stringReplaceAllUnchecked(variable._string0$_text, "_", "-")) != null ? B.SassBoolean_true0 : B.SassBoolean_false0;
  91426. },
  91427. $signature: 11
  91428. };
  91429. A._EvaluateVisitor_closure40.prototype = {
  91430. call$1($arguments) {
  91431. var module, t2, t3, t4,
  91432. t1 = J.getInterceptor$asx($arguments),
  91433. variable = t1.$index($arguments, 0).assertString$1("name");
  91434. t1 = t1.$index($arguments, 1).get$realNull();
  91435. module = t1 == null ? null : t1.assertString$1("module");
  91436. t1 = this.$this;
  91437. t2 = t1._async_evaluate0$_environment;
  91438. t3 = variable._string0$_text;
  91439. t4 = A.stringReplaceAllUnchecked(t3, "_", "-");
  91440. 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;
  91441. },
  91442. $signature: 11
  91443. };
  91444. A._EvaluateVisitor_closure41.prototype = {
  91445. call$1($arguments) {
  91446. var module, t2,
  91447. t1 = J.getInterceptor$asx($arguments),
  91448. variable = t1.$index($arguments, 0).assertString$1("name");
  91449. t1 = t1.$index($arguments, 1).get$realNull();
  91450. module = t1 == null ? null : t1.assertString$1("module");
  91451. t1 = this.$this._async_evaluate0$_environment;
  91452. t2 = A.stringReplaceAllUnchecked(variable._string0$_text, "_", "-");
  91453. return t1.getMixin$2$namespace(t2, module == null ? null : module._string0$_text) != null ? B.SassBoolean_true0 : B.SassBoolean_false0;
  91454. },
  91455. $signature: 11
  91456. };
  91457. A._EvaluateVisitor_closure42.prototype = {
  91458. call$1($arguments) {
  91459. var t1 = this.$this._async_evaluate0$_environment;
  91460. if (!t1._async_environment0$_inMixin)
  91461. throw A.wrapException(A.SassScriptException$0(string$.conten, null));
  91462. return t1._async_environment0$_content != null ? B.SassBoolean_true0 : B.SassBoolean_false0;
  91463. },
  91464. $signature: 11
  91465. };
  91466. A._EvaluateVisitor_closure43.prototype = {
  91467. call$1($arguments) {
  91468. var t2, t3, t4,
  91469. t1 = J.$index$asx($arguments, 0).assertString$1("module")._string0$_text,
  91470. module = this.$this._async_evaluate0$_environment._async_environment0$_modules.$index(0, t1);
  91471. if (module == null)
  91472. throw A.wrapException('There is no module with namespace "' + t1 + '".');
  91473. t1 = type$.Value_2;
  91474. t2 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t1);
  91475. for (t3 = A.MapExtensions_get_pairs0(module.get$variables(), type$.String, t1), t3 = t3.get$iterator(t3); t3.moveNext$0();) {
  91476. t4 = t3.get$current(t3);
  91477. t2.$indexSet(0, new A.SassString0(t4._0, true), t4._1);
  91478. }
  91479. return new A.SassMap0(A.ConstantMap_ConstantMap$from(t2, t1, t1));
  91480. },
  91481. $signature: 37
  91482. };
  91483. A._EvaluateVisitor_closure44.prototype = {
  91484. call$1($arguments) {
  91485. var t3, t4, t5,
  91486. t1 = this.$this,
  91487. t2 = J.$index$asx($arguments, 0).assertString$1("module")._string0$_text,
  91488. module = t1._async_evaluate0$_environment._async_environment0$_modules.$index(0, t2);
  91489. if (module == null)
  91490. throw A.wrapException('There is no module with namespace "' + t2 + '".');
  91491. t2 = type$.Value_2;
  91492. t3 = A.LinkedHashMap_LinkedHashMap$_empty(t2, t2);
  91493. for (t4 = A.MapExtensions_get_pairs0(module.get$functions(module), type$.String, type$.AsyncCallable_2), t4 = t4.get$iterator(t4), t1 = t1._async_evaluate0$_compileContext; t4.moveNext$0();) {
  91494. t5 = t4.get$current(t4);
  91495. t3.$indexSet(0, new A.SassString0(t5._0, true), new A.SassFunction0(t5._1, t1));
  91496. }
  91497. return new A.SassMap0(A.ConstantMap_ConstantMap$from(t3, t2, t2));
  91498. },
  91499. $signature: 37
  91500. };
  91501. A._EvaluateVisitor_closure45.prototype = {
  91502. call$1($arguments) {
  91503. var t3, t4, t5,
  91504. t1 = this.$this,
  91505. t2 = J.$index$asx($arguments, 0).assertString$1("module")._string0$_text,
  91506. module = t1._async_evaluate0$_environment._async_environment0$_modules.$index(0, t2);
  91507. if (module == null)
  91508. throw A.wrapException('There is no module with namespace "' + t2 + '".');
  91509. t2 = type$.Value_2;
  91510. t3 = A.LinkedHashMap_LinkedHashMap$_empty(t2, t2);
  91511. for (t4 = A.MapExtensions_get_pairs0(module.get$mixins(), type$.String, type$.AsyncCallable_2), t4 = t4.get$iterator(t4), t1 = t1._async_evaluate0$_compileContext; t4.moveNext$0();) {
  91512. t5 = t4.get$current(t4);
  91513. t3.$indexSet(0, new A.SassString0(t5._0, true), new A.SassMixin0(t5._1, t1));
  91514. }
  91515. return new A.SassMap0(A.ConstantMap_ConstantMap$from(t3, t2, t2));
  91516. },
  91517. $signature: 37
  91518. };
  91519. A._EvaluateVisitor_closure46.prototype = {
  91520. call$1($arguments) {
  91521. var module, t2, callable,
  91522. t1 = J.getInterceptor$asx($arguments),
  91523. $name = t1.$index($arguments, 0).assertString$1("name"),
  91524. css = t1.$index($arguments, 1).get$isTruthy();
  91525. t1 = t1.$index($arguments, 2).get$realNull();
  91526. module = t1 == null ? null : t1.assertString$1("module");
  91527. if (css) {
  91528. if (module != null)
  91529. throw A.wrapException(string$.x24css_a);
  91530. return new A.SassFunction0(new A.PlainCssCallable0($name._string0$_text), this.$this._async_evaluate0$_compileContext);
  91531. }
  91532. t1 = this.$this;
  91533. t2 = t1._async_evaluate0$_callableNode;
  91534. t2.toString;
  91535. callable = t1._async_evaluate0$_addExceptionSpan$2(t2, new A._EvaluateVisitor__closure14(t1, $name, module));
  91536. if (callable == null)
  91537. throw A.wrapException("Function not found: " + $name.toString$0(0));
  91538. return new A.SassFunction0(callable, t1._async_evaluate0$_compileContext);
  91539. },
  91540. $signature: 205
  91541. };
  91542. A._EvaluateVisitor__closure14.prototype = {
  91543. call$0() {
  91544. var local,
  91545. normalizedName = A.stringReplaceAllUnchecked(this.name._string0$_text, "_", "-"),
  91546. t1 = this.module,
  91547. namespace = t1 == null ? null : t1._string0$_text;
  91548. t1 = this.$this;
  91549. local = t1._async_evaluate0$_environment.getFunction$2$namespace(normalizedName, namespace);
  91550. if (local != null || namespace != null)
  91551. return local;
  91552. return t1._async_evaluate0$_builtInFunctions.$index(0, normalizedName);
  91553. },
  91554. $signature: 97
  91555. };
  91556. A._EvaluateVisitor_closure47.prototype = {
  91557. call$1($arguments) {
  91558. var module, t2, callable,
  91559. t1 = J.getInterceptor$asx($arguments),
  91560. $name = t1.$index($arguments, 0).assertString$1("name");
  91561. t1 = t1.$index($arguments, 1).get$realNull();
  91562. module = t1 == null ? null : t1.assertString$1("module");
  91563. t1 = this.$this;
  91564. t2 = t1._async_evaluate0$_callableNode;
  91565. t2.toString;
  91566. callable = t1._async_evaluate0$_addExceptionSpan$2(t2, new A._EvaluateVisitor__closure13(t1, $name, module));
  91567. if (callable == null)
  91568. throw A.wrapException("Mixin not found: " + $name.toString$0(0));
  91569. return new A.SassMixin0(callable, t1._async_evaluate0$_compileContext);
  91570. },
  91571. $signature: 206
  91572. };
  91573. A._EvaluateVisitor__closure13.prototype = {
  91574. call$0() {
  91575. var t1 = this.$this._async_evaluate0$_environment,
  91576. t2 = A.stringReplaceAllUnchecked(this.name._string0$_text, "_", "-"),
  91577. t3 = this.module;
  91578. return t1.getMixin$2$namespace(t2, t3 == null ? null : t3._string0$_text);
  91579. },
  91580. $signature: 97
  91581. };
  91582. A._EvaluateVisitor_closure48.prototype = {
  91583. call$1($arguments) {
  91584. return this.$call$body$_EvaluateVisitor_closure4($arguments);
  91585. },
  91586. $call$body$_EvaluateVisitor_closure4($arguments) {
  91587. var $async$goto = 0,
  91588. $async$completer = A._makeAsyncAwaitCompleter(type$.Value_2),
  91589. $async$returnValue, $async$self = this, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, invocation, callableNode, t1, $function, args;
  91590. var $async$call$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  91591. if ($async$errorCode === 1)
  91592. return A._asyncRethrow($async$result, $async$completer);
  91593. while (true)
  91594. switch ($async$goto) {
  91595. case 0:
  91596. // Function start
  91597. t1 = J.getInterceptor$asx($arguments);
  91598. $function = t1.$index($arguments, 0);
  91599. args = type$.SassArgumentList_2._as(t1.$index($arguments, 1));
  91600. t1 = $async$self.$this;
  91601. t2 = t1._async_evaluate0$_callableNode;
  91602. t2.toString;
  91603. t3 = A._setArrayType([], type$.JSArray_Expression_2);
  91604. t4 = type$.String;
  91605. t5 = type$.Expression_2;
  91606. t6 = t2.get$span(t2);
  91607. t7 = t2.get$span(t2);
  91608. args._argument_list$_wereKeywordsAccessed = true;
  91609. t8 = args._argument_list$_keywords;
  91610. if (t8.get$isEmpty(t8))
  91611. t2 = null;
  91612. else {
  91613. t9 = type$.Value_2;
  91614. t10 = A.LinkedHashMap_LinkedHashMap$_empty(t9, t9);
  91615. for (args._argument_list$_wereKeywordsAccessed = true, t8 = A.MapExtensions_get_pairs0(t8, t4, t9), t8 = t8.get$iterator(t8); t8.moveNext$0();) {
  91616. t11 = t8.get$current(t8);
  91617. t10.$indexSet(0, new A.SassString0(t11._0, false), t11._1);
  91618. }
  91619. t2 = new A.ValueExpression0(new A.SassMap0(A.ConstantMap_ConstantMap$from(t10, t9, t9)), t2.get$span(t2));
  91620. }
  91621. invocation = new A.ArgumentList0(A.List_List$unmodifiable(t3, t5), A.ConstantMap_ConstantMap$from(A.LinkedHashMap_LinkedHashMap$_empty(t4, t5), t4, t5), new A.ValueExpression0(args, t7), t2, t6);
  91622. $async$goto = $function instanceof A.SassString0 ? 3 : 4;
  91623. break;
  91624. case 3:
  91625. // then
  91626. A.warnForDeprecation0(string$.Passina + $function.toString$0(0) + "))", B.Deprecation_aM0);
  91627. callableNode = t1._async_evaluate0$_callableNode;
  91628. t2 = $function._string0$_text;
  91629. t3 = callableNode.get$span(callableNode);
  91630. t1 = t1.visitFunctionExpression$1(0, new A.FunctionExpression0(null, A.stringReplaceAllUnchecked(t2, "_", "-"), t2, invocation, t3));
  91631. $async$goto = 5;
  91632. return A._asyncAwait(type$.Future_Value_2._is(t1) ? t1 : A._Future$value(t1, type$.Value_2), $async$call$1);
  91633. case 5:
  91634. // returning from await.
  91635. $async$returnValue = $async$result;
  91636. // goto return
  91637. $async$goto = 1;
  91638. break;
  91639. case 4:
  91640. // join
  91641. t2 = $function.assertFunction$1("function").assertCompileContext$1(t1._async_evaluate0$_compileContext);
  91642. t3 = t1._async_evaluate0$_callableNode;
  91643. t3.toString;
  91644. $async$goto = 6;
  91645. return A._asyncAwait(t1._async_evaluate0$_runFunctionCallable$3(invocation, t2.callable, t3), $async$call$1);
  91646. case 6:
  91647. // returning from await.
  91648. t3 = $async$result;
  91649. $async$returnValue = t3;
  91650. // goto return
  91651. $async$goto = 1;
  91652. break;
  91653. case 1:
  91654. // return
  91655. return A._asyncReturn($async$returnValue, $async$completer);
  91656. }
  91657. });
  91658. return A._asyncStartSync($async$call$1, $async$completer);
  91659. },
  91660. $signature: 86
  91661. };
  91662. A._EvaluateVisitor_closure49.prototype = {
  91663. call$1($arguments) {
  91664. return this.$call$body$_EvaluateVisitor_closure3($arguments);
  91665. },
  91666. $call$body$_EvaluateVisitor_closure3($arguments) {
  91667. var $async$goto = 0,
  91668. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  91669. $async$self = this, withMap, t2, values, configuration, t3, t1, url;
  91670. var $async$call$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  91671. if ($async$errorCode === 1)
  91672. return A._asyncRethrow($async$result, $async$completer);
  91673. while (true)
  91674. switch ($async$goto) {
  91675. case 0:
  91676. // Function start
  91677. t1 = J.getInterceptor$asx($arguments);
  91678. url = A.Uri_parse(t1.$index($arguments, 0).assertString$1("url")._string0$_text);
  91679. t1 = t1.$index($arguments, 1).get$realNull();
  91680. withMap = t1 == null ? null : t1.assertMap$1("with")._map0$_contents;
  91681. t1 = $async$self.$this;
  91682. t2 = t1._async_evaluate0$_callableNode;
  91683. t2.toString;
  91684. if (withMap != null) {
  91685. values = A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.ConfiguredValue_2);
  91686. withMap.forEach$1(0, new A._EvaluateVisitor__closure11(values, t2.get$span(t2), t2));
  91687. configuration = new A.ExplicitConfiguration0(t2, values, null);
  91688. } else
  91689. configuration = B.Configuration_Map_empty_null0;
  91690. t3 = t2.get$span(t2);
  91691. $async$goto = 2;
  91692. return A._asyncAwait(t1._async_evaluate0$_loadModule$7$baseUrl$configuration$namesInErrors(url, "load-css()", t2, new A._EvaluateVisitor__closure12(t1), t3.get$sourceUrl(t3), configuration, true), $async$call$1);
  91693. case 2:
  91694. // returning from await.
  91695. t1._async_evaluate0$_assertConfigurationIsEmpty$2$nameInError(configuration, true);
  91696. // implicit return
  91697. return A._asyncReturn(null, $async$completer);
  91698. }
  91699. });
  91700. return A._asyncStartSync($async$call$1, $async$completer);
  91701. },
  91702. $signature: 207
  91703. };
  91704. A._EvaluateVisitor__closure11.prototype = {
  91705. call$2(variable, value) {
  91706. var t1 = variable.assertString$1("with key"),
  91707. $name = A.stringReplaceAllUnchecked(t1._string0$_text, "_", "-");
  91708. t1 = this.values;
  91709. if (t1.containsKey$1($name))
  91710. throw A.wrapException("The variable $" + $name + " was configured twice.");
  91711. t1.$indexSet(0, $name, new A.ConfiguredValue0(value, this.span, this.callableNode));
  91712. },
  91713. $signature: 98
  91714. };
  91715. A._EvaluateVisitor__closure12.prototype = {
  91716. call$2(module, _) {
  91717. var t1 = this.$this;
  91718. return t1._async_evaluate0$_combineCss$2$clone(module, true).accept$1(t1);
  91719. },
  91720. $signature: 327
  91721. };
  91722. A._EvaluateVisitor_closure50.prototype = {
  91723. call$1($arguments) {
  91724. return this.$call$body$_EvaluateVisitor_closure2($arguments);
  91725. },
  91726. $call$body$_EvaluateVisitor_closure2($arguments) {
  91727. var $async$goto = 0,
  91728. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  91729. $async$self = this, callableNode, t2, t3, t4, t5, t1, mixin, args;
  91730. var $async$call$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  91731. if ($async$errorCode === 1)
  91732. return A._asyncRethrow($async$result, $async$completer);
  91733. while (true)
  91734. switch ($async$goto) {
  91735. case 0:
  91736. // Function start
  91737. t1 = J.getInterceptor$asx($arguments);
  91738. mixin = t1.$index($arguments, 0);
  91739. args = type$.SassArgumentList_2._as(t1.$index($arguments, 1));
  91740. t1 = $async$self.$this;
  91741. callableNode = t1._async_evaluate0$_callableNode;
  91742. t2 = callableNode.get$span(callableNode);
  91743. t3 = callableNode.get$span(callableNode);
  91744. t4 = type$.Expression_2;
  91745. t5 = A.List_List$unmodifiable(B.List_empty23, t4);
  91746. t4 = A.ConstantMap_ConstantMap$from(B.Map_empty14, type$.String, t4);
  91747. $async$goto = 2;
  91748. return A._asyncAwait(t1._async_evaluate0$_applyMixin$5(mixin.assertMixin$1("mixin").assertCompileContext$1(t1._async_evaluate0$_compileContext).callable, t1._async_evaluate0$_environment._async_environment0$_content, new A.ArgumentList0(t5, t4, new A.ValueExpression0(args, t3), null, t2), callableNode, callableNode), $async$call$1);
  91749. case 2:
  91750. // returning from await.
  91751. // implicit return
  91752. return A._asyncReturn(null, $async$completer);
  91753. }
  91754. });
  91755. return A._asyncStartSync($async$call$1, $async$completer);
  91756. },
  91757. $signature: 207
  91758. };
  91759. A._EvaluateVisitor_run_closure2.prototype = {
  91760. call$0() {
  91761. var $async$goto = 0,
  91762. $async$completer = A._makeAsyncAwaitCompleter(type$.Record_2_Set_Uri_loadedUrls_and_CssStylesheet_stylesheet_2),
  91763. $async$returnValue, $async$self = this, module, t2, t1, _0_0, url;
  91764. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  91765. if ($async$errorCode === 1)
  91766. return A._asyncRethrow($async$result, $async$completer);
  91767. while (true)
  91768. switch ($async$goto) {
  91769. case 0:
  91770. // Function start
  91771. t1 = $async$self.node;
  91772. _0_0 = t1.span.file.url;
  91773. url = null;
  91774. if (_0_0 != null) {
  91775. url = _0_0;
  91776. t2 = $async$self.$this;
  91777. t2._async_evaluate0$_activeModules.$indexSet(0, url, null);
  91778. if (!(t2._async_evaluate0$_nodeImporter != null && J.toString$0$(url) === "stdin"))
  91779. t2._async_evaluate0$_loadedUrls.add$1(0, url);
  91780. }
  91781. t2 = $async$self.$this;
  91782. $async$goto = 3;
  91783. return A._asyncAwait(t2._async_evaluate0$_addExceptionTrace$1$1(new A._EvaluateVisitor_run__closure2(t2, $async$self.importer, t1), type$.Module_AsyncCallable_2), $async$call$0);
  91784. case 3:
  91785. // returning from await.
  91786. module = $async$result;
  91787. $async$returnValue = new A._Record_2_loadedUrls_stylesheet(t2._async_evaluate0$_loadedUrls, t2._async_evaluate0$_combineCss$1(module));
  91788. // goto return
  91789. $async$goto = 1;
  91790. break;
  91791. case 1:
  91792. // return
  91793. return A._asyncReturn($async$returnValue, $async$completer);
  91794. }
  91795. });
  91796. return A._asyncStartSync($async$call$0, $async$completer);
  91797. },
  91798. $signature: 328
  91799. };
  91800. A._EvaluateVisitor_run__closure2.prototype = {
  91801. call$0() {
  91802. return this.$this._async_evaluate0$_execute$2(this.importer, this.node);
  91803. },
  91804. $signature: 329
  91805. };
  91806. A._EvaluateVisitor__loadModule_closure5.prototype = {
  91807. call$0() {
  91808. return this.callback.call$2(this._box_0.builtInModule, false);
  91809. },
  91810. $signature: 0
  91811. };
  91812. A._EvaluateVisitor__loadModule_closure6.prototype = {
  91813. call$0() {
  91814. return this.$call$body$_EvaluateVisitor__loadModule_closure0();
  91815. },
  91816. $call$body$_EvaluateVisitor__loadModule_closure0() {
  91817. var $async$goto = 0,
  91818. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  91819. $async$handler = 1, $async$errorStack = [], $async$next = [], $async$self = this, canonicalUrl, oldInDependency, isDependency, t4, message, t1, stylesheet, importer, t2, t3, _1_0, $async$temp1;
  91820. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  91821. if ($async$errorCode === 1) {
  91822. $async$errorStack.push($async$result);
  91823. $async$goto = $async$handler;
  91824. }
  91825. while (true)
  91826. switch ($async$goto) {
  91827. case 0:
  91828. // Function start
  91829. t1 = {};
  91830. stylesheet = null;
  91831. importer = null;
  91832. t2 = $async$self.$this;
  91833. t3 = $async$self.nodeWithSpan;
  91834. $async$goto = 2;
  91835. return A._asyncAwait(t2._async_evaluate0$_loadStylesheet$3$baseUrl($async$self.url.toString$0(0), t3.get$span(t3), $async$self.baseUrl), $async$call$0);
  91836. case 2:
  91837. // returning from await.
  91838. _1_0 = $async$result;
  91839. stylesheet = _1_0._0;
  91840. importer = _1_0._1;
  91841. isDependency = _1_0._2;
  91842. canonicalUrl = stylesheet.span.file.url;
  91843. if (canonicalUrl != null) {
  91844. t4 = t2._async_evaluate0$_activeModules;
  91845. if (t4.containsKey$1(canonicalUrl)) {
  91846. message = $async$self.namesInErrors ? "Module loop: " + $.$get$context().prettyUri$1(canonicalUrl) + " is already being loaded." : string$.Modulel;
  91847. t1 = A.NullableExtension_andThen0(t4.$index(0, canonicalUrl), new A._EvaluateVisitor__loadModule__closure5(t2, message));
  91848. throw A.wrapException(t1 == null ? t2._async_evaluate0$_exception$1(message) : t1);
  91849. } else
  91850. t4.$indexSet(0, canonicalUrl, t3);
  91851. }
  91852. t4 = t2._async_evaluate0$_modules.containsKey$1(canonicalUrl);
  91853. oldInDependency = t2._async_evaluate0$_inDependency;
  91854. t2._async_evaluate0$_inDependency = isDependency;
  91855. t1.module = null;
  91856. $async$handler = 3;
  91857. $async$temp1 = t1;
  91858. $async$goto = 6;
  91859. return A._asyncAwait(t2._async_evaluate0$_execute$5$configuration$namesInErrors$nodeWithSpan(importer, stylesheet, $async$self.configuration, $async$self.namesInErrors, t3), $async$call$0);
  91860. case 6:
  91861. // returning from await.
  91862. $async$temp1.module = $async$result;
  91863. $async$next.push(5);
  91864. // goto finally
  91865. $async$goto = 4;
  91866. break;
  91867. case 3:
  91868. // uncaught
  91869. $async$next = [1];
  91870. case 4:
  91871. // finally
  91872. $async$handler = 1;
  91873. t2._async_evaluate0$_activeModules.remove$1(0, canonicalUrl);
  91874. t2._async_evaluate0$_inDependency = oldInDependency;
  91875. // goto the next finally handler
  91876. $async$goto = $async$next.pop();
  91877. break;
  91878. case 5:
  91879. // after finally
  91880. $async$goto = 7;
  91881. return A._asyncAwait(t2._async_evaluate0$_addExceptionSpanAsync$1$3$addStackFrame(t3, new A._EvaluateVisitor__loadModule__closure6(t1, $async$self.callback, !t4), false, type$.void), $async$call$0);
  91882. case 7:
  91883. // returning from await.
  91884. // implicit return
  91885. return A._asyncReturn(null, $async$completer);
  91886. case 1:
  91887. // rethrow
  91888. return A._asyncRethrow($async$errorStack.at(-1), $async$completer);
  91889. }
  91890. });
  91891. return A._asyncStartSync($async$call$0, $async$completer);
  91892. },
  91893. $signature: 2
  91894. };
  91895. A._EvaluateVisitor__loadModule__closure5.prototype = {
  91896. call$1(previousLoad) {
  91897. 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));
  91898. },
  91899. $signature: 99
  91900. };
  91901. A._EvaluateVisitor__loadModule__closure6.prototype = {
  91902. call$0() {
  91903. return this.callback.call$2(this._box_1.module, this.firstLoad);
  91904. },
  91905. $signature: 0
  91906. };
  91907. A._EvaluateVisitor__execute_closure2.prototype = {
  91908. call$0() {
  91909. var $async$goto = 0,
  91910. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  91911. $async$self = this, t3, t4, t5, t6, t1, oldImporter, oldStylesheet, oldRoot, oldPreModuleComments, oldParent, oldEndOfImports, oldOutOfOrderImports, oldExtensionStore, t2, oldStyleRule, oldMediaQueries, oldDeclarationName, oldInUnknownAtRule, oldInKeyframes, oldConfiguration;
  91912. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  91913. if ($async$errorCode === 1)
  91914. return A._asyncRethrow($async$result, $async$completer);
  91915. while (true)
  91916. switch ($async$goto) {
  91917. case 0:
  91918. // Function start
  91919. t1 = $async$self.$this;
  91920. oldImporter = t1._async_evaluate0$_importer;
  91921. oldStylesheet = t1._async_evaluate0$__stylesheet;
  91922. oldRoot = t1._async_evaluate0$__root;
  91923. oldPreModuleComments = t1._async_evaluate0$_preModuleComments;
  91924. oldParent = t1._async_evaluate0$__parent;
  91925. oldEndOfImports = t1._async_evaluate0$__endOfImports;
  91926. oldOutOfOrderImports = t1._async_evaluate0$_outOfOrderImports;
  91927. oldExtensionStore = t1._async_evaluate0$__extensionStore;
  91928. t2 = t1._async_evaluate0$_atRootExcludingStyleRule;
  91929. oldStyleRule = t2 ? null : t1._async_evaluate0$_styleRuleIgnoringAtRoot;
  91930. oldMediaQueries = t1._async_evaluate0$_mediaQueries;
  91931. oldDeclarationName = t1._async_evaluate0$_declarationName;
  91932. oldInUnknownAtRule = t1._async_evaluate0$_inUnknownAtRule;
  91933. oldInKeyframes = t1._async_evaluate0$_inKeyframes;
  91934. oldConfiguration = t1._async_evaluate0$_configuration;
  91935. t1._async_evaluate0$_importer = $async$self.importer;
  91936. t3 = t1._async_evaluate0$__stylesheet = $async$self.stylesheet;
  91937. t4 = t3.span;
  91938. t5 = t1._async_evaluate0$__parent = t1._async_evaluate0$__root = A.ModifiableCssStylesheet$0(t4);
  91939. t1._async_evaluate0$__endOfImports = 0;
  91940. t1._async_evaluate0$_outOfOrderImports = null;
  91941. t1._async_evaluate0$__extensionStore = $async$self.extensionStore;
  91942. t1._async_evaluate0$_declarationName = t1._async_evaluate0$_mediaQueries = t1._async_evaluate0$_styleRuleIgnoringAtRoot = null;
  91943. t1._async_evaluate0$_inKeyframes = t1._async_evaluate0$_atRootExcludingStyleRule = t1._async_evaluate0$_inUnknownAtRule = false;
  91944. t6 = $async$self.configuration;
  91945. if (t6 != null)
  91946. t1._async_evaluate0$_configuration = t6;
  91947. $async$goto = 2;
  91948. return A._asyncAwait(t1.visitStylesheet$1(0, t3), $async$call$0);
  91949. case 2:
  91950. // returning from await.
  91951. t3 = t1._async_evaluate0$_outOfOrderImports == null ? t5 : new A.CssStylesheet0(new A.UnmodifiableListView(t1._async_evaluate0$_addOutOfOrderImports$0(), type$.UnmodifiableListView_CssNode_2), t4);
  91952. $async$self.css.__late_helper$_value = t3;
  91953. $async$self.preModuleComments.__late_helper$_value = t1._async_evaluate0$_preModuleComments;
  91954. t1._async_evaluate0$_importer = oldImporter;
  91955. t1._async_evaluate0$__stylesheet = oldStylesheet;
  91956. t1._async_evaluate0$__root = oldRoot;
  91957. t1._async_evaluate0$_preModuleComments = oldPreModuleComments;
  91958. t1._async_evaluate0$__parent = oldParent;
  91959. t1._async_evaluate0$__endOfImports = oldEndOfImports;
  91960. t1._async_evaluate0$_outOfOrderImports = oldOutOfOrderImports;
  91961. t1._async_evaluate0$__extensionStore = oldExtensionStore;
  91962. t1._async_evaluate0$_styleRuleIgnoringAtRoot = oldStyleRule;
  91963. t1._async_evaluate0$_mediaQueries = oldMediaQueries;
  91964. t1._async_evaluate0$_declarationName = oldDeclarationName;
  91965. t1._async_evaluate0$_inUnknownAtRule = oldInUnknownAtRule;
  91966. t1._async_evaluate0$_atRootExcludingStyleRule = t2;
  91967. t1._async_evaluate0$_inKeyframes = oldInKeyframes;
  91968. t1._async_evaluate0$_configuration = oldConfiguration;
  91969. // implicit return
  91970. return A._asyncReturn(null, $async$completer);
  91971. }
  91972. });
  91973. return A._asyncStartSync($async$call$0, $async$completer);
  91974. },
  91975. $signature: 2
  91976. };
  91977. A._EvaluateVisitor__combineCss_closure5.prototype = {
  91978. call$1(module) {
  91979. return module.get$transitivelyContainsCss();
  91980. },
  91981. $signature: 116
  91982. };
  91983. A._EvaluateVisitor__combineCss_closure6.prototype = {
  91984. call$1(target) {
  91985. return !this.selectors.contains$1(0, target);
  91986. },
  91987. $signature: 14
  91988. };
  91989. A._EvaluateVisitor__combineCss_visitModule2.prototype = {
  91990. call$1(module) {
  91991. var t1, t2, t3, t4, _i, upstream, _1_0, statements, index, _this = this;
  91992. if (!_this.seen.add$1(0, module))
  91993. return;
  91994. if (_this.clone)
  91995. module = module.cloneCss$0();
  91996. for (t1 = module.get$upstream(), t2 = t1.length, t3 = _this.css, t4 = _this.imports, _i = 0; _i < t1.length; t1.length === t2 || (0, A.throwConcurrentModificationError)(t1), ++_i) {
  91997. upstream = t1[_i];
  91998. if (upstream.get$transitivelyContainsCss()) {
  91999. _1_0 = module.get$preModuleComments().$index(0, upstream);
  92000. if (_1_0 != null)
  92001. B.JSArray_methods.addAll$1(t3.length === 0 ? t4 : t3, _1_0);
  92002. _this.call$1(upstream);
  92003. }
  92004. }
  92005. _this.sorted.addFirst$1(module);
  92006. t1 = module.get$css(module);
  92007. statements = t1.get$children(t1);
  92008. index = _this.$this._async_evaluate0$_indexAfterImports$1(statements);
  92009. t1 = J.getInterceptor$ax(statements);
  92010. B.JSArray_methods.addAll$1(t4, t1.getRange$2(statements, 0, index));
  92011. B.JSArray_methods.addAll$1(t3, t1.getRange$2(statements, index, t1.get$length(statements)));
  92012. },
  92013. $signature: 331
  92014. };
  92015. A._EvaluateVisitor__extendModules_closure5.prototype = {
  92016. call$1(target) {
  92017. return !this.originalSelectors.contains$1(0, target);
  92018. },
  92019. $signature: 14
  92020. };
  92021. A._EvaluateVisitor__extendModules_closure6.prototype = {
  92022. call$0() {
  92023. return A._setArrayType([], type$.JSArray_ExtensionStore_2);
  92024. },
  92025. $signature: 209
  92026. };
  92027. A._EvaluateVisitor_visitAtRootRule_closure5.prototype = {
  92028. call$0() {
  92029. var $async$goto = 0,
  92030. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  92031. $async$self = this, t1, t2, t3, _i;
  92032. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  92033. if ($async$errorCode === 1)
  92034. return A._asyncRethrow($async$result, $async$completer);
  92035. while (true)
  92036. switch ($async$goto) {
  92037. case 0:
  92038. // Function start
  92039. t1 = $async$self.node.children, t2 = t1.length, t3 = $async$self.$this, _i = 0;
  92040. case 2:
  92041. // for condition
  92042. if (!(_i < t2)) {
  92043. // goto after for
  92044. $async$goto = 4;
  92045. break;
  92046. }
  92047. $async$goto = 5;
  92048. return A._asyncAwait(t1[_i].accept$1(t3), $async$call$0);
  92049. case 5:
  92050. // returning from await.
  92051. case 3:
  92052. // for update
  92053. ++_i;
  92054. // goto for condition
  92055. $async$goto = 2;
  92056. break;
  92057. case 4:
  92058. // after for
  92059. // implicit return
  92060. return A._asyncReturn(null, $async$completer);
  92061. }
  92062. });
  92063. return A._asyncStartSync($async$call$0, $async$completer);
  92064. },
  92065. $signature: 2
  92066. };
  92067. A._EvaluateVisitor_visitAtRootRule_closure6.prototype = {
  92068. call$0() {
  92069. var $async$goto = 0,
  92070. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  92071. $async$self = this, t1, t2, t3, _i;
  92072. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  92073. if ($async$errorCode === 1)
  92074. return A._asyncRethrow($async$result, $async$completer);
  92075. while (true)
  92076. switch ($async$goto) {
  92077. case 0:
  92078. // Function start
  92079. t1 = $async$self.node.children, t2 = t1.length, t3 = $async$self.$this, _i = 0;
  92080. case 2:
  92081. // for condition
  92082. if (!(_i < t2)) {
  92083. // goto after for
  92084. $async$goto = 4;
  92085. break;
  92086. }
  92087. $async$goto = 5;
  92088. return A._asyncAwait(t1[_i].accept$1(t3), $async$call$0);
  92089. case 5:
  92090. // returning from await.
  92091. case 3:
  92092. // for update
  92093. ++_i;
  92094. // goto for condition
  92095. $async$goto = 2;
  92096. break;
  92097. case 4:
  92098. // after for
  92099. // implicit return
  92100. return A._asyncReturn(null, $async$completer);
  92101. }
  92102. });
  92103. return A._asyncStartSync($async$call$0, $async$completer);
  92104. },
  92105. $signature: 32
  92106. };
  92107. A._EvaluateVisitor__scopeForAtRoot_closure17.prototype = {
  92108. call$1(callback) {
  92109. return this.$call$body$_EvaluateVisitor__scopeForAtRoot_closure6(callback);
  92110. },
  92111. $call$body$_EvaluateVisitor__scopeForAtRoot_closure6(callback) {
  92112. var $async$goto = 0,
  92113. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  92114. $async$self = this, t1, oldParent;
  92115. var $async$call$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  92116. if ($async$errorCode === 1)
  92117. return A._asyncRethrow($async$result, $async$completer);
  92118. while (true)
  92119. switch ($async$goto) {
  92120. case 0:
  92121. // Function start
  92122. t1 = $async$self.$this;
  92123. oldParent = t1._async_evaluate0$_assertInModule$2(t1._async_evaluate0$__parent, "__parent");
  92124. t1._async_evaluate0$__parent = $async$self.newParent;
  92125. $async$goto = 2;
  92126. return A._asyncAwait(t1._async_evaluate0$_environment.scope$1$2$when(callback, $async$self.node.hasDeclarations, type$.void), $async$call$1);
  92127. case 2:
  92128. // returning from await.
  92129. t1._async_evaluate0$__parent = oldParent;
  92130. // implicit return
  92131. return A._asyncReturn(null, $async$completer);
  92132. }
  92133. });
  92134. return A._asyncStartSync($async$call$1, $async$completer);
  92135. },
  92136. $signature: 40
  92137. };
  92138. A._EvaluateVisitor__scopeForAtRoot_closure18.prototype = {
  92139. call$1(callback) {
  92140. return this.$call$body$_EvaluateVisitor__scopeForAtRoot_closure5(callback);
  92141. },
  92142. $call$body$_EvaluateVisitor__scopeForAtRoot_closure5(callback) {
  92143. var $async$goto = 0,
  92144. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  92145. $async$self = this, t1, oldAtRootExcludingStyleRule;
  92146. var $async$call$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  92147. if ($async$errorCode === 1)
  92148. return A._asyncRethrow($async$result, $async$completer);
  92149. while (true)
  92150. switch ($async$goto) {
  92151. case 0:
  92152. // Function start
  92153. t1 = $async$self.$this;
  92154. oldAtRootExcludingStyleRule = t1._async_evaluate0$_atRootExcludingStyleRule;
  92155. t1._async_evaluate0$_atRootExcludingStyleRule = true;
  92156. $async$goto = 2;
  92157. return A._asyncAwait($async$self.innerScope.call$1(callback), $async$call$1);
  92158. case 2:
  92159. // returning from await.
  92160. t1._async_evaluate0$_atRootExcludingStyleRule = oldAtRootExcludingStyleRule;
  92161. // implicit return
  92162. return A._asyncReturn(null, $async$completer);
  92163. }
  92164. });
  92165. return A._asyncStartSync($async$call$1, $async$completer);
  92166. },
  92167. $signature: 40
  92168. };
  92169. A._EvaluateVisitor__scopeForAtRoot_closure19.prototype = {
  92170. call$1(callback) {
  92171. return this.$this._async_evaluate0$_withMediaQueries$1$3(null, null, new A._EvaluateVisitor__scopeForAtRoot__closure2(this.innerScope, callback), type$.Null);
  92172. },
  92173. $signature: 40
  92174. };
  92175. A._EvaluateVisitor__scopeForAtRoot__closure2.prototype = {
  92176. call$0() {
  92177. return this.innerScope.call$1(this.callback);
  92178. },
  92179. $signature: 2
  92180. };
  92181. A._EvaluateVisitor__scopeForAtRoot_closure20.prototype = {
  92182. call$1(callback) {
  92183. return this.$call$body$_EvaluateVisitor__scopeForAtRoot_closure4(callback);
  92184. },
  92185. $call$body$_EvaluateVisitor__scopeForAtRoot_closure4(callback) {
  92186. var $async$goto = 0,
  92187. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  92188. $async$self = this, t1, wasInKeyframes;
  92189. var $async$call$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  92190. if ($async$errorCode === 1)
  92191. return A._asyncRethrow($async$result, $async$completer);
  92192. while (true)
  92193. switch ($async$goto) {
  92194. case 0:
  92195. // Function start
  92196. t1 = $async$self.$this;
  92197. wasInKeyframes = t1._async_evaluate0$_inKeyframes;
  92198. t1._async_evaluate0$_inKeyframes = false;
  92199. $async$goto = 2;
  92200. return A._asyncAwait($async$self.innerScope.call$1(callback), $async$call$1);
  92201. case 2:
  92202. // returning from await.
  92203. t1._async_evaluate0$_inKeyframes = wasInKeyframes;
  92204. // implicit return
  92205. return A._asyncReturn(null, $async$completer);
  92206. }
  92207. });
  92208. return A._asyncStartSync($async$call$1, $async$completer);
  92209. },
  92210. $signature: 40
  92211. };
  92212. A._EvaluateVisitor__scopeForAtRoot_closure21.prototype = {
  92213. call$1($parent) {
  92214. return $parent instanceof A.ModifiableCssAtRule0;
  92215. },
  92216. $signature: 210
  92217. };
  92218. A._EvaluateVisitor__scopeForAtRoot_closure22.prototype = {
  92219. call$1(callback) {
  92220. return this.$call$body$_EvaluateVisitor__scopeForAtRoot_closure3(callback);
  92221. },
  92222. $call$body$_EvaluateVisitor__scopeForAtRoot_closure3(callback) {
  92223. var $async$goto = 0,
  92224. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  92225. $async$self = this, t1, wasInUnknownAtRule;
  92226. var $async$call$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  92227. if ($async$errorCode === 1)
  92228. return A._asyncRethrow($async$result, $async$completer);
  92229. while (true)
  92230. switch ($async$goto) {
  92231. case 0:
  92232. // Function start
  92233. t1 = $async$self.$this;
  92234. wasInUnknownAtRule = t1._async_evaluate0$_inUnknownAtRule;
  92235. t1._async_evaluate0$_inUnknownAtRule = false;
  92236. $async$goto = 2;
  92237. return A._asyncAwait($async$self.innerScope.call$1(callback), $async$call$1);
  92238. case 2:
  92239. // returning from await.
  92240. t1._async_evaluate0$_inUnknownAtRule = wasInUnknownAtRule;
  92241. // implicit return
  92242. return A._asyncReturn(null, $async$completer);
  92243. }
  92244. });
  92245. return A._asyncStartSync($async$call$1, $async$completer);
  92246. },
  92247. $signature: 40
  92248. };
  92249. A._EvaluateVisitor_visitContentRule_closure2.prototype = {
  92250. call$0() {
  92251. var $async$goto = 0,
  92252. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  92253. $async$returnValue, $async$self = this, t1, t2, t3, _i;
  92254. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  92255. if ($async$errorCode === 1)
  92256. return A._asyncRethrow($async$result, $async$completer);
  92257. while (true)
  92258. switch ($async$goto) {
  92259. case 0:
  92260. // Function start
  92261. t1 = $async$self.content.declaration.children, t2 = t1.length, t3 = $async$self.$this, _i = 0;
  92262. case 3:
  92263. // for condition
  92264. if (!(_i < t2)) {
  92265. // goto after for
  92266. $async$goto = 5;
  92267. break;
  92268. }
  92269. $async$goto = 6;
  92270. return A._asyncAwait(t1[_i].accept$1(t3), $async$call$0);
  92271. case 6:
  92272. // returning from await.
  92273. case 4:
  92274. // for update
  92275. ++_i;
  92276. // goto for condition
  92277. $async$goto = 3;
  92278. break;
  92279. case 5:
  92280. // after for
  92281. $async$returnValue = null;
  92282. // goto return
  92283. $async$goto = 1;
  92284. break;
  92285. case 1:
  92286. // return
  92287. return A._asyncReturn($async$returnValue, $async$completer);
  92288. }
  92289. });
  92290. return A._asyncStartSync($async$call$0, $async$completer);
  92291. },
  92292. $signature: 2
  92293. };
  92294. A._EvaluateVisitor_visitDeclaration_closure2.prototype = {
  92295. call$0() {
  92296. var $async$goto = 0,
  92297. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  92298. $async$self = this, t1, t2, t3, _i;
  92299. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  92300. if ($async$errorCode === 1)
  92301. return A._asyncRethrow($async$result, $async$completer);
  92302. while (true)
  92303. switch ($async$goto) {
  92304. case 0:
  92305. // Function start
  92306. t1 = $async$self._box_0.children, t2 = t1.length, t3 = $async$self.$this, _i = 0;
  92307. case 2:
  92308. // for condition
  92309. if (!(_i < t2)) {
  92310. // goto after for
  92311. $async$goto = 4;
  92312. break;
  92313. }
  92314. $async$goto = 5;
  92315. return A._asyncAwait(t1[_i].accept$1(t3), $async$call$0);
  92316. case 5:
  92317. // returning from await.
  92318. case 3:
  92319. // for update
  92320. ++_i;
  92321. // goto for condition
  92322. $async$goto = 2;
  92323. break;
  92324. case 4:
  92325. // after for
  92326. // implicit return
  92327. return A._asyncReturn(null, $async$completer);
  92328. }
  92329. });
  92330. return A._asyncStartSync($async$call$0, $async$completer);
  92331. },
  92332. $signature: 2
  92333. };
  92334. A._EvaluateVisitor_visitEachRule_closure8.prototype = {
  92335. call$1(value) {
  92336. var t1 = this.$this,
  92337. t2 = this.nodeWithSpan;
  92338. return t1._async_evaluate0$_environment.setLocalVariable$3(this._box_0.variable, t1._async_evaluate0$_withoutSlash$2(value, t2), t2);
  92339. },
  92340. $signature: 66
  92341. };
  92342. A._EvaluateVisitor_visitEachRule_closure9.prototype = {
  92343. call$1(value) {
  92344. return this.$this._async_evaluate0$_setMultipleVariables$3(this._box_1.variables, value, this.nodeWithSpan);
  92345. },
  92346. $signature: 66
  92347. };
  92348. A._EvaluateVisitor_visitEachRule_closure10.prototype = {
  92349. call$0() {
  92350. var _this = this,
  92351. t1 = _this.$this;
  92352. return t1._async_evaluate0$_handleReturn$2(_this.list.get$asList(), new A._EvaluateVisitor_visitEachRule__closure2(t1, _this.setVariables, _this.node));
  92353. },
  92354. $signature: 74
  92355. };
  92356. A._EvaluateVisitor_visitEachRule__closure2.prototype = {
  92357. call$1(element) {
  92358. var t1;
  92359. this.setVariables.call$1(element);
  92360. t1 = this.$this;
  92361. return t1._async_evaluate0$_handleReturn$2(this.node.children, new A._EvaluateVisitor_visitEachRule___closure2(t1));
  92362. },
  92363. $signature: 336
  92364. };
  92365. A._EvaluateVisitor_visitEachRule___closure2.prototype = {
  92366. call$1(child) {
  92367. return child.accept$1(this.$this);
  92368. },
  92369. $signature: 88
  92370. };
  92371. A._EvaluateVisitor_visitAtRule_closure8.prototype = {
  92372. call$1(value) {
  92373. return this.$this._async_evaluate0$_interpolationToValue$3$trim$warnForColor(value, true, true);
  92374. },
  92375. $signature: 338
  92376. };
  92377. A._EvaluateVisitor_visitAtRule_closure9.prototype = {
  92378. call$0() {
  92379. var $async$goto = 0,
  92380. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  92381. $async$self = this, t2, t3, _i, t1, styleRule;
  92382. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  92383. if ($async$errorCode === 1)
  92384. return A._asyncRethrow($async$result, $async$completer);
  92385. while (true)
  92386. switch ($async$goto) {
  92387. case 0:
  92388. // Function start
  92389. t1 = $async$self.$this;
  92390. styleRule = t1._async_evaluate0$_atRootExcludingStyleRule ? null : t1._async_evaluate0$_styleRuleIgnoringAtRoot;
  92391. $async$goto = styleRule == null || t1._async_evaluate0$_inKeyframes || J.$eq$($async$self.name.value, "font-face") ? 2 : 4;
  92392. break;
  92393. case 2:
  92394. // then
  92395. t2 = $async$self.children, t3 = t2.length, _i = 0;
  92396. case 5:
  92397. // for condition
  92398. if (!(_i < t3)) {
  92399. // goto after for
  92400. $async$goto = 7;
  92401. break;
  92402. }
  92403. $async$goto = 8;
  92404. return A._asyncAwait(t2[_i].accept$1(t1), $async$call$0);
  92405. case 8:
  92406. // returning from await.
  92407. case 6:
  92408. // for update
  92409. ++_i;
  92410. // goto for condition
  92411. $async$goto = 5;
  92412. break;
  92413. case 7:
  92414. // after for
  92415. // goto join
  92416. $async$goto = 3;
  92417. break;
  92418. case 4:
  92419. // else
  92420. $async$goto = 9;
  92421. return A._asyncAwait(t1._async_evaluate0$_withParent$2$3$scopeWhen(A.ModifiableCssStyleRule$0(styleRule._style_rule0$_selector, styleRule.span, false, styleRule.originalSelector), new A._EvaluateVisitor_visitAtRule__closure2(t1, $async$self.children), false, type$.ModifiableCssStyleRule_2, type$.Null), $async$call$0);
  92422. case 9:
  92423. // returning from await.
  92424. case 3:
  92425. // join
  92426. // implicit return
  92427. return A._asyncReturn(null, $async$completer);
  92428. }
  92429. });
  92430. return A._asyncStartSync($async$call$0, $async$completer);
  92431. },
  92432. $signature: 2
  92433. };
  92434. A._EvaluateVisitor_visitAtRule__closure2.prototype = {
  92435. call$0() {
  92436. var $async$goto = 0,
  92437. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  92438. $async$self = this, t1, t2, t3, _i;
  92439. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  92440. if ($async$errorCode === 1)
  92441. return A._asyncRethrow($async$result, $async$completer);
  92442. while (true)
  92443. switch ($async$goto) {
  92444. case 0:
  92445. // Function start
  92446. t1 = $async$self.children, t2 = t1.length, t3 = $async$self.$this, _i = 0;
  92447. case 2:
  92448. // for condition
  92449. if (!(_i < t2)) {
  92450. // goto after for
  92451. $async$goto = 4;
  92452. break;
  92453. }
  92454. $async$goto = 5;
  92455. return A._asyncAwait(t1[_i].accept$1(t3), $async$call$0);
  92456. case 5:
  92457. // returning from await.
  92458. case 3:
  92459. // for update
  92460. ++_i;
  92461. // goto for condition
  92462. $async$goto = 2;
  92463. break;
  92464. case 4:
  92465. // after for
  92466. // implicit return
  92467. return A._asyncReturn(null, $async$completer);
  92468. }
  92469. });
  92470. return A._asyncStartSync($async$call$0, $async$completer);
  92471. },
  92472. $signature: 2
  92473. };
  92474. A._EvaluateVisitor_visitAtRule_closure10.prototype = {
  92475. call$1(node) {
  92476. return node instanceof A.ModifiableCssStyleRule0;
  92477. },
  92478. $signature: 7
  92479. };
  92480. A._EvaluateVisitor_visitForRule_closure14.prototype = {
  92481. call$0() {
  92482. var $async$goto = 0,
  92483. $async$completer = A._makeAsyncAwaitCompleter(type$.SassNumber_2),
  92484. $async$returnValue, $async$self = this;
  92485. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  92486. if ($async$errorCode === 1)
  92487. return A._asyncRethrow($async$result, $async$completer);
  92488. while (true)
  92489. switch ($async$goto) {
  92490. case 0:
  92491. // Function start
  92492. $async$goto = 3;
  92493. return A._asyncAwait($async$self.node.from.accept$1($async$self.$this), $async$call$0);
  92494. case 3:
  92495. // returning from await.
  92496. $async$returnValue = $async$result.assertNumber$0();
  92497. // goto return
  92498. $async$goto = 1;
  92499. break;
  92500. case 1:
  92501. // return
  92502. return A._asyncReturn($async$returnValue, $async$completer);
  92503. }
  92504. });
  92505. return A._asyncStartSync($async$call$0, $async$completer);
  92506. },
  92507. $signature: 213
  92508. };
  92509. A._EvaluateVisitor_visitForRule_closure15.prototype = {
  92510. call$0() {
  92511. var $async$goto = 0,
  92512. $async$completer = A._makeAsyncAwaitCompleter(type$.SassNumber_2),
  92513. $async$returnValue, $async$self = this;
  92514. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  92515. if ($async$errorCode === 1)
  92516. return A._asyncRethrow($async$result, $async$completer);
  92517. while (true)
  92518. switch ($async$goto) {
  92519. case 0:
  92520. // Function start
  92521. $async$goto = 3;
  92522. return A._asyncAwait($async$self.node.to.accept$1($async$self.$this), $async$call$0);
  92523. case 3:
  92524. // returning from await.
  92525. $async$returnValue = $async$result.assertNumber$0();
  92526. // goto return
  92527. $async$goto = 1;
  92528. break;
  92529. case 1:
  92530. // return
  92531. return A._asyncReturn($async$returnValue, $async$completer);
  92532. }
  92533. });
  92534. return A._asyncStartSync($async$call$0, $async$completer);
  92535. },
  92536. $signature: 213
  92537. };
  92538. A._EvaluateVisitor_visitForRule_closure16.prototype = {
  92539. call$0() {
  92540. return this.fromNumber.assertInt$0();
  92541. },
  92542. $signature: 10
  92543. };
  92544. A._EvaluateVisitor_visitForRule_closure17.prototype = {
  92545. call$0() {
  92546. var t1 = this.fromNumber;
  92547. return this.toNumber.coerce$2(t1.get$numeratorUnits(t1), t1.get$denominatorUnits(t1)).assertInt$0();
  92548. },
  92549. $signature: 10
  92550. };
  92551. A._EvaluateVisitor_visitForRule_closure18.prototype = {
  92552. call$0() {
  92553. var $async$goto = 0,
  92554. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value_2),
  92555. $async$returnValue, $async$self = this, i, t3, t4, t5, t6, t7, t8, _0_0, t1, t2, nodeWithSpan;
  92556. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  92557. if ($async$errorCode === 1)
  92558. return A._asyncRethrow($async$result, $async$completer);
  92559. while (true)
  92560. switch ($async$goto) {
  92561. case 0:
  92562. // Function start
  92563. t1 = $async$self.$this;
  92564. t2 = $async$self.node;
  92565. nodeWithSpan = t1._async_evaluate0$_expressionNode$1(t2.from);
  92566. i = $async$self.from, t3 = $async$self._box_0, t4 = $async$self.direction, t5 = t2.variable, t6 = $async$self.fromNumber, t2 = t2.children;
  92567. case 3:
  92568. // for condition
  92569. if (!(i !== t3.to)) {
  92570. // goto after for
  92571. $async$goto = 5;
  92572. break;
  92573. }
  92574. t7 = t1._async_evaluate0$_environment;
  92575. t8 = t6.get$numeratorUnits(t6);
  92576. t7.setLocalVariable$3(t5, A.SassNumber_SassNumber$withUnits0(i, t6.get$denominatorUnits(t6), t8), nodeWithSpan);
  92577. $async$goto = 6;
  92578. return A._asyncAwait(t1._async_evaluate0$_handleReturn$2(t2, new A._EvaluateVisitor_visitForRule__closure2(t1)), $async$call$0);
  92579. case 6:
  92580. // returning from await.
  92581. _0_0 = $async$result;
  92582. if (_0_0 != null) {
  92583. $async$returnValue = _0_0;
  92584. // goto return
  92585. $async$goto = 1;
  92586. break;
  92587. }
  92588. case 4:
  92589. // for update
  92590. i += t4;
  92591. // goto for condition
  92592. $async$goto = 3;
  92593. break;
  92594. case 5:
  92595. // after for
  92596. $async$returnValue = null;
  92597. // goto return
  92598. $async$goto = 1;
  92599. break;
  92600. case 1:
  92601. // return
  92602. return A._asyncReturn($async$returnValue, $async$completer);
  92603. }
  92604. });
  92605. return A._asyncStartSync($async$call$0, $async$completer);
  92606. },
  92607. $signature: 74
  92608. };
  92609. A._EvaluateVisitor_visitForRule__closure2.prototype = {
  92610. call$1(child) {
  92611. return child.accept$1(this.$this);
  92612. },
  92613. $signature: 88
  92614. };
  92615. A._EvaluateVisitor_visitForwardRule_closure5.prototype = {
  92616. call$2(module, firstLoad) {
  92617. if (firstLoad)
  92618. this.$this._async_evaluate0$_registerCommentsForModule$1(module);
  92619. this.$this._async_evaluate0$_environment.forwardModule$2(module, this.node);
  92620. },
  92621. $signature: 114
  92622. };
  92623. A._EvaluateVisitor_visitForwardRule_closure6.prototype = {
  92624. call$2(module, firstLoad) {
  92625. if (firstLoad)
  92626. this.$this._async_evaluate0$_registerCommentsForModule$1(module);
  92627. this.$this._async_evaluate0$_environment.forwardModule$2(module, this.node);
  92628. },
  92629. $signature: 114
  92630. };
  92631. A._EvaluateVisitor__registerCommentsForModule_closure2.prototype = {
  92632. call$0() {
  92633. return A._setArrayType([], type$.JSArray_CssComment_2);
  92634. },
  92635. $signature: 214
  92636. };
  92637. A._EvaluateVisitor_visitIfRule_closure2.prototype = {
  92638. call$1(clause) {
  92639. var t1 = this.$this;
  92640. return t1._async_evaluate0$_environment.scope$1$3$semiGlobal$when(new A._EvaluateVisitor_visitIfRule__closure2(t1, clause), true, clause.hasDeclarations, type$.nullable_Value_2);
  92641. },
  92642. $signature: 343
  92643. };
  92644. A._EvaluateVisitor_visitIfRule__closure2.prototype = {
  92645. call$0() {
  92646. var t1 = this.$this;
  92647. return t1._async_evaluate0$_handleReturn$2(this.clause.children, new A._EvaluateVisitor_visitIfRule___closure2(t1));
  92648. },
  92649. $signature: 74
  92650. };
  92651. A._EvaluateVisitor_visitIfRule___closure2.prototype = {
  92652. call$1(child) {
  92653. return child.accept$1(this.$this);
  92654. },
  92655. $signature: 88
  92656. };
  92657. A._EvaluateVisitor__visitDynamicImport_closure2.prototype = {
  92658. call$0() {
  92659. return this.$call$body$_EvaluateVisitor__visitDynamicImport_closure0();
  92660. },
  92661. $call$body$_EvaluateVisitor__visitDynamicImport_closure0() {
  92662. var $async$goto = 0,
  92663. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  92664. $async$returnValue, $async$self = this, t1, t2, _0_0, stylesheet, importer, isDependency, url, t3, oldImporter, oldStylesheet, oldInDependency, loadsUserDefinedModules, children, t4, t5, t6, t7, t8, t9, t10, environment, module, visitor, _box_0;
  92665. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  92666. if ($async$errorCode === 1)
  92667. return A._asyncRethrow($async$result, $async$completer);
  92668. while (true)
  92669. switch ($async$goto) {
  92670. case 0:
  92671. // Function start
  92672. _box_0 = {};
  92673. _box_0.isDependency = _box_0.importer = _box_0.stylesheet = null;
  92674. t1 = $async$self.$this;
  92675. t2 = $async$self.$import;
  92676. $async$goto = 3;
  92677. return A._asyncAwait(t1._async_evaluate0$_loadStylesheet$3$forImport(t2.urlString, t2.span, true), $async$call$0);
  92678. case 3:
  92679. // returning from await.
  92680. _0_0 = $async$result;
  92681. stylesheet = _box_0.stylesheet = _0_0._0;
  92682. importer = _0_0._1;
  92683. _box_0.importer = importer;
  92684. isDependency = _0_0._2;
  92685. _box_0.isDependency = isDependency;
  92686. url = stylesheet.span.file.url;
  92687. if (url != null) {
  92688. t3 = t1._async_evaluate0$_activeModules;
  92689. if (t3.containsKey$1(url)) {
  92690. t2 = A.NullableExtension_andThen0(t3.$index(0, url), new A._EvaluateVisitor__visitDynamicImport__closure11(t1));
  92691. throw A.wrapException(t2 == null ? t1._async_evaluate0$_exception$1("This file is already being loaded.") : t2);
  92692. }
  92693. t3.$indexSet(0, url, t2);
  92694. }
  92695. t2 = stylesheet._stylesheet1$_uses;
  92696. t3 = type$.UnmodifiableListView_UseRule_2;
  92697. $async$goto = new A.UnmodifiableListView(t2, t3).get$length(0) === 0 && new A.UnmodifiableListView(stylesheet._stylesheet1$_forwards, type$.UnmodifiableListView_ForwardRule_2).get$length(0) === 0 ? 4 : 5;
  92698. break;
  92699. case 4:
  92700. // then
  92701. oldImporter = t1._async_evaluate0$_importer;
  92702. oldStylesheet = t1._async_evaluate0$_assertInModule$2(t1._async_evaluate0$__stylesheet, "_stylesheet");
  92703. oldInDependency = t1._async_evaluate0$_inDependency;
  92704. t1._async_evaluate0$_importer = importer;
  92705. t1._async_evaluate0$__stylesheet = stylesheet;
  92706. t1._async_evaluate0$_inDependency = isDependency;
  92707. $async$goto = 6;
  92708. return A._asyncAwait(t1.visitStylesheet$1(0, stylesheet), $async$call$0);
  92709. case 6:
  92710. // returning from await.
  92711. t1._async_evaluate0$_importer = oldImporter;
  92712. t1._async_evaluate0$__stylesheet = oldStylesheet;
  92713. t1._async_evaluate0$_inDependency = oldInDependency;
  92714. t1._async_evaluate0$_activeModules.remove$1(0, url);
  92715. // goto return
  92716. $async$goto = 1;
  92717. break;
  92718. case 5:
  92719. // join
  92720. t2 = new A.UnmodifiableListView(t2, t3);
  92721. if (!t2.any$1(t2, new A._EvaluateVisitor__visitDynamicImport__closure12())) {
  92722. t2 = new A.UnmodifiableListView(stylesheet._stylesheet1$_forwards, type$.UnmodifiableListView_ForwardRule_2);
  92723. loadsUserDefinedModules = t2.any$1(t2, new A._EvaluateVisitor__visitDynamicImport__closure13());
  92724. } else
  92725. loadsUserDefinedModules = true;
  92726. children = A._Cell$();
  92727. t2 = t1._async_evaluate0$_environment;
  92728. t3 = type$.String;
  92729. t4 = type$.Module_AsyncCallable_2;
  92730. t5 = type$.AstNode_2;
  92731. t6 = A._setArrayType([], type$.JSArray_Module_AsyncCallable_2);
  92732. t7 = t2._async_environment0$_variables;
  92733. t7 = A._setArrayType(t7.slice(0), A._arrayInstanceType(t7));
  92734. t8 = t2._async_environment0$_variableNodes;
  92735. t8 = A._setArrayType(t8.slice(0), A._arrayInstanceType(t8));
  92736. t9 = t2._async_environment0$_functions;
  92737. t9 = A._setArrayType(t9.slice(0), A._arrayInstanceType(t9));
  92738. t10 = t2._async_environment0$_mixins;
  92739. t10 = A._setArrayType(t10.slice(0), A._arrayInstanceType(t10));
  92740. 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);
  92741. $async$goto = 7;
  92742. return A._asyncAwait(t1._async_evaluate0$_withEnvironment$1$2(environment, new A._EvaluateVisitor__visitDynamicImport__closure14(_box_0, t1, loadsUserDefinedModules, environment, children), type$.Null), $async$call$0);
  92743. case 7:
  92744. // returning from await.
  92745. module = environment.toDummyModule$0();
  92746. t1._async_evaluate0$_environment.importForwards$1(module);
  92747. $async$goto = loadsUserDefinedModules ? 8 : 9;
  92748. break;
  92749. case 8:
  92750. // then
  92751. $async$goto = module.transitivelyContainsCss ? 10 : 11;
  92752. break;
  92753. case 10:
  92754. // then
  92755. $async$goto = 12;
  92756. return A._asyncAwait(t1._async_evaluate0$_combineCss$2$clone(module, module.transitivelyContainsExtensions).accept$1(t1), $async$call$0);
  92757. case 12:
  92758. // returning from await.
  92759. case 11:
  92760. // join
  92761. visitor = new A._ImportedCssVisitor2(t1);
  92762. for (t2 = J.get$iterator$ax(children._readLocal$0()); t2.moveNext$0();)
  92763. t2.get$current(t2).accept$1(visitor);
  92764. case 9:
  92765. // join
  92766. t1._async_evaluate0$_activeModules.remove$1(0, url);
  92767. case 1:
  92768. // return
  92769. return A._asyncReturn($async$returnValue, $async$completer);
  92770. }
  92771. });
  92772. return A._asyncStartSync($async$call$0, $async$completer);
  92773. },
  92774. $signature: 32
  92775. };
  92776. A._EvaluateVisitor__visitDynamicImport__closure11.prototype = {
  92777. call$1(previousLoad) {
  92778. 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));
  92779. },
  92780. $signature: 99
  92781. };
  92782. A._EvaluateVisitor__visitDynamicImport__closure12.prototype = {
  92783. call$1(rule) {
  92784. return rule.url.get$scheme() !== "sass";
  92785. },
  92786. $signature: 215
  92787. };
  92788. A._EvaluateVisitor__visitDynamicImport__closure13.prototype = {
  92789. call$1(rule) {
  92790. return rule.url.get$scheme() !== "sass";
  92791. },
  92792. $signature: 216
  92793. };
  92794. A._EvaluateVisitor__visitDynamicImport__closure14.prototype = {
  92795. call$0() {
  92796. var $async$goto = 0,
  92797. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  92798. $async$self = this, t3, t4, t1, oldImporter, oldStylesheet, oldRoot, oldParent, oldEndOfImports, oldOutOfOrderImports, oldConfiguration, oldInDependency, t2;
  92799. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  92800. if ($async$errorCode === 1)
  92801. return A._asyncRethrow($async$result, $async$completer);
  92802. while (true)
  92803. switch ($async$goto) {
  92804. case 0:
  92805. // Function start
  92806. t1 = $async$self.$this;
  92807. oldImporter = t1._async_evaluate0$_importer;
  92808. oldStylesheet = t1._async_evaluate0$_assertInModule$2(t1._async_evaluate0$__stylesheet, "_stylesheet");
  92809. oldRoot = t1._async_evaluate0$_assertInModule$2(t1._async_evaluate0$__root, "_root");
  92810. oldParent = t1._async_evaluate0$_assertInModule$2(t1._async_evaluate0$__parent, "__parent");
  92811. oldEndOfImports = t1._async_evaluate0$_assertInModule$2(t1._async_evaluate0$__endOfImports, "_endOfImports");
  92812. oldOutOfOrderImports = t1._async_evaluate0$_outOfOrderImports;
  92813. oldConfiguration = t1._async_evaluate0$_configuration;
  92814. oldInDependency = t1._async_evaluate0$_inDependency;
  92815. t2 = $async$self._box_0;
  92816. t1._async_evaluate0$_importer = t2.importer;
  92817. t3 = t2.stylesheet;
  92818. t1._async_evaluate0$__stylesheet = t3;
  92819. t4 = $async$self.loadsUserDefinedModules;
  92820. if (t4) {
  92821. t3 = A.ModifiableCssStylesheet$0(t3.span);
  92822. t1._async_evaluate0$__root = t3;
  92823. t1._async_evaluate0$__parent = t1._async_evaluate0$_assertInModule$2(t3, "_root");
  92824. t1._async_evaluate0$__endOfImports = 0;
  92825. t1._async_evaluate0$_outOfOrderImports = null;
  92826. }
  92827. t1._async_evaluate0$_inDependency = t2.isDependency;
  92828. t3 = new A.UnmodifiableListView(t2.stylesheet._stylesheet1$_forwards, type$.UnmodifiableListView_ForwardRule_2);
  92829. if (!t3.get$isEmpty(t3))
  92830. t1._async_evaluate0$_configuration = $async$self.environment.toImplicitConfiguration$0();
  92831. $async$goto = 2;
  92832. return A._asyncAwait(t1.visitStylesheet$1(0, t2.stylesheet), $async$call$0);
  92833. case 2:
  92834. // returning from await.
  92835. t2 = t4 ? t1._async_evaluate0$_addOutOfOrderImports$0() : A._setArrayType([], type$.JSArray_ModifiableCssNode_2);
  92836. $async$self.children.__late_helper$_value = t2;
  92837. t1._async_evaluate0$_importer = oldImporter;
  92838. t1._async_evaluate0$__stylesheet = oldStylesheet;
  92839. if (t4) {
  92840. t1._async_evaluate0$__root = oldRoot;
  92841. t1._async_evaluate0$__parent = oldParent;
  92842. t1._async_evaluate0$__endOfImports = oldEndOfImports;
  92843. t1._async_evaluate0$_outOfOrderImports = oldOutOfOrderImports;
  92844. }
  92845. t1._async_evaluate0$_configuration = oldConfiguration;
  92846. t1._async_evaluate0$_inDependency = oldInDependency;
  92847. // implicit return
  92848. return A._asyncReturn(null, $async$completer);
  92849. }
  92850. });
  92851. return A._asyncStartSync($async$call$0, $async$completer);
  92852. },
  92853. $signature: 2
  92854. };
  92855. A._EvaluateVisitor__applyMixin_closure5.prototype = {
  92856. call$0() {
  92857. var $async$goto = 0,
  92858. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  92859. $async$self = this, t1;
  92860. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  92861. if ($async$errorCode === 1)
  92862. return A._asyncRethrow($async$result, $async$completer);
  92863. while (true)
  92864. switch ($async$goto) {
  92865. case 0:
  92866. // Function start
  92867. t1 = $async$self.$this;
  92868. $async$goto = 2;
  92869. return A._asyncAwait(t1._async_evaluate0$_environment.asMixin$1(new A._EvaluateVisitor__applyMixin__closure6(t1, $async$self.$arguments, $async$self.mixin, $async$self.nodeWithSpanWithoutContent)), $async$call$0);
  92870. case 2:
  92871. // returning from await.
  92872. // implicit return
  92873. return A._asyncReturn(null, $async$completer);
  92874. }
  92875. });
  92876. return A._asyncStartSync($async$call$0, $async$completer);
  92877. },
  92878. $signature: 32
  92879. };
  92880. A._EvaluateVisitor__applyMixin__closure6.prototype = {
  92881. call$0() {
  92882. var $async$goto = 0,
  92883. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  92884. $async$self = this;
  92885. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  92886. if ($async$errorCode === 1)
  92887. return A._asyncRethrow($async$result, $async$completer);
  92888. while (true)
  92889. switch ($async$goto) {
  92890. case 0:
  92891. // Function start
  92892. $async$goto = 2;
  92893. return A._asyncAwait($async$self.$this._async_evaluate0$_runBuiltInCallable$3($async$self.$arguments, $async$self.mixin, $async$self.nodeWithSpanWithoutContent), $async$call$0);
  92894. case 2:
  92895. // returning from await.
  92896. // implicit return
  92897. return A._asyncReturn(null, $async$completer);
  92898. }
  92899. });
  92900. return A._asyncStartSync($async$call$0, $async$completer);
  92901. },
  92902. $signature: 32
  92903. };
  92904. A._EvaluateVisitor__applyMixin_closure6.prototype = {
  92905. call$0() {
  92906. var $async$goto = 0,
  92907. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  92908. $async$self = this, t1;
  92909. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  92910. if ($async$errorCode === 1)
  92911. return A._asyncRethrow($async$result, $async$completer);
  92912. while (true)
  92913. switch ($async$goto) {
  92914. case 0:
  92915. // Function start
  92916. t1 = $async$self.$this;
  92917. $async$goto = 2;
  92918. return A._asyncAwait(t1._async_evaluate0$_environment.withContent$2($async$self.contentCallable, new A._EvaluateVisitor__applyMixin__closure5(t1, $async$self.mixin, $async$self.nodeWithSpanWithoutContent)), $async$call$0);
  92919. case 2:
  92920. // returning from await.
  92921. // implicit return
  92922. return A._asyncReturn(null, $async$completer);
  92923. }
  92924. });
  92925. return A._asyncStartSync($async$call$0, $async$completer);
  92926. },
  92927. $signature: 2
  92928. };
  92929. A._EvaluateVisitor__applyMixin__closure5.prototype = {
  92930. call$0() {
  92931. var $async$goto = 0,
  92932. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  92933. $async$self = this, t1;
  92934. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  92935. if ($async$errorCode === 1)
  92936. return A._asyncRethrow($async$result, $async$completer);
  92937. while (true)
  92938. switch ($async$goto) {
  92939. case 0:
  92940. // Function start
  92941. t1 = $async$self.$this;
  92942. $async$goto = 2;
  92943. return A._asyncAwait(t1._async_evaluate0$_environment.asMixin$1(new A._EvaluateVisitor__applyMixin___closure2(t1, $async$self.mixin, $async$self.nodeWithSpanWithoutContent)), $async$call$0);
  92944. case 2:
  92945. // returning from await.
  92946. // implicit return
  92947. return A._asyncReturn(null, $async$completer);
  92948. }
  92949. });
  92950. return A._asyncStartSync($async$call$0, $async$completer);
  92951. },
  92952. $signature: 32
  92953. };
  92954. A._EvaluateVisitor__applyMixin___closure2.prototype = {
  92955. call$0() {
  92956. var $async$goto = 0,
  92957. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  92958. $async$self = this, t1, t2, t3, t4, t5, _i;
  92959. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  92960. if ($async$errorCode === 1)
  92961. return A._asyncRethrow($async$result, $async$completer);
  92962. while (true)
  92963. switch ($async$goto) {
  92964. case 0:
  92965. // Function start
  92966. t1 = $async$self.mixin.declaration.children, t2 = t1.length, t3 = $async$self.$this, t4 = $async$self.nodeWithSpanWithoutContent, t5 = type$.nullable_Value_2, _i = 0;
  92967. case 2:
  92968. // for condition
  92969. if (!(_i < t2)) {
  92970. // goto after for
  92971. $async$goto = 4;
  92972. break;
  92973. }
  92974. $async$goto = 5;
  92975. return A._asyncAwait(t3._async_evaluate0$_addErrorSpan$1$2(t4, new A._EvaluateVisitor__applyMixin____closure2(t3, t1[_i]), t5), $async$call$0);
  92976. case 5:
  92977. // returning from await.
  92978. case 3:
  92979. // for update
  92980. ++_i;
  92981. // goto for condition
  92982. $async$goto = 2;
  92983. break;
  92984. case 4:
  92985. // after for
  92986. // implicit return
  92987. return A._asyncReturn(null, $async$completer);
  92988. }
  92989. });
  92990. return A._asyncStartSync($async$call$0, $async$completer);
  92991. },
  92992. $signature: 32
  92993. };
  92994. A._EvaluateVisitor__applyMixin____closure2.prototype = {
  92995. call$0() {
  92996. return this.statement.accept$1(this.$this);
  92997. },
  92998. $signature: 74
  92999. };
  93000. A._EvaluateVisitor_visitIncludeRule_closure8.prototype = {
  93001. call$0() {
  93002. var t1 = this.node;
  93003. return this.$this._async_evaluate0$_environment.getMixin$2$namespace(t1.name, t1.namespace);
  93004. },
  93005. $signature: 97
  93006. };
  93007. A._EvaluateVisitor_visitIncludeRule_closure9.prototype = {
  93008. call$1($content) {
  93009. var t1 = this.$this;
  93010. return new A.UserDefinedCallable0($content, t1._async_evaluate0$_environment.closure$0(), t1._async_evaluate0$_inDependency, type$.UserDefinedCallable_AsyncEnvironment_2);
  93011. },
  93012. $signature: 346
  93013. };
  93014. A._EvaluateVisitor_visitIncludeRule_closure10.prototype = {
  93015. call$0() {
  93016. return this.node.get$spanWithoutContent();
  93017. },
  93018. $signature: 29
  93019. };
  93020. A._EvaluateVisitor_visitMediaRule_closure8.prototype = {
  93021. call$1(mediaQueries) {
  93022. return this.$this._async_evaluate0$_mergeMediaQueries$2(mediaQueries, this.queries);
  93023. },
  93024. $signature: 104
  93025. };
  93026. A._EvaluateVisitor_visitMediaRule_closure9.prototype = {
  93027. call$0() {
  93028. var $async$goto = 0,
  93029. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  93030. $async$self = this, t1, t2;
  93031. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  93032. if ($async$errorCode === 1)
  93033. return A._asyncRethrow($async$result, $async$completer);
  93034. while (true)
  93035. switch ($async$goto) {
  93036. case 0:
  93037. // Function start
  93038. t1 = $async$self.$this;
  93039. t2 = $async$self.mergedQueries;
  93040. if (t2 == null)
  93041. t2 = $async$self.queries;
  93042. $async$goto = 2;
  93043. 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);
  93044. case 2:
  93045. // returning from await.
  93046. // implicit return
  93047. return A._asyncReturn(null, $async$completer);
  93048. }
  93049. });
  93050. return A._asyncStartSync($async$call$0, $async$completer);
  93051. },
  93052. $signature: 2
  93053. };
  93054. A._EvaluateVisitor_visitMediaRule__closure2.prototype = {
  93055. call$0() {
  93056. var $async$goto = 0,
  93057. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  93058. $async$self = this, t2, t3, _i, t1, _0_0;
  93059. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  93060. if ($async$errorCode === 1)
  93061. return A._asyncRethrow($async$result, $async$completer);
  93062. while (true)
  93063. switch ($async$goto) {
  93064. case 0:
  93065. // Function start
  93066. t1 = $async$self.$this;
  93067. _0_0 = t1._async_evaluate0$_atRootExcludingStyleRule ? null : t1._async_evaluate0$_styleRuleIgnoringAtRoot;
  93068. $async$goto = _0_0 != null ? 2 : 4;
  93069. break;
  93070. case 2:
  93071. // then
  93072. $async$goto = 5;
  93073. return A._asyncAwait(t1._async_evaluate0$_withParent$2$3$scopeWhen(A.ModifiableCssStyleRule$0(_0_0._style_rule0$_selector, _0_0.span, false, _0_0.originalSelector), new A._EvaluateVisitor_visitMediaRule___closure2(t1, $async$self.node), false, type$.ModifiableCssStyleRule_2, type$.Null), $async$call$0);
  93074. case 5:
  93075. // returning from await.
  93076. // goto join
  93077. $async$goto = 3;
  93078. break;
  93079. case 4:
  93080. // else
  93081. t2 = $async$self.node.children, t3 = t2.length, _i = 0;
  93082. case 6:
  93083. // for condition
  93084. if (!(_i < t3)) {
  93085. // goto after for
  93086. $async$goto = 8;
  93087. break;
  93088. }
  93089. $async$goto = 9;
  93090. return A._asyncAwait(t2[_i].accept$1(t1), $async$call$0);
  93091. case 9:
  93092. // returning from await.
  93093. case 7:
  93094. // for update
  93095. ++_i;
  93096. // goto for condition
  93097. $async$goto = 6;
  93098. break;
  93099. case 8:
  93100. // after for
  93101. case 3:
  93102. // join
  93103. // implicit return
  93104. return A._asyncReturn(null, $async$completer);
  93105. }
  93106. });
  93107. return A._asyncStartSync($async$call$0, $async$completer);
  93108. },
  93109. $signature: 2
  93110. };
  93111. A._EvaluateVisitor_visitMediaRule___closure2.prototype = {
  93112. call$0() {
  93113. var $async$goto = 0,
  93114. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  93115. $async$self = this, t1, t2, t3, _i;
  93116. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  93117. if ($async$errorCode === 1)
  93118. return A._asyncRethrow($async$result, $async$completer);
  93119. while (true)
  93120. switch ($async$goto) {
  93121. case 0:
  93122. // Function start
  93123. t1 = $async$self.node.children, t2 = t1.length, t3 = $async$self.$this, _i = 0;
  93124. case 2:
  93125. // for condition
  93126. if (!(_i < t2)) {
  93127. // goto after for
  93128. $async$goto = 4;
  93129. break;
  93130. }
  93131. $async$goto = 5;
  93132. return A._asyncAwait(t1[_i].accept$1(t3), $async$call$0);
  93133. case 5:
  93134. // returning from await.
  93135. case 3:
  93136. // for update
  93137. ++_i;
  93138. // goto for condition
  93139. $async$goto = 2;
  93140. break;
  93141. case 4:
  93142. // after for
  93143. // implicit return
  93144. return A._asyncReturn(null, $async$completer);
  93145. }
  93146. });
  93147. return A._asyncStartSync($async$call$0, $async$completer);
  93148. },
  93149. $signature: 2
  93150. };
  93151. A._EvaluateVisitor_visitMediaRule_closure10.prototype = {
  93152. call$1(node) {
  93153. var t1;
  93154. if (!(node instanceof A.ModifiableCssStyleRule0)) {
  93155. t1 = this.mergedSources;
  93156. t1 = t1.get$isNotEmpty(t1) && node instanceof A.ModifiableCssMediaRule0 && B.JSArray_methods.every$1(node.queries, t1.get$contains(t1));
  93157. } else
  93158. t1 = true;
  93159. return t1;
  93160. },
  93161. $signature: 7
  93162. };
  93163. A._EvaluateVisitor_visitStyleRule_closure11.prototype = {
  93164. call$0() {
  93165. var $async$goto = 0,
  93166. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  93167. $async$self = this, t1, t2, t3, _i;
  93168. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  93169. if ($async$errorCode === 1)
  93170. return A._asyncRethrow($async$result, $async$completer);
  93171. while (true)
  93172. switch ($async$goto) {
  93173. case 0:
  93174. // Function start
  93175. t1 = $async$self.node.children, t2 = t1.length, t3 = $async$self.$this, _i = 0;
  93176. case 2:
  93177. // for condition
  93178. if (!(_i < t2)) {
  93179. // goto after for
  93180. $async$goto = 4;
  93181. break;
  93182. }
  93183. $async$goto = 5;
  93184. return A._asyncAwait(t1[_i].accept$1(t3), $async$call$0);
  93185. case 5:
  93186. // returning from await.
  93187. case 3:
  93188. // for update
  93189. ++_i;
  93190. // goto for condition
  93191. $async$goto = 2;
  93192. break;
  93193. case 4:
  93194. // after for
  93195. // implicit return
  93196. return A._asyncReturn(null, $async$completer);
  93197. }
  93198. });
  93199. return A._asyncStartSync($async$call$0, $async$completer);
  93200. },
  93201. $signature: 2
  93202. };
  93203. A._EvaluateVisitor_visitStyleRule_closure12.prototype = {
  93204. call$1(node) {
  93205. return node instanceof A.ModifiableCssStyleRule0;
  93206. },
  93207. $signature: 7
  93208. };
  93209. A._EvaluateVisitor_visitStyleRule_closure14.prototype = {
  93210. call$0() {
  93211. var $async$goto = 0,
  93212. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  93213. $async$self = this, t1;
  93214. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  93215. if ($async$errorCode === 1)
  93216. return A._asyncRethrow($async$result, $async$completer);
  93217. while (true)
  93218. switch ($async$goto) {
  93219. case 0:
  93220. // Function start
  93221. t1 = $async$self.$this;
  93222. $async$goto = 2;
  93223. 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);
  93224. case 2:
  93225. // returning from await.
  93226. // implicit return
  93227. return A._asyncReturn(null, $async$completer);
  93228. }
  93229. });
  93230. return A._asyncStartSync($async$call$0, $async$completer);
  93231. },
  93232. $signature: 2
  93233. };
  93234. A._EvaluateVisitor_visitStyleRule__closure2.prototype = {
  93235. call$0() {
  93236. var $async$goto = 0,
  93237. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  93238. $async$self = this, t1, t2, t3, _i;
  93239. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  93240. if ($async$errorCode === 1)
  93241. return A._asyncRethrow($async$result, $async$completer);
  93242. while (true)
  93243. switch ($async$goto) {
  93244. case 0:
  93245. // Function start
  93246. t1 = $async$self.node.children, t2 = t1.length, t3 = $async$self.$this, _i = 0;
  93247. case 2:
  93248. // for condition
  93249. if (!(_i < t2)) {
  93250. // goto after for
  93251. $async$goto = 4;
  93252. break;
  93253. }
  93254. $async$goto = 5;
  93255. return A._asyncAwait(t1[_i].accept$1(t3), $async$call$0);
  93256. case 5:
  93257. // returning from await.
  93258. case 3:
  93259. // for update
  93260. ++_i;
  93261. // goto for condition
  93262. $async$goto = 2;
  93263. break;
  93264. case 4:
  93265. // after for
  93266. // implicit return
  93267. return A._asyncReturn(null, $async$completer);
  93268. }
  93269. });
  93270. return A._asyncStartSync($async$call$0, $async$completer);
  93271. },
  93272. $signature: 2
  93273. };
  93274. A._EvaluateVisitor_visitStyleRule_closure13.prototype = {
  93275. call$1(node) {
  93276. return node instanceof A.ModifiableCssStyleRule0;
  93277. },
  93278. $signature: 7
  93279. };
  93280. A._EvaluateVisitor__warnForBogusCombinators_closure2.prototype = {
  93281. call$1(child) {
  93282. return child instanceof A.ModifiableCssComment0;
  93283. },
  93284. $signature: 7
  93285. };
  93286. A._EvaluateVisitor_visitSupportsRule_closure5.prototype = {
  93287. call$0() {
  93288. var $async$goto = 0,
  93289. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  93290. $async$self = this, t2, t3, _i, t1, _0_0;
  93291. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  93292. if ($async$errorCode === 1)
  93293. return A._asyncRethrow($async$result, $async$completer);
  93294. while (true)
  93295. switch ($async$goto) {
  93296. case 0:
  93297. // Function start
  93298. t1 = $async$self.$this;
  93299. _0_0 = t1._async_evaluate0$_atRootExcludingStyleRule ? null : t1._async_evaluate0$_styleRuleIgnoringAtRoot;
  93300. $async$goto = _0_0 != null ? 2 : 4;
  93301. break;
  93302. case 2:
  93303. // then
  93304. $async$goto = 5;
  93305. return A._asyncAwait(t1._async_evaluate0$_withParent$2$2(A.ModifiableCssStyleRule$0(_0_0._style_rule0$_selector, _0_0.span, false, _0_0.originalSelector), new A._EvaluateVisitor_visitSupportsRule__closure2(t1, $async$self.node), type$.ModifiableCssStyleRule_2, type$.Null), $async$call$0);
  93306. case 5:
  93307. // returning from await.
  93308. // goto join
  93309. $async$goto = 3;
  93310. break;
  93311. case 4:
  93312. // else
  93313. t2 = $async$self.node.children, t3 = t2.length, _i = 0;
  93314. case 6:
  93315. // for condition
  93316. if (!(_i < t3)) {
  93317. // goto after for
  93318. $async$goto = 8;
  93319. break;
  93320. }
  93321. $async$goto = 9;
  93322. return A._asyncAwait(t2[_i].accept$1(t1), $async$call$0);
  93323. case 9:
  93324. // returning from await.
  93325. case 7:
  93326. // for update
  93327. ++_i;
  93328. // goto for condition
  93329. $async$goto = 6;
  93330. break;
  93331. case 8:
  93332. // after for
  93333. case 3:
  93334. // join
  93335. // implicit return
  93336. return A._asyncReturn(null, $async$completer);
  93337. }
  93338. });
  93339. return A._asyncStartSync($async$call$0, $async$completer);
  93340. },
  93341. $signature: 2
  93342. };
  93343. A._EvaluateVisitor_visitSupportsRule__closure2.prototype = {
  93344. call$0() {
  93345. var $async$goto = 0,
  93346. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  93347. $async$self = this, t1, t2, t3, _i;
  93348. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  93349. if ($async$errorCode === 1)
  93350. return A._asyncRethrow($async$result, $async$completer);
  93351. while (true)
  93352. switch ($async$goto) {
  93353. case 0:
  93354. // Function start
  93355. t1 = $async$self.node.children, t2 = t1.length, t3 = $async$self.$this, _i = 0;
  93356. case 2:
  93357. // for condition
  93358. if (!(_i < t2)) {
  93359. // goto after for
  93360. $async$goto = 4;
  93361. break;
  93362. }
  93363. $async$goto = 5;
  93364. return A._asyncAwait(t1[_i].accept$1(t3), $async$call$0);
  93365. case 5:
  93366. // returning from await.
  93367. case 3:
  93368. // for update
  93369. ++_i;
  93370. // goto for condition
  93371. $async$goto = 2;
  93372. break;
  93373. case 4:
  93374. // after for
  93375. // implicit return
  93376. return A._asyncReturn(null, $async$completer);
  93377. }
  93378. });
  93379. return A._asyncStartSync($async$call$0, $async$completer);
  93380. },
  93381. $signature: 2
  93382. };
  93383. A._EvaluateVisitor_visitSupportsRule_closure6.prototype = {
  93384. call$1(node) {
  93385. return node instanceof A.ModifiableCssStyleRule0;
  93386. },
  93387. $signature: 7
  93388. };
  93389. A._EvaluateVisitor__visitSupportsCondition_closure2.prototype = {
  93390. call$0() {
  93391. var $async$goto = 0,
  93392. $async$completer = A._makeAsyncAwaitCompleter(type$.String),
  93393. $async$returnValue, $async$self = this, t1, t2, t3, t4, $async$temp1, $async$temp2;
  93394. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  93395. if ($async$errorCode === 1)
  93396. return A._asyncRethrow($async$result, $async$completer);
  93397. while (true)
  93398. switch ($async$goto) {
  93399. case 0:
  93400. // Function start
  93401. t1 = $async$self.$this;
  93402. t2 = $async$self._box_0;
  93403. $async$temp1 = A;
  93404. $async$goto = 3;
  93405. return A._asyncAwait(t1._async_evaluate0$_evaluateToCss$1(t2.declaration.name), $async$call$0);
  93406. case 3:
  93407. // returning from await.
  93408. t3 = $async$temp1.S($async$result);
  93409. t4 = t2.declaration.get$isCustomProperty() ? "" : " ";
  93410. $async$temp1 = "(" + t3 + ":" + t4;
  93411. $async$temp2 = A;
  93412. $async$goto = 4;
  93413. return A._asyncAwait(t1._async_evaluate0$_evaluateToCss$1(t2.declaration.value), $async$call$0);
  93414. case 4:
  93415. // returning from await.
  93416. $async$returnValue = $async$temp1 + $async$temp2.S($async$result) + ")";
  93417. // goto return
  93418. $async$goto = 1;
  93419. break;
  93420. case 1:
  93421. // return
  93422. return A._asyncReturn($async$returnValue, $async$completer);
  93423. }
  93424. });
  93425. return A._asyncStartSync($async$call$0, $async$completer);
  93426. },
  93427. $signature: 181
  93428. };
  93429. A._EvaluateVisitor_visitVariableDeclaration_closure8.prototype = {
  93430. call$0() {
  93431. var t1 = this.$this._async_evaluate0$_environment,
  93432. t2 = this._box_0.override;
  93433. t1.setVariable$4$global(this.node.name, t2.value, t2.assignmentNode, true);
  93434. },
  93435. $signature: 1
  93436. };
  93437. A._EvaluateVisitor_visitVariableDeclaration_closure9.prototype = {
  93438. call$0() {
  93439. var t1 = this.node;
  93440. return this.$this._async_evaluate0$_environment.getVariable$2$namespace(t1.name, t1.namespace);
  93441. },
  93442. $signature: 44
  93443. };
  93444. A._EvaluateVisitor_visitVariableDeclaration_closure10.prototype = {
  93445. call$0() {
  93446. var t1 = this.$this,
  93447. t2 = this.node;
  93448. t1._async_evaluate0$_environment.setVariable$5$global$namespace(t2.name, this.value, t1._async_evaluate0$_expressionNode$1(t2.expression), t2.isGlobal, t2.namespace);
  93449. },
  93450. $signature: 1
  93451. };
  93452. A._EvaluateVisitor_visitUseRule_closure2.prototype = {
  93453. call$2(module, firstLoad) {
  93454. var t1, t2, t3, _0_0, t4, t5, span;
  93455. if (firstLoad)
  93456. this.$this._async_evaluate0$_registerCommentsForModule$1(module);
  93457. t1 = this.$this._async_evaluate0$_environment;
  93458. t2 = this.node;
  93459. t3 = t2.namespace;
  93460. if (t3 == null) {
  93461. t1._async_environment0$_globalModules.$indexSet(0, module, t2);
  93462. t1._async_environment0$_allModules.push(module);
  93463. _0_0 = A.IterableExtension_firstWhereOrNull(J.get$keys$z(B.JSArray_methods.get$first(t1._async_environment0$_variables)), module.get$variables().get$containsKey());
  93464. if (_0_0 != null)
  93465. A.throwExpression(A.SassScriptException$0(string$.This_ma + _0_0 + '".', null));
  93466. } else {
  93467. t4 = t1._async_environment0$_modules;
  93468. if (t4.containsKey$1(t3)) {
  93469. t5 = t1._async_environment0$_namespaceNodes.$index(0, t3);
  93470. span = t5 == null ? null : t5.span;
  93471. t5 = A.LinkedHashMap_LinkedHashMap$_empty(type$.FileSpan, type$.String);
  93472. if (span != null)
  93473. t5.$indexSet(0, span, "original @use");
  93474. A.throwExpression(A.MultiSpanSassScriptException$0(string$.There_ + t3 + '".', "new @use", t5));
  93475. }
  93476. t4.$indexSet(0, t3, module);
  93477. t1._async_environment0$_namespaceNodes.$indexSet(0, t3, t2);
  93478. t1._async_environment0$_allModules.push(module);
  93479. }
  93480. },
  93481. $signature: 114
  93482. };
  93483. A._EvaluateVisitor_visitWarnRule_closure2.prototype = {
  93484. call$0() {
  93485. return this.node.expression.accept$1(this.$this);
  93486. },
  93487. $signature: 78
  93488. };
  93489. A._EvaluateVisitor_visitWhileRule_closure2.prototype = {
  93490. call$0() {
  93491. var $async$goto = 0,
  93492. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value_2),
  93493. $async$returnValue, $async$self = this, t1, t2, t3, _0_0;
  93494. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  93495. if ($async$errorCode === 1)
  93496. return A._asyncRethrow($async$result, $async$completer);
  93497. while (true)
  93498. switch ($async$goto) {
  93499. case 0:
  93500. // Function start
  93501. t1 = $async$self.node, t2 = t1.condition, t3 = $async$self.$this, t1 = t1.children;
  93502. case 3:
  93503. // for condition
  93504. $async$goto = 5;
  93505. return A._asyncAwait(t2.accept$1(t3), $async$call$0);
  93506. case 5:
  93507. // returning from await.
  93508. if (!$async$result.get$isTruthy()) {
  93509. // goto after for
  93510. $async$goto = 4;
  93511. break;
  93512. }
  93513. $async$goto = 6;
  93514. return A._asyncAwait(t3._async_evaluate0$_handleReturn$2(t1, new A._EvaluateVisitor_visitWhileRule__closure2(t3)), $async$call$0);
  93515. case 6:
  93516. // returning from await.
  93517. _0_0 = $async$result;
  93518. if (_0_0 != null) {
  93519. $async$returnValue = _0_0;
  93520. // goto return
  93521. $async$goto = 1;
  93522. break;
  93523. }
  93524. // goto for condition
  93525. $async$goto = 3;
  93526. break;
  93527. case 4:
  93528. // after for
  93529. $async$returnValue = null;
  93530. // goto return
  93531. $async$goto = 1;
  93532. break;
  93533. case 1:
  93534. // return
  93535. return A._asyncReturn($async$returnValue, $async$completer);
  93536. }
  93537. });
  93538. return A._asyncStartSync($async$call$0, $async$completer);
  93539. },
  93540. $signature: 74
  93541. };
  93542. A._EvaluateVisitor_visitWhileRule__closure2.prototype = {
  93543. call$1(child) {
  93544. return child.accept$1(this.$this);
  93545. },
  93546. $signature: 88
  93547. };
  93548. A._EvaluateVisitor_visitBinaryOperationExpression_closure2.prototype = {
  93549. call$0() {
  93550. var $async$goto = 0,
  93551. $async$completer = A._makeAsyncAwaitCompleter(type$.Value_2),
  93552. $async$returnValue, $async$self = this, t3, t1, t2, left, $async$temp1, $async$temp2;
  93553. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  93554. if ($async$errorCode === 1)
  93555. return A._asyncRethrow($async$result, $async$completer);
  93556. while (true)
  93557. switch ($async$goto) {
  93558. case 0:
  93559. // Function start
  93560. t1 = $async$self.node;
  93561. t2 = $async$self.$this;
  93562. $async$goto = 3;
  93563. return A._asyncAwait(t1.left.accept$1(t2), $async$call$0);
  93564. case 3:
  93565. // returning from await.
  93566. left = $async$result;
  93567. case 4:
  93568. // switch
  93569. switch (t1.operator) {
  93570. case B.BinaryOperator_Kyq0:
  93571. // goto case
  93572. $async$goto = 6;
  93573. break;
  93574. case B.BinaryOperator_tKu0:
  93575. // goto case
  93576. $async$goto = 7;
  93577. break;
  93578. case B.BinaryOperator_uke0:
  93579. // goto case
  93580. $async$goto = 8;
  93581. break;
  93582. case B.BinaryOperator_r840:
  93583. // goto case
  93584. $async$goto = 9;
  93585. break;
  93586. case B.BinaryOperator_qGq0:
  93587. // goto case
  93588. $async$goto = 10;
  93589. break;
  93590. case B.BinaryOperator_o8O0:
  93591. // goto case
  93592. $async$goto = 11;
  93593. break;
  93594. case B.BinaryOperator_JiR0:
  93595. // goto case
  93596. $async$goto = 12;
  93597. break;
  93598. case B.BinaryOperator_qHy0:
  93599. // goto case
  93600. $async$goto = 13;
  93601. break;
  93602. case B.BinaryOperator_FPG0:
  93603. // goto case
  93604. $async$goto = 14;
  93605. break;
  93606. case B.BinaryOperator_Swh0:
  93607. // goto case
  93608. $async$goto = 15;
  93609. break;
  93610. case B.BinaryOperator_QG10:
  93611. // goto case
  93612. $async$goto = 16;
  93613. break;
  93614. case B.BinaryOperator_tht0:
  93615. // goto case
  93616. $async$goto = 17;
  93617. break;
  93618. case B.BinaryOperator_Mh50:
  93619. // goto case
  93620. $async$goto = 18;
  93621. break;
  93622. case B.BinaryOperator_s7T0:
  93623. // goto case
  93624. $async$goto = 19;
  93625. break;
  93626. default:
  93627. // goto default
  93628. $async$goto = 20;
  93629. break;
  93630. }
  93631. break;
  93632. case 6:
  93633. // case
  93634. t1 = t1.right.accept$1(t2);
  93635. $async$goto = 21;
  93636. return A._asyncAwait(type$.Future_Value_2._is(t1) ? t1 : A._Future$value(t1, type$.Value_2), $async$call$0);
  93637. case 21:
  93638. // returning from await.
  93639. t1 = $async$result;
  93640. t1 = new A.SassString0(A.serializeValue0(left, false, true) + "=" + A.serializeValue0(t1, false, true), false);
  93641. // goto after switch
  93642. $async$goto = 5;
  93643. break;
  93644. case 7:
  93645. // case
  93646. $async$goto = left.get$isTruthy() ? 22 : 24;
  93647. break;
  93648. case 22:
  93649. // then
  93650. t1 = left;
  93651. // goto join
  93652. $async$goto = 23;
  93653. break;
  93654. case 24:
  93655. // else
  93656. t1 = t1.right.accept$1(t2);
  93657. $async$goto = 25;
  93658. return A._asyncAwait(type$.Future_Value_2._is(t1) ? t1 : A._Future$value(t1, type$.Value_2), $async$call$0);
  93659. case 25:
  93660. // returning from await.
  93661. t1 = $async$result;
  93662. case 23:
  93663. // join
  93664. // goto after switch
  93665. $async$goto = 5;
  93666. break;
  93667. case 8:
  93668. // case
  93669. $async$goto = left.get$isTruthy() ? 26 : 28;
  93670. break;
  93671. case 26:
  93672. // then
  93673. t1 = t1.right.accept$1(t2);
  93674. $async$goto = 29;
  93675. return A._asyncAwait(type$.Future_Value_2._is(t1) ? t1 : A._Future$value(t1, type$.Value_2), $async$call$0);
  93676. case 29:
  93677. // returning from await.
  93678. t1 = $async$result;
  93679. // goto join
  93680. $async$goto = 27;
  93681. break;
  93682. case 28:
  93683. // else
  93684. t1 = left;
  93685. case 27:
  93686. // join
  93687. // goto after switch
  93688. $async$goto = 5;
  93689. break;
  93690. case 9:
  93691. // case
  93692. $async$temp1 = left;
  93693. $async$goto = 30;
  93694. return A._asyncAwait(t1.right.accept$1(t2), $async$call$0);
  93695. case 30:
  93696. // returning from await.
  93697. t1 = $async$temp1.$eq(0, $async$result) ? B.SassBoolean_true0 : B.SassBoolean_false0;
  93698. // goto after switch
  93699. $async$goto = 5;
  93700. break;
  93701. case 10:
  93702. // case
  93703. $async$temp1 = left;
  93704. $async$goto = 31;
  93705. return A._asyncAwait(t1.right.accept$1(t2), $async$call$0);
  93706. case 31:
  93707. // returning from await.
  93708. t1 = !$async$temp1.$eq(0, $async$result) ? B.SassBoolean_true0 : B.SassBoolean_false0;
  93709. // goto after switch
  93710. $async$goto = 5;
  93711. break;
  93712. case 11:
  93713. // case
  93714. t1 = t1.right.accept$1(t2);
  93715. $async$temp1 = left;
  93716. $async$goto = 32;
  93717. return A._asyncAwait(type$.Future_Value_2._is(t1) ? t1 : A._Future$value(t1, type$.Value_2), $async$call$0);
  93718. case 32:
  93719. // returning from await.
  93720. t1 = $async$temp1.greaterThan$1($async$result);
  93721. // goto after switch
  93722. $async$goto = 5;
  93723. break;
  93724. case 12:
  93725. // case
  93726. t1 = t1.right.accept$1(t2);
  93727. $async$temp1 = left;
  93728. $async$goto = 33;
  93729. return A._asyncAwait(type$.Future_Value_2._is(t1) ? t1 : A._Future$value(t1, type$.Value_2), $async$call$0);
  93730. case 33:
  93731. // returning from await.
  93732. t1 = $async$temp1.greaterThanOrEquals$1($async$result);
  93733. // goto after switch
  93734. $async$goto = 5;
  93735. break;
  93736. case 13:
  93737. // case
  93738. t1 = t1.right.accept$1(t2);
  93739. $async$temp1 = left;
  93740. $async$goto = 34;
  93741. return A._asyncAwait(type$.Future_Value_2._is(t1) ? t1 : A._Future$value(t1, type$.Value_2), $async$call$0);
  93742. case 34:
  93743. // returning from await.
  93744. t1 = $async$temp1.lessThan$1($async$result);
  93745. // goto after switch
  93746. $async$goto = 5;
  93747. break;
  93748. case 14:
  93749. // case
  93750. t1 = t1.right.accept$1(t2);
  93751. $async$temp1 = left;
  93752. $async$goto = 35;
  93753. return A._asyncAwait(type$.Future_Value_2._is(t1) ? t1 : A._Future$value(t1, type$.Value_2), $async$call$0);
  93754. case 35:
  93755. // returning from await.
  93756. t1 = $async$temp1.lessThanOrEquals$1($async$result);
  93757. // goto after switch
  93758. $async$goto = 5;
  93759. break;
  93760. case 15:
  93761. // case
  93762. t1 = t1.right.accept$1(t2);
  93763. $async$temp1 = left;
  93764. $async$goto = 36;
  93765. return A._asyncAwait(type$.Future_Value_2._is(t1) ? t1 : A._Future$value(t1, type$.Value_2), $async$call$0);
  93766. case 36:
  93767. // returning from await.
  93768. t1 = $async$temp1.plus$1($async$result);
  93769. // goto after switch
  93770. $async$goto = 5;
  93771. break;
  93772. case 16:
  93773. // case
  93774. t1 = t1.right.accept$1(t2);
  93775. $async$temp1 = left;
  93776. $async$goto = 37;
  93777. return A._asyncAwait(type$.Future_Value_2._is(t1) ? t1 : A._Future$value(t1, type$.Value_2), $async$call$0);
  93778. case 37:
  93779. // returning from await.
  93780. t1 = $async$temp1.minus$1($async$result);
  93781. // goto after switch
  93782. $async$goto = 5;
  93783. break;
  93784. case 17:
  93785. // case
  93786. t1 = t1.right.accept$1(t2);
  93787. $async$temp1 = left;
  93788. $async$goto = 38;
  93789. return A._asyncAwait(type$.Future_Value_2._is(t1) ? t1 : A._Future$value(t1, type$.Value_2), $async$call$0);
  93790. case 38:
  93791. // returning from await.
  93792. t1 = $async$temp1.times$1($async$result);
  93793. // goto after switch
  93794. $async$goto = 5;
  93795. break;
  93796. case 18:
  93797. // case
  93798. t3 = t1.right.accept$1(t2);
  93799. $async$temp1 = t2;
  93800. $async$temp2 = left;
  93801. $async$goto = 39;
  93802. return A._asyncAwait(type$.Future_Value_2._is(t3) ? t3 : A._Future$value(t3, type$.Value_2), $async$call$0);
  93803. case 39:
  93804. // returning from await.
  93805. t1 = $async$temp1._async_evaluate0$_slash$3($async$temp2, $async$result, t1);
  93806. // goto after switch
  93807. $async$goto = 5;
  93808. break;
  93809. case 19:
  93810. // case
  93811. t1 = t1.right.accept$1(t2);
  93812. $async$temp1 = left;
  93813. $async$goto = 40;
  93814. return A._asyncAwait(type$.Future_Value_2._is(t1) ? t1 : A._Future$value(t1, type$.Value_2), $async$call$0);
  93815. case 40:
  93816. // returning from await.
  93817. t1 = $async$temp1.modulo$1($async$result);
  93818. // goto after switch
  93819. $async$goto = 5;
  93820. break;
  93821. case 20:
  93822. // default
  93823. t1 = null;
  93824. case 5:
  93825. // after switch
  93826. $async$returnValue = t1;
  93827. // goto return
  93828. $async$goto = 1;
  93829. break;
  93830. case 1:
  93831. // return
  93832. return A._asyncReturn($async$returnValue, $async$completer);
  93833. }
  93834. });
  93835. return A._asyncStartSync($async$call$0, $async$completer);
  93836. },
  93837. $signature: 78
  93838. };
  93839. A._EvaluateVisitor__slash_recommendation2.prototype = {
  93840. call$1(expression) {
  93841. var t1;
  93842. $label0$0: {
  93843. if (expression instanceof A.BinaryOperationExpression0 && B.BinaryOperator_Mh50 === expression.operator) {
  93844. t1 = "math.div(" + A.S(this.call$1(expression.left)) + ", " + A.S(this.call$1(expression.right)) + ")";
  93845. break $label0$0;
  93846. }
  93847. if (expression instanceof A.ParenthesizedExpression0) {
  93848. t1 = expression.expression.toString$0(0);
  93849. break $label0$0;
  93850. }
  93851. t1 = expression.toString$0(0);
  93852. break $label0$0;
  93853. }
  93854. return t1;
  93855. },
  93856. $signature: 113
  93857. };
  93858. A._EvaluateVisitor_visitVariableExpression_closure2.prototype = {
  93859. call$0() {
  93860. var t1 = this.node;
  93861. return this.$this._async_evaluate0$_environment.getVariable$2$namespace(t1.name, t1.namespace);
  93862. },
  93863. $signature: 44
  93864. };
  93865. A._EvaluateVisitor_visitUnaryOperationExpression_closure2.prototype = {
  93866. call$0() {
  93867. var t1, _this = this;
  93868. switch (_this.node.operator) {
  93869. case B.UnaryOperator_Rbl0:
  93870. t1 = _this.operand.unaryPlus$0();
  93871. break;
  93872. case B.UnaryOperator_UCP0:
  93873. t1 = _this.operand.unaryMinus$0();
  93874. break;
  93875. case B.UnaryOperator_lZV0:
  93876. t1 = new A.SassString0("/" + A.serializeValue0(_this.operand, false, true), false);
  93877. break;
  93878. case B.UnaryOperator_not_not_not0:
  93879. t1 = _this.operand.unaryNot$0();
  93880. break;
  93881. default:
  93882. t1 = null;
  93883. }
  93884. return t1;
  93885. },
  93886. $signature: 48
  93887. };
  93888. A._EvaluateVisitor_visitListExpression_closure2.prototype = {
  93889. call$1(expression) {
  93890. return expression.accept$1(this.$this);
  93891. },
  93892. $signature: 352
  93893. };
  93894. A._EvaluateVisitor_visitFunctionExpression_closure8.prototype = {
  93895. call$0() {
  93896. var t1 = this.node;
  93897. return this.$this._async_evaluate0$_environment.getFunction$2$namespace(t1.name, t1.namespace);
  93898. },
  93899. $signature: 97
  93900. };
  93901. A._EvaluateVisitor_visitFunctionExpression_closure9.prototype = {
  93902. call$1(argument) {
  93903. return argument.accept$1(B.C_IsCalculationSafeVisitor0);
  93904. },
  93905. $signature: 140
  93906. };
  93907. A._EvaluateVisitor_visitFunctionExpression_closure10.prototype = {
  93908. call$0() {
  93909. var t1 = this.node;
  93910. return this.$this._async_evaluate0$_runFunctionCallable$3(t1.$arguments, this._box_0.$function, t1);
  93911. },
  93912. $signature: 78
  93913. };
  93914. A._EvaluateVisitor__visitCalculation_closure2.prototype = {
  93915. call$2(message, deprecation) {
  93916. return this.$this._async_evaluate0$_warn$3(message, this.node.span, deprecation);
  93917. },
  93918. call$1(message) {
  93919. return this.call$2(message, null);
  93920. },
  93921. $signature: 110
  93922. };
  93923. A._EvaluateVisitor__checkCalculationArguments_check2.prototype = {
  93924. call$1(maxArgs) {
  93925. var t1 = this.node,
  93926. t2 = t1.$arguments.positional.length;
  93927. if (t2 === 0)
  93928. throw A.wrapException(this.$this._async_evaluate0$_exception$2("Missing argument.", t1.span));
  93929. else if (maxArgs != null && t2 > maxArgs)
  93930. throw A.wrapException(this.$this._async_evaluate0$_exception$2("Only " + A.S(maxArgs) + " " + A.pluralize0("argument", maxArgs, null) + " allowed, but " + t2 + " " + A.pluralize0("was", t2, "were") + " passed.", t1.span));
  93931. },
  93932. call$0() {
  93933. return this.call$1(null);
  93934. },
  93935. $signature: 106
  93936. };
  93937. A._EvaluateVisitor__visitCalculationExpression_closure2.prototype = {
  93938. call$0() {
  93939. var $async$goto = 0,
  93940. $async$completer = A._makeAsyncAwaitCompleter(type$.Object),
  93941. $async$returnValue, $async$self = this, t1, t2, t3, t4, $async$temp1, $async$temp2, $async$temp3;
  93942. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  93943. if ($async$errorCode === 1)
  93944. return A._asyncRethrow($async$result, $async$completer);
  93945. while (true)
  93946. switch ($async$goto) {
  93947. case 0:
  93948. // Function start
  93949. t1 = $async$self.$this;
  93950. t2 = $async$self._box_0;
  93951. t3 = $async$self.node;
  93952. t4 = $async$self.inLegacySassFunction;
  93953. $async$temp1 = A;
  93954. $async$temp2 = t1._async_evaluate0$_binaryOperatorToCalculationOperator$2(t2.operator, t3);
  93955. $async$goto = 3;
  93956. return A._asyncAwait(t1._async_evaluate0$_visitCalculationExpression$2$inLegacySassFunction(t2.left, t4), $async$call$0);
  93957. case 3:
  93958. // returning from await.
  93959. $async$temp3 = $async$result;
  93960. $async$goto = 4;
  93961. return A._asyncAwait(t1._async_evaluate0$_visitCalculationExpression$2$inLegacySassFunction(t2.right, t4), $async$call$0);
  93962. case 4:
  93963. // returning from await.
  93964. $async$returnValue = $async$temp1.SassCalculation_operateInternal0($async$temp2, $async$temp3, $async$result, t4, !t1._async_evaluate0$_inSupportsDeclaration, new A._EvaluateVisitor__visitCalculationExpression__closure2(t1, t3));
  93965. // goto return
  93966. $async$goto = 1;
  93967. break;
  93968. case 1:
  93969. // return
  93970. return A._asyncReturn($async$returnValue, $async$completer);
  93971. }
  93972. });
  93973. return A._asyncStartSync($async$call$0, $async$completer);
  93974. },
  93975. $signature: 183
  93976. };
  93977. A._EvaluateVisitor__visitCalculationExpression__closure2.prototype = {
  93978. call$2(message, deprecation) {
  93979. return this.$this._async_evaluate0$_warn$3(message, this.node.get$span(0), deprecation);
  93980. },
  93981. call$1(message) {
  93982. return this.call$2(message, null);
  93983. },
  93984. $signature: 110
  93985. };
  93986. A._EvaluateVisitor_visitInterpolatedFunctionExpression_closure2.prototype = {
  93987. call$0() {
  93988. var t1 = this.node;
  93989. return this.$this._async_evaluate0$_runFunctionCallable$3(t1.$arguments, this.$function, t1);
  93990. },
  93991. $signature: 78
  93992. };
  93993. A._EvaluateVisitor__runUserDefinedCallable_closure2.prototype = {
  93994. call$0() {
  93995. var _this = this,
  93996. t1 = _this.$this,
  93997. t2 = _this.callable,
  93998. t3 = _this.V;
  93999. 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);
  94000. },
  94001. $signature() {
  94002. return this.V._eval$1("Future<0>()");
  94003. }
  94004. };
  94005. A._EvaluateVisitor__runUserDefinedCallable__closure2.prototype = {
  94006. call$0() {
  94007. var _this = this,
  94008. t1 = _this.$this,
  94009. t2 = _this.V;
  94010. return t1._async_evaluate0$_environment.scope$1$1(new A._EvaluateVisitor__runUserDefinedCallable___closure2(t1, _this.evaluated, _this.callable, _this.nodeWithSpan, _this.run, t2), t2);
  94011. },
  94012. $signature() {
  94013. return this.V._eval$1("Future<0>()");
  94014. }
  94015. };
  94016. A._EvaluateVisitor__runUserDefinedCallable___closure2.prototype = {
  94017. call$0() {
  94018. return this.$call$body$_EvaluateVisitor__runUserDefinedCallable___closure0(this.V);
  94019. },
  94020. $call$body$_EvaluateVisitor__runUserDefinedCallable___closure0($async$type) {
  94021. var $async$goto = 0,
  94022. $async$completer = A._makeAsyncAwaitCompleter($async$type),
  94023. $async$returnValue, $async$self = this, parameters, t5, minLength, i, parameter, t6, value, t7, t8, restParameter, rest, argumentList, result, parameterWord, t1, t2, t3, t4, $async$temp1;
  94024. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  94025. if ($async$errorCode === 1)
  94026. return A._asyncRethrow($async$result, $async$completer);
  94027. while (true)
  94028. switch ($async$goto) {
  94029. case 0:
  94030. // Function start
  94031. t1 = $async$self.$this;
  94032. t2 = $async$self.evaluated._values;
  94033. t3 = $async$self.callable.declaration.parameters;
  94034. t4 = $async$self.nodeWithSpan;
  94035. t1._async_evaluate0$_verifyArguments$4(J.get$length$asx(t2[2]), t2[0], t3, t4);
  94036. parameters = t3.parameters;
  94037. t5 = parameters.length;
  94038. minLength = Math.min(J.get$length$asx(t2[2]), t5);
  94039. for (i = 0; i < minLength; ++i)
  94040. t1._async_evaluate0$_environment.setLocalVariable$3(parameters[i].name, J.$index$asx(t2[2], i), J.$index$asx(t2[3], i));
  94041. i = J.get$length$asx(t2[2]);
  94042. case 3:
  94043. // for condition
  94044. if (!(i < t5)) {
  94045. // goto after for
  94046. $async$goto = 5;
  94047. break;
  94048. }
  94049. parameter = parameters[i];
  94050. t6 = parameter.name;
  94051. value = t2[0].remove$1(0, t6);
  94052. $async$goto = value == null ? 6 : 7;
  94053. break;
  94054. case 6:
  94055. // then
  94056. t7 = parameter.defaultValue;
  94057. $async$temp1 = t1;
  94058. $async$goto = 8;
  94059. return A._asyncAwait(t7.accept$1(t1), $async$call$0);
  94060. case 8:
  94061. // returning from await.
  94062. value = $async$temp1._async_evaluate0$_withoutSlash$2($async$result, t1._async_evaluate0$_expressionNode$1(t7));
  94063. case 7:
  94064. // join
  94065. t7 = t1._async_evaluate0$_environment;
  94066. t8 = t2[1].$index(0, t6);
  94067. if (t8 == null) {
  94068. t8 = parameter.defaultValue;
  94069. t8.toString;
  94070. t8 = t1._async_evaluate0$_expressionNode$1(t8);
  94071. }
  94072. t7.setLocalVariable$3(t6, value, t8);
  94073. case 4:
  94074. // for update
  94075. ++i;
  94076. // goto for condition
  94077. $async$goto = 3;
  94078. break;
  94079. case 5:
  94080. // after for
  94081. restParameter = t3.restParameter;
  94082. if (restParameter != null) {
  94083. rest = J.get$length$asx(t2[2]) > t5 ? J.sublist$1$ax(t2[2], t5) : B.List_empty22;
  94084. t5 = t2[0];
  94085. t6 = t2[4];
  94086. argumentList = A.SassArgumentList$0(rest, t5, t6 === B.ListSeparator_undecided_null_undecided0 ? B.ListSeparator_qVN0 : t6);
  94087. t1._async_evaluate0$_environment.setLocalVariable$3(restParameter, argumentList, t4);
  94088. } else
  94089. argumentList = null;
  94090. $async$goto = 9;
  94091. return A._asyncAwait($async$self.run.call$0(), $async$call$0);
  94092. case 9:
  94093. // returning from await.
  94094. result = $async$result;
  94095. if (argumentList == null) {
  94096. $async$returnValue = result;
  94097. // goto return
  94098. $async$goto = 1;
  94099. break;
  94100. }
  94101. t5 = t2[0];
  94102. if (t5.get$isEmpty(t5)) {
  94103. $async$returnValue = result;
  94104. // goto return
  94105. $async$goto = 1;
  94106. break;
  94107. }
  94108. if (argumentList._argument_list$_wereKeywordsAccessed) {
  94109. $async$returnValue = result;
  94110. // goto return
  94111. $async$goto = 1;
  94112. break;
  94113. }
  94114. t5 = t2[0];
  94115. parameterWord = A.pluralize0("parameter", J.get$length$asx(t5.get$keys(t5)), null);
  94116. t2 = t2[0];
  94117. throw A.wrapException(A.MultiSpanSassRuntimeException$0("No " + parameterWord + " named " + A.toSentence0(J.map$1$1$ax(t2.get$keys(t2), new A._EvaluateVisitor__runUserDefinedCallable____closure2(), type$.Object), "or") + ".", t4.get$span(t4), "invocation", A.LinkedHashMap_LinkedHashMap$_literal([t3.get$spanWithName(), "declaration"], type$.FileSpan, type$.String), t1._async_evaluate0$_stackTrace$1(t4.get$span(t4)), null));
  94118. case 1:
  94119. // return
  94120. return A._asyncReturn($async$returnValue, $async$completer);
  94121. }
  94122. });
  94123. return A._asyncStartSync($async$call$0, $async$completer);
  94124. },
  94125. $signature() {
  94126. return this.V._eval$1("Future<0>()");
  94127. }
  94128. };
  94129. A._EvaluateVisitor__runUserDefinedCallable____closure2.prototype = {
  94130. call$1($name) {
  94131. return "$" + $name;
  94132. },
  94133. $signature: 6
  94134. };
  94135. A._EvaluateVisitor__runFunctionCallable_closure2.prototype = {
  94136. call$0() {
  94137. var $async$goto = 0,
  94138. $async$completer = A._makeAsyncAwaitCompleter(type$.Value_2),
  94139. $async$returnValue, $async$self = this, t1, t2, t3, t4, _i, $returnValue;
  94140. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  94141. if ($async$errorCode === 1)
  94142. return A._asyncRethrow($async$result, $async$completer);
  94143. while (true)
  94144. switch ($async$goto) {
  94145. case 0:
  94146. // Function start
  94147. t1 = $async$self.callable.declaration, t2 = t1.children, t3 = t2.length, t4 = $async$self.$this, _i = 0;
  94148. case 3:
  94149. // for condition
  94150. if (!(_i < t3)) {
  94151. // goto after for
  94152. $async$goto = 5;
  94153. break;
  94154. }
  94155. $async$goto = 6;
  94156. return A._asyncAwait(t2[_i].accept$1(t4), $async$call$0);
  94157. case 6:
  94158. // returning from await.
  94159. $returnValue = $async$result;
  94160. if ($returnValue instanceof A.Value0) {
  94161. $async$returnValue = $returnValue;
  94162. // goto return
  94163. $async$goto = 1;
  94164. break;
  94165. }
  94166. case 4:
  94167. // for update
  94168. ++_i;
  94169. // goto for condition
  94170. $async$goto = 3;
  94171. break;
  94172. case 5:
  94173. // after for
  94174. throw A.wrapException(t4._async_evaluate0$_exception$2("Function finished without @return.", t1.span));
  94175. case 1:
  94176. // return
  94177. return A._asyncReturn($async$returnValue, $async$completer);
  94178. }
  94179. });
  94180. return A._asyncStartSync($async$call$0, $async$completer);
  94181. },
  94182. $signature: 78
  94183. };
  94184. A._EvaluateVisitor__runBuiltInCallable_closure8.prototype = {
  94185. call$0() {
  94186. return this._box_0.overload.verify$2(J.get$length$asx(this.evaluated._values[2]), this.namedSet);
  94187. },
  94188. $signature: 0
  94189. };
  94190. A._EvaluateVisitor__runBuiltInCallable_closure9.prototype = {
  94191. call$0() {
  94192. return this._box_0.callback.call$1(this.evaluated._values[2]);
  94193. },
  94194. $signature: 355
  94195. };
  94196. A._EvaluateVisitor__runBuiltInCallable_closure10.prototype = {
  94197. call$1($name) {
  94198. return "$" + $name;
  94199. },
  94200. $signature: 6
  94201. };
  94202. A._EvaluateVisitor__evaluateArguments_closure11.prototype = {
  94203. call$1(value) {
  94204. return value;
  94205. },
  94206. $signature: 43
  94207. };
  94208. A._EvaluateVisitor__evaluateArguments_closure12.prototype = {
  94209. call$1(value) {
  94210. return this.$this._async_evaluate0$_withoutSlash$2(value, this.restNodeForSpan);
  94211. },
  94212. $signature: 43
  94213. };
  94214. A._EvaluateVisitor__evaluateArguments_closure13.prototype = {
  94215. call$2(key, value) {
  94216. var _this = this,
  94217. t1 = _this.restNodeForSpan;
  94218. _this.named.$indexSet(0, key, _this.$this._async_evaluate0$_withoutSlash$2(value, t1));
  94219. _this.namedNodes.$indexSet(0, key, t1);
  94220. },
  94221. $signature: 109
  94222. };
  94223. A._EvaluateVisitor__evaluateArguments_closure14.prototype = {
  94224. call$1(value) {
  94225. return value;
  94226. },
  94227. $signature: 43
  94228. };
  94229. A._EvaluateVisitor__evaluateMacroArguments_closure11.prototype = {
  94230. call$1(value) {
  94231. var t1 = this.restArgs;
  94232. return new A.ValueExpression0(value, t1.get$span(t1));
  94233. },
  94234. $signature: 65
  94235. };
  94236. A._EvaluateVisitor__evaluateMacroArguments_closure12.prototype = {
  94237. call$1(value) {
  94238. var t1 = this.restArgs;
  94239. return new A.ValueExpression0(this.$this._async_evaluate0$_withoutSlash$2(value, this.restNodeForSpan), t1.get$span(t1));
  94240. },
  94241. $signature: 65
  94242. };
  94243. A._EvaluateVisitor__evaluateMacroArguments_closure13.prototype = {
  94244. call$2(key, value) {
  94245. var _this = this,
  94246. t1 = _this.restArgs;
  94247. _this.named.$indexSet(0, key, new A.ValueExpression0(_this.$this._async_evaluate0$_withoutSlash$2(value, _this.restNodeForSpan), t1.get$span(t1)));
  94248. },
  94249. $signature: 109
  94250. };
  94251. A._EvaluateVisitor__evaluateMacroArguments_closure14.prototype = {
  94252. call$1(value) {
  94253. var t1 = this.keywordRestArgs;
  94254. return new A.ValueExpression0(this.$this._async_evaluate0$_withoutSlash$2(value, this.keywordRestNodeForSpan), t1.get$span(t1));
  94255. },
  94256. $signature: 65
  94257. };
  94258. A._EvaluateVisitor__addRestMap_closure2.prototype = {
  94259. call$2(key, value) {
  94260. var t2, _this = this,
  94261. t1 = _this.$this;
  94262. if (key instanceof A.SassString0)
  94263. _this.values.$indexSet(0, key._string0$_text, _this.convert.call$1(t1._async_evaluate0$_withoutSlash$2(value, _this.expressionNode)));
  94264. else {
  94265. t2 = _this.nodeWithSpan;
  94266. 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)));
  94267. }
  94268. },
  94269. $signature: 98
  94270. };
  94271. A._EvaluateVisitor__verifyArguments_closure2.prototype = {
  94272. call$0() {
  94273. return this.parameters.verify$2(this.positional, new A.MapKeySet(this.named, type$.MapKeySet_String));
  94274. },
  94275. $signature: 0
  94276. };
  94277. A._EvaluateVisitor_visitCssAtRule_closure5.prototype = {
  94278. call$0() {
  94279. var $async$goto = 0,
  94280. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  94281. $async$self = this, t1, t2, t3, t4;
  94282. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  94283. if ($async$errorCode === 1)
  94284. return A._asyncRethrow($async$result, $async$completer);
  94285. while (true)
  94286. switch ($async$goto) {
  94287. case 0:
  94288. // Function start
  94289. t1 = $async$self.node.children, t2 = t1.$ti, t1 = new A.ListIterator(t1, t1.get$length(0), t2._eval$1("ListIterator<ListBase.E>")), t3 = $async$self.$this, t2 = t2._eval$1("ListBase.E");
  94290. case 2:
  94291. // for condition
  94292. if (!t1.moveNext$0()) {
  94293. // goto after for
  94294. $async$goto = 3;
  94295. break;
  94296. }
  94297. t4 = t1.__internal$_current;
  94298. $async$goto = 4;
  94299. return A._asyncAwait((t4 == null ? t2._as(t4) : t4).accept$1(t3), $async$call$0);
  94300. case 4:
  94301. // returning from await.
  94302. // goto for condition
  94303. $async$goto = 2;
  94304. break;
  94305. case 3:
  94306. // after for
  94307. // implicit return
  94308. return A._asyncReturn(null, $async$completer);
  94309. }
  94310. });
  94311. return A._asyncStartSync($async$call$0, $async$completer);
  94312. },
  94313. $signature: 2
  94314. };
  94315. A._EvaluateVisitor_visitCssAtRule_closure6.prototype = {
  94316. call$1(node) {
  94317. return node instanceof A.ModifiableCssStyleRule0;
  94318. },
  94319. $signature: 7
  94320. };
  94321. A._EvaluateVisitor_visitCssKeyframeBlock_closure5.prototype = {
  94322. call$0() {
  94323. var $async$goto = 0,
  94324. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  94325. $async$self = this, t1, t2, t3, t4;
  94326. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  94327. if ($async$errorCode === 1)
  94328. return A._asyncRethrow($async$result, $async$completer);
  94329. while (true)
  94330. switch ($async$goto) {
  94331. case 0:
  94332. // Function start
  94333. t1 = $async$self.node.children, t2 = t1.$ti, t1 = new A.ListIterator(t1, t1.get$length(0), t2._eval$1("ListIterator<ListBase.E>")), t3 = $async$self.$this, t2 = t2._eval$1("ListBase.E");
  94334. case 2:
  94335. // for condition
  94336. if (!t1.moveNext$0()) {
  94337. // goto after for
  94338. $async$goto = 3;
  94339. break;
  94340. }
  94341. t4 = t1.__internal$_current;
  94342. $async$goto = 4;
  94343. return A._asyncAwait((t4 == null ? t2._as(t4) : t4).accept$1(t3), $async$call$0);
  94344. case 4:
  94345. // returning from await.
  94346. // goto for condition
  94347. $async$goto = 2;
  94348. break;
  94349. case 3:
  94350. // after for
  94351. // implicit return
  94352. return A._asyncReturn(null, $async$completer);
  94353. }
  94354. });
  94355. return A._asyncStartSync($async$call$0, $async$completer);
  94356. },
  94357. $signature: 2
  94358. };
  94359. A._EvaluateVisitor_visitCssKeyframeBlock_closure6.prototype = {
  94360. call$1(node) {
  94361. return node instanceof A.ModifiableCssStyleRule0;
  94362. },
  94363. $signature: 7
  94364. };
  94365. A._EvaluateVisitor_visitCssMediaRule_closure8.prototype = {
  94366. call$1(mediaQueries) {
  94367. return this.$this._async_evaluate0$_mergeMediaQueries$2(mediaQueries, this.node.queries);
  94368. },
  94369. $signature: 104
  94370. };
  94371. A._EvaluateVisitor_visitCssMediaRule_closure9.prototype = {
  94372. call$0() {
  94373. var $async$goto = 0,
  94374. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  94375. $async$self = this, t1, t2;
  94376. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  94377. if ($async$errorCode === 1)
  94378. return A._asyncRethrow($async$result, $async$completer);
  94379. while (true)
  94380. switch ($async$goto) {
  94381. case 0:
  94382. // Function start
  94383. t1 = $async$self.$this;
  94384. t2 = $async$self.mergedQueries;
  94385. if (t2 == null)
  94386. t2 = $async$self.node.queries;
  94387. $async$goto = 2;
  94388. 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);
  94389. case 2:
  94390. // returning from await.
  94391. // implicit return
  94392. return A._asyncReturn(null, $async$completer);
  94393. }
  94394. });
  94395. return A._asyncStartSync($async$call$0, $async$completer);
  94396. },
  94397. $signature: 2
  94398. };
  94399. A._EvaluateVisitor_visitCssMediaRule__closure2.prototype = {
  94400. call$0() {
  94401. var $async$goto = 0,
  94402. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  94403. $async$self = this, t2, t3, t4, t1, _0_0;
  94404. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  94405. if ($async$errorCode === 1)
  94406. return A._asyncRethrow($async$result, $async$completer);
  94407. while (true)
  94408. switch ($async$goto) {
  94409. case 0:
  94410. // Function start
  94411. t1 = $async$self.$this;
  94412. _0_0 = t1._async_evaluate0$_atRootExcludingStyleRule ? null : t1._async_evaluate0$_styleRuleIgnoringAtRoot;
  94413. $async$goto = _0_0 != null ? 2 : 4;
  94414. break;
  94415. case 2:
  94416. // then
  94417. $async$goto = 5;
  94418. return A._asyncAwait(t1._async_evaluate0$_withParent$2$3$scopeWhen(A.ModifiableCssStyleRule$0(_0_0._style_rule0$_selector, _0_0.span, false, _0_0.originalSelector), new A._EvaluateVisitor_visitCssMediaRule___closure2(t1, $async$self.node), false, type$.ModifiableCssStyleRule_2, type$.Null), $async$call$0);
  94419. case 5:
  94420. // returning from await.
  94421. // goto join
  94422. $async$goto = 3;
  94423. break;
  94424. case 4:
  94425. // else
  94426. t2 = $async$self.node.children, t3 = t2.$ti, t2 = new A.ListIterator(t2, t2.get$length(0), t3._eval$1("ListIterator<ListBase.E>")), t3 = t3._eval$1("ListBase.E");
  94427. case 6:
  94428. // for condition
  94429. if (!t2.moveNext$0()) {
  94430. // goto after for
  94431. $async$goto = 7;
  94432. break;
  94433. }
  94434. t4 = t2.__internal$_current;
  94435. $async$goto = 8;
  94436. return A._asyncAwait((t4 == null ? t3._as(t4) : t4).accept$1(t1), $async$call$0);
  94437. case 8:
  94438. // returning from await.
  94439. // goto for condition
  94440. $async$goto = 6;
  94441. break;
  94442. case 7:
  94443. // after for
  94444. case 3:
  94445. // join
  94446. // implicit return
  94447. return A._asyncReturn(null, $async$completer);
  94448. }
  94449. });
  94450. return A._asyncStartSync($async$call$0, $async$completer);
  94451. },
  94452. $signature: 2
  94453. };
  94454. A._EvaluateVisitor_visitCssMediaRule___closure2.prototype = {
  94455. call$0() {
  94456. var $async$goto = 0,
  94457. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  94458. $async$self = this, t1, t2, t3, t4;
  94459. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  94460. if ($async$errorCode === 1)
  94461. return A._asyncRethrow($async$result, $async$completer);
  94462. while (true)
  94463. switch ($async$goto) {
  94464. case 0:
  94465. // Function start
  94466. t1 = $async$self.node.children, t2 = t1.$ti, t1 = new A.ListIterator(t1, t1.get$length(0), t2._eval$1("ListIterator<ListBase.E>")), t3 = $async$self.$this, t2 = t2._eval$1("ListBase.E");
  94467. case 2:
  94468. // for condition
  94469. if (!t1.moveNext$0()) {
  94470. // goto after for
  94471. $async$goto = 3;
  94472. break;
  94473. }
  94474. t4 = t1.__internal$_current;
  94475. $async$goto = 4;
  94476. return A._asyncAwait((t4 == null ? t2._as(t4) : t4).accept$1(t3), $async$call$0);
  94477. case 4:
  94478. // returning from await.
  94479. // goto for condition
  94480. $async$goto = 2;
  94481. break;
  94482. case 3:
  94483. // after for
  94484. // implicit return
  94485. return A._asyncReturn(null, $async$completer);
  94486. }
  94487. });
  94488. return A._asyncStartSync($async$call$0, $async$completer);
  94489. },
  94490. $signature: 2
  94491. };
  94492. A._EvaluateVisitor_visitCssMediaRule_closure10.prototype = {
  94493. call$1(node) {
  94494. var t1;
  94495. if (!(node instanceof A.ModifiableCssStyleRule0)) {
  94496. t1 = this.mergedSources;
  94497. t1 = t1.get$isNotEmpty(t1) && node instanceof A.ModifiableCssMediaRule0 && B.JSArray_methods.every$1(node.queries, t1.get$contains(t1));
  94498. } else
  94499. t1 = true;
  94500. return t1;
  94501. },
  94502. $signature: 7
  94503. };
  94504. A._EvaluateVisitor_visitCssStyleRule_closure6.prototype = {
  94505. call$0() {
  94506. var $async$goto = 0,
  94507. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  94508. $async$self = this, t1;
  94509. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  94510. if ($async$errorCode === 1)
  94511. return A._asyncRethrow($async$result, $async$completer);
  94512. while (true)
  94513. switch ($async$goto) {
  94514. case 0:
  94515. // Function start
  94516. t1 = $async$self.$this;
  94517. $async$goto = 2;
  94518. 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);
  94519. case 2:
  94520. // returning from await.
  94521. // implicit return
  94522. return A._asyncReturn(null, $async$completer);
  94523. }
  94524. });
  94525. return A._asyncStartSync($async$call$0, $async$completer);
  94526. },
  94527. $signature: 2
  94528. };
  94529. A._EvaluateVisitor_visitCssStyleRule__closure2.prototype = {
  94530. call$0() {
  94531. var $async$goto = 0,
  94532. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  94533. $async$self = this, t1, t2, t3, t4;
  94534. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  94535. if ($async$errorCode === 1)
  94536. return A._asyncRethrow($async$result, $async$completer);
  94537. while (true)
  94538. switch ($async$goto) {
  94539. case 0:
  94540. // Function start
  94541. t1 = $async$self.node.children, t2 = t1.$ti, t1 = new A.ListIterator(t1, t1.get$length(0), t2._eval$1("ListIterator<ListBase.E>")), t3 = $async$self.$this, t2 = t2._eval$1("ListBase.E");
  94542. case 2:
  94543. // for condition
  94544. if (!t1.moveNext$0()) {
  94545. // goto after for
  94546. $async$goto = 3;
  94547. break;
  94548. }
  94549. t4 = t1.__internal$_current;
  94550. $async$goto = 4;
  94551. return A._asyncAwait((t4 == null ? t2._as(t4) : t4).accept$1(t3), $async$call$0);
  94552. case 4:
  94553. // returning from await.
  94554. // goto for condition
  94555. $async$goto = 2;
  94556. break;
  94557. case 3:
  94558. // after for
  94559. // implicit return
  94560. return A._asyncReturn(null, $async$completer);
  94561. }
  94562. });
  94563. return A._asyncStartSync($async$call$0, $async$completer);
  94564. },
  94565. $signature: 2
  94566. };
  94567. A._EvaluateVisitor_visitCssStyleRule_closure5.prototype = {
  94568. call$1(node) {
  94569. return node instanceof A.ModifiableCssStyleRule0;
  94570. },
  94571. $signature: 7
  94572. };
  94573. A._EvaluateVisitor_visitCssSupportsRule_closure5.prototype = {
  94574. call$0() {
  94575. var $async$goto = 0,
  94576. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  94577. $async$self = this, t2, t3, t4, t1, _0_0;
  94578. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  94579. if ($async$errorCode === 1)
  94580. return A._asyncRethrow($async$result, $async$completer);
  94581. while (true)
  94582. switch ($async$goto) {
  94583. case 0:
  94584. // Function start
  94585. t1 = $async$self.$this;
  94586. _0_0 = t1._async_evaluate0$_atRootExcludingStyleRule ? null : t1._async_evaluate0$_styleRuleIgnoringAtRoot;
  94587. $async$goto = _0_0 != null ? 2 : 4;
  94588. break;
  94589. case 2:
  94590. // then
  94591. $async$goto = 5;
  94592. return A._asyncAwait(t1._async_evaluate0$_withParent$2$2(A.ModifiableCssStyleRule$0(_0_0._style_rule0$_selector, _0_0.span, false, _0_0.originalSelector), new A._EvaluateVisitor_visitCssSupportsRule__closure2(t1, $async$self.node), type$.ModifiableCssStyleRule_2, type$.Null), $async$call$0);
  94593. case 5:
  94594. // returning from await.
  94595. // goto join
  94596. $async$goto = 3;
  94597. break;
  94598. case 4:
  94599. // else
  94600. t2 = $async$self.node.children, t3 = t2.$ti, t2 = new A.ListIterator(t2, t2.get$length(0), t3._eval$1("ListIterator<ListBase.E>")), t3 = t3._eval$1("ListBase.E");
  94601. case 6:
  94602. // for condition
  94603. if (!t2.moveNext$0()) {
  94604. // goto after for
  94605. $async$goto = 7;
  94606. break;
  94607. }
  94608. t4 = t2.__internal$_current;
  94609. $async$goto = 8;
  94610. return A._asyncAwait((t4 == null ? t3._as(t4) : t4).accept$1(t1), $async$call$0);
  94611. case 8:
  94612. // returning from await.
  94613. // goto for condition
  94614. $async$goto = 6;
  94615. break;
  94616. case 7:
  94617. // after for
  94618. case 3:
  94619. // join
  94620. // implicit return
  94621. return A._asyncReturn(null, $async$completer);
  94622. }
  94623. });
  94624. return A._asyncStartSync($async$call$0, $async$completer);
  94625. },
  94626. $signature: 2
  94627. };
  94628. A._EvaluateVisitor_visitCssSupportsRule__closure2.prototype = {
  94629. call$0() {
  94630. var $async$goto = 0,
  94631. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  94632. $async$self = this, t1, t2, t3, t4;
  94633. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  94634. if ($async$errorCode === 1)
  94635. return A._asyncRethrow($async$result, $async$completer);
  94636. while (true)
  94637. switch ($async$goto) {
  94638. case 0:
  94639. // Function start
  94640. t1 = $async$self.node.children, t2 = t1.$ti, t1 = new A.ListIterator(t1, t1.get$length(0), t2._eval$1("ListIterator<ListBase.E>")), t3 = $async$self.$this, t2 = t2._eval$1("ListBase.E");
  94641. case 2:
  94642. // for condition
  94643. if (!t1.moveNext$0()) {
  94644. // goto after for
  94645. $async$goto = 3;
  94646. break;
  94647. }
  94648. t4 = t1.__internal$_current;
  94649. $async$goto = 4;
  94650. return A._asyncAwait((t4 == null ? t2._as(t4) : t4).accept$1(t3), $async$call$0);
  94651. case 4:
  94652. // returning from await.
  94653. // goto for condition
  94654. $async$goto = 2;
  94655. break;
  94656. case 3:
  94657. // after for
  94658. // implicit return
  94659. return A._asyncReturn(null, $async$completer);
  94660. }
  94661. });
  94662. return A._asyncStartSync($async$call$0, $async$completer);
  94663. },
  94664. $signature: 2
  94665. };
  94666. A._EvaluateVisitor_visitCssSupportsRule_closure6.prototype = {
  94667. call$1(node) {
  94668. return node instanceof A.ModifiableCssStyleRule0;
  94669. },
  94670. $signature: 7
  94671. };
  94672. A._EvaluateVisitor__performInterpolationHelper_closure2.prototype = {
  94673. call$1(targetLocations) {
  94674. return A.InterpolationMap$0(this.interpolation, targetLocations);
  94675. },
  94676. $signature: 218
  94677. };
  94678. A._EvaluateVisitor__serialize_closure2.prototype = {
  94679. call$0() {
  94680. return A.serializeValue0(this.value, false, this.quote);
  94681. },
  94682. $signature: 26
  94683. };
  94684. A._EvaluateVisitor__expressionNode_closure2.prototype = {
  94685. call$0() {
  94686. var t1 = this.expression;
  94687. return this.$this._async_evaluate0$_environment.getVariableNode$2$namespace(t1.name, t1.namespace);
  94688. },
  94689. $signature: 219
  94690. };
  94691. A._EvaluateVisitor__withoutSlash_recommendation2.prototype = {
  94692. call$1(number) {
  94693. var before, after, t1,
  94694. _1_0 = number.asSlash;
  94695. $label0$0: {
  94696. if (type$.Record_2_nullable_Object_and_nullable_Object._is(_1_0)) {
  94697. before = _1_0._0;
  94698. after = _1_0._1;
  94699. t1 = "math.div(" + A.S(this.call$1(before)) + ", " + A.S(this.call$1(after)) + ")";
  94700. break $label0$0;
  94701. }
  94702. t1 = A.serializeValue0(number, true, true);
  94703. break $label0$0;
  94704. }
  94705. return t1;
  94706. },
  94707. $signature: 220
  94708. };
  94709. A._EvaluateVisitor__stackFrame_closure2.prototype = {
  94710. call$1(url) {
  94711. var t1 = this.$this._async_evaluate0$_importCache;
  94712. t1 = t1 == null ? null : t1.humanize$1(url);
  94713. return t1 == null ? url : t1;
  94714. },
  94715. $signature: 49
  94716. };
  94717. A._ImportedCssVisitor2.prototype = {
  94718. visitCssAtRule$1(node) {
  94719. var t1 = node.isChildless ? null : new A._ImportedCssVisitor_visitCssAtRule_closure2();
  94720. this._async_evaluate0$_visitor._async_evaluate0$_addChild$2$through(node, t1);
  94721. },
  94722. visitCssComment$1(node) {
  94723. return this._async_evaluate0$_visitor._async_evaluate0$_addChild$1(node);
  94724. },
  94725. visitCssDeclaration$1(node) {
  94726. },
  94727. visitCssImport$1(node) {
  94728. var t2,
  94729. _s13_ = "_endOfImports",
  94730. t1 = this._async_evaluate0$_visitor;
  94731. if (t1._async_evaluate0$_assertInModule$2(t1._async_evaluate0$__parent, "__parent") !== t1._async_evaluate0$_assertInModule$2(t1._async_evaluate0$__root, "_root"))
  94732. t1._async_evaluate0$_addChild$1(node);
  94733. 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)) {
  94734. t1._async_evaluate0$_addChild$1(node);
  94735. t1._async_evaluate0$__endOfImports = t1._async_evaluate0$_assertInModule$2(t1._async_evaluate0$__endOfImports, _s13_) + 1;
  94736. } else {
  94737. t2 = t1._async_evaluate0$_outOfOrderImports;
  94738. (t2 == null ? t1._async_evaluate0$_outOfOrderImports = A._setArrayType([], type$.JSArray_ModifiableCssImport_2) : t2).push(node);
  94739. }
  94740. },
  94741. visitCssKeyframeBlock$1(node) {
  94742. },
  94743. visitCssMediaRule$1(node) {
  94744. var t1 = this._async_evaluate0$_visitor,
  94745. mediaQueries = t1._async_evaluate0$_mediaQueries;
  94746. t1._async_evaluate0$_addChild$2$through(node, new A._ImportedCssVisitor_visitCssMediaRule_closure2(mediaQueries == null || t1._async_evaluate0$_mergeMediaQueries$2(mediaQueries, node.queries) != null));
  94747. },
  94748. visitCssStyleRule$1(node) {
  94749. return this._async_evaluate0$_visitor._async_evaluate0$_addChild$2$through(node, new A._ImportedCssVisitor_visitCssStyleRule_closure2());
  94750. },
  94751. visitCssStylesheet$1(node) {
  94752. var t1, t2, t3;
  94753. for (t1 = node.children, t2 = t1.$ti, t1 = new A.ListIterator(t1, t1.get$length(0), t2._eval$1("ListIterator<ListBase.E>")), t2 = t2._eval$1("ListBase.E"); t1.moveNext$0();) {
  94754. t3 = t1.__internal$_current;
  94755. (t3 == null ? t2._as(t3) : t3).accept$1(this);
  94756. }
  94757. },
  94758. visitCssSupportsRule$1(node) {
  94759. return this._async_evaluate0$_visitor._async_evaluate0$_addChild$2$through(node, new A._ImportedCssVisitor_visitCssSupportsRule_closure2());
  94760. }
  94761. };
  94762. A._ImportedCssVisitor_visitCssAtRule_closure2.prototype = {
  94763. call$1(node) {
  94764. return node instanceof A.ModifiableCssStyleRule0;
  94765. },
  94766. $signature: 7
  94767. };
  94768. A._ImportedCssVisitor_visitCssMediaRule_closure2.prototype = {
  94769. call$1(node) {
  94770. var t1;
  94771. if (!(node instanceof A.ModifiableCssStyleRule0))
  94772. t1 = this.hasBeenMerged && node instanceof A.ModifiableCssMediaRule0;
  94773. else
  94774. t1 = true;
  94775. return t1;
  94776. },
  94777. $signature: 7
  94778. };
  94779. A._ImportedCssVisitor_visitCssStyleRule_closure2.prototype = {
  94780. call$1(node) {
  94781. return node instanceof A.ModifiableCssStyleRule0;
  94782. },
  94783. $signature: 7
  94784. };
  94785. A._ImportedCssVisitor_visitCssSupportsRule_closure2.prototype = {
  94786. call$1(node) {
  94787. return node instanceof A.ModifiableCssStyleRule0;
  94788. },
  94789. $signature: 7
  94790. };
  94791. A._EvaluationContext2.prototype = {
  94792. get$currentCallableSpan() {
  94793. var _0_0 = this._async_evaluate0$_visitor._async_evaluate0$_callableNode;
  94794. if (_0_0 != null)
  94795. return _0_0.get$span(_0_0);
  94796. throw A.wrapException(A.StateError$(string$.No_Sasc));
  94797. },
  94798. warn$2(_, message, deprecation) {
  94799. var t1 = this._async_evaluate0$_visitor,
  94800. t2 = t1._async_evaluate0$_importSpan;
  94801. if (t2 == null) {
  94802. t2 = t1._async_evaluate0$_callableNode;
  94803. t2 = t2 == null ? null : t2.get$span(t2);
  94804. }
  94805. t1._async_evaluate0$_warn$3(message, t2 == null ? this._async_evaluate0$_defaultWarnNodeWithSpan.span : t2, deprecation);
  94806. },
  94807. $isEvaluationContext0: 1
  94808. };
  94809. A.JSToDartAsyncFileImporter.prototype = {
  94810. canonicalize$1(_, url) {
  94811. return this.canonicalize$body$JSToDartAsyncFileImporter(0, url);
  94812. },
  94813. canonicalize$body$JSToDartAsyncFileImporter(_, url) {
  94814. var $async$goto = 0,
  94815. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Uri),
  94816. $async$returnValue, $async$self = this, result, t1, resultUrl;
  94817. var $async$canonicalize$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  94818. if ($async$errorCode === 1)
  94819. return A._asyncRethrow($async$result, $async$completer);
  94820. while (true)
  94821. switch ($async$goto) {
  94822. case 0:
  94823. // Function start
  94824. if (url.get$scheme() === "file") {
  94825. $async$returnValue = $.$get$FilesystemImporter_cwd0().canonicalize$1(0, url);
  94826. // goto return
  94827. $async$goto = 1;
  94828. break;
  94829. }
  94830. result = A.wrapJSExceptions(new A.JSToDartAsyncFileImporter_canonicalize_closure($async$self, url));
  94831. $async$goto = result != null && result instanceof self.Promise ? 3 : 4;
  94832. break;
  94833. case 3:
  94834. // then
  94835. $async$goto = 5;
  94836. return A._asyncAwait(A.promiseToFuture0(type$.Promise._as(result), type$.nullable_Object), $async$canonicalize$1);
  94837. case 5:
  94838. // returning from await.
  94839. result = $async$result;
  94840. case 4:
  94841. // join
  94842. if (result == null) {
  94843. $async$returnValue = null;
  94844. // goto return
  94845. $async$goto = 1;
  94846. break;
  94847. }
  94848. t1 = self.URL;
  94849. if (!(result instanceof t1))
  94850. A.jsThrow(new self.Error(string$.The_fie));
  94851. resultUrl = A.Uri_parse(J.toString$0$(type$.JSUrl._as(result)));
  94852. if (resultUrl.get$scheme() !== "file")
  94853. A.jsThrow(new self.Error(string$.The_fiu + url.toString$0(0) + '".'));
  94854. $async$returnValue = $.$get$FilesystemImporter_cwd0().canonicalize$1(0, resultUrl);
  94855. // goto return
  94856. $async$goto = 1;
  94857. break;
  94858. case 1:
  94859. // return
  94860. return A._asyncReturn($async$returnValue, $async$completer);
  94861. }
  94862. });
  94863. return A._asyncStartSync($async$canonicalize$1, $async$completer);
  94864. },
  94865. load$1(_, url) {
  94866. return $.$get$FilesystemImporter_cwd0().load$1(0, url);
  94867. },
  94868. isNonCanonicalScheme$1(scheme) {
  94869. return scheme !== "file";
  94870. }
  94871. };
  94872. A.JSToDartAsyncFileImporter_canonicalize_closure.prototype = {
  94873. call$0() {
  94874. return this.$this._findFileUrl.call$2(this.url.toString$0(0), A.canonicalizeContext0());
  94875. },
  94876. $signature: 36
  94877. };
  94878. A.AsyncImportCache0.prototype = {
  94879. canonicalize$4$baseImporter$baseUrl$forImport(_, url, baseImporter, baseUrl, forImport) {
  94880. return this.canonicalize$body$AsyncImportCache0(0, url, baseImporter, baseUrl, forImport);
  94881. },
  94882. canonicalize$body$AsyncImportCache0(_, url, baseImporter, baseUrl, forImport) {
  94883. var $async$goto = 0,
  94884. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Record_3_AsyncImporter_and_Uri_and_Uri_originalUrl_2),
  94885. $async$returnValue, $async$self = this, t1, resolvedUrl, key, relativeResult, t2, t3, t4, t5, t6, cacheable, i, importer, perImporterKey, t7, _1_0, _1_2_isSet, result, _1_2, _2_0, _2_1, _2_5_isSet, _2_5, _2_3, _2_3_isSet, j;
  94886. var $async$canonicalize$4$baseImporter$baseUrl$forImport = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  94887. if ($async$errorCode === 1)
  94888. return A._asyncRethrow($async$result, $async$completer);
  94889. while (true)
  94890. switch ($async$goto) {
  94891. case 0:
  94892. // Function start
  94893. if (A.isBrowser())
  94894. t1 = (baseImporter == null || baseImporter instanceof A.NoOpImporter0) && $async$self._async_import_cache0$_importers.length === 0;
  94895. else
  94896. t1 = false;
  94897. if (t1)
  94898. throw A.wrapException(string$.Custom);
  94899. $async$goto = baseImporter != null && url.get$scheme() === "" ? 3 : 4;
  94900. break;
  94901. case 3:
  94902. // then
  94903. resolvedUrl = baseUrl == null ? null : baseUrl.resolveUri$1(url);
  94904. if (resolvedUrl == null)
  94905. resolvedUrl = url;
  94906. key = new A._Record_3_forImport(baseImporter, resolvedUrl, forImport);
  94907. $async$goto = 5;
  94908. return A._asyncAwait(A.putIfAbsentAsync0($async$self._async_import_cache0$_perImporterCanonicalizeCache, key, new A.AsyncImportCache_canonicalize_closure0($async$self, baseImporter, resolvedUrl, baseUrl, forImport, key, url), type$.Record_3_AsyncImporter_and_Uri_and_bool_forImport_2, type$.nullable_Record_3_AsyncImporter_and_Uri_and_Uri_originalUrl_2), $async$canonicalize$4$baseImporter$baseUrl$forImport);
  94909. case 5:
  94910. // returning from await.
  94911. relativeResult = $async$result;
  94912. if (relativeResult != null) {
  94913. $async$returnValue = relativeResult;
  94914. // goto return
  94915. $async$goto = 1;
  94916. break;
  94917. }
  94918. case 4:
  94919. // join
  94920. key = new A._Record_2_forImport(url, forImport);
  94921. t1 = $async$self._async_import_cache0$_canonicalizeCache;
  94922. if (t1.containsKey$1(key)) {
  94923. $async$returnValue = t1.$index(0, key);
  94924. // goto return
  94925. $async$goto = 1;
  94926. break;
  94927. }
  94928. t2 = $async$self._async_import_cache0$_importers, t3 = type$.Record_1_nullable_Object, t4 = $async$self._async_import_cache0$_perImporterCanonicalizeCache, t5 = type$.nullable_Record_3_AsyncImporter_and_Uri_and_Uri_originalUrl_2, t6 = type$.Record_3_AsyncImporter_and_Uri_and_Uri_originalUrl_2, cacheable = true, i = 0;
  94929. case 6:
  94930. // for condition
  94931. if (!(i < t2.length)) {
  94932. // goto after for
  94933. $async$goto = 8;
  94934. break;
  94935. }
  94936. importer = t2[i];
  94937. perImporterKey = new A._Record_3_forImport(importer, url, forImport);
  94938. if (t4.containsKey$1(perImporterKey)) {
  94939. t7 = t4.$index(0, perImporterKey);
  94940. _1_0 = new A._Record_1(t7 == null ? t5._as(t7) : t7);
  94941. } else
  94942. _1_0 = null;
  94943. _1_2_isSet = t3._is(_1_0);
  94944. result = null;
  94945. if (_1_2_isSet) {
  94946. _1_2 = _1_0._0;
  94947. t7 = _1_2 != null;
  94948. if (t7) {
  94949. t6._as(_1_2);
  94950. result = _1_2;
  94951. }
  94952. } else {
  94953. _1_2 = null;
  94954. t7 = false;
  94955. }
  94956. if (t7) {
  94957. $async$returnValue = result;
  94958. // goto return
  94959. $async$goto = 1;
  94960. break;
  94961. }
  94962. if (_1_2_isSet)
  94963. t7 = _1_2 == null;
  94964. else
  94965. t7 = false;
  94966. if (t7) {
  94967. // goto for update
  94968. $async$goto = 7;
  94969. break;
  94970. }
  94971. $async$goto = 10;
  94972. return A._asyncAwait($async$self._async_import_cache0$_canonicalize$4(importer, url, baseUrl, forImport), $async$canonicalize$4$baseImporter$baseUrl$forImport);
  94973. case 10:
  94974. // returning from await.
  94975. _2_0 = $async$result;
  94976. _2_1 = _2_0._0;
  94977. _2_5_isSet = _2_1 != null;
  94978. _2_5 = null;
  94979. _2_3 = null;
  94980. t7 = false;
  94981. if (_2_5_isSet) {
  94982. result = _2_1 == null ? t6._as(_2_1) : _2_1;
  94983. _2_3 = _2_0._1;
  94984. t7 = _2_3;
  94985. _2_5 = t7;
  94986. t7 = t7 && cacheable;
  94987. } else
  94988. result = null;
  94989. if (t7) {
  94990. t1.$indexSet(0, key, result);
  94991. $async$returnValue = result;
  94992. // goto return
  94993. $async$goto = 1;
  94994. break;
  94995. }
  94996. if (_2_5_isSet) {
  94997. t7 = _2_5;
  94998. _2_3_isSet = _2_5_isSet;
  94999. } else {
  95000. _2_3 = _2_0._1;
  95001. t7 = _2_3;
  95002. _2_3_isSet = true;
  95003. }
  95004. t7 = t7 && !cacheable;
  95005. if (t7) {
  95006. t4.$indexSet(0, perImporterKey, _2_1);
  95007. if (_2_1 != null) {
  95008. $async$returnValue = _2_1;
  95009. // goto return
  95010. $async$goto = 1;
  95011. break;
  95012. }
  95013. // goto break $label0$1
  95014. $async$goto = 9;
  95015. break;
  95016. }
  95017. t7 = !(_2_3_isSet ? _2_3 : _2_0._1);
  95018. if (t7) {
  95019. if (cacheable) {
  95020. for (j = 0; j < i; ++j)
  95021. t4.$indexSet(0, new A._Record_3_forImport(t2[j], url, forImport), null);
  95022. cacheable = false;
  95023. }
  95024. if (_2_1 != null) {
  95025. $async$returnValue = _2_1;
  95026. // goto return
  95027. $async$goto = 1;
  95028. break;
  95029. }
  95030. }
  95031. case 9:
  95032. // break $label0$1
  95033. case 7:
  95034. // for update
  95035. ++i;
  95036. // goto for condition
  95037. $async$goto = 6;
  95038. break;
  95039. case 8:
  95040. // after for
  95041. if (cacheable)
  95042. t1.$indexSet(0, key, null);
  95043. $async$returnValue = null;
  95044. // goto return
  95045. $async$goto = 1;
  95046. break;
  95047. case 1:
  95048. // return
  95049. return A._asyncReturn($async$returnValue, $async$completer);
  95050. }
  95051. });
  95052. return A._asyncStartSync($async$canonicalize$4$baseImporter$baseUrl$forImport, $async$completer);
  95053. },
  95054. _async_import_cache0$_canonicalize$4(importer, url, baseUrl, forImport) {
  95055. return this._canonicalize$body$AsyncImportCache0(importer, url, baseUrl, forImport);
  95056. },
  95057. _canonicalize$body$AsyncImportCache0(importer, url, baseUrl, forImport) {
  95058. var $async$goto = 0,
  95059. $async$completer = A._makeAsyncAwaitCompleter(type$.Record_2_nullable_Record_3_AsyncImporter_and_Uri_and_Uri_originalUrl_and_bool_2),
  95060. $async$returnValue, t1, passContainingUrl, canonicalizeContext, result, cacheable;
  95061. var $async$_async_import_cache0$_canonicalize$4 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  95062. if ($async$errorCode === 1)
  95063. return A._asyncRethrow($async$result, $async$completer);
  95064. while (true)
  95065. switch ($async$goto) {
  95066. case 0:
  95067. // Function start
  95068. $async$goto = baseUrl != null ? 3 : 5;
  95069. break;
  95070. case 3:
  95071. // then
  95072. $async$goto = url.get$scheme() !== "" ? 6 : 8;
  95073. break;
  95074. case 6:
  95075. // then
  95076. t1 = A._Future$value(importer.isNonCanonicalScheme$1(url.get$scheme()), type$.bool);
  95077. $async$goto = 9;
  95078. return A._asyncAwait(t1, $async$_async_import_cache0$_canonicalize$4);
  95079. case 9:
  95080. // returning from await.
  95081. t1 = $async$result;
  95082. passContainingUrl = t1;
  95083. // goto join
  95084. $async$goto = 7;
  95085. break;
  95086. case 8:
  95087. // else
  95088. passContainingUrl = true;
  95089. case 7:
  95090. // join
  95091. // goto join
  95092. $async$goto = 4;
  95093. break;
  95094. case 5:
  95095. // else
  95096. passContainingUrl = false;
  95097. case 4:
  95098. // join
  95099. canonicalizeContext = new A.CanonicalizeContext0(forImport, passContainingUrl ? baseUrl : null);
  95100. t1 = type$.nullable_Object;
  95101. t1 = A.runZoned(new A.AsyncImportCache__canonicalize_closure0(importer, url), A.LinkedHashMap_LinkedHashMap$_literal([B.Symbol__canonicalizeContext, canonicalizeContext], t1, t1), type$.FutureOr_nullable_Uri);
  95102. $async$goto = 10;
  95103. return A._asyncAwait(type$.Future_nullable_Uri._is(t1) ? t1 : A._Future$value(t1, type$.nullable_Uri), $async$_async_import_cache0$_canonicalize$4);
  95104. case 10:
  95105. // returning from await.
  95106. result = $async$result;
  95107. cacheable = !passContainingUrl || !canonicalizeContext._canonicalize_context$_wasContainingUrlAccessed;
  95108. if (result == null) {
  95109. $async$returnValue = new A._Record_2(null, cacheable);
  95110. // goto return
  95111. $async$goto = 1;
  95112. break;
  95113. }
  95114. $async$goto = result.get$scheme() !== "" ? 11 : 13;
  95115. break;
  95116. case 11:
  95117. // then
  95118. t1 = A._Future$value(importer.isNonCanonicalScheme$1(result.get$scheme()), type$.bool);
  95119. $async$goto = 14;
  95120. return A._asyncAwait(t1, $async$_async_import_cache0$_canonicalize$4);
  95121. case 14:
  95122. // returning from await.
  95123. t1 = $async$result;
  95124. // goto join
  95125. $async$goto = 12;
  95126. break;
  95127. case 13:
  95128. // else
  95129. t1 = false;
  95130. case 12:
  95131. // join
  95132. if (t1)
  95133. throw A.wrapException("Importer " + importer.toString$0(0) + " canonicalized " + url.toString$0(0) + " to " + result.toString$0(0) + string$.x2c_whicu);
  95134. $async$returnValue = new A._Record_2(new A._Record_3_originalUrl(importer, result, url), cacheable);
  95135. // goto return
  95136. $async$goto = 1;
  95137. break;
  95138. case 1:
  95139. // return
  95140. return A._asyncReturn($async$returnValue, $async$completer);
  95141. }
  95142. });
  95143. return A._asyncStartSync($async$_async_import_cache0$_canonicalize$4, $async$completer);
  95144. },
  95145. importCanonical$3$originalUrl(importer, canonicalUrl, originalUrl) {
  95146. return this.importCanonical$body$AsyncImportCache0(importer, canonicalUrl, originalUrl);
  95147. },
  95148. importCanonical$body$AsyncImportCache0(importer, canonicalUrl, originalUrl) {
  95149. var $async$goto = 0,
  95150. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Stylesheet_2),
  95151. $async$returnValue, $async$self = this;
  95152. var $async$importCanonical$3$originalUrl = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  95153. if ($async$errorCode === 1)
  95154. return A._asyncRethrow($async$result, $async$completer);
  95155. while (true)
  95156. switch ($async$goto) {
  95157. case 0:
  95158. // Function start
  95159. $async$goto = 3;
  95160. return A._asyncAwait(A.putIfAbsentAsync0($async$self._async_import_cache0$_importCache, canonicalUrl, new A.AsyncImportCache_importCanonical_closure0($async$self, importer, canonicalUrl, originalUrl), type$.Uri, type$.nullable_Stylesheet_2), $async$importCanonical$3$originalUrl);
  95161. case 3:
  95162. // returning from await.
  95163. $async$returnValue = $async$result;
  95164. // goto return
  95165. $async$goto = 1;
  95166. break;
  95167. case 1:
  95168. // return
  95169. return A._asyncReturn($async$returnValue, $async$completer);
  95170. }
  95171. });
  95172. return A._asyncStartSync($async$importCanonical$3$originalUrl, $async$completer);
  95173. },
  95174. humanize$1(canonicalUrl) {
  95175. var t1 = this._async_import_cache0$_canonicalizeCache,
  95176. t2 = type$.NonNullsIterable_Record_3_AsyncImporter_and_Uri_and_Uri_originalUrl_2;
  95177. t2 = A.NullableExtension_andThen0(A.minBy(new A.MappedIterable(new A.WhereIterable(new A.NonNullsIterable(new A.LinkedHashMapValuesIterable(t1, A._instanceType(t1)._eval$1("LinkedHashMapValuesIterable<2>")), t2), new A.AsyncImportCache_humanize_closure3(canonicalUrl), t2._eval$1("WhereIterable<Iterable.E>")), new A.AsyncImportCache_humanize_closure4(), t2._eval$1("MappedIterable<Iterable.E,Uri>")), new A.AsyncImportCache_humanize_closure5()), new A.AsyncImportCache_humanize_closure6(canonicalUrl));
  95178. return t2 == null ? canonicalUrl : t2;
  95179. },
  95180. sourceMapUrl$1(_, canonicalUrl) {
  95181. var t1 = this._async_import_cache0$_resultsCache.$index(0, canonicalUrl);
  95182. t1 = t1 == null ? null : t1.get$sourceMapUrl(0);
  95183. return t1 == null ? canonicalUrl : t1;
  95184. }
  95185. };
  95186. A.AsyncImportCache_canonicalize_closure0.prototype = {
  95187. call$0() {
  95188. var $async$goto = 0,
  95189. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Record_3_AsyncImporter_and_Uri_and_Uri_originalUrl_2),
  95190. $async$returnValue, $async$self = this, t1, t2, _0_0, result;
  95191. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  95192. if ($async$errorCode === 1)
  95193. return A._asyncRethrow($async$result, $async$completer);
  95194. while (true)
  95195. switch ($async$goto) {
  95196. case 0:
  95197. // Function start
  95198. t1 = $async$self.$this;
  95199. t2 = $async$self.baseUrl;
  95200. $async$goto = 3;
  95201. return A._asyncAwait(t1._async_import_cache0$_canonicalize$4($async$self.baseImporter, $async$self.resolvedUrl, t2, $async$self.forImport), $async$call$0);
  95202. case 3:
  95203. // returning from await.
  95204. _0_0 = $async$result;
  95205. result = _0_0._0;
  95206. _0_0._1;
  95207. if (t2 != null)
  95208. t1._async_import_cache0$_nonCanonicalRelativeUrls.$indexSet(0, $async$self.key, $async$self.url);
  95209. $async$returnValue = result;
  95210. // goto return
  95211. $async$goto = 1;
  95212. break;
  95213. case 1:
  95214. // return
  95215. return A._asyncReturn($async$returnValue, $async$completer);
  95216. }
  95217. });
  95218. return A._asyncStartSync($async$call$0, $async$completer);
  95219. },
  95220. $signature: 362
  95221. };
  95222. A.AsyncImportCache__canonicalize_closure0.prototype = {
  95223. call$0() {
  95224. return this.importer.canonicalize$1(0, this.url);
  95225. },
  95226. $signature: 182
  95227. };
  95228. A.AsyncImportCache_importCanonical_closure0.prototype = {
  95229. call$0() {
  95230. var $async$goto = 0,
  95231. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Stylesheet_2),
  95232. $async$returnValue, $async$self = this, t1, t2, t3, result;
  95233. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  95234. if ($async$errorCode === 1)
  95235. return A._asyncRethrow($async$result, $async$completer);
  95236. while (true)
  95237. switch ($async$goto) {
  95238. case 0:
  95239. // Function start
  95240. t1 = Date.now();
  95241. t2 = $async$self.canonicalUrl;
  95242. t3 = $async$self.importer.load$1(0, t2);
  95243. $async$goto = 3;
  95244. return A._asyncAwait(type$.Future_nullable_ImporterResult._is(t3) ? t3 : A._Future$value(t3, type$.nullable_ImporterResult_2), $async$call$0);
  95245. case 3:
  95246. // returning from await.
  95247. result = $async$result;
  95248. if (result == null) {
  95249. $async$returnValue = null;
  95250. // goto return
  95251. $async$goto = 1;
  95252. break;
  95253. }
  95254. t3 = $async$self.$this;
  95255. t3._async_import_cache0$_loadTimes.$indexSet(0, t2, new A.DateTime(t1, 0, false));
  95256. t3._async_import_cache0$_resultsCache.$indexSet(0, t2, result);
  95257. t3 = result.contents;
  95258. t1 = result.syntax;
  95259. t2 = $async$self.originalUrl.resolveUri$1(t2);
  95260. $async$returnValue = A.Stylesheet_Stylesheet$parse0(t3, t1, t2);
  95261. // goto return
  95262. $async$goto = 1;
  95263. break;
  95264. case 1:
  95265. // return
  95266. return A._asyncReturn($async$returnValue, $async$completer);
  95267. }
  95268. });
  95269. return A._asyncStartSync($async$call$0, $async$completer);
  95270. },
  95271. $signature: 363
  95272. };
  95273. A.AsyncImportCache_humanize_closure3.prototype = {
  95274. call$1(result) {
  95275. return result._1.$eq(0, this.canonicalUrl);
  95276. },
  95277. $signature: 364
  95278. };
  95279. A.AsyncImportCache_humanize_closure4.prototype = {
  95280. call$1(result) {
  95281. return result._2;
  95282. },
  95283. $signature: 365
  95284. };
  95285. A.AsyncImportCache_humanize_closure5.prototype = {
  95286. call$1(url) {
  95287. return url.get$path(url).length;
  95288. },
  95289. $signature: 80
  95290. };
  95291. A.AsyncImportCache_humanize_closure6.prototype = {
  95292. call$1(url) {
  95293. var t1 = $.$get$url(),
  95294. t2 = this.canonicalUrl;
  95295. return url.resolve$1(0, A.ParsedPath_ParsedPath$parse(t2.get$path(t2), t1.style).get$basename());
  95296. },
  95297. $signature: 49
  95298. };
  95299. A.AtRootQueryParser0.prototype = {
  95300. parse$0(_) {
  95301. return this.wrapSpanFormatException$1(new A.AtRootQueryParser_parse_closure0(this));
  95302. }
  95303. };
  95304. A.AtRootQueryParser_parse_closure0.prototype = {
  95305. call$0() {
  95306. var include, atRules,
  95307. t1 = this.$this,
  95308. t2 = t1.scanner;
  95309. t2.expectChar$1(40);
  95310. t1.whitespace$1$consumeNewlines(true);
  95311. include = t1.scanIdentifier$1("with");
  95312. if (!include)
  95313. t1.expectIdentifier$2$name("without", '"with" or "without"');
  95314. t1.whitespace$1$consumeNewlines(true);
  95315. t2.expectChar$1(58);
  95316. t1.whitespace$1$consumeNewlines(true);
  95317. atRules = A.LinkedHashSet_LinkedHashSet$_empty(type$.String);
  95318. do {
  95319. atRules.add$1(0, t1.identifier$0().toLowerCase());
  95320. t1.whitespace$1$consumeNewlines(true);
  95321. } while (t1.lookingAtIdentifier$0());
  95322. t2.expectChar$1(41);
  95323. t2.expectDone$0();
  95324. return new A.AtRootQuery0(include, atRules, atRules.contains$1(0, "all"), atRules.contains$1(0, "rule"));
  95325. },
  95326. $signature: 366
  95327. };
  95328. A.AtRootQuery0.prototype = {
  95329. excludes$1(node) {
  95330. var t1, _this = this;
  95331. if (_this._at_root_query0$_all)
  95332. return !_this.include;
  95333. $label0$0: {
  95334. if (node instanceof A.ModifiableCssStyleRule0) {
  95335. t1 = _this._at_root_query0$_rule !== _this.include;
  95336. break $label0$0;
  95337. }
  95338. if (node instanceof A.ModifiableCssMediaRule0) {
  95339. t1 = _this.excludesName$1("media");
  95340. break $label0$0;
  95341. }
  95342. if (node instanceof A.ModifiableCssSupportsRule0) {
  95343. t1 = _this.excludesName$1("supports");
  95344. break $label0$0;
  95345. }
  95346. if (node instanceof A.ModifiableCssAtRule0) {
  95347. t1 = _this.excludesName$1(node.name.value.toLowerCase());
  95348. break $label0$0;
  95349. }
  95350. t1 = false;
  95351. break $label0$0;
  95352. }
  95353. return t1;
  95354. },
  95355. excludesName$1($name) {
  95356. var t1 = this._at_root_query0$_all || this.names.contains$1(0, $name);
  95357. return t1 !== this.include;
  95358. }
  95359. };
  95360. A.AtRootRule0.prototype = {
  95361. accept$1$1(visitor) {
  95362. return visitor.visitAtRootRule$1(0, this);
  95363. },
  95364. accept$1(visitor) {
  95365. return this.accept$1$1(visitor, type$.dynamic);
  95366. },
  95367. toString$0(_) {
  95368. var buffer = new A.StringBuffer("@at-root "),
  95369. t1 = this.query;
  95370. if (t1 != null)
  95371. buffer._contents = "@at-root " + (t1.toString$0(0) + " ");
  95372. t1 = this.children;
  95373. return buffer.toString$0(0) + " {" + (t1 && B.JSArray_methods).join$1(t1, " ") + "}";
  95374. },
  95375. get$span(receiver) {
  95376. return this.span;
  95377. }
  95378. };
  95379. A.ModifiableCssAtRule0.prototype = {
  95380. accept$1$1(visitor) {
  95381. return visitor.visitCssAtRule$1(this);
  95382. },
  95383. accept$1(visitor) {
  95384. return this.accept$1$1(visitor, type$.dynamic);
  95385. },
  95386. equalsIgnoringChildren$1(other) {
  95387. var t1, t2;
  95388. if (other instanceof A.ModifiableCssAtRule0) {
  95389. t1 = this.name;
  95390. t2 = other.name;
  95391. t1 = t1.$ti._is(t2) && J.$eq$(t2.value, t1.value) && J.$eq$(this.value, other.value) && this.isChildless === other.isChildless;
  95392. } else
  95393. t1 = false;
  95394. return t1;
  95395. },
  95396. copyWithoutChildren$0() {
  95397. var _this = this;
  95398. return A.ModifiableCssAtRule$0(_this.name, _this.span, _this.isChildless, _this.value);
  95399. },
  95400. addChild$1(child) {
  95401. this.super$ModifiableCssParentNode$addChild0(child);
  95402. },
  95403. get$isChildless() {
  95404. return this.isChildless;
  95405. },
  95406. get$span(receiver) {
  95407. return this.span;
  95408. }
  95409. };
  95410. A.AtRule0.prototype = {
  95411. accept$1$1(visitor) {
  95412. return visitor.visitAtRule$1(0, this);
  95413. },
  95414. accept$1(visitor) {
  95415. return this.accept$1$1(visitor, type$.dynamic);
  95416. },
  95417. toString$0(_) {
  95418. var children,
  95419. t1 = "@" + this.name.toString$0(0),
  95420. buffer = new A.StringBuffer(t1),
  95421. t2 = this.value;
  95422. if (t2 != null)
  95423. buffer._contents = t1 + (" " + t2.toString$0(0));
  95424. children = this.children;
  95425. return children == null ? buffer.toString$0(0) + ";" : buffer.toString$0(0) + " {" + B.JSArray_methods.join$1(children, " ") + "}";
  95426. },
  95427. get$span(receiver) {
  95428. return this.span;
  95429. }
  95430. };
  95431. A.AttributeSelector0.prototype = {
  95432. accept$1$1(visitor) {
  95433. return visitor.visitAttributeSelector$1(this);
  95434. },
  95435. accept$1(visitor) {
  95436. return this.accept$1$1(visitor, type$.dynamic);
  95437. },
  95438. $eq(_, other) {
  95439. var _this = this;
  95440. if (other == null)
  95441. return false;
  95442. return other instanceof A.AttributeSelector0 && other.name.$eq(0, _this.name) && other.op == _this.op && other.value == _this.value && other.modifier == _this.modifier;
  95443. },
  95444. get$hashCode(_) {
  95445. var _this = this,
  95446. t1 = _this.name;
  95447. 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;
  95448. }
  95449. };
  95450. A.AttributeOperator0.prototype = {
  95451. _enumToString$0() {
  95452. return "AttributeOperator." + this._name;
  95453. },
  95454. toString$0(_) {
  95455. return this._attribute0$_text;
  95456. }
  95457. };
  95458. A.BinaryOperationExpression0.prototype = {
  95459. get$span(_) {
  95460. var right,
  95461. left = this.left;
  95462. for (; left instanceof A.BinaryOperationExpression0;)
  95463. left = left.left;
  95464. right = this.right;
  95465. for (; right instanceof A.BinaryOperationExpression0;)
  95466. right = right.right;
  95467. return left.get$span(left).expand$1(0, right.get$span(right));
  95468. },
  95469. get$operatorSpan() {
  95470. var t3, t4,
  95471. t1 = this.left,
  95472. t2 = t1.get$span(t1);
  95473. t2 = t2.get$file(t2);
  95474. t3 = this.right;
  95475. t4 = t3.get$span(t3);
  95476. if (t2 === t4.get$file(t4)) {
  95477. t2 = t1.get$span(t1);
  95478. t2 = t2.get$end(t2);
  95479. t4 = t3.get$span(t3);
  95480. t4 = t2.offset < t4.get$start(t4).offset;
  95481. t2 = t4;
  95482. } else
  95483. t2 = false;
  95484. if (t2) {
  95485. t2 = t1.get$span(t1);
  95486. t2 = t2.get$file(t2);
  95487. t1 = t1.get$span(t1);
  95488. t1 = t1.get$end(t1);
  95489. t3 = t3.get$span(t3);
  95490. t3 = A.SpanExtensions_trimRight0(A.SpanExtensions_trimLeft0(t2.span$2(0, t1.offset, t3.get$start(t3).offset)));
  95491. t1 = t3;
  95492. } else
  95493. t1 = this.get$span(0);
  95494. return t1;
  95495. },
  95496. accept$1$1(visitor) {
  95497. return visitor.visitBinaryOperationExpression$1(0, this);
  95498. },
  95499. accept$1(visitor) {
  95500. return this.accept$1$1(visitor, type$.dynamic);
  95501. },
  95502. toString$0(_) {
  95503. var t1, t2, right, t3, operator, _this = this,
  95504. _0_0 = _this.left;
  95505. $label0$0: {
  95506. if (_0_0 instanceof A.BinaryOperationExpression0) {
  95507. t1 = _0_0.operator.precedence < _this.operator.precedence;
  95508. break $label0$0;
  95509. }
  95510. if (_0_0 instanceof A.ListExpression0 && !_0_0.hasBrackets && _0_0.contents.length >= 2) {
  95511. t1 = true;
  95512. break $label0$0;
  95513. }
  95514. t1 = false;
  95515. break $label0$0;
  95516. }
  95517. t2 = t1 ? "" + A.Primitives_stringFromCharCode(40) : "";
  95518. t2 += _0_0.toString$0(0);
  95519. t1 = t1 ? t2 + A.Primitives_stringFromCharCode(41) : t2;
  95520. t2 = _this.operator;
  95521. t1 = t1 + A.Primitives_stringFromCharCode(32) + t2.operator + A.Primitives_stringFromCharCode(32);
  95522. right = _this.right;
  95523. $label1$1: {
  95524. t3 = false;
  95525. if (right instanceof A.BinaryOperationExpression0) {
  95526. operator = right.operator;
  95527. if (operator.precedence <= t2.precedence) {
  95528. t3 = !(operator === t2 && operator.isAssociative);
  95529. t2 = t3;
  95530. } else
  95531. t2 = t3;
  95532. break $label1$1;
  95533. }
  95534. if (right instanceof A.ListExpression0 && !right.hasBrackets && right.contents.length >= 2) {
  95535. t2 = true;
  95536. break $label1$1;
  95537. }
  95538. t2 = t3;
  95539. break $label1$1;
  95540. }
  95541. if (t2)
  95542. t1 += A.Primitives_stringFromCharCode(40);
  95543. t1 += right.toString$0(0);
  95544. if (t2)
  95545. t1 += A.Primitives_stringFromCharCode(41);
  95546. return t1.charCodeAt(0) == 0 ? t1 : t1;
  95547. }
  95548. };
  95549. A.BinaryOperator0.prototype = {
  95550. _enumToString$0() {
  95551. return "BinaryOperator." + this._name;
  95552. },
  95553. toString$0(_) {
  95554. return this.name;
  95555. }
  95556. };
  95557. A.BooleanExpression0.prototype = {
  95558. accept$1$1(visitor) {
  95559. return visitor.visitBooleanExpression$1(0, this);
  95560. },
  95561. accept$1(visitor) {
  95562. return this.accept$1$1(visitor, type$.dynamic);
  95563. },
  95564. toString$0(_) {
  95565. return String(this.value);
  95566. },
  95567. get$span(receiver) {
  95568. return this.span;
  95569. }
  95570. };
  95571. A.booleanClass_closure.prototype = {
  95572. call$0() {
  95573. var t1 = type$.JSClass,
  95574. jsClass = t1._as(A.allowInteropCaptureThisNamed("sass.SassBoolean", new A.booleanClass__closure()));
  95575. A.JSClassExtension_injectSuperclass(t1._as(B.SassBoolean_true0.constructor), jsClass);
  95576. return jsClass;
  95577. },
  95578. $signature: 15
  95579. };
  95580. A.booleanClass__closure.prototype = {
  95581. call$2($self, _) {
  95582. A.jsThrow(new self.Error("new sass.SassBoolean() isn't allowed.\nUse sass.sassTrue or sass.sassFalse instead."));
  95583. },
  95584. call$1($self) {
  95585. return this.call$2($self, null);
  95586. },
  95587. "call*": "call$2",
  95588. $requiredArgCount: 1,
  95589. $defaultValues() {
  95590. return [null];
  95591. },
  95592. $signature: 221
  95593. };
  95594. A.legacyBooleanClass_closure.prototype = {
  95595. call$0() {
  95596. var t1 = type$.JSClass,
  95597. jsClass = t1._as(A.allowInteropCaptureThisNamed("sass.types.Boolean", new A.legacyBooleanClass__closure()));
  95598. J.get$$prototype$x(jsClass).getValue = A.allowInteropCaptureThisNamed("getValue", new A.legacyBooleanClass__closure0());
  95599. jsClass.TRUE = B.SassBoolean_true0;
  95600. jsClass.FALSE = B.SassBoolean_false0;
  95601. A.JSClassExtension_injectSuperclass(t1._as(B.SassBoolean_true0.constructor), jsClass);
  95602. return jsClass;
  95603. },
  95604. $signature: 15
  95605. };
  95606. A.legacyBooleanClass__closure.prototype = {
  95607. call$2(_, __) {
  95608. throw A.wrapException("new sass.types.Boolean() isn't allowed.\nUse sass.types.Boolean.TRUE or sass.types.Boolean.FALSE instead.");
  95609. },
  95610. call$1(_) {
  95611. return this.call$2(_, null);
  95612. },
  95613. "call*": "call$2",
  95614. $requiredArgCount: 1,
  95615. $defaultValues() {
  95616. return [null];
  95617. },
  95618. $signature: 222
  95619. };
  95620. A.legacyBooleanClass__closure0.prototype = {
  95621. call$1($self) {
  95622. return $self === B.SassBoolean_true0;
  95623. },
  95624. $signature: 77
  95625. };
  95626. A.SassBoolean0.prototype = {
  95627. get$isTruthy() {
  95628. return this.value;
  95629. },
  95630. accept$1$1(visitor) {
  95631. return visitor._serialize0$_buffer.write$1(0, String(this.value));
  95632. },
  95633. accept$1(visitor) {
  95634. return this.accept$1$1(visitor, type$.dynamic);
  95635. },
  95636. assertBoolean$1($name) {
  95637. return this;
  95638. },
  95639. unaryNot$0() {
  95640. return this.value ? B.SassBoolean_false0 : B.SassBoolean_true0;
  95641. }
  95642. };
  95643. A.Box0.prototype = {
  95644. $eq(_, other) {
  95645. if (other == null)
  95646. return false;
  95647. return this.$ti._is(other) && other._box0$_inner === this._box0$_inner;
  95648. },
  95649. get$hashCode(_) {
  95650. return A.Primitives_objectHashCode(this._box0$_inner);
  95651. }
  95652. };
  95653. A.ModifiableBox0.prototype = {};
  95654. A.BuiltInCallable0.prototype = {
  95655. callbackFor$2(positional, names) {
  95656. var t1, t2, fuzzyMatch, minMismatchDistance, _i, overload, t3, mismatchDistance, t4;
  95657. 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) {
  95658. overload = t1[_i];
  95659. t3 = overload._0;
  95660. if (t3.matches$2(positional, names))
  95661. return overload;
  95662. mismatchDistance = t3.parameters.length - positional;
  95663. if (minMismatchDistance != null) {
  95664. t3 = Math.abs(mismatchDistance);
  95665. t4 = Math.abs(minMismatchDistance);
  95666. if (t3 > t4)
  95667. continue;
  95668. if (t3 === t4 && mismatchDistance < 0)
  95669. continue;
  95670. }
  95671. minMismatchDistance = mismatchDistance;
  95672. fuzzyMatch = overload;
  95673. }
  95674. if (fuzzyMatch != null)
  95675. return fuzzyMatch;
  95676. throw A.wrapException(A.StateError$("BuiltInCallable " + this.name + " may not have empty overloads."));
  95677. },
  95678. withName$1($name) {
  95679. return new A.BuiltInCallable0($name, this._built_in$_overloads, this.acceptsContent);
  95680. },
  95681. withDeprecationWarning$2(module, newName) {
  95682. var t2, t3, _i, t4, t5, _this = this,
  95683. t1 = A._setArrayType([], type$.JSArray_Record_2_ParameterList_and_Value_Function_List_Value_2);
  95684. for (t2 = _this._built_in$_overloads, t3 = t2.length, _i = 0; _i < t2.length; t2.length === t3 || (0, A.throwConcurrentModificationError)(t2), ++_i) {
  95685. t4 = {};
  95686. t5 = t2[_i];
  95687. t4.$function = null;
  95688. t4.$function = t5._1;
  95689. t1.push(new A._Record_2(t5._0, new A.BuiltInCallable_withDeprecationWarning_closure0(t4, _this, module, newName)));
  95690. }
  95691. return new A.BuiltInCallable0(_this.name, t1, _this.acceptsContent);
  95692. },
  95693. withDeprecationWarning$1(module) {
  95694. return this.withDeprecationWarning$2(module, null);
  95695. },
  95696. $isAsyncCallable0: 1,
  95697. $isAsyncBuiltInCallable0: 1,
  95698. $isCallable: 1,
  95699. get$name(receiver) {
  95700. return this.name;
  95701. },
  95702. get$acceptsContent() {
  95703. return this.acceptsContent;
  95704. }
  95705. };
  95706. A.BuiltInCallable$mixin_closure0.prototype = {
  95707. call$1($arguments) {
  95708. this.callback.call$1($arguments);
  95709. return B.C__SassNull0;
  95710. },
  95711. $signature: 3
  95712. };
  95713. A.BuiltInCallable_withDeprecationWarning_closure0.prototype = {
  95714. call$1(args) {
  95715. var _this = this,
  95716. t1 = _this.newName;
  95717. if (t1 == null)
  95718. t1 = _this.$this.name;
  95719. A.warnForDeprecation0(string$.Global + _this.module + "." + t1 + string$.x20inste, B.Deprecation_ZDV);
  95720. return _this._box_0.$function.call$1(args);
  95721. },
  95722. $signature: 3
  95723. };
  95724. A.BuiltInModule0.prototype = {
  95725. get$upstream() {
  95726. return B.List_empty21;
  95727. },
  95728. get$variableNodes() {
  95729. return B.Map_empty13;
  95730. },
  95731. get$extensionStore() {
  95732. return B.C_EmptyExtensionStore0;
  95733. },
  95734. get$css(_) {
  95735. return new A.CssStylesheet0(B.List_empty19, A.SourceFile$decoded(B.List_empty4, this.url).span$2(0, 0, 0));
  95736. },
  95737. get$preModuleComments() {
  95738. return B.Map_empty12;
  95739. },
  95740. get$transitivelyContainsCss() {
  95741. return false;
  95742. },
  95743. get$transitivelyContainsExtensions() {
  95744. return false;
  95745. },
  95746. setVariable$3($name, value, nodeWithSpan) {
  95747. if (!this.variables.containsKey$1($name))
  95748. throw A.wrapException(A.SassScriptException$0("Undefined variable.", null));
  95749. throw A.wrapException(A.SassScriptException$0("Cannot modify built-in variable.", null));
  95750. },
  95751. variableIdentity$1($name) {
  95752. return this;
  95753. },
  95754. cloneCss$0() {
  95755. return this;
  95756. },
  95757. $isModule1: 1,
  95758. get$url(receiver) {
  95759. return this.url;
  95760. },
  95761. get$functions(receiver) {
  95762. return this.functions;
  95763. },
  95764. get$mixins() {
  95765. return this.mixins;
  95766. },
  95767. get$variables() {
  95768. return this.variables;
  95769. }
  95770. };
  95771. A.calculationClass_closure.prototype = {
  95772. call$0() {
  95773. var t1 = type$.JSClass,
  95774. jsClass = t1._as(A.allowInteropCaptureThisNamed("sass.SassCalculation", new A.calculationClass__closure())),
  95775. t2 = type$.String,
  95776. t3 = type$.Function;
  95777. A.LinkedHashMap_LinkedHashMap$_literal(["calc", new A.calculationClass__closure0(), "min", new A.calculationClass__closure1(), "max", new A.calculationClass__closure2(), "clamp", new A.calculationClass__closure3()], t2, t3).forEach$1(0, A.JSClassExtension_get_defineStaticMethod(jsClass));
  95778. A.LinkedHashMap_LinkedHashMap$_literal(["assertCalculation", new A.calculationClass__closure4()], t2, t3).forEach$1(0, A.JSClassExtension_get_defineMethod(jsClass));
  95779. A.LinkedHashMap_LinkedHashMap$_literal(["arguments", new A.calculationClass__closure5()], t2, t3).forEach$1(0, A.JSClassExtension_get_defineGetter(jsClass));
  95780. A.JSClassExtension_injectSuperclass(t1._as(new A.SassCalculation0("calc", A.List_List$unmodifiable(A._setArrayType([A.SassNumber_SassNumber0(1, null)], type$.JSArray_Object), type$.Object)).constructor), jsClass);
  95781. return jsClass;
  95782. },
  95783. $signature: 15
  95784. };
  95785. A.calculationClass__closure.prototype = {
  95786. call$2($self, _) {
  95787. A.jsThrow0(new self.Error("new sass.SassCalculation() isn't allowed"));
  95788. },
  95789. call$1($self) {
  95790. return this.call$2($self, null);
  95791. },
  95792. "call*": "call$2",
  95793. $requiredArgCount: 1,
  95794. $defaultValues() {
  95795. return [null];
  95796. },
  95797. $signature: 221
  95798. };
  95799. A.calculationClass__closure0.prototype = {
  95800. call$1(argument) {
  95801. A._assertCalculationValue(argument);
  95802. return new A.SassCalculation0("calc", A.List_List$unmodifiable(A._setArrayType([argument], type$.JSArray_Object), type$.Object));
  95803. },
  95804. $signature: 115
  95805. };
  95806. A.calculationClass__closure1.prototype = {
  95807. call$1($arguments) {
  95808. var t1 = self.immutable.isOrderedMap($arguments) ? J.toArray$0$x(type$.ImmutableList_2._as($arguments)) : type$.List_dynamic._as($arguments),
  95809. t2 = type$.Object,
  95810. argList = J.cast$1$0$ax(t1, t2);
  95811. argList.forEach$1(argList, A.calculation1___assertCalculationValue$closure());
  95812. return new A.SassCalculation0("min", A.List_List$unmodifiable(argList, t2));
  95813. },
  95814. $signature: 115
  95815. };
  95816. A.calculationClass__closure2.prototype = {
  95817. call$1($arguments) {
  95818. var t1 = self.immutable.isOrderedMap($arguments) ? J.toArray$0$x(type$.ImmutableList_2._as($arguments)) : type$.List_dynamic._as($arguments),
  95819. t2 = type$.Object,
  95820. argList = J.cast$1$0$ax(t1, t2);
  95821. argList.forEach$1(argList, A.calculation1___assertCalculationValue$closure());
  95822. return new A.SassCalculation0("max", A.List_List$unmodifiable(argList, t2));
  95823. },
  95824. $signature: 115
  95825. };
  95826. A.calculationClass__closure3.prototype = {
  95827. call$3(min, value, max) {
  95828. var t1;
  95829. if (!(value == null && !A._isValidClampArg(min)))
  95830. t1 = max == null && !B.JSArray_methods.any$1([min, value], A.calculation1___isValidClampArg$closure());
  95831. else
  95832. t1 = true;
  95833. if (t1)
  95834. A.jsThrow0(new self.Error("Expected at least one SassString or CalculationInterpolation in `" + new A.NonNullsIterable([min, value, max], type$.NonNullsIterable_Object).toString$0(0) + "`"));
  95835. t1 = type$.NonNullsIterable_Object;
  95836. new A.NonNullsIterable([min, value, max], t1).forEach$1(0, A.calculation1___assertCalculationValue$closure());
  95837. return new A.SassCalculation0("clamp", A.List_List$unmodifiable(new A.NonNullsIterable([min, value, max], t1), type$.Object));
  95838. },
  95839. call$1(min) {
  95840. return this.call$3(min, null, null);
  95841. },
  95842. call$2(min, value) {
  95843. return this.call$3(min, value, null);
  95844. },
  95845. "call*": "call$3",
  95846. $requiredArgCount: 1,
  95847. $defaultValues() {
  95848. return [null, null];
  95849. },
  95850. $signature: 371
  95851. };
  95852. A.calculationClass__closure4.prototype = {
  95853. call$2($self, $name) {
  95854. return $self;
  95855. },
  95856. call$1($self) {
  95857. return this.call$2($self, null);
  95858. },
  95859. "call*": "call$2",
  95860. $requiredArgCount: 1,
  95861. $defaultValues() {
  95862. return [null];
  95863. },
  95864. $signature: 372
  95865. };
  95866. A.calculationClass__closure5.prototype = {
  95867. call$1($self) {
  95868. return new self.immutable.List($self.$arguments);
  95869. },
  95870. $signature: 373
  95871. };
  95872. A.calculationOperationClass_closure.prototype = {
  95873. call$0() {
  95874. var _null = null,
  95875. t1 = type$.JSClass,
  95876. jsClass = t1._as(A.allowInteropCaptureThisNamed("sass.CalculationOperation", new A.calculationOperationClass__closure())),
  95877. t2 = type$.String,
  95878. t3 = type$.Function;
  95879. A.LinkedHashMap_LinkedHashMap$_literal(["equals", new A.calculationOperationClass__closure0(), "hashCode", new A.calculationOperationClass__closure1()], t2, t3).forEach$1(0, A.JSClassExtension_get_defineMethod(jsClass));
  95880. A.LinkedHashMap_LinkedHashMap$_literal(["operator", new A.calculationOperationClass__closure2(), "left", new A.calculationOperationClass__closure3(), "right", new A.calculationOperationClass__closure4()], t2, t3).forEach$1(0, A.JSClassExtension_get_defineGetter(jsClass));
  95881. A.JSClassExtension_injectSuperclass(t1._as(A.SassCalculation_operateInternal0(B.CalculationOperator_F7i0, A.SassNumber_SassNumber0(1, _null), A.SassNumber_SassNumber0(1, _null), _null, false, _null).constructor), jsClass);
  95882. return jsClass;
  95883. },
  95884. $signature: 15
  95885. };
  95886. A.calculationOperationClass__closure.prototype = {
  95887. call$4($self, strOperator, left, right) {
  95888. var operator = A.IterableExtension_firstWhereOrNull(B.List_g9w, new A.calculationOperationClass___closure(strOperator));
  95889. if (operator == null)
  95890. A.jsThrow0(new self.Error("Invalid operator: " + strOperator));
  95891. A._assertCalculationValue(left);
  95892. A._assertCalculationValue(right);
  95893. return A.SassCalculation_operateInternal0(operator, left, right, null, false, null);
  95894. },
  95895. "call*": "call$4",
  95896. $requiredArgCount: 4,
  95897. $signature: 374
  95898. };
  95899. A.calculationOperationClass___closure.prototype = {
  95900. call$1(value) {
  95901. return value.operator === this.strOperator;
  95902. },
  95903. $signature: 375
  95904. };
  95905. A.calculationOperationClass__closure0.prototype = {
  95906. call$2($self, other) {
  95907. return $self.$eq(0, other);
  95908. },
  95909. $signature: 376
  95910. };
  95911. A.calculationOperationClass__closure1.prototype = {
  95912. call$1($self) {
  95913. return $self.get$hashCode(0);
  95914. },
  95915. $signature: 377
  95916. };
  95917. A.calculationOperationClass__closure2.prototype = {
  95918. call$1($self) {
  95919. return $self._calculation0$_operator.operator;
  95920. },
  95921. $signature: 378
  95922. };
  95923. A.calculationOperationClass__closure3.prototype = {
  95924. call$1($self) {
  95925. return $self._calculation0$_left;
  95926. },
  95927. $signature: 223
  95928. };
  95929. A.calculationOperationClass__closure4.prototype = {
  95930. call$1($self) {
  95931. return $self._calculation0$_right;
  95932. },
  95933. $signature: 223
  95934. };
  95935. A.calculationInterpolationClass_closure.prototype = {
  95936. call$0() {
  95937. var t1 = type$.JSClass,
  95938. jsClass = t1._as(A.allowInteropCaptureThisNamed("sass.CalculationInterpolation", new A.calculationInterpolationClass__closure())),
  95939. t2 = type$.String,
  95940. t3 = type$.Function;
  95941. A.LinkedHashMap_LinkedHashMap$_literal(["equals", new A.calculationInterpolationClass__closure0(), "hashCode", new A.calculationInterpolationClass__closure1()], t2, t3).forEach$1(0, A.JSClassExtension_get_defineMethod(jsClass));
  95942. A.LinkedHashMap_LinkedHashMap$_literal(["value", new A.calculationInterpolationClass__closure2()], t2, t3).forEach$1(0, A.JSClassExtension_get_defineGetter(jsClass));
  95943. A.JSClassExtension_injectSuperclass(t1._as(new A.CalculationInterpolation("").constructor), jsClass);
  95944. return jsClass;
  95945. },
  95946. $signature: 15
  95947. };
  95948. A.calculationInterpolationClass__closure.prototype = {
  95949. call$2($self, value) {
  95950. return new A.CalculationInterpolation(value);
  95951. },
  95952. $signature: 380
  95953. };
  95954. A.calculationInterpolationClass__closure0.prototype = {
  95955. call$2($self, other) {
  95956. return other instanceof A.CalculationInterpolation && $self._calculation0$_value === other._calculation0$_value;
  95957. },
  95958. $signature: 381
  95959. };
  95960. A.calculationInterpolationClass__closure1.prototype = {
  95961. call$1($self) {
  95962. return B.JSString_methods.get$hashCode($self._calculation0$_value);
  95963. },
  95964. $signature: 382
  95965. };
  95966. A.calculationInterpolationClass__closure2.prototype = {
  95967. call$1($self) {
  95968. return $self._calculation0$_value;
  95969. },
  95970. $signature: 383
  95971. };
  95972. A.SassCalculation0.prototype = {
  95973. get$isSpecialNumber() {
  95974. return true;
  95975. },
  95976. accept$1$1(visitor) {
  95977. return visitor.visitCalculation$1(this);
  95978. },
  95979. accept$1(visitor) {
  95980. return this.accept$1$1(visitor, type$.dynamic);
  95981. },
  95982. assertCalculation$1($name) {
  95983. return this;
  95984. },
  95985. plus$1(other) {
  95986. if (other instanceof A.SassString0)
  95987. return this.super$Value$plus0(other);
  95988. throw A.wrapException(A.SassScriptException$0('Undefined operation "' + this.toString$0(0) + " + " + other.toString$0(0) + '".', null));
  95989. },
  95990. minus$1(other) {
  95991. return A.throwExpression(A.SassScriptException$0('Undefined operation "' + this.toString$0(0) + " - " + other.toString$0(0) + '".', null));
  95992. },
  95993. unaryPlus$0() {
  95994. return A.throwExpression(A.SassScriptException$0('Undefined operation "+' + this.toString$0(0) + '".', null));
  95995. },
  95996. unaryMinus$0() {
  95997. return A.throwExpression(A.SassScriptException$0('Undefined operation "-' + this.toString$0(0) + '".', null));
  95998. },
  95999. $eq(_, other) {
  96000. if (other == null)
  96001. return false;
  96002. return other instanceof A.SassCalculation0 && this.name === other.name && B.C_ListEquality.equals$2(0, this.$arguments, other.$arguments);
  96003. },
  96004. get$hashCode(_) {
  96005. return B.JSString_methods.get$hashCode(this.name) ^ B.C_ListEquality0.hash$1(this.$arguments);
  96006. }
  96007. };
  96008. A.SassCalculation__verifyLength_closure0.prototype = {
  96009. call$1(arg) {
  96010. return arg instanceof A.SassString0;
  96011. },
  96012. $signature: 77
  96013. };
  96014. A.CalculationOperation0.prototype = {
  96015. $eq(_, other) {
  96016. if (other == null)
  96017. return false;
  96018. return other instanceof A.CalculationOperation0 && this._calculation0$_operator === other._calculation0$_operator && J.$eq$(this._calculation0$_left, other._calculation0$_left) && J.$eq$(this._calculation0$_right, other._calculation0$_right);
  96019. },
  96020. get$hashCode(_) {
  96021. return (A.Primitives_objectHashCode(this._calculation0$_operator) ^ J.get$hashCode$(this._calculation0$_left) ^ J.get$hashCode$(this._calculation0$_right)) >>> 0;
  96022. },
  96023. toString$0(_) {
  96024. var parenthesized = A.serializeValue0(new A.SassCalculation0("", A._setArrayType([this], type$.JSArray_Object)), true, true);
  96025. return B.JSString_methods.substring$2(parenthesized, 1, parenthesized.length - 1);
  96026. }
  96027. };
  96028. A.CalculationOperator0.prototype = {
  96029. _enumToString$0() {
  96030. return "CalculationOperator." + this._name;
  96031. },
  96032. toString$0(_) {
  96033. return this.name;
  96034. }
  96035. };
  96036. A.CalculationInterpolation.prototype = {
  96037. $eq(_, other) {
  96038. if (other == null)
  96039. return false;
  96040. return other instanceof A.CalculationInterpolation && this._calculation0$_value === other._calculation0$_value;
  96041. },
  96042. get$hashCode(_) {
  96043. return B.JSString_methods.get$hashCode(this._calculation0$_value);
  96044. },
  96045. toString$0(_) {
  96046. return this._calculation0$_value;
  96047. }
  96048. };
  96049. A.CallableDeclaration0.prototype = {
  96050. get$span(receiver) {
  96051. return this.span;
  96052. }
  96053. };
  96054. A.updateCanonicalizeContextPrototype_closure.prototype = {
  96055. call$1($self) {
  96056. return $self._canonicalize_context$_fromImport;
  96057. },
  96058. $signature: 384
  96059. };
  96060. A.updateCanonicalizeContextPrototype_closure0.prototype = {
  96061. call$1($self) {
  96062. $self._canonicalize_context$_wasContainingUrlAccessed = true;
  96063. return A.NullableExtension_andThen0($self._canonicalize_context$_containingUrl, A.utils3__dartToJSUrl$closure());
  96064. },
  96065. $signature: 385
  96066. };
  96067. A.CanonicalizeContext0.prototype = {
  96068. withFromImport$1$2(fromImport, callback) {
  96069. var t1,
  96070. oldFromImport = this._canonicalize_context$_fromImport;
  96071. this._canonicalize_context$_fromImport = true;
  96072. try {
  96073. t1 = callback.call$0();
  96074. return t1;
  96075. } finally {
  96076. this._canonicalize_context$_fromImport = oldFromImport;
  96077. }
  96078. },
  96079. withFromImport$2(fromImport, callback) {
  96080. callback.toString;
  96081. return this.withFromImport$1$2(fromImport, callback, type$.dynamic);
  96082. }
  96083. };
  96084. A.ColorChannel0.prototype = {
  96085. isAnalogous$1(other) {
  96086. var _0_6_isSet, t1, _0_60, t2, _0_6_isSet0,
  96087. _0_1 = this.name,
  96088. _0_6 = other.name;
  96089. $label0$0: {
  96090. if ("red" !== _0_1)
  96091. _0_6_isSet = "x" === _0_1;
  96092. else
  96093. _0_6_isSet = true;
  96094. if (_0_6_isSet) {
  96095. if ("red" !== _0_6)
  96096. t1 = "x" === _0_6;
  96097. else
  96098. t1 = true;
  96099. _0_60 = _0_6;
  96100. } else {
  96101. _0_60 = null;
  96102. t1 = false;
  96103. }
  96104. t2 = true;
  96105. if (!t1) {
  96106. if ("green" !== _0_1)
  96107. t1 = "y" === _0_1;
  96108. else
  96109. t1 = true;
  96110. if (t1) {
  96111. _0_6_isSet0 = true;
  96112. if (_0_6_isSet)
  96113. t1 = _0_60;
  96114. else {
  96115. t1 = _0_6;
  96116. _0_6_isSet = _0_6_isSet0;
  96117. _0_60 = t1;
  96118. }
  96119. if ("green" !== t1) {
  96120. if (_0_6_isSet)
  96121. t1 = _0_60;
  96122. else {
  96123. t1 = _0_6;
  96124. _0_6_isSet = _0_6_isSet0;
  96125. _0_60 = t1;
  96126. }
  96127. t1 = "y" === t1;
  96128. } else
  96129. t1 = true;
  96130. } else
  96131. t1 = false;
  96132. if (!t1) {
  96133. if ("blue" !== _0_1)
  96134. t1 = "z" === _0_1;
  96135. else
  96136. t1 = true;
  96137. if (t1) {
  96138. _0_6_isSet0 = true;
  96139. if (_0_6_isSet)
  96140. t1 = _0_60;
  96141. else {
  96142. t1 = _0_6;
  96143. _0_6_isSet = _0_6_isSet0;
  96144. _0_60 = t1;
  96145. }
  96146. if ("blue" !== t1) {
  96147. if (_0_6_isSet)
  96148. t1 = _0_60;
  96149. else {
  96150. t1 = _0_6;
  96151. _0_6_isSet = _0_6_isSet0;
  96152. _0_60 = t1;
  96153. }
  96154. t1 = "z" === t1;
  96155. } else
  96156. t1 = true;
  96157. } else
  96158. t1 = false;
  96159. if (!t1) {
  96160. if ("chroma" !== _0_1)
  96161. t1 = "saturation" === _0_1;
  96162. else
  96163. t1 = true;
  96164. if (t1) {
  96165. _0_6_isSet0 = true;
  96166. if (_0_6_isSet)
  96167. t1 = _0_60;
  96168. else {
  96169. t1 = _0_6;
  96170. _0_6_isSet = _0_6_isSet0;
  96171. _0_60 = t1;
  96172. }
  96173. if ("chroma" !== t1) {
  96174. if (_0_6_isSet)
  96175. t1 = _0_60;
  96176. else {
  96177. t1 = _0_6;
  96178. _0_6_isSet = _0_6_isSet0;
  96179. _0_60 = t1;
  96180. }
  96181. t1 = "saturation" === t1;
  96182. } else
  96183. t1 = true;
  96184. } else
  96185. t1 = false;
  96186. if (!t1) {
  96187. if ("lightness" === _0_1) {
  96188. if (_0_6_isSet)
  96189. t1 = _0_60;
  96190. else {
  96191. t1 = _0_6;
  96192. _0_60 = t1;
  96193. _0_6_isSet = true;
  96194. }
  96195. t1 = "lightness" === t1;
  96196. } else
  96197. t1 = false;
  96198. if (!t1)
  96199. if ("hue" === _0_1)
  96200. t1 = "hue" === (_0_6_isSet ? _0_60 : _0_6);
  96201. else
  96202. t1 = false;
  96203. else
  96204. t1 = t2;
  96205. } else
  96206. t1 = t2;
  96207. } else
  96208. t1 = t2;
  96209. } else
  96210. t1 = t2;
  96211. } else
  96212. t1 = t2;
  96213. break $label0$0;
  96214. }
  96215. return t1;
  96216. }
  96217. };
  96218. A.LinearChannel0.prototype = {};
  96219. A.Chokidar0.prototype = {};
  96220. A.ChokidarOptions0.prototype = {};
  96221. A.ChokidarWatcher0.prototype = {};
  96222. A.ClassSelector0.prototype = {
  96223. $eq(_, other) {
  96224. if (other == null)
  96225. return false;
  96226. return other instanceof A.ClassSelector0 && other.name === this.name;
  96227. },
  96228. accept$1$1(visitor) {
  96229. return visitor.visitClassSelector$1(this);
  96230. },
  96231. accept$1(visitor) {
  96232. return this.accept$1$1(visitor, type$.dynamic);
  96233. },
  96234. addSuffix$1(suffix) {
  96235. return new A.ClassSelector0(this.name + suffix, this.span);
  96236. },
  96237. get$hashCode(_) {
  96238. return B.JSString_methods.get$hashCode(this.name);
  96239. }
  96240. };
  96241. A.ClipGamutMap0.prototype = {
  96242. map$1(_, color) {
  96243. var t1 = color._color0$_space,
  96244. t2 = t1._space$_channels;
  96245. return A.SassColor_SassColor$forSpaceInternal0(t1, this._clip$_clampChannel$2(color.channel0OrNull, t2[0]), this._clip$_clampChannel$2(color.channel1OrNull, t2[1]), this._clip$_clampChannel$2(color.channel2OrNull, t2[2]), color.alphaOrNull);
  96246. },
  96247. _clip$_clampChannel$2(value, channel) {
  96248. var t1, min;
  96249. if (value == null)
  96250. t1 = null;
  96251. else
  96252. $label0$0: {
  96253. if (channel instanceof A.LinearChannel0) {
  96254. min = channel.min;
  96255. t1 = isNaN(value) ? min : B.JSNumber_methods.clamp$2(value, min, channel.max);
  96256. break $label0$0;
  96257. }
  96258. t1 = value;
  96259. break $label0$0;
  96260. }
  96261. return t1;
  96262. }
  96263. };
  96264. A._CloneCssVisitor0.prototype = {
  96265. visitCssAtRule$1(node) {
  96266. var t1 = node.isChildless,
  96267. rule = A.ModifiableCssAtRule$0(node.name, node.span, t1, node.value);
  96268. return t1 ? rule : this._clone_css$_visitChildren$2(rule, node);
  96269. },
  96270. visitCssComment$1(node) {
  96271. return new A.ModifiableCssComment0(node.text, node.span);
  96272. },
  96273. visitCssDeclaration$1(node) {
  96274. return A.ModifiableCssDeclaration$0(node.name, node.value, node.span, null, node.parsedAsCustomProperty, null, node.valueSpanForMap);
  96275. },
  96276. visitCssImport$1(node) {
  96277. return new A.ModifiableCssImport0(node.url, node.modifiers, node.span);
  96278. },
  96279. visitCssKeyframeBlock$1(node) {
  96280. return this._clone_css$_visitChildren$2(A.ModifiableCssKeyframeBlock$0(node.selector, node.span), node);
  96281. },
  96282. visitCssMediaRule$1(node) {
  96283. return this._clone_css$_visitChildren$2(A.ModifiableCssMediaRule$0(node.queries, node.span), node);
  96284. },
  96285. visitCssStyleRule$1(node) {
  96286. var _0_0 = this._clone_css$_oldToNewSelectors.$index(0, node._style_rule0$_selector._box0$_inner.value);
  96287. if (_0_0 != null)
  96288. return this._clone_css$_visitChildren$2(A.ModifiableCssStyleRule$0(_0_0, node.span, false, node.originalSelector), node);
  96289. else
  96290. throw A.wrapException(A.StateError$(string$.The_Ex));
  96291. },
  96292. visitCssStylesheet$1(node) {
  96293. return this._clone_css$_visitChildren$2(A.ModifiableCssStylesheet$0(node.get$span(node)), node);
  96294. },
  96295. visitCssSupportsRule$1(node) {
  96296. return this._clone_css$_visitChildren$2(A.ModifiableCssSupportsRule$0(node.condition, node.span), node);
  96297. },
  96298. _clone_css$_visitChildren$1$2(newParent, oldParent) {
  96299. var t1, t2, newChild;
  96300. for (t1 = J.get$iterator$ax(oldParent.get$children(oldParent)); t1.moveNext$0();) {
  96301. t2 = t1.get$current(t1);
  96302. newChild = t2.accept$1(this);
  96303. newChild.isGroupEnd = t2.get$isGroupEnd();
  96304. newParent.addChild$1(newChild);
  96305. }
  96306. return newParent;
  96307. },
  96308. _clone_css$_visitChildren$2(newParent, oldParent) {
  96309. newParent.toString;
  96310. return this._clone_css$_visitChildren$1$2(newParent, oldParent, type$.ModifiableCssParentNode_2);
  96311. }
  96312. };
  96313. A.ColorExpression0.prototype = {
  96314. accept$1$1(visitor) {
  96315. return visitor.visitColorExpression$1(0, this);
  96316. },
  96317. accept$1(visitor) {
  96318. return this.accept$1$1(visitor, type$.dynamic);
  96319. },
  96320. toString$0(_) {
  96321. return A.serializeValue0(this.value, true, true);
  96322. },
  96323. get$span(receiver) {
  96324. return this.span;
  96325. }
  96326. };
  96327. A.global_closure44.prototype = {
  96328. call$1(color) {
  96329. return B.JSNumber_methods.round$0(color._color0$_legacyChannel$2(B.RgbColorSpace_i0P0, "red"));
  96330. },
  96331. $signature: 39
  96332. };
  96333. A.global_closure45.prototype = {
  96334. call$1(color) {
  96335. return B.JSNumber_methods.round$0(color._color0$_legacyChannel$2(B.RgbColorSpace_i0P0, "green"));
  96336. },
  96337. $signature: 39
  96338. };
  96339. A.global_closure46.prototype = {
  96340. call$1(color) {
  96341. return B.JSNumber_methods.round$0(color._color0$_legacyChannel$2(B.RgbColorSpace_i0P0, "blue"));
  96342. },
  96343. $signature: 39
  96344. };
  96345. A.global_closure47.prototype = {
  96346. call$1($arguments) {
  96347. return A._rgb0("rgb", $arguments);
  96348. },
  96349. $signature: 3
  96350. };
  96351. A.global_closure48.prototype = {
  96352. call$1($arguments) {
  96353. return A._rgb0("rgb", $arguments);
  96354. },
  96355. $signature: 3
  96356. };
  96357. A.global_closure49.prototype = {
  96358. call$1($arguments) {
  96359. return A._rgbTwoArg0("rgb", $arguments);
  96360. },
  96361. $signature: 3
  96362. };
  96363. A.global_closure50.prototype = {
  96364. call$1($arguments) {
  96365. return A._parseChannels0("rgb", J.$index$asx($arguments, 0), "channels", B.RgbColorSpace_i0P0);
  96366. },
  96367. $signature: 3
  96368. };
  96369. A.global_closure51.prototype = {
  96370. call$1($arguments) {
  96371. return A._rgb0("rgba", $arguments);
  96372. },
  96373. $signature: 3
  96374. };
  96375. A.global_closure52.prototype = {
  96376. call$1($arguments) {
  96377. return A._rgb0("rgba", $arguments);
  96378. },
  96379. $signature: 3
  96380. };
  96381. A.global_closure53.prototype = {
  96382. call$1($arguments) {
  96383. return A._rgbTwoArg0("rgba", $arguments);
  96384. },
  96385. $signature: 3
  96386. };
  96387. A.global_closure54.prototype = {
  96388. call$1($arguments) {
  96389. return A._parseChannels0("rgba", J.$index$asx($arguments, 0), "channels", B.RgbColorSpace_i0P0);
  96390. },
  96391. $signature: 3
  96392. };
  96393. A.global_closure55.prototype = {
  96394. call$1($arguments) {
  96395. var t1 = J.getInterceptor$asx($arguments);
  96396. if (!(t1.$index($arguments, 0) instanceof A.SassNumber0) && !t1.$index($arguments, 0).get$isSpecialNumber())
  96397. A.warnForDeprecation0(string$.Globalci, B.Deprecation_ZDV);
  96398. return A._invert0($arguments, true);
  96399. },
  96400. $signature: 3
  96401. };
  96402. A.global_closure56.prototype = {
  96403. call$1(color) {
  96404. return color._color0$_legacyChannel$2(B.HslColorSpace_JQ20, "hue");
  96405. },
  96406. $signature: 31
  96407. };
  96408. A.global_closure57.prototype = {
  96409. call$1(color) {
  96410. return color._color0$_legacyChannel$2(B.HslColorSpace_JQ20, "saturation");
  96411. },
  96412. $signature: 31
  96413. };
  96414. A.global_closure58.prototype = {
  96415. call$1(color) {
  96416. return color._color0$_legacyChannel$2(B.HslColorSpace_JQ20, "lightness");
  96417. },
  96418. $signature: 31
  96419. };
  96420. A.global_closure59.prototype = {
  96421. call$1($arguments) {
  96422. return A._hsl0("hsl", $arguments);
  96423. },
  96424. $signature: 3
  96425. };
  96426. A.global_closure60.prototype = {
  96427. call$1($arguments) {
  96428. return A._hsl0("hsl", $arguments);
  96429. },
  96430. $signature: 3
  96431. };
  96432. A.global_closure61.prototype = {
  96433. call$1($arguments) {
  96434. var t1 = J.getInterceptor$asx($arguments);
  96435. if (t1.$index($arguments, 0).get$isVar() || t1.$index($arguments, 1).get$isVar())
  96436. return A._functionString0("hsl", $arguments);
  96437. else
  96438. throw A.wrapException(A.SassScriptException$0("Missing argument $lightness.", null));
  96439. },
  96440. $signature: 18
  96441. };
  96442. A.global_closure62.prototype = {
  96443. call$1($arguments) {
  96444. return A._parseChannels0("hsl", J.$index$asx($arguments, 0), "channels", B.HslColorSpace_JQ20);
  96445. },
  96446. $signature: 3
  96447. };
  96448. A.global_closure63.prototype = {
  96449. call$1($arguments) {
  96450. return A._hsl0("hsla", $arguments);
  96451. },
  96452. $signature: 3
  96453. };
  96454. A.global_closure64.prototype = {
  96455. call$1($arguments) {
  96456. return A._hsl0("hsla", $arguments);
  96457. },
  96458. $signature: 3
  96459. };
  96460. A.global_closure65.prototype = {
  96461. call$1($arguments) {
  96462. var t1 = J.getInterceptor$asx($arguments);
  96463. if (t1.$index($arguments, 0).get$isVar() || t1.$index($arguments, 1).get$isVar())
  96464. return A._functionString0("hsla", $arguments);
  96465. else
  96466. throw A.wrapException(A.SassScriptException$0("Missing argument $lightness.", null));
  96467. },
  96468. $signature: 18
  96469. };
  96470. A.global_closure66.prototype = {
  96471. call$1($arguments) {
  96472. return A._parseChannels0("hsla", J.$index$asx($arguments, 0), "channels", B.HslColorSpace_JQ20);
  96473. },
  96474. $signature: 3
  96475. };
  96476. A.global_closure67.prototype = {
  96477. call$1($arguments) {
  96478. var t1 = J.getInterceptor$asx($arguments);
  96479. if (t1.$index($arguments, 0) instanceof A.SassNumber0 || t1.$index($arguments, 0).get$isSpecialNumber())
  96480. return A._functionString0("grayscale", $arguments);
  96481. else {
  96482. A.warnForDeprecation0(string$.Globalcg, B.Deprecation_ZDV);
  96483. return A._grayscale0(t1.$index($arguments, 0));
  96484. }
  96485. },
  96486. $signature: 3
  96487. };
  96488. A.global_closure68.prototype = {
  96489. call$1($arguments) {
  96490. var t1 = J.getInterceptor$asx($arguments),
  96491. color = t1.$index($arguments, 0).assertColor$1("color"),
  96492. degrees = A._angleValue0(t1.$index($arguments, 1), "degrees");
  96493. if (!color._color0$_space.get$isLegacyInternal())
  96494. throw A.wrapException(A.SassScriptException$0(string$.adjusto, null));
  96495. A.warnForDeprecation0(string$.adjustd + A.SassNumber_SassNumber0(degrees, "deg").toString$0(0) + string$.x29x0a_Mor_, B.Deprecation_fdF);
  96496. return color.changeHsl$1$hue(color._color0$_legacyChannel$2(B.HslColorSpace_JQ20, "hue") + degrees);
  96497. },
  96498. $signature: 23
  96499. };
  96500. A.global_closure69.prototype = {
  96501. call$1($arguments) {
  96502. var result,
  96503. _s9_ = "lightness",
  96504. t1 = J.getInterceptor$asx($arguments),
  96505. color = t1.$index($arguments, 0).assertColor$1("color"),
  96506. amount = t1.$index($arguments, 1).assertNumber$1("amount");
  96507. if (!color._color0$_space.get$isLegacyInternal())
  96508. throw A.wrapException(A.SassScriptException$0(string$.lighte, null));
  96509. t1 = color._color0$_legacyChannel$2(B.HslColorSpace_JQ20, _s9_) + amount.valueInRange$3(0, 100, "amount");
  96510. result = color.changeHsl$1$lightness(isNaN(t1) ? 0 : B.JSNumber_methods.clamp$2(t1, 0, 100));
  96511. A.warnForDeprecation0("lighten() is deprecated. " + A._suggestScaleAndAdjust0(color, amount._number1$_value, _s9_) + string$.x0a_Morex3ac, B.Deprecation_fdF);
  96512. return result;
  96513. },
  96514. $signature: 23
  96515. };
  96516. A.global_closure70.prototype = {
  96517. call$1($arguments) {
  96518. var result,
  96519. _s9_ = "lightness",
  96520. t1 = J.getInterceptor$asx($arguments),
  96521. color = t1.$index($arguments, 0).assertColor$1("color"),
  96522. amount = t1.$index($arguments, 1).assertNumber$1("amount");
  96523. if (!color._color0$_space.get$isLegacyInternal())
  96524. throw A.wrapException(A.SassScriptException$0(string$.darken, null));
  96525. t1 = color._color0$_legacyChannel$2(B.HslColorSpace_JQ20, _s9_) - amount.valueInRange$3(0, 100, "amount");
  96526. result = color.changeHsl$1$lightness(isNaN(t1) ? 0 : B.JSNumber_methods.clamp$2(t1, 0, 100));
  96527. A.warnForDeprecation0("darken() is deprecated. " + A._suggestScaleAndAdjust0(color, -amount._number1$_value, _s9_) + string$.x0a_Morex3ac, B.Deprecation_fdF);
  96528. return result;
  96529. },
  96530. $signature: 23
  96531. };
  96532. A.global_closure71.prototype = {
  96533. call$1($arguments) {
  96534. var t1 = J.getInterceptor$asx($arguments);
  96535. if (t1.$index($arguments, 0) instanceof A.SassNumber0 || t1.$index($arguments, 0).get$isSpecialNumber())
  96536. return A._functionString0("saturate", $arguments);
  96537. return new A.SassString0("saturate(" + A.serializeValue0(t1.$index($arguments, 0).assertNumber$1("amount"), false, true) + ")", false);
  96538. },
  96539. $signature: 18
  96540. };
  96541. A.global_closure72.prototype = {
  96542. call$1($arguments) {
  96543. var t1, color, amount, result,
  96544. _s10_ = "saturation";
  96545. A.warnForDeprecation0(string$.Globalcad, B.Deprecation_ZDV);
  96546. t1 = J.getInterceptor$asx($arguments);
  96547. color = t1.$index($arguments, 0).assertColor$1("color");
  96548. amount = t1.$index($arguments, 1).assertNumber$1("amount");
  96549. if (!color._color0$_space.get$isLegacyInternal())
  96550. throw A.wrapException(A.SassScriptException$0(string$.satura, null));
  96551. t1 = color._color0$_legacyChannel$2(B.HslColorSpace_JQ20, _s10_) + amount.valueInRange$3(0, 100, "amount");
  96552. result = color.changeHsl$1$saturation(isNaN(t1) ? 0 : B.JSNumber_methods.clamp$2(t1, 0, 100));
  96553. A.warnForDeprecation0("saturate() is deprecated. " + A._suggestScaleAndAdjust0(color, amount._number1$_value, _s10_) + string$.x0a_Morex3ac, B.Deprecation_fdF);
  96554. return result;
  96555. },
  96556. $signature: 23
  96557. };
  96558. A.global_closure73.prototype = {
  96559. call$1($arguments) {
  96560. var result,
  96561. _s10_ = "saturation",
  96562. t1 = J.getInterceptor$asx($arguments),
  96563. color = t1.$index($arguments, 0).assertColor$1("color"),
  96564. amount = t1.$index($arguments, 1).assertNumber$1("amount");
  96565. if (!color._color0$_space.get$isLegacyInternal())
  96566. throw A.wrapException(A.SassScriptException$0(string$.desatu, null));
  96567. t1 = color._color0$_legacyChannel$2(B.HslColorSpace_JQ20, _s10_) - amount.valueInRange$3(0, 100, "amount");
  96568. result = color.changeHsl$1$saturation(isNaN(t1) ? 0 : B.JSNumber_methods.clamp$2(t1, 0, 100));
  96569. A.warnForDeprecation0("desaturate() is deprecated. " + A._suggestScaleAndAdjust0(color, -amount._number1$_value, _s10_) + string$.x0a_Morex3ac, B.Deprecation_fdF);
  96570. return result;
  96571. },
  96572. $signature: 23
  96573. };
  96574. A.global_closure74.prototype = {
  96575. call$1($arguments) {
  96576. return A._opacify0("opacify", $arguments);
  96577. },
  96578. $signature: 23
  96579. };
  96580. A.global_closure75.prototype = {
  96581. call$1($arguments) {
  96582. return A._opacify0("fade-in", $arguments);
  96583. },
  96584. $signature: 23
  96585. };
  96586. A.global_closure76.prototype = {
  96587. call$1($arguments) {
  96588. return A._transparentize0("transparentize", $arguments);
  96589. },
  96590. $signature: 23
  96591. };
  96592. A.global_closure77.prototype = {
  96593. call$1($arguments) {
  96594. return A._transparentize0("fade-out", $arguments);
  96595. },
  96596. $signature: 23
  96597. };
  96598. A.global_closure78.prototype = {
  96599. call$1($arguments) {
  96600. var _0_0 = J.$index$asx($arguments, 0),
  96601. t1 = false;
  96602. if (_0_0 instanceof A.SassString0)
  96603. if (!_0_0._string0$_hasQuotes)
  96604. t1 = B.JSString_methods.contains$1(_0_0._string0$_text, $.$get$_microsoftFilterStart0());
  96605. if (t1)
  96606. return A._functionString0("alpha", $arguments);
  96607. if (_0_0 instanceof A.SassColor0 && !_0_0._color0$_space.get$isLegacyInternal())
  96608. throw A.wrapException(A.SassScriptException$0(string$.alpha_, null));
  96609. A.warnForDeprecation0(string$.Globalcal, B.Deprecation_ZDV);
  96610. t1 = _0_0.assertColor$1("color").alphaOrNull;
  96611. return A.SassNumber_SassNumber0(t1 == null ? 0 : t1, null);
  96612. },
  96613. $signature: 3
  96614. };
  96615. A.global_closure79.prototype = {
  96616. call$1($arguments) {
  96617. var t1,
  96618. argList = J.$index$asx($arguments, 0).get$asList();
  96619. if (argList.length !== 0 && B.JSArray_methods.every$1(argList, new A.global__closure0()))
  96620. return A._functionString0("alpha", $arguments);
  96621. t1 = argList.length;
  96622. if (t1 === 0)
  96623. throw A.wrapException(A.SassScriptException$0("Missing argument $color.", null));
  96624. else
  96625. throw A.wrapException(A.SassScriptException$0("Only 1 argument allowed, but " + t1 + " were passed.", null));
  96626. },
  96627. $signature: 18
  96628. };
  96629. A.global__closure0.prototype = {
  96630. call$1(argument) {
  96631. return argument instanceof A.SassString0 && !argument._string0$_hasQuotes && B.JSString_methods.contains$1(argument._string0$_text, $.$get$_microsoftFilterStart0());
  96632. },
  96633. $signature: 54
  96634. };
  96635. A.global_closure80.prototype = {
  96636. call$1($arguments) {
  96637. var t1 = J.getInterceptor$asx($arguments);
  96638. if (t1.$index($arguments, 0) instanceof A.SassNumber0 || t1.$index($arguments, 0).get$isSpecialNumber())
  96639. return A._functionString0("opacity", $arguments);
  96640. A.warnForDeprecation0(string$.Globalco, B.Deprecation_ZDV);
  96641. t1 = t1.$index($arguments, 0).assertColor$1("color").alphaOrNull;
  96642. return A.SassNumber_SassNumber0(t1 == null ? 0 : t1, null);
  96643. },
  96644. $signature: 3
  96645. };
  96646. A.global_closure81.prototype = {
  96647. call$1($arguments) {
  96648. return A._parseChannels0("color", J.$index$asx($arguments, 0), "description", null);
  96649. },
  96650. $signature: 3
  96651. };
  96652. A.global_closure82.prototype = {
  96653. call$1($arguments) {
  96654. return A._parseChannels0("hwb", J.$index$asx($arguments, 0), "channels", B.HwbColorSpace_guQ0);
  96655. },
  96656. $signature: 3
  96657. };
  96658. A.global_closure83.prototype = {
  96659. call$1($arguments) {
  96660. return A._parseChannels0("lab", J.$index$asx($arguments, 0), "channels", B.LabColorSpace_2nT0);
  96661. },
  96662. $signature: 3
  96663. };
  96664. A.global_closure84.prototype = {
  96665. call$1($arguments) {
  96666. return A._parseChannels0("lch", J.$index$asx($arguments, 0), "channels", B.LchColorSpace_Bpv0);
  96667. },
  96668. $signature: 3
  96669. };
  96670. A.global_closure85.prototype = {
  96671. call$1($arguments) {
  96672. return A._parseChannels0("oklab", J.$index$asx($arguments, 0), "channels", B.OklabColorSpace_5400);
  96673. },
  96674. $signature: 3
  96675. };
  96676. A.global_closure86.prototype = {
  96677. call$1($arguments) {
  96678. return A._parseChannels0("oklch", J.$index$asx($arguments, 0), "channels", B.OklchColorSpace_9Gj0);
  96679. },
  96680. $signature: 3
  96681. };
  96682. A.module_closure27.prototype = {
  96683. call$1(color) {
  96684. return B.JSNumber_methods.round$0(color._color0$_legacyChannel$2(B.RgbColorSpace_i0P0, "red"));
  96685. },
  96686. $signature: 39
  96687. };
  96688. A.module_closure28.prototype = {
  96689. call$1(color) {
  96690. return B.JSNumber_methods.round$0(color._color0$_legacyChannel$2(B.RgbColorSpace_i0P0, "green"));
  96691. },
  96692. $signature: 39
  96693. };
  96694. A.module_closure29.prototype = {
  96695. call$1(color) {
  96696. return B.JSNumber_methods.round$0(color._color0$_legacyChannel$2(B.RgbColorSpace_i0P0, "blue"));
  96697. },
  96698. $signature: 39
  96699. };
  96700. A.module_closure30.prototype = {
  96701. call$1($arguments) {
  96702. var result = A._invert0($arguments, false);
  96703. if (result instanceof A.SassString0)
  96704. A.warnForDeprecation0("Passing a number (" + J.$index$asx($arguments, 0).toString$0(0) + string$.x29x20to_cli + result.toString$0(0), B.Deprecation_Kry);
  96705. return result;
  96706. },
  96707. $signature: 3
  96708. };
  96709. A.module_closure31.prototype = {
  96710. call$1(color) {
  96711. return color._color0$_legacyChannel$2(B.HslColorSpace_JQ20, "hue");
  96712. },
  96713. $signature: 31
  96714. };
  96715. A.module_closure32.prototype = {
  96716. call$1(color) {
  96717. return color._color0$_legacyChannel$2(B.HslColorSpace_JQ20, "saturation");
  96718. },
  96719. $signature: 31
  96720. };
  96721. A.module_closure33.prototype = {
  96722. call$1(color) {
  96723. return color._color0$_legacyChannel$2(B.HslColorSpace_JQ20, "lightness");
  96724. },
  96725. $signature: 31
  96726. };
  96727. A.module_closure34.prototype = {
  96728. call$1($arguments) {
  96729. var result,
  96730. t1 = J.getInterceptor$asx($arguments);
  96731. if (t1.$index($arguments, 0) instanceof A.SassNumber0) {
  96732. result = A._functionString0("grayscale", t1.take$1($arguments, 1));
  96733. A.warnForDeprecation0("Passing a number (" + t1.$index($arguments, 0).toString$0(0) + string$.x29x20to_clg + result.toString$0(0), B.Deprecation_Kry);
  96734. return result;
  96735. }
  96736. return A._grayscale0(t1.$index($arguments, 0));
  96737. },
  96738. $signature: 3
  96739. };
  96740. A.module_closure35.prototype = {
  96741. call$1($arguments) {
  96742. var t1 = J.getInterceptor$asx($arguments),
  96743. t2 = type$.JSArray_Value_2;
  96744. return A._parseChannels0("hwb", A.SassList$0(A._setArrayType([A.SassList$0(A._setArrayType([t1.$index($arguments, 0), t1.$index($arguments, 1), t1.$index($arguments, 2)], t2), B.ListSeparator_qSL0, false), t1.$index($arguments, 3)], t2), B.ListSeparator_bRz0, false), null, B.HwbColorSpace_guQ0);
  96745. },
  96746. $signature: 3
  96747. };
  96748. A.module_closure36.prototype = {
  96749. call$1($arguments) {
  96750. return A._parseChannels0("hwb", J.$index$asx($arguments, 0), "channels", B.HwbColorSpace_guQ0);
  96751. },
  96752. $signature: 3
  96753. };
  96754. A.module_closure37.prototype = {
  96755. call$1(color) {
  96756. return color._color0$_legacyChannel$2(B.HwbColorSpace_guQ0, "whiteness");
  96757. },
  96758. $signature: 31
  96759. };
  96760. A.module_closure38.prototype = {
  96761. call$1(color) {
  96762. return color._color0$_legacyChannel$2(B.HwbColorSpace_guQ0, "blackness");
  96763. },
  96764. $signature: 31
  96765. };
  96766. A.module_closure39.prototype = {
  96767. call$1($arguments) {
  96768. var result,
  96769. _0_0 = J.$index$asx($arguments, 0),
  96770. t1 = false;
  96771. if (_0_0 instanceof A.SassString0)
  96772. if (!_0_0._string0$_hasQuotes)
  96773. t1 = B.JSString_methods.contains$1(_0_0._string0$_text, $.$get$_microsoftFilterStart0());
  96774. if (t1) {
  96775. result = A._functionString0("alpha", $arguments);
  96776. A.warnForDeprecation0(string$.Using_c + result.toString$0(0), B.Deprecation_Kry);
  96777. return result;
  96778. }
  96779. if (_0_0 instanceof A.SassColor0 && !_0_0._color0$_space.get$isLegacyInternal())
  96780. throw A.wrapException(A.SassScriptException$0(string$.color_a, null));
  96781. t1 = _0_0.assertColor$1("color").alphaOrNull;
  96782. return A.SassNumber_SassNumber0(t1 == null ? 0 : t1, null);
  96783. },
  96784. $signature: 3
  96785. };
  96786. A.module_closure40.prototype = {
  96787. call$1($arguments) {
  96788. var result,
  96789. t1 = J.getInterceptor$asx($arguments);
  96790. if (B.JSArray_methods.every$1(t1.$index($arguments, 0).get$asList(), new A.module__closure6())) {
  96791. result = A._functionString0("alpha", $arguments);
  96792. A.warnForDeprecation0(string$.Using_c + result.toString$0(0), B.Deprecation_Kry);
  96793. return result;
  96794. }
  96795. throw A.wrapException(A.SassScriptException$0("Only 1 argument allowed, but " + t1.get$length($arguments) + " were passed.", null));
  96796. },
  96797. $signature: 18
  96798. };
  96799. A.module__closure6.prototype = {
  96800. call$1(argument) {
  96801. return argument instanceof A.SassString0 && !argument._string0$_hasQuotes && B.JSString_methods.contains$1(argument._string0$_text, $.$get$_microsoftFilterStart0());
  96802. },
  96803. $signature: 54
  96804. };
  96805. A.module_closure41.prototype = {
  96806. call$1($arguments) {
  96807. var result,
  96808. t1 = J.getInterceptor$asx($arguments);
  96809. if (t1.$index($arguments, 0) instanceof A.SassNumber0) {
  96810. result = A._functionString0("opacity", $arguments);
  96811. A.warnForDeprecation0("Passing a number (" + t1.$index($arguments, 0).toString$0(0) + string$.x20to_co + result.toString$0(0), B.Deprecation_Kry);
  96812. return result;
  96813. }
  96814. t1 = t1.$index($arguments, 0).assertColor$1("color").alphaOrNull;
  96815. return A.SassNumber_SassNumber0(t1 == null ? 0 : t1, null);
  96816. },
  96817. $signature: 3
  96818. };
  96819. A.module_closure42.prototype = {
  96820. call$1($arguments) {
  96821. return new A.SassString0(J.get$first$ax($arguments).assertColor$1("color")._color0$_space.name, false);
  96822. },
  96823. $signature: 18
  96824. };
  96825. A.module_closure43.prototype = {
  96826. call$1($arguments) {
  96827. var t1 = J.getInterceptor$asx($arguments);
  96828. return A._colorInSpace0(t1.$index($arguments, 0), t1.$index($arguments, 1), false);
  96829. },
  96830. $signature: 23
  96831. };
  96832. A.module_closure44.prototype = {
  96833. call$1($arguments) {
  96834. return J.$index$asx($arguments, 0).assertColor$1("color")._color0$_space.get$isLegacyInternal() ? B.SassBoolean_true0 : B.SassBoolean_false0;
  96835. },
  96836. $signature: 11
  96837. };
  96838. A.module_closure45.prototype = {
  96839. call$1($arguments) {
  96840. var t1 = J.getInterceptor$asx($arguments);
  96841. return t1.$index($arguments, 0).assertColor$1("color").isChannelMissing$3$channelName$colorName(A._channelName0(t1.$index($arguments, 1)), "channel", "color") ? B.SassBoolean_true0 : B.SassBoolean_false0;
  96842. },
  96843. $signature: 11
  96844. };
  96845. A.module_closure46.prototype = {
  96846. call$1($arguments) {
  96847. var t1 = J.getInterceptor$asx($arguments);
  96848. return A._colorInSpace0(t1.$index($arguments, 0), t1.$index($arguments, 1), true).get$isInGamut() ? B.SassBoolean_true0 : B.SassBoolean_false0;
  96849. },
  96850. $signature: 11
  96851. };
  96852. A.module_closure47.prototype = {
  96853. call$1($arguments) {
  96854. var space, method, _s5_ = "space", _s6_ = "method",
  96855. t1 = J.getInterceptor$asx($arguments),
  96856. color = t1.$index($arguments, 0).assertColor$1("color"),
  96857. t2 = t1.$index($arguments, 1);
  96858. if (t2.$eq(0, B.C__SassNull0))
  96859. space = color._color0$_space;
  96860. else {
  96861. t2 = t2.assertString$1(_s5_);
  96862. t2.assertUnquoted$1(_s5_);
  96863. space = A.ColorSpace_fromName0(t2._string0$_text, _s5_);
  96864. }
  96865. if (t1.$index($arguments, 2).$eq(0, B.C__SassNull0))
  96866. throw A.wrapException(A.SassScriptException$0(string$.color_t, _s6_));
  96867. t1 = t1.$index($arguments, 2).assertString$1(_s6_);
  96868. t1.assertUnquoted$1(_s6_);
  96869. method = A.GamutMapMethod_GamutMapMethod$fromName0(t1._string0$_text);
  96870. if (!space.get$isBoundedInternal())
  96871. return color;
  96872. t1 = color.toSpace$1(space);
  96873. t1 = t1.get$isInGamut() ? t1 : method.map$1(0, t1);
  96874. return t1.toSpace$2$legacyMissing(color._color0$_space, false);
  96875. },
  96876. $signature: 23
  96877. };
  96878. A.module_closure48.prototype = {
  96879. call$1($arguments) {
  96880. var channelIndex, channelInfo, channelValue, unit,
  96881. t1 = J.getInterceptor$asx($arguments),
  96882. color = A._colorInSpace0(t1.$index($arguments, 0), t1.$index($arguments, 2), true),
  96883. channelName = A._channelName0(t1.$index($arguments, 1));
  96884. if (channelName === "alpha") {
  96885. t1 = color.alphaOrNull;
  96886. return A.SassNumber_SassNumber0(t1 == null ? 0 : t1, null);
  96887. }
  96888. t1 = color._color0$_space._space$_channels;
  96889. channelIndex = B.JSArray_methods.indexWhere$1(t1, new A.module__closure5(channelName));
  96890. if (channelIndex === -1)
  96891. throw A.wrapException(A.SassScriptException$0("Color " + color.toString$0(0) + " has no channel named " + channelName + ".", "channel"));
  96892. channelInfo = t1[channelIndex];
  96893. channelValue = color.get$channels()[channelIndex];
  96894. unit = channelInfo.associatedUnit;
  96895. return A.SassNumber_SassNumber0(unit === "%" ? channelValue * 100 / type$.LinearChannel_2._as(channelInfo).max : channelValue, unit);
  96896. },
  96897. $signature: 22
  96898. };
  96899. A.module__closure5.prototype = {
  96900. call$1(channel) {
  96901. return channel.name === this.channelName;
  96902. },
  96903. $signature: 70
  96904. };
  96905. A.module_closure49.prototype = {
  96906. call$1($arguments) {
  96907. var t2, t3,
  96908. t1 = J.getInterceptor$asx($arguments),
  96909. color1 = t1.$index($arguments, 0).assertColor$1("color1"),
  96910. color2 = t1.$index($arguments, 1).assertColor$1("color2");
  96911. t1 = new A.module_closure_toXyzNoMissing0();
  96912. if (color1._color0$_space === color2._color0$_space) {
  96913. t1 = color1.channel0OrNull;
  96914. t2 = false;
  96915. if (t1 == null)
  96916. t1 = 0;
  96917. t3 = color2.channel0OrNull;
  96918. if (A.fuzzyEquals0(t1, t3 == null ? 0 : t3)) {
  96919. t1 = color1.channel1OrNull;
  96920. if (t1 == null)
  96921. t1 = 0;
  96922. t3 = color2.channel1OrNull;
  96923. if (A.fuzzyEquals0(t1, t3 == null ? 0 : t3)) {
  96924. t1 = color1.channel2OrNull;
  96925. if (t1 == null)
  96926. t1 = 0;
  96927. t3 = color2.channel2OrNull;
  96928. if (A.fuzzyEquals0(t1, t3 == null ? 0 : t3)) {
  96929. t1 = color1.alphaOrNull;
  96930. if (t1 == null)
  96931. t1 = 0;
  96932. t2 = color2.alphaOrNull;
  96933. t1 = A.fuzzyEquals0(t1, t2 == null ? 0 : t2);
  96934. } else
  96935. t1 = t2;
  96936. } else
  96937. t1 = t2;
  96938. } else
  96939. t1 = t2;
  96940. } else
  96941. t1 = J.$eq$(t1.call$1(color1), t1.call$1(color2));
  96942. return t1 ? B.SassBoolean_true0 : B.SassBoolean_false0;
  96943. },
  96944. $signature: 11
  96945. };
  96946. A.module_closure_toXyzNoMissing0.prototype = {
  96947. call$1(color) {
  96948. var _1_1, _1_3, t1, _1_7, channel0, _1_8, channel1, _1_9, channel2, _1_10, alpha;
  96949. $label0$0: {
  96950. _1_1 = color._color0$_space;
  96951. _1_3 = B.XyzD65ColorSpace_WiJ0 === _1_1;
  96952. t1 = _1_3;
  96953. if (t1)
  96954. t1 = !(color.channel0OrNull == null || color.channel1OrNull == null || color.channel2OrNull == null || color.alphaOrNull == null);
  96955. else
  96956. t1 = false;
  96957. if (t1) {
  96958. t1 = color;
  96959. break $label0$0;
  96960. }
  96961. if (_1_3) {
  96962. _1_7 = color.channel0OrNull;
  96963. if (_1_7 == null)
  96964. _1_7 = 0;
  96965. channel0 = _1_7;
  96966. _1_8 = color.channel1OrNull;
  96967. if (_1_8 == null)
  96968. _1_8 = 0;
  96969. channel1 = _1_8;
  96970. _1_9 = color.channel2OrNull;
  96971. if (_1_9 == null)
  96972. _1_9 = 0;
  96973. channel2 = _1_9;
  96974. _1_10 = color.alphaOrNull;
  96975. if (_1_10 == null)
  96976. _1_10 = 0;
  96977. alpha = _1_10;
  96978. t1 = A.SassColor$_forSpace0(B.XyzD65ColorSpace_WiJ0, channel0, channel1, channel2, alpha, null);
  96979. break $label0$0;
  96980. }
  96981. _1_7 = color.channel0OrNull;
  96982. if (_1_7 == null)
  96983. _1_7 = 0;
  96984. channel0 = _1_7;
  96985. _1_8 = color.channel1OrNull;
  96986. if (_1_8 == null)
  96987. _1_8 = 0;
  96988. channel1 = _1_8;
  96989. _1_9 = color.channel2OrNull;
  96990. if (_1_9 == null)
  96991. _1_9 = 0;
  96992. channel2 = _1_9;
  96993. _1_10 = color.alphaOrNull;
  96994. if (_1_10 == null)
  96995. _1_10 = 0;
  96996. alpha = _1_10;
  96997. t1 = _1_1.convert$5(B.XyzD65ColorSpace_WiJ0, channel0, channel1, channel2, alpha);
  96998. break $label0$0;
  96999. }
  97000. return t1;
  97001. },
  97002. $signature: 393
  97003. };
  97004. A.module_closure50.prototype = {
  97005. call$1($arguments) {
  97006. var t1 = J.getInterceptor$asx($arguments);
  97007. return A._colorInSpace0(t1.$index($arguments, 0), t1.$index($arguments, 2), true).isChannelPowerless$3$channelName$colorName(A._channelName0(t1.$index($arguments, 1)), "channel", "color") ? B.SassBoolean_true0 : B.SassBoolean_false0;
  97008. },
  97009. $signature: 11
  97010. };
  97011. A._mix_closure0.prototype = {
  97012. call$1($arguments) {
  97013. var _s6_ = "weight",
  97014. _s41_ = string$.To_usem,
  97015. _s29_ = ", you must provide a $method.",
  97016. t1 = J.getInterceptor$asx($arguments),
  97017. color1 = t1.$index($arguments, 0).assertColor$1("color1"),
  97018. color2 = t1.$index($arguments, 1).assertColor$1("color2"),
  97019. weight = t1.$index($arguments, 2).assertNumber$1(_s6_);
  97020. if (!t1.$index($arguments, 3).$eq(0, B.C__SassNull0))
  97021. return color1.interpolate$4$legacyMissing$weight(color2, A.InterpolationMethod_InterpolationMethod$fromValue0(t1.$index($arguments, 3), "method"), false, weight.valueInRangeWithUnit$4(0, 100, _s6_, "%") / 100);
  97022. A._checkPercent0(weight, _s6_);
  97023. if (!color1._color0$_space.get$isLegacyInternal())
  97024. throw A.wrapException(A.SassScriptException$0(_s41_ + color1.toString$0(0) + _s29_, "color1"));
  97025. else if (!color2._color0$_space.get$isLegacyInternal())
  97026. throw A.wrapException(A.SassScriptException$0(_s41_ + color2.toString$0(0) + _s29_, "color2"));
  97027. return A._mixLegacy0(color1, color2, weight);
  97028. },
  97029. $signature: 23
  97030. };
  97031. A._complement_closure0.prototype = {
  97032. call$1($arguments) {
  97033. var space, t3, colorInSpace, t4, t5, t6, _s5_ = "space",
  97034. t1 = J.getInterceptor$asx($arguments),
  97035. color = t1.$index($arguments, 0).assertColor$1("color"),
  97036. t2 = color._color0$_space;
  97037. if (t2.get$isLegacyInternal() && t1.$index($arguments, 1).$eq(0, B.C__SassNull0))
  97038. space = B.HslColorSpace_JQ20;
  97039. else {
  97040. t3 = t1.$index($arguments, 1).assertString$1(_s5_);
  97041. t3.assertUnquoted$1(_s5_);
  97042. space = A.ColorSpace_fromName0(t3._string0$_text, _s5_);
  97043. }
  97044. if (!space.get$isPolarInternal())
  97045. throw A.wrapException(A.SassScriptException$0("Color space " + space.toString$0(0) + " doesn't have a hue channel.", _s5_));
  97046. colorInSpace = color.toSpace$2$legacyMissing(space, !t1.$index($arguments, 1).$eq(0, B.C__SassNull0));
  97047. t1 = space._space$_channels;
  97048. t3 = colorInSpace.channel0OrNull;
  97049. t4 = colorInSpace.channel1OrNull;
  97050. t5 = colorInSpace.channel2OrNull;
  97051. t6 = colorInSpace.alphaOrNull;
  97052. return (space.get$isLegacyInternal() ? A.SassColor_SassColor$forSpaceInternal0(space, A._adjustChannel0(colorInSpace, t1[0], t3, A.SassNumber_SassNumber0(180, null)), t4, t5, t6) : A.SassColor_SassColor$forSpaceInternal0(space, t3, t4, A._adjustChannel0(colorInSpace, t1[2], t5, A.SassNumber_SassNumber0(180, null)), t6)).toSpace$2$legacyMissing(t2, false);
  97053. },
  97054. $signature: 23
  97055. };
  97056. A._adjust_closure0.prototype = {
  97057. call$1($arguments) {
  97058. return A._updateComponents0($arguments, true, false, false);
  97059. },
  97060. $signature: 23
  97061. };
  97062. A._scale_closure0.prototype = {
  97063. call$1($arguments) {
  97064. return A._updateComponents0($arguments, false, false, true);
  97065. },
  97066. $signature: 23
  97067. };
  97068. A._change_closure0.prototype = {
  97069. call$1($arguments) {
  97070. return A._updateComponents0($arguments, false, true, false);
  97071. },
  97072. $signature: 23
  97073. };
  97074. A._ieHexStr_closure0.prototype = {
  97075. call$1($arguments) {
  97076. var t1, t2, t3, t4, t5,
  97077. color = J.$index$asx($arguments, 0).assertColor$1("color").toSpace$1(B.RgbColorSpace_i0P0);
  97078. color = color.get$isInGamut() ? color : B.LocalMindeGamutMap_A2x0.map$1(0, color);
  97079. t1 = new A._ieHexStr_closure_hexString0();
  97080. t2 = color.alphaOrNull;
  97081. t2 = A.S(t1.call$1((t2 == null ? 0 : t2) * 255));
  97082. t3 = color.channel0OrNull;
  97083. t3 = A.S(t1.call$1(t3 == null ? 0 : t3));
  97084. t4 = color.channel1OrNull;
  97085. t4 = A.S(t1.call$1(t4 == null ? 0 : t4));
  97086. t5 = color.channel2OrNull;
  97087. return new A.SassString0("#" + t2 + t3 + t4 + A.S(t1.call$1(t5 == null ? 0 : t5)), false);
  97088. },
  97089. $signature: 18
  97090. };
  97091. A._ieHexStr_closure_hexString0.prototype = {
  97092. call$1(component) {
  97093. return B.JSString_methods.padLeft$2(B.JSInt_methods.toRadixString$1(A.fuzzyRound0(component), 16), 2, "0").toUpperCase();
  97094. },
  97095. $signature: 229
  97096. };
  97097. A._updateComponents_closure1.prototype = {
  97098. call$1(space) {
  97099. return this.originalColor.toSpace$2$legacyMissing(space, false);
  97100. },
  97101. $signature: 394
  97102. };
  97103. A._updateComponents_closure2.prototype = {
  97104. call$1(info) {
  97105. return this._box_0.name === info.name;
  97106. },
  97107. $signature: 70
  97108. };
  97109. A._changeColor_closure0.prototype = {
  97110. call$0() {
  97111. var t1 = this.alphaArg;
  97112. A.warnForDeprecation0("$alpha: Passing a unit other than % (" + t1.toString$0(0) + string$.x29x20is_d + t1.unitSuggestion$1("alpha") + string$.x0a_See_, B.Deprecation_vn5);
  97113. return t1.valueInRange$3(0, 1, "alpha");
  97114. },
  97115. $signature: 238
  97116. };
  97117. A._adjustColor_closure0.prototype = {
  97118. call$1(alpha) {
  97119. return isNaN(alpha) ? 0 : B.JSNumber_methods.clamp$2(alpha, 0, 1);
  97120. },
  97121. $signature: 16
  97122. };
  97123. A._functionString_closure0.prototype = {
  97124. call$1(argument) {
  97125. return A.serializeValue0(argument, false, true);
  97126. },
  97127. $signature: 225
  97128. };
  97129. A._removedColorFunction_closure0.prototype = {
  97130. call$1($arguments) {
  97131. var t1 = this.name,
  97132. t2 = J.getInterceptor$asx($arguments),
  97133. t3 = t2.$index($arguments, 0).toString$0(0),
  97134. t4 = this.negative ? "-" : "";
  97135. throw A.wrapException(A.SassScriptException$0("The function " + t1 + string$.x28__isn + t3 + ", $" + this.argument + ": " + t4 + t2.$index($arguments, 1).toString$0(0) + string$.x29x0a_Moro + t1, null));
  97136. },
  97137. $signature: 396
  97138. };
  97139. A._rgb_closure0.prototype = {
  97140. call$1(alpha) {
  97141. var t1 = A._percentageOrUnitless0(alpha.assertNumber$1("alpha"), 1, "alpha");
  97142. return isNaN(t1) ? 0 : B.JSNumber_methods.clamp$2(t1, 0, 1);
  97143. },
  97144. $signature: 226
  97145. };
  97146. A._hsl_closure0.prototype = {
  97147. call$1(alpha) {
  97148. var t1 = A._percentageOrUnitless0(alpha.assertNumber$1("alpha"), 1, "alpha");
  97149. return isNaN(t1) ? 0 : B.JSNumber_methods.clamp$2(t1, 0, 1);
  97150. },
  97151. $signature: 226
  97152. };
  97153. A._parseChannels_closure1.prototype = {
  97154. call$1($name) {
  97155. return $name + " channel";
  97156. },
  97157. $signature: 6
  97158. };
  97159. A._parseChannels_closure2.prototype = {
  97160. call$1(channel) {
  97161. return channel.get$isSpecialNumber();
  97162. },
  97163. $signature: 54
  97164. };
  97165. A._colorFromChannels_closure1.prototype = {
  97166. call$1(channel0) {
  97167. return A._angleValue0(channel0, "hue");
  97168. },
  97169. $signature: 89
  97170. };
  97171. A._colorFromChannels_closure2.prototype = {
  97172. call$1(channel0) {
  97173. return A._angleValue0(channel0, "hue");
  97174. },
  97175. $signature: 89
  97176. };
  97177. A._channelFromValue_closure0.prototype = {
  97178. call$1(value) {
  97179. var t1, _0_8, t2, _0_5, _0_8_isSet, lowerClamped, upperClamped, t3,
  97180. _0_0 = this.channel;
  97181. $label0$0: {
  97182. t1 = _0_0 instanceof A.LinearChannel0;
  97183. if (t1 && _0_0.requiresPercent && !value.hasUnit$1("%"))
  97184. A.throwExpression(A.SassScriptException$0("Expected " + value.toString$0(0) + ' to have unit "%".', _0_0.name));
  97185. _0_8 = null;
  97186. t2 = false;
  97187. if (t1) {
  97188. _0_5 = _0_0.lowerClamped;
  97189. _0_8_isSet = !_0_5;
  97190. if (_0_8_isSet) {
  97191. _0_8 = _0_0.upperClamped;
  97192. t2 = !_0_8;
  97193. }
  97194. } else {
  97195. _0_5 = null;
  97196. _0_8_isSet = false;
  97197. }
  97198. if (t2) {
  97199. t1 = A._percentageOrUnitless0(value, _0_0.max, _0_0.name);
  97200. break $label0$0;
  97201. }
  97202. if (t1 && !this.clamp) {
  97203. t1 = A._percentageOrUnitless0(value, _0_0.max, _0_0.name);
  97204. break $label0$0;
  97205. }
  97206. if (t1) {
  97207. lowerClamped = _0_5;
  97208. upperClamped = _0_8_isSet ? _0_8 : _0_0.upperClamped;
  97209. t1 = _0_0.max;
  97210. t2 = A._percentageOrUnitless0(value, t1, _0_0.name);
  97211. t3 = lowerClamped ? _0_0.min : -1 / 0;
  97212. t1 = upperClamped ? t1 : 1 / 0;
  97213. t1 = isNaN(t2) ? t3 : B.JSNumber_methods.clamp$2(t2, t3, t1);
  97214. break $label0$0;
  97215. }
  97216. t1 = B.JSNumber_methods.$mod(value.coerceValueToUnit$2("deg", _0_0.name), 360);
  97217. break $label0$0;
  97218. }
  97219. return t1;
  97220. },
  97221. $signature: 89
  97222. };
  97223. A._channelFunction_closure0.prototype = {
  97224. call$1($arguments) {
  97225. var _this = this,
  97226. result = A.SassNumber_SassNumber0(_this.getter.call$1(J.get$first$ax($arguments).assertColor$1("color")), _this.unit),
  97227. t1 = _this.global ? "" : "color.",
  97228. t2 = _this.name;
  97229. A.warnForDeprecation0(t1 + t2 + string$.x28__is_d + t2 + '", $space: ' + _this.space.toString$0(0) + string$.x29x0a_Mor_, B.Deprecation_fdF);
  97230. return result;
  97231. },
  97232. $signature: 22
  97233. };
  97234. A._suggestScaleAndAdjust_closure0.prototype = {
  97235. call$1(channel) {
  97236. return channel.name === this.channelName;
  97237. },
  97238. $signature: 70
  97239. };
  97240. A.colorClass_closure.prototype = {
  97241. call$0() {
  97242. var t1 = type$.JSClass,
  97243. jsClass = t1._as(A.allowInteropCaptureThisNamed("sass.SassColor", new A.colorClass__closure())),
  97244. t2 = type$.String,
  97245. t3 = type$.Function;
  97246. A.LinkedHashMap_LinkedHashMap$_literal(["equals", new A.colorClass__closure0(), "hashCode", new A.colorClass__closure1(), "toSpace", new A.colorClass__closure2(), "isInGamut", new A.colorClass__closure3(), "toGamut", new A.colorClass__closure4(), "channel", new A.colorClass__closure5(), "isChannelMissing", new A.colorClass__closure6(), "isChannelPowerless", new A.colorClass__closure7(), "change", new A.colorClass__closure8(), "interpolate", new A.colorClass__closure9()], t2, t3).forEach$1(0, A.JSClassExtension_get_defineMethod(jsClass));
  97247. A.LinkedHashMap_LinkedHashMap$_literal(["red", new A.colorClass__closure10(), "green", new A.colorClass__closure11(), "blue", new A.colorClass__closure12(), "hue", new A.colorClass__closure13(), "saturation", new A.colorClass__closure14(), "lightness", new A.colorClass__closure15(), "whiteness", new A.colorClass__closure16(), "blackness", new A.colorClass__closure17(), "alpha", new A.colorClass__closure18(), "space", new A.colorClass__closure19(), "isLegacy", new A.colorClass__closure20(), "channelsOrNull", new A.colorClass__closure21(), "channels", new A.colorClass__closure22()], t2, t3).forEach$1(0, A.JSClassExtension_get_defineGetter(jsClass));
  97248. A.JSClassExtension_injectSuperclass(t1._as(A.SassColor_SassColor$rgbInternal0(0, 0, 0, 1, null).constructor), jsClass);
  97249. return jsClass;
  97250. },
  97251. $signature: 15
  97252. };
  97253. A.colorClass__closure.prototype = {
  97254. call$2($self, options) {
  97255. var t1, t2, t3, t4, _null = null;
  97256. switch (A._constructionSpace(options)) {
  97257. case B.RgbColorSpace_i0P0:
  97258. A._checkNullAlphaDeprecation(options);
  97259. t1 = J.getInterceptor$x(options);
  97260. t2 = t1.get$red(options);
  97261. t3 = t1.get$green(options);
  97262. t4 = t1.get$blue(options);
  97263. t1 = t1.get$alpha(options);
  97264. return A.SassColor_SassColor$rgbInternal0(t2, t3, t4, A._asBool($.$get$_isUndefined().call$1(t1)) ? 1 : t1, _null);
  97265. case B.HslColorSpace_JQ20:
  97266. A._checkNullAlphaDeprecation(options);
  97267. t1 = J.getInterceptor$x(options);
  97268. t2 = t1.get$hue(options);
  97269. t3 = t1.get$saturation(options);
  97270. t4 = t1.get$lightness(options);
  97271. t1 = t1.get$alpha(options);
  97272. return A.SassColor_SassColor$hsl0(t2, t3, t4, A._asBool($.$get$_isUndefined().call$1(t1)) ? 1 : t1);
  97273. case B.HwbColorSpace_guQ0:
  97274. A._checkNullAlphaDeprecation(options);
  97275. t1 = J.getInterceptor$x(options);
  97276. t2 = t1.get$hue(options);
  97277. t3 = t1.get$whiteness(options);
  97278. t4 = t1.get$blackness(options);
  97279. t1 = t1.get$alpha(options);
  97280. return A.SassColor_SassColor$hwb0(t2, t3, t4, A._asBool($.$get$_isUndefined().call$1(t1)) ? 1 : t1);
  97281. case B.LabColorSpace_2nT0:
  97282. t1 = J.getInterceptor$x(options);
  97283. t2 = t1.get$lightness(options);
  97284. t3 = t1.get$a(options);
  97285. t4 = t1.get$b(options);
  97286. t1 = t1.get$alpha(options);
  97287. return A.SassColor$_forSpace0(B.LabColorSpace_2nT0, t2, t3, t4, A._asBool($.$get$_isUndefined().call$1(t1)) ? 1 : t1, _null);
  97288. case B.OklabColorSpace_5400:
  97289. t1 = J.getInterceptor$x(options);
  97290. t2 = t1.get$lightness(options);
  97291. t3 = t1.get$a(options);
  97292. t4 = t1.get$b(options);
  97293. t1 = t1.get$alpha(options);
  97294. return A.SassColor$_forSpace0(B.OklabColorSpace_5400, t2, t3, t4, A._asBool($.$get$_isUndefined().call$1(t1)) ? 1 : t1, _null);
  97295. case B.LchColorSpace_Bpv0:
  97296. t1 = J.getInterceptor$x(options);
  97297. t2 = t1.get$lightness(options);
  97298. t3 = t1.get$chroma(options);
  97299. t4 = t1.get$hue(options);
  97300. t1 = t1.get$alpha(options);
  97301. return A.SassColor_SassColor$forSpaceInternal0(B.LchColorSpace_Bpv0, t2, t3, t4, A._asBool($.$get$_isUndefined().call$1(t1)) ? 1 : t1);
  97302. case B.OklchColorSpace_9Gj0:
  97303. t1 = J.getInterceptor$x(options);
  97304. t2 = t1.get$lightness(options);
  97305. t3 = t1.get$chroma(options);
  97306. t4 = t1.get$hue(options);
  97307. t1 = t1.get$alpha(options);
  97308. return A.SassColor_SassColor$forSpaceInternal0(B.OklchColorSpace_9Gj0, t2, t3, t4, A._asBool($.$get$_isUndefined().call$1(t1)) ? 1 : t1);
  97309. case B.SrgbColorSpace_thf0:
  97310. t1 = J.getInterceptor$x(options);
  97311. t2 = t1.get$red(options);
  97312. t3 = t1.get$green(options);
  97313. t4 = t1.get$blue(options);
  97314. t1 = t1.get$alpha(options);
  97315. return A.SassColor$_forSpace0(B.SrgbColorSpace_thf0, t2, t3, t4, A._asBool($.$get$_isUndefined().call$1(t1)) ? 1 : t1, _null);
  97316. case B.SrgbLinearColorSpace_kUj0:
  97317. t1 = J.getInterceptor$x(options);
  97318. t2 = t1.get$red(options);
  97319. t3 = t1.get$green(options);
  97320. t4 = t1.get$blue(options);
  97321. t1 = t1.get$alpha(options);
  97322. return A.SassColor$_forSpace0(B.SrgbLinearColorSpace_kUj0, t2, t3, t4, A._asBool($.$get$_isUndefined().call$1(t1)) ? 1 : t1, _null);
  97323. case B.DisplayP3ColorSpace_MmT0:
  97324. t1 = J.getInterceptor$x(options);
  97325. t2 = t1.get$red(options);
  97326. t3 = t1.get$green(options);
  97327. t4 = t1.get$blue(options);
  97328. t1 = t1.get$alpha(options);
  97329. return A.SassColor$_forSpace0(B.DisplayP3ColorSpace_MmT0, t2, t3, t4, A._asBool($.$get$_isUndefined().call$1(t1)) ? 1 : t1, _null);
  97330. case B.A98RgbColorSpace_lf20:
  97331. t1 = J.getInterceptor$x(options);
  97332. t2 = t1.get$red(options);
  97333. t3 = t1.get$green(options);
  97334. t4 = t1.get$blue(options);
  97335. t1 = t1.get$alpha(options);
  97336. return A.SassColor$_forSpace0(B.A98RgbColorSpace_lf20, t2, t3, t4, A._asBool($.$get$_isUndefined().call$1(t1)) ? 1 : t1, _null);
  97337. case B.ProphotoRgbColorSpace_BDz0:
  97338. t1 = J.getInterceptor$x(options);
  97339. t2 = t1.get$red(options);
  97340. t3 = t1.get$green(options);
  97341. t4 = t1.get$blue(options);
  97342. t1 = t1.get$alpha(options);
  97343. return A.SassColor$_forSpace0(B.ProphotoRgbColorSpace_BDz0, t2, t3, t4, A._asBool($.$get$_isUndefined().call$1(t1)) ? 1 : t1, _null);
  97344. case B.Rec2020ColorSpace_6oo0:
  97345. t1 = J.getInterceptor$x(options);
  97346. t2 = t1.get$red(options);
  97347. t3 = t1.get$green(options);
  97348. t4 = t1.get$blue(options);
  97349. t1 = t1.get$alpha(options);
  97350. return A.SassColor$_forSpace0(B.Rec2020ColorSpace_6oo0, t2, t3, t4, A._asBool($.$get$_isUndefined().call$1(t1)) ? 1 : t1, _null);
  97351. case B.XyzD50ColorSpace_2OB0:
  97352. t1 = J.getInterceptor$x(options);
  97353. t2 = t1.get$x(options);
  97354. t3 = t1.get$y(options);
  97355. t4 = t1.get$z(options);
  97356. t1 = t1.get$alpha(options);
  97357. return A.SassColor$_forSpace0(B.XyzD50ColorSpace_2OB0, t2, t3, t4, A._asBool($.$get$_isUndefined().call$1(t1)) ? 1 : t1, _null);
  97358. case B.XyzD65ColorSpace_WiJ0:
  97359. t1 = J.getInterceptor$x(options);
  97360. t2 = t1.get$x(options);
  97361. t3 = t1.get$y(options);
  97362. t4 = t1.get$z(options);
  97363. t1 = t1.get$alpha(options);
  97364. return A.SassColor$_forSpace0(B.XyzD65ColorSpace_WiJ0, t2, t3, t4, A._asBool($.$get$_isUndefined().call$1(t1)) ? 1 : t1, _null);
  97365. default:
  97366. throw A.wrapException("Unreachable");
  97367. }
  97368. },
  97369. $signature: 399
  97370. };
  97371. A.colorClass__closure0.prototype = {
  97372. call$2($self, other) {
  97373. return $self.$eq(0, other);
  97374. },
  97375. $signature: 400
  97376. };
  97377. A.colorClass__closure1.prototype = {
  97378. call$1($self) {
  97379. return $self.get$hashCode(0);
  97380. },
  97381. $signature: 39
  97382. };
  97383. A.colorClass__closure2.prototype = {
  97384. call$2($self, space) {
  97385. return A._toSpace($self, space);
  97386. },
  97387. $signature: 401
  97388. };
  97389. A.colorClass__closure3.prototype = {
  97390. call$2($self, space) {
  97391. return A._toSpace($self, space).get$isInGamut();
  97392. },
  97393. call$1($self) {
  97394. return this.call$2($self, null);
  97395. },
  97396. "call*": "call$2",
  97397. $requiredArgCount: 1,
  97398. $defaultValues() {
  97399. return [null];
  97400. },
  97401. $signature: 402
  97402. };
  97403. A.colorClass__closure4.prototype = {
  97404. call$2($self, options) {
  97405. var t1 = J.getInterceptor$x(options),
  97406. t2 = A._toSpace($self, t1.get$space(options));
  97407. t1 = A.GamutMapMethod_GamutMapMethod$fromName0(t1.get$method(options));
  97408. t1 = t2.get$isInGamut() ? t2 : t1.map$1(0, t2);
  97409. return t1.toSpace$1($self._color0$_space);
  97410. },
  97411. $signature: 403
  97412. };
  97413. A.colorClass__closure5.prototype = {
  97414. call$3($self, channel, options) {
  97415. return A._toSpace($self, options == null ? null : J.get$space$x(options)).channel$1(0, channel);
  97416. },
  97417. call$2($self, channel) {
  97418. return this.call$3($self, channel, null);
  97419. },
  97420. "call*": "call$3",
  97421. $requiredArgCount: 2,
  97422. $defaultValues() {
  97423. return [null];
  97424. },
  97425. $signature: 404
  97426. };
  97427. A.colorClass__closure6.prototype = {
  97428. call$2($self, channel) {
  97429. return $self.isChannelMissing$1(channel);
  97430. },
  97431. $signature: 405
  97432. };
  97433. A.colorClass__closure7.prototype = {
  97434. call$3($self, channel, options) {
  97435. return A._toSpace($self, options == null ? null : J.get$space$x(options)).isChannelPowerless$1(channel);
  97436. },
  97437. call$2($self, channel) {
  97438. return this.call$3($self, channel, null);
  97439. },
  97440. "call*": "call$3",
  97441. $requiredArgCount: 2,
  97442. $defaultValues() {
  97443. return [null];
  97444. },
  97445. $signature: 406
  97446. };
  97447. A.colorClass__closure8.prototype = {
  97448. call$2($self, options) {
  97449. var t3, space, t4, t5, t6, color, changedValue, _0_2, changedColor, _0_4, _0_6, _null = null,
  97450. _s9_ = "whiteness",
  97451. _s9_0 = "blackness",
  97452. _s3_ = "hue",
  97453. _s10_ = "saturation",
  97454. _s9_1 = "lightness",
  97455. _s3_0 = "red", _s5_ = "green", _s4_ = "blue", _s5_0 = "alpha",
  97456. _s106_ = string$.Passin_,
  97457. _s105_ = "Passing `hue: null` without setting `space` is deprecated.\nMore info: https://sass-lang.com/d/color-4-api",
  97458. t1 = J.getInterceptor$x(options),
  97459. t2 = t1.get$space(options) == null,
  97460. spaceSetExplicitly = !t2;
  97461. if (spaceSetExplicitly) {
  97462. t3 = t1.get$space(options);
  97463. t3.toString;
  97464. space = A.ColorSpace_fromName0(t3, _null);
  97465. } else
  97466. space = $self._color0$_space;
  97467. t3 = $self._color0$_space;
  97468. if (t3.get$isLegacyInternal() && t2) {
  97469. if ("whiteness" in options || "blackness" in options)
  97470. space = B.HwbColorSpace_guQ0;
  97471. else if ("hue" in options && t3 === B.HwbColorSpace_guQ0)
  97472. space = B.HwbColorSpace_guQ0;
  97473. else if ("hue" in options || "saturation" in options || "lightness" in options)
  97474. space = B.HslColorSpace_JQ20;
  97475. else if ("red" in options || "green" in options || "blue" in options)
  97476. space = B.RgbColorSpace_i0P0;
  97477. if (space !== t3)
  97478. A.warnForDeprecationFromApi("Changing a channel not in this color's space without explicitly specifying the `space` option is deprecated.\nMore info: https://sass-lang.com/d/color-4-api", B.Deprecation_FD1);
  97479. }
  97480. for (t2 = J.get$iterator$ax(self.Object.keys(options)), t4 = space._space$_channels, t5 = type$.JSArray_String; t2.moveNext$0();) {
  97481. t6 = t2.get$current(t2);
  97482. if (B.JSArray_methods.contains$1(A._setArrayType(["alpha", "space"], t5), t6))
  97483. continue;
  97484. if (!B.JSArray_methods.any$1(t4, new A.colorClass___closure(t6)))
  97485. A.jsThrow(new self.Error("`" + t6 + "` is not a valid channel in `" + space.toString$0(0) + "`."));
  97486. }
  97487. color = $self.toSpace$1(space);
  97488. changedValue = new A.colorClass__closure_changedValue(color, options);
  97489. $label0$2: {
  97490. _0_2 = B.HslColorSpace_JQ20 === space;
  97491. if (_0_2 && spaceSetExplicitly) {
  97492. changedColor = A.SassColor_SassColor$hsl0(changedValue.call$1(_s3_), changedValue.call$1(_s10_), changedValue.call$1(_s9_1), changedValue.call$1(_s5_0));
  97493. break $label0$2;
  97494. }
  97495. if (_0_2) {
  97496. t2 = t1.get$hue(options);
  97497. t4 = $.$get$_isNull();
  97498. if (A._asBool(t4.call$1(t2)))
  97499. A.warnForDeprecationFromApi(_s105_, B.Deprecation_FD1);
  97500. else if (A._asBool(t4.call$1(t1.get$saturation(options))))
  97501. A.warnForDeprecationFromApi("Passing `saturation: null` without setting `space` is deprecated.\nMore info: https://sass-lang.com/d/color-4-api", B.Deprecation_FD1);
  97502. else if (A._asBool(t4.call$1(t1.get$lightness(options))))
  97503. A.warnForDeprecationFromApi("Passing `lightness: null` without setting `space` is deprecated.\nMore info: https://sass-lang.com/d/color-4-api", B.Deprecation_FD1);
  97504. if (A._asBool(t4.call$1(t1.get$alpha(options))))
  97505. A.warnForDeprecationFromApi(_s106_, B.Deprecation_l0m);
  97506. t2 = t1.get$hue(options);
  97507. if (t2 == null)
  97508. t2 = color.channel$1(0, _s3_);
  97509. t4 = t1.get$saturation(options);
  97510. if (t4 == null)
  97511. t4 = color.channel$1(0, _s10_);
  97512. t5 = t1.get$lightness(options);
  97513. if (t5 == null)
  97514. t5 = color.channel$1(0, _s9_1);
  97515. t1 = t1.get$alpha(options);
  97516. changedColor = A.SassColor_SassColor$hsl0(t2, t4, t5, t1 == null ? color.channel$1(0, _s5_0) : t1);
  97517. break $label0$2;
  97518. }
  97519. _0_4 = B.HwbColorSpace_guQ0 === space;
  97520. if (_0_4 && spaceSetExplicitly) {
  97521. changedColor = A.SassColor_SassColor$hwb0(changedValue.call$1(_s3_), changedValue.call$1(_s9_), changedValue.call$1(_s9_0), changedValue.call$1(_s5_0));
  97522. break $label0$2;
  97523. }
  97524. if (_0_4) {
  97525. t2 = t1.get$hue(options);
  97526. t4 = $.$get$_isNull();
  97527. if (A._asBool(t4.call$1(t2)))
  97528. A.warnForDeprecationFromApi(_s105_, B.Deprecation_FD1);
  97529. else if (A._asBool(t4.call$1(t1.get$whiteness(options))))
  97530. A.warnForDeprecationFromApi("Passing `whiteness: null` without setting `space` is deprecated.\nMore info: https://sass-lang.com/d/color-4-api", B.Deprecation_FD1);
  97531. else if (A._asBool(t4.call$1(t1.get$blackness(options))))
  97532. A.warnForDeprecationFromApi("Passing `blackness: null` without setting `space` is deprecated.\nMore info: https://sass-lang.com/d/color-4-api", B.Deprecation_FD1);
  97533. if (A._asBool(t4.call$1(t1.get$alpha(options))))
  97534. A.warnForDeprecationFromApi(_s106_, B.Deprecation_l0m);
  97535. t2 = t1.get$hue(options);
  97536. if (t2 == null)
  97537. t2 = color.channel$1(0, _s3_);
  97538. t4 = t1.get$whiteness(options);
  97539. if (t4 == null)
  97540. t4 = color.channel$1(0, _s9_);
  97541. t5 = t1.get$blackness(options);
  97542. if (t5 == null)
  97543. t5 = color.channel$1(0, _s9_0);
  97544. t1 = t1.get$alpha(options);
  97545. changedColor = A.SassColor_SassColor$hwb0(t2, t4, t5, t1 == null ? color.channel$1(0, _s5_0) : t1);
  97546. break $label0$2;
  97547. }
  97548. _0_6 = B.RgbColorSpace_i0P0 === space;
  97549. if (_0_6 && spaceSetExplicitly) {
  97550. changedColor = A.SassColor_SassColor$rgbInternal0(changedValue.call$1(_s3_0), changedValue.call$1(_s5_), changedValue.call$1(_s4_), changedValue.call$1(_s5_0), _null);
  97551. break $label0$2;
  97552. }
  97553. if (_0_6) {
  97554. t2 = t1.get$red(options);
  97555. t4 = $.$get$_isNull();
  97556. if (A._asBool(t4.call$1(t2)))
  97557. A.warnForDeprecationFromApi("Passing `red: null` without setting `space` is deprecated.\nMore info: https://sass-lang.com/d/color-4-api", B.Deprecation_FD1);
  97558. else if (A._asBool(t4.call$1(t1.get$green(options))))
  97559. A.warnForDeprecationFromApi("Passing `green: null` without setting `space` is deprecated.\nMore info: https://sass-lang.com/d/color-4-api", B.Deprecation_FD1);
  97560. else if (A._asBool(t4.call$1(t1.get$blue(options))))
  97561. A.warnForDeprecationFromApi("Passing `blue: null` without setting `space` is deprecated.\nMore info: https://sass-lang.com/d/color-4-api", B.Deprecation_FD1);
  97562. if (A._asBool(t4.call$1(t1.get$alpha(options))))
  97563. A.warnForDeprecationFromApi(_s106_, B.Deprecation_l0m);
  97564. t2 = t1.get$red(options);
  97565. if (t2 == null)
  97566. t2 = color.channel$1(0, _s3_0);
  97567. t4 = t1.get$green(options);
  97568. if (t4 == null)
  97569. t4 = color.channel$1(0, _s5_);
  97570. t5 = t1.get$blue(options);
  97571. if (t5 == null)
  97572. t5 = color.channel$1(0, _s4_);
  97573. t1 = t1.get$alpha(options);
  97574. changedColor = A.SassColor_SassColor$rgbInternal0(t2, t4, t5, t1 == null ? color.channel$1(0, _s5_0) : t1, _null);
  97575. break $label0$2;
  97576. }
  97577. if (B.LabColorSpace_2nT0 === space) {
  97578. changedColor = A.SassColor$_forSpace0(B.LabColorSpace_2nT0, changedValue.call$1(_s9_1), changedValue.call$1("a"), changedValue.call$1("b"), changedValue.call$1(_s5_0), _null);
  97579. break $label0$2;
  97580. }
  97581. if (B.OklabColorSpace_5400 === space) {
  97582. changedColor = A.SassColor$_forSpace0(B.OklabColorSpace_5400, changedValue.call$1(_s9_1), changedValue.call$1("a"), changedValue.call$1("b"), changedValue.call$1(_s5_0), _null);
  97583. break $label0$2;
  97584. }
  97585. if (B.LchColorSpace_Bpv0 === space) {
  97586. changedColor = A.SassColor_SassColor$forSpaceInternal0(B.LchColorSpace_Bpv0, changedValue.call$1(_s9_1), changedValue.call$1("chroma"), changedValue.call$1(_s3_), changedValue.call$1(_s5_0));
  97587. break $label0$2;
  97588. }
  97589. if (B.OklchColorSpace_9Gj0 === space) {
  97590. changedColor = A.SassColor_SassColor$forSpaceInternal0(B.OklchColorSpace_9Gj0, changedValue.call$1(_s9_1), changedValue.call$1("chroma"), changedValue.call$1(_s3_), changedValue.call$1(_s5_0));
  97591. break $label0$2;
  97592. }
  97593. if (B.A98RgbColorSpace_lf20 === space) {
  97594. changedColor = A.SassColor$_forSpace0(B.A98RgbColorSpace_lf20, changedValue.call$1(_s3_0), changedValue.call$1(_s5_), changedValue.call$1(_s4_), changedValue.call$1(_s5_0), _null);
  97595. break $label0$2;
  97596. }
  97597. if (B.DisplayP3ColorSpace_MmT0 === space) {
  97598. changedColor = A.SassColor$_forSpace0(B.DisplayP3ColorSpace_MmT0, changedValue.call$1(_s3_0), changedValue.call$1(_s5_), changedValue.call$1(_s4_), changedValue.call$1(_s5_0), _null);
  97599. break $label0$2;
  97600. }
  97601. if (B.ProphotoRgbColorSpace_BDz0 === space) {
  97602. changedColor = A.SassColor$_forSpace0(B.ProphotoRgbColorSpace_BDz0, changedValue.call$1(_s3_0), changedValue.call$1(_s5_), changedValue.call$1(_s4_), changedValue.call$1(_s5_0), _null);
  97603. break $label0$2;
  97604. }
  97605. if (B.Rec2020ColorSpace_6oo0 === space) {
  97606. changedColor = A.SassColor$_forSpace0(B.Rec2020ColorSpace_6oo0, changedValue.call$1(_s3_0), changedValue.call$1(_s5_), changedValue.call$1(_s4_), changedValue.call$1(_s5_0), _null);
  97607. break $label0$2;
  97608. }
  97609. if (B.SrgbColorSpace_thf0 === space) {
  97610. changedColor = A.SassColor$_forSpace0(B.SrgbColorSpace_thf0, changedValue.call$1(_s3_0), changedValue.call$1(_s5_), changedValue.call$1(_s4_), changedValue.call$1(_s5_0), _null);
  97611. break $label0$2;
  97612. }
  97613. if (B.SrgbLinearColorSpace_kUj0 === space) {
  97614. changedColor = A.SassColor$_forSpace0(B.SrgbLinearColorSpace_kUj0, changedValue.call$1(_s3_0), changedValue.call$1(_s5_), changedValue.call$1(_s4_), changedValue.call$1(_s5_0), _null);
  97615. break $label0$2;
  97616. }
  97617. if (B.XyzD50ColorSpace_2OB0 === space) {
  97618. changedColor = A.SassColor_SassColor$forSpaceInternal0(space, changedValue.call$1("x"), changedValue.call$1("y"), changedValue.call$1("z"), changedValue.call$1(_s5_0));
  97619. break $label0$2;
  97620. }
  97621. if (B.XyzD65ColorSpace_WiJ0 === space) {
  97622. changedColor = A.SassColor_SassColor$forSpaceInternal0(space, changedValue.call$1("x"), changedValue.call$1("y"), changedValue.call$1("z"), changedValue.call$1(_s5_0));
  97623. break $label0$2;
  97624. }
  97625. throw A.wrapException("No space set");
  97626. }
  97627. return changedColor.toSpace$1(t3);
  97628. },
  97629. $signature: 407
  97630. };
  97631. A.colorClass___closure.prototype = {
  97632. call$1(channel) {
  97633. return channel.name === this.key;
  97634. },
  97635. $signature: 70
  97636. };
  97637. A.colorClass__closure_changedValue.prototype = {
  97638. call$1(channel) {
  97639. var t2,
  97640. t1 = this.options;
  97641. if (channel in t1) {
  97642. t2 = t1[channel];
  97643. t2 = !A._asBool($.$get$_isUndefined().call$1(t2));
  97644. } else
  97645. t2 = false;
  97646. return t2 ? t1[channel] : this.color.channel$1(0, channel);
  97647. },
  97648. $signature: 408
  97649. };
  97650. A.colorClass__closure9.prototype = {
  97651. call$3($self, color2, options) {
  97652. var interpolationMethod, t2,
  97653. t1 = options == null,
  97654. _1_0 = t1 ? null : J.get$method$x(options);
  97655. if (_1_0 != null)
  97656. interpolationMethod = A.InterpolationMethod$0($self._color0$_space, A.EnumByName_byName(B.List_nm2, _1_0));
  97657. else {
  97658. t2 = $self._color0$_space;
  97659. interpolationMethod = !t2.get$isPolarInternal() ? A.InterpolationMethod$0(t2, null) : A.InterpolationMethod$0(t2, B.HueInterpolationMethod_00);
  97660. }
  97661. return $self.interpolate$3$weight(color2, interpolationMethod, t1 ? null : J.get$weight$x(options));
  97662. },
  97663. call$2($self, color2) {
  97664. return this.call$3($self, color2, null);
  97665. },
  97666. "call*": "call$3",
  97667. $requiredArgCount: 2,
  97668. $defaultValues() {
  97669. return [null];
  97670. },
  97671. $signature: 409
  97672. };
  97673. A.colorClass__closure10.prototype = {
  97674. call$1($self) {
  97675. A.warnForDeprecationFromApi("red is deprecated, use `channel` instead.\nMore info: https://sass-lang.com/d/color-4-api", B.Deprecation_FD1);
  97676. return B.JSNumber_methods.round$0($self._color0$_legacyChannel$2(B.RgbColorSpace_i0P0, "red"));
  97677. },
  97678. $signature: 39
  97679. };
  97680. A.colorClass__closure11.prototype = {
  97681. call$1($self) {
  97682. A.warnForDeprecationFromApi("green is deprecated, use `channel` instead.\nMore info: https://sass-lang.com/d/color-4-api", B.Deprecation_FD1);
  97683. return B.JSNumber_methods.round$0($self._color0$_legacyChannel$2(B.RgbColorSpace_i0P0, "green"));
  97684. },
  97685. $signature: 39
  97686. };
  97687. A.colorClass__closure12.prototype = {
  97688. call$1($self) {
  97689. A.warnForDeprecationFromApi("blue is deprecated, use `channel` instead.\nMore info: https://sass-lang.com/d/color-4-api", B.Deprecation_FD1);
  97690. return B.JSNumber_methods.round$0($self._color0$_legacyChannel$2(B.RgbColorSpace_i0P0, "blue"));
  97691. },
  97692. $signature: 39
  97693. };
  97694. A.colorClass__closure13.prototype = {
  97695. call$1($self) {
  97696. A.warnForDeprecationFromApi("hue is deprecated, use `channel` instead.\nMore info: https://sass-lang.com/d/color-4-api", B.Deprecation_FD1);
  97697. return $self._color0$_legacyChannel$2(B.HslColorSpace_JQ20, "hue");
  97698. },
  97699. $signature: 31
  97700. };
  97701. A.colorClass__closure14.prototype = {
  97702. call$1($self) {
  97703. A.warnForDeprecationFromApi("saturation is deprecated, use `channel` instead.\nMore info: https://sass-lang.com/d/color-4-api", B.Deprecation_FD1);
  97704. return $self._color0$_legacyChannel$2(B.HslColorSpace_JQ20, "saturation");
  97705. },
  97706. $signature: 31
  97707. };
  97708. A.colorClass__closure15.prototype = {
  97709. call$1($self) {
  97710. A.warnForDeprecationFromApi("lightness is deprecated, use `channel` instead.\nMore info: https://sass-lang.com/d/color-4-api", B.Deprecation_FD1);
  97711. return $self._color0$_legacyChannel$2(B.HslColorSpace_JQ20, "lightness");
  97712. },
  97713. $signature: 31
  97714. };
  97715. A.colorClass__closure16.prototype = {
  97716. call$1($self) {
  97717. A.warnForDeprecationFromApi("whiteness is deprecated, use `channel` instead.\nMore info: https://sass-lang.com/d/color-4-api", B.Deprecation_FD1);
  97718. return $self._color0$_legacyChannel$2(B.HwbColorSpace_guQ0, "whiteness");
  97719. },
  97720. $signature: 31
  97721. };
  97722. A.colorClass__closure17.prototype = {
  97723. call$1($self) {
  97724. A.warnForDeprecationFromApi("blackness is deprecated, use `channel` instead.\nMore info: https://sass-lang.com/d/color-4-api", B.Deprecation_FD1);
  97725. return $self._color0$_legacyChannel$2(B.HwbColorSpace_guQ0, "blackness");
  97726. },
  97727. $signature: 31
  97728. };
  97729. A.colorClass__closure18.prototype = {
  97730. call$1($self) {
  97731. var t1 = $self.alphaOrNull;
  97732. return t1 == null ? 0 : t1;
  97733. },
  97734. $signature: 31
  97735. };
  97736. A.colorClass__closure19.prototype = {
  97737. call$1($self) {
  97738. return $self._color0$_space.name;
  97739. },
  97740. $signature: 410
  97741. };
  97742. A.colorClass__closure20.prototype = {
  97743. call$1($self) {
  97744. return $self._color0$_space.get$isLegacyInternal();
  97745. },
  97746. $signature: 411
  97747. };
  97748. A.colorClass__closure21.prototype = {
  97749. call$1($self) {
  97750. return new self.immutable.List($self.get$channelsOrNull());
  97751. },
  97752. $signature: 228
  97753. };
  97754. A.colorClass__closure22.prototype = {
  97755. call$1($self) {
  97756. return new self.immutable.List($self.get$channels());
  97757. },
  97758. $signature: 228
  97759. };
  97760. A._Channels.prototype = {};
  97761. A._ConstructionOptions.prototype = {};
  97762. A._ChannelOptions.prototype = {};
  97763. A._ToGamutOptions.prototype = {};
  97764. A._InterpolationOptions.prototype = {};
  97765. A._NodeSassColor.prototype = {};
  97766. A.legacyColorClass_closure.prototype = {
  97767. call$6(thisArg, redOrArgb, green, blue, alpha, dartValue) {
  97768. var red, t1, t2, t3, t4;
  97769. if (dartValue != null) {
  97770. J.set$dartValue$x(thisArg, dartValue);
  97771. return;
  97772. }
  97773. if (green == null || blue == null) {
  97774. A._asInt(redOrArgb);
  97775. alpha = B.JSInt_methods._shrOtherPositive$1(redOrArgb, 24) / 255;
  97776. red = B.JSInt_methods.$mod(B.JSInt_methods._shrOtherPositive$1(redOrArgb, 16), 256);
  97777. green = B.JSInt_methods.$mod(B.JSInt_methods._shrOtherPositive$1(redOrArgb, 8), 256);
  97778. blue = B.JSInt_methods.$mod(redOrArgb, 256);
  97779. } else {
  97780. redOrArgb.toString;
  97781. red = redOrArgb;
  97782. }
  97783. t1 = A.fuzzyRound0(isNaN(red) ? 0 : B.JSNumber_methods.clamp$2(red, 0, 255));
  97784. t2 = A.fuzzyRound0(isNaN(green) ? 0 : B.JSNumber_methods.clamp$2(green, 0, 255));
  97785. t3 = A.fuzzyRound0(isNaN(blue) ? 0 : B.JSNumber_methods.clamp$2(blue, 0, 255));
  97786. t4 = A.NullableExtension_andThen0(alpha, new A.legacyColorClass__closure());
  97787. J.set$dartValue$x(thisArg, A.SassColor_SassColor$rgbInternal0(t1, t2, t3, t4 == null ? 1 : t4, null));
  97788. },
  97789. call$2(thisArg, redOrArgb) {
  97790. var _null = null;
  97791. return this.call$6(thisArg, redOrArgb, _null, _null, _null, _null);
  97792. },
  97793. call$3(thisArg, redOrArgb, green) {
  97794. return this.call$6(thisArg, redOrArgb, green, null, null, null);
  97795. },
  97796. call$4(thisArg, redOrArgb, green, blue) {
  97797. return this.call$6(thisArg, redOrArgb, green, blue, null, null);
  97798. },
  97799. call$5(thisArg, redOrArgb, green, blue, alpha) {
  97800. return this.call$6(thisArg, redOrArgb, green, blue, alpha, null);
  97801. },
  97802. "call*": "call$6",
  97803. $requiredArgCount: 2,
  97804. $defaultValues() {
  97805. return [null, null, null, null];
  97806. },
  97807. $signature: 413
  97808. };
  97809. A.legacyColorClass__closure.prototype = {
  97810. call$1(alpha) {
  97811. return isNaN(alpha) ? 0 : B.JSNumber_methods.clamp$2(alpha, 0, 1);
  97812. },
  97813. $signature: 414
  97814. };
  97815. A.legacyColorClass_closure0.prototype = {
  97816. call$1(thisArg) {
  97817. return B.JSNumber_methods.round$0(J.get$dartValue$x(thisArg)._color0$_legacyChannel$2(B.RgbColorSpace_i0P0, "red"));
  97818. },
  97819. $signature: 124
  97820. };
  97821. A.legacyColorClass_closure1.prototype = {
  97822. call$1(thisArg) {
  97823. return B.JSNumber_methods.round$0(J.get$dartValue$x(thisArg)._color0$_legacyChannel$2(B.RgbColorSpace_i0P0, "green"));
  97824. },
  97825. $signature: 124
  97826. };
  97827. A.legacyColorClass_closure2.prototype = {
  97828. call$1(thisArg) {
  97829. return B.JSNumber_methods.round$0(J.get$dartValue$x(thisArg)._color0$_legacyChannel$2(B.RgbColorSpace_i0P0, "blue"));
  97830. },
  97831. $signature: 124
  97832. };
  97833. A.legacyColorClass_closure3.prototype = {
  97834. call$1(thisArg) {
  97835. var t1 = J.get$dartValue$x(thisArg).alphaOrNull;
  97836. return t1 == null ? 0 : t1;
  97837. },
  97838. $signature: 416
  97839. };
  97840. A.legacyColorClass_closure4.prototype = {
  97841. call$2(thisArg, value) {
  97842. var t1 = J.getInterceptor$x(thisArg),
  97843. t2 = t1.get$dartValue(thisArg);
  97844. t1.set$dartValue(thisArg, t2.changeRgb$1$red(A.fuzzyRound0(isNaN(value) ? 0 : B.JSNumber_methods.clamp$2(value, 0, 255))));
  97845. },
  97846. $signature: 87
  97847. };
  97848. A.legacyColorClass_closure5.prototype = {
  97849. call$2(thisArg, value) {
  97850. var t1 = J.getInterceptor$x(thisArg),
  97851. t2 = t1.get$dartValue(thisArg);
  97852. t1.set$dartValue(thisArg, t2.changeRgb$1$green(A.fuzzyRound0(isNaN(value) ? 0 : B.JSNumber_methods.clamp$2(value, 0, 255))));
  97853. },
  97854. $signature: 87
  97855. };
  97856. A.legacyColorClass_closure6.prototype = {
  97857. call$2(thisArg, value) {
  97858. var t1 = J.getInterceptor$x(thisArg),
  97859. t2 = t1.get$dartValue(thisArg);
  97860. t1.set$dartValue(thisArg, t2.changeRgb$1$blue(A.fuzzyRound0(isNaN(value) ? 0 : B.JSNumber_methods.clamp$2(value, 0, 255))));
  97861. },
  97862. $signature: 87
  97863. };
  97864. A.legacyColorClass_closure7.prototype = {
  97865. call$2(thisArg, value) {
  97866. var t1 = J.getInterceptor$x(thisArg),
  97867. t2 = t1.get$dartValue(thisArg);
  97868. t1.set$dartValue(thisArg, t2.changeRgb$1$alpha(isNaN(value) ? 0 : B.JSNumber_methods.clamp$2(value, 0, 1)));
  97869. },
  97870. $signature: 87
  97871. };
  97872. A.SassColor0.prototype = {
  97873. get$channels() {
  97874. var t2, t3,
  97875. t1 = this.channel0OrNull;
  97876. if (t1 == null)
  97877. t1 = 0;
  97878. t2 = this.channel1OrNull;
  97879. if (t2 == null)
  97880. t2 = 0;
  97881. t3 = this.channel2OrNull;
  97882. return A.List_List$unmodifiable([t1, t2, t3 == null ? 0 : t3], type$.double);
  97883. },
  97884. get$channelsOrNull() {
  97885. return A.List_List$unmodifiable([this.channel0OrNull, this.channel1OrNull, this.channel2OrNull], type$.nullable_double);
  97886. },
  97887. get$isChannel0Powerless() {
  97888. var t1, t2, _this = this,
  97889. _0_0 = _this._color0$_space;
  97890. $label0$0: {
  97891. if (B.HslColorSpace_JQ20 === _0_0) {
  97892. t1 = _this.channel1OrNull;
  97893. t1 = A.fuzzyEquals0(t1 == null ? 0 : t1, 0);
  97894. break $label0$0;
  97895. }
  97896. if (B.HwbColorSpace_guQ0 === _0_0) {
  97897. t1 = _this.channel1OrNull;
  97898. if (t1 == null)
  97899. t1 = 0;
  97900. t2 = _this.channel2OrNull;
  97901. t1 += t2 == null ? 0 : t2;
  97902. t1 = t1 > 100 || A.fuzzyEquals0(t1, 100);
  97903. break $label0$0;
  97904. }
  97905. t1 = false;
  97906. break $label0$0;
  97907. }
  97908. return t1;
  97909. },
  97910. get$isChannel2Powerless() {
  97911. var t1,
  97912. _0_0 = this._color0$_space;
  97913. $label0$0: {
  97914. if (B.LchColorSpace_Bpv0 === _0_0 || B.OklchColorSpace_9Gj0 === _0_0) {
  97915. t1 = this.channel1OrNull;
  97916. t1 = A.fuzzyEquals0(t1 == null ? 0 : t1, 0);
  97917. break $label0$0;
  97918. }
  97919. t1 = false;
  97920. break $label0$0;
  97921. }
  97922. return t1;
  97923. },
  97924. get$isInGamut() {
  97925. var t2, t3, _this = this,
  97926. t1 = _this._color0$_space;
  97927. if (!t1.get$isBoundedInternal())
  97928. return true;
  97929. t2 = _this.channel0OrNull;
  97930. if (t2 == null)
  97931. t2 = 0;
  97932. t1 = t1._space$_channels;
  97933. t3 = false;
  97934. if (_this._color0$_isChannelInGamut$2(t2, t1[0])) {
  97935. t2 = _this.channel1OrNull;
  97936. if (t2 == null)
  97937. t2 = 0;
  97938. if (_this._color0$_isChannelInGamut$2(t2, t1[1])) {
  97939. t2 = _this.channel2OrNull;
  97940. if (t2 == null)
  97941. t2 = 0;
  97942. t1 = _this._color0$_isChannelInGamut$2(t2, t1[2]);
  97943. } else
  97944. t1 = t3;
  97945. } else
  97946. t1 = t3;
  97947. return t1;
  97948. },
  97949. _color0$_isChannelInGamut$2(value, channel) {
  97950. var min, max, t1;
  97951. $label0$0: {
  97952. if (channel instanceof A.LinearChannel0) {
  97953. min = channel.min;
  97954. max = channel.max;
  97955. if (value < max || A.fuzzyEquals0(value, max))
  97956. t1 = value > min || A.fuzzyEquals0(value, min);
  97957. else
  97958. t1 = false;
  97959. break $label0$0;
  97960. }
  97961. t1 = true;
  97962. break $label0$0;
  97963. }
  97964. return t1;
  97965. },
  97966. accept$1$1(visitor) {
  97967. return visitor.visitColor$1(this);
  97968. },
  97969. accept$1(visitor) {
  97970. return this.accept$1$1(visitor, type$.dynamic);
  97971. },
  97972. assertColor$1($name) {
  97973. return this;
  97974. },
  97975. assertLegacy$1($name) {
  97976. if (this._color0$_space.get$isLegacyInternal())
  97977. return;
  97978. throw A.wrapException(A.SassScriptException$0("Expected " + this.toString$0(0) + string$.x20to_be, $name));
  97979. },
  97980. channel$1(_, channel) {
  97981. var t1, _this = this,
  97982. channels = _this._color0$_space._space$_channels;
  97983. if (channel === channels[0].name) {
  97984. t1 = _this.channel0OrNull;
  97985. return t1 == null ? 0 : t1;
  97986. }
  97987. if (channel === channels[1].name) {
  97988. t1 = _this.channel1OrNull;
  97989. return t1 == null ? 0 : t1;
  97990. }
  97991. if (channel === channels[2].name) {
  97992. t1 = _this.channel2OrNull;
  97993. return t1 == null ? 0 : t1;
  97994. }
  97995. if (channel === "alpha") {
  97996. t1 = _this.alphaOrNull;
  97997. return t1 == null ? 0 : t1;
  97998. }
  97999. throw A.wrapException(A.SassScriptException$0("Color " + _this.toString$0(0) + " doesn't have a channel named \"" + channel + '".', null));
  98000. },
  98001. isChannelMissing$3$channelName$colorName(channel, channelName, colorName) {
  98002. var _this = this,
  98003. channels = _this._color0$_space._space$_channels;
  98004. if (channel === channels[0].name)
  98005. return _this.channel0OrNull == null;
  98006. if (channel === channels[1].name)
  98007. return _this.channel1OrNull == null;
  98008. if (channel === channels[2].name)
  98009. return _this.channel2OrNull == null;
  98010. if (channel === "alpha")
  98011. return _this.alphaOrNull == null;
  98012. throw A.wrapException(A.SassScriptException$0("Color " + _this.toString$0(0) + " doesn't have a channel named \"" + channel + '".', channelName));
  98013. },
  98014. isChannelMissing$1(channel) {
  98015. return this.isChannelMissing$3$channelName$colorName(channel, null, null);
  98016. },
  98017. isChannelPowerless$3$channelName$colorName(channel, channelName, colorName) {
  98018. var _this = this,
  98019. channels = _this._color0$_space._space$_channels;
  98020. if (channel === channels[0].name)
  98021. return _this.get$isChannel0Powerless();
  98022. if (channel === channels[1].name)
  98023. return false;
  98024. if (channel === channels[2].name)
  98025. return _this.get$isChannel2Powerless();
  98026. if (channel === "alpha")
  98027. return false;
  98028. throw A.wrapException(A.SassScriptException$0("Color " + _this.toString$0(0) + " doesn't have a channel named \"" + channel + '".', channelName));
  98029. },
  98030. isChannelPowerless$1(channel) {
  98031. return this.isChannelPowerless$3$channelName$colorName(channel, null, null);
  98032. },
  98033. _color0$_legacyChannel$2(space, channel) {
  98034. if (!this._color0$_space.get$isLegacyInternal())
  98035. throw A.wrapException(A.SassScriptException$0("color." + channel + string$.x28__is_oc, null));
  98036. return this.toSpace$1(space).channel$1(0, channel);
  98037. },
  98038. toSpace$2$legacyMissing(space, legacyMissing) {
  98039. var t2, converted, t3, t4, _this = this,
  98040. t1 = _this._color0$_space;
  98041. if (t1 === space)
  98042. return _this;
  98043. t2 = _this.alphaOrNull;
  98044. if (t2 == null)
  98045. t2 = 0;
  98046. converted = t1.convert$5(space, _this.channel0OrNull, _this.channel1OrNull, _this.channel2OrNull, t2);
  98047. t1 = false;
  98048. if (!legacyMissing)
  98049. if (converted._color0$_space.get$isLegacyInternal())
  98050. t1 = converted.channel0OrNull == null || converted.channel1OrNull == null || converted.channel2OrNull == null || converted.alphaOrNull == null;
  98051. if (t1) {
  98052. t1 = converted.channel0OrNull;
  98053. if (t1 == null)
  98054. t1 = 0;
  98055. t2 = converted.channel1OrNull;
  98056. if (t2 == null)
  98057. t2 = 0;
  98058. t3 = converted.channel2OrNull;
  98059. if (t3 == null)
  98060. t3 = 0;
  98061. t4 = converted.alphaOrNull;
  98062. if (t4 == null)
  98063. t4 = 0;
  98064. t4 = A.SassColor_SassColor$forSpaceInternal0(converted._color0$_space, t1, t2, t3, t4);
  98065. t1 = t4;
  98066. } else
  98067. t1 = converted;
  98068. return t1;
  98069. },
  98070. toSpace$1(space) {
  98071. return this.toSpace$2$legacyMissing(space, true);
  98072. },
  98073. changeRgb$4$alpha$blue$green$red(alpha, blue, green, red) {
  98074. var t1, t2, t3, t4, _this = this, _null = null;
  98075. if (!_this._color0$_space.get$isLegacyInternal())
  98076. throw A.wrapException(A.SassScriptException$0("color.changeRgb() is only supported for legacy colors. Please use color.changeChannels() instead with an explicit $space argument.", _null));
  98077. t1 = red == null ? _null : red;
  98078. if (t1 == null)
  98079. t1 = _this.channel$1(0, "red");
  98080. t2 = green == null ? _null : green;
  98081. if (t2 == null)
  98082. t2 = _this.channel$1(0, "green");
  98083. t3 = blue == null ? _null : blue;
  98084. if (t3 == null)
  98085. t3 = _this.channel$1(0, "blue");
  98086. t4 = alpha == null ? _null : alpha;
  98087. if (t4 == null) {
  98088. t4 = _this.alphaOrNull;
  98089. if (t4 == null)
  98090. t4 = 0;
  98091. }
  98092. return A.SassColor_SassColor$rgbInternal0(t1, t2, t3, t4, _null);
  98093. },
  98094. changeRgb$1$alpha(alpha) {
  98095. return this.changeRgb$4$alpha$blue$green$red(alpha, null, null, null);
  98096. },
  98097. changeRgb$1$blue(blue) {
  98098. return this.changeRgb$4$alpha$blue$green$red(null, blue, null, null);
  98099. },
  98100. changeRgb$1$green(green) {
  98101. return this.changeRgb$4$alpha$blue$green$red(null, null, green, null);
  98102. },
  98103. changeRgb$1$red(red) {
  98104. return this.changeRgb$4$alpha$blue$green$red(null, null, null, red);
  98105. },
  98106. changeHsl$3$hue$lightness$saturation(hue, lightness, saturation) {
  98107. var t2, t3, t4, t5, _this = this, _null = null,
  98108. t1 = _this._color0$_space;
  98109. if (!t1.get$isLegacyInternal())
  98110. throw A.wrapException(A.SassScriptException$0(string$.color_c, _null));
  98111. t2 = hue == null ? _null : hue;
  98112. if (t2 == null)
  98113. t2 = _this._color0$_legacyChannel$2(B.HslColorSpace_JQ20, "hue");
  98114. t3 = saturation == null ? _null : saturation;
  98115. if (t3 == null)
  98116. t3 = _this._color0$_legacyChannel$2(B.HslColorSpace_JQ20, "saturation");
  98117. t4 = lightness == null ? _null : lightness;
  98118. if (t4 == null)
  98119. t4 = _this._color0$_legacyChannel$2(B.HslColorSpace_JQ20, "lightness");
  98120. t5 = _this.alphaOrNull;
  98121. if (t5 == null)
  98122. t5 = 0;
  98123. return A.SassColor_SassColor$hsl0(t2, t3, t4, t5).toSpace$1(t1);
  98124. },
  98125. changeHsl$1$saturation(saturation) {
  98126. return this.changeHsl$3$hue$lightness$saturation(null, null, saturation);
  98127. },
  98128. changeHsl$1$lightness(lightness) {
  98129. return this.changeHsl$3$hue$lightness$saturation(null, lightness, null);
  98130. },
  98131. changeHsl$1$hue(hue) {
  98132. return this.changeHsl$3$hue$lightness$saturation(hue, null, null);
  98133. },
  98134. changeAlpha$1(alpha) {
  98135. var t2, t3, _this = this,
  98136. t1 = _this.channel0OrNull;
  98137. if (t1 == null)
  98138. t1 = 0;
  98139. t2 = _this.channel1OrNull;
  98140. if (t2 == null)
  98141. t2 = 0;
  98142. t3 = _this.channel2OrNull;
  98143. if (t3 == null)
  98144. t3 = 0;
  98145. return A.SassColor_SassColor$forSpaceInternal0(_this._color0$_space, t1, t2, t3, alpha);
  98146. },
  98147. interpolate$4$legacyMissing$weight(other, method, legacyMissing, weight) {
  98148. var t1, color1, color2, missing1_0, missing1_1, missing1_2, missing2_0, missing2_1, missing2_2, channel1_0, channel1_1, channel1_2, channel2_0, channel2_1, channel2_2, alpha1, t2, t3, alpha10, alpha2, alpha20, thisMultiplier, t4, t5, otherMultiplier, mixedAlpha, mixed0, mixed1, mixed2, _this = this, _null = null;
  98149. if (weight == null)
  98150. weight = 0.5;
  98151. if (A.fuzzyEquals0(weight, 0))
  98152. return other;
  98153. if (A.fuzzyEquals0(weight, 1))
  98154. return _this;
  98155. t1 = method.space;
  98156. color1 = _this.toSpace$1(t1);
  98157. color2 = other.toSpace$1(t1);
  98158. if (weight < 0 || weight > 1)
  98159. throw A.wrapException(A.RangeError$range(weight, 0, 1, "weight", _null));
  98160. missing1_0 = _this._color0$_isAnalogousChannelMissing$3(_this, color1, 0);
  98161. missing1_1 = _this._color0$_isAnalogousChannelMissing$3(_this, color1, 1);
  98162. missing1_2 = _this._color0$_isAnalogousChannelMissing$3(_this, color1, 2);
  98163. missing2_0 = _this._color0$_isAnalogousChannelMissing$3(other, color2, 0);
  98164. missing2_1 = _this._color0$_isAnalogousChannelMissing$3(other, color2, 1);
  98165. missing2_2 = _this._color0$_isAnalogousChannelMissing$3(other, color2, 2);
  98166. channel1_0 = (missing1_0 ? color2 : color1).channel0OrNull;
  98167. if (channel1_0 == null)
  98168. channel1_0 = 0;
  98169. channel1_1 = (missing1_1 ? color2 : color1).channel1OrNull;
  98170. if (channel1_1 == null)
  98171. channel1_1 = 0;
  98172. channel1_2 = (missing1_2 ? color2 : color1).channel2OrNull;
  98173. if (channel1_2 == null)
  98174. channel1_2 = 0;
  98175. channel2_0 = (missing2_0 ? color1 : color2).channel0OrNull;
  98176. if (channel2_0 == null)
  98177. channel2_0 = 0;
  98178. channel2_1 = (missing2_1 ? color1 : color2).channel1OrNull;
  98179. if (channel2_1 == null)
  98180. channel2_1 = 0;
  98181. channel2_2 = (missing2_2 ? color1 : color2).channel2OrNull;
  98182. if (channel2_2 == null)
  98183. channel2_2 = 0;
  98184. alpha1 = _this.alphaOrNull;
  98185. t2 = alpha1 == null;
  98186. if (t2) {
  98187. t3 = other.alphaOrNull;
  98188. alpha10 = t3 == null ? 0 : t3;
  98189. } else
  98190. alpha10 = alpha1;
  98191. alpha2 = other.alphaOrNull;
  98192. t3 = alpha2 == null;
  98193. if (t3)
  98194. alpha20 = t2 ? 0 : alpha1;
  98195. else
  98196. alpha20 = alpha2;
  98197. thisMultiplier = (t2 ? 1 : alpha1) * weight;
  98198. t4 = t3 ? 1 : alpha2;
  98199. t5 = 1 - weight;
  98200. otherMultiplier = t4 * t5;
  98201. mixedAlpha = t2 && t3 ? _null : alpha10 * weight + alpha20 * t5;
  98202. if (missing1_0 && missing2_0)
  98203. mixed0 = _null;
  98204. else {
  98205. t2 = mixedAlpha == null ? 1 : mixedAlpha;
  98206. mixed0 = (channel1_0 * thisMultiplier + channel2_0 * otherMultiplier) / t2;
  98207. }
  98208. if (missing1_1 && missing2_1)
  98209. mixed1 = _null;
  98210. else {
  98211. t2 = mixedAlpha == null ? 1 : mixedAlpha;
  98212. mixed1 = (channel1_1 * thisMultiplier + channel2_1 * otherMultiplier) / t2;
  98213. }
  98214. if (missing1_2 && missing2_2)
  98215. mixed2 = _null;
  98216. else {
  98217. t2 = mixedAlpha == null ? 1 : mixedAlpha;
  98218. mixed2 = (channel1_2 * thisMultiplier + channel2_2 * otherMultiplier) / t2;
  98219. }
  98220. $label0$0: {
  98221. if (B.HslColorSpace_JQ20 === t1 || B.HwbColorSpace_guQ0 === t1) {
  98222. if (missing1_0 && missing2_0)
  98223. t2 = _null;
  98224. else {
  98225. t2 = method.hue;
  98226. t2.toString;
  98227. t2 = _this._color0$_interpolateHues$4(channel1_0, channel2_0, t2, weight);
  98228. }
  98229. t2 = A.SassColor_SassColor$forSpaceInternal0(t1, t2, mixed1, mixed2, mixedAlpha);
  98230. t1 = t2;
  98231. break $label0$0;
  98232. }
  98233. if (B.LchColorSpace_Bpv0 === t1 || B.OklchColorSpace_9Gj0 === t1) {
  98234. if (missing1_2 && missing2_2)
  98235. t2 = _null;
  98236. else {
  98237. t2 = method.hue;
  98238. t2.toString;
  98239. t2 = _this._color0$_interpolateHues$4(channel1_2, channel2_2, t2, weight);
  98240. }
  98241. t2 = A.SassColor_SassColor$forSpaceInternal0(t1, mixed0, mixed1, t2, mixedAlpha);
  98242. t1 = t2;
  98243. break $label0$0;
  98244. }
  98245. t1 = A.SassColor_SassColor$forSpaceInternal0(t1, mixed0, mixed1, mixed2, mixedAlpha);
  98246. break $label0$0;
  98247. }
  98248. return t1.toSpace$2$legacyMissing(_this._color0$_space, legacyMissing);
  98249. },
  98250. interpolate$3$weight(other, method, weight) {
  98251. return this.interpolate$4$legacyMissing$weight(other, method, true, weight);
  98252. },
  98253. _color0$_isAnalogousChannelMissing$3(original, output, outputChannelIndex) {
  98254. var originalChannel;
  98255. if (output.get$channelsOrNull()[outputChannelIndex] == null)
  98256. return true;
  98257. if (original === output)
  98258. return false;
  98259. originalChannel = A.IterableExtension_firstWhereOrNull(original._color0$_space._space$_channels, output._color0$_space._space$_channels[outputChannelIndex].get$isAnalogous());
  98260. if (originalChannel == null)
  98261. return false;
  98262. return original.isChannelMissing$1(originalChannel.name);
  98263. },
  98264. _color0$_interpolateHues$4(hue1, hue2, method, weight) {
  98265. var _0_0, _1_0;
  98266. $label1$1: {
  98267. if (B.HueInterpolationMethod_00 === method) {
  98268. $label0$0: {
  98269. _0_0 = hue2 - hue1;
  98270. if (_0_0 > 180) {
  98271. hue1 += 360;
  98272. break $label0$0;
  98273. }
  98274. if (_0_0 < -180)
  98275. hue2 += 360;
  98276. }
  98277. break $label1$1;
  98278. }
  98279. if (B.HueInterpolationMethod_10 === method) {
  98280. $label2$2: {
  98281. _1_0 = hue2 - hue1;
  98282. if (_1_0 > 0 && _1_0 < 180) {
  98283. hue2 += 360;
  98284. break $label2$2;
  98285. }
  98286. if (_1_0 > -180 && _1_0 <= 0)
  98287. hue1 += 360;
  98288. }
  98289. break $label1$1;
  98290. }
  98291. if (B.HueInterpolationMethod_20 === method && hue2 < hue1) {
  98292. hue2 += 360;
  98293. break $label1$1;
  98294. }
  98295. if (B.HueInterpolationMethod_30 === method && hue1 < hue2) {
  98296. hue1 += 360;
  98297. break $label1$1;
  98298. }
  98299. }
  98300. return hue1 * weight + hue2 * (1 - weight);
  98301. },
  98302. plus$1(other) {
  98303. if (!(other instanceof A.SassNumber0) && !(other instanceof A.SassColor0))
  98304. return this.super$Value$plus0(other);
  98305. throw A.wrapException(A.SassScriptException$0('Undefined operation "' + this.toString$0(0) + " + " + other.toString$0(0) + '".', null));
  98306. },
  98307. minus$1(other) {
  98308. if (!(other instanceof A.SassNumber0) && !(other instanceof A.SassColor0))
  98309. return this.super$Value$minus0(other);
  98310. throw A.wrapException(A.SassScriptException$0('Undefined operation "' + this.toString$0(0) + " - " + other.toString$0(0) + '".', null));
  98311. },
  98312. dividedBy$1(other) {
  98313. if (!(other instanceof A.SassNumber0) && !(other instanceof A.SassColor0))
  98314. return this.super$Value$dividedBy0(other);
  98315. throw A.wrapException(A.SassScriptException$0('Undefined operation "' + this.toString$0(0) + " / " + other.toString$0(0) + '".', null));
  98316. },
  98317. $eq(_, other) {
  98318. var t1, t2, _this = this;
  98319. if (other == null)
  98320. return false;
  98321. if (!(other instanceof A.SassColor0))
  98322. return false;
  98323. t1 = _this._color0$_space;
  98324. if (t1.get$isLegacyInternal()) {
  98325. t2 = other._color0$_space;
  98326. if (!t2.get$isLegacyInternal())
  98327. return false;
  98328. if (!A.fuzzyEqualsNullable0(_this.alphaOrNull, other.alphaOrNull))
  98329. return false;
  98330. if (t1 === t2)
  98331. return A.fuzzyEqualsNullable0(_this.channel0OrNull, other.channel0OrNull) && A.fuzzyEqualsNullable0(_this.channel1OrNull, other.channel1OrNull) && A.fuzzyEqualsNullable0(_this.channel2OrNull, other.channel2OrNull);
  98332. else
  98333. return _this.toSpace$1(B.RgbColorSpace_i0P0).$eq(0, other.toSpace$1(B.RgbColorSpace_i0P0));
  98334. }
  98335. return t1 === other._color0$_space && A.fuzzyEqualsNullable0(_this.channel0OrNull, other.channel0OrNull) && A.fuzzyEqualsNullable0(_this.channel1OrNull, other.channel1OrNull) && A.fuzzyEqualsNullable0(_this.channel2OrNull, other.channel2OrNull) && A.fuzzyEqualsNullable0(_this.alphaOrNull, other.alphaOrNull);
  98336. },
  98337. get$hashCode(_) {
  98338. var rgb, t2, t3, t4, t5, _this = this,
  98339. t1 = _this._color0$_space;
  98340. if (t1.get$isLegacyInternal()) {
  98341. rgb = _this.toSpace$1(B.RgbColorSpace_i0P0);
  98342. t1 = rgb.channel0OrNull;
  98343. t1 = A.fuzzyHashCode0(t1 == null ? 0 : t1);
  98344. t2 = rgb.channel1OrNull;
  98345. t2 = A.fuzzyHashCode0(t2 == null ? 0 : t2);
  98346. t3 = rgb.channel2OrNull;
  98347. t3 = A.fuzzyHashCode0(t3 == null ? 0 : t3);
  98348. t4 = _this.alphaOrNull;
  98349. return t1 ^ t2 ^ t3 ^ A.fuzzyHashCode0(t4 == null ? 0 : t4);
  98350. } else {
  98351. t1 = A.Primitives_objectHashCode(t1);
  98352. t2 = _this.channel0OrNull;
  98353. t2 = A.fuzzyHashCode0(t2 == null ? 0 : t2);
  98354. t3 = _this.channel1OrNull;
  98355. t3 = A.fuzzyHashCode0(t3 == null ? 0 : t3);
  98356. t4 = _this.channel2OrNull;
  98357. t4 = A.fuzzyHashCode0(t4 == null ? 0 : t4);
  98358. t5 = _this.alphaOrNull;
  98359. return (t1 ^ t2 ^ t3 ^ t4 ^ A.fuzzyHashCode0(t5 == null ? 0 : t5)) >>> 0;
  98360. }
  98361. }
  98362. };
  98363. A.SassColor$_forSpace_closure0.prototype = {
  98364. call$1(alpha) {
  98365. return A.fuzzyAssertRange0(alpha, 0, 1, "alpha");
  98366. },
  98367. $signature: 16
  98368. };
  98369. A._ColorFormatEnum0.prototype = {
  98370. toString$0(_) {
  98371. return "rgbFunction";
  98372. }
  98373. };
  98374. A.SpanColorFormat0.prototype = {};
  98375. A.Combinator0.prototype = {
  98376. _enumToString$0() {
  98377. return "Combinator." + this._name;
  98378. },
  98379. toString$0(_) {
  98380. return this._combinator0$_text;
  98381. }
  98382. };
  98383. A.ModifiableCssComment0.prototype = {
  98384. accept$1$1(visitor) {
  98385. return visitor.visitCssComment$1(this);
  98386. },
  98387. accept$1(visitor) {
  98388. return this.accept$1$1(visitor, type$.dynamic);
  98389. },
  98390. $isCssComment0: 1,
  98391. get$span(receiver) {
  98392. return this.span;
  98393. }
  98394. };
  98395. A.compileAsync_closure.prototype = {
  98396. call$0() {
  98397. var $async$goto = 0,
  98398. $async$completer = A._makeAsyncAwaitCompleter(type$.NodeCompileResult),
  98399. $async$returnValue, $async$self = this, t5, t6, t7, t8, t9, t10, t11, t12, t13, result, t1, t2, t3, t4;
  98400. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  98401. if ($async$errorCode === 1)
  98402. return A._asyncRethrow($async$result, $async$completer);
  98403. while (true)
  98404. switch ($async$goto) {
  98405. case 0:
  98406. // Function start
  98407. t1 = $async$self.options;
  98408. t2 = t1 == null;
  98409. t3 = t2 ? null : J.get$loadPaths$x(t1);
  98410. t4 = t2 ? null : J.get$quietDeps$x(t1);
  98411. if (t4 == null)
  98412. t4 = false;
  98413. t5 = A._parseOutputStyle0(t2 ? null : J.get$style$x(t1));
  98414. t6 = t2 ? null : J.get$verbose$x(t1);
  98415. if (t6 == null)
  98416. t6 = false;
  98417. t7 = t2 ? null : J.get$charset$x(t1);
  98418. if (t7 == null)
  98419. t7 = true;
  98420. t8 = t2 ? null : J.get$sourceMap$x(t1);
  98421. if (t8 == null)
  98422. t8 = false;
  98423. t9 = $async$self.logger;
  98424. if (t2)
  98425. t10 = null;
  98426. else {
  98427. t10 = J.get$importers$x(t1);
  98428. t10 = t10 == null ? null : J.map$1$1$ax(t10, new A.compileAsync__closure(), type$.AsyncImporter);
  98429. }
  98430. t11 = A._parseFunctions0(t2 ? null : J.get$functions$x(t1), true);
  98431. t12 = A.parseDeprecations(t9, t2 ? null : J.get$fatalDeprecations$x(t1), true);
  98432. t13 = A.parseDeprecations(t9, t2 ? null : J.get$silenceDeprecations$x(t1), false);
  98433. $async$goto = 3;
  98434. return A._asyncAwait(A.compileAsync0($async$self.path, t7, t12, t11, A.parseDeprecations(t9, t2 ? null : J.get$futureDeprecations$x(t1), false), A.AsyncImportCache$(t10, t3, null), null, null, t9, null, t4, t13, t8, t5, null, true, t6), $async$call$0);
  98435. case 3:
  98436. // returning from await.
  98437. result = $async$result;
  98438. t1 = t2 ? null : J.get$sourceMapIncludeSources$x(t1);
  98439. $async$returnValue = A._convertResult(result, t1 == null ? false : t1);
  98440. // goto return
  98441. $async$goto = 1;
  98442. break;
  98443. case 1:
  98444. // return
  98445. return A._asyncReturn($async$returnValue, $async$completer);
  98446. }
  98447. });
  98448. return A._asyncStartSync($async$call$0, $async$completer);
  98449. },
  98450. $signature: 230
  98451. };
  98452. A.compileAsync__closure.prototype = {
  98453. call$1(importer) {
  98454. return A._parseAsyncImporter(importer);
  98455. },
  98456. $signature: 231
  98457. };
  98458. A.compileStringAsync_closure.prototype = {
  98459. call$0() {
  98460. var $async$goto = 0,
  98461. $async$completer = A._makeAsyncAwaitCompleter(type$.NodeCompileResult),
  98462. $async$returnValue, $async$self = this, t7, t8, t9, t10, t11, t12, t13, t14, t15, t16, result, t1, t2, t3, t4, t5, t6;
  98463. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  98464. if ($async$errorCode === 1)
  98465. return A._asyncRethrow($async$result, $async$completer);
  98466. while (true)
  98467. switch ($async$goto) {
  98468. case 0:
  98469. // Function start
  98470. t1 = $async$self.options;
  98471. t2 = t1 == null;
  98472. t3 = A.parseSyntax(t2 ? null : J.get$syntax$x(t1));
  98473. t4 = t2 ? null : A.NullableExtension_andThen0(J.get$url$x(t1), A.utils3__jsToDartUrl$closure());
  98474. t5 = t2 ? null : J.get$loadPaths$x(t1);
  98475. t6 = t2 ? null : J.get$quietDeps$x(t1);
  98476. if (t6 == null)
  98477. t6 = false;
  98478. t7 = A._parseOutputStyle0(t2 ? null : J.get$style$x(t1));
  98479. t8 = t2 ? null : J.get$verbose$x(t1);
  98480. if (t8 == null)
  98481. t8 = false;
  98482. t9 = t2 ? null : J.get$charset$x(t1);
  98483. if (t9 == null)
  98484. t9 = true;
  98485. t10 = t2 ? null : J.get$sourceMap$x(t1);
  98486. if (t10 == null)
  98487. t10 = false;
  98488. t11 = $async$self.logger;
  98489. if (t2)
  98490. t12 = null;
  98491. else {
  98492. t12 = J.get$importers$x(t1);
  98493. t12 = t12 == null ? null : J.map$1$1$ax(t12, new A.compileStringAsync__closure(), type$.AsyncImporter);
  98494. }
  98495. t13 = t2 ? null : A.NullableExtension_andThen0(J.get$importer$x(t1), new A.compileStringAsync__closure0());
  98496. if (t13 == null)
  98497. t13 = (t2 ? null : J.get$url$x(t1)) == null ? new A.NoOpImporter0() : null;
  98498. t14 = A._parseFunctions0(t2 ? null : J.get$functions$x(t1), true);
  98499. t15 = A.parseDeprecations(t11, t2 ? null : J.get$fatalDeprecations$x(t1), true);
  98500. t16 = A.parseDeprecations(t11, t2 ? null : J.get$silenceDeprecations$x(t1), false);
  98501. $async$goto = 3;
  98502. return A._asyncAwait(A.compileStringAsync0($async$self.text, t9, t15, t14, A.parseDeprecations(t11, t2 ? null : J.get$futureDeprecations$x(t1), false), A.AsyncImportCache$(t12, t5, null), t13, null, null, t11, null, t6, t16, t10, t7, t3, t4, true, t8), $async$call$0);
  98503. case 3:
  98504. // returning from await.
  98505. result = $async$result;
  98506. t1 = t2 ? null : J.get$sourceMapIncludeSources$x(t1);
  98507. $async$returnValue = A._convertResult(result, t1 == null ? false : t1);
  98508. // goto return
  98509. $async$goto = 1;
  98510. break;
  98511. case 1:
  98512. // return
  98513. return A._asyncReturn($async$returnValue, $async$completer);
  98514. }
  98515. });
  98516. return A._asyncStartSync($async$call$0, $async$completer);
  98517. },
  98518. $signature: 230
  98519. };
  98520. A.compileStringAsync__closure.prototype = {
  98521. call$1(importer) {
  98522. return A._parseAsyncImporter(importer);
  98523. },
  98524. $signature: 231
  98525. };
  98526. A.compileStringAsync__closure0.prototype = {
  98527. call$1(importer) {
  98528. return A._parseAsyncImporter(importer);
  98529. },
  98530. $signature: 420
  98531. };
  98532. A._wrapAsyncSassExceptions_closure.prototype = {
  98533. call$1(error) {
  98534. var t1;
  98535. if (error instanceof A.SassException0)
  98536. t1 = A.throwNodeException(error, this.ascii, this.color, null);
  98537. else
  98538. t1 = A.jsThrow(error == null ? type$.Object._as(error) : error);
  98539. return t1;
  98540. },
  98541. $signature: 421
  98542. };
  98543. A._parseFunctions_closure0.prototype = {
  98544. call$2(signature, callback) {
  98545. var callable,
  98546. t1 = this.result;
  98547. if (!this.asynch) {
  98548. callable = A._Cell$();
  98549. callable.__late_helper$_value = A.Callable_Callable$fromSignature(signature, new A._parseFunctions__closure2(callback, callable), true);
  98550. t1.push(callable._readLocal$0());
  98551. } else {
  98552. callable = A._Cell$();
  98553. callable.__late_helper$_value = A.AsyncCallable_AsyncCallable$fromSignature(signature, new A._parseFunctions__closure3(callback, callable), true);
  98554. t1.push(callable._readLocal$0());
  98555. }
  98556. },
  98557. $signature: 126
  98558. };
  98559. A._parseFunctions__closure2.prototype = {
  98560. call$1($arguments) {
  98561. var t1, t2,
  98562. _s42_ = string$.Invali,
  98563. result = A.wrapJSExceptions(new A._parseFunctions___closure6(this.callback, $arguments));
  98564. if (result instanceof A.Value0)
  98565. return A._simplifyValue(result);
  98566. t1 = result != null && result instanceof self.Promise;
  98567. t2 = this.callable;
  98568. if (t1) {
  98569. t1 = t2.readLocal$0();
  98570. throw A.wrapException(_s42_ + t1.get$name(t1) + '":\nPromises may only be returned for sass.compileAsync() and sass.compileStringAsync().');
  98571. } else {
  98572. t1 = t2.readLocal$0();
  98573. throw A.wrapException(_s42_ + t1.get$name(t1) + '": ' + A.S(result) + " is not a sass.Value.");
  98574. }
  98575. },
  98576. $signature: 3
  98577. };
  98578. A._parseFunctions___closure6.prototype = {
  98579. call$0() {
  98580. return type$.Function._as(this.callback).call$1(A.toJSArray(this.$arguments));
  98581. },
  98582. $signature: 58
  98583. };
  98584. A._parseFunctions__closure3.prototype = {
  98585. call$1($arguments) {
  98586. return this.$call$body$_parseFunctions__closure0($arguments);
  98587. },
  98588. $call$body$_parseFunctions__closure0($arguments) {
  98589. var $async$goto = 0,
  98590. $async$completer = A._makeAsyncAwaitCompleter(type$.Value_2),
  98591. $async$returnValue, $async$self = this, t1, result;
  98592. var $async$call$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  98593. if ($async$errorCode === 1)
  98594. return A._asyncRethrow($async$result, $async$completer);
  98595. while (true)
  98596. switch ($async$goto) {
  98597. case 0:
  98598. // Function start
  98599. result = A.wrapJSExceptions(new A._parseFunctions___closure5($async$self.callback, $arguments));
  98600. $async$goto = result != null && result instanceof self.Promise ? 3 : 4;
  98601. break;
  98602. case 3:
  98603. // then
  98604. $async$goto = 5;
  98605. return A._asyncAwait(A.promiseToFuture0(type$.Promise._as(result), type$.Object), $async$call$1);
  98606. case 5:
  98607. // returning from await.
  98608. result = $async$result;
  98609. case 4:
  98610. // join
  98611. if (result instanceof A.Value0) {
  98612. $async$returnValue = A._simplifyValue(result);
  98613. // goto return
  98614. $async$goto = 1;
  98615. break;
  98616. }
  98617. t1 = $async$self.callable.readLocal$0();
  98618. throw A.wrapException(string$.Invali + t1.get$name(t1) + '": ' + A.S(result) + " is not a sass.Value.");
  98619. case 1:
  98620. // return
  98621. return A._asyncReturn($async$returnValue, $async$completer);
  98622. }
  98623. });
  98624. return A._asyncStartSync($async$call$1, $async$completer);
  98625. },
  98626. $signature: 86
  98627. };
  98628. A._parseFunctions___closure5.prototype = {
  98629. call$0() {
  98630. return type$.Function._as(this.callback).call$1(A.toJSArray(this.$arguments));
  98631. },
  98632. $signature: 58
  98633. };
  98634. A.nodePackageImporterClass_closure.prototype = {
  98635. call$0() {
  98636. return type$.JSClass._as(A.allowInteropCaptureThisNamed("sass.NodePackageImporter", new A.nodePackageImporterClass__closure()));
  98637. },
  98638. $signature: 15
  98639. };
  98640. A.nodePackageImporterClass__closure.prototype = {
  98641. call$2($self, entrypointDirectory) {
  98642. var directory, t1, filename, t2, _null = null,
  98643. _0_3 = A.entrypointFilename();
  98644. $label0$0: {
  98645. if (entrypointDirectory != null) {
  98646. directory = entrypointDirectory == null ? A._asString(entrypointDirectory) : entrypointDirectory;
  98647. t1 = directory;
  98648. break $label0$0;
  98649. }
  98650. if (_0_3 != null) {
  98651. filename = _0_3 == null ? A._asString(_0_3) : _0_3;
  98652. t1 = $.$get$context().dirname$1(filename);
  98653. break $label0$0;
  98654. }
  98655. t1 = A.throwExpression("The Node package importer cannot determine an entry point because `require.main.filename` is not defined. Please provide an `entryPointDirectory` to the `NodePackageImporter`.");
  98656. }
  98657. t2 = new A.NodePackageImporter0();
  98658. if (A.isBrowser())
  98659. A.throwExpression(string$.The_No);
  98660. t2._node_package$__NodePackageImporter__entryPointDirectory_F = A.absolute(t1, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null);
  98661. return t2;
  98662. },
  98663. call$1($self) {
  98664. return this.call$2($self, null);
  98665. },
  98666. "call*": "call$2",
  98667. $requiredArgCount: 1,
  98668. $defaultValues() {
  98669. return [null];
  98670. },
  98671. $signature: 423
  98672. };
  98673. A._compileStylesheet_closure1.prototype = {
  98674. call$1(url) {
  98675. 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);
  98676. },
  98677. $signature: 6
  98678. };
  98679. A.CompileOptions.prototype = {};
  98680. A.CompileStringOptions.prototype = {};
  98681. A.NodeCompileResult.prototype = {};
  98682. A.CompileResult0.prototype = {};
  98683. A.Compiler.prototype = {};
  98684. A.AsyncCompiler.prototype = {
  98685. addCompilation$1(compilation) {
  98686. this.compilations.add$1(0, A.promiseToFuture(compilation, type$.dynamic).catchError$1(new A.AsyncCompiler_addCompilation_closure()));
  98687. }
  98688. };
  98689. A.AsyncCompiler_addCompilation_closure.prototype = {
  98690. call$1(err) {
  98691. },
  98692. $signature: 62
  98693. };
  98694. A.compilerClass_closure.prototype = {
  98695. call$0() {
  98696. var t1 = type$.JSClass,
  98697. jsClass = t1._as(A.allowInteropCaptureThisNamed("sass.Compiler", new A.compilerClass__closure()));
  98698. A.LinkedHashMap_LinkedHashMap$_literal(["compile", new A.compilerClass__closure0(), "compileString", new A.compilerClass__closure1(), "dispose", new A.compilerClass__closure2()], type$.String, type$.Function).forEach$1(0, A.JSClassExtension_get_defineMethod(jsClass));
  98699. A.JSClassExtension_injectSuperclass(t1._as(new A.Compiler().constructor), jsClass);
  98700. return jsClass;
  98701. },
  98702. $signature: 15
  98703. };
  98704. A.compilerClass__closure.prototype = {
  98705. call$1($self) {
  98706. return A.LinkedHashSet_LinkedHashSet$_literal([A.jsThrow(new self.Error("Compiler can not be directly constructed. Please use `sass.initCompiler()` instead."))], type$.Never);
  98707. },
  98708. $signature: 232
  98709. };
  98710. A.compilerClass__closure0.prototype = {
  98711. call$3($self, path, options) {
  98712. if ($self._disposed)
  98713. A.jsThrow(new self.Error("Compiler has already been disposed."));
  98714. return A.compile0(path, options);
  98715. },
  98716. call$2($self, path) {
  98717. return this.call$3($self, path, null);
  98718. },
  98719. "call*": "call$3",
  98720. $requiredArgCount: 2,
  98721. $defaultValues() {
  98722. return [null];
  98723. },
  98724. $signature: 425
  98725. };
  98726. A.compilerClass__closure1.prototype = {
  98727. call$3($self, source, options) {
  98728. if ($self._disposed)
  98729. A.jsThrow(new self.Error("Compiler has already been disposed."));
  98730. return A.compileString0(source, options);
  98731. },
  98732. call$2($self, source) {
  98733. return this.call$3($self, source, null);
  98734. },
  98735. "call*": "call$3",
  98736. $requiredArgCount: 2,
  98737. $defaultValues() {
  98738. return [null];
  98739. },
  98740. $signature: 426
  98741. };
  98742. A.compilerClass__closure2.prototype = {
  98743. call$1($self) {
  98744. $self._disposed = true;
  98745. },
  98746. $signature: 427
  98747. };
  98748. A.asyncCompilerClass_closure.prototype = {
  98749. call$0() {
  98750. var t1 = type$.JSClass,
  98751. jsClass = t1._as(A.allowInteropCaptureThisNamed("sass.AsyncCompiler", new A.asyncCompilerClass__closure()));
  98752. A.LinkedHashMap_LinkedHashMap$_literal(["compileAsync", new A.asyncCompilerClass__closure0(), "compileStringAsync", new A.asyncCompilerClass__closure1(), "dispose", new A.asyncCompilerClass__closure2()], type$.String, type$.Function).forEach$1(0, A.JSClassExtension_get_defineMethod(jsClass));
  98753. A.JSClassExtension_injectSuperclass(t1._as(new A.AsyncCompiler(new A.FutureGroup(new A._AsyncCompleter(new A._Future($.Zone__current, type$._Future_List_void), type$._AsyncCompleter_List_void), [], type$.FutureGroup_void)).constructor), jsClass);
  98754. return jsClass;
  98755. },
  98756. $signature: 15
  98757. };
  98758. A.asyncCompilerClass__closure.prototype = {
  98759. call$1($self) {
  98760. return A.LinkedHashSet_LinkedHashSet$_literal([A.jsThrow(new self.Error("AsyncCompiler can not be directly constructed. Please use `sass.initAsyncCompiler()` instead."))], type$.Never);
  98761. },
  98762. $signature: 232
  98763. };
  98764. A.asyncCompilerClass__closure0.prototype = {
  98765. call$3($self, path, options) {
  98766. var compilation;
  98767. if ($self._disposed)
  98768. A.jsThrow(new self.Error("Compiler has already been disposed."));
  98769. compilation = A.compileAsync1(path, options);
  98770. $self.addCompilation$1(compilation);
  98771. return compilation;
  98772. },
  98773. call$2($self, path) {
  98774. return this.call$3($self, path, null);
  98775. },
  98776. "call*": "call$3",
  98777. $requiredArgCount: 2,
  98778. $defaultValues() {
  98779. return [null];
  98780. },
  98781. $signature: 428
  98782. };
  98783. A.asyncCompilerClass__closure1.prototype = {
  98784. call$3($self, source, options) {
  98785. var compilation;
  98786. if ($self._disposed)
  98787. A.jsThrow(new self.Error("Compiler has already been disposed."));
  98788. compilation = A.compileStringAsync1(source, options);
  98789. $self.addCompilation$1(compilation);
  98790. return compilation;
  98791. },
  98792. call$2($self, source) {
  98793. return this.call$3($self, source, null);
  98794. },
  98795. "call*": "call$3",
  98796. $requiredArgCount: 2,
  98797. $defaultValues() {
  98798. return [null];
  98799. },
  98800. $signature: 429
  98801. };
  98802. A.asyncCompilerClass__closure2.prototype = {
  98803. call$1($self) {
  98804. $self._disposed = true;
  98805. return A.futureToPromise0(new A.asyncCompilerClass___closure($self).call$0());
  98806. },
  98807. $signature: 430
  98808. };
  98809. A.asyncCompilerClass___closure.prototype = {
  98810. call$0() {
  98811. var $async$goto = 0,
  98812. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  98813. $async$self = this, t1;
  98814. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  98815. if ($async$errorCode === 1)
  98816. return A._asyncRethrow($async$result, $async$completer);
  98817. while (true)
  98818. switch ($async$goto) {
  98819. case 0:
  98820. // Function start
  98821. t1 = $async$self.self.compilations;
  98822. t1.close$0(0);
  98823. $async$goto = 2;
  98824. return A._asyncAwait(t1._future_group$_completer.future, $async$call$0);
  98825. case 2:
  98826. // returning from await.
  98827. // implicit return
  98828. return A._asyncReturn(null, $async$completer);
  98829. }
  98830. });
  98831. return A._asyncStartSync($async$call$0, $async$completer);
  98832. },
  98833. $signature: 2
  98834. };
  98835. A.initAsyncCompiler_closure.prototype = {
  98836. call$0() {
  98837. var $async$goto = 0,
  98838. $async$completer = A._makeAsyncAwaitCompleter(type$.AsyncCompiler),
  98839. $async$returnValue;
  98840. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  98841. if ($async$errorCode === 1)
  98842. return A._asyncRethrow($async$result, $async$completer);
  98843. while (true)
  98844. switch ($async$goto) {
  98845. case 0:
  98846. // Function start
  98847. $async$returnValue = new A.AsyncCompiler(new A.FutureGroup(new A._AsyncCompleter(new A._Future($.Zone__current, type$._Future_List_void), type$._AsyncCompleter_List_void), [], type$.FutureGroup_void));
  98848. // goto return
  98849. $async$goto = 1;
  98850. break;
  98851. case 1:
  98852. // return
  98853. return A._asyncReturn($async$returnValue, $async$completer);
  98854. }
  98855. });
  98856. return A._asyncStartSync($async$call$0, $async$completer);
  98857. },
  98858. $signature: 431
  98859. };
  98860. A.ComplexSassNumber0.prototype = {
  98861. get$numeratorUnits(_) {
  98862. return this._complex0$_numeratorUnits;
  98863. },
  98864. get$denominatorUnits(_) {
  98865. return this._complex0$_denominatorUnits;
  98866. },
  98867. get$hasUnits() {
  98868. return true;
  98869. },
  98870. get$hasComplexUnits() {
  98871. return true;
  98872. },
  98873. hasUnit$1(unit) {
  98874. return false;
  98875. },
  98876. compatibleWithUnit$1(unit) {
  98877. return false;
  98878. },
  98879. hasPossiblyCompatibleUnits$1(other) {
  98880. throw A.wrapException(A.UnimplementedError$(string$.Comple));
  98881. },
  98882. withValue$1(value) {
  98883. return new A.ComplexSassNumber0(this._complex0$_numeratorUnits, this._complex0$_denominatorUnits, value, null);
  98884. },
  98885. withSlash$2(numerator, denominator) {
  98886. return new A.ComplexSassNumber0(this._complex0$_numeratorUnits, this._complex0$_denominatorUnits, this._number1$_value, new A._Record_2(numerator, denominator));
  98887. }
  98888. };
  98889. A.ComplexSelector0.prototype = {
  98890. get$specificity() {
  98891. var result, _this = this,
  98892. value = _this._complex$__ComplexSelector_specificity_FI;
  98893. if (value === $) {
  98894. result = B.JSArray_methods.fold$2(_this.components, 0, new A.ComplexSelector_specificity_closure0());
  98895. _this._complex$__ComplexSelector_specificity_FI !== $ && A.throwUnnamedLateFieldADI();
  98896. _this._complex$__ComplexSelector_specificity_FI = result;
  98897. value = result;
  98898. }
  98899. return value;
  98900. },
  98901. get$singleCompound() {
  98902. var _0_0, t1, _0_4, selector;
  98903. if (this.leadingCombinators.length !== 0)
  98904. return null;
  98905. _0_0 = this.components;
  98906. $label0$0: {
  98907. t1 = false;
  98908. if (_0_0.length === 1) {
  98909. _0_4 = _0_0[0];
  98910. selector = _0_4.selector;
  98911. t1 = _0_4.combinators.length <= 0;
  98912. } else
  98913. selector = null;
  98914. if (t1) {
  98915. t1 = selector;
  98916. break $label0$0;
  98917. }
  98918. t1 = null;
  98919. break $label0$0;
  98920. }
  98921. return t1;
  98922. },
  98923. accept$1$1(visitor) {
  98924. return visitor.visitComplexSelector$1(this);
  98925. },
  98926. accept$1(visitor) {
  98927. return this.accept$1$1(visitor, type$.dynamic);
  98928. },
  98929. isSuperselector$1(other) {
  98930. return this.leadingCombinators.length === 0 && other.leadingCombinators.length === 0 && A.complexIsSuperselector0(this.components, other.components);
  98931. },
  98932. withAdditionalCombinators$1(combinators) {
  98933. var _0_0, _0_1, t1, initial, last, _this = this;
  98934. if (combinators.length === 0)
  98935. return _this;
  98936. _0_0 = _this.components;
  98937. $label0$0: {
  98938. _0_1 = _0_0.length;
  98939. if (_0_1 >= 1) {
  98940. t1 = _0_1 - 1;
  98941. initial = B.JSArray_methods.sublist$2(_0_0, 0, t1);
  98942. last = _0_0[t1];
  98943. t1 = A.List_List$_of(initial, type$.ComplexSelectorComponent_2);
  98944. t1.push(last.withAdditionalCombinators$1(combinators));
  98945. t1 = A.ComplexSelector$0(_this.leadingCombinators, t1, _this.span, _this.lineBreak);
  98946. break $label0$0;
  98947. }
  98948. if (_0_1 <= 0) {
  98949. t1 = A.List_List$_of(_this.leadingCombinators, type$.CssValue_Combinator_2);
  98950. B.JSArray_methods.addAll$1(t1, combinators);
  98951. t1 = A.ComplexSelector$0(t1, B.List_empty18, _this.span, _this.lineBreak);
  98952. break $label0$0;
  98953. }
  98954. t1 = null;
  98955. }
  98956. return t1;
  98957. },
  98958. concatenate$3$forceLineBreak(child, span, forceLineBreak) {
  98959. var t2, _0_1, initial, last, _this = this,
  98960. t1 = child.leadingCombinators,
  98961. _0_0 = _this.components;
  98962. if (t1.length === 0) {
  98963. t1 = A.List_List$_of(_0_0, type$.ComplexSelectorComponent_2);
  98964. B.JSArray_methods.addAll$1(t1, child.components);
  98965. t2 = _this.lineBreak || child.lineBreak || forceLineBreak;
  98966. return A.ComplexSelector$0(_this.leadingCombinators, t1, span, t2);
  98967. } else {
  98968. _0_1 = _0_0.length;
  98969. if (_0_1 >= 1) {
  98970. t2 = _0_1 - 1;
  98971. initial = B.JSArray_methods.sublist$2(_0_0, 0, t2);
  98972. last = _0_0[t2];
  98973. t2 = A.List_List$_of(initial, type$.ComplexSelectorComponent_2);
  98974. t2.push(last.withAdditionalCombinators$1(t1));
  98975. B.JSArray_methods.addAll$1(t2, child.components);
  98976. t1 = _this.lineBreak || child.lineBreak || forceLineBreak;
  98977. return A.ComplexSelector$0(_this.leadingCombinators, t2, span, t1);
  98978. } else {
  98979. t2 = A.List_List$_of(_this.leadingCombinators, type$.CssValue_Combinator_2);
  98980. B.JSArray_methods.addAll$1(t2, t1);
  98981. t1 = _this.lineBreak || child.lineBreak || forceLineBreak;
  98982. return A.ComplexSelector$0(t2, child.components, span, t1);
  98983. }
  98984. }
  98985. },
  98986. concatenate$2(child, span) {
  98987. return this.concatenate$3$forceLineBreak(child, span, false);
  98988. },
  98989. get$hashCode(_) {
  98990. return B.C_ListEquality0.hash$1(this.leadingCombinators) ^ B.C_ListEquality0.hash$1(this.components);
  98991. },
  98992. $eq(_, other) {
  98993. if (other == null)
  98994. return false;
  98995. 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);
  98996. }
  98997. };
  98998. A.ComplexSelector_specificity_closure0.prototype = {
  98999. call$2(sum, component) {
  99000. return sum + component.selector.get$specificity();
  99001. },
  99002. $signature: 432
  99003. };
  99004. A.ComplexSelectorComponent0.prototype = {
  99005. withAdditionalCombinators$1(combinators) {
  99006. var t1, t2, _this = this;
  99007. if (combinators.length === 0)
  99008. t1 = _this;
  99009. else {
  99010. t1 = type$.CssValue_Combinator_2;
  99011. t2 = A.List_List$_of(_this.combinators, t1);
  99012. B.JSArray_methods.addAll$1(t2, combinators);
  99013. t1 = new A.ComplexSelectorComponent0(_this.selector, A.List_List$unmodifiable(t2, t1), _this.span);
  99014. }
  99015. return t1;
  99016. },
  99017. get$hashCode(_) {
  99018. return B.C_ListEquality0.hash$1(this.selector.components) ^ B.C_ListEquality0.hash$1(this.combinators);
  99019. },
  99020. $eq(_, other) {
  99021. var t1;
  99022. if (other == null)
  99023. return false;
  99024. if (other instanceof A.ComplexSelectorComponent0) {
  99025. t1 = B.C_ListEquality.equals$2(0, this.selector.components, other.selector.components);
  99026. t1 = t1 && B.C_ListEquality.equals$2(0, this.combinators, other.combinators);
  99027. } else
  99028. t1 = false;
  99029. return t1;
  99030. },
  99031. toString$0(_) {
  99032. var t1 = this.combinators;
  99033. 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, "");
  99034. }
  99035. };
  99036. A.ComplexSelectorComponent_toString_closure0.prototype = {
  99037. call$1(combinator) {
  99038. return " " + combinator.toString$0(0);
  99039. },
  99040. $signature: 433
  99041. };
  99042. A.CompoundSelector0.prototype = {
  99043. get$specificity() {
  99044. var result, _this = this,
  99045. value = _this._compound$__CompoundSelector_specificity_FI;
  99046. if (value === $) {
  99047. result = B.JSArray_methods.fold$2(_this.components, 0, new A.CompoundSelector_specificity_closure0());
  99048. _this._compound$__CompoundSelector_specificity_FI !== $ && A.throwUnnamedLateFieldADI();
  99049. _this._compound$__CompoundSelector_specificity_FI = result;
  99050. value = result;
  99051. }
  99052. return value;
  99053. },
  99054. get$hasComplicatedSuperselectorSemantics() {
  99055. var result, _this = this,
  99056. value = _this._compound$__CompoundSelector_hasComplicatedSuperselectorSemantics_FI;
  99057. if (value === $) {
  99058. result = B.JSArray_methods.any$1(_this.components, new A.CompoundSelector_hasComplicatedSuperselectorSemantics_closure0());
  99059. _this._compound$__CompoundSelector_hasComplicatedSuperselectorSemantics_FI !== $ && A.throwUnnamedLateFieldADI();
  99060. _this._compound$__CompoundSelector_hasComplicatedSuperselectorSemantics_FI = result;
  99061. value = result;
  99062. }
  99063. return value;
  99064. },
  99065. accept$1$1(visitor) {
  99066. return visitor.visitCompoundSelector$1(this);
  99067. },
  99068. accept$1(visitor) {
  99069. return this.accept$1$1(visitor, type$.dynamic);
  99070. },
  99071. get$hashCode(_) {
  99072. return B.C_ListEquality0.hash$1(this.components);
  99073. },
  99074. $eq(_, other) {
  99075. if (other == null)
  99076. return false;
  99077. return other instanceof A.CompoundSelector0 && B.C_ListEquality.equals$2(0, this.components, other.components);
  99078. }
  99079. };
  99080. A.CompoundSelector_specificity_closure0.prototype = {
  99081. call$2(sum, component) {
  99082. return sum + component.get$specificity();
  99083. },
  99084. $signature: 434
  99085. };
  99086. A.CompoundSelector_hasComplicatedSuperselectorSemantics_closure0.prototype = {
  99087. call$1(component) {
  99088. return component.get$hasComplicatedSuperselectorSemantics();
  99089. },
  99090. $signature: 14
  99091. };
  99092. A.Configuration0.prototype = {
  99093. throughForward$1($forward) {
  99094. var _0_0, _1_0, _2_0, t1, hiddenVariables,
  99095. newValues = this._configuration0$_values;
  99096. if (newValues.get$isEmpty(newValues))
  99097. return B.Configuration_Map_empty_null0;
  99098. _0_0 = $forward.prefix;
  99099. if (_0_0 != null)
  99100. newValues = new A.UnprefixedMapView0(newValues, _0_0, type$.UnprefixedMapView_ConfiguredValue_2);
  99101. _1_0 = $forward.shownVariables;
  99102. if (_1_0 != null)
  99103. newValues = new A.LimitedMapView0(newValues, _1_0._base.intersection$1(new A.MapKeySet(newValues, type$.MapKeySet_nullable_Object)), type$.LimitedMapView_String_ConfiguredValue_2);
  99104. else {
  99105. _2_0 = $forward.hiddenVariables;
  99106. if (_2_0 != null) {
  99107. t1 = _2_0._base.get$isNotEmpty(0);
  99108. hiddenVariables = _2_0;
  99109. } else {
  99110. hiddenVariables = null;
  99111. t1 = false;
  99112. }
  99113. if (t1)
  99114. newValues = A.LimitedMapView$blocklist0(newValues, hiddenVariables, type$.String, type$.ConfiguredValue_2);
  99115. }
  99116. return this._configuration0$_withValues$1(newValues);
  99117. },
  99118. _configuration0$_withValues$1(values) {
  99119. var t1 = this._configuration0$__originalConfiguration;
  99120. return new A.Configuration0(values, t1 == null ? this : t1);
  99121. },
  99122. toString$0(_) {
  99123. var t2, t3,
  99124. t1 = A._setArrayType([], type$.JSArray_String);
  99125. for (t2 = A.MapExtensions_get_pairs0(new A.UnmodifiableMapView(this._configuration0$_values, type$.UnmodifiableMapView_String_ConfiguredValue_2), type$.String, type$.ConfiguredValue_2), t2 = t2.get$iterator(t2); t2.moveNext$0();) {
  99126. t3 = t2.get$current(t2);
  99127. t1.push("$" + t3._0 + ": " + t3._1.toString$0(0));
  99128. }
  99129. return "(" + B.JSArray_methods.join$1(t1, ",") + ")";
  99130. }
  99131. };
  99132. A.ExplicitConfiguration0.prototype = {
  99133. _configuration0$_withValues$1(values) {
  99134. var t1 = this._configuration0$__originalConfiguration;
  99135. if (t1 == null)
  99136. t1 = this;
  99137. return new A.ExplicitConfiguration0(this.nodeWithSpan, values, t1);
  99138. }
  99139. };
  99140. A.ConfiguredValue0.prototype = {
  99141. toString$0(_) {
  99142. return this.value.toString$0(0);
  99143. }
  99144. };
  99145. A.ConfiguredVariable0.prototype = {
  99146. toString$0(_) {
  99147. var t1 = this.expression.toString$0(0),
  99148. t2 = this.isGuarded ? " !default" : "";
  99149. return "$" + this.name + ": " + t1 + t2;
  99150. },
  99151. $isAstNode0: 1,
  99152. $isSassNode: 1,
  99153. get$span(receiver) {
  99154. return this.span;
  99155. }
  99156. };
  99157. A.ContentBlock0.prototype = {
  99158. accept$1$1(visitor) {
  99159. return visitor.visitContentBlock$1(0, this);
  99160. },
  99161. accept$1(visitor) {
  99162. return this.accept$1$1(visitor, type$.dynamic);
  99163. },
  99164. toString$0(_) {
  99165. var t2,
  99166. t1 = this.parameters;
  99167. t1 = t1.parameters.length === 0 && t1.restParameter == null ? "" : " using (" + t1.toString$0(0) + ")";
  99168. t2 = this.children;
  99169. return t1 + (" {" + (t2 && B.JSArray_methods).join$1(t2, " ") + "}");
  99170. }
  99171. };
  99172. A.ContentRule0.prototype = {
  99173. accept$1$1(visitor) {
  99174. return visitor.visitContentRule$1(0, this);
  99175. },
  99176. accept$1(visitor) {
  99177. return this.accept$1$1(visitor, type$.dynamic);
  99178. },
  99179. toString$0(_) {
  99180. var t1 = this.$arguments;
  99181. return t1.get$isEmpty(0) ? "@content;" : "@content(" + t1.toString$0(0) + ");";
  99182. },
  99183. get$span(receiver) {
  99184. return this.span;
  99185. }
  99186. };
  99187. A._disallowedFunctionNames_closure0.prototype = {
  99188. call$1($function) {
  99189. return $function.name;
  99190. },
  99191. $signature: 435
  99192. };
  99193. A.CssParser0.prototype = {
  99194. get$plainCss() {
  99195. return true;
  99196. },
  99197. silentComment$0() {
  99198. var t1, t2, _this = this;
  99199. if (_this._stylesheet0$_inExpression)
  99200. return false;
  99201. t1 = _this.scanner;
  99202. t2 = t1._string_scanner$_position;
  99203. _this.super$Parser$silentComment0();
  99204. _this.error$2(0, string$.Silent, t1.spanFrom$1(new A._SpanScannerState(t1, t2)));
  99205. },
  99206. atRule$2$root(child, root) {
  99207. var $name, _0_0, _this = this,
  99208. t1 = _this.scanner,
  99209. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  99210. t1.expectChar$1(64);
  99211. $name = _this.interpolatedIdentifier$0();
  99212. _this.whitespace$1$consumeNewlines(true);
  99213. _0_0 = $name.get$asPlain();
  99214. $label0$0: {
  99215. if ("at-root" === _0_0 || "content" === _0_0 || "debug" === _0_0 || "each" === _0_0 || "error" === _0_0 || "extend" === _0_0 || "for" === _0_0 || "function" === _0_0 || "if" === _0_0 || "include" === _0_0 || "mixin" === _0_0 || "return" === _0_0 || "warn" === _0_0 || "while" === _0_0)
  99216. _this._css$_forbiddenAtRule$1(start);
  99217. if ("import" === _0_0) {
  99218. t1 = _this._css$_cssImportRule$1(start);
  99219. break $label0$0;
  99220. }
  99221. if ("media" === _0_0) {
  99222. t1 = _this.mediaRule$1(start);
  99223. break $label0$0;
  99224. }
  99225. if ("-moz-document" === _0_0) {
  99226. t1 = _this.mozDocumentRule$2(start, $name);
  99227. break $label0$0;
  99228. }
  99229. if ("supports" === _0_0) {
  99230. t1 = _this.supportsRule$1(start);
  99231. break $label0$0;
  99232. }
  99233. t1 = _this.unknownAtRule$2(start, $name);
  99234. break $label0$0;
  99235. }
  99236. return t1;
  99237. },
  99238. _css$_forbiddenAtRule$1(start) {
  99239. this.almostAnyValue$0();
  99240. this.error$2(0, "This at-rule isn't allowed in plain CSS.", this.scanner.spanFrom$1(start));
  99241. },
  99242. _css$_cssImportRule$1(start) {
  99243. var _0_0, t3, string, $name, _0_3, _0_4, t4, _0_8, t5, modifiers, _this = this,
  99244. t1 = _this.scanner,
  99245. t2 = t1._string_scanner$_position,
  99246. _1_0 = t1.peekChar$0();
  99247. $label1$1: {
  99248. if (117 === _1_0 || 85 === _1_0) {
  99249. _0_0 = _this.dynamicUrl$0();
  99250. $label0$0: {
  99251. if (_0_0 instanceof A.StringExpression0) {
  99252. t3 = _0_0.text;
  99253. break $label0$0;
  99254. }
  99255. string = null;
  99256. t3 = false;
  99257. if (_0_0 instanceof A.InterpolatedFunctionExpression0) {
  99258. $name = _0_0.name;
  99259. _0_3 = _0_0.$arguments;
  99260. _0_4 = _0_3.positional;
  99261. t4 = _0_4;
  99262. if (t4.length === 1) {
  99263. _0_8 = _0_4[0];
  99264. t4 = _0_8;
  99265. if (t4 instanceof A.StringExpression0) {
  99266. type$.StringExpression_2._as(_0_8);
  99267. t4 = _0_3.named;
  99268. if (t4.get$isEmpty(t4))
  99269. if (_0_3.rest == null)
  99270. t3 = _0_3.keywordRest == null;
  99271. string = _0_8;
  99272. }
  99273. }
  99274. } else
  99275. $name = null;
  99276. if (t3) {
  99277. t3 = new A.StringBuffer("");
  99278. t4 = new A.InterpolationBuffer0(t3, A._setArrayType([], type$.JSArray_Object), A._setArrayType([], type$.JSArray_nullable_FileSpan));
  99279. t4.addInterpolation$1($name);
  99280. t5 = A.Primitives_stringFromCharCode(40);
  99281. t3._contents += t5;
  99282. t4.addInterpolation$1(string.asInterpolation$0());
  99283. t5 = A.Primitives_stringFromCharCode(41);
  99284. t3._contents += t5;
  99285. t4 = t4.interpolation$1(_0_0.span);
  99286. t3 = t4;
  99287. break $label0$0;
  99288. }
  99289. t3 = _this.error$2(0, "Unsupported plain CSS import.", _0_0.get$span(_0_0));
  99290. }
  99291. break $label1$1;
  99292. }
  99293. t3 = _this.interpolatedString$0().asInterpolation$1$static(true);
  99294. break $label1$1;
  99295. }
  99296. _this.whitespace$1$consumeNewlines(true);
  99297. modifiers = _this.tryImportModifiers$0();
  99298. _this.expectStatementSeparator$1("@import rule");
  99299. t2 = A._setArrayType([new A.StaticImport0(t3, modifiers, t1.spanFrom$1(new A._SpanScannerState(t1, t2)))], type$.JSArray_Import_2);
  99300. t1 = t1.spanFrom$1(start);
  99301. return new A.ImportRule0(A.List_List$unmodifiable(t2, type$.Import_2), t1);
  99302. },
  99303. parentheses$0() {
  99304. var expression,
  99305. t1 = this.scanner,
  99306. t2 = t1._string_scanner$_position;
  99307. t1.expectChar$1(40);
  99308. this.whitespace$1$consumeNewlines(true);
  99309. expression = this.expressionUntilComma$0();
  99310. t1.expectChar$1(41);
  99311. return new A.ParenthesizedExpression0(expression, t1.spanFrom$1(new A._SpanScannerState(t1, t2)));
  99312. },
  99313. identifierLike$0() {
  99314. var t2, allowEmptySecondArg, $arguments, t3, t4, _this = this,
  99315. t1 = _this.scanner,
  99316. start = new A._SpanScannerState(t1, t1._string_scanner$_position),
  99317. identifier = _this.interpolatedIdentifier$0(),
  99318. plain = identifier.get$asPlain(),
  99319. lower = plain.toLowerCase(),
  99320. _0_0 = _this.trySpecialFunction$2(lower, start);
  99321. if (_0_0 != null)
  99322. return _0_0;
  99323. t2 = t1._string_scanner$_position;
  99324. if (t1.scanChar$1(46))
  99325. return _this.namespacedExpression$2(plain, start);
  99326. if (!t1.scanChar$1(40))
  99327. return new A.StringExpression0(identifier, false);
  99328. allowEmptySecondArg = lower === "var";
  99329. $arguments = A._setArrayType([], type$.JSArray_Expression_2);
  99330. if (!t1.scanChar$1(41)) {
  99331. do {
  99332. _this.whitespace$1$consumeNewlines(true);
  99333. if (allowEmptySecondArg && $arguments.length === 1 && t1.peekChar$0() === 41) {
  99334. t3 = A.FileLocation$_(t1._sourceFile, t1._string_scanner$_position);
  99335. t4 = t3.offset;
  99336. t4 = A._FileSpan$(t3.file, t4, t4);
  99337. $arguments.push(new A.StringExpression0(new A.Interpolation0(A.List_List$unmodifiable([""], type$.Object), B.List_null, t4), false));
  99338. break;
  99339. }
  99340. $arguments.push(_this.expressionUntilComma$1$singleEquals(true));
  99341. _this.whitespace$1$consumeNewlines(true);
  99342. } while (t1.scanChar$1(44));
  99343. t1.expectChar$1(41);
  99344. }
  99345. if ($.$get$_disallowedFunctionNames0().contains$1(0, plain))
  99346. _this.error$2(0, string$.This_f, t1.spanFrom$1(start));
  99347. t2 = t1.spanFrom$1(new A._SpanScannerState(t1, t2));
  99348. t3 = type$.Expression_2;
  99349. t4 = A.List_List$unmodifiable($arguments, t3);
  99350. t3 = A.ConstantMap_ConstantMap$from(B.Map_empty14, type$.String, t3);
  99351. t1 = t1.spanFrom$1(start);
  99352. return new A.FunctionExpression0(null, A.stringReplaceAllUnchecked(plain, "_", "-"), plain, new A.ArgumentList0(t4, t3, null, null, t2), t1);
  99353. },
  99354. namespacedExpression$2(namespace, start) {
  99355. var expression = this.super$StylesheetParser$namespacedExpression0(namespace, start);
  99356. this.error$2(0, string$.Modulen, expression.get$span(expression));
  99357. }
  99358. };
  99359. A.DebugRule0.prototype = {
  99360. accept$1$1(visitor) {
  99361. return visitor.visitDebugRule$1(0, this);
  99362. },
  99363. accept$1(visitor) {
  99364. return this.accept$1$1(visitor, type$.dynamic);
  99365. },
  99366. toString$0(_) {
  99367. return "@debug " + this.expression.toString$0(0) + ";";
  99368. },
  99369. get$span(receiver) {
  99370. return this.span;
  99371. }
  99372. };
  99373. A.ModifiableCssDeclaration0.prototype = {
  99374. accept$1$1(visitor) {
  99375. return visitor.visitCssDeclaration$1(this);
  99376. },
  99377. accept$1(visitor) {
  99378. return this.accept$1$1(visitor, type$.dynamic);
  99379. },
  99380. toString$0(_) {
  99381. return this.name.toString$0(0) + ": " + this.value.toString$0(0) + ";";
  99382. },
  99383. get$span(receiver) {
  99384. return this.span;
  99385. }
  99386. };
  99387. A.Declaration0.prototype = {
  99388. accept$1$1(visitor) {
  99389. return visitor.visitDeclaration$1(0, this);
  99390. },
  99391. accept$1(visitor) {
  99392. return this.accept$1$1(visitor, type$.dynamic);
  99393. },
  99394. toString$0(_) {
  99395. var t3, _0_0,
  99396. buffer = new A.StringBuffer(""),
  99397. t1 = this.name,
  99398. t2 = "" + t1.toString$0(0);
  99399. buffer._contents = t2;
  99400. t2 = buffer._contents = t2 + A.Primitives_stringFromCharCode(58);
  99401. t3 = this.value;
  99402. if (t3 != null) {
  99403. t1 = !B.JSString_methods.startsWith$1(t1.get$initialPlain(), "--") ? buffer._contents = t2 + A.Primitives_stringFromCharCode(32) : t2;
  99404. buffer._contents = t1 + t3.toString$0(0);
  99405. }
  99406. _0_0 = this.children;
  99407. if (_0_0 != null)
  99408. return buffer.toString$0(0) + " {" + B.JSArray_methods.join$1(_0_0, " ") + "}";
  99409. else
  99410. return buffer.toString$0(0) + ";";
  99411. },
  99412. get$span(receiver) {
  99413. return this.span;
  99414. }
  99415. };
  99416. A.SupportsDeclaration0.prototype = {
  99417. get$isCustomProperty() {
  99418. var t1,
  99419. _0_0 = this.name;
  99420. $label0$0: {
  99421. if (_0_0 instanceof A.StringExpression0 && !_0_0.hasQuotes) {
  99422. t1 = B.JSString_methods.startsWith$1(_0_0.text.get$initialPlain(), "--");
  99423. break $label0$0;
  99424. }
  99425. t1 = false;
  99426. break $label0$0;
  99427. }
  99428. return t1;
  99429. },
  99430. toInterpolation$0() {
  99431. var visitor, _1_0, _null = null,
  99432. t1 = new A.StringBuffer(""),
  99433. t2 = type$.JSArray_Object,
  99434. t3 = type$.JSArray_nullable_FileSpan,
  99435. buffer = new A.InterpolationBuffer0(t1, A._setArrayType([], t2), A._setArrayType([], t3)),
  99436. t4 = this.span,
  99437. t5 = this.name,
  99438. t6 = A.SpanExtensions_before(t4, t5.get$span(t5));
  99439. t6 = A.String_String$fromCharCodes(B.NativeUint32List_methods.sublist$2(t6.file._decodedChars, t6._file$_start, t6._end), 0, _null);
  99440. t1._contents += t6;
  99441. if (t5 instanceof A.StringExpression0 && !t5.hasQuotes)
  99442. buffer.addInterpolation$1(t5.text);
  99443. else
  99444. buffer.add$2(0, t5, t5.get$span(t5));
  99445. t6 = this.value;
  99446. t5 = A.SpanExtensions_between(t5.get$span(t5), t6.get$span(t6));
  99447. t5 = A.String_String$fromCharCodes(B.NativeUint32List_methods.sublist$2(t5.file._decodedChars, t5._file$_start, t5._end), 0, _null);
  99448. t1._contents += t5;
  99449. visitor = new A.SourceInterpolationVisitor(new A.InterpolationBuffer0(new A.StringBuffer(""), A._setArrayType([], t2), A._setArrayType([], t3)));
  99450. t6.accept$1(visitor);
  99451. t3 = visitor.buffer;
  99452. _1_0 = t3 == null ? _null : t3.interpolation$1(t6.get$span(t6));
  99453. if (_1_0 != null)
  99454. buffer.addInterpolation$1(_1_0);
  99455. else
  99456. buffer.add$2(0, t6, t6.get$span(t6));
  99457. t2 = A.SpanExtensions_after(t4, t6.get$span(t6));
  99458. t2 = A.String_String$fromCharCodes(B.NativeUint32List_methods.sublist$2(t2.file._decodedChars, t2._file$_start, t2._end), 0, _null);
  99459. t1._contents += t2;
  99460. return buffer.interpolation$1(t4);
  99461. },
  99462. withSpan$1(span) {
  99463. return new A.SupportsDeclaration0(this.name, this.value, span);
  99464. },
  99465. toString$0(_) {
  99466. return "(" + this.name.toString$0(0) + ": " + this.value.toString$0(0) + ")";
  99467. },
  99468. $isAstNode0: 1,
  99469. $isSassNode: 1,
  99470. $isSupportsCondition: 1,
  99471. get$span(receiver) {
  99472. return this.span;
  99473. }
  99474. };
  99475. A.Deprecation0.prototype = {
  99476. _enumToString$0() {
  99477. return "Deprecation." + this._name;
  99478. },
  99479. get$deprecatedIn(_) {
  99480. return A.NullableExtension_andThen0(this._deprecation$_deprecatedIn, A.version_Version___parse_tearOff$closure());
  99481. },
  99482. get$obsoleteIn(_) {
  99483. return null;
  99484. },
  99485. toString$0(_) {
  99486. return this.id;
  99487. }
  99488. };
  99489. A.Deprecation_fromId_closure0.prototype = {
  99490. call$1(deprecation) {
  99491. return deprecation.id === this.id;
  99492. },
  99493. $signature: 436
  99494. };
  99495. A.DeprecationProcessingLogger0.prototype = {
  99496. validate$0() {
  99497. var t1, t2, t3, t4, t5, _this = this, _null = null;
  99498. for (t1 = _this.fatalDeprecations, t1 = A._LinkedHashSetIterator$(t1, t1._collection$_modifications, A._instanceType(t1)._precomputed1), t2 = _this.silenceDeprecations, t3 = t1.$ti._precomputed1; t1.moveNext$0();) {
  99499. t4 = t1._collection$_current;
  99500. if (t4 == null)
  99501. t4 = t3._as(t4);
  99502. t5 = t2.contains$1(0, t4);
  99503. if (t5) {
  99504. t4 = t4.toString$0(0);
  99505. _this.internalWarn$4$deprecation$span$trace("Ignoring setting to silence " + t4 + string$.x20deprex2c, _null, _null, _null);
  99506. continue;
  99507. }
  99508. }
  99509. for (t1 = A._LinkedHashSetIterator$(t2, t2._collection$_modifications, A._instanceType(t2)._precomputed1), t2 = t1.$ti._precomputed1, t3 = _this.futureDeprecations; t1.moveNext$0();) {
  99510. t4 = t1._collection$_current;
  99511. if (B.Deprecation_ZVM === (t4 == null ? t2._as(t4) : t4)) {
  99512. _this.internalWarn$4$deprecation$span$trace(string$.User_a, _null, _null, _null);
  99513. continue;
  99514. }
  99515. }
  99516. for (t1 = A._LinkedHashSetIterator$(t3, t3._collection$_modifications, A._instanceType(t3)._precomputed1), t2 = t1.$ti._precomputed1; t1.moveNext$0();) {
  99517. t3 = t1._collection$_current;
  99518. t3 = (t3 == null ? t2._as(t3) : t3).toString$0(0);
  99519. _this.internalWarn$4$deprecation$span$trace(t3 + string$.x20is_noaf, _null, _null, _null);
  99520. }
  99521. },
  99522. internalWarn$4$deprecation$span$trace(message, deprecation, span, trace) {
  99523. if (deprecation != null)
  99524. this._deprecation_processing$_handleDeprecation$4$span$trace(deprecation, message, span, trace);
  99525. else
  99526. this._deprecation_processing$_inner.internalWarn$4$deprecation$span$trace(message, null, span, trace);
  99527. },
  99528. _deprecation_processing$_handleDeprecation$4$span$trace(deprecation, message, span, trace) {
  99529. var _0_3_isSet, _0_3, t1, span0, t2, count, _this = this, _null = null;
  99530. if (_this.fatalDeprecations.contains$1(0, deprecation)) {
  99531. message += string$.x0a_This + deprecation.toString$0(0) + string$.x20deprex20;
  99532. $label0$0: {
  99533. _0_3_isSet = span != null;
  99534. _0_3 = _null;
  99535. t1 = false;
  99536. if (_0_3_isSet) {
  99537. span0 = span == null ? type$.FileSpan._as(span) : span;
  99538. t1 = trace != null;
  99539. _0_3 = trace;
  99540. } else
  99541. span0 = _null;
  99542. if (t1) {
  99543. if (_0_3_isSet)
  99544. trace = _0_3;
  99545. t1 = A.SassRuntimeException$0(message, span0, trace == null ? type$.Trace._as(trace) : trace, _null);
  99546. break $label0$0;
  99547. }
  99548. t1 = false;
  99549. if (span != null)
  99550. t1 = (_0_3_isSet ? _0_3 : trace) == null;
  99551. else
  99552. span = _null;
  99553. if (t1) {
  99554. t1 = A.SassException$0(message, span, _null);
  99555. break $label0$0;
  99556. }
  99557. t1 = A.SassScriptException$0(message, _null);
  99558. break $label0$0;
  99559. }
  99560. throw A.wrapException(t1);
  99561. }
  99562. if (_this.silenceDeprecations.contains$1(0, deprecation))
  99563. return;
  99564. if (_this.limitRepetition) {
  99565. t1 = _this._deprecation_processing$_warningCounts;
  99566. t2 = t1.$index(0, deprecation);
  99567. count = (t2 == null ? 0 : t2) + 1;
  99568. t1.$indexSet(0, deprecation, count);
  99569. if (count > 5)
  99570. return;
  99571. }
  99572. _this._deprecation_processing$_inner.internalWarn$4$deprecation$span$trace(message, deprecation, span, trace);
  99573. },
  99574. debug$2(_, message, span) {
  99575. return this._deprecation_processing$_inner.debug$2(0, message, span);
  99576. },
  99577. summarize$1$js(js) {
  99578. var t1 = this._deprecation_processing$_warningCounts,
  99579. t2 = A._instanceType(t1)._eval$1("LinkedHashMapValuesIterable<2>"),
  99580. total = A.IterableIntegerExtension_get_sum(new A.MappedIterable(new A.WhereIterable(new A.LinkedHashMapValuesIterable(t1, t2), new A.DeprecationProcessingLogger_summarize_closure1(), t2._eval$1("WhereIterable<Iterable.E>")), new A.DeprecationProcessingLogger_summarize_closure2(), t2._eval$1("MappedIterable<Iterable.E,int>")));
  99581. if (total > 0) {
  99582. t1 = js ? "" : string$.x0aRun_i;
  99583. this._deprecation_processing$_inner.internalWarn$4$deprecation$span$trace("" + total + string$.x20repet + t1, null, null, null);
  99584. }
  99585. }
  99586. };
  99587. A.DeprecationProcessingLogger_summarize_closure1.prototype = {
  99588. call$1(count) {
  99589. return count > 5;
  99590. },
  99591. $signature: 47
  99592. };
  99593. A.DeprecationProcessingLogger_summarize_closure2.prototype = {
  99594. call$1(count) {
  99595. return count - 5;
  99596. },
  99597. $signature: 157
  99598. };
  99599. A.Deprecation1.prototype = {};
  99600. A.deprecations_closure.prototype = {
  99601. call$0() {
  99602. var _0_8_isSet, _0_8, t1,
  99603. _0_0 = this.deprecation;
  99604. $label0$0: {
  99605. _0_8_isSet = A.NullableExtension_andThen0(_0_0._deprecation$_deprecatedIn, A.version_Version___parse_tearOff$closure()) == null;
  99606. if (_0_8_isSet) {
  99607. _0_8 = _0_0.get$obsoleteIn(0) == null;
  99608. t1 = _0_8;
  99609. } else {
  99610. _0_8 = null;
  99611. t1 = false;
  99612. }
  99613. if (t1) {
  99614. t1 = "user";
  99615. break $label0$0;
  99616. }
  99617. if (_0_8_isSet ? _0_8 : _0_0.get$obsoleteIn(0) == null) {
  99618. t1 = "active";
  99619. break $label0$0;
  99620. }
  99621. t1 = "obsolete";
  99622. break $label0$0;
  99623. }
  99624. return t1;
  99625. },
  99626. $signature: 26
  99627. };
  99628. A.parseDeprecations_closure.prototype = {
  99629. call$0() {
  99630. return new A._SyncStarIterable(this.$call$body$parseDeprecations_closure(), type$._SyncStarIterable_Deprecation);
  99631. },
  99632. $call$body$parseDeprecations_closure() {
  99633. var $async$self = this;
  99634. return function() {
  99635. var $async$goto = 0, $async$handler = 1, $async$errorStack = [], t1, t2, t3, t4, item, t5, id, deprecation, version;
  99636. return function $async$call$0($async$iterator, $async$errorCode, $async$result) {
  99637. if ($async$errorCode === 1) {
  99638. $async$errorStack.push($async$result);
  99639. $async$goto = $async$handler;
  99640. }
  99641. while (true)
  99642. switch ($async$goto) {
  99643. case 0:
  99644. // Function start
  99645. t1 = J.get$iterator$ax($async$self.deprecations), t2 = type$.Deprecation_2, t3 = $async$self.supportVersions, t4 = $async$self.logger;
  99646. case 2:
  99647. // for condition
  99648. if (!t1.moveNext$0()) {
  99649. // goto after for
  99650. $async$goto = 3;
  99651. break;
  99652. }
  99653. item = t1.get$current(t1);
  99654. t5 = typeof item == "string";
  99655. id = t5 ? item : null;
  99656. $async$goto = t5 ? 4 : 5;
  99657. break;
  99658. case 4:
  99659. // then
  99660. deprecation = A.Deprecation_fromId0(id);
  99661. $async$goto = deprecation == null ? 6 : 8;
  99662. break;
  99663. case 6:
  99664. // then
  99665. t4.internalWarn$4$deprecation$span$trace('Invalid deprecation "' + A.S(id) + '".', null, null, null);
  99666. // goto join
  99667. $async$goto = 7;
  99668. break;
  99669. case 8:
  99670. // else
  99671. $async$goto = 9;
  99672. return $async$iterator._async$_current = deprecation, 1;
  99673. case 9:
  99674. // after yield
  99675. case 7:
  99676. // join
  99677. // goto for condition
  99678. $async$goto = 2;
  99679. break;
  99680. case 5:
  99681. // join
  99682. t5 = t2._is(item);
  99683. id = t5 ? J.get$id$x(item) : null;
  99684. $async$goto = t5 ? 10 : 11;
  99685. break;
  99686. case 10:
  99687. // then
  99688. deprecation = A.Deprecation_fromId0(id);
  99689. $async$goto = deprecation == null ? 12 : 14;
  99690. break;
  99691. case 12:
  99692. // then
  99693. t4.internalWarn$4$deprecation$span$trace('Invalid deprecation "' + A.S(id) + '".', null, null, null);
  99694. // goto join
  99695. $async$goto = 13;
  99696. break;
  99697. case 14:
  99698. // else
  99699. $async$goto = 15;
  99700. return $async$iterator._async$_current = deprecation, 1;
  99701. case 15:
  99702. // after yield
  99703. case 13:
  99704. // join
  99705. // goto for condition
  99706. $async$goto = 2;
  99707. break;
  99708. case 11:
  99709. // join
  99710. if (item instanceof A.Version) {
  99711. t5 = t3;
  99712. version = item;
  99713. } else {
  99714. version = null;
  99715. t5 = false;
  99716. }
  99717. $async$goto = t5 ? 16 : 17;
  99718. break;
  99719. case 16:
  99720. // then
  99721. $async$goto = 18;
  99722. return $async$iterator._yieldStar$1(A.Deprecation_forVersion0(version));
  99723. case 18:
  99724. // after yield
  99725. case 17:
  99726. // join
  99727. // goto for condition
  99728. $async$goto = 2;
  99729. break;
  99730. case 3:
  99731. // after for
  99732. // implicit return
  99733. return 0;
  99734. case 1:
  99735. // rethrow
  99736. return $async$iterator._datum = $async$errorStack.at(-1), 3;
  99737. }
  99738. };
  99739. };
  99740. },
  99741. $signature: 437
  99742. };
  99743. A.versionClass_closure.prototype = {
  99744. call$0() {
  99745. var t1 = type$.JSClass,
  99746. jsClass = t1._as(A.allowInteropCaptureThisNamed("sass.Version", new A.versionClass__closure()));
  99747. jsClass.parse = A.allowInteropNamed("parse", new A.versionClass__closure0());
  99748. A.JSClassExtension_injectSuperclass(t1._as(A.Version_Version(0, 0, 0, null).constructor), jsClass);
  99749. return jsClass;
  99750. },
  99751. $signature: 15
  99752. };
  99753. A.versionClass__closure.prototype = {
  99754. call$4($self, major, minor, patch) {
  99755. return A.Version_Version(major, minor, patch, null);
  99756. },
  99757. "call*": "call$4",
  99758. $requiredArgCount: 4,
  99759. $signature: 438
  99760. };
  99761. A.versionClass__closure0.prototype = {
  99762. call$1(version) {
  99763. var v = A.Version_Version$parse(version);
  99764. if (v.preRelease.length !== 0 || v.build.length !== 0)
  99765. throw A.wrapException(A.FormatException$("Build identifiers and prerelease versions not supported.", null, null));
  99766. return v;
  99767. },
  99768. $signature: 233
  99769. };
  99770. A.DisplayP3ColorSpace0.prototype = {
  99771. get$isBoundedInternal() {
  99772. return true;
  99773. },
  99774. toLinear$1(channel) {
  99775. return A.srgbAndDisplayP3ToLinear0(channel);
  99776. },
  99777. fromLinear$1(channel) {
  99778. return A.srgbAndDisplayP3FromLinear0(channel);
  99779. },
  99780. transformationMatrix$1(dest) {
  99781. var t1;
  99782. $label0$0: {
  99783. if (B.SrgbLinearColorSpace_kUj0 === dest || B.SrgbColorSpace_thf0 === dest || B.RgbColorSpace_i0P0 === dest) {
  99784. t1 = $.$get$linearDisplayP3ToLinearSrgb0();
  99785. break $label0$0;
  99786. }
  99787. if (B.A98RgbColorSpace_lf20 === dest) {
  99788. t1 = $.$get$linearDisplayP3ToLinearA98Rgb0();
  99789. break $label0$0;
  99790. }
  99791. if (B.ProphotoRgbColorSpace_BDz0 === dest) {
  99792. t1 = $.$get$linearDisplayP3ToLinearProphotoRgb0();
  99793. break $label0$0;
  99794. }
  99795. if (B.Rec2020ColorSpace_6oo0 === dest) {
  99796. t1 = $.$get$linearDisplayP3ToLinearRec20200();
  99797. break $label0$0;
  99798. }
  99799. if (B.XyzD65ColorSpace_WiJ0 === dest) {
  99800. t1 = $.$get$linearDisplayP3ToXyzD650();
  99801. break $label0$0;
  99802. }
  99803. if (B.XyzD50ColorSpace_2OB0 === dest) {
  99804. t1 = $.$get$linearDisplayP3ToXyzD500();
  99805. break $label0$0;
  99806. }
  99807. if (B.LmsColorSpace_Os30 === dest) {
  99808. t1 = $.$get$linearDisplayP3ToLms0();
  99809. break $label0$0;
  99810. }
  99811. t1 = this.super$ColorSpace$transformationMatrix0(dest);
  99812. break $label0$0;
  99813. }
  99814. return t1;
  99815. }
  99816. };
  99817. A.DynamicImport0.prototype = {
  99818. toString$0(_) {
  99819. return A.StringExpression_quoteText0(this.urlString);
  99820. },
  99821. $isImport0: 1,
  99822. $isAstNode0: 1,
  99823. $isSassNode: 1,
  99824. get$span(receiver) {
  99825. return this.span;
  99826. }
  99827. };
  99828. A.EachRule0.prototype = {
  99829. accept$1$1(visitor) {
  99830. return visitor.visitEachRule$1(0, this);
  99831. },
  99832. accept$1(visitor) {
  99833. return this.accept$1$1(visitor, type$.dynamic);
  99834. },
  99835. toString$0(_) {
  99836. var t1 = this.variables,
  99837. t2 = this.children;
  99838. 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, " ") + "}";
  99839. },
  99840. get$span(receiver) {
  99841. return this.span;
  99842. }
  99843. };
  99844. A.EachRule_toString_closure0.prototype = {
  99845. call$1(variable) {
  99846. return "$" + variable;
  99847. },
  99848. $signature: 6
  99849. };
  99850. A.EmptyExtensionStore0.prototype = {
  99851. get$_extension_store$_extensions() {
  99852. return A.throwExpression(A.NoSuchMethodError_NoSuchMethodError$withInvocation(this, A.JSInvocationMirror$(B.Symbol__extensions, "get$_empty_extension_store0$_extensions", 1, [], [], 0)));
  99853. },
  99854. get$_extension_store$_sourceSpecificity() {
  99855. return A.throwExpression(A.NoSuchMethodError_NoSuchMethodError$withInvocation(this, A.JSInvocationMirror$(B.Symbol__sourceSpecificity, "get$_empty_extension_store0$_sourceSpecificity", 1, [], [], 0)));
  99856. },
  99857. get$isEmpty(_) {
  99858. return true;
  99859. },
  99860. get$simpleSelectors() {
  99861. return B.C_EmptyUnmodifiableSet0;
  99862. },
  99863. extensionsWhereTarget$1(callback) {
  99864. return B.List_empty20;
  99865. },
  99866. addSelector$2(selector, mediaContext) {
  99867. throw A.wrapException(A.UnsupportedError$("addSelector() can't be called for a const ExtensionStore."));
  99868. },
  99869. addExtension$4(extender, target, extend, mediaContext) {
  99870. throw A.wrapException(A.UnsupportedError$("addExtension() can't be called for a const ExtensionStore."));
  99871. },
  99872. addExtensions$1(extenders) {
  99873. throw A.wrapException(A.UnsupportedError$(string$.addExt));
  99874. },
  99875. clone$0() {
  99876. return B.Record2_EmptyExtensionStore_Map_empty0;
  99877. },
  99878. $isExtensionStore0: 1
  99879. };
  99880. A.Environment0.prototype = {
  99881. closure$0() {
  99882. var t4, t5, t6, _this = this,
  99883. t1 = _this._environment0$_forwardedModules,
  99884. t2 = _this._environment0$_nestedForwardedModules,
  99885. t3 = _this._environment0$_variables;
  99886. t3 = A._setArrayType(t3.slice(0), A._arrayInstanceType(t3));
  99887. t4 = _this._environment0$_variableNodes;
  99888. t4 = A._setArrayType(t4.slice(0), A._arrayInstanceType(t4));
  99889. t5 = _this._environment0$_functions;
  99890. t5 = A._setArrayType(t5.slice(0), A._arrayInstanceType(t5));
  99891. t6 = _this._environment0$_mixins;
  99892. t6 = A._setArrayType(t6.slice(0), A._arrayInstanceType(t6));
  99893. 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);
  99894. },
  99895. forwardModule$2(module, rule) {
  99896. var view, t1, t2, _this = this,
  99897. forwardedModules = _this._environment0$_forwardedModules;
  99898. if (forwardedModules == null)
  99899. forwardedModules = _this._environment0$_forwardedModules = A.LinkedHashMap_LinkedHashMap$_empty(type$.Module_Callable_2, type$.AstNode_2);
  99900. view = A.ForwardedModuleView_ifNecessary0(module, rule, type$.Callable_2);
  99901. for (t1 = new A.LinkedHashMapKeyIterator(forwardedModules, forwardedModules._modifications, forwardedModules._first); t1.moveNext$0();) {
  99902. t2 = t1.__js_helper$_current;
  99903. _this._environment0$_assertNoConflicts$5(view.get$variables(), t2.get$variables(), view, t2, "variable");
  99904. _this._environment0$_assertNoConflicts$5(view.get$functions(view), t2.get$functions(t2), view, t2, "function");
  99905. _this._environment0$_assertNoConflicts$5(view.get$mixins(), t2.get$mixins(), view, t2, "mixin");
  99906. }
  99907. _this._environment0$_allModules.push(module);
  99908. forwardedModules.$indexSet(0, view, rule);
  99909. },
  99910. _environment0$_assertNoConflicts$5(newMembers, oldMembers, newModule, oldModule, type) {
  99911. var larger, smaller, t1, t2, t3, t4, $name, small, large, span;
  99912. if (newMembers.get$length(newMembers) < oldMembers.get$length(oldMembers)) {
  99913. larger = oldMembers;
  99914. smaller = newMembers;
  99915. } else {
  99916. larger = newMembers;
  99917. smaller = oldMembers;
  99918. }
  99919. for (t1 = type$.String, t2 = A.MapExtensions_get_pairs0(smaller, t1, type$.Object), t2 = t2.get$iterator(t2), t3 = type === "variable"; t2.moveNext$0();) {
  99920. t4 = t2.get$current(t2);
  99921. $name = t4._0;
  99922. small = t4._1;
  99923. large = larger.$index(0, $name);
  99924. if (large == null)
  99925. continue;
  99926. if (t3 ? newModule.variableIdentity$1($name) === oldModule.variableIdentity$1($name) : J.$eq$(large, small))
  99927. continue;
  99928. if (t3)
  99929. $name = "$" + $name;
  99930. t2 = this._environment0$_forwardedModules;
  99931. if (t2 == null)
  99932. span = null;
  99933. else {
  99934. t2 = t2.$index(0, oldModule);
  99935. span = t2 == null ? null : t2.get$span(t2);
  99936. }
  99937. t2 = A.LinkedHashMap_LinkedHashMap$_empty(type$.FileSpan, t1);
  99938. if (span != null)
  99939. t2.$indexSet(0, span, "original @forward");
  99940. throw A.wrapException(A.MultiSpanSassScriptException$0("Two forwarded modules both define a " + type + " named " + $name + ".", "new @forward", t2));
  99941. }
  99942. },
  99943. importForwards$1(module) {
  99944. var forwardedModules, t1, t2, t3, t4, node, t5, t6, t7, t8, t9, t10, _i, t11, shadowed, t12, t13, _length, _list, _this = this,
  99945. forwarded = module._environment0$_environment._environment0$_forwardedModules;
  99946. if (forwarded == null)
  99947. return;
  99948. forwardedModules = _this._environment0$_forwardedModules;
  99949. if (forwardedModules != null) {
  99950. t1 = type$.Module_Callable_2;
  99951. t2 = type$.AstNode_2;
  99952. t3 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t2);
  99953. for (t1 = A.MapExtensions_get_pairs0(forwarded, t1, t2), t1 = t1.get$iterator(t1), t2 = _this._environment0$_globalModules; t1.moveNext$0();) {
  99954. t4 = t1.get$current(t1);
  99955. module = t4._0;
  99956. node = t4._1;
  99957. if (!forwardedModules.containsKey$1(module) || !t2.containsKey$1(module))
  99958. t3.$indexSet(0, module, node);
  99959. }
  99960. forwarded = t3;
  99961. } else
  99962. forwardedModules = _this._environment0$_forwardedModules = A.LinkedHashMap_LinkedHashMap$_empty(type$.Module_Callable_2, type$.AstNode_2);
  99963. t1 = type$.String;
  99964. t2 = A.LinkedHashSet_LinkedHashSet$_empty(t1);
  99965. for (t3 = new A.LinkedHashMapKeyIterator(forwarded, forwarded._modifications, forwarded._first); t3.moveNext$0();)
  99966. for (t4 = t3.__js_helper$_current.get$variables(), t4 = J.get$iterator$ax(t4.get$keys(t4)); t4.moveNext$0();)
  99967. t2.add$1(0, t4.get$current(t4));
  99968. t3 = A.LinkedHashSet_LinkedHashSet$_empty(t1);
  99969. for (t4 = new A.LinkedHashMapKeyIterator(forwarded, forwarded._modifications, forwarded._first); t4.moveNext$0();) {
  99970. t5 = t4.__js_helper$_current;
  99971. for (t5 = t5.get$functions(t5), t5 = J.get$iterator$ax(t5.get$keys(t5)); t5.moveNext$0();)
  99972. t3.add$1(0, t5.get$current(t5));
  99973. }
  99974. t1 = A.LinkedHashSet_LinkedHashSet$_empty(t1);
  99975. for (t4 = new A.LinkedHashMapKeyIterator(forwarded, forwarded._modifications, forwarded._first); t4.moveNext$0();)
  99976. for (t5 = t4.__js_helper$_current.get$mixins(), t5 = J.get$iterator$ax(t5.get$keys(t5)); t5.moveNext$0();)
  99977. t1.add$1(0, t5.get$current(t5));
  99978. t4 = _this._environment0$_variables;
  99979. t5 = t4.length;
  99980. if (t5 === 1) {
  99981. for (t5 = _this._environment0$_importedModules, t6 = type$.Module_Callable_2, t7 = type$.AstNode_2, t8 = A.MapExtensions_get_pairs0(t5, t6, t7).toList$0(0), t9 = t8.length, t10 = type$.Callable_2, _i = 0; _i < t8.length; t8.length === t9 || (0, A.throwConcurrentModificationError)(t8), ++_i) {
  99982. t11 = t8[_i];
  99983. module = t11._0;
  99984. shadowed = A.ShadowedModuleView_ifNecessary0(module, t3, t1, t2, t10);
  99985. if (shadowed != null) {
  99986. t5.remove$1(0, module);
  99987. t12 = shadowed.variables;
  99988. t13 = false;
  99989. if (t12.get$isEmpty(t12)) {
  99990. t12 = shadowed.functions;
  99991. if (t12.get$isEmpty(t12)) {
  99992. t12 = shadowed.mixins;
  99993. if (t12.get$isEmpty(t12)) {
  99994. t12 = shadowed._shadowed_view0$_inner;
  99995. t12 = t12.get$css(t12);
  99996. t12 = J.get$isEmpty$asx(t12.get$children(t12));
  99997. } else
  99998. t12 = t13;
  99999. } else
  100000. t12 = t13;
  100001. } else
  100002. t12 = t13;
  100003. if (!t12)
  100004. t5.$indexSet(0, shadowed, t11._1);
  100005. }
  100006. }
  100007. for (t6 = A.MapExtensions_get_pairs0(forwardedModules, t6, t7).toList$0(0), t7 = t6.length, _i = 0; _i < t6.length; t6.length === t7 || (0, A.throwConcurrentModificationError)(t6), ++_i) {
  100008. t8 = t6[_i];
  100009. module = t8._0;
  100010. shadowed = A.ShadowedModuleView_ifNecessary0(module, t3, t1, t2, t10);
  100011. if (shadowed != null) {
  100012. forwardedModules.remove$1(0, module);
  100013. t9 = shadowed.variables;
  100014. t11 = false;
  100015. if (t9.get$isEmpty(t9)) {
  100016. t9 = shadowed.functions;
  100017. if (t9.get$isEmpty(t9)) {
  100018. t9 = shadowed.mixins;
  100019. if (t9.get$isEmpty(t9)) {
  100020. t9 = shadowed._shadowed_view0$_inner;
  100021. t9 = t9.get$css(t9);
  100022. t9 = J.get$isEmpty$asx(t9.get$children(t9));
  100023. } else
  100024. t9 = t11;
  100025. } else
  100026. t9 = t11;
  100027. } else
  100028. t9 = t11;
  100029. if (!t9)
  100030. forwardedModules.$indexSet(0, shadowed, t8._1);
  100031. }
  100032. }
  100033. t5.addAll$1(0, forwarded);
  100034. forwardedModules.addAll$1(0, forwarded);
  100035. } else {
  100036. t6 = _this._environment0$_nestedForwardedModules;
  100037. if (t6 == null) {
  100038. _length = t5 - 1;
  100039. _list = J.JSArray_JSArray$allocateGrowable(_length, type$.List_Module_Callable_2);
  100040. for (t5 = type$.JSArray_Module_Callable_2, _i = 0; _i < _length; ++_i)
  100041. _list[_i] = A._setArrayType([], t5);
  100042. _this._environment0$_nestedForwardedModules = _list;
  100043. t5 = _list;
  100044. } else
  100045. t5 = t6;
  100046. B.JSArray_methods.addAll$1(B.JSArray_methods.get$last(t5), new A.LinkedHashMapKeysIterable(forwarded, A._instanceType(forwarded)._eval$1("LinkedHashMapKeysIterable<1>")));
  100047. }
  100048. for (t2 = A._LinkedHashSetIterator$(t2, t2._collection$_modifications, t2.$ti._precomputed1), t5 = _this._environment0$_variableIndices, t6 = _this._environment0$_variableNodes, t7 = t2.$ti._precomputed1; t2.moveNext$0();) {
  100049. t8 = t2._collection$_current;
  100050. if (t8 == null)
  100051. t8 = t7._as(t8);
  100052. t5.remove$1(0, t8);
  100053. J.remove$1$z(B.JSArray_methods.get$last(t4), t8);
  100054. J.remove$1$z(B.JSArray_methods.get$last(t6), t8);
  100055. }
  100056. for (t2 = A._LinkedHashSetIterator$(t3, t3._collection$_modifications, t3.$ti._precomputed1), t3 = _this._environment0$_functionIndices, t4 = _this._environment0$_functions, t5 = t2.$ti._precomputed1; t2.moveNext$0();) {
  100057. t6 = t2._collection$_current;
  100058. if (t6 == null)
  100059. t6 = t5._as(t6);
  100060. t3.remove$1(0, t6);
  100061. J.remove$1$z(B.JSArray_methods.get$last(t4), t6);
  100062. }
  100063. for (t1 = A._LinkedHashSetIterator$(t1, t1._collection$_modifications, t1.$ti._precomputed1), t2 = _this._environment0$_mixinIndices, t3 = _this._environment0$_mixins, t4 = t1.$ti._precomputed1; t1.moveNext$0();) {
  100064. t5 = t1._collection$_current;
  100065. if (t5 == null)
  100066. t5 = t4._as(t5);
  100067. t2.remove$1(0, t5);
  100068. J.remove$1$z(B.JSArray_methods.get$last(t3), t5);
  100069. }
  100070. },
  100071. getVariable$2$namespace($name, namespace) {
  100072. var t1, _0_0, _1_0, _this = this;
  100073. if (namespace != null)
  100074. return _this._environment0$_getModule$1(namespace).get$variables().$index(0, $name);
  100075. if (_this._environment0$_lastVariableName === $name) {
  100076. t1 = _this._environment0$_lastVariableIndex;
  100077. t1.toString;
  100078. t1 = _this._environment0$_variables[t1].$index(0, $name);
  100079. return t1 == null ? _this._environment0$_getVariableFromGlobalModule$1($name) : t1;
  100080. }
  100081. t1 = _this._environment0$_variableIndices;
  100082. _0_0 = t1.$index(0, $name);
  100083. if (_0_0 != null) {
  100084. _this._environment0$_lastVariableName = $name;
  100085. _this._environment0$_lastVariableIndex = _0_0;
  100086. t1 = _this._environment0$_variables[_0_0].$index(0, $name);
  100087. return t1 == null ? _this._environment0$_getVariableFromGlobalModule$1($name) : t1;
  100088. } else {
  100089. _1_0 = _this._environment0$_variableIndex$1($name);
  100090. if (_1_0 != null) {
  100091. _this._environment0$_lastVariableName = $name;
  100092. _this._environment0$_lastVariableIndex = _1_0;
  100093. t1.$indexSet(0, $name, _1_0);
  100094. t1 = _this._environment0$_variables[_1_0].$index(0, $name);
  100095. return t1 == null ? _this._environment0$_getVariableFromGlobalModule$1($name) : t1;
  100096. } else
  100097. return _this._environment0$_getVariableFromGlobalModule$1($name);
  100098. }
  100099. },
  100100. getVariable$1($name) {
  100101. return this.getVariable$2$namespace($name, null);
  100102. },
  100103. _environment0$_getVariableFromGlobalModule$1($name) {
  100104. return this._environment0$_fromOneModule$3($name, "variable", new A.Environment__getVariableFromGlobalModule_closure0($name));
  100105. },
  100106. getVariableNode$2$namespace($name, namespace) {
  100107. var t1, _0_0, _1_0, _this = this;
  100108. if (namespace != null)
  100109. return _this._environment0$_getModule$1(namespace).get$variableNodes().$index(0, $name);
  100110. if (_this._environment0$_lastVariableName === $name) {
  100111. t1 = _this._environment0$_lastVariableIndex;
  100112. t1.toString;
  100113. t1 = _this._environment0$_variableNodes[t1].$index(0, $name);
  100114. return t1 == null ? _this._environment0$_getVariableNodeFromGlobalModule$1($name) : t1;
  100115. }
  100116. t1 = _this._environment0$_variableIndices;
  100117. _0_0 = t1.$index(0, $name);
  100118. if (_0_0 != null) {
  100119. _this._environment0$_lastVariableName = $name;
  100120. _this._environment0$_lastVariableIndex = _0_0;
  100121. t1 = _this._environment0$_variableNodes[_0_0].$index(0, $name);
  100122. return t1 == null ? _this._environment0$_getVariableNodeFromGlobalModule$1($name) : t1;
  100123. } else {
  100124. _1_0 = _this._environment0$_variableIndex$1($name);
  100125. if (_1_0 != null) {
  100126. _this._environment0$_lastVariableName = $name;
  100127. _this._environment0$_lastVariableIndex = _1_0;
  100128. t1.$indexSet(0, $name, _1_0);
  100129. t1 = _this._environment0$_variableNodes[_1_0].$index(0, $name);
  100130. return t1 == null ? _this._environment0$_getVariableNodeFromGlobalModule$1($name) : t1;
  100131. } else
  100132. return _this._environment0$_getVariableNodeFromGlobalModule$1($name);
  100133. }
  100134. },
  100135. _environment0$_getVariableNodeFromGlobalModule$1($name) {
  100136. var t1, t2, _0_0;
  100137. for (t1 = this._environment0$_importedModules, t2 = this._environment0$_globalModules, t2 = new A.LinkedHashMapKeysIterable(t1, A._instanceType(t1)._eval$1("LinkedHashMapKeysIterable<1>")).followedBy$1(0, new A.LinkedHashMapKeysIterable(t2, A._instanceType(t2)._eval$1("LinkedHashMapKeysIterable<1>"))), t2 = new A.FollowedByIterator(J.get$iterator$ax(t2.__internal$_first), t2._second); t2.moveNext$0();) {
  100138. t1 = t2._currentIterator;
  100139. _0_0 = t1.get$current(t1).get$variableNodes().$index(0, $name);
  100140. if (_0_0 != null)
  100141. return _0_0;
  100142. }
  100143. return null;
  100144. },
  100145. globalVariableExists$2$namespace($name, namespace) {
  100146. if (namespace != null)
  100147. return this._environment0$_getModule$1(namespace).get$variables().containsKey$1($name);
  100148. if (B.JSArray_methods.get$first(this._environment0$_variables).containsKey$1($name))
  100149. return true;
  100150. return this._environment0$_getVariableFromGlobalModule$1($name) != null;
  100151. },
  100152. globalVariableExists$1($name) {
  100153. return this.globalVariableExists$2$namespace($name, null);
  100154. },
  100155. _environment0$_variableIndex$1($name) {
  100156. var t1, i;
  100157. for (t1 = this._environment0$_variables, i = t1.length - 1; i >= 0; --i)
  100158. if (t1[i].containsKey$1($name))
  100159. return i;
  100160. return null;
  100161. },
  100162. setVariable$5$global$namespace($name, value, nodeWithSpan, global, namespace) {
  100163. var t1, moduleWithName, nestedForwardedModules, t2, t3, t4, t5, index, _this = this;
  100164. if (namespace != null) {
  100165. _this._environment0$_getModule$1(namespace).setVariable$3($name, value, nodeWithSpan);
  100166. return;
  100167. }
  100168. if (global || _this._environment0$_variables.length === 1) {
  100169. _this._environment0$_variableIndices.putIfAbsent$2($name, new A.Environment_setVariable_closure2(_this, $name));
  100170. t1 = _this._environment0$_variables;
  100171. if (!B.JSArray_methods.get$first(t1).containsKey$1($name)) {
  100172. moduleWithName = _this._environment0$_fromOneModule$3($name, "variable", new A.Environment_setVariable_closure3($name));
  100173. if (moduleWithName != null) {
  100174. moduleWithName.setVariable$3($name, value, nodeWithSpan);
  100175. return;
  100176. }
  100177. }
  100178. J.$indexSet$ax(B.JSArray_methods.get$first(t1), $name, value);
  100179. J.$indexSet$ax(B.JSArray_methods.get$first(_this._environment0$_variableNodes), $name, nodeWithSpan);
  100180. return;
  100181. }
  100182. nestedForwardedModules = _this._environment0$_nestedForwardedModules;
  100183. if (nestedForwardedModules != null && !_this._environment0$_variableIndices.containsKey$1($name) && _this._environment0$_variableIndex$1($name) == null)
  100184. for (t1 = A._arrayInstanceType(nestedForwardedModules)._eval$1("ReversedListIterable<1>"), t2 = new A.ReversedListIterable(nestedForwardedModules, t1), t2 = new A.ListIterator(t2, t2.get$length(0), t1._eval$1("ListIterator<ListIterable.E>")), t1 = t1._eval$1("ListIterable.E"); t2.moveNext$0();) {
  100185. t3 = t2.__internal$_current;
  100186. for (t3 = J.get$reversed$ax(t3 == null ? t1._as(t3) : t3), t4 = t3.$ti, t3 = new A.ListIterator(t3, t3.get$length(0), t4._eval$1("ListIterator<ListIterable.E>")), t4 = t4._eval$1("ListIterable.E"); t3.moveNext$0();) {
  100187. t5 = t3.__internal$_current;
  100188. if (t5 == null)
  100189. t5 = t4._as(t5);
  100190. if (t5.get$variables().containsKey$1($name)) {
  100191. t5.setVariable$3($name, value, nodeWithSpan);
  100192. return;
  100193. }
  100194. }
  100195. }
  100196. if (_this._environment0$_lastVariableName === $name) {
  100197. t1 = _this._environment0$_lastVariableIndex;
  100198. t1.toString;
  100199. index = t1;
  100200. } else
  100201. index = _this._environment0$_variableIndices.putIfAbsent$2($name, new A.Environment_setVariable_closure4(_this, $name));
  100202. if (!_this._environment0$_inSemiGlobalScope && index === 0) {
  100203. index = _this._environment0$_variables.length - 1;
  100204. _this._environment0$_variableIndices.$indexSet(0, $name, index);
  100205. }
  100206. _this._environment0$_lastVariableName = $name;
  100207. _this._environment0$_lastVariableIndex = index;
  100208. _this._environment0$_variables[index].$indexSet(0, $name, value);
  100209. _this._environment0$_variableNodes[index].$indexSet(0, $name, nodeWithSpan);
  100210. },
  100211. setVariable$4$global($name, value, nodeWithSpan, global) {
  100212. return this.setVariable$5$global$namespace($name, value, nodeWithSpan, global, null);
  100213. },
  100214. setLocalVariable$3($name, value, nodeWithSpan) {
  100215. var index, _this = this,
  100216. t1 = _this._environment0$_variables,
  100217. t2 = t1.length;
  100218. _this._environment0$_lastVariableName = $name;
  100219. index = _this._environment0$_lastVariableIndex = t2 - 1;
  100220. _this._environment0$_variableIndices.$indexSet(0, $name, index);
  100221. t1[index].$indexSet(0, $name, value);
  100222. _this._environment0$_variableNodes[index].$indexSet(0, $name, nodeWithSpan);
  100223. },
  100224. getFunction$2$namespace($name, namespace) {
  100225. var t1, _0_0, _1_0, _this = this;
  100226. if (namespace != null) {
  100227. t1 = _this._environment0$_getModule$1(namespace);
  100228. return t1.get$functions(t1).$index(0, $name);
  100229. }
  100230. t1 = _this._environment0$_functionIndices;
  100231. _0_0 = t1.$index(0, $name);
  100232. if (_0_0 != null) {
  100233. t1 = _this._environment0$_functions[_0_0].$index(0, $name);
  100234. return t1 == null ? _this._environment0$_getFunctionFromGlobalModule$1($name) : t1;
  100235. } else {
  100236. _1_0 = _this._environment0$_functionIndex$1($name);
  100237. if (_1_0 != null) {
  100238. t1.$indexSet(0, $name, _1_0);
  100239. t1 = _this._environment0$_functions[_1_0].$index(0, $name);
  100240. return t1 == null ? _this._environment0$_getFunctionFromGlobalModule$1($name) : t1;
  100241. } else
  100242. return _this._environment0$_getFunctionFromGlobalModule$1($name);
  100243. }
  100244. },
  100245. getFunction$1($name) {
  100246. return this.getFunction$2$namespace($name, null);
  100247. },
  100248. _environment0$_getFunctionFromGlobalModule$1($name) {
  100249. return this._environment0$_fromOneModule$3($name, "function", new A.Environment__getFunctionFromGlobalModule_closure0($name));
  100250. },
  100251. _environment0$_functionIndex$1($name) {
  100252. var t1, i;
  100253. for (t1 = this._environment0$_functions, i = t1.length - 1; i >= 0; --i)
  100254. if (t1[i].containsKey$1($name))
  100255. return i;
  100256. return null;
  100257. },
  100258. getMixin$2$namespace($name, namespace) {
  100259. var t1, _0_0, _1_0, _this = this;
  100260. if (namespace != null)
  100261. return _this._environment0$_getModule$1(namespace).get$mixins().$index(0, $name);
  100262. t1 = _this._environment0$_mixinIndices;
  100263. _0_0 = t1.$index(0, $name);
  100264. if (_0_0 != null) {
  100265. t1 = _this._environment0$_mixins[_0_0].$index(0, $name);
  100266. return t1 == null ? _this._environment0$_getMixinFromGlobalModule$1($name) : t1;
  100267. } else {
  100268. _1_0 = _this._environment0$_mixinIndex$1($name);
  100269. if (_1_0 != null) {
  100270. t1.$indexSet(0, $name, _1_0);
  100271. t1 = _this._environment0$_mixins[_1_0].$index(0, $name);
  100272. return t1 == null ? _this._environment0$_getMixinFromGlobalModule$1($name) : t1;
  100273. } else
  100274. return _this._environment0$_getMixinFromGlobalModule$1($name);
  100275. }
  100276. },
  100277. _environment0$_getMixinFromGlobalModule$1($name) {
  100278. return this._environment0$_fromOneModule$3($name, "mixin", new A.Environment__getMixinFromGlobalModule_closure0($name));
  100279. },
  100280. _environment0$_mixinIndex$1($name) {
  100281. var t1, i;
  100282. for (t1 = this._environment0$_mixins, i = t1.length - 1; i >= 0; --i)
  100283. if (t1[i].containsKey$1($name))
  100284. return i;
  100285. return null;
  100286. },
  100287. withContent$2($content, callback) {
  100288. var oldContent = this._environment0$_content;
  100289. this._environment0$_content = $content;
  100290. callback.call$0();
  100291. this._environment0$_content = oldContent;
  100292. },
  100293. asMixin$1(callback) {
  100294. var oldInMixin = this._environment0$_inMixin;
  100295. this._environment0$_inMixin = true;
  100296. callback.call$0();
  100297. this._environment0$_inMixin = oldInMixin;
  100298. },
  100299. scope$1$3$semiGlobal$when(callback, semiGlobal, when) {
  100300. var wasInSemiGlobalScope, $name, name0, name1, t1, t2, t3, t4, t5, t6, _this = this;
  100301. semiGlobal = semiGlobal && _this._environment0$_inSemiGlobalScope;
  100302. wasInSemiGlobalScope = _this._environment0$_inSemiGlobalScope;
  100303. _this._environment0$_inSemiGlobalScope = semiGlobal;
  100304. if (!when)
  100305. try {
  100306. t1 = callback.call$0();
  100307. return t1;
  100308. } finally {
  100309. _this._environment0$_inSemiGlobalScope = wasInSemiGlobalScope;
  100310. }
  100311. t1 = _this._environment0$_variables;
  100312. t2 = type$.String;
  100313. B.JSArray_methods.add$1(t1, A.LinkedHashMap_LinkedHashMap$_empty(t2, type$.Value_2));
  100314. t3 = _this._environment0$_variableNodes;
  100315. B.JSArray_methods.add$1(t3, A.LinkedHashMap_LinkedHashMap$_empty(t2, type$.AstNode_2));
  100316. t4 = _this._environment0$_functions;
  100317. t5 = type$.Callable_2;
  100318. B.JSArray_methods.add$1(t4, A.LinkedHashMap_LinkedHashMap$_empty(t2, t5));
  100319. t6 = _this._environment0$_mixins;
  100320. B.JSArray_methods.add$1(t6, A.LinkedHashMap_LinkedHashMap$_empty(t2, t5));
  100321. t5 = _this._environment0$_nestedForwardedModules;
  100322. if (t5 != null)
  100323. t5.push(A._setArrayType([], type$.JSArray_Module_Callable_2));
  100324. try {
  100325. t2 = callback.call$0();
  100326. return t2;
  100327. } finally {
  100328. _this._environment0$_inSemiGlobalScope = wasInSemiGlobalScope;
  100329. _this._environment0$_lastVariableIndex = _this._environment0$_lastVariableName = null;
  100330. for (t1 = J.get$iterator$ax(J.get$keys$z(B.JSArray_methods.removeLast$0(t1))), t2 = _this._environment0$_variableIndices; t1.moveNext$0();) {
  100331. $name = t1.get$current(t1);
  100332. t2.remove$1(0, $name);
  100333. }
  100334. B.JSArray_methods.removeLast$0(t3);
  100335. for (t1 = J.get$iterator$ax(J.get$keys$z(B.JSArray_methods.removeLast$0(t4))), t2 = _this._environment0$_functionIndices; t1.moveNext$0();) {
  100336. name0 = t1.get$current(t1);
  100337. t2.remove$1(0, name0);
  100338. }
  100339. for (t1 = J.get$iterator$ax(J.get$keys$z(B.JSArray_methods.removeLast$0(t6))), t2 = _this._environment0$_mixinIndices; t1.moveNext$0();) {
  100340. name1 = t1.get$current(t1);
  100341. t2.remove$1(0, name1);
  100342. }
  100343. t1 = _this._environment0$_nestedForwardedModules;
  100344. if (t1 != null)
  100345. t1.pop();
  100346. }
  100347. },
  100348. scope$1$1(callback) {
  100349. callback.toString;
  100350. return this.scope$1$3$semiGlobal$when(callback, false, true);
  100351. },
  100352. scope$1$2$when(callback, when) {
  100353. callback.toString;
  100354. return this.scope$1$3$semiGlobal$when(callback, false, when);
  100355. },
  100356. scope$1$2$semiGlobal(callback, semiGlobal) {
  100357. callback.toString;
  100358. return this.scope$1$3$semiGlobal$when(callback, semiGlobal, true);
  100359. },
  100360. toImplicitConfiguration$0() {
  100361. var t2, t3, t4, i, values, nodes, t5, t6, $name, value,
  100362. t1 = type$.String,
  100363. configuration = A.LinkedHashMap_LinkedHashMap$_empty(t1, type$.ConfiguredValue_2);
  100364. for (t2 = this._environment0$_variables, t3 = type$.Value_2, t4 = this._environment0$_variableNodes, i = 0; i < t2.length; ++i) {
  100365. values = t2[i];
  100366. nodes = t4[i];
  100367. for (t5 = A.MapExtensions_get_pairs0(values, t1, t3), t5 = t5.get$iterator(t5); t5.moveNext$0();) {
  100368. t6 = t5.get$current(t5);
  100369. $name = t6._0;
  100370. value = t6._1;
  100371. t6 = nodes.$index(0, $name);
  100372. t6.toString;
  100373. configuration.$indexSet(0, $name, new A.ConfiguredValue0(value, null, t6));
  100374. }
  100375. }
  100376. return new A.Configuration0(configuration, null);
  100377. },
  100378. toModule$3(css, preModuleComments, extensionStore) {
  100379. return A._EnvironmentModule__EnvironmentModule1(this, css, preModuleComments, extensionStore, A.NullableExtension_andThen0(this._environment0$_forwardedModules, new A.Environment_toModule_closure0()));
  100380. },
  100381. toDummyModule$0() {
  100382. return A._EnvironmentModule__EnvironmentModule1(this, new A.CssStylesheet0(new A.UnmodifiableListView(B.List_empty19, type$.UnmodifiableListView_CssNode_2), A.SourceFile$decoded(B.List_empty4, "<dummy module>").span$1(0, 0)), B.Map_empty10, B.C_EmptyExtensionStore0, A.NullableExtension_andThen0(this._environment0$_forwardedModules, new A.Environment_toDummyModule_closure0()));
  100383. },
  100384. _environment0$_getModule$1(namespace) {
  100385. var _0_0 = this._environment0$_modules.$index(0, namespace);
  100386. if (_0_0 != null)
  100387. return _0_0;
  100388. throw A.wrapException(A.SassScriptException$0('There is no module with the namespace "' + namespace + '".', null));
  100389. },
  100390. _environment0$_fromOneModule$1$3($name, type, callback) {
  100391. var t1, t2, t3, t4, t5, _1_0, _2_0, value, identity, valueInModule, identityFromModule, module, node,
  100392. _0_0 = this._environment0$_nestedForwardedModules;
  100393. if (_0_0 != null)
  100394. for (t1 = A._arrayInstanceType(_0_0)._eval$1("ReversedListIterable<1>"), t2 = new A.ReversedListIterable(_0_0, t1), t2 = new A.ListIterator(t2, t2.get$length(0), t1._eval$1("ListIterator<ListIterable.E>")), t1 = t1._eval$1("ListIterable.E"); t2.moveNext$0();) {
  100395. t3 = t2.__internal$_current;
  100396. for (t3 = J.get$reversed$ax(t3 == null ? t1._as(t3) : t3), t4 = t3.$ti, t3 = new A.ListIterator(t3, t3.get$length(0), t4._eval$1("ListIterator<ListIterable.E>")), t4 = t4._eval$1("ListIterable.E"); t3.moveNext$0();) {
  100397. t5 = t3.__internal$_current;
  100398. _1_0 = callback.call$1(t5 == null ? t4._as(t5) : t5);
  100399. if (_1_0 != null)
  100400. return _1_0;
  100401. }
  100402. }
  100403. for (t1 = this._environment0$_importedModules, t1 = new A.LinkedHashMapKeyIterator(t1, t1._modifications, t1._first); t1.moveNext$0();) {
  100404. _2_0 = callback.call$1(t1.__js_helper$_current);
  100405. if (_2_0 != null)
  100406. return _2_0;
  100407. }
  100408. for (t1 = this._environment0$_globalModules, t2 = new A.LinkedHashMapKeyIterator(t1, t1._modifications, t1._first), t3 = type$.Callable_2, value = null, identity = null; t2.moveNext$0();) {
  100409. t4 = t2.__js_helper$_current;
  100410. valueInModule = callback.call$1(t4);
  100411. if (valueInModule == null)
  100412. continue;
  100413. identityFromModule = t3._is(valueInModule) ? valueInModule : t4.variableIdentity$1($name);
  100414. if (identityFromModule.$eq(0, identity))
  100415. continue;
  100416. if (value != null) {
  100417. t2 = A.LinkedHashMap_LinkedHashMap$_empty(type$.FileSpan, type$.String);
  100418. for (t3 = A.MapExtensions_get_pairs0(t1, type$.Module_Callable_2, type$.AstNode_2), t3 = t3.get$iterator(t3), t4 = "includes " + type; t3.moveNext$0();) {
  100419. t1 = t3.get$current(t3);
  100420. module = t1._0;
  100421. node = t1._1;
  100422. if (callback.call$1(module) != null)
  100423. t2.$indexSet(0, node.get$span(node), t4);
  100424. }
  100425. throw A.wrapException(A.MultiSpanSassScriptException$0("This " + type + string$.x20is_av, type + " use", t2));
  100426. }
  100427. identity = identityFromModule;
  100428. value = valueInModule;
  100429. }
  100430. return value;
  100431. },
  100432. _environment0$_fromOneModule$3($name, type, callback) {
  100433. callback.toString;
  100434. return this._environment0$_fromOneModule$1$3($name, type, callback, type$.dynamic);
  100435. }
  100436. };
  100437. A.Environment__getVariableFromGlobalModule_closure0.prototype = {
  100438. call$1(module) {
  100439. return module.get$variables().$index(0, this.name);
  100440. },
  100441. $signature: 441
  100442. };
  100443. A.Environment_setVariable_closure2.prototype = {
  100444. call$0() {
  100445. var t1 = this.$this;
  100446. t1._environment0$_lastVariableName = this.name;
  100447. return t1._environment0$_lastVariableIndex = 0;
  100448. },
  100449. $signature: 10
  100450. };
  100451. A.Environment_setVariable_closure3.prototype = {
  100452. call$1(module) {
  100453. return module.get$variables().containsKey$1(this.name) ? module : null;
  100454. },
  100455. $signature: 442
  100456. };
  100457. A.Environment_setVariable_closure4.prototype = {
  100458. call$0() {
  100459. var t1 = this.$this,
  100460. t2 = t1._environment0$_variableIndex$1(this.name);
  100461. return t2 == null ? t1._environment0$_variables.length - 1 : t2;
  100462. },
  100463. $signature: 10
  100464. };
  100465. A.Environment__getFunctionFromGlobalModule_closure0.prototype = {
  100466. call$1(module) {
  100467. return module.get$functions(module).$index(0, this.name);
  100468. },
  100469. $signature: 235
  100470. };
  100471. A.Environment__getMixinFromGlobalModule_closure0.prototype = {
  100472. call$1(module) {
  100473. return module.get$mixins().$index(0, this.name);
  100474. },
  100475. $signature: 235
  100476. };
  100477. A.Environment_toModule_closure0.prototype = {
  100478. call$1(modules) {
  100479. return new A.MapKeySet(modules, type$.MapKeySet_Module_Callable_2);
  100480. },
  100481. $signature: 236
  100482. };
  100483. A.Environment_toDummyModule_closure0.prototype = {
  100484. call$1(modules) {
  100485. return new A.MapKeySet(modules, type$.MapKeySet_Module_Callable_2);
  100486. },
  100487. $signature: 236
  100488. };
  100489. A._EnvironmentModule1.prototype = {
  100490. get$url(_) {
  100491. var t1 = this.css;
  100492. return t1.get$span(t1).file.url;
  100493. },
  100494. setVariable$3($name, value, nodeWithSpan) {
  100495. var t1, t2,
  100496. _0_0 = this._environment0$_modulesByVariable.$index(0, $name);
  100497. if (_0_0 != null) {
  100498. _0_0.setVariable$3($name, value, nodeWithSpan);
  100499. return;
  100500. }
  100501. t1 = this._environment0$_environment;
  100502. t2 = t1._environment0$_variables;
  100503. if (!B.JSArray_methods.get$first(t2).containsKey$1($name))
  100504. throw A.wrapException(A.SassScriptException$0("Undefined variable.", null));
  100505. J.$indexSet$ax(B.JSArray_methods.get$first(t2), $name, value);
  100506. J.$indexSet$ax(B.JSArray_methods.get$first(t1._environment0$_variableNodes), $name, nodeWithSpan);
  100507. return;
  100508. },
  100509. variableIdentity$1($name) {
  100510. var module = this._environment0$_modulesByVariable.$index(0, $name);
  100511. return module == null ? this : module.variableIdentity$1($name);
  100512. },
  100513. cloneCss$0() {
  100514. var _0_0, _this = this;
  100515. if (!_this.transitivelyContainsCss)
  100516. return _this;
  100517. _0_0 = A.cloneCssStylesheet0(_this.css, _this.extensionStore);
  100518. return A._EnvironmentModule$_1(_this._environment0$_environment, _0_0._0, _this.preModuleComments, _0_0._1, _this._environment0$_modulesByVariable, _this.variables, _this.variableNodes, _this.functions, _this.mixins, true, _this.transitivelyContainsExtensions);
  100519. },
  100520. toString$0(_) {
  100521. var t2,
  100522. t1 = this.css;
  100523. if (t1.get$span(t1).file.url == null)
  100524. t1 = "<unknown url>";
  100525. else {
  100526. t1 = t1.get$span(t1).file.url;
  100527. t2 = $.$get$context();
  100528. t1.toString;
  100529. t1 = t2.prettyUri$1(t1);
  100530. }
  100531. return t1;
  100532. },
  100533. $isModule1: 1,
  100534. get$upstream() {
  100535. return this.upstream;
  100536. },
  100537. get$variables() {
  100538. return this.variables;
  100539. },
  100540. get$variableNodes() {
  100541. return this.variableNodes;
  100542. },
  100543. get$functions(receiver) {
  100544. return this.functions;
  100545. },
  100546. get$mixins() {
  100547. return this.mixins;
  100548. },
  100549. get$extensionStore() {
  100550. return this.extensionStore;
  100551. },
  100552. get$css(receiver) {
  100553. return this.css;
  100554. },
  100555. get$preModuleComments() {
  100556. return this.preModuleComments;
  100557. },
  100558. get$transitivelyContainsCss() {
  100559. return this.transitivelyContainsCss;
  100560. },
  100561. get$transitivelyContainsExtensions() {
  100562. return this.transitivelyContainsExtensions;
  100563. }
  100564. };
  100565. A._EnvironmentModule__EnvironmentModule_closure11.prototype = {
  100566. call$1(module) {
  100567. return module.get$variables();
  100568. },
  100569. $signature: 445
  100570. };
  100571. A._EnvironmentModule__EnvironmentModule_closure12.prototype = {
  100572. call$1(module) {
  100573. return module.get$variableNodes();
  100574. },
  100575. $signature: 446
  100576. };
  100577. A._EnvironmentModule__EnvironmentModule_closure13.prototype = {
  100578. call$1(module) {
  100579. return module.get$functions(module);
  100580. },
  100581. $signature: 237
  100582. };
  100583. A._EnvironmentModule__EnvironmentModule_closure14.prototype = {
  100584. call$1(module) {
  100585. return module.get$mixins();
  100586. },
  100587. $signature: 237
  100588. };
  100589. A._EnvironmentModule__EnvironmentModule_closure15.prototype = {
  100590. call$1(module) {
  100591. return module.get$transitivelyContainsCss();
  100592. },
  100593. $signature: 127
  100594. };
  100595. A._EnvironmentModule__EnvironmentModule_closure16.prototype = {
  100596. call$1(module) {
  100597. return module.get$transitivelyContainsExtensions();
  100598. },
  100599. $signature: 127
  100600. };
  100601. A.ErrorRule0.prototype = {
  100602. accept$1$1(visitor) {
  100603. return visitor.visitErrorRule$1(0, this);
  100604. },
  100605. accept$1(visitor) {
  100606. return this.accept$1$1(visitor, type$.dynamic);
  100607. },
  100608. toString$0(_) {
  100609. return "@error " + this.expression.toString$0(0) + ";";
  100610. },
  100611. get$span(receiver) {
  100612. return this.span;
  100613. }
  100614. };
  100615. A._EvaluateVisitor1.prototype = {
  100616. _EvaluateVisitor$6$functions$importCache$logger$nodeImporter$quietDeps$sourceMap1(functions, importCache, logger, nodeImporter, quietDeps, sourceMap) {
  100617. var t2, metaModule, t3, _i, module, $function, t4, _this = this,
  100618. _s20_ = "$name, $module: null",
  100619. _s9_ = "sass:meta",
  100620. _s7_ = "$module",
  100621. t1 = type$.JSArray_BuiltInCallable_2,
  100622. metaFunctions = A._setArrayType([A.BuiltInCallable$function0("global-variable-exists", _s20_, new A._EvaluateVisitor_closure25(_this), _s9_), A.BuiltInCallable$function0("variable-exists", "$name", new A._EvaluateVisitor_closure26(_this), _s9_), A.BuiltInCallable$function0("function-exists", _s20_, new A._EvaluateVisitor_closure27(_this), _s9_), A.BuiltInCallable$function0("mixin-exists", _s20_, new A._EvaluateVisitor_closure28(_this), _s9_), A.BuiltInCallable$function0("content-exists", "", new A._EvaluateVisitor_closure29(_this), _s9_), A.BuiltInCallable$function0("module-variables", _s7_, new A._EvaluateVisitor_closure30(_this), _s9_), A.BuiltInCallable$function0("module-functions", _s7_, new A._EvaluateVisitor_closure31(_this), _s9_), A.BuiltInCallable$function0("module-mixins", _s7_, new A._EvaluateVisitor_closure32(_this), _s9_), A.BuiltInCallable$function0("get-function", "$name, $css: false, $module: null", new A._EvaluateVisitor_closure33(_this), _s9_), A.BuiltInCallable$function0("get-mixin", _s20_, new A._EvaluateVisitor_closure34(_this), _s9_), A.BuiltInCallable$function0("call", "$function, $args...", new A._EvaluateVisitor_closure35(_this), _s9_)], t1),
  100623. metaMixins = A._setArrayType([A.BuiltInCallable$mixin0("load-css", "$url, $with: null", new A._EvaluateVisitor_closure36(_this), false, _s9_), A.BuiltInCallable$mixin0("apply", "$mixin, $args...", new A._EvaluateVisitor_closure37(_this), true, _s9_)], t1);
  100624. t1 = type$.BuiltInCallable_2;
  100625. t2 = A.List_List$_of($.$get$moduleFunctions0(), t1);
  100626. B.JSArray_methods.addAll$1(t2, metaFunctions);
  100627. metaModule = A.BuiltInModule$0("meta", t2, metaMixins, null, t1);
  100628. t1 = A.List_List$_of($.$get$coreModules0(), type$.BuiltInModule_Callable_2);
  100629. t1.push(metaModule);
  100630. t2 = t1.length;
  100631. t3 = _this._evaluate0$_builtInModules;
  100632. _i = 0;
  100633. for (; _i < t1.length; t1.length === t2 || (0, A.throwConcurrentModificationError)(t1), ++_i) {
  100634. module = t1[_i];
  100635. t3.$indexSet(0, module.url, module);
  100636. }
  100637. t1 = type$.JSArray_Callable_2;
  100638. t2 = A._setArrayType([], t1);
  100639. B.JSArray_methods.addAll$1(t2, functions);
  100640. B.JSArray_methods.addAll$1(t2, $.$get$globalFunctions0());
  100641. t1 = A._setArrayType([], t1);
  100642. for (_i = 0; _i < 11; ++_i)
  100643. t1.push(metaFunctions[_i].withDeprecationWarning$1("meta"));
  100644. B.JSArray_methods.addAll$1(t2, t1);
  100645. for (t1 = t2.length, t3 = _this._evaluate0$_builtInFunctions, _i = 0; _i < t2.length; t2.length === t1 || (0, A.throwConcurrentModificationError)(t2), ++_i) {
  100646. $function = t2[_i];
  100647. t4 = $function.get$name($function);
  100648. t3.$indexSet(0, A.stringReplaceAllUnchecked(t4, "_", "-"), $function);
  100649. }
  100650. },
  100651. run$2(_, importer, node) {
  100652. var error, stackTrace, t1, exception;
  100653. try {
  100654. t1 = type$.nullable_Object;
  100655. t1 = A.runZoned(new A._EvaluateVisitor_run_closure1(this, node, importer), A.LinkedHashMap_LinkedHashMap$_literal([B.Symbol__evaluationContext, new A._EvaluationContext1(this, node)], t1, t1), type$.Record_2_Set_Uri_loadedUrls_and_CssStylesheet_stylesheet_2);
  100656. return t1;
  100657. } catch (exception) {
  100658. t1 = A.unwrapException(exception);
  100659. if (t1 instanceof A.SassException0) {
  100660. error = t1;
  100661. stackTrace = A.getTraceFromException(exception);
  100662. A.throwWithTrace0(error.withLoadedUrls$1(this._evaluate0$_loadedUrls), error, stackTrace);
  100663. } else
  100664. throw exception;
  100665. }
  100666. },
  100667. _evaluate0$_assertInModule$1$2(value, $name) {
  100668. if (value != null)
  100669. return value;
  100670. throw A.wrapException(A.StateError$("Can't access " + $name + " outside of a module."));
  100671. },
  100672. _evaluate0$_assertInModule$2(value, $name) {
  100673. return this._evaluate0$_assertInModule$1$2(value, $name, type$.dynamic);
  100674. },
  100675. _evaluate0$_loadModule$7$baseUrl$configuration$namesInErrors(url, stackFrame, nodeWithSpan, callback, baseUrl, configuration, namesInErrors) {
  100676. var t2, _this = this,
  100677. _0_0 = _this._evaluate0$_builtInModules.$index(0, url),
  100678. t1 = {};
  100679. t1.builtInModule = null;
  100680. if (_0_0 != null) {
  100681. t1.builtInModule = _0_0;
  100682. if (configuration instanceof A.ExplicitConfiguration0) {
  100683. t1 = namesInErrors ? "Built-in module " + url.toString$0(0) + " can't be configured." : "Built-in modules can't be configured.";
  100684. t2 = configuration.nodeWithSpan;
  100685. throw A.wrapException(_this._evaluate0$_exception$2(t1, t2.get$span(t2)));
  100686. }
  100687. _this._evaluate0$_addExceptionSpan$2(nodeWithSpan, new A._EvaluateVisitor__loadModule_closure3(t1, callback));
  100688. return;
  100689. }
  100690. _this._evaluate0$_withStackFrame$3(stackFrame, nodeWithSpan, new A._EvaluateVisitor__loadModule_closure4(_this, url, nodeWithSpan, baseUrl, namesInErrors, configuration, callback));
  100691. },
  100692. _evaluate0$_loadModule$5$configuration(url, stackFrame, nodeWithSpan, callback, configuration) {
  100693. callback.toString;
  100694. return this._evaluate0$_loadModule$7$baseUrl$configuration$namesInErrors(url, stackFrame, nodeWithSpan, callback, null, configuration, false);
  100695. },
  100696. _evaluate0$_loadModule$4(url, stackFrame, nodeWithSpan, callback) {
  100697. callback.toString;
  100698. return this._evaluate0$_loadModule$7$baseUrl$configuration$namesInErrors(url, stackFrame, nodeWithSpan, callback, null, null, false);
  100699. },
  100700. _evaluate0$_execute$5$configuration$namesInErrors$nodeWithSpan(importer, stylesheet, configuration, namesInErrors, nodeWithSpan) {
  100701. var currentConfiguration, t2, t3, message, existingSpan, configurationSpan, environment, css, preModuleComments, extensionStore, module, _this = this,
  100702. url = stylesheet.span.file.url,
  100703. t1 = _this._evaluate0$_modules,
  100704. _0_0 = t1.$index(0, url);
  100705. if (_0_0 != null) {
  100706. t1 = configuration == null;
  100707. currentConfiguration = t1 ? _this._evaluate0$_configuration : configuration;
  100708. t2 = _this._evaluate0$_moduleConfigurations.$index(0, url);
  100709. t3 = t2._configuration0$__originalConfiguration;
  100710. t2 = t3 == null ? t2 : t3;
  100711. t3 = currentConfiguration._configuration0$__originalConfiguration;
  100712. if (t2 !== (t3 == null ? currentConfiguration : t3) && currentConfiguration instanceof A.ExplicitConfiguration0) {
  100713. if (namesInErrors) {
  100714. t2 = $.$get$context();
  100715. url.toString;
  100716. message = t2.prettyUri$1(url) + string$.x20was_a;
  100717. } else
  100718. message = string$.This_mw;
  100719. t2 = _this._evaluate0$_moduleNodes.$index(0, url);
  100720. existingSpan = t2 == null ? null : t2.get$span(t2);
  100721. if (t1) {
  100722. t1 = currentConfiguration.nodeWithSpan;
  100723. configurationSpan = t1.get$span(t1);
  100724. } else
  100725. configurationSpan = null;
  100726. t1 = A.LinkedHashMap_LinkedHashMap$_empty(type$.FileSpan, type$.String);
  100727. if (existingSpan != null)
  100728. t1.$indexSet(0, existingSpan, "original load");
  100729. if (configurationSpan != null)
  100730. t1.$indexSet(0, configurationSpan, "configuration");
  100731. throw A.wrapException(t1.get$isEmpty(0) ? _this._evaluate0$_exception$1(message) : _this._evaluate0$_multiSpanException$3(message, "new load", t1));
  100732. }
  100733. return _0_0;
  100734. }
  100735. environment = A.Environment$0();
  100736. css = A._Cell$();
  100737. preModuleComments = A._Cell$();
  100738. extensionStore = A.ExtensionStore$0();
  100739. _this._evaluate0$_withEnvironment$2(environment, new A._EvaluateVisitor__execute_closure1(_this, importer, stylesheet, extensionStore, configuration, css, preModuleComments));
  100740. t2 = css._readLocal$0();
  100741. t3 = preModuleComments._readLocal$0();
  100742. module = environment.toModule$3(t2, t3 == null ? B.Map_empty10 : t3, extensionStore);
  100743. if (url != null) {
  100744. t1.$indexSet(0, url, module);
  100745. _this._evaluate0$_moduleConfigurations.$indexSet(0, url, _this._evaluate0$_configuration);
  100746. if (nodeWithSpan != null)
  100747. _this._evaluate0$_moduleNodes.$indexSet(0, url, nodeWithSpan);
  100748. }
  100749. return module;
  100750. },
  100751. _evaluate0$_execute$2(importer, stylesheet) {
  100752. return this._evaluate0$_execute$5$configuration$namesInErrors$nodeWithSpan(importer, stylesheet, null, false, null);
  100753. },
  100754. _evaluate0$_addOutOfOrderImports$0() {
  100755. var t1, t2, _this = this, _s5_ = "_root",
  100756. _s13_ = "_endOfImports",
  100757. _0_0 = _this._evaluate0$_outOfOrderImports;
  100758. $label0$0: {
  100759. if (_0_0 == null) {
  100760. t1 = _this._evaluate0$_assertInModule$2(_this._evaluate0$__root, _s5_).children;
  100761. break $label0$0;
  100762. }
  100763. t1 = _this._evaluate0$_assertInModule$2(_this._evaluate0$__root, _s5_).children;
  100764. t1 = A.List_List$_of(A.SubListIterable$(t1, 0, A.checkNotNullable(_this._evaluate0$_assertInModule$2(_this._evaluate0$__endOfImports, _s13_), "count", type$.int), t1.$ti._eval$1("ListBase.E")), type$.ModifiableCssNode_2);
  100765. B.JSArray_methods.addAll$1(t1, _0_0);
  100766. t2 = _this._evaluate0$_assertInModule$2(_this._evaluate0$__root, _s5_).children;
  100767. B.JSArray_methods.addAll$1(t1, A.SubListIterable$(t2, _this._evaluate0$_assertInModule$2(_this._evaluate0$__endOfImports, _s13_), null, t2.$ti._eval$1("ListBase.E")));
  100768. break $label0$0;
  100769. }
  100770. return t1;
  100771. },
  100772. _evaluate0$_combineCss$2$clone(root, clone) {
  100773. var selectors, _0_0, t1, imports, css, sorted, t2;
  100774. if (!B.JSArray_methods.any$1(root.get$upstream(), new A._EvaluateVisitor__combineCss_closure3())) {
  100775. selectors = root.get$extensionStore().get$simpleSelectors();
  100776. _0_0 = A.IterableExtension_get_firstOrNull(root.get$extensionStore().extensionsWhereTarget$1(new A._EvaluateVisitor__combineCss_closure4(selectors)));
  100777. if (_0_0 != null)
  100778. this._evaluate0$_throwForUnsatisfiedExtension$1(_0_0);
  100779. return root.get$css(root);
  100780. }
  100781. t1 = type$.JSArray_CssNode_2;
  100782. imports = A._setArrayType([], t1);
  100783. css = A._setArrayType([], t1);
  100784. t1 = type$.Module_Callable_2;
  100785. sorted = A.ListQueue$(t1);
  100786. new A._EvaluateVisitor__combineCss_visitModule1(this, A.LinkedHashSet_LinkedHashSet$_empty(t1), clone, css, imports, sorted).call$1(root);
  100787. if (root.get$transitivelyContainsExtensions())
  100788. this._evaluate0$_extendModules$1(sorted);
  100789. t1 = B.JSArray_methods.$add(imports, css);
  100790. t2 = root.get$css(root);
  100791. return new A.CssStylesheet0(new A.UnmodifiableListView(t1, type$.UnmodifiableListView_CssNode_2), t2.get$span(t2));
  100792. },
  100793. _evaluate0$_combineCss$1(root) {
  100794. return this._evaluate0$_combineCss$2$clone(root, false);
  100795. },
  100796. _evaluate0$_extendModules$1(sortedModules) {
  100797. var t1, t2, t3, originalSelectors, $self, t4, t5, _i, upstream, _0_0,
  100798. downstreamExtensionStores = A.LinkedHashMap_LinkedHashMap$_empty(type$.Uri, type$.List_ExtensionStore_2),
  100799. unsatisfiedExtensions = new A._LinkedIdentityHashSet(type$._LinkedIdentityHashSet_Extension_2);
  100800. for (t1 = A._ListQueueIterator$(sortedModules, sortedModules.$ti._precomputed1), t2 = t1.$ti._precomputed1; t1.moveNext$0();) {
  100801. t3 = t1._collection$_current;
  100802. if (t3 == null)
  100803. t3 = t2._as(t3);
  100804. originalSelectors = t3.get$extensionStore().get$simpleSelectors().toSet$0(0);
  100805. unsatisfiedExtensions.addAll$1(0, t3.get$extensionStore().extensionsWhereTarget$1(new A._EvaluateVisitor__extendModules_closure3(originalSelectors)));
  100806. $self = downstreamExtensionStores.$index(0, t3.get$url(t3));
  100807. t4 = t3.get$extensionStore().get$addExtensions();
  100808. if ($self != null)
  100809. t4.call$1($self);
  100810. t4 = t3.get$extensionStore();
  100811. if (t4.get$isEmpty(t4))
  100812. continue;
  100813. for (t4 = t3.get$upstream(), t5 = t4.length, _i = 0; _i < t4.length; t4.length === t5 || (0, A.throwConcurrentModificationError)(t4), ++_i) {
  100814. upstream = t4[_i];
  100815. _0_0 = upstream.get$url(upstream);
  100816. if (_0_0 != null)
  100817. J.add$1$ax(downstreamExtensionStores.putIfAbsent$2(_0_0, new A._EvaluateVisitor__extendModules_closure4()), t3.get$extensionStore());
  100818. }
  100819. unsatisfiedExtensions.removeAll$1(t3.get$extensionStore().extensionsWhereTarget$1(originalSelectors.get$contains(originalSelectors)));
  100820. }
  100821. if (unsatisfiedExtensions._collection$_length !== 0)
  100822. this._evaluate0$_throwForUnsatisfiedExtension$1(unsatisfiedExtensions.get$first(0));
  100823. },
  100824. _evaluate0$_throwForUnsatisfiedExtension$1(extension) {
  100825. throw A.wrapException(A.SassException$0(string$.The_ta + extension.target.toString$0(0) + ' !optional" to avoid this error.', extension.span, null));
  100826. },
  100827. _evaluate0$_indexAfterImports$1(statements) {
  100828. var t1, lastImport, i, _0_0;
  100829. for (t1 = J.getInterceptor$asx(statements), lastImport = -1, i = 0; i < t1.get$length(statements); ++i) {
  100830. $label0$0: {
  100831. _0_0 = t1.$index(statements, i);
  100832. if (_0_0 instanceof A.ModifiableCssImport0)
  100833. break $label0$0;
  100834. if (_0_0 instanceof A.ModifiableCssComment0)
  100835. continue;
  100836. break;
  100837. }
  100838. lastImport = i;
  100839. }
  100840. return lastImport + 1;
  100841. },
  100842. visitStylesheet$1(_, node) {
  100843. var t1, t2, warning, _i, $name, span;
  100844. for (t1 = node.parseTimeWarnings, t2 = t1.$ti, t1 = new A.ListIterator(t1, t1.get$length(0), t2._eval$1("ListIterator<ListBase.E>")), t2 = t2._eval$1("ListBase.E"); t1.moveNext$0();) {
  100845. warning = t1.__internal$_current;
  100846. if (warning == null)
  100847. warning = t2._as(warning);
  100848. this._evaluate0$_warn$3(warning._1, warning._2, warning._0);
  100849. }
  100850. for (t1 = node.children, t2 = t1.length, _i = 0; _i < t2; ++_i)
  100851. t1[_i].accept$1(this);
  100852. for (t1 = A.MapExtensions_get_pairs0(node.globalVariables, type$.String, type$.FileSpan), t1 = t1.get$iterator(t1); t1.moveNext$0();) {
  100853. t2 = t1.get$current(t1);
  100854. $name = t2._0;
  100855. span = t2._1;
  100856. this.visitVariableDeclaration$1(0, new A.VariableDeclaration0(null, $name, new A.NullExpression0(span), true, false, span));
  100857. }
  100858. return null;
  100859. },
  100860. visitAtRootRule$1(_, node) {
  100861. var t1, _2_0, root, first, rest, innerCopy, outerCopy, _i, copy, _this = this, _null = null,
  100862. _s8_ = "__parent",
  100863. _0_0 = node.query,
  100864. query = _0_0 != null ? new A.AtRootQueryParser0(A.SpanScanner$(_this._evaluate0$_performInterpolationWithMap$2$warnForColor(_0_0, true)._0, _null), _null).parse$0(0) : B.AtRootQuery_bfj0,
  100865. $parent = _this._evaluate0$_assertInModule$2(_this._evaluate0$__parent, _s8_),
  100866. included = A._setArrayType([], type$.JSArray_ModifiableCssParentNode_2);
  100867. for (t1 = type$.CssStylesheet_2; !t1._is($parent); $parent = _2_0) {
  100868. if (!query.excludes$1($parent))
  100869. included.push($parent);
  100870. _2_0 = $parent._node$_parent;
  100871. if (_2_0 == null)
  100872. throw A.wrapException(A.StateError$(string$.CssNod));
  100873. }
  100874. root = _this._evaluate0$_trimIncluded$1(included);
  100875. if (root === _this._evaluate0$_assertInModule$2(_this._evaluate0$__parent, _s8_)) {
  100876. _this._evaluate0$_environment.scope$1$2$when(new A._EvaluateVisitor_visitAtRootRule_closure3(_this, node), node.hasDeclarations, type$.Null);
  100877. return _null;
  100878. }
  100879. if (included.length >= 1) {
  100880. first = included[0];
  100881. rest = B.JSArray_methods.sublist$1(included, 1);
  100882. innerCopy = first.copyWithoutChildren$0();
  100883. for (t1 = rest.length, outerCopy = innerCopy, _i = 0; _i < rest.length; rest.length === t1 || (0, A.throwConcurrentModificationError)(rest), ++_i, outerCopy = copy) {
  100884. copy = rest[_i].copyWithoutChildren$0();
  100885. copy.addChild$1(outerCopy);
  100886. }
  100887. root.addChild$1(outerCopy);
  100888. } else
  100889. innerCopy = root;
  100890. _this._evaluate0$_scopeForAtRoot$4(node, innerCopy, query, included).call$1(new A._EvaluateVisitor_visitAtRootRule_closure4(_this, node));
  100891. return _null;
  100892. },
  100893. _evaluate0$_trimIncluded$1(nodes) {
  100894. var $parent, t1, innermostContiguous, i, t2, _0_0, _1_0, root, _this = this, _null = null, _s5_ = "_root",
  100895. _s22_ = " to be an ancestor of ";
  100896. if (nodes.length === 0)
  100897. return _this._evaluate0$_assertInModule$2(_this._evaluate0$__root, _s5_);
  100898. $parent = _this._evaluate0$_assertInModule$2(_this._evaluate0$__parent, "__parent");
  100899. for (t1 = nodes.length, innermostContiguous = _null, i = 0; i < t1; ++i, $parent = _1_0) {
  100900. for (; t2 = nodes[i], $parent !== t2; innermostContiguous = _null, $parent = _0_0) {
  100901. _0_0 = $parent._node$_parent;
  100902. if (_0_0 == null)
  100903. throw A.wrapException(A.ArgumentError$("Expected " + t2.toString$0(0) + _s22_ + _this.toString$0(0) + ".", _null));
  100904. }
  100905. if (innermostContiguous == null)
  100906. innermostContiguous = i;
  100907. _1_0 = $parent._node$_parent;
  100908. if (_1_0 == null)
  100909. throw A.wrapException(A.ArgumentError$("Expected " + t2.toString$0(0) + _s22_ + _this.toString$0(0) + ".", _null));
  100910. }
  100911. if ($parent !== _this._evaluate0$_assertInModule$2(_this._evaluate0$__root, _s5_))
  100912. return _this._evaluate0$_assertInModule$2(_this._evaluate0$__root, _s5_);
  100913. innermostContiguous.toString;
  100914. root = nodes[innermostContiguous];
  100915. B.JSArray_methods.removeRange$2(nodes, innermostContiguous, nodes.length);
  100916. return root;
  100917. },
  100918. _evaluate0$_scopeForAtRoot$4(node, newParent, query, included) {
  100919. var _this = this,
  100920. scope = new A._EvaluateVisitor__scopeForAtRoot_closure11(_this, newParent, node),
  100921. t1 = query._at_root_query0$_all || query._at_root_query0$_rule;
  100922. if (t1 !== query.include)
  100923. scope = new A._EvaluateVisitor__scopeForAtRoot_closure12(_this, scope);
  100924. if (_this._evaluate0$_mediaQueries != null && query.excludesName$1("media"))
  100925. scope = new A._EvaluateVisitor__scopeForAtRoot_closure13(_this, scope);
  100926. if (_this._evaluate0$_inKeyframes && query.excludesName$1("keyframes"))
  100927. scope = new A._EvaluateVisitor__scopeForAtRoot_closure14(_this, scope);
  100928. return _this._evaluate0$_inUnknownAtRule && !B.JSArray_methods.any$1(included, new A._EvaluateVisitor__scopeForAtRoot_closure15()) ? new A._EvaluateVisitor__scopeForAtRoot_closure16(_this, scope) : scope;
  100929. },
  100930. visitContentBlock$1(_, node) {
  100931. return A.throwExpression(A.UnsupportedError$(string$.Evalua));
  100932. },
  100933. visitContentRule$1(_, node) {
  100934. var $content = this._evaluate0$_environment._environment0$_content;
  100935. if ($content == null)
  100936. return null;
  100937. this._evaluate0$_runUserDefinedCallable$1$4(node.$arguments, $content, node, new A._EvaluateVisitor_visitContentRule_closure1(this, $content), type$.Null);
  100938. return null;
  100939. },
  100940. visitDebugRule$1(_, node) {
  100941. var value = node.expression.accept$1(this),
  100942. t1 = value instanceof A.SassString0 ? value._string0$_text : A.serializeValue0(value, true, true);
  100943. this._evaluate0$_logger.debug$2(0, t1, node.span);
  100944. return null;
  100945. },
  100946. visitDeclaration$1(_, node) {
  100947. var siblings, interleavedRules, t1, t2, t3, t4, t5, t6, rule, rule0, $name, _1_0, _2_0, value, _3_0, oldDeclarationName, _this = this, _null = null,
  100948. _s8_ = "__parent";
  100949. if ((_this._evaluate0$_atRootExcludingStyleRule ? _null : _this._evaluate0$_styleRuleIgnoringAtRoot) == null && !_this._evaluate0$_inUnknownAtRule && !_this._evaluate0$_inKeyframes)
  100950. throw A.wrapException(_this._evaluate0$_exception$2(string$.Declarm, node.span));
  100951. if (_this._evaluate0$_declarationName != null && B.JSString_methods.startsWith$1(node.name.get$initialPlain(), "--"))
  100952. throw A.wrapException(_this._evaluate0$_exception$2(string$.Declarw, node.span));
  100953. siblings = _this._evaluate0$_assertInModule$2(_this._evaluate0$__parent, _s8_)._node$_parent.children;
  100954. interleavedRules = A._setArrayType([], type$.JSArray_CssStyleRule_2);
  100955. if (siblings.get$last(siblings) !== _this._evaluate0$_assertInModule$2(_this._evaluate0$__parent, _s8_))
  100956. t1 = !(_this._evaluate0$_quietDeps && _this._evaluate0$_inDependency);
  100957. else
  100958. t1 = false;
  100959. if (t1)
  100960. for (t1 = A.SubListIterable$(siblings, siblings.indexOf$1(siblings, _this._evaluate0$_assertInModule$2(_this._evaluate0$__parent, _s8_)) + 1, _null, siblings.$ti._eval$1("ListBase.E")), t2 = t1.$ti, t1 = new A.ListIterator(t1, t1.get$length(0), t2._eval$1("ListIterator<ListIterable.E>")), t3 = node.span, t4 = type$.SourceSpan, t5 = type$.String, t2 = t2._eval$1("ListIterable.E"); t1.moveNext$0();) {
  100961. t6 = t1.__internal$_current;
  100962. rule = t6 == null ? t2._as(t6) : t6;
  100963. $label0$1: {
  100964. if (rule instanceof A.ModifiableCssComment0)
  100965. continue;
  100966. t6 = rule instanceof A.ModifiableCssStyleRule0;
  100967. rule0 = t6 ? rule : _null;
  100968. if (t6) {
  100969. interleavedRules.push(rule0);
  100970. break $label0$1;
  100971. }
  100972. _this._evaluate0$_warn$3(string$.Sassx27s, new A.MultiSpan0(t3, "declaration", A.ConstantMap_ConstantMap$from(A.LinkedHashMap_LinkedHashMap$_literal([rule.get$span(rule), "nested rule"], t4, t5), t4, t5)), B.Deprecation_MSr);
  100973. B.JSArray_methods.clear$0(interleavedRules);
  100974. break $label0$1;
  100975. }
  100976. }
  100977. t1 = node.name;
  100978. $name = _this._evaluate0$_interpolationToValue$2$warnForColor(t1, true);
  100979. _1_0 = _this._evaluate0$_declarationName;
  100980. if (_1_0 != null)
  100981. $name = new A.CssValue0(_1_0 + "-" + A.S($name.value), $name.span, type$.CssValue_String_2);
  100982. _2_0 = node.value;
  100983. if (_2_0 != null) {
  100984. value = _2_0.accept$1(_this);
  100985. if (!value.get$isBlank() || value.get$asList().length === 0 || J.startsWith$1$s($name.value, "--")) {
  100986. t2 = _this._evaluate0$_assertInModule$2(_this._evaluate0$__parent, _s8_);
  100987. t3 = _2_0.get$span(_2_0);
  100988. t4 = node.span;
  100989. t1 = B.JSString_methods.startsWith$1(t1.get$initialPlain(), "--");
  100990. t5 = interleavedRules.length === 0 ? _null : _this._evaluate0$_stackTrace$1(t4);
  100991. if (_this._evaluate0$_sourceMap) {
  100992. t6 = A.NullableExtension_andThen0(_2_0, _this.get$_evaluate0$_expressionNode());
  100993. t6 = t6 == null ? _null : J.get$span$z(t6);
  100994. } else
  100995. t6 = _null;
  100996. t2.addChild$1(A.ModifiableCssDeclaration$0($name, new A.CssValue0(value, t3, type$.CssValue_Value_2), t4, interleavedRules, t1, t5, t6));
  100997. }
  100998. }
  100999. _3_0 = node.children;
  101000. t1 = {};
  101001. t1.children = null;
  101002. if (_3_0 != null) {
  101003. t1.children = _3_0;
  101004. oldDeclarationName = _this._evaluate0$_declarationName;
  101005. _this._evaluate0$_declarationName = $name.value;
  101006. _this._evaluate0$_environment.scope$1$2$when(new A._EvaluateVisitor_visitDeclaration_closure1(t1, _this), node.hasDeclarations, type$.Null);
  101007. _this._evaluate0$_declarationName = oldDeclarationName;
  101008. }
  101009. return _null;
  101010. },
  101011. visitEachRule$1(_, node) {
  101012. var _this = this,
  101013. t1 = node.list,
  101014. list = t1.accept$1(_this),
  101015. nodeWithSpan = _this._evaluate0$_expressionNode$1(t1),
  101016. _0_0 = node.variables;
  101017. $label0$0: {
  101018. t1 = {};
  101019. t1.variable = null;
  101020. if (_0_0.length === 1) {
  101021. t1.variable = _0_0[0];
  101022. t1 = new A._EvaluateVisitor_visitEachRule_closure5(t1, _this, nodeWithSpan);
  101023. break $label0$0;
  101024. }
  101025. t1 = {};
  101026. t1.variables = null;
  101027. t1.variables = _0_0;
  101028. t1 = new A._EvaluateVisitor_visitEachRule_closure6(t1, _this, nodeWithSpan);
  101029. break $label0$0;
  101030. }
  101031. return _this._evaluate0$_environment.scope$1$2$semiGlobal(new A._EvaluateVisitor_visitEachRule_closure7(_this, list, t1, node), true, type$.nullable_Value_2);
  101032. },
  101033. _evaluate0$_setMultipleVariables$3(variables, value, nodeWithSpan) {
  101034. var i,
  101035. list = value.get$asList(),
  101036. t1 = variables.length,
  101037. minLength = Math.min(t1, list.length);
  101038. for (i = 0; i < minLength; ++i)
  101039. this._evaluate0$_environment.setLocalVariable$3(variables[i], this._evaluate0$_withoutSlash$2(list[i], nodeWithSpan), nodeWithSpan);
  101040. for (i = minLength; i < t1; ++i)
  101041. this._evaluate0$_environment.setLocalVariable$3(variables[i], B.C__SassNull0, nodeWithSpan);
  101042. },
  101043. visitErrorRule$1(_, node) {
  101044. throw A.wrapException(this._evaluate0$_exception$2(node.expression.accept$1(this).toString$0(0), node.span));
  101045. },
  101046. visitExtendRule$1(_, node) {
  101047. var t1, t2, t3, t4, t5, _i, complex, visitor, t6, t7, _0_0, compound, _this = this, _null = null,
  101048. styleRule = _this._evaluate0$_atRootExcludingStyleRule ? _null : _this._evaluate0$_styleRuleIgnoringAtRoot;
  101049. if (styleRule == null || _this._evaluate0$_declarationName != null)
  101050. throw A.wrapException(_this._evaluate0$_exception$2(string$.x40exten, node.span));
  101051. for (t1 = styleRule.originalSelector.components, t2 = t1.length, t3 = node.span, t4 = type$.SourceSpan, t5 = type$.String, _i = 0; _i < t2; ++_i) {
  101052. complex = t1[_i];
  101053. if (!complex.accept$1(B._IsBogusVisitor_true0))
  101054. continue;
  101055. visitor = A._SerializeVisitor$0(_null, true, _null, _null, true, false, _null, true);
  101056. complex.accept$1(visitor);
  101057. t6 = B.JSString_methods.trim$0(visitor._serialize0$_buffer.toString$0(0));
  101058. t7 = complex.accept$1(B.C__IsUselessVisitor0) ? "can't" : "shouldn't";
  101059. _this._evaluate0$_warn$3('The selector "' + t6 + '" is invalid CSS and ' + t7 + string$.x20be_an, new A.MultiSpan0(A.SpanExtensions_trimRight0(complex.span), "invalid selector", A.ConstantMap_ConstantMap$from(A.LinkedHashMap_LinkedHashMap$_literal([t3, "@extend rule"], t4, t5), t4, t5)), B.Deprecation_SHb);
  101060. }
  101061. _0_0 = _this._evaluate0$_performInterpolationWithMap$2$warnForColor(node.selector, true);
  101062. for (t1 = A.SelectorList_SelectorList$parse0(A.trimAscii0(_0_0._0, true), false, _0_0._1, false).components, t2 = t1.length, t3 = styleRule._style_rule0$_selector._box0$_inner, _i = 0; _i < t2; ++_i) {
  101063. complex = t1[_i];
  101064. compound = complex.get$singleCompound();
  101065. if (compound == null)
  101066. throw A.wrapException(A.SassFormatException$0("complex selectors may not be extended.", complex.span, _null));
  101067. t4 = compound.components;
  101068. t5 = t4.length === 1 ? B.JSArray_methods.get$first(t4) : _null;
  101069. if (t5 == null)
  101070. throw A.wrapException(A.SassFormatException$0(string$.compou + B.JSArray_methods.join$1(t4, ", ") + string$.x60_inst, compound.span, _null));
  101071. _this._evaluate0$_assertInModule$2(_this._evaluate0$__extensionStore, "_extensionStore").addExtension$4(t3.value, t5, node, _this._evaluate0$_mediaQueries);
  101072. }
  101073. return _null;
  101074. },
  101075. visitAtRule$1(_, node) {
  101076. var $name, value, children, wasInKeyframes, wasInUnknownAtRule, _this = this;
  101077. if (_this._evaluate0$_declarationName != null)
  101078. throw A.wrapException(_this._evaluate0$_exception$2(string$.At_rul, node.span));
  101079. $name = _this._evaluate0$_interpolationToValue$1(node.name);
  101080. value = A.NullableExtension_andThen0(node.value, new A._EvaluateVisitor_visitAtRule_closure5(_this));
  101081. children = node.children;
  101082. if (children == null) {
  101083. _this._evaluate0$_assertInModule$2(_this._evaluate0$__parent, "__parent").addChild$1(A.ModifiableCssAtRule$0($name, node.span, true, value));
  101084. return null;
  101085. }
  101086. wasInKeyframes = _this._evaluate0$_inKeyframes;
  101087. wasInUnknownAtRule = _this._evaluate0$_inUnknownAtRule;
  101088. if (A.unvendor0($name.value) === "keyframes")
  101089. _this._evaluate0$_inKeyframes = true;
  101090. else
  101091. _this._evaluate0$_inUnknownAtRule = true;
  101092. _this._evaluate0$_withParent$2$4$scopeWhen$through(A.ModifiableCssAtRule$0($name, node.span, false, value), new A._EvaluateVisitor_visitAtRule_closure6(_this, $name, children), node.hasDeclarations, new A._EvaluateVisitor_visitAtRule_closure7(), type$.ModifiableCssAtRule_2, type$.Null);
  101093. _this._evaluate0$_inUnknownAtRule = wasInUnknownAtRule;
  101094. _this._evaluate0$_inKeyframes = wasInKeyframes;
  101095. return null;
  101096. },
  101097. visitForRule$1(_, node) {
  101098. var _this = this, t1 = {},
  101099. t2 = node.from,
  101100. fromNumber = _this._evaluate0$_addExceptionSpan$2(t2, new A._EvaluateVisitor_visitForRule_closure9(_this, node)),
  101101. t3 = node.to,
  101102. toNumber = _this._evaluate0$_addExceptionSpan$2(t3, new A._EvaluateVisitor_visitForRule_closure10(_this, node)),
  101103. from = _this._evaluate0$_addExceptionSpan$2(t2, new A._EvaluateVisitor_visitForRule_closure11(fromNumber)),
  101104. to = t1.to = _this._evaluate0$_addExceptionSpan$2(t3, new A._EvaluateVisitor_visitForRule_closure12(toNumber, fromNumber)),
  101105. direction = from > to ? -1 : 1;
  101106. if (from === (!node.isExclusive ? t1.to = to + direction : to))
  101107. return null;
  101108. return _this._evaluate0$_environment.scope$1$2$semiGlobal(new A._EvaluateVisitor_visitForRule_closure13(t1, _this, node, from, direction, fromNumber), true, type$.nullable_Value_2);
  101109. },
  101110. visitForwardRule$1(_, node) {
  101111. var newConfiguration, t4, _i, variable, $name, _this = this,
  101112. _s8_ = "@forward",
  101113. oldConfiguration = _this._evaluate0$_configuration,
  101114. adjustedConfiguration = oldConfiguration.throughForward$1(node),
  101115. t1 = node.configuration,
  101116. t2 = t1.length,
  101117. t3 = node.url;
  101118. if (t2 !== 0) {
  101119. newConfiguration = _this._evaluate0$_addForwardConfiguration$2(adjustedConfiguration, node);
  101120. _this._evaluate0$_loadModule$5$configuration(t3, _s8_, node, new A._EvaluateVisitor_visitForwardRule_closure3(_this, node), newConfiguration);
  101121. t3 = type$.String;
  101122. t4 = A.LinkedHashSet_LinkedHashSet$_empty(t3);
  101123. for (_i = 0; _i < t2; ++_i) {
  101124. variable = t1[_i];
  101125. if (!variable.isGuarded)
  101126. t4.add$1(0, variable.name);
  101127. }
  101128. _this._evaluate0$_removeUsedConfiguration$3$except(adjustedConfiguration, newConfiguration, t4);
  101129. t3 = A.LinkedHashSet_LinkedHashSet$_empty(t3);
  101130. for (_i = 0; _i < t2; ++_i)
  101131. t3.add$1(0, t1[_i].name);
  101132. for (t1 = newConfiguration._configuration0$_values, t2 = J.toList$0$ax(t1.get$keys(t1)), t4 = t2.length, _i = 0; _i < t2.length; t2.length === t4 || (0, A.throwConcurrentModificationError)(t2), ++_i) {
  101133. $name = t2[_i];
  101134. if (!t3.contains$1(0, $name))
  101135. if (!t1.get$isEmpty(t1))
  101136. t1.remove$1(0, $name);
  101137. }
  101138. _this._evaluate0$_assertConfigurationIsEmpty$1(newConfiguration);
  101139. } else {
  101140. _this._evaluate0$_configuration = adjustedConfiguration;
  101141. _this._evaluate0$_loadModule$4(t3, _s8_, node, new A._EvaluateVisitor_visitForwardRule_closure4(_this, node));
  101142. _this._evaluate0$_configuration = oldConfiguration;
  101143. }
  101144. return null;
  101145. },
  101146. _evaluate0$_addForwardConfiguration$2(configuration, node) {
  101147. var t2, t3, _i, variable, t4, _0_0, t5, oldValue, variableNodeWithSpan, _null = null,
  101148. t1 = configuration._configuration0$_values,
  101149. newValues = A.LinkedHashMap_LinkedHashMap$of(new A.UnmodifiableMapView(t1, type$.UnmodifiableMapView_String_ConfiguredValue_2), type$.String, type$.ConfiguredValue_2);
  101150. for (t2 = node.configuration, t3 = t2.length, _i = 0; _i < t3; ++_i) {
  101151. variable = t2[_i];
  101152. if (variable.isGuarded) {
  101153. t4 = variable.name;
  101154. _0_0 = t1.get$isEmpty(t1) ? _null : t1.remove$1(0, t4);
  101155. if (_0_0 != null) {
  101156. t5 = !_0_0.value.$eq(0, B.C__SassNull0);
  101157. oldValue = _0_0;
  101158. } else {
  101159. oldValue = _null;
  101160. t5 = false;
  101161. }
  101162. if (t5) {
  101163. newValues.$indexSet(0, t4, oldValue);
  101164. continue;
  101165. }
  101166. }
  101167. t4 = variable.expression;
  101168. variableNodeWithSpan = this._evaluate0$_expressionNode$1(t4);
  101169. newValues.$indexSet(0, variable.name, new A.ConfiguredValue0(this._evaluate0$_withoutSlash$2(t4.accept$1(this), variableNodeWithSpan), variable.span, variableNodeWithSpan));
  101170. }
  101171. if (configuration instanceof A.ExplicitConfiguration0 || t1.get$isEmpty(t1))
  101172. return new A.ExplicitConfiguration0(node, newValues, _null);
  101173. else
  101174. return new A.Configuration0(newValues, _null);
  101175. },
  101176. _evaluate0$_registerCommentsForModule$1(module) {
  101177. var _this = this, _s5_ = "_root",
  101178. t1 = _this._evaluate0$__root;
  101179. if (t1 == null)
  101180. return;
  101181. if (_this._evaluate0$_assertInModule$2(t1, _s5_).children.get$length(0) === 0 || !module.get$transitivelyContainsCss())
  101182. return;
  101183. t1 = _this._evaluate0$_preModuleComments;
  101184. if (t1 == null)
  101185. t1 = _this._evaluate0$_preModuleComments = A.LinkedHashMap_LinkedHashMap$_empty(type$.Module_Callable_2, type$.List_CssComment_2);
  101186. J.addAll$1$ax(t1.putIfAbsent$2(module, new A._EvaluateVisitor__registerCommentsForModule_closure1()), new A.UnmodifiableListView(J.cast$1$0$ax(_this._evaluate0$_assertInModule$2(_this._evaluate0$__root, _s5_).children._collection$_source, type$.CssComment_2), type$.UnmodifiableListView_CssComment_2));
  101187. _this._evaluate0$_assertInModule$2(_this._evaluate0$__root, _s5_).clearChildren$0();
  101188. _this._evaluate0$__endOfImports = 0;
  101189. },
  101190. _evaluate0$_removeUsedConfiguration$3$except(upstream, downstream, except) {
  101191. var t1, t2, t3, t4, _i, $name;
  101192. for (t1 = upstream._configuration0$_values, t2 = J.toList$0$ax(t1.get$keys(t1)), t3 = t2.length, t4 = downstream._configuration0$_values, _i = 0; _i < t2.length; t2.length === t3 || (0, A.throwConcurrentModificationError)(t2), ++_i) {
  101193. $name = t2[_i];
  101194. if (except.contains$1(0, $name))
  101195. continue;
  101196. if (!t4.containsKey$1($name))
  101197. if (!t1.get$isEmpty(t1))
  101198. t1.remove$1(0, $name);
  101199. }
  101200. },
  101201. _evaluate0$_assertConfigurationIsEmpty$2$nameInError(configuration, nameInError) {
  101202. var t1, _0_0, $name, value;
  101203. if (!(configuration instanceof A.ExplicitConfiguration0))
  101204. return;
  101205. t1 = configuration._configuration0$_values;
  101206. if (t1.get$isEmpty(t1))
  101207. return;
  101208. t1 = A.MapExtensions_get_pairs0(new A.UnmodifiableMapView(t1, type$.UnmodifiableMapView_String_ConfiguredValue_2), type$.String, type$.ConfiguredValue_2);
  101209. _0_0 = t1.get$first(t1);
  101210. $name = _0_0._0;
  101211. value = _0_0._1;
  101212. t1 = nameInError ? "$" + $name + string$.x20was_n : string$.This_v;
  101213. throw A.wrapException(this._evaluate0$_exception$2(t1, value.configurationSpan));
  101214. },
  101215. _evaluate0$_assertConfigurationIsEmpty$1(configuration) {
  101216. return this._evaluate0$_assertConfigurationIsEmpty$2$nameInError(configuration, false);
  101217. },
  101218. visitFunctionRule$1(_, node) {
  101219. var t1 = this._evaluate0$_environment,
  101220. t2 = t1.closure$0(),
  101221. t3 = this._evaluate0$_inDependency,
  101222. t4 = t1._environment0$_functions,
  101223. index = t4.length - 1,
  101224. t5 = node.name;
  101225. t1._environment0$_functionIndices.$indexSet(0, t5, index);
  101226. t4[index].$indexSet(0, t5, new A.UserDefinedCallable0(node, t2, t3, type$.UserDefinedCallable_Environment_2));
  101227. return null;
  101228. },
  101229. visitIfRule$1(_, node) {
  101230. var t1, t2, _i, clauseToCheck,
  101231. clause = node.lastClause;
  101232. for (t1 = node.clauses, t2 = t1.length, _i = 0; _i < t2; ++_i) {
  101233. clauseToCheck = t1[_i];
  101234. if (clauseToCheck.expression.accept$1(this).get$isTruthy()) {
  101235. clause = clauseToCheck;
  101236. break;
  101237. }
  101238. }
  101239. return A.NullableExtension_andThen0(clause, new A._EvaluateVisitor_visitIfRule_closure1(this));
  101240. },
  101241. visitImportRule$1(_, node) {
  101242. var t1, t2, t3, t4, t5, t6, _i, $import, t7, _0_0, $self, t8, _this = this,
  101243. _s8_ = "__parent",
  101244. _s5_ = "_root",
  101245. _s13_ = "_endOfImports";
  101246. 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) {
  101247. $import = t1[_i];
  101248. if ($import instanceof A.DynamicImport0)
  101249. _this._evaluate0$_visitDynamicImport$1($import);
  101250. else {
  101251. t5._as($import);
  101252. t7 = $import.url;
  101253. _0_0 = _this._evaluate0$_performInterpolationHelper$3$sourceMap$warnForColor(t7, false, false);
  101254. $self = $import.modifiers;
  101255. t8 = $self == null ? null : t4.call$1($self);
  101256. node = new A.ModifiableCssImport0(new A.CssValue0(_0_0._0, t7.span, t3), t8, $import.span);
  101257. if (_this._evaluate0$_assertInModule$2(_this._evaluate0$__parent, _s8_) !== _this._evaluate0$_assertInModule$2(_this._evaluate0$__root, _s5_))
  101258. _this._evaluate0$_assertInModule$2(_this._evaluate0$__parent, _s8_).addChild$1(node);
  101259. 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)) {
  101260. t7 = _this._evaluate0$_assertInModule$2(_this._evaluate0$__root, _s5_);
  101261. node._node$_parent = t7;
  101262. t7 = t7._node$_children;
  101263. node._node$_indexInParent = t7.length;
  101264. t7.push(node);
  101265. _this._evaluate0$__endOfImports = _this._evaluate0$_assertInModule$2(_this._evaluate0$__endOfImports, _s13_) + 1;
  101266. } else {
  101267. t7 = _this._evaluate0$_outOfOrderImports;
  101268. (t7 == null ? _this._evaluate0$_outOfOrderImports = A._setArrayType([], t6) : t7).push(node);
  101269. }
  101270. }
  101271. }
  101272. return null;
  101273. },
  101274. _evaluate0$_visitDynamicImport$1($import) {
  101275. return this._evaluate0$_withStackFrame$3("@import", $import, new A._EvaluateVisitor__visitDynamicImport_closure1(this, $import));
  101276. },
  101277. _evaluate0$_loadStylesheet$4$baseUrl$forImport(url, span, baseUrl, forImport) {
  101278. var _0_0, importCache, _1_0, importer, canonicalUrl, originalUrl, isDependency, _2_0, stylesheet, _3_0, result, error, stackTrace, error0, stackTrace0, t1, t2, exception, _this = this,
  101279. _s11_ = "_stylesheet";
  101280. baseUrl = baseUrl;
  101281. try {
  101282. _this._evaluate0$_importSpan = span;
  101283. _0_0 = _this._evaluate0$_importCache;
  101284. importCache = null;
  101285. if (_0_0 != null) {
  101286. importCache = _0_0;
  101287. if (baseUrl == null)
  101288. baseUrl = _this._evaluate0$_assertInModule$2(_this._evaluate0$__stylesheet, _s11_).span.file.url;
  101289. _1_0 = J.canonicalize$4$baseImporter$baseUrl$forImport$x(importCache, A.Uri_parse(url), _this._evaluate0$_importer, baseUrl, forImport);
  101290. importer = null;
  101291. canonicalUrl = null;
  101292. originalUrl = null;
  101293. if (type$.Record_3_nullable_Object_and_nullable_Object_and_nullable_Object_originalUrl._is(_1_0)) {
  101294. importer = _1_0._0;
  101295. canonicalUrl = _1_0._1;
  101296. originalUrl = _1_0._2;
  101297. if (canonicalUrl.get$scheme() === "")
  101298. A.WarnForDeprecation_warnForDeprecation0(_this._evaluate0$_logger, B.Deprecation_Ord, "Importer " + A.S(importer) + " canonicalized " + url + " to " + A.S(canonicalUrl) + string$.x2e_Rela, null, null);
  101299. _this._evaluate0$_loadedUrls.add$1(0, canonicalUrl);
  101300. isDependency = _this._evaluate0$_inDependency || !J.$eq$(importer, _this._evaluate0$_importer);
  101301. _2_0 = importCache.importCanonical$3$originalUrl(importer, canonicalUrl, originalUrl);
  101302. stylesheet = null;
  101303. if (_2_0 != null) {
  101304. stylesheet = _2_0;
  101305. t1 = stylesheet;
  101306. t2 = importer;
  101307. return new A._Record_3_importer_isDependency(t1, t2, isDependency);
  101308. }
  101309. }
  101310. }
  101311. if (_this._nodeImporter != null) {
  101312. t1 = baseUrl;
  101313. _3_0 = _this._importLikeNode$3(url, t1 == null ? _this._evaluate0$_assertInModule$2(_this._evaluate0$__stylesheet, _s11_).span.file.url : t1, forImport);
  101314. result = null;
  101315. if (_3_0 != null) {
  101316. result = _3_0;
  101317. t1 = _this._evaluate0$_loadedUrls;
  101318. A.NullableExtension_andThen0(result._0.span.file.url, t1.get$add(t1));
  101319. t1 = result;
  101320. return t1;
  101321. }
  101322. }
  101323. t1 = B.JSString_methods.startsWith$1(url, "package:");
  101324. if (t1)
  101325. throw A.wrapException(string$.x22packa);
  101326. else
  101327. throw A.wrapException("Can't find stylesheet to import.");
  101328. } catch (exception) {
  101329. t1 = A.unwrapException(exception);
  101330. if (t1 instanceof A.SassException0)
  101331. throw exception;
  101332. else if (t1 instanceof A.ArgumentError) {
  101333. error = t1;
  101334. stackTrace = A.getTraceFromException(exception);
  101335. A.throwWithTrace0(_this._evaluate0$_exception$1(J.toString$0$(error)), error, stackTrace);
  101336. } else {
  101337. error0 = t1;
  101338. stackTrace0 = A.getTraceFromException(exception);
  101339. A.throwWithTrace0(_this._evaluate0$_exception$1(_this._evaluate0$_getErrorMessage$1(error0)), error0, stackTrace0);
  101340. }
  101341. } finally {
  101342. _this._evaluate0$_importSpan = null;
  101343. }
  101344. },
  101345. _evaluate0$_loadStylesheet$3$baseUrl(url, span, baseUrl) {
  101346. return this._evaluate0$_loadStylesheet$4$baseUrl$forImport(url, span, baseUrl, false);
  101347. },
  101348. _evaluate0$_loadStylesheet$3$forImport(url, span, forImport) {
  101349. return this._evaluate0$_loadStylesheet$4$baseUrl$forImport(url, span, null, forImport);
  101350. },
  101351. _importLikeNode$3(originalUrl, previous, forImport) {
  101352. var isDependency, url,
  101353. t1 = this._nodeImporter,
  101354. result = t1.loadRelative$3(originalUrl, previous, forImport);
  101355. if (result != null)
  101356. isDependency = this._evaluate0$_inDependency;
  101357. else {
  101358. result = t1.load$3(0, originalUrl, previous, forImport);
  101359. if (result == null)
  101360. return null;
  101361. isDependency = true;
  101362. }
  101363. url = result._1;
  101364. t1 = B.JSString_methods.startsWith$1(url, "file") ? A.Syntax_forPath0(url) : B.Syntax_SCSS_scss0;
  101365. return new A._Record_3_importer_isDependency(A.Stylesheet_Stylesheet$parse0(result._0, t1, url), null, isDependency);
  101366. },
  101367. _evaluate0$_applyMixin$5(mixin, contentCallable, $arguments, nodeWithSpan, nodeWithSpanWithoutContent) {
  101368. var t1, _0_0, t2, _1_8, t3, _this = this,
  101369. _s37_ = "Mixin doesn't accept a content block.",
  101370. _s10_ = "invocation";
  101371. $label0$0: {
  101372. if (mixin == null)
  101373. throw A.wrapException(_this._evaluate0$_exception$2("Undefined mixin.", nodeWithSpan.get$span(nodeWithSpan)));
  101374. t1 = mixin instanceof A.BuiltInCallable0;
  101375. if (t1 && !mixin.acceptsContent && contentCallable != null) {
  101376. t1 = _this._evaluate0$_evaluateArguments$1($arguments)._values;
  101377. _0_0 = mixin.callbackFor$2(t1[2].length, new A.MapKeySet(t1[0], type$.MapKeySet_String));
  101378. throw A.wrapException(A.MultiSpanSassRuntimeException$0(_s37_, nodeWithSpanWithoutContent.get$span(nodeWithSpanWithoutContent), _s10_, A.LinkedHashMap_LinkedHashMap$_literal([_0_0._0.get$spanWithName(), "declaration"], type$.FileSpan, type$.String), _this._evaluate0$_stackTrace$1(nodeWithSpanWithoutContent.get$span(nodeWithSpanWithoutContent)), null));
  101379. }
  101380. if (t1) {
  101381. _this._evaluate0$_environment.withContent$2(contentCallable, new A._EvaluateVisitor__applyMixin_closure3(_this, $arguments, mixin, nodeWithSpanWithoutContent));
  101382. break $label0$0;
  101383. }
  101384. t1 = type$.UserDefinedCallable_Environment_2._is(mixin);
  101385. t2 = false;
  101386. if (t1) {
  101387. _1_8 = mixin.declaration;
  101388. t3 = _1_8;
  101389. if (t3 instanceof A.MixinRule0)
  101390. t2 = !type$.MixinRule_2._as(_1_8).get$hasContent() && contentCallable != null;
  101391. }
  101392. if (t2)
  101393. throw A.wrapException(A.MultiSpanSassRuntimeException$0(_s37_, nodeWithSpanWithoutContent.get$span(nodeWithSpanWithoutContent), _s10_, A.LinkedHashMap_LinkedHashMap$_literal([mixin.declaration.parameters.get$spanWithName(), "declaration"], type$.FileSpan, type$.String), _this._evaluate0$_stackTrace$1(nodeWithSpanWithoutContent.get$span(nodeWithSpanWithoutContent)), null));
  101394. if (t1) {
  101395. _this._evaluate0$_runUserDefinedCallable$1$4($arguments, mixin, nodeWithSpanWithoutContent, new A._EvaluateVisitor__applyMixin_closure4(_this, contentCallable, mixin, nodeWithSpanWithoutContent), type$.Null);
  101396. break $label0$0;
  101397. }
  101398. throw A.wrapException(A.UnsupportedError$("Unknown callable type " + mixin.toString$0(0) + "."));
  101399. }
  101400. },
  101401. visitIncludeRule$1(_, node) {
  101402. var _this = this,
  101403. mixin = _this._evaluate0$_addExceptionSpan$2(node, new A._EvaluateVisitor_visitIncludeRule_closure5(_this, node));
  101404. if (B.JSString_methods.startsWith$1(node.originalName, "--") && mixin instanceof A.UserDefinedCallable0 && !B.JSString_methods.startsWith$1(mixin.declaration.originalName, "--"))
  101405. _this._evaluate0$_warn$3(string$.Sassx20_m, node.get$nameSpan(), B.Deprecation_d4j);
  101406. _this._evaluate0$_applyMixin$5(mixin, A.NullableExtension_andThen0(node.content, new A._EvaluateVisitor_visitIncludeRule_closure6(_this)), node.$arguments, node, new A._FakeAstNode0(new A._EvaluateVisitor_visitIncludeRule_closure7(node)));
  101407. return null;
  101408. },
  101409. visitMixinRule$1(_, node) {
  101410. var t1 = this._evaluate0$_environment,
  101411. t2 = t1.closure$0(),
  101412. t3 = this._evaluate0$_inDependency,
  101413. t4 = t1._environment0$_mixins,
  101414. index = t4.length - 1,
  101415. t5 = node.name;
  101416. t1._environment0$_mixinIndices.$indexSet(0, t5, index);
  101417. t4[index].$indexSet(0, t5, new A.UserDefinedCallable0(node, t2, t3, type$.UserDefinedCallable_Environment_2));
  101418. return null;
  101419. },
  101420. visitLoudComment$1(_, node) {
  101421. var t1, text, _this = this,
  101422. _s8_ = "__parent",
  101423. _s13_ = "_endOfImports";
  101424. if (_this._evaluate0$_inFunction)
  101425. return null;
  101426. 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))
  101427. _this._evaluate0$__endOfImports = _this._evaluate0$_assertInModule$2(_this._evaluate0$__endOfImports, _s13_) + 1;
  101428. t1 = node.text;
  101429. text = _this._evaluate0$_performInterpolation$1(t1);
  101430. if (!B.JSString_methods.endsWith$1(text, "*/"))
  101431. text += " */";
  101432. _this._evaluate0$_assertInModule$2(_this._evaluate0$__parent, _s8_).addChild$1(new A.ModifiableCssComment0(text, t1.span));
  101433. return null;
  101434. },
  101435. visitMediaRule$1(_, node) {
  101436. var _0_0, queries, mergedQueries, t1, mergedSources, t2, t3, _this = this;
  101437. if (_this._evaluate0$_declarationName != null)
  101438. throw A.wrapException(_this._evaluate0$_exception$2(string$.Media_, node.span));
  101439. _0_0 = _this._evaluate0$_performInterpolationWithMap$2$warnForColor(node.query, true);
  101440. queries = new A.MediaQueryParser0(A.SpanScanner$(_0_0._0, null), _0_0._1).parse$0(0);
  101441. mergedQueries = A.NullableExtension_andThen0(_this._evaluate0$_mediaQueries, new A._EvaluateVisitor_visitMediaRule_closure5(_this, queries));
  101442. t1 = mergedQueries == null;
  101443. if (!t1 && J.get$isEmpty$asx(mergedQueries))
  101444. return null;
  101445. if (t1)
  101446. mergedSources = B.Set_empty5;
  101447. else {
  101448. t2 = _this._evaluate0$_mediaQuerySources;
  101449. t2.toString;
  101450. t2 = A.LinkedHashSet_LinkedHashSet$of(t2, type$.CssMediaQuery_2);
  101451. t3 = _this._evaluate0$_mediaQueries;
  101452. t3.toString;
  101453. t2.addAll$1(0, t3);
  101454. t2.addAll$1(0, queries);
  101455. mergedSources = t2;
  101456. }
  101457. t1 = t1 ? queries : mergedQueries;
  101458. _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);
  101459. return null;
  101460. },
  101461. _evaluate0$_mergeMediaQueries$2(queries1, queries2) {
  101462. var t1, t2, t3, t4, _0_0, t5, result,
  101463. queries = A._setArrayType([], type$.JSArray_CssMediaQuery_2);
  101464. for (t1 = J.get$iterator$ax(queries1), t2 = J.getInterceptor$ax(queries2); t1.moveNext$0();) {
  101465. t3 = t1.get$current(t1);
  101466. for (t4 = t2.get$iterator(queries2); t4.moveNext$0();) {
  101467. _0_0 = t3.merge$1(t4.get$current(t4));
  101468. if (B._SingletonCssMediaQueryMergeResult_00 === _0_0)
  101469. continue;
  101470. if (B._SingletonCssMediaQueryMergeResult_10 === _0_0)
  101471. return null;
  101472. t5 = _0_0 instanceof A.MediaQuerySuccessfulMergeResult0;
  101473. result = t5 ? _0_0 : null;
  101474. if (t5)
  101475. queries.push(result.query);
  101476. }
  101477. }
  101478. return queries;
  101479. },
  101480. visitReturnRule$1(_, node) {
  101481. var t1 = node.expression;
  101482. return this._evaluate0$_withoutSlash$2(t1.accept$1(this), t1);
  101483. },
  101484. visitSilentComment$1(_, node) {
  101485. return null;
  101486. },
  101487. visitStyleRule$1(_, node) {
  101488. var t1, _0_0, selectorText, selectorMap, parsedSelector, _1_0, t2, t3, _i, _2_0, first, t4, rule, oldAtRootExcludingStyleRule, _this = this, _null = null,
  101489. _s8_ = "__parent",
  101490. _s11_ = "_stylesheet";
  101491. if (_this._evaluate0$_declarationName != null)
  101492. throw A.wrapException(_this._evaluate0$_exception$2(string$.Style_n, node.span));
  101493. else if (_this._evaluate0$_inKeyframes && _this._evaluate0$_assertInModule$2(_this._evaluate0$__parent, _s8_) instanceof A.ModifiableCssKeyframeBlock0)
  101494. throw A.wrapException(_this._evaluate0$_exception$2(string$.Style_k, node.span));
  101495. t1 = node.selector;
  101496. _0_0 = _this._evaluate0$_performInterpolationWithMap$2$warnForColor(t1, true);
  101497. selectorText = _0_0._0;
  101498. selectorMap = _0_0._1;
  101499. if (_this._evaluate0$_inKeyframes) {
  101500. _this._evaluate0$_withParent$2$4$scopeWhen$through(A.ModifiableCssKeyframeBlock$0(new A.CssValue0(A.List_List$unmodifiable(new A.KeyframeSelectorParser0(A.SpanScanner$(selectorText, _null), selectorMap).parse$0(0), type$.String), t1.span, type$.CssValue_List_String_2), node.span), new A._EvaluateVisitor_visitStyleRule_closure7(_this, node), node.hasDeclarations, new A._EvaluateVisitor_visitStyleRule_closure8(), type$.ModifiableCssKeyframeBlock_2, type$.Null);
  101501. return _null;
  101502. }
  101503. parsedSelector = A.SelectorList_SelectorList$parse0(selectorText, true, selectorMap, _this._evaluate0$_assertInModule$2(_this._evaluate0$__stylesheet, _s11_).plainCss);
  101504. _1_0 = _this._evaluate0$_atRootExcludingStyleRule ? _null : _this._evaluate0$_styleRuleIgnoringAtRoot;
  101505. $label0$0: {
  101506. if (_1_0 == null) {
  101507. t1 = true;
  101508. break $label0$0;
  101509. }
  101510. if (_1_0.fromPlainCss) {
  101511. t1 = false;
  101512. break $label0$0;
  101513. }
  101514. t1 = !(_this._evaluate0$_assertInModule$2(_this._evaluate0$__stylesheet, _s11_).plainCss && parsedSelector.accept$1(B.C__ContainsParentSelectorVisitor0));
  101515. break $label0$0;
  101516. }
  101517. if (t1) {
  101518. if (_this._evaluate0$_assertInModule$2(_this._evaluate0$__stylesheet, _s11_).plainCss)
  101519. for (t2 = parsedSelector.components, t3 = t2.length, _i = 0; _i < t3; ++_i) {
  101520. _2_0 = t2[_i].leadingCombinators;
  101521. if (_2_0.length >= 1) {
  101522. first = _2_0[0];
  101523. t4 = _this._evaluate0$_assertInModule$2(_this._evaluate0$__stylesheet, _s11_).plainCss;
  101524. } else {
  101525. first = _null;
  101526. t4 = false;
  101527. }
  101528. if (t4)
  101529. throw A.wrapException(_this._evaluate0$_exception$2(string$.Top_lel, first.span));
  101530. }
  101531. t2 = _this._evaluate0$_styleRuleIgnoringAtRoot;
  101532. t2 = t2 == null ? _null : t2.originalSelector;
  101533. parsedSelector = parsedSelector.nestWithin$3$implicitParent$preserveParentSelectors(t2, !_this._evaluate0$_atRootExcludingStyleRule, _this._evaluate0$_assertInModule$2(_this._evaluate0$__stylesheet, _s11_).plainCss);
  101534. }
  101535. rule = A.ModifiableCssStyleRule$0(_this._evaluate0$_assertInModule$2(_this._evaluate0$__extensionStore, "_extensionStore").addSelector$2(parsedSelector, _this._evaluate0$_mediaQueries), node.span, _this._evaluate0$_assertInModule$2(_this._evaluate0$__stylesheet, _s11_).plainCss, parsedSelector);
  101536. oldAtRootExcludingStyleRule = _this._evaluate0$_atRootExcludingStyleRule;
  101537. t2 = _this._evaluate0$_atRootExcludingStyleRule = false;
  101538. t1 = t1 ? new A._EvaluateVisitor_visitStyleRule_closure9() : _null;
  101539. _this._evaluate0$_withParent$2$4$scopeWhen$through(rule, new A._EvaluateVisitor_visitStyleRule_closure10(_this, rule, node), node.hasDeclarations, t1, type$.ModifiableCssStyleRule_2, type$.Null);
  101540. _this._evaluate0$_atRootExcludingStyleRule = oldAtRootExcludingStyleRule;
  101541. _this._evaluate0$_warnForBogusCombinators$1(rule);
  101542. if ((_this._evaluate0$_atRootExcludingStyleRule ? _null : _this._evaluate0$_styleRuleIgnoringAtRoot) == null) {
  101543. t1 = _this._evaluate0$_assertInModule$2(_this._evaluate0$__parent, _s8_).children;
  101544. t1 = !t1.get$isEmpty(t1);
  101545. } else
  101546. t1 = t2;
  101547. if (t1) {
  101548. t1 = _this._evaluate0$_assertInModule$2(_this._evaluate0$__parent, _s8_).children;
  101549. t1.get$last(t1).isGroupEnd = true;
  101550. }
  101551. return _null;
  101552. },
  101553. _evaluate0$_warnForBogusCombinators$1(rule) {
  101554. var t1, t2, t3, t4, t5, _i, complex, visitor, t6, t7, t8, t9, _this = this, _null = null;
  101555. if (!rule.accept$1(B._IsInvisibleVisitor_false_false0))
  101556. for (t1 = rule._style_rule0$_selector._box0$_inner.value.components, t2 = t1.length, t3 = type$.SourceSpan, t4 = type$.String, t5 = rule.children, _i = 0; _i < t2; ++_i) {
  101557. complex = t1[_i];
  101558. if (!complex.accept$1(B._IsBogusVisitor_true0))
  101559. continue;
  101560. if (complex.accept$1(B.C__IsUselessVisitor0)) {
  101561. visitor = A._SerializeVisitor$0(_null, true, _null, _null, true, false, _null, true);
  101562. complex.accept$1(visitor);
  101563. _this._evaluate0$_warn$3('The selector "' + B.JSString_methods.trim$0(visitor._serialize0$_buffer.toString$0(0)) + string$.x22x20is_ix20, A.SpanExtensions_trimRight0(complex.span), B.Deprecation_SHb);
  101564. } else if (complex.leadingCombinators.length !== 0) {
  101565. if (!_this._evaluate0$_assertInModule$2(_this._evaluate0$__stylesheet, "_stylesheet").plainCss) {
  101566. visitor = A._SerializeVisitor$0(_null, true, _null, _null, true, false, _null, true);
  101567. complex.accept$1(visitor);
  101568. _this._evaluate0$_warn$3('The selector "' + B.JSString_methods.trim$0(visitor._serialize0$_buffer.toString$0(0)) + string$.x22x20is_ix0a, A.SpanExtensions_trimRight0(complex.span), B.Deprecation_SHb);
  101569. }
  101570. } else {
  101571. visitor = A._SerializeVisitor$0(_null, true, _null, _null, true, false, _null, true);
  101572. complex.accept$1(visitor);
  101573. t6 = B.JSString_methods.trim$0(visitor._serialize0$_buffer.toString$0(0));
  101574. t7 = complex.accept$1(B._IsBogusVisitor_false0) ? string$.x20It_wi : "";
  101575. t8 = A.SpanExtensions_trimRight0(complex.span);
  101576. if (t5.get$length(0) === 0)
  101577. A.throwExpression(A.IterableElementError_noElement());
  101578. t9 = J.get$span$z(t5.$index(0, 0));
  101579. _this._evaluate0$_warn$3('The selector "' + t6 + string$.x22x20is_o + t7 + string$.x0aThis_, new A.MultiSpan0(t8, "invalid selector", A.ConstantMap_ConstantMap$from(A.LinkedHashMap_LinkedHashMap$_literal([t9, "this is not a style rule" + (t5.every$1(t5, new A._EvaluateVisitor__warnForBogusCombinators_closure1()) ? "\n(try converting to a //-style comment)" : "")], t3, t4), t3, t4)), B.Deprecation_SHb);
  101580. }
  101581. }
  101582. },
  101583. visitSupportsRule$1(_, node) {
  101584. var t1, _this = this;
  101585. if (_this._evaluate0$_declarationName != null)
  101586. throw A.wrapException(_this._evaluate0$_exception$2(string$.Suppor, node.span));
  101587. t1 = node.condition;
  101588. _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);
  101589. return null;
  101590. },
  101591. _evaluate0$_visitSupportsCondition$1(condition) {
  101592. var t1, _this = this;
  101593. $label0$0: {
  101594. if (condition instanceof A.SupportsOperation0) {
  101595. t1 = condition.operator;
  101596. t1 = _this._evaluate0$_parenthesize$2(condition.left, t1) + " " + t1 + " " + _this._evaluate0$_parenthesize$2(condition.right, t1);
  101597. break $label0$0;
  101598. }
  101599. if (condition instanceof A.SupportsNegation0) {
  101600. t1 = "not " + _this._evaluate0$_parenthesize$1(condition.condition);
  101601. break $label0$0;
  101602. }
  101603. if (condition instanceof A.SupportsInterpolation0) {
  101604. t1 = condition.expression;
  101605. t1 = _this._evaluate0$_serialize$3$quote(t1.accept$1(_this), t1, false);
  101606. break $label0$0;
  101607. }
  101608. t1 = {};
  101609. t1.declaration = null;
  101610. if (condition instanceof A.SupportsDeclaration0) {
  101611. t1.declaration = condition;
  101612. t1 = _this._evaluate0$_withSupportsDeclaration$1(new A._EvaluateVisitor__visitSupportsCondition_closure1(t1, _this));
  101613. break $label0$0;
  101614. }
  101615. if (condition instanceof A.SupportsFunction0) {
  101616. t1 = _this._evaluate0$_performInterpolation$1(condition.name) + "(" + _this._evaluate0$_performInterpolation$1(condition.$arguments) + ")";
  101617. break $label0$0;
  101618. }
  101619. if (condition instanceof A.SupportsAnything0) {
  101620. t1 = "(" + _this._evaluate0$_performInterpolation$1(condition.contents) + ")";
  101621. break $label0$0;
  101622. }
  101623. t1 = A.throwExpression(A.ArgumentError$("Unknown supports condition type " + A.getRuntimeTypeOfDartObject(condition).toString$0(0) + ".", null));
  101624. }
  101625. return t1;
  101626. },
  101627. _evaluate0$_withSupportsDeclaration$1$1(callback) {
  101628. var t1,
  101629. oldInSupportsDeclaration = this._evaluate0$_inSupportsDeclaration;
  101630. this._evaluate0$_inSupportsDeclaration = true;
  101631. try {
  101632. t1 = callback.call$0();
  101633. return t1;
  101634. } finally {
  101635. this._evaluate0$_inSupportsDeclaration = oldInSupportsDeclaration;
  101636. }
  101637. },
  101638. _evaluate0$_withSupportsDeclaration$1(callback) {
  101639. callback.toString;
  101640. return this._evaluate0$_withSupportsDeclaration$1$1(callback, type$.dynamic);
  101641. },
  101642. _evaluate0$_parenthesize$2(condition, operator) {
  101643. var t1;
  101644. if (!(condition instanceof A.SupportsNegation0))
  101645. if (condition instanceof A.SupportsOperation0)
  101646. t1 = operator == null || operator !== condition.operator;
  101647. else
  101648. t1 = false;
  101649. else
  101650. t1 = true;
  101651. if (t1)
  101652. return "(" + this._evaluate0$_visitSupportsCondition$1(condition) + ")";
  101653. return this._evaluate0$_visitSupportsCondition$1(condition);
  101654. },
  101655. _evaluate0$_parenthesize$1(condition) {
  101656. return this._evaluate0$_parenthesize$2(condition, null);
  101657. },
  101658. visitVariableDeclaration$1(_, node) {
  101659. var t1, _0_0, t2, value, _this = this, _null = null;
  101660. if (node.isGuarded) {
  101661. if (node.namespace == null && _this._evaluate0$_environment._environment0$_variables.length === 1) {
  101662. t1 = _this._evaluate0$_configuration._configuration0$_values;
  101663. _0_0 = t1.get$isEmpty(t1) ? _null : t1.remove$1(0, node.name);
  101664. t1 = {};
  101665. t1.override = null;
  101666. if (_0_0 != null) {
  101667. t1.override = _0_0;
  101668. t2 = !_0_0.value.$eq(0, B.C__SassNull0);
  101669. } else
  101670. t2 = false;
  101671. if (t2) {
  101672. _this._evaluate0$_addExceptionSpan$2(node, new A._EvaluateVisitor_visitVariableDeclaration_closure5(t1, _this, node));
  101673. return _null;
  101674. }
  101675. }
  101676. value = _this._evaluate0$_addExceptionSpan$2(node, new A._EvaluateVisitor_visitVariableDeclaration_closure6(_this, node));
  101677. if (value != null && !value.$eq(0, B.C__SassNull0))
  101678. return _null;
  101679. }
  101680. if (node.isGlobal && !_this._evaluate0$_environment.globalVariableExists$1(node.name)) {
  101681. 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.";
  101682. _this._evaluate0$_warn$3(t1, node.span, B.Deprecation_mSy);
  101683. }
  101684. t1 = node.expression;
  101685. _this._evaluate0$_addExceptionSpan$2(node, new A._EvaluateVisitor_visitVariableDeclaration_closure7(_this, node, _this._evaluate0$_withoutSlash$2(t1.accept$1(_this), t1)));
  101686. return _null;
  101687. },
  101688. visitUseRule$1(_, node) {
  101689. var values, _i, variable, t3, variableNodeWithSpan, configuration, _this = this,
  101690. t1 = node.configuration,
  101691. t2 = t1.length;
  101692. if (t2 !== 0) {
  101693. values = A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.ConfiguredValue_2);
  101694. for (_i = 0; _i < t2; ++_i) {
  101695. variable = t1[_i];
  101696. t3 = variable.expression;
  101697. variableNodeWithSpan = _this._evaluate0$_expressionNode$1(t3);
  101698. values.$indexSet(0, variable.name, new A.ConfiguredValue0(_this._evaluate0$_withoutSlash$2(t3.accept$1(_this), variableNodeWithSpan), variable.span, variableNodeWithSpan));
  101699. }
  101700. configuration = new A.ExplicitConfiguration0(node, values, null);
  101701. } else
  101702. configuration = B.Configuration_Map_empty_null0;
  101703. _this._evaluate0$_loadModule$5$configuration(node.url, "@use", node, new A._EvaluateVisitor_visitUseRule_closure1(_this, node), configuration);
  101704. _this._evaluate0$_assertConfigurationIsEmpty$1(configuration);
  101705. return null;
  101706. },
  101707. visitWarnRule$1(_, node) {
  101708. var _this = this,
  101709. value = _this._evaluate0$_addExceptionSpan$2(node, new A._EvaluateVisitor_visitWarnRule_closure1(_this, node)),
  101710. t1 = value instanceof A.SassString0 ? value._string0$_text : _this._evaluate0$_serialize$2(value, node.expression),
  101711. t2 = _this._evaluate0$_stackTrace$1(node.span);
  101712. _this._evaluate0$_logger.internalWarn$4$deprecation$span$trace(t1, null, null, t2);
  101713. return null;
  101714. },
  101715. visitWhileRule$1(_, node) {
  101716. return this._evaluate0$_environment.scope$1$3$semiGlobal$when(new A._EvaluateVisitor_visitWhileRule_closure1(this, node), true, node.hasDeclarations, type$.nullable_Value_2);
  101717. },
  101718. visitBinaryOperationExpression$1(_, node) {
  101719. var t1, _this = this;
  101720. if (_this._evaluate0$_assertInModule$2(_this._evaluate0$__stylesheet, "_stylesheet").plainCss) {
  101721. t1 = node.operator;
  101722. t1 = t1 !== B.BinaryOperator_Kyq0 && t1 !== B.BinaryOperator_Mh50;
  101723. } else
  101724. t1 = false;
  101725. if (t1)
  101726. throw A.wrapException(_this._evaluate0$_exception$2("Operators aren't allowed in plain CSS.", node.get$operatorSpan()));
  101727. return _this._evaluate0$_addExceptionSpan$2(node, new A._EvaluateVisitor_visitBinaryOperationExpression_closure1(_this, node));
  101728. },
  101729. _evaluate0$_slash$3(left, right, node) {
  101730. var t2, _1_1,
  101731. result = left.dividedBy$1(right),
  101732. _1_2_isSet = left instanceof A.SassNumber0,
  101733. _1_2 = null, right0 = null,
  101734. t1 = false;
  101735. if (_1_2_isSet) {
  101736. t2 = type$.SassNumber_2;
  101737. t2._as(left);
  101738. if (right instanceof A.SassNumber0) {
  101739. t2._as(right);
  101740. t1 = node.allowsSlash && this._evaluate0$_operandAllowsSlash$1(node.left) && this._evaluate0$_operandAllowsSlash$1(node.right);
  101741. right0 = right;
  101742. _1_2 = right0;
  101743. } else
  101744. _1_2 = right;
  101745. _1_1 = left;
  101746. } else {
  101747. _1_1 = left;
  101748. left = null;
  101749. }
  101750. if (t1)
  101751. return type$.SassNumber_2._as(result).withSlash$2(left, right0);
  101752. if (_1_1 instanceof A.SassNumber0)
  101753. t1 = (_1_2_isSet ? _1_2 : right) instanceof A.SassNumber0;
  101754. else
  101755. t1 = false;
  101756. if (t1) {
  101757. this._evaluate0$_warn$3(string$.Using__o + A.S(new A._EvaluateVisitor__slash_recommendation1().call$1(node)) + " or " + A.expressionToCalc0(node).toString$0(0) + string$.x0a_Morex20, node.get$span(0), B.Deprecation_FyB);
  101758. return result;
  101759. }
  101760. return result;
  101761. },
  101762. _evaluate0$_operandAllowsSlash$1(node) {
  101763. var t1;
  101764. if (node instanceof A.FunctionExpression0)
  101765. if (node.namespace == null) {
  101766. t1 = node.name;
  101767. t1 = B.Set_Pr3yj.contains$1(0, t1.toLowerCase()) && this._evaluate0$_environment.getFunction$1(t1) == null;
  101768. } else
  101769. t1 = false;
  101770. else
  101771. t1 = true;
  101772. return t1;
  101773. },
  101774. visitValueExpression$1(_, node) {
  101775. return node.value;
  101776. },
  101777. visitVariableExpression$1(_, node) {
  101778. var result = this._evaluate0$_addExceptionSpan$2(node, new A._EvaluateVisitor_visitVariableExpression_closure1(this, node));
  101779. if (result != null)
  101780. return result;
  101781. throw A.wrapException(this._evaluate0$_exception$2("Undefined variable.", node.span));
  101782. },
  101783. visitUnaryOperationExpression$1(_, node) {
  101784. return this._evaluate0$_addExceptionSpan$2(node, new A._EvaluateVisitor_visitUnaryOperationExpression_closure1(node, node.operand.accept$1(this)));
  101785. },
  101786. visitBooleanExpression$1(_, node) {
  101787. return node.value ? B.SassBoolean_true0 : B.SassBoolean_false0;
  101788. },
  101789. visitIfExpression$1(_, node) {
  101790. var condition, t1, ifTrue, ifFalse, result, _this = this,
  101791. _0_0 = _this._evaluate0$_evaluateMacroArguments$1(node),
  101792. positional = _0_0._0,
  101793. named = _0_0._1;
  101794. _this._evaluate0$_verifyArguments$4(positional.length, named, $.$get$IfExpression_declaration0(), node);
  101795. condition = A.ListExtensions_elementAtOrNull(positional, 0);
  101796. if (condition == null) {
  101797. t1 = named.$index(0, "condition");
  101798. t1.toString;
  101799. condition = t1;
  101800. }
  101801. ifTrue = A.ListExtensions_elementAtOrNull(positional, 1);
  101802. if (ifTrue == null) {
  101803. t1 = named.$index(0, "if-true");
  101804. t1.toString;
  101805. ifTrue = t1;
  101806. }
  101807. ifFalse = A.ListExtensions_elementAtOrNull(positional, 2);
  101808. if (ifFalse == null) {
  101809. t1 = named.$index(0, "if-false");
  101810. t1.toString;
  101811. ifFalse = t1;
  101812. }
  101813. result = condition.accept$1(_this).get$isTruthy() ? ifTrue : ifFalse;
  101814. return _this._evaluate0$_withoutSlash$2(result.accept$1(_this), _this._evaluate0$_expressionNode$1(result));
  101815. },
  101816. visitNullExpression$1(_, node) {
  101817. return B.C__SassNull0;
  101818. },
  101819. visitNumberExpression$1(_, node) {
  101820. return A.SassNumber_SassNumber0(node.value, node.unit);
  101821. },
  101822. visitParenthesizedExpression$1(_, node) {
  101823. var _this = this;
  101824. return _this._evaluate0$_assertInModule$2(_this._evaluate0$__stylesheet, "_stylesheet").plainCss ? A.throwExpression(_this._evaluate0$_exception$2("Parentheses aren't allowed in plain CSS.", node.span)) : node.expression.accept$1(_this);
  101825. },
  101826. visitColorExpression$1(_, node) {
  101827. return node.value;
  101828. },
  101829. visitListExpression$1(_, node) {
  101830. var t1 = node.contents;
  101831. 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);
  101832. },
  101833. visitMapExpression$1(_, node) {
  101834. var t2, t3, _i, t4, key, keyValue, valueValue, oldValueSpan,
  101835. t1 = type$.Value_2,
  101836. map = A.LinkedHashMap_LinkedHashMap$_empty(t1, t1),
  101837. keyNodes = A.LinkedHashMap_LinkedHashMap$_empty(t1, type$.AstNode_2);
  101838. for (t2 = node.pairs, t3 = t2.length, _i = 0; _i < t3; ++_i) {
  101839. t4 = t2[_i];
  101840. key = t4._0;
  101841. keyValue = key.accept$1(this);
  101842. valueValue = t4._1.accept$1(this);
  101843. if (map.containsKey$1(keyValue)) {
  101844. t1 = keyNodes.$index(0, keyValue);
  101845. oldValueSpan = t1 == null ? null : t1.get$span(t1);
  101846. t1 = key.get$span(key);
  101847. t2 = A.LinkedHashMap_LinkedHashMap$_empty(type$.FileSpan, type$.String);
  101848. if (oldValueSpan != null)
  101849. t2.$indexSet(0, oldValueSpan, "first key");
  101850. throw A.wrapException(A.MultiSpanSassRuntimeException$0("Duplicate key.", t1, "second key", t2, this._evaluate0$_stackTrace$1(key.get$span(key)), null));
  101851. }
  101852. map.$indexSet(0, keyValue, valueValue);
  101853. keyNodes.$indexSet(0, keyValue, key);
  101854. }
  101855. return new A.SassMap0(A.ConstantMap_ConstantMap$from(map, t1, t1));
  101856. },
  101857. visitFunctionExpression$1(_, node) {
  101858. var t2, _0_0, t3, t4, $name, oldInFunction, result, _this = this,
  101859. _s11_ = "_stylesheet",
  101860. t1 = {},
  101861. $function = _this._evaluate0$_assertInModule$2(_this._evaluate0$__stylesheet, _s11_).plainCss ? null : _this._evaluate0$_addExceptionSpan$2(node, new A._EvaluateVisitor_visitFunctionExpression_closure5(_this, node));
  101862. t1.$function = $function;
  101863. if ($function == null) {
  101864. if (node.namespace != null)
  101865. throw A.wrapException(_this._evaluate0$_exception$2("Undefined function.", node.span));
  101866. t2 = node.name;
  101867. _0_0 = t2.toLowerCase();
  101868. t3 = false;
  101869. if ("min" === _0_0 || "max" === _0_0 || "round" === _0_0 || "abs" === _0_0) {
  101870. t3 = node.$arguments;
  101871. t4 = t3.named;
  101872. t3 = t4.get$isEmpty(t4) && t3.rest == null && B.JSArray_methods.every$1(t3.positional, new A._EvaluateVisitor_visitFunctionExpression_closure6());
  101873. $name = _0_0;
  101874. } else
  101875. $name = null;
  101876. if (t3)
  101877. return _this._evaluate0$_visitCalculation$2$inLegacySassFunction(node, $name);
  101878. if ("calc" === _0_0 || "clamp" === _0_0 || "hypot" === _0_0 || "sin" === _0_0 || "cos" === _0_0 || "tan" === _0_0 || "asin" === _0_0 || "acos" === _0_0 || "atan" === _0_0 || "sqrt" === _0_0 || "exp" === _0_0 || "sign" === _0_0 || "mod" === _0_0 || "rem" === _0_0 || "atan2" === _0_0 || "pow" === _0_0 || "log" === _0_0 || "calc-size" === _0_0)
  101879. return _this._evaluate0$_visitCalculation$1(node);
  101880. $function = _this._evaluate0$_assertInModule$2(_this._evaluate0$__stylesheet, _s11_).plainCss ? null : _this._evaluate0$_builtInFunctions.$index(0, t2);
  101881. t2 = t1.$function = $function == null ? new A.PlainCssCallable0(node.originalName) : $function;
  101882. } else
  101883. t2 = $function;
  101884. if (B.JSString_methods.startsWith$1(node.originalName, "--") && t2 instanceof A.UserDefinedCallable0 && !B.JSString_methods.startsWith$1(t2.declaration.originalName, "--"))
  101885. _this._evaluate0$_warn$3(string$.Sassx20_f_, node.get$nameSpan(), B.Deprecation_d4j);
  101886. oldInFunction = _this._evaluate0$_inFunction;
  101887. _this._evaluate0$_inFunction = true;
  101888. result = _this._evaluate0$_addErrorSpan$2(node, new A._EvaluateVisitor_visitFunctionExpression_closure7(t1, _this, node));
  101889. _this._evaluate0$_inFunction = oldInFunction;
  101890. return result;
  101891. },
  101892. _evaluate0$_visitCalculation$2$inLegacySassFunction(node, inLegacySassFunction) {
  101893. var $arguments, oldCallableNode, t1, _0_0, error, stackTrace, t4, _i, exception, _this = this,
  101894. t2 = node.$arguments,
  101895. t3 = t2.named;
  101896. if (t3.get$isNotEmpty(t3))
  101897. throw A.wrapException(_this._evaluate0$_exception$2(string$.Keywor, node.span));
  101898. else if (t2.rest != null)
  101899. throw A.wrapException(_this._evaluate0$_exception$2(string$.Rest_a, node.span));
  101900. _this._evaluate0$_checkCalculationArguments$1(node);
  101901. t3 = A._setArrayType([], type$.JSArray_Object);
  101902. for (t2 = t2.positional, t4 = t2.length, _i = 0; _i < t4; ++_i)
  101903. t3.push(_this._evaluate0$_visitCalculationExpression$2$inLegacySassFunction(t2[_i], inLegacySassFunction));
  101904. $arguments = t3;
  101905. if (_this._evaluate0$_inSupportsDeclaration)
  101906. return new A.SassCalculation0(node.name, A.List_List$unmodifiable($arguments, type$.Object));
  101907. oldCallableNode = _this._evaluate0$_callableNode;
  101908. _this._evaluate0$_callableNode = node;
  101909. try {
  101910. t1 = null;
  101911. t3 = node.name;
  101912. _0_0 = t3.toLowerCase();
  101913. $label0$0: {
  101914. if ("calc" === _0_0) {
  101915. t1 = A.SassCalculation_calc0(J.$index$asx($arguments, 0));
  101916. break $label0$0;
  101917. }
  101918. if ("sqrt" === _0_0) {
  101919. t1 = A.SassCalculation__singleArgument0("sqrt", J.$index$asx($arguments, 0), A.number2__sqrt$closure(), true);
  101920. break $label0$0;
  101921. }
  101922. if ("sin" === _0_0) {
  101923. t1 = A.SassCalculation__singleArgument0("sin", J.$index$asx($arguments, 0), A.number2__sin$closure(), false);
  101924. break $label0$0;
  101925. }
  101926. if ("cos" === _0_0) {
  101927. t1 = A.SassCalculation__singleArgument0("cos", J.$index$asx($arguments, 0), A.number2__cos$closure(), false);
  101928. break $label0$0;
  101929. }
  101930. if ("tan" === _0_0) {
  101931. t1 = A.SassCalculation__singleArgument0("tan", J.$index$asx($arguments, 0), A.number2__tan$closure(), false);
  101932. break $label0$0;
  101933. }
  101934. if ("asin" === _0_0) {
  101935. t1 = A.SassCalculation__singleArgument0("asin", J.$index$asx($arguments, 0), A.number2__asin$closure(), true);
  101936. break $label0$0;
  101937. }
  101938. if ("acos" === _0_0) {
  101939. t1 = A.SassCalculation__singleArgument0("acos", J.$index$asx($arguments, 0), A.number2__acos$closure(), true);
  101940. break $label0$0;
  101941. }
  101942. if ("atan" === _0_0) {
  101943. t1 = A.SassCalculation__singleArgument0("atan", J.$index$asx($arguments, 0), A.number2__atan$closure(), true);
  101944. break $label0$0;
  101945. }
  101946. if ("abs" === _0_0) {
  101947. t1 = A.SassCalculation_abs0(J.$index$asx($arguments, 0));
  101948. break $label0$0;
  101949. }
  101950. if ("exp" === _0_0) {
  101951. t1 = A.SassCalculation_exp0(J.$index$asx($arguments, 0));
  101952. break $label0$0;
  101953. }
  101954. if ("sign" === _0_0) {
  101955. t1 = A.SassCalculation_sign0(J.$index$asx($arguments, 0));
  101956. break $label0$0;
  101957. }
  101958. if ("min" === _0_0) {
  101959. t1 = A.SassCalculation_min0($arguments);
  101960. break $label0$0;
  101961. }
  101962. if ("max" === _0_0) {
  101963. t1 = A.SassCalculation_max0($arguments);
  101964. break $label0$0;
  101965. }
  101966. if ("hypot" === _0_0) {
  101967. t1 = A.SassCalculation_hypot0($arguments);
  101968. break $label0$0;
  101969. }
  101970. if ("pow" === _0_0) {
  101971. t1 = A.SassCalculation_pow0(J.$index$asx($arguments, 0), A.ListExtensions_elementAtOrNull($arguments, 1));
  101972. break $label0$0;
  101973. }
  101974. if ("atan2" === _0_0) {
  101975. t1 = A.SassCalculation_atan20(J.$index$asx($arguments, 0), A.ListExtensions_elementAtOrNull($arguments, 1));
  101976. break $label0$0;
  101977. }
  101978. if ("log" === _0_0) {
  101979. t1 = A.SassCalculation_log0(J.$index$asx($arguments, 0), A.ListExtensions_elementAtOrNull($arguments, 1));
  101980. break $label0$0;
  101981. }
  101982. if ("mod" === _0_0) {
  101983. t1 = A.SassCalculation_mod0(J.$index$asx($arguments, 0), A.ListExtensions_elementAtOrNull($arguments, 1));
  101984. break $label0$0;
  101985. }
  101986. if ("rem" === _0_0) {
  101987. t1 = A.SassCalculation_rem0(J.$index$asx($arguments, 0), A.ListExtensions_elementAtOrNull($arguments, 1));
  101988. break $label0$0;
  101989. }
  101990. if ("round" === _0_0) {
  101991. t1 = A.SassCalculation_roundInternal0(J.$index$asx($arguments, 0), A.ListExtensions_elementAtOrNull($arguments, 1), A.ListExtensions_elementAtOrNull($arguments, 2), inLegacySassFunction, node.span, new A._EvaluateVisitor__visitCalculation_closure1(_this, node));
  101992. break $label0$0;
  101993. }
  101994. if ("clamp" === _0_0) {
  101995. t1 = A.SassCalculation_clamp0(J.$index$asx($arguments, 0), A.ListExtensions_elementAtOrNull($arguments, 1), A.ListExtensions_elementAtOrNull($arguments, 2));
  101996. break $label0$0;
  101997. }
  101998. if ("calc-size" === _0_0) {
  101999. t1 = A.SassCalculation_calcSize0(J.$index$asx($arguments, 0), A.ListExtensions_elementAtOrNull($arguments, 1));
  102000. break $label0$0;
  102001. }
  102002. t3 = A.UnsupportedError$('Unknown calculation name "' + t3 + '".');
  102003. t1 = A.throwExpression(t3);
  102004. }
  102005. t1 = t1;
  102006. return t1;
  102007. } catch (exception) {
  102008. t1 = A.unwrapException(exception);
  102009. if (t1 instanceof A.SassScriptException0) {
  102010. error = t1;
  102011. stackTrace = A.getTraceFromException(exception);
  102012. if (B.JSString_methods.contains$1(error.message, "compatible"))
  102013. _this._evaluate0$_verifyCompatibleNumbers$2($arguments, t2);
  102014. A.throwWithTrace0(_this._evaluate0$_exception$2(error.message, node.span), error, stackTrace);
  102015. } else
  102016. throw exception;
  102017. } finally {
  102018. _this._evaluate0$_callableNode = oldCallableNode;
  102019. }
  102020. },
  102021. _evaluate0$_visitCalculation$1(node) {
  102022. return this._evaluate0$_visitCalculation$2$inLegacySassFunction(node, null);
  102023. },
  102024. _evaluate0$_checkCalculationArguments$1(node) {
  102025. var t1, _0_0,
  102026. check = new A._EvaluateVisitor__checkCalculationArguments_check1(this, node);
  102027. $label0$0: {
  102028. t1 = node.name;
  102029. _0_0 = t1.toLowerCase();
  102030. if ("calc" === _0_0 || "sqrt" === _0_0 || "sin" === _0_0 || "cos" === _0_0 || "tan" === _0_0 || "asin" === _0_0 || "acos" === _0_0 || "atan" === _0_0 || "abs" === _0_0 || "exp" === _0_0 || "sign" === _0_0) {
  102031. check.call$1(1);
  102032. break $label0$0;
  102033. }
  102034. if ("min" === _0_0 || "max" === _0_0 || "hypot" === _0_0) {
  102035. check.call$0();
  102036. break $label0$0;
  102037. }
  102038. if ("pow" === _0_0 || "atan2" === _0_0 || "log" === _0_0 || "mod" === _0_0 || "rem" === _0_0 || "calc-size" === _0_0) {
  102039. check.call$1(2);
  102040. break $label0$0;
  102041. }
  102042. if ("round" === _0_0 || "clamp" === _0_0) {
  102043. check.call$1(3);
  102044. break $label0$0;
  102045. }
  102046. throw A.wrapException(A.UnsupportedError$('Unknown calculation name "' + t1 + '".'));
  102047. }
  102048. },
  102049. _evaluate0$_verifyCompatibleNumbers$2(args, nodesWithSpans) {
  102050. var i, t1, _0_0, arg, t2, number1, j, number2, t3, t4, t5, t6;
  102051. for (i = 0; t1 = args.length, i < t1; ++i) {
  102052. _0_0 = args[i];
  102053. if (_0_0 instanceof A.SassNumber0) {
  102054. t1 = _0_0.get$hasComplexUnits();
  102055. arg = _0_0;
  102056. } else {
  102057. arg = null;
  102058. t1 = false;
  102059. }
  102060. if (t1) {
  102061. t1 = A.S(arg);
  102062. t2 = nodesWithSpans[i];
  102063. throw A.wrapException(this._evaluate0$_exception$2("Number " + t1 + " isn't compatible with CSS calculations.", t2.get$span(t2)));
  102064. }
  102065. }
  102066. for (i = 0; i < t1 - 1; ++i) {
  102067. number1 = args[i];
  102068. if (!(number1 instanceof A.SassNumber0))
  102069. continue;
  102070. for (j = i + 1; t1 = args.length, j < t1; ++j) {
  102071. number2 = args[j];
  102072. if (!(number2 instanceof A.SassNumber0))
  102073. continue;
  102074. if (number1.hasPossiblyCompatibleUnits$1(number2))
  102075. continue;
  102076. t1 = number1.toString$0(0);
  102077. t2 = number2.toString$0(0);
  102078. t3 = nodesWithSpans[i];
  102079. t3 = t3.get$span(t3);
  102080. t4 = number1.toString$0(0);
  102081. t5 = nodesWithSpans[j];
  102082. t5 = A.LinkedHashMap_LinkedHashMap$_literal([t5.get$span(t5), number2.toString$0(0)], type$.FileSpan, type$.String);
  102083. t6 = nodesWithSpans[i];
  102084. throw A.wrapException(A.MultiSpanSassRuntimeException$0(t1 + " and " + t2 + " are incompatible.", t3, t4, t5, this._evaluate0$_stackTrace$1(t6.get$span(t6)), null));
  102085. }
  102086. }
  102087. },
  102088. _evaluate0$_visitCalculationExpression$2$inLegacySassFunction(node, inLegacySassFunction) {
  102089. var result, t2, _0_0, _box_0, _1_0, t3, _i, i, _this = this, _null = null,
  102090. t1 = node instanceof A.ParenthesizedExpression0,
  102091. inner = t1 ? node.expression : _null;
  102092. if (t1) {
  102093. result = _this._evaluate0$_visitCalculationExpression$2$inLegacySassFunction(inner, inLegacySassFunction);
  102094. return result instanceof A.SassString0 ? new A.SassString0("(" + result._string0$_text + ")", false) : result;
  102095. }
  102096. if (node instanceof A.StringExpression0 && node.accept$1(B.C_IsCalculationSafeVisitor0)) {
  102097. t1 = node.text;
  102098. t2 = t1.get$asPlain();
  102099. _0_0 = t2 == null ? _null : t2.toLowerCase();
  102100. $label0$0: {
  102101. if ("pi" === _0_0) {
  102102. t1 = A.SassNumber_SassNumber0(3.141592653589793, _null);
  102103. break $label0$0;
  102104. }
  102105. if ("e" === _0_0) {
  102106. t1 = A.SassNumber_SassNumber0(2.718281828459045, _null);
  102107. break $label0$0;
  102108. }
  102109. if ("infinity" === _0_0) {
  102110. t1 = A.SassNumber_SassNumber0(1 / 0, _null);
  102111. break $label0$0;
  102112. }
  102113. if ("-infinity" === _0_0) {
  102114. t1 = A.SassNumber_SassNumber0(-1 / 0, _null);
  102115. break $label0$0;
  102116. }
  102117. if ("nan" === _0_0) {
  102118. t1 = A.SassNumber_SassNumber0(0 / 0, _null);
  102119. break $label0$0;
  102120. }
  102121. t1 = new A.SassString0(_this._evaluate0$_performInterpolation$1(t1), false);
  102122. break $label0$0;
  102123. }
  102124. return t1;
  102125. }
  102126. _box_0 = {};
  102127. _box_0.right = _box_0.left = _box_0.operator = null;
  102128. t1 = node instanceof A.BinaryOperationExpression0;
  102129. if (t1) {
  102130. _box_0.operator = node.operator;
  102131. _box_0.left = node.left;
  102132. _box_0.right = node.right;
  102133. }
  102134. if (t1) {
  102135. _this._evaluate0$_checkWhitespaceAroundCalculationOperator$1(node);
  102136. return _this._evaluate0$_addExceptionSpan$2(node, new A._EvaluateVisitor__visitCalculationExpression_closure1(_box_0, _this, node, inLegacySassFunction));
  102137. }
  102138. if (node instanceof A.NumberExpression0 || node instanceof A.VariableExpression0 || node instanceof A.FunctionExpression0 || node instanceof A.IfExpression0) {
  102139. _1_0 = node.accept$1(_this);
  102140. $label1$1: {
  102141. if (_1_0 instanceof A.SassNumber0) {
  102142. t1 = _1_0;
  102143. break $label1$1;
  102144. }
  102145. if (_1_0 instanceof A.SassCalculation0) {
  102146. t1 = _1_0;
  102147. break $label1$1;
  102148. }
  102149. if (_1_0 instanceof A.SassString0) {
  102150. t1 = !_1_0._string0$_hasQuotes;
  102151. result = _1_0;
  102152. } else {
  102153. result = _null;
  102154. t1 = false;
  102155. }
  102156. if (t1) {
  102157. t1 = result;
  102158. break $label1$1;
  102159. }
  102160. t1 = A.throwExpression(_this._evaluate0$_exception$2("Value " + _1_0.toString$0(0) + " can't be used in a calculation.", node.get$span(node)));
  102161. }
  102162. return t1;
  102163. }
  102164. if (node instanceof A.ListExpression0 && !node.hasBrackets && B.ListSeparator_qSL0 === node.separator && node.contents.length >= 2) {
  102165. t1 = A._setArrayType([], type$.JSArray_Object);
  102166. for (t2 = node.contents, t3 = t2.length, _i = 0; _i < t3; ++_i)
  102167. t1.push(_this._evaluate0$_visitCalculationExpression$2$inLegacySassFunction(t2[_i], inLegacySassFunction));
  102168. _this._evaluate0$_checkAdjacentCalculationValues$2(t1, node);
  102169. for (i = 0; i < t1.length; ++i) {
  102170. t3 = t1[i];
  102171. if (t3 instanceof A.CalculationOperation0 && t2[i] instanceof A.ParenthesizedExpression0)
  102172. t1[i] = new A.SassString0("(" + t3.toString$0(0) + ")", false);
  102173. }
  102174. return new A.SassString0(B.JSArray_methods.join$1(t1, " "), false);
  102175. }
  102176. throw A.wrapException(_this._evaluate0$_exception$2(string$.This_e, node.get$span(node)));
  102177. },
  102178. _evaluate0$_checkWhitespaceAroundCalculationOperator$1(node) {
  102179. var t2, t3, t4, textBetweenOperands, first, last,
  102180. t1 = node.operator;
  102181. if (t1 !== B.BinaryOperator_Swh0 && t1 !== B.BinaryOperator_QG10)
  102182. return;
  102183. t1 = node.left;
  102184. t2 = t1.get$span(t1);
  102185. t2 = t2.get$file(t2);
  102186. t3 = node.right;
  102187. t4 = t3.get$span(t3);
  102188. if (t2 !== t4.get$file(t4))
  102189. return;
  102190. t2 = t1.get$span(t1);
  102191. t2 = t2.get$end(t2);
  102192. t4 = t3.get$span(t3);
  102193. if (t2.offset >= t4.get$start(t4).offset)
  102194. return;
  102195. t2 = t1.get$span(t1);
  102196. t2 = t2.get$file(t2);
  102197. t1 = t1.get$span(t1);
  102198. t1 = t1.get$end(t1);
  102199. t3 = t3.get$span(t3);
  102200. textBetweenOperands = A.String_String$fromCharCodes(B.NativeUint32List_methods.sublist$2(t2._decodedChars, t1.offset, t3.get$start(t3).offset), 0, null);
  102201. first = textBetweenOperands.charCodeAt(0);
  102202. last = textBetweenOperands.charCodeAt(textBetweenOperands.length - 1);
  102203. if (first === 32 || first === 9 || first === 10 || first === 13 || first === 12 || first === 47)
  102204. t1 = !(last === 32 || last === 9 || last === 10 || last === 13 || last === 12 || last === 47);
  102205. else
  102206. t1 = true;
  102207. if (t1)
  102208. throw A.wrapException(this._evaluate0$_exception$2(string$.x22x2b__an, node.get$operatorSpan()));
  102209. },
  102210. _evaluate0$_binaryOperatorToCalculationOperator$2(operator, node) {
  102211. var t1;
  102212. $label0$0: {
  102213. if (B.BinaryOperator_Swh0 === operator) {
  102214. t1 = B.CalculationOperator_F7i0;
  102215. break $label0$0;
  102216. }
  102217. if (B.BinaryOperator_QG10 === operator) {
  102218. t1 = B.CalculationOperator_oum0;
  102219. break $label0$0;
  102220. }
  102221. if (B.BinaryOperator_tht0 === operator) {
  102222. t1 = B.CalculationOperator_kkN0;
  102223. break $label0$0;
  102224. }
  102225. if (B.BinaryOperator_Mh50 === operator) {
  102226. t1 = B.CalculationOperator_bo50;
  102227. break $label0$0;
  102228. }
  102229. t1 = A.throwExpression(this._evaluate0$_exception$2(string$.This_o, node.get$operatorSpan()));
  102230. }
  102231. return t1;
  102232. },
  102233. _evaluate0$_checkAdjacentCalculationValues$2(elements, node) {
  102234. var t1, i, t2, previous, current, previousNode, currentNode, _0_2;
  102235. for (t1 = elements.length, i = 1; i < t1; ++i) {
  102236. t2 = i - 1;
  102237. previous = elements[t2];
  102238. current = elements[i];
  102239. if (previous instanceof A.SassString0 || current instanceof A.SassString0)
  102240. continue;
  102241. t1 = node.contents;
  102242. previousNode = t1[t2];
  102243. currentNode = t1[i];
  102244. if (currentNode instanceof A.UnaryOperationExpression0) {
  102245. _0_2 = currentNode.operator;
  102246. if (B.UnaryOperator_UCP0 !== _0_2)
  102247. t1 = B.UnaryOperator_Rbl0 === _0_2;
  102248. else
  102249. t1 = true;
  102250. } else
  102251. t1 = false;
  102252. if (!t1)
  102253. t1 = currentNode instanceof A.NumberExpression0 && currentNode.value < 0;
  102254. else
  102255. t1 = true;
  102256. if (t1)
  102257. throw A.wrapException(this._evaluate0$_exception$2(string$.x22x2b__an, A.FileSpanExtension_subspan(currentNode.get$span(currentNode), 0, 1)));
  102258. else
  102259. throw A.wrapException(this._evaluate0$_exception$2("Missing math operator.", previousNode.get$span(previousNode).expand$1(0, currentNode.get$span(currentNode))));
  102260. }
  102261. },
  102262. visitInterpolatedFunctionExpression$1(_, node) {
  102263. var result, _this = this,
  102264. t1 = _this._evaluate0$_performInterpolation$1(node.name),
  102265. oldInFunction = _this._evaluate0$_inFunction;
  102266. _this._evaluate0$_inFunction = true;
  102267. result = _this._evaluate0$_addErrorSpan$2(node, new A._EvaluateVisitor_visitInterpolatedFunctionExpression_closure1(_this, node, new A.PlainCssCallable0(t1)));
  102268. _this._evaluate0$_inFunction = oldInFunction;
  102269. return result;
  102270. },
  102271. _evaluate0$_runUserDefinedCallable$1$4($arguments, callable, nodeWithSpan, run, $V) {
  102272. var oldInDependency, result, _this = this,
  102273. evaluated = _this._evaluate0$_evaluateArguments$1($arguments),
  102274. $name = callable.declaration.name;
  102275. if ($name !== "@content")
  102276. $name += "()";
  102277. oldInDependency = _this._evaluate0$_inDependency;
  102278. _this._evaluate0$_inDependency = callable.inDependency;
  102279. result = _this._evaluate0$_withStackFrame$3($name, nodeWithSpan, new A._EvaluateVisitor__runUserDefinedCallable_closure1(_this, callable, evaluated, nodeWithSpan, run, $V));
  102280. _this._evaluate0$_inDependency = oldInDependency;
  102281. return result;
  102282. },
  102283. _evaluate0$_runFunctionCallable$3($arguments, callable, nodeWithSpan) {
  102284. var buffer, first, argument, restArg, rest, error, t1, t2, _i, t3, t4, exception, _this = this;
  102285. if (callable instanceof A.BuiltInCallable0)
  102286. return _this._evaluate0$_withoutSlash$2(_this._evaluate0$_runBuiltInCallable$3($arguments, callable, nodeWithSpan), nodeWithSpan);
  102287. else if (type$.UserDefinedCallable_Environment_2._is(callable))
  102288. return _this._evaluate0$_runUserDefinedCallable$1$4($arguments, callable, nodeWithSpan, new A._EvaluateVisitor__runFunctionCallable_closure1(_this, callable), type$.Value_2);
  102289. else if (callable instanceof A.PlainCssCallable0) {
  102290. t1 = $arguments.named;
  102291. if (t1.get$isNotEmpty(t1) || $arguments.keywordRest != null)
  102292. throw A.wrapException(_this._evaluate0$_exception$2(string$.Plain_, nodeWithSpan.get$span(nodeWithSpan)));
  102293. buffer = new A.StringBuffer(callable.name + "(");
  102294. try {
  102295. first = true;
  102296. for (t1 = $arguments.positional, t2 = t1.length, _i = 0; _i < t2; ++_i) {
  102297. argument = t1[_i];
  102298. if (first)
  102299. first = false;
  102300. else
  102301. buffer._contents += ", ";
  102302. t3 = buffer;
  102303. t4 = argument;
  102304. t4 = _this._evaluate0$_serialize$3$quote(t4.accept$1(_this), t4, true);
  102305. t3._contents += t4;
  102306. }
  102307. restArg = $arguments.rest;
  102308. if (restArg != null) {
  102309. rest = restArg.accept$1(_this);
  102310. if (!first)
  102311. buffer._contents += ", ";
  102312. t1 = buffer;
  102313. t2 = _this._evaluate0$_serialize$2(rest, restArg);
  102314. t1._contents += t2;
  102315. }
  102316. } catch (exception) {
  102317. t1 = A.unwrapException(exception);
  102318. if (type$.SassRuntimeException_2._is(t1)) {
  102319. error = t1;
  102320. if (!B.JSString_methods.endsWith$1(error._span_exception$_message, "isn't a valid CSS value."))
  102321. throw exception;
  102322. throw A.wrapException(A.MultiSpanSassRuntimeException$0(error._span_exception$_message, J.get$span$z(error), "value", A.LinkedHashMap_LinkedHashMap$_literal([nodeWithSpan.get$span(nodeWithSpan), "unknown function treated as plain CSS"], type$.FileSpan, type$.String), J.get$trace$z(error), null));
  102323. } else
  102324. throw exception;
  102325. }
  102326. t1 = buffer;
  102327. t2 = A.Primitives_stringFromCharCode(41);
  102328. t1._contents += t2;
  102329. t2 = buffer._contents;
  102330. return new A.SassString0(t2.charCodeAt(0) == 0 ? t2 : t2, false);
  102331. } else
  102332. throw A.wrapException(A.ArgumentError$("Unknown callable type " + J.get$runtimeType$(callable).toString$0(0) + ".", null));
  102333. },
  102334. _evaluate0$_runBuiltInCallable$3($arguments, callable, nodeWithSpan) {
  102335. var result, error, stackTrace, namedSet, _0_0, parameters, i, t1, parameter, t2, t3, rest, argumentList, exception, _this = this, _box_0 = {},
  102336. evaluated = _this._evaluate0$_evaluateArguments$1($arguments),
  102337. oldCallableNode = _this._evaluate0$_callableNode;
  102338. _this._evaluate0$_callableNode = nodeWithSpan;
  102339. namedSet = new A.MapKeySet(evaluated._values[0], type$.MapKeySet_String);
  102340. _box_0.callback = _box_0.overload = null;
  102341. _0_0 = callable.callbackFor$2(evaluated._values[2].length, namedSet);
  102342. _box_0.overload = _0_0._0;
  102343. _box_0.callback = _0_0._1;
  102344. _this._evaluate0$_addExceptionSpan$2(nodeWithSpan, new A._EvaluateVisitor__runBuiltInCallable_closure5(_box_0, evaluated, namedSet));
  102345. parameters = _box_0.overload.parameters;
  102346. for (i = evaluated._values[2].length, t1 = parameters.length; i < t1; ++i) {
  102347. parameter = parameters[i];
  102348. t2 = evaluated._values[2];
  102349. t3 = evaluated._values[0].remove$1(0, parameter.name);
  102350. if (t3 == null) {
  102351. t3 = parameter.defaultValue;
  102352. t3 = _this._evaluate0$_withoutSlash$2(t3.accept$1(_this), t3);
  102353. }
  102354. t2.push(t3);
  102355. }
  102356. if (_box_0.overload.restParameter != null) {
  102357. if (evaluated._values[2].length > t1) {
  102358. rest = B.JSArray_methods.sublist$1(evaluated._values[2], t1);
  102359. B.JSArray_methods.removeRange$2(evaluated._values[2], t1, evaluated._values[2].length);
  102360. } else
  102361. rest = B.List_empty22;
  102362. t1 = evaluated._values[0];
  102363. argumentList = A.SassArgumentList$0(rest, t1, evaluated._values[4] === B.ListSeparator_undecided_null_undecided0 ? B.ListSeparator_qVN0 : evaluated._values[4]);
  102364. evaluated._values[2].push(argumentList);
  102365. } else
  102366. argumentList = null;
  102367. result = null;
  102368. try {
  102369. result = _this._evaluate0$_addExceptionSpan$2(nodeWithSpan, new A._EvaluateVisitor__runBuiltInCallable_closure6(_box_0, evaluated));
  102370. } catch (exception) {
  102371. t1 = A.unwrapException(exception);
  102372. if (t1 instanceof A.SassException0)
  102373. throw exception;
  102374. else {
  102375. error = t1;
  102376. stackTrace = A.getTraceFromException(exception);
  102377. A.throwWithTrace0(_this._evaluate0$_exception$2(_this._evaluate0$_getErrorMessage$1(error), nodeWithSpan.get$span(nodeWithSpan)), error, stackTrace);
  102378. }
  102379. }
  102380. _this._evaluate0$_callableNode = oldCallableNode;
  102381. if (argumentList == null)
  102382. return result;
  102383. if (evaluated._values[0].__js_helper$_length === 0)
  102384. return result;
  102385. if (argumentList._argument_list$_wereKeywordsAccessed)
  102386. return result;
  102387. throw A.wrapException(A.MultiSpanSassRuntimeException$0("No " + A.pluralize0("parameter", evaluated._values[0].get$keys(0).get$length(0), null) + " named " + A.toSentence0(evaluated._values[0].get$keys(0).map$1$1(0, new A._EvaluateVisitor__runBuiltInCallable_closure7(), type$.Object), "or") + ".", nodeWithSpan.get$span(nodeWithSpan), "invocation", A.LinkedHashMap_LinkedHashMap$_literal([_box_0.overload.get$spanWithName(), "declaration"], type$.FileSpan, type$.String), _this._evaluate0$_stackTrace$1(nodeWithSpan.get$span(nodeWithSpan)), null));
  102388. },
  102389. _evaluate0$_evaluateArguments$1($arguments) {
  102390. var t1, t2, _i, expression, nodeForSpan, named, namedNodes, t3, t4, $name, value, restArgs, rest, restNodeForSpan, t5, separator, keywordRestArgs, keywordRest, keywordRestNodeForSpan, _this = this,
  102391. positional = A._setArrayType([], type$.JSArray_Value_2),
  102392. positionalNodes = A._setArrayType([], type$.JSArray_AstNode_2);
  102393. for (t1 = $arguments.positional, t2 = t1.length, _i = 0; _i < t2; ++_i) {
  102394. expression = t1[_i];
  102395. nodeForSpan = _this._evaluate0$_expressionNode$1(expression);
  102396. positional.push(_this._evaluate0$_withoutSlash$2(expression.accept$1(_this), nodeForSpan));
  102397. positionalNodes.push(nodeForSpan);
  102398. }
  102399. t1 = type$.String;
  102400. named = A.LinkedHashMap_LinkedHashMap$_empty(t1, type$.Value_2);
  102401. t2 = type$.AstNode_2;
  102402. namedNodes = A.LinkedHashMap_LinkedHashMap$_empty(t1, t2);
  102403. for (t3 = A.MapExtensions_get_pairs0($arguments.named, t1, type$.Expression_2), t3 = t3.get$iterator(t3); t3.moveNext$0();) {
  102404. t4 = t3.get$current(t3);
  102405. $name = t4._0;
  102406. value = t4._1;
  102407. nodeForSpan = _this._evaluate0$_expressionNode$1(value);
  102408. named.$indexSet(0, $name, _this._evaluate0$_withoutSlash$2(value.accept$1(_this), nodeForSpan));
  102409. namedNodes.$indexSet(0, $name, nodeForSpan);
  102410. }
  102411. restArgs = $arguments.rest;
  102412. if (restArgs == null)
  102413. return new A._Record_5_named_namedNodes_positional_positionalNodes_separator([named, namedNodes, positional, positionalNodes, B.ListSeparator_undecided_null_undecided0]);
  102414. rest = restArgs.accept$1(_this);
  102415. restNodeForSpan = _this._evaluate0$_expressionNode$1(restArgs);
  102416. if (rest instanceof A.SassMap0) {
  102417. _this._evaluate0$_addRestMap$4(named, rest, restArgs, new A._EvaluateVisitor__evaluateArguments_closure7());
  102418. t3 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t2);
  102419. for (t4 = rest._map0$_contents, t4 = J.get$iterator$ax(t4.get$keys(t4)), t5 = type$.SassString_2; t4.moveNext$0();)
  102420. t3.$indexSet(0, t5._as(t4.get$current(t4))._string0$_text, restNodeForSpan);
  102421. namedNodes.addAll$1(0, t3);
  102422. separator = B.ListSeparator_undecided_null_undecided0;
  102423. } else if (rest instanceof A.SassList0) {
  102424. t3 = rest._list1$_contents;
  102425. 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>")));
  102426. B.JSArray_methods.addAll$1(positionalNodes, A.List_List$filled(t3.length, restNodeForSpan, false, t2));
  102427. separator = rest._list1$_separator;
  102428. if (rest instanceof A.SassArgumentList0) {
  102429. rest._argument_list$_wereKeywordsAccessed = true;
  102430. rest._argument_list$_keywords.forEach$1(0, new A._EvaluateVisitor__evaluateArguments_closure9(_this, named, restNodeForSpan, namedNodes));
  102431. }
  102432. } else {
  102433. positional.push(_this._evaluate0$_withoutSlash$2(rest, restNodeForSpan));
  102434. positionalNodes.push(restNodeForSpan);
  102435. separator = B.ListSeparator_undecided_null_undecided0;
  102436. }
  102437. keywordRestArgs = $arguments.keywordRest;
  102438. if (keywordRestArgs == null)
  102439. return new A._Record_5_named_namedNodes_positional_positionalNodes_separator([named, namedNodes, positional, positionalNodes, separator]);
  102440. keywordRest = keywordRestArgs.accept$1(_this);
  102441. keywordRestNodeForSpan = _this._evaluate0$_expressionNode$1(keywordRestArgs);
  102442. if (keywordRest instanceof A.SassMap0) {
  102443. _this._evaluate0$_addRestMap$4(named, keywordRest, keywordRestArgs, new A._EvaluateVisitor__evaluateArguments_closure10());
  102444. t1 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t2);
  102445. for (t2 = keywordRest._map0$_contents, t2 = J.get$iterator$ax(t2.get$keys(t2)), t3 = type$.SassString_2; t2.moveNext$0();)
  102446. t1.$indexSet(0, t3._as(t2.get$current(t2))._string0$_text, keywordRestNodeForSpan);
  102447. namedNodes.addAll$1(0, t1);
  102448. return new A._Record_5_named_namedNodes_positional_positionalNodes_separator([named, namedNodes, positional, positionalNodes, separator]);
  102449. } else
  102450. throw A.wrapException(_this._evaluate0$_exception$2(string$.Variabs + keywordRest.toString$0(0) + ").", keywordRestArgs.get$span(keywordRestArgs)));
  102451. },
  102452. _evaluate0$_evaluateMacroArguments$1(invocation) {
  102453. var t2, positional, named, rest, restNodeForSpan, keywordRestArgs_, keywordRest, keywordRestNodeForSpan, _this = this,
  102454. t1 = invocation.$arguments,
  102455. restArgs_ = t1.rest;
  102456. if (restArgs_ == null)
  102457. return new A._Record_2(t1.positional, t1.named);
  102458. t2 = t1.positional;
  102459. positional = A._setArrayType(t2.slice(0), A._arrayInstanceType(t2));
  102460. named = A.LinkedHashMap_LinkedHashMap$of(t1.named, type$.String, type$.Expression_2);
  102461. rest = restArgs_.accept$1(_this);
  102462. restNodeForSpan = _this._evaluate0$_expressionNode$1(restArgs_);
  102463. if (rest instanceof A.SassMap0)
  102464. _this._evaluate0$_addRestMap$4(named, rest, invocation, new A._EvaluateVisitor__evaluateMacroArguments_closure7(restArgs_));
  102465. else if (rest instanceof A.SassList0) {
  102466. t2 = rest._list1$_contents;
  102467. 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>")));
  102468. if (rest instanceof A.SassArgumentList0) {
  102469. rest._argument_list$_wereKeywordsAccessed = true;
  102470. rest._argument_list$_keywords.forEach$1(0, new A._EvaluateVisitor__evaluateMacroArguments_closure9(_this, named, restNodeForSpan, restArgs_));
  102471. }
  102472. } else
  102473. positional.push(new A.ValueExpression0(_this._evaluate0$_withoutSlash$2(rest, restNodeForSpan), restArgs_.get$span(restArgs_)));
  102474. keywordRestArgs_ = t1.keywordRest;
  102475. if (keywordRestArgs_ == null)
  102476. return new A._Record_2(positional, named);
  102477. keywordRest = keywordRestArgs_.accept$1(_this);
  102478. keywordRestNodeForSpan = _this._evaluate0$_expressionNode$1(keywordRestArgs_);
  102479. if (keywordRest instanceof A.SassMap0) {
  102480. _this._evaluate0$_addRestMap$4(named, keywordRest, invocation, new A._EvaluateVisitor__evaluateMacroArguments_closure10(_this, keywordRestNodeForSpan, keywordRestArgs_));
  102481. return new A._Record_2(positional, named);
  102482. } else
  102483. throw A.wrapException(_this._evaluate0$_exception$2(string$.Variabs + keywordRest.toString$0(0) + ").", keywordRestArgs_.get$span(keywordRestArgs_)));
  102484. },
  102485. _evaluate0$_addRestMap$1$4(values, map, nodeWithSpan, convert) {
  102486. map._map0$_contents.forEach$1(0, new A._EvaluateVisitor__addRestMap_closure1(this, values, convert, this._evaluate0$_expressionNode$1(nodeWithSpan), map, nodeWithSpan));
  102487. },
  102488. _evaluate0$_addRestMap$4(values, map, nodeWithSpan, convert) {
  102489. convert.toString;
  102490. return this._evaluate0$_addRestMap$1$4(values, map, nodeWithSpan, convert, type$.dynamic);
  102491. },
  102492. _evaluate0$_verifyArguments$4(positional, named, parameters, nodeWithSpan) {
  102493. return this._evaluate0$_addExceptionSpan$2(nodeWithSpan, new A._EvaluateVisitor__verifyArguments_closure1(parameters, positional, named));
  102494. },
  102495. visitSelectorExpression$1(_, node) {
  102496. var t1 = this._evaluate0$_styleRuleIgnoringAtRoot;
  102497. t1 = t1 == null ? null : t1.originalSelector.get$asSassList();
  102498. return t1 == null ? B.C__SassNull0 : t1;
  102499. },
  102500. visitStringExpression$1(_, node) {
  102501. var t1, t2, t3, _i, value, t4, _0_0, text, _this = this,
  102502. oldInSupportsDeclaration = _this._evaluate0$_inSupportsDeclaration;
  102503. _this._evaluate0$_inSupportsDeclaration = false;
  102504. t1 = A._setArrayType([], type$.JSArray_String);
  102505. for (t2 = node.text.contents, t3 = t2.length, _i = 0; _i < t3; ++_i) {
  102506. value = t2[_i];
  102507. $label0$0: {
  102508. if (typeof value == "string") {
  102509. t4 = value;
  102510. break $label0$0;
  102511. }
  102512. if (value instanceof A.Expression0) {
  102513. _0_0 = value.accept$1(_this);
  102514. $label1$1: {
  102515. if (_0_0 instanceof A.SassString0) {
  102516. text = _0_0._string0$_text;
  102517. t4 = text;
  102518. break $label1$1;
  102519. }
  102520. t4 = _this._evaluate0$_serialize$3$quote(_0_0, value, false);
  102521. break $label1$1;
  102522. }
  102523. break $label0$0;
  102524. }
  102525. t4 = A.throwExpression(A.UnsupportedError$("Unknown interpolation value " + A.S(value)));
  102526. }
  102527. t1.push(t4);
  102528. }
  102529. t1 = B.JSArray_methods.join$0(t1);
  102530. _this._evaluate0$_inSupportsDeclaration = oldInSupportsDeclaration;
  102531. return new A.SassString0(t1, node.hasQuotes);
  102532. },
  102533. visitSupportsExpression$1(_, expression) {
  102534. return new A.SassString0(this._evaluate0$_visitSupportsCondition$1(expression.condition), false);
  102535. },
  102536. visitCssAtRule$1(node) {
  102537. var wasInKeyframes, wasInUnknownAtRule, t1, _this = this;
  102538. if (_this._evaluate0$_declarationName != null)
  102539. throw A.wrapException(_this._evaluate0$_exception$2(string$.At_rul, node.span));
  102540. if (node.isChildless) {
  102541. _this._evaluate0$_assertInModule$2(_this._evaluate0$__parent, "__parent").addChild$1(A.ModifiableCssAtRule$0(node.name, node.span, true, node.value));
  102542. return;
  102543. }
  102544. wasInKeyframes = _this._evaluate0$_inKeyframes;
  102545. wasInUnknownAtRule = _this._evaluate0$_inUnknownAtRule;
  102546. t1 = node.name;
  102547. if (A.unvendor0(t1.value) === "keyframes")
  102548. _this._evaluate0$_inKeyframes = true;
  102549. else
  102550. _this._evaluate0$_inUnknownAtRule = true;
  102551. _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);
  102552. _this._evaluate0$_inUnknownAtRule = wasInUnknownAtRule;
  102553. _this._evaluate0$_inKeyframes = wasInKeyframes;
  102554. },
  102555. visitCssComment$1(node) {
  102556. var _this = this,
  102557. _s8_ = "__parent",
  102558. _s13_ = "_endOfImports";
  102559. 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))
  102560. _this._evaluate0$__endOfImports = _this._evaluate0$_assertInModule$2(_this._evaluate0$__endOfImports, _s13_) + 1;
  102561. _this._evaluate0$_assertInModule$2(_this._evaluate0$__parent, _s8_).addChild$1(new A.ModifiableCssComment0(node.text, node.span));
  102562. },
  102563. visitCssDeclaration$1(node) {
  102564. this._evaluate0$_assertInModule$2(this._evaluate0$__parent, "__parent").addChild$1(A.ModifiableCssDeclaration$0(node.name, node.value, node.span, null, node.parsedAsCustomProperty, null, node.valueSpanForMap));
  102565. },
  102566. visitCssImport$1(node) {
  102567. var t1, _this = this,
  102568. _s8_ = "__parent",
  102569. _s5_ = "_root",
  102570. _s13_ = "_endOfImports",
  102571. modifiableNode = new A.ModifiableCssImport0(node.url, node.modifiers, node.span);
  102572. if (_this._evaluate0$_assertInModule$2(_this._evaluate0$__parent, _s8_) !== _this._evaluate0$_assertInModule$2(_this._evaluate0$__root, _s5_))
  102573. _this._evaluate0$_assertInModule$2(_this._evaluate0$__parent, _s8_).addChild$1(modifiableNode);
  102574. 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)) {
  102575. _this._evaluate0$_assertInModule$2(_this._evaluate0$__root, _s5_).addChild$1(modifiableNode);
  102576. _this._evaluate0$__endOfImports = _this._evaluate0$_assertInModule$2(_this._evaluate0$__endOfImports, _s13_) + 1;
  102577. } else {
  102578. t1 = _this._evaluate0$_outOfOrderImports;
  102579. (t1 == null ? _this._evaluate0$_outOfOrderImports = A._setArrayType([], type$.JSArray_ModifiableCssImport_2) : t1).push(modifiableNode);
  102580. }
  102581. },
  102582. visitCssKeyframeBlock$1(node) {
  102583. 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);
  102584. },
  102585. visitCssMediaRule$1(node) {
  102586. var mergedQueries, t1, mergedSources, t2, t3, _this = this;
  102587. if (_this._evaluate0$_declarationName != null)
  102588. throw A.wrapException(_this._evaluate0$_exception$2(string$.Media_, node.span));
  102589. mergedQueries = A.NullableExtension_andThen0(_this._evaluate0$_mediaQueries, new A._EvaluateVisitor_visitCssMediaRule_closure5(_this, node));
  102590. t1 = mergedQueries == null;
  102591. if (!t1 && J.get$isEmpty$asx(mergedQueries))
  102592. return;
  102593. if (t1)
  102594. mergedSources = B.Set_empty5;
  102595. else {
  102596. t2 = _this._evaluate0$_mediaQuerySources;
  102597. t2.toString;
  102598. t2 = A.LinkedHashSet_LinkedHashSet$of(t2, type$.CssMediaQuery_2);
  102599. t3 = _this._evaluate0$_mediaQueries;
  102600. t3.toString;
  102601. t2.addAll$1(0, t3);
  102602. t2.addAll$1(0, node.queries);
  102603. mergedSources = t2;
  102604. }
  102605. t1 = t1 ? node.queries : mergedQueries;
  102606. _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);
  102607. },
  102608. visitCssStyleRule$1(node) {
  102609. var t1, styleRule, _0_0, t2, t3, originalSelector, rule, oldAtRootExcludingStyleRule, _1_1, lastChild, _this = this, _null = null,
  102610. _s8_ = "__parent";
  102611. if (_this._evaluate0$_declarationName != null)
  102612. throw A.wrapException(_this._evaluate0$_exception$2(string$.Style_n, node.span));
  102613. else if (_this._evaluate0$_inKeyframes && _this._evaluate0$_assertInModule$2(_this._evaluate0$__parent, _s8_) instanceof A.ModifiableCssKeyframeBlock0)
  102614. throw A.wrapException(_this._evaluate0$_exception$2(string$.Style_k, node.span));
  102615. t1 = _this._evaluate0$_atRootExcludingStyleRule;
  102616. styleRule = t1 ? _null : _this._evaluate0$_styleRuleIgnoringAtRoot;
  102617. _0_0 = t1 ? _null : _this._evaluate0$_styleRuleIgnoringAtRoot;
  102618. $label0$0: {
  102619. if (_0_0 == null) {
  102620. t1 = true;
  102621. break $label0$0;
  102622. }
  102623. if (_0_0.fromPlainCss) {
  102624. t1 = false;
  102625. break $label0$0;
  102626. }
  102627. t1 = !(node.fromPlainCss && node._style_rule0$_selector._box0$_inner.value.accept$1(B.C__ContainsParentSelectorVisitor0));
  102628. break $label0$0;
  102629. }
  102630. t2 = node._style_rule0$_selector._box0$_inner;
  102631. if (t1) {
  102632. t2 = t2.value;
  102633. t3 = styleRule == null ? _null : styleRule.originalSelector;
  102634. originalSelector = t2.nestWithin$3$implicitParent$preserveParentSelectors(t3, !_this._evaluate0$_atRootExcludingStyleRule, node.fromPlainCss);
  102635. } else
  102636. originalSelector = t2.value;
  102637. rule = A.ModifiableCssStyleRule$0(_this._evaluate0$_assertInModule$2(_this._evaluate0$__extensionStore, "_extensionStore").addSelector$2(originalSelector, _this._evaluate0$_mediaQueries), node.span, node.fromPlainCss, originalSelector);
  102638. oldAtRootExcludingStyleRule = _this._evaluate0$_atRootExcludingStyleRule;
  102639. _this._evaluate0$_atRootExcludingStyleRule = false;
  102640. t1 = t1 ? new A._EvaluateVisitor_visitCssStyleRule_closure3() : _null;
  102641. _this._evaluate0$_withParent$2$4$scopeWhen$through(rule, new A._EvaluateVisitor_visitCssStyleRule_closure4(_this, rule, node), false, t1, type$.ModifiableCssStyleRule_2, type$.Null);
  102642. _this._evaluate0$_atRootExcludingStyleRule = oldAtRootExcludingStyleRule;
  102643. t1 = _this._evaluate0$_assertInModule$2(_this._evaluate0$__parent, _s8_).children._collection$_source;
  102644. t2 = J.getInterceptor$asx(t1);
  102645. _1_1 = t2.get$length(t1);
  102646. if (_1_1 >= 1) {
  102647. lastChild = t2.elementAt$1(t1, _1_1 - 1);
  102648. t1 = styleRule == null;
  102649. } else {
  102650. lastChild = _null;
  102651. t1 = false;
  102652. }
  102653. if (t1)
  102654. lastChild.isGroupEnd = true;
  102655. },
  102656. visitCssStylesheet$1(node) {
  102657. var t1;
  102658. for (t1 = J.get$iterator$ax(node.get$children(node)); t1.moveNext$0();)
  102659. t1.get$current(t1).accept$1(this);
  102660. },
  102661. visitCssSupportsRule$1(node) {
  102662. var _this = this;
  102663. if (_this._evaluate0$_declarationName != null)
  102664. throw A.wrapException(_this._evaluate0$_exception$2(string$.Suppor, node.span));
  102665. _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);
  102666. },
  102667. _evaluate0$_handleReturn$1$2(list, callback) {
  102668. var t1, _i, _0_0;
  102669. for (t1 = list.length, _i = 0; _i < list.length; list.length === t1 || (0, A.throwConcurrentModificationError)(list), ++_i) {
  102670. _0_0 = callback.call$1(list[_i]);
  102671. if (_0_0 != null)
  102672. return _0_0;
  102673. }
  102674. return null;
  102675. },
  102676. _evaluate0$_handleReturn$2(list, callback) {
  102677. callback.toString;
  102678. return this._evaluate0$_handleReturn$1$2(list, callback, type$.dynamic);
  102679. },
  102680. _evaluate0$_withEnvironment$1$2(environment, callback) {
  102681. var result,
  102682. oldEnvironment = this._evaluate0$_environment;
  102683. this._evaluate0$_environment = environment;
  102684. result = callback.call$0();
  102685. this._evaluate0$_environment = oldEnvironment;
  102686. return result;
  102687. },
  102688. _evaluate0$_withEnvironment$2(environment, callback) {
  102689. callback.toString;
  102690. return this._evaluate0$_withEnvironment$1$2(environment, callback, type$.dynamic);
  102691. },
  102692. _evaluate0$_interpolationToValue$3$trim$warnForColor(interpolation, trim, warnForColor) {
  102693. var result = this._evaluate0$_performInterpolation$2$warnForColor(interpolation, warnForColor),
  102694. t1 = trim ? A.trimAscii0(result, true) : result;
  102695. return new A.CssValue0(t1, interpolation.span, type$.CssValue_String_2);
  102696. },
  102697. _evaluate0$_interpolationToValue$1(interpolation) {
  102698. return this._evaluate0$_interpolationToValue$3$trim$warnForColor(interpolation, false, false);
  102699. },
  102700. _evaluate0$_interpolationToValue$2$warnForColor(interpolation, warnForColor) {
  102701. return this._evaluate0$_interpolationToValue$3$trim$warnForColor(interpolation, false, warnForColor);
  102702. },
  102703. _evaluate0$_performInterpolation$2$warnForColor(interpolation, warnForColor) {
  102704. return this._evaluate0$_performInterpolationHelper$3$sourceMap$warnForColor(interpolation, false, warnForColor)._0;
  102705. },
  102706. _evaluate0$_performInterpolation$1(interpolation) {
  102707. return this._evaluate0$_performInterpolation$2$warnForColor(interpolation, false);
  102708. },
  102709. _evaluate0$_performInterpolationWithMap$2$warnForColor(interpolation, warnForColor) {
  102710. var _0_0 = this._evaluate0$_performInterpolationHelper$3$sourceMap$warnForColor(interpolation, true, true),
  102711. map = _0_0._1;
  102712. map.toString;
  102713. return new A._Record_2(_0_0._0, map);
  102714. },
  102715. _evaluate0$_performInterpolationHelper$3$sourceMap$warnForColor(interpolation, sourceMap, warnForColor) {
  102716. var t1, t2, t3, t4, t5, t6, first, _i, t7, value, result, result0, t8, _this = this, _null = null,
  102717. targetLocations = sourceMap ? A._setArrayType([], type$.JSArray_SourceLocation) : _null,
  102718. oldInSupportsDeclaration = _this._evaluate0$_inSupportsDeclaration;
  102719. _this._evaluate0$_inSupportsDeclaration = false;
  102720. for (t1 = interpolation.contents, t2 = t1.length, t3 = type$.Expression_2, t4 = targetLocations == null, t5 = interpolation.span, t6 = type$.Object, first = true, _i = 0, t7 = ""; _i < t2; ++_i, first = false) {
  102721. value = t1[_i];
  102722. if (!first)
  102723. if (!t4)
  102724. targetLocations.push(A.SourceLocation$(t7.length, _null, _null, _null));
  102725. if (typeof value == "string") {
  102726. t7 += value;
  102727. continue;
  102728. }
  102729. t3._as(value);
  102730. result = value.accept$1(_this);
  102731. if (warnForColor && $.$get$namesByColor0().containsKey$1(result)) {
  102732. result0 = A.List_List$from([""], false, t6);
  102733. result0.$flags = 3;
  102734. t8 = $.$get$namesByColor0();
  102735. _this._evaluate0$_warn$2(string$.You_pr + A.S(t8.$index(0, result)) + string$.x20in_in + result.toString$0(0) + string$.x2c_whicw + A.S(t8.$index(0, result)) + string$.x22x29__If + new A.BinaryOperationExpression0(B.BinaryOperator_Swh0, new A.StringExpression0(new A.Interpolation0(result0, B.List_null, t5), true), value, false).toString$0(0) + "'.", value.get$span(value));
  102736. }
  102737. t7 += _this._evaluate0$_serialize$3$quote(result, value, false);
  102738. }
  102739. _this._evaluate0$_inSupportsDeclaration = oldInSupportsDeclaration;
  102740. return new A._Record_2(t7.charCodeAt(0) == 0 ? t7 : t7, A.NullableExtension_andThen0(targetLocations, new A._EvaluateVisitor__performInterpolationHelper_closure1(interpolation)));
  102741. },
  102742. _evaluate0$_serialize$3$quote(value, nodeWithSpan, quote) {
  102743. return this._evaluate0$_addExceptionSpan$2(nodeWithSpan, new A._EvaluateVisitor__serialize_closure1(value, quote));
  102744. },
  102745. _evaluate0$_serialize$2(value, nodeWithSpan) {
  102746. return this._evaluate0$_serialize$3$quote(value, nodeWithSpan, true);
  102747. },
  102748. _evaluate0$_expressionNode$1(expression) {
  102749. var t1;
  102750. if (expression instanceof A.VariableExpression0) {
  102751. t1 = this._evaluate0$_addExceptionSpan$2(expression, new A._EvaluateVisitor__expressionNode_closure1(this, expression));
  102752. return t1 == null ? expression : t1;
  102753. } else
  102754. return expression;
  102755. },
  102756. _evaluate0$_withParent$2$4$scopeWhen$through(node, callback, scopeWhen, through, $S, $T) {
  102757. var oldParent, result, _this = this;
  102758. _this._evaluate0$_addChild$2$through(node, through);
  102759. oldParent = _this._evaluate0$_assertInModule$2(_this._evaluate0$__parent, "__parent");
  102760. _this._evaluate0$__parent = node;
  102761. result = _this._evaluate0$_environment.scope$1$2$when(callback, scopeWhen, $T);
  102762. _this._evaluate0$__parent = oldParent;
  102763. return result;
  102764. },
  102765. _evaluate0$_withParent$2$3$scopeWhen(node, callback, scopeWhen, $S, $T) {
  102766. node.toString;
  102767. callback.toString;
  102768. return this._evaluate0$_withParent$2$4$scopeWhen$through(node, callback, scopeWhen, null, $S, $T);
  102769. },
  102770. _evaluate0$_withParent$2$2(node, callback, $S, $T) {
  102771. node.toString;
  102772. callback.toString;
  102773. return this._evaluate0$_withParent$2$4$scopeWhen$through(node, callback, true, null, $S, $T);
  102774. },
  102775. _evaluate0$_addChild$2$through(node, through) {
  102776. var _0_0, grandparent, t1,
  102777. $parent = this._evaluate0$_assertInModule$2(this._evaluate0$__parent, "__parent");
  102778. if (through != null) {
  102779. for (; through.call$1($parent); $parent = _0_0) {
  102780. _0_0 = $parent._node$_parent;
  102781. if (_0_0 == null)
  102782. throw A.wrapException(A.ArgumentError$(string$.throug + node.toString$0(0) + ".", null));
  102783. }
  102784. if ($parent.get$hasFollowingSibling()) {
  102785. grandparent = $parent._node$_parent;
  102786. t1 = grandparent.children;
  102787. if ($parent.equalsIgnoringChildren$1(t1.get$last(t1)))
  102788. $parent = type$.ModifiableCssParentNode_2._as(t1.get$last(t1));
  102789. else {
  102790. $parent = $parent.copyWithoutChildren$0();
  102791. grandparent.addChild$1($parent);
  102792. }
  102793. }
  102794. }
  102795. $parent.addChild$1(node);
  102796. },
  102797. _evaluate0$_addChild$1(node) {
  102798. return this._evaluate0$_addChild$2$through(node, null);
  102799. },
  102800. _evaluate0$_withStyleRule$1$2(rule, callback) {
  102801. var result,
  102802. oldRule = this._evaluate0$_styleRuleIgnoringAtRoot;
  102803. this._evaluate0$_styleRuleIgnoringAtRoot = rule;
  102804. result = callback.call$0();
  102805. this._evaluate0$_styleRuleIgnoringAtRoot = oldRule;
  102806. return result;
  102807. },
  102808. _evaluate0$_withStyleRule$2(rule, callback) {
  102809. callback.toString;
  102810. return this._evaluate0$_withStyleRule$1$2(rule, callback, type$.dynamic);
  102811. },
  102812. _evaluate0$_withMediaQueries$1$3(queries, sources, callback) {
  102813. var result, _this = this,
  102814. oldMediaQueries = _this._evaluate0$_mediaQueries,
  102815. oldSources = _this._evaluate0$_mediaQuerySources;
  102816. _this._evaluate0$_mediaQueries = queries;
  102817. _this._evaluate0$_mediaQuerySources = sources;
  102818. result = callback.call$0();
  102819. _this._evaluate0$_mediaQueries = oldMediaQueries;
  102820. _this._evaluate0$_mediaQuerySources = oldSources;
  102821. return result;
  102822. },
  102823. _evaluate0$_withMediaQueries$3(queries, sources, callback) {
  102824. callback.toString;
  102825. return this._evaluate0$_withMediaQueries$1$3(queries, sources, callback, type$.dynamic);
  102826. },
  102827. _evaluate0$_withStackFrame$1$3(member, nodeWithSpan, callback) {
  102828. var oldMember, result, _this = this,
  102829. t1 = _this._evaluate0$_stack;
  102830. t1.push(new A._Record_2(_this._evaluate0$_member, nodeWithSpan));
  102831. oldMember = _this._evaluate0$_member;
  102832. _this._evaluate0$_member = member;
  102833. result = callback.call$0();
  102834. _this._evaluate0$_member = oldMember;
  102835. t1.pop();
  102836. return result;
  102837. },
  102838. _evaluate0$_withStackFrame$3(member, nodeWithSpan, callback) {
  102839. callback.toString;
  102840. return this._evaluate0$_withStackFrame$1$3(member, nodeWithSpan, callback, type$.dynamic);
  102841. },
  102842. _evaluate0$_withoutSlash$2(value, nodeForSpan) {
  102843. var t1;
  102844. if (value instanceof A.SassNumber0)
  102845. t1 = value.asSlash != null;
  102846. else
  102847. t1 = false;
  102848. if (t1)
  102849. this._evaluate0$_warn$3(string$.Using__i + A.S(new A._EvaluateVisitor__withoutSlash_recommendation1().call$1(value)) + string$.x0a_Morex20, nodeForSpan.get$span(nodeForSpan), B.Deprecation_FyB);
  102850. return value.withoutSlash$0();
  102851. },
  102852. _evaluate0$_stackFrame$2(member, span) {
  102853. return A.frameForSpan0(span, member, A.NullableExtension_andThen0(span.get$sourceUrl(span), new A._EvaluateVisitor__stackFrame_closure1(this)));
  102854. },
  102855. _evaluate0$_stackTrace$1(span) {
  102856. var t2, t3, _i, t4, nodeWithSpan, _this = this,
  102857. t1 = A._setArrayType([], type$.JSArray_Frame);
  102858. for (t2 = _this._evaluate0$_stack, t3 = t2.length, _i = 0; _i < t2.length; t2.length === t3 || (0, A.throwConcurrentModificationError)(t2), ++_i) {
  102859. t4 = t2[_i];
  102860. nodeWithSpan = t4._1;
  102861. t1.push(_this._evaluate0$_stackFrame$2(t4._0, nodeWithSpan.get$span(nodeWithSpan)));
  102862. }
  102863. if (span != null)
  102864. t1.push(_this._evaluate0$_stackFrame$2(_this._evaluate0$_member, span));
  102865. return A.Trace$(new A.ReversedListIterable(t1, type$.ReversedListIterable_Frame), null);
  102866. },
  102867. _evaluate0$_stackTrace$0() {
  102868. return this._evaluate0$_stackTrace$1(null);
  102869. },
  102870. _evaluate0$_warn$3(message, span, deprecation) {
  102871. var trace, t1, _this = this;
  102872. if (_this._evaluate0$_quietDeps && _this._evaluate0$_inDependency)
  102873. return;
  102874. if (!_this._evaluate0$_warningsEmitted.add$1(0, new A._Record_2(message, span)))
  102875. return;
  102876. trace = _this._evaluate0$_stackTrace$1(span);
  102877. t1 = _this._evaluate0$_logger;
  102878. if (deprecation == null)
  102879. t1.internalWarn$4$deprecation$span$trace(message, null, span, trace);
  102880. else
  102881. A.WarnForDeprecation_warnForDeprecation0(t1, deprecation, message, span, trace);
  102882. },
  102883. _evaluate0$_warn$2(message, span) {
  102884. return this._evaluate0$_warn$3(message, span, null);
  102885. },
  102886. _evaluate0$_exception$2(message, span) {
  102887. var t1, t2;
  102888. if (span == null) {
  102889. t1 = B.JSArray_methods.get$last(this._evaluate0$_stack)._1;
  102890. t1 = t1.get$span(t1);
  102891. } else
  102892. t1 = span;
  102893. t2 = this._evaluate0$_stackTrace$1(span);
  102894. return new A.SassRuntimeException0(t2, B.Set_empty, message, t1);
  102895. },
  102896. _evaluate0$_exception$1(message) {
  102897. return this._evaluate0$_exception$2(message, null);
  102898. },
  102899. _evaluate0$_multiSpanException$3(message, primaryLabel, secondaryLabels) {
  102900. var t1 = B.JSArray_methods.get$last(this._evaluate0$_stack)._1;
  102901. return A.MultiSpanSassRuntimeException$0(message, t1.get$span(t1), primaryLabel, secondaryLabels, this._evaluate0$_stackTrace$0(), null);
  102902. },
  102903. _evaluate0$_addExceptionSpan$1$3$addStackFrame(nodeWithSpan, callback, addStackFrame) {
  102904. var error, stackTrace, t1, exception;
  102905. try {
  102906. t1 = callback.call$0();
  102907. return t1;
  102908. } catch (exception) {
  102909. t1 = A.unwrapException(exception);
  102910. if (t1 instanceof A.SassScriptException0) {
  102911. error = t1;
  102912. stackTrace = A.getTraceFromException(exception);
  102913. t1 = error.withSpan$1(nodeWithSpan.get$span(nodeWithSpan));
  102914. A.throwWithTrace0(t1.withTrace$1(this._evaluate0$_stackTrace$1(addStackFrame ? nodeWithSpan.get$span(nodeWithSpan) : null)), error, stackTrace);
  102915. } else
  102916. throw exception;
  102917. }
  102918. },
  102919. _evaluate0$_addExceptionSpan$2(nodeWithSpan, callback) {
  102920. callback.toString;
  102921. return this._evaluate0$_addExceptionSpan$1$3$addStackFrame(nodeWithSpan, callback, true, type$.dynamic);
  102922. },
  102923. _evaluate0$_addExceptionSpan$3$addStackFrame(nodeWithSpan, callback, addStackFrame) {
  102924. callback.toString;
  102925. return this._evaluate0$_addExceptionSpan$1$3$addStackFrame(nodeWithSpan, callback, addStackFrame, type$.dynamic);
  102926. },
  102927. _evaluate0$_addExceptionTrace$1$1(callback) {
  102928. var error, stackTrace, t1, exception, t2;
  102929. try {
  102930. t1 = callback.call$0();
  102931. return t1;
  102932. } catch (exception) {
  102933. t1 = A.unwrapException(exception);
  102934. if (type$.SassRuntimeException_2._is(t1))
  102935. throw exception;
  102936. else if (t1 instanceof A.SassException0) {
  102937. error = t1;
  102938. stackTrace = A.getTraceFromException(exception);
  102939. t1 = error;
  102940. t2 = J.getInterceptor$z(t1);
  102941. A.throwWithTrace0(error.withTrace$1(this._evaluate0$_stackTrace$1(A.SourceSpanException.prototype.get$span.call(t2, t1))), error, stackTrace);
  102942. } else
  102943. throw exception;
  102944. }
  102945. },
  102946. _evaluate0$_addExceptionTrace$1(callback) {
  102947. callback.toString;
  102948. return this._evaluate0$_addExceptionTrace$1$1(callback, type$.dynamic);
  102949. },
  102950. _evaluate0$_addErrorSpan$1$2(nodeWithSpan, callback) {
  102951. var error, stackTrace, t1, exception, t2, t3;
  102952. try {
  102953. t1 = callback.call$0();
  102954. return t1;
  102955. } catch (exception) {
  102956. t1 = A.unwrapException(exception);
  102957. if (type$.SassRuntimeException_2._is(t1)) {
  102958. error = t1;
  102959. stackTrace = A.getTraceFromException(exception);
  102960. if (!B.JSString_methods.startsWith$1(J.get$span$z(error).get$text(), "@error"))
  102961. throw exception;
  102962. t1 = error._span_exception$_message;
  102963. t2 = nodeWithSpan.get$span(nodeWithSpan);
  102964. t3 = this._evaluate0$_stackTrace$0();
  102965. A.throwWithTrace0(new A.SassRuntimeException0(t3, B.Set_empty, t1, t2), error, stackTrace);
  102966. } else
  102967. throw exception;
  102968. }
  102969. },
  102970. _evaluate0$_addErrorSpan$2(nodeWithSpan, callback) {
  102971. callback.toString;
  102972. return this._evaluate0$_addErrorSpan$1$2(nodeWithSpan, callback, type$.dynamic);
  102973. },
  102974. _evaluate0$_getErrorMessage$1(error) {
  102975. var t1, exception;
  102976. if (type$.Error._is(error))
  102977. return error.toString$0(0);
  102978. try {
  102979. t1 = A._asString(J.get$message$x(error));
  102980. return t1;
  102981. } catch (exception) {
  102982. t1 = J.toString$0$(error);
  102983. return t1;
  102984. }
  102985. },
  102986. $isExpressionVisitor: 1,
  102987. $isStatementVisitor: 1
  102988. };
  102989. A._EvaluateVisitor_closure25.prototype = {
  102990. call$1($arguments) {
  102991. var module, t2,
  102992. t1 = J.getInterceptor$asx($arguments),
  102993. variable = t1.$index($arguments, 0).assertString$1("name");
  102994. t1 = t1.$index($arguments, 1).get$realNull();
  102995. module = t1 == null ? null : t1.assertString$1("module");
  102996. t1 = this.$this._evaluate0$_environment;
  102997. t2 = A.stringReplaceAllUnchecked(variable._string0$_text, "_", "-");
  102998. return t1.globalVariableExists$2$namespace(t2, module == null ? null : module._string0$_text) ? B.SassBoolean_true0 : B.SassBoolean_false0;
  102999. },
  103000. $signature: 11
  103001. };
  103002. A._EvaluateVisitor_closure26.prototype = {
  103003. call$1($arguments) {
  103004. var variable = J.$index$asx($arguments, 0).assertString$1("name"),
  103005. t1 = this.$this._evaluate0$_environment;
  103006. return t1.getVariable$1(A.stringReplaceAllUnchecked(variable._string0$_text, "_", "-")) != null ? B.SassBoolean_true0 : B.SassBoolean_false0;
  103007. },
  103008. $signature: 11
  103009. };
  103010. A._EvaluateVisitor_closure27.prototype = {
  103011. call$1($arguments) {
  103012. var module, t2, t3, t4,
  103013. t1 = J.getInterceptor$asx($arguments),
  103014. variable = t1.$index($arguments, 0).assertString$1("name");
  103015. t1 = t1.$index($arguments, 1).get$realNull();
  103016. module = t1 == null ? null : t1.assertString$1("module");
  103017. t1 = this.$this;
  103018. t2 = t1._evaluate0$_environment;
  103019. t3 = variable._string0$_text;
  103020. t4 = A.stringReplaceAllUnchecked(t3, "_", "-");
  103021. 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;
  103022. },
  103023. $signature: 11
  103024. };
  103025. A._EvaluateVisitor_closure28.prototype = {
  103026. call$1($arguments) {
  103027. var module, t2,
  103028. t1 = J.getInterceptor$asx($arguments),
  103029. variable = t1.$index($arguments, 0).assertString$1("name");
  103030. t1 = t1.$index($arguments, 1).get$realNull();
  103031. module = t1 == null ? null : t1.assertString$1("module");
  103032. t1 = this.$this._evaluate0$_environment;
  103033. t2 = A.stringReplaceAllUnchecked(variable._string0$_text, "_", "-");
  103034. return t1.getMixin$2$namespace(t2, module == null ? null : module._string0$_text) != null ? B.SassBoolean_true0 : B.SassBoolean_false0;
  103035. },
  103036. $signature: 11
  103037. };
  103038. A._EvaluateVisitor_closure29.prototype = {
  103039. call$1($arguments) {
  103040. var t1 = this.$this._evaluate0$_environment;
  103041. if (!t1._environment0$_inMixin)
  103042. throw A.wrapException(A.SassScriptException$0(string$.conten, null));
  103043. return t1._environment0$_content != null ? B.SassBoolean_true0 : B.SassBoolean_false0;
  103044. },
  103045. $signature: 11
  103046. };
  103047. A._EvaluateVisitor_closure30.prototype = {
  103048. call$1($arguments) {
  103049. var t2, t3, t4,
  103050. t1 = J.$index$asx($arguments, 0).assertString$1("module")._string0$_text,
  103051. module = this.$this._evaluate0$_environment._environment0$_modules.$index(0, t1);
  103052. if (module == null)
  103053. throw A.wrapException('There is no module with namespace "' + t1 + '".');
  103054. t1 = type$.Value_2;
  103055. t2 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t1);
  103056. for (t3 = A.MapExtensions_get_pairs0(module.get$variables(), type$.String, t1), t3 = t3.get$iterator(t3); t3.moveNext$0();) {
  103057. t4 = t3.get$current(t3);
  103058. t2.$indexSet(0, new A.SassString0(t4._0, true), t4._1);
  103059. }
  103060. return new A.SassMap0(A.ConstantMap_ConstantMap$from(t2, t1, t1));
  103061. },
  103062. $signature: 37
  103063. };
  103064. A._EvaluateVisitor_closure31.prototype = {
  103065. call$1($arguments) {
  103066. var t3, t4, t5,
  103067. t1 = this.$this,
  103068. t2 = J.$index$asx($arguments, 0).assertString$1("module")._string0$_text,
  103069. module = t1._evaluate0$_environment._environment0$_modules.$index(0, t2);
  103070. if (module == null)
  103071. throw A.wrapException('There is no module with namespace "' + t2 + '".');
  103072. t2 = type$.Value_2;
  103073. t3 = A.LinkedHashMap_LinkedHashMap$_empty(t2, t2);
  103074. for (t4 = A.MapExtensions_get_pairs0(module.get$functions(module), type$.String, type$.Callable_2), t4 = t4.get$iterator(t4), t1 = t1._evaluate0$_compileContext; t4.moveNext$0();) {
  103075. t5 = t4.get$current(t4);
  103076. t3.$indexSet(0, new A.SassString0(t5._0, true), new A.SassFunction0(t5._1, t1));
  103077. }
  103078. return new A.SassMap0(A.ConstantMap_ConstantMap$from(t3, t2, t2));
  103079. },
  103080. $signature: 37
  103081. };
  103082. A._EvaluateVisitor_closure32.prototype = {
  103083. call$1($arguments) {
  103084. var t3, t4, t5,
  103085. t1 = this.$this,
  103086. t2 = J.$index$asx($arguments, 0).assertString$1("module")._string0$_text,
  103087. module = t1._evaluate0$_environment._environment0$_modules.$index(0, t2);
  103088. if (module == null)
  103089. throw A.wrapException('There is no module with namespace "' + t2 + '".');
  103090. t2 = type$.Value_2;
  103091. t3 = A.LinkedHashMap_LinkedHashMap$_empty(t2, t2);
  103092. for (t4 = A.MapExtensions_get_pairs0(module.get$mixins(), type$.String, type$.Callable_2), t4 = t4.get$iterator(t4), t1 = t1._evaluate0$_compileContext; t4.moveNext$0();) {
  103093. t5 = t4.get$current(t4);
  103094. t3.$indexSet(0, new A.SassString0(t5._0, true), new A.SassMixin0(t5._1, t1));
  103095. }
  103096. return new A.SassMap0(A.ConstantMap_ConstantMap$from(t3, t2, t2));
  103097. },
  103098. $signature: 37
  103099. };
  103100. A._EvaluateVisitor_closure33.prototype = {
  103101. call$1($arguments) {
  103102. var module, t2, callable,
  103103. t1 = J.getInterceptor$asx($arguments),
  103104. $name = t1.$index($arguments, 0).assertString$1("name"),
  103105. css = t1.$index($arguments, 1).get$isTruthy();
  103106. t1 = t1.$index($arguments, 2).get$realNull();
  103107. module = t1 == null ? null : t1.assertString$1("module");
  103108. if (css) {
  103109. if (module != null)
  103110. throw A.wrapException(string$.x24css_a);
  103111. return new A.SassFunction0(new A.PlainCssCallable0($name._string0$_text), this.$this._evaluate0$_compileContext);
  103112. }
  103113. t1 = this.$this;
  103114. t2 = t1._evaluate0$_callableNode;
  103115. t2.toString;
  103116. callable = t1._evaluate0$_addExceptionSpan$2(t2, new A._EvaluateVisitor__closure10(t1, $name, module));
  103117. if (callable == null)
  103118. throw A.wrapException("Function not found: " + $name.toString$0(0));
  103119. return new A.SassFunction0(callable, t1._evaluate0$_compileContext);
  103120. },
  103121. $signature: 205
  103122. };
  103123. A._EvaluateVisitor__closure10.prototype = {
  103124. call$0() {
  103125. var local,
  103126. normalizedName = A.stringReplaceAllUnchecked(this.name._string0$_text, "_", "-"),
  103127. t1 = this.module,
  103128. namespace = t1 == null ? null : t1._string0$_text;
  103129. t1 = this.$this;
  103130. local = t1._evaluate0$_environment.getFunction$2$namespace(normalizedName, namespace);
  103131. if (local != null || namespace != null)
  103132. return local;
  103133. return t1._evaluate0$_builtInFunctions.$index(0, normalizedName);
  103134. },
  103135. $signature: 103
  103136. };
  103137. A._EvaluateVisitor_closure34.prototype = {
  103138. call$1($arguments) {
  103139. var module, t2, callable,
  103140. t1 = J.getInterceptor$asx($arguments),
  103141. $name = t1.$index($arguments, 0).assertString$1("name");
  103142. t1 = t1.$index($arguments, 1).get$realNull();
  103143. module = t1 == null ? null : t1.assertString$1("module");
  103144. t1 = this.$this;
  103145. t2 = t1._evaluate0$_callableNode;
  103146. t2.toString;
  103147. callable = t1._evaluate0$_addExceptionSpan$2(t2, new A._EvaluateVisitor__closure9(t1, $name, module));
  103148. if (callable == null)
  103149. throw A.wrapException("Mixin not found: " + $name.toString$0(0));
  103150. return new A.SassMixin0(callable, t1._evaluate0$_compileContext);
  103151. },
  103152. $signature: 206
  103153. };
  103154. A._EvaluateVisitor__closure9.prototype = {
  103155. call$0() {
  103156. var t1 = this.$this._evaluate0$_environment,
  103157. t2 = A.stringReplaceAllUnchecked(this.name._string0$_text, "_", "-"),
  103158. t3 = this.module;
  103159. return t1.getMixin$2$namespace(t2, t3 == null ? null : t3._string0$_text);
  103160. },
  103161. $signature: 103
  103162. };
  103163. A._EvaluateVisitor_closure35.prototype = {
  103164. call$1($arguments) {
  103165. var t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, invocation, callableNode, callable,
  103166. t1 = J.getInterceptor$asx($arguments),
  103167. $function = t1.$index($arguments, 0),
  103168. args = type$.SassArgumentList_2._as(t1.$index($arguments, 1));
  103169. t1 = this.$this;
  103170. t2 = t1._evaluate0$_callableNode;
  103171. t2.toString;
  103172. t3 = A._setArrayType([], type$.JSArray_Expression_2);
  103173. t4 = type$.String;
  103174. t5 = type$.Expression_2;
  103175. t6 = t2.get$span(t2);
  103176. t7 = t2.get$span(t2);
  103177. args._argument_list$_wereKeywordsAccessed = true;
  103178. t8 = args._argument_list$_keywords;
  103179. if (t8.get$isEmpty(t8))
  103180. t2 = null;
  103181. else {
  103182. t9 = type$.Value_2;
  103183. t10 = A.LinkedHashMap_LinkedHashMap$_empty(t9, t9);
  103184. for (args._argument_list$_wereKeywordsAccessed = true, t8 = A.MapExtensions_get_pairs0(t8, t4, t9), t8 = t8.get$iterator(t8); t8.moveNext$0();) {
  103185. t11 = t8.get$current(t8);
  103186. t10.$indexSet(0, new A.SassString0(t11._0, false), t11._1);
  103187. }
  103188. t2 = new A.ValueExpression0(new A.SassMap0(A.ConstantMap_ConstantMap$from(t10, t9, t9)), t2.get$span(t2));
  103189. }
  103190. invocation = new A.ArgumentList0(A.List_List$unmodifiable(t3, t5), A.ConstantMap_ConstantMap$from(A.LinkedHashMap_LinkedHashMap$_empty(t4, t5), t4, t5), new A.ValueExpression0(args, t7), t2, t6);
  103191. if ($function instanceof A.SassString0) {
  103192. A.warnForDeprecation0(string$.Passina + $function.toString$0(0) + "))", B.Deprecation_aM0);
  103193. callableNode = t1._evaluate0$_callableNode;
  103194. t2 = $function._string0$_text;
  103195. t3 = callableNode.get$span(callableNode);
  103196. return t1.visitFunctionExpression$1(0, new A.FunctionExpression0(null, A.stringReplaceAllUnchecked(t2, "_", "-"), t2, invocation, t3));
  103197. }
  103198. callable = $function.assertFunction$1("function").assertCompileContext$1(t1._evaluate0$_compileContext).callable;
  103199. if (type$.Callable_2._is(callable)) {
  103200. t2 = t1._evaluate0$_callableNode;
  103201. t2.toString;
  103202. return t1._evaluate0$_runFunctionCallable$3(invocation, callable, t2);
  103203. } else
  103204. throw A.wrapException(A.SassScriptException$0("The function " + callable.get$name(callable) + string$.x20is_as, null));
  103205. },
  103206. $signature: 3
  103207. };
  103208. A._EvaluateVisitor_closure36.prototype = {
  103209. call$1($arguments) {
  103210. var withMap, t2, values, configuration, t3,
  103211. t1 = J.getInterceptor$asx($arguments),
  103212. url = A.Uri_parse(t1.$index($arguments, 0).assertString$1("url")._string0$_text);
  103213. t1 = t1.$index($arguments, 1).get$realNull();
  103214. withMap = t1 == null ? null : t1.assertMap$1("with")._map0$_contents;
  103215. t1 = this.$this;
  103216. t2 = t1._evaluate0$_callableNode;
  103217. t2.toString;
  103218. if (withMap != null) {
  103219. values = A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.ConfiguredValue_2);
  103220. withMap.forEach$1(0, new A._EvaluateVisitor__closure7(values, t2.get$span(t2), t2));
  103221. configuration = new A.ExplicitConfiguration0(t2, values, null);
  103222. } else
  103223. configuration = B.Configuration_Map_empty_null0;
  103224. t3 = t2.get$span(t2);
  103225. t1._evaluate0$_loadModule$7$baseUrl$configuration$namesInErrors(url, "load-css()", t2, new A._EvaluateVisitor__closure8(t1), t3.get$sourceUrl(t3), configuration, true);
  103226. t1._evaluate0$_assertConfigurationIsEmpty$2$nameInError(configuration, true);
  103227. },
  103228. $signature: 239
  103229. };
  103230. A._EvaluateVisitor__closure7.prototype = {
  103231. call$2(variable, value) {
  103232. var t1 = variable.assertString$1("with key"),
  103233. $name = A.stringReplaceAllUnchecked(t1._string0$_text, "_", "-");
  103234. t1 = this.values;
  103235. if (t1.containsKey$1($name))
  103236. throw A.wrapException("The variable $" + $name + " was configured twice.");
  103237. t1.$indexSet(0, $name, new A.ConfiguredValue0(value, this.span, this.callableNode));
  103238. },
  103239. $signature: 98
  103240. };
  103241. A._EvaluateVisitor__closure8.prototype = {
  103242. call$2(module, _) {
  103243. var t1 = this.$this;
  103244. return t1._evaluate0$_combineCss$2$clone(module, true).accept$1(t1);
  103245. },
  103246. $signature: 102
  103247. };
  103248. A._EvaluateVisitor_closure37.prototype = {
  103249. call$1($arguments) {
  103250. var callableNode, t2, t3, t4, t5, callable, $content,
  103251. t1 = J.getInterceptor$asx($arguments),
  103252. mixin = t1.$index($arguments, 0),
  103253. args = type$.SassArgumentList_2._as(t1.$index($arguments, 1));
  103254. t1 = this.$this;
  103255. callableNode = t1._evaluate0$_callableNode;
  103256. t2 = callableNode.get$span(callableNode);
  103257. t3 = callableNode.get$span(callableNode);
  103258. t4 = type$.Expression_2;
  103259. t5 = A.List_List$unmodifiable(B.List_empty23, t4);
  103260. t4 = A.ConstantMap_ConstantMap$from(B.Map_empty14, type$.String, t4);
  103261. callable = mixin.assertMixin$1("mixin").assertCompileContext$1(t1._evaluate0$_compileContext).callable;
  103262. $content = t1._evaluate0$_environment._environment0$_content;
  103263. if (type$.Callable_2._is(callable))
  103264. t1._evaluate0$_applyMixin$5(callable, $content, new A.ArgumentList0(t5, t4, new A.ValueExpression0(args, t3), null, t2), callableNode, callableNode);
  103265. else
  103266. throw A.wrapException(A.SassScriptException$0("The mixin " + callable.get$name(callable) + string$.x20is_as, null));
  103267. },
  103268. $signature: 239
  103269. };
  103270. A._EvaluateVisitor_run_closure1.prototype = {
  103271. call$0() {
  103272. var module, t2, _this = this,
  103273. t1 = _this.node,
  103274. _0_0 = t1.span.file.url,
  103275. url = null;
  103276. if (_0_0 != null) {
  103277. url = _0_0;
  103278. t2 = _this.$this;
  103279. t2._evaluate0$_activeModules.$indexSet(0, url, null);
  103280. if (!(t2._nodeImporter != null && J.toString$0$(url) === "stdin"))
  103281. t2._evaluate0$_loadedUrls.add$1(0, url);
  103282. }
  103283. t2 = _this.$this;
  103284. module = t2._evaluate0$_addExceptionTrace$1(new A._EvaluateVisitor_run__closure1(t2, _this.importer, t1));
  103285. return new A._Record_2_loadedUrls_stylesheet(t2._evaluate0$_loadedUrls, t2._evaluate0$_combineCss$1(module));
  103286. },
  103287. $signature: 453
  103288. };
  103289. A._EvaluateVisitor_run__closure1.prototype = {
  103290. call$0() {
  103291. return this.$this._evaluate0$_execute$2(this.importer, this.node);
  103292. },
  103293. $signature: 454
  103294. };
  103295. A._EvaluateVisitor__loadModule_closure3.prototype = {
  103296. call$0() {
  103297. return this.callback.call$2(this._box_0.builtInModule, false);
  103298. },
  103299. $signature: 0
  103300. };
  103301. A._EvaluateVisitor__loadModule_closure4.prototype = {
  103302. call$0() {
  103303. var canonicalUrl, oldInDependency, t4, message, _this = this, t1 = {}, stylesheet = null, importer = null,
  103304. t2 = _this.$this,
  103305. t3 = _this.nodeWithSpan,
  103306. _1_0 = t2._evaluate0$_loadStylesheet$3$baseUrl(_this.url.toString$0(0), t3.get$span(t3), _this.baseUrl);
  103307. stylesheet = _1_0._0;
  103308. importer = _1_0._1;
  103309. canonicalUrl = stylesheet.span.file.url;
  103310. if (canonicalUrl != null) {
  103311. t4 = t2._evaluate0$_activeModules;
  103312. if (t4.containsKey$1(canonicalUrl)) {
  103313. message = _this.namesInErrors ? "Module loop: " + $.$get$context().prettyUri$1(canonicalUrl) + " is already being loaded." : string$.Modulel;
  103314. t1 = A.NullableExtension_andThen0(t4.$index(0, canonicalUrl), new A._EvaluateVisitor__loadModule__closure3(t2, message));
  103315. throw A.wrapException(t1 == null ? t2._evaluate0$_exception$1(message) : t1);
  103316. } else
  103317. t4.$indexSet(0, canonicalUrl, t3);
  103318. }
  103319. t4 = t2._evaluate0$_modules.containsKey$1(canonicalUrl);
  103320. oldInDependency = t2._evaluate0$_inDependency;
  103321. t2._evaluate0$_inDependency = _1_0._2;
  103322. t1.module = null;
  103323. try {
  103324. t1.module = t2._evaluate0$_execute$5$configuration$namesInErrors$nodeWithSpan(importer, stylesheet, _this.configuration, _this.namesInErrors, t3);
  103325. } finally {
  103326. t2._evaluate0$_activeModules.remove$1(0, canonicalUrl);
  103327. t2._evaluate0$_inDependency = oldInDependency;
  103328. }
  103329. t2._evaluate0$_addExceptionSpan$3$addStackFrame(t3, new A._EvaluateVisitor__loadModule__closure4(t1, _this.callback, !t4), false);
  103330. },
  103331. $signature: 1
  103332. };
  103333. A._EvaluateVisitor__loadModule__closure3.prototype = {
  103334. call$1(previousLoad) {
  103335. return this.$this._evaluate0$_multiSpanException$3(this.message, "new load", A.LinkedHashMap_LinkedHashMap$_literal([previousLoad.get$span(previousLoad), "original load"], type$.FileSpan, type$.String));
  103336. },
  103337. $signature: 99
  103338. };
  103339. A._EvaluateVisitor__loadModule__closure4.prototype = {
  103340. call$0() {
  103341. return this.callback.call$2(this._box_1.module, this.firstLoad);
  103342. },
  103343. $signature: 0
  103344. };
  103345. A._EvaluateVisitor__execute_closure1.prototype = {
  103346. call$0() {
  103347. var t3, t4, t5, t6, _this = this,
  103348. t1 = _this.$this,
  103349. oldImporter = t1._evaluate0$_importer,
  103350. oldStylesheet = t1._evaluate0$__stylesheet,
  103351. oldRoot = t1._evaluate0$__root,
  103352. oldPreModuleComments = t1._evaluate0$_preModuleComments,
  103353. oldParent = t1._evaluate0$__parent,
  103354. oldEndOfImports = t1._evaluate0$__endOfImports,
  103355. oldOutOfOrderImports = t1._evaluate0$_outOfOrderImports,
  103356. oldExtensionStore = t1._evaluate0$__extensionStore,
  103357. t2 = t1._evaluate0$_atRootExcludingStyleRule,
  103358. oldStyleRule = t2 ? null : t1._evaluate0$_styleRuleIgnoringAtRoot,
  103359. oldMediaQueries = t1._evaluate0$_mediaQueries,
  103360. oldDeclarationName = t1._evaluate0$_declarationName,
  103361. oldInUnknownAtRule = t1._evaluate0$_inUnknownAtRule,
  103362. oldInKeyframes = t1._evaluate0$_inKeyframes,
  103363. oldConfiguration = t1._evaluate0$_configuration;
  103364. t1._evaluate0$_importer = _this.importer;
  103365. t3 = t1._evaluate0$__stylesheet = _this.stylesheet;
  103366. t4 = t3.span;
  103367. t5 = t1._evaluate0$__parent = t1._evaluate0$__root = A.ModifiableCssStylesheet$0(t4);
  103368. t1._evaluate0$__endOfImports = 0;
  103369. t1._evaluate0$_outOfOrderImports = null;
  103370. t1._evaluate0$__extensionStore = _this.extensionStore;
  103371. t1._evaluate0$_declarationName = t1._evaluate0$_mediaQueries = t1._evaluate0$_styleRuleIgnoringAtRoot = null;
  103372. t1._evaluate0$_inKeyframes = t1._evaluate0$_atRootExcludingStyleRule = t1._evaluate0$_inUnknownAtRule = false;
  103373. t6 = _this.configuration;
  103374. if (t6 != null)
  103375. t1._evaluate0$_configuration = t6;
  103376. t1.visitStylesheet$1(0, t3);
  103377. t3 = t1._evaluate0$_outOfOrderImports == null ? t5 : new A.CssStylesheet0(new A.UnmodifiableListView(t1._evaluate0$_addOutOfOrderImports$0(), type$.UnmodifiableListView_CssNode_2), t4);
  103378. _this.css.__late_helper$_value = t3;
  103379. _this.preModuleComments.__late_helper$_value = t1._evaluate0$_preModuleComments;
  103380. t1._evaluate0$_importer = oldImporter;
  103381. t1._evaluate0$__stylesheet = oldStylesheet;
  103382. t1._evaluate0$__root = oldRoot;
  103383. t1._evaluate0$_preModuleComments = oldPreModuleComments;
  103384. t1._evaluate0$__parent = oldParent;
  103385. t1._evaluate0$__endOfImports = oldEndOfImports;
  103386. t1._evaluate0$_outOfOrderImports = oldOutOfOrderImports;
  103387. t1._evaluate0$__extensionStore = oldExtensionStore;
  103388. t1._evaluate0$_styleRuleIgnoringAtRoot = oldStyleRule;
  103389. t1._evaluate0$_mediaQueries = oldMediaQueries;
  103390. t1._evaluate0$_declarationName = oldDeclarationName;
  103391. t1._evaluate0$_inUnknownAtRule = oldInUnknownAtRule;
  103392. t1._evaluate0$_atRootExcludingStyleRule = t2;
  103393. t1._evaluate0$_inKeyframes = oldInKeyframes;
  103394. t1._evaluate0$_configuration = oldConfiguration;
  103395. },
  103396. $signature: 1
  103397. };
  103398. A._EvaluateVisitor__combineCss_closure3.prototype = {
  103399. call$1(module) {
  103400. return module.get$transitivelyContainsCss();
  103401. },
  103402. $signature: 127
  103403. };
  103404. A._EvaluateVisitor__combineCss_closure4.prototype = {
  103405. call$1(target) {
  103406. return !this.selectors.contains$1(0, target);
  103407. },
  103408. $signature: 14
  103409. };
  103410. A._EvaluateVisitor__combineCss_visitModule1.prototype = {
  103411. call$1(module) {
  103412. var t1, t2, t3, t4, _i, upstream, _1_0, statements, index, _this = this;
  103413. if (!_this.seen.add$1(0, module))
  103414. return;
  103415. if (_this.clone)
  103416. module = module.cloneCss$0();
  103417. for (t1 = module.get$upstream(), t2 = t1.length, t3 = _this.css, t4 = _this.imports, _i = 0; _i < t1.length; t1.length === t2 || (0, A.throwConcurrentModificationError)(t1), ++_i) {
  103418. upstream = t1[_i];
  103419. if (upstream.get$transitivelyContainsCss()) {
  103420. _1_0 = module.get$preModuleComments().$index(0, upstream);
  103421. if (_1_0 != null)
  103422. B.JSArray_methods.addAll$1(t3.length === 0 ? t4 : t3, _1_0);
  103423. _this.call$1(upstream);
  103424. }
  103425. }
  103426. _this.sorted.addFirst$1(module);
  103427. t1 = module.get$css(module);
  103428. statements = t1.get$children(t1);
  103429. index = _this.$this._evaluate0$_indexAfterImports$1(statements);
  103430. t1 = J.getInterceptor$ax(statements);
  103431. B.JSArray_methods.addAll$1(t4, t1.getRange$2(statements, 0, index));
  103432. B.JSArray_methods.addAll$1(t3, t1.getRange$2(statements, index, t1.get$length(statements)));
  103433. },
  103434. $signature: 455
  103435. };
  103436. A._EvaluateVisitor__extendModules_closure3.prototype = {
  103437. call$1(target) {
  103438. return !this.originalSelectors.contains$1(0, target);
  103439. },
  103440. $signature: 14
  103441. };
  103442. A._EvaluateVisitor__extendModules_closure4.prototype = {
  103443. call$0() {
  103444. return A._setArrayType([], type$.JSArray_ExtensionStore_2);
  103445. },
  103446. $signature: 209
  103447. };
  103448. A._EvaluateVisitor_visitAtRootRule_closure3.prototype = {
  103449. call$0() {
  103450. var t1, t2, t3, _i;
  103451. for (t1 = this.node.children, t2 = t1.length, t3 = this.$this, _i = 0; _i < t2; ++_i)
  103452. t1[_i].accept$1(t3);
  103453. },
  103454. $signature: 1
  103455. };
  103456. A._EvaluateVisitor_visitAtRootRule_closure4.prototype = {
  103457. call$0() {
  103458. var t1, t2, t3, _i;
  103459. for (t1 = this.node.children, t2 = t1.length, t3 = this.$this, _i = 0; _i < t2; ++_i)
  103460. t1[_i].accept$1(t3);
  103461. },
  103462. $signature: 0
  103463. };
  103464. A._EvaluateVisitor__scopeForAtRoot_closure11.prototype = {
  103465. call$1(callback) {
  103466. var t1 = this.$this,
  103467. oldParent = t1._evaluate0$_assertInModule$2(t1._evaluate0$__parent, "__parent");
  103468. t1._evaluate0$__parent = this.newParent;
  103469. t1._evaluate0$_environment.scope$1$2$when(callback, this.node.hasDeclarations, type$.void);
  103470. t1._evaluate0$__parent = oldParent;
  103471. },
  103472. $signature: 35
  103473. };
  103474. A._EvaluateVisitor__scopeForAtRoot_closure12.prototype = {
  103475. call$1(callback) {
  103476. var t1 = this.$this,
  103477. oldAtRootExcludingStyleRule = t1._evaluate0$_atRootExcludingStyleRule;
  103478. t1._evaluate0$_atRootExcludingStyleRule = true;
  103479. this.innerScope.call$1(callback);
  103480. t1._evaluate0$_atRootExcludingStyleRule = oldAtRootExcludingStyleRule;
  103481. },
  103482. $signature: 35
  103483. };
  103484. A._EvaluateVisitor__scopeForAtRoot_closure13.prototype = {
  103485. call$1(callback) {
  103486. return this.$this._evaluate0$_withMediaQueries$3(null, null, new A._EvaluateVisitor__scopeForAtRoot__closure1(this.innerScope, callback));
  103487. },
  103488. $signature: 35
  103489. };
  103490. A._EvaluateVisitor__scopeForAtRoot__closure1.prototype = {
  103491. call$0() {
  103492. return this.innerScope.call$1(this.callback);
  103493. },
  103494. $signature: 1
  103495. };
  103496. A._EvaluateVisitor__scopeForAtRoot_closure14.prototype = {
  103497. call$1(callback) {
  103498. var t1 = this.$this,
  103499. wasInKeyframes = t1._evaluate0$_inKeyframes;
  103500. t1._evaluate0$_inKeyframes = false;
  103501. this.innerScope.call$1(callback);
  103502. t1._evaluate0$_inKeyframes = wasInKeyframes;
  103503. },
  103504. $signature: 35
  103505. };
  103506. A._EvaluateVisitor__scopeForAtRoot_closure15.prototype = {
  103507. call$1($parent) {
  103508. return $parent instanceof A.ModifiableCssAtRule0;
  103509. },
  103510. $signature: 210
  103511. };
  103512. A._EvaluateVisitor__scopeForAtRoot_closure16.prototype = {
  103513. call$1(callback) {
  103514. var t1 = this.$this,
  103515. wasInUnknownAtRule = t1._evaluate0$_inUnknownAtRule;
  103516. t1._evaluate0$_inUnknownAtRule = false;
  103517. this.innerScope.call$1(callback);
  103518. t1._evaluate0$_inUnknownAtRule = wasInUnknownAtRule;
  103519. },
  103520. $signature: 35
  103521. };
  103522. A._EvaluateVisitor_visitContentRule_closure1.prototype = {
  103523. call$0() {
  103524. var t1, t2, t3, _i;
  103525. for (t1 = this.content.declaration.children, t2 = t1.length, t3 = this.$this, _i = 0; _i < t2; ++_i)
  103526. t1[_i].accept$1(t3);
  103527. return null;
  103528. },
  103529. $signature: 1
  103530. };
  103531. A._EvaluateVisitor_visitDeclaration_closure1.prototype = {
  103532. call$0() {
  103533. var t1, t2, t3, _i;
  103534. for (t1 = this._box_0.children, t2 = t1.length, t3 = this.$this, _i = 0; _i < t2; ++_i)
  103535. t1[_i].accept$1(t3);
  103536. },
  103537. $signature: 1
  103538. };
  103539. A._EvaluateVisitor_visitEachRule_closure5.prototype = {
  103540. call$1(value) {
  103541. var t1 = this.$this,
  103542. t2 = this.nodeWithSpan;
  103543. return t1._evaluate0$_environment.setLocalVariable$3(this._box_0.variable, t1._evaluate0$_withoutSlash$2(value, t2), t2);
  103544. },
  103545. $signature: 66
  103546. };
  103547. A._EvaluateVisitor_visitEachRule_closure6.prototype = {
  103548. call$1(value) {
  103549. return this.$this._evaluate0$_setMultipleVariables$3(this._box_1.variables, value, this.nodeWithSpan);
  103550. },
  103551. $signature: 66
  103552. };
  103553. A._EvaluateVisitor_visitEachRule_closure7.prototype = {
  103554. call$0() {
  103555. var _this = this,
  103556. t1 = _this.$this;
  103557. return t1._evaluate0$_handleReturn$2(_this.list.get$asList(), new A._EvaluateVisitor_visitEachRule__closure1(t1, _this.setVariables, _this.node));
  103558. },
  103559. $signature: 44
  103560. };
  103561. A._EvaluateVisitor_visitEachRule__closure1.prototype = {
  103562. call$1(element) {
  103563. var t1;
  103564. this.setVariables.call$1(element);
  103565. t1 = this.$this;
  103566. return t1._evaluate0$_handleReturn$2(this.node.children, new A._EvaluateVisitor_visitEachRule___closure1(t1));
  103567. },
  103568. $signature: 240
  103569. };
  103570. A._EvaluateVisitor_visitEachRule___closure1.prototype = {
  103571. call$1(child) {
  103572. return child.accept$1(this.$this);
  103573. },
  103574. $signature: 94
  103575. };
  103576. A._EvaluateVisitor_visitAtRule_closure5.prototype = {
  103577. call$1(value) {
  103578. return this.$this._evaluate0$_interpolationToValue$3$trim$warnForColor(value, true, true);
  103579. },
  103580. $signature: 458
  103581. };
  103582. A._EvaluateVisitor_visitAtRule_closure6.prototype = {
  103583. call$0() {
  103584. var t2, t3, _i, _this = this,
  103585. t1 = _this.$this,
  103586. styleRule = t1._evaluate0$_atRootExcludingStyleRule ? null : t1._evaluate0$_styleRuleIgnoringAtRoot;
  103587. if (styleRule == null || t1._evaluate0$_inKeyframes || J.$eq$(_this.name.value, "font-face"))
  103588. for (t2 = _this.children, t3 = t2.length, _i = 0; _i < t3; ++_i)
  103589. t2[_i].accept$1(t1);
  103590. else
  103591. t1._evaluate0$_withParent$2$3$scopeWhen(A.ModifiableCssStyleRule$0(styleRule._style_rule0$_selector, styleRule.span, false, styleRule.originalSelector), new A._EvaluateVisitor_visitAtRule__closure1(t1, _this.children), false, type$.ModifiableCssStyleRule_2, type$.Null);
  103592. },
  103593. $signature: 1
  103594. };
  103595. A._EvaluateVisitor_visitAtRule__closure1.prototype = {
  103596. call$0() {
  103597. var t1, t2, t3, _i;
  103598. for (t1 = this.children, t2 = t1.length, t3 = this.$this, _i = 0; _i < t2; ++_i)
  103599. t1[_i].accept$1(t3);
  103600. },
  103601. $signature: 1
  103602. };
  103603. A._EvaluateVisitor_visitAtRule_closure7.prototype = {
  103604. call$1(node) {
  103605. return node instanceof A.ModifiableCssStyleRule0;
  103606. },
  103607. $signature: 7
  103608. };
  103609. A._EvaluateVisitor_visitForRule_closure9.prototype = {
  103610. call$0() {
  103611. return this.node.from.accept$1(this.$this).assertNumber$0();
  103612. },
  103613. $signature: 241
  103614. };
  103615. A._EvaluateVisitor_visitForRule_closure10.prototype = {
  103616. call$0() {
  103617. return this.node.to.accept$1(this.$this).assertNumber$0();
  103618. },
  103619. $signature: 241
  103620. };
  103621. A._EvaluateVisitor_visitForRule_closure11.prototype = {
  103622. call$0() {
  103623. return this.fromNumber.assertInt$0();
  103624. },
  103625. $signature: 10
  103626. };
  103627. A._EvaluateVisitor_visitForRule_closure12.prototype = {
  103628. call$0() {
  103629. var t1 = this.fromNumber;
  103630. return this.toNumber.coerce$2(t1.get$numeratorUnits(t1), t1.get$denominatorUnits(t1)).assertInt$0();
  103631. },
  103632. $signature: 10
  103633. };
  103634. A._EvaluateVisitor_visitForRule_closure13.prototype = {
  103635. call$0() {
  103636. var i, t3, t4, t5, t6, t7, t8, _0_0, _this = this,
  103637. t1 = _this.$this,
  103638. t2 = _this.node,
  103639. nodeWithSpan = t1._evaluate0$_expressionNode$1(t2.from);
  103640. 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) {
  103641. t7 = t1._evaluate0$_environment;
  103642. t8 = t6.get$numeratorUnits(t6);
  103643. t7.setLocalVariable$3(t5, A.SassNumber_SassNumber$withUnits0(i, t6.get$denominatorUnits(t6), t8), nodeWithSpan);
  103644. _0_0 = t1._evaluate0$_handleReturn$2(t2, new A._EvaluateVisitor_visitForRule__closure1(t1));
  103645. if (_0_0 != null)
  103646. return _0_0;
  103647. }
  103648. return null;
  103649. },
  103650. $signature: 44
  103651. };
  103652. A._EvaluateVisitor_visitForRule__closure1.prototype = {
  103653. call$1(child) {
  103654. return child.accept$1(this.$this);
  103655. },
  103656. $signature: 94
  103657. };
  103658. A._EvaluateVisitor_visitForwardRule_closure3.prototype = {
  103659. call$2(module, firstLoad) {
  103660. if (firstLoad)
  103661. this.$this._evaluate0$_registerCommentsForModule$1(module);
  103662. this.$this._evaluate0$_environment.forwardModule$2(module, this.node);
  103663. },
  103664. $signature: 102
  103665. };
  103666. A._EvaluateVisitor_visitForwardRule_closure4.prototype = {
  103667. call$2(module, firstLoad) {
  103668. if (firstLoad)
  103669. this.$this._evaluate0$_registerCommentsForModule$1(module);
  103670. this.$this._evaluate0$_environment.forwardModule$2(module, this.node);
  103671. },
  103672. $signature: 102
  103673. };
  103674. A._EvaluateVisitor__registerCommentsForModule_closure1.prototype = {
  103675. call$0() {
  103676. return A._setArrayType([], type$.JSArray_CssComment_2);
  103677. },
  103678. $signature: 214
  103679. };
  103680. A._EvaluateVisitor_visitIfRule_closure1.prototype = {
  103681. call$1(clause) {
  103682. var t1 = this.$this;
  103683. return t1._evaluate0$_environment.scope$1$3$semiGlobal$when(new A._EvaluateVisitor_visitIfRule__closure1(t1, clause), true, clause.hasDeclarations, type$.nullable_Value_2);
  103684. },
  103685. $signature: 460
  103686. };
  103687. A._EvaluateVisitor_visitIfRule__closure1.prototype = {
  103688. call$0() {
  103689. var t1 = this.$this;
  103690. return t1._evaluate0$_handleReturn$2(this.clause.children, new A._EvaluateVisitor_visitIfRule___closure1(t1));
  103691. },
  103692. $signature: 44
  103693. };
  103694. A._EvaluateVisitor_visitIfRule___closure1.prototype = {
  103695. call$1(child) {
  103696. return child.accept$1(this.$this);
  103697. },
  103698. $signature: 94
  103699. };
  103700. A._EvaluateVisitor__visitDynamicImport_closure1.prototype = {
  103701. call$0() {
  103702. var t1, t2, _0_0, stylesheet, importer, isDependency, url, t3, oldImporter, oldStylesheet, oldInDependency, loadsUserDefinedModules, children, t4, t5, t6, t7, t8, t9, t10, environment, module, visitor, _box_0 = {};
  103703. _box_0.isDependency = _box_0.importer = _box_0.stylesheet = null;
  103704. t1 = this.$this;
  103705. t2 = this.$import;
  103706. _0_0 = t1._evaluate0$_loadStylesheet$3$forImport(t2.urlString, t2.span, true);
  103707. stylesheet = _box_0.stylesheet = _0_0._0;
  103708. importer = _0_0._1;
  103709. _box_0.importer = importer;
  103710. isDependency = _0_0._2;
  103711. _box_0.isDependency = isDependency;
  103712. url = stylesheet.span.file.url;
  103713. if (url != null) {
  103714. t3 = t1._evaluate0$_activeModules;
  103715. if (t3.containsKey$1(url)) {
  103716. t2 = A.NullableExtension_andThen0(t3.$index(0, url), new A._EvaluateVisitor__visitDynamicImport__closure7(t1));
  103717. throw A.wrapException(t2 == null ? t1._evaluate0$_exception$1("This file is already being loaded.") : t2);
  103718. }
  103719. t3.$indexSet(0, url, t2);
  103720. }
  103721. t2 = stylesheet._stylesheet1$_uses;
  103722. t3 = type$.UnmodifiableListView_UseRule_2;
  103723. if (new A.UnmodifiableListView(t2, t3).get$length(0) === 0 && new A.UnmodifiableListView(stylesheet._stylesheet1$_forwards, type$.UnmodifiableListView_ForwardRule_2).get$length(0) === 0) {
  103724. oldImporter = t1._evaluate0$_importer;
  103725. oldStylesheet = t1._evaluate0$_assertInModule$2(t1._evaluate0$__stylesheet, "_stylesheet");
  103726. oldInDependency = t1._evaluate0$_inDependency;
  103727. t1._evaluate0$_importer = importer;
  103728. t1._evaluate0$__stylesheet = stylesheet;
  103729. t1._evaluate0$_inDependency = isDependency;
  103730. t1.visitStylesheet$1(0, stylesheet);
  103731. t1._evaluate0$_importer = oldImporter;
  103732. t1._evaluate0$__stylesheet = oldStylesheet;
  103733. t1._evaluate0$_inDependency = oldInDependency;
  103734. t1._evaluate0$_activeModules.remove$1(0, url);
  103735. return;
  103736. }
  103737. t2 = new A.UnmodifiableListView(t2, t3);
  103738. if (!t2.any$1(t2, new A._EvaluateVisitor__visitDynamicImport__closure8())) {
  103739. t2 = new A.UnmodifiableListView(stylesheet._stylesheet1$_forwards, type$.UnmodifiableListView_ForwardRule_2);
  103740. loadsUserDefinedModules = t2.any$1(t2, new A._EvaluateVisitor__visitDynamicImport__closure9());
  103741. } else
  103742. loadsUserDefinedModules = true;
  103743. children = A._Cell$();
  103744. t2 = t1._evaluate0$_environment;
  103745. t3 = type$.String;
  103746. t4 = type$.Module_Callable_2;
  103747. t5 = type$.AstNode_2;
  103748. t6 = A._setArrayType([], type$.JSArray_Module_Callable_2);
  103749. t7 = t2._environment0$_variables;
  103750. t7 = A._setArrayType(t7.slice(0), A._arrayInstanceType(t7));
  103751. t8 = t2._environment0$_variableNodes;
  103752. t8 = A._setArrayType(t8.slice(0), A._arrayInstanceType(t8));
  103753. t9 = t2._environment0$_functions;
  103754. t9 = A._setArrayType(t9.slice(0), A._arrayInstanceType(t9));
  103755. t10 = t2._environment0$_mixins;
  103756. t10 = A._setArrayType(t10.slice(0), A._arrayInstanceType(t10));
  103757. 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);
  103758. t1._evaluate0$_withEnvironment$2(environment, new A._EvaluateVisitor__visitDynamicImport__closure10(_box_0, t1, loadsUserDefinedModules, environment, children));
  103759. module = environment.toDummyModule$0();
  103760. t1._evaluate0$_environment.importForwards$1(module);
  103761. if (loadsUserDefinedModules) {
  103762. if (module.transitivelyContainsCss)
  103763. t1._evaluate0$_combineCss$2$clone(module, module.transitivelyContainsExtensions).accept$1(t1);
  103764. visitor = new A._ImportedCssVisitor1(t1);
  103765. for (t2 = J.get$iterator$ax(children._readLocal$0()); t2.moveNext$0();)
  103766. t2.get$current(t2).accept$1(visitor);
  103767. }
  103768. t1._evaluate0$_activeModules.remove$1(0, url);
  103769. },
  103770. $signature: 0
  103771. };
  103772. A._EvaluateVisitor__visitDynamicImport__closure7.prototype = {
  103773. call$1(previousLoad) {
  103774. 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));
  103775. },
  103776. $signature: 99
  103777. };
  103778. A._EvaluateVisitor__visitDynamicImport__closure8.prototype = {
  103779. call$1(rule) {
  103780. return rule.url.get$scheme() !== "sass";
  103781. },
  103782. $signature: 215
  103783. };
  103784. A._EvaluateVisitor__visitDynamicImport__closure9.prototype = {
  103785. call$1(rule) {
  103786. return rule.url.get$scheme() !== "sass";
  103787. },
  103788. $signature: 216
  103789. };
  103790. A._EvaluateVisitor__visitDynamicImport__closure10.prototype = {
  103791. call$0() {
  103792. var t3, t4, _this = this,
  103793. t1 = _this.$this,
  103794. oldImporter = t1._evaluate0$_importer,
  103795. oldStylesheet = t1._evaluate0$_assertInModule$2(t1._evaluate0$__stylesheet, "_stylesheet"),
  103796. oldRoot = t1._evaluate0$_assertInModule$2(t1._evaluate0$__root, "_root"),
  103797. oldParent = t1._evaluate0$_assertInModule$2(t1._evaluate0$__parent, "__parent"),
  103798. oldEndOfImports = t1._evaluate0$_assertInModule$2(t1._evaluate0$__endOfImports, "_endOfImports"),
  103799. oldOutOfOrderImports = t1._evaluate0$_outOfOrderImports,
  103800. oldConfiguration = t1._evaluate0$_configuration,
  103801. oldInDependency = t1._evaluate0$_inDependency,
  103802. t2 = _this._box_0;
  103803. t1._evaluate0$_importer = t2.importer;
  103804. t3 = t2.stylesheet;
  103805. t1._evaluate0$__stylesheet = t3;
  103806. t4 = _this.loadsUserDefinedModules;
  103807. if (t4) {
  103808. t3 = A.ModifiableCssStylesheet$0(t3.span);
  103809. t1._evaluate0$__root = t3;
  103810. t1._evaluate0$__parent = t1._evaluate0$_assertInModule$2(t3, "_root");
  103811. t1._evaluate0$__endOfImports = 0;
  103812. t1._evaluate0$_outOfOrderImports = null;
  103813. }
  103814. t1._evaluate0$_inDependency = t2.isDependency;
  103815. t3 = new A.UnmodifiableListView(t2.stylesheet._stylesheet1$_forwards, type$.UnmodifiableListView_ForwardRule_2);
  103816. if (!t3.get$isEmpty(t3))
  103817. t1._evaluate0$_configuration = _this.environment.toImplicitConfiguration$0();
  103818. t1.visitStylesheet$1(0, t2.stylesheet);
  103819. t2 = t4 ? t1._evaluate0$_addOutOfOrderImports$0() : A._setArrayType([], type$.JSArray_ModifiableCssNode_2);
  103820. _this.children.__late_helper$_value = t2;
  103821. t1._evaluate0$_importer = oldImporter;
  103822. t1._evaluate0$__stylesheet = oldStylesheet;
  103823. if (t4) {
  103824. t1._evaluate0$__root = oldRoot;
  103825. t1._evaluate0$__parent = oldParent;
  103826. t1._evaluate0$__endOfImports = oldEndOfImports;
  103827. t1._evaluate0$_outOfOrderImports = oldOutOfOrderImports;
  103828. }
  103829. t1._evaluate0$_configuration = oldConfiguration;
  103830. t1._evaluate0$_inDependency = oldInDependency;
  103831. },
  103832. $signature: 1
  103833. };
  103834. A._EvaluateVisitor__applyMixin_closure3.prototype = {
  103835. call$0() {
  103836. var _this = this,
  103837. t1 = _this.$this;
  103838. t1._evaluate0$_environment.asMixin$1(new A._EvaluateVisitor__applyMixin__closure4(t1, _this.$arguments, _this.mixin, _this.nodeWithSpanWithoutContent));
  103839. },
  103840. $signature: 0
  103841. };
  103842. A._EvaluateVisitor__applyMixin__closure4.prototype = {
  103843. call$0() {
  103844. var _this = this;
  103845. _this.$this._evaluate0$_runBuiltInCallable$3(_this.$arguments, _this.mixin, _this.nodeWithSpanWithoutContent);
  103846. },
  103847. $signature: 0
  103848. };
  103849. A._EvaluateVisitor__applyMixin_closure4.prototype = {
  103850. call$0() {
  103851. var _this = this,
  103852. t1 = _this.$this;
  103853. t1._evaluate0$_environment.withContent$2(_this.contentCallable, new A._EvaluateVisitor__applyMixin__closure3(t1, _this.mixin, _this.nodeWithSpanWithoutContent));
  103854. },
  103855. $signature: 1
  103856. };
  103857. A._EvaluateVisitor__applyMixin__closure3.prototype = {
  103858. call$0() {
  103859. var t1 = this.$this;
  103860. t1._evaluate0$_environment.asMixin$1(new A._EvaluateVisitor__applyMixin___closure1(t1, this.mixin, this.nodeWithSpanWithoutContent));
  103861. },
  103862. $signature: 0
  103863. };
  103864. A._EvaluateVisitor__applyMixin___closure1.prototype = {
  103865. call$0() {
  103866. var t1, t2, t3, t4, _i;
  103867. for (t1 = this.mixin.declaration.children, t2 = t1.length, t3 = this.$this, t4 = this.nodeWithSpanWithoutContent, _i = 0; _i < t2; ++_i)
  103868. t3._evaluate0$_addErrorSpan$2(t4, new A._EvaluateVisitor__applyMixin____closure1(t3, t1[_i]));
  103869. },
  103870. $signature: 0
  103871. };
  103872. A._EvaluateVisitor__applyMixin____closure1.prototype = {
  103873. call$0() {
  103874. return this.statement.accept$1(this.$this);
  103875. },
  103876. $signature: 44
  103877. };
  103878. A._EvaluateVisitor_visitIncludeRule_closure5.prototype = {
  103879. call$0() {
  103880. var t1 = this.node;
  103881. return this.$this._evaluate0$_environment.getMixin$2$namespace(t1.name, t1.namespace);
  103882. },
  103883. $signature: 103
  103884. };
  103885. A._EvaluateVisitor_visitIncludeRule_closure6.prototype = {
  103886. call$1($content) {
  103887. var t1 = this.$this;
  103888. return new A.UserDefinedCallable0($content, t1._evaluate0$_environment.closure$0(), t1._evaluate0$_inDependency, type$.UserDefinedCallable_Environment_2);
  103889. },
  103890. $signature: 461
  103891. };
  103892. A._EvaluateVisitor_visitIncludeRule_closure7.prototype = {
  103893. call$0() {
  103894. return this.node.get$spanWithoutContent();
  103895. },
  103896. $signature: 29
  103897. };
  103898. A._EvaluateVisitor_visitMediaRule_closure5.prototype = {
  103899. call$1(mediaQueries) {
  103900. return this.$this._evaluate0$_mergeMediaQueries$2(mediaQueries, this.queries);
  103901. },
  103902. $signature: 104
  103903. };
  103904. A._EvaluateVisitor_visitMediaRule_closure6.prototype = {
  103905. call$0() {
  103906. var _this = this,
  103907. t1 = _this.$this,
  103908. t2 = _this.mergedQueries;
  103909. if (t2 == null)
  103910. t2 = _this.queries;
  103911. t1._evaluate0$_withMediaQueries$3(t2, _this.mergedSources, new A._EvaluateVisitor_visitMediaRule__closure1(t1, _this.node));
  103912. },
  103913. $signature: 1
  103914. };
  103915. A._EvaluateVisitor_visitMediaRule__closure1.prototype = {
  103916. call$0() {
  103917. var t2, t3, _i,
  103918. t1 = this.$this,
  103919. _0_0 = t1._evaluate0$_atRootExcludingStyleRule ? null : t1._evaluate0$_styleRuleIgnoringAtRoot;
  103920. if (_0_0 != null)
  103921. t1._evaluate0$_withParent$2$3$scopeWhen(A.ModifiableCssStyleRule$0(_0_0._style_rule0$_selector, _0_0.span, false, _0_0.originalSelector), new A._EvaluateVisitor_visitMediaRule___closure1(t1, this.node), false, type$.ModifiableCssStyleRule_2, type$.Null);
  103922. else
  103923. for (t2 = this.node.children, t3 = t2.length, _i = 0; _i < t3; ++_i)
  103924. t2[_i].accept$1(t1);
  103925. },
  103926. $signature: 1
  103927. };
  103928. A._EvaluateVisitor_visitMediaRule___closure1.prototype = {
  103929. call$0() {
  103930. var t1, t2, t3, _i;
  103931. for (t1 = this.node.children, t2 = t1.length, t3 = this.$this, _i = 0; _i < t2; ++_i)
  103932. t1[_i].accept$1(t3);
  103933. },
  103934. $signature: 1
  103935. };
  103936. A._EvaluateVisitor_visitMediaRule_closure7.prototype = {
  103937. call$1(node) {
  103938. var t1;
  103939. if (!(node instanceof A.ModifiableCssStyleRule0)) {
  103940. t1 = this.mergedSources;
  103941. t1 = t1.get$isNotEmpty(t1) && node instanceof A.ModifiableCssMediaRule0 && B.JSArray_methods.every$1(node.queries, t1.get$contains(t1));
  103942. } else
  103943. t1 = true;
  103944. return t1;
  103945. },
  103946. $signature: 7
  103947. };
  103948. A._EvaluateVisitor_visitStyleRule_closure7.prototype = {
  103949. call$0() {
  103950. var t1, t2, t3, _i;
  103951. for (t1 = this.node.children, t2 = t1.length, t3 = this.$this, _i = 0; _i < t2; ++_i)
  103952. t1[_i].accept$1(t3);
  103953. },
  103954. $signature: 1
  103955. };
  103956. A._EvaluateVisitor_visitStyleRule_closure8.prototype = {
  103957. call$1(node) {
  103958. return node instanceof A.ModifiableCssStyleRule0;
  103959. },
  103960. $signature: 7
  103961. };
  103962. A._EvaluateVisitor_visitStyleRule_closure10.prototype = {
  103963. call$0() {
  103964. var t1 = this.$this;
  103965. t1._evaluate0$_withStyleRule$2(this.rule, new A._EvaluateVisitor_visitStyleRule__closure1(t1, this.node));
  103966. },
  103967. $signature: 1
  103968. };
  103969. A._EvaluateVisitor_visitStyleRule__closure1.prototype = {
  103970. call$0() {
  103971. var t1, t2, t3, _i;
  103972. for (t1 = this.node.children, t2 = t1.length, t3 = this.$this, _i = 0; _i < t2; ++_i)
  103973. t1[_i].accept$1(t3);
  103974. },
  103975. $signature: 1
  103976. };
  103977. A._EvaluateVisitor_visitStyleRule_closure9.prototype = {
  103978. call$1(node) {
  103979. return node instanceof A.ModifiableCssStyleRule0;
  103980. },
  103981. $signature: 7
  103982. };
  103983. A._EvaluateVisitor__warnForBogusCombinators_closure1.prototype = {
  103984. call$1(child) {
  103985. return child instanceof A.ModifiableCssComment0;
  103986. },
  103987. $signature: 7
  103988. };
  103989. A._EvaluateVisitor_visitSupportsRule_closure3.prototype = {
  103990. call$0() {
  103991. var t2, t3, _i,
  103992. t1 = this.$this,
  103993. _0_0 = t1._evaluate0$_atRootExcludingStyleRule ? null : t1._evaluate0$_styleRuleIgnoringAtRoot;
  103994. if (_0_0 != null)
  103995. t1._evaluate0$_withParent$2$2(A.ModifiableCssStyleRule$0(_0_0._style_rule0$_selector, _0_0.span, false, _0_0.originalSelector), new A._EvaluateVisitor_visitSupportsRule__closure1(t1, this.node), type$.ModifiableCssStyleRule_2, type$.Null);
  103996. else
  103997. for (t2 = this.node.children, t3 = t2.length, _i = 0; _i < t3; ++_i)
  103998. t2[_i].accept$1(t1);
  103999. },
  104000. $signature: 1
  104001. };
  104002. A._EvaluateVisitor_visitSupportsRule__closure1.prototype = {
  104003. call$0() {
  104004. var t1, t2, t3, _i;
  104005. for (t1 = this.node.children, t2 = t1.length, t3 = this.$this, _i = 0; _i < t2; ++_i)
  104006. t1[_i].accept$1(t3);
  104007. },
  104008. $signature: 1
  104009. };
  104010. A._EvaluateVisitor_visitSupportsRule_closure4.prototype = {
  104011. call$1(node) {
  104012. return node instanceof A.ModifiableCssStyleRule0;
  104013. },
  104014. $signature: 7
  104015. };
  104016. A._EvaluateVisitor__visitSupportsCondition_closure1.prototype = {
  104017. call$0() {
  104018. var t4,
  104019. t1 = this.$this,
  104020. t2 = this._box_0,
  104021. t3 = t2.declaration.name;
  104022. t3 = t1._evaluate0$_serialize$3$quote(t3.accept$1(t1), t3, true);
  104023. t4 = t2.declaration.get$isCustomProperty() ? "" : " ";
  104024. t2 = t2.declaration.value;
  104025. return "(" + t3 + ":" + t4 + t1._evaluate0$_serialize$3$quote(t2.accept$1(t1), t2, true) + ")";
  104026. },
  104027. $signature: 26
  104028. };
  104029. A._EvaluateVisitor_visitVariableDeclaration_closure5.prototype = {
  104030. call$0() {
  104031. var t1 = this.$this._evaluate0$_environment,
  104032. t2 = this._box_0.override;
  104033. t1.setVariable$4$global(this.node.name, t2.value, t2.assignmentNode, true);
  104034. },
  104035. $signature: 1
  104036. };
  104037. A._EvaluateVisitor_visitVariableDeclaration_closure6.prototype = {
  104038. call$0() {
  104039. var t1 = this.node;
  104040. return this.$this._evaluate0$_environment.getVariable$2$namespace(t1.name, t1.namespace);
  104041. },
  104042. $signature: 44
  104043. };
  104044. A._EvaluateVisitor_visitVariableDeclaration_closure7.prototype = {
  104045. call$0() {
  104046. var t1 = this.$this,
  104047. t2 = this.node;
  104048. t1._evaluate0$_environment.setVariable$5$global$namespace(t2.name, this.value, t1._evaluate0$_expressionNode$1(t2.expression), t2.isGlobal, t2.namespace);
  104049. },
  104050. $signature: 1
  104051. };
  104052. A._EvaluateVisitor_visitUseRule_closure1.prototype = {
  104053. call$2(module, firstLoad) {
  104054. var t1, t2, t3, _0_0, t4, t5, span;
  104055. if (firstLoad)
  104056. this.$this._evaluate0$_registerCommentsForModule$1(module);
  104057. t1 = this.$this._evaluate0$_environment;
  104058. t2 = this.node;
  104059. t3 = t2.namespace;
  104060. if (t3 == null) {
  104061. t1._environment0$_globalModules.$indexSet(0, module, t2);
  104062. t1._environment0$_allModules.push(module);
  104063. _0_0 = A.IterableExtension_firstWhereOrNull(J.get$keys$z(B.JSArray_methods.get$first(t1._environment0$_variables)), module.get$variables().get$containsKey());
  104064. if (_0_0 != null)
  104065. A.throwExpression(A.SassScriptException$0(string$.This_ma + _0_0 + '".', null));
  104066. } else {
  104067. t4 = t1._environment0$_modules;
  104068. if (t4.containsKey$1(t3)) {
  104069. t5 = t1._environment0$_namespaceNodes.$index(0, t3);
  104070. span = t5 == null ? null : t5.span;
  104071. t5 = A.LinkedHashMap_LinkedHashMap$_empty(type$.FileSpan, type$.String);
  104072. if (span != null)
  104073. t5.$indexSet(0, span, "original @use");
  104074. A.throwExpression(A.MultiSpanSassScriptException$0(string$.There_ + t3 + '".', "new @use", t5));
  104075. }
  104076. t4.$indexSet(0, t3, module);
  104077. t1._environment0$_namespaceNodes.$indexSet(0, t3, t2);
  104078. t1._environment0$_allModules.push(module);
  104079. }
  104080. },
  104081. $signature: 102
  104082. };
  104083. A._EvaluateVisitor_visitWarnRule_closure1.prototype = {
  104084. call$0() {
  104085. return this.node.expression.accept$1(this.$this);
  104086. },
  104087. $signature: 48
  104088. };
  104089. A._EvaluateVisitor_visitWhileRule_closure1.prototype = {
  104090. call$0() {
  104091. var t1, t2, t3, _0_0;
  104092. for (t1 = this.node, t2 = t1.condition, t3 = this.$this, t1 = t1.children; t2.accept$1(t3).get$isTruthy();) {
  104093. _0_0 = t3._evaluate0$_handleReturn$2(t1, new A._EvaluateVisitor_visitWhileRule__closure1(t3));
  104094. if (_0_0 != null)
  104095. return _0_0;
  104096. }
  104097. return null;
  104098. },
  104099. $signature: 44
  104100. };
  104101. A._EvaluateVisitor_visitWhileRule__closure1.prototype = {
  104102. call$1(child) {
  104103. return child.accept$1(this.$this);
  104104. },
  104105. $signature: 94
  104106. };
  104107. A._EvaluateVisitor_visitBinaryOperationExpression_closure1.prototype = {
  104108. call$0() {
  104109. var t1 = this.node,
  104110. t2 = this.$this,
  104111. left = t1.left.accept$1(t2);
  104112. switch (t1.operator) {
  104113. case B.BinaryOperator_Kyq0:
  104114. t1 = t1.right.accept$1(t2);
  104115. t1 = new A.SassString0(A.serializeValue0(left, false, true) + "=" + A.serializeValue0(t1, false, true), false);
  104116. break;
  104117. case B.BinaryOperator_tKu0:
  104118. t1 = left.get$isTruthy() ? left : t1.right.accept$1(t2);
  104119. break;
  104120. case B.BinaryOperator_uke0:
  104121. t1 = left.get$isTruthy() ? t1.right.accept$1(t2) : left;
  104122. break;
  104123. case B.BinaryOperator_r840:
  104124. t1 = left.$eq(0, t1.right.accept$1(t2)) ? B.SassBoolean_true0 : B.SassBoolean_false0;
  104125. break;
  104126. case B.BinaryOperator_qGq0:
  104127. t1 = !left.$eq(0, t1.right.accept$1(t2)) ? B.SassBoolean_true0 : B.SassBoolean_false0;
  104128. break;
  104129. case B.BinaryOperator_o8O0:
  104130. t1 = left.greaterThan$1(t1.right.accept$1(t2));
  104131. break;
  104132. case B.BinaryOperator_JiR0:
  104133. t1 = left.greaterThanOrEquals$1(t1.right.accept$1(t2));
  104134. break;
  104135. case B.BinaryOperator_qHy0:
  104136. t1 = left.lessThan$1(t1.right.accept$1(t2));
  104137. break;
  104138. case B.BinaryOperator_FPG0:
  104139. t1 = left.lessThanOrEquals$1(t1.right.accept$1(t2));
  104140. break;
  104141. case B.BinaryOperator_Swh0:
  104142. t1 = left.plus$1(t1.right.accept$1(t2));
  104143. break;
  104144. case B.BinaryOperator_QG10:
  104145. t1 = left.minus$1(t1.right.accept$1(t2));
  104146. break;
  104147. case B.BinaryOperator_tht0:
  104148. t1 = left.times$1(t1.right.accept$1(t2));
  104149. break;
  104150. case B.BinaryOperator_Mh50:
  104151. t1 = t2._evaluate0$_slash$3(left, t1.right.accept$1(t2), t1);
  104152. break;
  104153. case B.BinaryOperator_s7T0:
  104154. t1 = left.modulo$1(t1.right.accept$1(t2));
  104155. break;
  104156. default:
  104157. t1 = null;
  104158. }
  104159. return t1;
  104160. },
  104161. $signature: 48
  104162. };
  104163. A._EvaluateVisitor__slash_recommendation1.prototype = {
  104164. call$1(expression) {
  104165. var t1;
  104166. $label0$0: {
  104167. if (expression instanceof A.BinaryOperationExpression0 && B.BinaryOperator_Mh50 === expression.operator) {
  104168. t1 = "math.div(" + A.S(this.call$1(expression.left)) + ", " + A.S(this.call$1(expression.right)) + ")";
  104169. break $label0$0;
  104170. }
  104171. if (expression instanceof A.ParenthesizedExpression0) {
  104172. t1 = expression.expression.toString$0(0);
  104173. break $label0$0;
  104174. }
  104175. t1 = expression.toString$0(0);
  104176. break $label0$0;
  104177. }
  104178. return t1;
  104179. },
  104180. $signature: 113
  104181. };
  104182. A._EvaluateVisitor_visitVariableExpression_closure1.prototype = {
  104183. call$0() {
  104184. var t1 = this.node;
  104185. return this.$this._evaluate0$_environment.getVariable$2$namespace(t1.name, t1.namespace);
  104186. },
  104187. $signature: 44
  104188. };
  104189. A._EvaluateVisitor_visitUnaryOperationExpression_closure1.prototype = {
  104190. call$0() {
  104191. var t1, _this = this;
  104192. switch (_this.node.operator) {
  104193. case B.UnaryOperator_Rbl0:
  104194. t1 = _this.operand.unaryPlus$0();
  104195. break;
  104196. case B.UnaryOperator_UCP0:
  104197. t1 = _this.operand.unaryMinus$0();
  104198. break;
  104199. case B.UnaryOperator_lZV0:
  104200. t1 = new A.SassString0("/" + A.serializeValue0(_this.operand, false, true), false);
  104201. break;
  104202. case B.UnaryOperator_not_not_not0:
  104203. t1 = _this.operand.unaryNot$0();
  104204. break;
  104205. default:
  104206. t1 = null;
  104207. }
  104208. return t1;
  104209. },
  104210. $signature: 48
  104211. };
  104212. A._EvaluateVisitor_visitListExpression_closure1.prototype = {
  104213. call$1(expression) {
  104214. return expression.accept$1(this.$this);
  104215. },
  104216. $signature: 462
  104217. };
  104218. A._EvaluateVisitor_visitFunctionExpression_closure5.prototype = {
  104219. call$0() {
  104220. var t1 = this.node;
  104221. return this.$this._evaluate0$_environment.getFunction$2$namespace(t1.name, t1.namespace);
  104222. },
  104223. $signature: 103
  104224. };
  104225. A._EvaluateVisitor_visitFunctionExpression_closure6.prototype = {
  104226. call$1(argument) {
  104227. return argument.accept$1(B.C_IsCalculationSafeVisitor0);
  104228. },
  104229. $signature: 140
  104230. };
  104231. A._EvaluateVisitor_visitFunctionExpression_closure7.prototype = {
  104232. call$0() {
  104233. var t1 = this.node;
  104234. return this.$this._evaluate0$_runFunctionCallable$3(t1.$arguments, this._box_0.$function, t1);
  104235. },
  104236. $signature: 48
  104237. };
  104238. A._EvaluateVisitor__visitCalculation_closure1.prototype = {
  104239. call$2(message, deprecation) {
  104240. return this.$this._evaluate0$_warn$3(message, this.node.span, deprecation);
  104241. },
  104242. call$1(message) {
  104243. return this.call$2(message, null);
  104244. },
  104245. $signature: 110
  104246. };
  104247. A._EvaluateVisitor__checkCalculationArguments_check1.prototype = {
  104248. call$1(maxArgs) {
  104249. var t1 = this.node,
  104250. t2 = t1.$arguments.positional.length;
  104251. if (t2 === 0)
  104252. throw A.wrapException(this.$this._evaluate0$_exception$2("Missing argument.", t1.span));
  104253. else if (maxArgs != null && t2 > maxArgs)
  104254. throw A.wrapException(this.$this._evaluate0$_exception$2("Only " + A.S(maxArgs) + " " + A.pluralize0("argument", maxArgs, null) + " allowed, but " + t2 + " " + A.pluralize0("was", t2, "were") + " passed.", t1.span));
  104255. },
  104256. call$0() {
  104257. return this.call$1(null);
  104258. },
  104259. $signature: 106
  104260. };
  104261. A._EvaluateVisitor__visitCalculationExpression_closure1.prototype = {
  104262. call$0() {
  104263. var _this = this,
  104264. t1 = _this.$this,
  104265. t2 = _this._box_0,
  104266. t3 = _this.node,
  104267. t4 = _this.inLegacySassFunction;
  104268. return A.SassCalculation_operateInternal0(t1._evaluate0$_binaryOperatorToCalculationOperator$2(t2.operator, t3), t1._evaluate0$_visitCalculationExpression$2$inLegacySassFunction(t2.left, t4), t1._evaluate0$_visitCalculationExpression$2$inLegacySassFunction(t2.right, t4), t4, !t1._evaluate0$_inSupportsDeclaration, new A._EvaluateVisitor__visitCalculationExpression__closure1(t1, t3));
  104269. },
  104270. $signature: 84
  104271. };
  104272. A._EvaluateVisitor__visitCalculationExpression__closure1.prototype = {
  104273. call$2(message, deprecation) {
  104274. return this.$this._evaluate0$_warn$3(message, this.node.get$span(0), deprecation);
  104275. },
  104276. call$1(message) {
  104277. return this.call$2(message, null);
  104278. },
  104279. $signature: 110
  104280. };
  104281. A._EvaluateVisitor_visitInterpolatedFunctionExpression_closure1.prototype = {
  104282. call$0() {
  104283. var t1 = this.node;
  104284. return this.$this._evaluate0$_runFunctionCallable$3(t1.$arguments, this.$function, t1);
  104285. },
  104286. $signature: 48
  104287. };
  104288. A._EvaluateVisitor__runUserDefinedCallable_closure1.prototype = {
  104289. call$0() {
  104290. var _this = this,
  104291. t1 = _this.$this,
  104292. t2 = _this.callable;
  104293. return t1._evaluate0$_withEnvironment$2(t2.environment.closure$0(), new A._EvaluateVisitor__runUserDefinedCallable__closure1(t1, _this.evaluated, t2, _this.nodeWithSpan, _this.run, _this.V));
  104294. },
  104295. $signature() {
  104296. return this.V._eval$1("0()");
  104297. }
  104298. };
  104299. A._EvaluateVisitor__runUserDefinedCallable__closure1.prototype = {
  104300. call$0() {
  104301. var _this = this,
  104302. t1 = _this.$this,
  104303. t2 = _this.V;
  104304. return t1._evaluate0$_environment.scope$1$1(new A._EvaluateVisitor__runUserDefinedCallable___closure1(t1, _this.evaluated, _this.callable, _this.nodeWithSpan, _this.run, t2), t2);
  104305. },
  104306. $signature() {
  104307. return this.V._eval$1("0()");
  104308. }
  104309. };
  104310. A._EvaluateVisitor__runUserDefinedCallable___closure1.prototype = {
  104311. call$0() {
  104312. var parameters, t5, minLength, i, parameter, t6, value, t7, t8, restParameter, rest, argumentList, result, parameterWord, _this = this,
  104313. t1 = _this.$this,
  104314. t2 = _this.evaluated._values,
  104315. t3 = _this.callable.declaration.parameters,
  104316. t4 = _this.nodeWithSpan;
  104317. t1._evaluate0$_verifyArguments$4(t2[2].length, t2[0], t3, t4);
  104318. parameters = t3.parameters;
  104319. t5 = parameters.length;
  104320. minLength = Math.min(t2[2].length, t5);
  104321. for (i = 0; i < minLength; ++i)
  104322. t1._evaluate0$_environment.setLocalVariable$3(parameters[i].name, t2[2][i], t2[3][i]);
  104323. for (i = t2[2].length; i < t5; ++i) {
  104324. parameter = parameters[i];
  104325. t6 = parameter.name;
  104326. value = t2[0].remove$1(0, t6);
  104327. if (value == null) {
  104328. t7 = parameter.defaultValue;
  104329. value = t1._evaluate0$_withoutSlash$2(t7.accept$1(t1), t1._evaluate0$_expressionNode$1(t7));
  104330. }
  104331. t7 = t1._evaluate0$_environment;
  104332. t8 = t2[1].$index(0, t6);
  104333. if (t8 == null) {
  104334. t8 = parameter.defaultValue;
  104335. t8.toString;
  104336. t8 = t1._evaluate0$_expressionNode$1(t8);
  104337. }
  104338. t7.setLocalVariable$3(t6, value, t8);
  104339. }
  104340. restParameter = t3.restParameter;
  104341. if (restParameter != null) {
  104342. t6 = t2[2];
  104343. rest = t6.length > t5 ? B.JSArray_methods.sublist$1(t6, t5) : B.List_empty22;
  104344. t5 = t2[0];
  104345. t6 = t2[4];
  104346. argumentList = A.SassArgumentList$0(rest, t5, t6 === B.ListSeparator_undecided_null_undecided0 ? B.ListSeparator_qVN0 : t6);
  104347. t1._evaluate0$_environment.setLocalVariable$3(restParameter, argumentList, t4);
  104348. } else
  104349. argumentList = null;
  104350. result = _this.run.call$0();
  104351. if (argumentList == null)
  104352. return result;
  104353. t5 = t2[0].__js_helper$_length;
  104354. if (t5 === 0)
  104355. return result;
  104356. if (argumentList._argument_list$_wereKeywordsAccessed)
  104357. return result;
  104358. parameterWord = A.pluralize0("parameter", t5, null);
  104359. t2 = t2[0];
  104360. t5 = A._instanceType(t2)._eval$1("LinkedHashMapKeysIterable<1>");
  104361. throw A.wrapException(A.MultiSpanSassRuntimeException$0("No " + parameterWord + " named " + A.toSentence0(A.MappedIterable_MappedIterable(new A.LinkedHashMapKeysIterable(t2, t5), new A._EvaluateVisitor__runUserDefinedCallable____closure1(), t5._eval$1("Iterable.E"), type$.Object), "or") + ".", t4.get$span(t4), "invocation", A.LinkedHashMap_LinkedHashMap$_literal([t3.get$spanWithName(), "declaration"], type$.FileSpan, type$.String), t1._evaluate0$_stackTrace$1(t4.get$span(t4)), null));
  104362. },
  104363. $signature() {
  104364. return this.V._eval$1("0()");
  104365. }
  104366. };
  104367. A._EvaluateVisitor__runUserDefinedCallable____closure1.prototype = {
  104368. call$1($name) {
  104369. return "$" + $name;
  104370. },
  104371. $signature: 6
  104372. };
  104373. A._EvaluateVisitor__runFunctionCallable_closure1.prototype = {
  104374. call$0() {
  104375. var t1, t2, t3, t4, _i, $returnValue;
  104376. for (t1 = this.callable.declaration, t2 = t1.children, t3 = t2.length, t4 = this.$this, _i = 0; _i < t3; ++_i) {
  104377. $returnValue = t2[_i].accept$1(t4);
  104378. if ($returnValue instanceof A.Value0)
  104379. return $returnValue;
  104380. }
  104381. throw A.wrapException(t4._evaluate0$_exception$2("Function finished without @return.", t1.span));
  104382. },
  104383. $signature: 48
  104384. };
  104385. A._EvaluateVisitor__runBuiltInCallable_closure5.prototype = {
  104386. call$0() {
  104387. return this._box_0.overload.verify$2(this.evaluated._values[2].length, this.namedSet);
  104388. },
  104389. $signature: 0
  104390. };
  104391. A._EvaluateVisitor__runBuiltInCallable_closure6.prototype = {
  104392. call$0() {
  104393. return this._box_0.callback.call$1(this.evaluated._values[2]);
  104394. },
  104395. $signature: 48
  104396. };
  104397. A._EvaluateVisitor__runBuiltInCallable_closure7.prototype = {
  104398. call$1($name) {
  104399. return "$" + $name;
  104400. },
  104401. $signature: 6
  104402. };
  104403. A._EvaluateVisitor__evaluateArguments_closure7.prototype = {
  104404. call$1(value) {
  104405. return value;
  104406. },
  104407. $signature: 43
  104408. };
  104409. A._EvaluateVisitor__evaluateArguments_closure8.prototype = {
  104410. call$1(value) {
  104411. return this.$this._evaluate0$_withoutSlash$2(value, this.restNodeForSpan);
  104412. },
  104413. $signature: 43
  104414. };
  104415. A._EvaluateVisitor__evaluateArguments_closure9.prototype = {
  104416. call$2(key, value) {
  104417. var _this = this,
  104418. t1 = _this.restNodeForSpan;
  104419. _this.named.$indexSet(0, key, _this.$this._evaluate0$_withoutSlash$2(value, t1));
  104420. _this.namedNodes.$indexSet(0, key, t1);
  104421. },
  104422. $signature: 109
  104423. };
  104424. A._EvaluateVisitor__evaluateArguments_closure10.prototype = {
  104425. call$1(value) {
  104426. return value;
  104427. },
  104428. $signature: 43
  104429. };
  104430. A._EvaluateVisitor__evaluateMacroArguments_closure7.prototype = {
  104431. call$1(value) {
  104432. var t1 = this.restArgs;
  104433. return new A.ValueExpression0(value, t1.get$span(t1));
  104434. },
  104435. $signature: 65
  104436. };
  104437. A._EvaluateVisitor__evaluateMacroArguments_closure8.prototype = {
  104438. call$1(value) {
  104439. var t1 = this.restArgs;
  104440. return new A.ValueExpression0(this.$this._evaluate0$_withoutSlash$2(value, this.restNodeForSpan), t1.get$span(t1));
  104441. },
  104442. $signature: 65
  104443. };
  104444. A._EvaluateVisitor__evaluateMacroArguments_closure9.prototype = {
  104445. call$2(key, value) {
  104446. var _this = this,
  104447. t1 = _this.restArgs;
  104448. _this.named.$indexSet(0, key, new A.ValueExpression0(_this.$this._evaluate0$_withoutSlash$2(value, _this.restNodeForSpan), t1.get$span(t1)));
  104449. },
  104450. $signature: 109
  104451. };
  104452. A._EvaluateVisitor__evaluateMacroArguments_closure10.prototype = {
  104453. call$1(value) {
  104454. var t1 = this.keywordRestArgs;
  104455. return new A.ValueExpression0(this.$this._evaluate0$_withoutSlash$2(value, this.keywordRestNodeForSpan), t1.get$span(t1));
  104456. },
  104457. $signature: 65
  104458. };
  104459. A._EvaluateVisitor__addRestMap_closure1.prototype = {
  104460. call$2(key, value) {
  104461. var t2, _this = this,
  104462. t1 = _this.$this;
  104463. if (key instanceof A.SassString0)
  104464. _this.values.$indexSet(0, key._string0$_text, _this.convert.call$1(t1._evaluate0$_withoutSlash$2(value, _this.expressionNode)));
  104465. else {
  104466. t2 = _this.nodeWithSpan;
  104467. 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)));
  104468. }
  104469. },
  104470. $signature: 98
  104471. };
  104472. A._EvaluateVisitor__verifyArguments_closure1.prototype = {
  104473. call$0() {
  104474. return this.parameters.verify$2(this.positional, new A.MapKeySet(this.named, type$.MapKeySet_String));
  104475. },
  104476. $signature: 0
  104477. };
  104478. A._EvaluateVisitor_visitCssAtRule_closure3.prototype = {
  104479. call$0() {
  104480. var t1, t2, t3, t4;
  104481. for (t1 = this.node.children, t2 = t1.$ti, t1 = new A.ListIterator(t1, t1.get$length(0), t2._eval$1("ListIterator<ListBase.E>")), t3 = this.$this, t2 = t2._eval$1("ListBase.E"); t1.moveNext$0();) {
  104482. t4 = t1.__internal$_current;
  104483. (t4 == null ? t2._as(t4) : t4).accept$1(t3);
  104484. }
  104485. },
  104486. $signature: 1
  104487. };
  104488. A._EvaluateVisitor_visitCssAtRule_closure4.prototype = {
  104489. call$1(node) {
  104490. return node instanceof A.ModifiableCssStyleRule0;
  104491. },
  104492. $signature: 7
  104493. };
  104494. A._EvaluateVisitor_visitCssKeyframeBlock_closure3.prototype = {
  104495. call$0() {
  104496. var t1, t2, t3, t4;
  104497. for (t1 = this.node.children, t2 = t1.$ti, t1 = new A.ListIterator(t1, t1.get$length(0), t2._eval$1("ListIterator<ListBase.E>")), t3 = this.$this, t2 = t2._eval$1("ListBase.E"); t1.moveNext$0();) {
  104498. t4 = t1.__internal$_current;
  104499. (t4 == null ? t2._as(t4) : t4).accept$1(t3);
  104500. }
  104501. },
  104502. $signature: 1
  104503. };
  104504. A._EvaluateVisitor_visitCssKeyframeBlock_closure4.prototype = {
  104505. call$1(node) {
  104506. return node instanceof A.ModifiableCssStyleRule0;
  104507. },
  104508. $signature: 7
  104509. };
  104510. A._EvaluateVisitor_visitCssMediaRule_closure5.prototype = {
  104511. call$1(mediaQueries) {
  104512. return this.$this._evaluate0$_mergeMediaQueries$2(mediaQueries, this.node.queries);
  104513. },
  104514. $signature: 104
  104515. };
  104516. A._EvaluateVisitor_visitCssMediaRule_closure6.prototype = {
  104517. call$0() {
  104518. var _this = this,
  104519. t1 = _this.$this,
  104520. t2 = _this.mergedQueries;
  104521. if (t2 == null)
  104522. t2 = _this.node.queries;
  104523. t1._evaluate0$_withMediaQueries$3(t2, _this.mergedSources, new A._EvaluateVisitor_visitCssMediaRule__closure1(t1, _this.node));
  104524. },
  104525. $signature: 1
  104526. };
  104527. A._EvaluateVisitor_visitCssMediaRule__closure1.prototype = {
  104528. call$0() {
  104529. var t2, t3, t4,
  104530. t1 = this.$this,
  104531. _0_0 = t1._evaluate0$_atRootExcludingStyleRule ? null : t1._evaluate0$_styleRuleIgnoringAtRoot;
  104532. if (_0_0 != null)
  104533. t1._evaluate0$_withParent$2$3$scopeWhen(A.ModifiableCssStyleRule$0(_0_0._style_rule0$_selector, _0_0.span, false, _0_0.originalSelector), new A._EvaluateVisitor_visitCssMediaRule___closure1(t1, this.node), false, type$.ModifiableCssStyleRule_2, type$.Null);
  104534. else
  104535. for (t2 = this.node.children, t3 = t2.$ti, t2 = new A.ListIterator(t2, t2.get$length(0), t3._eval$1("ListIterator<ListBase.E>")), t3 = t3._eval$1("ListBase.E"); t2.moveNext$0();) {
  104536. t4 = t2.__internal$_current;
  104537. (t4 == null ? t3._as(t4) : t4).accept$1(t1);
  104538. }
  104539. },
  104540. $signature: 1
  104541. };
  104542. A._EvaluateVisitor_visitCssMediaRule___closure1.prototype = {
  104543. call$0() {
  104544. var t1, t2, t3, t4;
  104545. for (t1 = this.node.children, t2 = t1.$ti, t1 = new A.ListIterator(t1, t1.get$length(0), t2._eval$1("ListIterator<ListBase.E>")), t3 = this.$this, t2 = t2._eval$1("ListBase.E"); t1.moveNext$0();) {
  104546. t4 = t1.__internal$_current;
  104547. (t4 == null ? t2._as(t4) : t4).accept$1(t3);
  104548. }
  104549. },
  104550. $signature: 1
  104551. };
  104552. A._EvaluateVisitor_visitCssMediaRule_closure7.prototype = {
  104553. call$1(node) {
  104554. var t1;
  104555. if (!(node instanceof A.ModifiableCssStyleRule0)) {
  104556. t1 = this.mergedSources;
  104557. t1 = t1.get$isNotEmpty(t1) && node instanceof A.ModifiableCssMediaRule0 && B.JSArray_methods.every$1(node.queries, t1.get$contains(t1));
  104558. } else
  104559. t1 = true;
  104560. return t1;
  104561. },
  104562. $signature: 7
  104563. };
  104564. A._EvaluateVisitor_visitCssStyleRule_closure4.prototype = {
  104565. call$0() {
  104566. var t1 = this.$this;
  104567. t1._evaluate0$_withStyleRule$2(this.rule, new A._EvaluateVisitor_visitCssStyleRule__closure1(t1, this.node));
  104568. },
  104569. $signature: 1
  104570. };
  104571. A._EvaluateVisitor_visitCssStyleRule__closure1.prototype = {
  104572. call$0() {
  104573. var t1, t2, t3, t4;
  104574. for (t1 = this.node.children, t2 = t1.$ti, t1 = new A.ListIterator(t1, t1.get$length(0), t2._eval$1("ListIterator<ListBase.E>")), t3 = this.$this, t2 = t2._eval$1("ListBase.E"); t1.moveNext$0();) {
  104575. t4 = t1.__internal$_current;
  104576. (t4 == null ? t2._as(t4) : t4).accept$1(t3);
  104577. }
  104578. },
  104579. $signature: 1
  104580. };
  104581. A._EvaluateVisitor_visitCssStyleRule_closure3.prototype = {
  104582. call$1(node) {
  104583. return node instanceof A.ModifiableCssStyleRule0;
  104584. },
  104585. $signature: 7
  104586. };
  104587. A._EvaluateVisitor_visitCssSupportsRule_closure3.prototype = {
  104588. call$0() {
  104589. var t2, t3, t4,
  104590. t1 = this.$this,
  104591. _0_0 = t1._evaluate0$_atRootExcludingStyleRule ? null : t1._evaluate0$_styleRuleIgnoringAtRoot;
  104592. if (_0_0 != null)
  104593. t1._evaluate0$_withParent$2$2(A.ModifiableCssStyleRule$0(_0_0._style_rule0$_selector, _0_0.span, false, _0_0.originalSelector), new A._EvaluateVisitor_visitCssSupportsRule__closure1(t1, this.node), type$.ModifiableCssStyleRule_2, type$.Null);
  104594. else
  104595. for (t2 = this.node.children, t3 = t2.$ti, t2 = new A.ListIterator(t2, t2.get$length(0), t3._eval$1("ListIterator<ListBase.E>")), t3 = t3._eval$1("ListBase.E"); t2.moveNext$0();) {
  104596. t4 = t2.__internal$_current;
  104597. (t4 == null ? t3._as(t4) : t4).accept$1(t1);
  104598. }
  104599. },
  104600. $signature: 1
  104601. };
  104602. A._EvaluateVisitor_visitCssSupportsRule__closure1.prototype = {
  104603. call$0() {
  104604. var t1, t2, t3, t4;
  104605. for (t1 = this.node.children, t2 = t1.$ti, t1 = new A.ListIterator(t1, t1.get$length(0), t2._eval$1("ListIterator<ListBase.E>")), t3 = this.$this, t2 = t2._eval$1("ListBase.E"); t1.moveNext$0();) {
  104606. t4 = t1.__internal$_current;
  104607. (t4 == null ? t2._as(t4) : t4).accept$1(t3);
  104608. }
  104609. },
  104610. $signature: 1
  104611. };
  104612. A._EvaluateVisitor_visitCssSupportsRule_closure4.prototype = {
  104613. call$1(node) {
  104614. return node instanceof A.ModifiableCssStyleRule0;
  104615. },
  104616. $signature: 7
  104617. };
  104618. A._EvaluateVisitor__performInterpolationHelper_closure1.prototype = {
  104619. call$1(targetLocations) {
  104620. return A.InterpolationMap$0(this.interpolation, targetLocations);
  104621. },
  104622. $signature: 218
  104623. };
  104624. A._EvaluateVisitor__serialize_closure1.prototype = {
  104625. call$0() {
  104626. return A.serializeValue0(this.value, false, this.quote);
  104627. },
  104628. $signature: 26
  104629. };
  104630. A._EvaluateVisitor__expressionNode_closure1.prototype = {
  104631. call$0() {
  104632. var t1 = this.expression;
  104633. return this.$this._evaluate0$_environment.getVariableNode$2$namespace(t1.name, t1.namespace);
  104634. },
  104635. $signature: 219
  104636. };
  104637. A._EvaluateVisitor__withoutSlash_recommendation1.prototype = {
  104638. call$1(number) {
  104639. var before, after, t1,
  104640. _1_0 = number.asSlash;
  104641. $label0$0: {
  104642. if (type$.Record_2_nullable_Object_and_nullable_Object._is(_1_0)) {
  104643. before = _1_0._0;
  104644. after = _1_0._1;
  104645. t1 = "math.div(" + A.S(this.call$1(before)) + ", " + A.S(this.call$1(after)) + ")";
  104646. break $label0$0;
  104647. }
  104648. t1 = A.serializeValue0(number, true, true);
  104649. break $label0$0;
  104650. }
  104651. return t1;
  104652. },
  104653. $signature: 220
  104654. };
  104655. A._EvaluateVisitor__stackFrame_closure1.prototype = {
  104656. call$1(url) {
  104657. var t1 = this.$this._evaluate0$_importCache;
  104658. t1 = t1 == null ? null : t1.humanize$1(url);
  104659. return t1 == null ? url : t1;
  104660. },
  104661. $signature: 49
  104662. };
  104663. A._ImportedCssVisitor1.prototype = {
  104664. visitCssAtRule$1(node) {
  104665. var t1 = node.isChildless ? null : new A._ImportedCssVisitor_visitCssAtRule_closure1();
  104666. this._evaluate0$_visitor._evaluate0$_addChild$2$through(node, t1);
  104667. },
  104668. visitCssComment$1(node) {
  104669. return this._evaluate0$_visitor._evaluate0$_addChild$1(node);
  104670. },
  104671. visitCssDeclaration$1(node) {
  104672. },
  104673. visitCssImport$1(node) {
  104674. var t2,
  104675. _s13_ = "_endOfImports",
  104676. t1 = this._evaluate0$_visitor;
  104677. if (t1._evaluate0$_assertInModule$2(t1._evaluate0$__parent, "__parent") !== t1._evaluate0$_assertInModule$2(t1._evaluate0$__root, "_root"))
  104678. t1._evaluate0$_addChild$1(node);
  104679. 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)) {
  104680. t1._evaluate0$_addChild$1(node);
  104681. t1._evaluate0$__endOfImports = t1._evaluate0$_assertInModule$2(t1._evaluate0$__endOfImports, _s13_) + 1;
  104682. } else {
  104683. t2 = t1._evaluate0$_outOfOrderImports;
  104684. (t2 == null ? t1._evaluate0$_outOfOrderImports = A._setArrayType([], type$.JSArray_ModifiableCssImport_2) : t2).push(node);
  104685. }
  104686. },
  104687. visitCssKeyframeBlock$1(node) {
  104688. },
  104689. visitCssMediaRule$1(node) {
  104690. var t1 = this._evaluate0$_visitor,
  104691. mediaQueries = t1._evaluate0$_mediaQueries;
  104692. t1._evaluate0$_addChild$2$through(node, new A._ImportedCssVisitor_visitCssMediaRule_closure1(mediaQueries == null || t1._evaluate0$_mergeMediaQueries$2(mediaQueries, node.queries) != null));
  104693. },
  104694. visitCssStyleRule$1(node) {
  104695. return this._evaluate0$_visitor._evaluate0$_addChild$2$through(node, new A._ImportedCssVisitor_visitCssStyleRule_closure1());
  104696. },
  104697. visitCssStylesheet$1(node) {
  104698. var t1, t2, t3;
  104699. for (t1 = node.children, t2 = t1.$ti, t1 = new A.ListIterator(t1, t1.get$length(0), t2._eval$1("ListIterator<ListBase.E>")), t2 = t2._eval$1("ListBase.E"); t1.moveNext$0();) {
  104700. t3 = t1.__internal$_current;
  104701. (t3 == null ? t2._as(t3) : t3).accept$1(this);
  104702. }
  104703. },
  104704. visitCssSupportsRule$1(node) {
  104705. return this._evaluate0$_visitor._evaluate0$_addChild$2$through(node, new A._ImportedCssVisitor_visitCssSupportsRule_closure1());
  104706. }
  104707. };
  104708. A._ImportedCssVisitor_visitCssAtRule_closure1.prototype = {
  104709. call$1(node) {
  104710. return node instanceof A.ModifiableCssStyleRule0;
  104711. },
  104712. $signature: 7
  104713. };
  104714. A._ImportedCssVisitor_visitCssMediaRule_closure1.prototype = {
  104715. call$1(node) {
  104716. var t1;
  104717. if (!(node instanceof A.ModifiableCssStyleRule0))
  104718. t1 = this.hasBeenMerged && node instanceof A.ModifiableCssMediaRule0;
  104719. else
  104720. t1 = true;
  104721. return t1;
  104722. },
  104723. $signature: 7
  104724. };
  104725. A._ImportedCssVisitor_visitCssStyleRule_closure1.prototype = {
  104726. call$1(node) {
  104727. return node instanceof A.ModifiableCssStyleRule0;
  104728. },
  104729. $signature: 7
  104730. };
  104731. A._ImportedCssVisitor_visitCssSupportsRule_closure1.prototype = {
  104732. call$1(node) {
  104733. return node instanceof A.ModifiableCssStyleRule0;
  104734. },
  104735. $signature: 7
  104736. };
  104737. A._EvaluationContext1.prototype = {
  104738. get$currentCallableSpan() {
  104739. var _0_0 = this._evaluate0$_visitor._evaluate0$_callableNode;
  104740. if (_0_0 != null)
  104741. return _0_0.get$span(_0_0);
  104742. throw A.wrapException(A.StateError$(string$.No_Sasc));
  104743. },
  104744. warn$2(_, message, deprecation) {
  104745. var t1 = this._evaluate0$_visitor,
  104746. t2 = t1._evaluate0$_importSpan;
  104747. if (t2 == null) {
  104748. t2 = t1._evaluate0$_callableNode;
  104749. t2 = t2 == null ? null : t2.get$span(t2);
  104750. }
  104751. t1._evaluate0$_warn$3(message, t2 == null ? this._evaluate0$_defaultWarnNodeWithSpan.span : t2, deprecation);
  104752. },
  104753. $isEvaluationContext0: 1
  104754. };
  104755. A.EveryCssVisitor0.prototype = {
  104756. visitCssAtRule$1(node) {
  104757. var t1 = node.children;
  104758. return t1.every$1(t1, new A.EveryCssVisitor_visitCssAtRule_closure0(this));
  104759. },
  104760. visitCssComment$1(node) {
  104761. return false;
  104762. },
  104763. visitCssDeclaration$1(node) {
  104764. return false;
  104765. },
  104766. visitCssImport$1(node) {
  104767. return false;
  104768. },
  104769. visitCssKeyframeBlock$1(node) {
  104770. var t1 = node.children;
  104771. return t1.every$1(t1, new A.EveryCssVisitor_visitCssKeyframeBlock_closure0(this));
  104772. },
  104773. visitCssMediaRule$1(node) {
  104774. var t1 = node.children;
  104775. return t1.every$1(t1, new A.EveryCssVisitor_visitCssMediaRule_closure0(this));
  104776. },
  104777. visitCssStyleRule$1(node) {
  104778. var t1 = node.children;
  104779. return t1.every$1(t1, new A.EveryCssVisitor_visitCssStyleRule_closure0(this));
  104780. },
  104781. visitCssStylesheet$1(node) {
  104782. return J.every$1$ax(node.get$children(node), new A.EveryCssVisitor_visitCssStylesheet_closure0(this));
  104783. },
  104784. visitCssSupportsRule$1(node) {
  104785. var t1 = node.children;
  104786. return t1.every$1(t1, new A.EveryCssVisitor_visitCssSupportsRule_closure0(this));
  104787. }
  104788. };
  104789. A.EveryCssVisitor_visitCssAtRule_closure0.prototype = {
  104790. call$1(child) {
  104791. return child.accept$1(this.$this);
  104792. },
  104793. $signature: 7
  104794. };
  104795. A.EveryCssVisitor_visitCssKeyframeBlock_closure0.prototype = {
  104796. call$1(child) {
  104797. return child.accept$1(this.$this);
  104798. },
  104799. $signature: 7
  104800. };
  104801. A.EveryCssVisitor_visitCssMediaRule_closure0.prototype = {
  104802. call$1(child) {
  104803. return child.accept$1(this.$this);
  104804. },
  104805. $signature: 7
  104806. };
  104807. A.EveryCssVisitor_visitCssStyleRule_closure0.prototype = {
  104808. call$1(child) {
  104809. return child.accept$1(this.$this);
  104810. },
  104811. $signature: 7
  104812. };
  104813. A.EveryCssVisitor_visitCssStylesheet_closure0.prototype = {
  104814. call$1(child) {
  104815. return child.accept$1(this.$this);
  104816. },
  104817. $signature: 7
  104818. };
  104819. A.EveryCssVisitor_visitCssSupportsRule_closure0.prototype = {
  104820. call$1(child) {
  104821. return child.accept$1(this.$this);
  104822. },
  104823. $signature: 7
  104824. };
  104825. A._NodeException.prototype = {};
  104826. A.exceptionClass_closure.prototype = {
  104827. call$0() {
  104828. 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());
  104829. A.defineGetter(jsClass, "name", null, "sass.Exception");
  104830. 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));
  104831. return jsClass;
  104832. },
  104833. $signature: 15
  104834. };
  104835. A.exceptionClass__closure.prototype = {
  104836. call$1(exception) {
  104837. return J.get$_dartException$x(exception)._span_exception$_message;
  104838. },
  104839. $signature: 242
  104840. };
  104841. A.exceptionClass__closure0.prototype = {
  104842. call$1(exception) {
  104843. return J.get$trace$z(J.get$_dartException$x(exception)).toString$0(0);
  104844. },
  104845. $signature: 242
  104846. };
  104847. A.exceptionClass__closure1.prototype = {
  104848. call$1(exception) {
  104849. var t1 = J.get$_dartException$x(exception),
  104850. t2 = J.getInterceptor$z(t1);
  104851. return A.SourceSpanException.prototype.get$span.call(t2, t1);
  104852. },
  104853. $signature: 464
  104854. };
  104855. A.SassException0.prototype = {
  104856. get$trace(_) {
  104857. return A.Trace$(A._setArrayType([A.frameForSpan0(A.SourceSpanException.prototype.get$span.call(this, 0), "root stylesheet", null)], type$.JSArray_Frame), null);
  104858. },
  104859. get$span(_) {
  104860. return A.SourceSpanException.prototype.get$span.call(this, 0);
  104861. },
  104862. withAdditionalSpan$2(span, label) {
  104863. return A.MultiSpanSassException$0(this._span_exception$_message, A.SourceSpanException.prototype.get$span.call(this, 0), "", A.LinkedHashMap_LinkedHashMap$_literal([span, label], type$.FileSpan, type$.String), this.loadedUrls);
  104864. },
  104865. withTrace$1(trace) {
  104866. var t1 = A.SourceSpanException.prototype.get$span.call(this, 0),
  104867. t2 = A.Set_Set$unmodifiable(this.loadedUrls, type$.Uri);
  104868. return new A.SassRuntimeException0(trace, t2, this._span_exception$_message, t1);
  104869. },
  104870. withLoadedUrls$1(loadedUrls) {
  104871. var t1 = A.SourceSpanException.prototype.get$span.call(this, 0),
  104872. t2 = A.Set_Set$unmodifiable(loadedUrls, type$.Uri);
  104873. return new A.SassException0(t2, this._span_exception$_message, t1);
  104874. },
  104875. toString$1$color(_, color) {
  104876. var t2, _i, frame, _this = this,
  104877. buffer = new A.StringBuffer(""),
  104878. t1 = "" + ("Error: " + _this._span_exception$_message + "\n");
  104879. buffer._contents = t1;
  104880. buffer._contents = t1 + A.SourceSpanException.prototype.get$span.call(_this, 0).highlight$1$color(color);
  104881. for (t1 = _this.get$trace(_this).toString$0(0).split("\n"), t2 = t1.length, _i = 0; _i < t2; ++_i) {
  104882. frame = t1[_i];
  104883. if (frame.length === 0)
  104884. continue;
  104885. buffer._contents = (buffer._contents += "\n") + (" " + frame);
  104886. }
  104887. t1 = buffer._contents;
  104888. return t1.charCodeAt(0) == 0 ? t1 : t1;
  104889. },
  104890. toString$0(_) {
  104891. return this.toString$1$color(0, null);
  104892. }
  104893. };
  104894. A.MultiSpanSassException0.prototype = {
  104895. withAdditionalSpan$2(span, label) {
  104896. var _this = this,
  104897. t1 = A.SourceSpanException.prototype.get$span.call(_this, 0),
  104898. t2 = A.LinkedHashMap_LinkedHashMap$of(_this.secondarySpans, type$.FileSpan, type$.String);
  104899. t2.$indexSet(0, span, label);
  104900. return A.MultiSpanSassException$0(_this._span_exception$_message, t1, _this.primaryLabel, t2, _this.loadedUrls);
  104901. },
  104902. withTrace$1(trace) {
  104903. var _this = this;
  104904. return A.MultiSpanSassRuntimeException$0(_this._span_exception$_message, A.SourceSpanException.prototype.get$span.call(_this, 0), _this.primaryLabel, _this.secondarySpans, trace, _this.loadedUrls);
  104905. },
  104906. withLoadedUrls$1(loadedUrls) {
  104907. var _this = this;
  104908. return A.MultiSpanSassException$0(_this._span_exception$_message, A.SourceSpanException.prototype.get$span.call(_this, 0), _this.primaryLabel, _this.secondarySpans, loadedUrls);
  104909. },
  104910. toString$1$color(_, color) {
  104911. var t1, t2, _i, frame, _this = this,
  104912. useColor = color === true,
  104913. buffer = new A.StringBuffer("Error: " + _this._span_exception$_message + "\n");
  104914. A.NullableExtension_andThen0(A.Highlighter$multiple(A.SourceSpanException.prototype.get$span.call(_this, 0), _this.primaryLabel, _this.secondarySpans, useColor, null, null).highlight$0(), buffer.get$write(buffer));
  104915. for (t1 = _this.get$trace(_this).toString$0(0).split("\n"), t2 = t1.length, _i = 0; _i < t2; ++_i) {
  104916. frame = t1[_i];
  104917. if (frame.length === 0)
  104918. continue;
  104919. buffer._contents = (buffer._contents += "\n") + (" " + frame);
  104920. }
  104921. t1 = buffer._contents;
  104922. return t1.charCodeAt(0) == 0 ? t1 : t1;
  104923. },
  104924. toString$0(_) {
  104925. return this.toString$1$color(0, null);
  104926. },
  104927. get$primaryLabel() {
  104928. return this.primaryLabel;
  104929. },
  104930. get$secondarySpans() {
  104931. return this.secondarySpans;
  104932. }
  104933. };
  104934. A.SassRuntimeException0.prototype = {
  104935. withAdditionalSpan$2(span, label) {
  104936. var _this = this;
  104937. return A.MultiSpanSassRuntimeException$0(_this._span_exception$_message, A.SourceSpanException.prototype.get$span.call(_this, 0), "", A.LinkedHashMap_LinkedHashMap$_literal([span, label], type$.FileSpan, type$.String), _this.trace, _this.loadedUrls);
  104938. },
  104939. withLoadedUrls$1(loadedUrls) {
  104940. var t1 = A.SourceSpanException.prototype.get$span.call(this, 0),
  104941. t2 = A.Set_Set$unmodifiable(loadedUrls, type$.Uri);
  104942. return new A.SassRuntimeException0(this.trace, t2, this._span_exception$_message, t1);
  104943. },
  104944. get$trace(receiver) {
  104945. return this.trace;
  104946. }
  104947. };
  104948. A.MultiSpanSassRuntimeException0.prototype = {
  104949. withAdditionalSpan$2(span, label) {
  104950. var _this = this,
  104951. t1 = A.SourceSpanException.prototype.get$span.call(_this, 0),
  104952. t2 = A.LinkedHashMap_LinkedHashMap$of(_this.secondarySpans, type$.FileSpan, type$.String);
  104953. t2.$indexSet(0, span, label);
  104954. return A.MultiSpanSassRuntimeException$0(_this._span_exception$_message, t1, _this.primaryLabel, t2, _this.trace, _this.loadedUrls);
  104955. },
  104956. withLoadedUrls$1(loadedUrls) {
  104957. var _this = this;
  104958. return A.MultiSpanSassRuntimeException$0(_this._span_exception$_message, A.SourceSpanException.prototype.get$span.call(_this, 0), _this.primaryLabel, _this.secondarySpans, _this.trace, loadedUrls);
  104959. },
  104960. $isSassRuntimeException0: 1,
  104961. get$trace(receiver) {
  104962. return this.trace;
  104963. }
  104964. };
  104965. A.SassFormatException0.prototype = {
  104966. get$source() {
  104967. var t1 = A.SourceSpanException.prototype.get$span.call(this, 0);
  104968. return A.String_String$fromCharCodes(B.NativeUint32List_methods.sublist$2(t1.get$file(t1)._decodedChars, 0, null), 0, null);
  104969. },
  104970. withAdditionalSpan$2(span, label) {
  104971. return A.MultiSpanSassFormatException$0(this._span_exception$_message, A.SourceSpanException.prototype.get$span.call(this, 0), "", A.LinkedHashMap_LinkedHashMap$_literal([span, label], type$.FileSpan, type$.String), this.loadedUrls);
  104972. },
  104973. withLoadedUrls$1(loadedUrls) {
  104974. var t1 = A.SourceSpanException.prototype.get$span.call(this, 0),
  104975. t2 = A.Set_Set$unmodifiable(loadedUrls, type$.Uri);
  104976. return new A.SassFormatException0(t2, this._span_exception$_message, t1);
  104977. },
  104978. $isFormatException: 1,
  104979. $isSourceSpanFormatException: 1
  104980. };
  104981. A.MultiSpanSassFormatException0.prototype = {
  104982. get$source() {
  104983. var t1 = A.SourceSpanException.prototype.get$span.call(this, 0);
  104984. return A.String_String$fromCharCodes(B.NativeUint32List_methods.sublist$2(t1.get$file(t1)._decodedChars, 0, null), 0, null);
  104985. },
  104986. withAdditionalSpan$2(span, label) {
  104987. var _this = this,
  104988. t1 = A.SourceSpanException.prototype.get$span.call(_this, 0),
  104989. t2 = A.LinkedHashMap_LinkedHashMap$of(_this.secondarySpans, type$.FileSpan, type$.String);
  104990. t2.$indexSet(0, span, label);
  104991. return A.MultiSpanSassFormatException$0(_this._span_exception$_message, t1, _this.primaryLabel, t2, _this.loadedUrls);
  104992. },
  104993. withLoadedUrls$1(loadedUrls) {
  104994. var _this = this;
  104995. return A.MultiSpanSassFormatException$0(_this._span_exception$_message, A.SourceSpanException.prototype.get$span.call(_this, 0), _this.primaryLabel, _this.secondarySpans, loadedUrls);
  104996. },
  104997. $isFormatException: 1,
  104998. $isSourceSpanFormatException: 1,
  104999. $isMultiSourceSpanFormatException: 1,
  105000. $isSassFormatException0: 1
  105001. };
  105002. A.SassScriptException0.prototype = {
  105003. withSpan$1(span) {
  105004. return new A.SassException0(B.Set_empty, this.message, span);
  105005. },
  105006. toString$0(_) {
  105007. return this.message + string$.x0a_BUG_;
  105008. },
  105009. get$message(receiver) {
  105010. return this.message;
  105011. }
  105012. };
  105013. A.MultiSpanSassScriptException0.prototype = {
  105014. withSpan$1(span) {
  105015. return A.MultiSpanSassException$0(this.message, span, this.primaryLabel, this.secondarySpans, null);
  105016. }
  105017. };
  105018. A.Exports.prototype = {};
  105019. A.LoggerNamespace.prototype = {};
  105020. A.Expression0.prototype = {$isAstNode0: 1, $isSassNode: 1};
  105021. A.JSExpressionVisitor.prototype = {
  105022. visitBinaryOperationExpression$1(_, node) {
  105023. return J.visitBinaryOperationExpression$1$x(this._expression$_inner, node);
  105024. },
  105025. visitBooleanExpression$1(_, node) {
  105026. return J.visitBooleanExpression$1$x(this._expression$_inner, node);
  105027. },
  105028. visitColorExpression$1(_, node) {
  105029. return J.visitColorExpression$1$x(this._expression$_inner, node);
  105030. },
  105031. visitInterpolatedFunctionExpression$1(_, node) {
  105032. return J.visitInterpolatedFunctionExpression$1$x(this._expression$_inner, node);
  105033. },
  105034. visitFunctionExpression$1(_, node) {
  105035. return J.visitFunctionExpression$1$x(this._expression$_inner, node);
  105036. },
  105037. visitIfExpression$1(_, node) {
  105038. return J.visitIfExpression$1$x(this._expression$_inner, node);
  105039. },
  105040. visitListExpression$1(_, node) {
  105041. return J.visitListExpression$1$x(this._expression$_inner, node);
  105042. },
  105043. visitMapExpression$1(_, node) {
  105044. return J.visitMapExpression$1$x(this._expression$_inner, node);
  105045. },
  105046. visitNullExpression$1(_, node) {
  105047. return J.visitNullExpression$1$x(this._expression$_inner, node);
  105048. },
  105049. visitNumberExpression$1(_, node) {
  105050. return J.visitNumberExpression$1$x(this._expression$_inner, node);
  105051. },
  105052. visitParenthesizedExpression$1(_, node) {
  105053. return J.visitParenthesizedExpression$1$x(this._expression$_inner, node);
  105054. },
  105055. visitSelectorExpression$1(_, node) {
  105056. return J.visitSelectorExpression$1$x(this._expression$_inner, node);
  105057. },
  105058. visitStringExpression$1(_, node) {
  105059. return J.visitStringExpression$1$x(this._expression$_inner, node);
  105060. },
  105061. visitSupportsExpression$1(_, node) {
  105062. return J.visitSupportsExpression$1$x(this._expression$_inner, node);
  105063. },
  105064. visitUnaryOperationExpression$1(_, node) {
  105065. return J.visitUnaryOperationExpression$1$x(this._expression$_inner, node);
  105066. },
  105067. visitValueExpression$1(_, node) {
  105068. return J.visitValueExpression$1$x(this._expression$_inner, node);
  105069. },
  105070. visitVariableExpression$1(_, node) {
  105071. return J.visitVariableExpression$1$x(this._expression$_inner, node);
  105072. },
  105073. $isExpressionVisitor: 1
  105074. };
  105075. A.JSExpressionVisitorObject.prototype = {};
  105076. A._MakeExpressionCalculationSafe0.prototype = {
  105077. visitBinaryOperationExpression$1(_, node) {
  105078. var t1, t2, t3, t4;
  105079. if (node.operator === B.BinaryOperator_s7T0) {
  105080. t1 = A._setArrayType([node], type$.JSArray_Expression_2);
  105081. t2 = node.get$span(0);
  105082. t3 = type$.Expression_2;
  105083. t1 = A.List_List$unmodifiable(t1, t3);
  105084. t3 = A.ConstantMap_ConstantMap$from(B.Map_empty14, type$.String, t3);
  105085. t4 = node.get$span(0);
  105086. t1 = new A.FunctionExpression0("math", A.stringReplaceAllUnchecked("max", "_", "-"), "max", new A.ArgumentList0(t1, t3, null, null, t2), t4);
  105087. } else
  105088. t1 = this.super$ReplaceExpressionVisitor$visitBinaryOperationExpression0(0, node);
  105089. return t1;
  105090. },
  105091. visitInterpolatedFunctionExpression$1(_, node) {
  105092. return node;
  105093. },
  105094. visitUnaryOperationExpression$1(_, node) {
  105095. var t1,
  105096. _0_0 = node.operator;
  105097. $label0$0: {
  105098. if (B.UnaryOperator_Rbl0 === _0_0) {
  105099. t1 = node.operand;
  105100. break $label0$0;
  105101. }
  105102. if (B.UnaryOperator_UCP0 === _0_0) {
  105103. t1 = new A.BinaryOperationExpression0(B.BinaryOperator_tht0, new A.NumberExpression0(-1, null, node.span), node.operand, false);
  105104. break $label0$0;
  105105. }
  105106. t1 = this.super$ReplaceExpressionVisitor$visitUnaryOperationExpression0(0, node);
  105107. break $label0$0;
  105108. }
  105109. return t1;
  105110. },
  105111. $isExpressionVisitor: 1
  105112. };
  105113. A.__MakeExpressionCalculationSafe_Object_ReplaceExpressionVisitor0.prototype = {};
  105114. A.ExtendRule0.prototype = {
  105115. accept$1$1(visitor) {
  105116. return visitor.visitExtendRule$1(0, this);
  105117. },
  105118. accept$1(visitor) {
  105119. return this.accept$1$1(visitor, type$.dynamic);
  105120. },
  105121. toString$0(_) {
  105122. var t1 = this.selector.toString$0(0),
  105123. t2 = this.isOptional ? " !optional" : "";
  105124. return "@extend " + t1 + t2 + ";";
  105125. },
  105126. get$span(receiver) {
  105127. return this.span;
  105128. }
  105129. };
  105130. A.Extension0.prototype = {
  105131. toString$0(_) {
  105132. var t1 = this.extender.toString$0(0),
  105133. t2 = this.target.toString$0(0),
  105134. t3 = this.isOptional ? " !optional" : "";
  105135. return t1 + " {@extend " + t2 + t3 + "}";
  105136. }
  105137. };
  105138. A.Extender0.prototype = {
  105139. assertCompatibleMediaContext$1(mediaContext) {
  105140. var expectedMediaContext,
  105141. extension = this._extension$_extension;
  105142. if (extension == null)
  105143. return;
  105144. expectedMediaContext = extension.mediaContext;
  105145. if (expectedMediaContext == null)
  105146. return;
  105147. if (mediaContext != null && B.C_ListEquality.equals$2(0, expectedMediaContext, mediaContext))
  105148. return;
  105149. throw A.wrapException(A.SassException$0(string$.You_ma, extension.span, null));
  105150. },
  105151. toString$0(_) {
  105152. return A.serializeSelector0(this.selector, true);
  105153. }
  105154. };
  105155. A.ExtensionStore0.prototype = {
  105156. get$isEmpty(_) {
  105157. return this._extension_store$_extensions.__js_helper$_length === 0;
  105158. },
  105159. get$simpleSelectors() {
  105160. return new A.MapKeySet(this._extension_store$_selectors, type$.MapKeySet_SimpleSelector_2);
  105161. },
  105162. extensionsWhereTarget$1(callback) {
  105163. return new A._SyncStarIterable(this.extensionsWhereTarget$body$ExtensionStore0(callback), type$._SyncStarIterable_Extension_2);
  105164. },
  105165. extensionsWhereTarget$body$ExtensionStore0($async$callback) {
  105166. var $async$self = this;
  105167. return function() {
  105168. var callback = $async$callback;
  105169. var $async$goto = 0, $async$handler = 1, $async$errorStack = [], t1, t2, simple, sources, t3;
  105170. return function $async$extensionsWhereTarget$1($async$iterator, $async$errorCode, $async$result) {
  105171. if ($async$errorCode === 1) {
  105172. $async$errorStack.push($async$result);
  105173. $async$goto = $async$handler;
  105174. }
  105175. while (true)
  105176. switch ($async$goto) {
  105177. case 0:
  105178. // Function start
  105179. t1 = A.MapExtensions_get_pairs0($async$self._extension_store$_extensions, type$.SimpleSelector_2, type$.Map_ComplexSelector_Extension_2), t1 = t1.get$iterator(t1);
  105180. case 2:
  105181. // for condition
  105182. if (!t1.moveNext$0()) {
  105183. // goto after for
  105184. $async$goto = 3;
  105185. break;
  105186. }
  105187. t2 = t1.get$current(t1);
  105188. simple = t2._0;
  105189. sources = t2._1;
  105190. if (!callback.call$1(simple)) {
  105191. // goto for condition
  105192. $async$goto = 2;
  105193. break;
  105194. }
  105195. t2 = sources.get$values(sources), t2 = t2.get$iterator(t2);
  105196. case 4:
  105197. // for condition
  105198. if (!t2.moveNext$0()) {
  105199. // goto after for
  105200. $async$goto = 5;
  105201. break;
  105202. }
  105203. t3 = t2.get$current(t2);
  105204. $async$goto = t3 instanceof A.MergedExtension0 ? 6 : 8;
  105205. break;
  105206. case 6:
  105207. // then
  105208. t3 = t3.unmerge$0();
  105209. $async$goto = 9;
  105210. return $async$iterator._yieldStar$1(new A.WhereIterable(t3, new A.ExtensionStore_extensionsWhereTarget_closure0(), t3.$ti._eval$1("WhereIterable<Iterable.E>")));
  105211. case 9:
  105212. // after yield
  105213. // goto join
  105214. $async$goto = 7;
  105215. break;
  105216. case 8:
  105217. // else
  105218. $async$goto = !t3.isOptional ? 10 : 11;
  105219. break;
  105220. case 10:
  105221. // then
  105222. $async$goto = 12;
  105223. return $async$iterator._async$_current = t3, 1;
  105224. case 12:
  105225. // after yield
  105226. case 11:
  105227. // join
  105228. case 7:
  105229. // join
  105230. // goto for condition
  105231. $async$goto = 4;
  105232. break;
  105233. case 5:
  105234. // after for
  105235. // goto for condition
  105236. $async$goto = 2;
  105237. break;
  105238. case 3:
  105239. // after for
  105240. // implicit return
  105241. return 0;
  105242. case 1:
  105243. // rethrow
  105244. return $async$iterator._datum = $async$errorStack.at(-1), 3;
  105245. }
  105246. };
  105247. };
  105248. },
  105249. addSelector$2(selector, mediaContext) {
  105250. var originalSelector, error, stackTrace, t1, exception, t2, t3, t4, modifiableSelector, _this = this;
  105251. selector = selector;
  105252. originalSelector = selector;
  105253. if (!originalSelector.accept$1(B._IsInvisibleVisitor_true0))
  105254. _this._extension_store$_originals.addAll$1(0, originalSelector.components);
  105255. t1 = _this._extension_store$_extensions;
  105256. if (t1.__js_helper$_length !== 0)
  105257. try {
  105258. selector = _this._extension_store$_extendList$3(originalSelector, t1, mediaContext);
  105259. } catch (exception) {
  105260. t1 = A.unwrapException(exception);
  105261. if (t1 instanceof A.SassException0) {
  105262. error = t1;
  105263. stackTrace = A.getTraceFromException(exception);
  105264. t1 = error;
  105265. t2 = J.getInterceptor$z(t1);
  105266. t1 = A.SourceSpanException.prototype.get$span.call(t2, t1).message$1(0, "");
  105267. t2 = error._span_exception$_message;
  105268. t3 = error;
  105269. t4 = J.getInterceptor$z(t3);
  105270. t3 = A.SourceSpanException.prototype.get$span.call(t4, t3);
  105271. A.throwWithTrace0(new A.SassException0(B.Set_empty, "From " + t1 + "\n" + t2, t3), error, stackTrace);
  105272. } else
  105273. throw exception;
  105274. }
  105275. modifiableSelector = new A.ModifiableBox0(selector, type$.ModifiableBox_SelectorList_2);
  105276. if (mediaContext != null)
  105277. _this._extension_store$_mediaContexts.$indexSet(0, modifiableSelector, mediaContext);
  105278. _this._extension_store$_registerSelector$2(selector, modifiableSelector);
  105279. return new A.Box0(modifiableSelector, type$.Box_SelectorList_2);
  105280. },
  105281. _extension_store$_registerSelector$2(list, selector) {
  105282. var t1, t2, t3, t4, _i, t5, t6, _i0, t7, t8, _i1, simple, _0_2_isSet, _0_2, t9, selectorInPseudo;
  105283. for (t1 = list.components, t2 = t1.length, t3 = this._extension_store$_selectors, t4 = type$.SelectorList_2, _i = 0; _i < t2; ++_i)
  105284. for (t5 = t1[_i].components, t6 = t5.length, _i0 = 0; _i0 < t6; ++_i0)
  105285. for (t7 = t5[_i0].selector.components, t8 = t7.length, _i1 = 0; _i1 < t8; ++_i1) {
  105286. simple = t7[_i1];
  105287. t3.putIfAbsent$2(simple, new A.ExtensionStore__registerSelector_closure0()).add$1(0, selector);
  105288. _0_2_isSet = simple instanceof A.PseudoSelector0;
  105289. _0_2 = null;
  105290. if (_0_2_isSet) {
  105291. _0_2 = simple.selector;
  105292. t9 = _0_2;
  105293. t9 = t9 != null;
  105294. } else
  105295. t9 = false;
  105296. if (t9) {
  105297. selectorInPseudo = _0_2_isSet ? _0_2 : simple.selector;
  105298. this._extension_store$_registerSelector$2(selectorInPseudo == null ? t4._as(selectorInPseudo) : selectorInPseudo, selector);
  105299. }
  105300. }
  105301. },
  105302. addExtension$4(extender, target, extend, mediaContext) {
  105303. var t2, t3, t4, t5, t6, t7, t8, t9, t10, newExtensions, _i, complex, t11, extension, _0_0, t12, newExtensionsByTarget, additionalExtensions, _this = this,
  105304. selectors = _this._extension_store$_selectors.$index(0, target),
  105305. t1 = _this._extension_store$_extensionsByExtender,
  105306. existingExtensions = t1.$index(0, target),
  105307. sources = _this._extension_store$_extensions.putIfAbsent$2(target, new A.ExtensionStore_addExtension_closure2());
  105308. for (t2 = extender.components, t3 = t2.length, t4 = selectors == null, t5 = _this._extension_store$_sourceSpecificity, t6 = extend.span, t7 = extend.isOptional, t8 = existingExtensions != null, t9 = type$.ComplexSelector_2, t10 = type$.Extension_2, newExtensions = null, _i = 0; _i < t3; ++_i) {
  105309. complex = t2[_i];
  105310. if (complex.accept$1(B.C__IsUselessVisitor0))
  105311. continue;
  105312. complex.get$specificity();
  105313. t11 = new A.Extender0(complex, false);
  105314. extension = t11._extension$_extension = new A.Extension0(t11, target, mediaContext, t7, t6);
  105315. _0_0 = sources.$index(0, complex);
  105316. if (_0_0 != null) {
  105317. sources.$indexSet(0, complex, A.MergedExtension_merge0(_0_0, extension));
  105318. continue;
  105319. }
  105320. sources.$indexSet(0, complex, extension);
  105321. for (t11 = new A._SyncStarIterator(_this._extension_store$_simpleSelectors$1(complex)._outerHelper()); t11.moveNext$0();) {
  105322. t12 = t11._async$_current;
  105323. J.add$1$ax(t1.putIfAbsent$2(t12, new A.ExtensionStore_addExtension_closure3()), extension);
  105324. t5.putIfAbsent$2(t12, new A.ExtensionStore_addExtension_closure4(complex));
  105325. }
  105326. if (!t4 || t8) {
  105327. if (newExtensions == null)
  105328. newExtensions = A.LinkedHashMap_LinkedHashMap$_empty(t9, t10);
  105329. newExtensions.$indexSet(0, complex, extension);
  105330. }
  105331. }
  105332. if (newExtensions == null)
  105333. return;
  105334. t1 = type$.SimpleSelector_2;
  105335. newExtensionsByTarget = A.LinkedHashMap_LinkedHashMap$_literal([target, newExtensions], t1, type$.Map_ComplexSelector_Extension_2);
  105336. if (t8) {
  105337. additionalExtensions = _this._extension_store$_extendExistingExtensions$2(existingExtensions, newExtensionsByTarget);
  105338. if (additionalExtensions != null)
  105339. A.mapAddAll20(newExtensionsByTarget, additionalExtensions, t1, t9, t10);
  105340. }
  105341. if (!t4)
  105342. _this._extension_store$_extendExistingSelectors$2(selectors, newExtensionsByTarget);
  105343. },
  105344. _extension_store$_simpleSelectors$1(complex) {
  105345. return new A._SyncStarIterable(this._simpleSelectors$body$ExtensionStore0(complex), type$._SyncStarIterable_SimpleSelector_2);
  105346. },
  105347. _simpleSelectors$body$ExtensionStore0($async$complex) {
  105348. var $async$self = this;
  105349. return function() {
  105350. var complex = $async$complex;
  105351. var $async$goto = 0, $async$handler = 1, $async$errorStack = [], t1, t2, t3, _i, t4, t5, _i0, simple, _0_2_isSet, _0_2, t6, selector, t7, _i1;
  105352. return function $async$_extension_store$_simpleSelectors$1($async$iterator, $async$errorCode, $async$result) {
  105353. if ($async$errorCode === 1) {
  105354. $async$errorStack.push($async$result);
  105355. $async$goto = $async$handler;
  105356. }
  105357. while (true)
  105358. switch ($async$goto) {
  105359. case 0:
  105360. // Function start
  105361. t1 = complex.components, t2 = t1.length, t3 = type$.SelectorList_2, _i = 0;
  105362. case 2:
  105363. // for condition
  105364. if (!(_i < t2)) {
  105365. // goto after for
  105366. $async$goto = 4;
  105367. break;
  105368. }
  105369. t4 = t1[_i].selector.components, t5 = t4.length, _i0 = 0;
  105370. case 5:
  105371. // for condition
  105372. if (!(_i0 < t5)) {
  105373. // goto after for
  105374. $async$goto = 7;
  105375. break;
  105376. }
  105377. simple = t4[_i0];
  105378. $async$goto = 8;
  105379. return $async$iterator._async$_current = simple, 1;
  105380. case 8:
  105381. // after yield
  105382. _0_2_isSet = simple instanceof A.PseudoSelector0;
  105383. _0_2 = null;
  105384. if (_0_2_isSet) {
  105385. _0_2 = simple.selector;
  105386. t6 = _0_2;
  105387. t6 = t6 != null;
  105388. } else
  105389. t6 = false;
  105390. $async$goto = t6 ? 9 : 10;
  105391. break;
  105392. case 9:
  105393. // then
  105394. selector = _0_2_isSet ? _0_2 : simple.selector;
  105395. t6 = (selector == null ? t3._as(selector) : selector).components, t7 = t6.length, _i1 = 0;
  105396. case 11:
  105397. // for condition
  105398. if (!(_i1 < t7)) {
  105399. // goto after for
  105400. $async$goto = 13;
  105401. break;
  105402. }
  105403. $async$goto = 14;
  105404. return $async$iterator._yieldStar$1($async$self._extension_store$_simpleSelectors$1(t6[_i1]));
  105405. case 14:
  105406. // after yield
  105407. case 12:
  105408. // for update
  105409. ++_i1;
  105410. // goto for condition
  105411. $async$goto = 11;
  105412. break;
  105413. case 13:
  105414. // after for
  105415. case 10:
  105416. // join
  105417. case 6:
  105418. // for update
  105419. ++_i0;
  105420. // goto for condition
  105421. $async$goto = 5;
  105422. break;
  105423. case 7:
  105424. // after for
  105425. case 3:
  105426. // for update
  105427. ++_i;
  105428. // goto for condition
  105429. $async$goto = 2;
  105430. break;
  105431. case 4:
  105432. // after for
  105433. // implicit return
  105434. return 0;
  105435. case 1:
  105436. // rethrow
  105437. return $async$iterator._datum = $async$errorStack.at(-1), 3;
  105438. }
  105439. };
  105440. };
  105441. },
  105442. _extension_store$_extendExistingExtensions$2(extensions, newExtensions) {
  105443. var extension, selectors, error, stackTrace, t1, t2, t3, t4, t5, t6, additionalExtensions, _i, t7, exception, t8, t9, selectors0, t10, t11, t12, t13, t14, withExtender, _0_0, _i0, _i1;
  105444. 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) {
  105445. extension = t1[_i];
  105446. t7 = t6.$index(0, extension.target);
  105447. t7.toString;
  105448. selectors = null;
  105449. try {
  105450. selectors = this._extension_store$_extendComplex$3(extension.extender.selector, newExtensions, extension.mediaContext);
  105451. if (selectors == null)
  105452. continue;
  105453. } catch (exception) {
  105454. t8 = A.unwrapException(exception);
  105455. if (t8 instanceof A.SassException0) {
  105456. error = t8;
  105457. stackTrace = A.getTraceFromException(exception);
  105458. A.throwWithTrace0(error.withAdditionalSpan$2(extension.extender.selector.span, "target selector"), error, stackTrace);
  105459. } else
  105460. throw exception;
  105461. }
  105462. t8 = J.get$first$ax(selectors);
  105463. t9 = extension.extender.selector;
  105464. if (B.C_ListEquality.equals$2(0, t8.leadingCombinators, t9.leadingCombinators) && B.C_ListEquality.equals$2(0, t8.components, t9.components)) {
  105465. t8 = selectors;
  105466. t9 = A._arrayInstanceType(t8);
  105467. selectors0 = new A.SubListIterable(t8, 1, null, t9._eval$1("SubListIterable<1>"));
  105468. selectors0.SubListIterable$3(t8, 1, null, t9._precomputed1);
  105469. selectors = selectors0;
  105470. }
  105471. for (t8 = J.get$iterator$ax(selectors); t8.moveNext$0();) {
  105472. t9 = t8.get$current(t8);
  105473. t10 = extension;
  105474. t11 = t10.target;
  105475. t12 = t10.span;
  105476. t13 = t10.mediaContext;
  105477. t10 = t10.isOptional;
  105478. t9.get$specificity();
  105479. t14 = new A.Extender0(t9, false);
  105480. withExtender = t14._extension$_extension = new A.Extension0(t14, t11, t13, t10, t12);
  105481. _0_0 = t7.$index(0, t9);
  105482. if (_0_0 != null)
  105483. t7.$indexSet(0, t9, A.MergedExtension_merge0(_0_0, withExtender));
  105484. else {
  105485. t7.$indexSet(0, t9, withExtender);
  105486. for (t10 = t9.components, t11 = t10.length, _i0 = 0; _i0 < t11; ++_i0)
  105487. for (t12 = t10[_i0].selector.components, t13 = t12.length, _i1 = 0; _i1 < t13; ++_i1)
  105488. J.add$1$ax(t3.putIfAbsent$2(t12[_i1], new A.ExtensionStore__extendExistingExtensions_closure1()), withExtender);
  105489. if (newExtensions.containsKey$1(extension.target)) {
  105490. if (additionalExtensions == null)
  105491. additionalExtensions = A.LinkedHashMap_LinkedHashMap$_empty(t4, t5);
  105492. additionalExtensions.putIfAbsent$2(extension.target, new A.ExtensionStore__extendExistingExtensions_closure2()).$indexSet(0, t9, withExtender);
  105493. }
  105494. }
  105495. }
  105496. }
  105497. return additionalExtensions;
  105498. },
  105499. _extension_store$_extendExistingSelectors$2(selectors, newExtensions) {
  105500. var selector, error, stackTrace, t1, t2, oldValue, exception, t3, t4, t5, t6;
  105501. for (t1 = selectors.get$iterator(selectors), t2 = this._extension_store$_mediaContexts; t1.moveNext$0();) {
  105502. selector = t1.get$current(t1);
  105503. oldValue = selector.value;
  105504. try {
  105505. selector.value = this._extension_store$_extendList$3(selector.value, newExtensions, t2.$index(0, selector));
  105506. } catch (exception) {
  105507. t3 = A.unwrapException(exception);
  105508. if (t3 instanceof A.SassException0) {
  105509. error = t3;
  105510. stackTrace = A.getTraceFromException(exception);
  105511. t3 = selector.value.span.message$1(0, "");
  105512. t4 = error._span_exception$_message;
  105513. t5 = error;
  105514. t6 = J.getInterceptor$z(t5);
  105515. t5 = A.SourceSpanException.prototype.get$span.call(t6, t5);
  105516. A.throwWithTrace0(new A.SassException0(B.Set_empty, "From " + t3 + "\n" + t4, t5), error, stackTrace);
  105517. } else
  105518. throw exception;
  105519. }
  105520. if (oldValue === selector.value)
  105521. continue;
  105522. this._extension_store$_registerSelector$2(selector.value, selector);
  105523. }
  105524. },
  105525. addExtensions$1(extensionStores) {
  105526. var t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, newExtensions, selectorsToExtend, extensionsToExtend, t12, t13, target, newSources, first, extensionsForTarget, t14, selectorsForTarget, t15, _2_0, t16, extender, extension, _this = this, _null = null;
  105527. for (t1 = J.get$iterator$ax(extensionStores), t2 = type$.SimpleSelector_2, t3 = type$.Map_ComplexSelector_Extension_2, t4 = _this._extension_store$_extensions, t5 = type$.ComplexSelector_2, t6 = type$.Extension_2, t7 = _this._extension_store$_selectors, t8 = _this._extension_store$_extensionsByExtender, t9 = type$.JSArray_Extension_2, t10 = type$.ModifiableBox_SelectorList_2, t11 = _this._extension_store$_sourceSpecificity, newExtensions = _null, selectorsToExtend = newExtensions, extensionsToExtend = selectorsToExtend; t1.moveNext$0();) {
  105528. t12 = t1.get$current(t1);
  105529. if (t12.get$isEmpty(t12))
  105530. continue;
  105531. t11.addAll$1(0, t12.get$_extension_store$_sourceSpecificity());
  105532. for (t12 = A.MapExtensions_get_pairs0(t12.get$_extension_store$_extensions(), t2, t3), t12 = t12.get$iterator(t12); t12.moveNext$0();) {
  105533. t13 = t12.get$current(t12);
  105534. target = t13._0;
  105535. newSources = t13._1;
  105536. if (target instanceof A.PlaceholderSelector0) {
  105537. first = target.name.charCodeAt(0);
  105538. t13 = first === 45 || first === 95;
  105539. } else
  105540. t13 = false;
  105541. if (t13)
  105542. continue;
  105543. extensionsForTarget = t8.$index(0, target);
  105544. t13 = extensionsForTarget == null;
  105545. if (!t13) {
  105546. if (extensionsToExtend == null) {
  105547. extensionsToExtend = A._setArrayType([], t9);
  105548. t14 = extensionsToExtend;
  105549. } else
  105550. t14 = extensionsToExtend;
  105551. B.JSArray_methods.addAll$1(t14, extensionsForTarget);
  105552. }
  105553. selectorsForTarget = t7.$index(0, target);
  105554. t14 = selectorsForTarget != null;
  105555. if (t14) {
  105556. if (selectorsToExtend == null) {
  105557. selectorsToExtend = A.LinkedHashSet_LinkedHashSet$_empty(t10);
  105558. t15 = selectorsToExtend;
  105559. } else
  105560. t15 = selectorsToExtend;
  105561. t15.addAll$1(0, selectorsForTarget);
  105562. }
  105563. _2_0 = t4.$index(0, target);
  105564. if (_2_0 != null)
  105565. for (t15 = A.MapExtensions_get_pairs0(newSources, t5, t6), t15 = t15.get$iterator(t15); t15.moveNext$0();) {
  105566. t16 = t15.get$current(t15);
  105567. extender = t16._0;
  105568. extension = t16._1;
  105569. if (_2_0.containsKey$1(extender)) {
  105570. t16 = _2_0.$index(0, extender);
  105571. extension = A.MergedExtension_merge0(t16 == null ? t6._as(t16) : t16, extension);
  105572. _2_0.$indexSet(0, extender, extension);
  105573. } else
  105574. _2_0.$indexSet(0, extender, extension);
  105575. if (!t13 || t14) {
  105576. if (newExtensions == null) {
  105577. newExtensions = A.LinkedHashMap_LinkedHashMap$_empty(t2, t3);
  105578. t16 = newExtensions;
  105579. } else
  105580. t16 = newExtensions;
  105581. t16.putIfAbsent$2(target, new A.ExtensionStore_addExtensions_closure0()).$indexSet(0, extender, extension);
  105582. }
  105583. }
  105584. else {
  105585. t15 = A.LinkedHashMap_LinkedHashMap(_null, _null, _null, t5, t6);
  105586. t15.addAll$1(0, newSources);
  105587. t4.$indexSet(0, target, t15);
  105588. if (!t13 || t14) {
  105589. if (newExtensions == null) {
  105590. newExtensions = A.LinkedHashMap_LinkedHashMap$_empty(t2, t3);
  105591. t13 = newExtensions;
  105592. } else
  105593. t13 = newExtensions;
  105594. t14 = A.LinkedHashMap_LinkedHashMap(_null, _null, _null, t5, t6);
  105595. t14.addAll$1(0, newSources);
  105596. t13.$indexSet(0, target, t14);
  105597. }
  105598. }
  105599. }
  105600. }
  105601. if (newExtensions != null) {
  105602. if (extensionsToExtend != null)
  105603. _this._extension_store$_extendExistingExtensions$2(extensionsToExtend, newExtensions);
  105604. if (selectorsToExtend != null)
  105605. _this._extension_store$_extendExistingSelectors$2(selectorsToExtend, newExtensions);
  105606. }
  105607. },
  105608. _extension_store$_extendList$3(list, extensions, mediaQueryContext) {
  105609. var t1, t2, t3, extended, i, complex, result, t4;
  105610. for (t1 = list.components, t2 = t1.length, t3 = type$.JSArray_ComplexSelector_2, extended = null, i = 0; i < t2; ++i) {
  105611. complex = t1[i];
  105612. result = this._extension_store$_extendComplex$3(complex, extensions, mediaQueryContext);
  105613. if (result == null) {
  105614. if (extended != null)
  105615. extended.push(complex);
  105616. } else {
  105617. if (extended == null)
  105618. if (i === 0)
  105619. extended = A._setArrayType([], t3);
  105620. else {
  105621. t4 = B.JSArray_methods.sublist$2(t1, 0, i);
  105622. extended = A._setArrayType(t4.slice(0), A._arrayInstanceType(t4));
  105623. }
  105624. B.JSArray_methods.addAll$1(extended, result);
  105625. }
  105626. }
  105627. if (extended == null)
  105628. return list;
  105629. t1 = this._extension_store$_originals;
  105630. return A.SelectorList$0(this._extension_store$_trim$2(extended, t1.get$contains(t1)), list.span);
  105631. },
  105632. _extension_store$_extendList$2(list, extensions) {
  105633. return this._extension_store$_extendList$3(list, extensions, null);
  105634. },
  105635. _extension_store$_extendComplex$3(complex, extensions, mediaQueryContext) {
  105636. var isOriginal, t3, t4, t5, t6, t7, t8, t9, t10, extendedNotExpanded, i, component, extended, t11, t12, t13, t14, _box_0 = {},
  105637. t1 = complex.leadingCombinators,
  105638. t2 = t1.length;
  105639. if (t2 > 1)
  105640. return null;
  105641. isOriginal = this._extension_store$_originals.contains$1(0, complex);
  105642. for (t3 = complex.components, t4 = t3.length, t5 = type$.JSArray_List_ComplexSelector_2, t6 = complex.lineBreak, t7 = !t6, t8 = complex.span, t9 = type$.JSArray_ComplexSelector_2, t2 = t2 === 0, t10 = type$.JSArray_ComplexSelectorComponent_2, extendedNotExpanded = null, i = 0; i < t4; ++i) {
  105643. component = t3[i];
  105644. extended = this._extension_store$_extendCompound$4$inOriginal(component, extensions, mediaQueryContext, isOriginal);
  105645. if (extended == null) {
  105646. if (extendedNotExpanded != null)
  105647. extendedNotExpanded.push(A._setArrayType([A.ComplexSelector$0(B.List_empty16, A._setArrayType([component], t10), t8, t6)], t9));
  105648. } else if (extendedNotExpanded != null)
  105649. extendedNotExpanded.push(extended);
  105650. else if (i !== 0) {
  105651. t11 = A._arrayInstanceType(t3);
  105652. t12 = new A.SubListIterable(t3, 0, i, t11._eval$1("SubListIterable<1>"));
  105653. t12.SubListIterable$3(t3, 0, i, t11._precomputed1);
  105654. extendedNotExpanded = A._setArrayType([A._setArrayType([A.ComplexSelector$0(t1, t12, t8, t6)], t9), extended], t5);
  105655. } else if (t2)
  105656. extendedNotExpanded = A._setArrayType([extended], t5);
  105657. else {
  105658. t11 = A._setArrayType([], t9);
  105659. for (t12 = J.get$iterator$ax(extended); t12.moveNext$0();) {
  105660. t13 = t12.get$current(t12);
  105661. t14 = t13.leadingCombinators;
  105662. if (t14.length === 0 || B.C_ListEquality.equals$2(0, t1, t14)) {
  105663. t14 = t13.components;
  105664. t11.push(A.ComplexSelector$0(t1, t14, t8, !t7 || t13.lineBreak));
  105665. }
  105666. }
  105667. extendedNotExpanded = A._setArrayType([t11], t5);
  105668. }
  105669. }
  105670. if (extendedNotExpanded == null)
  105671. return null;
  105672. _box_0.first = true;
  105673. t1 = type$.ComplexSelector_2;
  105674. t1 = J.expand$1$1$ax(A.paths0(extendedNotExpanded, t1), new A.ExtensionStore__extendComplex_closure0(_box_0, this, complex), t1);
  105675. t1 = A.List_List$_of(t1, t1.$ti._eval$1("Iterable.E"));
  105676. return t1;
  105677. },
  105678. _extension_store$_extendCompound$4$inOriginal(component, extensions, mediaQueryContext, inOriginal) {
  105679. var t3, t4, t5, t6, t7, t8, t9, t10, t11, options, i, simple, extended, t12, result, compound, complex, extenderPaths, withCombinators, isOriginal, _this = this, _null = null,
  105680. t1 = _this._extension_store$_mode,
  105681. targetsUsed = t1 === B.ExtendMode_normal_normal0 || extensions.__js_helper$_length < 2 ? _null : A.LinkedHashSet_LinkedHashSet$_empty(type$.SimpleSelector_2),
  105682. t2 = component.selector,
  105683. simples = t2.components;
  105684. for (t3 = simples.length, t4 = type$.JSArray_List_Extender_2, t5 = type$.JSArray_Extender_2, t6 = type$.CssValue_Combinator_2, t7 = type$.JSArray_ComplexSelectorComponent_2, t8 = A._arrayInstanceType(simples), t9 = t8._precomputed1, t8 = t8._eval$1("SubListIterable<1>"), t10 = component.span, t11 = type$.SimpleSelector_2, options = _null, i = 0; i < t3; ++i) {
  105685. simple = simples[i];
  105686. extended = _this._extension_store$_extendSimple$4(simple, extensions, mediaQueryContext, targetsUsed);
  105687. if (extended == null) {
  105688. if (options != null)
  105689. options.push(A._setArrayType([_this._extension_store$_extenderForSimple$1(simple)], t5));
  105690. } else {
  105691. if (options == null) {
  105692. options = A._setArrayType([], t4);
  105693. if (i !== 0) {
  105694. t12 = new A.SubListIterable(simples, 0, i, t8);
  105695. t12.SubListIterable$3(simples, 0, i, t9);
  105696. result = A.List_List$from(t12, false, t11);
  105697. result.$flags = 3;
  105698. t12 = result;
  105699. compound = new A.CompoundSelector0(t12, t10);
  105700. if (t12.length === 0)
  105701. A.throwExpression(A.ArgumentError$("components may not be empty.", _null));
  105702. result = A.List_List$from(B.List_empty16, false, t6);
  105703. result.$flags = 3;
  105704. t12 = A.ComplexSelector$0(B.List_empty16, A._setArrayType([new A.ComplexSelectorComponent0(compound, result, t10)], t7), t10, false);
  105705. _this._extension_store$_sourceSpecificityFor$1(compound);
  105706. options.push(A._setArrayType([new A.Extender0(t12, true)], t5));
  105707. }
  105708. }
  105709. B.JSArray_methods.addAll$1(options, extended);
  105710. }
  105711. }
  105712. if (options == null)
  105713. return _null;
  105714. if (targetsUsed != null && targetsUsed._collection$_length !== extensions.__js_helper$_length)
  105715. return _null;
  105716. if (options.length === 1) {
  105717. for (t1 = J.get$iterator$ax(options[0]), t2 = component.combinators, t3 = type$.JSArray_ComplexSelector_2, result = _null; t1.moveNext$0();) {
  105718. t4 = t1.get$current(t1);
  105719. t4.assertCompatibleMediaContext$1(mediaQueryContext);
  105720. complex = t4.selector.withAdditionalCombinators$1(t2);
  105721. if (complex.accept$1(B.C__IsUselessVisitor0))
  105722. continue;
  105723. if (result == null)
  105724. result = A._setArrayType([], t3);
  105725. result.push(complex);
  105726. }
  105727. return result;
  105728. }
  105729. extenderPaths = A.paths0(options, type$.Extender_2);
  105730. t3 = A._setArrayType([], type$.JSArray_ComplexSelector_2);
  105731. t1 = t1 === B.ExtendMode_replace_replace0;
  105732. t4 = !t1;
  105733. if (t4)
  105734. t3.push(A.ComplexSelector$0(B.List_empty16, A._setArrayType([new A.ComplexSelectorComponent0(A.CompoundSelector$0(J.expand$1$1$ax(J.get$first$ax(extenderPaths), new A.ExtensionStore__extendCompound_closure2(), t11), t2.span), A.List_List$unmodifiable(component.combinators, t6), t10)], t7), t10, false));
  105735. t2 = J.skip$1$ax(extenderPaths, t1 ? 0 : 1);
  105736. t5 = t2.$ti;
  105737. t2 = new A.ListIterator(t2, t2.get$length(0), t5._eval$1("ListIterator<ListIterable.E>"));
  105738. t6 = component.combinators;
  105739. t5 = t5._eval$1("ListIterable.E");
  105740. for (; t2.moveNext$0();) {
  105741. t1 = t2.__internal$_current;
  105742. extended = _this._extension_store$_unifyExtenders$3(t1 == null ? t5._as(t1) : t1, mediaQueryContext, t10);
  105743. if (extended == null)
  105744. continue;
  105745. for (t1 = J.get$iterator$ax(extended); t1.moveNext$0();) {
  105746. withCombinators = t1.get$current(t1).withAdditionalCombinators$1(t6);
  105747. if (!withCombinators.accept$1(B.C__IsUselessVisitor0))
  105748. t3.push(withCombinators);
  105749. }
  105750. }
  105751. isOriginal = new A.ExtensionStore__extendCompound_closure3();
  105752. return _this._extension_store$_trim$2(t3, inOriginal && t4 ? new A.ExtensionStore__extendCompound_closure4(B.JSArray_methods.get$first(t3)) : isOriginal);
  105753. },
  105754. _extension_store$_unifyExtenders$3(extenders, mediaQueryContext, span) {
  105755. var t1, t2, t3, originals, originalsLineBreak, t4, complexes, _null = null,
  105756. toUnify = A.QueueList$(_null, type$.ComplexSelector_2);
  105757. for (t1 = J.getInterceptor$ax(extenders), t2 = t1.get$iterator(extenders), t3 = type$.JSArray_SimpleSelector_2, originals = _null, originalsLineBreak = false; t2.moveNext$0();) {
  105758. t4 = t2.get$current(t2);
  105759. if (t4.isOriginal) {
  105760. if (originals == null)
  105761. originals = A._setArrayType([], t3);
  105762. t4 = t4.selector;
  105763. B.JSArray_methods.addAll$1(originals, B.JSArray_methods.get$last(t4.components).selector.components);
  105764. originalsLineBreak = originalsLineBreak || t4.lineBreak;
  105765. } else {
  105766. t4 = t4.selector;
  105767. if (t4.accept$1(B.C__IsUselessVisitor0))
  105768. return _null;
  105769. else
  105770. toUnify._queue_list$_add$1(t4);
  105771. }
  105772. }
  105773. if (originals != null)
  105774. toUnify.addFirst$1(A.ComplexSelector$0(B.List_empty16, A._setArrayType([new A.ComplexSelectorComponent0(A.CompoundSelector$0(originals, span), A.List_List$unmodifiable(B.List_empty16, type$.CssValue_Combinator_2), span)], type$.JSArray_ComplexSelectorComponent_2), span, originalsLineBreak));
  105775. complexes = A.unifyComplex0(toUnify, span);
  105776. if (complexes == null)
  105777. return _null;
  105778. for (t1 = t1.get$iterator(extenders); t1.moveNext$0();)
  105779. t1.get$current(t1).assertCompatibleMediaContext$1(mediaQueryContext);
  105780. return complexes;
  105781. },
  105782. _extension_store$_extendSimple$4(simple, extensions, mediaQueryContext, targetsUsed) {
  105783. var t2, _1_0,
  105784. t1 = new A.ExtensionStore__extendSimple_withoutPseudo0(this, extensions, targetsUsed);
  105785. if (simple instanceof A.PseudoSelector0)
  105786. t2 = simple.selector != null;
  105787. else
  105788. t2 = false;
  105789. if (t2) {
  105790. _1_0 = this._extension_store$_extendPseudo$3(simple, extensions, mediaQueryContext);
  105791. if (_1_0 != null)
  105792. return new A.MappedListIterable(_1_0, new A.ExtensionStore__extendSimple_closure1(this, t1), A._arrayInstanceType(_1_0)._eval$1("MappedListIterable<1,List<Extender0>>"));
  105793. }
  105794. return A.NullableExtension_andThen0(t1.call$1(simple), new A.ExtensionStore__extendSimple_closure2());
  105795. },
  105796. _extension_store$_extenderForSimple$1(simple) {
  105797. var t1 = simple.span;
  105798. t1 = A.ComplexSelector$0(B.List_empty16, A._setArrayType([new A.ComplexSelectorComponent0(A.CompoundSelector$0(A._setArrayType([simple], type$.JSArray_SimpleSelector_2), t1), A.List_List$unmodifiable(B.List_empty16, type$.CssValue_Combinator_2), t1)], type$.JSArray_ComplexSelectorComponent_2), t1, false);
  105799. this._extension_store$_sourceSpecificity.$index(0, simple);
  105800. return new A.Extender0(t1, true);
  105801. },
  105802. _extension_store$_extendPseudo$3(pseudo, extensions, mediaQueryContext) {
  105803. var extended, complexes, t1, result,
  105804. selector = pseudo.selector;
  105805. if (selector == null)
  105806. throw A.wrapException(A.ArgumentError$("Selector " + pseudo.toString$0(0) + " must have a selector argument.", null));
  105807. extended = this._extension_store$_extendList$3(selector, extensions, mediaQueryContext);
  105808. if (extended === selector)
  105809. return null;
  105810. complexes = extended.components;
  105811. t1 = pseudo.normalizedName === "not";
  105812. 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()))
  105813. complexes = new A.WhereIterable(complexes, new A.ExtensionStore__extendPseudo_closure6(), A._arrayInstanceType(complexes)._eval$1("WhereIterable<1>"));
  105814. complexes = J.expand$1$1$ax(complexes, new A.ExtensionStore__extendPseudo_closure7(pseudo), type$.ComplexSelector_2);
  105815. if (t1 && selector.components.length === 1) {
  105816. t1 = A.MappedIterable_MappedIterable(complexes, new A.ExtensionStore__extendPseudo_closure8(pseudo, selector), complexes.$ti._eval$1("Iterable.E"), type$.PseudoSelector_2);
  105817. result = A.List_List$_of(t1, A._instanceType(t1)._eval$1("Iterable.E"));
  105818. return result.length === 0 ? null : result;
  105819. } else
  105820. return A._setArrayType([pseudo.withSelector$1(A.SelectorList$0(complexes, selector.span))], type$.JSArray_PseudoSelector_2);
  105821. },
  105822. _extension_store$_trim$2(selectors, isOriginal) {
  105823. var result, i, t1, t2, numOriginals, _box_0, complex1, j, t3, t4, _i, t5, maxSpecificity;
  105824. if (selectors.length > 100)
  105825. return selectors;
  105826. result = A.QueueList$(null, type$.ComplexSelector_2);
  105827. $label0$0:
  105828. for (i = selectors.length - 1, t1 = A._arrayInstanceType(selectors), t2 = t1._precomputed1, t1 = t1._eval$1("SubListIterable<1>"), numOriginals = 0; i >= 0; --i) {
  105829. _box_0 = {};
  105830. complex1 = selectors[i];
  105831. if (isOriginal.call$1(complex1)) {
  105832. for (j = 0; j < numOriginals; ++j)
  105833. if (result.$index(0, j).$eq(0, complex1)) {
  105834. A.rotateSlice0(result, 0, j + 1);
  105835. continue $label0$0;
  105836. }
  105837. ++numOriginals;
  105838. result.addFirst$1(complex1);
  105839. continue $label0$0;
  105840. }
  105841. _box_0.maxSpecificity = 0;
  105842. for (t3 = complex1.components, t4 = t3.length, _i = 0, t5 = 0; _i < t4; ++_i, t5 = maxSpecificity) {
  105843. maxSpecificity = Math.max(t5, this._extension_store$_sourceSpecificityFor$1(t3[_i].selector));
  105844. _box_0.maxSpecificity = maxSpecificity;
  105845. }
  105846. if (result.any$1(result, new A.ExtensionStore__trim_closure1(_box_0, complex1)))
  105847. continue $label0$0;
  105848. t3 = new A.SubListIterable(selectors, 0, i, t1);
  105849. t3.SubListIterable$3(selectors, 0, i, t2);
  105850. if (t3.any$1(0, new A.ExtensionStore__trim_closure2(_box_0, complex1)))
  105851. continue $label0$0;
  105852. result.addFirst$1(complex1);
  105853. }
  105854. return result;
  105855. },
  105856. _extension_store$_sourceSpecificityFor$1(compound) {
  105857. var t1, t2, t3, specificity, _i, t4;
  105858. for (t1 = compound.components, t2 = t1.length, t3 = this._extension_store$_sourceSpecificity, specificity = 0, _i = 0; _i < t2; ++_i) {
  105859. t4 = t3.$index(0, t1[_i]);
  105860. if (t4 == null)
  105861. t4 = 0;
  105862. specificity = Math.max(specificity, t4);
  105863. }
  105864. return specificity;
  105865. },
  105866. clone$0() {
  105867. var t2, t3, t4, _this = this,
  105868. t1 = type$.SimpleSelector_2,
  105869. newSelectors = A.LinkedHashMap_LinkedHashMap$_empty(t1, type$.Set_ModifiableBox_SelectorList_2),
  105870. newMediaContexts = A.LinkedHashMap_LinkedHashMap$_empty(type$.ModifiableBox_SelectorList_2, type$.List_CssMediaQuery_2),
  105871. oldToNewSelectors = new A.JsIdentityLinkedHashMap(type$.JsIdentityLinkedHashMap_of_SelectorList_and_Box_SelectorList_2);
  105872. _this._extension_store$_selectors.forEach$1(0, new A.ExtensionStore_clone_closure0(_this, newSelectors, oldToNewSelectors, newMediaContexts));
  105873. t2 = type$.Extension_2;
  105874. t3 = A.copyMapOfMap0(_this._extension_store$_extensions, t1, type$.ComplexSelector_2, t2);
  105875. t2 = A.copyMapOfList0(_this._extension_store$_extensionsByExtender, t1, t2);
  105876. t1 = new A.JsIdentityLinkedHashMap(type$.JsIdentityLinkedHashMap_SimpleSelector_int_2);
  105877. t1.addAll$1(0, _this._extension_store$_sourceSpecificity);
  105878. t4 = new A._LinkedIdentityHashSet(type$._LinkedIdentityHashSet_ComplexSelector_2);
  105879. t4.addAll$1(0, _this._extension_store$_originals);
  105880. return new A._Record_2(new A.ExtensionStore0(newSelectors, t3, t2, newMediaContexts, t1, t4, B.ExtendMode_normal_normal0), oldToNewSelectors);
  105881. },
  105882. get$_extension_store$_extensions() {
  105883. return this._extension_store$_extensions;
  105884. },
  105885. get$_extension_store$_sourceSpecificity() {
  105886. return this._extension_store$_sourceSpecificity;
  105887. }
  105888. };
  105889. A.ExtensionStore_extensionsWhereTarget_closure0.prototype = {
  105890. call$1(extension) {
  105891. return !extension.isOptional;
  105892. },
  105893. $signature: 465
  105894. };
  105895. A.ExtensionStore__registerSelector_closure0.prototype = {
  105896. call$0() {
  105897. return A.LinkedHashSet_LinkedHashSet$_empty(type$.ModifiableBox_SelectorList_2);
  105898. },
  105899. $signature: 466
  105900. };
  105901. A.ExtensionStore_addExtension_closure2.prototype = {
  105902. call$0() {
  105903. return A.LinkedHashMap_LinkedHashMap$_empty(type$.ComplexSelector_2, type$.Extension_2);
  105904. },
  105905. $signature: 131
  105906. };
  105907. A.ExtensionStore_addExtension_closure3.prototype = {
  105908. call$0() {
  105909. return A._setArrayType([], type$.JSArray_Extension_2);
  105910. },
  105911. $signature: 244
  105912. };
  105913. A.ExtensionStore_addExtension_closure4.prototype = {
  105914. call$0() {
  105915. return this.complex.get$specificity();
  105916. },
  105917. $signature: 10
  105918. };
  105919. A.ExtensionStore__extendExistingExtensions_closure1.prototype = {
  105920. call$0() {
  105921. return A._setArrayType([], type$.JSArray_Extension_2);
  105922. },
  105923. $signature: 244
  105924. };
  105925. A.ExtensionStore__extendExistingExtensions_closure2.prototype = {
  105926. call$0() {
  105927. return A.LinkedHashMap_LinkedHashMap$_empty(type$.ComplexSelector_2, type$.Extension_2);
  105928. },
  105929. $signature: 131
  105930. };
  105931. A.ExtensionStore_addExtensions_closure0.prototype = {
  105932. call$0() {
  105933. return A.LinkedHashMap_LinkedHashMap$_empty(type$.ComplexSelector_2, type$.Extension_2);
  105934. },
  105935. $signature: 131
  105936. };
  105937. A.ExtensionStore__extendComplex_closure0.prototype = {
  105938. call$1(path) {
  105939. var t1 = this.complex;
  105940. return J.map$1$1$ax(A.weave0(path, t1.span, t1.lineBreak), new A.ExtensionStore__extendComplex__closure0(this._box_0, this.$this, t1), type$.ComplexSelector_2);
  105941. },
  105942. $signature: 469
  105943. };
  105944. A.ExtensionStore__extendComplex__closure0.prototype = {
  105945. call$1(outputComplex) {
  105946. var _this = this,
  105947. t1 = _this._box_0;
  105948. if (t1.first && _this.$this._extension_store$_originals.contains$1(0, _this.complex))
  105949. _this.$this._extension_store$_originals.add$1(0, outputComplex);
  105950. t1.first = false;
  105951. return outputComplex;
  105952. },
  105953. $signature: 57
  105954. };
  105955. A.ExtensionStore__extendCompound_closure2.prototype = {
  105956. call$1(extender) {
  105957. return B.JSArray_methods.get$last(extender.selector.components).selector.components;
  105958. },
  105959. $signature: 471
  105960. };
  105961. A.ExtensionStore__extendCompound_closure3.prototype = {
  105962. call$1(_) {
  105963. return false;
  105964. },
  105965. $signature: 21
  105966. };
  105967. A.ExtensionStore__extendCompound_closure4.prototype = {
  105968. call$1(complex) {
  105969. return complex.$eq(0, this.original);
  105970. },
  105971. $signature: 21
  105972. };
  105973. A.ExtensionStore__extendSimple_withoutPseudo0.prototype = {
  105974. call$1(simple) {
  105975. var t1, t2,
  105976. extensionsForSimple = this.extensions.$index(0, simple);
  105977. if (extensionsForSimple == null)
  105978. return null;
  105979. t1 = this.targetsUsed;
  105980. if (t1 != null)
  105981. t1.add$1(0, simple);
  105982. t1 = A._setArrayType([], type$.JSArray_Extender_2);
  105983. t2 = this.$this;
  105984. if (t2._extension_store$_mode !== B.ExtendMode_replace_replace0)
  105985. t1.push(t2._extension_store$_extenderForSimple$1(simple));
  105986. for (t2 = extensionsForSimple.get$values(extensionsForSimple), t2 = t2.get$iterator(t2); t2.moveNext$0();)
  105987. t1.push(t2.get$current(t2).extender);
  105988. return t1;
  105989. },
  105990. $signature: 472
  105991. };
  105992. A.ExtensionStore__extendSimple_closure1.prototype = {
  105993. call$1(pseudo) {
  105994. var t1 = this.withoutPseudo.call$1(pseudo);
  105995. return t1 == null ? A._setArrayType([this.$this._extension_store$_extenderForSimple$1(pseudo)], type$.JSArray_Extender_2) : t1;
  105996. },
  105997. $signature: 473
  105998. };
  105999. A.ExtensionStore__extendSimple_closure2.prototype = {
  106000. call$1(result) {
  106001. return A._setArrayType([result], type$.JSArray_List_Extender_2);
  106002. },
  106003. $signature: 474
  106004. };
  106005. A.ExtensionStore__extendPseudo_closure4.prototype = {
  106006. call$1(complex) {
  106007. return complex.components.length > 1;
  106008. },
  106009. $signature: 21
  106010. };
  106011. A.ExtensionStore__extendPseudo_closure5.prototype = {
  106012. call$1(complex) {
  106013. return complex.components.length === 1;
  106014. },
  106015. $signature: 21
  106016. };
  106017. A.ExtensionStore__extendPseudo_closure6.prototype = {
  106018. call$1(complex) {
  106019. return complex.components.length <= 1;
  106020. },
  106021. $signature: 21
  106022. };
  106023. A.ExtensionStore__extendPseudo_closure7.prototype = {
  106024. call$1(complex) {
  106025. var innerPseudo, innerSelector,
  106026. t1 = complex.get$singleCompound();
  106027. if (t1 == null)
  106028. innerPseudo = null;
  106029. else {
  106030. t1 = t1.components;
  106031. innerPseudo = t1.length === 1 ? B.JSArray_methods.get$first(t1) : null;
  106032. }
  106033. if (!(innerPseudo instanceof A.PseudoSelector0))
  106034. return A._setArrayType([complex], type$.JSArray_ComplexSelector_2);
  106035. innerSelector = innerPseudo.selector;
  106036. if (innerSelector == null)
  106037. return A._setArrayType([complex], type$.JSArray_ComplexSelector_2);
  106038. t1 = this.pseudo;
  106039. switch (t1.normalizedName) {
  106040. case "not":
  106041. if (!B.Set_0egh6.contains$1(0, innerPseudo.normalizedName))
  106042. return A._setArrayType([], type$.JSArray_ComplexSelector_2);
  106043. return innerSelector.components;
  106044. case "is":
  106045. case "matches":
  106046. case "where":
  106047. case "any":
  106048. case "current":
  106049. case "nth-child":
  106050. case "nth-last-child":
  106051. if (innerPseudo.name !== t1.name)
  106052. return A._setArrayType([], type$.JSArray_ComplexSelector_2);
  106053. if (innerPseudo.argument != t1.argument)
  106054. return A._setArrayType([], type$.JSArray_ComplexSelector_2);
  106055. return innerSelector.components;
  106056. case "has":
  106057. case "host":
  106058. case "host-context":
  106059. case "slotted":
  106060. return A._setArrayType([complex], type$.JSArray_ComplexSelector_2);
  106061. default:
  106062. return A._setArrayType([], type$.JSArray_ComplexSelector_2);
  106063. }
  106064. },
  106065. $signature: 475
  106066. };
  106067. A.ExtensionStore__extendPseudo_closure8.prototype = {
  106068. call$1(complex) {
  106069. return this.pseudo.withSelector$1(A.SelectorList$0(A._setArrayType([complex], type$.JSArray_ComplexSelector_2), this.selector.span));
  106070. },
  106071. $signature: 476
  106072. };
  106073. A.ExtensionStore__trim_closure1.prototype = {
  106074. call$1(complex2) {
  106075. return complex2.get$specificity() >= this._box_0.maxSpecificity && complex2.isSuperselector$1(this.complex1);
  106076. },
  106077. $signature: 21
  106078. };
  106079. A.ExtensionStore__trim_closure2.prototype = {
  106080. call$1(complex2) {
  106081. return complex2.get$specificity() >= this._box_0.maxSpecificity && complex2.isSuperselector$1(this.complex1);
  106082. },
  106083. $signature: 21
  106084. };
  106085. A.ExtensionStore_clone_closure0.prototype = {
  106086. call$2(simple, selectors) {
  106087. var t2, t3, t4, t5, t6, t7, newSelector, _0_0, _this = this,
  106088. t1 = type$.ModifiableBox_SelectorList_2,
  106089. newSelectorSet = A.LinkedHashSet_LinkedHashSet$_empty(t1);
  106090. _this.newSelectors.$indexSet(0, simple, newSelectorSet);
  106091. for (t2 = selectors.get$iterator(selectors), t3 = _this.oldToNewSelectors, t4 = type$.Box_SelectorList_2, t5 = _this.$this._extension_store$_mediaContexts, t6 = _this.newMediaContexts; t2.moveNext$0();) {
  106092. t7 = t2.get$current(t2);
  106093. newSelector = new A.ModifiableBox0(t7.value, t1);
  106094. newSelectorSet.add$1(0, newSelector);
  106095. t3.$indexSet(0, t7.value, new A.Box0(newSelector, t4));
  106096. _0_0 = t5.$index(0, t7);
  106097. if (_0_0 != null)
  106098. t6.$indexSet(0, newSelector, _0_0);
  106099. }
  106100. },
  106101. $signature: 477
  106102. };
  106103. A.FiberClass.prototype = {};
  106104. A.Fiber.prototype = {};
  106105. A.JSToDartFileImporter.prototype = {
  106106. canonicalize$1(_, url) {
  106107. var result, t1, resultUrl;
  106108. if (url.get$scheme() === "file")
  106109. return $.$get$FilesystemImporter_cwd0().canonicalize$1(0, url);
  106110. result = A.wrapJSExceptions(new A.JSToDartFileImporter_canonicalize_closure(this, url));
  106111. if (result == null)
  106112. return null;
  106113. t1 = self.Promise;
  106114. if (result instanceof t1)
  106115. A.jsThrow(new self.Error("The findFileUrl() function can't return a Promise for synchron compile functions."));
  106116. else {
  106117. t1 = self.URL;
  106118. if (!(result instanceof t1))
  106119. A.jsThrow(new self.Error(string$.The_fie));
  106120. }
  106121. resultUrl = A.Uri_parse(J.toString$0$(type$.JSUrl._as(result)));
  106122. if (resultUrl.get$scheme() !== "file")
  106123. A.jsThrow(new self.Error(string$.The_fiu + url.toString$0(0) + '".'));
  106124. return $.$get$FilesystemImporter_cwd0().canonicalize$1(0, resultUrl);
  106125. },
  106126. load$1(_, url) {
  106127. return $.$get$FilesystemImporter_cwd0().load$1(0, url);
  106128. },
  106129. isNonCanonicalScheme$1(scheme) {
  106130. return scheme !== "file";
  106131. }
  106132. };
  106133. A.JSToDartFileImporter_canonicalize_closure.prototype = {
  106134. call$0() {
  106135. return this.$this._file0$_findFileUrl.call$2(this.url.toString$0(0), A.canonicalizeContext0());
  106136. },
  106137. $signature: 36
  106138. };
  106139. A.FilesystemImporter0.prototype = {
  106140. canonicalize$1(_, url) {
  106141. var resolved;
  106142. if (url.get$scheme() === "file")
  106143. resolved = A.resolveImportPath0($.$get$context().style.pathFromUri$1(A._parseUri(url)));
  106144. else if (url.get$scheme() !== "")
  106145. return null;
  106146. else {
  106147. resolved = A.resolveImportPath0(A.join(this._filesystem$_loadPath, $.$get$context().style.pathFromUri$1(A._parseUri(url)), null));
  106148. if (resolved != null && this._filesystem$_loadPathDeprecated)
  106149. A.warnForDeprecation0(string$.Using_t, B.Deprecation_Ds6);
  106150. }
  106151. return A.NullableExtension_andThen0(resolved, new A.FilesystemImporter_canonicalize_closure0());
  106152. },
  106153. load$1(_, url) {
  106154. var path = $.$get$context().style.pathFromUri$1(A._parseUri(url));
  106155. return A.ImporterResult$(A.readFile0(path), url, A.Syntax_forPath0(path));
  106156. },
  106157. toString$0(_) {
  106158. return this._filesystem$_loadPath;
  106159. }
  106160. };
  106161. A.FilesystemImporter_canonicalize_closure0.prototype = {
  106162. call$1(resolved) {
  106163. var t2, t0, _null = null,
  106164. t1 = A.isNodeJs() ? self.process : _null;
  106165. if (!J.$eq$(t1 == null ? _null : J.get$platform$x(t1), "win32")) {
  106166. t1 = A.isNodeJs() ? self.process : _null;
  106167. t1 = J.$eq$(t1 == null ? _null : J.get$platform$x(t1), "darwin");
  106168. } else
  106169. t1 = true;
  106170. if (t1) {
  106171. t1 = A.absolute(resolved, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null);
  106172. t2 = $.$get$context();
  106173. t1 = A._realCasePath0(t2.normalize$1(t1));
  106174. } else {
  106175. t1 = $.$get$context();
  106176. t2 = t1.canonicalize$1(0, resolved);
  106177. t0 = t2;
  106178. t2 = t1;
  106179. t1 = t0;
  106180. }
  106181. return t2.toUri$1(t1);
  106182. },
  106183. $signature: 122
  106184. };
  106185. A.ForRule0.prototype = {
  106186. accept$1$1(visitor) {
  106187. return visitor.visitForRule$1(0, this);
  106188. },
  106189. accept$1(visitor) {
  106190. return this.accept$1$1(visitor, type$.dynamic);
  106191. },
  106192. toString$0(_) {
  106193. var _this = this,
  106194. t1 = _this.from.toString$0(0),
  106195. t2 = _this.isExclusive ? "to" : "through",
  106196. t3 = _this.children;
  106197. return "@for $" + _this.variable + " from " + t1 + " " + t2 + " " + _this.to.toString$0(0) + " {" + (t3 && B.JSArray_methods).join$1(t3, " ") + "}";
  106198. },
  106199. get$span(receiver) {
  106200. return this.span;
  106201. }
  106202. };
  106203. A.ForwardRule0.prototype = {
  106204. accept$1$1(visitor) {
  106205. return visitor.visitForwardRule$1(0, this);
  106206. },
  106207. accept$1(visitor) {
  106208. return this.accept$1$1(visitor, type$.dynamic);
  106209. },
  106210. toString$0(_) {
  106211. var t2, prefix, _this = this,
  106212. t1 = "@forward " + A.StringExpression_quoteText0(_this.url.toString$0(0)),
  106213. shownMixinsAndFunctions = _this.shownMixinsAndFunctions,
  106214. hiddenMixinsAndFunctions = _this.hiddenMixinsAndFunctions;
  106215. if (shownMixinsAndFunctions != null) {
  106216. t2 = _this.shownVariables;
  106217. t2.toString;
  106218. t2 = t1 + " show " + _this._forward_rule0$_memberList$2(shownMixinsAndFunctions, t2);
  106219. t1 = t2;
  106220. } else if (hiddenMixinsAndFunctions != null && hiddenMixinsAndFunctions._base.get$isNotEmpty(0)) {
  106221. t2 = _this.hiddenVariables;
  106222. t2.toString;
  106223. t2 = t1 + " hide " + _this._forward_rule0$_memberList$2(hiddenMixinsAndFunctions, t2);
  106224. t1 = t2;
  106225. }
  106226. prefix = _this.prefix;
  106227. if (prefix != null)
  106228. t1 += " as " + prefix + "*";
  106229. t2 = _this.configuration;
  106230. t1 = (t2.length !== 0 ? t1 + (" with (" + B.JSArray_methods.join$1(t2, ", ") + ")") : t1) + ";";
  106231. return t1.charCodeAt(0) == 0 ? t1 : t1;
  106232. },
  106233. _forward_rule0$_memberList$2(mixinsAndFunctions, variables) {
  106234. var t2,
  106235. t1 = A.List_List$_of(mixinsAndFunctions, type$.String);
  106236. for (t2 = variables._base.get$iterator(0); t2.moveNext$0();)
  106237. t1.push("$" + t2.get$current(0));
  106238. return B.JSArray_methods.join$1(t1, ", ");
  106239. },
  106240. get$span(receiver) {
  106241. return this.span;
  106242. }
  106243. };
  106244. A.ForwardedModuleView0.prototype = {
  106245. get$url(_) {
  106246. var t1 = this._forwarded_view0$_inner;
  106247. return t1.get$url(t1);
  106248. },
  106249. get$upstream() {
  106250. return this._forwarded_view0$_inner.get$upstream();
  106251. },
  106252. get$extensionStore() {
  106253. return this._forwarded_view0$_inner.get$extensionStore();
  106254. },
  106255. get$css(_) {
  106256. var t1 = this._forwarded_view0$_inner;
  106257. return t1.get$css(t1);
  106258. },
  106259. get$preModuleComments() {
  106260. return this._forwarded_view0$_inner.get$preModuleComments();
  106261. },
  106262. get$transitivelyContainsCss() {
  106263. return this._forwarded_view0$_inner.get$transitivelyContainsCss();
  106264. },
  106265. get$transitivelyContainsExtensions() {
  106266. return this._forwarded_view0$_inner.get$transitivelyContainsExtensions();
  106267. },
  106268. setVariable$3($name, value, nodeWithSpan) {
  106269. var t2, _1_0, _2_0,
  106270. _s19_ = "Undefined variable.",
  106271. t1 = this._forwarded_view0$_rule,
  106272. _0_0 = t1.shownVariables;
  106273. if (_0_0 != null)
  106274. t2 = !_0_0._base.contains$1(0, $name);
  106275. else
  106276. t2 = false;
  106277. if (t2)
  106278. throw A.wrapException(A.SassScriptException$0(_s19_, null));
  106279. else {
  106280. _1_0 = t1.hiddenVariables;
  106281. if (_1_0 != null)
  106282. t2 = _1_0._base.contains$1(0, $name);
  106283. else
  106284. t2 = false;
  106285. if (t2)
  106286. throw A.wrapException(A.SassScriptException$0(_s19_, null));
  106287. }
  106288. _2_0 = t1.prefix;
  106289. if (_2_0 != null) {
  106290. if (!B.JSString_methods.startsWith$1($name, _2_0))
  106291. throw A.wrapException(A.SassScriptException$0(_s19_, null));
  106292. $name = B.JSString_methods.substring$1($name, _2_0.length);
  106293. }
  106294. return this._forwarded_view0$_inner.setVariable$3($name, value, nodeWithSpan);
  106295. },
  106296. variableIdentity$1($name) {
  106297. var _0_0 = this._forwarded_view0$_rule.prefix;
  106298. if (_0_0 != null)
  106299. $name = B.JSString_methods.substring$1($name, _0_0.length);
  106300. return this._forwarded_view0$_inner.variableIdentity$1($name);
  106301. },
  106302. $eq(_, other) {
  106303. if (other == null)
  106304. return false;
  106305. return other instanceof A.ForwardedModuleView0 && this._forwarded_view0$_inner.$eq(0, other._forwarded_view0$_inner) && this._forwarded_view0$_rule === other._forwarded_view0$_rule;
  106306. },
  106307. get$hashCode(_) {
  106308. var t1 = this._forwarded_view0$_inner;
  106309. return (t1.get$hashCode(t1) ^ A.Primitives_objectHashCode(this._forwarded_view0$_rule)) >>> 0;
  106310. },
  106311. cloneCss$0() {
  106312. return A.ForwardedModuleView$0(this._forwarded_view0$_inner.cloneCss$0(), this._forwarded_view0$_rule, this.$ti._precomputed1);
  106313. },
  106314. toString$0(_) {
  106315. return "forwarded " + this._forwarded_view0$_inner.toString$0(0);
  106316. },
  106317. $isModule1: 1,
  106318. get$variables() {
  106319. return this.variables;
  106320. },
  106321. get$variableNodes() {
  106322. return this.variableNodes;
  106323. },
  106324. get$functions(receiver) {
  106325. return this.functions;
  106326. },
  106327. get$mixins() {
  106328. return this.mixins;
  106329. }
  106330. };
  106331. A.FunctionExpression0.prototype = {
  106332. get$nameSpan() {
  106333. if (this.namespace == null)
  106334. return A.SpanExtensions_initialIdentifier0(this.span);
  106335. return A.SpanExtensions_initialIdentifier0(A.FileSpanExtension_subspan(A.SpanExtensions_withoutInitialIdentifier0(this.span), 1, null));
  106336. },
  106337. accept$1$1(visitor) {
  106338. return visitor.visitFunctionExpression$1(0, this);
  106339. },
  106340. accept$1(visitor) {
  106341. return this.accept$1$1(visitor, type$.dynamic);
  106342. },
  106343. toString$0(_) {
  106344. var t1 = this.namespace;
  106345. t1 = t1 != null ? "" + (t1 + ".") : "";
  106346. t1 += this.originalName + this.$arguments.toString$0(0);
  106347. return t1.charCodeAt(0) == 0 ? t1 : t1;
  106348. },
  106349. get$span(receiver) {
  106350. return this.span;
  106351. }
  106352. };
  106353. A.JSFunction0.prototype = {};
  106354. A.SupportsFunction0.prototype = {
  106355. toInterpolation$0() {
  106356. var t4, t5,
  106357. t1 = new A.StringBuffer(""),
  106358. t2 = new A.InterpolationBuffer0(t1, A._setArrayType([], type$.JSArray_Object), A._setArrayType([], type$.JSArray_nullable_FileSpan)),
  106359. t3 = this.name;
  106360. t2.addInterpolation$1(t3);
  106361. t4 = this.$arguments;
  106362. t5 = t4.span;
  106363. t3 = A.SpanExtensions_between(t3.span, t5);
  106364. t3 = A.String_String$fromCharCodes(B.NativeUint32List_methods.sublist$2(t3.file._decodedChars, t3._file$_start, t3._end), 0, null);
  106365. t1._contents += t3;
  106366. t2.addInterpolation$1(t4);
  106367. t4 = this.span;
  106368. t5 = A.SpanExtensions_after(t4, t5);
  106369. t5 = A.String_String$fromCharCodes(B.NativeUint32List_methods.sublist$2(t5.file._decodedChars, t5._file$_start, t5._end), 0, null);
  106370. t1._contents += t5;
  106371. return t2.interpolation$1(t4);
  106372. },
  106373. withSpan$1(span) {
  106374. return new A.SupportsFunction0(this.name, this.$arguments, span);
  106375. },
  106376. toString$0(_) {
  106377. return this.name.toString$0(0) + "(" + this.$arguments.toString$0(0) + ")";
  106378. },
  106379. $isAstNode0: 1,
  106380. $isSassNode: 1,
  106381. $isSupportsCondition: 1,
  106382. get$span(receiver) {
  106383. return this.span;
  106384. }
  106385. };
  106386. A.functionClass_closure.prototype = {
  106387. call$0() {
  106388. var t1 = type$.JSClass,
  106389. jsClass = t1._as(A.allowInteropCaptureThisNamed("sass.SassFunction", new A.functionClass__closure()));
  106390. A.JSClassExtension_injectSuperclass(t1._as(new A.SassFunction0(A.BuiltInCallable$function0("f", "", new A.functionClass__closure0(), null), null).constructor), jsClass);
  106391. return jsClass;
  106392. },
  106393. $signature: 15
  106394. };
  106395. A.functionClass__closure.prototype = {
  106396. call$3($self, signature, callback) {
  106397. var paren = B.JSString_methods.indexOf$1(signature, "(");
  106398. if (paren === -1 || !B.JSString_methods.endsWith$1(signature, ")"))
  106399. A.jsThrow(new self.Error('Invalid signature for new sass.SassFunction(): "' + signature + '"'));
  106400. return new A.SassFunction0(A.BuiltInCallable$function0(B.JSString_methods.substring$2(signature, 0, paren), B.JSString_methods.substring$2(signature, paren + 1, signature.length - 1), callback, null), null);
  106401. },
  106402. "call*": "call$3",
  106403. $requiredArgCount: 3,
  106404. $signature: 478
  106405. };
  106406. A.functionClass__closure0.prototype = {
  106407. call$1(_) {
  106408. return B.C__SassNull0;
  106409. },
  106410. $signature: 3
  106411. };
  106412. A.SassFunction0.prototype = {
  106413. accept$1$1(visitor) {
  106414. var t1, t2;
  106415. if (!visitor._serialize0$_inspect)
  106416. A.throwExpression(A.SassScriptException$0(this.toString$0(0) + " isn't a valid CSS value.", null));
  106417. t1 = visitor._serialize0$_buffer;
  106418. t1.write$1(0, "get-function(");
  106419. t2 = this.callable;
  106420. visitor._serialize0$_visitQuotedString$1(t2.get$name(t2));
  106421. t1.writeCharCode$1(41);
  106422. return null;
  106423. },
  106424. accept$1(visitor) {
  106425. return this.accept$1$1(visitor, type$.dynamic);
  106426. },
  106427. assertFunction$1($name) {
  106428. return this;
  106429. },
  106430. assertCompileContext$1(compileContext) {
  106431. var t1 = this._function0$_compileContext;
  106432. if (t1 != null)
  106433. t1 = t1 !== compileContext;
  106434. else
  106435. t1 = false;
  106436. if (t1)
  106437. throw A.wrapException(A.SassScriptException$0(this.toString$0(0) + " does not belong to current compilation.", null));
  106438. return this;
  106439. },
  106440. $eq(_, other) {
  106441. if (other == null)
  106442. return false;
  106443. return other instanceof A.SassFunction0 && this.callable.$eq(0, other.callable);
  106444. },
  106445. get$hashCode(_) {
  106446. var t1 = this.callable;
  106447. return t1.get$hashCode(t1);
  106448. }
  106449. };
  106450. A.FunctionRule0.prototype = {
  106451. accept$1$1(visitor) {
  106452. return visitor.visitFunctionRule$1(0, this);
  106453. },
  106454. accept$1(visitor) {
  106455. return this.accept$1$1(visitor, type$.dynamic);
  106456. },
  106457. toString$0(_) {
  106458. var t1 = this.children;
  106459. return "@function " + this.name + "(" + this.parameters.toString$0(0) + ") {" + (t1 && B.JSArray_methods).join$1(t1, " ") + "}";
  106460. }
  106461. };
  106462. A.unifyComplex_closure0.prototype = {
  106463. call$1(complex) {
  106464. return complex.lineBreak;
  106465. },
  106466. $signature: 21
  106467. };
  106468. A._weaveParents_closure3.prototype = {
  106469. call$2(group1, group2) {
  106470. var t1, unified;
  106471. if (B.C_ListEquality.equals$2(0, group1, group2))
  106472. return group1;
  106473. if (A._complexIsParentSuperselector0(group1, group2))
  106474. return group2;
  106475. if (A._complexIsParentSuperselector0(group2, group1))
  106476. return group1;
  106477. if (!A._mustUnify0(group1, group2))
  106478. return null;
  106479. t1 = this.span;
  106480. unified = A.unifyComplex0(A._setArrayType([A.ComplexSelector$0(B.List_empty16, group1, t1, false), A.ComplexSelector$0(B.List_empty16, group2, t1, false)], type$.JSArray_ComplexSelector_2), t1);
  106481. if (unified == null)
  106482. t1 = null;
  106483. else {
  106484. t1 = A.IterableExtension_get_singleOrNull(unified);
  106485. t1 = t1 == null ? null : t1.components;
  106486. }
  106487. return t1;
  106488. },
  106489. $signature: 479
  106490. };
  106491. A._weaveParents_closure4.prototype = {
  106492. call$1(sequence) {
  106493. return A._complexIsParentSuperselector0(sequence.get$first(sequence), this.group);
  106494. },
  106495. $signature: 245
  106496. };
  106497. A._weaveParents_closure5.prototype = {
  106498. call$1(sequence) {
  106499. return sequence.get$length(0) === 0;
  106500. },
  106501. $signature: 245
  106502. };
  106503. A._weaveParents_closure6.prototype = {
  106504. call$1(choice) {
  106505. return J.get$isNotEmpty$asx(choice);
  106506. },
  106507. $signature: 481
  106508. };
  106509. A._mustUnify_closure0.prototype = {
  106510. call$1(component) {
  106511. return B.JSArray_methods.any$1(component.selector.components, new A._mustUnify__closure0(this.uniqueSelectors));
  106512. },
  106513. $signature: 56
  106514. };
  106515. A._mustUnify__closure0.prototype = {
  106516. call$1(simple) {
  106517. var t1;
  106518. if (!(simple instanceof A.IDSelector0))
  106519. t1 = simple instanceof A.PseudoSelector0 && !simple.isClass;
  106520. else
  106521. t1 = true;
  106522. return t1 && this.uniqueSelectors.contains$1(0, simple);
  106523. },
  106524. $signature: 14
  106525. };
  106526. A.paths_closure0.prototype = {
  106527. call$2(paths, choice) {
  106528. var t1 = this.T;
  106529. t1 = J.expand$1$1$ax(choice, new A.paths__closure0(paths, t1), t1._eval$1("List<0>"));
  106530. t1 = A.List_List$_of(t1, t1.$ti._eval$1("Iterable.E"));
  106531. return t1;
  106532. },
  106533. $signature() {
  106534. return this.T._eval$1("List<List<0>>(List<List<0>>,List<0>)");
  106535. }
  106536. };
  106537. A.paths__closure0.prototype = {
  106538. call$1(option) {
  106539. var t1 = this.T;
  106540. return J.map$1$1$ax(this.paths, new A.paths___closure0(option, t1), t1._eval$1("List<0>"));
  106541. },
  106542. $signature() {
  106543. return this.T._eval$1("Iterable<List<0>>(0)");
  106544. }
  106545. };
  106546. A.paths___closure0.prototype = {
  106547. call$1(path) {
  106548. var t1 = A.List_List$_of(path, this.T);
  106549. t1.push(this.option);
  106550. return t1;
  106551. },
  106552. $signature() {
  106553. return this.T._eval$1("List<0>(List<0>)");
  106554. }
  106555. };
  106556. A.listIsSuperselector_closure0.prototype = {
  106557. call$1(complex1) {
  106558. return B.JSArray_methods.any$1(this.list1, new A.listIsSuperselector__closure0(complex1));
  106559. },
  106560. $signature: 21
  106561. };
  106562. A.listIsSuperselector__closure0.prototype = {
  106563. call$1(complex2) {
  106564. return complex2.isSuperselector$1(this.complex1);
  106565. },
  106566. $signature: 21
  106567. };
  106568. A.complexIsSuperselector_closure1.prototype = {
  106569. call$1($parent) {
  106570. return $parent.combinators.length > 1;
  106571. },
  106572. $signature: 56
  106573. };
  106574. A.complexIsSuperselector_closure2.prototype = {
  106575. call$1(component) {
  106576. return A._isSupercombinator0(this.combinator1, A.IterableExtension_get_firstOrNull(component.combinators));
  106577. },
  106578. $signature: 56
  106579. };
  106580. A._compatibleWithPreviousCombinator_closure0.prototype = {
  106581. call$1(component) {
  106582. var t1 = component.combinators,
  106583. t2 = A.IterableExtension_get_firstOrNull(t1);
  106584. if (!J.$eq$(t2 == null ? null : t2.value, B.Combinator_55N0)) {
  106585. t1 = A.IterableExtension_get_firstOrNull(t1);
  106586. t1 = J.$eq$(t1 == null ? null : t1.value, B.Combinator_bOP0);
  106587. } else
  106588. t1 = true;
  106589. return t1;
  106590. },
  106591. $signature: 56
  106592. };
  106593. A.compoundIsSuperselector_closure0.prototype = {
  106594. call$1(simple1) {
  106595. return B.JSArray_methods.any$1(this.compound2.components, simple1.get$isSuperselector());
  106596. },
  106597. $signature: 14
  106598. };
  106599. A._selectorPseudoIsSuperselector_closure6.prototype = {
  106600. call$1(selector2) {
  106601. return A.listIsSuperselector0(this.selector1.components, selector2.components);
  106602. },
  106603. $signature: 76
  106604. };
  106605. A._selectorPseudoIsSuperselector_closure7.prototype = {
  106606. call$1(complex1) {
  106607. var t1, t2;
  106608. if (complex1.leadingCombinators.length === 0) {
  106609. t1 = A._setArrayType([], type$.JSArray_ComplexSelectorComponent_2);
  106610. t2 = this.parents;
  106611. if (t2 != null)
  106612. B.JSArray_methods.addAll$1(t1, t2);
  106613. t2 = this.compound2;
  106614. t1.push(new A.ComplexSelectorComponent0(t2, A.List_List$unmodifiable(B.List_empty16, type$.CssValue_Combinator_2), t2.span));
  106615. t1 = A.complexIsSuperselector0(complex1.components, t1);
  106616. } else
  106617. t1 = false;
  106618. return t1;
  106619. },
  106620. $signature: 21
  106621. };
  106622. A._selectorPseudoIsSuperselector_closure8.prototype = {
  106623. call$1(selector2) {
  106624. return A.listIsSuperselector0(this.selector1.components, selector2.components);
  106625. },
  106626. $signature: 76
  106627. };
  106628. A._selectorPseudoIsSuperselector_closure9.prototype = {
  106629. call$1(selector2) {
  106630. return A.listIsSuperselector0(this.selector1.components, selector2.components);
  106631. },
  106632. $signature: 76
  106633. };
  106634. A._selectorPseudoIsSuperselector_closure10.prototype = {
  106635. call$1(complex) {
  106636. if (complex.accept$1(B._IsBogusVisitor_true0))
  106637. return false;
  106638. return B.JSArray_methods.any$1(this.compound2.components, new A._selectorPseudoIsSuperselector__closure0(complex, this.pseudo1));
  106639. },
  106640. $signature: 21
  106641. };
  106642. A._selectorPseudoIsSuperselector__closure0.prototype = {
  106643. call$1(simple2) {
  106644. var t1, selector2, _0_4, _this = this;
  106645. $label0$1: {
  106646. if (simple2 instanceof A.TypeSelector0) {
  106647. t1 = B.JSArray_methods.any$1(B.JSArray_methods.get$last(_this.complex.components).selector.components, new A._selectorPseudoIsSuperselector___closure1(simple2));
  106648. break $label0$1;
  106649. }
  106650. if (simple2 instanceof A.IDSelector0) {
  106651. t1 = B.JSArray_methods.any$1(B.JSArray_methods.get$last(_this.complex.components).selector.components, new A._selectorPseudoIsSuperselector___closure2(simple2));
  106652. break $label0$1;
  106653. }
  106654. selector2 = null;
  106655. t1 = false;
  106656. if (simple2 instanceof A.PseudoSelector0) {
  106657. _0_4 = simple2.selector;
  106658. if (_0_4 != null) {
  106659. selector2 = _0_4 == null ? type$.SelectorList_2._as(_0_4) : _0_4;
  106660. t1 = simple2.name === _this.pseudo1.name;
  106661. }
  106662. }
  106663. if (t1) {
  106664. t1 = A.listIsSuperselector0(selector2.components, A._setArrayType([_this.complex], type$.JSArray_ComplexSelector_2));
  106665. break $label0$1;
  106666. }
  106667. t1 = false;
  106668. break $label0$1;
  106669. }
  106670. return t1;
  106671. },
  106672. $signature: 14
  106673. };
  106674. A._selectorPseudoIsSuperselector___closure1.prototype = {
  106675. call$1(simple1) {
  106676. var t1;
  106677. if (simple1 instanceof A.TypeSelector0) {
  106678. t1 = this.simple2.name.$eq(0, simple1.name);
  106679. t1 = !t1;
  106680. } else
  106681. t1 = false;
  106682. return t1;
  106683. },
  106684. $signature: 14
  106685. };
  106686. A._selectorPseudoIsSuperselector___closure2.prototype = {
  106687. call$1(simple1) {
  106688. var t1;
  106689. if (simple1 instanceof A.IDSelector0)
  106690. t1 = this.simple2.name !== simple1.name;
  106691. else
  106692. t1 = false;
  106693. return t1;
  106694. },
  106695. $signature: 14
  106696. };
  106697. A._selectorPseudoIsSuperselector_closure11.prototype = {
  106698. call$1(selector2) {
  106699. var t1 = B.C_ListEquality.equals$2(0, this.selector1.components, selector2.components);
  106700. return t1;
  106701. },
  106702. $signature: 76
  106703. };
  106704. A._selectorPseudoIsSuperselector_closure12.prototype = {
  106705. call$1(pseudo2) {
  106706. var t1, selector2;
  106707. if (!(pseudo2 instanceof A.PseudoSelector0))
  106708. return false;
  106709. t1 = this.pseudo1;
  106710. if (pseudo2.name !== t1.name)
  106711. return false;
  106712. if (pseudo2.argument != t1.argument)
  106713. return false;
  106714. selector2 = pseudo2.selector;
  106715. if (selector2 == null)
  106716. return false;
  106717. return A.listIsSuperselector0(this.selector1.components, selector2.components);
  106718. },
  106719. $signature: 14
  106720. };
  106721. A._selectorPseudoArgs_closure1.prototype = {
  106722. call$1(pseudo) {
  106723. return pseudo.isClass === this.isClass && pseudo.name === this.name;
  106724. },
  106725. $signature: 483
  106726. };
  106727. A._selectorPseudoArgs_closure2.prototype = {
  106728. call$1(pseudo) {
  106729. return pseudo.selector;
  106730. },
  106731. $signature: 484
  106732. };
  106733. A.globalFunctions_closure0.prototype = {
  106734. call$1($arguments) {
  106735. var t1 = J.getInterceptor$asx($arguments);
  106736. return t1.$index($arguments, 0).get$isTruthy() ? t1.$index($arguments, 1) : t1.$index($arguments, 2);
  106737. },
  106738. $signature: 3
  106739. };
  106740. A.GamutMapMethod0.prototype = {
  106741. toString$0(_) {
  106742. return this.name;
  106743. }
  106744. };
  106745. A.HslColorSpace0.prototype = {
  106746. get$isBoundedInternal() {
  106747. return true;
  106748. },
  106749. get$isLegacyInternal() {
  106750. return true;
  106751. },
  106752. get$isPolarInternal() {
  106753. return true;
  106754. },
  106755. convert$5(dest, hue, saturation, lightness, alpha) {
  106756. var t1 = hue == null,
  106757. scaledHue = B.JSNumber_methods.$mod((t1 ? 0 : hue) / 360, 1),
  106758. t2 = saturation == null,
  106759. scaledSaturation = (t2 ? 0 : saturation) / 100,
  106760. t3 = lightness == null,
  106761. scaledLightness = (t3 ? 0 : lightness) / 100,
  106762. m2 = scaledLightness <= 0.5 ? scaledLightness * (scaledSaturation + 1) : scaledLightness + scaledSaturation - scaledLightness * scaledSaturation,
  106763. m1 = scaledLightness * 2 - m2;
  106764. return B.SrgbColorSpace_thf0.convert$8$missingChroma$missingHue$missingLightness(dest, A.hueToRgb0(m1, m2, scaledHue + 0.3333333333333333), A.hueToRgb0(m1, m2, scaledHue), A.hueToRgb0(m1, m2, scaledHue - 0.3333333333333333), alpha, t2, t1, t3);
  106765. }
  106766. };
  106767. A.HwbColorSpace0.prototype = {
  106768. get$isBoundedInternal() {
  106769. return true;
  106770. },
  106771. get$isLegacyInternal() {
  106772. return true;
  106773. },
  106774. get$isPolarInternal() {
  106775. return true;
  106776. },
  106777. convert$5(dest, hue, whiteness, blackness, alpha) {
  106778. var t3, t1 = {},
  106779. t2 = hue == null,
  106780. scaledHue = B.JSNumber_methods.$mod(t2 ? 0 : hue, 360) / 360,
  106781. scaledWhiteness = t1.scaledWhiteness = (whiteness == null ? 0 : whiteness) / 100,
  106782. scaledBlackness = (blackness == null ? 0 : blackness) / 100,
  106783. sum = scaledWhiteness + scaledBlackness;
  106784. if (sum > 1) {
  106785. t3 = t1.scaledWhiteness = scaledWhiteness / sum;
  106786. scaledBlackness /= sum;
  106787. } else
  106788. t3 = scaledWhiteness;
  106789. t3 = new A.HwbColorSpace_convert_toRgb0(t1, 1 - t3 - scaledBlackness);
  106790. return B.SrgbColorSpace_thf0.convert$6$missingHue(dest, t3.call$1(scaledHue + 0.3333333333333333), t3.call$1(scaledHue), t3.call$1(scaledHue - 0.3333333333333333), alpha, t2);
  106791. }
  106792. };
  106793. A.HwbColorSpace_convert_toRgb0.prototype = {
  106794. call$1(hue) {
  106795. return A.hueToRgb0(0, 1, hue) * this.factor + this._box_0.scaledWhiteness;
  106796. },
  106797. $signature: 16
  106798. };
  106799. A.IDSelector0.prototype = {
  106800. get$specificity() {
  106801. return A._asInt(Math.pow(A.SimpleSelector0.prototype.get$specificity.call(this), 2));
  106802. },
  106803. accept$1$1(visitor) {
  106804. return visitor.visitIDSelector$1(this);
  106805. },
  106806. accept$1(visitor) {
  106807. return this.accept$1$1(visitor, type$.dynamic);
  106808. },
  106809. addSuffix$1(suffix) {
  106810. return new A.IDSelector0(this.name + suffix, this.span);
  106811. },
  106812. unify$1(compound) {
  106813. if (B.JSArray_methods.any$1(compound, new A.IDSelector_unify_closure0(this)))
  106814. return null;
  106815. return this.super$SimpleSelector$unify0(compound);
  106816. },
  106817. $eq(_, other) {
  106818. if (other == null)
  106819. return false;
  106820. return other instanceof A.IDSelector0 && other.name === this.name;
  106821. },
  106822. get$hashCode(_) {
  106823. return B.JSString_methods.get$hashCode(this.name);
  106824. }
  106825. };
  106826. A.IDSelector_unify_closure0.prototype = {
  106827. call$1(simple) {
  106828. var t1;
  106829. if (simple instanceof A.IDSelector0)
  106830. t1 = this.$this.name !== simple.name;
  106831. else
  106832. t1 = false;
  106833. return t1;
  106834. },
  106835. $signature: 14
  106836. };
  106837. A.IfExpression0.prototype = {
  106838. accept$1$1(visitor) {
  106839. return visitor.visitIfExpression$1(0, this);
  106840. },
  106841. accept$1(visitor) {
  106842. return this.accept$1$1(visitor, type$.dynamic);
  106843. },
  106844. toString$0(_) {
  106845. return "if" + this.$arguments.toString$0(0);
  106846. },
  106847. get$span(receiver) {
  106848. return this.span;
  106849. }
  106850. };
  106851. A.IfRule0.prototype = {
  106852. accept$1$1(visitor) {
  106853. return visitor.visitIfRule$1(0, this);
  106854. },
  106855. accept$1(visitor) {
  106856. return this.accept$1$1(visitor, type$.dynamic);
  106857. },
  106858. toString$0(_) {
  106859. var result = A.ListExtensions_mapIndexed(this.clauses, new A.IfRule_toString_closure0(), type$.IfClause_2, type$.String).join$1(0, " "),
  106860. lastClause = this.lastClause;
  106861. return lastClause != null ? result + (" " + lastClause.toString$0(0)) : result;
  106862. },
  106863. get$span(receiver) {
  106864. return this.span;
  106865. }
  106866. };
  106867. A.IfRule_toString_closure0.prototype = {
  106868. call$2(index, clause) {
  106869. var t1 = index === 0 ? "if" : "else if";
  106870. return "@" + t1 + " " + clause.expression.toString$0(0) + " {" + B.JSArray_methods.join$1(clause.children, " ") + "}";
  106871. },
  106872. $signature: 485
  106873. };
  106874. A.IfRuleClause0.prototype = {};
  106875. A.IfRuleClause$__closure0.prototype = {
  106876. call$1(child) {
  106877. var t1;
  106878. $label0$0: {
  106879. if (child instanceof A.VariableDeclaration0 || child instanceof A.FunctionRule0 || child instanceof A.MixinRule0) {
  106880. t1 = true;
  106881. break $label0$0;
  106882. }
  106883. if (child instanceof A.ImportRule0) {
  106884. t1 = B.JSArray_methods.any$1(child.imports, new A.IfRuleClause$___closure0());
  106885. break $label0$0;
  106886. }
  106887. t1 = false;
  106888. break $label0$0;
  106889. }
  106890. return t1;
  106891. },
  106892. $signature: 246
  106893. };
  106894. A.IfRuleClause$___closure0.prototype = {
  106895. call$1($import) {
  106896. return $import instanceof A.DynamicImport0;
  106897. },
  106898. $signature: 247
  106899. };
  106900. A.IfClause0.prototype = {
  106901. toString$0(_) {
  106902. return "@if " + this.expression.toString$0(0) + " {" + B.JSArray_methods.join$1(this.children, " ") + "}";
  106903. }
  106904. };
  106905. A.ElseClause0.prototype = {
  106906. toString$0(_) {
  106907. return "@else {" + B.JSArray_methods.join$1(this.children, " ") + "}";
  106908. }
  106909. };
  106910. A.ImmutableList0.prototype = {};
  106911. A.ImmutableMap0.prototype = {};
  106912. A.immutableMapToDartMap_closure.prototype = {
  106913. call$3(value, key, _) {
  106914. this.dartMap.$indexSet(0, key, value);
  106915. },
  106916. "call*": "call$3",
  106917. $requiredArgCount: 3,
  106918. $signature: 488
  106919. };
  106920. A.NodeImporter.prototype = {
  106921. loadRelative$3(url, previous, forImport) {
  106922. var t1, t2, _null = null;
  106923. if ($.$get$url().style.rootLength$1(url) > 0) {
  106924. if (!B.JSString_methods.startsWith$1(url, "/") && !B.JSString_methods.startsWith$1(url, "file:"))
  106925. return _null;
  106926. return this._tryPath$2($.$get$context().style.pathFromUri$1(A._parseUri(url)), forImport);
  106927. }
  106928. if ((previous == null ? _null : previous.get$scheme()) !== "file")
  106929. return _null;
  106930. t1 = $.$get$context();
  106931. previous.toString;
  106932. t2 = t1.style;
  106933. return this._tryPath$2(A.join(t1.dirname$1(t2.pathFromUri$1(A._parseUri(previous))), t2.pathFromUri$1(A._parseUri(url)), _null), forImport);
  106934. },
  106935. load$3(_, url, previous, forImport) {
  106936. var t1, t2, _i, _0_0, _this = this,
  106937. previousString = _this._previousToString$1(previous);
  106938. for (t1 = _this._implementation$_importers, t2 = t1.length, _i = 0; _i < t2; ++_i) {
  106939. _0_0 = A.wrapJSExceptions(new A.NodeImporter_load_closure(_this, t1[_i], forImport, url, previousString));
  106940. if (_0_0 != null)
  106941. return _this._handleImportResult$4(url, previous, _0_0, forImport);
  106942. }
  106943. return _this._resolveLoadPathFromUrl$2(A.Uri_parse(url), forImport);
  106944. },
  106945. loadAsync$3(url, previous, forImport) {
  106946. return this.loadAsync$body$NodeImporter(url, previous, forImport);
  106947. },
  106948. loadAsync$body$NodeImporter(url, previous, forImport) {
  106949. var $async$goto = 0,
  106950. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Record_2_String_and_String),
  106951. $async$returnValue, $async$self = this, t1, t2, _i, _0_0, previousString;
  106952. var $async$loadAsync$3 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  106953. if ($async$errorCode === 1)
  106954. return A._asyncRethrow($async$result, $async$completer);
  106955. while (true)
  106956. switch ($async$goto) {
  106957. case 0:
  106958. // Function start
  106959. previousString = $async$self._previousToString$1(previous);
  106960. t1 = $async$self._implementation$_importers, t2 = t1.length, _i = 0;
  106961. case 3:
  106962. // for condition
  106963. if (!(_i < t2)) {
  106964. // goto after for
  106965. $async$goto = 5;
  106966. break;
  106967. }
  106968. $async$goto = 6;
  106969. return A._asyncAwait($async$self._callImporterAsync$4(t1[_i], url, previousString, forImport), $async$loadAsync$3);
  106970. case 6:
  106971. // returning from await.
  106972. _0_0 = $async$result;
  106973. if (_0_0 != null) {
  106974. $async$returnValue = $async$self._handleImportResult$4(url, previous, _0_0, forImport);
  106975. // goto return
  106976. $async$goto = 1;
  106977. break;
  106978. }
  106979. case 4:
  106980. // for update
  106981. ++_i;
  106982. // goto for condition
  106983. $async$goto = 3;
  106984. break;
  106985. case 5:
  106986. // after for
  106987. $async$returnValue = $async$self._resolveLoadPathFromUrl$2(A.Uri_parse(url), forImport);
  106988. // goto return
  106989. $async$goto = 1;
  106990. break;
  106991. case 1:
  106992. // return
  106993. return A._asyncReturn($async$returnValue, $async$completer);
  106994. }
  106995. });
  106996. return A._asyncStartSync($async$loadAsync$3, $async$completer);
  106997. },
  106998. _previousToString$1(previous) {
  106999. var t1;
  107000. $label0$0: {
  107001. if (previous == null) {
  107002. t1 = "stdin";
  107003. break $label0$0;
  107004. }
  107005. if ("file" === previous.get$scheme()) {
  107006. t1 = $.$get$context().style.pathFromUri$1(A._parseUri(previous));
  107007. break $label0$0;
  107008. }
  107009. t1 = previous.toString$0(0);
  107010. break $label0$0;
  107011. }
  107012. return t1;
  107013. },
  107014. _resolveLoadPathFromUrl$2(url, forImport) {
  107015. return url.get$scheme() === "" || url.get$scheme() === "file" ? this._resolveLoadPath$2($.$get$context().style.pathFromUri$1(A._parseUri(url)), forImport) : null;
  107016. },
  107017. _resolveLoadPath$2(path, forImport) {
  107018. var t1, t2, _i, t3, _1_0, _null = null,
  107019. _0_0 = this._tryPath$2(A.absolute(path, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null), forImport);
  107020. if (_0_0 != null)
  107021. return _0_0;
  107022. for (t1 = this._includePaths, t2 = t1.length, _i = 0; _i < t2; ++_i) {
  107023. t3 = A.join(t1[_i], path, _null);
  107024. _1_0 = this._tryPath$2($.$get$context().absolute$15(t3, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null), forImport);
  107025. if (_1_0 != null)
  107026. return _1_0;
  107027. }
  107028. return _null;
  107029. },
  107030. _tryPath$2(path, forImport) {
  107031. var t1 = forImport ? A.inImportRule(new A.NodeImporter__tryPath_closure(path), type$.nullable_String) : A.resolveImportPath0(path);
  107032. return A.NullableExtension_andThen0(t1, new A.NodeImporter__tryPath_closure0());
  107033. },
  107034. _handleImportResult$4(url, previous, value, forImport) {
  107035. var t1, file, contents, t2, resolved;
  107036. if (value instanceof self.Error)
  107037. throw A.wrapException(value);
  107038. if (!type$.NodeImporterResult._is(value))
  107039. return null;
  107040. t1 = J.getInterceptor$x(value);
  107041. file = t1.get$file(value);
  107042. contents = t1.get$contents(value);
  107043. t1 = contents == null;
  107044. t2 = !t1;
  107045. if (t2 && A._asString(new self.Function("value", "return typeof value").call$1(contents)) !== "string")
  107046. A.jsThrow(new A.ArgumentError(true, contents, "contents", "must be a string but was: " + A.jsType(contents)));
  107047. if (file == null)
  107048. return new A._Record_2(t1 ? "" : contents, url);
  107049. else if (t2)
  107050. return new A._Record_2(contents, $.$get$context().toUri$1(file).toString$0(0));
  107051. else {
  107052. resolved = this.loadRelative$3($.$get$context().toUri$1(file).toString$0(0), previous, forImport);
  107053. if (resolved == null)
  107054. resolved = this._resolveLoadPath$2(file, forImport);
  107055. if (resolved != null)
  107056. return resolved;
  107057. throw A.wrapException("Can't find stylesheet to import.");
  107058. }
  107059. },
  107060. _callImporterAsync$4(importer, url, previousString, forImport) {
  107061. return this._callImporterAsync$body$NodeImporter(importer, url, previousString, forImport);
  107062. },
  107063. _callImporterAsync$body$NodeImporter(importer, url, previousString, forImport) {
  107064. var $async$goto = 0,
  107065. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Object),
  107066. $async$returnValue, $async$self = this, t1, result;
  107067. var $async$_callImporterAsync$4 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  107068. if ($async$errorCode === 1)
  107069. return A._asyncRethrow($async$result, $async$completer);
  107070. while (true)
  107071. switch ($async$goto) {
  107072. case 0:
  107073. // Function start
  107074. t1 = new A._Future($.Zone__current, type$._Future_Object);
  107075. result = A.wrapJSExceptions(new A.NodeImporter__callImporterAsync_closure($async$self, importer, forImport, url, previousString, new A._AsyncCompleter(t1, type$._AsyncCompleter_Object)));
  107076. $async$goto = A._asBool($.$get$_isUndefined().call$1(result)) ? 3 : 4;
  107077. break;
  107078. case 3:
  107079. // then
  107080. $async$goto = 5;
  107081. return A._asyncAwait(t1, $async$_callImporterAsync$4);
  107082. case 5:
  107083. // returning from await.
  107084. $async$returnValue = $async$result;
  107085. // goto return
  107086. $async$goto = 1;
  107087. break;
  107088. case 4:
  107089. // join
  107090. $async$returnValue = result;
  107091. // goto return
  107092. $async$goto = 1;
  107093. break;
  107094. case 1:
  107095. // return
  107096. return A._asyncReturn($async$returnValue, $async$completer);
  107097. }
  107098. });
  107099. return A._asyncStartSync($async$_callImporterAsync$4, $async$completer);
  107100. },
  107101. _renderContext$1(fromImport) {
  107102. var context = {options: type$.RenderContextOptions._as(this._implementation$_options), fromImport: fromImport};
  107103. J.set$context$x(J.get$options$x(context), context);
  107104. return context;
  107105. }
  107106. };
  107107. A.NodeImporter_load_closure.prototype = {
  107108. call$0() {
  107109. var _this = this;
  107110. return J.apply$2$x(_this.importer, _this.$this._renderContext$1(_this.forImport), A._setArrayType([_this.url, _this.previousString], type$.JSArray_Object));
  107111. },
  107112. $signature: 36
  107113. };
  107114. A.NodeImporter__tryPath_closure.prototype = {
  107115. call$0() {
  107116. return A.resolveImportPath0(this.path);
  107117. },
  107118. $signature: 46
  107119. };
  107120. A.NodeImporter__tryPath_closure0.prototype = {
  107121. call$1(resolved) {
  107122. return new A._Record_2(A.readFile0(resolved), $.$get$context().toUri$1(resolved).toString$0(0));
  107123. },
  107124. $signature: 489
  107125. };
  107126. A.NodeImporter__callImporterAsync_closure.prototype = {
  107127. call$0() {
  107128. var _this = this;
  107129. return J.apply$2$x(_this.importer, _this.$this._renderContext$1(_this.forImport), A._setArrayType([_this.url, _this.previousString, A.allowInterop(_this.completer.get$complete())], type$.JSArray_Object));
  107130. },
  107131. $signature: 36
  107132. };
  107133. A.ModifiableCssImport0.prototype = {
  107134. accept$1$1(visitor) {
  107135. return visitor.visitCssImport$1(this);
  107136. },
  107137. accept$1(visitor) {
  107138. return this.accept$1$1(visitor, type$.dynamic);
  107139. },
  107140. get$span(receiver) {
  107141. return this.span;
  107142. }
  107143. };
  107144. A.ImportCache0.prototype = {
  107145. canonicalize$4$baseImporter$baseUrl$forImport(_, url, baseImporter, baseUrl, forImport) {
  107146. var t1, resolvedUrl, key, relativeResult, t2, t3, t4, t5, t6, cacheable, i, importer, perImporterKey, t7, _1_0, _1_2_isSet, result, _1_2, _2_0, _2_1, _2_5_isSet, _2_5, _2_3, _2_3_isSet, j, _this = this, _null = null;
  107147. if (A.isBrowser())
  107148. t1 = (baseImporter == null || baseImporter instanceof A.NoOpImporter0) && _this._import_cache$_importers.length === 0;
  107149. else
  107150. t1 = false;
  107151. if (t1)
  107152. throw A.wrapException(string$.Custom);
  107153. if (baseImporter != null && url.get$scheme() === "") {
  107154. resolvedUrl = baseUrl == null ? _null : baseUrl.resolveUri$1(url);
  107155. if (resolvedUrl == null)
  107156. resolvedUrl = url;
  107157. key = new A._Record_3_forImport(baseImporter, resolvedUrl, forImport);
  107158. relativeResult = _this._import_cache$_perImporterCanonicalizeCache.putIfAbsent$2(key, new A.ImportCache_canonicalize_closure0(_this, baseImporter, resolvedUrl, baseUrl, forImport, key, url));
  107159. if (relativeResult != null)
  107160. return relativeResult;
  107161. }
  107162. key = new A._Record_2_forImport(url, forImport);
  107163. t1 = _this._import_cache$_canonicalizeCache;
  107164. if (t1.containsKey$1(key))
  107165. return t1.$index(0, key);
  107166. for (t2 = _this._import_cache$_importers, t3 = type$.Record_1_nullable_Object, t4 = _this._import_cache$_perImporterCanonicalizeCache, t5 = type$.nullable_Record_3_Importer_and_Uri_and_Uri_originalUrl_2, t6 = type$.Record_3_Importer_and_Uri_and_Uri_originalUrl_2, cacheable = true, i = 0; i < t2.length; ++i) {
  107167. importer = t2[i];
  107168. perImporterKey = new A._Record_3_forImport(importer, url, forImport);
  107169. if (t4.containsKey$1(perImporterKey)) {
  107170. t7 = t4.$index(0, perImporterKey);
  107171. _1_0 = new A._Record_1(t7 == null ? t5._as(t7) : t7);
  107172. } else
  107173. _1_0 = _null;
  107174. _1_2_isSet = t3._is(_1_0);
  107175. result = _null;
  107176. if (_1_2_isSet) {
  107177. _1_2 = _1_0._0;
  107178. t7 = _1_2 != null;
  107179. if (t7) {
  107180. t6._as(_1_2);
  107181. result = _1_2;
  107182. }
  107183. } else {
  107184. _1_2 = _null;
  107185. t7 = false;
  107186. }
  107187. if (t7)
  107188. return result;
  107189. if (_1_2_isSet)
  107190. t7 = _1_2 == null;
  107191. else
  107192. t7 = false;
  107193. if (t7)
  107194. continue;
  107195. $label0$1: {
  107196. _2_0 = _this._import_cache$_canonicalize$4(importer, url, baseUrl, forImport);
  107197. _2_1 = _2_0._0;
  107198. _2_5_isSet = _2_1 != null;
  107199. _2_5 = _null;
  107200. _2_3 = _null;
  107201. t7 = false;
  107202. if (_2_5_isSet) {
  107203. result = _2_1 == null ? t6._as(_2_1) : _2_1;
  107204. _2_3 = _2_0._1;
  107205. t7 = _2_3;
  107206. _2_5 = t7;
  107207. t7 = t7 && cacheable;
  107208. } else
  107209. result = _null;
  107210. if (t7) {
  107211. t1.$indexSet(0, key, result);
  107212. return result;
  107213. }
  107214. if (_2_5_isSet) {
  107215. t7 = _2_5;
  107216. _2_3_isSet = _2_5_isSet;
  107217. } else {
  107218. _2_3 = _2_0._1;
  107219. t7 = _2_3;
  107220. _2_3_isSet = true;
  107221. }
  107222. t7 = t7 && !cacheable;
  107223. if (t7) {
  107224. t4.$indexSet(0, perImporterKey, _2_1);
  107225. if (_2_1 != null)
  107226. return _2_1;
  107227. break $label0$1;
  107228. }
  107229. t7 = !(_2_3_isSet ? _2_3 : _2_0._1);
  107230. if (t7) {
  107231. if (cacheable) {
  107232. for (j = 0; j < i; ++j)
  107233. t4.$indexSet(0, new A._Record_3_forImport(t2[j], url, forImport), _null);
  107234. cacheable = false;
  107235. }
  107236. if (_2_1 != null)
  107237. return _2_1;
  107238. }
  107239. }
  107240. }
  107241. if (cacheable)
  107242. t1.$indexSet(0, key, _null);
  107243. return _null;
  107244. },
  107245. _import_cache$_canonicalize$4(importer, url, baseUrl, forImport) {
  107246. var passContainingUrl, canonicalizeContext, t1, result, cacheable;
  107247. if (baseUrl != null)
  107248. passContainingUrl = url.get$scheme() === "" || importer.isNonCanonicalScheme$1(url.get$scheme());
  107249. else
  107250. passContainingUrl = false;
  107251. canonicalizeContext = new A.CanonicalizeContext0(forImport, passContainingUrl ? baseUrl : null);
  107252. t1 = type$.nullable_Object;
  107253. result = A.runZoned(new A.ImportCache__canonicalize_closure0(importer, url), A.LinkedHashMap_LinkedHashMap$_literal([B.Symbol__canonicalizeContext, canonicalizeContext], t1, t1), type$.nullable_Uri);
  107254. cacheable = !passContainingUrl || !canonicalizeContext._canonicalize_context$_wasContainingUrlAccessed;
  107255. if (result == null)
  107256. return new A._Record_2(null, cacheable);
  107257. if (result.get$scheme() !== "" && importer.isNonCanonicalScheme$1(result.get$scheme()))
  107258. throw A.wrapException("Importer " + importer.toString$0(0) + " canonicalized " + url.toString$0(0) + " to " + result.toString$0(0) + string$.x2c_whicu);
  107259. return new A._Record_2(new A._Record_3_originalUrl(importer, result, url), cacheable);
  107260. },
  107261. importCanonical$3$originalUrl(importer, canonicalUrl, originalUrl) {
  107262. return this._import_cache$_importCache.putIfAbsent$2(canonicalUrl, new A.ImportCache_importCanonical_closure0(this, importer, canonicalUrl, originalUrl));
  107263. },
  107264. humanize$1(canonicalUrl) {
  107265. var t1 = this._import_cache$_canonicalizeCache,
  107266. t2 = type$.NonNullsIterable_Record_3_Importer_and_Uri_and_Uri_originalUrl_2;
  107267. t2 = A.NullableExtension_andThen0(A.minBy(new A.MappedIterable(new A.WhereIterable(new A.NonNullsIterable(new A.LinkedHashMapValuesIterable(t1, A._instanceType(t1)._eval$1("LinkedHashMapValuesIterable<2>")), t2), new A.ImportCache_humanize_closure3(canonicalUrl), t2._eval$1("WhereIterable<Iterable.E>")), new A.ImportCache_humanize_closure4(), t2._eval$1("MappedIterable<Iterable.E,Uri>")), new A.ImportCache_humanize_closure5()), new A.ImportCache_humanize_closure6(canonicalUrl));
  107268. return t2 == null ? canonicalUrl : t2;
  107269. },
  107270. sourceMapUrl$1(_, canonicalUrl) {
  107271. var t1 = this._import_cache$_resultsCache.$index(0, canonicalUrl);
  107272. t1 = t1 == null ? null : t1.get$sourceMapUrl(0);
  107273. return t1 == null ? canonicalUrl : t1;
  107274. }
  107275. };
  107276. A.ImportCache_canonicalize_closure0.prototype = {
  107277. call$0() {
  107278. var _this = this,
  107279. t1 = _this.$this,
  107280. t2 = _this.baseUrl,
  107281. _0_0 = t1._import_cache$_canonicalize$4(_this.baseImporter, _this.resolvedUrl, t2, _this.forImport);
  107282. if (t2 != null)
  107283. t1._import_cache$_nonCanonicalRelativeUrls.$indexSet(0, _this.key, _this.url);
  107284. return _0_0._0;
  107285. },
  107286. $signature: 490
  107287. };
  107288. A.ImportCache__canonicalize_closure0.prototype = {
  107289. call$0() {
  107290. return this.importer.canonicalize$1(0, this.url);
  107291. },
  107292. $signature: 144
  107293. };
  107294. A.ImportCache_importCanonical_closure0.prototype = {
  107295. call$0() {
  107296. var t3, _this = this,
  107297. t1 = Date.now(),
  107298. t2 = _this.canonicalUrl,
  107299. result = _this.importer.load$1(0, t2);
  107300. if (result == null)
  107301. return null;
  107302. t3 = _this.$this;
  107303. t3._import_cache$_loadTimes.$indexSet(0, t2, new A.DateTime(t1, 0, false));
  107304. t3._import_cache$_resultsCache.$indexSet(0, t2, result);
  107305. t3 = result.contents;
  107306. t1 = result.syntax;
  107307. t2 = _this.originalUrl.resolveUri$1(t2);
  107308. return A.Stylesheet_Stylesheet$parse0(t3, t1, t2);
  107309. },
  107310. $signature: 491
  107311. };
  107312. A.ImportCache_humanize_closure3.prototype = {
  107313. call$1(result) {
  107314. return result._1.$eq(0, this.canonicalUrl);
  107315. },
  107316. $signature: 492
  107317. };
  107318. A.ImportCache_humanize_closure4.prototype = {
  107319. call$1(result) {
  107320. return result._2;
  107321. },
  107322. $signature: 493
  107323. };
  107324. A.ImportCache_humanize_closure5.prototype = {
  107325. call$1(url) {
  107326. return url.get$path(url).length;
  107327. },
  107328. $signature: 80
  107329. };
  107330. A.ImportCache_humanize_closure6.prototype = {
  107331. call$1(url) {
  107332. var t1 = $.$get$url(),
  107333. t2 = this.canonicalUrl;
  107334. return url.resolve$1(0, A.ParsedPath_ParsedPath$parse(t2.get$path(t2), t1.style).get$basename());
  107335. },
  107336. $signature: 49
  107337. };
  107338. A.ImportRule0.prototype = {
  107339. accept$1$1(visitor) {
  107340. return visitor.visitImportRule$1(0, this);
  107341. },
  107342. accept$1(visitor) {
  107343. return this.accept$1$1(visitor, type$.dynamic);
  107344. },
  107345. toString$0(_) {
  107346. return "@import " + B.JSArray_methods.join$1(this.imports, ", ") + ";";
  107347. },
  107348. get$span(receiver) {
  107349. return this.span;
  107350. }
  107351. };
  107352. A.JSImporter.prototype = {};
  107353. A.JSImporterResult.prototype = {};
  107354. A.Importer0.prototype = {
  107355. isNonCanonicalScheme$1(scheme) {
  107356. return false;
  107357. }
  107358. };
  107359. A.NodeImporterResult0.prototype = {};
  107360. A.IncludeRule0.prototype = {
  107361. get$spanWithoutContent() {
  107362. var t2, t3,
  107363. t1 = this.span;
  107364. if (!(this.content == null)) {
  107365. t2 = t1.file;
  107366. t3 = this.$arguments.span;
  107367. t3 = A.SpanExtensions_trimRight0(A.SpanExtensions_trimLeft0(t2.span$2(0, A.FileLocation$_(t2, t1._file$_start).offset, t3.get$end(t3).offset)));
  107368. t1 = t3;
  107369. }
  107370. return t1;
  107371. },
  107372. get$nameSpan() {
  107373. var startSpan, scanner, _null = null,
  107374. t1 = this.span,
  107375. t2 = t1._file$_start,
  107376. t3 = t1._end,
  107377. t4 = t1.file._decodedChars;
  107378. if (B.JSString_methods.startsWith$1(A.String_String$fromCharCodes(B.NativeUint32List_methods.sublist$2(t4, t2, t3), 0, _null), "+"))
  107379. startSpan = A.SpanExtensions_trimLeft0(A.FileSpanExtension_subspan(t1, 1, _null));
  107380. else {
  107381. scanner = A.StringScanner$(A.String_String$fromCharCodes(B.NativeUint32List_methods.sublist$2(t4, t2, t3), 0, _null), _null, _null);
  107382. scanner.expectChar$1(64);
  107383. A._scanIdentifier0(scanner);
  107384. startSpan = A.SpanExtensions_trimLeft0(A.FileSpanExtension_subspan(t1, scanner._string_scanner$_position, _null));
  107385. }
  107386. return A.SpanExtensions_initialIdentifier0(this.namespace != null ? A.FileSpanExtension_subspan(A.SpanExtensions_withoutInitialIdentifier0(startSpan), 1, _null) : startSpan);
  107387. },
  107388. accept$1$1(visitor) {
  107389. return visitor.visitIncludeRule$1(0, this);
  107390. },
  107391. accept$1(visitor) {
  107392. return this.accept$1$1(visitor, type$.dynamic);
  107393. },
  107394. toString$0(_) {
  107395. var t2, _this = this,
  107396. t1 = _this.namespace;
  107397. t1 = t1 != null ? "@include " + (t1 + ".") : "@include ";
  107398. t1 += _this.name;
  107399. t2 = _this.$arguments;
  107400. if (!t2.get$isEmpty(0))
  107401. t1 += "(" + t2.toString$0(0) + ")";
  107402. t2 = _this.content;
  107403. t1 += t2 == null ? ";" : " " + t2.toString$0(0);
  107404. return t1.charCodeAt(0) == 0 ? t1 : t1;
  107405. },
  107406. get$span(receiver) {
  107407. return this.span;
  107408. }
  107409. };
  107410. A.InterpolatedFunctionExpression0.prototype = {
  107411. accept$1$1(visitor) {
  107412. return visitor.visitInterpolatedFunctionExpression$1(0, this);
  107413. },
  107414. accept$1(visitor) {
  107415. return this.accept$1$1(visitor, type$.dynamic);
  107416. },
  107417. toString$0(_) {
  107418. return this.name.toString$0(0) + this.$arguments.toString$0(0);
  107419. },
  107420. get$span(receiver) {
  107421. return this.span;
  107422. }
  107423. };
  107424. A.Interpolation0.prototype = {
  107425. get$asPlain() {
  107426. var _0_1, t1, _0_6_isSet, _0_6, _0_60, first,
  107427. _0_0 = this.contents;
  107428. $label0$0: {
  107429. _0_1 = _0_0.length;
  107430. if (_0_1 <= 0) {
  107431. t1 = "";
  107432. break $label0$0;
  107433. }
  107434. _0_6_isSet = _0_1 === 1;
  107435. if (_0_6_isSet) {
  107436. _0_6 = _0_0[0];
  107437. _0_60 = _0_6;
  107438. t1 = typeof _0_6 == "string";
  107439. _0_6 = _0_60;
  107440. } else {
  107441. _0_6 = null;
  107442. t1 = false;
  107443. }
  107444. if (t1) {
  107445. first = A._asString(_0_6_isSet ? _0_6 : _0_0[0]);
  107446. t1 = first;
  107447. break $label0$0;
  107448. }
  107449. t1 = null;
  107450. break $label0$0;
  107451. }
  107452. return t1;
  107453. },
  107454. get$initialPlain() {
  107455. var _0_4_isSet, _0_4, _0_40, t1, first,
  107456. _0_0 = this.contents;
  107457. $label0$0: {
  107458. _0_4_isSet = _0_0.length >= 1;
  107459. if (_0_4_isSet) {
  107460. _0_4 = _0_0[0];
  107461. _0_40 = _0_4;
  107462. t1 = typeof _0_4 == "string";
  107463. _0_4 = _0_40;
  107464. } else {
  107465. _0_4 = null;
  107466. t1 = false;
  107467. }
  107468. if (t1) {
  107469. first = A._asString(_0_4_isSet ? _0_4 : _0_0[0]);
  107470. t1 = first;
  107471. break $label0$0;
  107472. }
  107473. t1 = "";
  107474. break $label0$0;
  107475. }
  107476. return t1;
  107477. },
  107478. spanForElement$1(index) {
  107479. var t1, t2, t3, t4, t5, _this = this;
  107480. $label0$0: {
  107481. if (typeof _this.contents[index] == "string") {
  107482. t1 = _this.span;
  107483. t2 = t1.get$file(t1);
  107484. if (index === 0)
  107485. t3 = t1.get$start(t1);
  107486. else {
  107487. t3 = _this.spans[index - 1];
  107488. t3 = t3.get$end(t3);
  107489. }
  107490. t4 = index + 1;
  107491. t5 = _this.spans;
  107492. if (t4 === t5.length)
  107493. t1 = t1.get$end(t1);
  107494. else {
  107495. t1 = t5[t4];
  107496. t1 = t1.get$start(t1);
  107497. }
  107498. t1 = t2.span$2(0, t3.offset, t1.offset);
  107499. break $label0$0;
  107500. }
  107501. t1 = _this.spans[index];
  107502. t1.toString;
  107503. break $label0$0;
  107504. }
  107505. return t1;
  107506. },
  107507. Interpolation$30(contents, spans, span) {
  107508. var t1, t2, t3, t4, i, t5, isString, _s5_ = "spans",
  107509. _s8_ = "contents";
  107510. if (spans.length !== J.get$length$asx(contents))
  107511. throw A.wrapException(A.ArgumentError$value(this.spans, _s5_, "Must be the same length as contents."));
  107512. for (t1 = this.contents, t2 = t1.length, t3 = spans.length, t4 = this.spans, i = 0; i < t2; ++i) {
  107513. t5 = t1[i];
  107514. isString = typeof t5 == "string";
  107515. if (!isString && !(t5 instanceof A.Expression0))
  107516. throw A.wrapException(A.ArgumentError$value(t1, _s8_, "May only contain Strings or Expressions."));
  107517. else if (isString) {
  107518. if (i !== 0 && typeof t1[i - 1] == "string")
  107519. throw A.wrapException(A.ArgumentError$value(t1, _s8_, "May not contain adjacent Strings."));
  107520. else if (i < t3 && t4[i] != null)
  107521. throw A.wrapException(A.ArgumentError$value(t4, _s5_, string$.May_no + i + ")."));
  107522. } else if (i >= t3 || t4[i] == null)
  107523. throw A.wrapException(A.ArgumentError$value(t4, _s5_, string$.Must_n + i + ")."));
  107524. }
  107525. },
  107526. toString$0(_) {
  107527. var t1 = this.contents;
  107528. return new A.MappedListIterable(t1, new A.Interpolation_toString_closure0(), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,String>")).join$0(0);
  107529. },
  107530. $isAstNode0: 1,
  107531. $isSassNode: 1,
  107532. get$span(receiver) {
  107533. return this.span;
  107534. }
  107535. };
  107536. A.Interpolation_toString_closure0.prototype = {
  107537. call$1(value) {
  107538. return typeof value == "string" ? value : "#{" + A.S(value) + "}";
  107539. },
  107540. $signature: 132
  107541. };
  107542. A.SupportsInterpolation0.prototype = {
  107543. toInterpolation$0() {
  107544. var t1 = this.span;
  107545. return A.Interpolation$0(A._setArrayType([this.expression], type$.JSArray_Object), A._setArrayType([t1], type$.JSArray_nullable_FileSpan), t1);
  107546. },
  107547. withSpan$1(span) {
  107548. return new A.SupportsInterpolation0(this.expression, span);
  107549. },
  107550. toString$0(_) {
  107551. return "#{" + this.expression.toString$0(0) + "}";
  107552. },
  107553. $isAstNode0: 1,
  107554. $isSassNode: 1,
  107555. $isSupportsCondition: 1,
  107556. get$span(receiver) {
  107557. return this.span;
  107558. }
  107559. };
  107560. A.InterpolationBuffer0.prototype = {
  107561. writeCharCode$1(character) {
  107562. var t1 = this._interpolation_buffer0$_text,
  107563. t2 = A.Primitives_stringFromCharCode(character);
  107564. t1._contents += t2;
  107565. return null;
  107566. },
  107567. add$2(_, expression, span) {
  107568. this._interpolation_buffer0$_flushText$0();
  107569. this._interpolation_buffer0$_contents.push(expression);
  107570. this._interpolation_buffer0$_spans.push(span);
  107571. },
  107572. addInterpolation$1(interpolation) {
  107573. var spansToAdd, _0_4_isSet, _0_4, _0_40, first, rest, t2, t3, _this = this,
  107574. toAdd = interpolation.contents,
  107575. t1 = toAdd.length;
  107576. if (t1 === 0)
  107577. return;
  107578. spansToAdd = interpolation.spans;
  107579. _0_4_isSet = t1 >= 1;
  107580. if (_0_4_isSet) {
  107581. _0_4 = toAdd[0];
  107582. _0_40 = _0_4;
  107583. t1 = typeof _0_4 == "string";
  107584. _0_4 = _0_40;
  107585. } else {
  107586. _0_4 = null;
  107587. t1 = false;
  107588. }
  107589. if (t1) {
  107590. first = A._asString(_0_4_isSet ? _0_4 : toAdd[0]);
  107591. rest = B.JSArray_methods.sublist$1(toAdd, 1);
  107592. t1 = _this._interpolation_buffer0$_text;
  107593. t1._contents += first;
  107594. spansToAdd = A.SubListIterable$(spansToAdd, 1, null, A._arrayInstanceType(spansToAdd)._precomputed1);
  107595. toAdd = rest;
  107596. }
  107597. _this._interpolation_buffer0$_flushText$0();
  107598. t1 = _this._interpolation_buffer0$_contents;
  107599. B.JSArray_methods.addAll$1(t1, toAdd);
  107600. t2 = _this._interpolation_buffer0$_spans;
  107601. B.JSArray_methods.addAll$1(t2, spansToAdd);
  107602. if (typeof B.JSArray_methods.get$last(t1) == "string") {
  107603. t3 = _this._interpolation_buffer0$_text;
  107604. t1 = A.S(t1.pop());
  107605. t3._contents += t1;
  107606. t2.pop();
  107607. }
  107608. },
  107609. _interpolation_buffer0$_flushText$0() {
  107610. var t1 = this._interpolation_buffer0$_text,
  107611. t2 = t1._contents;
  107612. if (t2.length === 0)
  107613. return;
  107614. this._interpolation_buffer0$_contents.push(t2.charCodeAt(0) == 0 ? t2 : t2);
  107615. this._interpolation_buffer0$_spans.push(null);
  107616. t1._contents = "";
  107617. },
  107618. interpolation$1(span) {
  107619. var t1 = A.List_List$_of(this._interpolation_buffer0$_contents, type$.Object),
  107620. t2 = this._interpolation_buffer0$_text,
  107621. t3 = t2._contents;
  107622. if (t3.length !== 0)
  107623. t1.push(t3.charCodeAt(0) == 0 ? t3 : t3);
  107624. t3 = A.List_List$_of(this._interpolation_buffer0$_spans, type$.nullable_FileSpan);
  107625. if (t2._contents.length !== 0)
  107626. t3.push(null);
  107627. return A.Interpolation$0(t1, t3, span);
  107628. },
  107629. toString$0(_) {
  107630. var t1, t2, _i, t3, element;
  107631. for (t1 = this._interpolation_buffer0$_contents, t2 = t1.length, _i = 0, t3 = ""; _i < t1.length; t1.length === t2 || (0, A.throwConcurrentModificationError)(t1), ++_i) {
  107632. element = t1[_i];
  107633. t3 = typeof element == "string" ? t3 + element : t3 + "#{" + A.S(element) + A.Primitives_stringFromCharCode(125);
  107634. }
  107635. t1 = t3 + this._interpolation_buffer0$_text.toString$0(0);
  107636. return t1.charCodeAt(0) == 0 ? t1 : t1;
  107637. }
  107638. };
  107639. A.InterpolationMap0.prototype = {
  107640. mapException$1(error) {
  107641. var source, startIndex, endIndex, t3, t4, _this = this,
  107642. target = error.get$span(error),
  107643. t1 = _this._interpolation_map$_interpolation,
  107644. t2 = t1.contents;
  107645. if (t2.length === 0)
  107646. return new A.SourceSpanFormatException(error.get$source(), error._span_exception$_message, t1.span);
  107647. source = _this.mapSpan$1(target);
  107648. startIndex = _this._interpolation_map$_indexInContents$1(target.get$start(target));
  107649. endIndex = _this._interpolation_map$_indexInContents$1(target.get$end(target));
  107650. t1 = error._span_exception$_message;
  107651. if (!A.SubListIterable$(t2, startIndex, null, A._arrayInstanceType(t2)._precomputed1).take$1(0, endIndex - startIndex + 1).any$1(0, new A.InterpolationMap_mapException_closure0()))
  107652. return new A.SourceSpanFormatException(error.get$source(), t1, source);
  107653. else {
  107654. t2 = type$.SourceSpan;
  107655. t3 = type$.String;
  107656. t4 = A.LinkedHashMap_LinkedHashMap$_literal([target, "error in interpolated output"], t2, t3);
  107657. return new A.MultiSourceSpanFormatException(error.get$source(), "", A.ConstantMap_ConstantMap$from(t4, t2, t3), t1, source);
  107658. }
  107659. },
  107660. mapSpan$1(target) {
  107661. var _0_10, t1, _0_2_isSet, _0_20, t2, start, t3, end, _this = this, _null = null,
  107662. _0_1 = _this._interpolation_map$_mapLocation$1(target.get$start(target)),
  107663. _0_2 = _this._interpolation_map$_mapLocation$1(target.get$end(target));
  107664. $label0$0: {
  107665. _0_10 = _0_1;
  107666. t1 = type$.FileSpan;
  107667. _0_2_isSet = t1._is(_0_1);
  107668. _0_20 = _null;
  107669. t2 = false;
  107670. if (_0_2_isSet) {
  107671. start = t1._as(_0_10);
  107672. _0_20 = _0_2;
  107673. t2 = t1._is(_0_2);
  107674. } else
  107675. start = _null;
  107676. if (t2) {
  107677. t1 = start.expand$1(0, t1._as(_0_2_isSet ? _0_20 : _0_2));
  107678. break $label0$0;
  107679. }
  107680. t2 = false;
  107681. if (t1._is(_0_10)) {
  107682. start = t1._as(_0_10);
  107683. if (_0_2_isSet)
  107684. t2 = _0_20;
  107685. else {
  107686. t2 = _0_2;
  107687. _0_20 = t2;
  107688. _0_2_isSet = true;
  107689. }
  107690. t2 = t2 instanceof A.FileLocation;
  107691. } else
  107692. start = _null;
  107693. if (t2) {
  107694. t1 = _0_2_isSet ? _0_20 : _0_2;
  107695. type$.FileLocation._as(t1);
  107696. t2 = _this._interpolation_map$_interpolation.span;
  107697. t1 = t2.get$file(t2).span$2(0, _this._interpolation_map$_expandInterpolationSpanLeft$1(start.get$start(start)), t1.offset);
  107698. break $label0$0;
  107699. }
  107700. t2 = false;
  107701. if (_0_10 instanceof A.FileLocation) {
  107702. t3 = _0_10;
  107703. type$.FileLocation._as(t3);
  107704. if (_0_2_isSet)
  107705. t2 = _0_20;
  107706. else {
  107707. t2 = _0_2;
  107708. _0_20 = t2;
  107709. _0_2_isSet = true;
  107710. }
  107711. t2 = t1._is(t2);
  107712. start = t3;
  107713. } else
  107714. start = _null;
  107715. if (t2) {
  107716. end = t1._as(_0_2_isSet ? _0_20 : _0_2);
  107717. t1 = _this._interpolation_map$_interpolation.span;
  107718. t1 = t1.get$file(t1).span$2(0, start.offset, _this._interpolation_map$_expandInterpolationSpanRight$1(end.get$end(end)));
  107719. break $label0$0;
  107720. }
  107721. t1 = false;
  107722. if (_0_10 instanceof A.FileLocation) {
  107723. t2 = _0_10;
  107724. type$.FileLocation._as(t2);
  107725. if (_0_2_isSet)
  107726. t1 = _0_20;
  107727. else {
  107728. t1 = _0_2;
  107729. _0_20 = t1;
  107730. _0_2_isSet = true;
  107731. }
  107732. t1 = t1 instanceof A.FileLocation;
  107733. start = t2;
  107734. } else
  107735. start = _null;
  107736. if (t1) {
  107737. t1 = _0_2_isSet ? _0_20 : _0_2;
  107738. type$.FileLocation._as(t1);
  107739. t2 = _this._interpolation_map$_interpolation.span;
  107740. t1 = t2.get$file(t2).span$2(0, start.offset, t1.offset);
  107741. break $label0$0;
  107742. }
  107743. t1 = A.throwExpression("[BUG] Unreachable");
  107744. }
  107745. return t1;
  107746. },
  107747. _interpolation_map$_mapLocation$1(target) {
  107748. var index, _0_0, t3, previousLocation, _this = this,
  107749. t1 = _this._interpolation_map$_interpolation,
  107750. t2 = t1.contents;
  107751. if (t2.length === 0)
  107752. return t1.span;
  107753. index = _this._interpolation_map$_indexInContents$1(target);
  107754. _0_0 = t2[index];
  107755. if (_0_0 instanceof A.Expression0)
  107756. return _0_0.get$span(_0_0);
  107757. t3 = index === 0;
  107758. t1 = t1.span;
  107759. if (t3)
  107760. previousLocation = t1.get$start(t1);
  107761. else {
  107762. t1 = t1.get$file(t1);
  107763. t2 = type$.Expression_2._as(t2[index - 1]);
  107764. t2 = t2.get$span(t2);
  107765. previousLocation = A.FileLocation$_(t1, _this._interpolation_map$_expandInterpolationSpanRight$1(t2.get$end(t2)));
  107766. }
  107767. t1 = t3 ? 0 : _this._interpolation_map$_targetLocations[index - 1].get$offset();
  107768. return A.FileLocation$_(previousLocation.file, previousLocation.offset + (target.offset - t1));
  107769. },
  107770. _interpolation_map$_indexInContents$1(target) {
  107771. var t1, t2, t3, i;
  107772. for (t1 = this._interpolation_map$_targetLocations, t2 = t1.length, t3 = target.offset, i = 0; i < t2; ++i)
  107773. if (t3 < t1[i].get$offset())
  107774. return i;
  107775. return this._interpolation_map$_interpolation.contents.length - 1;
  107776. },
  107777. _interpolation_map$_expandInterpolationSpanLeft$1(start) {
  107778. var i0, prev, char,
  107779. source = start.file._decodedChars,
  107780. i = start.offset - 1;
  107781. for (; i >= 0;) {
  107782. i0 = i - 1;
  107783. prev = source[i];
  107784. if (prev === 123) {
  107785. if (source[i0] === 35) {
  107786. i = i0;
  107787. break;
  107788. }
  107789. i = i0;
  107790. } else if (prev === 47) {
  107791. i = i0 - 1;
  107792. if (source[i0] === 42)
  107793. for (; true;) {
  107794. i0 = i - 1;
  107795. if (source[i] !== 42) {
  107796. i = i0;
  107797. continue;
  107798. }
  107799. i = i0;
  107800. do {
  107801. i0 = i - 1;
  107802. char = source[i];
  107803. if (char === 42) {
  107804. i = i0;
  107805. continue;
  107806. } else
  107807. break;
  107808. } while (true);
  107809. if (char === 47) {
  107810. i = i0;
  107811. break;
  107812. }
  107813. i = i0;
  107814. }
  107815. } else
  107816. i = i0;
  107817. }
  107818. return i;
  107819. },
  107820. _interpolation_map$_expandInterpolationSpanRight$1(end) {
  107821. var t1, i0, next, second, t2, char,
  107822. source = end.file._decodedChars,
  107823. i = end.offset;
  107824. for (t1 = source.length; i < t1;) {
  107825. i0 = i + 1;
  107826. next = source[i];
  107827. if (next === 125) {
  107828. i = i0;
  107829. break;
  107830. }
  107831. if (next === 47) {
  107832. i = i0 + 1;
  107833. second = source[i0];
  107834. if (second === 47) {
  107835. while (true) {
  107836. i0 = i + 1;
  107837. t2 = source[i];
  107838. if (!!(t2 === 10 || t2 === 13 || t2 === 12))
  107839. break;
  107840. i = i0;
  107841. }
  107842. i = i0;
  107843. } else if (second === 42)
  107844. for (; true;) {
  107845. i0 = i + 1;
  107846. if (source[i] !== 42) {
  107847. i = i0;
  107848. continue;
  107849. }
  107850. i = i0;
  107851. do {
  107852. i0 = i + 1;
  107853. char = source[i];
  107854. if (char === 42) {
  107855. i = i0;
  107856. continue;
  107857. } else
  107858. break;
  107859. } while (true);
  107860. if (char === 47) {
  107861. i = i0;
  107862. break;
  107863. }
  107864. i = i0;
  107865. }
  107866. } else
  107867. i = i0;
  107868. }
  107869. return i;
  107870. }
  107871. };
  107872. A.InterpolationMap_mapException_closure0.prototype = {
  107873. call$1($content) {
  107874. return $content instanceof A.Expression0;
  107875. },
  107876. $signature: 77
  107877. };
  107878. A.InterpolationMethod0.prototype = {
  107879. toString$0(_) {
  107880. var t1 = this.hue;
  107881. t1 = t1 == null ? "" : " " + t1.toString$0(0) + " hue";
  107882. return this.space.name + t1;
  107883. }
  107884. };
  107885. A.HueInterpolationMethod0.prototype = {
  107886. _enumToString$0() {
  107887. return "HueInterpolationMethod." + this._name;
  107888. }
  107889. };
  107890. A._realCasePath_helper0.prototype = {
  107891. call$2(path, realPath) {
  107892. var dirname = $.$get$context().dirname$1(path);
  107893. if (dirname === path)
  107894. return path;
  107895. return $._realCaseCache0.putIfAbsent$2(path, new A._realCasePath_helper_closure0(path, realPath, this, dirname));
  107896. },
  107897. call$1(path) {
  107898. return this.call$2(path, null);
  107899. },
  107900. $signature: 149
  107901. };
  107902. A._realCasePath_helper_closure0.prototype = {
  107903. call$0() {
  107904. var realPathNonNull, realDirname, basename, matches, t1, _0_0, match, realPathNonNull0, exception, _this = this,
  107905. t2 = _this.path;
  107906. if (!A.linkExists0(t2)) {
  107907. realPathNonNull = null;
  107908. try {
  107909. realPathNonNull0 = _this.realPath;
  107910. realPathNonNull = realPathNonNull0 == null ? A.realpath0(t2) : realPathNonNull0;
  107911. } catch (exception) {
  107912. if (A.unwrapException(exception) instanceof A.FileSystemException0)
  107913. return t2;
  107914. else
  107915. throw exception;
  107916. }
  107917. t1 = realPathNonNull;
  107918. t2 = $.$get$context();
  107919. return A.join(_this.helper.call$2(_this.dirname, t2.dirname$1(t1)), A.ParsedPath_ParsedPath$parse(realPathNonNull, t2.style).get$basename(), null);
  107920. }
  107921. realDirname = _this.helper.call$1(_this.dirname);
  107922. basename = A.ParsedPath_ParsedPath$parse(t2, $.$get$context().style).get$basename();
  107923. try {
  107924. matches = J.where$1$ax(A.listDir0(realDirname), new A._realCasePath_helper__closure0(basename)).toList$0(0);
  107925. t1 = null;
  107926. _0_0 = matches;
  107927. $label0$0: {
  107928. match = null;
  107929. if (J.get$length$asx(_0_0) === 1) {
  107930. match = J.$index$asx(_0_0, 0);
  107931. t1 = match;
  107932. break $label0$0;
  107933. }
  107934. t1 = A.join(realDirname, basename, null);
  107935. break $label0$0;
  107936. }
  107937. t1 = t1;
  107938. return t1;
  107939. } catch (exception) {
  107940. if (A.unwrapException(exception) instanceof A.FileSystemException0)
  107941. return t2;
  107942. else
  107943. throw exception;
  107944. }
  107945. },
  107946. $signature: 26
  107947. };
  107948. A._realCasePath_helper__closure0.prototype = {
  107949. call$1(realPath) {
  107950. return A.equalsIgnoreCase0(A.ParsedPath_ParsedPath$parse(realPath, $.$get$context().style).get$basename(), this.basename);
  107951. },
  107952. $signature: 5
  107953. };
  107954. A.IsCalculationSafeVisitor0.prototype = {
  107955. visitBinaryOperationExpression$1(_, node) {
  107956. return B.Set_oQTdo0.contains$1(0, node.operator) && node.left.accept$1(this) && node.right.accept$1(this);
  107957. },
  107958. visitBooleanExpression$1(_, node) {
  107959. return false;
  107960. },
  107961. visitColorExpression$1(_, node) {
  107962. return false;
  107963. },
  107964. visitFunctionExpression$1(_, node) {
  107965. return true;
  107966. },
  107967. visitInterpolatedFunctionExpression$1(_, node) {
  107968. return true;
  107969. },
  107970. visitIfExpression$1(_, node) {
  107971. return true;
  107972. },
  107973. visitListExpression$1(_, node) {
  107974. var t1 = false;
  107975. if (node.separator === B.ListSeparator_qSL0)
  107976. if (!node.hasBrackets) {
  107977. t1 = node.contents;
  107978. t1 = t1.length > 1 && B.JSArray_methods.every$1(t1, new A.IsCalculationSafeVisitor_visitListExpression_closure0(this));
  107979. }
  107980. return t1;
  107981. },
  107982. visitMapExpression$1(_, node) {
  107983. return false;
  107984. },
  107985. visitNullExpression$1(_, node) {
  107986. return false;
  107987. },
  107988. visitNumberExpression$1(_, node) {
  107989. return true;
  107990. },
  107991. visitParenthesizedExpression$1(_, node) {
  107992. return node.expression.accept$1(this);
  107993. },
  107994. visitSelectorExpression$1(_, node) {
  107995. return false;
  107996. },
  107997. visitStringExpression$1(_, node) {
  107998. var text, t1, t2;
  107999. if (node.hasQuotes)
  108000. return false;
  108001. text = node.text.get$initialPlain();
  108002. t1 = false;
  108003. if (!B.JSString_methods.startsWith$1(text, "!"))
  108004. if (!B.JSString_methods.startsWith$1(text, "#")) {
  108005. t2 = text.length;
  108006. if ((1 >= t2 ? null : text.charCodeAt(1)) !== 43)
  108007. t1 = (3 >= t2 ? null : text.charCodeAt(3)) !== 40;
  108008. }
  108009. return t1;
  108010. },
  108011. visitSupportsExpression$1(_, node) {
  108012. return false;
  108013. },
  108014. visitUnaryOperationExpression$1(_, node) {
  108015. return false;
  108016. },
  108017. visitValueExpression$1(_, node) {
  108018. return false;
  108019. },
  108020. visitVariableExpression$1(_, node) {
  108021. return true;
  108022. },
  108023. $isExpressionVisitor: 1
  108024. };
  108025. A.IsCalculationSafeVisitor_visitListExpression_closure0.prototype = {
  108026. call$1(expression) {
  108027. return expression.accept$1(this.$this);
  108028. },
  108029. $signature: 140
  108030. };
  108031. A.FileSystemException0.prototype = {
  108032. toString$0(_) {
  108033. var t1 = $.$get$context();
  108034. return t1.prettyUri$1(t1.toUri$1(this.path)) + ": " + this.message;
  108035. },
  108036. get$message(receiver) {
  108037. return this.message;
  108038. }
  108039. };
  108040. A._readFile_closure0.prototype = {
  108041. call$0() {
  108042. return J.readFileSync$2$x(A.fs(), this.path, this.encoding);
  108043. },
  108044. $signature: 58
  108045. };
  108046. A.fileExists_closure0.prototype = {
  108047. call$0() {
  108048. var error, systemError, exception,
  108049. t1 = this.path;
  108050. if (!J.existsSync$1$x(A.fs(), t1))
  108051. return false;
  108052. try {
  108053. t1 = J.isFile$0$x(J.statSync$1$x(A.fs(), t1));
  108054. return t1;
  108055. } catch (exception) {
  108056. error = A.unwrapException(exception);
  108057. systemError = type$.JsSystemError._as(error);
  108058. if (J.$eq$(J.get$code$x(systemError), "ENOENT"))
  108059. return false;
  108060. throw exception;
  108061. }
  108062. },
  108063. $signature: 19
  108064. };
  108065. A.dirExists_closure0.prototype = {
  108066. call$0() {
  108067. var error, systemError, exception,
  108068. t1 = this.path;
  108069. if (!J.existsSync$1$x(A.fs(), t1))
  108070. return false;
  108071. try {
  108072. t1 = J.isDirectory$0$x(J.statSync$1$x(A.fs(), t1));
  108073. return t1;
  108074. } catch (exception) {
  108075. error = A.unwrapException(exception);
  108076. systemError = type$.JsSystemError._as(error);
  108077. if (J.$eq$(J.get$code$x(systemError), "ENOENT"))
  108078. return false;
  108079. throw exception;
  108080. }
  108081. },
  108082. $signature: 19
  108083. };
  108084. A.linkExists_closure0.prototype = {
  108085. call$0() {
  108086. var error, systemError, t1, exception;
  108087. try {
  108088. t1 = J.isSymbolicLink$0$x(J.lstatSync$1$x(A.fs(), this.path));
  108089. return t1;
  108090. } catch (exception) {
  108091. error = A.unwrapException(exception);
  108092. systemError = type$.JsSystemError._as(error);
  108093. if (J.$eq$(J.get$code$x(systemError), "ENOENT"))
  108094. return false;
  108095. throw exception;
  108096. }
  108097. },
  108098. $signature: 19
  108099. };
  108100. A.listDir_closure0.prototype = {
  108101. call$0() {
  108102. var t1 = this.path;
  108103. if (!this.recursive)
  108104. return J.map$1$1$ax(J.readdirSync$1$x(A.fs(), t1), new A.listDir__closure1(t1), type$.String).super$Iterable$where(0, new A.listDir__closure2());
  108105. else
  108106. return new A.listDir_closure_list0().call$1(t1);
  108107. },
  108108. $signature: 152
  108109. };
  108110. A.listDir__closure1.prototype = {
  108111. call$1(child) {
  108112. return A.join(this.path, A._asString(child), null);
  108113. },
  108114. $signature: 134
  108115. };
  108116. A.listDir__closure2.prototype = {
  108117. call$1(child) {
  108118. return !A.dirExists0(child);
  108119. },
  108120. $signature: 5
  108121. };
  108122. A.listDir_closure_list0.prototype = {
  108123. call$1($parent) {
  108124. return J.expand$1$1$ax(J.readdirSync$1$x(A.fs(), $parent), new A.listDir__list_closure0($parent, this), type$.String);
  108125. },
  108126. $signature: 153
  108127. };
  108128. A.listDir__list_closure0.prototype = {
  108129. call$1(child) {
  108130. var path = A.join(this.parent, A._asString(child), null);
  108131. return A.dirExists0(path) ? this.list.call$1(path) : A._setArrayType([path], type$.JSArray_String);
  108132. },
  108133. $signature: 154
  108134. };
  108135. A.realpath_closure0.prototype = {
  108136. call$0() {
  108137. return J.native$1$x(J.get$realpathSync$x(A.fs()), this.path);
  108138. },
  108139. $signature: 26
  108140. };
  108141. A.main_closure.prototype = {
  108142. call$2(_, __) {
  108143. },
  108144. $signature: 494
  108145. };
  108146. A.main_closure0.prototype = {
  108147. call$2(_, __) {
  108148. },
  108149. $signature: 495
  108150. };
  108151. A.JSToDartLogger.prototype = {
  108152. internalWarn$4$deprecation$span$trace(message, deprecation, span, trace) {
  108153. var t2, t3, t4,
  108154. t1 = this._node,
  108155. _0_0 = t1 == null ? null : J.get$warn$x(t1);
  108156. if (_0_0 != null) {
  108157. t1 = span == null ? self.undefined : span;
  108158. t2 = J.toString$0$(trace);
  108159. t3 = deprecation == null;
  108160. t4 = $.$get$deprecations();
  108161. _0_0.call$2(message, {deprecation: !t3, deprecationType: t4.$index(0, t3 ? null : deprecation.id), span: t1, stack: t2});
  108162. } else
  108163. this._withAscii$1(new A.JSToDartLogger_internalWarn_closure(this, message, span, trace, deprecation));
  108164. },
  108165. debug$2(_, message, span) {
  108166. var t1 = this._node,
  108167. _0_0 = t1 == null ? null : J.get$debug$x(t1);
  108168. if (_0_0 != null)
  108169. _0_0.call$2(message, {span: span});
  108170. else
  108171. this._withAscii$1(new A.JSToDartLogger_debug_closure(this, message, span));
  108172. },
  108173. _withAscii$1$1(callback) {
  108174. var t1,
  108175. wasAscii = $._glyphs === B.C_AsciiGlyphSet;
  108176. $._glyphs = this._ascii ? B.C_AsciiGlyphSet : B.C_UnicodeGlyphSet;
  108177. try {
  108178. t1 = callback.call$0();
  108179. return t1;
  108180. } finally {
  108181. $._glyphs = wasAscii ? B.C_AsciiGlyphSet : B.C_UnicodeGlyphSet;
  108182. }
  108183. },
  108184. _withAscii$1(callback) {
  108185. callback.toString;
  108186. return this._withAscii$1$1(callback, type$.dynamic);
  108187. }
  108188. };
  108189. A.JSToDartLogger_internalWarn_closure.prototype = {
  108190. call$0() {
  108191. var _this = this;
  108192. $label0$0: {
  108193. _this.$this._fallback.internalWarn$4$deprecation$span$trace(_this.message, _this.deprecation, _this.span, _this.trace);
  108194. break $label0$0;
  108195. }
  108196. },
  108197. $signature: 1
  108198. };
  108199. A.JSToDartLogger_debug_closure.prototype = {
  108200. call$0() {
  108201. return this.$this._fallback.debug$2(0, this.message, this.span);
  108202. },
  108203. $signature: 0
  108204. };
  108205. A.ModifiableCssKeyframeBlock0.prototype = {
  108206. accept$1$1(visitor) {
  108207. return visitor.visitCssKeyframeBlock$1(this);
  108208. },
  108209. accept$1(visitor) {
  108210. return this.accept$1$1(visitor, type$.dynamic);
  108211. },
  108212. equalsIgnoringChildren$1(other) {
  108213. return other instanceof A.ModifiableCssKeyframeBlock0 && B.C_ListEquality.equals$2(0, this.selector.value, other.selector.value);
  108214. },
  108215. copyWithoutChildren$0() {
  108216. return A.ModifiableCssKeyframeBlock$0(this.selector, this.span);
  108217. },
  108218. get$span(receiver) {
  108219. return this.span;
  108220. }
  108221. };
  108222. A.KeyframeSelectorParser0.prototype = {
  108223. parse$0(_) {
  108224. return this.wrapSpanFormatException$1(new A.KeyframeSelectorParser_parse_closure0(this));
  108225. },
  108226. _keyframe_selector$_percentage$0() {
  108227. var $self, _0_0,
  108228. t1 = this.scanner,
  108229. t2 = t1.scanChar$1(43) ? "" + A.Primitives_stringFromCharCode(43) : "",
  108230. second = t1.peekChar$0();
  108231. if (!(second != null && second >= 48 && second <= 57) && second !== 46)
  108232. t1.error$1(0, "Expected number.");
  108233. while (true) {
  108234. $self = t1.peekChar$0();
  108235. if (!($self != null && $self >= 48 && $self <= 57))
  108236. break;
  108237. t2 += A.Primitives_stringFromCharCode(t1.readChar$0());
  108238. }
  108239. if (t1.peekChar$0() === 46) {
  108240. t2 += A.Primitives_stringFromCharCode(t1.readChar$0());
  108241. while (true) {
  108242. $self = t1.peekChar$0();
  108243. if (!($self != null && $self >= 48 && $self <= 57))
  108244. break;
  108245. t2 += A.Primitives_stringFromCharCode(t1.readChar$0());
  108246. }
  108247. }
  108248. if (this.scanIdentChar$1(101)) {
  108249. t2 += A.Primitives_stringFromCharCode(101);
  108250. _0_0 = t1.peekChar$0();
  108251. if (43 === _0_0 || 45 === _0_0)
  108252. t2 += A.Primitives_stringFromCharCode(t1.readChar$0());
  108253. $self = t1.peekChar$0();
  108254. if (!($self != null && $self >= 48 && $self <= 57))
  108255. t1.error$1(0, "Expected digit.");
  108256. do {
  108257. t2 += A.Primitives_stringFromCharCode(t1.readChar$0());
  108258. $self = t1.peekChar$0();
  108259. } while ($self != null && $self >= 48 && $self <= 57);
  108260. }
  108261. t1.expectChar$1(37);
  108262. t2 += A.Primitives_stringFromCharCode(37);
  108263. return t2.charCodeAt(0) == 0 ? t2 : t2;
  108264. }
  108265. };
  108266. A.KeyframeSelectorParser_parse_closure0.prototype = {
  108267. call$0() {
  108268. var selectors = A._setArrayType([], type$.JSArray_String),
  108269. t1 = this.$this,
  108270. t2 = t1.scanner;
  108271. do {
  108272. t1.whitespace$1$consumeNewlines(true);
  108273. if (t1.lookingAtIdentifier$0())
  108274. if (t1.scanIdentifier$1("from"))
  108275. selectors.push("from");
  108276. else {
  108277. t1.expectIdentifier$2$name("to", '"to" or "from"');
  108278. selectors.push("to");
  108279. }
  108280. else
  108281. selectors.push(t1._keyframe_selector$_percentage$0());
  108282. t1.whitespace$1$consumeNewlines(true);
  108283. } while (t2.scanChar$1(44));
  108284. t2.expectDone$0();
  108285. return selectors;
  108286. },
  108287. $signature: 138
  108288. };
  108289. A.LabColorSpace0.prototype = {
  108290. get$isBoundedInternal() {
  108291. return false;
  108292. },
  108293. convert$7$missingChroma$missingHue(dest, lightness, a, b, alpha, missingChroma, missingHue) {
  108294. var powerlessAB, t1, missingLightness, f1, t2, t3, t4;
  108295. switch (dest) {
  108296. case B.LabColorSpace_2nT0:
  108297. powerlessAB = lightness == null || A.fuzzyEquals0(lightness, 0);
  108298. t1 = a == null || powerlessAB ? null : a;
  108299. return A.SassColor$_forSpace0(B.LabColorSpace_2nT0, lightness, t1, b == null || powerlessAB ? null : b, alpha, null);
  108300. case B.LchColorSpace_Bpv0:
  108301. return A.labToLch0(dest, lightness, a, b, alpha, false, false);
  108302. default:
  108303. missingLightness = lightness == null;
  108304. if (missingLightness)
  108305. lightness = 0;
  108306. f1 = (lightness + 16) / 116;
  108307. t1 = a == null;
  108308. t2 = this._lab$_convertFToXorZ$1((t1 ? 0 : a) / 500 + f1);
  108309. t3 = lightness > 8 ? Math.pow(f1, 3) : lightness / 903.2962962962963;
  108310. t4 = b == null;
  108311. return B.XyzD50ColorSpace_2OB0.convert$10$missingA$missingB$missingChroma$missingHue$missingLightness(dest, t2 * 0.9642956764295677, t3, this._lab$_convertFToXorZ$1(f1 - (t4 ? 0 : b) / 200) * 0.8251046025104602, alpha, t1, t4, missingChroma, missingHue, missingLightness);
  108312. }
  108313. },
  108314. convert$5(dest, lightness, a, b, alpha) {
  108315. return this.convert$7$missingChroma$missingHue(dest, lightness, a, b, alpha, false, false);
  108316. },
  108317. _lab$_convertFToXorZ$1(component) {
  108318. var cubed = Math.pow(component, 3) + 0;
  108319. return cubed > 0.008856451679035631 ? cubed : (116 * component - 16) / 903.2962962962963;
  108320. }
  108321. };
  108322. A.LazyFileSpan0.prototype = {
  108323. get$span(_) {
  108324. var t1 = this._lazy_file_span0$_span;
  108325. return t1 == null ? this._lazy_file_span0$_span = this._lazy_file_span0$_builder.call$0() : t1;
  108326. },
  108327. compareTo$1(_, other) {
  108328. return this.get$span(0).compareTo$1(0, other);
  108329. },
  108330. get$context(_) {
  108331. var t1 = this.get$span(0);
  108332. return t1.get$context(t1);
  108333. },
  108334. get$end(_) {
  108335. var t1 = this.get$span(0);
  108336. return t1.get$end(t1);
  108337. },
  108338. expand$1(_, other) {
  108339. return this.get$span(0).expand$1(0, other);
  108340. },
  108341. get$file(_) {
  108342. var t1 = this.get$span(0);
  108343. return t1.get$file(t1);
  108344. },
  108345. highlight$1$color(color) {
  108346. return this.get$span(0).highlight$1$color(color);
  108347. },
  108348. get$length(_) {
  108349. var t1 = this.get$span(0);
  108350. return t1.get$length(t1);
  108351. },
  108352. message$2$color(_, message, color) {
  108353. return this.get$span(0).message$2$color(0, message, color);
  108354. },
  108355. message$1(_, message) {
  108356. return this.message$2$color(0, message, null);
  108357. },
  108358. get$sourceUrl(_) {
  108359. var t1 = this.get$span(0);
  108360. return t1.get$sourceUrl(t1);
  108361. },
  108362. get$start(_) {
  108363. var t1 = this.get$span(0);
  108364. return t1.get$start(t1);
  108365. },
  108366. get$text() {
  108367. return this.get$span(0).get$text();
  108368. },
  108369. $isComparable: 1,
  108370. $isFileSpan: 1,
  108371. $isSourceSpan: 1,
  108372. $isSourceSpanWithContext: 1
  108373. };
  108374. A.LchColorSpace0.prototype = {
  108375. get$isBoundedInternal() {
  108376. return false;
  108377. },
  108378. get$isPolarInternal() {
  108379. return true;
  108380. },
  108381. convert$5(dest, lightness, chroma, hue, alpha) {
  108382. var t1 = hue == null,
  108383. hueRadians = (t1 ? 0 : hue) * 3.141592653589793 / 180,
  108384. t2 = chroma == null,
  108385. t3 = t2 ? 0 : chroma,
  108386. t4 = Math.cos(hueRadians),
  108387. t5 = t2 ? 0 : chroma;
  108388. return B.LabColorSpace_2nT0.convert$7$missingChroma$missingHue(dest, lightness, t3 * t4, t5 * Math.sin(hueRadians), alpha, t2, t1);
  108389. }
  108390. };
  108391. A.render_closure.prototype = {
  108392. call$0() {
  108393. var error, exception;
  108394. try {
  108395. this.callback.call$2(null, A.renderSync(this.options));
  108396. } catch (exception) {
  108397. error = A.unwrapException(exception);
  108398. this.callback.call$2(error, null);
  108399. }
  108400. return null;
  108401. },
  108402. $signature: 1
  108403. };
  108404. A.render_closure0.prototype = {
  108405. call$1(result) {
  108406. this.callback.call$2(null, result);
  108407. },
  108408. $signature: 586
  108409. };
  108410. A.render_closure1.prototype = {
  108411. call$2(error, stackTrace) {
  108412. var t2, t3, _null = null,
  108413. t1 = this.callback;
  108414. if (error instanceof A.SassException0)
  108415. t1.call$2(A._wrapException(error, stackTrace), _null);
  108416. else {
  108417. t2 = J.toString$0$(error);
  108418. t3 = A.getTrace0(error);
  108419. t1.call$2(A._newRenderError(t2, t3 == null ? stackTrace : t3, _null, _null, _null, 3), _null);
  108420. }
  108421. },
  108422. $signature: 51
  108423. };
  108424. A._parseFunctions_closure.prototype = {
  108425. call$2(signature, callback) {
  108426. var _0_0, _this = this,
  108427. t1 = _this.options,
  108428. context = {options: A._contextOptions(t1, _this.start)};
  108429. J.set$context$x(J.get$options$x(context), context);
  108430. _0_0 = J.get$fiber$x(t1);
  108431. t1 = {};
  108432. t1.fiber = null;
  108433. if (_0_0 != null) {
  108434. t1.fiber = _0_0;
  108435. _this.result.push(A.Callable_Callable$fromSignature(B.JSString_methods.trimLeft$0(signature), new A._parseFunctions__closure(t1, callback, context), false));
  108436. } else {
  108437. t1 = _this.result;
  108438. if (!_this.asynch)
  108439. t1.push(A.Callable_Callable$fromSignature(B.JSString_methods.trimLeft$0(signature), new A._parseFunctions__closure0(callback, context), false));
  108440. else
  108441. t1.push(A.AsyncCallable_AsyncCallable$fromSignature(B.JSString_methods.trimLeft$0(signature), new A._parseFunctions__closure1(callback, context), false));
  108442. }
  108443. },
  108444. $signature: 126
  108445. };
  108446. A._parseFunctions__closure.prototype = {
  108447. call$1($arguments) {
  108448. var result,
  108449. t1 = this._box_0,
  108450. currentFiber = J.get$current$x(t1.fiber),
  108451. t2 = type$.Object;
  108452. t2 = A.List_List$_of(J.map$1$1$ax($arguments, A.value0__wrapValue$closure(), t2), t2);
  108453. t2.push(A.allowInterop(new A._parseFunctions___closure2(currentFiber)));
  108454. result = A.wrapJSExceptions(new A._parseFunctions___closure3(this.callback, this.context, t2));
  108455. return A.unwrapValue(A._asBool($.$get$_isUndefined().call$1(result)) ? A.runZoned(new A._parseFunctions___closure4(t1), null, type$.nullable_Object) : result);
  108456. },
  108457. $signature: 3
  108458. };
  108459. A._parseFunctions___closure2.prototype = {
  108460. call$1(result) {
  108461. A.scheduleMicrotask(new A._parseFunctions____closure(this.currentFiber, result));
  108462. },
  108463. call$0() {
  108464. return this.call$1(null);
  108465. },
  108466. "call*": "call$1",
  108467. $requiredArgCount: 0,
  108468. $defaultValues() {
  108469. return [null];
  108470. },
  108471. $signature: 91
  108472. };
  108473. A._parseFunctions____closure.prototype = {
  108474. call$0() {
  108475. return J.run$1$x(this.currentFiber, this.result);
  108476. },
  108477. $signature: 0
  108478. };
  108479. A._parseFunctions___closure3.prototype = {
  108480. call$0() {
  108481. return J.apply$2$x(type$.JSFunction._as(this.callback), this.context, this.jsArguments);
  108482. },
  108483. $signature: 36
  108484. };
  108485. A._parseFunctions___closure4.prototype = {
  108486. call$0() {
  108487. return J.yield$0$x(this._box_0.fiber);
  108488. },
  108489. $signature: 84
  108490. };
  108491. A._parseFunctions__closure0.prototype = {
  108492. call$1($arguments) {
  108493. return A.unwrapValue(A.wrapJSExceptions(new A._parseFunctions___closure1(this.callback, this.context, $arguments)));
  108494. },
  108495. $signature: 3
  108496. };
  108497. A._parseFunctions___closure1.prototype = {
  108498. call$0() {
  108499. var t1 = type$.JSFunction._as(this.callback),
  108500. t2 = J.map$1$1$ax(this.$arguments, A.value0__wrapValue$closure(), type$.Object);
  108501. t2 = A.List_List$_of(t2, t2.$ti._eval$1("ListIterable.E"));
  108502. return J.apply$2$x(t1, this.context, t2);
  108503. },
  108504. $signature: 36
  108505. };
  108506. A._parseFunctions__closure1.prototype = {
  108507. call$1($arguments) {
  108508. return this.$call$body$_parseFunctions__closure($arguments);
  108509. },
  108510. $call$body$_parseFunctions__closure($arguments) {
  108511. var $async$goto = 0,
  108512. $async$completer = A._makeAsyncAwaitCompleter(type$.Value_2),
  108513. $async$returnValue, $async$self = this, result, t1, t2, $async$temp1;
  108514. var $async$call$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  108515. if ($async$errorCode === 1)
  108516. return A._asyncRethrow($async$result, $async$completer);
  108517. while (true)
  108518. switch ($async$goto) {
  108519. case 0:
  108520. // Function start
  108521. t1 = new A._Future($.Zone__current, type$._Future_nullable_Object);
  108522. t2 = type$.Object;
  108523. t2 = A.List_List$_of(J.map$1$1$ax($arguments, A.value0__wrapValue$closure(), t2), t2);
  108524. t2.push(A.allowInterop(new A._parseFunctions___closure(new A._AsyncCompleter(t1, type$._AsyncCompleter_nullable_Object))));
  108525. result = A.wrapJSExceptions(new A._parseFunctions___closure0($async$self.callback, $async$self.context, t2));
  108526. $async$temp1 = A;
  108527. $async$goto = A._asBool($.$get$_isUndefined().call$1(result)) ? 3 : 5;
  108528. break;
  108529. case 3:
  108530. // then
  108531. $async$goto = 6;
  108532. return A._asyncAwait(t1, $async$call$1);
  108533. case 6:
  108534. // returning from await.
  108535. // goto join
  108536. $async$goto = 4;
  108537. break;
  108538. case 5:
  108539. // else
  108540. $async$result = result;
  108541. case 4:
  108542. // join
  108543. $async$returnValue = $async$temp1.unwrapValue($async$result);
  108544. // goto return
  108545. $async$goto = 1;
  108546. break;
  108547. case 1:
  108548. // return
  108549. return A._asyncReturn($async$returnValue, $async$completer);
  108550. }
  108551. });
  108552. return A._asyncStartSync($async$call$1, $async$completer);
  108553. },
  108554. $signature: 86
  108555. };
  108556. A._parseFunctions___closure.prototype = {
  108557. call$1(result) {
  108558. return this.completer.complete$1(result);
  108559. },
  108560. call$0() {
  108561. return this.call$1(null);
  108562. },
  108563. "call*": "call$1",
  108564. $requiredArgCount: 0,
  108565. $defaultValues() {
  108566. return [null];
  108567. },
  108568. $signature: 217
  108569. };
  108570. A._parseFunctions___closure0.prototype = {
  108571. call$0() {
  108572. return J.apply$2$x(type$.JSFunction._as(this.callback), this.context, this.jsArguments);
  108573. },
  108574. $signature: 36
  108575. };
  108576. A._parseImporter_closure.prototype = {
  108577. call$1(importer) {
  108578. return type$.JSFunction._as(A.allowInteropCaptureThis(new A._parseImporter__closure(this._box_0, importer)));
  108579. },
  108580. $signature: 497
  108581. };
  108582. A._parseImporter__closure.prototype = {
  108583. call$4(thisArg, url, previous, _) {
  108584. var t1 = this._box_0,
  108585. result = J.apply$2$x(this.importer, thisArg, A._setArrayType([url, previous, A.allowInterop(new A._parseImporter___closure(J.get$current$x(t1.fiber)))], type$.JSArray_Object));
  108586. if (A._asBool($.$get$_isUndefined().call$1(result)))
  108587. return A.runZoned(new A._parseImporter___closure0(t1), null, type$.Object);
  108588. return result;
  108589. },
  108590. call$3(thisArg, url, previous) {
  108591. return this.call$4(thisArg, url, previous, null);
  108592. },
  108593. "call*": "call$4",
  108594. $requiredArgCount: 3,
  108595. $defaultValues() {
  108596. return [null];
  108597. },
  108598. $signature: 498
  108599. };
  108600. A._parseImporter___closure.prototype = {
  108601. call$1(result) {
  108602. A.scheduleMicrotask(new A._parseImporter____closure(this.currentFiber, result));
  108603. },
  108604. $signature: 499
  108605. };
  108606. A._parseImporter____closure.prototype = {
  108607. call$0() {
  108608. return J.run$1$x(this.currentFiber, this.result);
  108609. },
  108610. $signature: 0
  108611. };
  108612. A._parseImporter___closure0.prototype = {
  108613. call$0() {
  108614. return J.yield$0$x(this._box_0.fiber);
  108615. },
  108616. $signature: 84
  108617. };
  108618. A.LimitedMapView0.prototype = {
  108619. get$keys(_) {
  108620. return this._limited_map_view0$_keys;
  108621. },
  108622. get$length(_) {
  108623. return this._limited_map_view0$_keys._collection$_length;
  108624. },
  108625. get$isEmpty(_) {
  108626. return this._limited_map_view0$_keys._collection$_length === 0;
  108627. },
  108628. get$isNotEmpty(_) {
  108629. return this._limited_map_view0$_keys._collection$_length !== 0;
  108630. },
  108631. $index(_, key) {
  108632. return this._limited_map_view0$_keys.contains$1(0, key) ? this._limited_map_view0$_map.$index(0, key) : null;
  108633. },
  108634. containsKey$1(key) {
  108635. return this._limited_map_view0$_keys.contains$1(0, key);
  108636. },
  108637. remove$1(_, key) {
  108638. return this._limited_map_view0$_keys.contains$1(0, key) ? this._limited_map_view0$_map.remove$1(0, key) : null;
  108639. }
  108640. };
  108641. A.ListExpression0.prototype = {
  108642. accept$1$1(visitor) {
  108643. return visitor.visitListExpression$1(0, this);
  108644. },
  108645. accept$1(visitor) {
  108646. return this.accept$1$1(visitor, type$.dynamic);
  108647. },
  108648. toString$0(_) {
  108649. var t2, t3, t4, t5, _this = this,
  108650. t1 = _this.hasBrackets;
  108651. if (t1)
  108652. t2 = "" + A.Primitives_stringFromCharCode(91);
  108653. else {
  108654. t2 = _this.contents.length;
  108655. if (t2 !== 0)
  108656. t2 = t2 === 1 && _this.separator === B.ListSeparator_qVN0;
  108657. else
  108658. t2 = true;
  108659. t2 = t2 ? "" + A.Primitives_stringFromCharCode(40) : "";
  108660. }
  108661. t3 = _this.contents;
  108662. t4 = _this.separator === B.ListSeparator_qVN0;
  108663. t5 = t4 ? ", " : " ";
  108664. t5 = t2 + new A.MappedListIterable(t3, new A.ListExpression_toString_closure0(_this), A._arrayInstanceType(t3)._eval$1("MappedListIterable<1,String>")).join$1(0, t5);
  108665. if (t1)
  108666. t1 = t5 + A.Primitives_stringFromCharCode(93);
  108667. else {
  108668. t1 = t3.length;
  108669. if (t1 === 0)
  108670. t1 = t5 + A.Primitives_stringFromCharCode(41);
  108671. else
  108672. t1 = t1 === 1 && t4 ? t5 + ",)" : t5;
  108673. }
  108674. return t1.charCodeAt(0) == 0 ? t1 : t1;
  108675. },
  108676. _list3$_elementNeedsParens$1(expression) {
  108677. var childSeparator, t1, _0_13;
  108678. $label0$0: {
  108679. if (expression instanceof A.ListExpression0 && expression.contents.length >= 2 && !expression.hasBrackets) {
  108680. childSeparator = expression.separator;
  108681. t1 = this.separator === B.ListSeparator_qVN0 ? childSeparator === B.ListSeparator_qVN0 : childSeparator !== B.ListSeparator_undecided_null_undecided0;
  108682. break $label0$0;
  108683. }
  108684. if (expression instanceof A.UnaryOperationExpression0) {
  108685. _0_13 = expression.operator;
  108686. if (B.UnaryOperator_Rbl0 !== _0_13)
  108687. t1 = B.UnaryOperator_UCP0 === _0_13;
  108688. else
  108689. t1 = true;
  108690. } else
  108691. t1 = false;
  108692. if (t1) {
  108693. t1 = this.separator === B.ListSeparator_qSL0;
  108694. break $label0$0;
  108695. }
  108696. t1 = false;
  108697. break $label0$0;
  108698. }
  108699. return t1;
  108700. },
  108701. get$span(receiver) {
  108702. return this.span;
  108703. }
  108704. };
  108705. A.ListExpression_toString_closure0.prototype = {
  108706. call$1(element) {
  108707. return this.$this._list3$_elementNeedsParens$1(element) ? "(" + element.toString$0(0) + ")" : element.toString$0(0);
  108708. },
  108709. $signature: 113
  108710. };
  108711. A._length_closure2.prototype = {
  108712. call$1($arguments) {
  108713. return A.SassNumber_SassNumber0(J.$index$asx($arguments, 0).get$asList().length, null);
  108714. },
  108715. $signature: 22
  108716. };
  108717. A._nth_closure0.prototype = {
  108718. call$1($arguments) {
  108719. var t1 = J.getInterceptor$asx($arguments),
  108720. list = t1.$index($arguments, 0),
  108721. index = t1.$index($arguments, 1);
  108722. return list.get$asList()[list.sassIndexToListIndex$2(index, "n")];
  108723. },
  108724. $signature: 3
  108725. };
  108726. A._setNth_closure0.prototype = {
  108727. call$1($arguments) {
  108728. var newList,
  108729. t1 = J.getInterceptor$asx($arguments),
  108730. list = t1.$index($arguments, 0),
  108731. index = t1.$index($arguments, 1),
  108732. value = t1.$index($arguments, 2);
  108733. t1 = list.get$asList();
  108734. newList = A._setArrayType(t1.slice(0), A._arrayInstanceType(t1));
  108735. newList[list.sassIndexToListIndex$2(index, "n")] = value;
  108736. return list.withListContents$1(newList);
  108737. },
  108738. $signature: 28
  108739. };
  108740. A._join_closure0.prototype = {
  108741. call$1($arguments) {
  108742. var _0_1, _0_4, _0_3, _0_4_isSet, t2, _0_40, separator, bracketed,
  108743. t1 = J.getInterceptor$asx($arguments),
  108744. list1 = t1.$index($arguments, 0),
  108745. list2 = t1.$index($arguments, 1),
  108746. separatorParam = t1.$index($arguments, 2).assertString$1("separator"),
  108747. bracketedParam = t1.$index($arguments, 3),
  108748. _1_0 = separatorParam._string0$_text;
  108749. $label1$1: {
  108750. if ("auto" === _1_0) {
  108751. _0_1 = list1.get$separator(list1);
  108752. _0_4 = list2.get$separator(list2);
  108753. $label0$0: {
  108754. t1 = null;
  108755. _0_3 = B.ListSeparator_undecided_null_undecided0 === _0_1;
  108756. _0_4_isSet = _0_3;
  108757. if (_0_4_isSet) {
  108758. t2 = B.ListSeparator_undecided_null_undecided0 === _0_4;
  108759. _0_40 = _0_4;
  108760. } else {
  108761. _0_40 = null;
  108762. t2 = false;
  108763. }
  108764. if (t2) {
  108765. t1 = B.ListSeparator_qSL0;
  108766. break $label0$0;
  108767. }
  108768. if (_0_3)
  108769. separator = _0_4_isSet ? _0_40 : _0_4;
  108770. else
  108771. separator = t1;
  108772. if (!_0_3)
  108773. separator = _0_1;
  108774. t1 = separator;
  108775. break $label0$0;
  108776. }
  108777. break $label1$1;
  108778. }
  108779. if ("space" === _1_0) {
  108780. t1 = B.ListSeparator_qSL0;
  108781. break $label1$1;
  108782. }
  108783. if ("comma" === _1_0) {
  108784. t1 = B.ListSeparator_qVN0;
  108785. break $label1$1;
  108786. }
  108787. if ("slash" === _1_0) {
  108788. t1 = B.ListSeparator_bRz0;
  108789. break $label1$1;
  108790. }
  108791. t1 = A.throwExpression(A.SassScriptException$0(string$.x24separ, null));
  108792. }
  108793. bracketed = bracketedParam instanceof A.SassString0 && bracketedParam._string0$_text === "auto" ? list1.get$hasBrackets() : bracketedParam.get$isTruthy();
  108794. t2 = A.List_List$_of(list1.get$asList(), type$.Value_2);
  108795. B.JSArray_methods.addAll$1(t2, list2.get$asList());
  108796. return A.SassList$0(t2, t1, bracketed);
  108797. },
  108798. $signature: 28
  108799. };
  108800. A._append_closure2.prototype = {
  108801. call$1($arguments) {
  108802. var t2,
  108803. t1 = J.getInterceptor$asx($arguments),
  108804. list = t1.$index($arguments, 0),
  108805. value = t1.$index($arguments, 1),
  108806. _0_0 = t1.$index($arguments, 2).assertString$1("separator")._string0$_text;
  108807. $label0$0: {
  108808. if ("auto" === _0_0) {
  108809. t1 = list.get$separator(list) === B.ListSeparator_undecided_null_undecided0 ? B.ListSeparator_qSL0 : list.get$separator(list);
  108810. break $label0$0;
  108811. }
  108812. if ("space" === _0_0) {
  108813. t1 = B.ListSeparator_qSL0;
  108814. break $label0$0;
  108815. }
  108816. if ("comma" === _0_0) {
  108817. t1 = B.ListSeparator_qVN0;
  108818. break $label0$0;
  108819. }
  108820. if ("slash" === _0_0) {
  108821. t1 = B.ListSeparator_bRz0;
  108822. break $label0$0;
  108823. }
  108824. t1 = A.throwExpression(A.SassScriptException$0(string$.x24separ, null));
  108825. }
  108826. t2 = A.List_List$_of(list.get$asList(), type$.Value_2);
  108827. t2.push(value);
  108828. return list.withListContents$2$separator(t2, t1);
  108829. },
  108830. $signature: 28
  108831. };
  108832. A._zip_closure0.prototype = {
  108833. call$1($arguments) {
  108834. var results, result, _box_0 = {},
  108835. t1 = J.$index$asx($arguments, 0).get$asList(),
  108836. t2 = A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,List<Value0>>"),
  108837. lists = A.List_List$_of(new A.MappedListIterable(t1, new A._zip__closure2(), t2), t2._eval$1("ListIterable.E"));
  108838. if (lists.length === 0)
  108839. return B.SassList_BlY0;
  108840. _box_0.i = 0;
  108841. results = A._setArrayType([], type$.JSArray_SassList_2);
  108842. 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));) {
  108843. result = A.List_List$from(new A.MappedListIterable(lists, new A._zip__closure4(_box_0), t1), false, t2);
  108844. result.$flags = 3;
  108845. results.push(new A.SassList0(result, B.ListSeparator_qSL0, false));
  108846. ++_box_0.i;
  108847. }
  108848. return A.SassList$0(results, B.ListSeparator_qVN0, false);
  108849. },
  108850. $signature: 28
  108851. };
  108852. A._zip__closure2.prototype = {
  108853. call$1(list) {
  108854. return list.get$asList();
  108855. },
  108856. $signature: 501
  108857. };
  108858. A._zip__closure3.prototype = {
  108859. call$1(list) {
  108860. return this._box_0.i !== J.get$length$asx(list);
  108861. },
  108862. $signature: 502
  108863. };
  108864. A._zip__closure4.prototype = {
  108865. call$1(list) {
  108866. return J.$index$asx(list, this._box_0.i);
  108867. },
  108868. $signature: 3
  108869. };
  108870. A._index_closure2.prototype = {
  108871. call$1($arguments) {
  108872. var t1 = J.getInterceptor$asx($arguments),
  108873. index = B.JSArray_methods.indexOf$1(t1.$index($arguments, 0).get$asList(), t1.$index($arguments, 1));
  108874. return index === -1 ? B.C__SassNull0 : A.SassNumber_SassNumber0(index + 1, null);
  108875. },
  108876. $signature: 3
  108877. };
  108878. A._separator_closure0.prototype = {
  108879. call$1($arguments) {
  108880. var t1 = J.$index$asx($arguments, 0),
  108881. _0_0 = t1.get$separator(t1);
  108882. $label0$0: {
  108883. if (B.ListSeparator_qVN0 === _0_0) {
  108884. t1 = new A.SassString0("comma", false);
  108885. break $label0$0;
  108886. }
  108887. if (B.ListSeparator_bRz0 === _0_0) {
  108888. t1 = new A.SassString0("slash", false);
  108889. break $label0$0;
  108890. }
  108891. t1 = new A.SassString0("space", false);
  108892. break $label0$0;
  108893. }
  108894. return t1;
  108895. },
  108896. $signature: 18
  108897. };
  108898. A._isBracketed_closure0.prototype = {
  108899. call$1($arguments) {
  108900. return J.$index$asx($arguments, 0).get$hasBrackets() ? B.SassBoolean_true0 : B.SassBoolean_false0;
  108901. },
  108902. $signature: 11
  108903. };
  108904. A._slash_closure0.prototype = {
  108905. call$1($arguments) {
  108906. var list = J.$index$asx($arguments, 0).get$asList();
  108907. if (list.length < 2)
  108908. throw A.wrapException(A.SassScriptException$0("At least two elements are required.", null));
  108909. return A.SassList$0(list, B.ListSeparator_bRz0, false);
  108910. },
  108911. $signature: 28
  108912. };
  108913. A.SelectorList0.prototype = {
  108914. get$asSassList() {
  108915. var t1 = this.components;
  108916. return A.SassList$0(new A.MappedListIterable(t1, new A.SelectorList_asSassList_closure0(), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,Value0>")), B.ListSeparator_qVN0, false);
  108917. },
  108918. accept$1$1(visitor) {
  108919. return visitor.visitSelectorList$1(this);
  108920. },
  108921. accept$1(visitor) {
  108922. return this.accept$1$1(visitor, type$.dynamic);
  108923. },
  108924. unify$1(other) {
  108925. var t3, t4, t5, t6, _i, complex1, t7, _i0, t8,
  108926. t1 = type$.JSArray_ComplexSelector_2,
  108927. t2 = A._setArrayType([], t1);
  108928. for (t3 = this.components, t4 = t3.length, t5 = other.components, t6 = t5.length, _i = 0; _i < t4; ++_i) {
  108929. complex1 = t3[_i];
  108930. for (t7 = complex1.span, _i0 = 0; _i0 < t6; ++_i0) {
  108931. t8 = A.unifyComplex0(A._setArrayType([complex1, t5[_i0]], t1), t7);
  108932. if (t8 != null)
  108933. B.JSArray_methods.addAll$1(t2, t8);
  108934. }
  108935. }
  108936. return t2.length === 0 ? null : A.SelectorList$0(t2, this.span);
  108937. },
  108938. nestWithin$3$implicitParent$preserveParentSelectors($parent, implicitParent, preserveParentSelectors) {
  108939. var parentSelector, t1, _this = this;
  108940. if ($parent == null) {
  108941. if (preserveParentSelectors)
  108942. return _this;
  108943. parentSelector = B.C__ParentSelectorVisitor0.visitSelectorList$1(_this);
  108944. if (parentSelector == null)
  108945. return _this;
  108946. throw A.wrapException(A.SassException$0(string$.Top_les, parentSelector.span, null));
  108947. }
  108948. t1 = _this.components;
  108949. return A.SelectorList$0(A.flattenVertically0(new A.MappedListIterable(t1, new A.SelectorList_nestWithin_closure0(_this, preserveParentSelectors, implicitParent, $parent), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,Iterable<ComplexSelector0>>")), type$.ComplexSelector_2), _this.span);
  108950. },
  108951. nestWithin$1($parent) {
  108952. return this.nestWithin$3$implicitParent$preserveParentSelectors($parent, true, false);
  108953. },
  108954. nestWithin$2$implicitParent($parent, implicitParent) {
  108955. return this.nestWithin$3$implicitParent$preserveParentSelectors($parent, implicitParent, false);
  108956. },
  108957. _list2$_nestWithinCompound$2(component, $parent) {
  108958. var resolvedSimples, parentSelector, error, stackTrace, t2, resolvedSimples0, exception,
  108959. t1 = component.selector,
  108960. simples = t1.components,
  108961. containsSelectorPseudo = J.any$1$ax(simples, new A.SelectorList__nestWithinCompound_closure2());
  108962. if (!containsSelectorPseudo && !(J.get$first$ax(simples) instanceof A.ParentSelector0))
  108963. return null;
  108964. if (containsSelectorPseudo) {
  108965. t2 = simples;
  108966. resolvedSimples0 = new A.MappedListIterable(t2, new A.SelectorList__nestWithinCompound_closure3($parent), A._arrayInstanceType(t2)._eval$1("MappedListIterable<1,SimpleSelector0>"));
  108967. } else
  108968. resolvedSimples0 = simples;
  108969. resolvedSimples = resolvedSimples0;
  108970. parentSelector = J.get$first$ax(simples);
  108971. try {
  108972. if (!(parentSelector instanceof A.ParentSelector0)) {
  108973. t2 = component.span;
  108974. t2 = A._setArrayType([A.ComplexSelector$0(B.List_empty16, A._setArrayType([new A.ComplexSelectorComponent0(A.CompoundSelector$0(resolvedSimples, t1.span), A.List_List$unmodifiable(component.combinators, type$.CssValue_Combinator_2), t2)], type$.JSArray_ComplexSelectorComponent_2), t2, false)], type$.JSArray_ComplexSelector_2);
  108975. return t2;
  108976. } else if (J.get$length$asx(simples) === 1 && parentSelector.suffix == null) {
  108977. t1 = $parent.withAdditionalCombinators$1(component.combinators);
  108978. return t1.components;
  108979. }
  108980. } catch (exception) {
  108981. t1 = A.unwrapException(exception);
  108982. if (t1 instanceof A.SassException0) {
  108983. error = t1;
  108984. stackTrace = A.getTraceFromException(exception);
  108985. A.throwWithTrace0(error.withAdditionalSpan$2(parentSelector.span, "parent selector"), error, stackTrace);
  108986. } else
  108987. throw exception;
  108988. }
  108989. t1 = $parent.components;
  108990. return new A.MappedListIterable(t1, new A.SelectorList__nestWithinCompound_closure4(parentSelector, resolvedSimples, component), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,ComplexSelector0>"));
  108991. },
  108992. isSuperselector$1(other) {
  108993. return A.listIsSuperselector0(this.components, other.components);
  108994. },
  108995. withAdditionalCombinators$1(combinators) {
  108996. var t1;
  108997. if (combinators.length === 0)
  108998. t1 = this;
  108999. else {
  109000. t1 = this.components;
  109001. t1 = A.SelectorList$0(new A.MappedListIterable(t1, new A.SelectorList_withAdditionalCombinators_closure0(combinators), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,ComplexSelector0>")), this.span);
  109002. }
  109003. return t1;
  109004. },
  109005. get$hashCode(_) {
  109006. return B.C_ListEquality0.hash$1(this.components);
  109007. },
  109008. $eq(_, other) {
  109009. if (other == null)
  109010. return false;
  109011. return other instanceof A.SelectorList0 && B.C_ListEquality.equals$2(0, this.components, other.components);
  109012. }
  109013. };
  109014. A.SelectorList_asSassList_closure0.prototype = {
  109015. call$1(complex) {
  109016. var t3, t4, _i, component, visitor, t5, t6, t7, _i0, _null = null,
  109017. t1 = type$.JSArray_Value_2,
  109018. t2 = A._setArrayType([], t1);
  109019. for (t3 = complex.leadingCombinators, t4 = t3.length, _i = 0; _i < t4; ++_i)
  109020. t2.push(new A.SassString0(J.toString$0$(t3[_i].value), false));
  109021. for (t3 = complex.components, t4 = t3.length, _i = 0; _i < t4; ++_i) {
  109022. component = t3[_i];
  109023. visitor = A._SerializeVisitor$0(_null, true, _null, _null, true, false, _null, true);
  109024. component.selector.accept$1(visitor);
  109025. t5 = A._setArrayType([new A.SassString0(visitor._serialize0$_buffer.toString$0(0), false)], t1);
  109026. for (t6 = component.combinators, t7 = t6.length, _i0 = 0; _i0 < t7; ++_i0)
  109027. t5.push(new A.SassString0(J.toString$0$(t6[_i0].value), false));
  109028. B.JSArray_methods.addAll$1(t2, t5);
  109029. }
  109030. return A.SassList$0(t2, B.ListSeparator_qSL0, false);
  109031. },
  109032. $signature: 503
  109033. };
  109034. A.SelectorList_nestWithin_closure0.prototype = {
  109035. call$1(complex) {
  109036. var t1, newComplexes, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, _i, component, resolved, i, t12, t13, t14, _i0, newComplex, t15, t16, _this = this;
  109037. if (_this.preserveParentSelectors || complex.accept$1(B.C__ParentSelectorVisitor0) == null) {
  109038. if (!_this.implicitParent)
  109039. return A._setArrayType([complex], type$.JSArray_ComplexSelector_2);
  109040. t1 = _this.parent.components;
  109041. return new A.MappedListIterable(t1, new A.SelectorList_nestWithin__closure1(complex), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,ComplexSelector0>"));
  109042. }
  109043. t1 = type$.JSArray_ComplexSelector_2;
  109044. newComplexes = A._setArrayType([], t1);
  109045. for (t2 = complex.components, t3 = t2.length, t4 = _this.$this, t5 = _this.parent, t6 = type$.ComplexSelector_2, t7 = complex.leadingCombinators, t8 = t7.length === 0, t9 = complex.span, t10 = type$.ComplexSelectorComponent_2, t11 = type$.JSArray_ComplexSelectorComponent_2, _i = 0; _i < t3; ++_i) {
  109046. component = t2[_i];
  109047. resolved = t4._list2$_nestWithinCompound$2(component, t5);
  109048. if (resolved == null)
  109049. if (newComplexes.length === 0)
  109050. newComplexes.push(A.ComplexSelector$0(t7, A._setArrayType([component], t11), t9, false));
  109051. else
  109052. for (i = 0; i < newComplexes.length; ++i) {
  109053. t12 = newComplexes[i];
  109054. t13 = A.List_List$_of(t12.components, t10);
  109055. t13.push(component);
  109056. newComplexes[i] = A.ComplexSelector$0(t12.leadingCombinators, t13, t9, t12.lineBreak);
  109057. }
  109058. else if (newComplexes.length === 0)
  109059. B.JSArray_methods.addAll$1(newComplexes, t8 ? resolved : J.map$1$1$ax(resolved, new A.SelectorList_nestWithin__closure2(complex), t6));
  109060. else {
  109061. t12 = A._setArrayType([], t1);
  109062. for (t13 = newComplexes.length, t14 = J.getInterceptor$ax(resolved), _i0 = 0; _i0 < newComplexes.length; newComplexes.length === t13 || (0, A.throwConcurrentModificationError)(newComplexes), ++_i0) {
  109063. newComplex = newComplexes[_i0];
  109064. for (t15 = t14.get$iterator(resolved), t16 = newComplex.span; t15.moveNext$0();)
  109065. t12.push(newComplex.concatenate$2(t15.get$current(t15), t16));
  109066. }
  109067. newComplexes = t12;
  109068. }
  109069. }
  109070. return newComplexes;
  109071. },
  109072. $signature: 504
  109073. };
  109074. A.SelectorList_nestWithin__closure1.prototype = {
  109075. call$1(parentComplex) {
  109076. var t1 = this.complex;
  109077. return parentComplex.concatenate$2(t1, t1.span);
  109078. },
  109079. $signature: 57
  109080. };
  109081. A.SelectorList_nestWithin__closure2.prototype = {
  109082. call$1(resolvedComplex) {
  109083. var t1 = resolvedComplex.leadingCombinators,
  109084. t2 = this.complex,
  109085. t3 = t2.leadingCombinators;
  109086. if (t1.length === 0)
  109087. t1 = t3;
  109088. else {
  109089. t3 = A.List_List$_of(t3, type$.CssValue_Combinator_2);
  109090. B.JSArray_methods.addAll$1(t3, t1);
  109091. t1 = t3;
  109092. }
  109093. return A.ComplexSelector$0(t1, resolvedComplex.components, t2.span, resolvedComplex.lineBreak);
  109094. },
  109095. $signature: 57
  109096. };
  109097. A.SelectorList__nestWithinCompound_closure2.prototype = {
  109098. call$1(simple) {
  109099. var selector;
  109100. if (!(simple instanceof A.PseudoSelector0))
  109101. return false;
  109102. selector = simple.selector;
  109103. return selector != null && selector.accept$1(B.C__ParentSelectorVisitor0) != null;
  109104. },
  109105. $signature: 14
  109106. };
  109107. A.SelectorList__nestWithinCompound_closure3.prototype = {
  109108. call$1(simple) {
  109109. var selector, t1, _0_2;
  109110. $label0$0: {
  109111. selector = null;
  109112. t1 = false;
  109113. if (simple instanceof A.PseudoSelector0) {
  109114. _0_2 = simple.selector;
  109115. if (_0_2 != null) {
  109116. selector = _0_2 == null ? type$.SelectorList_2._as(_0_2) : _0_2;
  109117. t1 = selector.accept$1(B.C__ParentSelectorVisitor0) != null;
  109118. }
  109119. }
  109120. if (t1) {
  109121. t1 = simple.withSelector$1(selector.nestWithin$2$implicitParent(this.parent, false));
  109122. break $label0$0;
  109123. }
  109124. t1 = simple;
  109125. break $label0$0;
  109126. }
  109127. return t1;
  109128. },
  109129. $signature: 505
  109130. };
  109131. A.SelectorList__nestWithinCompound_closure4.prototype = {
  109132. call$1(complex) {
  109133. var lastComponent, suffix, lastSimples, t1, t2, last, t3, error, stackTrace, t4, t5, exception, _this = this;
  109134. try {
  109135. t4 = complex.components;
  109136. lastComponent = B.JSArray_methods.get$last(t4);
  109137. if (lastComponent.combinators.length !== 0) {
  109138. t1 = A.MultiSpanSassException$0('Selector "' + complex.toString$0(0) + string$.x22x20can_, A.SpanExtensions_trimRight0(lastComponent.span), "outer selector", A.LinkedHashMap_LinkedHashMap$_literal([_this.parentSelector.span, "parent selector"], type$.FileSpan, type$.String), null);
  109139. throw A.wrapException(t1);
  109140. }
  109141. suffix = _this.parentSelector.suffix;
  109142. lastSimples = lastComponent.selector.components;
  109143. t5 = type$.SimpleSelector_2;
  109144. if (suffix == null) {
  109145. t2 = A.List_List$_of(lastSimples, t5);
  109146. t1 = t2;
  109147. J.addAll$1$ax(t1, J.skip$1$ax(_this.resolvedSimples, 1));
  109148. t1 = t1;
  109149. } else {
  109150. t1 = A.List_List$_of(A.IterableExtension_get_exceptLast0(lastSimples), t5);
  109151. t2 = t1;
  109152. J.add$1$ax(t2, J.get$last$ax(lastSimples).addSuffix$1(suffix));
  109153. J.addAll$1$ax(t2, J.skip$1$ax(_this.resolvedSimples, 1));
  109154. t1 = t2;
  109155. }
  109156. t2 = _this.component;
  109157. last = A.CompoundSelector$0(t1, t2.selector.span);
  109158. t1 = A.List_List$_of(A.IterableExtension_get_exceptLast0(t4), type$.ComplexSelectorComponent_2);
  109159. t3 = t1;
  109160. t1 = t2.span;
  109161. J.add$1$ax(t3, new A.ComplexSelectorComponent0(last, A.List_List$unmodifiable(t2.combinators, type$.CssValue_Combinator_2), t1));
  109162. t1 = A.ComplexSelector$0(complex.leadingCombinators, t3, t1, complex.lineBreak);
  109163. return t1;
  109164. } catch (exception) {
  109165. t1 = A.unwrapException(exception);
  109166. if (t1 instanceof A.SassException0) {
  109167. error = t1;
  109168. stackTrace = A.getTraceFromException(exception);
  109169. A.throwWithTrace0(error.withAdditionalSpan$2(_this.parentSelector.span, "parent selector"), error, stackTrace);
  109170. } else
  109171. throw exception;
  109172. }
  109173. },
  109174. $signature: 57
  109175. };
  109176. A.SelectorList_withAdditionalCombinators_closure0.prototype = {
  109177. call$1(complex) {
  109178. return complex.withAdditionalCombinators$1(this.combinators);
  109179. },
  109180. $signature: 57
  109181. };
  109182. A._ParentSelectorVisitor0.prototype = {
  109183. visitParentSelector$1(selector) {
  109184. return selector;
  109185. }
  109186. };
  109187. A.__ParentSelectorVisitor_Object_SelectorSearchVisitor0.prototype = {};
  109188. A.listClass_closure.prototype = {
  109189. call$0() {
  109190. var t1 = type$.JSClass,
  109191. jsClass = t1._as(A.allowInteropCaptureThisNamed("sass.SassList", new A.listClass__closure()));
  109192. J.get$$prototype$x(jsClass).get = A.allowInteropCaptureThisNamed("get", new A.listClass__closure0());
  109193. A.JSClassExtension_injectSuperclass(t1._as(B.SassList_apG.constructor), jsClass);
  109194. return jsClass;
  109195. },
  109196. $signature: 15
  109197. };
  109198. A.listClass__closure.prototype = {
  109199. call$3($self, contentsOrOptions, options) {
  109200. var contents, t1, t2;
  109201. if (self.immutable.isList(contentsOrOptions))
  109202. contents = J.cast$1$0$ax(J.toArray$0$x(type$.ImmutableList._as(contentsOrOptions)), type$.Value_2);
  109203. else if (type$.List_dynamic._is(contentsOrOptions))
  109204. contents = J.cast$1$0$ax(contentsOrOptions, type$.Value_2);
  109205. else {
  109206. contents = A._setArrayType([], type$.JSArray_Value_2);
  109207. type$.nullable__ConstructorOptions._as(contentsOrOptions);
  109208. options = contentsOrOptions;
  109209. }
  109210. t1 = options == null;
  109211. if (!t1) {
  109212. t2 = J.get$separator$x(options);
  109213. t2 = A._asBool($.$get$_isUndefined().call$1(t2));
  109214. } else
  109215. t2 = true;
  109216. t2 = t2 ? B.ListSeparator_qVN0 : A.jsToDartSeparator(J.get$separator$x(options));
  109217. t1 = t1 ? null : J.get$brackets$x(options);
  109218. return A.SassList$0(contents, t2, t1 == null ? false : t1);
  109219. },
  109220. call$1($self) {
  109221. return this.call$3($self, null, null);
  109222. },
  109223. call$2($self, contentsOrOptions) {
  109224. return this.call$3($self, contentsOrOptions, null);
  109225. },
  109226. "call*": "call$3",
  109227. $requiredArgCount: 1,
  109228. $defaultValues() {
  109229. return [null, null];
  109230. },
  109231. $signature: 506
  109232. };
  109233. A.listClass__closure0.prototype = {
  109234. call$2($self, indexFloat) {
  109235. var index = B.JSNumber_methods.floor$0(indexFloat);
  109236. if (index < 0)
  109237. index = $self.get$asList().length + index;
  109238. if (index < 0 || index >= $self.get$asList().length)
  109239. return self.undefined;
  109240. return $self.get$asList()[index];
  109241. },
  109242. $signature: 248
  109243. };
  109244. A._ConstructorOptions.prototype = {};
  109245. A._NodeSassList.prototype = {};
  109246. A.legacyListClass_closure.prototype = {
  109247. call$4(thisArg, $length, commaSeparator, dartValue) {
  109248. var t1;
  109249. if (dartValue == null) {
  109250. $length.toString;
  109251. t1 = A.Iterable_Iterable$generate($length, new A.legacyListClass__closure(), type$.Value_2);
  109252. t1 = A.SassList$0(t1, commaSeparator !== false ? B.ListSeparator_qVN0 : B.ListSeparator_qSL0, false);
  109253. } else
  109254. t1 = dartValue;
  109255. J.set$dartValue$x(thisArg, t1);
  109256. },
  109257. call$2(thisArg, $length) {
  109258. return this.call$4(thisArg, $length, null, null);
  109259. },
  109260. call$3(thisArg, $length, commaSeparator) {
  109261. return this.call$4(thisArg, $length, commaSeparator, null);
  109262. },
  109263. "call*": "call$4",
  109264. $requiredArgCount: 2,
  109265. $defaultValues() {
  109266. return [null, null];
  109267. },
  109268. $signature: 508
  109269. };
  109270. A.legacyListClass__closure.prototype = {
  109271. call$1(_) {
  109272. return B.C__SassNull0;
  109273. },
  109274. $signature: 249
  109275. };
  109276. A.legacyListClass_closure0.prototype = {
  109277. call$2(thisArg, index) {
  109278. return A.wrapValue(J.get$dartValue$x(thisArg)._list1$_contents[index]);
  109279. },
  109280. $signature: 510
  109281. };
  109282. A.legacyListClass_closure1.prototype = {
  109283. call$3(thisArg, index, value) {
  109284. var t1 = J.getInterceptor$x(thisArg),
  109285. t2 = t1.get$dartValue(thisArg)._list1$_contents,
  109286. mutable = A._setArrayType(t2.slice(0), A._arrayInstanceType(t2));
  109287. mutable[index] = A.unwrapValue(value);
  109288. t1.set$dartValue(thisArg, t1.get$dartValue(thisArg).withListContents$1(mutable));
  109289. },
  109290. "call*": "call$3",
  109291. $requiredArgCount: 3,
  109292. $signature: 511
  109293. };
  109294. A.legacyListClass_closure2.prototype = {
  109295. call$1(thisArg) {
  109296. return J.get$dartValue$x(thisArg)._list1$_separator === B.ListSeparator_qVN0;
  109297. },
  109298. $signature: 512
  109299. };
  109300. A.legacyListClass_closure3.prototype = {
  109301. call$2(thisArg, isComma) {
  109302. var t1 = J.getInterceptor$x(thisArg),
  109303. t2 = t1.get$dartValue(thisArg)._list1$_contents,
  109304. t3 = isComma ? B.ListSeparator_qVN0 : B.ListSeparator_qSL0;
  109305. t1.set$dartValue(thisArg, A.SassList$0(t2, t3, t1.get$dartValue(thisArg)._list1$_hasBrackets));
  109306. },
  109307. $signature: 513
  109308. };
  109309. A.legacyListClass_closure4.prototype = {
  109310. call$1(thisArg) {
  109311. return J.get$dartValue$x(thisArg)._list1$_contents.length;
  109312. },
  109313. $signature: 514
  109314. };
  109315. A.SassList0.prototype = {
  109316. get$separator(_) {
  109317. return this._list1$_separator;
  109318. },
  109319. get$hasBrackets() {
  109320. return this._list1$_hasBrackets;
  109321. },
  109322. get$isBlank() {
  109323. return !this._list1$_hasBrackets && B.JSArray_methods.every$1(this._list1$_contents, new A.SassList_isBlank_closure0());
  109324. },
  109325. get$asList() {
  109326. return this._list1$_contents;
  109327. },
  109328. get$lengthAsList() {
  109329. return this._list1$_contents.length;
  109330. },
  109331. SassList$3$brackets0(contents, _separator, brackets) {
  109332. if (this._list1$_separator === B.ListSeparator_undecided_null_undecided0 && this._list1$_contents.length > 1)
  109333. throw A.wrapException(A.ArgumentError$(string$.A_list, null));
  109334. },
  109335. toString$0(_) {
  109336. var t2, _this = this,
  109337. t1 = true;
  109338. if (!_this._list1$_hasBrackets) {
  109339. t2 = _this._list1$_contents.length;
  109340. if (t2 !== 0)
  109341. t1 = t2 === 1 && _this._list1$_separator === B.ListSeparator_qVN0;
  109342. }
  109343. if (t1)
  109344. return _this.super$Value$toString0(0);
  109345. return "(" + _this.super$Value$toString0(0) + ")";
  109346. },
  109347. accept$1$1(visitor) {
  109348. return visitor.visitList$1(this);
  109349. },
  109350. accept$1(visitor) {
  109351. return this.accept$1$1(visitor, type$.dynamic);
  109352. },
  109353. assertMap$1($name) {
  109354. return this._list1$_contents.length === 0 ? B.SassMap_Map_empty0 : this.super$Value$assertMap0($name);
  109355. },
  109356. tryMap$0() {
  109357. return this._list1$_contents.length === 0 ? B.SassMap_Map_empty0 : null;
  109358. },
  109359. $eq(_, other) {
  109360. var t1, _this = this;
  109361. if (other == null)
  109362. return false;
  109363. 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)))
  109364. t1 = _this._list1$_contents.length === 0 && other instanceof A.SassMap0 && other.get$asList().length === 0;
  109365. else
  109366. t1 = true;
  109367. return t1;
  109368. },
  109369. get$hashCode(_) {
  109370. return B.C_ListEquality0.hash$1(this._list1$_contents);
  109371. }
  109372. };
  109373. A.SassList_isBlank_closure0.prototype = {
  109374. call$1(element) {
  109375. return element.get$isBlank();
  109376. },
  109377. $signature: 54
  109378. };
  109379. A.ListSeparator0.prototype = {
  109380. _enumToString$0() {
  109381. return "ListSeparator." + this._name;
  109382. },
  109383. toString$0(_) {
  109384. return this._list1$_name;
  109385. }
  109386. };
  109387. A.LmsColorSpace0.prototype = {
  109388. get$isBoundedInternal() {
  109389. return false;
  109390. },
  109391. convert$10$missingA$missingB$missingChroma$missingHue$missingLightness(dest, long, medium, short, alpha, missingA, missingB, missingChroma, missingHue, missingLightness) {
  109392. var t1, longScaled, mediumScaled, shortScaled, lightness, t2, t3, _null = null;
  109393. switch (dest) {
  109394. case B.OklabColorSpace_5400:
  109395. t1 = long == null ? 0 : long;
  109396. longScaled = Math.pow(Math.abs(t1), 0.3333333333333333) * J.get$sign$in(t1);
  109397. t1 = medium == null ? 0 : medium;
  109398. mediumScaled = Math.pow(Math.abs(t1), 0.3333333333333333) * J.get$sign$in(t1);
  109399. t1 = short == null ? 0 : short;
  109400. shortScaled = Math.pow(Math.abs(t1), 0.3333333333333333) * J.get$sign$in(t1);
  109401. t1 = $.$get$lmsToOklab0();
  109402. lightness = t1[0] * longScaled + t1[1] * mediumScaled + t1[2] * shortScaled;
  109403. t2 = missingLightness ? _null : lightness;
  109404. t3 = missingA ? _null : t1[3] * longScaled + t1[4] * mediumScaled + t1[5] * shortScaled;
  109405. return A.SassColor$_forSpace0(B.OklabColorSpace_5400, t2, t3, missingB ? _null : t1[6] * longScaled + t1[7] * mediumScaled + t1[8] * shortScaled, alpha, _null);
  109406. case B.OklchColorSpace_9Gj0:
  109407. t1 = long == null ? 0 : long;
  109408. longScaled = Math.pow(Math.abs(t1), 0.3333333333333333) * J.get$sign$in(t1);
  109409. t1 = medium == null ? 0 : medium;
  109410. mediumScaled = Math.pow(Math.abs(t1), 0.3333333333333333) * J.get$sign$in(t1);
  109411. t1 = short == null ? 0 : short;
  109412. shortScaled = Math.pow(Math.abs(t1), 0.3333333333333333) * J.get$sign$in(t1);
  109413. if (missingLightness)
  109414. t1 = _null;
  109415. else {
  109416. t1 = $.$get$lmsToOklab0();
  109417. t1 = t1[0] * longScaled + t1[1] * mediumScaled + t1[2] * shortScaled;
  109418. }
  109419. t2 = $.$get$lmsToOklab0();
  109420. return A.labToLch0(dest, t1, t2[3] * longScaled + t2[4] * mediumScaled + t2[5] * shortScaled, t2[6] * longScaled + t2[7] * mediumScaled + t2[8] * shortScaled, alpha, missingChroma, missingHue);
  109421. default:
  109422. return this.super$ColorSpace$convertLinear0(dest, long, medium, short, alpha, missingA, missingB, missingChroma, missingHue, missingLightness);
  109423. }
  109424. },
  109425. convert$5(dest, long, medium, short, alpha) {
  109426. return this.convert$10$missingA$missingB$missingChroma$missingHue$missingLightness(dest, long, medium, short, alpha, false, false, false, false, false);
  109427. },
  109428. toLinear$1(channel) {
  109429. return channel;
  109430. },
  109431. fromLinear$1(channel) {
  109432. return channel;
  109433. },
  109434. transformationMatrix$1(dest) {
  109435. var t1;
  109436. $label0$0: {
  109437. if (B.SrgbLinearColorSpace_kUj0 === dest || B.SrgbColorSpace_thf0 === dest || B.RgbColorSpace_i0P0 === dest) {
  109438. t1 = $.$get$lmsToLinearSrgb0();
  109439. break $label0$0;
  109440. }
  109441. if (B.A98RgbColorSpace_lf20 === dest) {
  109442. t1 = $.$get$lmsToLinearA98Rgb0();
  109443. break $label0$0;
  109444. }
  109445. if (B.ProphotoRgbColorSpace_BDz0 === dest) {
  109446. t1 = $.$get$lmsToLinearProphotoRgb0();
  109447. break $label0$0;
  109448. }
  109449. if (B.DisplayP3ColorSpace_MmT0 === dest) {
  109450. t1 = $.$get$lmsToLinearDisplayP30();
  109451. break $label0$0;
  109452. }
  109453. if (B.Rec2020ColorSpace_6oo0 === dest) {
  109454. t1 = $.$get$lmsToLinearRec20200();
  109455. break $label0$0;
  109456. }
  109457. if (B.XyzD65ColorSpace_WiJ0 === dest) {
  109458. t1 = $.$get$lmsToXyzD650();
  109459. break $label0$0;
  109460. }
  109461. if (B.XyzD50ColorSpace_2OB0 === dest) {
  109462. t1 = $.$get$lmsToXyzD500();
  109463. break $label0$0;
  109464. }
  109465. t1 = this.super$ColorSpace$transformationMatrix0(dest);
  109466. break $label0$0;
  109467. }
  109468. return t1;
  109469. }
  109470. };
  109471. A.LocalMindeGamutMap0.prototype = {
  109472. map$1(_, color) {
  109473. var clipped, max, min, minInGamut, chroma, current, e,
  109474. originOklch = color.toSpace$1(B.OklchColorSpace_9Gj0),
  109475. lightness = originOklch.channel0OrNull,
  109476. hue = originOklch.channel2OrNull,
  109477. alpha = originOklch.alphaOrNull,
  109478. t1 = lightness == null,
  109479. t2 = t1 ? 0 : lightness;
  109480. if (t2 > 1 || A.fuzzyEquals0(t2, 1)) {
  109481. t1 = color._color0$_space;
  109482. t2 = color.alphaOrNull;
  109483. return t1.get$isLegacyInternal() ? A.SassColor_SassColor$rgbInternal0(255, 255, 255, t2, null).toSpace$1(t1) : A.SassColor_SassColor$forSpaceInternal0(t1, 1, 1, 1, t2);
  109484. } else {
  109485. t1 = t1 ? 0 : lightness;
  109486. if (t1 < 0 || A.fuzzyEquals0(t1, 0))
  109487. return A.SassColor_SassColor$rgbInternal0(0, 0, 0, color.alphaOrNull, null).toSpace$1(color._color0$_space);
  109488. }
  109489. clipped = color.get$isInGamut() ? color : B.ClipGamutMap_clip0.map$1(0, color);
  109490. if (this._local_minde$_deltaEOK$2(clipped, color) < 0.02)
  109491. return clipped;
  109492. max = originOklch.channel1OrNull;
  109493. if (max == null)
  109494. max = 0;
  109495. for (t1 = color._color0$_space, min = 0, minInGamut = true; max - min > 0.0001;) {
  109496. chroma = (min + max) / 2;
  109497. current = B.OklchColorSpace_9Gj0.convert$5(t1, lightness, chroma, hue, alpha);
  109498. if (minInGamut && current.get$isInGamut()) {
  109499. min = chroma;
  109500. continue;
  109501. }
  109502. clipped = current.get$isInGamut() ? current : B.ClipGamutMap_clip0.map$1(0, current);
  109503. e = this._local_minde$_deltaEOK$2(clipped, current);
  109504. if (e < 0.02) {
  109505. if (0.02 - e < 0.0001)
  109506. return clipped;
  109507. min = chroma;
  109508. minInGamut = false;
  109509. } else
  109510. max = chroma;
  109511. }
  109512. return clipped;
  109513. },
  109514. _local_minde$_deltaEOK$2(color1, color2) {
  109515. var t2, t3, t4,
  109516. lab1 = color1.toSpace$1(B.OklabColorSpace_5400),
  109517. lab2 = color2.toSpace$1(B.OklabColorSpace_5400),
  109518. t1 = lab1.channel0OrNull;
  109519. if (t1 == null)
  109520. t1 = 0;
  109521. t2 = lab2.channel0OrNull;
  109522. t1 = Math.pow(t1 - (t2 == null ? 0 : t2), 2);
  109523. t2 = lab1.channel1OrNull;
  109524. if (t2 == null)
  109525. t2 = 0;
  109526. t3 = lab2.channel1OrNull;
  109527. t2 = Math.pow(t2 - (t3 == null ? 0 : t3), 2);
  109528. t3 = lab1.channel2OrNull;
  109529. if (t3 == null)
  109530. t3 = 0;
  109531. t4 = lab2.channel2OrNull;
  109532. return Math.sqrt(t1 + t2 + Math.pow(t3 - (t4 == null ? 0 : t4), 2));
  109533. }
  109534. };
  109535. A.JSLogger.prototype = {};
  109536. A.WarnOptions.prototype = {};
  109537. A.DebugOptions.prototype = {};
  109538. A.LoggerWithDeprecationType0.prototype = {};
  109539. A.LoudComment0.prototype = {
  109540. get$span(_) {
  109541. return this.text.span;
  109542. },
  109543. accept$1$1(visitor) {
  109544. return visitor.visitLoudComment$1(0, this);
  109545. },
  109546. accept$1(visitor) {
  109547. return this.accept$1$1(visitor, type$.dynamic);
  109548. },
  109549. toString$0(_) {
  109550. return this.text.toString$0(0);
  109551. }
  109552. };
  109553. A.MapExpression0.prototype = {
  109554. accept$1$1(visitor) {
  109555. return visitor.visitMapExpression$1(0, this);
  109556. },
  109557. accept$1(visitor) {
  109558. return this.accept$1$1(visitor, type$.dynamic);
  109559. },
  109560. toString$0(_) {
  109561. var t2, t3, _i, t4,
  109562. t1 = A._setArrayType([], type$.JSArray_String);
  109563. for (t2 = this.pairs, t3 = t2.length, _i = 0; _i < t3; ++_i) {
  109564. t4 = t2[_i];
  109565. t1.push(t4._0.toString$0(0) + ": " + t4._1.toString$0(0));
  109566. }
  109567. return "(" + B.JSArray_methods.join$1(t1, ", ") + ")";
  109568. },
  109569. get$span(receiver) {
  109570. return this.span;
  109571. }
  109572. };
  109573. A._get_closure0.prototype = {
  109574. call$1($arguments) {
  109575. var value,
  109576. t1 = J.getInterceptor$asx($arguments),
  109577. map = t1.$index($arguments, 0).assertMap$1("map"),
  109578. t2 = A._setArrayType([t1.$index($arguments, 1)], type$.JSArray_Value_2);
  109579. B.JSArray_methods.addAll$1(t2, t1.$index($arguments, 2).get$asList());
  109580. for (t1 = A.IterableExtension_get_exceptLast0(t2), t1 = t1.get$iterator(t1); t1.moveNext$0(); map = value) {
  109581. value = map._map0$_contents.$index(0, t1.get$current(t1));
  109582. if (!(value instanceof A.SassMap0))
  109583. return B.C__SassNull0;
  109584. }
  109585. t1 = map._map0$_contents.$index(0, B.JSArray_methods.get$last(t2));
  109586. return t1 == null ? B.C__SassNull0 : t1;
  109587. },
  109588. $signature: 3
  109589. };
  109590. A._set_closure1.prototype = {
  109591. call$1($arguments) {
  109592. var t1 = J.getInterceptor$asx($arguments);
  109593. 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);
  109594. },
  109595. $signature: 3
  109596. };
  109597. A._set__closure2.prototype = {
  109598. call$1(_) {
  109599. return J.$index$asx(this.$arguments, 2);
  109600. },
  109601. $signature: 43
  109602. };
  109603. A._set_closure2.prototype = {
  109604. call$1($arguments) {
  109605. var keys, t2, t3,
  109606. t1 = J.getInterceptor$asx($arguments),
  109607. map = t1.$index($arguments, 0).assertMap$1("map"),
  109608. _0_0 = t1.$index($arguments, 1).get$asList(),
  109609. _0_1 = _0_0.length;
  109610. if (_0_1 <= 0)
  109611. throw A.wrapException(A.SassScriptException$0("Expected $args to contain a key.", null));
  109612. if (_0_1 === 1)
  109613. throw A.wrapException(A.SassScriptException$0("Expected $args to contain a value.", null));
  109614. t1 = {};
  109615. keys = t1.value = null;
  109616. t2 = _0_1 >= 1;
  109617. if (t2) {
  109618. t3 = _0_1 - 1;
  109619. keys = B.JSArray_methods.sublist$2(_0_0, 0, t3);
  109620. t1.value = _0_0[t3];
  109621. }
  109622. if (t2)
  109623. return A._modify0(map, keys, new A._set__closure1(t1), true);
  109624. throw A.wrapException("[BUG] Unreachable code");
  109625. },
  109626. $signature: 3
  109627. };
  109628. A._set__closure1.prototype = {
  109629. call$1(_) {
  109630. return this._box_0.value;
  109631. },
  109632. $signature: 43
  109633. };
  109634. A._merge_closure1.prototype = {
  109635. call$1($arguments) {
  109636. var t2,
  109637. t1 = J.getInterceptor$asx($arguments),
  109638. map1 = t1.$index($arguments, 0).assertMap$1("map1"),
  109639. map2 = t1.$index($arguments, 1).assertMap$1("map2");
  109640. t1 = type$.Value_2;
  109641. t2 = A.LinkedHashMap_LinkedHashMap$of(map1._map0$_contents, t1, t1);
  109642. t2.addAll$1(0, map2._map0$_contents);
  109643. return new A.SassMap0(A.ConstantMap_ConstantMap$from(t2, t1, t1));
  109644. },
  109645. $signature: 37
  109646. };
  109647. A._merge_closure2.prototype = {
  109648. call$1($arguments) {
  109649. var last, t2, keys, _null = null,
  109650. t1 = J.getInterceptor$asx($arguments),
  109651. map1 = t1.$index($arguments, 0).assertMap$1("map1"),
  109652. _0_0 = t1.$index($arguments, 1).get$asList(),
  109653. _0_1 = _0_0.length;
  109654. if (_0_1 <= 0)
  109655. throw A.wrapException(A.SassScriptException$0("Expected $args to contain a key.", _null));
  109656. if (_0_1 === 1)
  109657. throw A.wrapException(A.SassScriptException$0("Expected $args to contain a map.", _null));
  109658. t1 = _0_1 >= 1;
  109659. last = _null;
  109660. if (t1) {
  109661. t2 = _0_1 - 1;
  109662. keys = B.JSArray_methods.sublist$2(_0_0, 0, t2);
  109663. last = _0_0[t2];
  109664. } else
  109665. keys = _null;
  109666. if (t1)
  109667. return A._modify0(map1, keys, new A._merge__closure0(last.assertMap$1("map2")), true);
  109668. throw A.wrapException("[BUG] Unreachable code");
  109669. },
  109670. $signature: 3
  109671. };
  109672. A._merge__closure0.prototype = {
  109673. call$1(oldValue) {
  109674. var t1, t2,
  109675. nestedMap = oldValue.tryMap$0();
  109676. if (nestedMap == null)
  109677. return this.map2;
  109678. t1 = type$.Value_2;
  109679. t2 = A.LinkedHashMap_LinkedHashMap$of(nestedMap._map0$_contents, t1, t1);
  109680. t2.addAll$1(0, this.map2._map0$_contents);
  109681. return new A.SassMap0(A.ConstantMap_ConstantMap$from(t2, t1, t1));
  109682. },
  109683. $signature: 515
  109684. };
  109685. A._deepMerge_closure0.prototype = {
  109686. call$1($arguments) {
  109687. var t1 = J.getInterceptor$asx($arguments);
  109688. return A._deepMergeImpl0(t1.$index($arguments, 0).assertMap$1("map1"), t1.$index($arguments, 1).assertMap$1("map2"));
  109689. },
  109690. $signature: 37
  109691. };
  109692. A._deepRemove_closure0.prototype = {
  109693. call$1($arguments) {
  109694. var t1 = J.getInterceptor$asx($arguments),
  109695. map = t1.$index($arguments, 0).assertMap$1("map"),
  109696. t2 = A._setArrayType([t1.$index($arguments, 1)], type$.JSArray_Value_2);
  109697. B.JSArray_methods.addAll$1(t2, t1.$index($arguments, 2).get$asList());
  109698. return A._modify0(map, A.IterableExtension_get_exceptLast0(t2), new A._deepRemove__closure0(t2), false);
  109699. },
  109700. $signature: 3
  109701. };
  109702. A._deepRemove__closure0.prototype = {
  109703. call$1(value) {
  109704. var t1, nestedMap, t2,
  109705. _0_0 = value.tryMap$0();
  109706. if (_0_0 != null) {
  109707. t1 = _0_0._map0$_contents.containsKey$1(B.JSArray_methods.get$last(this.keys));
  109708. nestedMap = _0_0;
  109709. } else {
  109710. nestedMap = null;
  109711. t1 = false;
  109712. }
  109713. if (t1) {
  109714. t1 = type$.Value_2;
  109715. t2 = A.LinkedHashMap_LinkedHashMap$of(nestedMap._map0$_contents, t1, t1);
  109716. t2.remove$1(0, B.JSArray_methods.get$last(this.keys));
  109717. return new A.SassMap0(A.ConstantMap_ConstantMap$from(t2, t1, t1));
  109718. }
  109719. return value;
  109720. },
  109721. $signature: 43
  109722. };
  109723. A._remove_closure1.prototype = {
  109724. call$1($arguments) {
  109725. return J.$index$asx($arguments, 0).assertMap$1("map");
  109726. },
  109727. $signature: 37
  109728. };
  109729. A._remove_closure2.prototype = {
  109730. call$1($arguments) {
  109731. var mutableMap, t3, _i,
  109732. t1 = J.getInterceptor$asx($arguments),
  109733. map = t1.$index($arguments, 0).assertMap$1("map"),
  109734. t2 = A._setArrayType([t1.$index($arguments, 1)], type$.JSArray_Value_2);
  109735. B.JSArray_methods.addAll$1(t2, t1.$index($arguments, 2).get$asList());
  109736. t1 = type$.Value_2;
  109737. mutableMap = A.LinkedHashMap_LinkedHashMap$of(map._map0$_contents, t1, t1);
  109738. for (t3 = t2.length, _i = 0; _i < t2.length; t2.length === t3 || (0, A.throwConcurrentModificationError)(t2), ++_i)
  109739. mutableMap.remove$1(0, t2[_i]);
  109740. return new A.SassMap0(A.ConstantMap_ConstantMap$from(mutableMap, t1, t1));
  109741. },
  109742. $signature: 37
  109743. };
  109744. A._keys_closure0.prototype = {
  109745. call$1($arguments) {
  109746. var t1 = J.$index$asx($arguments, 0).assertMap$1("map")._map0$_contents;
  109747. return A.SassList$0(t1.get$keys(t1), B.ListSeparator_qVN0, false);
  109748. },
  109749. $signature: 28
  109750. };
  109751. A._values_closure0.prototype = {
  109752. call$1($arguments) {
  109753. var t1 = J.$index$asx($arguments, 0).assertMap$1("map")._map0$_contents;
  109754. return A.SassList$0(t1.get$values(t1), B.ListSeparator_qVN0, false);
  109755. },
  109756. $signature: 28
  109757. };
  109758. A._hasKey_closure0.prototype = {
  109759. call$1($arguments) {
  109760. var value,
  109761. t1 = J.getInterceptor$asx($arguments),
  109762. map = t1.$index($arguments, 0).assertMap$1("map"),
  109763. t2 = A._setArrayType([t1.$index($arguments, 1)], type$.JSArray_Value_2);
  109764. B.JSArray_methods.addAll$1(t2, t1.$index($arguments, 2).get$asList());
  109765. for (t1 = A.IterableExtension_get_exceptLast0(t2), t1 = t1.get$iterator(t1); t1.moveNext$0(); map = value) {
  109766. value = map._map0$_contents.$index(0, t1.get$current(t1));
  109767. if (!(value instanceof A.SassMap0))
  109768. return B.SassBoolean_false0;
  109769. }
  109770. return map._map0$_contents.containsKey$1(B.JSArray_methods.get$last(t2)) ? B.SassBoolean_true0 : B.SassBoolean_false0;
  109771. },
  109772. $signature: 11
  109773. };
  109774. A._modify_modifyNestedMap0.prototype = {
  109775. call$1(map) {
  109776. var nestedMap, _this = this,
  109777. t1 = type$.Value_2,
  109778. mutableMap = A.LinkedHashMap_LinkedHashMap$of(map._map0$_contents, t1, t1),
  109779. t2 = _this.keyIterator,
  109780. key = t2.get$current(t2);
  109781. if (!t2.moveNext$0()) {
  109782. t2 = mutableMap.$index(0, key);
  109783. if (t2 == null)
  109784. t2 = B.C__SassNull0;
  109785. mutableMap.$indexSet(0, key, _this.modify.call$1(t2));
  109786. return new A.SassMap0(A.ConstantMap_ConstantMap$from(mutableMap, t1, t1));
  109787. }
  109788. t2 = mutableMap.$index(0, key);
  109789. nestedMap = t2 == null ? null : t2.tryMap$0();
  109790. t2 = nestedMap == null;
  109791. if (t2 && !_this.addNesting)
  109792. return new A.SassMap0(A.ConstantMap_ConstantMap$from(mutableMap, t1, t1));
  109793. mutableMap.$indexSet(0, key, _this.call$1(t2 ? B.SassMap_Map_empty0 : nestedMap));
  109794. return new A.SassMap0(A.ConstantMap_ConstantMap$from(mutableMap, t1, t1));
  109795. },
  109796. $signature: 516
  109797. };
  109798. A.MapExtensions_get_pairs_closure0.prototype = {
  109799. call$1(e) {
  109800. return new A._Record_2(e.key, e.value);
  109801. },
  109802. $signature() {
  109803. return this.K._eval$1("@<0>")._bind$1(this.V)._eval$1("+(1,2)(MapEntry<1,2>)");
  109804. }
  109805. };
  109806. A.mapClass_closure.prototype = {
  109807. call$0() {
  109808. var t1 = type$.JSClass,
  109809. jsClass = t1._as(A.allowInteropCaptureThisNamed("sass.SassMap", new A.mapClass__closure())),
  109810. t2 = J.getInterceptor$x(jsClass);
  109811. A.defineGetter(t2.get$$prototype(jsClass), "contents", new A.mapClass__closure0(), null);
  109812. t2.get$$prototype(jsClass).get = A.allowInteropCaptureThisNamed("get", new A.mapClass__closure1());
  109813. A.JSClassExtension_injectSuperclass(t1._as(B.SassMap_Map_empty0.constructor), jsClass);
  109814. return jsClass;
  109815. },
  109816. $signature: 15
  109817. };
  109818. A.mapClass__closure.prototype = {
  109819. call$2($self, contents) {
  109820. var t1;
  109821. if (contents == null)
  109822. t1 = B.SassMap_Map_empty0;
  109823. else {
  109824. t1 = type$.Value_2;
  109825. t1 = new A.SassMap0(A.ConstantMap_ConstantMap$from(A.immutableMapToDartMap(contents).cast$2$0(0, t1, t1), t1, t1));
  109826. }
  109827. return t1;
  109828. },
  109829. call$1($self) {
  109830. return this.call$2($self, null);
  109831. },
  109832. "call*": "call$2",
  109833. $requiredArgCount: 1,
  109834. $defaultValues() {
  109835. return [null];
  109836. },
  109837. $signature: 517
  109838. };
  109839. A.mapClass__closure0.prototype = {
  109840. call$1($self) {
  109841. return A.dartMapToImmutableMap($self._map0$_contents);
  109842. },
  109843. $signature: 518
  109844. };
  109845. A.mapClass__closure1.prototype = {
  109846. call$2($self, indexOrKey) {
  109847. var index, t1, _0_0;
  109848. if (typeof indexOrKey == "number") {
  109849. index = B.JSNumber_methods.floor$0(indexOrKey);
  109850. if (index < 0) {
  109851. t1 = $self._map0$_contents;
  109852. index = t1.get$length(t1) + index;
  109853. }
  109854. if (index >= 0) {
  109855. t1 = $self._map0$_contents;
  109856. t1 = index >= t1.get$length(t1);
  109857. } else
  109858. t1 = true;
  109859. if (t1)
  109860. return self.undefined;
  109861. t1 = type$.Value_2;
  109862. _0_0 = A.MapExtensions_get_pairs0($self._map0$_contents, t1, t1).elementAt$1(0, index);
  109863. return A.SassList$0(A._setArrayType([_0_0._0, _0_0._1], type$.JSArray_Value_2), B.ListSeparator_qSL0, false);
  109864. } else {
  109865. t1 = $self._map0$_contents.$index(0, indexOrKey);
  109866. return t1 == null ? self.undefined : t1;
  109867. }
  109868. },
  109869. $signature: 519
  109870. };
  109871. A._NodeSassMap.prototype = {};
  109872. A.legacyMapClass_closure.prototype = {
  109873. call$3(thisArg, $length, dartValue) {
  109874. var t1, t2, t3, map;
  109875. if (dartValue == null) {
  109876. $length.toString;
  109877. t1 = type$.Value_2;
  109878. t2 = A.Iterable_Iterable$generate($length, new A.legacyMapClass__closure(), t1);
  109879. t3 = A.Iterable_Iterable$generate($length, new A.legacyMapClass__closure0(), t1);
  109880. map = A.LinkedHashMap_LinkedHashMap(null, null, null, t1, t1);
  109881. A.MapBase__fillMapWithIterables(map, t2, t3);
  109882. t1 = new A.SassMap0(A.ConstantMap_ConstantMap$from(map, t1, t1));
  109883. } else
  109884. t1 = dartValue;
  109885. J.set$dartValue$x(thisArg, t1);
  109886. },
  109887. call$2(thisArg, $length) {
  109888. return this.call$3(thisArg, $length, null);
  109889. },
  109890. "call*": "call$3",
  109891. $requiredArgCount: 2,
  109892. $defaultValues() {
  109893. return [null];
  109894. },
  109895. $signature: 520
  109896. };
  109897. A.legacyMapClass__closure.prototype = {
  109898. call$1(i) {
  109899. return A.SassNumber_SassNumber0(i, null);
  109900. },
  109901. $signature: 521
  109902. };
  109903. A.legacyMapClass__closure0.prototype = {
  109904. call$1(_) {
  109905. return B.C__SassNull0;
  109906. },
  109907. $signature: 249
  109908. };
  109909. A.legacyMapClass_closure0.prototype = {
  109910. call$2(thisArg, index) {
  109911. var t1 = J.get$dartValue$x(thisArg)._map0$_contents;
  109912. return A.wrapValue(J.elementAt$1$ax(t1.get$keys(t1), index));
  109913. },
  109914. $signature: 250
  109915. };
  109916. A.legacyMapClass_closure1.prototype = {
  109917. call$2(thisArg, index) {
  109918. var t1 = J.get$dartValue$x(thisArg)._map0$_contents;
  109919. t1 = t1.get$values(t1);
  109920. return A.wrapValue(t1.elementAt$1(t1, index));
  109921. },
  109922. $signature: 250
  109923. };
  109924. A.legacyMapClass_closure2.prototype = {
  109925. call$1(thisArg) {
  109926. var t1 = J.get$dartValue$x(thisArg)._map0$_contents;
  109927. return t1.get$length(t1);
  109928. },
  109929. $signature: 523
  109930. };
  109931. A.legacyMapClass_closure3.prototype = {
  109932. call$3(thisArg, index, key) {
  109933. var newKey, t2, newMap, t3, i, t4, oldKey, oldValue,
  109934. t1 = J.getInterceptor$x(thisArg),
  109935. oldMap = t1.get$dartValue(thisArg)._map0$_contents,
  109936. $length = oldMap.get$length(oldMap);
  109937. A.IndexError_check(index, $length, oldMap, null, "index");
  109938. newKey = A.unwrapValue(key);
  109939. t2 = type$.Value_2;
  109940. newMap = A.LinkedHashMap_LinkedHashMap$_empty(t2, t2);
  109941. for (t3 = A.MapExtensions_get_pairs0(t1.get$dartValue(thisArg)._map0$_contents, t2, t2), t3 = t3.get$iterator(t3), i = 0; t3.moveNext$0();) {
  109942. t4 = t3.get$current(t3);
  109943. oldKey = t4._0;
  109944. oldValue = t4._1;
  109945. if (i === index)
  109946. newMap.$indexSet(0, newKey, oldValue);
  109947. else {
  109948. if (newKey.$eq(0, oldKey))
  109949. throw A.wrapException(A.ArgumentError$value(key, "key", "is already in the map"));
  109950. newMap.$indexSet(0, oldKey, oldValue);
  109951. }
  109952. ++i;
  109953. }
  109954. t1.set$dartValue(thisArg, new A.SassMap0(A.ConstantMap_ConstantMap$from(newMap, t2, t2)));
  109955. },
  109956. "call*": "call$3",
  109957. $requiredArgCount: 3,
  109958. $signature: 251
  109959. };
  109960. A.legacyMapClass_closure4.prototype = {
  109961. call$3(thisArg, index, value) {
  109962. var t3,
  109963. t1 = J.getInterceptor$x(thisArg),
  109964. t2 = t1.get$dartValue(thisArg)._map0$_contents,
  109965. key = J.elementAt$1$ax(t2.get$keys(t2), index);
  109966. t2 = type$.Value_2;
  109967. t3 = A.LinkedHashMap_LinkedHashMap$of(t1.get$dartValue(thisArg)._map0$_contents, t2, t2);
  109968. t3.$indexSet(0, key, A.unwrapValue(value));
  109969. t1.set$dartValue(thisArg, new A.SassMap0(A.ConstantMap_ConstantMap$from(t3, t2, t2)));
  109970. },
  109971. "call*": "call$3",
  109972. $requiredArgCount: 3,
  109973. $signature: 251
  109974. };
  109975. A.SassMap0.prototype = {
  109976. get$separator(_) {
  109977. var t1 = this._map0$_contents;
  109978. return t1.get$isEmpty(t1) ? B.ListSeparator_undecided_null_undecided0 : B.ListSeparator_qVN0;
  109979. },
  109980. get$asList() {
  109981. var t3, t4, t5, result,
  109982. t1 = type$.JSArray_Value_2,
  109983. t2 = A._setArrayType([], t1);
  109984. for (t3 = type$.Value_2, t4 = A.MapExtensions_get_pairs0(this._map0$_contents, t3, t3), t4 = t4.get$iterator(t4); t4.moveNext$0();) {
  109985. t5 = t4.get$current(t4);
  109986. result = A.List_List$from(A._setArrayType([t5._0, t5._1], t1), false, t3);
  109987. result.$flags = 3;
  109988. t2.push(new A.SassList0(result, B.ListSeparator_qSL0, false));
  109989. }
  109990. return t2;
  109991. },
  109992. get$lengthAsList() {
  109993. var t1 = this._map0$_contents;
  109994. return t1.get$length(t1);
  109995. },
  109996. accept$1$1(visitor) {
  109997. return visitor.visitMap$1(this);
  109998. },
  109999. accept$1(visitor) {
  110000. return this.accept$1$1(visitor, type$.dynamic);
  110001. },
  110002. assertMap$1($name) {
  110003. return this;
  110004. },
  110005. tryMap$0() {
  110006. return this;
  110007. },
  110008. $eq(_, other) {
  110009. var t1;
  110010. if (other == null)
  110011. return false;
  110012. if (!(other instanceof A.SassMap0 && B.C_MapEquality.equals$2(0, other._map0$_contents, this._map0$_contents))) {
  110013. t1 = this._map0$_contents;
  110014. t1 = t1.get$isEmpty(t1) && other instanceof A.SassList0 && other._list1$_contents.length === 0;
  110015. } else
  110016. t1 = true;
  110017. return t1;
  110018. },
  110019. get$hashCode(_) {
  110020. var t1 = this._map0$_contents;
  110021. return t1.get$isEmpty(t1) ? B.C_ListEquality0.hash$1(B.List_empty22) : B.C_MapEquality.hash$1(t1);
  110022. }
  110023. };
  110024. A.global_closure43.prototype = {
  110025. call$1($arguments) {
  110026. var t1,
  110027. number = J.$index$asx($arguments, 0).assertNumber$1("number");
  110028. if (number.hasUnit$1("%"))
  110029. A.warnForDeprecation0(string$.Passinp + number.toString$0(0) + ")\nTo emit a CSS abs() now: abs(#{" + number.toString$0(0) + string$.x7d__Mor, B.Deprecation_UYp);
  110030. else
  110031. A.warnForDeprecation0(string$.Globalm, B.Deprecation_ZDV);
  110032. t1 = number.get$numeratorUnits(number);
  110033. return A.SassNumber_SassNumber$withUnits0(Math.abs(number._number1$_value), number.get$denominatorUnits(number), t1);
  110034. },
  110035. $signature: 22
  110036. };
  110037. A.module_closure26.prototype = {
  110038. call$1(value) {
  110039. return Math.abs(value);
  110040. },
  110041. $signature: 16
  110042. };
  110043. A._ceil_closure0.prototype = {
  110044. call$1(value) {
  110045. return B.JSNumber_methods.ceil$0(value);
  110046. },
  110047. $signature: 16
  110048. };
  110049. A._clamp_closure0.prototype = {
  110050. call$1($arguments) {
  110051. var t1 = J.getInterceptor$asx($arguments),
  110052. min = t1.$index($arguments, 0).assertNumber$1("min"),
  110053. number = t1.$index($arguments, 1).assertNumber$1("number"),
  110054. max = t1.$index($arguments, 2).assertNumber$1("max");
  110055. number.convertValueToMatch$3(min, "number", "min");
  110056. max.convertValueToMatch$3(min, "max", "min");
  110057. if (min.greaterThanOrEquals$1(max).value)
  110058. return min;
  110059. if (min.greaterThanOrEquals$1(number).value)
  110060. return min;
  110061. if (number.greaterThanOrEquals$1(max).value)
  110062. return max;
  110063. return number;
  110064. },
  110065. $signature: 22
  110066. };
  110067. A._floor_closure0.prototype = {
  110068. call$1(value) {
  110069. return B.JSNumber_methods.floor$0(value);
  110070. },
  110071. $signature: 16
  110072. };
  110073. A._max_closure0.prototype = {
  110074. call$1($arguments) {
  110075. var t1, t2, max, _i, number;
  110076. 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) {
  110077. number = t1[_i].assertNumber$0();
  110078. if (max == null || max.lessThan$1(number).value)
  110079. max = number;
  110080. }
  110081. if (max != null)
  110082. return max;
  110083. throw A.wrapException(A.SassScriptException$0("At least one argument must be passed.", null));
  110084. },
  110085. $signature: 22
  110086. };
  110087. A._min_closure0.prototype = {
  110088. call$1($arguments) {
  110089. var t1, t2, min, _i, number;
  110090. 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) {
  110091. number = t1[_i].assertNumber$0();
  110092. if (min == null || min.greaterThan$1(number).value)
  110093. min = number;
  110094. }
  110095. if (min != null)
  110096. return min;
  110097. throw A.wrapException(A.SassScriptException$0("At least one argument must be passed.", null));
  110098. },
  110099. $signature: 22
  110100. };
  110101. A._round_closure0.prototype = {
  110102. call$1(number) {
  110103. return B.JSNumber_methods.round$0(number);
  110104. },
  110105. $signature: 16
  110106. };
  110107. A._hypot_closure0.prototype = {
  110108. call$1($arguments) {
  110109. var subtotal, i, i0, t3,
  110110. t1 = J.$index$asx($arguments, 0).get$asList(),
  110111. t2 = A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,SassNumber0>"),
  110112. numbers = A.List_List$_of(new A.MappedListIterable(t1, new A._hypot__closure0(), t2), t2._eval$1("ListIterable.E"));
  110113. if (numbers.length === 0)
  110114. throw A.wrapException(A.SassScriptException$0("At least one argument must be passed.", null));
  110115. for (subtotal = 0, i = 0; i < numbers.length; i = i0) {
  110116. i0 = i + 1;
  110117. subtotal += Math.pow(numbers[i].convertValueToMatch$3(numbers[0], "numbers[" + i0 + "]", "numbers[1]"), 2);
  110118. }
  110119. t1 = Math.sqrt(subtotal);
  110120. t2 = numbers[0];
  110121. t2 = t2.get$numeratorUnits(t2);
  110122. t3 = numbers[0];
  110123. return A.SassNumber_SassNumber$withUnits0(t1, t3.get$denominatorUnits(t3), t2);
  110124. },
  110125. $signature: 22
  110126. };
  110127. A._hypot__closure0.prototype = {
  110128. call$1(argument) {
  110129. return argument.assertNumber$0();
  110130. },
  110131. $signature: 525
  110132. };
  110133. A._log_closure0.prototype = {
  110134. call$1($arguments) {
  110135. var base,
  110136. _s18_ = " to have no units.",
  110137. _null = null,
  110138. t1 = J.getInterceptor$asx($arguments),
  110139. number = t1.$index($arguments, 0).assertNumber$1("number");
  110140. if (number.get$hasUnits())
  110141. throw A.wrapException(A.SassScriptException$0("$number: Expected " + number.toString$0(0) + _s18_, _null));
  110142. else if (t1.$index($arguments, 1).$eq(0, B.C__SassNull0))
  110143. return A.SassNumber_SassNumber0(Math.log(number._number1$_value), _null);
  110144. base = t1.$index($arguments, 1).assertNumber$1("base");
  110145. if (base.get$hasUnits())
  110146. throw A.wrapException(A.SassScriptException$0("$base: Expected " + base.toString$0(0) + _s18_, _null));
  110147. else
  110148. return A.SassNumber_SassNumber0(Math.log(number._number1$_value) / Math.log(base._number1$_value), _null);
  110149. },
  110150. $signature: 22
  110151. };
  110152. A._pow_closure0.prototype = {
  110153. call$1($arguments) {
  110154. var t1 = J.getInterceptor$asx($arguments);
  110155. return A.pow1(t1.$index($arguments, 0).assertNumber$1("base"), t1.$index($arguments, 1).assertNumber$1("exponent"));
  110156. },
  110157. $signature: 22
  110158. };
  110159. A._atan2_closure0.prototype = {
  110160. call$1($arguments) {
  110161. var t1 = J.getInterceptor$asx($arguments),
  110162. y = t1.$index($arguments, 0).assertNumber$1("y");
  110163. return A.SassNumber_SassNumber$withUnits0(Math.atan2(y._number1$_value, t1.$index($arguments, 1).assertNumber$1("x").convertValueToMatch$3(y, "x", "y")) * 57.29577951308232, null, A._setArrayType(["deg"], type$.JSArray_String));
  110164. },
  110165. $signature: 22
  110166. };
  110167. A._compatible_closure0.prototype = {
  110168. call$1($arguments) {
  110169. var t1 = J.getInterceptor$asx($arguments);
  110170. return t1.$index($arguments, 0).assertNumber$1("number1").isComparableTo$1(t1.$index($arguments, 1).assertNumber$1("number2")) ? B.SassBoolean_true0 : B.SassBoolean_false0;
  110171. },
  110172. $signature: 11
  110173. };
  110174. A._isUnitless_closure0.prototype = {
  110175. call$1($arguments) {
  110176. return !J.$index$asx($arguments, 0).assertNumber$1("number").get$hasUnits() ? B.SassBoolean_true0 : B.SassBoolean_false0;
  110177. },
  110178. $signature: 11
  110179. };
  110180. A._unit_closure0.prototype = {
  110181. call$1($arguments) {
  110182. return new A.SassString0(J.$index$asx($arguments, 0).assertNumber$1("number").get$unitString(), true);
  110183. },
  110184. $signature: 18
  110185. };
  110186. A._percentage_closure0.prototype = {
  110187. call$1($arguments) {
  110188. var number = J.$index$asx($arguments, 0).assertNumber$1("number");
  110189. number.assertNoUnits$1("number");
  110190. return A.SassNumber_SassNumber0(number._number1$_value * 100, "%");
  110191. },
  110192. $signature: 22
  110193. };
  110194. A._randomFunction_closure0.prototype = {
  110195. call$1($arguments) {
  110196. var limit, limitScalar,
  110197. t1 = J.getInterceptor$asx($arguments);
  110198. if (t1.$index($arguments, 0).$eq(0, B.C__SassNull0))
  110199. return A.SassNumber_SassNumber0($.$get$_random2().nextDouble$0(), null);
  110200. limit = t1.$index($arguments, 0).assertNumber$1("limit");
  110201. if (limit.get$hasUnits())
  110202. A.warnForDeprecation0(string$.math_r + limit.toString$0(0) + string$.x29x20in_a + limit.get$unitString() + ")) * 1" + limit.get$unitString() + string$.x0a_To_p + limit.get$unitString() + string$.x29x29__Mo, B.Deprecation_vn5);
  110203. limitScalar = limit.assertInt$1("limit");
  110204. if (limitScalar < 1)
  110205. throw A.wrapException(A.SassScriptException$0("$limit: Must be greater than 0, was " + limit.toString$0(0) + ".", null));
  110206. return A.SassNumber_SassNumber0($.$get$_random2().nextInt$1(limitScalar) + 1, null);
  110207. },
  110208. $signature: 22
  110209. };
  110210. A._div_closure0.prototype = {
  110211. call$1($arguments) {
  110212. var t1 = J.getInterceptor$asx($arguments),
  110213. number1 = t1.$index($arguments, 0),
  110214. number2 = t1.$index($arguments, 1);
  110215. if (!(number1 instanceof A.SassNumber0) || !(number2 instanceof A.SassNumber0))
  110216. A.warn0(string$.math_d);
  110217. return number1.dividedBy$1(number2);
  110218. },
  110219. $signature: 3
  110220. };
  110221. A._singleArgumentMathFunc_closure0.prototype = {
  110222. call$1($arguments) {
  110223. return this.mathFunc.call$1(J.$index$asx($arguments, 0).assertNumber$1("number"));
  110224. },
  110225. $signature: 22
  110226. };
  110227. A._numberFunction_closure0.prototype = {
  110228. call$1($arguments) {
  110229. var number = J.$index$asx($arguments, 0).assertNumber$1("number"),
  110230. t1 = this.transform.call$1(number._number1$_value),
  110231. t2 = number.get$numeratorUnits(number);
  110232. return A.SassNumber_SassNumber$withUnits0(t1, number.get$denominatorUnits(number), t2);
  110233. },
  110234. $signature: 22
  110235. };
  110236. A.CssMediaQuery0.prototype = {
  110237. merge$1(other) {
  110238. 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";
  110239. if (!_this.conjunction || !other.conjunction)
  110240. return B._SingletonCssMediaQueryMergeResult_10;
  110241. t1 = _this.modifier;
  110242. ourModifier = t1 == null ? _null : t1.toLowerCase();
  110243. t2 = _this.type;
  110244. t3 = t2 == null;
  110245. ourType = t3 ? _null : t2.toLowerCase();
  110246. t4 = other.modifier;
  110247. theirModifier = t4 == null ? _null : t4.toLowerCase();
  110248. t5 = other.type;
  110249. t6 = t5 == null;
  110250. theirType = t6 ? _null : t5.toLowerCase();
  110251. t7 = ourType == null;
  110252. if (t7 && theirType == null) {
  110253. t1 = A.List_List$_of(_this.conditions, type$.String);
  110254. B.JSArray_methods.addAll$1(t1, other.conditions);
  110255. return new A.MediaQuerySuccessfulMergeResult0(A.CssMediaQuery$condition0(t1, true));
  110256. }
  110257. t8 = ourModifier === "not";
  110258. if (t8 !== (theirModifier === "not")) {
  110259. if (ourType == theirType) {
  110260. negativeConditions = t8 ? _this.conditions : other.conditions;
  110261. if (B.JSArray_methods.every$1(negativeConditions, B.JSArray_methods.get$contains(t8 ? other.conditions : _this.conditions)))
  110262. return B._SingletonCssMediaQueryMergeResult_00;
  110263. else
  110264. return B._SingletonCssMediaQueryMergeResult_10;
  110265. } else if (t3 || A.equalsIgnoreCase0(t2, _s3_) || t6 || A.equalsIgnoreCase0(t5, _s3_))
  110266. return B._SingletonCssMediaQueryMergeResult_10;
  110267. if (t8) {
  110268. conditions = other.conditions;
  110269. type = theirType;
  110270. modifier = theirModifier;
  110271. } else {
  110272. conditions = _this.conditions;
  110273. type = ourType;
  110274. modifier = ourModifier;
  110275. }
  110276. } else if (t8) {
  110277. if (ourType != theirType)
  110278. return B._SingletonCssMediaQueryMergeResult_10;
  110279. fewerConditions = _this.conditions;
  110280. fewerConditions0 = other.conditions;
  110281. t3 = fewerConditions.length > fewerConditions0.length;
  110282. moreConditions = t3 ? fewerConditions : fewerConditions0;
  110283. if (t3)
  110284. fewerConditions = fewerConditions0;
  110285. if (!B.JSArray_methods.every$1(fewerConditions, B.JSArray_methods.get$contains(moreConditions)))
  110286. return B._SingletonCssMediaQueryMergeResult_10;
  110287. conditions = moreConditions;
  110288. type = ourType;
  110289. modifier = ourModifier;
  110290. } else if (t3 || A.equalsIgnoreCase0(t2, _s3_)) {
  110291. type = (t6 || A.equalsIgnoreCase0(t5, _s3_)) && t7 ? _null : theirType;
  110292. t3 = A.List_List$_of(_this.conditions, type$.String);
  110293. B.JSArray_methods.addAll$1(t3, other.conditions);
  110294. conditions = t3;
  110295. modifier = theirModifier;
  110296. } else {
  110297. if (t6 || A.equalsIgnoreCase0(t5, _s3_)) {
  110298. t3 = A.List_List$_of(_this.conditions, type$.String);
  110299. B.JSArray_methods.addAll$1(t3, other.conditions);
  110300. conditions = t3;
  110301. modifier = ourModifier;
  110302. } else {
  110303. if (ourType != theirType)
  110304. return B._SingletonCssMediaQueryMergeResult_00;
  110305. else {
  110306. modifier = ourModifier == null ? theirModifier : ourModifier;
  110307. t3 = A.List_List$_of(_this.conditions, type$.String);
  110308. B.JSArray_methods.addAll$1(t3, other.conditions);
  110309. }
  110310. conditions = t3;
  110311. }
  110312. type = ourType;
  110313. }
  110314. t2 = type == ourType ? t2 : t5;
  110315. return new A.MediaQuerySuccessfulMergeResult0(A.CssMediaQuery$type0(t2, conditions, modifier == ourModifier ? t1 : t4));
  110316. },
  110317. $eq(_, other) {
  110318. if (other == null)
  110319. return false;
  110320. return other instanceof A.CssMediaQuery0 && other.modifier == this.modifier && other.type == this.type && B.C_ListEquality.equals$2(0, other.conditions, this.conditions);
  110321. },
  110322. get$hashCode(_) {
  110323. return J.get$hashCode$(this.modifier) ^ J.get$hashCode$(this.type) ^ B.C_ListEquality0.hash$1(this.conditions);
  110324. },
  110325. toString$0(_) {
  110326. var t2, _this = this,
  110327. t1 = _this.modifier;
  110328. t1 = t1 != null ? "" + (t1 + " ") : "";
  110329. t2 = _this.type;
  110330. if (t2 != null) {
  110331. t1 += t2;
  110332. if (_this.conditions.length !== 0)
  110333. t1 += " and ";
  110334. }
  110335. t2 = _this.conjunction ? " and " : " or ";
  110336. t2 = t1 + B.JSArray_methods.join$1(_this.conditions, t2);
  110337. return t2.charCodeAt(0) == 0 ? t2 : t2;
  110338. }
  110339. };
  110340. A._SingletonCssMediaQueryMergeResult0.prototype = {
  110341. _enumToString$0() {
  110342. return "_SingletonCssMediaQueryMergeResult." + this._name;
  110343. }
  110344. };
  110345. A.MediaQuerySuccessfulMergeResult0.prototype = {
  110346. toString$0(_) {
  110347. return this.query.toString$0(0);
  110348. }
  110349. };
  110350. A.MediaQueryParser0.prototype = {
  110351. parse$0(_) {
  110352. return this.wrapSpanFormatException$1(new A.MediaQueryParser_parse_closure0(this));
  110353. },
  110354. _media_query$_mediaQuery$0() {
  110355. var conditions, conjunction, t1, identifier1, identifier2, type, modifier, _this = this, _null = null, _s3_ = "and";
  110356. if (_this.scanner.peekChar$0() === 40) {
  110357. conditions = A._setArrayType([_this._media_query$_mediaInParens$0()], type$.JSArray_String);
  110358. _this.whitespace$1$consumeNewlines(true);
  110359. if (_this.scanIdentifier$1(_s3_)) {
  110360. _this.expectWhitespace$0();
  110361. B.JSArray_methods.addAll$1(conditions, _this._media_query$_mediaLogicSequence$1(_s3_));
  110362. conjunction = true;
  110363. } else {
  110364. t1 = _this.scanIdentifier$1("or");
  110365. if (t1) {
  110366. _this.expectWhitespace$0();
  110367. B.JSArray_methods.addAll$1(conditions, _this._media_query$_mediaLogicSequence$1("or"));
  110368. }
  110369. conjunction = !t1;
  110370. }
  110371. return A.CssMediaQuery$condition0(conditions, conjunction);
  110372. }
  110373. identifier1 = _this.identifier$0();
  110374. if (A.equalsIgnoreCase0(identifier1, "not")) {
  110375. _this.expectWhitespace$0();
  110376. if (!_this.lookingAtIdentifier$0())
  110377. return A.CssMediaQuery$condition0(A._setArrayType(["(not " + _this._media_query$_mediaInParens$0() + ")"], type$.JSArray_String), _null);
  110378. }
  110379. _this.whitespace$1$consumeNewlines(true);
  110380. if (!_this.lookingAtIdentifier$0())
  110381. return A.CssMediaQuery$type0(identifier1, _null, _null);
  110382. identifier2 = _this.identifier$0();
  110383. if (A.equalsIgnoreCase0(identifier2, _s3_)) {
  110384. _this.expectWhitespace$0();
  110385. type = identifier1;
  110386. modifier = _null;
  110387. } else {
  110388. _this.whitespace$1$consumeNewlines(true);
  110389. if (_this.scanIdentifier$1(_s3_))
  110390. _this.expectWhitespace$0();
  110391. else
  110392. return A.CssMediaQuery$type0(identifier2, _null, identifier1);
  110393. type = identifier2;
  110394. modifier = identifier1;
  110395. }
  110396. if (_this.scanIdentifier$1("not")) {
  110397. _this.expectWhitespace$0();
  110398. return A.CssMediaQuery$type0(type, A._setArrayType(["(not " + _this._media_query$_mediaInParens$0() + ")"], type$.JSArray_String), modifier);
  110399. }
  110400. return A.CssMediaQuery$type0(type, _this._media_query$_mediaLogicSequence$1(_s3_), modifier);
  110401. },
  110402. _media_query$_mediaLogicSequence$1(operator) {
  110403. var t1, t2, _this = this,
  110404. result = A._setArrayType([], type$.JSArray_String);
  110405. for (t1 = _this.scanner; true;) {
  110406. t1.expectChar$2$name(40, "media condition in parentheses");
  110407. t2 = _this.declarationValue$0();
  110408. t1.expectChar$1(41);
  110409. result.push("(" + t2 + ")");
  110410. _this.whitespace$1$consumeNewlines(true);
  110411. if (!_this.scanIdentifier$1(operator))
  110412. return result;
  110413. _this.expectWhitespace$0();
  110414. }
  110415. },
  110416. _media_query$_mediaInParens$0() {
  110417. var t2,
  110418. t1 = this.scanner;
  110419. t1.expectChar$2$name(40, "media condition in parentheses");
  110420. t2 = this.declarationValue$0();
  110421. t1.expectChar$1(41);
  110422. return "(" + t2 + ")";
  110423. }
  110424. };
  110425. A.MediaQueryParser_parse_closure0.prototype = {
  110426. call$0() {
  110427. var queries = A._setArrayType([], type$.JSArray_CssMediaQuery_2),
  110428. t1 = this.$this,
  110429. t2 = t1.scanner;
  110430. do {
  110431. t1.whitespace$1$consumeNewlines(true);
  110432. queries.push(t1._media_query$_mediaQuery$0());
  110433. t1.whitespace$1$consumeNewlines(true);
  110434. } while (t2.scanChar$1(44));
  110435. t2.expectDone$0();
  110436. return queries;
  110437. },
  110438. $signature: 526
  110439. };
  110440. A.ModifiableCssMediaRule0.prototype = {
  110441. accept$1$1(visitor) {
  110442. return visitor.visitCssMediaRule$1(this);
  110443. },
  110444. accept$1(visitor) {
  110445. return this.accept$1$1(visitor, type$.dynamic);
  110446. },
  110447. equalsIgnoringChildren$1(other) {
  110448. return other instanceof A.ModifiableCssMediaRule0 && B.C_ListEquality.equals$2(0, this.queries, other.queries);
  110449. },
  110450. copyWithoutChildren$0() {
  110451. return A.ModifiableCssMediaRule$0(this.queries, this.span);
  110452. },
  110453. get$span(receiver) {
  110454. return this.span;
  110455. }
  110456. };
  110457. A.MediaRule0.prototype = {
  110458. accept$1$1(visitor) {
  110459. return visitor.visitMediaRule$1(0, this);
  110460. },
  110461. accept$1(visitor) {
  110462. return this.accept$1$1(visitor, type$.dynamic);
  110463. },
  110464. toString$0(_) {
  110465. var t1 = this.children;
  110466. return "@media " + this.query.toString$0(0) + " {" + (t1 && B.JSArray_methods).join$1(t1, " ") + "}";
  110467. },
  110468. get$span(receiver) {
  110469. return this.span;
  110470. }
  110471. };
  110472. A.MergedExtension0.prototype = {
  110473. unmerge$0() {
  110474. return new A._SyncStarIterable(this.unmerge$body$MergedExtension0(), type$._SyncStarIterable_Extension_2);
  110475. },
  110476. unmerge$body$MergedExtension0() {
  110477. var $async$self = this;
  110478. return function() {
  110479. var $async$goto = 0, $async$handler = 1, $async$errorStack = [], right, left;
  110480. return function $async$unmerge$0($async$iterator, $async$errorCode, $async$result) {
  110481. if ($async$errorCode === 1) {
  110482. $async$errorStack.push($async$result);
  110483. $async$goto = $async$handler;
  110484. }
  110485. while (true)
  110486. switch ($async$goto) {
  110487. case 0:
  110488. // Function start
  110489. left = $async$self.left;
  110490. $async$goto = left instanceof A.MergedExtension0 ? 2 : 4;
  110491. break;
  110492. case 2:
  110493. // then
  110494. $async$goto = 5;
  110495. return $async$iterator._yieldStar$1(left.unmerge$0());
  110496. case 5:
  110497. // after yield
  110498. // goto join
  110499. $async$goto = 3;
  110500. break;
  110501. case 4:
  110502. // else
  110503. $async$goto = 6;
  110504. return $async$iterator._async$_current = left, 1;
  110505. case 6:
  110506. // after yield
  110507. case 3:
  110508. // join
  110509. right = $async$self.right;
  110510. $async$goto = right instanceof A.MergedExtension0 ? 7 : 9;
  110511. break;
  110512. case 7:
  110513. // then
  110514. $async$goto = 10;
  110515. return $async$iterator._yieldStar$1(right.unmerge$0());
  110516. case 10:
  110517. // after yield
  110518. // goto join
  110519. $async$goto = 8;
  110520. break;
  110521. case 9:
  110522. // else
  110523. $async$goto = 11;
  110524. return $async$iterator._async$_current = right, 1;
  110525. case 11:
  110526. // after yield
  110527. case 8:
  110528. // join
  110529. // implicit return
  110530. return 0;
  110531. case 1:
  110532. // rethrow
  110533. return $async$iterator._datum = $async$errorStack.at(-1), 3;
  110534. }
  110535. };
  110536. };
  110537. }
  110538. };
  110539. A.MergedMapView0.prototype = {
  110540. get$keys(_) {
  110541. var t1 = this._merged_map_view$_mapsByKey;
  110542. return new A.LinkedHashMapKeysIterable(t1, A._instanceType(t1)._eval$1("LinkedHashMapKeysIterable<1>"));
  110543. },
  110544. get$length(_) {
  110545. return this._merged_map_view$_mapsByKey.__js_helper$_length;
  110546. },
  110547. get$isEmpty(_) {
  110548. return this._merged_map_view$_mapsByKey.__js_helper$_length === 0;
  110549. },
  110550. get$isNotEmpty(_) {
  110551. return this._merged_map_view$_mapsByKey.__js_helper$_length !== 0;
  110552. },
  110553. MergedMapView$10(maps, $K, $V) {
  110554. var t1, t2, _i, map, t3, t4;
  110555. for (t1 = maps.length, t2 = this._merged_map_view$_mapsByKey, _i = 0; _i < maps.length; maps.length === t1 || (0, A.throwConcurrentModificationError)(maps), ++_i) {
  110556. map = maps[_i];
  110557. if (map instanceof A.MergedMapView0)
  110558. for (t3 = map._merged_map_view$_mapsByKey, t3 = new A.LinkedHashMapValueIterator(t3, t3._modifications, t3._first); t3.moveNext$0();) {
  110559. t4 = t3.__js_helper$_current;
  110560. A.setAll0(t2, t4.get$keys(t4), t4);
  110561. }
  110562. else
  110563. A.setAll0(t2, map.get$keys(map), map);
  110564. }
  110565. },
  110566. $index(_, key) {
  110567. var t1 = this._merged_map_view$_mapsByKey.$index(0, this.$ti._precomputed1._as(key));
  110568. return t1 == null ? null : t1.$index(0, key);
  110569. },
  110570. $indexSet(_, key, value) {
  110571. var _0_0 = this._merged_map_view$_mapsByKey.$index(0, key);
  110572. if (_0_0 != null)
  110573. _0_0.$indexSet(0, key, value);
  110574. else
  110575. throw A.wrapException(A.UnsupportedError$(string$.New_en));
  110576. },
  110577. remove$1(_, key) {
  110578. throw A.wrapException(A.UnsupportedError$(string$.Entrie));
  110579. },
  110580. containsKey$1(key) {
  110581. return this._merged_map_view$_mapsByKey.containsKey$1(key);
  110582. }
  110583. };
  110584. A._shared_closure3.prototype = {
  110585. call$1($arguments) {
  110586. A.warnForDeprecation0(string$.The_fe, B.Deprecation_HIp);
  110587. return $._features0.contains$1(0, J.$index$asx($arguments, 0).assertString$1("feature")._string0$_text) ? B.SassBoolean_true0 : B.SassBoolean_false0;
  110588. },
  110589. $signature: 11
  110590. };
  110591. A._shared_closure4.prototype = {
  110592. call$1($arguments) {
  110593. return new A.SassString0(A.serializeValue0(J.get$first$ax($arguments), true, true), false);
  110594. },
  110595. $signature: 18
  110596. };
  110597. A._shared_closure5.prototype = {
  110598. call$1($arguments) {
  110599. var t1 = J.getInterceptor$asx($arguments),
  110600. _0_0 = t1.$index($arguments, 0);
  110601. $label0$0: {
  110602. if (_0_0 instanceof A.SassArgumentList0) {
  110603. t1 = "arglist";
  110604. break $label0$0;
  110605. }
  110606. if (_0_0 instanceof A.SassBoolean0) {
  110607. t1 = "bool";
  110608. break $label0$0;
  110609. }
  110610. if (_0_0 instanceof A.SassColor0) {
  110611. t1 = "color";
  110612. break $label0$0;
  110613. }
  110614. if (_0_0 instanceof A.SassList0) {
  110615. t1 = "list";
  110616. break $label0$0;
  110617. }
  110618. if (_0_0 instanceof A.SassMap0) {
  110619. t1 = "map";
  110620. break $label0$0;
  110621. }
  110622. if (B.C__SassNull0 === _0_0) {
  110623. t1 = "null";
  110624. break $label0$0;
  110625. }
  110626. if (_0_0 instanceof A.SassNumber0) {
  110627. t1 = "number";
  110628. break $label0$0;
  110629. }
  110630. if (_0_0 instanceof A.SassFunction0) {
  110631. t1 = "function";
  110632. break $label0$0;
  110633. }
  110634. if (_0_0 instanceof A.SassMixin0) {
  110635. t1 = "mixin";
  110636. break $label0$0;
  110637. }
  110638. if (_0_0 instanceof A.SassCalculation0) {
  110639. t1 = "calculation";
  110640. break $label0$0;
  110641. }
  110642. if (_0_0 instanceof A.SassString0) {
  110643. t1 = "string";
  110644. break $label0$0;
  110645. }
  110646. t1 = A.throwExpression("[BUG] Unknown value type " + t1.$index($arguments, 0).toString$0(0));
  110647. }
  110648. return new A.SassString0(t1, false);
  110649. },
  110650. $signature: 18
  110651. };
  110652. A._shared_closure6.prototype = {
  110653. call$1($arguments) {
  110654. var t2, t3, t4,
  110655. t1 = J.getInterceptor$asx($arguments),
  110656. _1_0 = t1.$index($arguments, 0);
  110657. if (_1_0 instanceof A.SassArgumentList0) {
  110658. _1_0._argument_list$_wereKeywordsAccessed = true;
  110659. t1 = type$.Value_2;
  110660. t2 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t1);
  110661. for (t3 = A.MapExtensions_get_pairs0(_1_0._argument_list$_keywords, type$.String, t1), t3 = t3.get$iterator(t3); t3.moveNext$0();) {
  110662. t4 = t3.get$current(t3);
  110663. t2.$indexSet(0, new A.SassString0(t4._0, false), t4._1);
  110664. }
  110665. return new A.SassMap0(A.ConstantMap_ConstantMap$from(t2, t1, t1));
  110666. } else
  110667. throw A.wrapException("$args: " + t1.$index($arguments, 0).toString$0(0) + " is not an argument list.");
  110668. },
  110669. $signature: 37
  110670. };
  110671. A.moduleFunctions_closure2.prototype = {
  110672. call$1($arguments) {
  110673. return new A.SassString0(J.$index$asx($arguments, 0).assertCalculation$1("calc").name, true);
  110674. },
  110675. $signature: 18
  110676. };
  110677. A.moduleFunctions_closure3.prototype = {
  110678. call$1($arguments) {
  110679. var t1 = J.$index$asx($arguments, 0).assertCalculation$1("calc").$arguments;
  110680. return A.SassList$0(new A.MappedListIterable(t1, new A.moduleFunctions__closure0(), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,Value0>")), B.ListSeparator_qVN0, false);
  110681. },
  110682. $signature: 28
  110683. };
  110684. A.moduleFunctions__closure0.prototype = {
  110685. call$1(argument) {
  110686. return argument instanceof A.Value0 ? argument : new A.SassString0(J.toString$0$(argument), false);
  110687. },
  110688. $signature: 527
  110689. };
  110690. A.moduleFunctions_closure4.prototype = {
  110691. call$1($arguments) {
  110692. var _0_2_isSet, acceptsContent, t1, _0_5_isSet, _0_5, hasContent,
  110693. mixin = J.$index$asx($arguments, 0).assertMixin$1("mixin"),
  110694. _0_0 = mixin.callable;
  110695. $label0$0: {
  110696. _0_2_isSet = type$.AsyncBuiltInCallable_2._is(_0_0);
  110697. if (_0_2_isSet)
  110698. acceptsContent = _0_0.get$acceptsContent();
  110699. else
  110700. acceptsContent = null;
  110701. if (!_0_2_isSet) {
  110702. _0_2_isSet = _0_0 instanceof A.BuiltInCallable0;
  110703. if (_0_2_isSet)
  110704. acceptsContent = _0_0.acceptsContent;
  110705. t1 = _0_2_isSet;
  110706. } else
  110707. t1 = true;
  110708. if (t1) {
  110709. t1 = acceptsContent;
  110710. break $label0$0;
  110711. }
  110712. _0_5_isSet = _0_0 instanceof A.UserDefinedCallable0;
  110713. if (_0_5_isSet) {
  110714. _0_5 = _0_0.declaration;
  110715. t1 = _0_5;
  110716. t1 = t1 instanceof A.MixinRule0;
  110717. } else {
  110718. _0_5 = null;
  110719. t1 = false;
  110720. }
  110721. if (t1) {
  110722. t1 = _0_5_isSet ? _0_5 : _0_0.declaration;
  110723. hasContent = type$.MixinRule_2._as(t1).get$hasContent();
  110724. t1 = hasContent;
  110725. break $label0$0;
  110726. }
  110727. t1 = A.throwExpression(A.UnsupportedError$("Unknown callable type " + mixin.toString$0(0) + "."));
  110728. }
  110729. return t1 ? B.SassBoolean_true0 : B.SassBoolean_false0;
  110730. },
  110731. $signature: 11
  110732. };
  110733. A.mixinClass_closure.prototype = {
  110734. call$0() {
  110735. var t1 = type$.JSClass,
  110736. jsClass = t1._as(A.allowInteropCaptureThisNamed("sass.SassMixin", new A.mixinClass__closure()));
  110737. A.JSClassExtension_injectSuperclass(t1._as(new A.SassMixin0(A.BuiltInCallable$function0("f", "", new A.mixinClass__closure0(), null), null).constructor), jsClass);
  110738. return jsClass;
  110739. },
  110740. $signature: 15
  110741. };
  110742. A.mixinClass__closure.prototype = {
  110743. call$1($self) {
  110744. A.jsThrow(new self.Error("It is not possible to construct a SassMixin through the JavaScript API"));
  110745. },
  110746. $signature: 528
  110747. };
  110748. A.mixinClass__closure0.prototype = {
  110749. call$1(_) {
  110750. return B.C__SassNull0;
  110751. },
  110752. $signature: 3
  110753. };
  110754. A.SassMixin0.prototype = {
  110755. accept$1$1(visitor) {
  110756. var t1, t2;
  110757. if (!visitor._serialize0$_inspect)
  110758. A.throwExpression(A.SassScriptException$0(this.toString$0(0) + " isn't a valid CSS value.", null));
  110759. t1 = visitor._serialize0$_buffer;
  110760. t1.write$1(0, "get-mixin(");
  110761. t2 = this.callable;
  110762. visitor._serialize0$_visitQuotedString$1(t2.get$name(t2));
  110763. t1.writeCharCode$1(41);
  110764. return null;
  110765. },
  110766. accept$1(visitor) {
  110767. return this.accept$1$1(visitor, type$.dynamic);
  110768. },
  110769. assertMixin$1($name) {
  110770. return this;
  110771. },
  110772. assertCompileContext$1(compileContext) {
  110773. var t1 = this._mixin0$_compileContext;
  110774. if (t1 != null)
  110775. t1 = t1 !== compileContext;
  110776. else
  110777. t1 = false;
  110778. if (t1)
  110779. throw A.wrapException(A.SassScriptException$0(this.toString$0(0) + " does not belong to current compilation.", null));
  110780. return this;
  110781. },
  110782. $eq(_, other) {
  110783. if (other == null)
  110784. return false;
  110785. return other instanceof A.SassMixin0 && this.callable.$eq(0, other.callable);
  110786. },
  110787. get$hashCode(_) {
  110788. var t1 = this.callable;
  110789. return t1.get$hashCode(t1);
  110790. }
  110791. };
  110792. A.MixinRule0.prototype = {
  110793. get$hasContent() {
  110794. var result, _this = this,
  110795. value = _this._mixin_rule$__MixinRule_hasContent_FI;
  110796. if (value === $) {
  110797. result = J.$eq$(B.C__HasContentVisitor0.visitChildren$1(_this.children), true);
  110798. _this._mixin_rule$__MixinRule_hasContent_FI !== $ && A.throwUnnamedLateFieldADI();
  110799. _this._mixin_rule$__MixinRule_hasContent_FI = result;
  110800. value = result;
  110801. }
  110802. return value;
  110803. },
  110804. accept$1$1(visitor) {
  110805. return visitor.visitMixinRule$1(0, this);
  110806. },
  110807. accept$1(visitor) {
  110808. return this.accept$1$1(visitor, type$.dynamic);
  110809. },
  110810. toString$0(_) {
  110811. var t1 = "@mixin " + this.name,
  110812. t2 = this.parameters;
  110813. if (!(t2.parameters.length === 0 && t2.restParameter == null))
  110814. t1 += "(" + t2.toString$0(0) + ")";
  110815. t2 = this.children;
  110816. t2 = t1 + (" {" + (t2 && B.JSArray_methods).join$1(t2, " ") + "}");
  110817. return t2.charCodeAt(0) == 0 ? t2 : t2;
  110818. }
  110819. };
  110820. A._HasContentVisitor0.prototype = {
  110821. visitContentRule$1(_, _0) {
  110822. return true;
  110823. },
  110824. $isStatementVisitor: 1
  110825. };
  110826. A.__HasContentVisitor_Object_StatementSearchVisitor0.prototype = {};
  110827. A.ExtendMode0.prototype = {
  110828. _enumToString$0() {
  110829. return "ExtendMode." + this._name;
  110830. },
  110831. toString$0(_) {
  110832. return this.name;
  110833. }
  110834. };
  110835. A.JSModule0.prototype = {};
  110836. A.JSModuleRequire0.prototype = {};
  110837. A.MultiSpan0.prototype = {
  110838. get$start(_) {
  110839. var t1 = this._multi_span0$_primary;
  110840. return t1.get$start(t1);
  110841. },
  110842. get$end(_) {
  110843. var t1 = this._multi_span0$_primary;
  110844. return t1.get$end(t1);
  110845. },
  110846. get$text() {
  110847. return this._multi_span0$_primary.get$text();
  110848. },
  110849. get$context(_) {
  110850. var t1 = this._multi_span0$_primary;
  110851. return t1.get$context(t1);
  110852. },
  110853. get$file(_) {
  110854. var t1 = this._multi_span0$_primary;
  110855. return t1.get$file(t1);
  110856. },
  110857. get$length(_) {
  110858. var t1 = this._multi_span0$_primary;
  110859. return t1.get$length(t1);
  110860. },
  110861. get$sourceUrl(_) {
  110862. var t1 = this._multi_span0$_primary;
  110863. return t1.get$sourceUrl(t1);
  110864. },
  110865. compareTo$1(_, other) {
  110866. return this._multi_span0$_primary.compareTo$1(0, other);
  110867. },
  110868. toString$0(_) {
  110869. return this._multi_span0$_primary.toString$0(0);
  110870. },
  110871. expand$1(_, other) {
  110872. return new A.MultiSpan0(this._multi_span0$_primary.expand$1(0, other), this.primaryLabel, this.secondarySpans);
  110873. },
  110874. highlight$1$color(color) {
  110875. return A.Highlighter$multiple(this._multi_span0$_primary, this.primaryLabel, this.secondarySpans, color === true, null, null).highlight$0();
  110876. },
  110877. message$2$color(_, message, color) {
  110878. var t1 = J.$eq$(color, true) || typeof color == "string",
  110879. t2 = typeof color == "string" ? color : null;
  110880. return A.SourceSpanExtension_messageMultiple(this._multi_span0$_primary, message, this.primaryLabel, this.secondarySpans, t1, t2, null);
  110881. },
  110882. message$1(_, message) {
  110883. return this.message$2$color(0, message, null);
  110884. },
  110885. $isComparable: 1,
  110886. $isFileSpan: 1,
  110887. $isSourceSpan: 1,
  110888. $isSourceSpanWithContext: 1
  110889. };
  110890. A.SupportsNegation0.prototype = {
  110891. toInterpolation$0() {
  110892. var t1 = new A.StringBuffer(""),
  110893. t2 = new A.InterpolationBuffer0(t1, A._setArrayType([], type$.JSArray_Object), A._setArrayType([], type$.JSArray_nullable_FileSpan)),
  110894. t3 = this.span,
  110895. t4 = this.condition,
  110896. t5 = A.SpanExtensions_before(t3, t4.get$span(t4));
  110897. t5 = A.String_String$fromCharCodes(B.NativeUint32List_methods.sublist$2(t5.file._decodedChars, t5._file$_start, t5._end), 0, null);
  110898. t1._contents += t5;
  110899. t2.addInterpolation$1(t4.toInterpolation$0());
  110900. t4 = A.SpanExtensions_after(t3, t4.get$span(t4));
  110901. t4 = A.String_String$fromCharCodes(B.NativeUint32List_methods.sublist$2(t4.file._decodedChars, t4._file$_start, t4._end), 0, null);
  110902. t1._contents += t4;
  110903. return t2.interpolation$1(t3);
  110904. },
  110905. withSpan$1(span) {
  110906. return new A.SupportsNegation0(this.condition, span);
  110907. },
  110908. toString$0(_) {
  110909. var t1 = this.condition;
  110910. if (t1 instanceof A.SupportsNegation0 || t1 instanceof A.SupportsOperation0)
  110911. return "not (" + t1.toString$0(0) + ")";
  110912. else
  110913. return "not " + t1.toString$0(0);
  110914. },
  110915. $isAstNode0: 1,
  110916. $isSassNode: 1,
  110917. $isSupportsCondition: 1,
  110918. get$span(receiver) {
  110919. return this.span;
  110920. }
  110921. };
  110922. A.NoOpImporter0.prototype = {
  110923. canonicalize$1(_, url) {
  110924. return null;
  110925. },
  110926. load$1(_, url) {
  110927. return null;
  110928. },
  110929. toString$0(_) {
  110930. return "(unknown)";
  110931. }
  110932. };
  110933. A.NoSourceMapBuffer0.prototype = {
  110934. get$length(_) {
  110935. return this._no_source_map_buffer0$_buffer._contents.length;
  110936. },
  110937. forSpan$1$2(span, callback) {
  110938. return callback.call$0();
  110939. },
  110940. forSpan$2(span, callback) {
  110941. callback.toString;
  110942. return this.forSpan$1$2(span, callback, type$.dynamic);
  110943. },
  110944. write$1(_, object) {
  110945. var t1 = this._no_source_map_buffer0$_buffer,
  110946. t2 = A.S(object);
  110947. t1._contents += t2;
  110948. return null;
  110949. },
  110950. writeCharCode$1(charCode) {
  110951. var t1 = this._no_source_map_buffer0$_buffer,
  110952. t2 = A.Primitives_stringFromCharCode(charCode);
  110953. t1._contents += t2;
  110954. return null;
  110955. },
  110956. toString$0(_) {
  110957. var t1 = this._no_source_map_buffer0$_buffer._contents;
  110958. return t1.charCodeAt(0) == 0 ? t1 : t1;
  110959. },
  110960. buildSourceMap$1$prefix(prefix) {
  110961. return A.throwExpression(A.UnsupportedError$(string$.NoSour));
  110962. }
  110963. };
  110964. A._FakeAstNode0.prototype = {
  110965. get$span(_) {
  110966. return this._node0$_callback.call$0();
  110967. },
  110968. $isAstNode0: 1
  110969. };
  110970. A.CssNode0.prototype = {
  110971. toString$0(_) {
  110972. var _null = null;
  110973. return A.serialize0(this, true, _null, true, _null, _null, false, _null, true)._0;
  110974. },
  110975. $isAstNode0: 1
  110976. };
  110977. A.CssParentNode0.prototype = {};
  110978. A._IsInvisibleVisitor1.prototype = {
  110979. visitCssAtRule$1(rule) {
  110980. return false;
  110981. },
  110982. visitCssComment$1(comment) {
  110983. return this.includeComments && comment.text.charCodeAt(2) !== 33;
  110984. },
  110985. visitCssStyleRule$1(rule) {
  110986. var t1 = rule._style_rule0$_selector._box0$_inner;
  110987. return (this.includeBogus ? t1.value.accept$1(B._IsInvisibleVisitor_true0) : t1.value.accept$1(B._IsInvisibleVisitor_false0)) || this.super$EveryCssVisitor$visitCssStyleRule0(rule);
  110988. }
  110989. };
  110990. A.__IsInvisibleVisitor_Object_EveryCssVisitor0.prototype = {};
  110991. A.ModifiableCssNode0.prototype = {
  110992. get$parent(_) {
  110993. return this._node$_parent;
  110994. },
  110995. get$hasFollowingSibling() {
  110996. var t2,
  110997. t1 = this._node$_parent;
  110998. if (t1 == null)
  110999. t1 = null;
  111000. else {
  111001. t1 = t1.children;
  111002. t2 = this._node$_indexInParent;
  111003. t2.toString;
  111004. t1 = A.SubListIterable$(t1, t2 + 1, null, t1.$ti._eval$1("ListBase.E")).any$1(0, new A.ModifiableCssNode_hasFollowingSibling_closure0());
  111005. }
  111006. return t1 === true;
  111007. },
  111008. get$isGroupEnd() {
  111009. return this.isGroupEnd;
  111010. }
  111011. };
  111012. A.ModifiableCssNode_hasFollowingSibling_closure0.prototype = {
  111013. call$1(sibling) {
  111014. return !sibling.accept$1(B._IsInvisibleVisitor_true_false0);
  111015. },
  111016. $signature: 529
  111017. };
  111018. A.ModifiableCssParentNode0.prototype = {
  111019. get$isChildless() {
  111020. return false;
  111021. },
  111022. addChild$1(child) {
  111023. var t1;
  111024. child._node$_parent = this;
  111025. t1 = this._node$_children;
  111026. child._node$_indexInParent = t1.length;
  111027. t1.push(child);
  111028. },
  111029. clearChildren$0() {
  111030. var t1, t2, _i, child;
  111031. for (t1 = this._node$_children, t2 = t1.length, _i = 0; _i < t2; ++_i) {
  111032. child = t1[_i];
  111033. child._node$_indexInParent = child._node$_parent = null;
  111034. }
  111035. B.JSArray_methods.clear$0(t1);
  111036. },
  111037. $isCssParentNode0: 1,
  111038. get$children(receiver) {
  111039. return this.children;
  111040. }
  111041. };
  111042. A.NodePackageImporter0.prototype = {
  111043. isNonCanonicalScheme$1(scheme) {
  111044. return scheme === "pkg";
  111045. },
  111046. canonicalize$1(_, url) {
  111047. var packageName, jsonPath, jsonString, packageManifest, e, t1, t2, t3, t4, baseDirectory, parts, t5, $name, subpath, packageRoot, exception, _1_0, rootPath, subpathInRoot, _this = this, _null = null;
  111048. if (url.get$scheme() === "file")
  111049. return $.$get$FilesystemImporter_cwd0().canonicalize$1(0, url);
  111050. if (url.get$scheme() !== "pkg")
  111051. return _null;
  111052. if (url.get$hasAuthority())
  111053. throw A.wrapException(string$.A_pkg_h);
  111054. else {
  111055. t1 = $.$get$url();
  111056. t2 = t1.style;
  111057. if (t2.rootLength$1(url.get$path(url)) > 0)
  111058. throw A.wrapException("A pkg: URL's path must not begin with /.");
  111059. else if (url.get$path(url).length === 0)
  111060. throw A.wrapException("A pkg: URL must not have an empty path.");
  111061. else if (url.get$hasQuery() || url.get$hasFragment())
  111062. throw A.wrapException(string$.A_pkg_q);
  111063. }
  111064. t3 = A.canonicalizeContext0();
  111065. t3._canonicalize_context$_wasContainingUrlAccessed = true;
  111066. t3 = t3._canonicalize_context$_containingUrl;
  111067. if ((t3 == null ? _null : t3.get$scheme()) === "file") {
  111068. t3 = A.canonicalizeContext0();
  111069. t3._canonicalize_context$_wasContainingUrlAccessed = true;
  111070. t3 = t3._canonicalize_context$_containingUrl;
  111071. t3.toString;
  111072. t4 = $.$get$context();
  111073. baseDirectory = t4.dirname$1(t4.style.pathFromUri$1(A._parseUri(t3)));
  111074. } else {
  111075. t3 = _this._node_package$__NodePackageImporter__entryPointDirectory_F;
  111076. t3 === $ && A.throwUnnamedLateFieldNI();
  111077. baseDirectory = t3;
  111078. }
  111079. packageName = null;
  111080. parts = t1.split$1(0, url.get$path(url));
  111081. t3 = B.JSArray_methods.removeAt$1(parts, 0);
  111082. t4 = $.$get$context();
  111083. t3.toString;
  111084. t5 = t4.style;
  111085. $name = t5.pathFromUri$1(A._parseUri(t3));
  111086. if (B.JSString_methods.startsWith$1($name, "@"))
  111087. $name = parts.length !== 0 ? t1.join$2(0, $name, B.JSArray_methods.removeAt$1(parts, 0)) : $name;
  111088. subpath = parts.length !== 0 ? t5.pathFromUri$1(A._parseUri(t1.joinAll$1(parts))) : _null;
  111089. packageName = $name;
  111090. t1 = true;
  111091. if (!J.startsWith$1$s(packageName, "."))
  111092. if (!J.contains$1$asx(packageName, "\\"))
  111093. if (!J.contains$1$asx(packageName, "%"))
  111094. t1 = J.startsWith$1$s(packageName, "@") && !J.contains$1$asx(packageName, t2.get$separator(t2));
  111095. if (t1)
  111096. return _null;
  111097. packageRoot = _this._node_package$_resolvePackageRoot$2(packageName, baseDirectory);
  111098. if (packageRoot == null)
  111099. return _null;
  111100. jsonPath = A.join(packageRoot, "package.json", _null);
  111101. jsonString = A.readFile0(jsonPath);
  111102. packageManifest = null;
  111103. try {
  111104. packageManifest = type$.Map_String_dynamic._as(B.C_JsonCodec.decode$1(jsonString));
  111105. } catch (exception) {
  111106. e = A.unwrapException(exception);
  111107. t1 = A.S(jsonPath);
  111108. t2 = A.S(packageName);
  111109. t3 = A.S(e);
  111110. throw A.wrapException("Failed to parse " + t1 + ' for "pkg:' + t2 + '": ' + t3);
  111111. }
  111112. _1_0 = _this._node_package$_resolvePackageExports$4(packageRoot, subpath, packageManifest, packageName);
  111113. if (_1_0 != null)
  111114. if (B.Set_FTDN4.contains$1(0, A.ParsedPath_ParsedPath$parse(_1_0, t5)._splitExtension$1(1)[1]))
  111115. return t4.toUri$1(t4.canonicalize$1(0, _1_0));
  111116. else {
  111117. t1 = subpath == null ? "root" : subpath;
  111118. throw A.wrapException("The export for '" + t1 + "' in '" + A.S(packageName) + "' resolved to '" + _1_0 + string$.x27x2c_whi);
  111119. }
  111120. if (subpath == null) {
  111121. rootPath = _this._node_package$_resolvePackageRootValues$2(packageRoot, packageManifest);
  111122. return rootPath != null ? t4.toUri$1(t4.canonicalize$1(0, rootPath)) : _null;
  111123. }
  111124. subpathInRoot = A.join(packageRoot, subpath, _null);
  111125. return $.$get$FilesystemImporter_cwd0().canonicalize$1(0, t4.toUri$1(subpathInRoot));
  111126. },
  111127. load$1(_, url) {
  111128. return $.$get$FilesystemImporter_cwd0().load$1(0, url);
  111129. },
  111130. _node_package$_resolvePackageRoot$2(packageName, baseDirectory) {
  111131. var potentialPackage, t1;
  111132. for (; true;) {
  111133. potentialPackage = A.join(baseDirectory, "node_modules", packageName);
  111134. if (A.dirExists0(potentialPackage))
  111135. return potentialPackage;
  111136. t1 = $.$get$context();
  111137. if (t1.split$1(0, baseDirectory).length === 1)
  111138. return null;
  111139. baseDirectory = t1.dirname$1(baseDirectory);
  111140. }
  111141. },
  111142. _node_package$_resolvePackageRootValues$2(packageRoot, packageManifest) {
  111143. var t1, sassValue, _1_0, styleValue, _null = null,
  111144. _0_0 = packageManifest.$index(0, "sass");
  111145. if (typeof _0_0 == "string") {
  111146. t1 = B.Set_FTDN4.contains$1(0, A.ParsedPath_ParsedPath$parse(_0_0, $.$get$url().style)._splitExtension$1(1)[1]);
  111147. sassValue = _0_0;
  111148. } else {
  111149. sassValue = _null;
  111150. t1 = false;
  111151. }
  111152. if (t1)
  111153. return A.join(packageRoot, sassValue, _null);
  111154. else {
  111155. _1_0 = packageManifest.$index(0, "style");
  111156. if (typeof _1_0 == "string") {
  111157. t1 = B.Set_FTDN4.contains$1(0, A.ParsedPath_ParsedPath$parse(_1_0, $.$get$url().style)._splitExtension$1(1)[1]);
  111158. styleValue = _1_0;
  111159. } else {
  111160. styleValue = _null;
  111161. t1 = false;
  111162. }
  111163. if (t1)
  111164. return A.join(packageRoot, styleValue, _null);
  111165. }
  111166. return A.resolveImportPath0(A.join(packageRoot, "index", _null));
  111167. },
  111168. _node_package$_resolvePackageExports$4(packageRoot, subpath, packageManifest, packageName) {
  111169. var _0_0, _1_0, _this = this,
  111170. exports = packageManifest.$index(0, "exports");
  111171. if (exports == null)
  111172. return null;
  111173. _0_0 = _this._node_package$_nodePackageExportsResolve$5(packageRoot, _this._node_package$_exportsToCheck$1(subpath), exports, subpath, packageName);
  111174. if (_0_0 != null)
  111175. return _0_0;
  111176. if (subpath != null && A.ParsedPath_ParsedPath$parse(subpath, $.$get$url().style)._splitExtension$1(1)[1].length !== 0)
  111177. return null;
  111178. _1_0 = _this._node_package$_nodePackageExportsResolve$5(packageRoot, _this._node_package$_exportsToCheck$2$addIndex(subpath, true), exports, subpath, packageName);
  111179. if (_1_0 != null)
  111180. return _1_0;
  111181. return null;
  111182. },
  111183. _node_package$_nodePackageExportsResolve$5(packageRoot, subpathVariants, exports, subpath, packageName) {
  111184. var t1, matches, _1_1, path;
  111185. if (type$.Map_String_dynamic._is(exports) && J.any$1$ax(exports.get$keys(exports), new A.NodePackageImporter__nodePackageExportsResolve_closure3()) && J.any$1$ax(exports.get$keys(exports), new A.NodePackageImporter__nodePackageExportsResolve_closure4()))
  111186. throw A.wrapException("`exports` in " + packageName + string$.x20can_n + J.map$1$1$ax(exports.get$keys(exports), new A.NodePackageImporter__nodePackageExportsResolve_closure5(), type$.String).join$1(0, ",") + " in " + A.join(packageRoot, "package.json", null) + ".");
  111187. t1 = type$.NonNullsIterable_String;
  111188. t1 = A.LinkedHashSet_LinkedHashSet$of(new A.NonNullsIterable(new A.MappedListIterable(subpathVariants, new A.NodePackageImporter__nodePackageExportsResolve_closure6(this, exports, packageRoot), A._arrayInstanceType(subpathVariants)._eval$1("MappedListIterable<1,String?>")), t1), t1._eval$1("Iterable.E"));
  111189. matches = A.List_List$_of(t1, A._instanceType(t1)._precomputed1);
  111190. $label0$1: {
  111191. _1_1 = matches.length;
  111192. if (_1_1 === 1) {
  111193. path = matches[0];
  111194. t1 = path;
  111195. break $label0$1;
  111196. }
  111197. if (_1_1 <= 0) {
  111198. t1 = null;
  111199. break $label0$1;
  111200. }
  111201. t1 = subpath == null ? "root" : subpath;
  111202. t1 = A.throwExpression(string$.Unable + t1 + " in " + packageName + " should be used. \n\nFound:\n" + B.JSArray_methods.join$1(matches, "\n"));
  111203. }
  111204. return t1;
  111205. },
  111206. _node_package$_compareExpansionKeys$2(keyA, keyB) {
  111207. var t1 = B.JSString_methods.contains$1(keyA, "*"),
  111208. baseLengthA = t1 ? B.JSString_methods.indexOf$1(keyA, "*") + 1 : keyA.length,
  111209. t2 = B.JSString_methods.contains$1(keyB, "*"),
  111210. baseLengthB = t2 ? B.JSString_methods.indexOf$1(keyB, "*") + 1 : keyB.length;
  111211. if (baseLengthA > baseLengthB)
  111212. return -1;
  111213. if (baseLengthB > baseLengthA)
  111214. return 1;
  111215. if (!t1)
  111216. return 1;
  111217. if (!t2)
  111218. return -1;
  111219. t1 = keyA.length;
  111220. t2 = keyB.length;
  111221. if (t1 > t2)
  111222. return -1;
  111223. if (t2 > t1)
  111224. return 1;
  111225. return 0;
  111226. },
  111227. _node_package$_packageTargetResolve$4(subpath, exports, packageRoot, patternMatch) {
  111228. var t2, string, path, map, key, value, _1_0, array, _2_0, _null = null,
  111229. t1 = typeof exports == "string";
  111230. if (t1) {
  111231. t2 = !B.JSString_methods.startsWith$1(exports, "./");
  111232. string = exports;
  111233. } else {
  111234. string = _null;
  111235. t2 = false;
  111236. }
  111237. if (t2)
  111238. throw A.wrapException("Export '" + A.S(string) + string$.x27x20must + packageRoot + "'.");
  111239. if (t1) {
  111240. t2 = patternMatch != null;
  111241. string = exports;
  111242. } else {
  111243. string = _null;
  111244. t2 = false;
  111245. }
  111246. if (t2) {
  111247. t1 = J.replaceFirst$2$s(string, "*", patternMatch);
  111248. t2 = $.$get$context();
  111249. path = t2.normalize$1(A.join(packageRoot, t2.style.pathFromUri$1(A._parseUri(t1)), _null));
  111250. return A.fileExists0(path) ? path : _null;
  111251. }
  111252. string = t1 ? exports : _null;
  111253. if (t1) {
  111254. t1 = $.$get$context();
  111255. string.toString;
  111256. return A.join(packageRoot, t1.style.pathFromUri$1(A._parseUri(string)), _null);
  111257. }
  111258. t1 = type$.Map_String_dynamic._is(exports);
  111259. map = t1 ? exports : _null;
  111260. if (t1) {
  111261. for (t1 = A.MapExtensions_get_pairs(map, type$.String, type$.dynamic), t1 = t1.get$iterator(t1); t1.moveNext$0();) {
  111262. t2 = t1.get$current(t1);
  111263. key = t2._0;
  111264. value = t2._1;
  111265. if (!B.Set_8229z.contains$1(0, key))
  111266. continue;
  111267. if (value == null)
  111268. continue;
  111269. _1_0 = this._node_package$_packageTargetResolve$4(subpath, value, packageRoot, patternMatch);
  111270. if (_1_0 != null)
  111271. return _1_0;
  111272. }
  111273. return _null;
  111274. }
  111275. t1 = type$.List_dynamic._is(exports);
  111276. if (t1 && J.get$length$asx(exports) <= 0)
  111277. return _null;
  111278. array = t1 ? exports : _null;
  111279. if (t1) {
  111280. for (t1 = J.get$iterator$ax(array); t1.moveNext$0();) {
  111281. value = t1.get$current(t1);
  111282. if (value == null)
  111283. continue;
  111284. _2_0 = this._node_package$_packageTargetResolve$4(subpath, value, packageRoot, patternMatch);
  111285. if (_2_0 != null)
  111286. return _2_0;
  111287. }
  111288. return _null;
  111289. }
  111290. throw A.wrapException("Invalid 'exports' value " + A.S(exports) + " in " + A.join(packageRoot, "package.json", _null) + ".");
  111291. },
  111292. _node_package$_packageTargetResolve$3(subpath, exports, packageRoot) {
  111293. return this._node_package$_packageTargetResolve$4(subpath, exports, packageRoot, null);
  111294. },
  111295. _node_package$_getMainExport$1(exports) {
  111296. var t1, t2, t3, map, _0_4, t4, $export;
  111297. $label0$0: {
  111298. t1 = null;
  111299. if (typeof exports == "string") {
  111300. t1 = exports;
  111301. break $label0$0;
  111302. }
  111303. if (type$.List_String._is(exports)) {
  111304. t1 = exports;
  111305. break $label0$0;
  111306. }
  111307. t2 = type$.Map_String_dynamic._is(exports);
  111308. if (t2) {
  111309. t3 = !J.any$1$ax(exports.get$keys(exports), new A.NodePackageImporter__getMainExport_closure0());
  111310. map = exports;
  111311. } else {
  111312. map = t1;
  111313. t3 = false;
  111314. }
  111315. if (t3) {
  111316. t1 = map;
  111317. break $label0$0;
  111318. }
  111319. t3 = false;
  111320. if (t2) {
  111321. _0_4 = exports.$index(0, ".");
  111322. if (_0_4 == null)
  111323. t4 = exports.containsKey$1(".");
  111324. else
  111325. t4 = true;
  111326. if (t4)
  111327. t3 = _0_4 != null;
  111328. } else
  111329. _0_4 = null;
  111330. if (t3) {
  111331. $export = t2 ? _0_4 : exports.$index(0, ".");
  111332. t1 = $export;
  111333. break $label0$0;
  111334. }
  111335. break $label0$0;
  111336. }
  111337. return t1;
  111338. },
  111339. _node_package$_exportsToCheck$2$addIndex(subpath, addIndex) {
  111340. var basename, dirname, t3, t4, _i, path,
  111341. t1 = type$.JSArray_String,
  111342. paths = A._setArrayType([], t1),
  111343. t2 = subpath == null;
  111344. if (t2 && addIndex)
  111345. subpath = "index";
  111346. else if (!t2 && addIndex)
  111347. subpath = A.join(subpath, "index", null);
  111348. if (subpath == null)
  111349. return A._setArrayType([null], type$.JSArray_nullable_String);
  111350. if (B.Set_FTDN4.contains$1(0, A.ParsedPath_ParsedPath$parse(subpath, $.$get$url().style)._splitExtension$1(1)[1]))
  111351. paths.push(subpath);
  111352. else
  111353. B.JSArray_methods.addAll$1(paths, A._setArrayType([subpath, subpath + ".scss", subpath + ".sass", subpath + ".css"], t1));
  111354. t1 = $.$get$context();
  111355. t2 = t1.style;
  111356. basename = A.ParsedPath_ParsedPath$parse(subpath, t2).get$basename();
  111357. dirname = t1.dirname$1(subpath);
  111358. if (B.JSString_methods.startsWith$1(basename, "_"))
  111359. return paths;
  111360. t1 = A.List_List$_of(paths, type$.nullable_String);
  111361. for (t3 = paths.length, t4 = dirname === ".", _i = 0; _i < paths.length; paths.length === t3 || (0, A.throwConcurrentModificationError)(paths), ++_i) {
  111362. path = paths[_i];
  111363. if (t4)
  111364. t1.push("_" + A.ParsedPath_ParsedPath$parse(path, t2).get$basename());
  111365. else
  111366. t1.push(A.join(dirname, "_" + A.ParsedPath_ParsedPath$parse(path, t2).get$basename(), null));
  111367. }
  111368. return t1;
  111369. },
  111370. _node_package$_exportsToCheck$1(subpath) {
  111371. return this._node_package$_exportsToCheck$2$addIndex(subpath, false);
  111372. }
  111373. };
  111374. A.NodePackageImporter__nodePackageExportsResolve_closure3.prototype = {
  111375. call$1(key) {
  111376. return B.JSString_methods.startsWith$1(key, ".");
  111377. },
  111378. $signature: 5
  111379. };
  111380. A.NodePackageImporter__nodePackageExportsResolve_closure4.prototype = {
  111381. call$1(key) {
  111382. return !B.JSString_methods.startsWith$1(key, ".");
  111383. },
  111384. $signature: 5
  111385. };
  111386. A.NodePackageImporter__nodePackageExportsResolve_closure5.prototype = {
  111387. call$1(key) {
  111388. return '"' + key + '"';
  111389. },
  111390. $signature: 6
  111391. };
  111392. A.NodePackageImporter__nodePackageExportsResolve_closure6.prototype = {
  111393. call$1(variant) {
  111394. var t1, matchKey, t2, t3, t4, t5, _i, expansionKey, _0_0, t6, patternBase, patternTrailer, t7, target, _this = this, _null = null;
  111395. if (variant == null) {
  111396. t1 = _this.$this;
  111397. return A.NullableExtension_andThen(t1._node_package$_getMainExport$1(_this.exports), new A.NodePackageImporter__nodePackageExportsResolve__closure1(t1, variant, _this.packageRoot));
  111398. } else {
  111399. t1 = _this.exports;
  111400. if (!type$.Map_String_dynamic._is(t1) || J.every$1$ax(t1.get$keys(t1), new A.NodePackageImporter__nodePackageExportsResolve__closure2()))
  111401. return _null;
  111402. }
  111403. matchKey = "./" + $.$get$context().toUri$1(variant).toString$0(0);
  111404. if (t1.containsKey$1(matchKey) && t1.$index(0, matchKey) != null && !B.JSString_methods.contains$1(matchKey, "*")) {
  111405. t1 = t1.$index(0, matchKey);
  111406. if (t1 == null)
  111407. t1 = type$.Object._as(t1);
  111408. return _this.$this._node_package$_packageTargetResolve$3(matchKey, t1, _this.packageRoot);
  111409. }
  111410. t2 = A._setArrayType([], type$.JSArray_String);
  111411. for (t3 = J.get$iterator$ax(t1.get$keys(t1)); t3.moveNext$0();) {
  111412. t4 = t3.get$current(t3);
  111413. if (B.JSString_methods.allMatches$1("*", t4).get$length(0) === 1)
  111414. t2.push(t4);
  111415. }
  111416. t3 = _this.$this;
  111417. B.JSArray_methods.sort$1(t2, t3.get$_node_package$_compareExpansionKeys());
  111418. for (t4 = t2.length, t5 = matchKey.length, _i = 0; _i < t2.length; t2.length === t4 || (0, A.throwConcurrentModificationError)(t2), ++_i) {
  111419. expansionKey = t2[_i];
  111420. _0_0 = expansionKey.split("*");
  111421. t6 = _0_0.length === 2;
  111422. if (t6) {
  111423. patternBase = _0_0[0];
  111424. patternTrailer = _0_0[1];
  111425. } else {
  111426. patternTrailer = _null;
  111427. patternBase = patternTrailer;
  111428. }
  111429. if (!t6)
  111430. throw A.wrapException(A.StateError$("Pattern matching error"));
  111431. if (!B.JSString_methods.startsWith$1(matchKey, patternBase))
  111432. continue;
  111433. if (matchKey === patternBase)
  111434. continue;
  111435. t6 = patternTrailer.length;
  111436. if (t6 !== 0)
  111437. t7 = B.JSString_methods.endsWith$1(matchKey, patternTrailer) && t5 >= expansionKey.length;
  111438. else
  111439. t7 = true;
  111440. if (t7) {
  111441. target = t1.$index(0, expansionKey);
  111442. if (target == null)
  111443. continue;
  111444. return t3._node_package$_packageTargetResolve$4(variant, target, _this.packageRoot, B.JSString_methods.substring$2(matchKey, patternBase.length, t5 - t6));
  111445. }
  111446. }
  111447. return _null;
  111448. },
  111449. $signature: 147
  111450. };
  111451. A.NodePackageImporter__nodePackageExportsResolve__closure1.prototype = {
  111452. call$1(mainExport) {
  111453. return this.$this._node_package$_packageTargetResolve$3(this.variant, mainExport, this.packageRoot);
  111454. },
  111455. $signature: 148
  111456. };
  111457. A.NodePackageImporter__nodePackageExportsResolve__closure2.prototype = {
  111458. call$1(key) {
  111459. return !B.JSString_methods.startsWith$1(key, ".");
  111460. },
  111461. $signature: 5
  111462. };
  111463. A.NodePackageImporter__getMainExport_closure0.prototype = {
  111464. call$1(key) {
  111465. return B.JSString_methods.startsWith$1(key, ".");
  111466. },
  111467. $signature: 5
  111468. };
  111469. A.NullExpression0.prototype = {
  111470. accept$1$1(visitor) {
  111471. return visitor.visitNullExpression$1(0, this);
  111472. },
  111473. accept$1(visitor) {
  111474. return this.accept$1$1(visitor, type$.dynamic);
  111475. },
  111476. toString$0(_) {
  111477. return "null";
  111478. },
  111479. get$span(receiver) {
  111480. return this.span;
  111481. }
  111482. };
  111483. A.legacyNullClass_closure.prototype = {
  111484. call$0() {
  111485. var t1 = type$.JSClass,
  111486. jsClass = t1._as(A.allowInteropCaptureThisNamed("sass.types.Null", new A.legacyNullClass__closure()));
  111487. jsClass.NULL = B.C__SassNull0;
  111488. A.JSClassExtension_injectSuperclass(t1._as(B.C__SassNull0.constructor), jsClass);
  111489. return jsClass;
  111490. },
  111491. $signature: 15
  111492. };
  111493. A.legacyNullClass__closure.prototype = {
  111494. call$2(_, __) {
  111495. throw A.wrapException("new sass.types.Null() isn't allowed. Use sass.types.Null.NULL instead.");
  111496. },
  111497. call$1(_) {
  111498. return this.call$2(_, null);
  111499. },
  111500. "call*": "call$2",
  111501. $requiredArgCount: 1,
  111502. $defaultValues() {
  111503. return [null];
  111504. },
  111505. $signature: 222
  111506. };
  111507. A._SassNull0.prototype = {
  111508. get$isTruthy() {
  111509. return false;
  111510. },
  111511. get$isBlank() {
  111512. return true;
  111513. },
  111514. get$realNull() {
  111515. return null;
  111516. },
  111517. accept$1$1(visitor) {
  111518. if (visitor._serialize0$_inspect)
  111519. visitor._serialize0$_buffer.write$1(0, "null");
  111520. return null;
  111521. },
  111522. accept$1(visitor) {
  111523. return this.accept$1$1(visitor, type$.dynamic);
  111524. },
  111525. unaryNot$0() {
  111526. return B.SassBoolean_true0;
  111527. }
  111528. };
  111529. A.NumberExpression0.prototype = {
  111530. accept$1$1(visitor) {
  111531. return visitor.visitNumberExpression$1(0, this);
  111532. },
  111533. accept$1(visitor) {
  111534. return this.accept$1$1(visitor, type$.dynamic);
  111535. },
  111536. toString$0(_) {
  111537. return A.serializeValue0(A.SassNumber_SassNumber0(this.value, this.unit), true, true);
  111538. },
  111539. get$span(receiver) {
  111540. return this.span;
  111541. }
  111542. };
  111543. A.numberClass_closure.prototype = {
  111544. call$0() {
  111545. var t1 = type$.JSClass,
  111546. jsClass = t1._as(A.allowInteropCaptureThisNamed("sass.SassNumber", new A.numberClass__closure())),
  111547. t2 = type$.String,
  111548. t3 = type$.Function;
  111549. 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));
  111550. 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));
  111551. A.JSClassExtension_injectSuperclass(t1._as(self.Object.getPrototypeOf(J.get$$prototype$x(t1._as(A.SassNumber_SassNumber0(0, null).constructor))).constructor), jsClass);
  111552. return jsClass;
  111553. },
  111554. $signature: 15
  111555. };
  111556. A.numberClass__closure.prototype = {
  111557. call$3($self, value, unitOrOptions) {
  111558. var t1, t2, _null = null;
  111559. if (typeof unitOrOptions == "string")
  111560. return A.SassNumber_SassNumber0(value, unitOrOptions);
  111561. type$.nullable__ConstructorOptions_2._as(unitOrOptions);
  111562. t1 = unitOrOptions == null;
  111563. if (t1)
  111564. t2 = _null;
  111565. else {
  111566. t2 = A.NullableExtension_andThen0(J.get$numeratorUnits$x(unitOrOptions), A.immutable__jsToDartList$closure());
  111567. t2 = t2 == null ? _null : J.cast$1$0$ax(t2, type$.String);
  111568. }
  111569. if (t1)
  111570. t1 = _null;
  111571. else {
  111572. t1 = A.NullableExtension_andThen0(J.get$denominatorUnits$x(unitOrOptions), A.immutable__jsToDartList$closure());
  111573. t1 = t1 == null ? _null : J.cast$1$0$ax(t1, type$.String);
  111574. }
  111575. return A.SassNumber_SassNumber$withUnits0(value, t1, t2);
  111576. },
  111577. call$2($self, value) {
  111578. return this.call$3($self, value, null);
  111579. },
  111580. "call*": "call$3",
  111581. $requiredArgCount: 2,
  111582. $defaultValues() {
  111583. return [null];
  111584. },
  111585. $signature: 530
  111586. };
  111587. A.numberClass__closure0.prototype = {
  111588. call$1($self) {
  111589. return $self._number1$_value;
  111590. },
  111591. $signature: 89
  111592. };
  111593. A.numberClass__closure1.prototype = {
  111594. call$1($self) {
  111595. return A.fuzzyIsInt0($self._number1$_value);
  111596. },
  111597. $signature: 252
  111598. };
  111599. A.numberClass__closure2.prototype = {
  111600. call$1($self) {
  111601. return A.fuzzyAsInt0($self._number1$_value);
  111602. },
  111603. $signature: 532
  111604. };
  111605. A.numberClass__closure3.prototype = {
  111606. call$1($self) {
  111607. return new self.immutable.List($self.get$numeratorUnits($self));
  111608. },
  111609. $signature: 253
  111610. };
  111611. A.numberClass__closure4.prototype = {
  111612. call$1($self) {
  111613. return new self.immutable.List($self.get$denominatorUnits($self));
  111614. },
  111615. $signature: 253
  111616. };
  111617. A.numberClass__closure5.prototype = {
  111618. call$1($self) {
  111619. return $self.get$hasUnits();
  111620. },
  111621. $signature: 252
  111622. };
  111623. A.numberClass__closure6.prototype = {
  111624. call$2($self, $name) {
  111625. return $self.assertInt$1($name);
  111626. },
  111627. call$1($self) {
  111628. return this.call$2($self, null);
  111629. },
  111630. "call*": "call$2",
  111631. $requiredArgCount: 1,
  111632. $defaultValues() {
  111633. return [null];
  111634. },
  111635. $signature: 534
  111636. };
  111637. A.numberClass__closure7.prototype = {
  111638. call$4($self, min, max, $name) {
  111639. return $self.valueInRange$3(min, max, $name);
  111640. },
  111641. call$3($self, min, max) {
  111642. return this.call$4($self, min, max, null);
  111643. },
  111644. "call*": "call$4",
  111645. $requiredArgCount: 3,
  111646. $defaultValues() {
  111647. return [null];
  111648. },
  111649. $signature: 535
  111650. };
  111651. A.numberClass__closure8.prototype = {
  111652. call$2($self, $name) {
  111653. $self.assertNoUnits$1($name);
  111654. return $self;
  111655. },
  111656. call$1($self) {
  111657. return this.call$2($self, null);
  111658. },
  111659. "call*": "call$2",
  111660. $requiredArgCount: 1,
  111661. $defaultValues() {
  111662. return [null];
  111663. },
  111664. $signature: 536
  111665. };
  111666. A.numberClass__closure9.prototype = {
  111667. call$3($self, unit, $name) {
  111668. $self.assertUnit$2(unit, $name);
  111669. return $self;
  111670. },
  111671. call$2($self, unit) {
  111672. return this.call$3($self, unit, null);
  111673. },
  111674. "call*": "call$3",
  111675. $requiredArgCount: 2,
  111676. $defaultValues() {
  111677. return [null];
  111678. },
  111679. $signature: 537
  111680. };
  111681. A.numberClass__closure10.prototype = {
  111682. call$2($self, unit) {
  111683. return $self.hasUnit$1(unit);
  111684. },
  111685. $signature: 254
  111686. };
  111687. A.numberClass__closure11.prototype = {
  111688. call$2($self, unit) {
  111689. return $self.get$hasUnits() && $self.compatibleWithUnit$1(unit);
  111690. },
  111691. $signature: 254
  111692. };
  111693. A.numberClass__closure12.prototype = {
  111694. call$4($self, numeratorUnits, denominatorUnits, $name) {
  111695. var t1 = self.immutable.isOrderedMap(numeratorUnits) ? J.toArray$0$x(type$.ImmutableList._as(numeratorUnits)) : type$.List_dynamic._as(numeratorUnits),
  111696. t2 = type$.String;
  111697. t1 = J.cast$1$0$ax(t1, t2);
  111698. t2 = J.cast$1$0$ax(self.immutable.isOrderedMap(denominatorUnits) ? J.toArray$0$x(type$.ImmutableList._as(denominatorUnits)) : type$.List_dynamic._as(denominatorUnits), t2);
  111699. return A.SassNumber_SassNumber$withUnits0($self._number1$_coerceOrConvertValue$4$coerceUnitless$name(t1, t2, false, $name), t2, t1);
  111700. },
  111701. call$3($self, numeratorUnits, denominatorUnits) {
  111702. return this.call$4($self, numeratorUnits, denominatorUnits, null);
  111703. },
  111704. "call*": "call$4",
  111705. $requiredArgCount: 3,
  111706. $defaultValues() {
  111707. return [null];
  111708. },
  111709. $signature: 255
  111710. };
  111711. A.numberClass__closure13.prototype = {
  111712. call$4($self, other, $name, otherName) {
  111713. return $self.convertToMatch$3(other, $name, otherName);
  111714. },
  111715. call$2($self, other) {
  111716. return this.call$4($self, other, null, null);
  111717. },
  111718. call$3($self, other, $name) {
  111719. return this.call$4($self, other, $name, null);
  111720. },
  111721. "call*": "call$4",
  111722. $requiredArgCount: 2,
  111723. $defaultValues() {
  111724. return [null, null];
  111725. },
  111726. $signature: 256
  111727. };
  111728. A.numberClass__closure14.prototype = {
  111729. call$4($self, numeratorUnits, denominatorUnits, $name) {
  111730. var t1 = self.immutable.isOrderedMap(numeratorUnits) ? J.toArray$0$x(type$.ImmutableList._as(numeratorUnits)) : type$.List_dynamic._as(numeratorUnits),
  111731. t2 = type$.String;
  111732. t1 = J.cast$1$0$ax(t1, t2);
  111733. 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);
  111734. },
  111735. call$3($self, numeratorUnits, denominatorUnits) {
  111736. return this.call$4($self, numeratorUnits, denominatorUnits, null);
  111737. },
  111738. "call*": "call$4",
  111739. $requiredArgCount: 3,
  111740. $defaultValues() {
  111741. return [null];
  111742. },
  111743. $signature: 257
  111744. };
  111745. A.numberClass__closure15.prototype = {
  111746. call$4($self, other, $name, otherName) {
  111747. return $self.convertValueToMatch$3(other, $name, otherName);
  111748. },
  111749. call$2($self, other) {
  111750. return this.call$4($self, other, null, null);
  111751. },
  111752. call$3($self, other, $name) {
  111753. return this.call$4($self, other, $name, null);
  111754. },
  111755. "call*": "call$4",
  111756. $requiredArgCount: 2,
  111757. $defaultValues() {
  111758. return [null, null];
  111759. },
  111760. $signature: 258
  111761. };
  111762. A.numberClass__closure16.prototype = {
  111763. call$4($self, numeratorUnits, denominatorUnits, $name) {
  111764. var t1 = self.immutable.isOrderedMap(numeratorUnits) ? J.toArray$0$x(type$.ImmutableList._as(numeratorUnits)) : type$.List_dynamic._as(numeratorUnits),
  111765. t2 = type$.String;
  111766. t1 = J.cast$1$0$ax(t1, t2);
  111767. 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);
  111768. },
  111769. call$3($self, numeratorUnits, denominatorUnits) {
  111770. return this.call$4($self, numeratorUnits, denominatorUnits, null);
  111771. },
  111772. "call*": "call$4",
  111773. $requiredArgCount: 3,
  111774. $defaultValues() {
  111775. return [null];
  111776. },
  111777. $signature: 255
  111778. };
  111779. A.numberClass__closure17.prototype = {
  111780. call$4($self, other, $name, otherName) {
  111781. return $self.coerceToMatch$3(other, $name, otherName);
  111782. },
  111783. call$2($self, other) {
  111784. return this.call$4($self, other, null, null);
  111785. },
  111786. call$3($self, other, $name) {
  111787. return this.call$4($self, other, $name, null);
  111788. },
  111789. "call*": "call$4",
  111790. $requiredArgCount: 2,
  111791. $defaultValues() {
  111792. return [null, null];
  111793. },
  111794. $signature: 256
  111795. };
  111796. A.numberClass__closure18.prototype = {
  111797. call$4($self, numeratorUnits, denominatorUnits, $name) {
  111798. var t1 = self.immutable.isOrderedMap(numeratorUnits) ? J.toArray$0$x(type$.ImmutableList._as(numeratorUnits)) : type$.List_dynamic._as(numeratorUnits),
  111799. t2 = type$.String;
  111800. t1 = J.cast$1$0$ax(t1, t2);
  111801. 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);
  111802. },
  111803. call$3($self, numeratorUnits, denominatorUnits) {
  111804. return this.call$4($self, numeratorUnits, denominatorUnits, null);
  111805. },
  111806. "call*": "call$4",
  111807. $requiredArgCount: 3,
  111808. $defaultValues() {
  111809. return [null];
  111810. },
  111811. $signature: 257
  111812. };
  111813. A.numberClass__closure19.prototype = {
  111814. call$4($self, other, $name, otherName) {
  111815. return $self.coerceValueToMatch$3(other, $name, otherName);
  111816. },
  111817. call$2($self, other) {
  111818. return this.call$4($self, other, null, null);
  111819. },
  111820. call$3($self, other, $name) {
  111821. return this.call$4($self, other, $name, null);
  111822. },
  111823. "call*": "call$4",
  111824. $requiredArgCount: 2,
  111825. $defaultValues() {
  111826. return [null, null];
  111827. },
  111828. $signature: 258
  111829. };
  111830. A._ConstructorOptions0.prototype = {};
  111831. A._NodeSassNumber.prototype = {};
  111832. A.legacyNumberClass_closure.prototype = {
  111833. call$4(thisArg, value, unit, dartValue) {
  111834. var t1;
  111835. if (dartValue == null) {
  111836. value.toString;
  111837. t1 = A._parseNumber(value, unit);
  111838. } else
  111839. t1 = dartValue;
  111840. J.set$dartValue$x(thisArg, t1);
  111841. },
  111842. call$2(thisArg, value) {
  111843. return this.call$4(thisArg, value, null, null);
  111844. },
  111845. call$3(thisArg, value, unit) {
  111846. return this.call$4(thisArg, value, unit, null);
  111847. },
  111848. "call*": "call$4",
  111849. $requiredArgCount: 2,
  111850. $defaultValues() {
  111851. return [null, null];
  111852. },
  111853. $signature: 543
  111854. };
  111855. A.legacyNumberClass_closure0.prototype = {
  111856. call$1(thisArg) {
  111857. return J.get$dartValue$x(thisArg)._number1$_value;
  111858. },
  111859. $signature: 544
  111860. };
  111861. A.legacyNumberClass_closure1.prototype = {
  111862. call$2(thisArg, value) {
  111863. var t1 = J.getInterceptor$x(thisArg),
  111864. t2 = J.get$numeratorUnits$x(t1.get$dartValue(thisArg));
  111865. t1.set$dartValue(thisArg, A.SassNumber_SassNumber$withUnits0(value, J.get$denominatorUnits$x(t1.get$dartValue(thisArg)), t2));
  111866. },
  111867. $signature: 545
  111868. };
  111869. A.legacyNumberClass_closure2.prototype = {
  111870. call$1(thisArg) {
  111871. var t1 = J.getInterceptor$x(thisArg),
  111872. t2 = B.JSArray_methods.join$1(J.get$numeratorUnits$x(t1.get$dartValue(thisArg)), "*"),
  111873. t3 = J.get$denominatorUnits$x(t1.get$dartValue(thisArg)).length === 0 ? "" : "/";
  111874. return t2 + t3 + B.JSArray_methods.join$1(J.get$denominatorUnits$x(t1.get$dartValue(thisArg)), "*");
  111875. },
  111876. $signature: 546
  111877. };
  111878. A.legacyNumberClass_closure3.prototype = {
  111879. call$2(thisArg, unit) {
  111880. var t1 = J.getInterceptor$x(thisArg);
  111881. t1.set$dartValue(thisArg, A._parseNumber(t1.get$dartValue(thisArg)._number1$_value, unit));
  111882. },
  111883. $signature: 547
  111884. };
  111885. A._parseNumber_closure.prototype = {
  111886. call$1(unit) {
  111887. return unit.length === 0;
  111888. },
  111889. $signature: 5
  111890. };
  111891. A._parseNumber_closure0.prototype = {
  111892. call$1(unit) {
  111893. return unit.length === 0;
  111894. },
  111895. $signature: 5
  111896. };
  111897. A.SassNumber0.prototype = {
  111898. get$unitString() {
  111899. var _this = this;
  111900. return _this.get$hasUnits() ? _this._number1$_unitString$2(_this.get$numeratorUnits(_this), _this.get$denominatorUnits(_this)) : "";
  111901. },
  111902. accept$1$1(visitor) {
  111903. return visitor.visitNumber$1(this);
  111904. },
  111905. accept$1(visitor) {
  111906. return this.accept$1$1(visitor, type$.dynamic);
  111907. },
  111908. withoutSlash$0() {
  111909. var _this = this;
  111910. return _this.asSlash == null ? _this : _this.withValue$1(_this._number1$_value);
  111911. },
  111912. assertNumber$1($name) {
  111913. return this;
  111914. },
  111915. assertNumber$0() {
  111916. return this.assertNumber$1(null);
  111917. },
  111918. assertInt$1($name) {
  111919. var _0_0 = A.fuzzyAsInt0(this._number1$_value);
  111920. if (_0_0 != null)
  111921. return _0_0;
  111922. throw A.wrapException(A.SassScriptException$0(this.toString$0(0) + " is not an int.", $name));
  111923. },
  111924. assertInt$0() {
  111925. return this.assertInt$1(null);
  111926. },
  111927. valueInRange$3(min, max, $name) {
  111928. var _this = this,
  111929. _0_0 = A.fuzzyCheckRange0(_this._number1$_value, min, max);
  111930. if (_0_0 != null)
  111931. return _0_0;
  111932. 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));
  111933. },
  111934. valueInRangeWithUnit$4(min, max, $name, unit) {
  111935. var _0_0 = A.fuzzyCheckRange0(this._number1$_value, min, max);
  111936. if (_0_0 != null)
  111937. return _0_0;
  111938. throw A.wrapException(A.SassScriptException$0("Expected " + this.toString$0(0) + " to be within " + min + unit + " and " + max + unit + ".", $name));
  111939. },
  111940. hasCompatibleUnits$1(other) {
  111941. var _this = this;
  111942. if (_this.get$numeratorUnits(_this).length !== other.get$numeratorUnits(other).length)
  111943. return false;
  111944. if (_this.get$denominatorUnits(_this).length !== other.get$denominatorUnits(other).length)
  111945. return false;
  111946. return _this.isComparableTo$1(other);
  111947. },
  111948. assertUnit$2(unit, $name) {
  111949. if (this.hasUnit$1(unit))
  111950. return;
  111951. throw A.wrapException(A.SassScriptException$0("Expected " + this.toString$0(0) + ' to have unit "' + unit + '".', $name));
  111952. },
  111953. assertNoUnits$1($name) {
  111954. if (!this.get$hasUnits())
  111955. return;
  111956. throw A.wrapException(A.SassScriptException$0("Expected " + this.toString$0(0) + " to have no units.", $name));
  111957. },
  111958. assertNoUnits$0() {
  111959. return this.assertNoUnits$1(null);
  111960. },
  111961. convertToMatch$3(other, $name, otherName) {
  111962. var t1 = this.convertValueToMatch$3(other, $name, otherName),
  111963. t2 = other.get$numeratorUnits(other);
  111964. return A.SassNumber_SassNumber$withUnits0(t1, other.get$denominatorUnits(other), t2);
  111965. },
  111966. convertValueToMatch$3(other, $name, otherName) {
  111967. return this._number1$_coerceOrConvertValue$6$coerceUnitless$name$other$otherName(other.get$numeratorUnits(other), other.get$denominatorUnits(other), false, $name, other, otherName);
  111968. },
  111969. convertValueToMatch$1(other) {
  111970. return this.convertValueToMatch$3(other, null, null);
  111971. },
  111972. coerce$3(newNumerators, newDenominators, $name) {
  111973. return A.SassNumber_SassNumber$withUnits0(this.coerceValue$3(newNumerators, newDenominators, $name), newDenominators, newNumerators);
  111974. },
  111975. coerce$2(newNumerators, newDenominators) {
  111976. return this.coerce$3(newNumerators, newDenominators, null);
  111977. },
  111978. coerceValue$3(newNumerators, newDenominators, $name) {
  111979. return this._number1$_coerceOrConvertValue$4$coerceUnitless$name(newNumerators, newDenominators, true, $name);
  111980. },
  111981. coerceValueToUnit$2(unit, $name) {
  111982. var t1 = type$.JSArray_String;
  111983. return this.coerceValue$3(A._setArrayType([unit], t1), A._setArrayType([], t1), $name);
  111984. },
  111985. coerceValueToUnit$1(unit) {
  111986. return this.coerceValueToUnit$2(unit, null);
  111987. },
  111988. coerceToMatch$3(other, $name, otherName) {
  111989. var t1 = this.coerceValueToMatch$3(other, $name, otherName),
  111990. t2 = other.get$numeratorUnits(other);
  111991. return A.SassNumber_SassNumber$withUnits0(t1, other.get$denominatorUnits(other), t2);
  111992. },
  111993. coerceValueToMatch$3(other, $name, otherName) {
  111994. return this._number1$_coerceOrConvertValue$6$coerceUnitless$name$other$otherName(other.get$numeratorUnits(other), other.get$denominatorUnits(other), true, $name, other, otherName);
  111995. },
  111996. coerceValueToMatch$1(other) {
  111997. return this.coerceValueToMatch$3(other, null, null);
  111998. },
  111999. _number1$_coerceOrConvertValue$6$coerceUnitless$name$other$otherName(newNumerators, newDenominators, coerceUnitless, $name, other, otherName) {
  112000. var t1, otherHasUnits, t2, compatibilityException, oldNumerators, oldDenominators, _this = this, _box_0 = {};
  112001. if (B.C_ListEquality.equals$2(0, _this.get$numeratorUnits(_this), newNumerators) && B.C_ListEquality.equals$2(0, _this.get$denominatorUnits(_this), newDenominators))
  112002. return _this._number1$_value;
  112003. t1 = J.getInterceptor$asx(newNumerators);
  112004. otherHasUnits = t1.get$isNotEmpty(newNumerators) || J.get$isNotEmpty$asx(newDenominators);
  112005. if (coerceUnitless)
  112006. t2 = !_this.get$hasUnits() || !otherHasUnits;
  112007. else
  112008. t2 = false;
  112009. if (t2)
  112010. return _this._number1$_value;
  112011. compatibilityException = new A.SassNumber__coerceOrConvertValue_compatibilityException0(_this, other, otherName, otherHasUnits, $name, newNumerators, newDenominators);
  112012. _box_0.value = _this._number1$_value;
  112013. t2 = _this.get$numeratorUnits(_this);
  112014. oldNumerators = A._setArrayType(t2.slice(0), A._arrayInstanceType(t2));
  112015. for (t1 = t1.get$iterator(newNumerators); t1.moveNext$0();)
  112016. A.removeFirstWhere0(oldNumerators, new A.SassNumber__coerceOrConvertValue_closure3(_box_0, t1.get$current(t1)), new A.SassNumber__coerceOrConvertValue_closure4(compatibilityException));
  112017. t1 = _this.get$denominatorUnits(_this);
  112018. oldDenominators = A._setArrayType(t1.slice(0), A._arrayInstanceType(t1));
  112019. for (t1 = J.get$iterator$ax(newDenominators); t1.moveNext$0();)
  112020. A.removeFirstWhere0(oldDenominators, new A.SassNumber__coerceOrConvertValue_closure5(_box_0, t1.get$current(t1)), new A.SassNumber__coerceOrConvertValue_closure6(compatibilityException));
  112021. if (oldNumerators.length !== 0 || oldDenominators.length !== 0)
  112022. throw A.wrapException(compatibilityException.call$0());
  112023. return _box_0.value;
  112024. },
  112025. _number1$_coerceOrConvertValue$4$coerceUnitless$name(newNumerators, newDenominators, coerceUnitless, $name) {
  112026. return this._number1$_coerceOrConvertValue$6$coerceUnitless$name$other$otherName(newNumerators, newDenominators, coerceUnitless, $name, null, null);
  112027. },
  112028. isComparableTo$1(other) {
  112029. var exception;
  112030. if (!this.get$hasUnits() || !other.get$hasUnits())
  112031. return true;
  112032. try {
  112033. this.greaterThan$1(other);
  112034. return true;
  112035. } catch (exception) {
  112036. if (A.unwrapException(exception) instanceof A.SassScriptException0)
  112037. return false;
  112038. else
  112039. throw exception;
  112040. }
  112041. },
  112042. greaterThan$1(other) {
  112043. if (other instanceof A.SassNumber0)
  112044. return this._number1$_coerceUnits$2(other, A.number2__fuzzyGreaterThan$closure()) ? B.SassBoolean_true0 : B.SassBoolean_false0;
  112045. throw A.wrapException(A.SassScriptException$0('Undefined operation "' + this.toString$0(0) + " > " + other.toString$0(0) + '".', null));
  112046. },
  112047. greaterThanOrEquals$1(other) {
  112048. if (other instanceof A.SassNumber0)
  112049. return this._number1$_coerceUnits$2(other, A.number2__fuzzyGreaterThanOrEquals$closure()) ? B.SassBoolean_true0 : B.SassBoolean_false0;
  112050. throw A.wrapException(A.SassScriptException$0('Undefined operation "' + this.toString$0(0) + " >= " + other.toString$0(0) + '".', null));
  112051. },
  112052. lessThan$1(other) {
  112053. if (other instanceof A.SassNumber0)
  112054. return this._number1$_coerceUnits$2(other, A.number2__fuzzyLessThan$closure()) ? B.SassBoolean_true0 : B.SassBoolean_false0;
  112055. throw A.wrapException(A.SassScriptException$0('Undefined operation "' + this.toString$0(0) + " < " + other.toString$0(0) + '".', null));
  112056. },
  112057. lessThanOrEquals$1(other) {
  112058. if (other instanceof A.SassNumber0)
  112059. return this._number1$_coerceUnits$2(other, A.number2__fuzzyLessThanOrEquals$closure()) ? B.SassBoolean_true0 : B.SassBoolean_false0;
  112060. throw A.wrapException(A.SassScriptException$0('Undefined operation "' + this.toString$0(0) + " <= " + other.toString$0(0) + '".', null));
  112061. },
  112062. modulo$1(other) {
  112063. if (other instanceof A.SassNumber0)
  112064. return this.withValue$1(this._number1$_coerceUnits$2(other, A.number2__moduloLikeSass$closure()));
  112065. throw A.wrapException(A.SassScriptException$0('Undefined operation "' + this.toString$0(0) + " % " + other.toString$0(0) + '".', null));
  112066. },
  112067. plus$1(other) {
  112068. var _this = this;
  112069. if (other instanceof A.SassNumber0)
  112070. return _this.withValue$1(_this._number1$_coerceUnits$2(other, new A.SassNumber_plus_closure0()));
  112071. if (!(other instanceof A.SassColor0))
  112072. return _this.super$Value$plus0(other);
  112073. throw A.wrapException(A.SassScriptException$0('Undefined operation "' + _this.toString$0(0) + " + " + other.toString$0(0) + '".', null));
  112074. },
  112075. minus$1(other) {
  112076. var _this = this;
  112077. if (other instanceof A.SassNumber0)
  112078. return _this.withValue$1(_this._number1$_coerceUnits$2(other, new A.SassNumber_minus_closure0()));
  112079. if (!(other instanceof A.SassColor0))
  112080. return _this.super$Value$minus0(other);
  112081. throw A.wrapException(A.SassScriptException$0('Undefined operation "' + _this.toString$0(0) + " - " + other.toString$0(0) + '".', null));
  112082. },
  112083. times$1(other) {
  112084. var _this = this;
  112085. if (other instanceof A.SassNumber0) {
  112086. if (!other.get$hasUnits())
  112087. return _this.withValue$1(_this._number1$_value * other._number1$_value);
  112088. return _this.multiplyUnits$3(_this._number1$_value * other._number1$_value, other.get$numeratorUnits(other), other.get$denominatorUnits(other));
  112089. }
  112090. throw A.wrapException(A.SassScriptException$0('Undefined operation "' + _this.toString$0(0) + " * " + other.toString$0(0) + '".', null));
  112091. },
  112092. dividedBy$1(other) {
  112093. var _this = this;
  112094. if (other instanceof A.SassNumber0) {
  112095. if (!other.get$hasUnits())
  112096. return _this.withValue$1(_this._number1$_value / other._number1$_value);
  112097. return _this.multiplyUnits$3(_this._number1$_value / other._number1$_value, other.get$denominatorUnits(other), other.get$numeratorUnits(other));
  112098. }
  112099. return _this.super$Value$dividedBy0(other);
  112100. },
  112101. unaryPlus$0() {
  112102. return this;
  112103. },
  112104. _number1$_coerceUnits$1$2(other, operation) {
  112105. var t1, exception;
  112106. try {
  112107. t1 = operation.call$2(this._number1$_value, other.coerceValueToMatch$1(this));
  112108. return t1;
  112109. } catch (exception) {
  112110. if (A.unwrapException(exception) instanceof A.SassScriptException0) {
  112111. this.coerceValueToMatch$1(other);
  112112. throw exception;
  112113. } else
  112114. throw exception;
  112115. }
  112116. },
  112117. _number1$_coerceUnits$2(other, operation) {
  112118. operation.toString;
  112119. return this._number1$_coerceUnits$1$2(other, operation, type$.dynamic);
  112120. },
  112121. multiplyUnits$3(value, otherNumerators, otherDenominators) {
  112122. var t1, _0_1, _0_6, _0_3, _0_9, _0_9_isSet, _0_7, _0_7_isSet, t2, _0_2, denominators_case_0, _0_11_isSet, _0_13, _0_11, _0_13_isSet, numerators_case_0, t4, t3, t5, t6, t7, denominators_case_1, numerators_case_1, t0, newNumerators, mutableOtherDenominators, _i, numerator, mutableDenominatorUnits, _this = this, _null = null, _box_0 = {};
  112123. _box_0.value = value;
  112124. t1 = [_this.get$numeratorUnits(_this), _this.get$denominatorUnits(_this), otherNumerators, otherDenominators];
  112125. _0_1 = t1[0];
  112126. _0_6 = _null;
  112127. _0_3 = _null;
  112128. _0_9 = _null;
  112129. _0_9_isSet = false;
  112130. _0_7 = _null;
  112131. _0_7_isSet = false;
  112132. t2 = false;
  112133. _0_2 = t1[1];
  112134. _0_3 = t1[2];
  112135. _0_6 = _0_3.length <= 0;
  112136. _0_9_isSet = _0_6;
  112137. if (_0_9_isSet) {
  112138. _0_7 = t1[3];
  112139. _0_9 = _0_7.length <= 0;
  112140. t2 = _0_9;
  112141. }
  112142. _0_7_isSet = _0_9_isSet;
  112143. denominators_case_0 = _0_2;
  112144. _0_11_isSet = !t2;
  112145. _0_13 = _null;
  112146. if (_0_11_isSet) {
  112147. _0_11 = _0_1.length <= 0;
  112148. _0_13_isSet = _0_11;
  112149. if (_0_13_isSet) {
  112150. t2 = _0_2;
  112151. _0_13 = t2.length <= 0;
  112152. t2 = _0_13;
  112153. if (t2) {
  112154. numerators_case_0 = _0_3;
  112155. if (_0_7_isSet)
  112156. denominators_case_0 = _0_7;
  112157. else {
  112158. _0_7 = t1[3];
  112159. denominators_case_0 = _0_7;
  112160. _0_7_isSet = true;
  112161. }
  112162. } else
  112163. numerators_case_0 = _0_1;
  112164. } else {
  112165. numerators_case_0 = _0_1;
  112166. t2 = false;
  112167. }
  112168. } else {
  112169. numerators_case_0 = _0_1;
  112170. _0_11 = _null;
  112171. _0_13_isSet = false;
  112172. t2 = true;
  112173. }
  112174. if (t2) {
  112175. t4 = denominators_case_0;
  112176. t3 = numerators_case_0;
  112177. } else {
  112178. t4 = _null;
  112179. t3 = t4;
  112180. }
  112181. if (!t2) {
  112182. t2 = _null;
  112183. t5 = _null;
  112184. if (_0_11_isSet)
  112185. t6 = _0_11;
  112186. else {
  112187. _0_11 = _0_1.length <= 0;
  112188. t6 = _0_11;
  112189. }
  112190. t7 = false;
  112191. if (t6) {
  112192. denominators_case_1 = _0_2;
  112193. numerators_case_1 = _0_3;
  112194. if (_0_9_isSet)
  112195. t2 = _0_9;
  112196. else {
  112197. if (_0_7_isSet)
  112198. t2 = _0_7;
  112199. else {
  112200. _0_7 = t1[3];
  112201. t2 = _0_7;
  112202. _0_7_isSet = true;
  112203. }
  112204. _0_9 = t2.length <= 0;
  112205. t2 = _0_9;
  112206. }
  112207. } else {
  112208. numerators_case_1 = t2;
  112209. t2 = t7;
  112210. denominators_case_1 = t5;
  112211. }
  112212. if (!t2) {
  112213. t2 = false;
  112214. if (_0_13_isSet)
  112215. t5 = _0_13;
  112216. else {
  112217. _0_13 = _0_2.length <= 0;
  112218. t5 = _0_13;
  112219. }
  112220. if (t5) {
  112221. t2 = _0_6;
  112222. if (t2)
  112223. denominators_case_1 = _0_7_isSet ? _0_7 : t1[3];
  112224. t1 = t2;
  112225. } else
  112226. t1 = t2;
  112227. numerators_case_1 = _0_1;
  112228. } else
  112229. t1 = true;
  112230. if (t1) {
  112231. t1 = !_this._number1$_areAnyConvertible$2(numerators_case_1, denominators_case_1);
  112232. if (t1) {
  112233. t3 = denominators_case_1;
  112234. t2 = numerators_case_1;
  112235. } else {
  112236. t2 = t3;
  112237. t3 = t4;
  112238. }
  112239. t0 = t3;
  112240. t3 = t1;
  112241. t1 = t2;
  112242. t2 = t0;
  112243. } else {
  112244. t2 = t4;
  112245. t1 = t3;
  112246. t3 = false;
  112247. }
  112248. } else {
  112249. t2 = t4;
  112250. t1 = t3;
  112251. t3 = true;
  112252. }
  112253. if (t3)
  112254. return A.SassNumber_SassNumber$withUnits0(value, t2, t1);
  112255. newNumerators = A._setArrayType([], type$.JSArray_String);
  112256. mutableOtherDenominators = A._setArrayType(otherDenominators.slice(0), A._arrayInstanceType(otherDenominators));
  112257. for (t1 = _this.get$numeratorUnits(_this), t2 = t1.length, _i = 0; _i < t2; ++_i) {
  112258. numerator = t1[_i];
  112259. A.removeFirstWhere0(mutableOtherDenominators, new A.SassNumber_multiplyUnits_closure3(_box_0, numerator), new A.SassNumber_multiplyUnits_closure4(newNumerators, numerator));
  112260. }
  112261. t1 = _this.get$denominatorUnits(_this);
  112262. mutableDenominatorUnits = A._setArrayType(t1.slice(0), A._arrayInstanceType(t1));
  112263. for (t1 = otherNumerators.length, _i = 0; _i < t1; ++_i) {
  112264. numerator = otherNumerators[_i];
  112265. A.removeFirstWhere0(mutableDenominatorUnits, new A.SassNumber_multiplyUnits_closure5(_box_0, numerator), new A.SassNumber_multiplyUnits_closure6(newNumerators, numerator));
  112266. }
  112267. t1 = _box_0.value;
  112268. B.JSArray_methods.addAll$1(mutableDenominatorUnits, mutableOtherDenominators);
  112269. return A.SassNumber_SassNumber$withUnits0(t1, mutableDenominatorUnits, newNumerators);
  112270. },
  112271. _number1$_areAnyConvertible$2(units1, units2) {
  112272. return B.JSArray_methods.any$1(units1, new A.SassNumber__areAnyConvertible_closure0(units2));
  112273. },
  112274. _number1$_unitString$2(numerators, denominators) {
  112275. var _0_4, _0_6, t1, _0_7, _0_5, _0_9, _0_10, denominator;
  112276. $label0$0: {
  112277. _0_4 = J.get$length$asx(numerators) <= 0;
  112278. if (_0_4) {
  112279. _0_6 = J.get$length$asx(denominators);
  112280. t1 = _0_6;
  112281. _0_7 = t1 <= 0;
  112282. t1 = _0_7;
  112283. _0_5 = denominators;
  112284. } else {
  112285. _0_6 = null;
  112286. _0_5 = null;
  112287. t1 = false;
  112288. }
  112289. if (t1) {
  112290. t1 = "no units";
  112291. break $label0$0;
  112292. }
  112293. if (_0_4) {
  112294. t1 = _0_6;
  112295. _0_9 = t1 === 1;
  112296. t1 = _0_9;
  112297. } else
  112298. t1 = false;
  112299. if (t1) {
  112300. _0_10 = J.$index$asx(_0_4 ? _0_5 : denominators, 0);
  112301. denominator = _0_10;
  112302. t1 = denominator + "^-1";
  112303. break $label0$0;
  112304. }
  112305. if (_0_4) {
  112306. t1 = "(" + J.join$1$ax(denominators, "*") + ")^-1";
  112307. break $label0$0;
  112308. }
  112309. _0_6 = J.get$length$asx(denominators);
  112310. t1 = _0_6;
  112311. _0_5 = denominators;
  112312. _0_7 = t1 <= 0;
  112313. t1 = _0_7;
  112314. if (t1) {
  112315. t1 = J.join$1$ax(numerators, "*");
  112316. break $label0$0;
  112317. }
  112318. t1 = _0_6;
  112319. _0_9 = t1 === 1;
  112320. t1 = _0_9;
  112321. if (t1) {
  112322. _0_10 = J.$index$asx(_0_5, 0);
  112323. denominator = _0_10;
  112324. t1 = J.join$1$ax(numerators, "*") + "/" + denominator;
  112325. break $label0$0;
  112326. }
  112327. t1 = J.join$1$ax(numerators, "*") + "/(" + J.join$1$ax(denominators, "*") + ")";
  112328. break $label0$0;
  112329. }
  112330. return t1;
  112331. },
  112332. $eq(_, other) {
  112333. var _this = this;
  112334. if (other == null)
  112335. return false;
  112336. if (!(other instanceof A.SassNumber0))
  112337. return false;
  112338. if (_this.get$numeratorUnits(_this).length !== other.get$numeratorUnits(other).length || _this.get$denominatorUnits(_this).length !== other.get$denominatorUnits(other).length)
  112339. return false;
  112340. if (!_this.get$hasUnits())
  112341. return A.fuzzyEquals0(_this._number1$_value, other._number1$_value);
  112342. 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))))
  112343. return false;
  112344. 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)));
  112345. },
  112346. get$hashCode(_) {
  112347. var _this = this,
  112348. t1 = _this.hashCache;
  112349. 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;
  112350. },
  112351. _number1$_canonicalizeUnitList$1(units) {
  112352. var type,
  112353. t1 = units.length;
  112354. if (t1 === 0)
  112355. return units;
  112356. if (t1 === 1) {
  112357. type = $.$get$_typesByUnit0().$index(0, B.JSArray_methods.get$first(units));
  112358. if (type == null)
  112359. t1 = units;
  112360. else {
  112361. t1 = B.Map_Sr65K.$index(0, type);
  112362. t1.toString;
  112363. t1 = A._setArrayType([B.JSArray_methods.get$first(t1)], type$.JSArray_String);
  112364. }
  112365. return t1;
  112366. }
  112367. t1 = A._arrayInstanceType(units)._eval$1("MappedListIterable<1,String>");
  112368. t1 = A.List_List$_of(new A.MappedListIterable(units, new A.SassNumber__canonicalizeUnitList_closure0(), t1), t1._eval$1("ListIterable.E"));
  112369. B.JSArray_methods.sort$0(t1);
  112370. return t1;
  112371. },
  112372. _number1$_canonicalMultiplier$1(units) {
  112373. return B.JSArray_methods.fold$2(units, 1, new A.SassNumber__canonicalMultiplier_closure0(this));
  112374. },
  112375. canonicalMultiplierForUnit$1(unit) {
  112376. var t1,
  112377. innerMap = B.Map_NtHoP.$index(0, unit);
  112378. if (innerMap == null)
  112379. t1 = 1;
  112380. else {
  112381. t1 = innerMap.get$values(innerMap);
  112382. t1 = 1 / t1.get$first(t1);
  112383. }
  112384. return t1;
  112385. },
  112386. unitSuggestion$2($name, unit) {
  112387. var t2, t3, result, _this = this,
  112388. t1 = _this.get$denominatorUnits(_this);
  112389. t1 = new A.MappedListIterable(t1, new A.SassNumber_unitSuggestion_closure1(), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,String>")).join$0(0);
  112390. t2 = _this.get$numeratorUnits(_this);
  112391. t2 = new A.MappedListIterable(t2, new A.SassNumber_unitSuggestion_closure2(), A._arrayInstanceType(t2)._eval$1("MappedListIterable<1,String>")).join$0(0);
  112392. t3 = unit == null ? "" : " * 1" + unit;
  112393. result = "$" + $name + t1 + t2 + t3;
  112394. return _this.get$numeratorUnits(_this).length === 0 ? result : "calc(" + result + ")";
  112395. },
  112396. unitSuggestion$1($name) {
  112397. return this.unitSuggestion$2($name, null);
  112398. }
  112399. };
  112400. A.SassNumber__coerceOrConvertValue_compatibilityException0.prototype = {
  112401. call$0() {
  112402. var t2, t3, message, t4, type, unit, _this = this,
  112403. t1 = _this.other;
  112404. if (t1 != null) {
  112405. t2 = _this.$this;
  112406. t3 = t2.toString$0(0) + " and";
  112407. message = new A.StringBuffer(t3);
  112408. t4 = _this.otherName;
  112409. if (t4 != null)
  112410. t3 = message._contents = t3 + (" $" + t4 + ":");
  112411. t1 = t3 + (" " + t1.toString$0(0) + " have incompatible units");
  112412. message._contents = t1;
  112413. if (!t2.get$hasUnits() || !_this.otherHasUnits)
  112414. message._contents = t1 + " (one has units and the other doesn't)";
  112415. t1 = message.toString$0(0) + ".";
  112416. t2 = _this.name;
  112417. return new A.SassScriptException0(t2 == null ? t1 : "$" + t2 + ": " + t1);
  112418. } else if (!_this.otherHasUnits) {
  112419. t1 = "Expected " + _this.$this.toString$0(0) + " to have no units.";
  112420. t2 = _this.name;
  112421. return new A.SassScriptException0(t2 == null ? t1 : "$" + t2 + ": " + t1);
  112422. } else {
  112423. t1 = _this.newNumerators;
  112424. t2 = J.getInterceptor$asx(t1);
  112425. if (t2.get$length(t1) === 1 && J.get$isEmpty$asx(_this.newDenominators)) {
  112426. type = $.$get$_typesByUnit0().$index(0, t2.get$first(t1));
  112427. if (type != null) {
  112428. t1 = _this.$this.toString$0(0);
  112429. t2 = B.JSArray_methods.contains$1(A._setArrayType([97, 101, 105, 111, 117], type$.JSArray_int), type.charCodeAt(0)) ? "an " + type : "a " + type;
  112430. t3 = B.Map_Sr65K.$index(0, type);
  112431. t3.toString;
  112432. t3 = "Expected " + t1 + " to have " + t2 + " unit (" + B.JSArray_methods.join$1(t3, ", ") + ").";
  112433. t2 = _this.name;
  112434. return new A.SassScriptException0(t2 == null ? t3 : "$" + t2 + ": " + t3);
  112435. }
  112436. }
  112437. t3 = _this.newDenominators;
  112438. unit = A.pluralize0("unit", t2.get$length(t1) + J.get$length$asx(t3), null);
  112439. t2 = _this.$this;
  112440. t3 = "Expected " + t2.toString$0(0) + " to have " + unit + " " + t2._number1$_unitString$2(t1, t3) + ".";
  112441. t1 = _this.name;
  112442. return new A.SassScriptException0(t1 == null ? t3 : "$" + t1 + ": " + t3);
  112443. }
  112444. },
  112445. $signature: 548
  112446. };
  112447. A.SassNumber__coerceOrConvertValue_closure3.prototype = {
  112448. call$1(oldNumerator) {
  112449. var factor = A.conversionFactor0(this.newNumerator, oldNumerator);
  112450. if (factor == null)
  112451. return false;
  112452. this._box_0.value *= factor;
  112453. return true;
  112454. },
  112455. $signature: 5
  112456. };
  112457. A.SassNumber__coerceOrConvertValue_closure4.prototype = {
  112458. call$0() {
  112459. return A.throwExpression(this.compatibilityException.call$0());
  112460. },
  112461. $signature: 0
  112462. };
  112463. A.SassNumber__coerceOrConvertValue_closure5.prototype = {
  112464. call$1(oldDenominator) {
  112465. var factor = A.conversionFactor0(this.newDenominator, oldDenominator);
  112466. if (factor == null)
  112467. return false;
  112468. this._box_0.value /= factor;
  112469. return true;
  112470. },
  112471. $signature: 5
  112472. };
  112473. A.SassNumber__coerceOrConvertValue_closure6.prototype = {
  112474. call$0() {
  112475. return A.throwExpression(this.compatibilityException.call$0());
  112476. },
  112477. $signature: 0
  112478. };
  112479. A.SassNumber_plus_closure0.prototype = {
  112480. call$2(num1, num2) {
  112481. return num1 + num2;
  112482. },
  112483. $signature: 60
  112484. };
  112485. A.SassNumber_minus_closure0.prototype = {
  112486. call$2(num1, num2) {
  112487. return num1 - num2;
  112488. },
  112489. $signature: 60
  112490. };
  112491. A.SassNumber_multiplyUnits_closure3.prototype = {
  112492. call$1(denominator) {
  112493. var factor = A.conversionFactor0(this.numerator, denominator);
  112494. if (factor == null)
  112495. return false;
  112496. this._box_0.value /= factor;
  112497. return true;
  112498. },
  112499. $signature: 5
  112500. };
  112501. A.SassNumber_multiplyUnits_closure4.prototype = {
  112502. call$0() {
  112503. return this.newNumerators.push(this.numerator);
  112504. },
  112505. $signature: 0
  112506. };
  112507. A.SassNumber_multiplyUnits_closure5.prototype = {
  112508. call$1(denominator) {
  112509. var factor = A.conversionFactor0(this.numerator, denominator);
  112510. if (factor == null)
  112511. return false;
  112512. this._box_0.value /= factor;
  112513. return true;
  112514. },
  112515. $signature: 5
  112516. };
  112517. A.SassNumber_multiplyUnits_closure6.prototype = {
  112518. call$0() {
  112519. return this.newNumerators.push(this.numerator);
  112520. },
  112521. $signature: 0
  112522. };
  112523. A.SassNumber__areAnyConvertible_closure0.prototype = {
  112524. call$1(unit1) {
  112525. var t1,
  112526. _0_0 = B.Map_NtHoP.$index(0, unit1);
  112527. $label0$0: {
  112528. if (_0_0 != null) {
  112529. t1 = B.JSArray_methods.any$1(this.units2, _0_0.get$containsKey());
  112530. break $label0$0;
  112531. }
  112532. t1 = B.JSArray_methods.contains$1(this.units2, unit1);
  112533. break $label0$0;
  112534. }
  112535. return t1;
  112536. },
  112537. $signature: 5
  112538. };
  112539. A.SassNumber__canonicalizeUnitList_closure0.prototype = {
  112540. call$1(unit) {
  112541. var t1,
  112542. type = $.$get$_typesByUnit0().$index(0, unit);
  112543. if (type == null)
  112544. t1 = unit;
  112545. else {
  112546. t1 = B.Map_Sr65K.$index(0, type);
  112547. t1.toString;
  112548. t1 = B.JSArray_methods.get$first(t1);
  112549. }
  112550. return t1;
  112551. },
  112552. $signature: 6
  112553. };
  112554. A.SassNumber__canonicalMultiplier_closure0.prototype = {
  112555. call$2(multiplier, unit) {
  112556. return multiplier * this.$this.canonicalMultiplierForUnit$1(unit);
  112557. },
  112558. $signature: 165
  112559. };
  112560. A.SassNumber_unitSuggestion_closure1.prototype = {
  112561. call$1(unit) {
  112562. return " * 1" + unit;
  112563. },
  112564. $signature: 6
  112565. };
  112566. A.SassNumber_unitSuggestion_closure2.prototype = {
  112567. call$1(unit) {
  112568. return " / 1" + unit;
  112569. },
  112570. $signature: 6
  112571. };
  112572. A.OklabColorSpace0.prototype = {
  112573. get$isBoundedInternal() {
  112574. return false;
  112575. },
  112576. convert$7$missingChroma$missingHue(dest, lightness, a, b, alpha, missingChroma, missingHue) {
  112577. var missingLightness, missingA, missingB, t1;
  112578. if (dest === B.OklchColorSpace_9Gj0)
  112579. return A.labToLch0(dest, lightness, a, b, alpha, missingChroma, missingHue);
  112580. missingLightness = lightness == null;
  112581. missingA = a == null;
  112582. missingB = b == null;
  112583. if (missingLightness)
  112584. lightness = 0;
  112585. if (missingA)
  112586. a = 0;
  112587. if (missingB)
  112588. b = 0;
  112589. t1 = $.$get$oklabToLms0();
  112590. return B.LmsColorSpace_Os30.convert$10$missingA$missingB$missingChroma$missingHue$missingLightness(dest, Math.pow(t1[0] * lightness + t1[1] * a + t1[2] * b, 3) + 0, Math.pow(t1[3] * lightness + t1[4] * a + t1[5] * b, 3) + 0, Math.pow(t1[6] * lightness + t1[7] * a + t1[8] * b, 3) + 0, alpha, missingA, missingB, missingChroma, missingHue, missingLightness);
  112591. },
  112592. convert$5(dest, lightness, a, b, alpha) {
  112593. return this.convert$7$missingChroma$missingHue(dest, lightness, a, b, alpha, false, false);
  112594. }
  112595. };
  112596. A.OklchColorSpace0.prototype = {
  112597. get$isBoundedInternal() {
  112598. return false;
  112599. },
  112600. get$isPolarInternal() {
  112601. return true;
  112602. },
  112603. convert$5(dest, lightness, chroma, hue, alpha) {
  112604. var t1 = hue == null,
  112605. hueRadians = (t1 ? 0 : hue) * 3.141592653589793 / 180,
  112606. t2 = chroma == null,
  112607. t3 = t2 ? 0 : chroma,
  112608. t4 = Math.cos(hueRadians),
  112609. t5 = t2 ? 0 : chroma;
  112610. return B.OklabColorSpace_5400.convert$7$missingChroma$missingHue(dest, lightness, t3 * t4, t5 * Math.sin(hueRadians), alpha, t2, t1);
  112611. }
  112612. };
  112613. A.SupportsOperation0.prototype = {
  112614. toInterpolation$0() {
  112615. var t1 = new A.StringBuffer(""),
  112616. t2 = new A.InterpolationBuffer0(t1, A._setArrayType([], type$.JSArray_Object), A._setArrayType([], type$.JSArray_nullable_FileSpan)),
  112617. t3 = this.span,
  112618. t4 = this.left,
  112619. t5 = A.SpanExtensions_before(t3, t4.get$span(t4));
  112620. t5 = A.String_String$fromCharCodes(B.NativeUint32List_methods.sublist$2(t5.file._decodedChars, t5._file$_start, t5._end), 0, null);
  112621. t1._contents += t5;
  112622. t2.addInterpolation$1(t4.toInterpolation$0());
  112623. t5 = this.right;
  112624. t4 = A.SpanExtensions_between(t4.get$span(t4), t5.get$span(t5));
  112625. t4 = A.String_String$fromCharCodes(B.NativeUint32List_methods.sublist$2(t4.file._decodedChars, t4._file$_start, t4._end), 0, null);
  112626. t1._contents += t4;
  112627. t2.addInterpolation$1(t5.toInterpolation$0());
  112628. t5 = A.SpanExtensions_after(t3, t5.get$span(t5));
  112629. t5 = A.String_String$fromCharCodes(B.NativeUint32List_methods.sublist$2(t5.file._decodedChars, t5._file$_start, t5._end), 0, null);
  112630. t1._contents += t5;
  112631. return t2.interpolation$1(t3);
  112632. },
  112633. withSpan$1(span) {
  112634. return A.SupportsOperation$0(this.left, this.right, this.operator, span);
  112635. },
  112636. toString$0(_) {
  112637. var _this = this;
  112638. return _this._operation$_parenthesize$1(_this.left) + " " + _this.operator + " " + _this._operation$_parenthesize$1(_this.right);
  112639. },
  112640. _operation$_parenthesize$1(condition) {
  112641. var t1;
  112642. if (!(condition instanceof A.SupportsNegation0))
  112643. t1 = condition instanceof A.SupportsOperation0 && condition.operator === this.operator;
  112644. else
  112645. t1 = true;
  112646. return t1 ? "(" + condition.toString$0(0) + ")" : condition.toString$0(0);
  112647. },
  112648. $isAstNode0: 1,
  112649. $isSassNode: 1,
  112650. $isSupportsCondition: 1,
  112651. get$span(receiver) {
  112652. return this.span;
  112653. }
  112654. };
  112655. A.Parameter0.prototype = {
  112656. toString$0(_) {
  112657. var t1 = this.defaultValue,
  112658. t2 = this.name;
  112659. return t1 == null ? t2 : t2 + ": " + t1.toString$0(0);
  112660. },
  112661. $isAstNode0: 1,
  112662. $isSassNode: 1,
  112663. get$span(receiver) {
  112664. return this.span;
  112665. }
  112666. };
  112667. A.ParameterList0.prototype = {
  112668. get$spanWithName() {
  112669. var t3, t4,
  112670. t1 = this.span,
  112671. t2 = t1.file,
  112672. text = A.String_String$fromCharCodes(B.NativeUint32List_methods.sublist$2(t2._decodedChars, 0, null), 0, null),
  112673. i = A.FileLocation$_(t2, t1._file$_start).offset - 1;
  112674. while (true) {
  112675. if (i > 0) {
  112676. t3 = text.charCodeAt(i);
  112677. t3 = t3 === 32 || t3 === 9 || t3 === 10 || t3 === 13 || t3 === 12;
  112678. } else
  112679. t3 = false;
  112680. if (!t3)
  112681. break;
  112682. --i;
  112683. }
  112684. t3 = text.charCodeAt(i);
  112685. if (!(t3 === 95 || A.CharacterExtension_get_isAlphabetic0(t3) || t3 >= 128))
  112686. t3 = t3 >= 48 && t3 <= 57 || t3 === 45;
  112687. else
  112688. t3 = true;
  112689. if (!t3)
  112690. return t1;
  112691. --i;
  112692. while (true) {
  112693. if (i >= 0) {
  112694. t3 = text.charCodeAt(i);
  112695. if (t3 !== 95) {
  112696. if (!(t3 >= 97 && t3 <= 122))
  112697. t4 = t3 >= 65 && t3 <= 90;
  112698. else
  112699. t4 = true;
  112700. t4 = t4 || t3 >= 128;
  112701. } else
  112702. t4 = true;
  112703. if (!t4)
  112704. t3 = t3 >= 48 && t3 <= 57 || t3 === 45;
  112705. else
  112706. t3 = true;
  112707. } else
  112708. t3 = false;
  112709. if (!t3)
  112710. break;
  112711. --i;
  112712. }
  112713. t3 = i + 1;
  112714. t4 = text.charCodeAt(t3);
  112715. if (!(t4 === 95 || A.CharacterExtension_get_isAlphabetic0(t4) || t4 >= 128))
  112716. return t1;
  112717. return A.SpanExtensions_trimRight0(A.SpanExtensions_trimLeft0(t2.span$2(0, t3, A.FileLocation$_(t2, t1._end).offset)));
  112718. },
  112719. verify$2(positional, names) {
  112720. var t1, t2, t3, namedUsed, i, parameter, t4, unknownNames, _this = this,
  112721. _s10_ = "invocation";
  112722. for (t1 = _this.parameters, t2 = t1.length, t3 = names._baseMap, namedUsed = 0, i = 0; i < t2; ++i) {
  112723. parameter = t1[i];
  112724. if (i < positional) {
  112725. t4 = parameter.name;
  112726. if (t3.containsKey$1(t4))
  112727. throw A.wrapException(A.SassScriptException$0("Argument " + _this._parameter_list$_originalParameterName$1(t4) + string$.x20was_p, null));
  112728. } else {
  112729. t4 = parameter.name;
  112730. if (t3.containsKey$1(t4))
  112731. ++namedUsed;
  112732. else if (parameter.defaultValue == null)
  112733. throw A.wrapException(A.MultiSpanSassScriptException$0("Missing argument " + _this._parameter_list$_originalParameterName$1(t4) + ".", _s10_, A.LinkedHashMap_LinkedHashMap$_literal([_this.get$spanWithName(), "declaration"], type$.FileSpan, type$.String)));
  112734. }
  112735. }
  112736. if (_this.restParameter != null)
  112737. return;
  112738. if (positional > t2) {
  112739. t1 = names.get$isEmpty(0) ? "" : "positional ";
  112740. throw A.wrapException(A.MultiSpanSassScriptException$0("Only " + t2 + " " + t1 + A.pluralize0("argument", t2, null) + " allowed, but " + positional + " " + A.pluralize0("was", positional, "were") + " passed.", _s10_, A.LinkedHashMap_LinkedHashMap$_literal([_this.get$spanWithName(), "declaration"], type$.FileSpan, type$.String)));
  112741. }
  112742. if (namedUsed < t3.get$length(t3)) {
  112743. t2 = type$.String;
  112744. unknownNames = A.LinkedHashSet_LinkedHashSet$of(names, t2);
  112745. unknownNames.removeAll$1(new A.MappedListIterable(t1, new A.ParameterList_verify_closure1(), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,Object?>")));
  112746. throw A.wrapException(A.MultiSpanSassScriptException$0("No " + A.pluralize0("parameter", unknownNames._collection$_length, null) + " named " + A.toSentence0(unknownNames.map$1$1(0, new A.ParameterList_verify_closure2(), type$.Object), "or") + ".", _s10_, A.LinkedHashMap_LinkedHashMap$_literal([_this.get$spanWithName(), "declaration"], type$.FileSpan, t2)));
  112747. }
  112748. },
  112749. _parameter_list$_originalParameterName$1($name) {
  112750. var t1, text, t2, _i, parameter, t3, end;
  112751. if ($name === this.restParameter) {
  112752. t1 = this.span;
  112753. text = A.String_String$fromCharCodes(B.NativeUint32List_methods.sublist$2(t1.file._decodedChars, t1._file$_start, t1._end), 0, null);
  112754. 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, "."));
  112755. }
  112756. for (t1 = this.parameters, t2 = t1.length, _i = 0; _i < t2; ++_i) {
  112757. parameter = t1[_i];
  112758. if (parameter.name === $name) {
  112759. t1 = parameter.span;
  112760. if (parameter.defaultValue == null) {
  112761. t2 = t1._file$_start;
  112762. t3 = t1.file._decodedChars;
  112763. t3 = A.String_String$fromCharCodes(new Uint32Array(t3.subarray(t2, A._checkValidRange(t2, t1._end, t3.length))), 0, null);
  112764. t1 = t3;
  112765. } else {
  112766. text = t1.get$text();
  112767. t1 = B.JSString_methods.substring$2(text, 0, B.JSString_methods.indexOf$1(text, ":"));
  112768. end = A._lastNonWhitespace0(t1, false);
  112769. t1 = end == null ? "" : B.JSString_methods.substring$2(t1, 0, end + 1);
  112770. }
  112771. return t1;
  112772. }
  112773. }
  112774. throw A.wrapException(A.ArgumentError$(string$.This_d + $name + '".', null));
  112775. },
  112776. matches$2(positional, names) {
  112777. var t1, t2, t3, namedUsed, i, parameter;
  112778. for (t1 = this.parameters, t2 = t1.length, t3 = names._baseMap, namedUsed = 0, i = 0; i < t2; ++i) {
  112779. parameter = t1[i];
  112780. if (i < positional) {
  112781. if (t3.containsKey$1(parameter.name))
  112782. return false;
  112783. } else if (t3.containsKey$1(parameter.name))
  112784. ++namedUsed;
  112785. else if (parameter.defaultValue == null)
  112786. return false;
  112787. }
  112788. if (this.restParameter != null)
  112789. return true;
  112790. if (positional > t2)
  112791. return false;
  112792. if (namedUsed < t3.get$length(t3))
  112793. return false;
  112794. return true;
  112795. },
  112796. toString$0(_) {
  112797. var t2, t3, _i,
  112798. t1 = A._setArrayType([], type$.JSArray_String);
  112799. for (t2 = this.parameters, t3 = t2.length, _i = 0; _i < t3; ++_i)
  112800. t1.push("$" + t2[_i].toString$0(0));
  112801. t2 = this.restParameter;
  112802. if (t2 != null)
  112803. t1.push("$" + t2 + "...");
  112804. return B.JSArray_methods.join$1(t1, ", ");
  112805. },
  112806. $isAstNode0: 1,
  112807. $isSassNode: 1,
  112808. get$span(receiver) {
  112809. return this.span;
  112810. }
  112811. };
  112812. A.ParameterList_verify_closure1.prototype = {
  112813. call$1(parameter) {
  112814. return parameter.name;
  112815. },
  112816. $signature: 549
  112817. };
  112818. A.ParameterList_verify_closure2.prototype = {
  112819. call$1($name) {
  112820. return "$" + $name;
  112821. },
  112822. $signature: 6
  112823. };
  112824. A.ParentSelector0.prototype = {
  112825. accept$1$1(visitor) {
  112826. return visitor.visitParentSelector$1(this);
  112827. },
  112828. accept$1(visitor) {
  112829. return this.accept$1$1(visitor, type$.dynamic);
  112830. },
  112831. unify$1(compound) {
  112832. return A.throwExpression(A.UnsupportedError$("& doesn't support unification."));
  112833. }
  112834. };
  112835. A.ParentStatement0.prototype = {};
  112836. A.ParentStatement_closure0.prototype = {
  112837. call$1(child) {
  112838. var t1;
  112839. $label0$0: {
  112840. if (child instanceof A.VariableDeclaration0 || child instanceof A.FunctionRule0 || child instanceof A.MixinRule0) {
  112841. t1 = true;
  112842. break $label0$0;
  112843. }
  112844. if (child instanceof A.ImportRule0) {
  112845. t1 = B.JSArray_methods.any$1(child.imports, new A.ParentStatement__closure0());
  112846. break $label0$0;
  112847. }
  112848. t1 = false;
  112849. break $label0$0;
  112850. }
  112851. return t1;
  112852. },
  112853. $signature: 246
  112854. };
  112855. A.ParentStatement__closure0.prototype = {
  112856. call$1($import) {
  112857. return $import instanceof A.DynamicImport0;
  112858. },
  112859. $signature: 247
  112860. };
  112861. A.ParenthesizedExpression0.prototype = {
  112862. accept$1$1(visitor) {
  112863. return visitor.visitParenthesizedExpression$1(0, this);
  112864. },
  112865. accept$1(visitor) {
  112866. return this.accept$1$1(visitor, type$.dynamic);
  112867. },
  112868. toString$0(_) {
  112869. return "(" + this.expression.toString$0(0) + ")";
  112870. },
  112871. get$span(receiver) {
  112872. return this.span;
  112873. }
  112874. };
  112875. A.ParserExports.prototype = {};
  112876. A.loadParserExports_closure.prototype = {
  112877. call$1(inner) {
  112878. return new A.JSExpressionVisitor(inner);
  112879. },
  112880. $signature: 550
  112881. };
  112882. A.loadParserExports_closure0.prototype = {
  112883. call$1(inner) {
  112884. return new A.JSStatementVisitor(inner);
  112885. },
  112886. $signature: 551
  112887. };
  112888. A.loadParserExports_closure1.prototype = {
  112889. call$1(set) {
  112890. var t1 = A.List_List$_of(set, type$.nullable_Object);
  112891. return new self.Set(t1);
  112892. },
  112893. $signature: 552
  112894. };
  112895. A._updateAstPrototypes_closure.prototype = {
  112896. call$3($self, start, end) {
  112897. return A.String_String$fromCharCodes(B.NativeUint32List_methods.sublist$2($self._decodedChars, start, end), 0, null);
  112898. },
  112899. call$2($self, start) {
  112900. return this.call$3($self, start, null);
  112901. },
  112902. "call*": "call$3",
  112903. $requiredArgCount: 2,
  112904. $defaultValues() {
  112905. return [null];
  112906. },
  112907. $signature: 553
  112908. };
  112909. A._updateAstPrototypes_closure0.prototype = {
  112910. call$1($self) {
  112911. return $self._decodedChars;
  112912. },
  112913. $signature: 554
  112914. };
  112915. A._updateAstPrototypes_closure1.prototype = {
  112916. call$1($self) {
  112917. return $self.get$asPlain();
  112918. },
  112919. $signature: 555
  112920. };
  112921. A._updateAstPrototypes_closure2.prototype = {
  112922. call$2($self, visitor) {
  112923. return $self.accept$1(visitor);
  112924. },
  112925. $signature: 556
  112926. };
  112927. A._updateAstPrototypes_closure3.prototype = {
  112928. call$2($self, visitor) {
  112929. return $self.accept$1(visitor);
  112930. },
  112931. $signature: 557
  112932. };
  112933. A._updateAstPrototypes_closure4.prototype = {
  112934. call$1($self) {
  112935. return $self.$arguments;
  112936. },
  112937. $signature: 558
  112938. };
  112939. A._updateAstPrototypes_closure5.prototype = {
  112940. call$1($self) {
  112941. return $self.$arguments;
  112942. },
  112943. $signature: 559
  112944. };
  112945. A._updateAstPrototypes_closure6.prototype = {
  112946. call$1($self) {
  112947. return $self.$arguments;
  112948. },
  112949. $signature: 560
  112950. };
  112951. A._updateAstPrototypes_closure7.prototype = {
  112952. call$1($self) {
  112953. return $self.$arguments;
  112954. },
  112955. $signature: 561
  112956. };
  112957. A._updateAstPrototypes_closure8.prototype = {
  112958. call$1($self) {
  112959. return $self.$arguments;
  112960. },
  112961. $signature: 562
  112962. };
  112963. A._updateAstPrototypes_closure9.prototype = {
  112964. call$1($self) {
  112965. return $self.get$span($self);
  112966. },
  112967. $signature: 563
  112968. };
  112969. A._addSupportsConditionToInterpolation_closure.prototype = {
  112970. call$1($self) {
  112971. return $self.toInterpolation$0();
  112972. },
  112973. $signature: 564
  112974. };
  112975. A.Parser1.prototype = {
  112976. _parser1$_parseIdentifier$0() {
  112977. return this.wrapSpanFormatException$1(new A.Parser__parseIdentifier_closure0(this));
  112978. },
  112979. whitespace$1$consumeNewlines(consumeNewlines) {
  112980. do
  112981. this.whitespaceWithoutComments$1$consumeNewlines(consumeNewlines);
  112982. while (this.scanComment$0());
  112983. },
  112984. whitespaceWithoutComments$1$consumeNewlines(consumeNewlines) {
  112985. var t3,
  112986. t1 = this.scanner,
  112987. t2 = t1.string.length;
  112988. while (true) {
  112989. if (t1._string_scanner$_position !== t2) {
  112990. t3 = t1.peekChar$0();
  112991. t3 = t3 === 32 || t3 === 9 || t3 === 10 || t3 === 13 || t3 === 12;
  112992. } else
  112993. t3 = false;
  112994. if (!t3)
  112995. break;
  112996. t1.readChar$0();
  112997. }
  112998. },
  112999. spaces$0() {
  113000. var t3,
  113001. t1 = this.scanner,
  113002. t2 = t1.string.length;
  113003. while (true) {
  113004. if (t1._string_scanner$_position !== t2) {
  113005. t3 = t1.peekChar$0();
  113006. t3 = t3 === 32 || t3 === 9;
  113007. } else
  113008. t3 = false;
  113009. if (!t3)
  113010. break;
  113011. t1.readChar$0();
  113012. }
  113013. },
  113014. scanComment$0() {
  113015. var _0_0,
  113016. t1 = this.scanner;
  113017. if (t1.peekChar$0() !== 47)
  113018. return false;
  113019. _0_0 = t1.peekChar$1(1);
  113020. if (47 === _0_0)
  113021. return this.silentComment$0();
  113022. if (42 === _0_0) {
  113023. this.loudComment$0();
  113024. return true;
  113025. }
  113026. return false;
  113027. },
  113028. expectWhitespace$1$consumeNewlines(consumeNewlines) {
  113029. var t2, t3,
  113030. t1 = this.scanner;
  113031. if (t1._string_scanner$_position !== t1.string.length) {
  113032. t2 = t1.peekChar$0();
  113033. t3 = !(t2 === 32 || t2 === 9 || t2 === 10 || t2 === 13 || t2 === 12 || this.scanComment$0());
  113034. t2 = t3;
  113035. } else
  113036. t2 = true;
  113037. if (t2)
  113038. t1.error$1(0, "Expected whitespace.");
  113039. this.whitespace$1$consumeNewlines(consumeNewlines);
  113040. },
  113041. expectWhitespace$0() {
  113042. return this.expectWhitespace$1$consumeNewlines(false);
  113043. },
  113044. silentComment$0() {
  113045. var t2, t3,
  113046. t1 = this.scanner;
  113047. t1.expect$1("//");
  113048. t2 = t1.string.length;
  113049. while (true) {
  113050. if (t1._string_scanner$_position !== t2) {
  113051. t3 = t1.peekChar$0();
  113052. t3 = !(t3 === 10 || t3 === 13 || t3 === 12);
  113053. } else
  113054. t3 = false;
  113055. if (!t3)
  113056. break;
  113057. t1.readChar$0();
  113058. }
  113059. return true;
  113060. },
  113061. loudComment$0() {
  113062. var next,
  113063. t1 = this.scanner;
  113064. t1.expect$1("/*");
  113065. for (; true;) {
  113066. if (t1.readChar$0() !== 42)
  113067. continue;
  113068. do
  113069. next = t1.readChar$0();
  113070. while (next === 42);
  113071. if (next === 47)
  113072. break;
  113073. }
  113074. },
  113075. identifier$2$normalize$unit(normalize, unit) {
  113076. var t2, _0_0, _this = this,
  113077. _s20_ = "Expected identifier.",
  113078. text = new A.StringBuffer(""),
  113079. t1 = _this.scanner;
  113080. if (t1.scanChar$1(45)) {
  113081. t2 = text._contents = "" + A.Primitives_stringFromCharCode(45);
  113082. if (t1.scanChar$1(45)) {
  113083. text._contents = t2 + A.Primitives_stringFromCharCode(45);
  113084. _this._parser1$_identifierBody$3$normalize$unit(text, normalize, unit);
  113085. t1 = text._contents;
  113086. return t1.charCodeAt(0) == 0 ? t1 : t1;
  113087. }
  113088. } else
  113089. t2 = "";
  113090. $label0$0: {
  113091. _0_0 = t1.peekChar$0();
  113092. if (_0_0 == null)
  113093. t1.error$1(0, _s20_);
  113094. if (95 === _0_0 && normalize) {
  113095. t1.readChar$0();
  113096. text._contents = t2 + A.Primitives_stringFromCharCode(45);
  113097. break $label0$0;
  113098. }
  113099. if (_0_0 === 95 || A.CharacterExtension_get_isAlphabetic0(_0_0) || _0_0 >= 128) {
  113100. text._contents = t2 + A.Primitives_stringFromCharCode(t1.readChar$0());
  113101. break $label0$0;
  113102. }
  113103. if (92 === _0_0) {
  113104. text._contents = t2 + _this.escape$1$identifierStart(true);
  113105. break $label0$0;
  113106. }
  113107. t1.error$1(0, _s20_);
  113108. }
  113109. _this._parser1$_identifierBody$3$normalize$unit(text, normalize, unit);
  113110. t1 = text._contents;
  113111. return t1.charCodeAt(0) == 0 ? t1 : t1;
  113112. },
  113113. identifier$0() {
  113114. return this.identifier$2$normalize$unit(false, false);
  113115. },
  113116. identifier$1$normalize(normalize) {
  113117. return this.identifier$2$normalize$unit(normalize, false);
  113118. },
  113119. identifier$1$unit(unit) {
  113120. return this.identifier$2$normalize$unit(false, unit);
  113121. },
  113122. _parser1$_identifierBody$3$normalize$unit(text, normalize, unit) {
  113123. var t1, _1_0, _0_0, t2;
  113124. for (t1 = this.scanner; true;) {
  113125. _1_0 = t1.peekChar$0();
  113126. if (_1_0 == null)
  113127. break;
  113128. if (45 === _1_0 && unit) {
  113129. _0_0 = t1.peekChar$1(1);
  113130. if (46 !== _0_0)
  113131. t2 = A._isInt(_0_0) && _0_0 >= 48 && _0_0 <= 57;
  113132. else
  113133. t2 = true;
  113134. if (t2)
  113135. break;
  113136. t2 = A.Primitives_stringFromCharCode(t1.readChar$0());
  113137. text._contents += t2;
  113138. continue;
  113139. }
  113140. if (95 === _1_0 && normalize) {
  113141. t1.readChar$0();
  113142. t2 = A.Primitives_stringFromCharCode(45);
  113143. text._contents += t2;
  113144. continue;
  113145. }
  113146. if (_1_0 !== 95) {
  113147. if (!(_1_0 >= 97 && _1_0 <= 122))
  113148. t2 = _1_0 >= 65 && _1_0 <= 90;
  113149. else
  113150. t2 = true;
  113151. t2 = t2 || _1_0 >= 128;
  113152. } else
  113153. t2 = true;
  113154. if (!t2)
  113155. t2 = _1_0 >= 48 && _1_0 <= 57 || _1_0 === 45;
  113156. else
  113157. t2 = true;
  113158. if (t2) {
  113159. t2 = A.Primitives_stringFromCharCode(t1.readChar$0());
  113160. text._contents += t2;
  113161. continue;
  113162. }
  113163. if (92 === _1_0) {
  113164. t2 = this.escape$0();
  113165. text._contents += t2;
  113166. continue;
  113167. }
  113168. break;
  113169. }
  113170. },
  113171. _parser1$_identifierBody$1(text) {
  113172. return this._parser1$_identifierBody$3$normalize$unit(text, false, false);
  113173. },
  113174. string$0() {
  113175. var buffer, _0_0, t2,
  113176. t1 = this.scanner,
  113177. quote = t1.readChar$0();
  113178. if (quote !== 39 && quote !== 34)
  113179. t1.error$2$position(0, "Expected string.", t1._string_scanner$_position - 1);
  113180. buffer = new A.StringBuffer("");
  113181. for (; true;) {
  113182. _0_0 = t1.peekChar$0();
  113183. if (_0_0 === quote) {
  113184. t1.readChar$0();
  113185. break;
  113186. }
  113187. if (_0_0 == null || _0_0 === 10 || _0_0 === 13 || _0_0 === 12)
  113188. t1.error$1(0, "Expected " + A.Primitives_stringFromCharCode(quote) + ".");
  113189. if (92 === _0_0) {
  113190. t2 = t1.peekChar$1(1);
  113191. if (t2 === 10 || t2 === 13 || t2 === 12) {
  113192. t1.readChar$0();
  113193. t1.readChar$0();
  113194. } else {
  113195. t2 = A.Primitives_stringFromCharCode(A.consumeEscapedCharacter0(t1));
  113196. buffer._contents += t2;
  113197. }
  113198. continue;
  113199. }
  113200. t2 = A.Primitives_stringFromCharCode(t1.readChar$0());
  113201. buffer._contents += t2;
  113202. }
  113203. t1 = buffer._contents;
  113204. return t1.charCodeAt(0) == 0 ? t1 : t1;
  113205. },
  113206. declarationValue$1$allowEmpty(allowEmpty) {
  113207. var t1, t2, t3, wroteNewline, next, wroteNewline0, t4, start, end, _0_0, _this = this,
  113208. buffer = new A.StringBuffer(""),
  113209. brackets = A._setArrayType([], type$.JSArray_int);
  113210. for (t1 = _this.scanner, t2 = _this.get$loudComment(), t3 = _this.get$string(), wroteNewline = false; true;) {
  113211. next = t1.peekChar$0();
  113212. if (next == null)
  113213. break;
  113214. wroteNewline0 = false;
  113215. if (92 === next) {
  113216. t4 = _this.escape$1$identifierStart(true);
  113217. buffer._contents += t4;
  113218. wroteNewline = wroteNewline0;
  113219. continue;
  113220. }
  113221. if (34 === next || 39 === next) {
  113222. start = t1._string_scanner$_position;
  113223. t3.call$0();
  113224. end = t1._string_scanner$_position;
  113225. buffer._contents += B.JSString_methods.substring$2(t1.string, start, end);
  113226. wroteNewline = wroteNewline0;
  113227. continue;
  113228. }
  113229. if (47 === next) {
  113230. if (t1.peekChar$1(1) === 42) {
  113231. start = t1._string_scanner$_position;
  113232. t2.call$0();
  113233. end = t1._string_scanner$_position;
  113234. buffer._contents += B.JSString_methods.substring$2(t1.string, start, end);
  113235. } else {
  113236. t4 = A.Primitives_stringFromCharCode(t1.readChar$0());
  113237. buffer._contents += t4;
  113238. }
  113239. wroteNewline = wroteNewline0;
  113240. continue;
  113241. }
  113242. if (32 === next || 9 === next) {
  113243. if (!wroteNewline) {
  113244. t4 = t1.peekChar$1(1);
  113245. t4 = !(t4 === 32 || t4 === 9 || t4 === 10 || t4 === 13 || t4 === 12);
  113246. } else
  113247. t4 = true;
  113248. if (t4) {
  113249. t4 = A.Primitives_stringFromCharCode(32);
  113250. buffer._contents += t4;
  113251. }
  113252. t1.readChar$0();
  113253. continue;
  113254. }
  113255. if (10 === next || 13 === next || 12 === next) {
  113256. t4 = t1.peekChar$1(-1);
  113257. if (!(t4 === 10 || t4 === 13 || t4 === 12))
  113258. buffer._contents += "\n";
  113259. t1.readChar$0();
  113260. wroteNewline = true;
  113261. continue;
  113262. }
  113263. if (40 === next || 123 === next || 91 === next) {
  113264. t4 = A.Primitives_stringFromCharCode(next);
  113265. buffer._contents += t4;
  113266. brackets.push(A.opposite0(t1.readChar$0()));
  113267. wroteNewline = wroteNewline0;
  113268. continue;
  113269. }
  113270. if (41 === next || 125 === next || 93 === next) {
  113271. if (brackets.length === 0)
  113272. break;
  113273. t4 = A.Primitives_stringFromCharCode(next);
  113274. buffer._contents += t4;
  113275. t1.expectChar$1(brackets.pop());
  113276. wroteNewline = wroteNewline0;
  113277. continue;
  113278. }
  113279. if (59 === next) {
  113280. if (brackets.length === 0)
  113281. break;
  113282. t4 = A.Primitives_stringFromCharCode(t1.readChar$0());
  113283. buffer._contents += t4;
  113284. continue;
  113285. }
  113286. if (117 === next || 85 === next) {
  113287. _0_0 = _this.tryUrl$0();
  113288. if (_0_0 != null)
  113289. buffer._contents += _0_0;
  113290. else {
  113291. t4 = A.Primitives_stringFromCharCode(t1.readChar$0());
  113292. buffer._contents += t4;
  113293. }
  113294. wroteNewline = wroteNewline0;
  113295. continue;
  113296. }
  113297. if (_this.lookingAtIdentifier$0()) {
  113298. t4 = _this.identifier$0();
  113299. buffer._contents += t4;
  113300. } else {
  113301. t4 = A.Primitives_stringFromCharCode(t1.readChar$0());
  113302. buffer._contents += t4;
  113303. }
  113304. wroteNewline = wroteNewline0;
  113305. }
  113306. if (brackets.length !== 0)
  113307. t1.expectChar$1(B.JSArray_methods.get$last(brackets));
  113308. if (!allowEmpty && buffer._contents.length === 0)
  113309. t1.error$1(0, "Expected token.");
  113310. t1 = buffer._contents;
  113311. return t1.charCodeAt(0) == 0 ? t1 : t1;
  113312. },
  113313. declarationValue$0() {
  113314. return this.declarationValue$1$allowEmpty(false);
  113315. },
  113316. tryUrl$0() {
  113317. var buffer, _0_0, t2, _this = this,
  113318. t1 = _this.scanner,
  113319. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  113320. if (!_this.scanIdentifier$1("url"))
  113321. return null;
  113322. if (!t1.scanChar$1(40)) {
  113323. t1.set$state(start);
  113324. return null;
  113325. }
  113326. _this.whitespace$1$consumeNewlines(true);
  113327. buffer = new A.StringBuffer("");
  113328. buffer._contents = "" + "url(";
  113329. for (; true;) {
  113330. _0_0 = t1.peekChar$0();
  113331. if (_0_0 == null)
  113332. break;
  113333. if (92 === _0_0) {
  113334. t2 = _this.escape$0();
  113335. buffer._contents += t2;
  113336. continue;
  113337. }
  113338. t2 = true;
  113339. if (37 !== _0_0)
  113340. if (38 !== _0_0)
  113341. if (35 !== _0_0)
  113342. t2 = _0_0 >= 42 && _0_0 <= 126 || _0_0 >= 128;
  113343. if (t2) {
  113344. t2 = A.Primitives_stringFromCharCode(t1.readChar$0());
  113345. buffer._contents += t2;
  113346. continue;
  113347. }
  113348. if (_0_0 === 32 || _0_0 === 9 || _0_0 === 10 || _0_0 === 13 || _0_0 === 12) {
  113349. _this.whitespace$1$consumeNewlines(true);
  113350. if (t1.peekChar$0() !== 41)
  113351. break;
  113352. continue;
  113353. }
  113354. if (41 === _0_0) {
  113355. t2 = A.Primitives_stringFromCharCode(t1.readChar$0());
  113356. t2 = buffer._contents += t2;
  113357. return t2.charCodeAt(0) == 0 ? t2 : t2;
  113358. }
  113359. break;
  113360. }
  113361. t1.set$state(start);
  113362. return null;
  113363. },
  113364. variableName$0() {
  113365. this.scanner.expectChar$1(36);
  113366. return this.identifier$1$normalize(true);
  113367. },
  113368. escape$1$identifierStart(identifierStart) {
  113369. var value, _0_0, i, next, t2, exception,
  113370. _s25_ = "Expected escape sequence.",
  113371. t1 = this.scanner,
  113372. start = t1._string_scanner$_position;
  113373. t1.expectChar$1(92);
  113374. value = 0;
  113375. $label0$1: {
  113376. _0_0 = t1.peekChar$0();
  113377. if (_0_0 == null)
  113378. t1.error$1(0, _s25_);
  113379. if (_0_0 === 10 || _0_0 === 13 || _0_0 === 12)
  113380. t1.error$1(0, _s25_);
  113381. if (A.CharacterExtension_get_isHex0(_0_0)) {
  113382. for (i = 0; i < 6; ++i) {
  113383. next = t1.peekChar$0();
  113384. if (next != null) {
  113385. t2 = true;
  113386. if (!(next >= 48 && next <= 57))
  113387. if (!(next >= 97 && next <= 102))
  113388. t2 = next >= 65 && next <= 70;
  113389. t2 = !t2;
  113390. } else
  113391. t2 = true;
  113392. if (t2)
  113393. break;
  113394. value *= 16;
  113395. value += A.asHex0(t1.readChar$0());
  113396. }
  113397. this.scanCharIf$1(new A.Parser_escape_closure0());
  113398. break $label0$1;
  113399. }
  113400. value = t1.readChar$0();
  113401. }
  113402. if (identifierStart) {
  113403. t2 = value;
  113404. t2 = t2 === 95 || A.CharacterExtension_get_isAlphabetic0(t2) || t2 >= 128;
  113405. } else {
  113406. t2 = value;
  113407. if (!(t2 === 95 || A.CharacterExtension_get_isAlphabetic0(t2) || t2 >= 128))
  113408. t2 = t2 >= 48 && t2 <= 57 || t2 === 45;
  113409. else
  113410. t2 = true;
  113411. }
  113412. if (t2)
  113413. try {
  113414. t2 = A.Primitives_stringFromCharCode(value);
  113415. return t2;
  113416. } catch (exception) {
  113417. if (type$.RangeError._is(A.unwrapException(exception)))
  113418. t1.error$3$length$position(0, "Invalid Unicode code point.", t1._string_scanner$_position - start, start);
  113419. else
  113420. throw exception;
  113421. }
  113422. else {
  113423. t1 = true;
  113424. if (!(value <= 31))
  113425. if (!J.$eq$(value, 127))
  113426. if (identifierStart) {
  113427. t1 = value;
  113428. t1 = t1 >= 48 && t1 <= 57;
  113429. } else
  113430. t1 = false;
  113431. if (t1) {
  113432. t1 = "" + A.Primitives_stringFromCharCode(92);
  113433. if (value > 15)
  113434. t1 += A.Primitives_stringFromCharCode(A.hexCharFor0(B.JSNumber_methods._shrOtherPositive$1(value, 4)));
  113435. t1 = t1 + A.Primitives_stringFromCharCode(A.hexCharFor0(value & 15)) + A.Primitives_stringFromCharCode(32);
  113436. return t1.charCodeAt(0) == 0 ? t1 : t1;
  113437. } else
  113438. return A.String_String$fromCharCodes(A._setArrayType([92, value], type$.JSArray_int), 0, null);
  113439. }
  113440. },
  113441. escape$0() {
  113442. return this.escape$1$identifierStart(false);
  113443. },
  113444. scanCharIf$1(condition) {
  113445. var t1 = this.scanner;
  113446. if (!condition.call$1(t1.peekChar$0()))
  113447. return false;
  113448. t1.readChar$0();
  113449. return true;
  113450. },
  113451. scanIdentChar$2$caseSensitive(char, caseSensitive) {
  113452. var t3,
  113453. t1 = new A.Parser_scanIdentChar_matches0(caseSensitive, char),
  113454. t2 = this.scanner,
  113455. _0_0 = t2.peekChar$0();
  113456. if (_0_0 != null)
  113457. t3 = t1.call$1(_0_0);
  113458. else
  113459. t3 = false;
  113460. if (t3) {
  113461. t2.readChar$0();
  113462. return true;
  113463. }
  113464. if (92 === _0_0) {
  113465. t3 = t2._string_scanner$_position;
  113466. if (t1.call$1(A.consumeEscapedCharacter0(t2)))
  113467. return true;
  113468. t2.set$state(new A._SpanScannerState(t2, t3));
  113469. }
  113470. return false;
  113471. },
  113472. scanIdentChar$1(char) {
  113473. return this.scanIdentChar$2$caseSensitive(char, false);
  113474. },
  113475. expectIdentChar$1(letter) {
  113476. var t1;
  113477. if (this.scanIdentChar$2$caseSensitive(letter, false))
  113478. return;
  113479. t1 = this.scanner;
  113480. t1.error$2$position(0, 'Expected "' + A.Primitives_stringFromCharCode(letter) + '".', t1._string_scanner$_position);
  113481. },
  113482. lookingAtIdentifier$1($forward) {
  113483. var t1, _1_0, t2, _0_0;
  113484. if ($forward == null)
  113485. $forward = 0;
  113486. t1 = this.scanner;
  113487. _1_0 = t1.peekChar$1($forward);
  113488. $label0$0: {
  113489. if (A._isInt(_1_0))
  113490. t2 = _1_0 === 95 || A.CharacterExtension_get_isAlphabetic0(_1_0) || _1_0 >= 128;
  113491. else
  113492. t2 = false;
  113493. if (t2 || 92 === _1_0) {
  113494. t1 = true;
  113495. break $label0$0;
  113496. }
  113497. if (45 === _1_0) {
  113498. _0_0 = t1.peekChar$1($forward + 1);
  113499. $label1$1: {
  113500. if (A._isInt(_0_0))
  113501. t1 = _0_0 === 95 || A.CharacterExtension_get_isAlphabetic0(_0_0) || _0_0 >= 128;
  113502. else
  113503. t1 = false;
  113504. t1 = t1 || 92 === _0_0 || 45 === _0_0;
  113505. break $label1$1;
  113506. }
  113507. break $label0$0;
  113508. }
  113509. t1 = false;
  113510. break $label0$0;
  113511. }
  113512. return t1;
  113513. },
  113514. lookingAtIdentifier$0() {
  113515. return this.lookingAtIdentifier$1(null);
  113516. },
  113517. lookingAtIdentifierBody$0() {
  113518. var t1,
  113519. next = this.scanner.peekChar$0();
  113520. if (next != null) {
  113521. if (!(next === 95 || A.CharacterExtension_get_isAlphabetic0(next) || next >= 128))
  113522. t1 = next >= 48 && next <= 57 || next === 45;
  113523. else
  113524. t1 = true;
  113525. t1 = t1 || next === 92;
  113526. } else
  113527. t1 = false;
  113528. return t1;
  113529. },
  113530. scanIdentifier$2$caseSensitive(text, caseSensitive) {
  113531. var t1, t2, _this = this;
  113532. if (!_this.lookingAtIdentifier$0())
  113533. return false;
  113534. t1 = _this.scanner;
  113535. t2 = t1._string_scanner$_position;
  113536. if (_this._parser1$_consumeIdentifier$2(text, caseSensitive) && !_this.lookingAtIdentifierBody$0())
  113537. return true;
  113538. else {
  113539. t1.set$state(new A._SpanScannerState(t1, t2));
  113540. return false;
  113541. }
  113542. },
  113543. scanIdentifier$1(text) {
  113544. return this.scanIdentifier$2$caseSensitive(text, false);
  113545. },
  113546. _parser1$_consumeIdentifier$2(text, caseSensitive) {
  113547. var t1, t2, t3;
  113548. for (t1 = new A.CodeUnits(text), t2 = type$.CodeUnits, t1 = new A.ListIterator(t1, t1.get$length(0), t2._eval$1("ListIterator<ListBase.E>")), t2 = t2._eval$1("ListBase.E"); t1.moveNext$0();) {
  113549. t3 = t1.__internal$_current;
  113550. if (!this.scanIdentChar$2$caseSensitive(t3 == null ? t2._as(t3) : t3, caseSensitive))
  113551. return false;
  113552. }
  113553. return true;
  113554. },
  113555. expectIdentifier$2$name(text, $name) {
  113556. var t1, start, t2, t3, t4, t5, t6;
  113557. if ($name == null)
  113558. $name = '"' + text + '"';
  113559. t1 = this.scanner;
  113560. start = t1._string_scanner$_position;
  113561. for (t2 = new A.CodeUnits(text), t3 = type$.CodeUnits, t2 = new A.ListIterator(t2, t2.get$length(0), t3._eval$1("ListIterator<ListBase.E>")), t4 = "Expected " + $name, t5 = t4 + ".", t3 = t3._eval$1("ListBase.E"); t2.moveNext$0();) {
  113562. t6 = t2.__internal$_current;
  113563. if (this.scanIdentChar$2$caseSensitive(t6 == null ? t3._as(t6) : t6, false))
  113564. continue;
  113565. t1.error$2$position(0, t5, start);
  113566. }
  113567. if (!this.lookingAtIdentifierBody$0())
  113568. return;
  113569. t1.error$2$position(0, t4, start);
  113570. },
  113571. expectIdentifier$1(text) {
  113572. return this.expectIdentifier$2$name(text, null);
  113573. },
  113574. rawText$1(consumer) {
  113575. var t1 = this.scanner,
  113576. start = t1._string_scanner$_position;
  113577. consumer.call$0();
  113578. return t1.substring$1(0, start);
  113579. },
  113580. spanFrom$1(state) {
  113581. var span = this.scanner.spanFrom$1(state);
  113582. return this._parser1$_interpolationMap == null ? span : new A.LazyFileSpan0(new A.Parser_spanFrom_closure0(this, span));
  113583. },
  113584. error$3(_, message, span, trace) {
  113585. var exception = new A.StringScannerException(this.scanner.string, message, span);
  113586. if (trace == null)
  113587. throw A.wrapException(exception);
  113588. else
  113589. A.throwWithTrace0(exception, this.get$error(this), trace);
  113590. },
  113591. error$2(_, message, span) {
  113592. return this.error$3(0, message, span, null);
  113593. },
  113594. withErrorMessage$1$2(message, callback) {
  113595. var error, stackTrace, t1, exception;
  113596. try {
  113597. t1 = callback.call$0();
  113598. return t1;
  113599. } catch (exception) {
  113600. t1 = A.unwrapException(exception);
  113601. if (type$.SourceSpanFormatException._is(t1)) {
  113602. error = t1;
  113603. stackTrace = A.getTraceFromException(exception);
  113604. t1 = J.get$span$z(error);
  113605. A.throwWithTrace0(new A.SourceSpanFormatException(error.get$source(), message, t1), error, stackTrace);
  113606. } else
  113607. throw exception;
  113608. }
  113609. },
  113610. withErrorMessage$2(message, callback) {
  113611. callback.toString;
  113612. return this.withErrorMessage$1$2(message, callback, type$.dynamic);
  113613. },
  113614. wrapSpanFormatException$1$1(callback) {
  113615. var error, stackTrace, map, error0, stackTrace0, span, secondarySpans, t1, t2, span0, description, _0_0, error1, stackTrace1, span1, t3, exception, t4, _this = this,
  113616. _s8_ = "expected";
  113617. try {
  113618. try {
  113619. t3 = callback.call$0();
  113620. return t3;
  113621. } catch (exception) {
  113622. t3 = A.unwrapException(exception);
  113623. if (type$.SourceSpanFormatException._is(t3)) {
  113624. error = t3;
  113625. stackTrace = A.getTraceFromException(exception);
  113626. map = _this._parser1$_interpolationMap;
  113627. if (map == null)
  113628. throw exception;
  113629. A.throwWithTrace0(map.mapException$1(error), error, stackTrace);
  113630. } else
  113631. throw exception;
  113632. }
  113633. } catch (exception) {
  113634. t3 = A.unwrapException(exception);
  113635. if (type$.MultiSourceSpanFormatException._is(t3)) {
  113636. error0 = t3;
  113637. stackTrace0 = A.getTraceFromException(exception);
  113638. span = J.get$span$z(error0);
  113639. t3 = type$.FileSpan;
  113640. t4 = type$.String;
  113641. secondarySpans = error0.get$secondarySpans().cast$2$0(0, t3, t4);
  113642. if (A.startsWithIgnoreCase0(error0._span_exception$_message, _s8_)) {
  113643. span = _this._parser1$_adjustExceptionSpan$1(span);
  113644. t1 = A.LinkedHashMap_LinkedHashMap$_empty(t3, t4);
  113645. for (t3 = A.MapExtensions_get_pairs0(secondarySpans, t3, t4), t3 = t3.get$iterator(t3); t3.moveNext$0();) {
  113646. t2 = t3.get$current(t3);
  113647. span0 = null;
  113648. description = null;
  113649. _0_0 = t2;
  113650. span0 = _0_0._0;
  113651. description = _0_0._1;
  113652. J.$indexSet$ax(t1, _this._parser1$_adjustExceptionSpan$1(span0), description);
  113653. }
  113654. secondarySpans = t1;
  113655. }
  113656. A.throwWithTrace0(A.MultiSpanSassFormatException$0(error0._span_exception$_message, span, error0.get$primaryLabel(), secondarySpans, null), error0, stackTrace0);
  113657. } else if (type$.SourceSpanFormatException._is(t3)) {
  113658. error1 = t3;
  113659. stackTrace1 = A.getTraceFromException(exception);
  113660. span1 = J.get$span$z(error1);
  113661. if (A.startsWithIgnoreCase0(error1._span_exception$_message, _s8_))
  113662. span1 = _this._parser1$_adjustExceptionSpan$1(span1);
  113663. t1 = error1._span_exception$_message;
  113664. t2 = span1;
  113665. A.throwWithTrace0(new A.SassFormatException0(B.Set_empty, t1, t2), error1, stackTrace1);
  113666. } else
  113667. throw exception;
  113668. }
  113669. },
  113670. wrapSpanFormatException$1(callback) {
  113671. callback.toString;
  113672. return this.wrapSpanFormatException$1$1(callback, type$.dynamic);
  113673. },
  113674. _parser1$_adjustExceptionSpan$1(span) {
  113675. var start, t1;
  113676. if (span.get$length(span) > 0)
  113677. return span;
  113678. start = this._parser1$_firstNewlineBefore$1(span.get$start(span));
  113679. if (start.$eq(0, span.get$start(span)))
  113680. t1 = span;
  113681. else {
  113682. t1 = start.offset;
  113683. t1 = A._FileSpan$(start.file, t1, t1);
  113684. }
  113685. return t1;
  113686. },
  113687. _parser1$_firstNewlineBefore$1($location) {
  113688. var lastNewline, codeUnit,
  113689. t1 = $location.file,
  113690. t2 = $location.offset,
  113691. text = A.String_String$fromCharCodes(B.NativeUint32List_methods.sublist$2(t1._decodedChars, 0, t2), 0, null),
  113692. index = t2 - 1;
  113693. for (lastNewline = null; index >= 0;) {
  113694. codeUnit = text.charCodeAt(index);
  113695. if (!(codeUnit === 32 || codeUnit === 9 || codeUnit === 10 || codeUnit === 13 || codeUnit === 12)) {
  113696. if (lastNewline == null)
  113697. t1 = $location;
  113698. else {
  113699. t2 = new A.FileLocation(t1, lastNewline);
  113700. t2.FileLocation$_$2(t1, lastNewline);
  113701. t1 = t2;
  113702. }
  113703. return t1;
  113704. }
  113705. if (codeUnit === 10 || codeUnit === 13 || codeUnit === 12)
  113706. lastNewline = index;
  113707. --index;
  113708. }
  113709. return $location;
  113710. }
  113711. };
  113712. A.Parser__parseIdentifier_closure0.prototype = {
  113713. call$0() {
  113714. var t1 = this.$this,
  113715. result = t1.identifier$0();
  113716. t1.scanner.expectDone$0();
  113717. return result;
  113718. },
  113719. $signature: 26
  113720. };
  113721. A.Parser_escape_closure0.prototype = {
  113722. call$1(char) {
  113723. return char === 32 || char === 9 || char === 10 || char === 13 || char === 12;
  113724. },
  113725. $signature: 30
  113726. };
  113727. A.Parser_scanIdentChar_matches0.prototype = {
  113728. call$1(actual) {
  113729. var t1 = this.char;
  113730. return this.caseSensitive ? actual === t1 : A.characterEqualsIgnoreCase0(t1, actual);
  113731. },
  113732. $signature: 47
  113733. };
  113734. A.Parser_spanFrom_closure0.prototype = {
  113735. call$0() {
  113736. var t1 = this.$this._parser1$_interpolationMap;
  113737. if (t1 == null)
  113738. t1 = type$.InterpolationMap_2._as(t1);
  113739. return t1.mapSpan$1(this.span);
  113740. },
  113741. $signature: 29
  113742. };
  113743. A.PlaceholderSelector0.prototype = {
  113744. accept$1$1(visitor) {
  113745. return visitor.visitPlaceholderSelector$1(this);
  113746. },
  113747. accept$1(visitor) {
  113748. return this.accept$1$1(visitor, type$.dynamic);
  113749. },
  113750. addSuffix$1(suffix) {
  113751. return new A.PlaceholderSelector0(this.name + suffix, this.span);
  113752. },
  113753. $eq(_, other) {
  113754. if (other == null)
  113755. return false;
  113756. return other instanceof A.PlaceholderSelector0 && other.name === this.name;
  113757. },
  113758. get$hashCode(_) {
  113759. return B.JSString_methods.get$hashCode(this.name);
  113760. }
  113761. };
  113762. A.PlainCssCallable0.prototype = {
  113763. $eq(_, other) {
  113764. if (other == null)
  113765. return false;
  113766. return other instanceof A.PlainCssCallable0 && this.name === other.name;
  113767. },
  113768. get$hashCode(_) {
  113769. return B.JSString_methods.get$hashCode(this.name);
  113770. },
  113771. $isAsyncCallable0: 1,
  113772. $isCallable: 1,
  113773. get$name(receiver) {
  113774. return this.name;
  113775. }
  113776. };
  113777. A.PrefixedMapView0.prototype = {
  113778. get$keys(_) {
  113779. return new A._PrefixedKeys0(this);
  113780. },
  113781. get$length(_) {
  113782. var t1 = this._prefixed_map_view0$_map;
  113783. return t1.get$length(t1);
  113784. },
  113785. get$isEmpty(_) {
  113786. var t1 = this._prefixed_map_view0$_map;
  113787. return t1.get$isEmpty(t1);
  113788. },
  113789. get$isNotEmpty(_) {
  113790. var t1 = this._prefixed_map_view0$_map;
  113791. return t1.get$isNotEmpty(t1);
  113792. },
  113793. $index(_, key) {
  113794. return typeof key == "string" && B.JSString_methods.startsWith$1(key, this._prefixed_map_view0$_prefix) ? this._prefixed_map_view0$_map.$index(0, B.JSString_methods.substring$1(key, this._prefixed_map_view0$_prefix.length)) : null;
  113795. },
  113796. containsKey$1(key) {
  113797. return typeof key == "string" && B.JSString_methods.startsWith$1(key, this._prefixed_map_view0$_prefix) && this._prefixed_map_view0$_map.containsKey$1(B.JSString_methods.substring$1(key, this._prefixed_map_view0$_prefix.length));
  113798. }
  113799. };
  113800. A._PrefixedKeys0.prototype = {
  113801. get$length(_) {
  113802. var t1 = this._prefixed_map_view0$_view._prefixed_map_view0$_map;
  113803. return t1.get$length(t1);
  113804. },
  113805. get$iterator(_) {
  113806. var t1 = this._prefixed_map_view0$_view._prefixed_map_view0$_map;
  113807. t1 = J.map$1$1$ax(t1.get$keys(t1), new A._PrefixedKeys_iterator_closure0(this), type$.String);
  113808. return t1.get$iterator(t1);
  113809. },
  113810. contains$1(_, key) {
  113811. return this._prefixed_map_view0$_view.containsKey$1(key);
  113812. }
  113813. };
  113814. A._PrefixedKeys_iterator_closure0.prototype = {
  113815. call$1(key) {
  113816. return this.$this._prefixed_map_view0$_view._prefixed_map_view0$_prefix + key;
  113817. },
  113818. $signature: 6
  113819. };
  113820. A.ProphotoRgbColorSpace0.prototype = {
  113821. get$isBoundedInternal() {
  113822. return true;
  113823. },
  113824. toLinear$1(channel) {
  113825. var abs = Math.abs(channel);
  113826. return abs <= 0.03125 ? channel / 16 : J.get$sign$in(channel) * Math.pow(abs, 1.8);
  113827. },
  113828. fromLinear$1(channel) {
  113829. var abs = Math.abs(channel);
  113830. return abs >= 0.001953125 ? J.get$sign$in(channel) * Math.pow(abs, 0.5555555555555556) : 16 * channel;
  113831. },
  113832. transformationMatrix$1(dest) {
  113833. var t1;
  113834. $label0$0: {
  113835. if (B.SrgbLinearColorSpace_kUj0 === dest || B.SrgbColorSpace_thf0 === dest || B.RgbColorSpace_i0P0 === dest) {
  113836. t1 = $.$get$linearProphotoRgbToLinearSrgb0();
  113837. break $label0$0;
  113838. }
  113839. if (B.A98RgbColorSpace_lf20 === dest) {
  113840. t1 = $.$get$linearProphotoRgbToLinearA98Rgb0();
  113841. break $label0$0;
  113842. }
  113843. if (B.DisplayP3ColorSpace_MmT0 === dest) {
  113844. t1 = $.$get$linearProphotoRgbToLinearDisplayP30();
  113845. break $label0$0;
  113846. }
  113847. if (B.Rec2020ColorSpace_6oo0 === dest) {
  113848. t1 = $.$get$linearProphotoRgbToLinearRec20200();
  113849. break $label0$0;
  113850. }
  113851. if (B.XyzD65ColorSpace_WiJ0 === dest) {
  113852. t1 = $.$get$linearProphotoRgbToXyzD650();
  113853. break $label0$0;
  113854. }
  113855. if (B.XyzD50ColorSpace_2OB0 === dest) {
  113856. t1 = $.$get$linearProphotoRgbToXyzD500();
  113857. break $label0$0;
  113858. }
  113859. if (B.LmsColorSpace_Os30 === dest) {
  113860. t1 = $.$get$linearProphotoRgbToLms0();
  113861. break $label0$0;
  113862. }
  113863. t1 = this.super$ColorSpace$transformationMatrix0(dest);
  113864. break $label0$0;
  113865. }
  113866. return t1;
  113867. }
  113868. };
  113869. A.PseudoSelector0.prototype = {
  113870. get$isHostContext() {
  113871. return this.isClass && this.name === "host-context" && this.selector != null;
  113872. },
  113873. get$hasComplicatedSuperselectorSemantics() {
  113874. return !this.isClass || this.selector != null;
  113875. },
  113876. get$specificity() {
  113877. var result, _this = this,
  113878. value = _this._pseudo$__PseudoSelector_specificity_FI;
  113879. if (value === $) {
  113880. result = new A.PseudoSelector_specificity_closure0(_this).call$0();
  113881. _this._pseudo$__PseudoSelector_specificity_FI !== $ && A.throwUnnamedLateFieldADI();
  113882. _this._pseudo$__PseudoSelector_specificity_FI = result;
  113883. value = result;
  113884. }
  113885. return value;
  113886. },
  113887. withSelector$1(selector) {
  113888. var _this = this;
  113889. return A.PseudoSelector$0(_this.name, _this.span, _this.argument, !_this.isClass, selector);
  113890. },
  113891. addSuffix$1(suffix) {
  113892. var _this = this;
  113893. if (_this.argument != null || _this.selector != null)
  113894. _this.super$SimpleSelector$addSuffix0(suffix);
  113895. return A.PseudoSelector$0(_this.name + suffix, _this.span, null, !_this.isClass, null);
  113896. },
  113897. unify$1(compound) {
  113898. var other, result, t2, addedThis, _i, simple, _this = this,
  113899. t1 = _this.name;
  113900. if (t1 === "host" || t1 === "host-context") {
  113901. if (!B.JSArray_methods.every$1(compound, new A.PseudoSelector_unify_closure0()))
  113902. return null;
  113903. } else {
  113904. t1 = false;
  113905. if (compound.length === 1) {
  113906. other = compound[0];
  113907. if (!(other instanceof A.UniversalSelector0)) {
  113908. if (other instanceof A.PseudoSelector0)
  113909. t1 = other.isClass && other.name === "host" || other.get$isHostContext();
  113910. } else
  113911. t1 = true;
  113912. } else
  113913. other = null;
  113914. if (t1)
  113915. return other.unify$1(A._setArrayType([_this], type$.JSArray_SimpleSelector_2));
  113916. }
  113917. if (B.JSArray_methods.contains$1(compound, _this))
  113918. return compound;
  113919. result = A._setArrayType([], type$.JSArray_SimpleSelector_2);
  113920. for (t1 = compound.length, t2 = !_this.isClass, addedThis = false, _i = 0; _i < compound.length; compound.length === t1 || (0, A.throwConcurrentModificationError)(compound), ++_i) {
  113921. simple = compound[_i];
  113922. if (simple instanceof A.PseudoSelector0 && !simple.isClass) {
  113923. if (t2)
  113924. return null;
  113925. result.push(_this);
  113926. addedThis = true;
  113927. }
  113928. result.push(simple);
  113929. }
  113930. if (!addedThis)
  113931. result.push(_this);
  113932. return result;
  113933. },
  113934. isSuperselector$1(other) {
  113935. var selector, t1, t2, _this = this;
  113936. if (_this.super$SimpleSelector$isSuperselector0(other))
  113937. return true;
  113938. selector = _this.selector;
  113939. if (selector == null)
  113940. return _this.$eq(0, other);
  113941. if (other instanceof A.PseudoSelector0 && !_this.isClass && !other.isClass && _this.normalizedName === "slotted" && other.name === _this.name) {
  113942. t1 = A.NullableExtension_andThen0(other.selector, selector.get$isSuperselector());
  113943. return t1 == null ? false : t1;
  113944. }
  113945. t1 = type$.JSArray_SimpleSelector_2;
  113946. t2 = _this.span;
  113947. return A.compoundIsSuperselector0(A.CompoundSelector$0(A._setArrayType([_this], t1), t2), A.CompoundSelector$0(A._setArrayType([other], t1), t2), null);
  113948. },
  113949. accept$1$1(visitor) {
  113950. return visitor.visitPseudoSelector$1(this);
  113951. },
  113952. accept$1(visitor) {
  113953. return this.accept$1$1(visitor, type$.dynamic);
  113954. },
  113955. $eq(_, other) {
  113956. var _this = this;
  113957. if (other == null)
  113958. return false;
  113959. return other instanceof A.PseudoSelector0 && other.name === _this.name && other.isClass === _this.isClass && other.argument == _this.argument && J.$eq$(other.selector, _this.selector);
  113960. },
  113961. get$hashCode(_) {
  113962. var _this = this,
  113963. t1 = B.JSString_methods.get$hashCode(_this.name),
  113964. t2 = !_this.isClass ? 519018 : 218159;
  113965. return t1 ^ t2 ^ J.get$hashCode$(_this.argument) ^ J.get$hashCode$(_this.selector);
  113966. }
  113967. };
  113968. A.PseudoSelector_specificity_closure0.prototype = {
  113969. call$0() {
  113970. var selector, t2,
  113971. t1 = this.$this;
  113972. if (!t1.isClass)
  113973. return 1;
  113974. selector = t1.selector;
  113975. if (selector == null)
  113976. return A.SimpleSelector0.prototype.get$specificity.call(t1);
  113977. switch (t1.normalizedName) {
  113978. case "where":
  113979. return 0;
  113980. case "is":
  113981. case "not":
  113982. case "has":
  113983. case "matches":
  113984. t1 = selector.components;
  113985. return A.IterableIntegerExtension_get_max(new A.MappedListIterable(t1, new A.PseudoSelector_specificity__closure1(), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,int>")));
  113986. case "nth-child":
  113987. case "nth-last-child":
  113988. t1 = A.SimpleSelector0.prototype.get$specificity.call(t1);
  113989. t2 = selector.components;
  113990. return t1 + A.IterableIntegerExtension_get_max(new A.MappedListIterable(t2, new A.PseudoSelector_specificity__closure2(), A._arrayInstanceType(t2)._eval$1("MappedListIterable<1,int>")));
  113991. default:
  113992. return A.SimpleSelector0.prototype.get$specificity.call(t1);
  113993. }
  113994. },
  113995. $signature: 10
  113996. };
  113997. A.PseudoSelector_specificity__closure1.prototype = {
  113998. call$1(component) {
  113999. return component.get$specificity();
  114000. },
  114001. $signature: 259
  114002. };
  114003. A.PseudoSelector_specificity__closure2.prototype = {
  114004. call$1(component) {
  114005. return component.get$specificity();
  114006. },
  114007. $signature: 259
  114008. };
  114009. A.PseudoSelector_unify_closure0.prototype = {
  114010. call$1(simple) {
  114011. var t1;
  114012. if (simple instanceof A.PseudoSelector0)
  114013. t1 = simple.isClass && simple.name === "host" || simple.selector != null;
  114014. else
  114015. t1 = false;
  114016. return t1;
  114017. },
  114018. $signature: 14
  114019. };
  114020. A.PublicMemberMapView0.prototype = {
  114021. get$keys(_) {
  114022. var t1 = this._public_member_map_view0$_inner;
  114023. return J.where$1$ax(t1.get$keys(t1), A.utils1__isPublic$closure());
  114024. },
  114025. containsKey$1(key) {
  114026. return typeof key == "string" && A.isPublic0(key) && this._public_member_map_view0$_inner.containsKey$1(key);
  114027. },
  114028. $index(_, key) {
  114029. if (typeof key == "string" && A.isPublic0(key))
  114030. return this._public_member_map_view0$_inner.$index(0, key);
  114031. return null;
  114032. }
  114033. };
  114034. A.QualifiedName0.prototype = {
  114035. $eq(_, other) {
  114036. if (other == null)
  114037. return false;
  114038. return other instanceof A.QualifiedName0 && other.name === this.name && other.namespace == this.namespace;
  114039. },
  114040. get$hashCode(_) {
  114041. return B.JSString_methods.get$hashCode(this.name) ^ J.get$hashCode$(this.namespace);
  114042. },
  114043. toString$0(_) {
  114044. var t1 = this.namespace,
  114045. t2 = this.name;
  114046. return t1 == null ? t2 : t1 + "|" + t2;
  114047. }
  114048. };
  114049. A.Rec2020ColorSpace0.prototype = {
  114050. get$isBoundedInternal() {
  114051. return true;
  114052. },
  114053. toLinear$1(channel) {
  114054. var abs = Math.abs(channel);
  114055. return abs < 0.08124285829863151 ? channel / 4.5 : J.get$sign$in(channel) * Math.pow((abs + 1.09929682680944 - 1) / 1.09929682680944, 2.2222222222222223);
  114056. },
  114057. fromLinear$1(channel) {
  114058. var abs = Math.abs(channel);
  114059. return abs > 0.018053968510807 ? J.get$sign$in(channel) * (1.09929682680944 * Math.pow(abs, 0.45) - 0.09929682680944008) : 4.5 * channel;
  114060. },
  114061. transformationMatrix$1(dest) {
  114062. var t1;
  114063. $label0$0: {
  114064. if (B.SrgbLinearColorSpace_kUj0 === dest || B.SrgbColorSpace_thf0 === dest || B.RgbColorSpace_i0P0 === dest) {
  114065. t1 = $.$get$linearRec2020ToLinearSrgb0();
  114066. break $label0$0;
  114067. }
  114068. if (B.A98RgbColorSpace_lf20 === dest) {
  114069. t1 = $.$get$linearRec2020ToLinearA98Rgb0();
  114070. break $label0$0;
  114071. }
  114072. if (B.DisplayP3ColorSpace_MmT0 === dest) {
  114073. t1 = $.$get$linearRec2020ToLinearDisplayP30();
  114074. break $label0$0;
  114075. }
  114076. if (B.ProphotoRgbColorSpace_BDz0 === dest) {
  114077. t1 = $.$get$linearRec2020ToLinearProphotoRgb0();
  114078. break $label0$0;
  114079. }
  114080. if (B.XyzD65ColorSpace_WiJ0 === dest) {
  114081. t1 = $.$get$linearRec2020ToXyzD650();
  114082. break $label0$0;
  114083. }
  114084. if (B.XyzD50ColorSpace_2OB0 === dest) {
  114085. t1 = $.$get$linearRec2020ToXyzD500();
  114086. break $label0$0;
  114087. }
  114088. if (B.LmsColorSpace_Os30 === dest) {
  114089. t1 = $.$get$linearRec2020ToLms0();
  114090. break $label0$0;
  114091. }
  114092. t1 = this.super$ColorSpace$transformationMatrix0(dest);
  114093. break $label0$0;
  114094. }
  114095. return t1;
  114096. }
  114097. };
  114098. A.JSClass0.prototype = {};
  114099. A.JSClassExtension_setCustomInspect_closure.prototype = {
  114100. call$4($self, _, __, ___) {
  114101. return this.inspect.call$1($self);
  114102. },
  114103. call$3($self, _, __) {
  114104. return this.call$4($self, _, __, null);
  114105. },
  114106. "call*": "call$4",
  114107. $requiredArgCount: 3,
  114108. $defaultValues() {
  114109. return [null];
  114110. },
  114111. $signature: 566
  114112. };
  114113. A.JSClassExtension_get_defineStaticMethod_closure.prototype = {
  114114. call$2($name, body) {
  114115. this._this[$name] = A.allowInteropNamed($name, body);
  114116. return null;
  114117. },
  114118. $signature: 135
  114119. };
  114120. A.JSClassExtension_get_defineMethod_closure.prototype = {
  114121. call$2($name, body) {
  114122. J.get$$prototype$x(this._this)[$name] = A.allowInteropCaptureThisNamed($name, body);
  114123. return null;
  114124. },
  114125. $signature: 135
  114126. };
  114127. A.JSClassExtension_get_defineGetter_closure.prototype = {
  114128. call$2($name, body) {
  114129. A.defineGetter(J.get$$prototype$x(this._this), $name, body, null);
  114130. return null;
  114131. },
  114132. $signature: 135
  114133. };
  114134. A.RenderContext0.prototype = {};
  114135. A.RenderContextOptions0.prototype = {};
  114136. A.RenderContextResult0.prototype = {};
  114137. A.RenderContextResultStats0.prototype = {};
  114138. A.RenderOptions.prototype = {};
  114139. A.RenderResult.prototype = {};
  114140. A.RenderResultStats.prototype = {};
  114141. A.ReplaceExpressionVisitor0.prototype = {
  114142. visitBinaryOperationExpression$1(_, node) {
  114143. return new A.BinaryOperationExpression0(node.operator, node.left.accept$1(this), node.right.accept$1(this), false);
  114144. },
  114145. visitBooleanExpression$1(_, node) {
  114146. return node;
  114147. },
  114148. visitColorExpression$1(_, node) {
  114149. return node;
  114150. },
  114151. visitFunctionExpression$1(_, node) {
  114152. var t1 = node.originalName,
  114153. t2 = this.visitArgumentList$1(node.$arguments);
  114154. return new A.FunctionExpression0(node.namespace, A.stringReplaceAllUnchecked(t1, "_", "-"), t1, t2, node.span);
  114155. },
  114156. visitInterpolatedFunctionExpression$1(_, node) {
  114157. return new A.InterpolatedFunctionExpression0(this.visitInterpolation$1(node.name), this.visitArgumentList$1(node.$arguments), node.span);
  114158. },
  114159. visitIfExpression$1(_, node) {
  114160. return new A.IfExpression0(this.visitArgumentList$1(node.$arguments), node.span);
  114161. },
  114162. visitListExpression$1(_, node) {
  114163. var t1 = node.contents;
  114164. return new A.ListExpression0(A.List_List$unmodifiable(new A.MappedListIterable(t1, new A.ReplaceExpressionVisitor_visitListExpression_closure0(this), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,Expression0>")), type$.Expression_2), node.separator, node.hasBrackets, node.span);
  114165. },
  114166. visitMapExpression$1(_, node) {
  114167. var t2, t3, _i, t4,
  114168. t1 = A._setArrayType([], type$.JSArray_Record_2_Expression_and_Expression_2);
  114169. for (t2 = node.pairs, t3 = t2.length, _i = 0; _i < t3; ++_i) {
  114170. t4 = t2[_i];
  114171. t1.push(new A._Record_2(t4._0.accept$1(this), t4._1.accept$1(this)));
  114172. }
  114173. return new A.MapExpression0(A.List_List$unmodifiable(t1, type$.Record_2_Expression_and_Expression_2), node.span);
  114174. },
  114175. visitNullExpression$1(_, node) {
  114176. return node;
  114177. },
  114178. visitNumberExpression$1(_, node) {
  114179. return node;
  114180. },
  114181. visitParenthesizedExpression$1(_, node) {
  114182. return new A.ParenthesizedExpression0(node.expression.accept$1(this), node.span);
  114183. },
  114184. visitSelectorExpression$1(_, node) {
  114185. return node;
  114186. },
  114187. visitStringExpression$1(_, node) {
  114188. return new A.StringExpression0(this.visitInterpolation$1(node.text), node.hasQuotes);
  114189. },
  114190. visitSupportsExpression$1(_, node) {
  114191. return new A.SupportsExpression0(this.visitSupportsCondition$1(node.condition));
  114192. },
  114193. visitUnaryOperationExpression$1(_, node) {
  114194. return new A.UnaryOperationExpression0(node.operator, node.operand.accept$1(this), node.span);
  114195. },
  114196. visitValueExpression$1(_, node) {
  114197. return node;
  114198. },
  114199. visitVariableExpression$1(_, node) {
  114200. return node;
  114201. },
  114202. visitArgumentList$1(invocation) {
  114203. var t5, t6, _this = this,
  114204. t1 = invocation.positional,
  114205. t2 = type$.String,
  114206. t3 = type$.Expression_2,
  114207. t4 = A.LinkedHashMap_LinkedHashMap$_empty(t2, t3);
  114208. for (t5 = A.MapExtensions_get_pairs0(invocation.named, t2, t3), t5 = t5.get$iterator(t5); t5.moveNext$0();) {
  114209. t6 = t5.get$current(t5);
  114210. t4.$indexSet(0, t6._0, t6._1.accept$1(_this));
  114211. }
  114212. t5 = invocation.rest;
  114213. t5 = t5 == null ? null : t5.accept$1(_this);
  114214. t6 = invocation.keywordRest;
  114215. t6 = t6 == null ? null : t6.accept$1(_this);
  114216. return new A.ArgumentList0(A.List_List$unmodifiable(new A.MappedListIterable(t1, new A.ReplaceExpressionVisitor_visitArgumentList_closure0(_this), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,Expression0>")), t3), A.ConstantMap_ConstantMap$from(t4, t2, t3), t5, t6, invocation.span);
  114217. },
  114218. visitSupportsCondition$1(condition) {
  114219. var _this = this;
  114220. if (condition instanceof A.SupportsOperation0)
  114221. return A.SupportsOperation$0(_this.visitSupportsCondition$1(condition.left), _this.visitSupportsCondition$1(condition.right), condition.operator, condition.span);
  114222. else if (condition instanceof A.SupportsNegation0)
  114223. return new A.SupportsNegation0(_this.visitSupportsCondition$1(condition.condition), condition.span);
  114224. else if (condition instanceof A.SupportsInterpolation0)
  114225. return new A.SupportsInterpolation0(condition.expression.accept$1(_this), condition.span);
  114226. else if (condition instanceof A.SupportsDeclaration0)
  114227. return new A.SupportsDeclaration0(condition.name.accept$1(_this), condition.value.accept$1(_this), condition.span);
  114228. else
  114229. throw A.wrapException(A.SassException$0("BUG: Unknown SupportsCondition " + condition.toString$0(0) + ".", condition.get$span(condition), null));
  114230. },
  114231. visitInterpolation$1(interpolation) {
  114232. var t1 = interpolation.contents;
  114233. return A.Interpolation$0(new A.MappedListIterable(t1, new A.ReplaceExpressionVisitor_visitInterpolation_closure0(this), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,Object>")), interpolation.spans, interpolation.span);
  114234. }
  114235. };
  114236. A.ReplaceExpressionVisitor_visitListExpression_closure0.prototype = {
  114237. call$1(item) {
  114238. return item.accept$1(this.$this);
  114239. },
  114240. $signature: 260
  114241. };
  114242. A.ReplaceExpressionVisitor_visitArgumentList_closure0.prototype = {
  114243. call$1(expression) {
  114244. return expression.accept$1(this.$this);
  114245. },
  114246. $signature: 260
  114247. };
  114248. A.ReplaceExpressionVisitor_visitInterpolation_closure0.prototype = {
  114249. call$1(node) {
  114250. return node instanceof A.Expression0 ? node.accept$1(this.$this) : node;
  114251. },
  114252. $signature: 79
  114253. };
  114254. A.ImporterResult0.prototype = {
  114255. get$sourceMapUrl(_) {
  114256. var t1 = this._result$_sourceMapUrl;
  114257. return t1 == null ? A.Uri_Uri$dataFromString(this.contents, B.C_Utf8Codec, null) : t1;
  114258. }
  114259. };
  114260. A.ReturnRule0.prototype = {
  114261. accept$1$1(visitor) {
  114262. return visitor.visitReturnRule$1(0, this);
  114263. },
  114264. accept$1(visitor) {
  114265. return this.accept$1$1(visitor, type$.dynamic);
  114266. },
  114267. toString$0(_) {
  114268. return "@return " + this.expression.toString$0(0) + ";";
  114269. },
  114270. get$span(receiver) {
  114271. return this.span;
  114272. }
  114273. };
  114274. A.RgbColorSpace0.prototype = {
  114275. get$isBoundedInternal() {
  114276. return true;
  114277. },
  114278. get$isLegacyInternal() {
  114279. return true;
  114280. },
  114281. convert$5(dest, red, green, blue, alpha) {
  114282. var t1 = red == null ? null : red / 255,
  114283. t2 = green == null ? null : green / 255;
  114284. return B.SrgbColorSpace_thf0.convert$5(dest, t1, t2, blue == null ? null : blue / 255, alpha);
  114285. },
  114286. toLinear$1(channel) {
  114287. return A.srgbAndDisplayP3ToLinear0(channel / 255);
  114288. },
  114289. fromLinear$1(channel) {
  114290. return A.srgbAndDisplayP3FromLinear0(channel) * 255;
  114291. }
  114292. };
  114293. A.SassParser0.prototype = {
  114294. get$currentIndentation() {
  114295. return this._sass0$_currentIndentation;
  114296. },
  114297. get$indented() {
  114298. return true;
  114299. },
  114300. styleRuleSelector$0() {
  114301. var t4,
  114302. t1 = this.scanner,
  114303. t2 = t1._string_scanner$_position,
  114304. t3 = new A.StringBuffer(""),
  114305. buffer = new A.InterpolationBuffer0(t3, A._setArrayType([], type$.JSArray_Object), A._setArrayType([], type$.JSArray_nullable_FileSpan));
  114306. do {
  114307. buffer.addInterpolation$1(this.almostAnyValue$1$omitComments(true));
  114308. t4 = A.Primitives_stringFromCharCode(10);
  114309. t4 = t3._contents += t4;
  114310. } while (B.JSString_methods.endsWith$1(B.JSString_methods.trimRight$0(t4.charCodeAt(0) == 0 ? t4 : t4), ",") && this.scanCharIf$1(new A.SassParser_styleRuleSelector_closure0()));
  114311. return buffer.interpolation$1(t1.spanFrom$1(new A._SpanScannerState(t1, t2)));
  114312. },
  114313. expectStatementSeparator$1($name) {
  114314. var t1, _this = this,
  114315. trailingSemicolon = _this._sass0$_tryTrailingSemicolon$0();
  114316. if (!_this.atEndOfStatement$0())
  114317. _this._sass0$_expectNewline$1$trailingSemicolon(trailingSemicolon);
  114318. if (_this._sass0$_peekIndentation$0() <= _this._sass0$_currentIndentation)
  114319. return;
  114320. t1 = $name == null ? "here" : "beneath a " + $name;
  114321. _this.scanner.error$2$position(0, "Nothing may be indented " + t1 + ".", _this._sass0$_nextIndentationEnd.position);
  114322. },
  114323. expectStatementSeparator$0() {
  114324. return this.expectStatementSeparator$1(null);
  114325. },
  114326. atEndOfStatement$0() {
  114327. var t1 = this.scanner.peekChar$0();
  114328. if (t1 == null)
  114329. t1 = null;
  114330. else
  114331. t1 = t1 === 10 || t1 === 13 || t1 === 12;
  114332. return t1 !== false;
  114333. },
  114334. lookingAtChildren$0() {
  114335. return this.atEndOfStatement$0() && this._sass0$_peekIndentation$0() > this._sass0$_currentIndentation;
  114336. },
  114337. importArgument$0() {
  114338. var url, span, innerError, stackTrace, t1, _0_0, start, next, t2, exception, _this = this;
  114339. $label0$0: {
  114340. t1 = _this.scanner;
  114341. _0_0 = t1.peekChar$0();
  114342. if (117 === _0_0 || 85 === _0_0) {
  114343. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  114344. if (_this.scanIdentifier$1("url"))
  114345. if (t1.scanChar$1(40)) {
  114346. t1.set$state(start);
  114347. return _this.super$StylesheetParser$importArgument0();
  114348. } else
  114349. t1.set$state(start);
  114350. break $label0$0;
  114351. }
  114352. if (39 === _0_0 || 34 === _0_0)
  114353. return _this.super$StylesheetParser$importArgument0();
  114354. }
  114355. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  114356. next = t1.peekChar$0();
  114357. while (true) {
  114358. t2 = false;
  114359. if (next != null)
  114360. if (next !== 44)
  114361. if (next !== 59)
  114362. t2 = !(next === 10 || next === 13 || next === 12);
  114363. if (!t2)
  114364. break;
  114365. t1.readChar$0();
  114366. next = t1.peekChar$0();
  114367. }
  114368. url = t1.substring$1(0, start.position);
  114369. span = t1.spanFrom$1(start);
  114370. if (_this.isPlainImportUrl$1(url))
  114371. return new A.StaticImport0(new A.Interpolation0(A.List_List$unmodifiable([A.serializeValue0(new A.SassString0(url, true), true, true)], type$.Object), B.List_null, span), null, span);
  114372. else
  114373. try {
  114374. t1 = _this.parseImportUrl$1(url);
  114375. return new A.DynamicImport0(t1, span);
  114376. } catch (exception) {
  114377. t1 = A.unwrapException(exception);
  114378. if (type$.FormatException._is(t1)) {
  114379. innerError = t1;
  114380. stackTrace = A.getTraceFromException(exception);
  114381. _this.error$3(0, "Invalid URL: " + J.get$message$x(innerError), span, stackTrace);
  114382. } else
  114383. throw exception;
  114384. }
  114385. },
  114386. scanElse$1(ifIndentation) {
  114387. var t1, t2, startIndentation, startNextIndentation, startNextIndentationEnd, _this = this;
  114388. if (_this._sass0$_peekIndentation$0() !== ifIndentation)
  114389. return false;
  114390. t1 = _this.scanner;
  114391. t2 = t1._string_scanner$_position;
  114392. startIndentation = _this._sass0$_currentIndentation;
  114393. startNextIndentation = _this._sass0$_nextIndentation;
  114394. startNextIndentationEnd = _this._sass0$_nextIndentationEnd;
  114395. _this._sass0$_readIndentation$0();
  114396. if (t1.scanChar$1(64) && _this.scanIdentifier$1("else"))
  114397. return true;
  114398. t1.set$state(new A._SpanScannerState(t1, t2));
  114399. _this._sass0$_currentIndentation = startIndentation;
  114400. _this._sass0$_nextIndentation = startNextIndentation;
  114401. _this._sass0$_nextIndentationEnd = startNextIndentationEnd;
  114402. return false;
  114403. },
  114404. children$1(_, child) {
  114405. var children = A._setArrayType([], type$.JSArray_Statement_2);
  114406. this._sass0$_whileIndentedLower$1(new A.SassParser_children_closure0(this, child, children));
  114407. return children;
  114408. },
  114409. statements$1(statement) {
  114410. var statements, t2, _1_0,
  114411. t1 = this.scanner,
  114412. _0_0 = t1.peekChar$0();
  114413. if (9 === _0_0 || 32 === _0_0)
  114414. t1.error$3$length$position(0, string$.Indent, t1._string_scanner$_position, 0);
  114415. statements = A._setArrayType([], type$.JSArray_Statement_2);
  114416. for (t2 = t1.string.length; t1._string_scanner$_position !== t2;) {
  114417. _1_0 = this._sass0$_child$1(statement);
  114418. if (_1_0 != null)
  114419. statements.push(_1_0);
  114420. this._sass0$_readIndentation$0();
  114421. }
  114422. return statements;
  114423. },
  114424. _sass0$_child$1(child) {
  114425. var _0_0, _this = this,
  114426. t1 = _this.scanner,
  114427. _1_0 = t1.peekChar$0();
  114428. $label0$0: {
  114429. if (13 === _1_0 || 10 === _1_0 || 12 === _1_0) {
  114430. t1 = null;
  114431. break $label0$0;
  114432. }
  114433. if (36 === _1_0) {
  114434. t1 = _this.variableDeclarationWithoutNamespace$0();
  114435. break $label0$0;
  114436. }
  114437. if (47 === _1_0) {
  114438. _0_0 = t1.peekChar$1(1);
  114439. $label1$1: {
  114440. if (47 === _0_0) {
  114441. t1 = _this._sass0$_silentComment$0();
  114442. break $label1$1;
  114443. }
  114444. if (42 === _0_0) {
  114445. t1 = _this._sass0$_loudComment$0();
  114446. break $label1$1;
  114447. }
  114448. t1 = child.call$0();
  114449. break $label1$1;
  114450. }
  114451. break $label0$0;
  114452. }
  114453. t1 = child.call$0();
  114454. break $label0$0;
  114455. }
  114456. return t1;
  114457. },
  114458. _sass0$_silentComment$0() {
  114459. var buffer, parentIndentation, t3, t4, t5, commentPrefix, i, t6, i0, t7, _this = this,
  114460. t1 = _this.scanner,
  114461. t2 = t1._string_scanner$_position;
  114462. t1.expect$1("//");
  114463. buffer = new A.StringBuffer("");
  114464. parentIndentation = _this._sass0$_currentIndentation;
  114465. t3 = t1.string.length;
  114466. t4 = 1 + parentIndentation;
  114467. t5 = 2 + parentIndentation;
  114468. $label0$0:
  114469. do {
  114470. commentPrefix = t1.scanChar$1(47) ? "///" : "//";
  114471. for (i = commentPrefix.length; true;) {
  114472. t6 = buffer._contents += commentPrefix;
  114473. for (i0 = i; i0 < _this._sass0$_currentIndentation - parentIndentation; ++i0) {
  114474. t6 += A.Primitives_stringFromCharCode(32);
  114475. buffer._contents = t6;
  114476. }
  114477. while (true) {
  114478. if (t1._string_scanner$_position !== t3) {
  114479. t7 = t1.peekChar$0();
  114480. t7 = !(t7 === 10 || t7 === 13 || t7 === 12);
  114481. } else
  114482. t7 = false;
  114483. if (!t7)
  114484. break;
  114485. t6 += A.Primitives_stringFromCharCode(t1.readChar$0());
  114486. buffer._contents = t6;
  114487. }
  114488. buffer._contents = t6 + "\n";
  114489. if (_this._sass0$_peekIndentation$0() < parentIndentation)
  114490. break $label0$0;
  114491. if (_this._sass0$_peekIndentation$0() === parentIndentation) {
  114492. if (t1.peekChar$1(t4) === 47 && t1.peekChar$1(t5) === 47)
  114493. _this._sass0$_readIndentation$0();
  114494. break;
  114495. }
  114496. _this._sass0$_readIndentation$0();
  114497. }
  114498. } while (t1.scan$1("//"));
  114499. t3 = buffer._contents;
  114500. return _this.lastSilentComment = new A.SilentComment0(t3.charCodeAt(0) == 0 ? t3 : t3, t1.spanFrom$1(new A._SpanScannerState(t1, t2)));
  114501. },
  114502. _sass0$_loudComment$0() {
  114503. var t2, t3, t4, buffer, parentIndentation, t5, t6, first, beginningOfComment, t7, end, i, _1_0, _0_0, endPosition, span, _this = this,
  114504. t1 = _this.scanner,
  114505. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  114506. t1.expect$1("/*");
  114507. t2 = new A.StringBuffer("");
  114508. t3 = A._setArrayType([], type$.JSArray_Object);
  114509. t4 = A._setArrayType([], type$.JSArray_nullable_FileSpan);
  114510. buffer = new A.InterpolationBuffer0(t2, t3, t4);
  114511. t2._contents = "" + "/*";
  114512. parentIndentation = _this._sass0$_currentIndentation;
  114513. for (t5 = t1.string, t6 = t5.length, first = true; true; first = false) {
  114514. if (first) {
  114515. beginningOfComment = t1._string_scanner$_position;
  114516. _this.spaces$0();
  114517. t7 = t1.peekChar$0();
  114518. if (t7 === 10 || t7 === 13 || t7 === 12) {
  114519. _this._sass0$_readIndentation$0();
  114520. t7 = A.Primitives_stringFromCharCode(32);
  114521. t2._contents += t7;
  114522. } else {
  114523. end = t1._string_scanner$_position;
  114524. t2._contents += B.JSString_methods.substring$2(t5, beginningOfComment, end);
  114525. }
  114526. } else
  114527. t2._contents = (t2._contents += "\n") + " * ";
  114528. for (i = 3; i < _this._sass0$_currentIndentation - parentIndentation; ++i) {
  114529. t7 = A.Primitives_stringFromCharCode(32);
  114530. t2._contents += t7;
  114531. }
  114532. for (; t1._string_scanner$_position !== t6;) {
  114533. _1_0 = t1.peekChar$0();
  114534. if (10 === _1_0 || 13 === _1_0 || 12 === _1_0)
  114535. break;
  114536. if (35 === _1_0) {
  114537. if (t1.peekChar$1(1) === 123) {
  114538. _0_0 = _this.singleInterpolation$0();
  114539. buffer._interpolation_buffer0$_flushText$0();
  114540. t3.push(_0_0._0);
  114541. t4.push(_0_0._1);
  114542. } else {
  114543. t7 = A.Primitives_stringFromCharCode(t1.readChar$0());
  114544. t2._contents += t7;
  114545. }
  114546. continue;
  114547. }
  114548. if (42 === _1_0) {
  114549. if (t1.peekChar$1(1) === 47) {
  114550. t3 = A.Primitives_stringFromCharCode(t1.readChar$0());
  114551. t2._contents += t3;
  114552. t3 = A.Primitives_stringFromCharCode(t1.readChar$0());
  114553. t2._contents += t3;
  114554. endPosition = t1._string_scanner$_position;
  114555. t2 = t1._sourceFile;
  114556. t3 = start.position;
  114557. span = new A._FileSpan(t2, t3, endPosition);
  114558. span._FileSpan$3(t2, t3, endPosition);
  114559. _this.whitespace$1$consumeNewlines(false);
  114560. while (true) {
  114561. t2 = t1.peekChar$0();
  114562. if (!((t2 === 10 || t2 === 13 || t2 === 12) && _this._sass0$_peekIndentation$0() > parentIndentation))
  114563. break;
  114564. for (; _this._sass0$_lookingAtDoubleNewline$0();)
  114565. _this._sass0$_expectNewline$0();
  114566. _this._sass0$_readIndentation$0();
  114567. _this.whitespace$1$consumeNewlines(false);
  114568. }
  114569. if (t1._string_scanner$_position !== t6) {
  114570. t2 = t1.peekChar$0();
  114571. t2 = !(t2 === 10 || t2 === 13 || t2 === 12);
  114572. } else
  114573. t2 = false;
  114574. if (t2) {
  114575. t2 = t1._string_scanner$_position;
  114576. while (true) {
  114577. if (t1._string_scanner$_position !== t6) {
  114578. t3 = t1.peekChar$0();
  114579. t3 = !(t3 === 10 || t3 === 13 || t3 === 12);
  114580. } else
  114581. t3 = false;
  114582. if (!t3)
  114583. break;
  114584. t1.readChar$0();
  114585. }
  114586. throw A.wrapException(A.MultiSpanSassFormatException$0("Unexpected text after end of comment", t1.spanFrom$1(new A._SpanScannerState(t1, t2)), "extra text", A.LinkedHashMap_LinkedHashMap$_literal([span, "comment"], type$.FileSpan, type$.String), null));
  114587. } else
  114588. return new A.LoudComment0(buffer.interpolation$1(span));
  114589. } else {
  114590. t7 = A.Primitives_stringFromCharCode(t1.readChar$0());
  114591. t2._contents += t7;
  114592. }
  114593. continue;
  114594. }
  114595. t7 = A.Primitives_stringFromCharCode(t1.readChar$0());
  114596. t2._contents += t7;
  114597. }
  114598. if (_this._sass0$_peekIndentation$0() <= parentIndentation)
  114599. break;
  114600. for (; _this._sass0$_lookingAtDoubleNewline$0();) {
  114601. _this._sass0$_expectNewline$0();
  114602. t2._contents = (t2._contents += "\n") + " *";
  114603. }
  114604. _this._sass0$_readIndentation$0();
  114605. }
  114606. return new A.LoudComment0(buffer.interpolation$1(t1.spanFrom$1(start)));
  114607. },
  114608. whitespaceWithoutComments$1$consumeNewlines(consumeNewlines) {
  114609. var t1, t2, next, t3;
  114610. for (t1 = this.scanner, t2 = t1.string.length; t1._string_scanner$_position !== t2;) {
  114611. next = t1.peekChar$0();
  114612. if (consumeNewlines)
  114613. t3 = !(next === 32 || next === 9 || next === 10 || next === 13 || next === 12);
  114614. else
  114615. t3 = !(next === 32 || next === 9);
  114616. if (t3)
  114617. break;
  114618. t1.readChar$0();
  114619. }
  114620. },
  114621. _sass0$_expectNewline$1$trailingSemicolon(trailingSemicolon) {
  114622. var t1 = this.scanner,
  114623. _0_0 = t1.peekChar$0();
  114624. if (13 === _0_0) {
  114625. t1.readChar$0();
  114626. if (t1.peekChar$0() === 10)
  114627. t1.readChar$0();
  114628. return;
  114629. }
  114630. if (10 === _0_0 || 12 === _0_0) {
  114631. t1.readChar$0();
  114632. return;
  114633. }
  114634. t1.error$1(0, trailingSemicolon ? string$.multip : "expected newline.");
  114635. },
  114636. _sass0$_expectNewline$0() {
  114637. return this._sass0$_expectNewline$1$trailingSemicolon(false);
  114638. },
  114639. _sass0$_lookingAtDoubleNewline$0() {
  114640. var t2, _0_0,
  114641. t1 = this.scanner,
  114642. _1_0 = t1.peekChar$0();
  114643. $label1$1: {
  114644. t2 = false;
  114645. if (13 === _1_0) {
  114646. _0_0 = t1.peekChar$1(1);
  114647. $label0$0: {
  114648. if (10 === _0_0) {
  114649. t1 = t1.peekChar$1(2);
  114650. t1 = t1 === 10 || t1 === 13 || t1 === 12;
  114651. break $label0$0;
  114652. }
  114653. if (13 === _0_0 || 12 === _0_0) {
  114654. t1 = true;
  114655. break $label0$0;
  114656. }
  114657. t1 = t2;
  114658. break $label0$0;
  114659. }
  114660. break $label1$1;
  114661. }
  114662. if (10 === _1_0 || 12 === _1_0) {
  114663. t1 = t1.peekChar$1(1);
  114664. t1 = t1 === 10 || t1 === 13 || t1 === 12;
  114665. break $label1$1;
  114666. }
  114667. t1 = t2;
  114668. break $label1$1;
  114669. }
  114670. return t1;
  114671. },
  114672. _sass0$_whileIndentedLower$1(body) {
  114673. var t1, t2, childIndentation, indentation, t3, t4, _this = this,
  114674. parentIndentation = _this._sass0$_currentIndentation;
  114675. for (t1 = _this.scanner, t2 = t1._sourceFile, childIndentation = null; _this._sass0$_peekIndentation$0() > parentIndentation;) {
  114676. indentation = _this._sass0$_readIndentation$0();
  114677. if (childIndentation == null)
  114678. childIndentation = indentation;
  114679. if (childIndentation !== indentation) {
  114680. t3 = t1._string_scanner$_position;
  114681. t4 = t2.getColumn$1(t3);
  114682. t1.error$3$length$position(0, "Inconsistent indentation, expected " + childIndentation + " spaces.", t2.getColumn$1(t1._string_scanner$_position), t3 - t4);
  114683. }
  114684. body.call$0();
  114685. }
  114686. },
  114687. _sass0$_readIndentation$0() {
  114688. var t1, _this = this,
  114689. currentIndentation = _this._sass0$_nextIndentation;
  114690. if (currentIndentation == null)
  114691. currentIndentation = _this._sass0$_nextIndentation = _this._sass0$_peekIndentation$0();
  114692. _this._sass0$_currentIndentation = currentIndentation;
  114693. t1 = _this._sass0$_nextIndentationEnd;
  114694. t1.toString;
  114695. _this.scanner.set$state(t1);
  114696. _this._sass0$_nextIndentationEnd = _this._sass0$_nextIndentation = null;
  114697. return currentIndentation;
  114698. },
  114699. _sass0$_peekIndentation$0() {
  114700. var t1, t2, t3, start, containsTab, containsSpace, nextIndentation, _1_0, t4, _this = this,
  114701. _0_0 = _this._sass0$_nextIndentation;
  114702. if (_0_0 != null)
  114703. return _0_0;
  114704. t1 = _this.scanner;
  114705. t2 = t1._string_scanner$_position;
  114706. t3 = t1.string.length;
  114707. if (t2 === t3) {
  114708. _this._sass0$_nextIndentation = 0;
  114709. _this._sass0$_nextIndentationEnd = new A._SpanScannerState(t1, t2);
  114710. return 0;
  114711. }
  114712. start = new A._SpanScannerState(t1, t2);
  114713. if (!_this.scanCharIf$1(new A.SassParser__peekIndentation_closure1()))
  114714. t1.error$2$position(0, "Expected newline.", t1._string_scanner$_position);
  114715. containsTab = A._Cell$();
  114716. containsSpace = A._Cell$();
  114717. nextIndentation = A._Cell$();
  114718. do {
  114719. containsSpace.__late_helper$_value = containsTab.__late_helper$_value = false;
  114720. nextIndentation.__late_helper$_value = 0;
  114721. for (; true;) {
  114722. $label0$0: {
  114723. _1_0 = t1.peekChar$0();
  114724. if (32 === _1_0) {
  114725. containsSpace.__late_helper$_value = true;
  114726. break $label0$0;
  114727. }
  114728. if (9 === _1_0) {
  114729. containsTab.__late_helper$_value = true;
  114730. break $label0$0;
  114731. }
  114732. break;
  114733. }
  114734. t2 = nextIndentation.__late_helper$_value;
  114735. if (t2 === nextIndentation)
  114736. A.throwExpression(A.LateError$localNI(""));
  114737. nextIndentation.__late_helper$_value = t2 + 1;
  114738. t1.readChar$0();
  114739. }
  114740. t2 = t1._string_scanner$_position;
  114741. if (t2 === t3) {
  114742. _this._sass0$_nextIndentation = 0;
  114743. _this._sass0$_nextIndentationEnd = new A._SpanScannerState(t1, t2);
  114744. t1.set$state(start);
  114745. return 0;
  114746. }
  114747. } while (_this.scanCharIf$1(new A.SassParser__peekIndentation_closure2()));
  114748. t2 = containsTab._readLocal$0();
  114749. t3 = containsSpace._readLocal$0();
  114750. if (t2) {
  114751. if (t3) {
  114752. t2 = t1._string_scanner$_position;
  114753. t3 = t1._sourceFile;
  114754. t4 = t3.getColumn$1(t2);
  114755. t1.error$3$length$position(0, "Tabs and spaces may not be mixed.", t3.getColumn$1(t1._string_scanner$_position), t2 - t4);
  114756. } else if (_this._sass0$_spaces === true) {
  114757. t2 = t1._string_scanner$_position;
  114758. t3 = t1._sourceFile;
  114759. t4 = t3.getColumn$1(t2);
  114760. t1.error$3$length$position(0, "Expected spaces, was tabs.", t3.getColumn$1(t1._string_scanner$_position), t2 - t4);
  114761. }
  114762. } else if (t3 && _this._sass0$_spaces === false) {
  114763. t2 = t1._string_scanner$_position;
  114764. t3 = t1._sourceFile;
  114765. t4 = t3.getColumn$1(t2);
  114766. t1.error$3$length$position(0, "Expected tabs, was spaces.", t3.getColumn$1(t1._string_scanner$_position), t2 - t4);
  114767. }
  114768. _this._sass0$_nextIndentation = nextIndentation._readLocal$0();
  114769. if (nextIndentation._readLocal$0() > 0)
  114770. if (_this._sass0$_spaces == null)
  114771. _this._sass0$_spaces = containsSpace._readLocal$0();
  114772. _this._sass0$_nextIndentationEnd = new A._SpanScannerState(t1, t1._string_scanner$_position);
  114773. t1.set$state(start);
  114774. return nextIndentation._readLocal$0();
  114775. },
  114776. _sass0$_tryTrailingSemicolon$0() {
  114777. if (this.scanCharIf$1(new A.SassParser__tryTrailingSemicolon_closure0())) {
  114778. this.whitespace$1$consumeNewlines(false);
  114779. return true;
  114780. }
  114781. return false;
  114782. }
  114783. };
  114784. A.SassParser_styleRuleSelector_closure0.prototype = {
  114785. call$1(char) {
  114786. return char === 10 || char === 13 || char === 12;
  114787. },
  114788. $signature: 30
  114789. };
  114790. A.SassParser_children_closure0.prototype = {
  114791. call$0() {
  114792. var _0_0 = this.$this._sass0$_child$1(this.child);
  114793. if (_0_0 != null)
  114794. this.children.push(_0_0);
  114795. },
  114796. $signature: 0
  114797. };
  114798. A.SassParser__peekIndentation_closure1.prototype = {
  114799. call$1(char) {
  114800. return char === 10 || char === 13 || char === 12;
  114801. },
  114802. $signature: 30
  114803. };
  114804. A.SassParser__peekIndentation_closure2.prototype = {
  114805. call$1(char) {
  114806. return char === 10 || char === 13 || char === 12;
  114807. },
  114808. $signature: 30
  114809. };
  114810. A.SassParser__tryTrailingSemicolon_closure0.prototype = {
  114811. call$1(char) {
  114812. return char === 59;
  114813. },
  114814. $signature: 30
  114815. };
  114816. A._Exports.prototype = {};
  114817. A._wrapMain_closure.prototype = {
  114818. call$1(_) {
  114819. return A._translateReturnValue(this.main.call$0());
  114820. },
  114821. $signature: 90
  114822. };
  114823. A._wrapMain_closure0.prototype = {
  114824. call$1(args) {
  114825. return A._translateReturnValue(this.main.call$1(A.List_List$from(type$.List_dynamic._as(args), true, type$.String)));
  114826. },
  114827. $signature: 90
  114828. };
  114829. A.ScssParser0.prototype = {
  114830. get$indented() {
  114831. return false;
  114832. },
  114833. get$currentIndentation() {
  114834. return 0;
  114835. },
  114836. styleRuleSelector$0() {
  114837. return this.almostAnyValue$0();
  114838. },
  114839. expectStatementSeparator$1($name) {
  114840. var t1, _0_0;
  114841. this.whitespaceWithoutComments$1$consumeNewlines(true);
  114842. t1 = this.scanner;
  114843. if (t1._string_scanner$_position === t1.string.length)
  114844. return;
  114845. _0_0 = t1.peekChar$0();
  114846. if (59 === _0_0 || 125 === _0_0)
  114847. return;
  114848. t1.expectChar$1(59);
  114849. },
  114850. expectStatementSeparator$0() {
  114851. return this.expectStatementSeparator$1(null);
  114852. },
  114853. atEndOfStatement$0() {
  114854. var next = this.scanner.peekChar$0();
  114855. return next == null || next === 59 || next === 125 || next === 123;
  114856. },
  114857. lookingAtChildren$0() {
  114858. return this.scanner.peekChar$0() === 123;
  114859. },
  114860. scanElse$1(ifIndentation) {
  114861. var t3, _this = this,
  114862. t1 = _this.scanner,
  114863. t2 = t1._string_scanner$_position;
  114864. _this.whitespace$1$consumeNewlines(true);
  114865. t3 = t1._string_scanner$_position;
  114866. if (t1.scanChar$1(64)) {
  114867. if (_this.scanIdentifier$2$caseSensitive("else", true))
  114868. return true;
  114869. if (_this.scanIdentifier$2$caseSensitive("elseif", true)) {
  114870. _this.warnings.push(new A._Record_3_deprecation_message_span(B.Deprecation_8ki, string$.x40elsei, t1.spanFrom$1(new A._SpanScannerState(t1, t3))));
  114871. t1.set$position(t1._string_scanner$_position - 2);
  114872. return true;
  114873. }
  114874. }
  114875. t1.set$state(new A._SpanScannerState(t1, t2));
  114876. return false;
  114877. },
  114878. children$1(_, child) {
  114879. var children, _this = this,
  114880. t1 = _this.scanner;
  114881. t1.expectChar$1(123);
  114882. _this.whitespaceWithoutComments$1$consumeNewlines(true);
  114883. children = A._setArrayType([], type$.JSArray_Statement_2);
  114884. for (; true;)
  114885. switch (t1.peekChar$0()) {
  114886. case 36:
  114887. children.push(_this.variableDeclarationWithoutNamespace$0());
  114888. break;
  114889. case 47:
  114890. switch (t1.peekChar$1(1)) {
  114891. case 47:
  114892. children.push(_this._scss0$_silentComment$0());
  114893. _this.whitespaceWithoutComments$1$consumeNewlines(true);
  114894. break;
  114895. case 42:
  114896. children.push(_this._scss0$_loudComment$0());
  114897. _this.whitespaceWithoutComments$1$consumeNewlines(true);
  114898. break;
  114899. default:
  114900. children.push(child.call$0());
  114901. }
  114902. break;
  114903. case 59:
  114904. t1.readChar$0();
  114905. _this.whitespaceWithoutComments$1$consumeNewlines(true);
  114906. break;
  114907. case 125:
  114908. t1.expectChar$1(125);
  114909. return children;
  114910. default:
  114911. children.push(child.call$0());
  114912. }
  114913. },
  114914. statements$1(statement) {
  114915. var t1, t2, _0_0, _1_0, _this = this,
  114916. statements = A._setArrayType([], type$.JSArray_Statement_2);
  114917. _this.whitespaceWithoutComments$1$consumeNewlines(true);
  114918. for (t1 = _this.scanner, t2 = t1.string.length; t1._string_scanner$_position !== t2;)
  114919. switch (t1.peekChar$0()) {
  114920. case 36:
  114921. statements.push(_this.variableDeclarationWithoutNamespace$0());
  114922. break;
  114923. case 47:
  114924. switch (t1.peekChar$1(1)) {
  114925. case 47:
  114926. statements.push(_this._scss0$_silentComment$0());
  114927. _this.whitespaceWithoutComments$1$consumeNewlines(true);
  114928. break;
  114929. case 42:
  114930. statements.push(_this._scss0$_loudComment$0());
  114931. _this.whitespaceWithoutComments$1$consumeNewlines(true);
  114932. break;
  114933. default:
  114934. _0_0 = statement.call$0();
  114935. if (_0_0 != null)
  114936. statements.push(_0_0);
  114937. }
  114938. break;
  114939. case 59:
  114940. t1.readChar$0();
  114941. _this.whitespaceWithoutComments$1$consumeNewlines(true);
  114942. break;
  114943. default:
  114944. _1_0 = statement.call$0();
  114945. if (_1_0 != null)
  114946. statements.push(_1_0);
  114947. }
  114948. return statements;
  114949. },
  114950. _scss0$_silentComment$0() {
  114951. var t2, t3, _this = this,
  114952. t1 = _this.scanner,
  114953. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  114954. t1.expect$1("//");
  114955. t2 = t1.string.length;
  114956. do {
  114957. while (true) {
  114958. if (t1._string_scanner$_position !== t2) {
  114959. t3 = t1.readChar$0();
  114960. t3 = !(t3 === 10 || t3 === 13 || t3 === 12);
  114961. } else
  114962. t3 = false;
  114963. if (!t3)
  114964. break;
  114965. }
  114966. if (t1._string_scanner$_position === t2)
  114967. break;
  114968. _this.spaces$0();
  114969. } while (t1.scan$1("//"));
  114970. if (_this.get$plainCss())
  114971. _this.error$2(0, string$.Silent, t1.spanFrom$1(start));
  114972. return _this.lastSilentComment = new A.SilentComment0(t1.substring$1(0, start.position), t1.spanFrom$1(start));
  114973. },
  114974. _scss0$_loudComment$0() {
  114975. var t3, t4, t5, buffer, _0_0, t6, endPosition,
  114976. t1 = this.scanner,
  114977. t2 = t1._string_scanner$_position;
  114978. t1.expect$1("/*");
  114979. t3 = new A.StringBuffer("");
  114980. t4 = A._setArrayType([], type$.JSArray_Object);
  114981. t5 = A._setArrayType([], type$.JSArray_nullable_FileSpan);
  114982. buffer = new A.InterpolationBuffer0(t3, t4, t5);
  114983. t3._contents = "" + "/*";
  114984. $label0$1:
  114985. for (; true;)
  114986. switch (t1.peekChar$0()) {
  114987. case 35:
  114988. if (t1.peekChar$1(1) === 123) {
  114989. _0_0 = this.singleInterpolation$0();
  114990. buffer._interpolation_buffer0$_flushText$0();
  114991. t4.push(_0_0._0);
  114992. t5.push(_0_0._1);
  114993. } else {
  114994. t6 = A.Primitives_stringFromCharCode(t1.readChar$0());
  114995. t3._contents += t6;
  114996. }
  114997. break;
  114998. case 42:
  114999. t6 = A.Primitives_stringFromCharCode(t1.readChar$0());
  115000. t3._contents += t6;
  115001. if (t1.peekChar$0() !== 47)
  115002. continue $label0$1;
  115003. t4 = A.Primitives_stringFromCharCode(t1.readChar$0());
  115004. t3._contents += t4;
  115005. endPosition = t1._string_scanner$_position;
  115006. t3 = t1._sourceFile;
  115007. t4 = new A._SpanScannerState(t1, t2).position;
  115008. t1 = new A._FileSpan(t3, t4, endPosition);
  115009. t1._FileSpan$3(t3, t4, endPosition);
  115010. return new A.LoudComment0(buffer.interpolation$1(t1));
  115011. case 13:
  115012. t1.readChar$0();
  115013. if (t1.peekChar$0() !== 10) {
  115014. t6 = A.Primitives_stringFromCharCode(10);
  115015. t3._contents += t6;
  115016. }
  115017. break;
  115018. case 12:
  115019. t1.readChar$0();
  115020. t6 = A.Primitives_stringFromCharCode(10);
  115021. t3._contents += t6;
  115022. break;
  115023. default:
  115024. t6 = A.Primitives_stringFromCharCode(t1.readChar$0());
  115025. t3._contents += t6;
  115026. }
  115027. }
  115028. };
  115029. A.Selector0.prototype = {
  115030. assertNotBogus$1$name($name) {
  115031. if (!this.accept$1(B._IsBogusVisitor_true0))
  115032. return;
  115033. A.warnForDeprecation0("$" + $name + ": " + (this.toString$0(0) + string$.x20is_nov), B.Deprecation_SHb);
  115034. },
  115035. toString$0(_) {
  115036. var _null = null,
  115037. visitor = A._SerializeVisitor$0(_null, true, _null, _null, true, false, _null, true);
  115038. this.accept$1(visitor);
  115039. return visitor._serialize0$_buffer.toString$0(0);
  115040. },
  115041. $isAstNode0: 1,
  115042. get$span(receiver) {
  115043. return this.span;
  115044. }
  115045. };
  115046. A._IsInvisibleVisitor2.prototype = {
  115047. visitSelectorList$1(list) {
  115048. return B.JSArray_methods.every$1(list.components, this.get$visitComplexSelector());
  115049. },
  115050. visitComplexSelector$1(complex) {
  115051. var t1;
  115052. if (!this.super$AnySelectorVisitor$visitComplexSelector0(complex))
  115053. t1 = this.includeBogus && complex.accept$1(B._IsBogusVisitor_false0);
  115054. else
  115055. t1 = true;
  115056. return t1;
  115057. },
  115058. visitPlaceholderSelector$1(placeholder) {
  115059. return true;
  115060. },
  115061. visitPseudoSelector$1(pseudo) {
  115062. var t1,
  115063. _0_0 = pseudo.selector;
  115064. if (_0_0 != null) {
  115065. if (pseudo.name === "not")
  115066. t1 = this.includeBogus && _0_0.accept$1(B._IsBogusVisitor_true0);
  115067. else
  115068. t1 = this.visitSelectorList$1(_0_0);
  115069. return t1;
  115070. } else
  115071. return false;
  115072. }
  115073. };
  115074. A._IsBogusVisitor0.prototype = {
  115075. visitComplexSelector$1(complex) {
  115076. var t2,
  115077. t1 = complex.components;
  115078. if (t1.length === 0)
  115079. return complex.leadingCombinators.length !== 0;
  115080. else {
  115081. t2 = this.includeLeadingCombinator ? 0 : 1;
  115082. return complex.leadingCombinators.length > t2 || B.JSArray_methods.get$last(t1).combinators.length !== 0 || B.JSArray_methods.any$1(t1, new A._IsBogusVisitor_visitComplexSelector_closure0(this));
  115083. }
  115084. },
  115085. visitPseudoSelector$1(pseudo) {
  115086. var selector = pseudo.selector;
  115087. if (selector == null)
  115088. return false;
  115089. return pseudo.name === "has" ? selector.accept$1(B._IsBogusVisitor_false0) : selector.accept$1(B._IsBogusVisitor_true0);
  115090. }
  115091. };
  115092. A._IsBogusVisitor_visitComplexSelector_closure0.prototype = {
  115093. call$1(component) {
  115094. return component.combinators.length > 1 || this.$this.visitCompoundSelector$1(component.selector);
  115095. },
  115096. $signature: 56
  115097. };
  115098. A._IsUselessVisitor0.prototype = {
  115099. visitComplexSelector$1(complex) {
  115100. return complex.leadingCombinators.length > 1 || B.JSArray_methods.any$1(complex.components, new A._IsUselessVisitor_visitComplexSelector_closure0(this));
  115101. },
  115102. visitPseudoSelector$1(pseudo) {
  115103. return pseudo.accept$1(B._IsBogusVisitor_true0);
  115104. }
  115105. };
  115106. A._IsUselessVisitor_visitComplexSelector_closure0.prototype = {
  115107. call$1(component) {
  115108. return component.combinators.length > 1 || this.$this.visitCompoundSelector$1(component.selector);
  115109. },
  115110. $signature: 56
  115111. };
  115112. A._ContainsParentSelectorVisitor0.prototype = {
  115113. visitParentSelector$1(_) {
  115114. return true;
  115115. }
  115116. };
  115117. A.__ContainsParentSelectorVisitor_Object_AnySelectorVisitor0.prototype = {};
  115118. A.__IsBogusVisitor_Object_AnySelectorVisitor0.prototype = {};
  115119. A.__IsInvisibleVisitor_Object_AnySelectorVisitor0.prototype = {};
  115120. A.__IsUselessVisitor_Object_AnySelectorVisitor0.prototype = {};
  115121. A.SelectorExpression0.prototype = {
  115122. accept$1$1(visitor) {
  115123. return visitor.visitSelectorExpression$1(0, this);
  115124. },
  115125. accept$1(visitor) {
  115126. return this.accept$1$1(visitor, type$.dynamic);
  115127. },
  115128. toString$0(_) {
  115129. return "&";
  115130. },
  115131. get$span(receiver) {
  115132. return this.span;
  115133. }
  115134. };
  115135. A._nest_closure0.prototype = {
  115136. call$1($arguments) {
  115137. var t1 = {},
  115138. selectors = J.$index$asx($arguments, 0).get$asList();
  115139. if (selectors.length === 0)
  115140. throw A.wrapException(A.SassScriptException$0(string$.x24selec, null));
  115141. t1.first = true;
  115142. 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();
  115143. },
  115144. $signature: 28
  115145. };
  115146. A._nest__closure1.prototype = {
  115147. call$1(selector) {
  115148. var t1 = this._box_0,
  115149. result = A.SassApiValue_assertSelector0(selector, !t1.first, null);
  115150. t1.first = false;
  115151. return result;
  115152. },
  115153. $signature: 261
  115154. };
  115155. A._nest__closure2.prototype = {
  115156. call$2($parent, child) {
  115157. return child.nestWithin$1($parent);
  115158. },
  115159. $signature: 262
  115160. };
  115161. A._append_closure1.prototype = {
  115162. call$1($arguments) {
  115163. var t1,
  115164. selectors = J.$index$asx($arguments, 0).get$asList();
  115165. if (selectors.length === 0)
  115166. throw A.wrapException(A.SassScriptException$0(string$.x24selec, null));
  115167. t1 = A.EvaluationContext_currentOrNull0();
  115168. return new A.MappedListIterable(selectors, new A._append__closure1(), A._arrayInstanceType(selectors)._eval$1("MappedListIterable<1,SelectorList0>")).reduce$1(0, new A._append__closure2((t1 == null ? A.throwExpression(A.StateError$(string$.No_Sass)) : t1).get$currentCallableSpan())).get$asSassList();
  115169. },
  115170. $signature: 28
  115171. };
  115172. A._append__closure1.prototype = {
  115173. call$1(selector) {
  115174. return A.SassApiValue_assertSelector0(selector, false, null);
  115175. },
  115176. $signature: 261
  115177. };
  115178. A._append__closure2.prototype = {
  115179. call$2($parent, child) {
  115180. var t1 = child.components,
  115181. t2 = this.span;
  115182. return A.SelectorList$0(new A.MappedListIterable(t1, new A._append___closure0($parent, t2), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,ComplexSelector0>")), t2).nestWithin$1($parent);
  115183. },
  115184. $signature: 262
  115185. };
  115186. A._append___closure0.prototype = {
  115187. call$1(complex) {
  115188. var _0_0, t1, component, rest, newCompound, t2, _null = null;
  115189. if (complex.leadingCombinators.length !== 0)
  115190. throw A.wrapException(A.SassScriptException$0("Can't append " + complex.toString$0(0) + " to " + this.parent.toString$0(0) + ".", _null));
  115191. _0_0 = complex.components;
  115192. t1 = _0_0.length >= 1;
  115193. if (t1) {
  115194. component = _0_0[0];
  115195. rest = B.JSArray_methods.sublist$1(_0_0, 1);
  115196. } else {
  115197. rest = _null;
  115198. component = rest;
  115199. }
  115200. if (!t1)
  115201. throw A.wrapException(A.StateError$("Pattern matching error"));
  115202. newCompound = A._prependParent0(component.selector);
  115203. if (newCompound == null)
  115204. throw A.wrapException(A.SassScriptException$0("Can't append " + complex.toString$0(0) + " to " + this.parent.toString$0(0) + ".", _null));
  115205. t1 = this.span;
  115206. t2 = A._setArrayType([new A.ComplexSelectorComponent0(newCompound, A.List_List$unmodifiable(component.combinators, type$.CssValue_Combinator_2), t1)], type$.JSArray_ComplexSelectorComponent_2);
  115207. B.JSArray_methods.addAll$1(t2, rest);
  115208. return A.ComplexSelector$0(B.List_empty16, t2, t1, false);
  115209. },
  115210. $signature: 57
  115211. };
  115212. A._extend_closure0.prototype = {
  115213. call$1($arguments) {
  115214. var target, source,
  115215. _s8_ = "selector",
  115216. _s8_0 = "extendee",
  115217. _s8_1 = "extender",
  115218. t1 = J.getInterceptor$asx($arguments),
  115219. selector = A.SassApiValue_assertSelector0(t1.$index($arguments, 0), false, _s8_);
  115220. selector.assertNotBogus$1$name(_s8_);
  115221. target = A.SassApiValue_assertSelector0(t1.$index($arguments, 1), false, _s8_0);
  115222. target.assertNotBogus$1$name(_s8_0);
  115223. source = A.SassApiValue_assertSelector0(t1.$index($arguments, 2), false, _s8_1);
  115224. source.assertNotBogus$1$name(_s8_1);
  115225. t1 = A.EvaluationContext_currentOrNull0();
  115226. return A.ExtensionStore__extendOrReplace0(selector, source, target, B.ExtendMode_allTargets_allTargets0, (t1 == null ? A.throwExpression(A.StateError$(string$.No_Sass)) : t1).get$currentCallableSpan()).get$asSassList();
  115227. },
  115228. $signature: 28
  115229. };
  115230. A._replace_closure0.prototype = {
  115231. call$1($arguments) {
  115232. var target, source,
  115233. _s8_ = "selector",
  115234. _s8_0 = "original",
  115235. _s11_ = "replacement",
  115236. t1 = J.getInterceptor$asx($arguments),
  115237. selector = A.SassApiValue_assertSelector0(t1.$index($arguments, 0), false, _s8_);
  115238. selector.assertNotBogus$1$name(_s8_);
  115239. target = A.SassApiValue_assertSelector0(t1.$index($arguments, 1), false, _s8_0);
  115240. target.assertNotBogus$1$name(_s8_0);
  115241. source = A.SassApiValue_assertSelector0(t1.$index($arguments, 2), false, _s11_);
  115242. source.assertNotBogus$1$name(_s11_);
  115243. t1 = A.EvaluationContext_currentOrNull0();
  115244. return A.ExtensionStore__extendOrReplace0(selector, source, target, B.ExtendMode_replace_replace0, (t1 == null ? A.throwExpression(A.StateError$(string$.No_Sass)) : t1).get$currentCallableSpan()).get$asSassList();
  115245. },
  115246. $signature: 28
  115247. };
  115248. A._unify_closure0.prototype = {
  115249. call$1($arguments) {
  115250. var selector2,
  115251. _s9_ = "selector1",
  115252. _s9_0 = "selector2",
  115253. t1 = J.getInterceptor$asx($arguments),
  115254. selector1 = A.SassApiValue_assertSelector0(t1.$index($arguments, 0), false, _s9_);
  115255. selector1.assertNotBogus$1$name(_s9_);
  115256. selector2 = A.SassApiValue_assertSelector0(t1.$index($arguments, 1), false, _s9_0);
  115257. selector2.assertNotBogus$1$name(_s9_0);
  115258. t1 = selector1.unify$1(selector2);
  115259. t1 = t1 == null ? null : t1.get$asSassList();
  115260. return t1 == null ? B.C__SassNull0 : t1;
  115261. },
  115262. $signature: 3
  115263. };
  115264. A._isSuperselector_closure0.prototype = {
  115265. call$1($arguments) {
  115266. var selector2,
  115267. t1 = J.getInterceptor$asx($arguments),
  115268. selector1 = A.SassApiValue_assertSelector0(t1.$index($arguments, 0), false, "super");
  115269. selector1.assertNotBogus$1$name("super");
  115270. selector2 = A.SassApiValue_assertSelector0(t1.$index($arguments, 1), false, "sub");
  115271. selector2.assertNotBogus$1$name("sub");
  115272. return A.listIsSuperselector0(selector1.components, selector2.components) ? B.SassBoolean_true0 : B.SassBoolean_false0;
  115273. },
  115274. $signature: 11
  115275. };
  115276. A._simpleSelectors_closure0.prototype = {
  115277. call$1($arguments) {
  115278. var t1 = A.SassApiValue_assertCompoundSelector0(J.$index$asx($arguments, 0), "selector").components;
  115279. return A.SassList$0(new A.MappedListIterable(t1, new A._simpleSelectors__closure0(), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,Value0>")), B.ListSeparator_qVN0, false);
  115280. },
  115281. $signature: 28
  115282. };
  115283. A._simpleSelectors__closure0.prototype = {
  115284. call$1(simple) {
  115285. return new A.SassString0(A.serializeSelector0(simple, true), false);
  115286. },
  115287. $signature: 571
  115288. };
  115289. A._parse_closure0.prototype = {
  115290. call$1($arguments) {
  115291. return A.SassApiValue_assertSelector0(J.$index$asx($arguments, 0), false, "selector").get$asSassList();
  115292. },
  115293. $signature: 28
  115294. };
  115295. A.SelectorParser0.prototype = {
  115296. parse$0(_) {
  115297. return this.wrapSpanFormatException$1(new A.SelectorParser_parse_closure0(this));
  115298. },
  115299. parseCompoundSelector$0() {
  115300. return this.wrapSpanFormatException$1(new A.SelectorParser_parseCompoundSelector_closure0(this));
  115301. },
  115302. _selector$_selectorList$0() {
  115303. var t4, t5, lineBreak, _this = this,
  115304. t1 = _this.scanner,
  115305. t2 = t1._string_scanner$_position,
  115306. t3 = t1._sourceFile,
  115307. previousLine = t3.getLine$1(t2),
  115308. components = A._setArrayType([_this._selector$_complexSelector$0()], type$.JSArray_ComplexSelector_2);
  115309. _this.whitespace$1$consumeNewlines(true);
  115310. for (t4 = t1.string.length; t1.scanChar$1(44);) {
  115311. _this.whitespace$1$consumeNewlines(true);
  115312. if (t1.peekChar$0() === 44)
  115313. continue;
  115314. t5 = t1._string_scanner$_position;
  115315. if (t5 === t4)
  115316. break;
  115317. lineBreak = t3.getLine$1(t5) !== previousLine;
  115318. if (lineBreak)
  115319. previousLine = t3.getLine$1(t1._string_scanner$_position);
  115320. components.push(_this._selector$_complexSelector$1$lineBreak(lineBreak));
  115321. }
  115322. return A.SelectorList$0(components, _this.spanFrom$1(new A._SpanScannerState(t1, t2)));
  115323. },
  115324. _selector$_complexSelector$1$lineBreak(lineBreak) {
  115325. var t4, lastCompound, initialCombinators, _0_0, t5, result, _this = this,
  115326. _s18_ = "expected selector.",
  115327. t1 = _this.scanner,
  115328. t2 = t1._string_scanner$_position,
  115329. componentStart = new A._SpanScannerState(t1, t2),
  115330. t3 = type$.JSArray_CssValue_Combinator_2,
  115331. combinators = A._setArrayType([], t3),
  115332. components = A._setArrayType([], type$.JSArray_ComplexSelectorComponent_2);
  115333. for (t4 = type$.CssValue_Combinator_2, lastCompound = null, initialCombinators = null; true;) {
  115334. _this.whitespace$1$consumeNewlines(true);
  115335. _0_0 = t1.peekChar$0();
  115336. if (43 === _0_0) {
  115337. t5 = t1._string_scanner$_position;
  115338. t1.readChar$0();
  115339. combinators.push(new A.CssValue0(B.Combinator_bOP0, _this.spanFrom$1(new A._SpanScannerState(t1, t5)), t4));
  115340. continue;
  115341. }
  115342. if (62 === _0_0) {
  115343. t5 = t1._string_scanner$_position;
  115344. t1.readChar$0();
  115345. combinators.push(new A.CssValue0(B.Combinator_0mp0, _this.spanFrom$1(new A._SpanScannerState(t1, t5)), t4));
  115346. continue;
  115347. }
  115348. if (126 === _0_0) {
  115349. t5 = t1._string_scanner$_position;
  115350. t1.readChar$0();
  115351. combinators.push(new A.CssValue0(B.Combinator_55N0, _this.spanFrom$1(new A._SpanScannerState(t1, t5)), t4));
  115352. continue;
  115353. }
  115354. if (_0_0 == null)
  115355. break;
  115356. t5 = true;
  115357. if (91 !== _0_0)
  115358. if (46 !== _0_0)
  115359. if (35 !== _0_0)
  115360. if (37 !== _0_0)
  115361. if (58 !== _0_0)
  115362. if (38 !== _0_0)
  115363. if (42 !== _0_0)
  115364. if (124 !== _0_0)
  115365. t5 = _this.lookingAtIdentifier$0();
  115366. if (t5) {
  115367. if (lastCompound != null) {
  115368. t5 = _this.spanFrom$1(componentStart);
  115369. result = A.List_List$from(combinators, false, t4);
  115370. result.$flags = 3;
  115371. components.push(new A.ComplexSelectorComponent0(lastCompound, result, t5));
  115372. } else if (combinators.length !== 0) {
  115373. componentStart = new A._SpanScannerState(t1, t1._string_scanner$_position);
  115374. initialCombinators = combinators;
  115375. }
  115376. lastCompound = _this._selector$_compoundSelector$0();
  115377. combinators = A._setArrayType([], t3);
  115378. if (t1.peekChar$0() === 38)
  115379. t1.error$1(0, string$.x22x26__ma);
  115380. continue;
  115381. }
  115382. break;
  115383. }
  115384. t3 = combinators.length !== 0;
  115385. if (t3 && _this._selector$_plainCss)
  115386. t1.error$1(0, _s18_);
  115387. else if (lastCompound != null) {
  115388. t3 = _this.spanFrom$1(componentStart);
  115389. components.push(new A.ComplexSelectorComponent0(lastCompound, A.List_List$unmodifiable(combinators, t4), t3));
  115390. } else if (t3)
  115391. initialCombinators = combinators;
  115392. else
  115393. t1.error$1(0, _s18_);
  115394. t3 = initialCombinators == null ? B.List_empty16 : initialCombinators;
  115395. return A.ComplexSelector$0(t3, components, _this.spanFrom$1(new A._SpanScannerState(t1, t2)), lineBreak);
  115396. },
  115397. _selector$_complexSelector$0() {
  115398. return this._selector$_complexSelector$1$lineBreak(false);
  115399. },
  115400. _selector$_compoundSelector$0() {
  115401. var t3, _this = this,
  115402. t1 = _this.scanner,
  115403. t2 = t1._string_scanner$_position,
  115404. components = A._setArrayType([_this._selector$_simpleSelector$0()], type$.JSArray_SimpleSelector_2);
  115405. for (t3 = _this._selector$_plainCss; _this._selector$_isSimpleSelectorStart$1(t1.peekChar$0());)
  115406. components.push(_this._selector$_simpleSelector$1$allowParent(t3));
  115407. return A.CompoundSelector$0(components, _this.spanFrom$1(new A._SpanScannerState(t1, t2)));
  115408. },
  115409. _selector$_simpleSelector$1$allowParent(allowParent) {
  115410. var t2, $name, text, t3, suffix, _this = this,
  115411. t1 = _this.scanner,
  115412. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  115413. if (allowParent == null)
  115414. allowParent = _this._selector$_allowParent;
  115415. switch (t1.peekChar$0()) {
  115416. case 91:
  115417. return _this._selector$_attributeSelector$0();
  115418. case 46:
  115419. t2 = t1._string_scanner$_position;
  115420. t1.expectChar$1(46);
  115421. return new A.ClassSelector0(_this.identifier$0(), _this.spanFrom$1(new A._SpanScannerState(t1, t2)));
  115422. case 35:
  115423. t2 = t1._string_scanner$_position;
  115424. t1.expectChar$1(35);
  115425. return new A.IDSelector0(_this.identifier$0(), _this.spanFrom$1(new A._SpanScannerState(t1, t2)));
  115426. case 37:
  115427. t2 = t1._string_scanner$_position;
  115428. t1.expectChar$1(37);
  115429. $name = _this.identifier$0();
  115430. t2 = _this.spanFrom$1(new A._SpanScannerState(t1, t2));
  115431. if (_this._selector$_plainCss)
  115432. _this.error$2(0, string$.Placeh, t1.spanFrom$1(start));
  115433. return new A.PlaceholderSelector0($name, t2);
  115434. case 58:
  115435. return _this._selector$_pseudoSelector$0();
  115436. case 38:
  115437. t2 = t1._string_scanner$_position;
  115438. t1.expectChar$1(38);
  115439. if (_this.lookingAtIdentifierBody$0()) {
  115440. text = new A.StringBuffer("");
  115441. _this._parser1$_identifierBody$1(text);
  115442. if (text._contents.length === 0)
  115443. t1.error$1(0, "Expected identifier body.");
  115444. t3 = text._contents;
  115445. suffix = t3.charCodeAt(0) == 0 ? t3 : t3;
  115446. } else
  115447. suffix = null;
  115448. if (_this._selector$_plainCss && suffix != null)
  115449. t1.error$3$length$position(0, string$.Parent, t1._string_scanner$_position - t2, t2);
  115450. t2 = _this.spanFrom$1(new A._SpanScannerState(t1, t2));
  115451. if (!allowParent)
  115452. _this.error$2(0, "Parent selectors aren't allowed here.", t1.spanFrom$1(start));
  115453. return new A.ParentSelector0(suffix, t2);
  115454. default:
  115455. return _this._selector$_typeOrUniversalSelector$0();
  115456. }
  115457. },
  115458. _selector$_simpleSelector$0() {
  115459. return this._selector$_simpleSelector$1$allowParent(null);
  115460. },
  115461. _selector$_attributeSelector$0() {
  115462. var $name, operator, next, value, modifier, _this = this, _null = null,
  115463. t1 = _this.scanner,
  115464. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  115465. t1.expectChar$1(91);
  115466. _this.whitespace$1$consumeNewlines(true);
  115467. $name = _this._selector$_attributeName$0();
  115468. _this.whitespace$1$consumeNewlines(true);
  115469. if (t1.scanChar$1(93))
  115470. return new A.AttributeSelector0($name, _null, _null, _null, _this.spanFrom$1(start));
  115471. operator = _this._selector$_attributeOperator$0();
  115472. _this.whitespace$1$consumeNewlines(true);
  115473. next = t1.peekChar$0();
  115474. value = next === 39 || next === 34 ? _this.string$0() : _this.identifier$0();
  115475. _this.whitespace$1$consumeNewlines(true);
  115476. next = t1.peekChar$0();
  115477. modifier = next != null && A.CharacterExtension_get_isAlphabetic0(next) ? A.Primitives_stringFromCharCode(t1.readChar$0()) : _null;
  115478. t1.expectChar$1(93);
  115479. return new A.AttributeSelector0($name, operator, value, modifier, _this.spanFrom$1(start));
  115480. },
  115481. _selector$_attributeName$0() {
  115482. var nameOrNamespace, _this = this,
  115483. t1 = _this.scanner;
  115484. if (t1.scanChar$1(42)) {
  115485. t1.expectChar$1(124);
  115486. return new A.QualifiedName0(_this.identifier$0(), "*");
  115487. }
  115488. if (t1.scanChar$1(124))
  115489. return new A.QualifiedName0(_this.identifier$0(), "");
  115490. nameOrNamespace = _this.identifier$0();
  115491. if (t1.peekChar$0() !== 124 || t1.peekChar$1(1) === 61)
  115492. return new A.QualifiedName0(nameOrNamespace, null);
  115493. t1.readChar$0();
  115494. return new A.QualifiedName0(_this.identifier$0(), nameOrNamespace);
  115495. },
  115496. _selector$_attributeOperator$0() {
  115497. var t1 = this.scanner,
  115498. t2 = t1._string_scanner$_position;
  115499. switch (t1.readChar$0()) {
  115500. case 61:
  115501. return B.AttributeOperator_Lvy0;
  115502. case 126:
  115503. t1.expectChar$1(61);
  115504. return B.AttributeOperator_fp20;
  115505. case 124:
  115506. t1.expectChar$1(61);
  115507. return B.AttributeOperator_iyP0;
  115508. case 94:
  115509. t1.expectChar$1(61);
  115510. return B.AttributeOperator_JzP0;
  115511. case 36:
  115512. t1.expectChar$1(61);
  115513. return B.AttributeOperator_U1W0;
  115514. case 42:
  115515. t1.expectChar$1(61);
  115516. return B.AttributeOperator_GWq0;
  115517. default:
  115518. t1.error$2$position(0, 'Expected "]".', t2);
  115519. }
  115520. },
  115521. _selector$_pseudoSelector$0() {
  115522. var element, $name, unvendored, argument, selector, t2, _this = this, _null = null,
  115523. t1 = _this.scanner,
  115524. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  115525. t1.expectChar$1(58);
  115526. element = t1.scanChar$1(58);
  115527. $name = _this.identifier$0();
  115528. if (!t1.scanChar$1(40))
  115529. return A.PseudoSelector$0($name, _this.spanFrom$1(start), _null, element, _null);
  115530. _this.whitespace$1$consumeNewlines(true);
  115531. unvendored = A.unvendor0($name);
  115532. argument = _null;
  115533. selector = _null;
  115534. if (element)
  115535. if ($._selectorPseudoElements0.contains$1(0, unvendored))
  115536. selector = _this._selector$_selectorList$0();
  115537. else
  115538. argument = _this.declarationValue$1$allowEmpty(true);
  115539. else if ($._selectorPseudoClasses0.contains$1(0, unvendored))
  115540. selector = _this._selector$_selectorList$0();
  115541. else if (unvendored === "nth-child" || unvendored === "nth-last-child") {
  115542. argument = _this._selector$_aNPlusB$0();
  115543. _this.whitespace$1$consumeNewlines(true);
  115544. t2 = t1.peekChar$1(-1);
  115545. if ((t2 === 32 || t2 === 9 || t2 === 10 || t2 === 13 || t2 === 12) && t1.peekChar$0() !== 41) {
  115546. _this.expectIdentifier$1("of");
  115547. argument += " of";
  115548. _this.whitespace$1$consumeNewlines(true);
  115549. selector = _this._selector$_selectorList$0();
  115550. }
  115551. } else
  115552. argument = B.JSString_methods.trimRight$0(_this.declarationValue$1$allowEmpty(true));
  115553. t1.expectChar$1(41);
  115554. return A.PseudoSelector$0($name, _this.spanFrom$1(start), argument, element, selector);
  115555. },
  115556. _selector$_aNPlusB$0() {
  115557. var t1, _0_0, t2, $self, next, _this = this;
  115558. $label0$0: {
  115559. t1 = _this.scanner;
  115560. _0_0 = t1.peekChar$0();
  115561. if (101 === _0_0 || 69 === _0_0) {
  115562. _this.expectIdentifier$1("even");
  115563. return "even";
  115564. }
  115565. if (111 === _0_0 || 79 === _0_0) {
  115566. _this.expectIdentifier$1("odd");
  115567. return "odd";
  115568. }
  115569. if (43 === _0_0 || 45 === _0_0) {
  115570. t2 = "" + A.Primitives_stringFromCharCode(t1.readChar$0());
  115571. break $label0$0;
  115572. }
  115573. t2 = "";
  115574. }
  115575. $self = t1.peekChar$0();
  115576. if ($self != null && $self >= 48 && $self <= 57) {
  115577. do {
  115578. t2 += A.Primitives_stringFromCharCode(t1.readChar$0());
  115579. $self = t1.peekChar$0();
  115580. } while ($self != null && $self >= 48 && $self <= 57);
  115581. _this.whitespace$1$consumeNewlines(true);
  115582. if (!_this.scanIdentChar$1(110))
  115583. return t2.charCodeAt(0) == 0 ? t2 : t2;
  115584. } else
  115585. _this.expectIdentChar$1(110);
  115586. t2 += A.Primitives_stringFromCharCode(110);
  115587. _this.whitespace$1$consumeNewlines(true);
  115588. next = t1.peekChar$0();
  115589. if (next !== 43 && next !== 45)
  115590. return t2.charCodeAt(0) == 0 ? t2 : t2;
  115591. t2 += A.Primitives_stringFromCharCode(t1.readChar$0());
  115592. _this.whitespace$1$consumeNewlines(true);
  115593. $self = t1.peekChar$0();
  115594. if (!($self != null && $self >= 48 && $self <= 57))
  115595. t1.error$1(0, "Expected a number.");
  115596. do {
  115597. t2 += A.Primitives_stringFromCharCode(t1.readChar$0());
  115598. $self = t1.peekChar$0();
  115599. } while ($self != null && $self >= 48 && $self <= 57);
  115600. return t2.charCodeAt(0) == 0 ? t2 : t2;
  115601. },
  115602. _selector$_typeOrUniversalSelector$0() {
  115603. var nameOrNamespace, _this = this,
  115604. t1 = _this.scanner,
  115605. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  115606. if (t1.scanChar$1(42)) {
  115607. if (!t1.scanChar$1(124))
  115608. return new A.UniversalSelector0(null, _this.spanFrom$1(start));
  115609. return t1.scanChar$1(42) ? new A.UniversalSelector0("*", _this.spanFrom$1(start)) : new A.TypeSelector0(new A.QualifiedName0(_this.identifier$0(), "*"), _this.spanFrom$1(start));
  115610. } else if (t1.scanChar$1(124))
  115611. return t1.scanChar$1(42) ? new A.UniversalSelector0("", _this.spanFrom$1(start)) : new A.TypeSelector0(new A.QualifiedName0(_this.identifier$0(), ""), _this.spanFrom$1(start));
  115612. nameOrNamespace = _this.identifier$0();
  115613. if (!t1.scanChar$1(124))
  115614. return new A.TypeSelector0(new A.QualifiedName0(nameOrNamespace, null), _this.spanFrom$1(start));
  115615. else if (t1.scanChar$1(42))
  115616. return new A.UniversalSelector0(nameOrNamespace, _this.spanFrom$1(start));
  115617. else
  115618. return new A.TypeSelector0(new A.QualifiedName0(_this.identifier$0(), nameOrNamespace), _this.spanFrom$1(start));
  115619. },
  115620. _selector$_isSimpleSelectorStart$1(character) {
  115621. var t1;
  115622. $label0$0: {
  115623. if (42 === character || 91 === character || 46 === character || 35 === character || 37 === character || 58 === character) {
  115624. t1 = true;
  115625. break $label0$0;
  115626. }
  115627. if (38 === character) {
  115628. t1 = this._selector$_plainCss;
  115629. break $label0$0;
  115630. }
  115631. t1 = false;
  115632. break $label0$0;
  115633. }
  115634. return t1;
  115635. }
  115636. };
  115637. A.SelectorParser_parse_closure0.prototype = {
  115638. call$0() {
  115639. var t1 = this.$this,
  115640. selector = t1._selector$_selectorList$0();
  115641. t1 = t1.scanner;
  115642. if (t1._string_scanner$_position !== t1.string.length)
  115643. t1.error$1(0, "expected selector.");
  115644. return selector;
  115645. },
  115646. $signature: 572
  115647. };
  115648. A.SelectorParser_parseCompoundSelector_closure0.prototype = {
  115649. call$0() {
  115650. var t1 = this.$this,
  115651. compound = t1._selector$_compoundSelector$0();
  115652. t1 = t1.scanner;
  115653. if (t1._string_scanner$_position !== t1.string.length)
  115654. t1.error$1(0, "expected selector.");
  115655. return compound;
  115656. },
  115657. $signature: 573
  115658. };
  115659. A.SelectorSearchVisitor0.prototype = {
  115660. visitAttributeSelector$1(attribute) {
  115661. return null;
  115662. },
  115663. visitClassSelector$1(klass) {
  115664. return null;
  115665. },
  115666. visitIDSelector$1(id) {
  115667. return null;
  115668. },
  115669. visitParentSelector$1(placeholder) {
  115670. return null;
  115671. },
  115672. visitPlaceholderSelector$1(placeholder) {
  115673. return null;
  115674. },
  115675. visitTypeSelector$1(type) {
  115676. return null;
  115677. },
  115678. visitUniversalSelector$1(universal) {
  115679. return null;
  115680. },
  115681. visitComplexSelector$1(complex) {
  115682. return A.IterableExtension_search0(complex.components, new A.SelectorSearchVisitor_visitComplexSelector_closure0(this));
  115683. },
  115684. visitCompoundSelector$1(compound) {
  115685. return A.IterableExtension_search0(compound.components, new A.SelectorSearchVisitor_visitCompoundSelector_closure0(this));
  115686. },
  115687. visitPseudoSelector$1(pseudo) {
  115688. return A.NullableExtension_andThen0(pseudo.selector, this.get$visitSelectorList());
  115689. },
  115690. visitSelectorList$1(list) {
  115691. return A.IterableExtension_search0(list.components, this.get$visitComplexSelector());
  115692. }
  115693. };
  115694. A.SelectorSearchVisitor_visitComplexSelector_closure0.prototype = {
  115695. call$1(component) {
  115696. return this.$this.visitCompoundSelector$1(component.selector);
  115697. },
  115698. $signature() {
  115699. return A._instanceType(this.$this)._eval$1("SelectorSearchVisitor0.T?(ComplexSelectorComponent0)");
  115700. }
  115701. };
  115702. A.SelectorSearchVisitor_visitCompoundSelector_closure0.prototype = {
  115703. call$1(simple) {
  115704. return simple.accept$1(this.$this);
  115705. },
  115706. $signature() {
  115707. return A._instanceType(this.$this)._eval$1("SelectorSearchVisitor0.T?(SimpleSelector0)");
  115708. }
  115709. };
  115710. A.serialize_closure0.prototype = {
  115711. call$1(codeUnit) {
  115712. return codeUnit > 127;
  115713. },
  115714. $signature: 47
  115715. };
  115716. A._SerializeVisitor0.prototype = {
  115717. visitCssStylesheet$1(node) {
  115718. var t1, t2, t3, t4, t5, t6, t7, previous, previous0, t8, _this = this;
  115719. for (t1 = J.get$iterator$ax(node.get$children(node)), t2 = !_this._serialize0$_inspect, t3 = _this._serialize0$_style === B.OutputStyle_10, t4 = !t3, t5 = type$.CssParentNode_2, t6 = _this._serialize0$_buffer, t7 = _this._lineFeed.text, previous = null; t1.moveNext$0();) {
  115720. previous0 = t1.get$current(t1);
  115721. if (t2)
  115722. t8 = t3 ? previous0.accept$1(B._IsInvisibleVisitor_true_true0) : previous0.accept$1(B._IsInvisibleVisitor_true_false0);
  115723. else
  115724. t8 = false;
  115725. if (t8)
  115726. continue;
  115727. if (previous != null) {
  115728. if (t5._is(previous) ? previous.get$isChildless() : !(previous instanceof A.ModifiableCssComment0))
  115729. t6.writeCharCode$1(59);
  115730. if (_this._serialize0$_isTrailingComment$2(previous0, previous)) {
  115731. if (t4)
  115732. t6.writeCharCode$1(32);
  115733. } else {
  115734. if (t4)
  115735. t6.write$1(0, t7);
  115736. if (previous.get$isGroupEnd())
  115737. if (t4)
  115738. t6.write$1(0, t7);
  115739. }
  115740. }
  115741. previous0.accept$1(_this);
  115742. previous = previous0;
  115743. }
  115744. if (previous != null)
  115745. t1 = (t5._is(previous) ? previous.get$isChildless() : !(previous instanceof A.ModifiableCssComment0)) && t4;
  115746. else
  115747. t1 = false;
  115748. if (t1)
  115749. t6.writeCharCode$1(59);
  115750. },
  115751. visitCssComment$1(node) {
  115752. this._serialize0$_buffer.forSpan$2(node.span, new A._SerializeVisitor_visitCssComment_closure0(this, node));
  115753. },
  115754. visitCssAtRule$1(node) {
  115755. var t1, _this = this;
  115756. _this._serialize0$_writeIndentation$0();
  115757. t1 = _this._serialize0$_buffer;
  115758. t1.forSpan$2(node.span, new A._SerializeVisitor_visitCssAtRule_closure0(_this, node));
  115759. if (!node.isChildless) {
  115760. if (_this._serialize0$_style !== B.OutputStyle_10)
  115761. t1.writeCharCode$1(32);
  115762. _this._serialize0$_visitChildren$1(node);
  115763. }
  115764. },
  115765. visitCssMediaRule$1(node) {
  115766. var t1, _this = this;
  115767. _this._serialize0$_writeIndentation$0();
  115768. t1 = _this._serialize0$_buffer;
  115769. t1.forSpan$2(node.span, new A._SerializeVisitor_visitCssMediaRule_closure0(_this, node));
  115770. if (_this._serialize0$_style !== B.OutputStyle_10)
  115771. t1.writeCharCode$1(32);
  115772. _this._serialize0$_visitChildren$1(node);
  115773. },
  115774. visitCssImport$1(node) {
  115775. this._serialize0$_writeIndentation$0();
  115776. this._serialize0$_buffer.forSpan$2(node.span, new A._SerializeVisitor_visitCssImport_closure0(this, node));
  115777. },
  115778. _serialize0$_writeImportUrl$1(url) {
  115779. var urlContents, maybeQuote, _this = this;
  115780. if (_this._serialize0$_style !== B.OutputStyle_10 || url.charCodeAt(0) !== 117) {
  115781. _this._serialize0$_buffer.write$1(0, url);
  115782. return;
  115783. }
  115784. urlContents = B.JSString_methods.substring$2(url, 4, url.length - 1);
  115785. maybeQuote = urlContents.charCodeAt(0);
  115786. if (maybeQuote === 39 || maybeQuote === 34)
  115787. _this._serialize0$_buffer.write$1(0, urlContents);
  115788. else
  115789. _this._serialize0$_visitQuotedString$1(urlContents);
  115790. },
  115791. visitCssKeyframeBlock$1(node) {
  115792. var t1, _this = this;
  115793. _this._serialize0$_writeIndentation$0();
  115794. t1 = _this._serialize0$_buffer;
  115795. t1.forSpan$2(node.selector.span, new A._SerializeVisitor_visitCssKeyframeBlock_closure0(_this, node));
  115796. if (_this._serialize0$_style !== B.OutputStyle_10)
  115797. t1.writeCharCode$1(32);
  115798. _this._serialize0$_visitChildren$1(node);
  115799. },
  115800. _serialize0$_visitMediaQuery$1(query) {
  115801. var t1, _1_0, _2_0, condition, operator, t2, _this = this,
  115802. _0_0 = query.modifier;
  115803. if (_0_0 != null) {
  115804. t1 = _this._serialize0$_buffer;
  115805. t1.write$1(0, _0_0);
  115806. t1.writeCharCode$1(32);
  115807. }
  115808. _1_0 = query.type;
  115809. if (_1_0 != null) {
  115810. t1 = _this._serialize0$_buffer;
  115811. t1.write$1(0, _1_0);
  115812. if (query.conditions.length !== 0)
  115813. t1.write$1(0, " and ");
  115814. }
  115815. _2_0 = query.conditions;
  115816. if (_2_0.length === 1)
  115817. t1 = B.JSString_methods.startsWith$1(_2_0[0], "(not ");
  115818. else
  115819. t1 = false;
  115820. if (t1) {
  115821. t1 = _this._serialize0$_buffer;
  115822. t1.write$1(0, "not ");
  115823. condition = B.JSArray_methods.get$first(_2_0);
  115824. t1.write$1(0, B.JSString_methods.substring$2(condition, 5, condition.length - 1));
  115825. } else {
  115826. operator = query.conjunction ? "and" : "or";
  115827. t1 = _this._serialize0$_style === B.OutputStyle_10 ? operator + " " : " " + operator + " ";
  115828. t2 = _this._serialize0$_buffer;
  115829. _this._serialize0$_writeBetween$3(_2_0, t1, t2.get$write(t2));
  115830. }
  115831. },
  115832. visitCssStyleRule$1(node) {
  115833. var t1, _this = this;
  115834. _this._serialize0$_writeIndentation$0();
  115835. t1 = _this._serialize0$_buffer;
  115836. t1.forSpan$2(node._style_rule0$_selector._box0$_inner.value.span, new A._SerializeVisitor_visitCssStyleRule_closure0(_this, node));
  115837. if (_this._serialize0$_style !== B.OutputStyle_10)
  115838. t1.writeCharCode$1(32);
  115839. _this._serialize0$_visitChildren$1(node);
  115840. },
  115841. visitCssSupportsRule$1(node) {
  115842. var t1, _this = this;
  115843. _this._serialize0$_writeIndentation$0();
  115844. t1 = _this._serialize0$_buffer;
  115845. t1.forSpan$2(node.span, new A._SerializeVisitor_visitCssSupportsRule_closure0(_this, node));
  115846. if (_this._serialize0$_style !== B.OutputStyle_10)
  115847. t1.writeCharCode$1(32);
  115848. _this._serialize0$_visitChildren$1(node);
  115849. },
  115850. visitCssDeclaration$1(node) {
  115851. var error, stackTrace, error0, stackTrace0, t3, declSpecificities, t4, t5, t6, t7, _i, rule, ruleSpecificities, exception, _this = this,
  115852. t1 = node.interleavedRules,
  115853. t2 = t1.length;
  115854. if (t2 !== 0) {
  115855. t3 = node._node$_parent;
  115856. t3.toString;
  115857. declSpecificities = _this._serialize0$_specificities$1(t3);
  115858. for (t3 = _this._serialize0$_logger, t4 = node.span, t5 = type$.SourceSpan, t6 = type$.String, t7 = node.trace, _i = 0; _i < t2; ++_i) {
  115859. rule = t1[_i];
  115860. ruleSpecificities = _this._serialize0$_specificities$1(rule);
  115861. if (!declSpecificities.any$1(0, ruleSpecificities.get$contains(ruleSpecificities)))
  115862. continue;
  115863. A.WarnForDeprecation_warnForDeprecation0(t3, B.Deprecation_MSr, string$.Sassx27s, new A.MultiSpan0(t4, "declaration", A.ConstantMap_ConstantMap$from(A.LinkedHashMap_LinkedHashMap$_literal([rule.span, "nested rule"], t5, t6), t5, t6)), t7);
  115864. }
  115865. }
  115866. _this._serialize0$_writeIndentation$0();
  115867. t1 = node.name;
  115868. _this._serialize0$_write$1(t1);
  115869. t2 = _this._serialize0$_buffer;
  115870. t2.writeCharCode$1(58);
  115871. if (J.startsWith$1$s(t1.value, "--") && node.parsedAsCustomProperty)
  115872. t2.forSpan$2(node.value.span, new A._SerializeVisitor_visitCssDeclaration_closure1(_this, node));
  115873. else {
  115874. if (_this._serialize0$_style !== B.OutputStyle_10)
  115875. t2.writeCharCode$1(32);
  115876. try {
  115877. t2.forSpan$2(node.valueSpanForMap, new A._SerializeVisitor_visitCssDeclaration_closure2(_this, node));
  115878. } catch (exception) {
  115879. t1 = A.unwrapException(exception);
  115880. if (t1 instanceof A.MultiSpanSassScriptException0) {
  115881. error = t1;
  115882. stackTrace = A.getTraceFromException(exception);
  115883. A.throwWithTrace0(A.MultiSpanSassException$0(error.message, node.value.span, error.primaryLabel, error.secondarySpans, null), error, stackTrace);
  115884. } else if (t1 instanceof A.SassScriptException0) {
  115885. error0 = t1;
  115886. stackTrace0 = A.getTraceFromException(exception);
  115887. t1 = error0.message;
  115888. A.throwWithTrace0(new A.SassException0(B.Set_empty, t1, node.value.span), error0, stackTrace0);
  115889. } else
  115890. throw exception;
  115891. }
  115892. }
  115893. },
  115894. _serialize0$_specificities$1(node) {
  115895. var $parent, t2, t3, _i,
  115896. t1 = this.get$_serialize0$_specificities();
  115897. if (node instanceof A.ModifiableCssStyleRule0) {
  115898. t1 = A.NullableExtension_andThen0(node._node$_parent, t1);
  115899. $parent = t1 == null ? null : A.IterableIntegerExtension_get_max(t1);
  115900. if ($parent == null)
  115901. $parent = 0;
  115902. t1 = A.LinkedHashSet_LinkedHashSet$_empty(type$.int);
  115903. for (t2 = node._style_rule0$_selector._box0$_inner.value.components, t3 = t2.length, _i = 0; _i < t3; ++_i)
  115904. t1.add$1(0, $parent + t2[_i].get$specificity());
  115905. return t1;
  115906. } else {
  115907. t1 = A.NullableExtension_andThen0(node.get$parent(node), t1);
  115908. return t1 == null ? B.Set_WDSXk : t1;
  115909. }
  115910. },
  115911. _serialize0$_writeFoldedValue$1(node) {
  115912. var t1, t2, next, t3,
  115913. scanner = A.StringScanner$(type$.SassString_2._as(node.value.value)._string0$_text, null, null);
  115914. for (t1 = scanner.string.length, t2 = this._serialize0$_buffer; scanner._string_scanner$_position !== t1;) {
  115915. next = scanner.readChar$0();
  115916. if (next !== 10) {
  115917. t2.writeCharCode$1(next);
  115918. continue;
  115919. }
  115920. t2.writeCharCode$1(32);
  115921. while (true) {
  115922. t3 = scanner.peekChar$0();
  115923. if (!(t3 === 32 || t3 === 9 || t3 === 10 || t3 === 13 || t3 === 12))
  115924. break;
  115925. scanner.readChar$0();
  115926. }
  115927. }
  115928. },
  115929. _serialize0$_writeReindentedValue$1(node) {
  115930. var _0_0, t1, _this = this,
  115931. value = type$.SassString_2._as(node.value.value)._string0$_text;
  115932. $label0$0: {
  115933. _0_0 = _this._serialize0$_minimumIndentation$1(value);
  115934. if (_0_0 == null) {
  115935. _this._serialize0$_buffer.write$1(0, value);
  115936. break $label0$0;
  115937. }
  115938. if (-1 === _0_0) {
  115939. t1 = _this._serialize0$_buffer;
  115940. t1.write$1(0, A.trimAsciiRight0(value, true));
  115941. t1.writeCharCode$1(32);
  115942. break $label0$0;
  115943. }
  115944. t1 = node.name.span;
  115945. t1 = t1.get$start(t1);
  115946. _this._serialize0$_writeWithIndent$2(value, Math.min(_0_0, t1.file.getColumn$1(t1.offset)));
  115947. }
  115948. },
  115949. _serialize0$_minimumIndentation$1(text) {
  115950. var character, t2, min, next, min0,
  115951. scanner = A.LineScanner$(text),
  115952. t1 = scanner.string.length;
  115953. while (true) {
  115954. if (scanner._string_scanner$_position !== t1) {
  115955. character = scanner.super$StringScanner$readChar();
  115956. scanner._adjustLineAndColumn$1(character);
  115957. t2 = character !== 10;
  115958. } else
  115959. t2 = false;
  115960. if (!t2)
  115961. break;
  115962. }
  115963. if (scanner._string_scanner$_position === t1)
  115964. return scanner.peekChar$1(-1) === 10 ? -1 : null;
  115965. for (min = null; scanner._string_scanner$_position !== t1;) {
  115966. for (; scanner._string_scanner$_position !== t1;) {
  115967. next = scanner.peekChar$0();
  115968. if (next !== 32 && next !== 9)
  115969. break;
  115970. scanner._adjustLineAndColumn$1(scanner.super$StringScanner$readChar());
  115971. }
  115972. if (scanner._string_scanner$_position === t1 || scanner.scanChar$1(10))
  115973. continue;
  115974. min0 = scanner._line_scanner$_column;
  115975. min = min == null ? min0 : Math.min(min, min0);
  115976. while (true) {
  115977. if (scanner._string_scanner$_position !== t1) {
  115978. character = scanner.super$StringScanner$readChar();
  115979. scanner._adjustLineAndColumn$1(character);
  115980. t2 = character !== 10;
  115981. } else
  115982. t2 = false;
  115983. if (!t2)
  115984. break;
  115985. }
  115986. }
  115987. return min == null ? -1 : min;
  115988. },
  115989. _serialize0$_writeWithIndent$2(text, minimumIndentation) {
  115990. var t1, t2, t3, character, lineStart, newlines, end,
  115991. scanner = A.LineScanner$(text);
  115992. for (t1 = scanner.string, t2 = t1.length, t3 = this._serialize0$_buffer; scanner._string_scanner$_position !== t2;) {
  115993. character = scanner.super$StringScanner$readChar();
  115994. scanner._adjustLineAndColumn$1(character);
  115995. if (character === 10)
  115996. break;
  115997. t3.writeCharCode$1(character);
  115998. }
  115999. for (; true;) {
  116000. lineStart = scanner._string_scanner$_position;
  116001. for (newlines = 1; true;) {
  116002. if (scanner._string_scanner$_position === t2) {
  116003. t3.writeCharCode$1(32);
  116004. return;
  116005. }
  116006. $label0$2: {
  116007. character = scanner.super$StringScanner$readChar();
  116008. scanner._adjustLineAndColumn$1(character);
  116009. if (32 === character || 9 === character)
  116010. continue;
  116011. if (10 === character) {
  116012. lineStart = scanner._string_scanner$_position;
  116013. ++newlines;
  116014. break $label0$2;
  116015. }
  116016. break;
  116017. }
  116018. }
  116019. this._serialize0$_writeTimes$2(10, newlines);
  116020. this._serialize0$_writeIndentation$0();
  116021. end = scanner._string_scanner$_position;
  116022. t3.write$1(0, B.JSString_methods.substring$2(t1, lineStart + minimumIndentation, end));
  116023. for (; true;) {
  116024. if (scanner._string_scanner$_position === t2)
  116025. return;
  116026. character = scanner.super$StringScanner$readChar();
  116027. scanner._adjustLineAndColumn$1(character);
  116028. if (character === 10)
  116029. break;
  116030. t3.writeCharCode$1(character);
  116031. }
  116032. }
  116033. },
  116034. visitCalculation$1(value) {
  116035. var t2, _this = this,
  116036. t1 = _this._serialize0$_buffer;
  116037. t1.write$1(0, value.name);
  116038. t1.writeCharCode$1(40);
  116039. t2 = _this._serialize0$_style === B.OutputStyle_10 ? "," : ", ";
  116040. _this._serialize0$_writeBetween$3(value.$arguments, t2, _this.get$_serialize0$_writeCalculationValue());
  116041. t1.writeCharCode$1(41);
  116042. },
  116043. _serialize0$_writeCalculationValue$1(value) {
  116044. var _2_4_isSet, _2_4, t1, _0_0, _1_0, first, rest, left, right, operator, parenthesizeLeft, operatorWhitespace, parenthesizeRight, t2, _this = this, _null = null;
  116045. $label1$1: {
  116046. _2_4_isSet = value instanceof A.SassNumber0;
  116047. if (_2_4_isSet) {
  116048. _2_4 = value.get$hasComplexUnits();
  116049. t1 = _2_4;
  116050. t1 = t1 && !_this._serialize0$_inspect;
  116051. } else {
  116052. _2_4 = _null;
  116053. t1 = false;
  116054. }
  116055. if (t1)
  116056. throw A.wrapException(A.SassScriptException$0(value.toString$0(0) + " isn't a valid CSS value.", _null));
  116057. if (_2_4_isSet && !isFinite(value._number1$_value)) {
  116058. $label0$0: {
  116059. _0_0 = value._number1$_value;
  116060. if (1 / 0 === _0_0) {
  116061. _this._serialize0$_buffer.write$1(0, "infinity");
  116062. break $label0$0;
  116063. }
  116064. if (-1 / 0 === _0_0) {
  116065. _this._serialize0$_buffer.write$1(0, "-infinity");
  116066. break $label0$0;
  116067. }
  116068. if (isNaN(_0_0))
  116069. _this._serialize0$_buffer.write$1(0, "NaN");
  116070. }
  116071. _this._serialize0$_writeCalculationUnits$2(value.get$numeratorUnits(value), value.get$denominatorUnits(value));
  116072. break $label1$1;
  116073. }
  116074. if (_2_4_isSet)
  116075. t1 = _2_4;
  116076. else
  116077. t1 = false;
  116078. if (t1) {
  116079. _this._serialize0$_writeNumber$1(value._number1$_value);
  116080. _1_0 = value.get$numeratorUnits(value);
  116081. if (_1_0.length >= 1) {
  116082. first = _1_0[0];
  116083. rest = B.JSArray_methods.sublist$1(_1_0, 1);
  116084. _this._serialize0$_buffer.write$1(0, first);
  116085. _this._serialize0$_writeCalculationUnits$2(rest, value.get$denominatorUnits(value));
  116086. } else
  116087. _this._serialize0$_writeCalculationUnits$2(A._setArrayType([], type$.JSArray_String), value.get$denominatorUnits(value));
  116088. break $label1$1;
  116089. }
  116090. if (value instanceof A.Value0) {
  116091. value.accept$1(_this);
  116092. break $label1$1;
  116093. }
  116094. t1 = value instanceof A.CalculationOperation0;
  116095. left = _null;
  116096. right = _null;
  116097. if (t1) {
  116098. operator = value._calculation0$_operator;
  116099. left = value._calculation0$_left;
  116100. right = value._calculation0$_right;
  116101. right = right;
  116102. } else
  116103. operator = _null;
  116104. if (t1) {
  116105. parenthesizeLeft = left instanceof A.CalculationOperation0 && left._calculation0$_operator.precedence < operator.precedence;
  116106. if (parenthesizeLeft)
  116107. _this._serialize0$_buffer.writeCharCode$1(40);
  116108. _this._serialize0$_writeCalculationValue$1(left);
  116109. if (parenthesizeLeft)
  116110. _this._serialize0$_buffer.writeCharCode$1(41);
  116111. operatorWhitespace = _this._serialize0$_style !== B.OutputStyle_10 || operator.precedence === 1;
  116112. if (operatorWhitespace)
  116113. _this._serialize0$_buffer.writeCharCode$1(32);
  116114. t1 = _this._serialize0$_buffer;
  116115. t1.write$1(0, operator.operator);
  116116. if (operatorWhitespace)
  116117. t1.writeCharCode$1(32);
  116118. if (!(right instanceof A.CalculationOperation0 && _this._serialize0$_parenthesizeCalculationRhs$2(operator, right._calculation0$_operator))) {
  116119. parenthesizeRight = false;
  116120. if (operator === B.CalculationOperator_bo50) {
  116121. if (right instanceof A.SassNumber0)
  116122. t2 = isFinite(right._number1$_value) ? right.get$hasComplexUnits() : right.get$hasUnits();
  116123. else
  116124. t2 = parenthesizeRight;
  116125. parenthesizeRight = t2;
  116126. }
  116127. } else
  116128. parenthesizeRight = true;
  116129. if (parenthesizeRight)
  116130. t1.writeCharCode$1(40);
  116131. _this._serialize0$_writeCalculationValue$1(right);
  116132. if (parenthesizeRight)
  116133. t1.writeCharCode$1(41);
  116134. }
  116135. }
  116136. },
  116137. _serialize0$_writeCalculationUnits$2(numeratorUnits, denominatorUnits) {
  116138. var t1, t2, t3, t4;
  116139. for (t1 = J.get$iterator$ax(numeratorUnits), t2 = this._serialize0$_buffer, t3 = this._serialize0$_style !== B.OutputStyle_10; t1.moveNext$0();) {
  116140. t4 = t1.get$current(t1);
  116141. if (t3)
  116142. t2.writeCharCode$1(32);
  116143. t2.writeCharCode$1(42);
  116144. if (t3)
  116145. t2.writeCharCode$1(32);
  116146. t2.writeCharCode$1(49);
  116147. t2.write$1(0, t4);
  116148. }
  116149. for (t1 = J.get$iterator$ax(denominatorUnits); t1.moveNext$0();) {
  116150. t4 = t1.get$current(t1);
  116151. if (t3)
  116152. t2.writeCharCode$1(32);
  116153. t2.writeCharCode$1(47);
  116154. if (t3)
  116155. t2.writeCharCode$1(32);
  116156. t2.writeCharCode$1(49);
  116157. t2.write$1(0, t4);
  116158. }
  116159. },
  116160. _serialize0$_parenthesizeCalculationRhs$2(outer, right) {
  116161. var t1;
  116162. $label0$0: {
  116163. if (B.CalculationOperator_bo50 === outer) {
  116164. t1 = true;
  116165. break $label0$0;
  116166. }
  116167. if (B.CalculationOperator_F7i0 === outer) {
  116168. t1 = false;
  116169. break $label0$0;
  116170. }
  116171. t1 = right === B.CalculationOperator_F7i0 || right === B.CalculationOperator_oum0;
  116172. break $label0$0;
  116173. }
  116174. return t1;
  116175. },
  116176. visitColor$1(value) {
  116177. var _0_0, _0_2, _0_6, t1, _0_4, _0_6_isSet, t2, _0_10_isSet, _0_10, _0_12_isSet, _0_14, _0_12, _0_14_isSet, t3, _0_10_isSet0, polar, t4, t5, _this = this, _null = null;
  116178. $label0$0: {
  116179. _0_0 = value._color0$_space;
  116180. _0_2 = B.RgbColorSpace_i0P0 === _0_0;
  116181. _0_6 = _null;
  116182. t1 = true;
  116183. if (!_0_2) {
  116184. _0_4 = B.HslColorSpace_JQ20 === _0_0;
  116185. _0_6_isSet = !_0_4;
  116186. if (_0_6_isSet) {
  116187. _0_6 = B.HwbColorSpace_guQ0 === _0_0;
  116188. t1 = _0_6;
  116189. }
  116190. } else {
  116191. _0_4 = _null;
  116192. _0_6_isSet = false;
  116193. }
  116194. if (t1 && value.channel0OrNull != null && value.channel1OrNull != null && value.channel2OrNull != null && value.alphaOrNull != null) {
  116195. _this._serialize0$_writeLegacyColor$1(value);
  116196. break $label0$0;
  116197. }
  116198. if (_0_2) {
  116199. t1 = _this._serialize0$_buffer;
  116200. t1.write$1(0, "rgb(");
  116201. _this._serialize0$_writeChannel$1(value.channel0OrNull);
  116202. t1.writeCharCode$1(32);
  116203. _this._serialize0$_writeChannel$1(value.channel1OrNull);
  116204. t1.writeCharCode$1(32);
  116205. _this._serialize0$_writeChannel$1(value.channel2OrNull);
  116206. _this._serialize0$_maybeWriteSlashAlpha$1(value);
  116207. t1.writeCharCode$1(41);
  116208. break $label0$0;
  116209. }
  116210. if (!_0_4)
  116211. t1 = _0_6_isSet ? _0_6 : B.HwbColorSpace_guQ0 === _0_0;
  116212. else
  116213. t1 = true;
  116214. if (t1) {
  116215. t1 = _this._serialize0$_buffer;
  116216. t1.write$1(0, _0_0);
  116217. t1.writeCharCode$1(40);
  116218. t2 = _this._serialize0$_style === B.OutputStyle_10 ? _null : "deg";
  116219. _this._serialize0$_writeChannel$2(value.channel0OrNull, t2);
  116220. t1.writeCharCode$1(32);
  116221. _this._serialize0$_writeChannel$2(value.channel1OrNull, "%");
  116222. t1.writeCharCode$1(32);
  116223. _this._serialize0$_writeChannel$2(value.channel2OrNull, "%");
  116224. _this._serialize0$_maybeWriteSlashAlpha$1(value);
  116225. t1.writeCharCode$1(41);
  116226. break $label0$0;
  116227. }
  116228. _0_10_isSet = B.LabColorSpace_2nT0 !== _0_0;
  116229. if (_0_10_isSet) {
  116230. _0_10 = B.LchColorSpace_Bpv0 === _0_0;
  116231. t1 = _0_10;
  116232. } else {
  116233. _0_10 = _null;
  116234. t1 = true;
  116235. }
  116236. t2 = false;
  116237. if (t1)
  116238. if (!_this._serialize0$_inspect) {
  116239. t1 = value.channel0OrNull;
  116240. if (t1 == null)
  116241. t1 = 0;
  116242. if (t1 > 0 || A.fuzzyEquals0(t1, 0))
  116243. t1 = t1 < 100 || A.fuzzyEquals0(t1, 100);
  116244. else
  116245. t1 = false;
  116246. t1 = !t1 && value.channel1OrNull != null && value.channel2OrNull != null;
  116247. } else
  116248. t1 = t2;
  116249. else
  116250. t1 = t2;
  116251. _0_12_isSet = !t1;
  116252. _0_14 = _null;
  116253. if (_0_12_isSet) {
  116254. _0_12 = B.OklabColorSpace_5400 === _0_0;
  116255. t1 = false;
  116256. _0_14_isSet = !_0_12;
  116257. if (_0_14_isSet) {
  116258. _0_14 = B.OklchColorSpace_9Gj0 === _0_0;
  116259. t2 = _0_14;
  116260. } else
  116261. t2 = true;
  116262. t3 = false;
  116263. if (t2)
  116264. if (!_this._serialize0$_inspect) {
  116265. t2 = value.channel0OrNull;
  116266. if (t2 == null)
  116267. t2 = 0;
  116268. if (t2 > 0 || A.fuzzyEquals0(t2, 0))
  116269. t2 = t2 < 1 || A.fuzzyEquals0(t2, 1);
  116270. else
  116271. t2 = false;
  116272. t2 = !t2 && value.channel1OrNull != null && value.channel2OrNull != null;
  116273. } else
  116274. t2 = t3;
  116275. else
  116276. t2 = t3;
  116277. if (!t2) {
  116278. if (_0_10_isSet) {
  116279. t2 = _0_10;
  116280. _0_10_isSet0 = _0_10_isSet;
  116281. } else {
  116282. _0_10 = B.LchColorSpace_Bpv0 === _0_0;
  116283. t2 = _0_10;
  116284. _0_10_isSet0 = true;
  116285. }
  116286. if (!t2)
  116287. if (_0_14_isSet)
  116288. t2 = _0_14;
  116289. else {
  116290. _0_14 = B.OklchColorSpace_9Gj0 === _0_0;
  116291. t2 = _0_14;
  116292. _0_14_isSet = true;
  116293. }
  116294. else
  116295. t2 = true;
  116296. if (t2)
  116297. if (!_this._serialize0$_inspect) {
  116298. t1 = value.channel1OrNull;
  116299. t2 = t1 == null;
  116300. if (t2)
  116301. t1 = 0;
  116302. t1 = t1 < 0 && !A.fuzzyEquals0(t1, 0) && value.channel0OrNull != null && !t2;
  116303. }
  116304. } else {
  116305. _0_10_isSet0 = _0_10_isSet;
  116306. t1 = true;
  116307. }
  116308. } else {
  116309. _0_12 = _null;
  116310. _0_10_isSet0 = _0_10_isSet;
  116311. _0_14_isSet = false;
  116312. t1 = true;
  116313. }
  116314. if (t1) {
  116315. t1 = _this._serialize0$_buffer;
  116316. t1.write$1(0, "color-mix(in ");
  116317. t1.write$1(0, _0_0);
  116318. t2 = _this._serialize0$_style === B.OutputStyle_10;
  116319. t1.write$1(0, t2 ? "," : ", ");
  116320. _this._serialize0$_writeColorFunction$1(value.toSpace$1(B.XyzD65ColorSpace_WiJ0));
  116321. if (!t2)
  116322. t1.writeCharCode$1(32);
  116323. t1.write$1(0, "100%");
  116324. t1.write$1(0, t2 ? "," : ", ");
  116325. t1.write$1(0, t2 ? "red" : "black");
  116326. t1.writeCharCode$1(41);
  116327. break $label0$0;
  116328. }
  116329. t1 = true;
  116330. if (_0_10_isSet)
  116331. if (!(_0_12_isSet ? _0_12 : B.OklabColorSpace_5400 === _0_0))
  116332. if (!(_0_10_isSet0 ? _0_10 : B.LchColorSpace_Bpv0 === _0_0))
  116333. t1 = _0_14_isSet ? _0_14 : B.OklchColorSpace_9Gj0 === _0_0;
  116334. if (t1) {
  116335. t1 = _this._serialize0$_buffer;
  116336. t1.write$1(0, _0_0);
  116337. t1.writeCharCode$1(40);
  116338. t2 = _0_0._space$_channels;
  116339. polar = t2[2].isPolarAngle;
  116340. t3 = false;
  116341. if (!_this._serialize0$_inspect) {
  116342. t4 = value.channel0OrNull;
  116343. if (t4 == null)
  116344. t4 = 0;
  116345. if (t4 > 0 || A.fuzzyEquals0(t4, 0))
  116346. t4 = t4 < 100 || A.fuzzyEquals0(t4, 100);
  116347. else
  116348. t4 = false;
  116349. if (t4) {
  116350. if (polar) {
  116351. t3 = value.channel1OrNull;
  116352. if (t3 == null)
  116353. t3 = 0;
  116354. t3 = t3 < 0 && !A.fuzzyEquals0(t3, 0);
  116355. }
  116356. } else
  116357. t3 = true;
  116358. }
  116359. if (t3) {
  116360. t1.write$1(0, "from ");
  116361. t1.write$1(0, _this._serialize0$_style === B.OutputStyle_10 ? "red" : "black");
  116362. t1.writeCharCode$1(32);
  116363. }
  116364. t3 = _this._serialize0$_style !== B.OutputStyle_10;
  116365. t4 = t3 && value.channel0OrNull != null;
  116366. t5 = value.channel0OrNull;
  116367. if (t4) {
  116368. t2 = type$.LinearChannel_2._as(t2[0]);
  116369. _this._serialize0$_writeNumber$1((t5 == null ? 0 : t5) * 100 / t2.max);
  116370. t1.writeCharCode$1(37);
  116371. } else
  116372. _this._serialize0$_writeChannel$1(t5);
  116373. t1.writeCharCode$1(32);
  116374. _this._serialize0$_writeChannel$1(value.channel1OrNull);
  116375. t1.writeCharCode$1(32);
  116376. t2 = polar && t3 ? "deg" : _null;
  116377. _this._serialize0$_writeChannel$2(value.channel2OrNull, t2);
  116378. _this._serialize0$_maybeWriteSlashAlpha$1(value);
  116379. t1.writeCharCode$1(41);
  116380. break $label0$0;
  116381. }
  116382. _this._serialize0$_writeColorFunction$1(value);
  116383. }
  116384. },
  116385. _serialize0$_writeChannel$2(channel, unit) {
  116386. var _this = this;
  116387. if (channel == null)
  116388. _this._serialize0$_buffer.write$1(0, "none");
  116389. else if (isFinite(channel)) {
  116390. _this._serialize0$_writeNumber$1(channel);
  116391. if (unit != null)
  116392. _this._serialize0$_buffer.write$1(0, unit);
  116393. } else
  116394. _this.visitNumber$1(A.SassNumber_SassNumber0(channel, unit));
  116395. },
  116396. _serialize0$_writeChannel$1(channel) {
  116397. return this._serialize0$_writeChannel$2(channel, null);
  116398. },
  116399. _serialize0$_writeLegacyColor$1(color) {
  116400. var rgb, t3, red, green, blue, hsl, hue, saturation, lightness, hwb, _0_0, format, _1_0, _this = this,
  116401. t1 = color.alphaOrNull,
  116402. t2 = t1 == null,
  116403. opaque = A.fuzzyEquals0(t2 ? 0 : t1, 1);
  116404. if (!color.get$isInGamut() && !_this._serialize0$_inspect) {
  116405. _this._serialize0$_writeHsl$1(color);
  116406. return;
  116407. }
  116408. if (_this._serialize0$_style === B.OutputStyle_10) {
  116409. rgb = color.toSpace$1(B.RgbColorSpace_i0P0);
  116410. if (opaque && _this._serialize0$_tryIntegerRgb$1(rgb))
  116411. return;
  116412. t3 = rgb.channel0OrNull;
  116413. red = _this._serialize0$_writeNumberToString$1(t3 == null ? 0 : t3);
  116414. t3 = rgb.channel1OrNull;
  116415. green = _this._serialize0$_writeNumberToString$1(t3 == null ? 0 : t3);
  116416. t3 = rgb.channel2OrNull;
  116417. blue = _this._serialize0$_writeNumberToString$1(t3 == null ? 0 : t3);
  116418. hsl = color.toSpace$1(B.HslColorSpace_JQ20);
  116419. t3 = hsl.channel0OrNull;
  116420. hue = _this._serialize0$_writeNumberToString$1(t3 == null ? 0 : t3);
  116421. t3 = hsl.channel1OrNull;
  116422. saturation = _this._serialize0$_writeNumberToString$1(t3 == null ? 0 : t3);
  116423. t3 = hsl.channel2OrNull;
  116424. lightness = _this._serialize0$_writeNumberToString$1(t3 == null ? 0 : t3);
  116425. t3 = _this._serialize0$_buffer;
  116426. if (red.length + green.length + blue.length <= hue.length + saturation.length + lightness.length + 2) {
  116427. t3.write$1(0, opaque ? "rgb(" : "rgba(");
  116428. t3.write$1(0, red);
  116429. t3.writeCharCode$1(44);
  116430. t3.write$1(0, green);
  116431. t3.writeCharCode$1(44);
  116432. t3.write$1(0, blue);
  116433. } else {
  116434. t3.write$1(0, opaque ? "hsl(" : "hsla(");
  116435. t3.write$1(0, hue);
  116436. t3.writeCharCode$1(44);
  116437. t3.write$1(0, saturation);
  116438. t3.write$1(0, "%,");
  116439. t3.write$1(0, lightness);
  116440. t3.writeCharCode$1(37);
  116441. }
  116442. if (!opaque) {
  116443. t3.writeCharCode$1(44);
  116444. _this._serialize0$_writeNumber$1(t2 ? 0 : t1);
  116445. }
  116446. t3.writeCharCode$1(41);
  116447. return;
  116448. }
  116449. t3 = color._color0$_space;
  116450. if (t3 === B.HslColorSpace_JQ20) {
  116451. _this._serialize0$_writeHsl$1(color);
  116452. return;
  116453. } else if (_this._serialize0$_inspect && t3 === B.HwbColorSpace_guQ0) {
  116454. t3 = _this._serialize0$_buffer;
  116455. t3.write$1(0, "hwb(");
  116456. hwb = color.toSpace$1(B.HwbColorSpace_guQ0);
  116457. _this._serialize0$_writeNumber$1(hwb.channel$1(0, "hue"));
  116458. t3.writeCharCode$1(32);
  116459. _this._serialize0$_writeNumber$1(hwb.channel$1(0, "whiteness"));
  116460. t3.writeCharCode$1(37);
  116461. t3.writeCharCode$1(32);
  116462. _this._serialize0$_writeNumber$1(hwb.channel$1(0, "blackness"));
  116463. t3.writeCharCode$1(37);
  116464. if (!A.fuzzyEquals0(t2 ? 0 : t1, 1)) {
  116465. t3.write$1(0, " / ");
  116466. _this._serialize0$_writeNumber$1(t2 ? 0 : t1);
  116467. }
  116468. t3.writeCharCode$1(41);
  116469. return;
  116470. }
  116471. _0_0 = color.format;
  116472. if (B.C__ColorFormatEnum0 === _0_0) {
  116473. _this._serialize0$_writeRgb$1(color);
  116474. return;
  116475. }
  116476. t1 = _0_0 instanceof A.SpanColorFormat0;
  116477. format = t1 ? _0_0 : null;
  116478. if (t1) {
  116479. _this._serialize0$_buffer.write$1(0, format._color0$_span.get$text());
  116480. return;
  116481. }
  116482. if (opaque) {
  116483. rgb = color.toSpace$1(B.RgbColorSpace_i0P0);
  116484. _1_0 = $.$get$namesByColor0().$index(0, rgb);
  116485. if (_1_0 != null) {
  116486. _this._serialize0$_buffer.write$1(0, _1_0);
  116487. return;
  116488. }
  116489. if (_this._serialize0$_canUseHex$1(rgb)) {
  116490. _this._serialize0$_buffer.writeCharCode$1(35);
  116491. t1 = rgb.channel0OrNull;
  116492. _this._serialize0$_writeHexComponent$1(B.JSNumber_methods.round$0(t1 == null ? 0 : t1));
  116493. t1 = rgb.channel1OrNull;
  116494. _this._serialize0$_writeHexComponent$1(B.JSNumber_methods.round$0(t1 == null ? 0 : t1));
  116495. t1 = rgb.channel2OrNull;
  116496. _this._serialize0$_writeHexComponent$1(B.JSNumber_methods.round$0(t1 == null ? 0 : t1));
  116497. return;
  116498. }
  116499. }
  116500. if (t3 === B.HwbColorSpace_guQ0)
  116501. _this._serialize0$_writeHsl$1(color);
  116502. else
  116503. _this._serialize0$_writeRgb$1(color);
  116504. },
  116505. _serialize0$_tryIntegerRgb$1(rgb) {
  116506. var t1, redInt, greenInt, blueInt, shortHex, _0_0, t2, t3, $name, _this = this;
  116507. if (!_this._serialize0$_canUseHex$1(rgb))
  116508. return false;
  116509. t1 = rgb.channel0OrNull;
  116510. redInt = B.JSNumber_methods.round$0(t1 == null ? 0 : t1);
  116511. t1 = rgb.channel1OrNull;
  116512. greenInt = B.JSNumber_methods.round$0(t1 == null ? 0 : t1);
  116513. t1 = rgb.channel2OrNull;
  116514. blueInt = B.JSNumber_methods.round$0(t1 == null ? 0 : t1);
  116515. t1 = redInt & 15;
  116516. shortHex = t1 === B.JSInt_methods._shrOtherPositive$1(redInt, 4) && (greenInt & 15) === B.JSInt_methods._shrOtherPositive$1(greenInt, 4) && (blueInt & 15) === B.JSInt_methods._shrOtherPositive$1(blueInt, 4);
  116517. _0_0 = $.$get$namesByColor0().$index(0, rgb);
  116518. t2 = false;
  116519. if (_0_0 != null) {
  116520. t3 = _0_0.length;
  116521. t2 = t3 <= (shortHex ? 4 : 7);
  116522. $name = _0_0;
  116523. } else
  116524. $name = null;
  116525. if (t2)
  116526. _this._serialize0$_buffer.write$1(0, $name);
  116527. else {
  116528. t2 = _this._serialize0$_buffer;
  116529. if (shortHex) {
  116530. t2.writeCharCode$1(35);
  116531. t2.writeCharCode$1(A.hexCharFor0(t1));
  116532. t2.writeCharCode$1(A.hexCharFor0(greenInt & 15));
  116533. t2.writeCharCode$1(A.hexCharFor0(blueInt & 15));
  116534. } else {
  116535. t2.writeCharCode$1(35);
  116536. _this._serialize0$_writeHexComponent$1(redInt);
  116537. _this._serialize0$_writeHexComponent$1(greenInt);
  116538. _this._serialize0$_writeHexComponent$1(blueInt);
  116539. }
  116540. }
  116541. return true;
  116542. },
  116543. _serialize0$_canUseHex$1(rgb) {
  116544. var t2,
  116545. t1 = rgb.channel0OrNull;
  116546. if (t1 == null)
  116547. t1 = 0;
  116548. if (A.fuzzyIsInt0(t1))
  116549. t1 = (t1 > 0 || A.fuzzyEquals0(t1, 0)) && t1 < 256 && !A.fuzzyEquals0(t1, 256);
  116550. else
  116551. t1 = false;
  116552. t2 = false;
  116553. if (t1) {
  116554. t1 = rgb.channel1OrNull;
  116555. if (t1 == null)
  116556. t1 = 0;
  116557. if (A.fuzzyIsInt0(t1))
  116558. t1 = (t1 > 0 || A.fuzzyEquals0(t1, 0)) && t1 < 256 && !A.fuzzyEquals0(t1, 256);
  116559. else
  116560. t1 = false;
  116561. if (t1) {
  116562. t1 = rgb.channel2OrNull;
  116563. if (t1 == null)
  116564. t1 = 0;
  116565. if (A.fuzzyIsInt0(t1))
  116566. t1 = (t1 > 0 || A.fuzzyEquals0(t1, 0)) && t1 < 256 && !A.fuzzyEquals0(t1, 256);
  116567. else
  116568. t1 = t2;
  116569. } else
  116570. t1 = t2;
  116571. } else
  116572. t1 = t2;
  116573. return t1;
  116574. },
  116575. _serialize0$_writeRgb$1(color) {
  116576. var t4, _this = this,
  116577. t1 = color.alphaOrNull,
  116578. t2 = t1 == null,
  116579. opaque = A.fuzzyEquals0(t2 ? 0 : t1, 1),
  116580. rgb = color.toSpace$1(B.RgbColorSpace_i0P0),
  116581. t3 = _this._serialize0$_buffer;
  116582. t3.write$1(0, opaque ? "rgb(" : "rgba(");
  116583. _this._serialize0$_writeNumber$1(rgb.channel$1(0, "red"));
  116584. t4 = _this._serialize0$_style === B.OutputStyle_10;
  116585. t3.write$1(0, t4 ? "," : ", ");
  116586. _this._serialize0$_writeNumber$1(rgb.channel$1(0, "green"));
  116587. t3.write$1(0, t4 ? "," : ", ");
  116588. _this._serialize0$_writeNumber$1(rgb.channel$1(0, "blue"));
  116589. if (!opaque) {
  116590. t3.write$1(0, t4 ? "," : ", ");
  116591. _this._serialize0$_writeNumber$1(t2 ? 0 : t1);
  116592. }
  116593. t3.writeCharCode$1(41);
  116594. },
  116595. _serialize0$_writeHsl$1(color) {
  116596. var t4, _this = this,
  116597. t1 = color.alphaOrNull,
  116598. t2 = t1 == null,
  116599. opaque = A.fuzzyEquals0(t2 ? 0 : t1, 1),
  116600. hsl = color.toSpace$1(B.HslColorSpace_JQ20),
  116601. t3 = _this._serialize0$_buffer;
  116602. t3.write$1(0, opaque ? "hsl(" : "hsla(");
  116603. _this._serialize0$_writeChannel$1(hsl.channel$1(0, "hue"));
  116604. t4 = _this._serialize0$_style === B.OutputStyle_10;
  116605. t3.write$1(0, t4 ? "," : ", ");
  116606. _this._serialize0$_writeChannel$2(hsl.channel$1(0, "saturation"), "%");
  116607. t3.write$1(0, t4 ? "," : ", ");
  116608. _this._serialize0$_writeChannel$2(hsl.channel$1(0, "lightness"), "%");
  116609. if (!opaque) {
  116610. t3.write$1(0, t4 ? "," : ", ");
  116611. _this._serialize0$_writeNumber$1(t2 ? 0 : t1);
  116612. }
  116613. t3.writeCharCode$1(41);
  116614. },
  116615. _serialize0$_writeColorFunction$1(color) {
  116616. var _this = this,
  116617. t1 = _this._serialize0$_buffer;
  116618. t1.write$1(0, "color(");
  116619. t1.write$1(0, color._color0$_space);
  116620. t1.writeCharCode$1(32);
  116621. _this._serialize0$_writeBetween$3(color.get$channelsOrNull(), " ", _this.get$_serialize0$_writeChannel());
  116622. _this._serialize0$_maybeWriteSlashAlpha$1(color);
  116623. t1.writeCharCode$1(41);
  116624. },
  116625. _serialize0$_writeHexComponent$1(color) {
  116626. var t1 = this._serialize0$_buffer;
  116627. t1.writeCharCode$1(A.hexCharFor0(B.JSInt_methods._shrOtherPositive$1(color, 4)));
  116628. t1.writeCharCode$1(A.hexCharFor0(color & 15));
  116629. },
  116630. _serialize0$_maybeWriteSlashAlpha$1(color) {
  116631. var t2, t3, _this = this,
  116632. t1 = color.alphaOrNull;
  116633. if (A.fuzzyEquals0(t1 == null ? 0 : t1, 1))
  116634. return;
  116635. t2 = _this._serialize0$_style !== B.OutputStyle_10;
  116636. if (t2)
  116637. _this._serialize0$_buffer.writeCharCode$1(32);
  116638. t3 = _this._serialize0$_buffer;
  116639. t3.writeCharCode$1(47);
  116640. if (t2)
  116641. t3.writeCharCode$1(32);
  116642. _this._serialize0$_writeChannel$1(t1);
  116643. },
  116644. visitList$1(value) {
  116645. var t2, singleton, t3, t4, t5, _this = this,
  116646. t1 = value._list1$_hasBrackets;
  116647. if (t1)
  116648. _this._serialize0$_buffer.writeCharCode$1(91);
  116649. else if (value._list1$_contents.length === 0) {
  116650. if (!_this._serialize0$_inspect)
  116651. throw A.wrapException(A.SassScriptException$0("() isn't a valid CSS value.", null));
  116652. _this._serialize0$_buffer.write$1(0, "()");
  116653. return;
  116654. }
  116655. t2 = _this._serialize0$_inspect;
  116656. singleton = false;
  116657. if (t2)
  116658. if (value._list1$_contents.length === 1) {
  116659. t3 = value._list1$_separator;
  116660. t3 = t3 === B.ListSeparator_qVN0 || t3 === B.ListSeparator_bRz0;
  116661. singleton = t3;
  116662. }
  116663. if (singleton && !t1)
  116664. _this._serialize0$_buffer.writeCharCode$1(40);
  116665. t3 = value._list1$_contents;
  116666. t3 = t2 ? t3 : new A.WhereIterable(t3, new A._SerializeVisitor_visitList_closure2(), A._arrayInstanceType(t3)._eval$1("WhereIterable<1>"));
  116667. t4 = value._list1$_separator;
  116668. t5 = _this._serialize0$_separatorString$1(t4);
  116669. _this._serialize0$_writeBetween$3(t3, t5, t2 ? new A._SerializeVisitor_visitList_closure3(_this, value) : new A._SerializeVisitor_visitList_closure4(_this));
  116670. if (singleton) {
  116671. t2 = _this._serialize0$_buffer;
  116672. t2.write$1(0, t4.separator);
  116673. if (!t1)
  116674. t2.writeCharCode$1(41);
  116675. }
  116676. if (t1)
  116677. _this._serialize0$_buffer.writeCharCode$1(93);
  116678. },
  116679. _serialize0$_separatorString$1(separator) {
  116680. var t1;
  116681. $label0$0: {
  116682. if (B.ListSeparator_qVN0 === separator) {
  116683. t1 = this._serialize0$_style === B.OutputStyle_10 ? "," : ", ";
  116684. break $label0$0;
  116685. }
  116686. if (B.ListSeparator_bRz0 === separator) {
  116687. t1 = this._serialize0$_style === B.OutputStyle_10 ? "/" : " / ";
  116688. break $label0$0;
  116689. }
  116690. if (B.ListSeparator_qSL0 === separator) {
  116691. t1 = " ";
  116692. break $label0$0;
  116693. }
  116694. t1 = "";
  116695. break $label0$0;
  116696. }
  116697. return t1;
  116698. },
  116699. _serialize0$_elementNeedsParens$2(separator, value) {
  116700. var t1;
  116701. $label1$1: {
  116702. if (value instanceof A.SassList0 && value._list1$_contents.length > 1 && !value._list1$_hasBrackets) {
  116703. $label0$0: {
  116704. if (B.ListSeparator_qVN0 === separator) {
  116705. t1 = value._list1$_separator === B.ListSeparator_qVN0;
  116706. break $label0$0;
  116707. }
  116708. if (B.ListSeparator_bRz0 === separator) {
  116709. t1 = value._list1$_separator;
  116710. t1 = t1 === B.ListSeparator_qVN0 || t1 === B.ListSeparator_bRz0;
  116711. break $label0$0;
  116712. }
  116713. t1 = value._list1$_separator !== B.ListSeparator_undecided_null_undecided0;
  116714. break $label0$0;
  116715. }
  116716. break $label1$1;
  116717. }
  116718. t1 = false;
  116719. break $label1$1;
  116720. }
  116721. return t1;
  116722. },
  116723. visitMap$1(map) {
  116724. var t1, t2, _this = this;
  116725. if (!_this._serialize0$_inspect)
  116726. throw A.wrapException(A.SassScriptException$0(map.toString$0(0) + " isn't a valid CSS value.", null));
  116727. t1 = _this._serialize0$_buffer;
  116728. t1.writeCharCode$1(40);
  116729. t2 = map._map0$_contents;
  116730. _this._serialize0$_writeBetween$3(t2.get$entries(t2), ", ", new A._SerializeVisitor_visitMap_closure0(_this));
  116731. t1.writeCharCode$1(41);
  116732. },
  116733. _serialize0$_writeMapElement$1(value) {
  116734. var needsParens = value instanceof A.SassList0 && value._list1$_separator === B.ListSeparator_qVN0 && !value._list1$_hasBrackets;
  116735. if (needsParens)
  116736. this._serialize0$_buffer.writeCharCode$1(40);
  116737. value.accept$1(this);
  116738. if (needsParens)
  116739. this._serialize0$_buffer.writeCharCode$1(41);
  116740. },
  116741. visitNumber$1(value) {
  116742. var before, after, t1, _1_0, _this = this,
  116743. _0_0 = value.asSlash;
  116744. if (type$.Record_2_nullable_Object_and_nullable_Object._is(_0_0)) {
  116745. before = _0_0._0;
  116746. after = _0_0._1;
  116747. _this.visitNumber$1(before);
  116748. _this._serialize0$_buffer.writeCharCode$1(47);
  116749. _this.visitNumber$1(after);
  116750. return;
  116751. }
  116752. t1 = value._number1$_value;
  116753. if (!isFinite(t1)) {
  116754. _this.visitCalculation$1(new A.SassCalculation0("calc", A.List_List$unmodifiable(A._setArrayType([value], type$.JSArray_Object), type$.Object)));
  116755. return;
  116756. }
  116757. if (value.get$hasComplexUnits()) {
  116758. if (!_this._serialize0$_inspect)
  116759. throw A.wrapException(A.SassScriptException$0(value.toString$0(0) + " isn't a valid CSS value.", null));
  116760. _this.visitCalculation$1(new A.SassCalculation0("calc", A.List_List$unmodifiable(A._setArrayType([value], type$.JSArray_Object), type$.Object)));
  116761. } else {
  116762. _this._serialize0$_writeNumber$1(t1);
  116763. _1_0 = value.get$numeratorUnits(value);
  116764. if (_1_0.length === 1)
  116765. _this._serialize0$_buffer.write$1(0, _1_0[0]);
  116766. }
  116767. },
  116768. _serialize0$_writeNumberToString$1(number) {
  116769. var t1 = new A.StringBuffer("");
  116770. this._serialize0$_writeNumber$2(number, new A.NoSourceMapBuffer0(t1));
  116771. t1 = t1._contents;
  116772. return t1.charCodeAt(0) == 0 ? t1 : t1;
  116773. },
  116774. _serialize0$_writeNumber$2(number, buffer) {
  116775. var _0_0, text, _this = this;
  116776. if (buffer == null)
  116777. buffer = _this._serialize0$_buffer;
  116778. _0_0 = A.fuzzyAsInt0(number);
  116779. if (_0_0 != null) {
  116780. buffer.write$1(0, _this._serialize0$_removeExponent$1(B.JSInt_methods.toString$0(_0_0)));
  116781. return;
  116782. }
  116783. text = _this._serialize0$_removeExponent$1(B.JSNumber_methods.toString$0(number));
  116784. if (text.length < 12) {
  116785. buffer.write$1(0, _this._serialize0$_style === B.OutputStyle_10 && text.charCodeAt(0) === 48 ? B.JSString_methods.substring$1(text, 1) : text);
  116786. return;
  116787. }
  116788. _this._serialize0$_writeRounded$2(text, buffer);
  116789. },
  116790. _serialize0$_writeNumber$1(number) {
  116791. return this._serialize0$_writeNumber$2(number, null);
  116792. },
  116793. _serialize0$_removeExponent$1(text) {
  116794. var buffer, t2, t3, additionalZeroes,
  116795. negative = text.charCodeAt(0) === 45,
  116796. exponent = A._Cell$(),
  116797. t1 = text.length,
  116798. i = 0;
  116799. while (true) {
  116800. if (!(i < t1)) {
  116801. buffer = null;
  116802. break;
  116803. }
  116804. c$0: {
  116805. if (text.charCodeAt(i) !== 101)
  116806. break c$0;
  116807. buffer = new A.StringBuffer("");
  116808. t2 = buffer._contents = "" + A.Primitives_stringFromCharCode(text.charCodeAt(0));
  116809. if (negative) {
  116810. t2 += A.Primitives_stringFromCharCode(text.charCodeAt(1));
  116811. buffer._contents = t2;
  116812. if (i > 3)
  116813. buffer._contents = t2 + B.JSString_methods.substring$2(text, 3, i);
  116814. } else if (i > 2)
  116815. buffer._contents = t2 + B.JSString_methods.substring$2(text, 2, i);
  116816. exponent.__late_helper$_value = A.int_parse(B.JSString_methods.substring$2(text, i + 1, t1), null);
  116817. break;
  116818. }
  116819. ++i;
  116820. }
  116821. if (buffer == null)
  116822. return text;
  116823. if (exponent._readLocal$0() > 0) {
  116824. t1 = exponent._readLocal$0();
  116825. t2 = buffer._contents;
  116826. t3 = negative ? 1 : 0;
  116827. additionalZeroes = t1 - (t2.length - 1 - t3);
  116828. for (t1 = t2, i = 0; i < additionalZeroes; ++i) {
  116829. t1 = A.Primitives_stringFromCharCode(48);
  116830. t1 = buffer._contents += t1;
  116831. }
  116832. return t1.charCodeAt(0) == 0 ? t1 : t1;
  116833. } else {
  116834. negative = text.charCodeAt(0) === 45;
  116835. t1 = (negative ? "" + A.Primitives_stringFromCharCode(45) : "") + "0.";
  116836. i = -1;
  116837. while (true) {
  116838. t2 = exponent.__late_helper$_value;
  116839. if (t2 === exponent)
  116840. A.throwExpression(A.LateError$localNI(""));
  116841. if (!(i > t2))
  116842. break;
  116843. t1 += A.Primitives_stringFromCharCode(48);
  116844. --i;
  116845. }
  116846. if (negative) {
  116847. t2 = buffer._contents;
  116848. t2 = B.JSString_methods.substring$1(t2.charCodeAt(0) == 0 ? t2 : t2, 1);
  116849. } else
  116850. t2 = buffer;
  116851. t2 = t1 + A.S(t2);
  116852. return t2.charCodeAt(0) == 0 ? t2 : t2;
  116853. }
  116854. },
  116855. _serialize0$_writeRounded$2(text, buffer) {
  116856. var t1, digits, negative, textIndex, digitsIndex, textIndex0, codeUnit, digitsIndex0, indexAfterPrecision, digitsIndex1, newDigit, writtenIndex;
  116857. if (B.JSString_methods.endsWith$1(text, ".0")) {
  116858. buffer.write$1(0, B.JSString_methods.substring$2(text, 0, text.length - 2));
  116859. return;
  116860. }
  116861. t1 = text.length;
  116862. digits = new Uint8Array(t1 + 1);
  116863. negative = text.charCodeAt(0) === 45;
  116864. textIndex = negative ? 1 : 0;
  116865. for (digitsIndex = 1; true; textIndex = textIndex0, digitsIndex = digitsIndex0) {
  116866. if (textIndex === t1) {
  116867. buffer.write$1(0, text);
  116868. return;
  116869. }
  116870. textIndex0 = textIndex + 1;
  116871. codeUnit = text.charCodeAt(textIndex);
  116872. if (codeUnit === 46) {
  116873. textIndex = textIndex0;
  116874. break;
  116875. }
  116876. digitsIndex0 = digitsIndex + 1;
  116877. digits[digitsIndex] = codeUnit - 48;
  116878. }
  116879. indexAfterPrecision = textIndex + 10;
  116880. if (indexAfterPrecision >= t1) {
  116881. buffer.write$1(0, text);
  116882. return;
  116883. }
  116884. for (digitsIndex0 = digitsIndex; textIndex < indexAfterPrecision; textIndex = textIndex0, digitsIndex0 = digitsIndex1) {
  116885. digitsIndex1 = digitsIndex0 + 1;
  116886. textIndex0 = textIndex + 1;
  116887. digits[digitsIndex0] = text.charCodeAt(textIndex) - 48;
  116888. }
  116889. if (text.charCodeAt(textIndex) - 48 >= 5)
  116890. for (; true; digitsIndex0 = digitsIndex1) {
  116891. digitsIndex1 = digitsIndex0 - 1;
  116892. newDigit = digits[digitsIndex1] + 1;
  116893. digits[digitsIndex1] = newDigit;
  116894. if (newDigit !== 10)
  116895. break;
  116896. }
  116897. for (; digitsIndex0 < digitsIndex; ++digitsIndex0)
  116898. digits[digitsIndex0] = 0;
  116899. while (true) {
  116900. t1 = digitsIndex0 > digitsIndex;
  116901. if (!(t1 && digits[digitsIndex0 - 1] === 0))
  116902. break;
  116903. --digitsIndex0;
  116904. }
  116905. if (digitsIndex0 === 2 && digits[0] === 0 && digits[1] === 0) {
  116906. buffer.writeCharCode$1(48);
  116907. return;
  116908. }
  116909. if (negative)
  116910. buffer.writeCharCode$1(45);
  116911. if (digits[0] === 0)
  116912. writtenIndex = this._serialize0$_style === B.OutputStyle_10 && digits[1] === 0 ? 2 : 1;
  116913. else
  116914. writtenIndex = 0;
  116915. for (; writtenIndex < digitsIndex; ++writtenIndex)
  116916. buffer.writeCharCode$1(48 + digits[writtenIndex]);
  116917. if (t1) {
  116918. buffer.writeCharCode$1(46);
  116919. for (; writtenIndex < digitsIndex0; ++writtenIndex)
  116920. buffer.writeCharCode$1(48 + digits[writtenIndex]);
  116921. }
  116922. },
  116923. _serialize0$_visitQuotedString$2$forceDoubleQuote(string, forceDoubleQuote) {
  116924. var t1, includesSingleQuote, includesDoubleQuote, i, char, _1_2, _1_4, _0_0, quote, _this = this,
  116925. buffer = forceDoubleQuote ? _this._serialize0$_buffer : new A.StringBuffer("");
  116926. if (forceDoubleQuote)
  116927. buffer.writeCharCode$1(34);
  116928. for (t1 = string.length, includesSingleQuote = false, includesDoubleQuote = false, i = 0; i < t1; ++i) {
  116929. char = string.charCodeAt(i);
  116930. _1_2 = 39 === char;
  116931. if (_1_2 && forceDoubleQuote) {
  116932. buffer.writeCharCode$1(39);
  116933. continue;
  116934. }
  116935. if (_1_2 && includesDoubleQuote) {
  116936. _this._serialize0$_visitQuotedString$2$forceDoubleQuote(string, true);
  116937. return;
  116938. }
  116939. if (_1_2) {
  116940. buffer.writeCharCode$1(39);
  116941. includesSingleQuote = true;
  116942. continue;
  116943. }
  116944. _1_4 = 34 === char;
  116945. if (_1_4 && forceDoubleQuote) {
  116946. buffer.writeCharCode$1(92);
  116947. buffer.writeCharCode$1(34);
  116948. continue;
  116949. }
  116950. if (_1_4 && includesSingleQuote) {
  116951. _this._serialize0$_visitQuotedString$2$forceDoubleQuote(string, true);
  116952. return;
  116953. }
  116954. if (_1_4) {
  116955. buffer.writeCharCode$1(34);
  116956. includesDoubleQuote = true;
  116957. continue;
  116958. }
  116959. if (0 === char || 1 === char || 2 === char || 3 === char || 4 === char || 5 === char || 6 === char || 7 === char || 8 === char || 10 === char || 11 === char || 12 === char || 13 === char || 14 === char || 15 === char || 16 === char || 17 === char || 18 === char || 19 === char || 20 === char || 21 === char || 22 === char || 23 === char || 24 === char || 25 === char || 26 === char || 27 === char || 28 === char || 29 === char || 30 === char || 31 === char || 127 === char) {
  116960. _this._serialize0$_writeEscape$4(buffer, char, string, i);
  116961. continue;
  116962. }
  116963. if (92 === char) {
  116964. buffer.writeCharCode$1(92);
  116965. buffer.writeCharCode$1(92);
  116966. continue;
  116967. }
  116968. _0_0 = _this._serialize0$_tryPrivateUseCharacter$4(buffer, char, string, i);
  116969. if (_0_0 != null)
  116970. i = _0_0;
  116971. else
  116972. buffer.writeCharCode$1(char);
  116973. }
  116974. if (forceDoubleQuote)
  116975. buffer.writeCharCode$1(34);
  116976. else {
  116977. quote = includesDoubleQuote ? 39 : 34;
  116978. t1 = _this._serialize0$_buffer;
  116979. t1.writeCharCode$1(quote);
  116980. t1.write$1(0, buffer);
  116981. t1.writeCharCode$1(quote);
  116982. }
  116983. },
  116984. _serialize0$_visitQuotedString$1(string) {
  116985. return this._serialize0$_visitQuotedString$2$forceDoubleQuote(string, false);
  116986. },
  116987. _serialize0$_visitUnquotedString$1(string) {
  116988. var t1, t2, afterNewline, i, _1_0, _0_0;
  116989. for (t1 = string.length, t2 = this._serialize0$_buffer, afterNewline = false, i = 0; i < t1; ++i) {
  116990. _1_0 = string.charCodeAt(i);
  116991. if (10 === _1_0) {
  116992. t2.writeCharCode$1(32);
  116993. afterNewline = true;
  116994. continue;
  116995. }
  116996. if (32 === _1_0) {
  116997. if (!afterNewline)
  116998. t2.writeCharCode$1(32);
  116999. continue;
  117000. }
  117001. _0_0 = this._serialize0$_tryPrivateUseCharacter$4(t2, _1_0, string, i);
  117002. if (_0_0 != null)
  117003. i = _0_0;
  117004. else
  117005. t2.writeCharCode$1(_1_0);
  117006. afterNewline = false;
  117007. }
  117008. },
  117009. _serialize0$_tryPrivateUseCharacter$4(buffer, codeUnit, string, i) {
  117010. var t1;
  117011. if (this._serialize0$_style === B.OutputStyle_10)
  117012. return null;
  117013. if (codeUnit >= 57344 && codeUnit <= 63743) {
  117014. this._serialize0$_writeEscape$4(buffer, codeUnit, string, i);
  117015. return i;
  117016. }
  117017. if (codeUnit >>> 7 === 439 && string.length > i + 1) {
  117018. t1 = i + 1;
  117019. this._serialize0$_writeEscape$4(buffer, A.combineSurrogates(codeUnit, string.charCodeAt(t1)), string, t1);
  117020. return t1;
  117021. }
  117022. return null;
  117023. },
  117024. _serialize0$_writeEscape$4(buffer, character, string, i) {
  117025. var t1, next;
  117026. buffer.writeCharCode$1(92);
  117027. buffer.write$1(0, B.JSInt_methods.toRadixString$1(character, 16));
  117028. t1 = i + 1;
  117029. if (string.length === t1)
  117030. return;
  117031. next = string.charCodeAt(t1);
  117032. if (A.CharacterExtension_get_isHex0(next) || 32 === next || 9 === next)
  117033. buffer.writeCharCode$1(32);
  117034. },
  117035. visitAttributeSelector$1(attribute) {
  117036. var _0_0, t2,
  117037. t1 = this._serialize0$_buffer;
  117038. t1.writeCharCode$1(91);
  117039. t1.write$1(0, attribute.name);
  117040. _0_0 = attribute.value;
  117041. if (_0_0 != null) {
  117042. t1.write$1(0, attribute.op);
  117043. if (A.Parser_isIdentifier0(_0_0) && !B.JSString_methods.startsWith$1(_0_0, "--")) {
  117044. t1.write$1(0, _0_0);
  117045. t2 = attribute.modifier;
  117046. if (t2 != null)
  117047. t1.writeCharCode$1(32);
  117048. } else {
  117049. this._serialize0$_visitQuotedString$1(_0_0);
  117050. t2 = attribute.modifier;
  117051. if (t2 != null)
  117052. if (this._serialize0$_style !== B.OutputStyle_10)
  117053. t1.writeCharCode$1(32);
  117054. }
  117055. A.NullableExtension_andThen0(t2, t1.get$write(t1));
  117056. }
  117057. t1.writeCharCode$1(93);
  117058. },
  117059. visitClassSelector$1(klass) {
  117060. var t1 = this._serialize0$_buffer;
  117061. t1.writeCharCode$1(46);
  117062. t1.write$1(0, klass.name);
  117063. },
  117064. visitComplexSelector$1(complex) {
  117065. var t2, t3, t4, t5, t6, i, component, t7, t8, t9, _this = this,
  117066. t1 = complex.leadingCombinators;
  117067. _this._serialize0$_writeCombinators$1(t1);
  117068. if (t1.length >= 1 && complex.components.length >= 1)
  117069. if (_this._serialize0$_style !== B.OutputStyle_10)
  117070. _this._serialize0$_buffer.writeCharCode$1(32);
  117071. 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) {
  117072. component = t1[i];
  117073. _this.visitCompoundSelector$1(component.selector);
  117074. t7 = component.combinators;
  117075. t8 = t7.length === 0;
  117076. if (!t8)
  117077. if (t6)
  117078. t4.writeCharCode$1(32);
  117079. t9 = t5 ? "" : " ";
  117080. _this._serialize0$_writeBetween$3(t7, t9, t4.get$write(t4));
  117081. if (i !== t3)
  117082. t7 = !t5 || t8;
  117083. else
  117084. t7 = false;
  117085. if (t7)
  117086. t4.writeCharCode$1(32);
  117087. }
  117088. },
  117089. _serialize0$_writeCombinators$1(combinators) {
  117090. var t1 = this._serialize0$_style === B.OutputStyle_10 ? "" : " ",
  117091. t2 = this._serialize0$_buffer;
  117092. return this._serialize0$_writeBetween$3(combinators, t1, t2.get$write(t2));
  117093. },
  117094. visitCompoundSelector$1(compound) {
  117095. var t2, t3, _i,
  117096. t1 = this._serialize0$_buffer,
  117097. start = t1.get$length(t1);
  117098. for (t2 = compound.components, t3 = t2.length, _i = 0; _i < t3; ++_i)
  117099. t2[_i].accept$1(this);
  117100. if (t1.get$length(t1) === start)
  117101. t1.writeCharCode$1(42);
  117102. },
  117103. visitIDSelector$1(id) {
  117104. var t1 = this._serialize0$_buffer;
  117105. t1.writeCharCode$1(35);
  117106. t1.write$1(0, id.name);
  117107. },
  117108. visitSelectorList$1(list) {
  117109. var t1, t2, t3, t4, first, t5, _this = this,
  117110. complexes = list.components;
  117111. 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();) {
  117112. t5 = t1.get$current(t1);
  117113. if (first)
  117114. first = false;
  117115. else {
  117116. t3.writeCharCode$1(44);
  117117. if (t5.lineBreak) {
  117118. if (t2)
  117119. t3.write$1(0, t4);
  117120. _this._serialize0$_writeIndentation$0();
  117121. } else if (t2)
  117122. t3.writeCharCode$1(32);
  117123. }
  117124. _this.visitComplexSelector$1(t5);
  117125. }
  117126. },
  117127. visitParentSelector$1($parent) {
  117128. var t1 = this._serialize0$_buffer;
  117129. t1.writeCharCode$1(38);
  117130. A.NullableExtension_andThen0($parent.suffix, t1.get$write(t1));
  117131. },
  117132. visitPlaceholderSelector$1(placeholder) {
  117133. var t1 = this._serialize0$_buffer;
  117134. t1.writeCharCode$1(37);
  117135. t1.write$1(0, placeholder.name);
  117136. },
  117137. visitPseudoSelector$1(pseudo) {
  117138. var _0_4, t3,
  117139. t1 = pseudo.name,
  117140. t2 = false;
  117141. if ("not" === t1) {
  117142. _0_4 = pseudo.selector;
  117143. if (_0_4 instanceof A.SelectorList0)
  117144. t2 = (_0_4 == null ? type$.SelectorList_2._as(_0_4) : _0_4).accept$1(B._IsInvisibleVisitor_true0);
  117145. }
  117146. if (t2)
  117147. return;
  117148. t2 = this._serialize0$_buffer;
  117149. t2.writeCharCode$1(58);
  117150. if (!pseudo.isSyntacticClass)
  117151. t2.writeCharCode$1(58);
  117152. t2.write$1(0, t1);
  117153. t1 = pseudo.argument;
  117154. t3 = t1 == null;
  117155. if (t3 && pseudo.selector == null)
  117156. return;
  117157. t2.writeCharCode$1(40);
  117158. if (!t3) {
  117159. t2.write$1(0, t1);
  117160. if (pseudo.selector != null)
  117161. t2.writeCharCode$1(32);
  117162. }
  117163. A.NullableExtension_andThen0(pseudo.selector, this.get$visitSelectorList());
  117164. t2.writeCharCode$1(41);
  117165. },
  117166. visitTypeSelector$1(type) {
  117167. this._serialize0$_buffer.write$1(0, type.name);
  117168. },
  117169. visitUniversalSelector$1(universal) {
  117170. var t2,
  117171. t1 = universal.namespace;
  117172. if (t1 != null) {
  117173. t2 = this._serialize0$_buffer;
  117174. t2.write$1(0, t1);
  117175. t2.writeCharCode$1(124);
  117176. }
  117177. this._serialize0$_buffer.writeCharCode$1(42);
  117178. },
  117179. _serialize0$_write$1(value) {
  117180. return this._serialize0$_buffer.forSpan$2(value.span, new A._SerializeVisitor__write_closure0(this, value));
  117181. },
  117182. _serialize0$_visitChildren$1($parent) {
  117183. var t2, t3, t4, t5, t6, t7, t8, prePrevious, previous, t9, previous0, t10, savedIndentation, _this = this,
  117184. t1 = _this._serialize0$_buffer;
  117185. t1.writeCharCode$1(123);
  117186. for (t2 = $parent.children, t3 = t2.$ti, t2 = new A.ListIterator(t2, t2.get$length(0), t3._eval$1("ListIterator<ListBase.E>")), t4 = _this._serialize0$_style === B.OutputStyle_10, t5 = !t4, t6 = _this.get$_serialize0$_requiresSemicolon(), t7 = !_this._serialize0$_inspect, t3 = t3._eval$1("ListBase.E"), t8 = _this._lineFeed.text, prePrevious = null, previous = null; t2.moveNext$0();) {
  117187. t9 = t2.__internal$_current;
  117188. previous0 = t9 == null ? t3._as(t9) : t9;
  117189. if (t7)
  117190. t9 = t4 ? previous0.accept$1(B._IsInvisibleVisitor_true_true0) : previous0.accept$1(B._IsInvisibleVisitor_true_false0);
  117191. else
  117192. t9 = false;
  117193. if (t9)
  117194. continue;
  117195. t9 = previous == null;
  117196. t10 = t9 ? null : t6.call$1(previous);
  117197. if (t10 == null ? false : t10)
  117198. t1.writeCharCode$1(59);
  117199. if (_this._serialize0$_isTrailingComment$2(previous0, t9 ? $parent : previous)) {
  117200. if (t5)
  117201. t1.writeCharCode$1(32);
  117202. savedIndentation = _this._serialize0$_indentation;
  117203. _this._serialize0$_indentation = 0;
  117204. new A._SerializeVisitor__visitChildren_closure1(_this, previous0).call$0();
  117205. _this._serialize0$_indentation = savedIndentation;
  117206. } else {
  117207. if (t5)
  117208. t1.write$1(0, t8);
  117209. ++_this._serialize0$_indentation;
  117210. new A._SerializeVisitor__visitChildren_closure2(_this, previous0).call$0();
  117211. --_this._serialize0$_indentation;
  117212. }
  117213. prePrevious = previous;
  117214. previous = previous0;
  117215. }
  117216. if (previous != null) {
  117217. if ((type$.CssParentNode_2._is(previous) ? previous.get$isChildless() : !(previous instanceof A.ModifiableCssComment0)) && t5)
  117218. t1.writeCharCode$1(59);
  117219. if (prePrevious == null && _this._serialize0$_isTrailingComment$2(previous, $parent)) {
  117220. if (t5)
  117221. t1.writeCharCode$1(32);
  117222. } else {
  117223. _this._serialize0$_writeLineFeed$0();
  117224. _this._serialize0$_writeIndentation$0();
  117225. }
  117226. }
  117227. t1.writeCharCode$1(125);
  117228. },
  117229. _serialize0$_requiresSemicolon$1(node) {
  117230. return type$.CssParentNode_2._is(node) ? node.get$isChildless() : !(node instanceof A.ModifiableCssComment0);
  117231. },
  117232. _serialize0$_isTrailingComment$2(node, previous) {
  117233. var t1, t2, t3, searchFrom, endOffset, t4, span;
  117234. if (this._serialize0$_style === B.OutputStyle_10)
  117235. return false;
  117236. if (!(node instanceof A.ModifiableCssComment0))
  117237. return false;
  117238. t1 = node.span;
  117239. t2 = t1.get$sourceUrl(t1);
  117240. t3 = previous.get$span(previous);
  117241. if (!J.$eq$(t2, t3.get$sourceUrl(t3)))
  117242. return false;
  117243. t2 = previous.get$span(previous);
  117244. if (!(J.$eq$(t2.get$file(t2).url, t1.get$file(t1).url) && t2.get$start(t2).offset <= t1.get$start(t1).offset && t2.get$end(t2).offset >= t1.get$end(t1).offset)) {
  117245. t1 = t1.get$start(t1);
  117246. t1 = t1.file.getLine$1(t1.offset);
  117247. t2 = previous.get$span(previous);
  117248. t2 = t2.get$end(t2);
  117249. return t1 === t2.file.getLine$1(t2.offset);
  117250. }
  117251. t2 = t1.get$start(t1);
  117252. t3 = previous.get$span(previous);
  117253. searchFrom = t2.offset - t3.get$start(t3).offset - 1;
  117254. if (searchFrom < 0)
  117255. return false;
  117256. endOffset = Math.max(0, B.JSString_methods.lastIndexOf$2(previous.get$span(previous).get$text(), "{", searchFrom));
  117257. t2 = previous.get$span(previous);
  117258. t2 = t2.get$file(t2);
  117259. t3 = previous.get$span(previous);
  117260. t3 = t3.get$start(t3);
  117261. t4 = previous.get$span(previous);
  117262. span = t2.span$2(0, t3.offset, t4.get$start(t4).offset + endOffset);
  117263. t1 = t1.get$start(t1);
  117264. t1 = t1.file.getLine$1(t1.offset);
  117265. t4 = A.FileLocation$_(span.file, span._end);
  117266. return t1 === t4.file.getLine$1(t4.offset);
  117267. },
  117268. _serialize0$_writeLineFeed$0() {
  117269. if (this._serialize0$_style !== B.OutputStyle_10)
  117270. this._serialize0$_buffer.write$1(0, this._lineFeed.text);
  117271. },
  117272. _serialize0$_writeIndentation$0() {
  117273. var _this = this;
  117274. if (_this._serialize0$_style === B.OutputStyle_10)
  117275. return;
  117276. _this._serialize0$_writeTimes$2(_this._serialize0$_indentCharacter, _this._serialize0$_indentation * _this._serialize0$_indentWidth);
  117277. },
  117278. _serialize0$_writeTimes$2(char, times) {
  117279. var t1, i;
  117280. for (t1 = this._serialize0$_buffer, i = 0; i < times; ++i)
  117281. t1.writeCharCode$1(char);
  117282. },
  117283. _serialize0$_writeBetween$1$3(iterable, text, callback) {
  117284. var t1, t2, first, value;
  117285. for (t1 = J.get$iterator$ax(iterable), t2 = this._serialize0$_buffer, first = true; t1.moveNext$0();) {
  117286. value = t1.get$current(t1);
  117287. if (first)
  117288. first = false;
  117289. else
  117290. t2.write$1(0, text);
  117291. callback.call$1(value);
  117292. }
  117293. },
  117294. _serialize0$_writeBetween$3(iterable, text, callback) {
  117295. callback.toString;
  117296. return this._serialize0$_writeBetween$1$3(iterable, text, callback, type$.dynamic);
  117297. }
  117298. };
  117299. A._SerializeVisitor_visitCssComment_closure0.prototype = {
  117300. call$0() {
  117301. var t2, t3, _0_0, minimumIndentation,
  117302. t1 = this.$this;
  117303. if (t1._serialize0$_style === B.OutputStyle_10 && this.node.text.charCodeAt(2) !== 33)
  117304. return;
  117305. t2 = this.node;
  117306. t3 = t2.text;
  117307. if (B.JSString_methods.startsWith$1(t3, A.RegExp_RegExp("/\\*# source(Mapping)?URL=", false)))
  117308. return;
  117309. _0_0 = t1._serialize0$_minimumIndentation$1(t3);
  117310. if (_0_0 != null) {
  117311. t2 = t2.span;
  117312. t2 = t2.get$start(t2);
  117313. minimumIndentation = Math.min(_0_0, t2.file.getColumn$1(t2.offset));
  117314. t1._serialize0$_writeIndentation$0();
  117315. t1._serialize0$_writeWithIndent$2(t3, minimumIndentation);
  117316. } else {
  117317. t1._serialize0$_writeIndentation$0();
  117318. t1._serialize0$_buffer.write$1(0, t3);
  117319. }
  117320. },
  117321. $signature: 1
  117322. };
  117323. A._SerializeVisitor_visitCssAtRule_closure0.prototype = {
  117324. call$0() {
  117325. var t3, _0_0,
  117326. t1 = this.$this,
  117327. t2 = t1._serialize0$_buffer;
  117328. t2.writeCharCode$1(64);
  117329. t3 = this.node;
  117330. t1._serialize0$_write$1(t3.name);
  117331. _0_0 = t3.value;
  117332. if (_0_0 != null) {
  117333. t2.writeCharCode$1(32);
  117334. t1._serialize0$_write$1(_0_0);
  117335. }
  117336. },
  117337. $signature: 1
  117338. };
  117339. A._SerializeVisitor_visitCssMediaRule_closure0.prototype = {
  117340. call$0() {
  117341. var t3, firstQuery, t4, t5,
  117342. t1 = this.$this,
  117343. t2 = t1._serialize0$_buffer;
  117344. t2.write$1(0, "@media");
  117345. t3 = this.node.queries;
  117346. firstQuery = B.JSArray_methods.get$first(t3);
  117347. t4 = t1._serialize0$_style === B.OutputStyle_10;
  117348. t5 = true;
  117349. if (t4)
  117350. if (firstQuery.modifier == null)
  117351. if (firstQuery.type == null) {
  117352. t5 = firstQuery.conditions;
  117353. t5 = t5.length === 1 && J.startsWith$1$s(B.JSArray_methods.get$first(t5), "(not ");
  117354. }
  117355. if (t5)
  117356. t2.writeCharCode$1(32);
  117357. t2 = t4 ? "," : ", ";
  117358. t1._serialize0$_writeBetween$3(t3, t2, t1.get$_serialize0$_visitMediaQuery());
  117359. },
  117360. $signature: 1
  117361. };
  117362. A._SerializeVisitor_visitCssImport_closure0.prototype = {
  117363. call$0() {
  117364. var t3, t4, _0_0,
  117365. t1 = this.$this,
  117366. t2 = t1._serialize0$_buffer;
  117367. t2.write$1(0, "@import");
  117368. t3 = t1._serialize0$_style !== B.OutputStyle_10;
  117369. if (t3)
  117370. t2.writeCharCode$1(32);
  117371. t4 = this.node;
  117372. t2.forSpan$2(t4.url.span, new A._SerializeVisitor_visitCssImport__closure0(t1, t4));
  117373. _0_0 = t4.modifiers;
  117374. if (_0_0 != null) {
  117375. if (t3)
  117376. t2.writeCharCode$1(32);
  117377. t2.write$1(0, _0_0);
  117378. }
  117379. },
  117380. $signature: 1
  117381. };
  117382. A._SerializeVisitor_visitCssImport__closure0.prototype = {
  117383. call$0() {
  117384. return this.$this._serialize0$_writeImportUrl$1(this.node.url.value);
  117385. },
  117386. $signature: 0
  117387. };
  117388. A._SerializeVisitor_visitCssKeyframeBlock_closure0.prototype = {
  117389. call$0() {
  117390. var t1 = this.$this,
  117391. t2 = t1._serialize0$_style === B.OutputStyle_10 ? "," : ", ",
  117392. t3 = t1._serialize0$_buffer;
  117393. return t1._serialize0$_writeBetween$3(this.node.selector.value, t2, t3.get$write(t3));
  117394. },
  117395. $signature: 0
  117396. };
  117397. A._SerializeVisitor_visitCssStyleRule_closure0.prototype = {
  117398. call$0() {
  117399. return this.$this.visitSelectorList$1(this.node._style_rule0$_selector._box0$_inner.value);
  117400. },
  117401. $signature: 0
  117402. };
  117403. A._SerializeVisitor_visitCssSupportsRule_closure0.prototype = {
  117404. call$0() {
  117405. var t1 = this.$this,
  117406. t2 = t1._serialize0$_buffer;
  117407. t2.write$1(0, "@supports");
  117408. if (!(t1._serialize0$_style === B.OutputStyle_10 && J.codeUnitAt$1$s(this.node.condition.value, 0) === 40))
  117409. t2.writeCharCode$1(32);
  117410. t1._serialize0$_write$1(this.node.condition);
  117411. },
  117412. $signature: 1
  117413. };
  117414. A._SerializeVisitor_visitCssDeclaration_closure1.prototype = {
  117415. call$0() {
  117416. var t1 = this.$this,
  117417. t2 = this.node;
  117418. if (t1._serialize0$_style === B.OutputStyle_10)
  117419. t1._serialize0$_writeFoldedValue$1(t2);
  117420. else
  117421. t1._serialize0$_writeReindentedValue$1(t2);
  117422. },
  117423. $signature: 1
  117424. };
  117425. A._SerializeVisitor_visitCssDeclaration_closure2.prototype = {
  117426. call$0() {
  117427. return this.node.value.value.accept$1(this.$this);
  117428. },
  117429. $signature: 0
  117430. };
  117431. A._SerializeVisitor_visitList_closure2.prototype = {
  117432. call$1(element) {
  117433. return !element.get$isBlank();
  117434. },
  117435. $signature: 54
  117436. };
  117437. A._SerializeVisitor_visitList_closure3.prototype = {
  117438. call$1(element) {
  117439. var t1 = this.$this,
  117440. needsParens = t1._serialize0$_elementNeedsParens$2(this.value._list1$_separator, element);
  117441. if (needsParens)
  117442. t1._serialize0$_buffer.writeCharCode$1(40);
  117443. element.accept$1(t1);
  117444. if (needsParens)
  117445. t1._serialize0$_buffer.writeCharCode$1(41);
  117446. },
  117447. $signature: 66
  117448. };
  117449. A._SerializeVisitor_visitList_closure4.prototype = {
  117450. call$1(element) {
  117451. element.accept$1(this.$this);
  117452. },
  117453. $signature: 66
  117454. };
  117455. A._SerializeVisitor_visitMap_closure0.prototype = {
  117456. call$1(entry) {
  117457. var t1 = this.$this;
  117458. t1._serialize0$_writeMapElement$1(entry.key);
  117459. t1._serialize0$_buffer.write$1(0, ": ");
  117460. t1._serialize0$_writeMapElement$1(entry.value);
  117461. },
  117462. $signature: 577
  117463. };
  117464. A._SerializeVisitor_visitSelectorList_closure0.prototype = {
  117465. call$1(complex) {
  117466. return !complex.accept$1(B._IsInvisibleVisitor_true0);
  117467. },
  117468. $signature: 21
  117469. };
  117470. A._SerializeVisitor__write_closure0.prototype = {
  117471. call$0() {
  117472. return this.$this._serialize0$_buffer.write$1(0, this.value.value);
  117473. },
  117474. $signature: 0
  117475. };
  117476. A._SerializeVisitor__visitChildren_closure1.prototype = {
  117477. call$0() {
  117478. return this.child.accept$1(this.$this);
  117479. },
  117480. $signature: 0
  117481. };
  117482. A._SerializeVisitor__visitChildren_closure2.prototype = {
  117483. call$0() {
  117484. this.child.accept$1(this.$this);
  117485. },
  117486. $signature: 0
  117487. };
  117488. A.OutputStyle0.prototype = {
  117489. _enumToString$0() {
  117490. return "OutputStyle." + this._name;
  117491. }
  117492. };
  117493. A.LineFeed0.prototype = {
  117494. _enumToString$0() {
  117495. return "LineFeed." + this._name;
  117496. },
  117497. toString$0(_) {
  117498. return this.name;
  117499. }
  117500. };
  117501. A.JSSet.prototype = {};
  117502. A.ShadowedModuleView0.prototype = {
  117503. get$url(_) {
  117504. var t1 = this._shadowed_view0$_inner;
  117505. return t1.get$url(t1);
  117506. },
  117507. get$upstream() {
  117508. return this._shadowed_view0$_inner.get$upstream();
  117509. },
  117510. get$extensionStore() {
  117511. return this._shadowed_view0$_inner.get$extensionStore();
  117512. },
  117513. get$css(_) {
  117514. var t1 = this._shadowed_view0$_inner;
  117515. return t1.get$css(t1);
  117516. },
  117517. get$preModuleComments() {
  117518. return this._shadowed_view0$_inner.get$preModuleComments();
  117519. },
  117520. get$transitivelyContainsCss() {
  117521. return this._shadowed_view0$_inner.get$transitivelyContainsCss();
  117522. },
  117523. get$transitivelyContainsExtensions() {
  117524. return this._shadowed_view0$_inner.get$transitivelyContainsExtensions();
  117525. },
  117526. setVariable$3($name, value, nodeWithSpan) {
  117527. if (!this.variables.containsKey$1($name))
  117528. throw A.wrapException(A.SassScriptException$0("Undefined variable.", null));
  117529. else
  117530. this._shadowed_view0$_inner.setVariable$3($name, value, nodeWithSpan);
  117531. },
  117532. variableIdentity$1($name) {
  117533. return this._shadowed_view0$_inner.variableIdentity$1($name);
  117534. },
  117535. $eq(_, other) {
  117536. var t1, t2, t3, _this = this;
  117537. if (other == null)
  117538. return false;
  117539. t1 = false;
  117540. if (other instanceof A.ShadowedModuleView0)
  117541. if (_this._shadowed_view0$_inner.$eq(0, other._shadowed_view0$_inner)) {
  117542. t2 = _this.variables;
  117543. t2 = t2.get$keys(t2);
  117544. t3 = other.variables;
  117545. if (B.C_IterableEquality.equals$2(0, t2, t3.get$keys(t3))) {
  117546. t2 = _this.functions;
  117547. t2 = t2.get$keys(t2);
  117548. t3 = other.functions;
  117549. if (B.C_IterableEquality.equals$2(0, t2, t3.get$keys(t3))) {
  117550. t1 = _this.mixins;
  117551. t1 = t1.get$keys(t1);
  117552. t2 = other.mixins;
  117553. t2 = B.C_IterableEquality.equals$2(0, t1, t2.get$keys(t2));
  117554. t1 = t2;
  117555. }
  117556. }
  117557. }
  117558. return t1;
  117559. },
  117560. get$hashCode(_) {
  117561. var t1 = this._shadowed_view0$_inner;
  117562. return t1.get$hashCode(t1);
  117563. },
  117564. cloneCss$0() {
  117565. var _this = this;
  117566. return new A.ShadowedModuleView0(_this._shadowed_view0$_inner.cloneCss$0(), _this.variables, _this.variableNodes, _this.functions, _this.mixins, _this.$ti);
  117567. },
  117568. toString$0(_) {
  117569. return "shadowed " + this._shadowed_view0$_inner.toString$0(0);
  117570. },
  117571. $isModule1: 1,
  117572. get$variables() {
  117573. return this.variables;
  117574. },
  117575. get$variableNodes() {
  117576. return this.variableNodes;
  117577. },
  117578. get$functions(receiver) {
  117579. return this.functions;
  117580. },
  117581. get$mixins() {
  117582. return this.mixins;
  117583. }
  117584. };
  117585. A.SilentComment0.prototype = {
  117586. accept$1$1(visitor) {
  117587. return visitor.visitSilentComment$1(0, this);
  117588. },
  117589. accept$1(visitor) {
  117590. return this.accept$1$1(visitor, type$.dynamic);
  117591. },
  117592. toString$0(_) {
  117593. return this.text;
  117594. },
  117595. get$span(receiver) {
  117596. return this.span;
  117597. }
  117598. };
  117599. A.SimpleSelector0.prototype = {
  117600. get$specificity() {
  117601. return 1000;
  117602. },
  117603. get$hasComplicatedSuperselectorSemantics() {
  117604. return false;
  117605. },
  117606. addSuffix$1(suffix) {
  117607. return A.throwExpression(A.MultiSpanSassException$0('Selector "' + this.toString$0(0) + "\" can't have a suffix", this.span, "outer selector", A.LinkedHashMap_LinkedHashMap$_empty(type$.FileSpan, type$.String), null));
  117608. },
  117609. unify$1(compound) {
  117610. var other, result, addedThis, _i, simple, _this = this,
  117611. t1 = false;
  117612. if (compound.length === 1) {
  117613. other = compound[0];
  117614. if (!(other instanceof A.UniversalSelector0)) {
  117615. if (other instanceof A.PseudoSelector0)
  117616. t1 = other.isClass && other.name === "host" || other.get$isHostContext();
  117617. } else
  117618. t1 = true;
  117619. } else
  117620. other = null;
  117621. if (t1)
  117622. return other.unify$1(A._setArrayType([_this], type$.JSArray_SimpleSelector_2));
  117623. if (B.JSArray_methods.contains$1(compound, _this))
  117624. return compound;
  117625. result = A._setArrayType([], type$.JSArray_SimpleSelector_2);
  117626. for (t1 = compound.length, addedThis = false, _i = 0; _i < compound.length; compound.length === t1 || (0, A.throwConcurrentModificationError)(compound), ++_i) {
  117627. simple = compound[_i];
  117628. if (!addedThis && simple instanceof A.PseudoSelector0) {
  117629. result.push(_this);
  117630. addedThis = true;
  117631. }
  117632. result.push(simple);
  117633. }
  117634. if (!addedThis)
  117635. result.push(_this);
  117636. return result;
  117637. },
  117638. isSuperselector$1(other) {
  117639. var list;
  117640. if (this.$eq(0, other))
  117641. return true;
  117642. if (other instanceof A.PseudoSelector0 && other.isClass) {
  117643. list = other.selector;
  117644. if (list != null && $._subselectorPseudos0.contains$1(0, other.normalizedName))
  117645. return B.JSArray_methods.every$1(list.components, new A.SimpleSelector_isSuperselector_closure0(this));
  117646. }
  117647. return false;
  117648. }
  117649. };
  117650. A.SimpleSelector_isSuperselector_closure0.prototype = {
  117651. call$1(complex) {
  117652. var t1 = complex.components;
  117653. return t1.length !== 0 && B.JSArray_methods.any$1(B.JSArray_methods.get$last(t1).selector.components, new A.SimpleSelector_isSuperselector__closure0(this.$this));
  117654. },
  117655. $signature: 21
  117656. };
  117657. A.SimpleSelector_isSuperselector__closure0.prototype = {
  117658. call$1(simple) {
  117659. return this.$this.isSuperselector$1(simple);
  117660. },
  117661. $signature: 14
  117662. };
  117663. A.SingleUnitSassNumber0.prototype = {
  117664. get$numeratorUnits(_) {
  117665. return A.List_List$unmodifiable([this._single_unit$_unit], type$.String);
  117666. },
  117667. get$denominatorUnits(_) {
  117668. return B.List_empty;
  117669. },
  117670. get$hasUnits() {
  117671. return true;
  117672. },
  117673. get$hasComplexUnits() {
  117674. return false;
  117675. },
  117676. withValue$1(value) {
  117677. return new A.SingleUnitSassNumber0(this._single_unit$_unit, value, null);
  117678. },
  117679. withSlash$2(numerator, denominator) {
  117680. return new A.SingleUnitSassNumber0(this._single_unit$_unit, this._number1$_value, new A._Record_2(numerator, denominator));
  117681. },
  117682. hasUnit$1(unit) {
  117683. return unit === this._single_unit$_unit;
  117684. },
  117685. hasCompatibleUnits$1(other) {
  117686. return other instanceof A.SingleUnitSassNumber0 && A.conversionFactor0(this._single_unit$_unit, other._single_unit$_unit) != null;
  117687. },
  117688. hasPossiblyCompatibleUnits$1(other) {
  117689. var t1, knownCompatibilities, otherUnit;
  117690. if (!(other instanceof A.SingleUnitSassNumber0))
  117691. return false;
  117692. t1 = $.$get$_knownCompatibilitiesByUnit0();
  117693. knownCompatibilities = t1.$index(0, this._single_unit$_unit.toLowerCase());
  117694. if (knownCompatibilities == null)
  117695. return true;
  117696. otherUnit = other._single_unit$_unit.toLowerCase();
  117697. return knownCompatibilities.contains$1(0, otherUnit) || !t1.containsKey$1(otherUnit);
  117698. },
  117699. compatibleWithUnit$1(unit) {
  117700. return A.conversionFactor0(this._single_unit$_unit, unit) != null;
  117701. },
  117702. coerceToMatch$3(other, $name, otherName) {
  117703. var t1 = other instanceof A.SingleUnitSassNumber0 ? this._single_unit$_coerceToUnit$1(other._single_unit$_unit) : null;
  117704. return t1 == null ? this.super$SassNumber$coerceToMatch0(other, $name, otherName) : t1;
  117705. },
  117706. coerceToMatch$1(other) {
  117707. return this.coerceToMatch$3(other, null, null);
  117708. },
  117709. coerceValueToMatch$3(other, $name, otherName) {
  117710. var t1 = other instanceof A.SingleUnitSassNumber0 ? this._single_unit$_coerceValueToUnit$1(other._single_unit$_unit) : null;
  117711. return t1 == null ? this.super$SassNumber$coerceValueToMatch0(other, $name, otherName) : t1;
  117712. },
  117713. coerceValueToMatch$1(other) {
  117714. return this.coerceValueToMatch$3(other, null, null);
  117715. },
  117716. convertToMatch$3(other, $name, otherName) {
  117717. var t1 = other instanceof A.SingleUnitSassNumber0 ? this._single_unit$_coerceToUnit$1(other._single_unit$_unit) : null;
  117718. return t1 == null ? this.super$SassNumber$convertToMatch(other, $name, otherName) : t1;
  117719. },
  117720. convertValueToMatch$3(other, $name, otherName) {
  117721. var t1 = other instanceof A.SingleUnitSassNumber0 ? this._single_unit$_coerceValueToUnit$1(other._single_unit$_unit) : null;
  117722. return t1 == null ? this.super$SassNumber$convertValueToMatch0(other, $name, otherName) : t1;
  117723. },
  117724. convertValueToMatch$1(other) {
  117725. return this.convertValueToMatch$3(other, null, null);
  117726. },
  117727. coerce$3(newNumerators, newDenominators, $name) {
  117728. var t1 = J.getInterceptor$asx(newNumerators);
  117729. t1 = t1.get$length(newNumerators) === 1 && J.get$isEmpty$asx(newDenominators) ? this._single_unit$_coerceToUnit$1(t1.$index(newNumerators, 0)) : null;
  117730. return t1 == null ? this.super$SassNumber$coerce0(newNumerators, newDenominators, $name) : t1;
  117731. },
  117732. coerce$2(newNumerators, newDenominators) {
  117733. return this.coerce$3(newNumerators, newDenominators, null);
  117734. },
  117735. coerceValue$3(newNumerators, newDenominators, $name) {
  117736. var t1 = J.getInterceptor$asx(newNumerators);
  117737. t1 = t1.get$length(newNumerators) === 1 && J.get$isEmpty$asx(newDenominators) ? this._single_unit$_coerceValueToUnit$1(t1.$index(newNumerators, 0)) : null;
  117738. return t1 == null ? this.super$SassNumber$coerceValue0(newNumerators, newDenominators, $name) : t1;
  117739. },
  117740. coerceValueToUnit$2(unit, $name) {
  117741. var t1 = this._single_unit$_coerceValueToUnit$1(unit);
  117742. return t1 == null ? this.super$SassNumber$coerceValueToUnit0(unit, $name) : t1;
  117743. },
  117744. coerceValueToUnit$1(unit) {
  117745. return this.coerceValueToUnit$2(unit, null);
  117746. },
  117747. _single_unit$_coerceToUnit$1(unit) {
  117748. var t1 = this._single_unit$_unit;
  117749. if (t1 === unit)
  117750. return this;
  117751. return A.NullableExtension_andThen0(A.conversionFactor0(unit, t1), new A.SingleUnitSassNumber__coerceToUnit_closure0(this, unit));
  117752. },
  117753. _single_unit$_coerceValueToUnit$1(unit) {
  117754. return A.NullableExtension_andThen0(A.conversionFactor0(unit, this._single_unit$_unit), new A.SingleUnitSassNumber__coerceValueToUnit_closure0(this));
  117755. },
  117756. multiplyUnits$3(value, otherNumerators, otherDenominators) {
  117757. var mutableOtherDenominators, t1 = {};
  117758. t1.value = value;
  117759. t1.newNumerators = otherNumerators;
  117760. mutableOtherDenominators = A._setArrayType(otherDenominators.slice(0), A._arrayInstanceType(otherDenominators));
  117761. A.removeFirstWhere0(mutableOtherDenominators, new A.SingleUnitSassNumber_multiplyUnits_closure1(t1, this), new A.SingleUnitSassNumber_multiplyUnits_closure2(t1, this));
  117762. return A.SassNumber_SassNumber$withUnits0(t1.value, mutableOtherDenominators, t1.newNumerators);
  117763. },
  117764. unaryMinus$0() {
  117765. return new A.SingleUnitSassNumber0(this._single_unit$_unit, -this._number1$_value, null);
  117766. },
  117767. $eq(_, other) {
  117768. var factor;
  117769. if (other == null)
  117770. return false;
  117771. if (other instanceof A.SingleUnitSassNumber0) {
  117772. factor = A.conversionFactor0(other._single_unit$_unit, this._single_unit$_unit);
  117773. return factor != null && A.fuzzyEquals0(this._number1$_value * factor, other._number1$_value);
  117774. } else
  117775. return false;
  117776. },
  117777. get$hashCode(_) {
  117778. var _this = this,
  117779. t1 = _this.hashCache;
  117780. return t1 == null ? _this.hashCache = A.fuzzyHashCode0(_this._number1$_value * _this.canonicalMultiplierForUnit$1(_this._single_unit$_unit)) : t1;
  117781. }
  117782. };
  117783. A.SingleUnitSassNumber__coerceToUnit_closure0.prototype = {
  117784. call$1(factor) {
  117785. return new A.SingleUnitSassNumber0(this.unit, this.$this._number1$_value * factor, null);
  117786. },
  117787. $signature: 578
  117788. };
  117789. A.SingleUnitSassNumber__coerceValueToUnit_closure0.prototype = {
  117790. call$1(factor) {
  117791. return this.$this._number1$_value * factor;
  117792. },
  117793. $signature: 16
  117794. };
  117795. A.SingleUnitSassNumber_multiplyUnits_closure1.prototype = {
  117796. call$1(denominator) {
  117797. var factor = A.conversionFactor0(denominator, this.$this._single_unit$_unit);
  117798. if (factor == null)
  117799. return false;
  117800. this._box_0.value *= factor;
  117801. return true;
  117802. },
  117803. $signature: 5
  117804. };
  117805. A.SingleUnitSassNumber_multiplyUnits_closure2.prototype = {
  117806. call$0() {
  117807. var t1 = A._setArrayType([this.$this._single_unit$_unit], type$.JSArray_String),
  117808. t2 = this._box_0;
  117809. B.JSArray_methods.addAll$1(t1, t2.newNumerators);
  117810. t2.newNumerators = t1;
  117811. },
  117812. $signature: 0
  117813. };
  117814. A.SourceInterpolationVisitor.prototype = {
  117815. visitBinaryOperationExpression$1(_, node) {
  117816. return this.buffer = null;
  117817. },
  117818. visitBooleanExpression$1(_, node) {
  117819. return this.buffer = null;
  117820. },
  117821. visitColorExpression$1(_, node) {
  117822. var t2,
  117823. t1 = this.buffer;
  117824. if (t1 != null) {
  117825. t2 = node.span.get$text();
  117826. t1 = t1._interpolation_buffer0$_text;
  117827. t1._contents += t2;
  117828. }
  117829. return null;
  117830. },
  117831. visitFunctionExpression$1(_, node) {
  117832. return this.buffer = null;
  117833. },
  117834. visitInterpolatedFunctionExpression$1(_, node) {
  117835. var t1 = this.buffer;
  117836. if (t1 != null)
  117837. t1.addInterpolation$1(node.name);
  117838. this._visitArguments$1(node.$arguments);
  117839. },
  117840. _visitArguments$1($arguments) {
  117841. var t2, t3, _this = this,
  117842. t1 = $arguments.named;
  117843. if (t1.get$isNotEmpty(t1) || $arguments.rest != null)
  117844. return;
  117845. t1 = $arguments.positional;
  117846. if (t1.length === 0) {
  117847. t1 = _this.buffer;
  117848. if (t1 != null) {
  117849. t2 = $arguments.span.get$text();
  117850. t1 = t1._interpolation_buffer0$_text;
  117851. t1._contents += t2;
  117852. }
  117853. return;
  117854. }
  117855. t2 = _this.buffer;
  117856. if (t2 != null) {
  117857. t3 = A.SpanExtensions_before($arguments.span, J.get$span$z(B.JSArray_methods.get$first(t1)));
  117858. t3 = A.String_String$fromCharCodes(B.NativeUint32List_methods.sublist$2(t3.file._decodedChars, t3._file$_start, t3._end), 0, null);
  117859. t2 = t2._interpolation_buffer0$_text;
  117860. t2._contents += t3;
  117861. }
  117862. _this._writeListAndBetween$2(t1, null);
  117863. t2 = _this.buffer;
  117864. if (t2 != null) {
  117865. t1 = A.SpanExtensions_after($arguments.span, J.get$span$z(B.JSArray_methods.get$last(t1)));
  117866. t1 = A.String_String$fromCharCodes(B.NativeUint32List_methods.sublist$2(t1.file._decodedChars, t1._file$_start, t1._end), 0, null);
  117867. t2 = t2._interpolation_buffer0$_text;
  117868. t2._contents += t1;
  117869. }
  117870. },
  117871. visitIfExpression$1(_, node) {
  117872. return this.buffer = null;
  117873. },
  117874. visitListExpression$1(_, node) {
  117875. var t3, t4, _this = this,
  117876. t1 = node.contents,
  117877. t2 = t1.length;
  117878. if (t2 <= 1 && !node.hasBrackets) {
  117879. _this.buffer = null;
  117880. return;
  117881. }
  117882. t3 = node.hasBrackets;
  117883. if (t3 && t2 === 0) {
  117884. t1 = _this.buffer;
  117885. if (t1 != null) {
  117886. t2 = node.span.get$text();
  117887. t1 = t1._interpolation_buffer0$_text;
  117888. t1._contents += t2;
  117889. }
  117890. return;
  117891. }
  117892. if (t3) {
  117893. t2 = _this.buffer;
  117894. if (t2 != null) {
  117895. t4 = A.SpanExtensions_before(node.span, J.get$span$z(B.JSArray_methods.get$first(t1)));
  117896. t4 = A.String_String$fromCharCodes(B.NativeUint32List_methods.sublist$2(t4.file._decodedChars, t4._file$_start, t4._end), 0, null);
  117897. t2 = t2._interpolation_buffer0$_text;
  117898. t2._contents += t4;
  117899. }
  117900. }
  117901. _this._writeListAndBetween$1(t1);
  117902. if (t3) {
  117903. t2 = _this.buffer;
  117904. if (t2 != null) {
  117905. t1 = A.SpanExtensions_after(node.span, J.get$span$z(B.JSArray_methods.get$last(t1)));
  117906. t1 = A.String_String$fromCharCodes(B.NativeUint32List_methods.sublist$2(t1.file._decodedChars, t1._file$_start, t1._end), 0, null);
  117907. t2 = t2._interpolation_buffer0$_text;
  117908. t2._contents += t1;
  117909. }
  117910. }
  117911. },
  117912. visitMapExpression$1(_, node) {
  117913. return this.buffer = null;
  117914. },
  117915. visitNullExpression$1(_, node) {
  117916. return this.buffer = null;
  117917. },
  117918. visitNumberExpression$1(_, node) {
  117919. var t2,
  117920. t1 = this.buffer;
  117921. if (t1 != null) {
  117922. t2 = node.span.get$text();
  117923. t1 = t1._interpolation_buffer0$_text;
  117924. t1._contents += t2;
  117925. }
  117926. return null;
  117927. },
  117928. visitParenthesizedExpression$1(_, node) {
  117929. return this.buffer = null;
  117930. },
  117931. visitSelectorExpression$1(_, node) {
  117932. return this.buffer = null;
  117933. },
  117934. visitStringExpression$1(_, node) {
  117935. var t2, t3, t4, t5, i, span, _0_0, t6, expression, t7, t8, t9, _this = this,
  117936. t1 = node.text;
  117937. if (t1.get$asPlain() != null) {
  117938. t2 = _this.buffer;
  117939. if (t2 != null) {
  117940. t1 = t1.span.get$text();
  117941. t2 = t2._interpolation_buffer0$_text;
  117942. t2._contents += t1;
  117943. }
  117944. return;
  117945. }
  117946. for (t2 = t1.contents, t3 = t2.length, t4 = t3 - 1, t5 = t1.span, i = 0; i < t3; ++i) {
  117947. span = t1.spanForElement$1(i);
  117948. _0_0 = t2[i];
  117949. t6 = _0_0 instanceof A.Expression0;
  117950. expression = t6 ? _0_0 : null;
  117951. if (t6) {
  117952. if (i === 0) {
  117953. t6 = _this.buffer;
  117954. if (t6 != null) {
  117955. t7 = A.SpanExtensions_before(t5, span);
  117956. t8 = t7._file$_start;
  117957. t9 = t7.file._decodedChars;
  117958. t9 = A.String_String$fromCharCodes(new Uint32Array(t9.subarray(t8, A._checkValidRange(t8, t7._end, t9.length))), 0, null);
  117959. t6 = t6._interpolation_buffer0$_text;
  117960. t6._contents += t9;
  117961. }
  117962. }
  117963. t6 = _this.buffer;
  117964. if (t6 != null) {
  117965. t6._interpolation_buffer0$_flushText$0();
  117966. t6._interpolation_buffer0$_contents.push(expression);
  117967. t6._interpolation_buffer0$_spans.push(span);
  117968. }
  117969. if (i === t4) {
  117970. t6 = _this.buffer;
  117971. if (t6 != null) {
  117972. t7 = A.SpanExtensions_after(t5, span);
  117973. t8 = t7._file$_start;
  117974. t9 = t7.file._decodedChars;
  117975. t9 = A.String_String$fromCharCodes(new Uint32Array(t9.subarray(t8, A._checkValidRange(t8, t7._end, t9.length))), 0, null);
  117976. t6 = t6._interpolation_buffer0$_text;
  117977. t6._contents += t9;
  117978. }
  117979. }
  117980. continue;
  117981. }
  117982. t6 = _this.buffer;
  117983. if (t6 != null) {
  117984. t6 = t6._interpolation_buffer0$_text;
  117985. t7 = span.toString$0(0);
  117986. t6._contents += t7;
  117987. }
  117988. }
  117989. },
  117990. visitSupportsExpression$1(_, node) {
  117991. return this.buffer = null;
  117992. },
  117993. visitUnaryOperationExpression$1(_, node) {
  117994. return this.buffer = null;
  117995. },
  117996. visitValueExpression$1(_, node) {
  117997. return this.buffer = null;
  117998. },
  117999. visitVariableExpression$1(_, node) {
  118000. return this.buffer = null;
  118001. },
  118002. _writeListAndBetween$2(expressions, visitor) {
  118003. var t1, lastExpression, _i, expression, t2, t3, t4, t5;
  118004. for (t1 = expressions.length, lastExpression = null, _i = 0; _i < t1; ++_i, lastExpression = expression) {
  118005. expression = expressions[_i];
  118006. if (lastExpression != null) {
  118007. t2 = this.buffer;
  118008. if (t2 != null) {
  118009. t3 = A.SpanExtensions_between(lastExpression.get$span(lastExpression), expression.get$span(expression));
  118010. t4 = t3._file$_start;
  118011. t5 = t3.file._decodedChars;
  118012. t5 = A.String_String$fromCharCodes(new Uint32Array(t5.subarray(t4, A._checkValidRange(t4, t3._end, t5.length))), 0, null);
  118013. t2 = t2._interpolation_buffer0$_text;
  118014. t2._contents += t5;
  118015. }
  118016. }
  118017. expression.accept$1(this);
  118018. if (this.buffer == null)
  118019. return;
  118020. }
  118021. },
  118022. _writeListAndBetween$1(expressions) {
  118023. return this._writeListAndBetween$2(expressions, null);
  118024. },
  118025. $isExpressionVisitor: 1
  118026. };
  118027. A.SourceMapBuffer0.prototype = {
  118028. get$_source_map_buffer0$_targetLocation() {
  118029. var t1 = this._source_map_buffer0$_buffer._contents,
  118030. t2 = this._source_map_buffer0$_line;
  118031. return A.SourceLocation$(t1.length, this._source_map_buffer0$_column, t2, null);
  118032. },
  118033. get$length(_) {
  118034. return this._source_map_buffer0$_buffer._contents.length;
  118035. },
  118036. forSpan$1$2(span, callback) {
  118037. var t1, _this = this,
  118038. wasInSpan = _this._source_map_buffer0$_inSpan;
  118039. _this._source_map_buffer0$_inSpan = true;
  118040. _this._source_map_buffer0$_addEntry$2(span.get$start(span), _this.get$_source_map_buffer0$_targetLocation());
  118041. try {
  118042. t1 = callback.call$0();
  118043. return t1;
  118044. } finally {
  118045. _this._source_map_buffer0$_inSpan = wasInSpan;
  118046. }
  118047. },
  118048. forSpan$2(span, callback) {
  118049. callback.toString;
  118050. return this.forSpan$1$2(span, callback, type$.dynamic);
  118051. },
  118052. _source_map_buffer0$_addEntry$2(source, target) {
  118053. var entry, t2,
  118054. t1 = this._source_map_buffer0$_entries;
  118055. if (t1.length !== 0) {
  118056. entry = B.JSArray_methods.get$last(t1);
  118057. t2 = entry.source;
  118058. if (t2.file.getLine$1(t2.offset) === source.file.getLine$1(source.offset) && entry.target.line === target.line)
  118059. return;
  118060. if (entry.target.offset === target.offset)
  118061. return;
  118062. }
  118063. t1.push(new A.Entry(source, target, null));
  118064. },
  118065. write$1(_, object) {
  118066. var t1, i,
  118067. string = J.toString$0$(object);
  118068. this._source_map_buffer0$_buffer._contents += string;
  118069. for (t1 = string.length, i = 0; i < t1; ++i)
  118070. if (string.charCodeAt(i) === 10)
  118071. this._source_map_buffer0$_writeLine$0();
  118072. else
  118073. ++this._source_map_buffer0$_column;
  118074. },
  118075. writeCharCode$1(charCode) {
  118076. var t1 = this._source_map_buffer0$_buffer,
  118077. t2 = A.Primitives_stringFromCharCode(charCode);
  118078. t1._contents += t2;
  118079. if (charCode === 10)
  118080. this._source_map_buffer0$_writeLine$0();
  118081. else
  118082. ++this._source_map_buffer0$_column;
  118083. },
  118084. _source_map_buffer0$_writeLine$0() {
  118085. var _this = this,
  118086. t1 = _this._source_map_buffer0$_entries;
  118087. 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)
  118088. t1.pop();
  118089. ++_this._source_map_buffer0$_line;
  118090. _this._source_map_buffer0$_column = 0;
  118091. if (_this._source_map_buffer0$_inSpan)
  118092. t1.push(new A.Entry(B.JSArray_methods.get$last(t1).source, _this.get$_source_map_buffer0$_targetLocation(), null));
  118093. },
  118094. toString$0(_) {
  118095. var t1 = this._source_map_buffer0$_buffer._contents;
  118096. return t1.charCodeAt(0) == 0 ? t1 : t1;
  118097. },
  118098. buildSourceMap$1$prefix(prefix) {
  118099. var i, t2, prefixColumn, _box_0 = {},
  118100. t1 = prefix.length;
  118101. if (t1 === 0)
  118102. return A.SingleMapping_SingleMapping$fromEntries(this._source_map_buffer0$_entries);
  118103. _box_0.prefixColumn = _box_0.prefixLines = 0;
  118104. for (i = 0, t2 = 0; i < t1; ++i)
  118105. if (prefix.charCodeAt(i) === 10) {
  118106. ++_box_0.prefixLines;
  118107. _box_0.prefixColumn = 0;
  118108. t2 = 0;
  118109. } else {
  118110. prefixColumn = t2 + 1;
  118111. _box_0.prefixColumn = prefixColumn;
  118112. t2 = prefixColumn;
  118113. }
  118114. t2 = this._source_map_buffer0$_entries;
  118115. 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>")));
  118116. }
  118117. };
  118118. A.SourceMapBuffer_buildSourceMap_closure0.prototype = {
  118119. call$1(entry) {
  118120. var t1 = entry.target,
  118121. t2 = t1.line,
  118122. t3 = this._box_0,
  118123. t4 = t3.prefixLines;
  118124. t3 = t2 === 0 ? t3.prefixColumn : 0;
  118125. return new A.Entry(entry.source, A.SourceLocation$(t1.offset + this.prefixLength, t1.column + t3, t2 + t4, null), entry.identifierName);
  118126. },
  118127. $signature: 164
  118128. };
  118129. A.updateSourceSpanPrototype_closure.prototype = {
  118130. call$0() {
  118131. return this.span;
  118132. },
  118133. $signature: 29
  118134. };
  118135. A.updateSourceSpanPrototype_closure0.prototype = {
  118136. call$1(span) {
  118137. return span.get$start(span);
  118138. },
  118139. $signature: 263
  118140. };
  118141. A.updateSourceSpanPrototype_closure1.prototype = {
  118142. call$1(span) {
  118143. return span.get$end(span);
  118144. },
  118145. $signature: 263
  118146. };
  118147. A.updateSourceSpanPrototype_closure2.prototype = {
  118148. call$1(span) {
  118149. return A.NullableExtension_andThen0(span.get$sourceUrl(span), new A.updateSourceSpanPrototype__closure());
  118150. },
  118151. $signature: 580
  118152. };
  118153. A.updateSourceSpanPrototype__closure.prototype = {
  118154. call$1(url) {
  118155. var t1, _null = null;
  118156. if (url.get$scheme() === "") {
  118157. t1 = $.$get$context();
  118158. t1 = t1.toUri$1(A.absolute(t1.style.pathFromUri$1(A._parseUri(url)), _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null));
  118159. } else
  118160. t1 = url;
  118161. return new self.URL(t1.toString$0(0));
  118162. },
  118163. $signature: 264
  118164. };
  118165. A.updateSourceSpanPrototype_closure3.prototype = {
  118166. call$1(span) {
  118167. return span.get$text();
  118168. },
  118169. $signature: 265
  118170. };
  118171. A.updateSourceSpanPrototype_closure4.prototype = {
  118172. call$1(span) {
  118173. return span.get$context(span);
  118174. },
  118175. $signature: 265
  118176. };
  118177. A.updateSourceSpanPrototype_closure5.prototype = {
  118178. call$1($location) {
  118179. return $location.get$line();
  118180. },
  118181. $signature: 266
  118182. };
  118183. A.updateSourceSpanPrototype_closure6.prototype = {
  118184. call$1($location) {
  118185. return $location.get$column();
  118186. },
  118187. $signature: 266
  118188. };
  118189. A.ColorSpace0.prototype = {
  118190. get$isLegacyInternal() {
  118191. return false;
  118192. },
  118193. get$isPolarInternal() {
  118194. return false;
  118195. },
  118196. convert$5(dest, channel0, channel1, channel2, alpha) {
  118197. return this.convertLinear$5(dest, channel0, channel1, channel2, alpha);
  118198. },
  118199. convertLinear$10$missingA$missingB$missingChroma$missingHue$missingLightness(dest, red, green, blue, alpha, missingA, missingB, missingChroma, missingHue, missingLightness) {
  118200. var t1, t2, transformedBlue, transformedGreen, transformedRed, linearRed, linearGreen, linearBlue, matrix, _this = this;
  118201. $label0$0: {
  118202. t1 = B.HslColorSpace_JQ20 !== dest;
  118203. if (!t1 || B.HwbColorSpace_guQ0 === dest) {
  118204. t2 = B.SrgbColorSpace_thf0;
  118205. break $label0$0;
  118206. }
  118207. if (B.LabColorSpace_2nT0 === dest || B.LchColorSpace_Bpv0 === dest) {
  118208. t2 = B.XyzD50ColorSpace_2OB0;
  118209. break $label0$0;
  118210. }
  118211. if (B.OklabColorSpace_5400 === dest || B.OklchColorSpace_9Gj0 === dest) {
  118212. t2 = B.LmsColorSpace_Os30;
  118213. break $label0$0;
  118214. }
  118215. t2 = dest;
  118216. break $label0$0;
  118217. }
  118218. if (t2 === _this) {
  118219. transformedBlue = blue;
  118220. transformedGreen = green;
  118221. transformedRed = red;
  118222. } else {
  118223. linearRed = _this.toLinear$1(red == null ? 0 : red);
  118224. linearGreen = _this.toLinear$1(green == null ? 0 : green);
  118225. linearBlue = _this.toLinear$1(blue == null ? 0 : blue);
  118226. matrix = _this.transformationMatrix$1(t2);
  118227. transformedRed = t2.fromLinear$1(matrix[0] * linearRed + matrix[1] * linearGreen + matrix[2] * linearBlue);
  118228. transformedGreen = t2.fromLinear$1(matrix[3] * linearRed + matrix[4] * linearGreen + matrix[5] * linearBlue);
  118229. transformedBlue = t2.fromLinear$1(matrix[6] * linearRed + matrix[7] * linearGreen + matrix[8] * linearBlue);
  118230. }
  118231. $label1$1: {
  118232. if (!t1 || B.HwbColorSpace_guQ0 === dest) {
  118233. t1 = B.SrgbColorSpace_thf0.convert$8$missingChroma$missingHue$missingLightness(dest, transformedRed, transformedGreen, transformedBlue, alpha, missingChroma, missingHue, missingLightness);
  118234. break $label1$1;
  118235. }
  118236. if (B.LabColorSpace_2nT0 === dest || B.LchColorSpace_Bpv0 === dest) {
  118237. t1 = B.XyzD50ColorSpace_2OB0.convert$10$missingA$missingB$missingChroma$missingHue$missingLightness(dest, transformedRed, transformedGreen, transformedBlue, alpha, missingA, missingB, missingChroma, missingHue, missingLightness);
  118238. break $label1$1;
  118239. }
  118240. if (B.OklabColorSpace_5400 === dest || B.OklchColorSpace_9Gj0 === dest) {
  118241. t1 = B.LmsColorSpace_Os30.convert$10$missingA$missingB$missingChroma$missingHue$missingLightness(dest, transformedRed, transformedGreen, transformedBlue, alpha, missingA, missingB, missingChroma, missingHue, missingLightness);
  118242. break $label1$1;
  118243. }
  118244. t1 = red == null ? null : transformedRed;
  118245. t2 = green == null ? null : transformedGreen;
  118246. t1 = A.SassColor_SassColor$forSpaceInternal0(dest, t1, t2, blue == null ? null : transformedBlue, alpha);
  118247. break $label1$1;
  118248. }
  118249. return t1;
  118250. },
  118251. convertLinear$5(dest, red, green, blue, alpha) {
  118252. return this.convertLinear$10$missingA$missingB$missingChroma$missingHue$missingLightness(dest, red, green, blue, alpha, false, false, false, false, false);
  118253. },
  118254. toLinear$1(channel) {
  118255. return A.throwExpression(A.UnimplementedError$("[BUG] Color space " + this.toString$0(0) + " doesn't support linear conversions."));
  118256. },
  118257. fromLinear$1(channel) {
  118258. return A.throwExpression(A.UnimplementedError$("[BUG] Color space " + this.toString$0(0) + " doesn't support linear conversions."));
  118259. },
  118260. transformationMatrix$1(dest) {
  118261. return A.throwExpression(A.UnimplementedError$("[BUG] Color space conversion from " + this.toString$0(0) + " to " + dest.toString$0(0) + " not implemented."));
  118262. },
  118263. toString$0(_) {
  118264. return this.name;
  118265. }
  118266. };
  118267. A.SrgbColorSpace0.prototype = {
  118268. get$isBoundedInternal() {
  118269. return true;
  118270. },
  118271. convert$8$missingChroma$missingHue$missingLightness(dest, red, green, blue, alpha, missingChroma, missingHue, missingLightness) {
  118272. var max, min, delta, hue, lightness, saturation, t1, t2, whiteness, blackness, _null = null;
  118273. if (B.HslColorSpace_JQ20 === dest || B.HwbColorSpace_guQ0 === dest) {
  118274. if (red == null)
  118275. red = 0;
  118276. if (green == null)
  118277. green = 0;
  118278. if (blue == null)
  118279. blue = 0;
  118280. max = Math.max(Math.max(red, green), blue);
  118281. min = Math.min(Math.min(red, green), blue);
  118282. delta = max - min;
  118283. if (max === min)
  118284. hue = 0;
  118285. else if (max === red)
  118286. hue = 60 * (green - blue) / delta + 360;
  118287. else
  118288. hue = max === green ? 60 * (blue - red) / delta + 120 : 60 * (red - green) / delta + 240;
  118289. if (dest === B.HslColorSpace_JQ20) {
  118290. lightness = (min + max) / 2;
  118291. saturation = lightness === 0 || lightness === 1 ? 0 : 100 * (max - lightness) / Math.min(lightness, 1 - lightness);
  118292. if (saturation < 0) {
  118293. hue += 180;
  118294. saturation = Math.abs(saturation);
  118295. }
  118296. t1 = missingHue || A.fuzzyEquals0(saturation, 0) ? _null : B.JSNumber_methods.$mod(hue, 360);
  118297. t2 = missingChroma ? _null : saturation;
  118298. return A.SassColor_SassColor$forSpaceInternal0(dest, t1, t2, missingLightness ? _null : lightness * 100, alpha);
  118299. } else {
  118300. whiteness = min * 100;
  118301. blackness = 100 - max * 100;
  118302. if (!missingHue) {
  118303. t1 = whiteness + blackness;
  118304. t1 = t1 > 100 || A.fuzzyEquals0(t1, 100);
  118305. } else
  118306. t1 = true;
  118307. return A.SassColor_SassColor$forSpaceInternal0(dest, t1 ? _null : B.JSNumber_methods.$mod(hue, 360), whiteness, blackness, alpha);
  118308. }
  118309. }
  118310. if (B.RgbColorSpace_i0P0 === dest) {
  118311. t1 = red == null ? _null : red * 255;
  118312. t2 = green == null ? _null : green * 255;
  118313. return A.SassColor_SassColor$rgbInternal0(t1, t2, blue == null ? _null : blue * 255, alpha, _null);
  118314. }
  118315. if (B.SrgbLinearColorSpace_kUj0 === dest) {
  118316. t1 = this.get$toLinear();
  118317. return A.SassColor_SassColor$forSpaceInternal0(dest, A.NullableExtension_andThen0(red, t1), A.NullableExtension_andThen0(green, t1), A.NullableExtension_andThen0(blue, t1), alpha);
  118318. }
  118319. return this.super$ColorSpace$convertLinear0(dest, red, green, blue, alpha, false, false, missingChroma, missingHue, missingLightness);
  118320. },
  118321. convert$5(dest, red, green, blue, alpha) {
  118322. return this.convert$8$missingChroma$missingHue$missingLightness(dest, red, green, blue, alpha, false, false, false);
  118323. },
  118324. convert$6$missingHue(dest, red, green, blue, alpha, missingHue) {
  118325. return this.convert$8$missingChroma$missingHue$missingLightness(dest, red, green, blue, alpha, false, missingHue, false);
  118326. },
  118327. toLinear$1(channel) {
  118328. return A.srgbAndDisplayP3ToLinear0(channel);
  118329. },
  118330. fromLinear$1(channel) {
  118331. return A.srgbAndDisplayP3FromLinear0(channel);
  118332. },
  118333. transformationMatrix$1(dest) {
  118334. var t1;
  118335. $label0$0: {
  118336. if (B.DisplayP3ColorSpace_MmT0 === dest) {
  118337. t1 = $.$get$linearSrgbToLinearDisplayP30();
  118338. break $label0$0;
  118339. }
  118340. if (B.A98RgbColorSpace_lf20 === dest) {
  118341. t1 = $.$get$linearSrgbToLinearA98Rgb0();
  118342. break $label0$0;
  118343. }
  118344. if (B.ProphotoRgbColorSpace_BDz0 === dest) {
  118345. t1 = $.$get$linearSrgbToLinearProphotoRgb0();
  118346. break $label0$0;
  118347. }
  118348. if (B.Rec2020ColorSpace_6oo0 === dest) {
  118349. t1 = $.$get$linearSrgbToLinearRec20200();
  118350. break $label0$0;
  118351. }
  118352. if (B.XyzD65ColorSpace_WiJ0 === dest) {
  118353. t1 = $.$get$linearSrgbToXyzD650();
  118354. break $label0$0;
  118355. }
  118356. if (B.XyzD50ColorSpace_2OB0 === dest) {
  118357. t1 = $.$get$linearSrgbToXyzD500();
  118358. break $label0$0;
  118359. }
  118360. if (B.LmsColorSpace_Os30 === dest) {
  118361. t1 = $.$get$linearSrgbToLms0();
  118362. break $label0$0;
  118363. }
  118364. t1 = this.super$ColorSpace$transformationMatrix0(dest);
  118365. break $label0$0;
  118366. }
  118367. return t1;
  118368. }
  118369. };
  118370. A.SrgbLinearColorSpace0.prototype = {
  118371. get$isBoundedInternal() {
  118372. return true;
  118373. },
  118374. convert$5(dest, red, green, blue, alpha) {
  118375. var t1;
  118376. $label0$0: {
  118377. if (B.RgbColorSpace_i0P0 === dest || B.HslColorSpace_JQ20 === dest || B.HwbColorSpace_guQ0 === dest || B.SrgbColorSpace_thf0 === dest) {
  118378. t1 = B.SrgbColorSpace_thf0.convert$5(dest, A.NullableExtension_andThen0(red, A.utils2__srgbAndDisplayP3FromLinear$closure()), A.NullableExtension_andThen0(green, A.utils2__srgbAndDisplayP3FromLinear$closure()), A.NullableExtension_andThen0(blue, A.utils2__srgbAndDisplayP3FromLinear$closure()), alpha);
  118379. break $label0$0;
  118380. }
  118381. t1 = this.super$ColorSpace$convert0(dest, red, green, blue, alpha);
  118382. break $label0$0;
  118383. }
  118384. return t1;
  118385. },
  118386. toLinear$1(channel) {
  118387. return channel;
  118388. },
  118389. fromLinear$1(channel) {
  118390. return channel;
  118391. },
  118392. transformationMatrix$1(dest) {
  118393. var t1;
  118394. $label0$0: {
  118395. if (B.DisplayP3ColorSpace_MmT0 === dest) {
  118396. t1 = $.$get$linearSrgbToLinearDisplayP30();
  118397. break $label0$0;
  118398. }
  118399. if (B.A98RgbColorSpace_lf20 === dest) {
  118400. t1 = $.$get$linearSrgbToLinearA98Rgb0();
  118401. break $label0$0;
  118402. }
  118403. if (B.ProphotoRgbColorSpace_BDz0 === dest) {
  118404. t1 = $.$get$linearSrgbToLinearProphotoRgb0();
  118405. break $label0$0;
  118406. }
  118407. if (B.Rec2020ColorSpace_6oo0 === dest) {
  118408. t1 = $.$get$linearSrgbToLinearRec20200();
  118409. break $label0$0;
  118410. }
  118411. if (B.XyzD65ColorSpace_WiJ0 === dest) {
  118412. t1 = $.$get$linearSrgbToXyzD650();
  118413. break $label0$0;
  118414. }
  118415. if (B.XyzD50ColorSpace_2OB0 === dest) {
  118416. t1 = $.$get$linearSrgbToXyzD500();
  118417. break $label0$0;
  118418. }
  118419. if (B.LmsColorSpace_Os30 === dest) {
  118420. t1 = $.$get$linearSrgbToLms0();
  118421. break $label0$0;
  118422. }
  118423. t1 = this.super$ColorSpace$transformationMatrix0(dest);
  118424. break $label0$0;
  118425. }
  118426. return t1;
  118427. }
  118428. };
  118429. A.Statement0.prototype = {$isAstNode0: 1, $isSassNode: 1};
  118430. A.JSStatementVisitor.prototype = {
  118431. visitAtRootRule$1(_, node) {
  118432. return J.visitAtRootRule$1$x(this._statement$_inner, node);
  118433. },
  118434. visitAtRule$1(_, node) {
  118435. return J.visitAtRule$1$x(this._statement$_inner, node);
  118436. },
  118437. visitContentBlock$1(_, node) {
  118438. return J.visitContentBlock$1$x(this._statement$_inner, node);
  118439. },
  118440. visitContentRule$1(_, node) {
  118441. return J.visitContentRule$1$x(this._statement$_inner, node);
  118442. },
  118443. visitDebugRule$1(_, node) {
  118444. return J.visitDebugRule$1$x(this._statement$_inner, node);
  118445. },
  118446. visitDeclaration$1(_, node) {
  118447. return J.visitDeclaration$1$x(this._statement$_inner, node);
  118448. },
  118449. visitEachRule$1(_, node) {
  118450. return J.visitEachRule$1$x(this._statement$_inner, node);
  118451. },
  118452. visitErrorRule$1(_, node) {
  118453. return J.visitErrorRule$1$x(this._statement$_inner, node);
  118454. },
  118455. visitExtendRule$1(_, node) {
  118456. return J.visitExtendRule$1$x(this._statement$_inner, node);
  118457. },
  118458. visitForRule$1(_, node) {
  118459. return J.visitForRule$1$x(this._statement$_inner, node);
  118460. },
  118461. visitForwardRule$1(_, node) {
  118462. return J.visitForwardRule$1$x(this._statement$_inner, node);
  118463. },
  118464. visitFunctionRule$1(_, node) {
  118465. return J.visitFunctionRule$1$x(this._statement$_inner, node);
  118466. },
  118467. visitIfRule$1(_, node) {
  118468. return J.visitIfRule$1$x(this._statement$_inner, node);
  118469. },
  118470. visitImportRule$1(_, node) {
  118471. return J.visitImportRule$1$x(this._statement$_inner, node);
  118472. },
  118473. visitIncludeRule$1(_, node) {
  118474. return J.visitIncludeRule$1$x(this._statement$_inner, node);
  118475. },
  118476. visitLoudComment$1(_, node) {
  118477. return J.visitLoudComment$1$x(this._statement$_inner, node);
  118478. },
  118479. visitMediaRule$1(_, node) {
  118480. return J.visitMediaRule$1$x(this._statement$_inner, node);
  118481. },
  118482. visitMixinRule$1(_, node) {
  118483. return J.visitMixinRule$1$x(this._statement$_inner, node);
  118484. },
  118485. visitReturnRule$1(_, node) {
  118486. return J.visitReturnRule$1$x(this._statement$_inner, node);
  118487. },
  118488. visitSilentComment$1(_, node) {
  118489. return J.visitSilentComment$1$x(this._statement$_inner, node);
  118490. },
  118491. visitStyleRule$1(_, node) {
  118492. return J.visitStyleRule$1$x(this._statement$_inner, node);
  118493. },
  118494. visitStylesheet$1(_, node) {
  118495. return J.visitStylesheet$1$x(this._statement$_inner, node);
  118496. },
  118497. visitSupportsRule$1(_, node) {
  118498. return J.visitSupportsRule$1$x(this._statement$_inner, node);
  118499. },
  118500. visitUseRule$1(_, node) {
  118501. return J.visitUseRule$1$x(this._statement$_inner, node);
  118502. },
  118503. visitVariableDeclaration$1(_, node) {
  118504. return J.visitVariableDeclaration$1$x(this._statement$_inner, node);
  118505. },
  118506. visitWarnRule$1(_, node) {
  118507. return J.visitWarnRule$1$x(this._statement$_inner, node);
  118508. },
  118509. visitWhileRule$1(_, node) {
  118510. return J.visitWhileRule$1$x(this._statement$_inner, node);
  118511. },
  118512. $isStatementVisitor: 1
  118513. };
  118514. A.JSStatementVisitorObject.prototype = {};
  118515. A.StatementSearchVisitor0.prototype = {
  118516. visitAtRootRule$1(_, node) {
  118517. return this.visitChildren$1(node.children);
  118518. },
  118519. visitAtRule$1(_, node) {
  118520. return A.NullableExtension_andThen0(node.children, this.get$visitChildren());
  118521. },
  118522. visitContentBlock$1(_, node) {
  118523. return this.visitChildren$1(node.children);
  118524. },
  118525. visitContentRule$1(_, node) {
  118526. return null;
  118527. },
  118528. visitDebugRule$1(_, node) {
  118529. return null;
  118530. },
  118531. visitDeclaration$1(_, node) {
  118532. return A.NullableExtension_andThen0(node.children, this.get$visitChildren());
  118533. },
  118534. visitEachRule$1(_, node) {
  118535. return this.visitChildren$1(node.children);
  118536. },
  118537. visitErrorRule$1(_, node) {
  118538. return null;
  118539. },
  118540. visitExtendRule$1(_, node) {
  118541. return null;
  118542. },
  118543. visitForRule$1(_, node) {
  118544. return this.visitChildren$1(node.children);
  118545. },
  118546. visitForwardRule$1(_, node) {
  118547. return null;
  118548. },
  118549. visitFunctionRule$1(_, node) {
  118550. return this.visitChildren$1(node.children);
  118551. },
  118552. visitIfRule$1(_, node) {
  118553. var t1 = A.IterableExtension_search0(node.clauses, new A.StatementSearchVisitor_visitIfRule_closure1(this));
  118554. return t1 == null ? A.NullableExtension_andThen0(node.lastClause, new A.StatementSearchVisitor_visitIfRule_closure2(this)) : t1;
  118555. },
  118556. visitImportRule$1(_, node) {
  118557. return null;
  118558. },
  118559. visitIncludeRule$1(_, node) {
  118560. return A.NullableExtension_andThen0(node.content, this.get$visitContentBlock(this));
  118561. },
  118562. visitLoudComment$1(_, node) {
  118563. return null;
  118564. },
  118565. visitMediaRule$1(_, node) {
  118566. return this.visitChildren$1(node.children);
  118567. },
  118568. visitMixinRule$1(_, node) {
  118569. return this.visitChildren$1(node.children);
  118570. },
  118571. visitReturnRule$1(_, node) {
  118572. return null;
  118573. },
  118574. visitSilentComment$1(_, node) {
  118575. return null;
  118576. },
  118577. visitStyleRule$1(_, node) {
  118578. return this.visitChildren$1(node.children);
  118579. },
  118580. visitStylesheet$1(_, node) {
  118581. return this.visitChildren$1(node.children);
  118582. },
  118583. visitSupportsRule$1(_, node) {
  118584. return this.visitChildren$1(node.children);
  118585. },
  118586. visitUseRule$1(_, node) {
  118587. return null;
  118588. },
  118589. visitVariableDeclaration$1(_, node) {
  118590. return null;
  118591. },
  118592. visitWarnRule$1(_, node) {
  118593. return null;
  118594. },
  118595. visitWhileRule$1(_, node) {
  118596. return this.visitChildren$1(node.children);
  118597. },
  118598. visitChildren$1(children) {
  118599. return A.IterableExtension_search0(children, new A.StatementSearchVisitor_visitChildren_closure0(this));
  118600. }
  118601. };
  118602. A.StatementSearchVisitor_visitIfRule_closure1.prototype = {
  118603. call$1(clause) {
  118604. return A.IterableExtension_search0(clause.children, new A.StatementSearchVisitor_visitIfRule__closure2(this.$this));
  118605. },
  118606. $signature() {
  118607. return A._instanceType(this.$this)._eval$1("StatementSearchVisitor0.T?(IfClause0)");
  118608. }
  118609. };
  118610. A.StatementSearchVisitor_visitIfRule__closure2.prototype = {
  118611. call$1(child) {
  118612. return child.accept$1(this.$this);
  118613. },
  118614. $signature() {
  118615. return A._instanceType(this.$this)._eval$1("StatementSearchVisitor0.T?(Statement0)");
  118616. }
  118617. };
  118618. A.StatementSearchVisitor_visitIfRule_closure2.prototype = {
  118619. call$1(lastClause) {
  118620. return A.IterableExtension_search0(lastClause.children, new A.StatementSearchVisitor_visitIfRule__closure1(this.$this));
  118621. },
  118622. $signature() {
  118623. return A._instanceType(this.$this)._eval$1("StatementSearchVisitor0.T?(ElseClause0)");
  118624. }
  118625. };
  118626. A.StatementSearchVisitor_visitIfRule__closure1.prototype = {
  118627. call$1(child) {
  118628. return child.accept$1(this.$this);
  118629. },
  118630. $signature() {
  118631. return A._instanceType(this.$this)._eval$1("StatementSearchVisitor0.T?(Statement0)");
  118632. }
  118633. };
  118634. A.StatementSearchVisitor_visitChildren_closure0.prototype = {
  118635. call$1(child) {
  118636. return child.accept$1(this.$this);
  118637. },
  118638. $signature() {
  118639. return A._instanceType(this.$this)._eval$1("StatementSearchVisitor0.T?(Statement0)");
  118640. }
  118641. };
  118642. A.StaticImport0.prototype = {
  118643. toString$0(_) {
  118644. var t1 = this.url.toString$0(0),
  118645. t2 = this.modifiers;
  118646. return t1 + (t2 == null ? "" : " " + t2.toString$0(0));
  118647. },
  118648. $isImport0: 1,
  118649. $isAstNode0: 1,
  118650. $isSassNode: 1,
  118651. get$span(receiver) {
  118652. return this.span;
  118653. }
  118654. };
  118655. A.StderrLogger0.prototype = {
  118656. internalWarn$4$deprecation$span$trace(message, deprecation, span, trace) {
  118657. var t3,
  118658. result = new A.StringBuffer(""),
  118659. t1 = deprecation != null,
  118660. showDeprecation = t1 && deprecation !== B.Deprecation_ZVM,
  118661. t2 = this.color;
  118662. if (t2) {
  118663. t3 = result._contents = "" + "\x1b[33m\x1b[1m";
  118664. t3 = result._contents = (t1 ? result._contents = t3 + "Deprecation " : t3) + "Warning\x1b[0m";
  118665. if (showDeprecation) {
  118666. t1 = t3 + (" [\x1b[34m" + deprecation.toString$0(0) + "\x1b[0m]");
  118667. result._contents = t1;
  118668. } else
  118669. t1 = t3;
  118670. } else {
  118671. t3 = result._contents = (t1 ? result._contents = "" + "DEPRECATION " : "") + "WARNING";
  118672. if (showDeprecation) {
  118673. t1 = t3 + (" [" + deprecation.toString$0(0) + "]");
  118674. result._contents = t1;
  118675. } else
  118676. t1 = t3;
  118677. }
  118678. if (span == null)
  118679. t1 = result._contents = t1 + (": " + message + "\n");
  118680. else if (trace != null) {
  118681. t1 += ": " + message + "\n\n" + span.highlight$1$color(t2) + "\n";
  118682. result._contents = t1;
  118683. } else {
  118684. t1 += " on " + span.message$2$color(0, "\n" + message, t2) + "\n";
  118685. result._contents = t1;
  118686. }
  118687. if (trace != null)
  118688. result._contents = t1 + (A.indent0(B.JSString_methods.trimRight$0(trace.toString$0(0)), 4) + "\n");
  118689. A.printError0(result);
  118690. },
  118691. debug$2(_, message, span) {
  118692. var url, t3, t4,
  118693. t1 = span.file,
  118694. t2 = span._file$_start;
  118695. if (A.FileLocation$_(t1, t2).file.url == null)
  118696. url = "-";
  118697. else {
  118698. t3 = A.FileLocation$_(t1, t2).file.url;
  118699. t4 = $.$get$context();
  118700. t3.toString;
  118701. url = t4.prettyUri$1(t3);
  118702. }
  118703. t1 = A.FileLocation$_(t1, t2);
  118704. t1 = t1.file.getLine$1(t1.offset);
  118705. t2 = this.color ? "\x1b[1mDebug\x1b[0m" : "DEBUG";
  118706. t2 = "" + (url + ":" + (t1 + 1) + " ") + t2 + (": " + message);
  118707. A.printError0(t2.charCodeAt(0) == 0 ? t2 : t2);
  118708. }
  118709. };
  118710. A.StringExpression0.prototype = {
  118711. get$span(_) {
  118712. return this.text.span;
  118713. },
  118714. accept$1$1(visitor) {
  118715. return visitor.visitStringExpression$1(0, this);
  118716. },
  118717. accept$1(visitor) {
  118718. return this.accept$1$1(visitor, type$.dynamic);
  118719. },
  118720. asInterpolation$1$static($static) {
  118721. var t1, t2, quote, t3, t4, t5, buffer, t6, i, value, t7;
  118722. if (!this.hasQuotes)
  118723. return this.text;
  118724. t1 = this.text;
  118725. t2 = t1.contents;
  118726. quote = A.StringExpression__bestQuote0(new A.WhereTypeIterable(t2, type$.WhereTypeIterable_String));
  118727. t3 = new A.StringBuffer("");
  118728. t4 = A._setArrayType([], type$.JSArray_Object);
  118729. t5 = A._setArrayType([], type$.JSArray_nullable_FileSpan);
  118730. buffer = new A.InterpolationBuffer0(t3, t4, t5);
  118731. t6 = A.Primitives_stringFromCharCode(quote);
  118732. t3._contents += t6;
  118733. for (t6 = t2.length, i = 0; i < t6; ++i) {
  118734. value = t2[i];
  118735. if (value instanceof A.Expression0) {
  118736. t7 = t1.spanForElement$1(i);
  118737. buffer._interpolation_buffer0$_flushText$0();
  118738. t4.push(value);
  118739. t5.push(t7);
  118740. continue;
  118741. }
  118742. if (typeof value == "string")
  118743. A.StringExpression__quoteInnerText0(value, quote, buffer, $static);
  118744. }
  118745. t2 = A.Primitives_stringFromCharCode(quote);
  118746. t3._contents += t2;
  118747. return buffer.interpolation$1(t1.span);
  118748. },
  118749. asInterpolation$0() {
  118750. return this.asInterpolation$1$static(false);
  118751. },
  118752. toString$0(_) {
  118753. return this.asInterpolation$0().toString$0(0);
  118754. }
  118755. };
  118756. A.module_closure25.prototype = {
  118757. call$1($arguments) {
  118758. var limit, t2, chunks, i, lastEnd, match, t3,
  118759. t1 = J.getInterceptor$asx($arguments),
  118760. string = t1.$index($arguments, 0).assertString$1("string"),
  118761. separator = t1.$index($arguments, 1).assertString$1("separator");
  118762. t1 = t1.$index($arguments, 2).get$realNull();
  118763. limit = t1 == null ? null : t1.assertNumber$1("limit").assertInt$1("limit");
  118764. if (limit != null && limit < 1)
  118765. throw A.wrapException(A.SassScriptException$0("$limit: Must be 1 or greater, was " + A.S(limit) + ".", null));
  118766. t1 = string._string0$_text;
  118767. if (t1.length === 0)
  118768. return B.SassList_qAD0;
  118769. else {
  118770. t2 = separator._string0$_text;
  118771. if (t2.length === 0)
  118772. return A.SassList$0(A.MappedIterable_MappedIterable(new A.Runes(t1), new A.module__closure3(string), type$.Runes._eval$1("Iterable.E"), type$.Value_2), B.ListSeparator_qVN0, true);
  118773. }
  118774. chunks = A._setArrayType([], type$.JSArray_String);
  118775. for (t2 = B.JSString_methods.allMatches$1(t2, t1), t2 = new A._StringAllMatchesIterator(t2._input, t2._pattern, t2.__js_helper$_index), i = 0, lastEnd = 0; t2.moveNext$0();) {
  118776. match = t2.__js_helper$_current;
  118777. t3 = match.start;
  118778. chunks.push(B.JSString_methods.substring$2(t1, lastEnd, t3));
  118779. lastEnd = t3 + match.pattern.length;
  118780. ++i;
  118781. if (i === limit)
  118782. break;
  118783. }
  118784. chunks.push(B.JSString_methods.substring$1(t1, lastEnd));
  118785. return A.SassList$0(new A.MappedListIterable(chunks, new A.module__closure4(string), type$.MappedListIterable_String_Value_2), B.ListSeparator_qVN0, true);
  118786. },
  118787. $signature: 28
  118788. };
  118789. A.module__closure3.prototype = {
  118790. call$1(rune) {
  118791. return new A.SassString0(A.Primitives_stringFromCharCode(rune), this.string._string0$_hasQuotes);
  118792. },
  118793. $signature: 584
  118794. };
  118795. A.module__closure4.prototype = {
  118796. call$1(chunk) {
  118797. return new A.SassString0(chunk, this.string._string0$_hasQuotes);
  118798. },
  118799. $signature: 585
  118800. };
  118801. A._unquote_closure0.prototype = {
  118802. call$1($arguments) {
  118803. var string = J.$index$asx($arguments, 0).assertString$1("string");
  118804. if (!string._string0$_hasQuotes)
  118805. return string;
  118806. return new A.SassString0(string._string0$_text, false);
  118807. },
  118808. $signature: 18
  118809. };
  118810. A._quote_closure0.prototype = {
  118811. call$1($arguments) {
  118812. var string = J.$index$asx($arguments, 0).assertString$1("string");
  118813. if (string._string0$_hasQuotes)
  118814. return string;
  118815. return new A.SassString0(string._string0$_text, true);
  118816. },
  118817. $signature: 18
  118818. };
  118819. A._length_closure1.prototype = {
  118820. call$1($arguments) {
  118821. return A.SassNumber_SassNumber0(J.$index$asx($arguments, 0).assertString$1("string").get$_string0$_sassLength(), null);
  118822. },
  118823. $signature: 22
  118824. };
  118825. A._insert_closure0.prototype = {
  118826. call$1($arguments) {
  118827. var indexInt, codeUnitIndex, _s5_ = "index",
  118828. t1 = J.getInterceptor$asx($arguments),
  118829. string = t1.$index($arguments, 0).assertString$1("string"),
  118830. insert = t1.$index($arguments, 1).assertString$1("insert"),
  118831. index = t1.$index($arguments, 2).assertNumber$1(_s5_);
  118832. index.assertNoUnits$1(_s5_);
  118833. indexInt = index.assertInt$1(_s5_);
  118834. if (indexInt < 0)
  118835. indexInt = Math.max(string.get$_string0$_sassLength() + indexInt + 2, 0);
  118836. t1 = string._string0$_text;
  118837. codeUnitIndex = A.codepointIndexToCodeUnitIndex0(t1, A._codepointForIndex0(indexInt, string.get$_string0$_sassLength(), false));
  118838. return new A.SassString0(B.JSString_methods.replaceRange$3(t1, codeUnitIndex, codeUnitIndex, insert._string0$_text), string._string0$_hasQuotes);
  118839. },
  118840. $signature: 18
  118841. };
  118842. A._index_closure1.prototype = {
  118843. call$1($arguments) {
  118844. var t1 = J.getInterceptor$asx($arguments),
  118845. t2 = t1.$index($arguments, 0).assertString$1("string")._string0$_text,
  118846. codeUnitIndex = B.JSString_methods.indexOf$1(t2, t1.$index($arguments, 1).assertString$1("substring")._string0$_text);
  118847. if (codeUnitIndex === -1)
  118848. return B.C__SassNull0;
  118849. return A.SassNumber_SassNumber0(A.codeUnitIndexToCodepointIndex0(t2, codeUnitIndex) + 1, null);
  118850. },
  118851. $signature: 3
  118852. };
  118853. A._slice_closure0.prototype = {
  118854. call$1($arguments) {
  118855. var lengthInCodepoints, endInt, startCodepoint, endCodepoint,
  118856. _s8_ = "start-at",
  118857. t1 = J.getInterceptor$asx($arguments),
  118858. string = t1.$index($arguments, 0).assertString$1("string"),
  118859. start = t1.$index($arguments, 1).assertNumber$1(_s8_),
  118860. end = t1.$index($arguments, 2).assertNumber$1("end-at");
  118861. start.assertNoUnits$1(_s8_);
  118862. end.assertNoUnits$1("end-at");
  118863. lengthInCodepoints = string.get$_string0$_sassLength();
  118864. endInt = end.assertInt$0();
  118865. if (endInt === 0)
  118866. return string._string0$_hasQuotes ? $.$get$_emptyQuoted0() : $.$get$_emptyUnquoted0();
  118867. startCodepoint = A._codepointForIndex0(start.assertInt$0(), lengthInCodepoints, false);
  118868. endCodepoint = A._codepointForIndex0(endInt, lengthInCodepoints, true);
  118869. if (endCodepoint === lengthInCodepoints)
  118870. --endCodepoint;
  118871. if (endCodepoint < startCodepoint)
  118872. return string._string0$_hasQuotes ? $.$get$_emptyQuoted0() : $.$get$_emptyUnquoted0();
  118873. t1 = string._string0$_text;
  118874. return new A.SassString0(B.JSString_methods.substring$2(t1, A.codepointIndexToCodeUnitIndex0(t1, startCodepoint), A.codepointIndexToCodeUnitIndex0(t1, endCodepoint + 1)), string._string0$_hasQuotes);
  118875. },
  118876. $signature: 18
  118877. };
  118878. A._toUpperCase_closure0.prototype = {
  118879. call$1($arguments) {
  118880. var t1, t2, i, t3, t4,
  118881. string = J.$index$asx($arguments, 0).assertString$1("string");
  118882. for (t1 = string._string0$_text, t2 = t1.length, i = 0, t3 = ""; i < t2; ++i) {
  118883. t4 = t1.charCodeAt(i);
  118884. t3 += A.Primitives_stringFromCharCode(t4 >= 97 && t4 <= 122 ? t4 & 4294967263 : t4);
  118885. }
  118886. return new A.SassString0(t3.charCodeAt(0) == 0 ? t3 : t3, string._string0$_hasQuotes);
  118887. },
  118888. $signature: 18
  118889. };
  118890. A._toLowerCase_closure0.prototype = {
  118891. call$1($arguments) {
  118892. var t1, t2, i, t3, t4,
  118893. string = J.$index$asx($arguments, 0).assertString$1("string");
  118894. for (t1 = string._string0$_text, t2 = t1.length, i = 0, t3 = ""; i < t2; ++i) {
  118895. t4 = t1.charCodeAt(i);
  118896. t3 += A.Primitives_stringFromCharCode(t4 >= 65 && t4 <= 90 ? t4 | 32 : t4);
  118897. }
  118898. return new A.SassString0(t3.charCodeAt(0) == 0 ? t3 : t3, string._string0$_hasQuotes);
  118899. },
  118900. $signature: 18
  118901. };
  118902. A._uniqueId_closure0.prototype = {
  118903. call$1($arguments) {
  118904. var t1 = $.$get$_previousUniqueId0() + ($.$get$_random1().nextInt$1(36) + 1);
  118905. $._previousUniqueId0 = t1;
  118906. if (t1 > Math.pow(36, 6))
  118907. $._previousUniqueId0 = B.JSInt_methods.$mod($.$get$_previousUniqueId0(), A._asInt(Math.pow(36, 6)));
  118908. return new A.SassString0("u" + B.JSString_methods.padLeft$2(B.JSInt_methods.toRadixString$1($.$get$_previousUniqueId0(), 36), 6, "0"), false);
  118909. },
  118910. $signature: 18
  118911. };
  118912. A.StringExtension_toCssIdentifier_writeEscape.prototype = {
  118913. call$1(character) {
  118914. var _0_0,
  118915. t1 = this.buffer,
  118916. t2 = A.Primitives_stringFromCharCode(92);
  118917. t1._contents += t2;
  118918. t2 = B.JSInt_methods.toRadixString$1(character, 16);
  118919. t1._contents += t2;
  118920. _0_0 = this.scanner.peekChar$0();
  118921. if (A._isInt(_0_0) && A.CharacterExtension_get_isHex0(_0_0)) {
  118922. t2 = A.Primitives_stringFromCharCode(32);
  118923. t1._contents += t2;
  118924. }
  118925. },
  118926. $signature: 174
  118927. };
  118928. A.StringExtension_toCssIdentifier_consumeSurrogatePair.prototype = {
  118929. call$1(character) {
  118930. var t2, t3,
  118931. t1 = this.scanner,
  118932. _1_0 = t1.peekChar$1(1);
  118933. if (_1_0 == null || _1_0 >>> 10 !== 55)
  118934. t1.error$2$length(0, "An individual surrogates can't be represented as a CSS identifier.", 1);
  118935. else if (character >>> 7 === 439)
  118936. this.writeEscape.call$1(A.combineSurrogates(t1.readChar$0(), t1.readChar$0()));
  118937. else {
  118938. t2 = this.buffer;
  118939. t3 = A.Primitives_stringFromCharCode(t1.readChar$0());
  118940. t2._contents += t3;
  118941. t1 = A.Primitives_stringFromCharCode(t1.readChar$0());
  118942. t2._contents += t1;
  118943. }
  118944. },
  118945. $signature: 174
  118946. };
  118947. A.stringClass_closure.prototype = {
  118948. call$0() {
  118949. var t2,
  118950. t1 = type$.JSClass,
  118951. jsClass = t1._as(A.allowInteropCaptureThisNamed("sass.SassString", new A.stringClass__closure()));
  118952. 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));
  118953. J.get$$prototype$x(jsClass).sassIndexToStringIndex = A.allowInteropCaptureThisNamed("sassIndexToStringIndex", new A.stringClass__closure3());
  118954. t2 = $.$get$_emptyQuoted0();
  118955. A.JSClassExtension_injectSuperclass(t1._as(t2.constructor), jsClass);
  118956. return jsClass;
  118957. },
  118958. $signature: 15
  118959. };
  118960. A.stringClass__closure.prototype = {
  118961. call$3($self, textOrOptions, options) {
  118962. var t1;
  118963. if (typeof textOrOptions == "string") {
  118964. t1 = options == null ? null : J.get$quotes$x(options);
  118965. t1 = new A.SassString0(textOrOptions, t1 == null ? true : t1);
  118966. } else {
  118967. type$.nullable__ConstructorOptions_3._as(textOrOptions);
  118968. t1 = textOrOptions == null ? null : J.get$quotes$x(textOrOptions);
  118969. t1 = (t1 == null ? true : t1) ? $.$get$_emptyQuoted0() : $.$get$_emptyUnquoted0();
  118970. }
  118971. return t1;
  118972. },
  118973. call$1($self) {
  118974. return this.call$3($self, null, null);
  118975. },
  118976. call$2($self, textOrOptions) {
  118977. return this.call$3($self, textOrOptions, null);
  118978. },
  118979. "call*": "call$3",
  118980. $requiredArgCount: 1,
  118981. $defaultValues() {
  118982. return [null, null];
  118983. },
  118984. $signature: 587
  118985. };
  118986. A.stringClass__closure0.prototype = {
  118987. call$1($self) {
  118988. return $self._string0$_text;
  118989. },
  118990. $signature: 588
  118991. };
  118992. A.stringClass__closure1.prototype = {
  118993. call$1($self) {
  118994. return $self._string0$_hasQuotes;
  118995. },
  118996. $signature: 589
  118997. };
  118998. A.stringClass__closure2.prototype = {
  118999. call$1($self) {
  119000. return $self.get$_string0$_sassLength();
  119001. },
  119002. $signature: 590
  119003. };
  119004. A.stringClass__closure3.prototype = {
  119005. call$3($self, sassIndex, $name) {
  119006. var t1,
  119007. index = sassIndex.assertNumber$1($name).assertInt$1($name);
  119008. if (index === 0)
  119009. A.throwExpression(A.SassScriptException$0("String index may not be 0.", $name));
  119010. else if (Math.abs(index) > $self.get$_string0$_sassLength())
  119011. A.throwExpression(A.SassScriptException$0("Invalid index " + sassIndex.toString$0(0) + " for a string with " + $self.get$_string0$_sassLength() + " characters.", $name));
  119012. t1 = index < 0 ? $self.get$_string0$_sassLength() + index : index - 1;
  119013. return A.codepointIndexToCodeUnitIndex0($self._string0$_text, t1);
  119014. },
  119015. call$2($self, sassIndex) {
  119016. return this.call$3($self, sassIndex, null);
  119017. },
  119018. "call*": "call$3",
  119019. $requiredArgCount: 2,
  119020. $defaultValues() {
  119021. return [null];
  119022. },
  119023. $signature: 591
  119024. };
  119025. A._ConstructorOptions1.prototype = {};
  119026. A._NodeSassString.prototype = {};
  119027. A.legacyStringClass_closure.prototype = {
  119028. call$3(thisArg, value, dartValue) {
  119029. var t1;
  119030. if (dartValue == null) {
  119031. value.toString;
  119032. t1 = new A.SassString0(value, false);
  119033. } else
  119034. t1 = dartValue;
  119035. J.set$dartValue$x(thisArg, t1);
  119036. },
  119037. call$2(thisArg, value) {
  119038. return this.call$3(thisArg, value, null);
  119039. },
  119040. "call*": "call$3",
  119041. $requiredArgCount: 2,
  119042. $defaultValues() {
  119043. return [null];
  119044. },
  119045. $signature: 592
  119046. };
  119047. A.legacyStringClass_closure0.prototype = {
  119048. call$1(thisArg) {
  119049. return J.get$dartValue$x(thisArg)._string0$_text;
  119050. },
  119051. $signature: 593
  119052. };
  119053. A.legacyStringClass_closure1.prototype = {
  119054. call$2(thisArg, value) {
  119055. J.set$dartValue$x(thisArg, new A.SassString0(value, false));
  119056. },
  119057. $signature: 594
  119058. };
  119059. A.SassString0.prototype = {
  119060. get$_string0$_sassLength() {
  119061. var result, _this = this,
  119062. value = _this._string0$__SassString__sassLength_FI;
  119063. if (value === $) {
  119064. result = new A.Runes(_this._string0$_text).get$length(0);
  119065. _this._string0$__SassString__sassLength_FI !== $ && A.throwUnnamedLateFieldADI();
  119066. _this._string0$__SassString__sassLength_FI = result;
  119067. value = result;
  119068. }
  119069. return value;
  119070. },
  119071. get$isSpecialNumber() {
  119072. var t1, _2_0, t2, _0_0, _1_0;
  119073. if (this._string0$_hasQuotes)
  119074. return false;
  119075. t1 = this._string0$_text;
  119076. if (t1.length < 6)
  119077. return false;
  119078. _2_0 = t1.charCodeAt(0);
  119079. $label0$0: {
  119080. t2 = false;
  119081. if (97 === _2_0 || 65 === _2_0) {
  119082. t1 = (t1.charCodeAt(1) | 32) === 116 && (t1.charCodeAt(2) | 32) === 116 && (t1.charCodeAt(3) | 32) === 114 && t1.charCodeAt(4) === 40;
  119083. break $label0$0;
  119084. }
  119085. if (99 === _2_0 || 67 === _2_0) {
  119086. _0_0 = t1.charCodeAt(1);
  119087. $label1$1: {
  119088. if (108 === _0_0 || 76 === _0_0) {
  119089. t1 = (t1.charCodeAt(2) | 32) === 97 && (t1.charCodeAt(3) | 32) === 109 && (t1.charCodeAt(4) | 32) === 112 && t1.charCodeAt(5) === 40;
  119090. break $label1$1;
  119091. }
  119092. if (97 === _0_0 || 65 === _0_0) {
  119093. t1 = (t1.charCodeAt(2) | 32) === 108 && (t1.charCodeAt(3) | 32) === 99 && t1.charCodeAt(4) === 40;
  119094. break $label1$1;
  119095. }
  119096. t1 = t2;
  119097. break $label1$1;
  119098. }
  119099. break $label0$0;
  119100. }
  119101. if (118 === _2_0 || 86 === _2_0) {
  119102. t1 = (t1.charCodeAt(1) | 32) === 97 && (t1.charCodeAt(2) | 32) === 114 && t1.charCodeAt(3) === 40;
  119103. break $label0$0;
  119104. }
  119105. if (101 === _2_0 || 69 === _2_0) {
  119106. t1 = (t1.charCodeAt(1) | 32) === 110 && (t1.charCodeAt(2) | 32) === 118 && t1.charCodeAt(3) === 40;
  119107. break $label0$0;
  119108. }
  119109. if (109 === _2_0 || 77 === _2_0) {
  119110. _1_0 = t1.charCodeAt(1);
  119111. $label2$2: {
  119112. if (97 === _1_0 || 65 === _1_0) {
  119113. t1 = (t1.charCodeAt(2) | 32) === 120 && t1.charCodeAt(3) === 40;
  119114. break $label2$2;
  119115. }
  119116. if (105 === _1_0 || 73 === _1_0) {
  119117. t1 = (t1.charCodeAt(2) | 32) === 110 && t1.charCodeAt(3) === 40;
  119118. break $label2$2;
  119119. }
  119120. t1 = t2;
  119121. break $label2$2;
  119122. }
  119123. break $label0$0;
  119124. }
  119125. t1 = t2;
  119126. break $label0$0;
  119127. }
  119128. return t1;
  119129. },
  119130. get$isVar() {
  119131. if (this._string0$_hasQuotes)
  119132. return false;
  119133. var t1 = this._string0$_text;
  119134. if (t1.length < 8)
  119135. return false;
  119136. return (t1.charCodeAt(0) | 32) === 118 && (t1.charCodeAt(1) | 32) === 97 && (t1.charCodeAt(2) | 32) === 114 && t1.charCodeAt(3) === 40;
  119137. },
  119138. get$isBlank() {
  119139. return !this._string0$_hasQuotes && this._string0$_text.length === 0;
  119140. },
  119141. assertQuoted$1($name) {
  119142. if (this._string0$_hasQuotes)
  119143. return;
  119144. throw A.wrapException(A.SassScriptException$0("Expected " + this.toString$0(0) + " to be a quoted string.", $name));
  119145. },
  119146. assertUnquoted$1($name) {
  119147. if (!this._string0$_hasQuotes)
  119148. return;
  119149. throw A.wrapException(A.SassScriptException$0("Expected " + this.toString$0(0) + " to be an unquoted string.", $name));
  119150. },
  119151. assertUnquoted$0() {
  119152. return this.assertUnquoted$1(null);
  119153. },
  119154. accept$1$1(visitor) {
  119155. var t1 = visitor._serialize0$_quote && this._string0$_hasQuotes,
  119156. t2 = this._string0$_text;
  119157. if (t1)
  119158. visitor._serialize0$_visitQuotedString$1(t2);
  119159. else
  119160. visitor._serialize0$_visitUnquotedString$1(t2);
  119161. return null;
  119162. },
  119163. accept$1(visitor) {
  119164. return this.accept$1$1(visitor, type$.dynamic);
  119165. },
  119166. assertString$1($name) {
  119167. return this;
  119168. },
  119169. plus$1(other) {
  119170. var t1 = this._string0$_text,
  119171. t2 = this._string0$_hasQuotes;
  119172. return other instanceof A.SassString0 ? new A.SassString0(t1 + other._string0$_text, t2) : new A.SassString0(t1 + A.serializeValue0(other, false, true), t2);
  119173. },
  119174. $eq(_, other) {
  119175. if (other == null)
  119176. return false;
  119177. return other instanceof A.SassString0 && this._string0$_text === other._string0$_text;
  119178. },
  119179. get$hashCode(_) {
  119180. var t1 = this._string0$_hashCache;
  119181. return t1 == null ? this._string0$_hashCache = B.JSString_methods.get$hashCode(this._string0$_text) : t1;
  119182. }
  119183. };
  119184. A.ModifiableCssStyleRule0.prototype = {
  119185. accept$1$1(visitor) {
  119186. return visitor.visitCssStyleRule$1(this);
  119187. },
  119188. accept$1(visitor) {
  119189. return this.accept$1$1(visitor, type$.dynamic);
  119190. },
  119191. equalsIgnoringChildren$1(other) {
  119192. var t1;
  119193. if (other instanceof A.ModifiableCssStyleRule0)
  119194. t1 = B.C_ListEquality.equals$2(0, other._style_rule0$_selector._box0$_inner.value.components, this._style_rule0$_selector._box0$_inner.value.components);
  119195. else
  119196. t1 = false;
  119197. return t1;
  119198. },
  119199. copyWithoutChildren$0() {
  119200. return A.ModifiableCssStyleRule$0(this._style_rule0$_selector, this.span, false, this.originalSelector);
  119201. },
  119202. $isCssStyleRule0: 1,
  119203. get$span(receiver) {
  119204. return this.span;
  119205. }
  119206. };
  119207. A.StyleRule0.prototype = {
  119208. accept$1$1(visitor) {
  119209. return visitor.visitStyleRule$1(0, this);
  119210. },
  119211. accept$1(visitor) {
  119212. return this.accept$1$1(visitor, type$.dynamic);
  119213. },
  119214. toString$0(_) {
  119215. var t1 = this.children;
  119216. return this.selector.toString$0(0) + " {" + (t1 && B.JSArray_methods).join$1(t1, " ") + "}";
  119217. },
  119218. get$span(receiver) {
  119219. return this.span;
  119220. }
  119221. };
  119222. A.CssStylesheet0.prototype = {
  119223. get$parent(_) {
  119224. return null;
  119225. },
  119226. get$isGroupEnd() {
  119227. return false;
  119228. },
  119229. get$isChildless() {
  119230. return false;
  119231. },
  119232. accept$1$1(visitor) {
  119233. return visitor.visitCssStylesheet$1(this);
  119234. },
  119235. accept$1(visitor) {
  119236. return this.accept$1$1(visitor, type$.dynamic);
  119237. },
  119238. get$children(receiver) {
  119239. return this.children;
  119240. },
  119241. get$span(receiver) {
  119242. return this.span;
  119243. }
  119244. };
  119245. A.ModifiableCssStylesheet0.prototype = {
  119246. accept$1$1(visitor) {
  119247. return visitor.visitCssStylesheet$1(this);
  119248. },
  119249. accept$1(visitor) {
  119250. return this.accept$1$1(visitor, type$.dynamic);
  119251. },
  119252. equalsIgnoringChildren$1(other) {
  119253. return other instanceof A.ModifiableCssStylesheet0;
  119254. },
  119255. copyWithoutChildren$0() {
  119256. return A.ModifiableCssStylesheet$0(this.span);
  119257. },
  119258. $isCssStylesheet0: 1,
  119259. get$span(receiver) {
  119260. return this.span;
  119261. }
  119262. };
  119263. A.StylesheetParser0.prototype = {
  119264. parse$0(_) {
  119265. return this.wrapSpanFormatException$1(new A.StylesheetParser_parse_closure0(this));
  119266. },
  119267. parseParameterList$0() {
  119268. return this._stylesheet0$_parseSingleProduction$1$1(new A.StylesheetParser_parseParameterList_closure0(this), type$.ParameterList_2);
  119269. },
  119270. _stylesheet0$_parseSingleProduction$1$1(production, $T) {
  119271. return this.wrapSpanFormatException$1(new A.StylesheetParser__parseSingleProduction_closure0(this, production, $T));
  119272. },
  119273. parseSignature$1$requireParens(requireParens) {
  119274. return this.wrapSpanFormatException$1(new A.StylesheetParser_parseSignature_closure(this, requireParens));
  119275. },
  119276. _stylesheet0$_statement$1$root(root) {
  119277. var t2, _this = this,
  119278. t1 = _this.scanner,
  119279. _0_0 = t1.peekChar$0();
  119280. if (64 === _0_0)
  119281. return _this.atRule$2$root(new A.StylesheetParser__statement_closure0(_this), root);
  119282. if (43 === _0_0) {
  119283. if (!_this.get$indented() || !_this.lookingAtIdentifier$1(1))
  119284. return _this._stylesheet0$_styleRule$0();
  119285. _this._stylesheet0$_isUseAllowed = false;
  119286. t2 = t1._string_scanner$_position;
  119287. t1.readChar$0();
  119288. return _this._stylesheet0$_includeRule$1(new A._SpanScannerState(t1, t2));
  119289. }
  119290. if (61 === _0_0) {
  119291. if (!_this.get$indented())
  119292. return _this._stylesheet0$_styleRule$0();
  119293. _this._stylesheet0$_isUseAllowed = false;
  119294. t2 = t1._string_scanner$_position;
  119295. t1.readChar$0();
  119296. _this.whitespace$1$consumeNewlines(true);
  119297. return _this._stylesheet0$_mixinRule$1(new A._SpanScannerState(t1, t2));
  119298. }
  119299. if (125 === _0_0)
  119300. t1.error$2$length(0, 'unmatched "}".', 1);
  119301. return _this._stylesheet0$_inStyleRule || _this._stylesheet0$_inUnknownAtRule || _this._stylesheet0$_inMixin || _this._stylesheet0$_inContentBlock ? _this._stylesheet0$_declarationOrStyleRule$0() : _this._stylesheet0$_variableDeclarationOrStyleRule$0();
  119302. },
  119303. _stylesheet0$_statement$0() {
  119304. return this._stylesheet0$_statement$1$root(false);
  119305. },
  119306. variableDeclarationWithoutNamespace$2(namespace, start_) {
  119307. var t1, start, $name, t2, value, flagStart, t3, guarded, global, _0_0, endPosition, t4, t5, t6, declaration, _this = this,
  119308. precedingComment = _this.lastSilentComment;
  119309. _this.lastSilentComment = null;
  119310. if (start_ == null) {
  119311. t1 = _this.scanner;
  119312. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  119313. } else
  119314. start = start_;
  119315. $name = _this.variableName$0();
  119316. t1 = namespace != null;
  119317. if (t1)
  119318. _this._stylesheet0$_assertPublic$2($name, new A.StylesheetParser_variableDeclarationWithoutNamespace_closure1(_this, start));
  119319. if (_this.get$plainCss())
  119320. _this.error$2(0, string$.Sassx20v, _this.scanner.spanFrom$1(start));
  119321. _this.whitespace$1$consumeNewlines(true);
  119322. t2 = _this.scanner;
  119323. t2.expectChar$1(58);
  119324. _this.whitespace$1$consumeNewlines(true);
  119325. value = _this._stylesheet0$_expression$0();
  119326. flagStart = new A._SpanScannerState(t2, t2._string_scanner$_position);
  119327. for (t3 = _this.warnings, guarded = false, global = false; t2.scanChar$1(33);) {
  119328. $label0$0: {
  119329. _0_0 = _this.identifier$0();
  119330. if ("default" === _0_0) {
  119331. if (guarded) {
  119332. endPosition = t2._string_scanner$_position;
  119333. t4 = t2._sourceFile;
  119334. t5 = flagStart.position;
  119335. t6 = new A._FileSpan(t4, t5, endPosition);
  119336. t6._FileSpan$3(t4, t5, endPosition);
  119337. t3.push(new A._Record_3_deprecation_message_span(B.Deprecation_BzI, string$.x21defau, t6));
  119338. }
  119339. guarded = true;
  119340. break $label0$0;
  119341. }
  119342. if ("global" === _0_0) {
  119343. if (t1) {
  119344. endPosition = t2._string_scanner$_position;
  119345. t4 = t2._sourceFile;
  119346. t5 = flagStart.position;
  119347. t6 = new A._FileSpan(t4, t5, endPosition);
  119348. t6._FileSpan$3(t4, t5, endPosition);
  119349. _this.error$2(0, string$.x21globai, t6);
  119350. } else if (global) {
  119351. endPosition = t2._string_scanner$_position;
  119352. t4 = t2._sourceFile;
  119353. t5 = flagStart.position;
  119354. t6 = new A._FileSpan(t4, t5, endPosition);
  119355. t6._FileSpan$3(t4, t5, endPosition);
  119356. t3.push(new A._Record_3_deprecation_message_span(B.Deprecation_BzI, string$.x21globas, t6));
  119357. }
  119358. global = true;
  119359. break $label0$0;
  119360. }
  119361. endPosition = t2._string_scanner$_position;
  119362. t4 = t2._sourceFile;
  119363. t5 = flagStart.position;
  119364. t6 = new A._FileSpan(t4, t5, endPosition);
  119365. t6._FileSpan$3(t4, t5, endPosition);
  119366. _this.error$2(0, "Invalid flag name.", t6);
  119367. }
  119368. _this.whitespace$1$consumeNewlines(false);
  119369. flagStart = new A._SpanScannerState(t2, t2._string_scanner$_position);
  119370. }
  119371. _this.expectStatementSeparator$1("variable declaration");
  119372. declaration = A.VariableDeclaration$0($name, value, t2.spanFrom$1(start), precedingComment, global, guarded, namespace);
  119373. if (global)
  119374. _this._stylesheet0$_globalVariables.putIfAbsent$2($name, new A.StylesheetParser_variableDeclarationWithoutNamespace_closure2(declaration));
  119375. return declaration;
  119376. },
  119377. variableDeclarationWithoutNamespace$0() {
  119378. return this.variableDeclarationWithoutNamespace$2(null, null);
  119379. },
  119380. _stylesheet0$_variableDeclarationOrStyleRule$0() {
  119381. var t1, t2, variableOrInterpolation, t3, _this = this;
  119382. if (_this.get$plainCss())
  119383. return _this._stylesheet0$_styleRule$0();
  119384. if (_this.get$indented() && _this.scanner.scanChar$1(92))
  119385. return _this._stylesheet0$_styleRule$0();
  119386. if (!_this.lookingAtIdentifier$0())
  119387. return _this._stylesheet0$_styleRule$0();
  119388. t1 = _this.scanner;
  119389. t2 = t1._string_scanner$_position;
  119390. variableOrInterpolation = _this._stylesheet0$_variableDeclarationOrInterpolation$0();
  119391. if (variableOrInterpolation instanceof A.VariableDeclaration0)
  119392. t1 = variableOrInterpolation;
  119393. else {
  119394. t3 = new A.InterpolationBuffer0(new A.StringBuffer(""), A._setArrayType([], type$.JSArray_Object), A._setArrayType([], type$.JSArray_nullable_FileSpan));
  119395. t3.addInterpolation$1(type$.Interpolation_2._as(variableOrInterpolation));
  119396. t2 = _this._stylesheet0$_styleRule$2(t3, new A._SpanScannerState(t1, t2));
  119397. t1 = t2;
  119398. }
  119399. return t1;
  119400. },
  119401. _stylesheet0$_declarationOrStyleRule$0() {
  119402. var t1, t2, declarationOrBuffer, _this = this;
  119403. if (_this.get$indented() && _this.scanner.scanChar$1(92))
  119404. return _this._stylesheet0$_styleRule$0();
  119405. t1 = _this.scanner;
  119406. t2 = t1._string_scanner$_position;
  119407. declarationOrBuffer = _this._stylesheet0$_declarationOrBuffer$0();
  119408. return declarationOrBuffer instanceof A.Statement0 ? declarationOrBuffer : _this._stylesheet0$_styleRule$2(type$.InterpolationBuffer_2._as(declarationOrBuffer), new A._SpanScannerState(t1, t2));
  119409. },
  119410. _stylesheet0$_declarationOrBuffer$0() {
  119411. var midBuffer, couldBeSelector, beforeDeclaration, value, additional, t2, t3, variableOrInterpolation, t4, $name, postColonWhitespace, _0_0, exception, _1_0, _this = this,
  119412. t1 = _this.scanner,
  119413. start = new A._SpanScannerState(t1, t1._string_scanner$_position),
  119414. nameBuffer = new A.InterpolationBuffer0(new A.StringBuffer(""), A._setArrayType([], type$.JSArray_Object), A._setArrayType([], type$.JSArray_nullable_FileSpan)),
  119415. startsWithPunctuation = _this._stylesheet0$_lookingAtPotentialPropertyHack$0();
  119416. if (startsWithPunctuation) {
  119417. t2 = t1.readChar$0();
  119418. t3 = nameBuffer._interpolation_buffer0$_text;
  119419. t2 = A.Primitives_stringFromCharCode(t2);
  119420. t3._contents += t2;
  119421. t2 = _this.rawText$1(new A.StylesheetParser__declarationOrBuffer_closure2(_this));
  119422. t3 = nameBuffer._interpolation_buffer0$_text;
  119423. t3._contents += t2;
  119424. }
  119425. if (!_this._stylesheet0$_lookingAtInterpolatedIdentifier$0())
  119426. return nameBuffer;
  119427. variableOrInterpolation = startsWithPunctuation ? _this.interpolatedIdentifier$0() : _this._stylesheet0$_variableDeclarationOrInterpolation$0();
  119428. if (variableOrInterpolation instanceof A.VariableDeclaration0)
  119429. return variableOrInterpolation;
  119430. else
  119431. nameBuffer.addInterpolation$1(type$.Interpolation_2._as(variableOrInterpolation));
  119432. _this._stylesheet0$_isUseAllowed = false;
  119433. if (t1.matches$1("/*")) {
  119434. t2 = _this.rawText$1(_this.get$loudComment());
  119435. t3 = nameBuffer._interpolation_buffer0$_text;
  119436. t3._contents += t2;
  119437. }
  119438. midBuffer = new A.StringBuffer("");
  119439. t2 = midBuffer;
  119440. t3 = _this.rawText$1(new A.StylesheetParser__declarationOrBuffer_closure3(_this));
  119441. t2._contents += t3;
  119442. t3 = t1._string_scanner$_position;
  119443. if (!t1.scanChar$1(58)) {
  119444. if (midBuffer._contents.length !== 0) {
  119445. t1 = nameBuffer._interpolation_buffer0$_text;
  119446. t2 = A.Primitives_stringFromCharCode(32);
  119447. t1._contents += t2;
  119448. }
  119449. return nameBuffer;
  119450. }
  119451. t2 = midBuffer;
  119452. t4 = A.Primitives_stringFromCharCode(58);
  119453. t2._contents += t4;
  119454. $name = nameBuffer.interpolation$1(t1.spanFrom$2(start, new A._SpanScannerState(t1, t3)));
  119455. if (B.JSString_methods.startsWith$1($name.get$initialPlain(), "--")) {
  119456. if (_this.atEndOfStatement$0()) {
  119457. t2 = A.FileLocation$_(t1._sourceFile, t1._string_scanner$_position);
  119458. t3 = t2.offset;
  119459. t3 = A.Interpolation$0(B.List_empty11, B.List_empty12, A._FileSpan$(t2.file, t3, t3));
  119460. t2 = t3;
  119461. } else
  119462. t2 = _this._stylesheet0$_interpolatedDeclarationValue$1$silentComments(false);
  119463. _this.expectStatementSeparator$1("custom property");
  119464. return A.Declaration$0($name, new A.StringExpression0(t2, false), t1.spanFrom$1(start));
  119465. }
  119466. if (t1.scanChar$1(58)) {
  119467. t1 = nameBuffer;
  119468. t2 = t1._interpolation_buffer0$_text;
  119469. t3 = A.S(midBuffer);
  119470. t2._contents += t3;
  119471. t3 = A.Primitives_stringFromCharCode(58);
  119472. t2._contents += t3;
  119473. return t1;
  119474. } else if (_this.get$indented() && _this._stylesheet0$_lookingAtInterpolatedIdentifier$0()) {
  119475. t1 = nameBuffer;
  119476. t2 = t1._interpolation_buffer0$_text;
  119477. t3 = A.S(midBuffer);
  119478. t2._contents += t3;
  119479. return t1;
  119480. }
  119481. postColonWhitespace = _this.rawText$1(new A.StylesheetParser__declarationOrBuffer_closure4(_this));
  119482. _0_0 = _this._stylesheet0$_tryDeclarationChildren$2($name, start);
  119483. if (_0_0 != null)
  119484. return _0_0;
  119485. midBuffer._contents += postColonWhitespace;
  119486. couldBeSelector = postColonWhitespace.length === 0 && _this._stylesheet0$_lookingAtInterpolatedIdentifier$0();
  119487. beforeDeclaration = new A._SpanScannerState(t1, t1._string_scanner$_position);
  119488. value = null;
  119489. try {
  119490. value = _this._stylesheet0$_expression$0();
  119491. if (_this.lookingAtChildren$0()) {
  119492. if (couldBeSelector)
  119493. _this.expectStatementSeparator$0();
  119494. } else if (!_this.atEndOfStatement$0())
  119495. _this.expectStatementSeparator$0();
  119496. } catch (exception) {
  119497. if (type$.FormatException._is(A.unwrapException(exception))) {
  119498. if (!couldBeSelector)
  119499. throw exception;
  119500. t1.set$state(beforeDeclaration);
  119501. additional = _this.almostAnyValue$0();
  119502. if (!_this.get$indented() && t1.peekChar$0() === 59)
  119503. throw exception;
  119504. t1 = nameBuffer._interpolation_buffer0$_text;
  119505. t2 = A.S(midBuffer);
  119506. t1._contents += t2;
  119507. nameBuffer.addInterpolation$1(additional);
  119508. return nameBuffer;
  119509. } else
  119510. throw exception;
  119511. }
  119512. _1_0 = _this._stylesheet0$_tryDeclarationChildren$3$value($name, start, value);
  119513. if (_1_0 != null)
  119514. return _1_0;
  119515. else {
  119516. _this.expectStatementSeparator$0();
  119517. return A.Declaration$0($name, value, t1.spanFrom$1(start));
  119518. }
  119519. },
  119520. _stylesheet0$_variableDeclarationOrInterpolation$0() {
  119521. var t1, start, identifier, t2, buffer, _this = this;
  119522. if (!_this.lookingAtIdentifier$0())
  119523. return _this.interpolatedIdentifier$0();
  119524. t1 = _this.scanner;
  119525. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  119526. identifier = _this.identifier$0();
  119527. if (t1.matches$1(".$")) {
  119528. t1.readChar$0();
  119529. return _this.variableDeclarationWithoutNamespace$2(identifier, start);
  119530. } else {
  119531. t2 = new A.StringBuffer("");
  119532. buffer = new A.InterpolationBuffer0(t2, A._setArrayType([], type$.JSArray_Object), A._setArrayType([], type$.JSArray_nullable_FileSpan));
  119533. t2._contents = "" + identifier;
  119534. if (_this._stylesheet0$_lookingAtInterpolatedIdentifierBody$0())
  119535. buffer.addInterpolation$1(_this.interpolatedIdentifier$0());
  119536. return buffer.interpolation$1(t1.spanFrom$1(start));
  119537. }
  119538. },
  119539. _stylesheet0$_styleRule$2(buffer, start_) {
  119540. var t2, start, interpolation, wasInStyleRule, _this = this, t1 = {};
  119541. _this._stylesheet0$_isUseAllowed = false;
  119542. if (start_ == null) {
  119543. t2 = _this.scanner;
  119544. start = new A._SpanScannerState(t2, t2._string_scanner$_position);
  119545. } else
  119546. start = start_;
  119547. interpolation = t1.interpolation = _this.styleRuleSelector$0();
  119548. if (buffer != null) {
  119549. buffer.addInterpolation$1(interpolation);
  119550. t2 = t1.interpolation = buffer.interpolation$1(_this.scanner.spanFrom$1(start));
  119551. } else
  119552. t2 = interpolation;
  119553. if (t2.contents.length === 0)
  119554. _this.scanner.error$1(0, 'expected "}".');
  119555. wasInStyleRule = _this._stylesheet0$_inStyleRule;
  119556. _this._stylesheet0$_inStyleRule = true;
  119557. return _this._stylesheet0$_withChildren$3(_this.get$_stylesheet0$_statement(), start, new A.StylesheetParser__styleRule_closure0(t1, _this, wasInStyleRule, start));
  119558. },
  119559. _stylesheet0$_styleRule$0() {
  119560. return this._stylesheet0$_styleRule$2(null, null);
  119561. },
  119562. _stylesheet0$_propertyOrVariableDeclaration$1$parseCustomProperties(parseCustomProperties) {
  119563. var t2, nameBuffer, t3, $name, variableOrInterpolation, _0_0, value, _1_0, _this = this,
  119564. t1 = _this.scanner,
  119565. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  119566. if (_this._stylesheet0$_lookingAtPotentialPropertyHack$0()) {
  119567. t2 = new A.StringBuffer("");
  119568. nameBuffer = new A.InterpolationBuffer0(t2, A._setArrayType([], type$.JSArray_Object), A._setArrayType([], type$.JSArray_nullable_FileSpan));
  119569. t3 = A.Primitives_stringFromCharCode(t1.readChar$0());
  119570. t2._contents += t3;
  119571. t3 = _this.rawText$1(new A.StylesheetParser__propertyOrVariableDeclaration_closure0(_this));
  119572. t2._contents += t3;
  119573. nameBuffer.addInterpolation$1(_this.interpolatedIdentifier$0());
  119574. $name = nameBuffer.interpolation$1(t1.spanFrom$1(start));
  119575. } else if (!_this.get$plainCss()) {
  119576. variableOrInterpolation = _this._stylesheet0$_variableDeclarationOrInterpolation$0();
  119577. if (variableOrInterpolation instanceof A.VariableDeclaration0)
  119578. return variableOrInterpolation;
  119579. else
  119580. type$.Interpolation_2._as(variableOrInterpolation);
  119581. $name = variableOrInterpolation;
  119582. } else
  119583. $name = _this.interpolatedIdentifier$0();
  119584. _this.whitespace$1$consumeNewlines(false);
  119585. t1.expectChar$1(58);
  119586. _this.whitespace$1$consumeNewlines(false);
  119587. _0_0 = _this._stylesheet0$_tryDeclarationChildren$2($name, start);
  119588. if (_0_0 != null)
  119589. return _0_0;
  119590. value = _this._stylesheet0$_expression$0();
  119591. _1_0 = _this._stylesheet0$_tryDeclarationChildren$3$value($name, start, value);
  119592. if (_1_0 != null)
  119593. return _1_0;
  119594. else {
  119595. _this.expectStatementSeparator$0();
  119596. return A.Declaration$0($name, value, t1.spanFrom$1(start));
  119597. }
  119598. },
  119599. _stylesheet0$_tryDeclarationChildren$3$value($name, start, value) {
  119600. var _this = this;
  119601. if (!_this.lookingAtChildren$0())
  119602. return null;
  119603. if (_this.get$plainCss())
  119604. _this.scanner.error$1(0, string$.Nested);
  119605. return _this._stylesheet0$_withChildren$3(_this.get$_stylesheet0$_declarationChild(), start, new A.StylesheetParser__tryDeclarationChildren_closure0($name, value));
  119606. },
  119607. _stylesheet0$_tryDeclarationChildren$2($name, start) {
  119608. return this._stylesheet0$_tryDeclarationChildren$3$value($name, start, null);
  119609. },
  119610. _stylesheet0$_declarationChild$0() {
  119611. return this.scanner.peekChar$0() === 64 ? this._stylesheet0$_declarationAtRule$0() : this._stylesheet0$_propertyOrVariableDeclaration$1$parseCustomProperties(false);
  119612. },
  119613. atRule$2$root(child, root) {
  119614. var $name, wasUseAllowed, value, optional, url, namespace, configuration, span, _this = this,
  119615. t1 = _this.scanner,
  119616. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  119617. t1.expectChar$2$name(64, "@-rule");
  119618. $name = _this.interpolatedIdentifier$0();
  119619. wasUseAllowed = _this._stylesheet0$_isUseAllowed;
  119620. _this._stylesheet0$_isUseAllowed = false;
  119621. switch ($name.get$asPlain()) {
  119622. case "at-root":
  119623. return _this._stylesheet0$_atRootRule$1(start);
  119624. case "content":
  119625. return _this._stylesheet0$_contentRule$1(start);
  119626. case "debug":
  119627. return _this._stylesheet0$_debugRule$1(start);
  119628. case "each":
  119629. return _this._stylesheet0$_eachRule$2(start, child);
  119630. case "else":
  119631. return _this._stylesheet0$_disallowedAtRule$1(start);
  119632. case "error":
  119633. return _this._stylesheet0$_errorRule$1(start);
  119634. case "extend":
  119635. _this.whitespace$1$consumeNewlines(true);
  119636. if (!_this._stylesheet0$_inStyleRule && !_this._stylesheet0$_inMixin && !_this._stylesheet0$_inContentBlock)
  119637. _this.error$2(0, string$.x40exten, t1.spanFrom$1(start));
  119638. value = _this.almostAnyValue$0();
  119639. optional = t1.scanChar$1(33);
  119640. if (optional) {
  119641. _this.expectIdentifier$1("optional");
  119642. _this.whitespace$1$consumeNewlines(false);
  119643. }
  119644. _this.expectStatementSeparator$1("@extend rule");
  119645. return new A.ExtendRule0(value, optional, t1.spanFrom$1(start));
  119646. case "for":
  119647. return _this._stylesheet0$_forRule$2(start, child);
  119648. case "forward":
  119649. _this._stylesheet0$_isUseAllowed = wasUseAllowed;
  119650. if (!root)
  119651. _this._stylesheet0$_disallowedAtRule$1(start);
  119652. return _this._stylesheet0$_forwardRule$1(start);
  119653. case "function":
  119654. return _this._stylesheet0$_functionRule$1(start);
  119655. case "if":
  119656. return _this._stylesheet0$_ifRule$2(start, child);
  119657. case "import":
  119658. return _this._stylesheet0$_importRule$1(start);
  119659. case "include":
  119660. return _this._stylesheet0$_includeRule$1(start);
  119661. case "media":
  119662. return _this.mediaRule$1(start);
  119663. case "mixin":
  119664. return _this._stylesheet0$_mixinRule$1(start);
  119665. case "-moz-document":
  119666. return _this.mozDocumentRule$2(start, $name);
  119667. case "return":
  119668. return _this._stylesheet0$_disallowedAtRule$1(start);
  119669. case "supports":
  119670. return _this.supportsRule$1(start);
  119671. case "use":
  119672. _this._stylesheet0$_isUseAllowed = wasUseAllowed;
  119673. if (!root)
  119674. _this._stylesheet0$_disallowedAtRule$1(start);
  119675. _this.whitespace$1$consumeNewlines(true);
  119676. url = _this._stylesheet0$_urlString$0();
  119677. _this.whitespace$1$consumeNewlines(false);
  119678. namespace = _this._stylesheet0$_useNamespace$2(url, start);
  119679. _this.whitespace$1$consumeNewlines(false);
  119680. configuration = _this._stylesheet0$_configuration$0();
  119681. _this.whitespace$1$consumeNewlines(false);
  119682. span = t1.spanFrom$1(start);
  119683. if (!_this._stylesheet0$_isUseAllowed)
  119684. _this.error$2(0, string$.x40use_r, span);
  119685. _this.expectStatementSeparator$1("@use rule");
  119686. t1 = new A.UseRule0(url, namespace, configuration == null ? B.List_empty24 : A.List_List$unmodifiable(configuration, type$.ConfiguredVariable_2), span);
  119687. t1.UseRule$4$configuration0(url, namespace, span, configuration);
  119688. return t1;
  119689. case "warn":
  119690. return _this._stylesheet0$_warnRule$1(start);
  119691. case "while":
  119692. return _this._stylesheet0$_whileRule$2(start, child);
  119693. default:
  119694. return _this.unknownAtRule$2(start, $name);
  119695. }
  119696. },
  119697. _stylesheet0$_declarationAtRule$0() {
  119698. var _this = this,
  119699. t1 = _this.scanner,
  119700. start = new A._SpanScannerState(t1, t1._string_scanner$_position),
  119701. _0_0 = _this._stylesheet0$_plainAtRuleName$0();
  119702. $label0$0: {
  119703. if ("content" === _0_0) {
  119704. t1 = _this._stylesheet0$_contentRule$1(start);
  119705. break $label0$0;
  119706. }
  119707. if ("debug" === _0_0) {
  119708. t1 = _this._stylesheet0$_debugRule$1(start);
  119709. break $label0$0;
  119710. }
  119711. if ("each" === _0_0) {
  119712. t1 = _this._stylesheet0$_eachRule$2(start, _this.get$_stylesheet0$_declarationChild());
  119713. break $label0$0;
  119714. }
  119715. if ("else" === _0_0)
  119716. _this._stylesheet0$_disallowedAtRule$1(start);
  119717. if ("error" === _0_0) {
  119718. t1 = _this._stylesheet0$_errorRule$1(start);
  119719. break $label0$0;
  119720. }
  119721. if ("for" === _0_0) {
  119722. t1 = _this._stylesheet0$_forRule$2(start, _this.get$_stylesheet0$_declarationChild());
  119723. break $label0$0;
  119724. }
  119725. if ("if" === _0_0) {
  119726. t1 = _this._stylesheet0$_ifRule$2(start, _this.get$_stylesheet0$_declarationChild());
  119727. break $label0$0;
  119728. }
  119729. if ("include" === _0_0) {
  119730. t1 = _this._stylesheet0$_includeRule$1(start);
  119731. break $label0$0;
  119732. }
  119733. if ("warn" === _0_0) {
  119734. t1 = _this._stylesheet0$_warnRule$1(start);
  119735. break $label0$0;
  119736. }
  119737. if ("while" === _0_0) {
  119738. t1 = _this._stylesheet0$_whileRule$2(start, _this.get$_stylesheet0$_declarationChild());
  119739. break $label0$0;
  119740. }
  119741. t1 = _this._stylesheet0$_disallowedAtRule$1(start);
  119742. }
  119743. return t1;
  119744. },
  119745. _stylesheet0$_functionChild$0() {
  119746. var state, variableDeclarationError, stackTrace, statement, t2, namespace, exception, t3, start, _0_0, value, _this = this,
  119747. t1 = _this.scanner;
  119748. if (t1.peekChar$0() !== 64) {
  119749. t2 = t1._string_scanner$_position;
  119750. state = new A._SpanScannerState(t1, t2);
  119751. try {
  119752. namespace = _this.identifier$0();
  119753. t1.expectChar$1(46);
  119754. t2 = _this.variableDeclarationWithoutNamespace$2(namespace, new A._SpanScannerState(t1, t2));
  119755. return t2;
  119756. } catch (exception) {
  119757. t2 = A.unwrapException(exception);
  119758. t3 = type$.SourceSpanFormatException;
  119759. if (t3._is(t2)) {
  119760. variableDeclarationError = t2;
  119761. stackTrace = A.getTraceFromException(exception);
  119762. t1.set$state(state);
  119763. statement = null;
  119764. try {
  119765. statement = _this._stylesheet0$_declarationOrStyleRule$0();
  119766. } catch (exception) {
  119767. if (t3._is(A.unwrapException(exception)))
  119768. throw A.wrapException(variableDeclarationError);
  119769. else
  119770. throw exception;
  119771. }
  119772. t2 = statement instanceof A.StyleRule0 ? "style rules" : "declarations";
  119773. _this.error$3(0, "@function rules may not contain " + t2 + ".", J.get$span$z(statement), stackTrace);
  119774. } else
  119775. throw exception;
  119776. }
  119777. }
  119778. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  119779. _0_0 = _this._stylesheet0$_plainAtRuleName$0();
  119780. $label0$0: {
  119781. if ("debug" === _0_0) {
  119782. t1 = _this._stylesheet0$_debugRule$1(start);
  119783. break $label0$0;
  119784. }
  119785. if ("each" === _0_0) {
  119786. t1 = _this._stylesheet0$_eachRule$2(start, _this.get$_stylesheet0$_functionChild());
  119787. break $label0$0;
  119788. }
  119789. if ("else" === _0_0)
  119790. _this._stylesheet0$_disallowedAtRule$1(start);
  119791. if ("error" === _0_0) {
  119792. t1 = _this._stylesheet0$_errorRule$1(start);
  119793. break $label0$0;
  119794. }
  119795. if ("for" === _0_0) {
  119796. t1 = _this._stylesheet0$_forRule$2(start, _this.get$_stylesheet0$_functionChild());
  119797. break $label0$0;
  119798. }
  119799. if ("if" === _0_0) {
  119800. t1 = _this._stylesheet0$_ifRule$2(start, _this.get$_stylesheet0$_functionChild());
  119801. break $label0$0;
  119802. }
  119803. if ("return" === _0_0) {
  119804. _this.whitespace$1$consumeNewlines(true);
  119805. value = _this._stylesheet0$_expression$0();
  119806. _this.expectStatementSeparator$1("@return rule");
  119807. t1 = new A.ReturnRule0(value, t1.spanFrom$1(start));
  119808. break $label0$0;
  119809. }
  119810. if ("warn" === _0_0) {
  119811. t1 = _this._stylesheet0$_warnRule$1(start);
  119812. break $label0$0;
  119813. }
  119814. if ("while" === _0_0) {
  119815. t1 = _this._stylesheet0$_whileRule$2(start, _this.get$_stylesheet0$_functionChild());
  119816. break $label0$0;
  119817. }
  119818. t1 = _this._stylesheet0$_disallowedAtRule$1(start);
  119819. }
  119820. return t1;
  119821. },
  119822. _stylesheet0$_plainAtRuleName$0() {
  119823. this.scanner.expectChar$2$name(64, "@-rule");
  119824. return this.identifier$0();
  119825. },
  119826. _stylesheet0$_atRootRule$1(start) {
  119827. var t1, t2, t3, buffer, t4, _this = this;
  119828. _this.whitespace$1$consumeNewlines(false);
  119829. t1 = _this.scanner;
  119830. if (t1.peekChar$0() === 40) {
  119831. t2 = t1._string_scanner$_position;
  119832. t3 = new A.StringBuffer("");
  119833. buffer = new A.InterpolationBuffer0(t3, A._setArrayType([], type$.JSArray_Object), A._setArrayType([], type$.JSArray_nullable_FileSpan));
  119834. t1.expectChar$1(40);
  119835. t4 = A.Primitives_stringFromCharCode(40);
  119836. t3._contents += t4;
  119837. _this.whitespace$1$consumeNewlines(true);
  119838. _this._stylesheet0$_addOrInject$2(buffer, _this._stylesheet0$_expression$1$consumeNewlines(true));
  119839. if (t1.scanChar$1(58)) {
  119840. _this.whitespace$1$consumeNewlines(true);
  119841. t4 = A.Primitives_stringFromCharCode(58);
  119842. t3._contents += t4;
  119843. t4 = A.Primitives_stringFromCharCode(32);
  119844. t3._contents += t4;
  119845. _this._stylesheet0$_addOrInject$2(buffer, _this._stylesheet0$_expression$1$consumeNewlines(true));
  119846. }
  119847. t1.expectChar$1(41);
  119848. _this.whitespace$1$consumeNewlines(false);
  119849. t4 = A.Primitives_stringFromCharCode(41);
  119850. t3._contents += t4;
  119851. return _this._stylesheet0$_withChildren$3(_this.get$_stylesheet0$_statement(), start, new A.StylesheetParser__atRootRule_closure1(buffer.interpolation$1(t1.spanFrom$1(new A._SpanScannerState(t1, t2)))));
  119852. } else {
  119853. if (!_this.lookingAtChildren$0())
  119854. t2 = _this.get$indented() && _this.atEndOfStatement$0();
  119855. else
  119856. t2 = true;
  119857. if (t2)
  119858. return _this._stylesheet0$_withChildren$3(_this.get$_stylesheet0$_statement(), start, new A.StylesheetParser__atRootRule_closure2());
  119859. else
  119860. return A.AtRootRule$0(A._setArrayType([_this._stylesheet0$_styleRule$0()], type$.JSArray_Statement_2), t1.spanFrom$1(start), null);
  119861. }
  119862. },
  119863. _stylesheet0$_contentRule$1(start) {
  119864. var t1, beforeWhitespace, $arguments, t2, _this = this;
  119865. if (!_this._stylesheet0$_inMixin)
  119866. _this.error$2(0, string$.x40conte, _this.scanner.spanFrom$1(start));
  119867. t1 = _this.scanner;
  119868. beforeWhitespace = A.FileLocation$_(t1._sourceFile, t1._string_scanner$_position);
  119869. _this.whitespace$1$consumeNewlines(false);
  119870. if (t1.peekChar$0() === 40) {
  119871. $arguments = _this._stylesheet0$_argumentInvocation$1$mixin(true);
  119872. _this.whitespace$1$consumeNewlines(false);
  119873. } else {
  119874. t2 = beforeWhitespace.offset;
  119875. $arguments = A.ArgumentList$empty0(A._FileSpan$(beforeWhitespace.file, t2, t2));
  119876. }
  119877. _this.expectStatementSeparator$1("@content rule");
  119878. return new A.ContentRule0($arguments, t1.spanFrom$1(start));
  119879. },
  119880. _stylesheet0$_debugRule$1(start) {
  119881. var value, t1, t2, _this = this;
  119882. _this.whitespace$1$consumeNewlines(true);
  119883. value = _this._stylesheet0$_expression$0();
  119884. t1 = _this.scanner;
  119885. t2 = t1._string_scanner$_position;
  119886. _this.expectStatementSeparator$1("@debug rule");
  119887. return new A.DebugRule0(value, t1.spanFrom$2(start, new A._SpanScannerState(t1, t2)));
  119888. },
  119889. _stylesheet0$_eachRule$2(start, child) {
  119890. var wasInControlDirective, variables, t1, _this = this;
  119891. _this.whitespace$1$consumeNewlines(true);
  119892. wasInControlDirective = _this._stylesheet0$_inControlDirective;
  119893. _this._stylesheet0$_inControlDirective = true;
  119894. variables = A._setArrayType([_this.variableName$0()], type$.JSArray_String);
  119895. _this.whitespace$1$consumeNewlines(true);
  119896. for (t1 = _this.scanner; t1.scanChar$1(44);) {
  119897. _this.whitespace$1$consumeNewlines(true);
  119898. t1.expectChar$1(36);
  119899. variables.push(_this.identifier$1$normalize(true));
  119900. _this.whitespace$1$consumeNewlines(true);
  119901. }
  119902. _this.whitespace$1$consumeNewlines(true);
  119903. _this.expectIdentifier$1("in");
  119904. _this.whitespace$1$consumeNewlines(true);
  119905. return _this._stylesheet0$_withChildren$3(child, start, new A.StylesheetParser__eachRule_closure0(_this, wasInControlDirective, variables, _this._stylesheet0$_expression$0()));
  119906. },
  119907. _stylesheet0$_errorRule$1(start) {
  119908. var value, t1, t2, _this = this;
  119909. _this.whitespace$1$consumeNewlines(true);
  119910. value = _this._stylesheet0$_expression$0();
  119911. t1 = _this.scanner;
  119912. t2 = t1._string_scanner$_position;
  119913. _this.expectStatementSeparator$1("@error rule");
  119914. return new A.ErrorRule0(value, t1.spanFrom$2(start, new A._SpanScannerState(t1, t2)));
  119915. },
  119916. _stylesheet0$_functionRule$1(start) {
  119917. var precedingComment, t1, beforeName, $name, parameters, _0_0, _this = this;
  119918. _this.whitespace$1$consumeNewlines(true);
  119919. precedingComment = _this.lastSilentComment;
  119920. _this.lastSilentComment = null;
  119921. t1 = _this.scanner;
  119922. beforeName = new A._SpanScannerState(t1, t1._string_scanner$_position);
  119923. $name = _this.identifier$0();
  119924. if (B.JSString_methods.startsWith$1($name, "--"))
  119925. _this.warnings.push(new A._Record_3_deprecation_message_span(B.Deprecation_d4j, string$.Sassx20_f_, t1.spanFrom$1(beforeName)));
  119926. else if (A.equalsIgnoreCase0($name, "type"))
  119927. _this.warnings.push(new A._Record_3_deprecation_message_span(B.Deprecation_vQt, string$.Sassx20_fs, t1.spanFrom$1(beforeName)));
  119928. _this.whitespace$1$consumeNewlines(true);
  119929. parameters = _this._stylesheet0$_parameterList$0();
  119930. if (_this._stylesheet0$_inMixin || _this._stylesheet0$_inContentBlock)
  119931. _this.error$2(0, string$.Mixinscf, t1.spanFrom$1(start));
  119932. else if (_this._stylesheet0$_inControlDirective)
  119933. _this.error$2(0, string$.Functi, t1.spanFrom$1(start));
  119934. _0_0 = A.unvendor0($name);
  119935. if ("calc" === _0_0 || "element" === _0_0 || "expression" === _0_0 || "url" === _0_0 || "and" === _0_0 || "or" === _0_0 || "not" === _0_0 || "clamp" === _0_0)
  119936. _this.error$2(0, "Invalid function name.", t1.spanFrom$1(start));
  119937. _this.whitespace$1$consumeNewlines(false);
  119938. return _this._stylesheet0$_withChildren$3(_this.get$_stylesheet0$_functionChild(), start, new A.StylesheetParser__functionRule_closure0($name, parameters, precedingComment));
  119939. },
  119940. _stylesheet0$_forRule$2(start, child) {
  119941. var wasInControlDirective, variable, from, _this = this, t1 = {};
  119942. _this.whitespace$1$consumeNewlines(true);
  119943. wasInControlDirective = _this._stylesheet0$_inControlDirective;
  119944. _this._stylesheet0$_inControlDirective = true;
  119945. variable = _this.variableName$0();
  119946. _this.whitespace$1$consumeNewlines(true);
  119947. _this.expectIdentifier$1("from");
  119948. _this.whitespace$1$consumeNewlines(true);
  119949. t1.exclusive = null;
  119950. from = _this._stylesheet0$_expression$2$consumeNewlines$until(true, new A.StylesheetParser__forRule_closure1(t1, _this));
  119951. if (t1.exclusive == null)
  119952. _this.scanner.error$1(0, 'Expected "to" or "through".');
  119953. _this.whitespace$1$consumeNewlines(true);
  119954. return _this._stylesheet0$_withChildren$3(child, start, new A.StylesheetParser__forRule_closure2(t1, _this, wasInControlDirective, variable, from, _this._stylesheet0$_expression$0()));
  119955. },
  119956. _stylesheet0$_forwardRule$1(start) {
  119957. var url, prefix, hiddenMixinsAndFunctions, hiddenVariables, _0_0, shownMixinsAndFunctions, shownVariables, _1_0, configuration, span, t1, t2, t3, t4, _this = this, _null = null;
  119958. _this.whitespace$1$consumeNewlines(true);
  119959. url = _this._stylesheet0$_urlString$0();
  119960. _this.whitespace$1$consumeNewlines(false);
  119961. if (_this.scanIdentifier$1("as")) {
  119962. _this.whitespace$1$consumeNewlines(true);
  119963. prefix = _this.identifier$1$normalize(true);
  119964. _this.scanner.expectChar$1(42);
  119965. _this.whitespace$1$consumeNewlines(false);
  119966. } else
  119967. prefix = _null;
  119968. hiddenMixinsAndFunctions = _null;
  119969. hiddenVariables = _null;
  119970. if (_this.scanIdentifier$1("show")) {
  119971. _this.whitespace$1$consumeNewlines(true);
  119972. _0_0 = _this._stylesheet0$_memberList$0();
  119973. shownMixinsAndFunctions = _0_0._0;
  119974. shownVariables = _0_0._1;
  119975. } else {
  119976. if (_this.scanIdentifier$1("hide")) {
  119977. _this.whitespace$1$consumeNewlines(true);
  119978. _1_0 = _this._stylesheet0$_memberList$0();
  119979. hiddenMixinsAndFunctions = _1_0._0;
  119980. hiddenVariables = _1_0._1;
  119981. }
  119982. shownVariables = _null;
  119983. shownMixinsAndFunctions = shownVariables;
  119984. }
  119985. configuration = _this._stylesheet0$_configuration$1$allowGuarded(true);
  119986. _this.whitespace$1$consumeNewlines(false);
  119987. _this.expectStatementSeparator$1("@forward rule");
  119988. span = _this.scanner.spanFrom$1(start);
  119989. if (!_this._stylesheet0$_isUseAllowed)
  119990. _this.error$2(0, string$.x40forwa, span);
  119991. if (shownMixinsAndFunctions != null) {
  119992. shownVariables.toString;
  119993. t1 = type$.String;
  119994. t2 = A.LinkedHashSet_LinkedHashSet$of(shownMixinsAndFunctions, t1);
  119995. t3 = type$.UnmodifiableSetView_String;
  119996. t1 = A.LinkedHashSet_LinkedHashSet$of(shownVariables, t1);
  119997. t4 = configuration == null ? B.List_empty24 : A.List_List$unmodifiable(configuration, type$.ConfiguredVariable_2);
  119998. return new A.ForwardRule0(url, new A.UnmodifiableSetView0(t2, t3), new A.UnmodifiableSetView0(t1, t3), _null, _null, prefix, t4, span);
  119999. } else if (hiddenMixinsAndFunctions != null) {
  120000. hiddenVariables.toString;
  120001. t1 = type$.String;
  120002. t2 = A.LinkedHashSet_LinkedHashSet$of(hiddenMixinsAndFunctions, t1);
  120003. t3 = type$.UnmodifiableSetView_String;
  120004. t1 = A.LinkedHashSet_LinkedHashSet$of(hiddenVariables, t1);
  120005. t4 = configuration == null ? B.List_empty24 : A.List_List$unmodifiable(configuration, type$.ConfiguredVariable_2);
  120006. return new A.ForwardRule0(url, _null, _null, new A.UnmodifiableSetView0(t2, t3), new A.UnmodifiableSetView0(t1, t3), prefix, t4, span);
  120007. } else
  120008. return new A.ForwardRule0(url, _null, _null, _null, _null, prefix, configuration == null ? B.List_empty24 : A.List_List$unmodifiable(configuration, type$.ConfiguredVariable_2), span);
  120009. },
  120010. _stylesheet0$_memberList$0() {
  120011. var _this = this,
  120012. t1 = type$.String,
  120013. identifiers = A.LinkedHashSet_LinkedHashSet$_empty(t1),
  120014. variables = A.LinkedHashSet_LinkedHashSet$_empty(t1);
  120015. t1 = _this.scanner;
  120016. do {
  120017. _this.whitespace$1$consumeNewlines(true);
  120018. _this.withErrorMessage$2(string$.Expectv, new A.StylesheetParser__memberList_closure0(_this, variables, identifiers));
  120019. _this.whitespace$1$consumeNewlines(false);
  120020. } while (t1.scanChar$1(44));
  120021. return new A._Record_2(identifiers, variables);
  120022. },
  120023. _stylesheet0$_ifRule$2(start, child) {
  120024. var ifIndentation, wasInControlDirective, condition, children, clauses, lastClause, span, _this = this;
  120025. _this.whitespace$1$consumeNewlines(true);
  120026. ifIndentation = _this.get$currentIndentation();
  120027. wasInControlDirective = _this._stylesheet0$_inControlDirective;
  120028. _this._stylesheet0$_inControlDirective = true;
  120029. condition = _this._stylesheet0$_expression$0();
  120030. children = _this.children$1(0, child);
  120031. _this.whitespaceWithoutComments$1$consumeNewlines(false);
  120032. clauses = A._setArrayType([A.IfClause$0(condition, children)], type$.JSArray_IfClause_2);
  120033. while (true) {
  120034. if (!_this.scanElse$1(ifIndentation)) {
  120035. lastClause = null;
  120036. break;
  120037. }
  120038. _this.whitespace$1$consumeNewlines(false);
  120039. if (_this.scanIdentifier$1("if")) {
  120040. _this.whitespace$1$consumeNewlines(true);
  120041. clauses.push(A.IfClause$0(_this._stylesheet0$_expression$0(), _this.children$1(0, child)));
  120042. } else {
  120043. lastClause = A.ElseClause$0(_this.children$1(0, child));
  120044. break;
  120045. }
  120046. }
  120047. _this._stylesheet0$_inControlDirective = wasInControlDirective;
  120048. span = _this.scanner.spanFrom$1(start);
  120049. _this.whitespaceWithoutComments$1$consumeNewlines(false);
  120050. return new A.IfRule0(A.List_List$unmodifiable(clauses, type$.IfClause_2), lastClause, span);
  120051. },
  120052. _stylesheet0$_importRule$1(start) {
  120053. var argument, t3, _this = this,
  120054. imports = A._setArrayType([], type$.JSArray_Import_2),
  120055. t1 = _this.scanner,
  120056. t2 = _this.warnings;
  120057. do {
  120058. _this.whitespace$1$consumeNewlines(false);
  120059. argument = _this.importArgument$0();
  120060. t3 = argument instanceof A.DynamicImport0;
  120061. if (t3)
  120062. t2.push(new A._Record_3_deprecation_message_span(B.Deprecation_OHJ, string$.Sassx20_i, argument.span));
  120063. if ((_this._stylesheet0$_inControlDirective || _this._stylesheet0$_inMixin) && t3)
  120064. _this._stylesheet0$_disallowedAtRule$1(start);
  120065. imports.push(argument);
  120066. _this.whitespace$1$consumeNewlines(false);
  120067. } while (t1.scanChar$1(44));
  120068. _this.expectStatementSeparator$1("@import rule");
  120069. t1 = t1.spanFrom$1(start);
  120070. return new A.ImportRule0(A.List_List$unmodifiable(imports, type$.Import_2), t1);
  120071. },
  120072. importArgument$0() {
  120073. var url, urlSpan, innerError, stackTrace, modifiers, t2, exception, _this = this,
  120074. t1 = _this.scanner,
  120075. start = new A._SpanScannerState(t1, t1._string_scanner$_position),
  120076. _0_0 = t1.peekChar$0();
  120077. if (117 === _0_0 || 85 === _0_0) {
  120078. url = _this.dynamicUrl$0();
  120079. _this.whitespace$1$consumeNewlines(false);
  120080. modifiers = _this.tryImportModifiers$0();
  120081. t2 = url instanceof A.StringExpression0 ? url.text : A.Interpolation$0(A._setArrayType([url], type$.JSArray_Object), A._setArrayType([url.get$span(url)], type$.JSArray_nullable_FileSpan), url.get$span(url));
  120082. return new A.StaticImport0(t2, modifiers, t1.spanFrom$1(start));
  120083. }
  120084. url = _this.string$0();
  120085. urlSpan = t1.spanFrom$1(start);
  120086. _this.whitespace$1$consumeNewlines(false);
  120087. modifiers = _this.tryImportModifiers$0();
  120088. if (_this.isPlainImportUrl$1(url) || modifiers != null) {
  120089. t2 = urlSpan;
  120090. return new A.StaticImport0(new A.Interpolation0(A.List_List$unmodifiable([A.String_String$fromCharCodes(B.NativeUint32List_methods.sublist$2(t2.file._decodedChars, t2._file$_start, t2._end), 0, null)], type$.Object), B.List_null, urlSpan), modifiers, t1.spanFrom$1(start));
  120091. } else
  120092. try {
  120093. t1 = _this.parseImportUrl$1(url);
  120094. return new A.DynamicImport0(t1, urlSpan);
  120095. } catch (exception) {
  120096. t1 = A.unwrapException(exception);
  120097. if (type$.FormatException._is(t1)) {
  120098. innerError = t1;
  120099. stackTrace = A.getTraceFromException(exception);
  120100. _this.error$3(0, "Invalid URL: " + J.get$message$x(innerError), urlSpan, stackTrace);
  120101. } else
  120102. throw exception;
  120103. }
  120104. },
  120105. parseImportUrl$1(url) {
  120106. var t1 = $.$get$windows();
  120107. if (t1.style.rootLength$1(url) > 0 && !$.$get$url().style.isRootRelative$1(url))
  120108. return t1.toUri$1(url).toString$0(0);
  120109. A.Uri_parse(url);
  120110. return url;
  120111. },
  120112. isPlainImportUrl$1(url) {
  120113. var _0_0, t1;
  120114. if (url.length < 5)
  120115. return false;
  120116. if (B.JSString_methods.endsWith$1(url, ".css"))
  120117. return true;
  120118. _0_0 = url.charCodeAt(0);
  120119. $label0$0: {
  120120. if (47 === _0_0) {
  120121. t1 = url.charCodeAt(1) === 47;
  120122. break $label0$0;
  120123. }
  120124. if (104 === _0_0) {
  120125. t1 = B.JSString_methods.startsWith$1(url, "http://") || B.JSString_methods.startsWith$1(url, "https://");
  120126. break $label0$0;
  120127. }
  120128. t1 = false;
  120129. break $label0$0;
  120130. }
  120131. return t1;
  120132. },
  120133. tryImportModifiers$0() {
  120134. var t1, start, t2, t3, t4, buffer, t5, identifier, $name, query, t6, endPosition, _this = this;
  120135. if (!_this._stylesheet0$_lookingAtInterpolatedIdentifier$0() && _this.scanner.peekChar$0() !== 40)
  120136. return null;
  120137. t1 = _this.scanner;
  120138. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  120139. t2 = new A.StringBuffer("");
  120140. t3 = A._setArrayType([], type$.JSArray_Object);
  120141. t4 = A._setArrayType([], type$.JSArray_nullable_FileSpan);
  120142. buffer = new A.InterpolationBuffer0(t2, t3, t4);
  120143. for (; true;)
  120144. if (_this._stylesheet0$_lookingAtInterpolatedIdentifier$0()) {
  120145. if (!(t3.length === 0 && t2._contents.length === 0)) {
  120146. t5 = A.Primitives_stringFromCharCode(32);
  120147. t2._contents += t5;
  120148. }
  120149. identifier = _this.interpolatedIdentifier$0();
  120150. buffer.addInterpolation$1(identifier);
  120151. t5 = identifier.get$asPlain();
  120152. $name = t5 == null ? null : t5.toLowerCase();
  120153. if ($name !== "and" && t1.scanChar$1(40)) {
  120154. if ($name === "supports") {
  120155. query = _this._stylesheet0$_importSupportsQuery$0();
  120156. t5 = !(query instanceof A.SupportsDeclaration0);
  120157. if (t5) {
  120158. t6 = A.Primitives_stringFromCharCode(40);
  120159. t2._contents += t6;
  120160. }
  120161. t6 = query.get$span(query);
  120162. buffer._interpolation_buffer0$_flushText$0();
  120163. t3.push(new A.SupportsExpression0(query));
  120164. t4.push(t6);
  120165. if (t5) {
  120166. t5 = A.Primitives_stringFromCharCode(41);
  120167. t2._contents += t5;
  120168. }
  120169. } else {
  120170. t5 = A.Primitives_stringFromCharCode(40);
  120171. t2._contents += t5;
  120172. buffer.addInterpolation$1(_this._stylesheet0$_interpolatedDeclarationValue$3$allowEmpty$allowSemicolon$consumeNewlines(true, true, true));
  120173. t5 = A.Primitives_stringFromCharCode(41);
  120174. t2._contents += t5;
  120175. }
  120176. t1.expectChar$1(41);
  120177. _this.whitespace$1$consumeNewlines(false);
  120178. } else {
  120179. _this.whitespace$1$consumeNewlines(false);
  120180. if (t1.scanChar$1(44)) {
  120181. t2._contents += ", ";
  120182. buffer.addInterpolation$1(_this._stylesheet0$_mediaQueryList$0());
  120183. endPosition = t1._string_scanner$_position;
  120184. t2 = t1._sourceFile;
  120185. t3 = start.position;
  120186. t1 = new A._FileSpan(t2, t3, endPosition);
  120187. t1._FileSpan$3(t2, t3, endPosition);
  120188. return buffer.interpolation$1(t1);
  120189. }
  120190. }
  120191. } else if (t1.peekChar$0() === 40) {
  120192. if (!(t3.length === 0 && t2._contents.length === 0)) {
  120193. t3 = A.Primitives_stringFromCharCode(32);
  120194. t2._contents += t3;
  120195. }
  120196. buffer.addInterpolation$1(_this._stylesheet0$_mediaQueryList$0());
  120197. endPosition = t1._string_scanner$_position;
  120198. t1 = t1._sourceFile;
  120199. t2 = start.position;
  120200. t3 = new A._FileSpan(t1, t2, endPosition);
  120201. t3._FileSpan$3(t1, t2, endPosition);
  120202. return buffer.interpolation$1(t3);
  120203. } else {
  120204. endPosition = t1._string_scanner$_position;
  120205. t1 = t1._sourceFile;
  120206. t2 = start.position;
  120207. t3 = new A._FileSpan(t1, t2, endPosition);
  120208. t3._FileSpan$3(t1, t2, endPosition);
  120209. return buffer.interpolation$1(t3);
  120210. }
  120211. },
  120212. _stylesheet0$_importSupportsQuery$0() {
  120213. var t1, t2, _0_0, $name, _this = this;
  120214. _this.whitespace$1$consumeNewlines(true);
  120215. if (_this.scanIdentifier$1("not")) {
  120216. _this.whitespace$1$consumeNewlines(true);
  120217. t1 = _this.scanner;
  120218. t2 = t1._string_scanner$_position;
  120219. return new A.SupportsNegation0(_this._stylesheet0$_supportsConditionInParens$0(), t1.spanFrom$1(new A._SpanScannerState(t1, t2)));
  120220. } else {
  120221. t1 = _this.scanner;
  120222. if (t1.peekChar$0() === 40)
  120223. return _this._stylesheet0$_supportsCondition$1$inParentheses(true);
  120224. else {
  120225. _0_0 = _this._stylesheet0$_tryImportSupportsFunction$0();
  120226. if (_0_0 != null)
  120227. return _0_0;
  120228. t2 = t1._string_scanner$_position;
  120229. $name = _this._stylesheet0$_expression$1$consumeNewlines(true);
  120230. t1.expectChar$1(58);
  120231. return new A.SupportsDeclaration0($name, _this._stylesheet0$_supportsDeclarationValue$1($name), t1.spanFrom$1(new A._SpanScannerState(t1, t2)));
  120232. }
  120233. }
  120234. },
  120235. _stylesheet0$_tryImportSupportsFunction$0() {
  120236. var t1, start, $name, value, _this = this;
  120237. if (!_this._stylesheet0$_lookingAtInterpolatedIdentifier$0())
  120238. return null;
  120239. t1 = _this.scanner;
  120240. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  120241. $name = _this.interpolatedIdentifier$0();
  120242. if (!t1.scanChar$1(40)) {
  120243. t1.set$state(start);
  120244. return null;
  120245. }
  120246. value = _this._stylesheet0$_interpolatedDeclarationValue$3$allowEmpty$allowSemicolon$consumeNewlines(true, true, true);
  120247. t1.expectChar$1(41);
  120248. return new A.SupportsFunction0($name, value, t1.spanFrom$1(start));
  120249. },
  120250. _stylesheet0$_includeRule$1(start) {
  120251. var $name, t1, name0, namespace, $arguments, t2, t3, contentParameters, contentParameters_, wasInContentBlock, $content, span, _this = this, _null = null;
  120252. _this.whitespace$1$consumeNewlines(true);
  120253. $name = _this.identifier$0();
  120254. t1 = _this.scanner;
  120255. if (t1.scanChar$1(46)) {
  120256. name0 = _this._stylesheet0$_publicIdentifier$0();
  120257. namespace = $name;
  120258. $name = name0;
  120259. } else
  120260. namespace = _null;
  120261. _this.whitespace$1$consumeNewlines(false);
  120262. if (t1.peekChar$0() === 40)
  120263. $arguments = _this._stylesheet0$_argumentInvocation$1$mixin(true);
  120264. else {
  120265. t2 = A.FileLocation$_(t1._sourceFile, t1._string_scanner$_position);
  120266. t3 = t2.offset;
  120267. $arguments = A.ArgumentList$empty0(A._FileSpan$(t2.file, t3, t3));
  120268. }
  120269. _this.whitespace$1$consumeNewlines(false);
  120270. if (_this.scanIdentifier$1("using")) {
  120271. _this.whitespace$1$consumeNewlines(true);
  120272. contentParameters = _this._stylesheet0$_parameterList$0();
  120273. _this.whitespace$1$consumeNewlines(false);
  120274. } else
  120275. contentParameters = _null;
  120276. t2 = contentParameters == null;
  120277. if (!t2 || _this.lookingAtChildren$0()) {
  120278. if (t2) {
  120279. t2 = A.FileLocation$_(t1._sourceFile, t1._string_scanner$_position);
  120280. t3 = t2.offset;
  120281. contentParameters_ = new A.ParameterList0(B.List_empty26, _null, A._FileSpan$(t2.file, t3, t3));
  120282. } else
  120283. contentParameters_ = contentParameters;
  120284. wasInContentBlock = _this._stylesheet0$_inContentBlock;
  120285. _this._stylesheet0$_inContentBlock = true;
  120286. $content = _this._stylesheet0$_withChildren$3(_this.get$_stylesheet0$_statement(), start, new A.StylesheetParser__includeRule_closure0(contentParameters_));
  120287. _this._stylesheet0$_inContentBlock = wasInContentBlock;
  120288. } else {
  120289. _this.expectStatementSeparator$0();
  120290. $content = _null;
  120291. }
  120292. t1 = t1.spanFrom$2(start, start);
  120293. t2 = $content == null ? $arguments : $content;
  120294. span = t1.expand$1(0, t2.get$span(t2));
  120295. return new A.IncludeRule0(namespace, A.stringReplaceAllUnchecked($name, "_", "-"), $name, $arguments, $content, span);
  120296. },
  120297. mediaRule$1(start) {
  120298. var _this = this;
  120299. _this.whitespace$1$consumeNewlines(false);
  120300. return _this._stylesheet0$_withChildren$3(_this.get$_stylesheet0$_statement(), start, new A.StylesheetParser_mediaRule_closure0(_this._stylesheet0$_mediaQueryList$0()));
  120301. },
  120302. _stylesheet0$_mixinRule$1(start) {
  120303. var precedingComment, t1, t2, $name, parameters, t3, _this = this;
  120304. _this.whitespace$1$consumeNewlines(true);
  120305. precedingComment = _this.lastSilentComment;
  120306. _this.lastSilentComment = null;
  120307. t1 = _this.scanner;
  120308. t2 = t1._string_scanner$_position;
  120309. $name = _this.identifier$0();
  120310. if (B.JSString_methods.startsWith$1($name, "--"))
  120311. _this.warnings.push(new A._Record_3_deprecation_message_span(B.Deprecation_d4j, string$.Sassx20_m, t1.spanFrom$1(new A._SpanScannerState(t1, t2))));
  120312. _this.whitespace$1$consumeNewlines(false);
  120313. if (t1.peekChar$0() === 40)
  120314. parameters = _this._stylesheet0$_parameterList$0();
  120315. else {
  120316. t2 = A.FileLocation$_(t1._sourceFile, t1._string_scanner$_position);
  120317. t3 = t2.offset;
  120318. parameters = new A.ParameterList0(B.List_empty26, null, A._FileSpan$(t2.file, t3, t3));
  120319. }
  120320. if (_this._stylesheet0$_inMixin || _this._stylesheet0$_inContentBlock)
  120321. _this.error$2(0, string$.Mixinscm, t1.spanFrom$1(start));
  120322. else if (_this._stylesheet0$_inControlDirective)
  120323. _this.error$2(0, string$.Mixinsb, t1.spanFrom$1(start));
  120324. _this.whitespace$1$consumeNewlines(false);
  120325. _this._stylesheet0$_inMixin = true;
  120326. return _this._stylesheet0$_withChildren$3(_this.get$_stylesheet0$_statement(), start, new A.StylesheetParser__mixinRule_closure0(_this, $name, parameters, precedingComment));
  120327. },
  120328. mozDocumentRule$2(start, $name) {
  120329. var t1, t2, t3, t4, t5, buffer, _0_0, t6, identifier, _1_0, argument, trailing, endPosition, t7, t8, start0, end, _this = this, _box_0 = {};
  120330. _this.whitespace$1$consumeNewlines(false);
  120331. t1 = _this.scanner;
  120332. t2 = t1._string_scanner$_position;
  120333. t3 = new A.StringBuffer("");
  120334. t4 = A._setArrayType([], type$.JSArray_Object);
  120335. t5 = A._setArrayType([], type$.JSArray_nullable_FileSpan);
  120336. buffer = new A.InterpolationBuffer0(t3, t4, t5);
  120337. _box_0.needsDeprecationWarning = false;
  120338. for (; true;) {
  120339. if (t1.peekChar$0() === 35) {
  120340. _0_0 = _this.singleInterpolation$0();
  120341. buffer._interpolation_buffer0$_flushText$0();
  120342. t4.push(_0_0._0);
  120343. t5.push(_0_0._1);
  120344. _box_0.needsDeprecationWarning = true;
  120345. } else {
  120346. t6 = t1._string_scanner$_position;
  120347. identifier = _this.identifier$0();
  120348. $label0$0: {
  120349. if ("url" === identifier || "url-prefix" === identifier || "domain" === identifier) {
  120350. _1_0 = _this._stylesheet0$_tryUrlContents$2$name(new A._SpanScannerState(t1, t6), identifier);
  120351. if (_1_0 != null)
  120352. buffer.addInterpolation$1(_1_0);
  120353. else {
  120354. t1.expectChar$1(40);
  120355. _this.whitespace$1$consumeNewlines(false);
  120356. argument = _this.interpolatedString$0();
  120357. t1.expectChar$1(41);
  120358. t3._contents += identifier;
  120359. t6 = A.Primitives_stringFromCharCode(40);
  120360. t3._contents += t6;
  120361. buffer.addInterpolation$1(argument.asInterpolation$0());
  120362. t6 = A.Primitives_stringFromCharCode(41);
  120363. t3._contents += t6;
  120364. }
  120365. t6 = t3._contents;
  120366. trailing = t6.charCodeAt(0) == 0 ? t6 : t6;
  120367. 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("")'))
  120368. _box_0.needsDeprecationWarning = true;
  120369. break $label0$0;
  120370. }
  120371. if ("regexp" === identifier) {
  120372. t3._contents += "regexp(";
  120373. t1.expectChar$1(40);
  120374. buffer.addInterpolation$1(_this.interpolatedString$0().asInterpolation$0());
  120375. t1.expectChar$1(41);
  120376. t6 = A.Primitives_stringFromCharCode(41);
  120377. t3._contents += t6;
  120378. _box_0.needsDeprecationWarning = true;
  120379. break $label0$0;
  120380. }
  120381. endPosition = t1._string_scanner$_position;
  120382. t7 = t1._sourceFile;
  120383. t8 = new A._FileSpan(t7, t6, endPosition);
  120384. t8._FileSpan$3(t7, t6, endPosition);
  120385. _this.error$2(0, "Invalid function name.", t8);
  120386. }
  120387. }
  120388. _this.whitespace$1$consumeNewlines(false);
  120389. if (!t1.scanChar$1(44))
  120390. break;
  120391. t6 = A.Primitives_stringFromCharCode(44);
  120392. t3._contents += t6;
  120393. start0 = t1._string_scanner$_position;
  120394. new A.StylesheetParser_mozDocumentRule_closure1(_this).call$0();
  120395. end = t1._string_scanner$_position;
  120396. t3._contents += B.JSString_methods.substring$2(t1.string, start0, end);
  120397. }
  120398. return _this._stylesheet0$_withChildren$3(_this.get$_stylesheet0$_statement(), start, new A.StylesheetParser_mozDocumentRule_closure2(_box_0, _this, $name, buffer.interpolation$1(t1.spanFrom$1(new A._SpanScannerState(t1, t2)))));
  120399. },
  120400. supportsRule$1(start) {
  120401. var condition, _this = this;
  120402. _this.whitespace$1$consumeNewlines(false);
  120403. condition = _this._stylesheet0$_supportsCondition$0();
  120404. _this.whitespace$1$consumeNewlines(false);
  120405. return _this._stylesheet0$_withChildren$3(_this.get$_stylesheet0$_statement(), start, new A.StylesheetParser_supportsRule_closure0(condition));
  120406. },
  120407. _stylesheet0$_useNamespace$2(url, start) {
  120408. var namespace, basename, dot, t1, exception, _this = this;
  120409. if (_this.scanIdentifier$1("as")) {
  120410. _this.whitespace$1$consumeNewlines(true);
  120411. return _this.scanner.scanChar$1(42) ? null : _this.identifier$0();
  120412. }
  120413. basename = url.get$pathSegments().length === 0 ? "" : B.JSArray_methods.get$last(url.get$pathSegments());
  120414. dot = B.JSString_methods.indexOf$1(basename, ".");
  120415. t1 = B.JSString_methods.startsWith$1(basename, "_") ? 1 : 0;
  120416. namespace = B.JSString_methods.substring$2(basename, t1, dot === -1 ? basename.length : dot);
  120417. try {
  120418. t1 = new A.Parser1(A.SpanScanner$(namespace, null), null)._parser1$_parseIdentifier$0();
  120419. return t1;
  120420. } catch (exception) {
  120421. if (type$.SassFormatException_2._is(A.unwrapException(exception)))
  120422. _this.error$2(0, 'The default namespace "' + A.S(namespace) + string$.x22x20is_n, _this.scanner.spanFrom$1(start));
  120423. else
  120424. throw exception;
  120425. }
  120426. },
  120427. _stylesheet0$_configuration$1$allowGuarded(allowGuarded) {
  120428. var variableNames, configuration, t1, t2, $name, expression, t3, guarded, endPosition, t4, t5, span, _this = this;
  120429. if (!_this.scanIdentifier$1("with"))
  120430. return null;
  120431. variableNames = A.LinkedHashSet_LinkedHashSet$_empty(type$.String);
  120432. configuration = A._setArrayType([], type$.JSArray_ConfiguredVariable_2);
  120433. _this.whitespace$1$consumeNewlines(true);
  120434. t1 = _this.scanner;
  120435. t1.expectChar$1(40);
  120436. for (; true;) {
  120437. _this.whitespace$1$consumeNewlines(true);
  120438. t2 = t1._string_scanner$_position;
  120439. t1.expectChar$1(36);
  120440. $name = _this.identifier$1$normalize(true);
  120441. _this.whitespace$1$consumeNewlines(true);
  120442. t1.expectChar$1(58);
  120443. _this.whitespace$1$consumeNewlines(true);
  120444. expression = _this.expressionUntilComma$0();
  120445. t3 = t1._string_scanner$_position;
  120446. if (allowGuarded && t1.scanChar$1(33)) {
  120447. guarded = _this.identifier$0() === "default";
  120448. if (guarded)
  120449. _this.whitespace$1$consumeNewlines(true);
  120450. else {
  120451. endPosition = t1._string_scanner$_position;
  120452. t4 = t1._sourceFile;
  120453. t5 = new A._FileSpan(t4, t3, endPosition);
  120454. t5._FileSpan$3(t4, t3, endPosition);
  120455. _this.error$2(0, "Invalid flag name.", t5);
  120456. }
  120457. } else
  120458. guarded = false;
  120459. endPosition = t1._string_scanner$_position;
  120460. t3 = t1._sourceFile;
  120461. span = new A._FileSpan(t3, t2, endPosition);
  120462. span._FileSpan$3(t3, t2, endPosition);
  120463. if (variableNames.contains$1(0, $name))
  120464. _this.error$2(0, string$.The_sa, span);
  120465. variableNames.add$1(0, $name);
  120466. configuration.push(new A.ConfiguredVariable0($name, expression, guarded, span));
  120467. if (!t1.scanChar$1(44))
  120468. break;
  120469. _this.whitespace$1$consumeNewlines(true);
  120470. if (!_this._stylesheet0$_lookingAtExpression$0())
  120471. break;
  120472. }
  120473. t1.expectChar$1(41);
  120474. return configuration;
  120475. },
  120476. _stylesheet0$_configuration$0() {
  120477. return this._stylesheet0$_configuration$1$allowGuarded(false);
  120478. },
  120479. _stylesheet0$_warnRule$1(start) {
  120480. var value, t1, t2, _this = this;
  120481. _this.whitespace$1$consumeNewlines(true);
  120482. value = _this._stylesheet0$_expression$0();
  120483. t1 = _this.scanner;
  120484. t2 = t1._string_scanner$_position;
  120485. _this.expectStatementSeparator$1("@warn rule");
  120486. return new A.WarnRule0(value, t1.spanFrom$2(start, new A._SpanScannerState(t1, t2)));
  120487. },
  120488. _stylesheet0$_whileRule$2(start, child) {
  120489. var wasInControlDirective, _this = this;
  120490. _this.whitespace$1$consumeNewlines(true);
  120491. wasInControlDirective = _this._stylesheet0$_inControlDirective;
  120492. _this._stylesheet0$_inControlDirective = true;
  120493. return _this._stylesheet0$_withChildren$3(child, start, new A.StylesheetParser__whileRule_closure0(_this, wasInControlDirective, _this._stylesheet0$_expression$0()));
  120494. },
  120495. unknownAtRule$2(start, $name) {
  120496. var t2, t3, rule, _this = this, t1 = {},
  120497. wasInUnknownAtRule = _this._stylesheet0$_inUnknownAtRule;
  120498. _this._stylesheet0$_inUnknownAtRule = true;
  120499. _this.whitespace$1$consumeNewlines(false);
  120500. t1.value = null;
  120501. t2 = _this.scanner;
  120502. t3 = t2.peekChar$0() !== 33 && !_this.atEndOfStatement$0() ? t1.value = _this._stylesheet0$_interpolatedDeclarationValue$1$allowOpenBrace(false) : null;
  120503. if (_this.lookingAtChildren$0())
  120504. rule = _this._stylesheet0$_withChildren$3(_this.get$_stylesheet0$_statement(), start, new A.StylesheetParser_unknownAtRule_closure0(t1, $name));
  120505. else {
  120506. _this.expectStatementSeparator$0();
  120507. rule = A.AtRule$0($name, t2.spanFrom$1(start), null, t3);
  120508. }
  120509. _this._stylesheet0$_inUnknownAtRule = wasInUnknownAtRule;
  120510. return rule;
  120511. },
  120512. _stylesheet0$_disallowedAtRule$1(start) {
  120513. var _this = this;
  120514. _this.whitespace$1$consumeNewlines(false);
  120515. _this._stylesheet0$_interpolatedDeclarationValue$2$allowEmpty$allowOpenBrace(true, false);
  120516. _this.error$2(0, "This at-rule is not allowed here.", _this.scanner.spanFrom$1(start));
  120517. },
  120518. _stylesheet0$_parameterList$0() {
  120519. var parameters, named, restParameter, t3, $name, defaultValue, endPosition, t4, t5, _this = this,
  120520. t1 = _this.scanner,
  120521. t2 = t1._string_scanner$_position;
  120522. t1.expectChar$1(40);
  120523. _this.whitespace$1$consumeNewlines(true);
  120524. parameters = A._setArrayType([], type$.JSArray_Parameter_2);
  120525. named = A.LinkedHashSet_LinkedHashSet$_empty(type$.String);
  120526. for (; restParameter = null, t1.peekChar$0() === 36;) {
  120527. t3 = t1._string_scanner$_position;
  120528. t1.expectChar$1(36);
  120529. $name = _this.identifier$1$normalize(true);
  120530. _this.whitespace$1$consumeNewlines(true);
  120531. if (t1.scanChar$1(58)) {
  120532. _this.whitespace$1$consumeNewlines(true);
  120533. defaultValue = _this.expressionUntilComma$0();
  120534. } else {
  120535. if (t1.scanChar$1(46)) {
  120536. t1.expectChar$1(46);
  120537. t1.expectChar$1(46);
  120538. _this.whitespace$1$consumeNewlines(true);
  120539. if (t1.scanChar$1(44))
  120540. _this.whitespace$1$consumeNewlines(true);
  120541. restParameter = $name;
  120542. break;
  120543. }
  120544. defaultValue = null;
  120545. }
  120546. endPosition = t1._string_scanner$_position;
  120547. t4 = t1._sourceFile;
  120548. t5 = new A._FileSpan(t4, t3, endPosition);
  120549. t5._FileSpan$3(t4, t3, endPosition);
  120550. parameters.push(new A.Parameter0($name, defaultValue, t5));
  120551. if (!named.add$1(0, $name))
  120552. _this.error$2(0, "Duplicate parameter.", B.JSArray_methods.get$last(parameters).span);
  120553. if (!t1.scanChar$1(44))
  120554. break;
  120555. _this.whitespace$1$consumeNewlines(true);
  120556. }
  120557. t1.expectChar$1(41);
  120558. t1 = t1.spanFrom$1(new A._SpanScannerState(t1, t2));
  120559. return new A.ParameterList0(A.List_List$unmodifiable(parameters, type$.Parameter_2), restParameter, t1);
  120560. },
  120561. _stylesheet0$_argumentInvocation$2$allowEmptySecondArg$mixin(allowEmptySecondArg, mixin) {
  120562. var positional, t3, t4, named, t5, rest, keywordRest, expression, t6, t7, result, _this = this,
  120563. t1 = _this.scanner,
  120564. t2 = t1._string_scanner$_position;
  120565. t1.expectChar$1(40);
  120566. _this.whitespace$1$consumeNewlines(true);
  120567. positional = A._setArrayType([], type$.JSArray_Expression_2);
  120568. t3 = type$.String;
  120569. t4 = type$.Expression_2;
  120570. named = A.LinkedHashMap_LinkedHashMap$_empty(t3, t4);
  120571. for (t5 = !mixin, rest = null; keywordRest = null, _this._stylesheet0$_lookingAtExpression$0();) {
  120572. expression = _this.expressionUntilComma$1$singleEquals(t5);
  120573. _this.whitespace$1$consumeNewlines(true);
  120574. if (expression instanceof A.VariableExpression0 && t1.scanChar$1(58)) {
  120575. _this.whitespace$1$consumeNewlines(true);
  120576. t6 = expression.name;
  120577. if (named.containsKey$1(t6))
  120578. _this.error$2(0, "Duplicate argument.", expression.span);
  120579. named.$indexSet(0, t6, _this.expressionUntilComma$1$singleEquals(t5));
  120580. } else if (t1.scanChar$1(46)) {
  120581. t1.expectChar$1(46);
  120582. t1.expectChar$1(46);
  120583. if (rest != null) {
  120584. _this.whitespace$1$consumeNewlines(true);
  120585. if (t1.scanChar$1(44))
  120586. _this.whitespace$1$consumeNewlines(true);
  120587. keywordRest = expression;
  120588. break;
  120589. }
  120590. rest = expression;
  120591. } else if (named.__js_helper$_length !== 0)
  120592. _this.error$2(0, string$.Positi, expression.get$span(expression));
  120593. else
  120594. positional.push(expression);
  120595. _this.whitespace$1$consumeNewlines(true);
  120596. if (!t1.scanChar$1(44))
  120597. break;
  120598. _this.whitespace$1$consumeNewlines(true);
  120599. if (allowEmptySecondArg && positional.length === 1 && named.__js_helper$_length === 0 && rest == null && t1.peekChar$0() === 41) {
  120600. t5 = t1._sourceFile;
  120601. t6 = t1._string_scanner$_position;
  120602. new A.FileLocation(t5, t6).FileLocation$_$2(t5, t6);
  120603. t7 = new A._FileSpan(t5, t6, t6);
  120604. t7._FileSpan$3(t5, t6, t6);
  120605. result = A.List_List$from([""], false, type$.Object);
  120606. result.$flags = 3;
  120607. positional.push(new A.StringExpression0(new A.Interpolation0(result, B.List_null, t7), false));
  120608. break;
  120609. }
  120610. }
  120611. t1.expectChar$1(41);
  120612. t1 = t1.spanFrom$1(new A._SpanScannerState(t1, t2));
  120613. return new A.ArgumentList0(A.List_List$unmodifiable(positional, t4), A.ConstantMap_ConstantMap$from(named, t3, t4), rest, keywordRest, t1);
  120614. },
  120615. _stylesheet0$_argumentInvocation$0() {
  120616. return this._stylesheet0$_argumentInvocation$2$allowEmptySecondArg$mixin(false, false);
  120617. },
  120618. _stylesheet0$_argumentInvocation$1$allowEmptySecondArg(allowEmptySecondArg) {
  120619. return this._stylesheet0$_argumentInvocation$2$allowEmptySecondArg$mixin(allowEmptySecondArg, false);
  120620. },
  120621. _stylesheet0$_argumentInvocation$1$mixin(mixin) {
  120622. return this._stylesheet0$_argumentInvocation$2$allowEmptySecondArg$mixin(false, mixin);
  120623. },
  120624. _stylesheet0$_expression$4$bracketList$consumeNewlines$singleEquals$until(bracketList, consumeNewlines, singleEquals, until) {
  120625. var t2, beforeBracket, start, wasInExpression, wasInParentheses, resetState, resolveOneOperation, resolveOperations, addSingleExpression, addOperator, resolveSpaceExpressions, t3, t4, _3_0, _1_0, t5, _3_28, _2_0, _3_32, _3_40, commaExpressions, spaceExpressions, singleExpression, _this = this,
  120626. _s20_ = "Expected expression.",
  120627. _box_0 = {},
  120628. t1 = until != null;
  120629. if (t1 && until.call$0())
  120630. _this.scanner.error$1(0, _s20_);
  120631. if (bracketList) {
  120632. t2 = _this.scanner;
  120633. beforeBracket = new A._SpanScannerState(t2, t2._string_scanner$_position);
  120634. t2.expectChar$1(91);
  120635. _this.whitespace$1$consumeNewlines(true);
  120636. if (t2.scanChar$1(93)) {
  120637. t1 = A._setArrayType([], type$.JSArray_Expression_2);
  120638. t2 = t2.spanFrom$1(beforeBracket);
  120639. return new A.ListExpression0(A.List_List$unmodifiable(t1, type$.Expression_2), B.ListSeparator_undecided_null_undecided0, true, t2);
  120640. }
  120641. } else
  120642. beforeBracket = null;
  120643. t2 = _this.scanner;
  120644. start = new A._SpanScannerState(t2, t2._string_scanner$_position);
  120645. wasInExpression = _this._stylesheet0$_inExpression;
  120646. wasInParentheses = _this._stylesheet0$_inParentheses;
  120647. _this._stylesheet0$_inExpression = true;
  120648. _box_0.operands_ = _box_0.operators_ = _box_0.spaceExpressions_ = _box_0.commaExpressions_ = null;
  120649. _box_0.allowSlash = true;
  120650. _box_0.singleExpression_ = _this._stylesheet0$_singleExpression$0();
  120651. resetState = new A.StylesheetParser__expression_resetState0(_box_0, _this, start);
  120652. resolveOneOperation = new A.StylesheetParser__expression_resolveOneOperation0(_box_0, _this);
  120653. resolveOperations = new A.StylesheetParser__expression_resolveOperations0(_box_0, resolveOneOperation);
  120654. addSingleExpression = new A.StylesheetParser__expression_addSingleExpression0(_box_0, _this, resetState, resolveOperations);
  120655. addOperator = new A.StylesheetParser__expression_addOperator0(_box_0, _this, resolveOneOperation, addSingleExpression);
  120656. resolveSpaceExpressions = new A.StylesheetParser__expression_resolveSpaceExpressions0(_box_0, _this, resolveOperations);
  120657. for (t3 = !consumeNewlines, t4 = type$.JSArray_Expression_2; true;) {
  120658. _this.whitespace$1$consumeNewlines(!t3 || bracketList);
  120659. if (t1 && until.call$0())
  120660. break;
  120661. _3_0 = t2.peekChar$0();
  120662. if (_3_0 == null)
  120663. break;
  120664. if (40 === _3_0) {
  120665. addSingleExpression.call$1(_this.parentheses$0());
  120666. continue;
  120667. }
  120668. if (91 === _3_0) {
  120669. addSingleExpression.call$1(_this._stylesheet0$_expression$1$bracketList(true));
  120670. continue;
  120671. }
  120672. if (36 === _3_0) {
  120673. addSingleExpression.call$1(_this._stylesheet0$_variable$0());
  120674. continue;
  120675. }
  120676. if (38 === _3_0) {
  120677. addSingleExpression.call$1(_this._stylesheet0$_selector$0());
  120678. continue;
  120679. }
  120680. if (39 === _3_0 || 34 === _3_0) {
  120681. addSingleExpression.call$1(_this.interpolatedString$0());
  120682. continue;
  120683. }
  120684. if (35 === _3_0) {
  120685. addSingleExpression.call$1(_this._stylesheet0$_hashExpression$0());
  120686. continue;
  120687. }
  120688. if (61 === _3_0) {
  120689. t2.readChar$0();
  120690. if (singleEquals && t2.peekChar$0() !== 61)
  120691. addOperator.call$1(B.BinaryOperator_Kyq0);
  120692. else {
  120693. t2.expectChar$1(61);
  120694. addOperator.call$1(B.BinaryOperator_r840);
  120695. }
  120696. continue;
  120697. }
  120698. if (33 === _3_0) {
  120699. $label0$1: {
  120700. _1_0 = t2.peekChar$1(1);
  120701. if (61 === _1_0) {
  120702. t2.readChar$0();
  120703. t2.readChar$0();
  120704. addOperator.call$1(B.BinaryOperator_qGq0);
  120705. break $label0$1;
  120706. }
  120707. t5 = true;
  120708. if (_1_0 != null)
  120709. if (105 !== _1_0)
  120710. if (73 !== _1_0)
  120711. t5 = _1_0 === 32 || _1_0 === 9 || _1_0 === 10 || _1_0 === 13 || _1_0 === 12;
  120712. if (t5) {
  120713. addSingleExpression.call$1(_this._stylesheet0$_importantExpression$0());
  120714. break $label0$1;
  120715. }
  120716. break;
  120717. }
  120718. continue;
  120719. }
  120720. if (60 === _3_0) {
  120721. t2.readChar$0();
  120722. addOperator.call$1(t2.scanChar$1(61) ? B.BinaryOperator_FPG0 : B.BinaryOperator_qHy0);
  120723. continue;
  120724. }
  120725. if (62 === _3_0) {
  120726. t2.readChar$0();
  120727. addOperator.call$1(t2.scanChar$1(61) ? B.BinaryOperator_JiR0 : B.BinaryOperator_o8O0);
  120728. continue;
  120729. }
  120730. if (42 === _3_0) {
  120731. t2.readChar$0();
  120732. addOperator.call$1(B.BinaryOperator_tht0);
  120733. continue;
  120734. }
  120735. _3_28 = 43 === _3_0;
  120736. if (_3_28 && _box_0.singleExpression_ == null) {
  120737. addSingleExpression.call$1(_this._stylesheet0$_unaryOperation$0());
  120738. continue;
  120739. }
  120740. if (_3_28) {
  120741. t2.readChar$0();
  120742. addOperator.call$1(B.BinaryOperator_Swh0);
  120743. continue;
  120744. }
  120745. if (45 === _3_0) {
  120746. _2_0 = t2.peekChar$1(1);
  120747. if (A._isInt(_2_0) && _2_0 >= 48 && _2_0 <= 57 || 46 === _2_0)
  120748. if (_box_0.singleExpression_ != null) {
  120749. t5 = t2.peekChar$1(-1);
  120750. t5 = t5 === 32 || t5 === 9 || t5 === 10 || t5 === 13 || t5 === 12;
  120751. } else
  120752. t5 = true;
  120753. else
  120754. t5 = false;
  120755. if (t5)
  120756. addSingleExpression.call$1(_this._stylesheet0$_number$0());
  120757. else if (_this._stylesheet0$_lookingAtInterpolatedIdentifier$0())
  120758. addSingleExpression.call$1(_this.identifierLike$0());
  120759. else if (_box_0.singleExpression_ == null)
  120760. addSingleExpression.call$1(_this._stylesheet0$_unaryOperation$0());
  120761. else {
  120762. t2.readChar$0();
  120763. addOperator.call$1(B.BinaryOperator_QG10);
  120764. }
  120765. continue;
  120766. }
  120767. _3_32 = 47 === _3_0;
  120768. if (_3_32 && _box_0.singleExpression_ == null) {
  120769. addSingleExpression.call$1(_this._stylesheet0$_unaryOperation$0());
  120770. continue;
  120771. }
  120772. if (_3_32) {
  120773. t2.readChar$0();
  120774. addOperator.call$1(B.BinaryOperator_Mh50);
  120775. continue;
  120776. }
  120777. if (37 === _3_0) {
  120778. t2.readChar$0();
  120779. addOperator.call$1(B.BinaryOperator_s7T0);
  120780. continue;
  120781. }
  120782. if (_3_0 >= 48 && _3_0 <= 57) {
  120783. addSingleExpression.call$1(_this._stylesheet0$_number$0());
  120784. continue;
  120785. }
  120786. _3_40 = 46 === _3_0;
  120787. if (_3_40 && t2.peekChar$1(1) === 46)
  120788. break;
  120789. if (_3_40) {
  120790. addSingleExpression.call$1(_this._stylesheet0$_number$0());
  120791. continue;
  120792. }
  120793. if (97 === _3_0 && !_this.get$plainCss() && _this.scanIdentifier$1("and")) {
  120794. addOperator.call$1(B.BinaryOperator_uke0);
  120795. continue;
  120796. }
  120797. if (111 === _3_0 && !_this.get$plainCss() && _this.scanIdentifier$1("or")) {
  120798. addOperator.call$1(B.BinaryOperator_tKu0);
  120799. continue;
  120800. }
  120801. if ((117 === _3_0 || 85 === _3_0) && t2.peekChar$1(1) === 43) {
  120802. addSingleExpression.call$1(_this._stylesheet0$_unicodeRange$0());
  120803. continue;
  120804. }
  120805. if (!(_3_0 >= 97 && _3_0 <= 122))
  120806. t5 = _3_0 >= 65 && _3_0 <= 90 || 95 === _3_0 || 92 === _3_0 || _3_0 >= 128;
  120807. else
  120808. t5 = true;
  120809. if (t5) {
  120810. addSingleExpression.call$1(_this.identifierLike$0());
  120811. continue;
  120812. }
  120813. if (44 === _3_0) {
  120814. if (_this._stylesheet0$_inParentheses) {
  120815. _this._stylesheet0$_inParentheses = false;
  120816. if (_box_0.allowSlash) {
  120817. resetState.call$0();
  120818. continue;
  120819. }
  120820. }
  120821. commaExpressions = _box_0.commaExpressions_;
  120822. if (commaExpressions == null)
  120823. commaExpressions = _box_0.commaExpressions_ = A._setArrayType([], t4);
  120824. if (_box_0.singleExpression_ == null)
  120825. t2.error$1(0, _s20_);
  120826. resolveSpaceExpressions.call$0();
  120827. t5 = _box_0.singleExpression_;
  120828. t5.toString;
  120829. commaExpressions.push(t5);
  120830. t2.readChar$0();
  120831. _box_0.allowSlash = true;
  120832. _box_0.singleExpression_ = null;
  120833. continue;
  120834. }
  120835. break;
  120836. }
  120837. if (bracketList)
  120838. t2.expectChar$1(93);
  120839. commaExpressions = _box_0.commaExpressions_;
  120840. spaceExpressions = _box_0.spaceExpressions_;
  120841. if (commaExpressions != null) {
  120842. resolveSpaceExpressions.call$0();
  120843. _this._stylesheet0$_inParentheses = wasInParentheses;
  120844. singleExpression = _box_0.singleExpression_;
  120845. if (singleExpression != null)
  120846. commaExpressions.push(singleExpression);
  120847. _this._stylesheet0$_inExpression = wasInExpression;
  120848. t1 = t2.spanFrom$1(beforeBracket == null ? start : beforeBracket);
  120849. return new A.ListExpression0(A.List_List$unmodifiable(commaExpressions, type$.Expression_2), B.ListSeparator_qVN0, bracketList, t1);
  120850. } else if (bracketList && spaceExpressions != null) {
  120851. resolveOperations.call$0();
  120852. _this._stylesheet0$_inExpression = wasInExpression;
  120853. t1 = _box_0.singleExpression_;
  120854. t1.toString;
  120855. spaceExpressions.push(t1);
  120856. beforeBracket.toString;
  120857. t2 = t2.spanFrom$1(beforeBracket);
  120858. return new A.ListExpression0(A.List_List$unmodifiable(spaceExpressions, type$.Expression_2), B.ListSeparator_qSL0, true, t2);
  120859. } else {
  120860. resolveSpaceExpressions.call$0();
  120861. if (bracketList) {
  120862. t1 = _box_0.singleExpression_;
  120863. t1.toString;
  120864. t4 = A._setArrayType([t1], t4);
  120865. beforeBracket.toString;
  120866. t2 = t2.spanFrom$1(beforeBracket);
  120867. _box_0.singleExpression_ = new A.ListExpression0(A.List_List$unmodifiable(t4, type$.Expression_2), B.ListSeparator_undecided_null_undecided0, true, t2);
  120868. }
  120869. _this._stylesheet0$_inExpression = wasInExpression;
  120870. t1 = _box_0.singleExpression_;
  120871. t1.toString;
  120872. return t1;
  120873. }
  120874. },
  120875. _stylesheet0$_expression$3$consumeNewlines$singleEquals$until(consumeNewlines, singleEquals, until) {
  120876. return this._stylesheet0$_expression$4$bracketList$consumeNewlines$singleEquals$until(false, consumeNewlines, singleEquals, until);
  120877. },
  120878. _stylesheet0$_expression$1$bracketList(bracketList) {
  120879. return this._stylesheet0$_expression$4$bracketList$consumeNewlines$singleEquals$until(bracketList, false, false, null);
  120880. },
  120881. _stylesheet0$_expression$1$consumeNewlines(consumeNewlines) {
  120882. return this._stylesheet0$_expression$4$bracketList$consumeNewlines$singleEquals$until(false, consumeNewlines, false, null);
  120883. },
  120884. _stylesheet0$_expression$0() {
  120885. return this._stylesheet0$_expression$4$bracketList$consumeNewlines$singleEquals$until(false, false, false, null);
  120886. },
  120887. _stylesheet0$_expression$2$consumeNewlines$until(consumeNewlines, until) {
  120888. return this._stylesheet0$_expression$4$bracketList$consumeNewlines$singleEquals$until(false, consumeNewlines, false, until);
  120889. },
  120890. expressionUntilComma$1$singleEquals(singleEquals) {
  120891. return this._stylesheet0$_expression$3$consumeNewlines$singleEquals$until(true, singleEquals, new A.StylesheetParser_expressionUntilComma_closure0(this));
  120892. },
  120893. expressionUntilComma$0() {
  120894. return this.expressionUntilComma$1$singleEquals(false);
  120895. },
  120896. _stylesheet0$_isSlashOperand$1(expression) {
  120897. var t1 = true;
  120898. if (!(expression instanceof A.NumberExpression0))
  120899. if (!(expression instanceof A.FunctionExpression0))
  120900. t1 = expression instanceof A.BinaryOperationExpression0 && expression.allowsSlash;
  120901. return t1;
  120902. },
  120903. _stylesheet0$_singleExpression$0() {
  120904. var next, t2, _this = this,
  120905. _s20_ = "Expected expression.",
  120906. t1 = _this.scanner,
  120907. _0_0 = t1.peekChar$0();
  120908. $label0$0: {
  120909. if (_0_0 == null)
  120910. t1.error$1(0, _s20_);
  120911. if (40 === _0_0) {
  120912. t1 = _this.parentheses$0();
  120913. break $label0$0;
  120914. }
  120915. if (47 === _0_0) {
  120916. t1 = _this._stylesheet0$_unaryOperation$0();
  120917. break $label0$0;
  120918. }
  120919. if (46 === _0_0) {
  120920. t1 = _this._stylesheet0$_number$0();
  120921. break $label0$0;
  120922. }
  120923. if (91 === _0_0) {
  120924. t1 = _this._stylesheet0$_expression$1$bracketList(true);
  120925. break $label0$0;
  120926. }
  120927. if (36 === _0_0) {
  120928. t1 = _this._stylesheet0$_variable$0();
  120929. break $label0$0;
  120930. }
  120931. if (38 === _0_0) {
  120932. t1 = _this._stylesheet0$_selector$0();
  120933. break $label0$0;
  120934. }
  120935. if (39 === _0_0 || 34 === _0_0) {
  120936. t1 = _this.interpolatedString$0();
  120937. break $label0$0;
  120938. }
  120939. if (35 === _0_0) {
  120940. t1 = _this._stylesheet0$_hashExpression$0();
  120941. break $label0$0;
  120942. }
  120943. if (43 === _0_0) {
  120944. next = t1.peekChar$1(1);
  120945. t1 = next != null && next >= 48 && next <= 57 || next === 46 ? _this._stylesheet0$_number$0() : _this._stylesheet0$_unaryOperation$0();
  120946. break $label0$0;
  120947. }
  120948. if (45 === _0_0) {
  120949. t1 = _this._stylesheet0$_minusExpression$0();
  120950. break $label0$0;
  120951. }
  120952. if (33 === _0_0) {
  120953. t1 = _this._stylesheet0$_importantExpression$0();
  120954. break $label0$0;
  120955. }
  120956. if (37 === _0_0) {
  120957. t2 = t1._string_scanner$_position;
  120958. t1.readChar$0();
  120959. t2 = t1.spanFrom$1(new A._SpanScannerState(t1, t2));
  120960. t2 = new A.StringExpression0(new A.Interpolation0(A.List_List$unmodifiable(["%"], type$.Object), B.List_null, t2), false);
  120961. t1 = t2;
  120962. break $label0$0;
  120963. }
  120964. if ((117 === _0_0 || 85 === _0_0) && t1.peekChar$1(1) === 43) {
  120965. t1 = _this._stylesheet0$_unicodeRange$0();
  120966. break $label0$0;
  120967. }
  120968. if (_0_0 >= 48 && _0_0 <= 57) {
  120969. t1 = _this._stylesheet0$_number$0();
  120970. break $label0$0;
  120971. }
  120972. if (!(_0_0 >= 97 && _0_0 <= 122))
  120973. t2 = _0_0 >= 65 && _0_0 <= 90 || 95 === _0_0 || 92 === _0_0 || _0_0 >= 128;
  120974. else
  120975. t2 = true;
  120976. if (t2) {
  120977. t1 = _this.identifierLike$0();
  120978. break $label0$0;
  120979. }
  120980. t1 = t1.error$1(0, _s20_);
  120981. }
  120982. return t1;
  120983. },
  120984. parentheses$0() {
  120985. var start, inside, first, expressions, list, t1, t2, _this = this,
  120986. wasInParentheses = _this._stylesheet0$_inParentheses;
  120987. _this._stylesheet0$_inParentheses = true;
  120988. try {
  120989. t1 = _this.scanner;
  120990. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  120991. t1.expectChar$1(40);
  120992. _this.whitespace$1$consumeNewlines(true);
  120993. inside = new A._SpanScannerState(t1, t1._string_scanner$_position);
  120994. if (!_this._stylesheet0$_lookingAtExpression$0()) {
  120995. t1.expectChar$1(41);
  120996. t2 = A._setArrayType([], type$.JSArray_Expression_2);
  120997. t1 = t1.spanFrom$1(start);
  120998. t2 = A.List_List$unmodifiable(t2, type$.Expression_2);
  120999. return new A.ListExpression0(t2, B.ListSeparator_undecided_null_undecided0, false, t1);
  121000. }
  121001. first = _this.expressionUntilComma$0();
  121002. if (t1.scanChar$1(58)) {
  121003. _this.whitespace$1$consumeNewlines(true);
  121004. t1 = _this._stylesheet0$_map$2(first, start);
  121005. return t1;
  121006. }
  121007. if (!t1.scanChar$1(44)) {
  121008. t1.expectChar$1(41);
  121009. t1 = t1.spanFrom$1(start);
  121010. return new A.ParenthesizedExpression0(first, t1);
  121011. }
  121012. _this.whitespace$1$consumeNewlines(true);
  121013. expressions = A._setArrayType([first], type$.JSArray_Expression_2);
  121014. for (; true;) {
  121015. if (!_this._stylesheet0$_lookingAtExpression$0())
  121016. break;
  121017. J.add$1$ax(expressions, _this.expressionUntilComma$0());
  121018. if (!t1.scanChar$1(44))
  121019. break;
  121020. _this.whitespace$1$consumeNewlines(true);
  121021. }
  121022. t2 = t1.spanFrom$1(inside);
  121023. list = new A.ListExpression0(A.List_List$unmodifiable(expressions, type$.Expression_2), B.ListSeparator_qVN0, false, t2);
  121024. t1.expectChar$1(41);
  121025. t1 = t1.spanFrom$1(start);
  121026. return new A.ParenthesizedExpression0(list, t1);
  121027. } finally {
  121028. _this._stylesheet0$_inParentheses = wasInParentheses;
  121029. }
  121030. },
  121031. _stylesheet0$_map$2(first, start) {
  121032. var t1, key, _this = this,
  121033. pairs = A._setArrayType([new A._Record_2(first, _this.expressionUntilComma$0())], type$.JSArray_Record_2_Expression_and_Expression_2);
  121034. for (t1 = _this.scanner; t1.scanChar$1(44);) {
  121035. _this.whitespace$1$consumeNewlines(true);
  121036. if (!_this._stylesheet0$_lookingAtExpression$0())
  121037. break;
  121038. key = _this.expressionUntilComma$0();
  121039. t1.expectChar$1(58);
  121040. _this.whitespace$1$consumeNewlines(true);
  121041. pairs.push(new A._Record_2(key, _this.expressionUntilComma$0()));
  121042. }
  121043. t1.expectChar$1(41);
  121044. t1 = t1.spanFrom$1(start);
  121045. return new A.MapExpression0(A.List_List$unmodifiable(pairs, type$.Record_2_Expression_and_Expression_2), t1);
  121046. },
  121047. _stylesheet0$_hashExpression$0() {
  121048. var start, t2, identifier, buffer, t3, _this = this,
  121049. t1 = _this.scanner;
  121050. if (t1.peekChar$1(1) === 123)
  121051. return _this.identifierLike$0();
  121052. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  121053. t1.expectChar$1(35);
  121054. t2 = t1.peekChar$0();
  121055. if (t2 == null)
  121056. t2 = null;
  121057. else
  121058. t2 = t2 >= 48 && t2 <= 57;
  121059. if (t2 === true)
  121060. return new A.ColorExpression0(_this._stylesheet0$_hexColorContents$1(start), t1.spanFrom$1(start));
  121061. t2 = t1._string_scanner$_position;
  121062. identifier = _this.interpolatedIdentifier$0();
  121063. if (_this._stylesheet0$_isHexColor$1(identifier)) {
  121064. t1.set$state(new A._SpanScannerState(t1, t2));
  121065. return new A.ColorExpression0(_this._stylesheet0$_hexColorContents$1(start), t1.spanFrom$1(start));
  121066. }
  121067. t2 = new A.StringBuffer("");
  121068. buffer = new A.InterpolationBuffer0(t2, A._setArrayType([], type$.JSArray_Object), A._setArrayType([], type$.JSArray_nullable_FileSpan));
  121069. t3 = A.Primitives_stringFromCharCode(35);
  121070. t2._contents += t3;
  121071. buffer.addInterpolation$1(identifier);
  121072. return new A.StringExpression0(buffer.interpolation$1(t1.spanFrom$1(start)), false);
  121073. },
  121074. _stylesheet0$_hexColorContents$1(start) {
  121075. var red, green, blue, alpha, digit4, t2, t3, t4, _this = this,
  121076. digit1 = _this._stylesheet0$_hexDigit$0(),
  121077. digit2 = _this._stylesheet0$_hexDigit$0(),
  121078. digit3 = _this._stylesheet0$_hexDigit$0(),
  121079. t1 = _this.scanner,
  121080. $self = t1.peekChar$0();
  121081. if (!($self != null && A.CharacterExtension_get_isHex0($self))) {
  121082. red = (digit1 << 4 >>> 0) + digit1;
  121083. green = (digit2 << 4 >>> 0) + digit2;
  121084. blue = (digit3 << 4 >>> 0) + digit3;
  121085. alpha = null;
  121086. } else {
  121087. digit4 = _this._stylesheet0$_hexDigit$0();
  121088. $self = t1.peekChar$0();
  121089. t2 = $self != null && A.CharacterExtension_get_isHex0($self);
  121090. t3 = digit1 << 4 >>> 0;
  121091. t4 = digit3 << 4 >>> 0;
  121092. if (!t2) {
  121093. red = t3 + digit1;
  121094. green = (digit2 << 4 >>> 0) + digit2;
  121095. blue = t4 + digit3;
  121096. alpha = ((digit4 << 4 >>> 0) + digit4) / 255;
  121097. } else {
  121098. red = t3 + digit2;
  121099. green = t4 + digit4;
  121100. blue = (_this._stylesheet0$_hexDigit$0() << 4 >>> 0) + _this._stylesheet0$_hexDigit$0();
  121101. $self = t1.peekChar$0();
  121102. alpha = $self != null && A.CharacterExtension_get_isHex0($self) ? ((_this._stylesheet0$_hexDigit$0() << 4 >>> 0) + _this._stylesheet0$_hexDigit$0()) / 255 : null;
  121103. }
  121104. }
  121105. t2 = alpha == null;
  121106. t3 = t2 ? 1 : alpha;
  121107. return A.SassColor_SassColor$rgbInternal0(red, green, blue, t3, t2 ? new A.SpanColorFormat0(t1.spanFrom$1(start)) : null);
  121108. },
  121109. _stylesheet0$_isHexColor$1(interpolation) {
  121110. var _0_2, t1,
  121111. plain = interpolation.get$asPlain();
  121112. if (typeof plain == "string") {
  121113. _0_2 = plain.length;
  121114. t1 = true;
  121115. if (3 !== _0_2)
  121116. if (4 !== _0_2)
  121117. if (6 !== _0_2)
  121118. t1 = 8 === _0_2;
  121119. } else
  121120. t1 = false;
  121121. if (t1) {
  121122. t1 = new A.CodeUnits(plain);
  121123. return t1.every$1(t1, new A.StylesheetParser__isHexColor_closure0());
  121124. } else
  121125. return false;
  121126. },
  121127. _stylesheet0$_hexDigit$0() {
  121128. var t1 = this.scanner,
  121129. t2 = t1.peekChar$0();
  121130. t2 = t2 == null ? null : A.CharacterExtension_get_isHex0(t2);
  121131. return t2 === true ? A.asHex0(t1.readChar$0()) : t1.error$1(0, "Expected hex digit.");
  121132. },
  121133. _stylesheet0$_minusExpression$0() {
  121134. var _this = this,
  121135. _0_0 = _this.scanner.peekChar$1(1);
  121136. if (A._isInt(_0_0) && _0_0 >= 48 && _0_0 <= 57 || 46 === _0_0)
  121137. return _this._stylesheet0$_number$0();
  121138. if (_this._stylesheet0$_lookingAtInterpolatedIdentifier$0())
  121139. return _this.identifierLike$0();
  121140. return _this._stylesheet0$_unaryOperation$0();
  121141. },
  121142. _stylesheet0$_importantExpression$0() {
  121143. var t1 = this.scanner,
  121144. t2 = t1._string_scanner$_position;
  121145. t1.readChar$0();
  121146. this.whitespace$1$consumeNewlines(true);
  121147. this.expectIdentifier$1("important");
  121148. t2 = t1.spanFrom$1(new A._SpanScannerState(t1, t2));
  121149. return new A.StringExpression0(new A.Interpolation0(A.List_List$unmodifiable(["!important"], type$.Object), B.List_null, t2), false);
  121150. },
  121151. _stylesheet0$_unaryOperation$0() {
  121152. var _this = this,
  121153. t1 = _this.scanner,
  121154. t2 = t1._string_scanner$_position,
  121155. operator = _this._stylesheet0$_unaryOperatorFor$1(t1.readChar$0());
  121156. if (operator == null)
  121157. t1.error$2$position(0, "Expected unary operator.", t1._string_scanner$_position - 1);
  121158. else if (_this.get$plainCss() && operator !== B.UnaryOperator_lZV0)
  121159. t1.error$3$length$position(0, "Operators aren't allowed in plain CSS.", 1, t1._string_scanner$_position - 1);
  121160. _this.whitespace$1$consumeNewlines(true);
  121161. return new A.UnaryOperationExpression0(operator, _this._stylesheet0$_singleExpression$0(), t1.spanFrom$1(new A._SpanScannerState(t1, t2)));
  121162. },
  121163. _stylesheet0$_unaryOperatorFor$1(character) {
  121164. var t1;
  121165. $label0$0: {
  121166. if (43 === character) {
  121167. t1 = B.UnaryOperator_Rbl0;
  121168. break $label0$0;
  121169. }
  121170. if (45 === character) {
  121171. t1 = B.UnaryOperator_UCP0;
  121172. break $label0$0;
  121173. }
  121174. if (47 === character) {
  121175. t1 = B.UnaryOperator_lZV0;
  121176. break $label0$0;
  121177. }
  121178. t1 = null;
  121179. break $label0$0;
  121180. }
  121181. return t1;
  121182. },
  121183. _stylesheet0$_number$0() {
  121184. var number, unit, _this = this,
  121185. t1 = _this.scanner,
  121186. t2 = t1._string_scanner$_position,
  121187. first = t1.peekChar$0(),
  121188. t3 = first !== 43;
  121189. if (!t3 || first === 45)
  121190. t1.readChar$0();
  121191. if (t1.peekChar$0() !== 46)
  121192. _this._stylesheet0$_consumeNaturalNumber$0();
  121193. _this._stylesheet0$_tryDecimal$1$allowTrailingDot(t1._string_scanner$_position !== t2 && t3 && first !== 45);
  121194. _this._stylesheet0$_tryExponent$0();
  121195. number = A.double_parse(t1.substring$1(0, t2));
  121196. if (t1.scanChar$1(37))
  121197. unit = "%";
  121198. else {
  121199. if (_this.lookingAtIdentifier$0())
  121200. t3 = t1.peekChar$0() !== 45 || t1.peekChar$1(1) !== 45;
  121201. else
  121202. t3 = false;
  121203. unit = t3 ? _this.identifier$1$unit(true) : null;
  121204. }
  121205. return new A.NumberExpression0(number, unit, t1.spanFrom$1(new A._SpanScannerState(t1, t2)));
  121206. },
  121207. _stylesheet0$_consumeNaturalNumber$0() {
  121208. var $self,
  121209. t1 = this.scanner,
  121210. t2 = t1.readChar$0();
  121211. if (!(t2 >= 48 && t2 <= 57))
  121212. t1.error$2$position(0, "Expected digit.", t1._string_scanner$_position - 1);
  121213. while (true) {
  121214. $self = t1.peekChar$0();
  121215. if (!($self != null && $self >= 48 && $self <= 57))
  121216. break;
  121217. t1.readChar$0();
  121218. }
  121219. },
  121220. _stylesheet0$_tryDecimal$1$allowTrailingDot(allowTrailingDot) {
  121221. var $self,
  121222. t1 = this.scanner;
  121223. if (t1.peekChar$0() !== 46)
  121224. return;
  121225. $self = t1.peekChar$1(1);
  121226. if (!($self != null && $self >= 48 && $self <= 57)) {
  121227. if (allowTrailingDot)
  121228. return;
  121229. t1.error$2$position(0, "Expected digit.", t1._string_scanner$_position + 1);
  121230. }
  121231. t1.readChar$0();
  121232. while (true) {
  121233. $self = t1.peekChar$0();
  121234. if (!($self != null && $self >= 48 && $self <= 57))
  121235. break;
  121236. t1.readChar$0();
  121237. }
  121238. },
  121239. _stylesheet0$_tryExponent$0() {
  121240. var next, $self,
  121241. t1 = this.scanner,
  121242. first = t1.peekChar$0();
  121243. if (first !== 101 && first !== 69)
  121244. return;
  121245. next = t1.peekChar$1(1);
  121246. if (!(next != null && next >= 48 && next <= 57) && next !== 45 && next !== 43)
  121247. return;
  121248. t1.readChar$0();
  121249. if (43 === next || 45 === next)
  121250. t1.readChar$0();
  121251. $self = t1.peekChar$0();
  121252. if (!($self != null && $self >= 48 && $self <= 57))
  121253. t1.error$1(0, "Expected digit.");
  121254. while (true) {
  121255. $self = t1.peekChar$0();
  121256. if (!($self != null && $self >= 48 && $self <= 57))
  121257. break;
  121258. t1.readChar$0();
  121259. }
  121260. },
  121261. _stylesheet0$_unicodeRange$0() {
  121262. var firstRangeLength, hasQuestionMark, t2, secondRangeLength, _this = this,
  121263. _s26_ = "Expected at most 6 digits.",
  121264. t1 = _this.scanner,
  121265. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  121266. _this.expectIdentChar$1(117);
  121267. t1.expectChar$1(43);
  121268. for (firstRangeLength = 0; _this.scanCharIf$1(new A.StylesheetParser__unicodeRange_closure1());)
  121269. ++firstRangeLength;
  121270. for (hasQuestionMark = false; t1.scanChar$1(63); hasQuestionMark = true)
  121271. ++firstRangeLength;
  121272. if (firstRangeLength === 0)
  121273. t1.error$1(0, 'Expected hex digit or "?".');
  121274. else if (firstRangeLength > 6)
  121275. _this.error$2(0, _s26_, t1.spanFrom$1(start));
  121276. else if (hasQuestionMark) {
  121277. t2 = t1.substring$1(0, start.position);
  121278. t1 = t1.spanFrom$1(start);
  121279. return new A.StringExpression0(new A.Interpolation0(A.List_List$unmodifiable([t2], type$.Object), B.List_null, t1), false);
  121280. }
  121281. if (t1.scanChar$1(45)) {
  121282. t2 = t1._string_scanner$_position;
  121283. for (secondRangeLength = 0; _this.scanCharIf$1(new A.StylesheetParser__unicodeRange_closure2());)
  121284. ++secondRangeLength;
  121285. if (secondRangeLength === 0)
  121286. t1.error$1(0, "Expected hex digit.");
  121287. else if (secondRangeLength > 6)
  121288. _this.error$2(0, _s26_, t1.spanFrom$1(new A._SpanScannerState(t1, t2)));
  121289. }
  121290. if (_this._stylesheet0$_lookingAtInterpolatedIdentifierBody$0())
  121291. t1.error$1(0, "Expected end of identifier.");
  121292. t2 = t1.substring$1(0, start.position);
  121293. t1 = t1.spanFrom$1(start);
  121294. return new A.StringExpression0(new A.Interpolation0(A.List_List$unmodifiable([t2], type$.Object), B.List_null, t1), false);
  121295. },
  121296. _stylesheet0$_variable$0() {
  121297. var _this = this,
  121298. t1 = _this.scanner,
  121299. start = new A._SpanScannerState(t1, t1._string_scanner$_position),
  121300. $name = _this.variableName$0();
  121301. if (_this.get$plainCss())
  121302. _this.error$2(0, string$.Sassx20v, t1.spanFrom$1(start));
  121303. return new A.VariableExpression0(null, $name, t1.spanFrom$1(start));
  121304. },
  121305. _stylesheet0$_selector$0() {
  121306. var t1, start, _this = this;
  121307. if (_this.get$plainCss())
  121308. _this.scanner.error$2$length(0, string$.The_pa, 1);
  121309. t1 = _this.scanner;
  121310. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  121311. t1.expectChar$1(38);
  121312. if (t1.scanChar$1(38)) {
  121313. _this.warnings.push(new A._Record_3_deprecation_message_span(null, string$.In_Sas, t1.spanFrom$1(start)));
  121314. t1.set$position(t1._string_scanner$_position - 1);
  121315. }
  121316. return new A.SelectorExpression0(t1.spanFrom$1(start));
  121317. },
  121318. interpolatedString$0() {
  121319. var t3, t4, t5, buffer, _1_0, second, t6, _0_0,
  121320. t1 = this.scanner,
  121321. t2 = t1._string_scanner$_position,
  121322. quote = t1.readChar$0();
  121323. if (quote !== 39 && quote !== 34)
  121324. t1.error$2$position(0, "Expected string.", t2);
  121325. t3 = new A.StringBuffer("");
  121326. t4 = A._setArrayType([], type$.JSArray_Object);
  121327. t5 = A._setArrayType([], type$.JSArray_nullable_FileSpan);
  121328. buffer = new A.InterpolationBuffer0(t3, t4, t5);
  121329. for (; true;) {
  121330. _1_0 = t1.peekChar$0();
  121331. if (_1_0 === quote) {
  121332. t1.readChar$0();
  121333. break;
  121334. }
  121335. if (_1_0 == null || _1_0 === 10 || _1_0 === 13 || _1_0 === 12)
  121336. t1.error$1(0, "Expected " + A.Primitives_stringFromCharCode(quote) + ".");
  121337. if (92 === _1_0) {
  121338. second = t1.peekChar$1(1);
  121339. if (second === 10 || second === 13 || second === 12) {
  121340. t1.readChar$0();
  121341. t1.readChar$0();
  121342. if (second === 13)
  121343. t1.scanChar$1(10);
  121344. } else {
  121345. t6 = A.Primitives_stringFromCharCode(A.consumeEscapedCharacter0(t1));
  121346. t3._contents += t6;
  121347. }
  121348. continue;
  121349. }
  121350. if (35 === _1_0 && t1.peekChar$1(1) === 123) {
  121351. _0_0 = this.singleInterpolation$0();
  121352. buffer._interpolation_buffer0$_flushText$0();
  121353. t4.push(_0_0._0);
  121354. t5.push(_0_0._1);
  121355. continue;
  121356. }
  121357. t6 = A.Primitives_stringFromCharCode(t1.readChar$0());
  121358. t3._contents += t6;
  121359. }
  121360. return new A.StringExpression0(buffer.interpolation$1(t1.spanFrom$1(new A._SpanScannerState(t1, t2))), true);
  121361. },
  121362. identifierLike$0() {
  121363. var invocation, expression, _0_0, t3, t4, t5, _1_0, _2_0, _2_2, _2_4, _this = this,
  121364. t1 = _this.scanner,
  121365. start = new A._SpanScannerState(t1, t1._string_scanner$_position),
  121366. identifier = _this.interpolatedIdentifier$0(),
  121367. plain = identifier.get$asPlain(),
  121368. lower = A._Cell$(),
  121369. t2 = plain != null;
  121370. if (t2) {
  121371. if (plain === "if" && t1.peekChar$0() === 40) {
  121372. invocation = _this._stylesheet0$_argumentInvocation$0();
  121373. return new A.IfExpression0(invocation, identifier.span.expand$1(0, invocation.span));
  121374. } else if (plain === "not") {
  121375. _this.whitespace$1$consumeNewlines(true);
  121376. expression = _this._stylesheet0$_singleExpression$0();
  121377. return new A.UnaryOperationExpression0(B.UnaryOperator_not_not_not0, expression, identifier.span.expand$1(0, expression.get$span(expression)));
  121378. }
  121379. lower.__late_helper$_value = plain.toLowerCase();
  121380. if (t1.peekChar$0() !== 40) {
  121381. switch (plain) {
  121382. case "false":
  121383. return new A.BooleanExpression0(false, identifier.span);
  121384. case "null":
  121385. return new A.NullExpression0(identifier.span);
  121386. case "true":
  121387. return new A.BooleanExpression0(true, identifier.span);
  121388. }
  121389. _0_0 = $.$get$colorsByName0().$index(0, lower._readLocal$0());
  121390. if (_0_0 != null) {
  121391. t1 = B.JSNumber_methods.round$0(_0_0._color0$_legacyChannel$2(B.RgbColorSpace_i0P0, "red"));
  121392. t2 = B.JSNumber_methods.round$0(_0_0._color0$_legacyChannel$2(B.RgbColorSpace_i0P0, "green"));
  121393. t3 = B.JSNumber_methods.round$0(_0_0._color0$_legacyChannel$2(B.RgbColorSpace_i0P0, "blue"));
  121394. t4 = _0_0.alphaOrNull;
  121395. if (t4 == null)
  121396. t4 = 0;
  121397. t5 = identifier.span;
  121398. return new A.ColorExpression0(A.SassColor_SassColor$rgbInternal0(t1, t2, t3, t4, new A.SpanColorFormat0(t5)), t5);
  121399. }
  121400. }
  121401. _1_0 = _this.trySpecialFunction$2(lower._readLocal$0(), start);
  121402. if (_1_0 != null)
  121403. return _1_0;
  121404. }
  121405. _2_0 = t1.peekChar$0();
  121406. _2_2 = 46 === _2_0;
  121407. if (_2_2 && t1.peekChar$1(1) === 46)
  121408. return new A.StringExpression0(identifier, false);
  121409. if (_2_2) {
  121410. t1.readChar$0();
  121411. if (t2)
  121412. return _this.namespacedExpression$2(plain, start);
  121413. _this.error$2(0, string$.Interpn, identifier.span);
  121414. }
  121415. _2_4 = 40 === _2_0;
  121416. if (_2_4 && t2) {
  121417. t2 = _this._stylesheet0$_argumentInvocation$1$allowEmptySecondArg(J.$eq$(lower._readLocal$0(), "var"));
  121418. t1 = t1.spanFrom$1(start);
  121419. return new A.FunctionExpression0(null, A.stringReplaceAllUnchecked(plain, "_", "-"), plain, t2, t1);
  121420. }
  121421. if (_2_4)
  121422. return new A.InterpolatedFunctionExpression0(identifier, _this._stylesheet0$_argumentInvocation$0(), t1.spanFrom$1(start));
  121423. return new A.StringExpression0(identifier, false);
  121424. },
  121425. namespacedExpression$2(namespace, start) {
  121426. var $name, t2, t3, _this = this,
  121427. t1 = _this.scanner;
  121428. if (t1.peekChar$0() === 36) {
  121429. $name = _this.variableName$0();
  121430. _this._stylesheet0$_assertPublic$2($name, new A.StylesheetParser_namespacedExpression_closure0(_this, start));
  121431. return new A.VariableExpression0(namespace, $name, t1.spanFrom$1(start));
  121432. }
  121433. t2 = _this._stylesheet0$_publicIdentifier$0();
  121434. t3 = _this._stylesheet0$_argumentInvocation$0();
  121435. t1 = t1.spanFrom$1(start);
  121436. return new A.FunctionExpression0(namespace, A.stringReplaceAllUnchecked(t2, "_", "-"), t2, t3, t1);
  121437. },
  121438. trySpecialFunction$2($name, start) {
  121439. var t1, buffer, t2, next, t3, _this = this,
  121440. normalized = A.unvendor0($name);
  121441. $label0$0: {
  121442. if (!("calc" === normalized && normalized !== $name && _this.scanner.scanChar$1(40)))
  121443. t1 = ("element" === normalized || "expression" === normalized) && _this.scanner.scanChar$1(40);
  121444. else
  121445. t1 = true;
  121446. if (t1) {
  121447. t1 = new A.StringBuffer("");
  121448. buffer = new A.InterpolationBuffer0(t1, A._setArrayType([], type$.JSArray_Object), A._setArrayType([], type$.JSArray_nullable_FileSpan));
  121449. t1._contents = "" + $name;
  121450. t2 = A.Primitives_stringFromCharCode(40);
  121451. t1._contents += t2;
  121452. break $label0$0;
  121453. }
  121454. if ("progid" === normalized && _this.scanner.scanChar$1(58)) {
  121455. t1 = new A.StringBuffer("");
  121456. buffer = new A.InterpolationBuffer0(t1, A._setArrayType([], type$.JSArray_Object), A._setArrayType([], type$.JSArray_nullable_FileSpan));
  121457. t1._contents = "" + $name;
  121458. t2 = A.Primitives_stringFromCharCode(58);
  121459. t1._contents += t2;
  121460. t2 = _this.scanner;
  121461. next = t2.peekChar$0();
  121462. while (true) {
  121463. if (next != null) {
  121464. if (!(next >= 97 && next <= 122))
  121465. t3 = next >= 65 && next <= 90;
  121466. else
  121467. t3 = true;
  121468. t3 = t3 || next === 46;
  121469. } else
  121470. t3 = false;
  121471. if (!t3)
  121472. break;
  121473. t3 = A.Primitives_stringFromCharCode(t2.readChar$0());
  121474. t1._contents += t3;
  121475. next = t2.peekChar$0();
  121476. }
  121477. t2.expectChar$1(40);
  121478. t2 = A.Primitives_stringFromCharCode(40);
  121479. t1._contents += t2;
  121480. break $label0$0;
  121481. }
  121482. if ("url" === normalized)
  121483. return A.NullableExtension_andThen0(_this._stylesheet0$_tryUrlContents$1(start), new A.StylesheetParser_trySpecialFunction_closure0());
  121484. return null;
  121485. }
  121486. buffer.addInterpolation$1(_this._stylesheet0$_interpolatedDeclarationValue$1$allowEmpty(true));
  121487. t1 = _this.scanner;
  121488. t1.expectChar$1(41);
  121489. t2 = buffer._interpolation_buffer0$_text;
  121490. t3 = A.Primitives_stringFromCharCode(41);
  121491. t2._contents += t3;
  121492. return new A.StringExpression0(buffer.interpolation$1(t1.spanFrom$1(start)), false);
  121493. },
  121494. _stylesheet0$_tryUrlContents$2$name(start, $name) {
  121495. var t3, t4, t5, buffer, t6, _1_0, _1_6, _0_0, endPosition, _this = this,
  121496. t1 = _this.scanner,
  121497. t2 = t1._string_scanner$_position;
  121498. if (!t1.scanChar$1(40))
  121499. return null;
  121500. _this.whitespaceWithoutComments$1$consumeNewlines(true);
  121501. t3 = new A.StringBuffer("");
  121502. t4 = A._setArrayType([], type$.JSArray_Object);
  121503. t5 = A._setArrayType([], type$.JSArray_nullable_FileSpan);
  121504. buffer = new A.InterpolationBuffer0(t3, t4, t5);
  121505. t3._contents = "" + ($name == null ? "url" : $name);
  121506. t6 = A.Primitives_stringFromCharCode(40);
  121507. t3._contents += t6;
  121508. for (; true;) {
  121509. _1_0 = t1.peekChar$0();
  121510. if (_1_0 == null)
  121511. break;
  121512. if (92 === _1_0) {
  121513. t6 = _this.escape$0();
  121514. t3._contents += t6;
  121515. continue;
  121516. }
  121517. _1_6 = 35 === _1_0;
  121518. if (_1_6 && t1.peekChar$1(1) === 123) {
  121519. _0_0 = _this.singleInterpolation$0();
  121520. buffer._interpolation_buffer0$_flushText$0();
  121521. t4.push(_0_0._0);
  121522. t5.push(_0_0._1);
  121523. continue;
  121524. }
  121525. t6 = true;
  121526. if (33 !== _1_0)
  121527. if (37 !== _1_0)
  121528. if (38 !== _1_0)
  121529. if (!_1_6)
  121530. t6 = _1_0 >= 42 && _1_0 <= 126 || _1_0 >= 128;
  121531. if (t6) {
  121532. t6 = A.Primitives_stringFromCharCode(t1.readChar$0());
  121533. t3._contents += t6;
  121534. continue;
  121535. }
  121536. if (_1_0 === 32 || _1_0 === 9 || _1_0 === 10 || _1_0 === 13 || _1_0 === 12) {
  121537. _this.whitespaceWithoutComments$1$consumeNewlines(true);
  121538. if (t1.peekChar$0() !== 41)
  121539. break;
  121540. continue;
  121541. }
  121542. if (41 === _1_0) {
  121543. t2 = A.Primitives_stringFromCharCode(t1.readChar$0());
  121544. t3._contents += t2;
  121545. endPosition = t1._string_scanner$_position;
  121546. t2 = t1._sourceFile;
  121547. t3 = start.position;
  121548. t1 = new A._FileSpan(t2, t3, endPosition);
  121549. t1._FileSpan$3(t2, t3, endPosition);
  121550. return buffer.interpolation$1(t1);
  121551. }
  121552. break;
  121553. }
  121554. t1.set$state(new A._SpanScannerState(t1, t2));
  121555. return null;
  121556. },
  121557. _stylesheet0$_tryUrlContents$1(start) {
  121558. return this._stylesheet0$_tryUrlContents$2$name(start, null);
  121559. },
  121560. dynamicUrl$0() {
  121561. var _0_0, t2, _this = this,
  121562. t1 = _this.scanner,
  121563. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  121564. _this.expectIdentifier$1("url");
  121565. _0_0 = _this._stylesheet0$_tryUrlContents$1(start);
  121566. if (_0_0 != null)
  121567. return new A.StringExpression0(_0_0, false);
  121568. t2 = t1.spanFrom$1(start);
  121569. return new A.InterpolatedFunctionExpression0(new A.Interpolation0(A.List_List$unmodifiable(["url"], type$.Object), B.List_null, t2), _this._stylesheet0$_argumentInvocation$0(), t1.spanFrom$1(start));
  121570. },
  121571. almostAnyValue$1$omitComments(omitComments) {
  121572. var t4, t5, t6, t7, _2_0, t8, _0_0, _0_2, start, end, _0_4, identifier, _1_0, bracket, char, _this = this,
  121573. t1 = _this.scanner,
  121574. t2 = t1._string_scanner$_position,
  121575. t3 = new A.StringBuffer(""),
  121576. buffer = new A.InterpolationBuffer0(t3, A._setArrayType([], type$.JSArray_Object), A._setArrayType([], type$.JSArray_nullable_FileSpan)),
  121577. brackets = A._setArrayType([], type$.JSArray_int);
  121578. for (t4 = t1.string, t5 = t4.length, t6 = !omitComments, t7 = _this.get$loudComment(); true;)
  121579. $label0$0: {
  121580. _2_0 = t1.peekChar$0();
  121581. if (92 === _2_0) {
  121582. t8 = A.Primitives_stringFromCharCode(t1.readChar$0());
  121583. t3._contents += t8;
  121584. t8 = A.Primitives_stringFromCharCode(t1.readChar$0());
  121585. t3._contents += t8;
  121586. break $label0$0;
  121587. }
  121588. if (34 === _2_0 || 39 === _2_0) {
  121589. buffer.addInterpolation$1(_this.interpolatedString$0().asInterpolation$0());
  121590. break $label0$0;
  121591. }
  121592. if (47 === _2_0) {
  121593. $label1$1: {
  121594. _0_0 = t1.peekChar$1(1);
  121595. _0_2 = 42 === _0_0;
  121596. if (_0_2 && t6) {
  121597. start = t1._string_scanner$_position;
  121598. t7.call$0();
  121599. end = t1._string_scanner$_position;
  121600. t3._contents += B.JSString_methods.substring$2(t4, start, end);
  121601. break $label1$1;
  121602. }
  121603. if (_0_2) {
  121604. _this.loudComment$0();
  121605. break $label1$1;
  121606. }
  121607. _0_4 = 47 === _0_0;
  121608. if (_0_4 && t6) {
  121609. t8 = _this.get$silentComment();
  121610. start = t1._string_scanner$_position;
  121611. t8.call$0();
  121612. end = t1._string_scanner$_position;
  121613. t3._contents += B.JSString_methods.substring$2(t4, start, end);
  121614. break $label1$1;
  121615. }
  121616. if (_0_4) {
  121617. _this.silentComment$0();
  121618. break $label1$1;
  121619. }
  121620. t8 = A.Primitives_stringFromCharCode(t1.readChar$0());
  121621. t3._contents += t8;
  121622. }
  121623. break $label0$0;
  121624. }
  121625. if (35 === _2_0 && t1.peekChar$1(1) === 123) {
  121626. buffer.addInterpolation$1(_this.interpolatedIdentifier$0());
  121627. break $label0$0;
  121628. }
  121629. if (13 === _2_0 || 10 === _2_0 || 12 === _2_0) {
  121630. if (_this.get$indented() && brackets.length === 0)
  121631. break;
  121632. t8 = A.Primitives_stringFromCharCode(t1.readChar$0());
  121633. t3._contents += t8;
  121634. break $label0$0;
  121635. }
  121636. if (33 === _2_0 || 59 === _2_0 || 123 === _2_0 || 125 === _2_0)
  121637. break;
  121638. if (117 === _2_0 || 85 === _2_0) {
  121639. t8 = t1._string_scanner$_position;
  121640. identifier = _this.identifier$0();
  121641. if (identifier !== "url" && identifier !== "url-prefix") {
  121642. t3._contents += identifier;
  121643. continue;
  121644. }
  121645. _1_0 = _this._stylesheet0$_tryUrlContents$2$name(new A._SpanScannerState(t1, t8), identifier);
  121646. if (_1_0 != null)
  121647. buffer.addInterpolation$1(_1_0);
  121648. else {
  121649. if ((t8 === 0 ? 1 / t8 < 0 : t8 < 0) || t8 > t5)
  121650. A.throwExpression(A.ArgumentError$("Invalid position " + t8, null));
  121651. t1._string_scanner$_position = t8;
  121652. t1._lastMatch = null;
  121653. t8 = A.Primitives_stringFromCharCode(t1.readChar$0());
  121654. t3._contents += t8;
  121655. }
  121656. break $label0$0;
  121657. }
  121658. if (40 === _2_0 || 91 === _2_0) {
  121659. bracket = t1.readChar$0();
  121660. t8 = A.Primitives_stringFromCharCode(bracket);
  121661. t3._contents += t8;
  121662. brackets.push(A.opposite0(bracket));
  121663. break $label0$0;
  121664. }
  121665. if (41 === _2_0 || 93 === _2_0) {
  121666. t8 = _2_0 != null;
  121667. char = t8 ? _2_0 : null;
  121668. } else {
  121669. char = null;
  121670. t8 = false;
  121671. }
  121672. if (t8) {
  121673. if (brackets.length === 0)
  121674. t1.error$1(0, 'Unexpected "' + A.Primitives_stringFromCharCode(char) + '".');
  121675. bracket = brackets.pop();
  121676. t1.expectChar$1(bracket);
  121677. t8 = A.Primitives_stringFromCharCode(bracket);
  121678. t3._contents += t8;
  121679. break $label0$0;
  121680. }
  121681. if (_2_0 == null)
  121682. break;
  121683. t8 = _this.lookingAtIdentifier$0();
  121684. if (t8) {
  121685. t8 = _this.identifier$0();
  121686. t3._contents += t8;
  121687. break $label0$0;
  121688. }
  121689. t8 = A.Primitives_stringFromCharCode(t1.readChar$0());
  121690. t3._contents += t8;
  121691. }
  121692. return buffer.interpolation$1(t1.spanFrom$1(new A._SpanScannerState(t1, t2)));
  121693. },
  121694. almostAnyValue$0() {
  121695. return this.almostAnyValue$1$omitComments(false);
  121696. },
  121697. _stylesheet0$_interpolatedDeclarationValue$6$allowColon$allowEmpty$allowOpenBrace$allowSemicolon$consumeNewlines$silentComments(allowColon, allowEmpty, allowOpenBrace, allowSemicolon, consumeNewlines, silentComments) {
  121698. var t4, t5, t6, t7, t8, t9, t10, wroteNewline, _2_0, wroteNewline0, t11, _0_0, start, end, _2_14_isSet, _2_14, t12, _2_18_isSet, _2_20, _2_18, _2_20_isSet, _2_22, bracket, identifier, _1_0, _this = this, _null = null,
  121699. t1 = _this.scanner,
  121700. t2 = t1._string_scanner$_position,
  121701. t3 = new A.StringBuffer(""),
  121702. buffer = new A.InterpolationBuffer0(t3, A._setArrayType([], type$.JSArray_Object), A._setArrayType([], type$.JSArray_nullable_FileSpan)),
  121703. brackets = A._setArrayType([], type$.JSArray_int);
  121704. for (t4 = !consumeNewlines, t5 = !allowOpenBrace, t6 = t1.string, t7 = t6.length, t8 = !allowColon, t9 = !allowSemicolon, t10 = _this.get$loudComment(), wroteNewline = false; true;)
  121705. $label0$0: {
  121706. _2_0 = t1.peekChar$0();
  121707. wroteNewline0 = false;
  121708. if (92 === _2_0) {
  121709. t11 = _this.escape$1$identifierStart(true);
  121710. t3._contents += t11;
  121711. wroteNewline = wroteNewline0;
  121712. break $label0$0;
  121713. }
  121714. if (34 === _2_0 || 39 === _2_0) {
  121715. buffer.addInterpolation$1(_this.interpolatedString$0().asInterpolation$0());
  121716. wroteNewline = wroteNewline0;
  121717. break $label0$0;
  121718. }
  121719. if (47 === _2_0) {
  121720. $label1$1: {
  121721. _0_0 = t1.peekChar$1(1);
  121722. if (42 === _0_0) {
  121723. start = t1._string_scanner$_position;
  121724. t10.call$0();
  121725. end = t1._string_scanner$_position;
  121726. t3._contents += B.JSString_methods.substring$2(t6, start, end);
  121727. break $label1$1;
  121728. }
  121729. if (47 === _0_0 && silentComments) {
  121730. _this.silentComment$0();
  121731. break $label1$1;
  121732. }
  121733. t11 = A.Primitives_stringFromCharCode(t1.readChar$0());
  121734. t3._contents += t11;
  121735. }
  121736. wroteNewline = wroteNewline0;
  121737. break $label0$0;
  121738. }
  121739. if (35 === _2_0 && t1.peekChar$1(1) === 123) {
  121740. buffer.addInterpolation$1(_this.interpolatedIdentifier$0());
  121741. wroteNewline = wroteNewline0;
  121742. break $label0$0;
  121743. }
  121744. _2_14_isSet = 32 !== _2_0;
  121745. if (_2_14_isSet) {
  121746. _2_14 = 9 === _2_0;
  121747. t11 = _2_14;
  121748. } else {
  121749. _2_14 = _null;
  121750. t11 = true;
  121751. }
  121752. t12 = false;
  121753. if (t11)
  121754. if (!wroteNewline) {
  121755. t11 = t1.peekChar$1(1);
  121756. t11 = t11 === 32 || t11 === 9 || t11 === 10 || t11 === 13 || t11 === 12;
  121757. } else
  121758. t11 = t12;
  121759. else
  121760. t11 = t12;
  121761. if (t11) {
  121762. t1.readChar$0();
  121763. break $label0$0;
  121764. }
  121765. if (_2_14_isSet)
  121766. t11 = _2_14;
  121767. else
  121768. t11 = true;
  121769. if (t11) {
  121770. t11 = A.Primitives_stringFromCharCode(t1.readChar$0());
  121771. t3._contents += t11;
  121772. break $label0$0;
  121773. }
  121774. _2_18_isSet = 10 !== _2_0;
  121775. _2_20 = _null;
  121776. t11 = true;
  121777. if (_2_18_isSet) {
  121778. _2_18 = 13 === _2_0;
  121779. _2_20_isSet = !_2_18;
  121780. if (_2_20_isSet) {
  121781. _2_20 = 12 === _2_0;
  121782. t11 = _2_20;
  121783. }
  121784. } else {
  121785. _2_18 = _null;
  121786. _2_20_isSet = false;
  121787. }
  121788. if (t11 && _this.get$indented() && t4 && brackets.length === 0)
  121789. break;
  121790. t11 = true;
  121791. if (_2_18_isSet)
  121792. if (!_2_18)
  121793. t11 = _2_20_isSet ? _2_20 : 12 === _2_0;
  121794. if (t11) {
  121795. t11 = t1.peekChar$1(-1);
  121796. if (!(t11 === 10 || t11 === 13 || t11 === 12))
  121797. t3._contents += "\n";
  121798. t1.readChar$0();
  121799. wroteNewline = true;
  121800. break $label0$0;
  121801. }
  121802. _2_22 = 123 === _2_0;
  121803. if (_2_22 && t5)
  121804. break;
  121805. if (40 !== _2_0)
  121806. t11 = _2_22 || 91 === _2_0;
  121807. else
  121808. t11 = true;
  121809. if (t11) {
  121810. bracket = t1.readChar$0();
  121811. t11 = A.Primitives_stringFromCharCode(bracket);
  121812. t3._contents += t11;
  121813. brackets.push(A.opposite0(bracket));
  121814. wroteNewline = wroteNewline0;
  121815. break $label0$0;
  121816. }
  121817. if (41 === _2_0 || 125 === _2_0 || 93 === _2_0) {
  121818. if (brackets.length === 0)
  121819. break;
  121820. bracket = brackets.pop();
  121821. t1.expectChar$1(bracket);
  121822. t11 = A.Primitives_stringFromCharCode(bracket);
  121823. t3._contents += t11;
  121824. wroteNewline = wroteNewline0;
  121825. break $label0$0;
  121826. }
  121827. if (59 === _2_0) {
  121828. if (t9 && brackets.length === 0)
  121829. break;
  121830. t11 = A.Primitives_stringFromCharCode(t1.readChar$0());
  121831. t3._contents += t11;
  121832. wroteNewline = wroteNewline0;
  121833. break $label0$0;
  121834. }
  121835. if (58 === _2_0) {
  121836. if (t8 && brackets.length === 0)
  121837. break;
  121838. t11 = A.Primitives_stringFromCharCode(t1.readChar$0());
  121839. t3._contents += t11;
  121840. wroteNewline = wroteNewline0;
  121841. break $label0$0;
  121842. }
  121843. if (117 === _2_0 || 85 === _2_0) {
  121844. t11 = t1._string_scanner$_position;
  121845. identifier = _this.identifier$0();
  121846. if (identifier !== "url" && identifier !== "url-prefix") {
  121847. t3._contents += identifier;
  121848. wroteNewline = wroteNewline0;
  121849. continue;
  121850. }
  121851. _1_0 = _this._stylesheet0$_tryUrlContents$2$name(new A._SpanScannerState(t1, t11), identifier);
  121852. if (_1_0 != null)
  121853. buffer.addInterpolation$1(_1_0);
  121854. else {
  121855. if ((t11 === 0 ? 1 / t11 < 0 : t11 < 0) || t11 > t7)
  121856. A.throwExpression(A.ArgumentError$("Invalid position " + t11, _null));
  121857. t1._string_scanner$_position = t11;
  121858. t1._lastMatch = null;
  121859. t11 = A.Primitives_stringFromCharCode(t1.readChar$0());
  121860. t3._contents += t11;
  121861. }
  121862. wroteNewline = wroteNewline0;
  121863. break $label0$0;
  121864. }
  121865. if (_2_0 == null)
  121866. break;
  121867. t11 = _this.lookingAtIdentifier$0();
  121868. if (t11) {
  121869. t11 = _this.identifier$0();
  121870. t3._contents += t11;
  121871. wroteNewline = wroteNewline0;
  121872. break $label0$0;
  121873. }
  121874. t11 = A.Primitives_stringFromCharCode(t1.readChar$0());
  121875. t3._contents += t11;
  121876. wroteNewline = wroteNewline0;
  121877. }
  121878. if (brackets.length !== 0)
  121879. t1.expectChar$1(B.JSArray_methods.get$last(brackets));
  121880. if (!allowEmpty && buffer._interpolation_buffer0$_contents.length === 0 && t3._contents.length === 0)
  121881. t1.error$1(0, "Expected token.");
  121882. return buffer.interpolation$1(t1.spanFrom$1(new A._SpanScannerState(t1, t2)));
  121883. },
  121884. _stylesheet0$_interpolatedDeclarationValue$1$allowEmpty(allowEmpty) {
  121885. return this._stylesheet0$_interpolatedDeclarationValue$6$allowColon$allowEmpty$allowOpenBrace$allowSemicolon$consumeNewlines$silentComments(true, allowEmpty, true, false, false, true);
  121886. },
  121887. _stylesheet0$_interpolatedDeclarationValue$1$allowOpenBrace(allowOpenBrace) {
  121888. return this._stylesheet0$_interpolatedDeclarationValue$6$allowColon$allowEmpty$allowOpenBrace$allowSemicolon$consumeNewlines$silentComments(true, false, allowOpenBrace, false, false, true);
  121889. },
  121890. _stylesheet0$_interpolatedDeclarationValue$3$allowEmpty$allowSemicolon$consumeNewlines(allowEmpty, allowSemicolon, consumeNewlines) {
  121891. return this._stylesheet0$_interpolatedDeclarationValue$6$allowColon$allowEmpty$allowOpenBrace$allowSemicolon$consumeNewlines$silentComments(true, allowEmpty, true, allowSemicolon, consumeNewlines, true);
  121892. },
  121893. _stylesheet0$_interpolatedDeclarationValue$4$allowColon$allowEmpty$allowSemicolon$consumeNewlines(allowColon, allowEmpty, allowSemicolon, consumeNewlines) {
  121894. return this._stylesheet0$_interpolatedDeclarationValue$6$allowColon$allowEmpty$allowOpenBrace$allowSemicolon$consumeNewlines$silentComments(allowColon, allowEmpty, true, allowSemicolon, consumeNewlines, true);
  121895. },
  121896. _stylesheet0$_interpolatedDeclarationValue$0() {
  121897. return this._stylesheet0$_interpolatedDeclarationValue$6$allowColon$allowEmpty$allowOpenBrace$allowSemicolon$consumeNewlines$silentComments(true, false, true, false, false, true);
  121898. },
  121899. _stylesheet0$_interpolatedDeclarationValue$2$allowEmpty$allowOpenBrace(allowEmpty, allowOpenBrace) {
  121900. return this._stylesheet0$_interpolatedDeclarationValue$6$allowColon$allowEmpty$allowOpenBrace$allowSemicolon$consumeNewlines$silentComments(true, allowEmpty, allowOpenBrace, false, false, true);
  121901. },
  121902. _stylesheet0$_interpolatedDeclarationValue$1$silentComments(silentComments) {
  121903. return this._stylesheet0$_interpolatedDeclarationValue$6$allowColon$allowEmpty$allowOpenBrace$allowSemicolon$consumeNewlines$silentComments(true, false, true, false, false, silentComments);
  121904. },
  121905. interpolatedIdentifier$0() {
  121906. var t3, _1_0, _0_0, _this = this,
  121907. _s20_ = "Expected identifier.",
  121908. t1 = _this.scanner,
  121909. start = new A._SpanScannerState(t1, t1._string_scanner$_position),
  121910. t2 = new A.StringBuffer(""),
  121911. buffer = new A.InterpolationBuffer0(t2, A._setArrayType([], type$.JSArray_Object), A._setArrayType([], type$.JSArray_nullable_FileSpan));
  121912. if (t1.scanChar$1(45)) {
  121913. t3 = A.Primitives_stringFromCharCode(45);
  121914. t2._contents += t3;
  121915. if (t1.scanChar$1(45)) {
  121916. t3 = A.Primitives_stringFromCharCode(45);
  121917. t2._contents += t3;
  121918. _this._stylesheet0$_interpolatedIdentifierBody$1(buffer);
  121919. return buffer.interpolation$1(t1.spanFrom$1(start));
  121920. }
  121921. }
  121922. $label0$0: {
  121923. _1_0 = t1.peekChar$0();
  121924. if (_1_0 == null)
  121925. t1.error$1(0, _s20_);
  121926. if (_1_0 === 95 || A.CharacterExtension_get_isAlphabetic0(_1_0) || _1_0 >= 128) {
  121927. t3 = A.Primitives_stringFromCharCode(t1.readChar$0());
  121928. t2._contents += t3;
  121929. break $label0$0;
  121930. }
  121931. if (92 === _1_0) {
  121932. t3 = _this.escape$1$identifierStart(true);
  121933. t2._contents += t3;
  121934. break $label0$0;
  121935. }
  121936. if (35 === _1_0 && t1.peekChar$1(1) === 123) {
  121937. _0_0 = _this.singleInterpolation$0();
  121938. buffer.add$2(0, _0_0._0, _0_0._1);
  121939. break $label0$0;
  121940. }
  121941. t1.error$1(0, _s20_);
  121942. }
  121943. _this._stylesheet0$_interpolatedIdentifierBody$1(buffer);
  121944. return buffer.interpolation$1(t1.spanFrom$1(start));
  121945. },
  121946. _stylesheet0$_interpolatedIdentifierBody$1(buffer) {
  121947. var t1, t2, t3, t4, _1_0, t5, _0_0;
  121948. for (t1 = buffer._interpolation_buffer0$_contents, t2 = buffer._interpolation_buffer0$_spans, t3 = this.scanner, t4 = buffer._interpolation_buffer0$_text; true;) {
  121949. _1_0 = t3.peekChar$0();
  121950. if (_1_0 == null)
  121951. break;
  121952. t5 = true;
  121953. if (95 !== _1_0)
  121954. if (45 !== _1_0) {
  121955. if (!(_1_0 >= 97 && _1_0 <= 122))
  121956. t5 = _1_0 >= 65 && _1_0 <= 90;
  121957. else
  121958. t5 = true;
  121959. if (!t5)
  121960. t5 = _1_0 >= 48 && _1_0 <= 57;
  121961. else
  121962. t5 = true;
  121963. t5 = t5 || _1_0 >= 128;
  121964. }
  121965. if (t5) {
  121966. t5 = A.Primitives_stringFromCharCode(t3.readChar$0());
  121967. t4._contents += t5;
  121968. continue;
  121969. }
  121970. if (92 === _1_0) {
  121971. t5 = this.escape$0();
  121972. t4._contents += t5;
  121973. continue;
  121974. }
  121975. if (35 === _1_0 && t3.peekChar$1(1) === 123) {
  121976. _0_0 = this.singleInterpolation$0();
  121977. buffer._interpolation_buffer0$_flushText$0();
  121978. t1.push(_0_0._0);
  121979. t2.push(_0_0._1);
  121980. continue;
  121981. }
  121982. break;
  121983. }
  121984. },
  121985. singleInterpolation$0() {
  121986. var contents, span, _this = this,
  121987. t1 = _this.scanner,
  121988. t2 = t1._string_scanner$_position;
  121989. t1.expect$1("#{");
  121990. _this.whitespace$1$consumeNewlines(true);
  121991. contents = _this._stylesheet0$_expression$1$consumeNewlines(true);
  121992. t1.expectChar$1(125);
  121993. span = t1.spanFrom$1(new A._SpanScannerState(t1, t2));
  121994. if (_this.get$plainCss())
  121995. _this.error$2(0, string$.Interpp, span);
  121996. return new A._Record_2(contents, span);
  121997. },
  121998. _stylesheet0$_mediaQueryList$0() {
  121999. var t4, _this = this,
  122000. t1 = _this.scanner,
  122001. t2 = t1._string_scanner$_position,
  122002. t3 = new A.StringBuffer(""),
  122003. buffer = new A.InterpolationBuffer0(t3, A._setArrayType([], type$.JSArray_Object), A._setArrayType([], type$.JSArray_nullable_FileSpan));
  122004. for (; true;) {
  122005. _this.whitespace$1$consumeNewlines(false);
  122006. _this._stylesheet0$_mediaQuery$1(buffer);
  122007. _this.whitespace$1$consumeNewlines(false);
  122008. if (!t1.scanChar$1(44))
  122009. break;
  122010. t4 = A.Primitives_stringFromCharCode(44);
  122011. t3._contents += t4;
  122012. t4 = A.Primitives_stringFromCharCode(32);
  122013. t3._contents += t4;
  122014. }
  122015. return buffer.interpolation$1(t1.spanFrom$1(new A._SpanScannerState(t1, t2)));
  122016. },
  122017. _stylesheet0$_mediaQuery$1(buffer) {
  122018. var identifier1, t1, t2, identifier2, _this = this, _s3_ = "and";
  122019. if (_this.scanner.peekChar$0() === 40) {
  122020. _this._stylesheet0$_mediaInParens$1(buffer);
  122021. _this.whitespace$1$consumeNewlines(false);
  122022. if (_this.scanIdentifier$1(_s3_)) {
  122023. buffer._interpolation_buffer0$_text._contents += " and ";
  122024. _this.expectWhitespace$0();
  122025. _this._stylesheet0$_mediaLogicSequence$2(buffer, _s3_);
  122026. } else if (_this.scanIdentifier$1("or")) {
  122027. buffer._interpolation_buffer0$_text._contents += " or ";
  122028. _this.expectWhitespace$0();
  122029. _this._stylesheet0$_mediaLogicSequence$2(buffer, "or");
  122030. }
  122031. return;
  122032. }
  122033. identifier1 = _this.interpolatedIdentifier$0();
  122034. if (A.equalsIgnoreCase0(identifier1.get$asPlain(), "not")) {
  122035. _this.expectWhitespace$0();
  122036. if (!_this._stylesheet0$_lookingAtInterpolatedIdentifier$0()) {
  122037. buffer._interpolation_buffer0$_text._contents += "not ";
  122038. _this._stylesheet0$_mediaOrInterp$1(buffer);
  122039. return;
  122040. }
  122041. }
  122042. _this.whitespace$1$consumeNewlines(false);
  122043. buffer.addInterpolation$1(identifier1);
  122044. if (!_this._stylesheet0$_lookingAtInterpolatedIdentifier$0())
  122045. return;
  122046. t1 = buffer._interpolation_buffer0$_text;
  122047. t2 = A.Primitives_stringFromCharCode(32);
  122048. t1._contents += t2;
  122049. identifier2 = _this.interpolatedIdentifier$0();
  122050. if (A.equalsIgnoreCase0(identifier2.get$asPlain(), _s3_)) {
  122051. _this.expectWhitespace$0();
  122052. t1._contents += " and ";
  122053. } else {
  122054. _this.whitespace$1$consumeNewlines(false);
  122055. buffer.addInterpolation$1(identifier2);
  122056. if (_this.scanIdentifier$1(_s3_)) {
  122057. _this.expectWhitespace$0();
  122058. t1._contents += " and ";
  122059. } else
  122060. return;
  122061. }
  122062. if (_this.scanIdentifier$1("not")) {
  122063. _this.expectWhitespace$0();
  122064. t1._contents += "not ";
  122065. _this._stylesheet0$_mediaOrInterp$1(buffer);
  122066. return;
  122067. }
  122068. _this._stylesheet0$_mediaLogicSequence$2(buffer, _s3_);
  122069. return;
  122070. },
  122071. _stylesheet0$_mediaLogicSequence$2(buffer, operator) {
  122072. var t1, t2, _this = this;
  122073. for (t1 = buffer._interpolation_buffer0$_text; true;) {
  122074. _this._stylesheet0$_mediaOrInterp$1(buffer);
  122075. _this.whitespace$1$consumeNewlines(false);
  122076. if (!_this.scanIdentifier$1(operator))
  122077. return;
  122078. _this.expectWhitespace$1$consumeNewlines(false);
  122079. t2 = A.Primitives_stringFromCharCode(32);
  122080. t1._contents = (t1._contents += t2) + operator;
  122081. t2 = A.Primitives_stringFromCharCode(32);
  122082. t1._contents += t2;
  122083. }
  122084. },
  122085. _stylesheet0$_mediaOrInterp$1(buffer) {
  122086. var _0_0;
  122087. if (this.scanner.peekChar$0() === 35) {
  122088. _0_0 = this.singleInterpolation$0();
  122089. buffer.add$2(0, _0_0._0, _0_0._1);
  122090. } else
  122091. this._stylesheet0$_mediaInParens$1(buffer);
  122092. },
  122093. _stylesheet0$_mediaInParens$1(buffer) {
  122094. var t2, t3, expressionBefore, expressionAfter, next, t4, expressionMiddle, _this = this,
  122095. t1 = _this.scanner;
  122096. t1.expectChar$2$name(40, "media condition in parentheses");
  122097. t2 = buffer._interpolation_buffer0$_text;
  122098. t3 = A.Primitives_stringFromCharCode(40);
  122099. t2._contents += t3;
  122100. _this.whitespace$1$consumeNewlines(true);
  122101. if (t1.peekChar$0() === 40) {
  122102. _this._stylesheet0$_mediaInParens$1(buffer);
  122103. _this.whitespace$1$consumeNewlines(true);
  122104. if (_this.scanIdentifier$1("and")) {
  122105. t2._contents += " and ";
  122106. _this.expectWhitespace$1$consumeNewlines(true);
  122107. _this._stylesheet0$_mediaLogicSequence$2(buffer, "and");
  122108. } else if (_this.scanIdentifier$1("or")) {
  122109. t2._contents += " or ";
  122110. _this.expectWhitespace$1$consumeNewlines(true);
  122111. _this._stylesheet0$_mediaLogicSequence$2(buffer, "or");
  122112. }
  122113. } else if (_this.scanIdentifier$1("not")) {
  122114. t2._contents += "not ";
  122115. _this.expectWhitespace$1$consumeNewlines(true);
  122116. _this._stylesheet0$_mediaOrInterp$1(buffer);
  122117. } else {
  122118. expressionBefore = _this._stylesheet0$_expressionUntilComparison$0();
  122119. buffer.add$2(0, expressionBefore, expressionBefore.get$span(expressionBefore));
  122120. if (t1.scanChar$1(58)) {
  122121. _this.whitespace$1$consumeNewlines(true);
  122122. t3 = A.Primitives_stringFromCharCode(58);
  122123. t2._contents += t3;
  122124. t3 = A.Primitives_stringFromCharCode(32);
  122125. t2._contents += t3;
  122126. expressionAfter = _this._stylesheet0$_expression$1$consumeNewlines(true);
  122127. buffer.add$2(0, expressionAfter, expressionAfter.get$span(expressionAfter));
  122128. } else {
  122129. next = t1.peekChar$0();
  122130. t3 = 60 !== next;
  122131. if (!t3 || 62 === next || 61 === next) {
  122132. t4 = A.Primitives_stringFromCharCode(32);
  122133. t2._contents += t4;
  122134. t4 = A.Primitives_stringFromCharCode(t1.readChar$0());
  122135. t2._contents += t4;
  122136. if ((!t3 || 62 === next) && t1.scanChar$1(61)) {
  122137. t4 = A.Primitives_stringFromCharCode(61);
  122138. t2._contents += t4;
  122139. }
  122140. t4 = A.Primitives_stringFromCharCode(32);
  122141. t2._contents += t4;
  122142. _this.whitespace$1$consumeNewlines(true);
  122143. expressionMiddle = _this._stylesheet0$_expressionUntilComparison$0();
  122144. buffer.add$2(0, expressionMiddle, expressionMiddle.get$span(expressionMiddle));
  122145. if (!t3 || 62 === next) {
  122146. next.toString;
  122147. t3 = t1.scanChar$1(next);
  122148. } else
  122149. t3 = false;
  122150. if (t3) {
  122151. t3 = A.Primitives_stringFromCharCode(32);
  122152. t2._contents += t3;
  122153. t3 = A.Primitives_stringFromCharCode(next);
  122154. t2._contents += t3;
  122155. if (t1.scanChar$1(61)) {
  122156. t3 = A.Primitives_stringFromCharCode(61);
  122157. t2._contents += t3;
  122158. }
  122159. t3 = A.Primitives_stringFromCharCode(32);
  122160. t2._contents += t3;
  122161. _this.whitespace$1$consumeNewlines(true);
  122162. expressionAfter = _this._stylesheet0$_expressionUntilComparison$0();
  122163. buffer.add$2(0, expressionAfter, expressionAfter.get$span(expressionAfter));
  122164. }
  122165. }
  122166. }
  122167. }
  122168. t1.expectChar$1(41);
  122169. _this.whitespace$1$consumeNewlines(false);
  122170. t1 = A.Primitives_stringFromCharCode(41);
  122171. t2._contents += t1;
  122172. },
  122173. _stylesheet0$_expressionUntilComparison$0() {
  122174. return this._stylesheet0$_expression$2$consumeNewlines$until(true, new A.StylesheetParser__expressionUntilComparison_closure0(this));
  122175. },
  122176. _stylesheet0$_supportsCondition$1$inParentheses(inParentheses) {
  122177. var condition, operator, right, endPosition, t3, t4, lowerOperator, _this = this,
  122178. t1 = _this.scanner,
  122179. t2 = t1._string_scanner$_position;
  122180. if (_this.scanIdentifier$1("not")) {
  122181. _this.whitespace$1$consumeNewlines(inParentheses);
  122182. return new A.SupportsNegation0(_this._stylesheet0$_supportsConditionInParens$0(), t1.spanFrom$1(new A._SpanScannerState(t1, t2)));
  122183. }
  122184. condition = _this._stylesheet0$_supportsConditionInParens$0();
  122185. _this.whitespace$1$consumeNewlines(inParentheses);
  122186. for (operator = null; _this.lookingAtIdentifier$0();) {
  122187. if (operator != null)
  122188. _this.expectIdentifier$1(operator);
  122189. else if (_this.scanIdentifier$1("or"))
  122190. operator = "or";
  122191. else {
  122192. _this.expectIdentifier$1("and");
  122193. operator = "and";
  122194. }
  122195. _this.whitespace$1$consumeNewlines(inParentheses);
  122196. right = _this._stylesheet0$_supportsConditionInParens$0();
  122197. endPosition = t1._string_scanner$_position;
  122198. t3 = t1._sourceFile;
  122199. t4 = new A._FileSpan(t3, t2, endPosition);
  122200. t4._FileSpan$3(t3, t2, endPosition);
  122201. condition = new A.SupportsOperation0(condition, right, operator, t4);
  122202. lowerOperator = operator.toLowerCase();
  122203. if (lowerOperator !== "and" && lowerOperator !== "or")
  122204. A.throwExpression(A.ArgumentError$value(operator, "operator", 'may only be "and" or "or".'));
  122205. _this.whitespace$1$consumeNewlines(inParentheses);
  122206. }
  122207. return condition;
  122208. },
  122209. _stylesheet0$_supportsCondition$0() {
  122210. return this._stylesheet0$_supportsCondition$1$inParentheses(false);
  122211. },
  122212. _stylesheet0$_supportsConditionInParens$0() {
  122213. var $name, nameStart, wasInParentheses, identifier, _1_0, operation, contents, identifier0, t2, $arguments, _0_0, _0_4_isSet, _0_4, _0_40, condition, exception, value, _this = this,
  122214. t1 = _this.scanner,
  122215. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  122216. if (_this._stylesheet0$_lookingAtInterpolatedIdentifier$0()) {
  122217. identifier0 = _this.interpolatedIdentifier$0();
  122218. t2 = identifier0.get$asPlain();
  122219. if ((t2 == null ? null : t2.toLowerCase()) === "not")
  122220. _this.error$2(0, '"not" is not a valid identifier here.', identifier0.span);
  122221. if (t1.scanChar$1(40)) {
  122222. $arguments = _this._stylesheet0$_interpolatedDeclarationValue$3$allowEmpty$allowSemicolon$consumeNewlines(true, true, true);
  122223. t1.expectChar$1(41);
  122224. return new A.SupportsFunction0(identifier0, $arguments, t1.spanFrom$1(start));
  122225. } else {
  122226. _0_0 = identifier0.contents;
  122227. _0_4_isSet = _0_0.length === 1;
  122228. if (_0_4_isSet) {
  122229. _0_4 = _0_0[0];
  122230. _0_40 = _0_4;
  122231. t2 = _0_4 instanceof A.Expression0;
  122232. _0_4 = _0_40;
  122233. } else {
  122234. _0_4 = null;
  122235. t2 = false;
  122236. }
  122237. if (t2) {
  122238. t2 = _0_4_isSet ? _0_4 : _0_0[0];
  122239. return new A.SupportsInterpolation0(type$.Expression_2._as(t2), t1.spanFrom$1(start));
  122240. } else
  122241. _this.error$2(0, "Expected @supports condition.", identifier0.span);
  122242. }
  122243. }
  122244. t1.expectChar$1(40);
  122245. _this.whitespace$1$consumeNewlines(true);
  122246. if (_this.scanIdentifier$1("not")) {
  122247. _this.whitespace$1$consumeNewlines(true);
  122248. condition = _this._stylesheet0$_supportsConditionInParens$0();
  122249. t1.expectChar$1(41);
  122250. return new A.SupportsNegation0(condition, t1.spanFrom$1(start));
  122251. } else if (t1.peekChar$0() === 40) {
  122252. condition = _this._stylesheet0$_supportsCondition$1$inParentheses(true);
  122253. t1.expectChar$1(41);
  122254. return condition.withSpan$1(t1.spanFrom$1(start));
  122255. }
  122256. $name = null;
  122257. nameStart = new A._SpanScannerState(t1, t1._string_scanner$_position);
  122258. wasInParentheses = _this._stylesheet0$_inParentheses;
  122259. try {
  122260. $name = _this._stylesheet0$_expression$1$consumeNewlines(true);
  122261. t1.expectChar$1(58);
  122262. } catch (exception) {
  122263. if (type$.FormatException._is(A.unwrapException(exception))) {
  122264. t1.set$state(nameStart);
  122265. _this._stylesheet0$_inParentheses = wasInParentheses;
  122266. identifier = _this.interpolatedIdentifier$0();
  122267. _1_0 = _this._stylesheet0$_trySupportsOperation$2(identifier, nameStart);
  122268. operation = null;
  122269. if (_1_0 != null) {
  122270. operation = _1_0;
  122271. t1.expectChar$1(41);
  122272. t2 = operation;
  122273. t1 = t1.spanFrom$1(start);
  122274. return A.SupportsOperation$0(t2.left, t2.right, t2.operator, t1);
  122275. }
  122276. t2 = new A.InterpolationBuffer0(new A.StringBuffer(""), A._setArrayType([], type$.JSArray_Object), A._setArrayType([], type$.JSArray_nullable_FileSpan));
  122277. t2.addInterpolation$1(identifier);
  122278. t2.addInterpolation$1(_this._stylesheet0$_interpolatedDeclarationValue$4$allowColon$allowEmpty$allowSemicolon$consumeNewlines(false, true, true, true));
  122279. contents = t2.interpolation$1(t1.spanFrom$1(nameStart));
  122280. if (t1.peekChar$0() === 58)
  122281. throw exception;
  122282. t1.expectChar$1(41);
  122283. return new A.SupportsAnything0(contents, t1.spanFrom$1(start));
  122284. } else
  122285. throw exception;
  122286. }
  122287. value = _this._stylesheet0$_supportsDeclarationValue$1($name);
  122288. t1.expectChar$1(41);
  122289. return new A.SupportsDeclaration0($name, value, t1.spanFrom$1(start));
  122290. },
  122291. _stylesheet0$_supportsDeclarationValue$1($name) {
  122292. var t1 = false;
  122293. if ($name instanceof A.StringExpression0)
  122294. if (!$name.hasQuotes)
  122295. t1 = B.JSString_methods.startsWith$1($name.text.get$initialPlain(), "--");
  122296. if (t1)
  122297. return new A.StringExpression0(this._stylesheet0$_interpolatedDeclarationValue$0(), false);
  122298. else {
  122299. this.whitespace$1$consumeNewlines(true);
  122300. return this._stylesheet0$_expression$1$consumeNewlines(true);
  122301. }
  122302. },
  122303. _stylesheet0$_trySupportsOperation$2(interpolation, start) {
  122304. var expression, beforeWhitespace, t2, t3, operator, operation, right, t4, endPosition, t5, t6, lowerOperator, _this = this, _null = null,
  122305. t1 = interpolation.contents;
  122306. if (t1.length !== 1)
  122307. return _null;
  122308. expression = B.JSArray_methods.get$first(t1);
  122309. if (!(expression instanceof A.Expression0))
  122310. return _null;
  122311. t1 = _this.scanner;
  122312. beforeWhitespace = new A._SpanScannerState(t1, t1._string_scanner$_position);
  122313. _this.whitespace$1$consumeNewlines(true);
  122314. for (t2 = start.position, t3 = interpolation.span, operator = _null, operation = operator; _this.lookingAtIdentifier$0();) {
  122315. if (operator != null)
  122316. _this.expectIdentifier$1(operator);
  122317. else if (_this.scanIdentifier$1("and"))
  122318. operator = "and";
  122319. else {
  122320. if (!_this.scanIdentifier$1("or")) {
  122321. if (beforeWhitespace._scanner !== t1)
  122322. A.throwExpression(A.ArgumentError$(string$.The_gi, _null));
  122323. t2 = beforeWhitespace.position;
  122324. if ((t2 === 0 ? 1 / t2 < 0 : t2 < 0) || t2 > t1.string.length)
  122325. A.throwExpression(A.ArgumentError$("Invalid position " + t2, _null));
  122326. t1._string_scanner$_position = t2;
  122327. return t1._lastMatch = null;
  122328. }
  122329. operator = "or";
  122330. }
  122331. _this.whitespace$1$consumeNewlines(true);
  122332. right = _this._stylesheet0$_supportsConditionInParens$0();
  122333. t4 = operation == null ? new A.SupportsInterpolation0(expression, t3) : operation;
  122334. endPosition = t1._string_scanner$_position;
  122335. t5 = t1._sourceFile;
  122336. t6 = new A._FileSpan(t5, t2, endPosition);
  122337. t6._FileSpan$3(t5, t2, endPosition);
  122338. operation = new A.SupportsOperation0(t4, right, operator, t6);
  122339. lowerOperator = operator.toLowerCase();
  122340. if (lowerOperator !== "and" && lowerOperator !== "or")
  122341. A.throwExpression(A.ArgumentError$value(operator, "operator", 'may only be "and" or "or".'));
  122342. _this.whitespace$1$consumeNewlines(true);
  122343. }
  122344. return operation;
  122345. },
  122346. _stylesheet0$_lookingAtInterpolatedIdentifier$0() {
  122347. var t2, _0_0,
  122348. t1 = this.scanner,
  122349. _1_0 = t1.peekChar$0();
  122350. $label0$0: {
  122351. t2 = false;
  122352. if (_1_0 == null) {
  122353. t1 = t2;
  122354. break $label0$0;
  122355. }
  122356. if (_1_0 === 95 || A.CharacterExtension_get_isAlphabetic0(_1_0) || _1_0 >= 128 || 92 === _1_0) {
  122357. t1 = true;
  122358. break $label0$0;
  122359. }
  122360. if (35 === _1_0) {
  122361. t1 = t1.peekChar$1(1) === 123;
  122362. break $label0$0;
  122363. }
  122364. if (45 === _1_0) {
  122365. _0_0 = t1.peekChar$1(1);
  122366. $label1$1: {
  122367. if (_0_0 == null) {
  122368. t1 = t2;
  122369. break $label1$1;
  122370. }
  122371. if (35 === _0_0) {
  122372. t1 = t1.peekChar$1(2) === 123;
  122373. break $label1$1;
  122374. }
  122375. if (_0_0 === 95 || A.CharacterExtension_get_isAlphabetic0(_0_0) || _0_0 >= 128 || 92 === _0_0 || 45 === _0_0) {
  122376. t1 = true;
  122377. break $label1$1;
  122378. }
  122379. t1 = t2;
  122380. break $label1$1;
  122381. }
  122382. break $label0$0;
  122383. }
  122384. t1 = t2;
  122385. break $label0$0;
  122386. }
  122387. return t1;
  122388. },
  122389. _stylesheet0$_lookingAtPotentialPropertyHack$0() {
  122390. var t1 = this.scanner,
  122391. _0_0 = t1.peekChar$0();
  122392. $label0$0: {
  122393. if (58 === _0_0 || 42 === _0_0 || 46 === _0_0) {
  122394. t1 = true;
  122395. break $label0$0;
  122396. }
  122397. if (35 === _0_0) {
  122398. t1 = t1.peekChar$1(1) !== 123;
  122399. break $label0$0;
  122400. }
  122401. t1 = false;
  122402. break $label0$0;
  122403. }
  122404. return t1;
  122405. },
  122406. _stylesheet0$_lookingAtInterpolatedIdentifierBody$0() {
  122407. var t2, t3,
  122408. t1 = this.scanner,
  122409. _0_0 = t1.peekChar$0();
  122410. $label0$0: {
  122411. t2 = false;
  122412. if (_0_0 == null) {
  122413. t1 = t2;
  122414. break $label0$0;
  122415. }
  122416. if (!(_0_0 === 95 || A.CharacterExtension_get_isAlphabetic0(_0_0) || _0_0 >= 128))
  122417. t3 = _0_0 >= 48 && _0_0 <= 57 || _0_0 === 45;
  122418. else
  122419. t3 = true;
  122420. if (t3 || 92 === _0_0) {
  122421. t1 = true;
  122422. break $label0$0;
  122423. }
  122424. if (35 === _0_0) {
  122425. t1 = t1.peekChar$1(1) === 123;
  122426. break $label0$0;
  122427. }
  122428. t1 = t2;
  122429. break $label0$0;
  122430. }
  122431. return t1;
  122432. },
  122433. _stylesheet0$_lookingAtExpression$0() {
  122434. var t2, _0_0,
  122435. t1 = this.scanner,
  122436. _1_0 = t1.peekChar$0();
  122437. $label0$0: {
  122438. t2 = true;
  122439. if (_1_0 == null) {
  122440. t1 = false;
  122441. break $label0$0;
  122442. }
  122443. if (46 === _1_0) {
  122444. t1 = t1.peekChar$1(1) !== 46;
  122445. break $label0$0;
  122446. }
  122447. if (33 === _1_0) {
  122448. _0_0 = t1.peekChar$1(1);
  122449. $label1$1: {
  122450. if (_0_0 != null)
  122451. if (105 !== _0_0)
  122452. if (73 !== _0_0)
  122453. t1 = _0_0 === 32 || _0_0 === 9 || _0_0 === 10 || _0_0 === 13 || _0_0 === 12;
  122454. else
  122455. t1 = t2;
  122456. else
  122457. t1 = t2;
  122458. else
  122459. t1 = t2;
  122460. break $label1$1;
  122461. }
  122462. break $label0$0;
  122463. }
  122464. t1 = true;
  122465. if (40 !== _1_0)
  122466. if (47 !== _1_0)
  122467. if (91 !== _1_0)
  122468. if (39 !== _1_0)
  122469. if (34 !== _1_0)
  122470. if (35 !== _1_0)
  122471. if (43 !== _1_0)
  122472. if (45 !== _1_0)
  122473. if (92 !== _1_0)
  122474. if (36 !== _1_0)
  122475. if (38 !== _1_0)
  122476. if (37 !== _1_0)
  122477. if (!(_1_0 === 95 || A.CharacterExtension_get_isAlphabetic0(_1_0) || _1_0 >= 128))
  122478. t1 = _1_0 >= 48 && _1_0 <= 57;
  122479. if (t1) {
  122480. t1 = t2;
  122481. break $label0$0;
  122482. }
  122483. t1 = false;
  122484. break $label0$0;
  122485. }
  122486. return t1;
  122487. },
  122488. _stylesheet0$_withChildren$1$3(child, start, create) {
  122489. var result = create.call$2(this.children$1(0, child), this.scanner.spanFrom$1(start));
  122490. this.whitespaceWithoutComments$1$consumeNewlines(false);
  122491. return result;
  122492. },
  122493. _stylesheet0$_withChildren$3(child, start, create) {
  122494. child.toString;
  122495. create.toString;
  122496. return this._stylesheet0$_withChildren$1$3(child, start, create, type$.dynamic);
  122497. },
  122498. _stylesheet0$_urlString$0() {
  122499. var innerError, stackTrace, t2, exception,
  122500. t1 = this.scanner,
  122501. start = new A._SpanScannerState(t1, t1._string_scanner$_position),
  122502. url = this.string$0();
  122503. try {
  122504. t2 = A.Uri_parse(url);
  122505. return t2;
  122506. } catch (exception) {
  122507. t2 = A.unwrapException(exception);
  122508. if (type$.FormatException._is(t2)) {
  122509. innerError = t2;
  122510. stackTrace = A.getTraceFromException(exception);
  122511. this.error$3(0, "Invalid URL: " + J.get$message$x(innerError), t1.spanFrom$1(start), stackTrace);
  122512. } else
  122513. throw exception;
  122514. }
  122515. },
  122516. _stylesheet0$_publicIdentifier$0() {
  122517. var _this = this,
  122518. t1 = _this.scanner,
  122519. t2 = t1._string_scanner$_position,
  122520. result = _this.identifier$0();
  122521. _this._stylesheet0$_assertPublic$2(result, new A.StylesheetParser__publicIdentifier_closure0(_this, new A._SpanScannerState(t1, t2)));
  122522. return result;
  122523. },
  122524. _stylesheet0$_assertPublic$2(identifier, span) {
  122525. var first = identifier.charCodeAt(0);
  122526. if (!(first === 45 || first === 95))
  122527. return;
  122528. this.error$2(0, string$.Privat, span.call$0());
  122529. },
  122530. _stylesheet0$_addOrInject$2(buffer, expression) {
  122531. if (expression instanceof A.StringExpression0 && !expression.hasQuotes)
  122532. buffer.addInterpolation$1(expression.text);
  122533. else
  122534. buffer.add$2(0, expression, expression.get$span(expression));
  122535. },
  122536. get$plainCss() {
  122537. return false;
  122538. }
  122539. };
  122540. A.StylesheetParser_parse_closure0.prototype = {
  122541. call$0() {
  122542. var statements,
  122543. t1 = this.$this,
  122544. t2 = t1.scanner,
  122545. t3 = t2._string_scanner$_position;
  122546. t2.scanChar$1(65279);
  122547. statements = t1.statements$1(new A.StylesheetParser_parse__closure0(t1));
  122548. t2.expectDone$0();
  122549. return A.Stylesheet$internal0(statements, t2.spanFrom$1(new A._SpanScannerState(t2, t3)), t1.warnings, t1._stylesheet0$_globalVariables, t1.get$plainCss());
  122550. },
  122551. $signature: 598
  122552. };
  122553. A.StylesheetParser_parse__closure0.prototype = {
  122554. call$0() {
  122555. var t1 = this.$this;
  122556. if (t1.scanner.scan$1("@charset")) {
  122557. t1.whitespace$1$consumeNewlines(false);
  122558. t1.string$0();
  122559. return null;
  122560. }
  122561. return t1._stylesheet0$_statement$1$root(true);
  122562. },
  122563. $signature: 599
  122564. };
  122565. A.StylesheetParser_parseParameterList_closure0.prototype = {
  122566. call$0() {
  122567. var parameters,
  122568. t1 = this.$this,
  122569. t2 = t1.scanner;
  122570. t2.expectChar$2$name(64, "@-rule");
  122571. t1.identifier$0();
  122572. t1.whitespace$1$consumeNewlines(true);
  122573. t1.identifier$0();
  122574. parameters = t1._stylesheet0$_parameterList$0();
  122575. t1.whitespace$1$consumeNewlines(true);
  122576. t2.expectChar$1(123);
  122577. return parameters;
  122578. },
  122579. $signature: 600
  122580. };
  122581. A.StylesheetParser__parseSingleProduction_closure0.prototype = {
  122582. call$0() {
  122583. var result = this.production.call$0();
  122584. this.$this.scanner.expectDone$0();
  122585. return result;
  122586. },
  122587. $signature() {
  122588. return this.T._eval$1("0()");
  122589. }
  122590. };
  122591. A.StylesheetParser_parseSignature_closure.prototype = {
  122592. call$0() {
  122593. var parameters, t2, t3,
  122594. t1 = this.$this,
  122595. $name = t1.identifier$0();
  122596. if (this.requireParens || t1.scanner.peekChar$0() === 40)
  122597. parameters = t1._stylesheet0$_parameterList$0();
  122598. else {
  122599. t2 = t1.scanner;
  122600. t2 = A.FileLocation$_(t2._sourceFile, t2._string_scanner$_position);
  122601. t3 = t2.offset;
  122602. parameters = new A.ParameterList0(B.List_empty26, null, A._FileSpan$(t2.file, t3, t3));
  122603. }
  122604. t1.scanner.expectDone$0();
  122605. return new A._Record_2($name, parameters);
  122606. },
  122607. $signature: 601
  122608. };
  122609. A.StylesheetParser__statement_closure0.prototype = {
  122610. call$0() {
  122611. return this.$this._stylesheet0$_statement$0();
  122612. },
  122613. $signature: 136
  122614. };
  122615. A.StylesheetParser_variableDeclarationWithoutNamespace_closure1.prototype = {
  122616. call$0() {
  122617. return this.$this.scanner.spanFrom$1(this.start);
  122618. },
  122619. $signature: 29
  122620. };
  122621. A.StylesheetParser_variableDeclarationWithoutNamespace_closure2.prototype = {
  122622. call$0() {
  122623. return this.declaration.span;
  122624. },
  122625. $signature: 29
  122626. };
  122627. A.StylesheetParser__declarationOrBuffer_closure2.prototype = {
  122628. call$0() {
  122629. return this.$this.whitespace$1$consumeNewlines(false);
  122630. },
  122631. $signature: 0
  122632. };
  122633. A.StylesheetParser__declarationOrBuffer_closure3.prototype = {
  122634. call$0() {
  122635. return this.$this.whitespace$1$consumeNewlines(false);
  122636. },
  122637. $signature: 0
  122638. };
  122639. A.StylesheetParser__declarationOrBuffer_closure4.prototype = {
  122640. call$0() {
  122641. return this.$this.whitespace$1$consumeNewlines(false);
  122642. },
  122643. $signature: 0
  122644. };
  122645. A.StylesheetParser__styleRule_closure0.prototype = {
  122646. call$2(children, span) {
  122647. var _this = this,
  122648. t1 = _this.$this;
  122649. if (t1.get$indented() && children.length === 0)
  122650. t1.warnings.push(new A._Record_3_deprecation_message_span(null, string$.This_s, _this._box_0.interpolation.span));
  122651. t1._stylesheet0$_inStyleRule = _this.wasInStyleRule;
  122652. return A.StyleRule$0(_this._box_0.interpolation, children, t1.scanner.spanFrom$1(_this.start));
  122653. },
  122654. $signature: 602
  122655. };
  122656. A.StylesheetParser__propertyOrVariableDeclaration_closure0.prototype = {
  122657. call$0() {
  122658. return this.$this.whitespace$1$consumeNewlines(false);
  122659. },
  122660. $signature: 0
  122661. };
  122662. A.StylesheetParser__tryDeclarationChildren_closure0.prototype = {
  122663. call$2(children, span) {
  122664. return A.Declaration$nested0(this.name, children, span, this.value);
  122665. },
  122666. $signature: 603
  122667. };
  122668. A.StylesheetParser__atRootRule_closure1.prototype = {
  122669. call$2(children, span) {
  122670. return A.AtRootRule$0(children, span, this.query);
  122671. },
  122672. $signature: 267
  122673. };
  122674. A.StylesheetParser__atRootRule_closure2.prototype = {
  122675. call$2(children, span) {
  122676. return A.AtRootRule$0(children, span, null);
  122677. },
  122678. $signature: 267
  122679. };
  122680. A.StylesheetParser__eachRule_closure0.prototype = {
  122681. call$2(children, span) {
  122682. var _this = this;
  122683. _this.$this._stylesheet0$_inControlDirective = _this.wasInControlDirective;
  122684. return A.EachRule$0(_this.variables, _this.list, children, span);
  122685. },
  122686. $signature: 605
  122687. };
  122688. A.StylesheetParser__functionRule_closure0.prototype = {
  122689. call$2(children, span) {
  122690. return A.FunctionRule$0(this.name, this.parameters, children, span, this.precedingComment);
  122691. },
  122692. $signature: 606
  122693. };
  122694. A.StylesheetParser__forRule_closure1.prototype = {
  122695. call$0() {
  122696. var t1 = this.$this;
  122697. if (!t1.lookingAtIdentifier$0())
  122698. return false;
  122699. if (t1.scanIdentifier$1("to"))
  122700. return this._box_0.exclusive = true;
  122701. else if (t1.scanIdentifier$1("through")) {
  122702. this._box_0.exclusive = false;
  122703. return true;
  122704. } else
  122705. return false;
  122706. },
  122707. $signature: 19
  122708. };
  122709. A.StylesheetParser__forRule_closure2.prototype = {
  122710. call$2(children, span) {
  122711. var t1, _this = this;
  122712. _this.$this._stylesheet0$_inControlDirective = _this.wasInControlDirective;
  122713. t1 = _this._box_0.exclusive;
  122714. t1.toString;
  122715. return A.ForRule$0(_this.variable, _this.from, _this.to, children, span, t1);
  122716. },
  122717. $signature: 607
  122718. };
  122719. A.StylesheetParser__memberList_closure0.prototype = {
  122720. call$0() {
  122721. var t1 = this.$this;
  122722. if (t1.scanner.peekChar$0() === 36)
  122723. this.variables.add$1(0, t1.variableName$0());
  122724. else
  122725. this.identifiers.add$1(0, t1.identifier$1$normalize(true));
  122726. },
  122727. $signature: 1
  122728. };
  122729. A.StylesheetParser__includeRule_closure0.prototype = {
  122730. call$2(children, span) {
  122731. return A.ContentBlock$0(this.contentParameters_, children, span);
  122732. },
  122733. $signature: 608
  122734. };
  122735. A.StylesheetParser_mediaRule_closure0.prototype = {
  122736. call$2(children, span) {
  122737. return A.MediaRule$0(this.query, children, span);
  122738. },
  122739. $signature: 609
  122740. };
  122741. A.StylesheetParser__mixinRule_closure0.prototype = {
  122742. call$2(children, span) {
  122743. var _this = this;
  122744. _this.$this._stylesheet0$_inMixin = false;
  122745. return A.MixinRule$0(_this.name, _this.parameters, children, span, _this.precedingComment);
  122746. },
  122747. $signature: 610
  122748. };
  122749. A.StylesheetParser_mozDocumentRule_closure1.prototype = {
  122750. call$0() {
  122751. return this.$this.whitespace$1$consumeNewlines(false);
  122752. },
  122753. $signature: 0
  122754. };
  122755. A.StylesheetParser_mozDocumentRule_closure2.prototype = {
  122756. call$2(children, span) {
  122757. var _this = this;
  122758. if (_this._box_0.needsDeprecationWarning)
  122759. _this.$this.warnings.push(new A._Record_3_deprecation_message_span(B.Deprecation_L0R, string$.x40_moz_, span));
  122760. return A.AtRule$0(_this.name, span, children, _this.value);
  122761. },
  122762. $signature: 268
  122763. };
  122764. A.StylesheetParser_supportsRule_closure0.prototype = {
  122765. call$2(children, span) {
  122766. return A.SupportsRule$0(this.condition, children, span);
  122767. },
  122768. $signature: 612
  122769. };
  122770. A.StylesheetParser__whileRule_closure0.prototype = {
  122771. call$2(children, span) {
  122772. this.$this._stylesheet0$_inControlDirective = this.wasInControlDirective;
  122773. return A.WhileRule$0(this.condition, children, span);
  122774. },
  122775. $signature: 613
  122776. };
  122777. A.StylesheetParser_unknownAtRule_closure0.prototype = {
  122778. call$2(children, span) {
  122779. return A.AtRule$0(this.name, span, children, this._box_0.value);
  122780. },
  122781. $signature: 268
  122782. };
  122783. A.StylesheetParser__expression_resetState0.prototype = {
  122784. call$0() {
  122785. var t2,
  122786. t1 = this._box_0;
  122787. t1.operands_ = t1.operators_ = t1.spaceExpressions_ = t1.commaExpressions_ = null;
  122788. t2 = this.$this;
  122789. t2.scanner.set$state(this.start);
  122790. t1.allowSlash = true;
  122791. t1.singleExpression_ = t2._stylesheet0$_singleExpression$0();
  122792. },
  122793. $signature: 0
  122794. };
  122795. A.StylesheetParser__expression_resolveOneOperation0.prototype = {
  122796. call$0() {
  122797. var t2, t3, t4, t5, t6, t7, _this = this,
  122798. t1 = _this._box_0,
  122799. operator = t1.operators_.pop(),
  122800. left = t1.operands_.pop(),
  122801. right = t1.singleExpression_;
  122802. if (right == null) {
  122803. t2 = _this.$this.scanner;
  122804. t3 = operator.operator.length;
  122805. t2.error$3$length$position(0, "Expected expression.", t3, t2._string_scanner$_position - t3);
  122806. }
  122807. if (t1.allowSlash) {
  122808. t2 = _this.$this;
  122809. t2 = !t2._stylesheet0$_inParentheses && operator === B.BinaryOperator_Mh50 && t2._stylesheet0$_isSlashOperand$1(left) && t2._stylesheet0$_isSlashOperand$1(right);
  122810. } else
  122811. t2 = false;
  122812. if (t2)
  122813. t1.singleExpression_ = new A.BinaryOperationExpression0(B.BinaryOperator_Mh50, left, right, true);
  122814. else {
  122815. t1.singleExpression_ = new A.BinaryOperationExpression0(operator, left, right, false);
  122816. t2 = t1.allowSlash = false;
  122817. if (B.BinaryOperator_Swh0 === operator || B.BinaryOperator_QG10 === operator) {
  122818. t3 = _this.$this;
  122819. t4 = t3.scanner.string;
  122820. t5 = right.get$span(right);
  122821. t5 = t5.get$start(t5);
  122822. t6 = right.get$span(right);
  122823. t7 = operator.operator;
  122824. if (B.JSString_methods.substring$2(t4, t5.offset - 1, t6.get$start(t6).offset) === t7) {
  122825. t2 = left.get$span(left);
  122826. t2 = t4.charCodeAt(t2.get$end(t2).offset);
  122827. t2 = t2 === 32 || t2 === 9 || t2 === 10 || t2 === 13 || t2 === 12;
  122828. }
  122829. if (t2) {
  122830. t2 = left.toString$0(0);
  122831. t4 = right.toString$0(0);
  122832. t5 = left.toString$0(0);
  122833. t6 = right.toString$0(0);
  122834. t1 = t1.singleExpression_;
  122835. t3.warnings.push(new A._Record_3_deprecation_message_span(B.Deprecation_CRw, "This operation is parsed as:\n\n " + t2 + " " + t7 + " " + t4 + string$.x0a_but_ + t5 + " (" + t7 + t6 + ")\n\nAdd a space after " + t7 + string$.x20to_cl, t1.get$span(t1)));
  122836. }
  122837. }
  122838. }
  122839. },
  122840. $signature: 0
  122841. };
  122842. A.StylesheetParser__expression_resolveOperations0.prototype = {
  122843. call$0() {
  122844. var t1,
  122845. operators = this._box_0.operators_;
  122846. if (operators == null)
  122847. return;
  122848. for (t1 = this.resolveOneOperation; operators.length !== 0;)
  122849. t1.call$0();
  122850. },
  122851. $signature: 0
  122852. };
  122853. A.StylesheetParser__expression_addSingleExpression0.prototype = {
  122854. call$1(expression) {
  122855. var t2, spaceExpressions, _this = this,
  122856. t1 = _this._box_0;
  122857. if (t1.singleExpression_ != null) {
  122858. t2 = _this.$this;
  122859. if (t2._stylesheet0$_inParentheses) {
  122860. t2._stylesheet0$_inParentheses = false;
  122861. if (t1.allowSlash) {
  122862. _this.resetState.call$0();
  122863. return;
  122864. }
  122865. }
  122866. spaceExpressions = t1.spaceExpressions_;
  122867. if (spaceExpressions == null)
  122868. spaceExpressions = t1.spaceExpressions_ = A._setArrayType([], type$.JSArray_Expression_2);
  122869. _this.resolveOperations.call$0();
  122870. t2 = t1.singleExpression_;
  122871. t2.toString;
  122872. spaceExpressions.push(t2);
  122873. t1.allowSlash = true;
  122874. }
  122875. t1.singleExpression_ = expression;
  122876. },
  122877. $signature: 614
  122878. };
  122879. A.StylesheetParser__expression_addOperator0.prototype = {
  122880. call$1(operator) {
  122881. var t2, t3, operators, operands, t4, singleExpression, _this = this,
  122882. t1 = _this.$this;
  122883. if (t1.get$plainCss() && operator !== B.BinaryOperator_Kyq0 && operator !== B.BinaryOperator_Swh0 && operator !== B.BinaryOperator_QG10 && operator !== B.BinaryOperator_tht0 && operator !== B.BinaryOperator_Mh50) {
  122884. t2 = t1.scanner;
  122885. t3 = operator.operator.length;
  122886. t2.error$3$length$position(0, "Operators aren't allowed in plain CSS.", t3, t2._string_scanner$_position - t3);
  122887. }
  122888. t2 = _this._box_0;
  122889. t2.allowSlash = t2.allowSlash && operator === B.BinaryOperator_Mh50;
  122890. operators = t2.operators_;
  122891. if (operators == null)
  122892. operators = t2.operators_ = A._setArrayType([], type$.JSArray_BinaryOperator_2);
  122893. operands = t2.operands_;
  122894. if (operands == null)
  122895. operands = t2.operands_ = A._setArrayType([], type$.JSArray_Expression_2);
  122896. t3 = _this.resolveOneOperation;
  122897. t4 = operator.precedence;
  122898. while (true) {
  122899. if (!(operators.length !== 0 && B.JSArray_methods.get$last(operators).precedence >= t4))
  122900. break;
  122901. t3.call$0();
  122902. }
  122903. singleExpression = t2.singleExpression_;
  122904. if (singleExpression == null) {
  122905. t3 = t1.scanner;
  122906. t4 = operator.operator.length;
  122907. t3.error$3$length$position(0, "Expected expression.", t4, t3._string_scanner$_position - t4);
  122908. }
  122909. t1.whitespace$1$consumeNewlines(true);
  122910. if (operator === B.BinaryOperator_s7T0 && !t1._stylesheet0$_lookingAtExpression$0()) {
  122911. t1 = t1.scanner;
  122912. t1 = t1.spanFromPosition$1(t1._string_scanner$_position - 1);
  122913. _this.addSingleExpression.call$1(new A.StringExpression0(new A.Interpolation0(A.List_List$unmodifiable(["%"], type$.Object), B.List_null, t1), false));
  122914. } else {
  122915. operators.push(operator);
  122916. operands.push(singleExpression);
  122917. t2.singleExpression_ = t1._stylesheet0$_singleExpression$0();
  122918. }
  122919. },
  122920. $signature: 615
  122921. };
  122922. A.StylesheetParser__expression_resolveSpaceExpressions0.prototype = {
  122923. call$0() {
  122924. var t1, spaceExpressions, singleExpression, t2;
  122925. this.resolveOperations.call$0();
  122926. t1 = this._box_0;
  122927. spaceExpressions = t1.spaceExpressions_;
  122928. if (spaceExpressions == null)
  122929. return;
  122930. singleExpression = t1.singleExpression_;
  122931. if (singleExpression == null)
  122932. this.$this.scanner.error$1(0, "Expected expression.");
  122933. spaceExpressions.push(singleExpression);
  122934. t2 = B.JSArray_methods.get$first(spaceExpressions);
  122935. t2 = t2.get$span(t2).expand$1(0, singleExpression.get$span(singleExpression));
  122936. t1.singleExpression_ = new A.ListExpression0(A.List_List$unmodifiable(spaceExpressions, type$.Expression_2), B.ListSeparator_qSL0, false, t2);
  122937. t1.spaceExpressions_ = null;
  122938. },
  122939. $signature: 0
  122940. };
  122941. A.StylesheetParser_expressionUntilComma_closure0.prototype = {
  122942. call$0() {
  122943. return this.$this.scanner.peekChar$0() === 44;
  122944. },
  122945. $signature: 19
  122946. };
  122947. A.StylesheetParser__isHexColor_closure0.prototype = {
  122948. call$1(char) {
  122949. return A.CharacterExtension_get_isHex0(char);
  122950. },
  122951. $signature: 47
  122952. };
  122953. A.StylesheetParser__unicodeRange_closure1.prototype = {
  122954. call$1(char) {
  122955. return char != null && A.CharacterExtension_get_isHex0(char);
  122956. },
  122957. $signature: 30
  122958. };
  122959. A.StylesheetParser__unicodeRange_closure2.prototype = {
  122960. call$1(char) {
  122961. return char != null && A.CharacterExtension_get_isHex0(char);
  122962. },
  122963. $signature: 30
  122964. };
  122965. A.StylesheetParser_namespacedExpression_closure0.prototype = {
  122966. call$0() {
  122967. return this.$this.scanner.spanFrom$1(this.start);
  122968. },
  122969. $signature: 29
  122970. };
  122971. A.StylesheetParser_trySpecialFunction_closure0.prototype = {
  122972. call$1(contents) {
  122973. return new A.StringExpression0(contents, false);
  122974. },
  122975. $signature: 616
  122976. };
  122977. A.StylesheetParser__expressionUntilComparison_closure0.prototype = {
  122978. call$0() {
  122979. var t1 = this.$this.scanner,
  122980. _0_0 = t1.peekChar$0();
  122981. $label0$0: {
  122982. if (61 === _0_0) {
  122983. t1 = t1.peekChar$1(1) !== 61;
  122984. break $label0$0;
  122985. }
  122986. if (60 === _0_0 || 62 === _0_0) {
  122987. t1 = true;
  122988. break $label0$0;
  122989. }
  122990. t1 = false;
  122991. break $label0$0;
  122992. }
  122993. return t1;
  122994. },
  122995. $signature: 19
  122996. };
  122997. A.StylesheetParser__publicIdentifier_closure0.prototype = {
  122998. call$0() {
  122999. return this.$this.scanner.spanFrom$1(this.start);
  123000. },
  123001. $signature: 29
  123002. };
  123003. A.Stylesheet0.prototype = {
  123004. Stylesheet$internal$5$globalVariables$plainCss0(children, span, parseTimeWarnings, globalVariables, plainCss) {
  123005. var t1, t2, t3, t4, _i, child;
  123006. for (t1 = this.children, t2 = t1.length, t3 = this._stylesheet1$_forwards, t4 = this._stylesheet1$_uses, _i = 0; _i < t2; ++_i) {
  123007. child = t1[_i];
  123008. if (child instanceof A.UseRule0) {
  123009. t4.push(child);
  123010. continue;
  123011. }
  123012. if (child instanceof A.ForwardRule0) {
  123013. t3.push(child);
  123014. continue;
  123015. }
  123016. if (child instanceof A.SilentComment0 || child instanceof A.LoudComment0 || child instanceof A.VariableDeclaration0)
  123017. continue;
  123018. break;
  123019. }
  123020. },
  123021. accept$1$1(visitor) {
  123022. return visitor.visitStylesheet$1(0, this);
  123023. },
  123024. accept$1(visitor) {
  123025. return this.accept$1$1(visitor, type$.dynamic);
  123026. },
  123027. toString$0(_) {
  123028. var t1 = this.children;
  123029. return (t1 && B.JSArray_methods).join$1(t1, " ");
  123030. },
  123031. get$span(receiver) {
  123032. return this.span;
  123033. }
  123034. };
  123035. A.SupportsExpression0.prototype = {
  123036. get$span(_) {
  123037. var t1 = this.condition;
  123038. return t1.get$span(t1);
  123039. },
  123040. accept$1$1(visitor) {
  123041. return visitor.visitSupportsExpression$1(0, this);
  123042. },
  123043. accept$1(visitor) {
  123044. return this.accept$1$1(visitor, type$.dynamic);
  123045. },
  123046. toString$0(_) {
  123047. return this.condition.toString$0(0);
  123048. }
  123049. };
  123050. A.ModifiableCssSupportsRule0.prototype = {
  123051. accept$1$1(visitor) {
  123052. return visitor.visitCssSupportsRule$1(this);
  123053. },
  123054. accept$1(visitor) {
  123055. return this.accept$1$1(visitor, type$.dynamic);
  123056. },
  123057. equalsIgnoringChildren$1(other) {
  123058. var t1, t2;
  123059. if (other instanceof A.ModifiableCssSupportsRule0) {
  123060. t1 = this.condition;
  123061. t2 = other.condition;
  123062. t1 = t1.$ti._is(t2) && J.$eq$(t2.value, t1.value);
  123063. } else
  123064. t1 = false;
  123065. return t1;
  123066. },
  123067. copyWithoutChildren$0() {
  123068. return A.ModifiableCssSupportsRule$0(this.condition, this.span);
  123069. },
  123070. get$span(receiver) {
  123071. return this.span;
  123072. }
  123073. };
  123074. A.SupportsRule0.prototype = {
  123075. accept$1$1(visitor) {
  123076. return visitor.visitSupportsRule$1(0, this);
  123077. },
  123078. accept$1(visitor) {
  123079. return this.accept$1$1(visitor, type$.dynamic);
  123080. },
  123081. toString$0(_) {
  123082. var t1 = this.children;
  123083. return "@supports " + this.condition.toString$0(0) + " {" + (t1 && B.JSArray_methods).join$1(t1, " ") + "}";
  123084. },
  123085. get$span(receiver) {
  123086. return this.span;
  123087. }
  123088. };
  123089. A.JSToDartImporter.prototype = {
  123090. canonicalize$1(_, url) {
  123091. var t1,
  123092. result = A.wrapJSExceptions(new A.JSToDartImporter_canonicalize_closure(this, url));
  123093. if (result == null)
  123094. return null;
  123095. t1 = self.URL;
  123096. if (result instanceof t1)
  123097. return A.Uri_parse(J.toString$0$(type$.JSUrl._as(result)));
  123098. t1 = self.Promise;
  123099. if (result instanceof t1)
  123100. A.jsThrow(new self.Error("The canonicalize() function can't return a Promise for synchronous compile functions."));
  123101. else
  123102. A.jsThrow(new self.Error(string$.The_ca));
  123103. },
  123104. load$1(_, url) {
  123105. var t1, contents, syntax, t2,
  123106. result = A.wrapJSExceptions(new A.JSToDartImporter_load_closure(this, url));
  123107. if (result == null)
  123108. return null;
  123109. t1 = self.Promise;
  123110. if (result instanceof t1)
  123111. A.jsThrow(new self.Error("The load() function can't return a Promise for synchronous compile functions."));
  123112. type$.JSImporterResult._as(result);
  123113. t1 = J.getInterceptor$x(result);
  123114. contents = t1.get$contents(result);
  123115. if (A._asString(new self.Function("value", "return typeof value").call$1(contents)) !== "string")
  123116. A.jsThrow(new A.ArgumentError(true, contents, "contents", "must be a string but was: " + A.jsType(contents)));
  123117. syntax = t1.get$syntax(result);
  123118. if (contents == null || syntax == null)
  123119. A.jsThrow(new self.Error(string$.The_lo));
  123120. t2 = A.parseSyntax(syntax);
  123121. return A.ImporterResult$(contents, A.NullableExtension_andThen0(t1.get$sourceMapUrl(result), A.utils3__jsToDartUrl$closure()), t2);
  123122. },
  123123. isNonCanonicalScheme$1(scheme) {
  123124. return this._sync$_nonCanonicalSchemes.contains$1(0, scheme);
  123125. }
  123126. };
  123127. A.JSToDartImporter_canonicalize_closure.prototype = {
  123128. call$0() {
  123129. return this.$this._sync$_canonicalize.call$2(this.url.toString$0(0), A.canonicalizeContext0());
  123130. },
  123131. $signature: 36
  123132. };
  123133. A.JSToDartImporter_load_closure.prototype = {
  123134. call$0() {
  123135. return this.$this._sync$_load.call$1(new self.URL(this.url.toString$0(0)));
  123136. },
  123137. $signature: 36
  123138. };
  123139. A.Syntax0.prototype = {
  123140. _enumToString$0() {
  123141. return "Syntax." + this._name;
  123142. },
  123143. toString$0(_) {
  123144. return this._syntax0$_name;
  123145. }
  123146. };
  123147. A.TypeSelector0.prototype = {
  123148. get$specificity() {
  123149. return 1;
  123150. },
  123151. accept$1$1(visitor) {
  123152. return visitor.visitTypeSelector$1(this);
  123153. },
  123154. accept$1(visitor) {
  123155. return this.accept$1$1(visitor, type$.dynamic);
  123156. },
  123157. addSuffix$1(suffix) {
  123158. var t1 = this.name;
  123159. return new A.TypeSelector0(new A.QualifiedName0(t1.name + suffix, t1.namespace), this.span);
  123160. },
  123161. unify$1(compound) {
  123162. var unified, t1,
  123163. _0_0 = A.IterableExtensions_get_firstOrNull(compound);
  123164. if (_0_0 instanceof A.UniversalSelector0 || _0_0 instanceof A.TypeSelector0) {
  123165. unified = A.unifyUniversalAndElement0(this, B.JSArray_methods.get$first(compound));
  123166. if (unified == null)
  123167. return null;
  123168. t1 = A._setArrayType([unified], type$.JSArray_SimpleSelector_2);
  123169. B.JSArray_methods.addAll$1(t1, A.SubListIterable$(compound, 1, null, A._arrayInstanceType(compound)._precomputed1));
  123170. return t1;
  123171. } else {
  123172. t1 = A._setArrayType([this], type$.JSArray_SimpleSelector_2);
  123173. B.JSArray_methods.addAll$1(t1, compound);
  123174. return t1;
  123175. }
  123176. },
  123177. isSuperselector$1(other) {
  123178. var t1, t2, t3;
  123179. if (!this.super$SimpleSelector$isSuperselector0(other)) {
  123180. t1 = false;
  123181. if (other instanceof A.TypeSelector0) {
  123182. t2 = this.name;
  123183. t3 = other.name;
  123184. if (t2.name === t3.name) {
  123185. t1 = t2.namespace;
  123186. t1 = t1 === "*" || t1 == t3.namespace;
  123187. }
  123188. }
  123189. } else
  123190. t1 = true;
  123191. return t1;
  123192. },
  123193. $eq(_, other) {
  123194. if (other == null)
  123195. return false;
  123196. return other instanceof A.TypeSelector0 && other.name.$eq(0, this.name);
  123197. },
  123198. get$hashCode(_) {
  123199. var t1 = this.name;
  123200. return B.JSString_methods.get$hashCode(t1.name) ^ J.get$hashCode$(t1.namespace);
  123201. }
  123202. };
  123203. A.Types.prototype = {};
  123204. A.UnaryOperationExpression0.prototype = {
  123205. accept$1$1(visitor) {
  123206. return visitor.visitUnaryOperationExpression$1(0, this);
  123207. },
  123208. accept$1(visitor) {
  123209. return this.accept$1$1(visitor, type$.dynamic);
  123210. },
  123211. toString$0(_) {
  123212. var operand,
  123213. t1 = this.operator,
  123214. t2 = t1.operator;
  123215. t1 = t1 === B.UnaryOperator_not_not_not0 ? t2 + A.Primitives_stringFromCharCode(32) : t2;
  123216. operand = this.operand;
  123217. $label0$0: {
  123218. t2 = true;
  123219. if (!(operand instanceof A.BinaryOperationExpression0))
  123220. if (!(operand instanceof A.UnaryOperationExpression0))
  123221. t2 = operand instanceof A.ListExpression0 && !operand.hasBrackets && operand.contents.length >= 2;
  123222. break $label0$0;
  123223. }
  123224. if (t2)
  123225. t1 += "40";
  123226. t1 += operand.toString$0(0);
  123227. if (t2)
  123228. t1 += "41";
  123229. return t1.charCodeAt(0) == 0 ? t1 : t1;
  123230. },
  123231. get$span(receiver) {
  123232. return this.span;
  123233. }
  123234. };
  123235. A.UnaryOperator0.prototype = {
  123236. _enumToString$0() {
  123237. return "UnaryOperator." + this._name;
  123238. },
  123239. toString$0(_) {
  123240. return this.name;
  123241. }
  123242. };
  123243. A.UnitlessSassNumber0.prototype = {
  123244. get$numeratorUnits(_) {
  123245. return B.List_empty;
  123246. },
  123247. get$denominatorUnits(_) {
  123248. return B.List_empty;
  123249. },
  123250. get$hasUnits() {
  123251. return false;
  123252. },
  123253. get$hasComplexUnits() {
  123254. return false;
  123255. },
  123256. withValue$1(value) {
  123257. return new A.UnitlessSassNumber0(value, null);
  123258. },
  123259. withSlash$2(numerator, denominator) {
  123260. return new A.UnitlessSassNumber0(this._number1$_value, new A._Record_2(numerator, denominator));
  123261. },
  123262. hasUnit$1(unit) {
  123263. return false;
  123264. },
  123265. hasCompatibleUnits$1(other) {
  123266. return other instanceof A.UnitlessSassNumber0;
  123267. },
  123268. hasPossiblyCompatibleUnits$1(other) {
  123269. return other instanceof A.UnitlessSassNumber0;
  123270. },
  123271. compatibleWithUnit$1(unit) {
  123272. return true;
  123273. },
  123274. coerceToMatch$3(other, $name, otherName) {
  123275. return other.withValue$1(this._number1$_value);
  123276. },
  123277. coerceToMatch$1(other) {
  123278. return this.coerceToMatch$3(other, null, null);
  123279. },
  123280. coerceValueToMatch$3(other, $name, otherName) {
  123281. return this._number1$_value;
  123282. },
  123283. coerceValueToMatch$1(other) {
  123284. return this.coerceValueToMatch$3(other, null, null);
  123285. },
  123286. convertToMatch$3(other, $name, otherName) {
  123287. return other.get$hasUnits() ? this.super$SassNumber$convertToMatch(other, $name, otherName) : this;
  123288. },
  123289. convertValueToMatch$3(other, $name, otherName) {
  123290. return other.get$hasUnits() ? this.super$SassNumber$convertValueToMatch0(other, $name, otherName) : this._number1$_value;
  123291. },
  123292. convertValueToMatch$1(other) {
  123293. return this.convertValueToMatch$3(other, null, null);
  123294. },
  123295. coerce$3(newNumerators, newDenominators, $name) {
  123296. return A.SassNumber_SassNumber$withUnits0(this._number1$_value, newDenominators, newNumerators);
  123297. },
  123298. coerce$2(newNumerators, newDenominators) {
  123299. return this.coerce$3(newNumerators, newDenominators, null);
  123300. },
  123301. coerceValue$3(newNumerators, newDenominators, $name) {
  123302. return this._number1$_value;
  123303. },
  123304. coerceValueToUnit$2(unit, $name) {
  123305. return this._number1$_value;
  123306. },
  123307. coerceValueToUnit$1(unit) {
  123308. return this.coerceValueToUnit$2(unit, null);
  123309. },
  123310. greaterThan$1(other) {
  123311. var t1, t2;
  123312. if (other instanceof A.SassNumber0) {
  123313. t1 = this._number1$_value;
  123314. t2 = other._number1$_value;
  123315. return t1 > t2 && !A.fuzzyEquals0(t1, t2) ? B.SassBoolean_true0 : B.SassBoolean_false0;
  123316. }
  123317. return this.super$SassNumber$greaterThan0(other);
  123318. },
  123319. greaterThanOrEquals$1(other) {
  123320. var t1, t2;
  123321. if (other instanceof A.SassNumber0) {
  123322. t1 = this._number1$_value;
  123323. t2 = other._number1$_value;
  123324. return t1 > t2 || A.fuzzyEquals0(t1, t2) ? B.SassBoolean_true0 : B.SassBoolean_false0;
  123325. }
  123326. return this.super$SassNumber$greaterThanOrEquals0(other);
  123327. },
  123328. lessThan$1(other) {
  123329. var t1, t2;
  123330. if (other instanceof A.SassNumber0) {
  123331. t1 = this._number1$_value;
  123332. t2 = other._number1$_value;
  123333. return t1 < t2 && !A.fuzzyEquals0(t1, t2) ? B.SassBoolean_true0 : B.SassBoolean_false0;
  123334. }
  123335. return this.super$SassNumber$lessThan0(other);
  123336. },
  123337. lessThanOrEquals$1(other) {
  123338. var t1, t2;
  123339. if (other instanceof A.SassNumber0) {
  123340. t1 = this._number1$_value;
  123341. t2 = other._number1$_value;
  123342. return t1 < t2 || A.fuzzyEquals0(t1, t2) ? B.SassBoolean_true0 : B.SassBoolean_false0;
  123343. }
  123344. return this.super$SassNumber$lessThanOrEquals0(other);
  123345. },
  123346. modulo$1(other) {
  123347. if (other instanceof A.SassNumber0)
  123348. return other.withValue$1(A.moduloLikeSass0(this._number1$_value, other._number1$_value));
  123349. return this.super$SassNumber$modulo0(other);
  123350. },
  123351. plus$1(other) {
  123352. if (other instanceof A.SassNumber0)
  123353. return other.withValue$1(this._number1$_value + other._number1$_value);
  123354. return this.super$SassNumber$plus0(other);
  123355. },
  123356. minus$1(other) {
  123357. if (other instanceof A.SassNumber0)
  123358. return other.withValue$1(this._number1$_value - other._number1$_value);
  123359. return this.super$SassNumber$minus0(other);
  123360. },
  123361. times$1(other) {
  123362. if (other instanceof A.SassNumber0)
  123363. return other.withValue$1(this._number1$_value * other._number1$_value);
  123364. return this.super$SassNumber$times0(other);
  123365. },
  123366. dividedBy$1(other) {
  123367. var t1, t2;
  123368. if (other instanceof A.SassNumber0) {
  123369. t1 = this._number1$_value / other._number1$_value;
  123370. if (other.get$hasUnits()) {
  123371. t2 = other.get$denominatorUnits(other);
  123372. t2 = A.SassNumber_SassNumber$withUnits0(t1, other.get$numeratorUnits(other), t2);
  123373. t1 = t2;
  123374. } else
  123375. t1 = new A.UnitlessSassNumber0(t1, null);
  123376. return t1;
  123377. }
  123378. return this.super$SassNumber$dividedBy0(other);
  123379. },
  123380. unaryMinus$0() {
  123381. return new A.UnitlessSassNumber0(-this._number1$_value, null);
  123382. },
  123383. $eq(_, other) {
  123384. if (other == null)
  123385. return false;
  123386. return other instanceof A.UnitlessSassNumber0 && A.fuzzyEquals0(this._number1$_value, other._number1$_value);
  123387. },
  123388. get$hashCode(_) {
  123389. var t1 = this.hashCache;
  123390. return t1 == null ? this.hashCache = A.fuzzyHashCode0(this._number1$_value) : t1;
  123391. }
  123392. };
  123393. A.UniversalSelector0.prototype = {
  123394. get$specificity() {
  123395. return 0;
  123396. },
  123397. accept$1$1(visitor) {
  123398. return visitor.visitUniversalSelector$1(this);
  123399. },
  123400. accept$1(visitor) {
  123401. return this.accept$1$1(visitor, type$.dynamic);
  123402. },
  123403. unify$1(compound) {
  123404. var _0_4, t1, rest, unified, t2, _this = this, _null = null,
  123405. _0_1 = compound.length,
  123406. _0_4_isSet = _0_1 >= 1;
  123407. if (_0_4_isSet) {
  123408. _0_4 = compound[0];
  123409. if (!(_0_4 instanceof A.UniversalSelector0))
  123410. t1 = _0_4 instanceof A.TypeSelector0;
  123411. else
  123412. t1 = true;
  123413. rest = t1 ? B.JSArray_methods.sublist$1(compound, 1) : _null;
  123414. } else {
  123415. rest = _null;
  123416. _0_4 = rest;
  123417. t1 = false;
  123418. }
  123419. if (t1) {
  123420. unified = A.unifyUniversalAndElement0(_this, B.JSArray_methods.get$first(compound));
  123421. if (unified == null)
  123422. return _null;
  123423. t1 = A._setArrayType([unified], type$.JSArray_SimpleSelector_2);
  123424. B.JSArray_methods.addAll$1(t1, rest);
  123425. return t1;
  123426. }
  123427. t1 = false;
  123428. if (_0_1 === 1) {
  123429. if (_0_4_isSet)
  123430. t2 = _0_4;
  123431. else {
  123432. _0_4 = compound[0];
  123433. t2 = _0_4;
  123434. _0_4_isSet = true;
  123435. }
  123436. if (t2 instanceof A.PseudoSelector0) {
  123437. t2 = _0_4_isSet ? _0_4 : compound[0];
  123438. type$.PseudoSelector_2._as(t2);
  123439. t1 = t2.isClass && t2.name === "host" || t2.get$isHostContext();
  123440. }
  123441. }
  123442. if (t1)
  123443. return _null;
  123444. if (_0_1 <= 0)
  123445. return A._setArrayType([_this], type$.JSArray_SimpleSelector_2);
  123446. t1 = _this.namespace;
  123447. if (t1 == null || t1 === "*")
  123448. t1 = compound;
  123449. else {
  123450. t1 = A._setArrayType([_this], type$.JSArray_SimpleSelector_2);
  123451. B.JSArray_methods.addAll$1(t1, compound);
  123452. }
  123453. return t1;
  123454. },
  123455. isSuperselector$1(other) {
  123456. var t1 = this.namespace;
  123457. if (t1 === "*")
  123458. return true;
  123459. if (other instanceof A.TypeSelector0)
  123460. return t1 == other.name.namespace;
  123461. if (other instanceof A.UniversalSelector0)
  123462. return t1 == other.namespace;
  123463. return t1 == null || this.super$SimpleSelector$isSuperselector0(other);
  123464. },
  123465. $eq(_, other) {
  123466. if (other == null)
  123467. return false;
  123468. return other instanceof A.UniversalSelector0 && other.namespace == this.namespace;
  123469. },
  123470. get$hashCode(_) {
  123471. return J.get$hashCode$(this.namespace);
  123472. }
  123473. };
  123474. A.UnprefixedMapView0.prototype = {
  123475. get$keys(_) {
  123476. return new A._UnprefixedKeys0(this);
  123477. },
  123478. $index(_, key) {
  123479. return typeof key == "string" ? this._unprefixed_map_view0$_map.$index(0, this._unprefixed_map_view0$_prefix + key) : null;
  123480. },
  123481. containsKey$1(key) {
  123482. return typeof key == "string" && this._unprefixed_map_view0$_map.containsKey$1(this._unprefixed_map_view0$_prefix + key);
  123483. },
  123484. remove$1(_, key) {
  123485. var t1 = this._unprefixed_map_view0$_map.remove$1(0, this._unprefixed_map_view0$_prefix + key);
  123486. return t1;
  123487. }
  123488. };
  123489. A._UnprefixedKeys0.prototype = {
  123490. get$iterator(_) {
  123491. var t1 = this._unprefixed_map_view0$_view._unprefixed_map_view0$_map;
  123492. 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);
  123493. return t1.get$iterator(t1);
  123494. },
  123495. contains$1(_, key) {
  123496. return this._unprefixed_map_view0$_view.containsKey$1(key);
  123497. }
  123498. };
  123499. A._UnprefixedKeys_iterator_closure1.prototype = {
  123500. call$1(key) {
  123501. return B.JSString_methods.startsWith$1(key, this.$this._unprefixed_map_view0$_view._unprefixed_map_view0$_prefix);
  123502. },
  123503. $signature: 5
  123504. };
  123505. A._UnprefixedKeys_iterator_closure2.prototype = {
  123506. call$1(key) {
  123507. return B.JSString_methods.substring$1(key, this.$this._unprefixed_map_view0$_view._unprefixed_map_view0$_prefix.length);
  123508. },
  123509. $signature: 6
  123510. };
  123511. A.JSUrl0.prototype = {};
  123512. A.UseRule0.prototype = {
  123513. UseRule$4$configuration0(url, namespace, span, configuration) {
  123514. var t1, t2, _i, variable;
  123515. for (t1 = this.configuration, t2 = t1.length, _i = 0; _i < t2; ++_i) {
  123516. variable = t1[_i];
  123517. if (variable.isGuarded)
  123518. throw A.wrapException(A.ArgumentError$value(variable, "configured variable", "can't be guarded in a @use rule."));
  123519. }
  123520. },
  123521. accept$1$1(visitor) {
  123522. return visitor.visitUseRule$1(0, this);
  123523. },
  123524. accept$1(visitor) {
  123525. return this.accept$1$1(visitor, type$.dynamic);
  123526. },
  123527. toString$0(_) {
  123528. var t1 = this.url,
  123529. t2 = "@use " + A.StringExpression_quoteText0(t1.toString$0(0)),
  123530. basename = t1.get$pathSegments().length === 0 ? "" : B.JSArray_methods.get$last(t1.get$pathSegments()),
  123531. dot = B.JSString_methods.indexOf$1(basename, ".");
  123532. t1 = this.namespace;
  123533. if (t1 !== B.JSString_methods.substring$2(basename, 0, dot === -1 ? basename.length : dot))
  123534. t1 = t2 + (" as " + (t1 == null ? "*" : t1));
  123535. else
  123536. t1 = t2;
  123537. t2 = this.configuration;
  123538. t1 = (t2.length !== 0 ? t1 + (" with (" + B.JSArray_methods.join$1(t2, ", ") + ")") : t1) + ";";
  123539. return t1.charCodeAt(0) == 0 ? t1 : t1;
  123540. },
  123541. get$span(receiver) {
  123542. return this.span;
  123543. }
  123544. };
  123545. A.UserDefinedCallable0.prototype = {
  123546. get$name(_) {
  123547. return this.declaration.name;
  123548. },
  123549. $isAsyncCallable0: 1,
  123550. $isCallable: 1
  123551. };
  123552. A.resolveImportPath_closure1.prototype = {
  123553. call$0() {
  123554. return A._exactlyOne0(A._tryPath0($.$get$context().withoutExtension$1(this.path) + ".import" + this.extension));
  123555. },
  123556. $signature: 46
  123557. };
  123558. A.resolveImportPath_closure2.prototype = {
  123559. call$0() {
  123560. return A._exactlyOne0(A._tryPathWithExtensions0(this.path + ".import"));
  123561. },
  123562. $signature: 46
  123563. };
  123564. A._tryPathAsDirectory_closure0.prototype = {
  123565. call$0() {
  123566. return A._exactlyOne0(A._tryPathWithExtensions0(A.join(this.path, "index.import", null)));
  123567. },
  123568. $signature: 46
  123569. };
  123570. A._exactlyOne_closure0.prototype = {
  123571. call$1(path) {
  123572. var t1 = $.$get$context();
  123573. return " " + t1.prettyUri$1(t1.toUri$1(path));
  123574. },
  123575. $signature: 6
  123576. };
  123577. A._PropertyDescriptor0.prototype = {};
  123578. A.futureToPromise_closure0.prototype = {
  123579. call$2(resolve, reject) {
  123580. this.future.then$1$2$onError(0, new A.futureToPromise__closure0(resolve), new A.futureToPromise__closure1(reject), type$.void);
  123581. },
  123582. $signature: 617
  123583. };
  123584. A.futureToPromise__closure0.prototype = {
  123585. call$1(result) {
  123586. return this.resolve.call$1(result);
  123587. },
  123588. $signature: 34
  123589. };
  123590. A.futureToPromise__closure1.prototype = {
  123591. call$2(error, stackTrace) {
  123592. A.attachTrace0(error, stackTrace);
  123593. this.reject.call$1(error);
  123594. },
  123595. $signature: 51
  123596. };
  123597. A.objectToMap_closure.prototype = {
  123598. call$2(key, value) {
  123599. this.map.$indexSet(0, key, value);
  123600. return value;
  123601. },
  123602. $signature: 126
  123603. };
  123604. A._RequireMain0.prototype = {};
  123605. A.indent_closure0.prototype = {
  123606. call$1(line) {
  123607. return B.JSString_methods.$mul(" ", this.indentation) + line;
  123608. },
  123609. $signature: 6
  123610. };
  123611. A.flattenVertically_closure1.prototype = {
  123612. call$1(inner) {
  123613. return A.QueueList_QueueList$from(inner, this.T);
  123614. },
  123615. $signature() {
  123616. return this.T._eval$1("QueueList<0>(Iterable<0>)");
  123617. }
  123618. };
  123619. A.flattenVertically_closure2.prototype = {
  123620. call$1(queue) {
  123621. this.result.push(queue.removeFirst$0());
  123622. return queue.get$length(0) === 0;
  123623. },
  123624. $signature() {
  123625. return this.T._eval$1("bool(QueueList<0>)");
  123626. }
  123627. };
  123628. A.longestCommonSubsequence_backtrack0.prototype = {
  123629. call$2(i, j) {
  123630. var selection, t1, _this = this;
  123631. if (i === -1 || j === -1)
  123632. return A._setArrayType([], _this.T._eval$1("JSArray<0>"));
  123633. selection = _this.selections[i][j];
  123634. if (selection != null) {
  123635. t1 = _this.call$2(i - 1, j - 1);
  123636. J.add$1$ax(t1, selection);
  123637. return t1;
  123638. }
  123639. t1 = _this.lengths;
  123640. return t1[i + 1][j] > t1[i][j + 1] ? _this.call$2(i, j - 1) : _this.call$2(i - 1, j);
  123641. },
  123642. $signature() {
  123643. return this.T._eval$1("List<0>(int,int)");
  123644. }
  123645. };
  123646. A.mapAddAll2_closure0.prototype = {
  123647. call$2(key, inner) {
  123648. var t1 = this.destination,
  123649. _0_0 = t1.$index(0, key);
  123650. if (_0_0 != null)
  123651. _0_0.addAll$1(0, inner);
  123652. else
  123653. t1.$indexSet(0, key, inner);
  123654. },
  123655. $signature() {
  123656. return this.K1._eval$1("@<0>")._bind$1(this.K2)._bind$1(this.V)._eval$1("~(1,Map<2,3>)");
  123657. }
  123658. };
  123659. A.CssValue0.prototype = {
  123660. $eq(_, other) {
  123661. if (other == null)
  123662. return false;
  123663. return this.$ti._is(other) && J.$eq$(other.value, this.value);
  123664. },
  123665. get$hashCode(_) {
  123666. return J.get$hashCode$(this.value);
  123667. },
  123668. toString$0(_) {
  123669. return J.toString$0$(this.value);
  123670. },
  123671. $isAstNode0: 1,
  123672. get$span(receiver) {
  123673. return this.span;
  123674. }
  123675. };
  123676. A.ValueExpression0.prototype = {
  123677. accept$1$1(visitor) {
  123678. return visitor.visitValueExpression$1(0, this);
  123679. },
  123680. accept$1(visitor) {
  123681. return this.accept$1$1(visitor, type$.dynamic);
  123682. },
  123683. toString$0(_) {
  123684. return this.value.toString$0(0);
  123685. },
  123686. get$span(receiver) {
  123687. return this.span;
  123688. }
  123689. };
  123690. A.valueClass_closure.prototype = {
  123691. call$0() {
  123692. var t2,
  123693. t1 = type$.JSClass,
  123694. jsClass = t1._as(self.Object.getPrototypeOf(J.get$$prototype$x(t1._as(B.C__SassNull0.constructor))).constructor);
  123695. A.JSClassExtension_setCustomInspect(jsClass, new A.valueClass__closure());
  123696. t1 = type$.String;
  123697. t2 = type$.Function;
  123698. 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));
  123699. A.LinkedHashMap_LinkedHashMap$_literal(["sassIndexToListIndex", new A.valueClass__closure5(), "get", new A.valueClass__closure6(), "assertBoolean", new A.valueClass__closure7(), "assertCalculation", new A.valueClass__closure8(), "assertColor", new A.valueClass__closure9(), "assertFunction", new A.valueClass__closure10(), "assertMap", new A.valueClass__closure11(), "assertMixin", new A.valueClass__closure12(), "assertNumber", new A.valueClass__closure13(), "assertString", new A.valueClass__closure14(), "tryMap", new A.valueClass__closure15(), "equals", new A.valueClass__closure16(), "hashCode", new A.valueClass__closure17(), "toString", new A.valueClass__closure18()], t1, t2).forEach$1(0, A.JSClassExtension_get_defineMethod(jsClass));
  123700. return jsClass;
  123701. },
  123702. $signature: 15
  123703. };
  123704. A.valueClass__closure.prototype = {
  123705. call$1($self) {
  123706. return J.toString$0$($self);
  123707. },
  123708. $signature: 132
  123709. };
  123710. A.valueClass__closure0.prototype = {
  123711. call$1($self) {
  123712. return new self.immutable.List($self.get$asList());
  123713. },
  123714. $signature: 618
  123715. };
  123716. A.valueClass__closure1.prototype = {
  123717. call$1($self) {
  123718. return $self.get$hasBrackets();
  123719. },
  123720. $signature: 54
  123721. };
  123722. A.valueClass__closure2.prototype = {
  123723. call$1($self) {
  123724. return $self.get$isTruthy();
  123725. },
  123726. $signature: 54
  123727. };
  123728. A.valueClass__closure3.prototype = {
  123729. call$1($self) {
  123730. return $self.get$realNull();
  123731. },
  123732. $signature: 240
  123733. };
  123734. A.valueClass__closure4.prototype = {
  123735. call$1($self) {
  123736. return $self.get$separator($self).separator;
  123737. },
  123738. $signature: 619
  123739. };
  123740. A.valueClass__closure5.prototype = {
  123741. call$3($self, sassIndex, $name) {
  123742. return $self.sassIndexToListIndex$2(sassIndex, $name);
  123743. },
  123744. call$2($self, sassIndex) {
  123745. return this.call$3($self, sassIndex, null);
  123746. },
  123747. "call*": "call$3",
  123748. $requiredArgCount: 2,
  123749. $defaultValues() {
  123750. return [null];
  123751. },
  123752. $signature: 620
  123753. };
  123754. A.valueClass__closure6.prototype = {
  123755. call$2($self, index) {
  123756. return index < 1 && index >= -1 ? $self : self.undefined;
  123757. },
  123758. $signature: 248
  123759. };
  123760. A.valueClass__closure7.prototype = {
  123761. call$2($self, $name) {
  123762. return $self.assertBoolean$1($name);
  123763. },
  123764. call$1($self) {
  123765. return this.call$2($self, null);
  123766. },
  123767. "call*": "call$2",
  123768. $requiredArgCount: 1,
  123769. $defaultValues() {
  123770. return [null];
  123771. },
  123772. $signature: 621
  123773. };
  123774. A.valueClass__closure8.prototype = {
  123775. call$2($self, $name) {
  123776. return $self.assertCalculation$1($name);
  123777. },
  123778. call$1($self) {
  123779. return this.call$2($self, null);
  123780. },
  123781. "call*": "call$2",
  123782. $requiredArgCount: 1,
  123783. $defaultValues() {
  123784. return [null];
  123785. },
  123786. $signature: 622
  123787. };
  123788. A.valueClass__closure9.prototype = {
  123789. call$2($self, $name) {
  123790. return $self.assertColor$1($name);
  123791. },
  123792. call$1($self) {
  123793. return this.call$2($self, null);
  123794. },
  123795. "call*": "call$2",
  123796. $requiredArgCount: 1,
  123797. $defaultValues() {
  123798. return [null];
  123799. },
  123800. $signature: 623
  123801. };
  123802. A.valueClass__closure10.prototype = {
  123803. call$2($self, $name) {
  123804. return $self.assertFunction$1($name);
  123805. },
  123806. call$1($self) {
  123807. return this.call$2($self, null);
  123808. },
  123809. "call*": "call$2",
  123810. $requiredArgCount: 1,
  123811. $defaultValues() {
  123812. return [null];
  123813. },
  123814. $signature: 624
  123815. };
  123816. A.valueClass__closure11.prototype = {
  123817. call$2($self, $name) {
  123818. return $self.assertMap$1($name);
  123819. },
  123820. call$1($self) {
  123821. return this.call$2($self, null);
  123822. },
  123823. "call*": "call$2",
  123824. $requiredArgCount: 1,
  123825. $defaultValues() {
  123826. return [null];
  123827. },
  123828. $signature: 625
  123829. };
  123830. A.valueClass__closure12.prototype = {
  123831. call$2($self, $name) {
  123832. return $self.assertMixin$1($name);
  123833. },
  123834. call$1($self) {
  123835. return this.call$2($self, null);
  123836. },
  123837. "call*": "call$2",
  123838. $requiredArgCount: 1,
  123839. $defaultValues() {
  123840. return [null];
  123841. },
  123842. $signature: 626
  123843. };
  123844. A.valueClass__closure13.prototype = {
  123845. call$2($self, $name) {
  123846. return $self.assertNumber$1($name);
  123847. },
  123848. call$1($self) {
  123849. return this.call$2($self, null);
  123850. },
  123851. "call*": "call$2",
  123852. $requiredArgCount: 1,
  123853. $defaultValues() {
  123854. return [null];
  123855. },
  123856. $signature: 627
  123857. };
  123858. A.valueClass__closure14.prototype = {
  123859. call$2($self, $name) {
  123860. return $self.assertString$1($name);
  123861. },
  123862. call$1($self) {
  123863. return this.call$2($self, null);
  123864. },
  123865. "call*": "call$2",
  123866. $requiredArgCount: 1,
  123867. $defaultValues() {
  123868. return [null];
  123869. },
  123870. $signature: 628
  123871. };
  123872. A.valueClass__closure15.prototype = {
  123873. call$1($self) {
  123874. return $self.tryMap$0();
  123875. },
  123876. $signature: 629
  123877. };
  123878. A.valueClass__closure16.prototype = {
  123879. call$2($self, other) {
  123880. return $self.$eq(0, other);
  123881. },
  123882. $signature: 630
  123883. };
  123884. A.valueClass__closure17.prototype = {
  123885. call$2($self, _) {
  123886. return $self.get$hashCode($self);
  123887. },
  123888. call$1($self) {
  123889. return this.call$2($self, null);
  123890. },
  123891. "call*": "call$2",
  123892. $requiredArgCount: 1,
  123893. $defaultValues() {
  123894. return [null];
  123895. },
  123896. $signature: 631
  123897. };
  123898. A.valueClass__closure18.prototype = {
  123899. call$1($self) {
  123900. return $self.toString$0(0);
  123901. },
  123902. $signature: 225
  123903. };
  123904. A.Value0.prototype = {
  123905. get$isTruthy() {
  123906. return true;
  123907. },
  123908. get$separator(_) {
  123909. return B.ListSeparator_undecided_null_undecided0;
  123910. },
  123911. get$hasBrackets() {
  123912. return false;
  123913. },
  123914. get$asList() {
  123915. return A._setArrayType([this], type$.JSArray_Value_2);
  123916. },
  123917. get$lengthAsList() {
  123918. return 1;
  123919. },
  123920. get$isBlank() {
  123921. return false;
  123922. },
  123923. get$isSpecialNumber() {
  123924. return false;
  123925. },
  123926. get$isVar() {
  123927. return false;
  123928. },
  123929. get$realNull() {
  123930. return this;
  123931. },
  123932. sassIndexToListIndex$2(sassIndex, $name) {
  123933. var t1, index,
  123934. indexValue = sassIndex.assertNumber$1($name);
  123935. if (indexValue.get$hasUnits()) {
  123936. t1 = indexValue.get$unitString();
  123937. A.warnForDeprecation0("$" + A.S($name) + ": Passing a number with unit " + t1 + string$.x20is_de + indexValue.unitSuggestion$1($name == null ? "index" : $name) + string$.x0a_Morex3af, B.Deprecation_vn5);
  123938. }
  123939. index = indexValue.assertInt$1($name);
  123940. if (index === 0)
  123941. throw A.wrapException(A.SassScriptException$0("List index may not be 0.", $name));
  123942. if (Math.abs(index) > this.get$lengthAsList())
  123943. throw A.wrapException(A.SassScriptException$0("Invalid index " + sassIndex.toString$0(0) + " for a list with " + this.get$lengthAsList() + " elements.", $name));
  123944. return index < 0 ? this.get$lengthAsList() + index : index - 1;
  123945. },
  123946. assertBoolean$1($name) {
  123947. return A.throwExpression(A.SassScriptException$0(this.toString$0(0) + " is not a boolean.", $name));
  123948. },
  123949. assertCalculation$1($name) {
  123950. return A.throwExpression(A.SassScriptException$0(this.toString$0(0) + " is not a calculation.", $name));
  123951. },
  123952. assertColor$1($name) {
  123953. return A.throwExpression(A.SassScriptException$0(this.toString$0(0) + " is not a color.", $name));
  123954. },
  123955. assertFunction$1($name) {
  123956. return A.throwExpression(A.SassScriptException$0(this.toString$0(0) + " is not a function reference.", $name));
  123957. },
  123958. assertMixin$1($name) {
  123959. return A.throwExpression(A.SassScriptException$0(this.toString$0(0) + " is not a mixin reference.", $name));
  123960. },
  123961. assertMap$1($name) {
  123962. return A.throwExpression(A.SassScriptException$0(this.toString$0(0) + " is not a map.", $name));
  123963. },
  123964. tryMap$0() {
  123965. return null;
  123966. },
  123967. assertNumber$1($name) {
  123968. return A.throwExpression(A.SassScriptException$0(this.toString$0(0) + " is not a number.", $name));
  123969. },
  123970. assertNumber$0() {
  123971. return this.assertNumber$1(null);
  123972. },
  123973. assertString$1($name) {
  123974. return A.throwExpression(A.SassScriptException$0(this.toString$0(0) + " is not a string.", $name));
  123975. },
  123976. assertCommonListStyle$2$allowSlash($name, allowSlash) {
  123977. var invalidSeparator, buffer, t1, _this = this,
  123978. _s8_ = "Expected";
  123979. if (_this.get$separator(_this) !== B.ListSeparator_qVN0)
  123980. invalidSeparator = !allowSlash && _this.get$separator(_this) === B.ListSeparator_bRz0;
  123981. else
  123982. invalidSeparator = true;
  123983. if (!invalidSeparator && !_this.get$hasBrackets())
  123984. return _this.get$asList();
  123985. buffer = new A.StringBuffer(_s8_);
  123986. if (_this.get$hasBrackets()) {
  123987. t1 = "Expected" + " an unbracketed";
  123988. buffer._contents = t1;
  123989. } else
  123990. t1 = _s8_;
  123991. if (invalidSeparator) {
  123992. t1 += _this.get$hasBrackets() ? "," : " a";
  123993. buffer._contents = t1;
  123994. t1 = buffer._contents = t1 + " space-";
  123995. t1 = buffer._contents = (allowSlash ? buffer._contents = t1 + " or slash-" : t1) + "separated";
  123996. }
  123997. buffer._contents = t1 + (" list, was " + _this.toString$0(0));
  123998. throw A.wrapException(A.SassScriptException$0(buffer.toString$0(0), $name));
  123999. },
  124000. _value$_selectorString$1($name) {
  124001. var _0_0 = this._value$_selectorStringOrNull$0();
  124002. if (_0_0 != null)
  124003. return _0_0;
  124004. throw A.wrapException(A.SassScriptException$0(this.toString$0(0) + string$.x20is_noav, $name));
  124005. },
  124006. _value$_selectorStringOrNull$0() {
  124007. var t1, t2, result, _1_0, _i, complex, string, compound, _this = this, _null = null;
  124008. if (_this instanceof A.SassString0)
  124009. return _this._string0$_text;
  124010. if (!(_this instanceof A.SassList0))
  124011. return _null;
  124012. t1 = _this._list1$_contents;
  124013. t2 = t1.length;
  124014. if (t2 === 0)
  124015. return _null;
  124016. result = A._setArrayType([], type$.JSArray_String);
  124017. $label0$1: {
  124018. _1_0 = _this._list1$_separator;
  124019. if (B.ListSeparator_qVN0 === _1_0) {
  124020. for (_i = 0; _i < t2; ++_i) {
  124021. complex = t1[_i];
  124022. if (complex instanceof A.SassString0) {
  124023. result.push(complex._string0$_text);
  124024. continue;
  124025. }
  124026. if (complex instanceof A.SassList0 && B.ListSeparator_qSL0 === complex._list1$_separator) {
  124027. string = complex._value$_selectorStringOrNull$0();
  124028. if (string == null)
  124029. return _null;
  124030. result.push(string);
  124031. continue;
  124032. }
  124033. return _null;
  124034. }
  124035. break $label0$1;
  124036. }
  124037. if (B.ListSeparator_bRz0 === _1_0)
  124038. return _null;
  124039. for (_i = 0; _i < t2; ++_i) {
  124040. compound = t1[_i];
  124041. if (!(compound instanceof A.SassString0))
  124042. return _null;
  124043. result.push(compound._string0$_text);
  124044. }
  124045. }
  124046. return B.JSArray_methods.join$1(result, _1_0 === B.ListSeparator_qVN0 ? ", " : " ");
  124047. },
  124048. withListContents$2$separator(contents, separator) {
  124049. var t1 = separator == null ? this.get$separator(this) : separator,
  124050. t2 = this.get$hasBrackets();
  124051. return A.SassList$0(contents, t1, t2);
  124052. },
  124053. withListContents$1(contents) {
  124054. return this.withListContents$2$separator(contents, null);
  124055. },
  124056. greaterThan$1(other) {
  124057. return A.throwExpression(A.SassScriptException$0('Undefined operation "' + this.toString$0(0) + " > " + other.toString$0(0) + '".', null));
  124058. },
  124059. greaterThanOrEquals$1(other) {
  124060. return A.throwExpression(A.SassScriptException$0('Undefined operation "' + this.toString$0(0) + " >= " + other.toString$0(0) + '".', null));
  124061. },
  124062. lessThan$1(other) {
  124063. return A.throwExpression(A.SassScriptException$0('Undefined operation "' + this.toString$0(0) + " < " + other.toString$0(0) + '".', null));
  124064. },
  124065. lessThanOrEquals$1(other) {
  124066. return A.throwExpression(A.SassScriptException$0('Undefined operation "' + this.toString$0(0) + " <= " + other.toString$0(0) + '".', null));
  124067. },
  124068. times$1(other) {
  124069. return A.throwExpression(A.SassScriptException$0('Undefined operation "' + this.toString$0(0) + " * " + other.toString$0(0) + '".', null));
  124070. },
  124071. modulo$1(other) {
  124072. return A.throwExpression(A.SassScriptException$0('Undefined operation "' + this.toString$0(0) + " % " + other.toString$0(0) + '".', null));
  124073. },
  124074. plus$1(other) {
  124075. var t1;
  124076. $label0$0: {
  124077. if (other instanceof A.SassString0) {
  124078. t1 = new A.SassString0(A.serializeValue0(this, false, true) + other._string0$_text, other._string0$_hasQuotes);
  124079. break $label0$0;
  124080. }
  124081. if (other instanceof A.SassCalculation0)
  124082. A.throwExpression(A.SassScriptException$0('Undefined operation "' + this.toString$0(0) + " + " + other.toString$0(0) + '".', null));
  124083. t1 = new A.SassString0(A.serializeValue0(this, false, true) + A.serializeValue0(other, false, true), false);
  124084. break $label0$0;
  124085. }
  124086. return t1;
  124087. },
  124088. minus$1(other) {
  124089. return other instanceof A.SassCalculation0 ? A.throwExpression(A.SassScriptException$0('Undefined operation "' + this.toString$0(0) + " - " + other.toString$0(0) + '".', null)) : new A.SassString0(A.serializeValue0(this, false, true) + "-" + A.serializeValue0(other, false, true), false);
  124090. },
  124091. dividedBy$1(other) {
  124092. return new A.SassString0(A.serializeValue0(this, false, true) + "/" + A.serializeValue0(other, false, true), false);
  124093. },
  124094. unaryPlus$0() {
  124095. return new A.SassString0("+" + A.serializeValue0(this, false, true), false);
  124096. },
  124097. unaryMinus$0() {
  124098. return new A.SassString0("-" + A.serializeValue0(this, false, true), false);
  124099. },
  124100. unaryNot$0() {
  124101. return B.SassBoolean_false0;
  124102. },
  124103. withoutSlash$0() {
  124104. return this;
  124105. },
  124106. toString$0(_) {
  124107. return A.serializeValue0(this, true, true);
  124108. }
  124109. };
  124110. A.VariableExpression0.prototype = {
  124111. accept$1$1(visitor) {
  124112. return visitor.visitVariableExpression$1(0, this);
  124113. },
  124114. accept$1(visitor) {
  124115. return this.accept$1$1(visitor, type$.dynamic);
  124116. },
  124117. toString$0(_) {
  124118. var t1 = this.span;
  124119. return A.String_String$fromCharCodes(B.NativeUint32List_methods.sublist$2(t1.file._decodedChars, t1._file$_start, t1._end), 0, null);
  124120. },
  124121. get$span(receiver) {
  124122. return this.span;
  124123. }
  124124. };
  124125. A.VariableDeclaration0.prototype = {
  124126. accept$1$1(visitor) {
  124127. return visitor.visitVariableDeclaration$1(0, this);
  124128. },
  124129. accept$1(visitor) {
  124130. return this.accept$1$1(visitor, type$.dynamic);
  124131. },
  124132. toString$0(_) {
  124133. var t1 = this.namespace;
  124134. t1 = t1 != null ? "" + (t1 + ".") : "";
  124135. t1 += "$" + this.name + ": " + this.expression.toString$0(0) + ";";
  124136. return t1.charCodeAt(0) == 0 ? t1 : t1;
  124137. },
  124138. get$span(receiver) {
  124139. return this.span;
  124140. }
  124141. };
  124142. A.WarnRule0.prototype = {
  124143. accept$1$1(visitor) {
  124144. return visitor.visitWarnRule$1(0, this);
  124145. },
  124146. accept$1(visitor) {
  124147. return this.accept$1$1(visitor, type$.dynamic);
  124148. },
  124149. toString$0(_) {
  124150. return "@warn " + this.expression.toString$0(0) + ";";
  124151. },
  124152. get$span(receiver) {
  124153. return this.span;
  124154. }
  124155. };
  124156. A.WhileRule0.prototype = {
  124157. accept$1$1(visitor) {
  124158. return visitor.visitWhileRule$1(0, this);
  124159. },
  124160. accept$1(visitor) {
  124161. return this.accept$1$1(visitor, type$.dynamic);
  124162. },
  124163. toString$0(_) {
  124164. var t1 = this.children;
  124165. return "@while " + this.condition.toString$0(0) + " {" + (t1 && B.JSArray_methods).join$1(t1, " ") + "}";
  124166. },
  124167. get$span(receiver) {
  124168. return this.span;
  124169. }
  124170. };
  124171. A.XyzD50ColorSpace0.prototype = {
  124172. get$isBoundedInternal() {
  124173. return false;
  124174. },
  124175. convert$10$missingA$missingB$missingChroma$missingHue$missingLightness(dest, x, y, z, alpha, missingA, missingB, missingChroma, missingHue, missingLightness) {
  124176. var f0, f1, f2, lightness, a, b, t1, _this = this, _null = null;
  124177. if (B.LabColorSpace_2nT0 === dest || B.LchColorSpace_Bpv0 === dest) {
  124178. f0 = _this._xyz_d50$_convertComponentToLabF$1((x == null ? 0 : x) / 0.9642956764295677);
  124179. f1 = _this._xyz_d50$_convertComponentToLabF$1((y == null ? 0 : y) / 1);
  124180. f2 = _this._xyz_d50$_convertComponentToLabF$1((z == null ? 0 : z) / 0.8251046025104602);
  124181. lightness = missingLightness ? _null : 116 * f1 - 16;
  124182. a = 500 * (f0 - f1);
  124183. b = 200 * (f1 - f2);
  124184. if (dest === B.LabColorSpace_2nT0) {
  124185. t1 = missingA ? _null : a;
  124186. t1 = A.SassColor$_forSpace0(B.LabColorSpace_2nT0, lightness, t1, missingB ? _null : b, alpha, _null);
  124187. } else
  124188. t1 = A.labToLch0(B.LchColorSpace_Bpv0, lightness, a, b, alpha, missingChroma, missingHue);
  124189. return t1;
  124190. }
  124191. return _this.super$ColorSpace$convertLinear0(dest, x, y, z, alpha, missingA, missingB, missingChroma, missingHue, missingLightness);
  124192. },
  124193. convert$5(dest, x, y, z, alpha) {
  124194. return this.convert$10$missingA$missingB$missingChroma$missingHue$missingLightness(dest, x, y, z, alpha, false, false, false, false, false);
  124195. },
  124196. _xyz_d50$_convertComponentToLabF$1(component) {
  124197. return component > 0.008856451679035631 ? Math.pow(component, 0.3333333333333333) + 0 : (903.2962962962963 * component + 16) / 116;
  124198. },
  124199. toLinear$1(channel) {
  124200. return channel;
  124201. },
  124202. fromLinear$1(channel) {
  124203. return channel;
  124204. },
  124205. transformationMatrix$1(dest) {
  124206. var t1;
  124207. $label0$0: {
  124208. if (B.SrgbLinearColorSpace_kUj0 === dest || B.SrgbColorSpace_thf0 === dest || B.RgbColorSpace_i0P0 === dest) {
  124209. t1 = $.$get$xyzD50ToLinearSrgb0();
  124210. break $label0$0;
  124211. }
  124212. if (B.A98RgbColorSpace_lf20 === dest) {
  124213. t1 = $.$get$xyzD50ToLinearA98Rgb0();
  124214. break $label0$0;
  124215. }
  124216. if (B.ProphotoRgbColorSpace_BDz0 === dest) {
  124217. t1 = $.$get$xyzD50ToLinearProphotoRgb0();
  124218. break $label0$0;
  124219. }
  124220. if (B.DisplayP3ColorSpace_MmT0 === dest) {
  124221. t1 = $.$get$xyzD50ToLinearDisplayP30();
  124222. break $label0$0;
  124223. }
  124224. if (B.Rec2020ColorSpace_6oo0 === dest) {
  124225. t1 = $.$get$xyzD50ToLinearRec20200();
  124226. break $label0$0;
  124227. }
  124228. if (B.XyzD65ColorSpace_WiJ0 === dest) {
  124229. t1 = $.$get$xyzD50ToXyzD650();
  124230. break $label0$0;
  124231. }
  124232. if (B.LmsColorSpace_Os30 === dest) {
  124233. t1 = $.$get$xyzD50ToLms0();
  124234. break $label0$0;
  124235. }
  124236. t1 = this.super$ColorSpace$transformationMatrix0(dest);
  124237. break $label0$0;
  124238. }
  124239. return t1;
  124240. }
  124241. };
  124242. A.XyzD65ColorSpace0.prototype = {
  124243. get$isBoundedInternal() {
  124244. return false;
  124245. },
  124246. toLinear$1(channel) {
  124247. return channel;
  124248. },
  124249. fromLinear$1(channel) {
  124250. return channel;
  124251. },
  124252. transformationMatrix$1(dest) {
  124253. var t1;
  124254. $label0$0: {
  124255. if (B.SrgbLinearColorSpace_kUj0 === dest || B.SrgbColorSpace_thf0 === dest || B.RgbColorSpace_i0P0 === dest) {
  124256. t1 = $.$get$xyzD65ToLinearSrgb0();
  124257. break $label0$0;
  124258. }
  124259. if (B.A98RgbColorSpace_lf20 === dest) {
  124260. t1 = $.$get$xyzD65ToLinearA98Rgb0();
  124261. break $label0$0;
  124262. }
  124263. if (B.ProphotoRgbColorSpace_BDz0 === dest) {
  124264. t1 = $.$get$xyzD65ToLinearProphotoRgb0();
  124265. break $label0$0;
  124266. }
  124267. if (B.DisplayP3ColorSpace_MmT0 === dest) {
  124268. t1 = $.$get$xyzD65ToLinearDisplayP30();
  124269. break $label0$0;
  124270. }
  124271. if (B.Rec2020ColorSpace_6oo0 === dest) {
  124272. t1 = $.$get$xyzD65ToLinearRec20200();
  124273. break $label0$0;
  124274. }
  124275. if (B.XyzD50ColorSpace_2OB0 === dest) {
  124276. t1 = $.$get$xyzD65ToXyzD500();
  124277. break $label0$0;
  124278. }
  124279. if (B.LmsColorSpace_Os30 === dest) {
  124280. t1 = $.$get$xyzD65ToLms0();
  124281. break $label0$0;
  124282. }
  124283. t1 = this.super$ColorSpace$transformationMatrix0(dest);
  124284. break $label0$0;
  124285. }
  124286. return t1;
  124287. }
  124288. };
  124289. (function aliases() {
  124290. var _ = J.LegacyJavaScriptObject.prototype;
  124291. _.super$LegacyJavaScriptObject$toString = _.toString$0;
  124292. _ = A.JsLinkedHashMap.prototype;
  124293. _.super$JsLinkedHashMap$internalContainsKey = _.internalContainsKey$1;
  124294. _.super$JsLinkedHashMap$internalGet = _.internalGet$1;
  124295. _.super$JsLinkedHashMap$internalSet = _.internalSet$2;
  124296. _.super$JsLinkedHashMap$internalRemove = _.internalRemove$1;
  124297. _ = A._BufferingStreamSubscription.prototype;
  124298. _.super$_BufferingStreamSubscription$_add = _._async$_add$1;
  124299. _.super$_BufferingStreamSubscription$_addError = _._addError$2;
  124300. _ = A.ListBase.prototype;
  124301. _.super$ListBase$setRange = _.setRange$4;
  124302. _ = A.Iterable.prototype;
  124303. _.super$Iterable$where = _.where$1;
  124304. _.super$Iterable$skipWhile = _.skipWhile$1;
  124305. _ = A.ModifiableCssParentNode.prototype;
  124306. _.super$ModifiableCssParentNode$addChild = _.addChild$1;
  124307. _ = A.SimpleSelector.prototype;
  124308. _.super$SimpleSelector$addSuffix = _.addSuffix$1;
  124309. _.super$SimpleSelector$unify = _.unify$1;
  124310. _.super$SimpleSelector$isSuperselector = _.isSuperselector$1;
  124311. _ = A.Parser.prototype;
  124312. _.super$Parser$silentComment = _.silentComment$0;
  124313. _ = A.StylesheetParser.prototype;
  124314. _.super$StylesheetParser$importArgument = _.importArgument$0;
  124315. _.super$StylesheetParser$namespacedExpression = _.namespacedExpression$2;
  124316. _ = A.Value.prototype;
  124317. _.super$Value$assertMap = _.assertMap$1;
  124318. _.super$Value$plus = _.plus$1;
  124319. _.super$Value$minus = _.minus$1;
  124320. _.super$Value$dividedBy = _.dividedBy$1;
  124321. _.super$Value$toString = _.toString$0;
  124322. _ = A.ColorSpace.prototype;
  124323. _.super$ColorSpace$convert = _.convert$5;
  124324. _.super$ColorSpace$convertLinear = _.convertLinear$10$missingA$missingB$missingChroma$missingHue$missingLightness;
  124325. _.super$ColorSpace$transformationMatrix = _.transformationMatrix$1;
  124326. _ = A.SassNumber.prototype;
  124327. _.super$SassNumber$convertValueToMatch = _.convertValueToMatch$3;
  124328. _.super$SassNumber$coerce = _.coerce$3;
  124329. _.super$SassNumber$coerceValue = _.coerceValue$3;
  124330. _.super$SassNumber$coerceValueToUnit = _.coerceValueToUnit$2;
  124331. _.super$SassNumber$coerceToMatch = _.coerceToMatch$3;
  124332. _.super$SassNumber$coerceValueToMatch = _.coerceValueToMatch$3;
  124333. _.super$SassNumber$greaterThan = _.greaterThan$1;
  124334. _.super$SassNumber$greaterThanOrEquals = _.greaterThanOrEquals$1;
  124335. _.super$SassNumber$lessThan = _.lessThan$1;
  124336. _.super$SassNumber$lessThanOrEquals = _.lessThanOrEquals$1;
  124337. _.super$SassNumber$modulo = _.modulo$1;
  124338. _.super$SassNumber$plus = _.plus$1;
  124339. _.super$SassNumber$minus = _.minus$1;
  124340. _.super$SassNumber$times = _.times$1;
  124341. _.super$SassNumber$dividedBy = _.dividedBy$1;
  124342. _ = A.AnySelectorVisitor.prototype;
  124343. _.super$AnySelectorVisitor$visitComplexSelector = _.visitComplexSelector$1;
  124344. _ = A.EveryCssVisitor.prototype;
  124345. _.super$EveryCssVisitor$visitCssStyleRule = _.visitCssStyleRule$1;
  124346. _ = A.ReplaceExpressionVisitor.prototype;
  124347. _.super$ReplaceExpressionVisitor$visitBinaryOperationExpression = _.visitBinaryOperationExpression$1;
  124348. _.super$ReplaceExpressionVisitor$visitUnaryOperationExpression = _.visitUnaryOperationExpression$1;
  124349. _ = A.SourceSpanMixin.prototype;
  124350. _.super$SourceSpanMixin$compareTo = _.compareTo$1;
  124351. _.super$SourceSpanMixin$$eq = _.$eq;
  124352. _ = A.StringScanner.prototype;
  124353. _.super$StringScanner$readChar = _.readChar$0;
  124354. _.super$StringScanner$scanChar = _.scanChar$1;
  124355. _.super$StringScanner$scan = _.scan$1;
  124356. _.super$StringScanner$matches = _.matches$1;
  124357. _ = A.AnySelectorVisitor0.prototype;
  124358. _.super$AnySelectorVisitor$visitComplexSelector0 = _.visitComplexSelector$1;
  124359. _ = A.EveryCssVisitor0.prototype;
  124360. _.super$EveryCssVisitor$visitCssStyleRule0 = _.visitCssStyleRule$1;
  124361. _ = A.ModifiableCssParentNode0.prototype;
  124362. _.super$ModifiableCssParentNode$addChild0 = _.addChild$1;
  124363. _ = A.SassNumber0.prototype;
  124364. _.super$SassNumber$convertToMatch = _.convertToMatch$3;
  124365. _.super$SassNumber$convertValueToMatch0 = _.convertValueToMatch$3;
  124366. _.super$SassNumber$coerce0 = _.coerce$3;
  124367. _.super$SassNumber$coerceValue0 = _.coerceValue$3;
  124368. _.super$SassNumber$coerceValueToUnit0 = _.coerceValueToUnit$2;
  124369. _.super$SassNumber$coerceToMatch0 = _.coerceToMatch$3;
  124370. _.super$SassNumber$coerceValueToMatch0 = _.coerceValueToMatch$3;
  124371. _.super$SassNumber$greaterThan0 = _.greaterThan$1;
  124372. _.super$SassNumber$greaterThanOrEquals0 = _.greaterThanOrEquals$1;
  124373. _.super$SassNumber$lessThan0 = _.lessThan$1;
  124374. _.super$SassNumber$lessThanOrEquals0 = _.lessThanOrEquals$1;
  124375. _.super$SassNumber$modulo0 = _.modulo$1;
  124376. _.super$SassNumber$plus0 = _.plus$1;
  124377. _.super$SassNumber$minus0 = _.minus$1;
  124378. _.super$SassNumber$times0 = _.times$1;
  124379. _.super$SassNumber$dividedBy0 = _.dividedBy$1;
  124380. _ = A.Parser1.prototype;
  124381. _.super$Parser$silentComment0 = _.silentComment$0;
  124382. _ = A.ReplaceExpressionVisitor0.prototype;
  124383. _.super$ReplaceExpressionVisitor$visitBinaryOperationExpression0 = _.visitBinaryOperationExpression$1;
  124384. _.super$ReplaceExpressionVisitor$visitUnaryOperationExpression0 = _.visitUnaryOperationExpression$1;
  124385. _ = A.SimpleSelector0.prototype;
  124386. _.super$SimpleSelector$addSuffix0 = _.addSuffix$1;
  124387. _.super$SimpleSelector$unify0 = _.unify$1;
  124388. _.super$SimpleSelector$isSuperselector0 = _.isSuperselector$1;
  124389. _ = A.ColorSpace0.prototype;
  124390. _.super$ColorSpace$convert0 = _.convert$5;
  124391. _.super$ColorSpace$convertLinear0 = _.convertLinear$10$missingA$missingB$missingChroma$missingHue$missingLightness;
  124392. _.super$ColorSpace$transformationMatrix0 = _.transformationMatrix$1;
  124393. _ = A.StylesheetParser0.prototype;
  124394. _.super$StylesheetParser$importArgument0 = _.importArgument$0;
  124395. _.super$StylesheetParser$namespacedExpression0 = _.namespacedExpression$2;
  124396. _ = A.Value0.prototype;
  124397. _.super$Value$assertMap0 = _.assertMap$1;
  124398. _.super$Value$plus0 = _.plus$1;
  124399. _.super$Value$minus0 = _.minus$1;
  124400. _.super$Value$dividedBy0 = _.dividedBy$1;
  124401. _.super$Value$toString0 = _.toString$0;
  124402. })();
  124403. (function installTearOffs() {
  124404. var _static_2 = hunkHelpers._static_2,
  124405. _instance_1_i = hunkHelpers._instance_1i,
  124406. _instance_1_u = hunkHelpers._instance_1u,
  124407. _static_1 = hunkHelpers._static_1,
  124408. _static_0 = hunkHelpers._static_0,
  124409. _static = hunkHelpers.installStaticTearOff,
  124410. _instance = hunkHelpers.installInstanceTearOff,
  124411. _instance_2_u = hunkHelpers._instance_2u,
  124412. _instance_0_i = hunkHelpers._instance_0i,
  124413. _instance_0_u = hunkHelpers._instance_0u;
  124414. _static_2(J, "_interceptors_JSArray__compareAny$closure", "JSArray__compareAny", 269);
  124415. _instance_1_i(J.JSArray.prototype, "get$contains", "contains$1", 9);
  124416. _instance_1_i(A._CastIterableBase.prototype, "get$contains", "contains$1", 9);
  124417. _instance_1_u(A.CastMap.prototype, "get$containsKey", "containsKey$1", 9);
  124418. _instance_1_u(A.ConstantStringMap.prototype, "get$containsKey", "containsKey$1", 9);
  124419. _instance_1_i(A.ConstantStringSet.prototype, "get$contains", "contains$1", 9);
  124420. _instance_1_i(A.GeneralConstantSet.prototype, "get$contains", "contains$1", 9);
  124421. _instance_1_u(A.JsLinkedHashMap.prototype, "get$containsKey", "containsKey$1", 9);
  124422. _static_1(A, "async__AsyncRun__scheduleImmediateJsOverride$closure", "_AsyncRun__scheduleImmediateJsOverride", 137);
  124423. _static_1(A, "async__AsyncRun__scheduleImmediateWithSetImmediate$closure", "_AsyncRun__scheduleImmediateWithSetImmediate", 137);
  124424. _static_1(A, "async__AsyncRun__scheduleImmediateWithTimer$closure", "_AsyncRun__scheduleImmediateWithTimer", 137);
  124425. _static_0(A, "async___startMicrotaskLoop$closure", "_startMicrotaskLoop", 0);
  124426. _static_1(A, "async___nullDataHandler$closure", "_nullDataHandler", 71);
  124427. _static_2(A, "async___nullErrorHandler$closure", "_nullErrorHandler", 75);
  124428. _static_0(A, "async___nullDoneHandler$closure", "_nullDoneHandler", 0);
  124429. _static(A, "async___rootHandleUncaughtError$closure", 5, null, ["call$5"], ["_rootHandleUncaughtError"], 634, 0);
  124430. _static(A, "async___rootRun$closure", 4, null, ["call$1$4", "call$4"], ["_rootRun", function($self, $parent, zone, f) {
  124431. f.toString;
  124432. return A._rootRun($self, $parent, zone, f, type$.dynamic);
  124433. }], 635, 1);
  124434. _static(A, "async___rootRunUnary$closure", 5, null, ["call$2$5", "call$5"], ["_rootRunUnary", function($self, $parent, zone, f, arg) {
  124435. var t1 = type$.dynamic;
  124436. f.toString;
  124437. return A._rootRunUnary($self, $parent, zone, f, arg, t1, t1);
  124438. }], 636, 1);
  124439. _static(A, "async___rootRunBinary$closure", 6, null, ["call$3$6", "call$6"], ["_rootRunBinary", function($self, $parent, zone, f, arg1, arg2) {
  124440. var t1 = type$.dynamic;
  124441. f.toString;
  124442. return A._rootRunBinary($self, $parent, zone, f, arg1, arg2, t1, t1, t1);
  124443. }], 637, 1);
  124444. _static(A, "async___rootRegisterCallback$closure", 4, null, ["call$1$4", "call$4"], ["_rootRegisterCallback", function($self, $parent, zone, f) {
  124445. f.toString;
  124446. return A._rootRegisterCallback($self, $parent, zone, f, type$.dynamic);
  124447. }], 638, 0);
  124448. _static(A, "async___rootRegisterUnaryCallback$closure", 4, null, ["call$2$4", "call$4"], ["_rootRegisterUnaryCallback", function($self, $parent, zone, f) {
  124449. var t1 = type$.dynamic;
  124450. f.toString;
  124451. return A._rootRegisterUnaryCallback($self, $parent, zone, f, t1, t1);
  124452. }], 639, 0);
  124453. _static(A, "async___rootRegisterBinaryCallback$closure", 4, null, ["call$3$4", "call$4"], ["_rootRegisterBinaryCallback", function($self, $parent, zone, f) {
  124454. var t1 = type$.dynamic;
  124455. f.toString;
  124456. return A._rootRegisterBinaryCallback($self, $parent, zone, f, t1, t1, t1);
  124457. }], 640, 0);
  124458. _static(A, "async___rootErrorCallback$closure", 5, null, ["call$5"], ["_rootErrorCallback"], 641, 0);
  124459. _static(A, "async___rootScheduleMicrotask$closure", 4, null, ["call$4"], ["_rootScheduleMicrotask"], 642, 0);
  124460. _static(A, "async___rootCreateTimer$closure", 5, null, ["call$5"], ["_rootCreateTimer"], 643, 0);
  124461. _static(A, "async___rootCreatePeriodicTimer$closure", 5, null, ["call$5"], ["_rootCreatePeriodicTimer"], 644, 0);
  124462. _static(A, "async___rootPrint$closure", 4, null, ["call$4"], ["_rootPrint"], 645, 0);
  124463. _static_1(A, "async___printToZone$closure", "_printToZone", 111);
  124464. _static(A, "async___rootFork$closure", 5, null, ["call$5"], ["_rootFork"], 646, 0);
  124465. _instance(A._AsyncCompleter.prototype, "get$complete", 0, 0, function() {
  124466. return [null];
  124467. }, ["call$1", "call$0"], ["complete$1", "complete$0"], 217, 0, 0);
  124468. _instance_2_u(A._Future.prototype, "get$_completeError", "_completeError$2", 75);
  124469. var _;
  124470. _instance_1_i(_ = A._StreamController.prototype, "get$add", "add$1", 34);
  124471. _instance(_, "get$addError", 0, 1, function() {
  124472. return [null];
  124473. }, ["call$2", "call$1"], ["addError$2", "addError$1"], 145, 0, 0);
  124474. _instance_0_i(_, "get$close", "close$0", 322);
  124475. _instance_1_u(_, "get$_async$_add", "_async$_add$1", 34);
  124476. _instance_2_u(_, "get$_addError", "_addError$2", 75);
  124477. _instance_0_u(_, "get$_close", "_close$0", 0);
  124478. _instance_0_u(_ = A._ControllerSubscription.prototype, "get$_async$_onPause", "_async$_onPause$0", 0);
  124479. _instance_0_u(_, "get$_async$_onResume", "_async$_onResume$0", 0);
  124480. _instance(_ = A._BufferingStreamSubscription.prototype, "get$pause", 1, 0, null, ["call$1", "call$0"], ["pause$1", "pause$0"], 304, 0, 0);
  124481. _instance_0_i(_, "get$resume", "resume$0", 0);
  124482. _instance_0_u(_, "get$_async$_onPause", "_async$_onPause$0", 0);
  124483. _instance_0_u(_, "get$_async$_onResume", "_async$_onResume$0", 0);
  124484. _instance_1_u(_ = A._StreamIterator.prototype, "get$_onData", "_onData$1", 34);
  124485. _instance_2_u(_, "get$_onError", "_onError$2", 75);
  124486. _instance_0_u(_, "get$_onDone", "_onDone$0", 0);
  124487. _instance_0_u(_ = A._ForwardingStreamSubscription.prototype, "get$_async$_onPause", "_async$_onPause$0", 0);
  124488. _instance_0_u(_, "get$_async$_onResume", "_async$_onResume$0", 0);
  124489. _instance_1_u(_, "get$_handleData", "_handleData$1", 34);
  124490. _instance_2_u(_, "get$_handleError", "_handleError$2", 345);
  124491. _instance_0_u(_, "get$_handleDone", "_handleDone$0", 0);
  124492. _static_2(A, "collection___defaultEquals$closure", "_defaultEquals", 270);
  124493. _static_1(A, "collection___defaultHashCode$closure", "_defaultHashCode", 227);
  124494. _static_2(A, "collection_ListBase__compareAny$closure", "ListBase__compareAny", 269);
  124495. _instance_1_u(A._HashMap.prototype, "get$containsKey", "containsKey$1", 9);
  124496. _instance_1_u(A._LinkedCustomHashMap.prototype, "get$containsKey", "containsKey$1", 9);
  124497. _instance(_ = A._LinkedHashSet.prototype, "get$_newSimilarSet", 0, 0, null, ["call$1$0", "call$0"], ["_newSimilarSet$1$0", "_newSimilarSet$0"], 159, 0, 0);
  124498. _instance_1_i(_, "get$contains", "contains$1", 9);
  124499. _instance_1_i(_, "get$add", "add$1", 9);
  124500. _instance(A._LinkedIdentityHashSet.prototype, "get$_newSimilarSet", 0, 0, null, ["call$1$0", "call$0"], ["_newSimilarSet$1$0", "_newSimilarSet$0"], 159, 0, 0);
  124501. _instance_1_u(A.MapBase.prototype, "get$containsKey", "containsKey$1", 9);
  124502. _instance_1_u(A.MapView.prototype, "get$containsKey", "containsKey$1", 9);
  124503. _instance_1_i(A.UnmodifiableSetView.prototype, "get$contains", "contains$1", 9);
  124504. _static_1(A, "convert___defaultToEncodable$closure", "_defaultToEncodable", 90);
  124505. _instance_1_u(A._JsonMap.prototype, "get$containsKey", "containsKey$1", 9);
  124506. _static_1(A, "core__identityHashCode$closure", "identityHashCode", 227);
  124507. _static_2(A, "core__identical$closure", "identical", 270);
  124508. _static_1(A, "core_Uri_decodeComponent$closure", "Uri_decodeComponent", 6);
  124509. _instance_1_i(A.Iterable.prototype, "get$contains", "contains$1", 9);
  124510. _instance_1_i(A.StringBuffer.prototype, "get$write", "write$1", 34);
  124511. _static(A, "math0__max$closure", 2, null, ["call$1$2", "call$2"], ["max", function(a, b) {
  124512. a.toString;
  124513. b.toString;
  124514. return A.max(a, b, type$.num);
  124515. }], 649, 1);
  124516. _instance_1_u(A.ArgResults.prototype, "get$wasParsed", "wasParsed$1", 5);
  124517. _instance_1_u(_ = A.StreamCompleter.prototype, "get$setSourceStream", "setSourceStream$1", 34);
  124518. _instance(_, "get$setError", 0, 1, function() {
  124519. return [null];
  124520. }, ["call$2", "call$1"], ["setError$2", "setError$1"], 145, 0, 0);
  124521. _instance_0_u(_ = A.StreamGroup.prototype, "get$_onListen", "_onListen$0", 0);
  124522. _instance_0_u(_, "get$_onPause", "_onPause$0", 0);
  124523. _instance_0_u(_, "get$_onResume", "_onResume$0", 0);
  124524. _instance_0_u(_, "get$_onCancel", "_onCancel$0", 224);
  124525. _instance_0_i(A.ReplAdapter.prototype, "get$exit", "exit$0", 0);
  124526. _instance_1_i(A.EmptyUnmodifiableSet.prototype, "get$contains", "contains$1", 9);
  124527. _instance_1_i(A.UnionSet.prototype, "get$contains", "contains$1", 9);
  124528. _instance_1_i(A._DelegatingIterableBase.prototype, "get$contains", "contains$1", 9);
  124529. _instance_1_i(A.MapKeySet.prototype, "get$contains", "contains$1", 9);
  124530. _static_1(A, "version_Version___parse_tearOff$closure", "Version___parse_tearOff", 233);
  124531. _instance_1_u(A.VersionRange.prototype, "get$allows", "allows$1", 633);
  124532. _instance_1_u(A._IsInvisibleVisitor0.prototype, "get$visitComplexSelector", "visitComplexSelector$1", 20);
  124533. _instance_1_u(A._IsBogusVisitor.prototype, "get$visitComplexSelector", "visitComplexSelector$1", 20);
  124534. _instance_1_u(A._IsUselessVisitor.prototype, "get$visitComplexSelector", "visitComplexSelector$1", 20);
  124535. _instance_1_u(A.SelectorList.prototype, "get$isSuperselector", "isSuperselector$1", 73);
  124536. _instance_1_u(A.PseudoSelector.prototype, "get$isSuperselector", "isSuperselector$1", 13);
  124537. _instance_1_u(A.SimpleSelector.prototype, "get$isSuperselector", "isSuperselector$1", 13);
  124538. _instance_1_u(A.TypeSelector.prototype, "get$isSuperselector", "isSuperselector$1", 13);
  124539. _instance_1_u(A.UniversalSelector.prototype, "get$isSuperselector", "isSuperselector$1", 13);
  124540. _instance_1_u(A.EmptyExtensionStore.prototype, "get$addExtensions", "addExtensions$1", 208);
  124541. _instance_1_u(A.ExtensionStore.prototype, "get$addExtensions", "addExtensions$1", 208);
  124542. _static_1(A, "functions___isUnique$closure", "_isUnique", 13);
  124543. _instance_2_u(A.NodePackageImporter.prototype, "get$_compareExpansionKeys", "_compareExpansionKeys$2", 146);
  124544. _instance_0_u(A.CssParser.prototype, "get$silentComment", "silentComment$0", 19);
  124545. _instance_0_u(_ = A.Parser.prototype, "get$silentComment", "silentComment$0", 19);
  124546. _instance_0_u(_, "get$loudComment", "loudComment$0", 0);
  124547. _instance_0_u(_, "get$string", "string$0", 26);
  124548. _instance(_, "get$error", 1, 2, function() {
  124549. return [null];
  124550. }, ["call$3", "call$2"], ["error$3", "error$2"], 158, 0, 0);
  124551. _instance(_ = A.StylesheetParser.prototype, "get$_statement", 0, 0, null, ["call$1$root", "call$0"], ["_statement$1$root", "_statement$0"], 459, 0, 0);
  124552. _instance_0_u(_, "get$_declarationChild", "_declarationChild$0", 121);
  124553. _instance_0_u(_, "get$_functionChild", "_functionChild$0", 121);
  124554. _instance(_, "get$_expression", 0, 0, null, ["call$4$bracketList$consumeNewlines$singleEquals$until", "call$0", "call$1$consumeNewlines", "call$3$consumeNewlines$singleEquals$until", "call$1$bracketList", "call$2$consumeNewlines$until"], ["_expression$4$bracketList$consumeNewlines$singleEquals$until", "_expression$0", "_expression$1$consumeNewlines", "_expression$3$consumeNewlines$singleEquals$until", "_expression$1$bracketList", "_expression$2$consumeNewlines$until"], 480, 0, 0);
  124555. _instance_0_u(_, "get$_number", "_number$0", 522);
  124556. _instance(A.LazyFileSpan.prototype, "get$message", 1, 1, function() {
  124557. return {color: null};
  124558. }, ["call$2$color", "call$1"], ["message$2$color", "message$1"], 120, 0, 0);
  124559. _instance_1_u(A.LimitedMapView.prototype, "get$containsKey", "containsKey$1", 9);
  124560. _instance_1_u(A.MergedMapView.prototype, "get$containsKey", "containsKey$1", 9);
  124561. _instance(A.MultiSpan.prototype, "get$message", 1, 1, function() {
  124562. return {color: null};
  124563. }, ["call$2$color", "call$1"], ["message$2$color", "message$1"], 163, 0, 0);
  124564. _instance_1_i(A.NoSourceMapBuffer.prototype, "get$write", "write$1", 34);
  124565. _instance_1_u(A.PrefixedMapView.prototype, "get$containsKey", "containsKey$1", 9);
  124566. _instance_1_u(A.PublicMemberMapView.prototype, "get$containsKey", "containsKey$1", 9);
  124567. _instance_1_i(A.SourceMapBuffer.prototype, "get$write", "write$1", 34);
  124568. _instance_1_u(A.UnprefixedMapView.prototype, "get$containsKey", "containsKey$1", 9);
  124569. _static_1(A, "utils__isPublic$closure", "isPublic", 5);
  124570. _static_1(A, "calculation_SassCalculation__simplify$closure", "SassCalculation__simplify", 79);
  124571. _instance_1_u(A.ColorChannel.prototype, "get$isAnalogous", "isAnalogous$1", 108);
  124572. _instance_1_u(A.SrgbColorSpace.prototype, "get$toLinear", "toLinear$1", 16);
  124573. _instance_1_u(A.AnySelectorVisitor.prototype, "get$visitComplexSelector", "visitComplexSelector$1", 20);
  124574. _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"], 339, 0, 0);
  124575. _instance_1_u(_, "get$_async_evaluate$_expressionNode", "_async_evaluate$_expressionNode$1", 166);
  124576. _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"], 541, 0, 0);
  124577. _instance_1_u(_, "get$_expressionNode", "_expressionNode$1", 166);
  124578. _instance_1_i(_ = A.RecursiveStatementVisitor.prototype, "get$visitContentBlock", "visitContentBlock$1", 651);
  124579. _instance_1_u(_, "get$visitChildren", "visitChildren$1", 273);
  124580. _instance_1_u(_ = A.SelectorSearchVisitor.prototype, "get$visitComplexSelector", "visitComplexSelector$1", "SelectorSearchVisitor.T?(ComplexSelector)");
  124581. _instance_1_u(_, "get$visitSelectorList", "visitSelectorList$1", "SelectorSearchVisitor.T?(SelectorList)");
  124582. _instance_1_u(_ = A._SerializeVisitor.prototype, "get$_visitMediaQuery", "_visitMediaQuery$1", 276);
  124583. _instance_1_u(_, "get$_specificities", "_specificities$1", 277);
  124584. _instance_1_u(_, "get$_writeCalculationValue", "_writeCalculationValue$1", 95);
  124585. _instance(_, "get$_writeChannel", 0, 1, null, ["call$2", "call$1"], ["_writeChannel$2", "_writeChannel$1"], 191, 0, 0);
  124586. _instance_1_u(_, "get$visitSelectorList", "visitSelectorList$1", 279);
  124587. _instance_1_u(_, "get$_requiresSemicolon", "_requiresSemicolon$1", 8);
  124588. _instance_1_i(_ = A.StatementSearchVisitor.prototype, "get$visitContentBlock", "visitContentBlock$1", "StatementSearchVisitor.T?(ContentBlock)");
  124589. _instance_1_u(_, "get$visitChildren", "visitChildren$1", "StatementSearchVisitor.T?(List<Statement>)");
  124590. _instance(A.SourceSpanMixin.prototype, "get$message", 1, 1, function() {
  124591. return {color: null};
  124592. }, ["call$2$color", "call$1"], ["message$2$color", "message$1"], 120, 0, 0);
  124593. _static_1(A, "frame_Frame___parseVM_tearOff$closure", "Frame___parseVM_tearOff", 92);
  124594. _static_1(A, "frame_Frame___parseV8_tearOff$closure", "Frame___parseV8_tearOff", 92);
  124595. _static_1(A, "frame_Frame___parseFirefox_tearOff$closure", "Frame___parseFirefox_tearOff", 92);
  124596. _static_1(A, "frame_Frame___parseFriendly_tearOff$closure", "Frame___parseFriendly_tearOff", 92);
  124597. _static_1(A, "trace_Trace___parseVM_tearOff$closure", "Trace___parseVM_tearOff", 185);
  124598. _static_1(A, "trace_Trace___parseFriendly_tearOff$closure", "Trace___parseFriendly_tearOff", 185);
  124599. _static(A, "from_handlers__TransformByHandlers__defaultHandleError$closure", 3, null, ["call$1$3", "call$3"], ["TransformByHandlers__defaultHandleError", function(error, stackTrace, sink) {
  124600. return A.TransformByHandlers__defaultHandleError(error, stackTrace, sink, type$.dynamic);
  124601. }], 652, 0);
  124602. _static(A, "rate_limit___collect$closure", 2, null, ["call$1$2", "call$2"], ["_collect", function($event, soFar) {
  124603. return A._collect($event, soFar, type$.dynamic);
  124604. }], 653, 0);
  124605. _instance_1_u(A.AnySelectorVisitor0.prototype, "get$visitComplexSelector", "visitComplexSelector$1", 21);
  124606. _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"], 318, 0, 0);
  124607. _instance_1_u(_, "get$_async_evaluate0$_expressionNode", "_async_evaluate0$_expressionNode$1", 203);
  124608. _static_1(A, "calculation1___assertCalculationValue$closure", "_assertCalculationValue", 95);
  124609. _static_1(A, "calculation1___isValidClampArg$closure", "_isValidClampArg", 9);
  124610. _static_1(A, "calculation0_SassCalculation__simplify$closure", "SassCalculation__simplify0", 79);
  124611. _instance_1_u(A.ColorChannel0.prototype, "get$isAnalogous", "isAnalogous$1", 70);
  124612. _static(A, "compile__compile$closure", 1, function() {
  124613. return [null];
  124614. }, ["call$2", "call$1"], ["compile0", function(path) {
  124615. return A.compile0(path, null);
  124616. }], 654, 0);
  124617. _static(A, "compile__compileString$closure", 1, function() {
  124618. return [null];
  124619. }, ["call$2", "call$1"], ["compileString0", function(text) {
  124620. return A.compileString0(text, null);
  124621. }], 655, 0);
  124622. _static(A, "compile__compileAsync$closure", 1, function() {
  124623. return [null];
  124624. }, ["call$2", "call$1"], ["compileAsync1", function(path) {
  124625. return A.compileAsync1(path, null);
  124626. }], 656, 0);
  124627. _static(A, "compile__compileStringAsync$closure", 1, function() {
  124628. return [null];
  124629. }, ["call$2", "call$1"], ["compileStringAsync1", function(text) {
  124630. return A.compileStringAsync1(text, null);
  124631. }], 657, 0);
  124632. _static_1(A, "compile___parseImporter$closure", "_parseImporter0", 658);
  124633. _static_1(A, "compile___simplifyCalcArg$closure", "_simplifyCalcArg", 79);
  124634. _static_0(A, "compiler__initCompiler$closure", "initCompiler", 659);
  124635. _static_0(A, "compiler__initAsyncCompiler$closure", "initAsyncCompiler", 660);
  124636. _instance_0_u(A.CssParser0.prototype, "get$silentComment", "silentComment$0", 19);
  124637. _instance_1_u(A.EmptyExtensionStore0.prototype, "get$addExtensions", "addExtensions$1", 234);
  124638. _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"], 675, 0, 0);
  124639. _instance_1_u(_, "get$_evaluate0$_expressionNode", "_evaluate0$_expressionNode$1", 203);
  124640. _instance_1_u(A.ExtensionStore0.prototype, "get$addExtensions", "addExtensions$1", 234);
  124641. _static_1(A, "functions0___isUnique$closure", "_isUnique0", 14);
  124642. _static_1(A, "immutable__jsToDartList$closure", "jsToDartList", 661);
  124643. _instance(A.LazyFileSpan0.prototype, "get$message", 1, 1, function() {
  124644. return {color: null};
  124645. }, ["call$2$color", "call$1"], ["message$2$color", "message$1"], 120, 0, 0);
  124646. _static_2(A, "legacy__render$closure", "render", 662);
  124647. _static_1(A, "legacy__renderSync$closure", "renderSync", 663);
  124648. _instance_1_u(A.LimitedMapView0.prototype, "get$containsKey", "containsKey$1", 9);
  124649. _instance_1_u(A.SelectorList0.prototype, "get$isSuperselector", "isSuperselector$1", 76);
  124650. _instance_1_u(A.MergedMapView0.prototype, "get$containsKey", "containsKey$1", 9);
  124651. _instance(A.MultiSpan0.prototype, "get$message", 1, 1, function() {
  124652. return {color: null};
  124653. }, ["call$2$color", "call$1"], ["message$2$color", "message$1"], 163, 0, 0);
  124654. _instance_1_i(A.NoSourceMapBuffer0.prototype, "get$write", "write$1", 34);
  124655. _instance_2_u(A.NodePackageImporter0.prototype, "get$_node_package$_compareExpansionKeys", "_node_package$_compareExpansionKeys$2", 146);
  124656. _static_0(A, "parser0__loadParserExports$closure", "loadParserExports", 664);
  124657. _static(A, "parser0___parse$closure", 3, null, ["call$3"], ["_parse"], 665, 0);
  124658. _static_1(A, "parser0___parseIdentifier$closure", "_parseIdentifier", 666);
  124659. _static_1(A, "parser0___toCssIdentifier$closure", "_toCssIdentifier", 6);
  124660. _instance_0_u(_ = A.Parser1.prototype, "get$silentComment", "silentComment$0", 19);
  124661. _instance_0_u(_, "get$loudComment", "loudComment$0", 0);
  124662. _instance_0_u(_, "get$string", "string$0", 26);
  124663. _instance(_, "get$error", 1, 2, function() {
  124664. return [null];
  124665. }, ["call$3", "call$2"], ["error$3", "error$2"], 158, 0, 0);
  124666. _instance_1_u(A.PrefixedMapView0.prototype, "get$containsKey", "containsKey$1", 9);
  124667. _instance_1_u(A.PseudoSelector0.prototype, "get$isSuperselector", "isSuperselector$1", 14);
  124668. _instance_1_u(A.PublicMemberMapView0.prototype, "get$containsKey", "containsKey$1", 9);
  124669. _instance_1_u(A._IsInvisibleVisitor2.prototype, "get$visitComplexSelector", "visitComplexSelector$1", 21);
  124670. _instance_1_u(A._IsBogusVisitor0.prototype, "get$visitComplexSelector", "visitComplexSelector$1", 21);
  124671. _instance_1_u(A._IsUselessVisitor0.prototype, "get$visitComplexSelector", "visitComplexSelector$1", 21);
  124672. _instance_1_u(_ = A.SelectorSearchVisitor0.prototype, "get$visitComplexSelector", "visitComplexSelector$1", "SelectorSearchVisitor0.T?(ComplexSelector0)");
  124673. _instance_1_u(_, "get$visitSelectorList", "visitSelectorList$1", "SelectorSearchVisitor0.T?(SelectorList0)");
  124674. _instance_1_u(_ = A._SerializeVisitor0.prototype, "get$_serialize0$_visitMediaQuery", "_serialize0$_visitMediaQuery$1", 574);
  124675. _instance_1_u(_, "get$_serialize0$_specificities", "_serialize0$_specificities$1", 575);
  124676. _instance_1_u(_, "get$_serialize0$_writeCalculationValue", "_serialize0$_writeCalculationValue$1", 95);
  124677. _instance(_, "get$_serialize0$_writeChannel", 0, 1, null, ["call$2", "call$1"], ["_serialize0$_writeChannel$2", "_serialize0$_writeChannel$1"], 191, 0, 0);
  124678. _instance_1_u(_, "get$visitSelectorList", "visitSelectorList$1", 576);
  124679. _instance_1_u(_, "get$_serialize0$_requiresSemicolon", "_serialize0$_requiresSemicolon$1", 7);
  124680. _instance_1_u(A.SimpleSelector0.prototype, "get$isSuperselector", "isSuperselector$1", 14);
  124681. _instance_1_i(A.SourceMapBuffer0.prototype, "get$write", "write$1", 34);
  124682. _instance_1_u(A.SrgbColorSpace0.prototype, "get$toLinear", "toLinear$1", 16);
  124683. _instance_1_i(_ = A.StatementSearchVisitor0.prototype, "get$visitContentBlock", "visitContentBlock$1", "StatementSearchVisitor0.T?(ContentBlock0)");
  124684. _instance_1_u(_, "get$visitChildren", "visitChildren$1", "StatementSearchVisitor0.T?(List<Statement0>)");
  124685. _instance(_ = A.StylesheetParser0.prototype, "get$_stylesheet0$_statement", 0, 0, null, ["call$1$root", "call$0"], ["_stylesheet0$_statement$1$root", "_stylesheet0$_statement$0"], 595, 0, 0);
  124686. _instance_0_u(_, "get$_stylesheet0$_declarationChild", "_stylesheet0$_declarationChild$0", 136);
  124687. _instance_0_u(_, "get$_stylesheet0$_functionChild", "_stylesheet0$_functionChild$0", 136);
  124688. _instance_0_u(_, "get$_stylesheet0$_number", "_stylesheet0$_number$0", 597);
  124689. _instance_1_u(A.TypeSelector0.prototype, "get$isSuperselector", "isSuperselector$1", 14);
  124690. _instance_1_u(A.UniversalSelector0.prototype, "get$isSuperselector", "isSuperselector$1", 14);
  124691. _instance_1_u(A.UnprefixedMapView0.prototype, "get$containsKey", "containsKey$1", 9);
  124692. _static_1(A, "utils3__jsToDartUrl$closure", "jsToDartUrl", 667);
  124693. _static_1(A, "utils3__dartToJSUrl$closure", "dartToJSUrl", 264);
  124694. _static_1(A, "utils3__mapToObject$closure", "mapToObject", 668);
  124695. _static_1(A, "utils1__isPublic$closure", "isPublic0", 5);
  124696. _static(A, "path__absolute$closure", 1, function() {
  124697. return [null, null, null, null, null, null, null, null, null, null, null, null, null, null];
  124698. }, ["call$15", "call$1", "call$2", "call$3", "call$4", "call$5", "call$6"], ["absolute", function(part1) {
  124699. var _null = null;
  124700. return A.absolute(part1, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null);
  124701. }, function(part1, part2) {
  124702. var _null = null;
  124703. return A.absolute(part1, part2, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null);
  124704. }, function(part1, part2, part3) {
  124705. var _null = null;
  124706. return A.absolute(part1, part2, part3, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null);
  124707. }, function(part1, part2, part3, part4) {
  124708. var _null = null;
  124709. return A.absolute(part1, part2, part3, part4, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null);
  124710. }, function(part1, part2, part3, part4, part5) {
  124711. var _null = null;
  124712. return A.absolute(part1, part2, part3, part4, part5, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null);
  124713. }, function(part1, part2, part3, part4, part5, part6) {
  124714. var _null = null;
  124715. return A.absolute(part1, part2, part3, part4, part5, part6, _null, _null, _null, _null, _null, _null, _null, _null, _null);
  124716. }], 669, 0);
  124717. _static_1(A, "path__toUri$closure", "toUri", 122);
  124718. _static_1(A, "path__prettyUri$closure", "prettyUri", 670);
  124719. _static_2(A, "number0__fuzzyLessThan$closure", "fuzzyLessThan", 45);
  124720. _static_2(A, "number0__fuzzyLessThanOrEquals$closure", "fuzzyLessThanOrEquals", 45);
  124721. _static_2(A, "number0__fuzzyGreaterThan$closure", "fuzzyGreaterThan", 45);
  124722. _static_2(A, "number0__fuzzyGreaterThanOrEquals$closure", "fuzzyGreaterThanOrEquals", 45);
  124723. _static_2(A, "number0__moduloLikeSass$closure", "moduloLikeSass", 60);
  124724. _static_1(A, "number0__sqrt$closure", "sqrt", 52);
  124725. _static_1(A, "number0__sin$closure", "sin", 52);
  124726. _static_1(A, "number0__cos$closure", "cos", 52);
  124727. _static_1(A, "number0__tan$closure", "tan", 52);
  124728. _static_1(A, "number0__atan$closure", "atan", 52);
  124729. _static_1(A, "number0__asin$closure", "asin", 52);
  124730. _static_1(A, "number0__acos$closure", "acos", 52);
  124731. _static_1(A, "utils0__srgbAndDisplayP3FromLinear$closure", "srgbAndDisplayP3FromLinear", 16);
  124732. _static_2(A, "number2__fuzzyLessThan$closure", "fuzzyLessThan0", 45);
  124733. _static_2(A, "number2__fuzzyLessThanOrEquals$closure", "fuzzyLessThanOrEquals0", 45);
  124734. _static_2(A, "number2__fuzzyGreaterThan$closure", "fuzzyGreaterThan0", 45);
  124735. _static_2(A, "number2__fuzzyGreaterThanOrEquals$closure", "fuzzyGreaterThanOrEquals0", 45);
  124736. _static_2(A, "number2__moduloLikeSass$closure", "moduloLikeSass0", 60);
  124737. _static_1(A, "number2__sqrt$closure", "sqrt0", 55);
  124738. _static_1(A, "number2__sin$closure", "sin0", 55);
  124739. _static_1(A, "number2__cos$closure", "cos0", 55);
  124740. _static_1(A, "number2__tan$closure", "tan0", 55);
  124741. _static_1(A, "number2__atan$closure", "atan0", 55);
  124742. _static_1(A, "number2__asin$closure", "asin0", 55);
  124743. _static_1(A, "number2__acos$closure", "acos0", 55);
  124744. _static_1(A, "sass__main$closure", "main1", 496);
  124745. _static_1(A, "utils4__validateUrlScheme$closure", "validateUrlScheme", 111);
  124746. _static_1(A, "utils2__srgbAndDisplayP3FromLinear$closure", "srgbAndDisplayP3FromLinear0", 16);
  124747. _static_1(A, "value0__wrapValue$closure", "wrapValue", 449);
  124748. })();
  124749. (function inheritance() {
  124750. var _mixin = hunkHelpers.mixin,
  124751. _inherit = hunkHelpers.inherit,
  124752. _inheritMany = hunkHelpers.inheritMany;
  124753. _inherit(A.Object, null);
  124754. _inheritMany(A.Object, [A.JS_CONST, J.Interceptor, J.ArrayIterator, A.Iterable, A.CastIterator, A.Closure, A.MapBase, A.Error, A.ListBase, A.SentinelValue, A.ListIterator, A.MappedIterator, A.WhereIterator, A.ExpandIterator, A.TakeIterator, A.SkipIterator, A.SkipWhileIterator, A.EmptyIterator, A.FollowedByIterator, A.WhereTypeIterator, A.NonNullsIterator, A.FixedLengthListMixin, A.UnmodifiableListMixin, A.Symbol, A._Record, A.MapView, A.ConstantMap, A._KeysOrValuesOrElementsIterator, A.SetBase, A.JSInvocationMirror, A.TypeErrorDecoder, A.NullThrownFromJavaScriptException, A.ExceptionAndStackTrace, A._StackTrace, A._Required, A.LinkedHashMapCell, A.LinkedHashMapKeyIterator, A.LinkedHashMapValueIterator, A.LinkedHashMapEntryIterator, A.JSSyntaxRegExp, A._MatchImplementation, A._AllMatchesIterator, A.StringMatch, A._StringAllMatchesIterator, A._Cell, A.Rti, A._FunctionParameters, A._Type, A._TimerImpl, A._AsyncAwaitCompleter, A._SyncStarIterator, A.AsyncError, A._Completer, A._FutureListener, A._Future, A._AsyncCallbackEntry, A.Stream, A._StreamController, A._SyncStreamControllerDispatch, A._AsyncStreamControllerDispatch, A._BufferingStreamSubscription, A._AddStreamState, A._DelayedEvent, A._DelayedDone, A._PendingEvents, A._StreamIterator, A._ZoneFunction, A._ZoneSpecification, A._ZoneDelegate, A._Zone, A._HashMapKeyIterator, A._LinkedHashSetCell, A._LinkedHashSetIterator, A._MapBaseValueIterator, A._UnmodifiableMapMixin, A._ListQueueIterator, A._UnmodifiableSetMixin, A.Codec, A.Converter, A._Base64Encoder, A.ByteConversionSink, A._JsonStringifier, A.StringConversionSink, A._Utf8Encoder, A._Utf8Decoder, A.DateTime, A.Duration, A._Enum, A.OutOfMemoryError, A.StackOverflowError, A._Exception, A.FormatException, A.MapEntry, A.Null, A._StringStackTrace, A.RuneIterator, A.StringBuffer, A._Uri, A.UriData, A._SimpleUri, A.Expando, A.NullRejectionException, A._JSRandom, A.ArgParser, A.ArgResults, A.Option, A.OptionType, A.Parser0, A._Usage, A.FutureGroup, A.ErrorResult, A.ValueResult, A.StreamCompleter, A.StreamGroup, A._StreamGroupState, A.StreamQueue, A._NextRequest, A.Repl, A.ReplAdapter, A.DefaultEquality, A.IterableEquality, A.ListEquality, A._MapEntry, A.MapEquality, A._QueueList_Object_ListMixin, A._DelegatingIterableBase, A.UnmodifiableSetMixin, A.Context, A._PathDirection, A._PathRelation, A.Style, A.ParsedPath, A.PathException, A.Version, A.VersionRange, A.CssMediaQuery, A.MediaQuerySuccessfulMergeResult, A.CssNode, A.__IsInvisibleVisitor_Object_EveryCssVisitor, A.CssValue, A._FakeAstNode, A.ArgumentList, A.AtRootQuery, A.ConfiguredVariable, A.Expression, A.DynamicImport, A.StaticImport, A.Interpolation, A.Parameter, A.ParameterList, A.Statement, A.IfRuleClause, A.__HasContentVisitor_Object_StatementSearchVisitor, A.SupportsAnything, A.SupportsDeclaration, A.SupportsFunction, A.SupportsInterpolation, A.SupportsNegation, A.SupportsOperation, A.Selector, A.__IsInvisibleVisitor_Object_AnySelectorVisitor, A.__IsBogusVisitor_Object_AnySelectorVisitor, A.__IsUselessVisitor_Object_AnySelectorVisitor, A.__ContainsParentSelectorVisitor_Object_AnySelectorVisitor, A.ComplexSelectorComponent, A.__ParentSelectorVisitor_Object_SelectorSearchVisitor, A.QualifiedName, A.AsyncEnvironment, A._EnvironmentModule0, A.AsyncImportCache, A.AsyncBuiltInCallable, A.BuiltInCallable, A.PlainCssCallable, A.UserDefinedCallable, A.CompileResult, A.Configuration, A.ConfiguredValue, A.Environment, A._EnvironmentModule, A.SourceSpanException, A.SassScriptException, A.ExecutableOptions, A.UsageException, A._Watcher, A.EmptyExtensionStore, A.Extension, A.Extender, A.ExtensionStore, A.ImportCache, A.AsyncImporter, A.CanonicalizeContext, A.ImporterResult, A.InterpolationBuffer, A.InterpolationMap, A.FileSystemException, A.LoggerWithDeprecationType, A._QuietLogger, A.TrackingLogger, A.BuiltInModule, A.ForwardedModuleView, A.ShadowedModuleView, A.Parser, A.StylesheetGraph, A.StylesheetNode, A.Box, A.ModifiableBox, A.LazyFileSpan, A.MultiDirWatcher, A.MultiSpan, A.NoSourceMapBuffer, A.SourceMapBuffer, A.Value, A.CalculationOperation, A._ColorFormatEnum, A.SpanColorFormat, A.ColorChannel, A.GamutMapMethod, A.InterpolationMethod, A.ColorSpace, A.AnySelectorVisitor, A._EvaluateVisitor0, A._ImportedCssVisitor0, A._EvaluationContext0, A._CloneCssVisitor, A.Evaluator, A._EvaluateVisitor, A._ImportedCssVisitor, A._EvaluationContext, A.EveryCssVisitor, A.__MakeExpressionCalculationSafe_Object_ReplaceExpressionVisitor, A.__FindDependenciesVisitor_Object_RecursiveStatementVisitor, A.DependencyReport, A.IsCalculationSafeVisitor, A.RecursiveStatementVisitor, A.ReplaceExpressionVisitor, A.SelectorSearchVisitor, A._SerializeVisitor, A.StatementSearchVisitor, A.Entry, A.Mapping, A.TargetLineEntry, A.TargetEntry, A.SourceFile, A.SourceLocationMixin, A.SourceSpanMixin, A.Highlighter, A._Highlight, A._Line, A.SourceLocation, A.Chain, A.Frame, A.LazyTrace, A.Trace, A.UnparsedFrame, A.StringScanner, A._SpanScannerState, A.AsciiGlyphSet, A.UnicodeGlyphSet, A.WatchEvent, A.ChangeType, A.ColorSpace0, A.AnySelectorVisitor0, A.SupportsAnything0, A.ArgumentList0, A.Value0, A.AsyncImporter0, A.AsyncBuiltInCallable0, A.AsyncEnvironment0, A._EnvironmentModule2, A._EvaluateVisitor2, A._ImportedCssVisitor2, A._EvaluationContext2, A.AsyncImportCache0, A.Parser1, A.AtRootQuery0, A.Statement0, A.CssNode0, A.Selector0, A.Expression0, A.Box0, A.ModifiableBox0, A.BuiltInCallable0, A.BuiltInModule0, A.CalculationOperation0, A.CalculationInterpolation, A.CanonicalizeContext0, A.ColorChannel0, A.GamutMapMethod0, A._CloneCssVisitor0, A._ColorFormatEnum0, A.SpanColorFormat0, A.CompileResult0, A.Compiler, A.ComplexSelectorComponent0, A.Configuration0, A.ConfiguredValue0, A.ConfiguredVariable0, A.SupportsDeclaration0, A.LoggerWithDeprecationType0, A.DynamicImport0, A.EmptyExtensionStore0, A.Environment0, A._EnvironmentModule1, A._EvaluateVisitor1, A._ImportedCssVisitor1, A._EvaluationContext1, A.EveryCssVisitor0, A.SassScriptException0, A.JSExpressionVisitor, A.__MakeExpressionCalculationSafe_Object_ReplaceExpressionVisitor0, A.Extension0, A.Extender0, A.ExtensionStore0, A.ForwardedModuleView0, A.SupportsFunction0, A.IfRuleClause0, A.NodeImporter, A.ImportCache0, A.Interpolation0, A.SupportsInterpolation0, A.InterpolationBuffer0, A.InterpolationMap0, A.InterpolationMethod0, A.IsCalculationSafeVisitor0, A.FileSystemException0, A.LazyFileSpan0, A.__ParentSelectorVisitor_Object_SelectorSearchVisitor0, A.CssMediaQuery0, A.MediaQuerySuccessfulMergeResult0, A.__HasContentVisitor_Object_StatementSearchVisitor0, A.MultiSpan0, A.SupportsNegation0, A.NoSourceMapBuffer0, A._FakeAstNode0, A.__IsInvisibleVisitor_Object_EveryCssVisitor0, A.SupportsOperation0, A.Parameter0, A.ParameterList0, A.PlainCssCallable0, A.QualifiedName0, A.ReplaceExpressionVisitor0, A.ImporterResult0, A.__IsInvisibleVisitor_Object_AnySelectorVisitor0, A.__IsBogusVisitor_Object_AnySelectorVisitor0, A.__IsUselessVisitor_Object_AnySelectorVisitor0, A.__ContainsParentSelectorVisitor_Object_AnySelectorVisitor0, A.SelectorSearchVisitor0, A._SerializeVisitor0, A.ShadowedModuleView0, A.SourceInterpolationVisitor, A.SourceMapBuffer0, A.JSStatementVisitor, A.StatementSearchVisitor0, A.StaticImport0, A.UserDefinedCallable0, A.CssValue0]);
  124755. _inheritMany(J.Interceptor, [J.JSBool, J.JSNull, J.JavaScriptObject, J.JavaScriptBigInt, J.JavaScriptSymbol, J.JSNumber, J.JSString]);
  124756. _inheritMany(J.JavaScriptObject, [J.LegacyJavaScriptObject, J.JSArray, A.NativeByteBuffer, A.NativeTypedData]);
  124757. _inheritMany(J.LegacyJavaScriptObject, [J.PlainJavaScriptObject, J.UnknownJavaScriptObject, J.JavaScriptFunction, A.Stdin, A.Stdout, A.ReadlineModule, A.ReadlineOptions, A.ReadlineInterface, A.BufferModule, A.BufferConstants, A.Buffer, A.ConsoleModule, A.Console, A.EventEmitter, A.FS, A.FSConstants, A.Realpath, A.RealpathSync, A.FSWatcher, A.ReadStream, A.ReadStreamOptions, A.WriteStream, A.WriteStreamOptions, A.FileOptions, A.StatOptions, A.MkdirOptions, A.RmdirOptions, A.WatchOptions, A.WatchFileOptions, A.Stats, A.Promise, A.Date, A.JsError, A.Atomics, A.Modules, A.Module, A.Net, A.Socket, A.NetAddress, A.NetServer, A.NodeJsError, A.Process, A.CPUUsage, A.Release, A.StreamModule, A.Readable, A.Writable, A.Duplex, A.Transform, A.WritableOptions, A.ReadableOptions, A.Immediate, A.Timeout, A.TTY, A.Util, A.JSArray0, A.Chokidar, A.ChokidarOptions, A.ChokidarWatcher, A.JSFunction, A.ImmutableList, A.ImmutableMap, A.NodeImporterResult, A.RenderContext, A.RenderContextOptions, A.RenderContextResult, A.RenderContextResultStats, A.JSModule, A.JSModuleRequire, A.JSClass, A.JSUrl, A._PropertyDescriptor, A._RequireMain, A.JSArray1, A.Chokidar0, A.ChokidarOptions0, A.ChokidarWatcher0, A._Channels, A._ChannelOptions, A._ToGamutOptions, A._InterpolationOptions, A._NodeSassColor, A.CompileOptions, A.NodeCompileResult, A.Deprecation1, A.Exports, A.LoggerNamespace, A.JSExpressionVisitorObject, A.FiberClass, A.Fiber, A.JSFunction0, A.ImmutableList0, A.ImmutableMap0, A.JSImporter, A.JSImporterResult, A.NodeImporterResult0, A._ConstructorOptions, A._NodeSassList, A.JSLogger, A.WarnOptions, A.DebugOptions, A._NodeSassMap, A.JSModule0, A.JSModuleRequire0, A._ConstructorOptions0, A._NodeSassNumber, A.ParserExports, A.JSClass0, A.RenderContext0, A.RenderContextOptions0, A.RenderContextResult0, A.RenderContextResultStats0, A.RenderOptions, A.RenderResult, A.RenderResultStats, A._Exports, A.JSSet, A.JSStatementVisitorObject, A._ConstructorOptions1, A._NodeSassString, A.Types, A.JSUrl0, A._PropertyDescriptor0, A._RequireMain0]);
  124758. _inherit(J.JSUnmodifiableArray, J.JSArray);
  124759. _inheritMany(J.JSNumber, [J.JSInt, J.JSNumNotInt]);
  124760. _inheritMany(A.Iterable, [A._CastIterableBase, A.EfficientLengthIterable, A.MappedIterable, A.WhereIterable, A.ExpandIterable, A.TakeIterable, A.SkipIterable, A.SkipWhileIterable, A.FollowedByIterable, A.WhereTypeIterable, A.NonNullsIterable, A._KeysOrValues, A._AllMatchesIterable, A._StringAllMatchesIterable, A._SyncStarIterable, A.Runes, A._EmptyUnmodifiableSet_IterableBase_UnmodifiableSetMixin, A._PrefixedKeys, A._UnprefixedKeys, A._PrefixedKeys0, A._UnprefixedKeys0]);
  124761. _inheritMany(A._CastIterableBase, [A.CastIterable, A.__CastListBase__CastIterableBase_ListMixin, A.CastSet]);
  124762. _inherit(A._EfficientLengthCastIterable, A.CastIterable);
  124763. _inherit(A._CastListBase, A.__CastListBase__CastIterableBase_ListMixin);
  124764. _inheritMany(A.Closure, [A.Closure2Args, A.CastMap_entries_closure, A.Closure0Args, A.Instantiation, A.TearOffClosure, A.initHooks_closure, A.initHooks_closure1, A._AsyncRun__initializeScheduleImmediate_internalCallback, A._AsyncRun__initializeScheduleImmediate_closure, A._awaitOnObject_closure, A.Future_wait_closure, A._Future__propagateToListeners_handleWhenCompleteCallback_closure, A.Stream_Stream$fromFuture_closure, A.Stream_length_closure, A._CustomZone_bindUnaryCallback_closure, A._RootZone_bindUnaryCallback_closure, A._HashMap_values_closure, A._LinkedCustomHashMap_closure, A.MapBase_entries_closure, A._JsonMap_values_closure, A._Uri__makePath_closure, A.jsify__convert, A.promiseToFuture_closure, A.promiseToFuture_closure0, A.ArgParser__addOption_closure, A._Usage__writeOption_closure, A._Usage__buildAllowedList_closure, A.FutureGroup_add_closure, A.StreamGroup__onListen_closure, A.StreamGroup__onCancel_closure, A.StreamQueue__ensureListening_closure, A.alwaysValid_closure, A.ReplAdapter_runAsync__closure, A.UnionSet__iterable_closure, A.UnionSet_contains_closure, A.MapKeySet_difference_closure, A.promiseToFuture_closure1, A.promiseToFuture_closure2, A.futureToPromise__closure, A.Context_joinAll_closure, A.Context_split_closure, A._validateArgList_closure, A.ParsedPath__splitExtension_closure, A.PathMap__create_closure0, A.PathMap__create_closure1, A.WindowsStyle_absolutePathToUri_closure, A.Version__splitParts_closure, A.ModifiableCssNode_hasFollowingSibling_closure, A.ListExpression_toString_closure, A.Interpolation_toString_closure, A.ParameterList_verify_closure, A.ParameterList_verify_closure0, A.EachRule_toString_closure, A.IfRuleClause$__closure, A.IfRuleClause$___closure, A.ParentStatement_closure, A.ParentStatement__closure, A._IsBogusVisitor_visitComplexSelector_closure, A._IsUselessVisitor_visitComplexSelector_closure, A.ComplexSelectorComponent_toString_closure, A.CompoundSelector_hasComplicatedSuperselectorSemantics_closure, A.IDSelector_unify_closure, A.SelectorList_asSassList_closure, A.SelectorList_nestWithin_closure, A.SelectorList_nestWithin__closure, A.SelectorList_nestWithin__closure0, A.SelectorList__nestWithinCompound_closure, A.SelectorList__nestWithinCompound_closure0, A.SelectorList__nestWithinCompound_closure1, A.SelectorList_withAdditionalCombinators_closure, A.PseudoSelector_specificity__closure, A.PseudoSelector_specificity__closure0, A.PseudoSelector_unify_closure, A.SimpleSelector_isSuperselector_closure, A.SimpleSelector_isSuperselector__closure, A._compileStylesheet_closure0, A.AsyncEnvironment__getVariableFromGlobalModule_closure, A.AsyncEnvironment_setVariable_closure0, A.AsyncEnvironment__getFunctionFromGlobalModule_closure, A.AsyncEnvironment__getMixinFromGlobalModule_closure, A.AsyncEnvironment_toModule_closure, A.AsyncEnvironment_toDummyModule_closure, A._EnvironmentModule__EnvironmentModule_closure5, A._EnvironmentModule__EnvironmentModule_closure6, A._EnvironmentModule__EnvironmentModule_closure7, A._EnvironmentModule__EnvironmentModule_closure8, A._EnvironmentModule__EnvironmentModule_closure9, A._EnvironmentModule__EnvironmentModule_closure10, A.AsyncImportCache_humanize_closure, A.AsyncImportCache_humanize_closure0, A.AsyncImportCache_humanize_closure1, A.AsyncImportCache_humanize_closure2, A.AsyncBuiltInCallable$mixin_closure, A.AsyncBuiltInCallable_withDeprecationWarning_closure, A.BuiltInCallable$mixin_closure, A.BuiltInCallable_withDeprecationWarning_closure, A._compileStylesheet_closure, A.Deprecation_fromId_closure, A.Environment__getVariableFromGlobalModule_closure, A.Environment_setVariable_closure0, A.Environment__getFunctionFromGlobalModule_closure, A.Environment__getMixinFromGlobalModule_closure, A.Environment_toModule_closure, A.Environment_toDummyModule_closure, A._EnvironmentModule__EnvironmentModule_closure, A._EnvironmentModule__EnvironmentModule_closure0, A._EnvironmentModule__EnvironmentModule_closure1, A._EnvironmentModule__EnvironmentModule_closure2, A._EnvironmentModule__EnvironmentModule_closure3, A._EnvironmentModule__EnvironmentModule_closure4, A._writeSourceMap_closure, A.ExecutableOptions_emitErrorCss_closure, A.repl_warn, A.watch_closure, A._Watcher__debounceEvents_closure, A.ExtensionStore_extensionsWhereTarget_closure, A.ExtensionStore__extendComplex_closure, A.ExtensionStore__extendComplex__closure, A.ExtensionStore__extendCompound_closure, A.ExtensionStore__extendCompound_closure0, A.ExtensionStore__extendCompound_closure1, A.ExtensionStore__extendSimple_withoutPseudo, A.ExtensionStore__extendSimple_closure, A.ExtensionStore__extendSimple_closure0, A.ExtensionStore__extendPseudo_closure, A.ExtensionStore__extendPseudo_closure0, A.ExtensionStore__extendPseudo_closure1, A.ExtensionStore__extendPseudo_closure2, A.ExtensionStore__extendPseudo_closure3, A.ExtensionStore__trim_closure, A.ExtensionStore__trim_closure0, A.unifyComplex_closure, A._weaveParents_closure0, A._weaveParents_closure1, A._weaveParents_closure2, A._mustUnify_closure, A._mustUnify__closure, A.paths__closure, A.paths___closure, A.listIsSuperselector_closure, A.listIsSuperselector__closure, A.complexIsSuperselector_closure, A.complexIsSuperselector_closure0, A._compatibleWithPreviousCombinator_closure, A.compoundIsSuperselector_closure, A._selectorPseudoIsSuperselector_closure, A._selectorPseudoIsSuperselector_closure0, A._selectorPseudoIsSuperselector_closure1, A._selectorPseudoIsSuperselector_closure2, A._selectorPseudoIsSuperselector_closure3, A._selectorPseudoIsSuperselector__closure, A._selectorPseudoIsSuperselector___closure, A._selectorPseudoIsSuperselector___closure0, A._selectorPseudoIsSuperselector_closure4, A._selectorPseudoIsSuperselector_closure5, A._selectorPseudoArgs_closure, A._selectorPseudoArgs_closure0, A.globalFunctions_closure, A.global_closure0, A.global_closure1, A.global_closure2, A.global_closure3, A.global_closure4, A.global_closure5, A.global_closure6, A.global_closure7, A.global_closure8, A.global_closure9, A.global_closure10, A.global_closure11, A.global_closure12, A.global_closure13, A.global_closure14, A.global_closure15, A.global_closure16, A.global_closure17, A.global_closure18, A.global_closure19, A.global_closure20, A.global_closure21, A.global_closure22, A.global_closure23, A.global_closure24, A.global_closure25, A.global_closure26, A.global_closure27, A.global_closure28, A.global_closure29, A.global_closure30, A.global_closure31, A.global_closure32, A.global_closure33, A.global_closure34, A.global_closure35, A.global__closure, A.global_closure36, A.global_closure37, A.global_closure38, A.global_closure39, A.global_closure40, A.global_closure41, A.global_closure42, A.module_closure1, A.module_closure2, A.module_closure3, A.module_closure4, A.module_closure5, A.module_closure6, A.module_closure7, A.module_closure8, A.module_closure9, A.module_closure10, A.module_closure11, A.module_closure12, A.module_closure13, A.module_closure14, A.module__closure2, A.module_closure15, A.module_closure16, A.module_closure17, A.module_closure18, A.module_closure19, A.module_closure20, A.module_closure21, A.module_closure22, A.module__closure1, A.module_closure23, A.module_closure_toXyzNoMissing, A.module_closure24, A._mix_closure, A._complement_closure, A._adjust_closure, A._scale_closure, A._change_closure, A._ieHexStr_closure, A._ieHexStr_closure_hexString, A._updateComponents_closure, A._updateComponents_closure0, A._adjustColor_closure, A._functionString_closure, A._removedColorFunction_closure, A._rgb_closure, A._hsl_closure, A._parseChannels_closure, A._parseChannels_closure0, A._colorFromChannels_closure, A._colorFromChannels_closure0, A._channelFromValue_closure, A._channelFunction_closure, A._suggestScaleAndAdjust_closure, A._length_closure0, A._nth_closure, A._setNth_closure, A._join_closure, A._append_closure0, A._zip_closure, A._zip__closure, A._zip__closure0, A._zip__closure1, A._index_closure0, A._separator_closure, A._isBracketed_closure, A._slash_closure, A._get_closure, A._set_closure, A._set__closure0, A._set_closure0, A._set__closure, A._merge_closure, A._merge_closure0, A._merge__closure, A._deepMerge_closure, A._deepRemove_closure, A._deepRemove__closure, A._remove_closure, A._remove_closure0, A._keys_closure, A._values_closure, A._hasKey_closure, A._modify_modifyNestedMap, A.global_closure, A.module_closure0, A._ceil_closure, A._clamp_closure, A._floor_closure, A._max_closure, A._min_closure, A._round_closure, A._hypot_closure, A._hypot__closure, A._log_closure, A._pow_closure, A._atan2_closure, A._compatible_closure, A._isUnitless_closure, A._unit_closure, A._percentage_closure, A._randomFunction_closure, A._div_closure, A._singleArgumentMathFunc_closure, A._numberFunction_closure, A._shared_closure, A._shared_closure0, A._shared_closure1, A._shared_closure2, A.moduleFunctions_closure, A.moduleFunctions_closure0, A.moduleFunctions__closure, A.moduleFunctions_closure1, A._nest_closure, A._nest__closure, A._append_closure, A._append__closure, A._append___closure, A._extend_closure, A._replace_closure, A._unify_closure, A._isSuperselector_closure, A._simpleSelectors_closure, A._simpleSelectors__closure, A._parse_closure, A.module_closure, A.module__closure, A.module__closure0, A._unquote_closure, A._quote_closure, A._length_closure, A._insert_closure, A._index_closure, A._slice_closure, A._toUpperCase_closure, A._toLowerCase_closure, A._uniqueId_closure, A.ImportCache_humanize_closure, A.ImportCache_humanize_closure0, A.ImportCache_humanize_closure1, A.ImportCache_humanize_closure2, A.FilesystemImporter_canonicalize_closure, A.NodePackageImporter__nodePackageExportsResolve_closure, A.NodePackageImporter__nodePackageExportsResolve_closure0, A.NodePackageImporter__nodePackageExportsResolve_closure1, A.NodePackageImporter__nodePackageExportsResolve_closure2, A.NodePackageImporter__nodePackageExportsResolve__closure, A.NodePackageImporter__nodePackageExportsResolve__closure0, A.NodePackageImporter__getMainExport_closure, A._exactlyOne_closure, A.InterpolationMap_mapException_closure, A._realCasePath_helper, A._realCasePath_helper__closure, A.readStdin_closure, A.readStdin_closure0, A.readStdin_closure1, A.readStdin_closure2, A.listDir__closure, A.listDir__closure0, A.listDir_closure_list, A.listDir__list_closure, A.watchDir_closure1, A.watchDir_closure2, A.watchDir_closure3, A.watchDir_closure4, A.DeprecationProcessingLogger_summarize_closure, A.DeprecationProcessingLogger_summarize_closure0, A._disallowedFunctionNames_closure, A.Parser_escape_closure, A.Parser_scanIdentChar_matches, A.SassParser_styleRuleSelector_closure, A.SassParser__peekIndentation_closure, A.SassParser__peekIndentation_closure0, A.SassParser__tryTrailingSemicolon_closure, A.StylesheetParser__expression_addSingleExpression, A.StylesheetParser__expression_addOperator, A.StylesheetParser__isHexColor_closure, A.StylesheetParser__unicodeRange_closure, A.StylesheetParser__unicodeRange_closure0, A.StylesheetParser_trySpecialFunction_closure, A.StylesheetGraph_modifiedSince_transitiveModificationTime, A.MapExtensions_get_pairs_closure, A._PrefixedKeys_iterator_closure, A.SourceMapBuffer_buildSourceMap_closure, A._UnprefixedKeys_iterator_closure, A._UnprefixedKeys_iterator_closure0, A.indent_closure, A.flattenVertically_closure, A.flattenVertically_closure0, A.SassCalculation__verifyLength_closure, A.SassColor$_forSpace_closure, A.HwbColorSpace_convert_toRgb, A.SassList_isBlank_closure, A.SassNumber__coerceOrConvertValue_closure, A.SassNumber__coerceOrConvertValue_closure1, A.SassNumber_multiplyUnits_closure, A.SassNumber_multiplyUnits_closure1, A.SassNumber__areAnyConvertible_closure, A.SassNumber__canonicalizeUnitList_closure, A.SassNumber_unitSuggestion_closure, A.SassNumber_unitSuggestion_closure0, A.SingleUnitSassNumber__coerceToUnit_closure, A.SingleUnitSassNumber__coerceValueToUnit_closure, A.SingleUnitSassNumber_multiplyUnits_closure, A.AnySelectorVisitor_visitComplexSelector_closure, A.AnySelectorVisitor_visitCompoundSelector_closure, A._EvaluateVisitor_closure12, A._EvaluateVisitor_closure13, A._EvaluateVisitor_closure14, A._EvaluateVisitor_closure15, A._EvaluateVisitor_closure16, A._EvaluateVisitor_closure17, A._EvaluateVisitor_closure18, A._EvaluateVisitor_closure19, A._EvaluateVisitor_closure20, A._EvaluateVisitor_closure21, A._EvaluateVisitor_closure22, A._EvaluateVisitor_closure23, A._EvaluateVisitor_closure24, A._EvaluateVisitor__loadModule__closure1, A._EvaluateVisitor__combineCss_closure1, A._EvaluateVisitor__combineCss_closure2, A._EvaluateVisitor__combineCss_visitModule0, A._EvaluateVisitor__extendModules_closure1, A._EvaluateVisitor__scopeForAtRoot_closure5, A._EvaluateVisitor__scopeForAtRoot_closure6, A._EvaluateVisitor__scopeForAtRoot_closure7, A._EvaluateVisitor__scopeForAtRoot_closure8, A._EvaluateVisitor__scopeForAtRoot_closure9, A._EvaluateVisitor__scopeForAtRoot_closure10, A._EvaluateVisitor_visitEachRule_closure2, A._EvaluateVisitor_visitEachRule_closure3, A._EvaluateVisitor_visitEachRule__closure0, A._EvaluateVisitor_visitEachRule___closure0, A._EvaluateVisitor_visitAtRule_closure2, A._EvaluateVisitor_visitAtRule_closure4, A._EvaluateVisitor_visitForRule__closure0, A._EvaluateVisitor_visitIfRule_closure0, A._EvaluateVisitor_visitIfRule___closure0, A._EvaluateVisitor__visitDynamicImport__closure3, A._EvaluateVisitor__visitDynamicImport__closure4, A._EvaluateVisitor__visitDynamicImport__closure5, A._EvaluateVisitor_visitIncludeRule_closure3, A._EvaluateVisitor_visitMediaRule_closure2, A._EvaluateVisitor_visitMediaRule_closure4, A._EvaluateVisitor_visitStyleRule_closure4, A._EvaluateVisitor_visitStyleRule_closure5, A._EvaluateVisitor__warnForBogusCombinators_closure0, A._EvaluateVisitor_visitSupportsRule_closure2, A._EvaluateVisitor_visitWhileRule__closure0, A._EvaluateVisitor__slash_recommendation0, A._EvaluateVisitor_visitListExpression_closure0, A._EvaluateVisitor_visitFunctionExpression_closure3, A._EvaluateVisitor__visitCalculation_closure0, A._EvaluateVisitor__checkCalculationArguments_check0, A._EvaluateVisitor__visitCalculationExpression__closure0, A._EvaluateVisitor__runUserDefinedCallable____closure0, A._EvaluateVisitor__runBuiltInCallable_closure4, A._EvaluateVisitor__evaluateArguments_closure3, A._EvaluateVisitor__evaluateArguments_closure4, A._EvaluateVisitor__evaluateArguments_closure6, A._EvaluateVisitor__evaluateMacroArguments_closure3, A._EvaluateVisitor__evaluateMacroArguments_closure4, A._EvaluateVisitor__evaluateMacroArguments_closure6, A._EvaluateVisitor_visitCssAtRule_closure2, A._EvaluateVisitor_visitCssKeyframeBlock_closure2, A._EvaluateVisitor_visitCssMediaRule_closure2, A._EvaluateVisitor_visitCssMediaRule_closure4, A._EvaluateVisitor_visitCssStyleRule_closure1, A._EvaluateVisitor_visitCssSupportsRule_closure2, A._EvaluateVisitor__performInterpolationHelper_closure0, A._EvaluateVisitor__withoutSlash_recommendation0, A._EvaluateVisitor__stackFrame_closure0, A._ImportedCssVisitor_visitCssAtRule_closure0, A._ImportedCssVisitor_visitCssMediaRule_closure0, A._ImportedCssVisitor_visitCssStyleRule_closure0, A._ImportedCssVisitor_visitCssSupportsRule_closure0, A._EvaluateVisitor_closure, A._EvaluateVisitor_closure0, A._EvaluateVisitor_closure1, A._EvaluateVisitor_closure2, A._EvaluateVisitor_closure3, A._EvaluateVisitor_closure4, A._EvaluateVisitor_closure5, A._EvaluateVisitor_closure6, A._EvaluateVisitor_closure7, A._EvaluateVisitor_closure8, A._EvaluateVisitor_closure9, A._EvaluateVisitor_closure10, A._EvaluateVisitor_closure11, A._EvaluateVisitor__loadModule__closure, A._EvaluateVisitor__combineCss_closure, A._EvaluateVisitor__combineCss_closure0, A._EvaluateVisitor__combineCss_visitModule, A._EvaluateVisitor__extendModules_closure, A._EvaluateVisitor__scopeForAtRoot_closure, A._EvaluateVisitor__scopeForAtRoot_closure0, A._EvaluateVisitor__scopeForAtRoot_closure1, A._EvaluateVisitor__scopeForAtRoot_closure2, A._EvaluateVisitor__scopeForAtRoot_closure3, A._EvaluateVisitor__scopeForAtRoot_closure4, A._EvaluateVisitor_visitEachRule_closure, A._EvaluateVisitor_visitEachRule_closure0, A._EvaluateVisitor_visitEachRule__closure, A._EvaluateVisitor_visitEachRule___closure, A._EvaluateVisitor_visitAtRule_closure, A._EvaluateVisitor_visitAtRule_closure1, A._EvaluateVisitor_visitForRule__closure, A._EvaluateVisitor_visitIfRule_closure, A._EvaluateVisitor_visitIfRule___closure, A._EvaluateVisitor__visitDynamicImport__closure, A._EvaluateVisitor__visitDynamicImport__closure0, A._EvaluateVisitor__visitDynamicImport__closure1, A._EvaluateVisitor_visitIncludeRule_closure0, A._EvaluateVisitor_visitMediaRule_closure, A._EvaluateVisitor_visitMediaRule_closure1, A._EvaluateVisitor_visitStyleRule_closure0, A._EvaluateVisitor_visitStyleRule_closure1, A._EvaluateVisitor__warnForBogusCombinators_closure, A._EvaluateVisitor_visitSupportsRule_closure0, A._EvaluateVisitor_visitWhileRule__closure, A._EvaluateVisitor__slash_recommendation, A._EvaluateVisitor_visitListExpression_closure, A._EvaluateVisitor_visitFunctionExpression_closure0, A._EvaluateVisitor__visitCalculation_closure, A._EvaluateVisitor__checkCalculationArguments_check, A._EvaluateVisitor__visitCalculationExpression__closure, A._EvaluateVisitor__runUserDefinedCallable____closure, A._EvaluateVisitor__runBuiltInCallable_closure1, A._EvaluateVisitor__evaluateArguments_closure, A._EvaluateVisitor__evaluateArguments_closure0, A._EvaluateVisitor__evaluateArguments_closure2, A._EvaluateVisitor__evaluateMacroArguments_closure, A._EvaluateVisitor__evaluateMacroArguments_closure0, A._EvaluateVisitor__evaluateMacroArguments_closure2, A._EvaluateVisitor_visitCssAtRule_closure0, A._EvaluateVisitor_visitCssKeyframeBlock_closure0, A._EvaluateVisitor_visitCssMediaRule_closure, A._EvaluateVisitor_visitCssMediaRule_closure1, A._EvaluateVisitor_visitCssStyleRule_closure, A._EvaluateVisitor_visitCssSupportsRule_closure0, A._EvaluateVisitor__performInterpolationHelper_closure, A._EvaluateVisitor__withoutSlash_recommendation, A._EvaluateVisitor__stackFrame_closure, A._ImportedCssVisitor_visitCssAtRule_closure, A._ImportedCssVisitor_visitCssMediaRule_closure, A._ImportedCssVisitor_visitCssStyleRule_closure, A._ImportedCssVisitor_visitCssSupportsRule_closure, A.EveryCssVisitor_visitCssAtRule_closure, A.EveryCssVisitor_visitCssKeyframeBlock_closure, A.EveryCssVisitor_visitCssMediaRule_closure, A.EveryCssVisitor_visitCssStyleRule_closure, A.EveryCssVisitor_visitCssStylesheet_closure, A.EveryCssVisitor_visitCssSupportsRule_closure, A.IsCalculationSafeVisitor_visitListExpression_closure, A.ReplaceExpressionVisitor_visitListExpression_closure, A.ReplaceExpressionVisitor_visitArgumentList_closure, A.ReplaceExpressionVisitor_visitInterpolation_closure, A.SelectorSearchVisitor_visitComplexSelector_closure, A.SelectorSearchVisitor_visitCompoundSelector_closure, A.serialize_closure, A._SerializeVisitor_visitList_closure, A._SerializeVisitor_visitList_closure0, A._SerializeVisitor_visitList_closure1, A._SerializeVisitor_visitMap_closure, A._SerializeVisitor_visitSelectorList_closure, A.StatementSearchVisitor_visitIfRule_closure, A.StatementSearchVisitor_visitIfRule__closure0, A.StatementSearchVisitor_visitIfRule_closure0, A.StatementSearchVisitor_visitIfRule__closure, A.StatementSearchVisitor_visitChildren_closure, A.SingleMapping_SingleMapping$fromEntries_closure1, A.SingleMapping_toJson_closure, A.Highlighter$__closure, A.Highlighter$___closure, A.Highlighter$__closure0, A.Highlighter__collateLines_closure, A.Highlighter__collateLines_closure1, A.Highlighter__collateLines__closure, A.Highlighter_highlight_closure, A.Chain_Chain$parse_closure, A.Chain_toTrace_closure, A.Chain_toString_closure0, A.Chain_toString__closure0, A.Chain_toString_closure, A.Chain_toString__closure, A.Trace__parseVM_closure, A.Trace$parseV8_closure, A.Trace$parseJSCore_closure, A.Trace$parseFirefox_closure, A.Trace$parseFriendly_closure, A.Trace_terse_closure, A.Trace_foldFrames_closure, A.Trace_foldFrames_closure0, A.Trace_toString_closure0, A.Trace_toString_closure, A.TransformByHandlers_transformByHandlers__closure, A.RateLimit__debounceAggregate_closure0, A.AnySelectorVisitor_visitComplexSelector_closure0, A.AnySelectorVisitor_visitCompoundSelector_closure0, A.argumentListClass__closure, A.argumentListClass__closure0, A.AsyncBuiltInCallable$mixin_closure0, A.AsyncBuiltInCallable_withDeprecationWarning_closure0, A._compileStylesheet_closure2, A.AsyncEnvironment__getVariableFromGlobalModule_closure0, A.AsyncEnvironment_setVariable_closure3, A.AsyncEnvironment__getFunctionFromGlobalModule_closure0, A.AsyncEnvironment__getMixinFromGlobalModule_closure0, A.AsyncEnvironment_toModule_closure0, A.AsyncEnvironment_toDummyModule_closure0, A._EnvironmentModule__EnvironmentModule_closure17, A._EnvironmentModule__EnvironmentModule_closure18, A._EnvironmentModule__EnvironmentModule_closure19, A._EnvironmentModule__EnvironmentModule_closure20, A._EnvironmentModule__EnvironmentModule_closure21, A._EnvironmentModule__EnvironmentModule_closure22, A._EvaluateVisitor_closure38, A._EvaluateVisitor_closure39, A._EvaluateVisitor_closure40, A._EvaluateVisitor_closure41, A._EvaluateVisitor_closure42, A._EvaluateVisitor_closure43, A._EvaluateVisitor_closure44, A._EvaluateVisitor_closure45, A._EvaluateVisitor_closure46, A._EvaluateVisitor_closure47, A._EvaluateVisitor_closure48, A._EvaluateVisitor_closure49, A._EvaluateVisitor_closure50, A._EvaluateVisitor__loadModule__closure5, A._EvaluateVisitor__combineCss_closure5, A._EvaluateVisitor__combineCss_closure6, A._EvaluateVisitor__combineCss_visitModule2, A._EvaluateVisitor__extendModules_closure5, A._EvaluateVisitor__scopeForAtRoot_closure17, A._EvaluateVisitor__scopeForAtRoot_closure18, A._EvaluateVisitor__scopeForAtRoot_closure19, A._EvaluateVisitor__scopeForAtRoot_closure20, A._EvaluateVisitor__scopeForAtRoot_closure21, A._EvaluateVisitor__scopeForAtRoot_closure22, A._EvaluateVisitor_visitEachRule_closure8, A._EvaluateVisitor_visitEachRule_closure9, A._EvaluateVisitor_visitEachRule__closure2, A._EvaluateVisitor_visitEachRule___closure2, A._EvaluateVisitor_visitAtRule_closure8, A._EvaluateVisitor_visitAtRule_closure10, A._EvaluateVisitor_visitForRule__closure2, A._EvaluateVisitor_visitIfRule_closure2, A._EvaluateVisitor_visitIfRule___closure2, A._EvaluateVisitor__visitDynamicImport__closure11, A._EvaluateVisitor__visitDynamicImport__closure12, A._EvaluateVisitor__visitDynamicImport__closure13, A._EvaluateVisitor_visitIncludeRule_closure9, A._EvaluateVisitor_visitMediaRule_closure8, A._EvaluateVisitor_visitMediaRule_closure10, A._EvaluateVisitor_visitStyleRule_closure12, A._EvaluateVisitor_visitStyleRule_closure13, A._EvaluateVisitor__warnForBogusCombinators_closure2, A._EvaluateVisitor_visitSupportsRule_closure6, A._EvaluateVisitor_visitWhileRule__closure2, A._EvaluateVisitor__slash_recommendation2, A._EvaluateVisitor_visitListExpression_closure2, A._EvaluateVisitor_visitFunctionExpression_closure9, A._EvaluateVisitor__visitCalculation_closure2, A._EvaluateVisitor__checkCalculationArguments_check2, A._EvaluateVisitor__visitCalculationExpression__closure2, A._EvaluateVisitor__runUserDefinedCallable____closure2, A._EvaluateVisitor__runBuiltInCallable_closure10, A._EvaluateVisitor__evaluateArguments_closure11, A._EvaluateVisitor__evaluateArguments_closure12, A._EvaluateVisitor__evaluateArguments_closure14, A._EvaluateVisitor__evaluateMacroArguments_closure11, A._EvaluateVisitor__evaluateMacroArguments_closure12, A._EvaluateVisitor__evaluateMacroArguments_closure14, A._EvaluateVisitor_visitCssAtRule_closure6, A._EvaluateVisitor_visitCssKeyframeBlock_closure6, A._EvaluateVisitor_visitCssMediaRule_closure8, A._EvaluateVisitor_visitCssMediaRule_closure10, A._EvaluateVisitor_visitCssStyleRule_closure5, A._EvaluateVisitor_visitCssSupportsRule_closure6, A._EvaluateVisitor__performInterpolationHelper_closure2, A._EvaluateVisitor__withoutSlash_recommendation2, A._EvaluateVisitor__stackFrame_closure2, A._ImportedCssVisitor_visitCssAtRule_closure2, A._ImportedCssVisitor_visitCssMediaRule_closure2, A._ImportedCssVisitor_visitCssStyleRule_closure2, A._ImportedCssVisitor_visitCssSupportsRule_closure2, A.AsyncImportCache_humanize_closure3, A.AsyncImportCache_humanize_closure4, A.AsyncImportCache_humanize_closure5, A.AsyncImportCache_humanize_closure6, A.booleanClass__closure, A.legacyBooleanClass__closure, A.legacyBooleanClass__closure0, A.BuiltInCallable$mixin_closure0, A.BuiltInCallable_withDeprecationWarning_closure0, A.calculationClass__closure, A.calculationClass__closure0, A.calculationClass__closure1, A.calculationClass__closure2, A.calculationClass__closure3, A.calculationClass__closure4, A.calculationClass__closure5, A.calculationOperationClass__closure, A.calculationOperationClass___closure, A.calculationOperationClass__closure1, A.calculationOperationClass__closure2, A.calculationOperationClass__closure3, A.calculationOperationClass__closure4, A.calculationInterpolationClass__closure1, A.calculationInterpolationClass__closure2, A.SassCalculation__verifyLength_closure0, A.updateCanonicalizeContextPrototype_closure, A.updateCanonicalizeContextPrototype_closure0, A.global_closure44, A.global_closure45, A.global_closure46, A.global_closure47, A.global_closure48, A.global_closure49, A.global_closure50, A.global_closure51, A.global_closure52, A.global_closure53, A.global_closure54, A.global_closure55, A.global_closure56, A.global_closure57, A.global_closure58, A.global_closure59, A.global_closure60, A.global_closure61, A.global_closure62, A.global_closure63, A.global_closure64, A.global_closure65, A.global_closure66, A.global_closure67, A.global_closure68, A.global_closure69, A.global_closure70, A.global_closure71, A.global_closure72, A.global_closure73, A.global_closure74, A.global_closure75, A.global_closure76, A.global_closure77, A.global_closure78, A.global_closure79, A.global__closure0, A.global_closure80, A.global_closure81, A.global_closure82, A.global_closure83, A.global_closure84, A.global_closure85, A.global_closure86, A.module_closure27, A.module_closure28, A.module_closure29, A.module_closure30, A.module_closure31, A.module_closure32, A.module_closure33, A.module_closure34, A.module_closure35, A.module_closure36, A.module_closure37, A.module_closure38, A.module_closure39, A.module_closure40, A.module__closure6, A.module_closure41, A.module_closure42, A.module_closure43, A.module_closure44, A.module_closure45, A.module_closure46, A.module_closure47, A.module_closure48, A.module__closure5, A.module_closure49, A.module_closure_toXyzNoMissing0, A.module_closure50, A._mix_closure0, A._complement_closure0, A._adjust_closure0, A._scale_closure0, A._change_closure0, A._ieHexStr_closure0, A._ieHexStr_closure_hexString0, A._updateComponents_closure1, A._updateComponents_closure2, A._adjustColor_closure0, A._functionString_closure0, A._removedColorFunction_closure0, A._rgb_closure0, A._hsl_closure0, A._parseChannels_closure1, A._parseChannels_closure2, A._colorFromChannels_closure1, A._colorFromChannels_closure2, A._channelFromValue_closure0, A._channelFunction_closure0, A._suggestScaleAndAdjust_closure0, A.colorClass__closure1, A.colorClass__closure3, A.colorClass__closure5, A.colorClass__closure7, A.colorClass___closure, A.colorClass__closure_changedValue, A.colorClass__closure9, A.colorClass__closure10, A.colorClass__closure11, A.colorClass__closure12, A.colorClass__closure13, A.colorClass__closure14, A.colorClass__closure15, A.colorClass__closure16, A.colorClass__closure17, A.colorClass__closure18, A.colorClass__closure19, A.colorClass__closure20, A.colorClass__closure21, A.colorClass__closure22, A.legacyColorClass_closure, A.legacyColorClass__closure, A.legacyColorClass_closure0, A.legacyColorClass_closure1, A.legacyColorClass_closure2, A.legacyColorClass_closure3, A.SassColor$_forSpace_closure0, A.compileAsync__closure, A.compileStringAsync__closure, A.compileStringAsync__closure0, A._wrapAsyncSassExceptions_closure, A._parseFunctions__closure2, A._parseFunctions__closure3, A.nodePackageImporterClass__closure, A._compileStylesheet_closure1, A.AsyncCompiler_addCompilation_closure, A.compilerClass__closure, A.compilerClass__closure0, A.compilerClass__closure1, A.compilerClass__closure2, A.asyncCompilerClass__closure, A.asyncCompilerClass__closure0, A.asyncCompilerClass__closure1, A.asyncCompilerClass__closure2, A.ComplexSelectorComponent_toString_closure0, A.CompoundSelector_hasComplicatedSuperselectorSemantics_closure0, A._disallowedFunctionNames_closure0, A.Deprecation_fromId_closure0, A.DeprecationProcessingLogger_summarize_closure1, A.DeprecationProcessingLogger_summarize_closure2, A.versionClass__closure, A.versionClass__closure0, A.EachRule_toString_closure0, A.Environment__getVariableFromGlobalModule_closure0, A.Environment_setVariable_closure3, A.Environment__getFunctionFromGlobalModule_closure0, A.Environment__getMixinFromGlobalModule_closure0, A.Environment_toModule_closure0, A.Environment_toDummyModule_closure0, A._EnvironmentModule__EnvironmentModule_closure11, A._EnvironmentModule__EnvironmentModule_closure12, A._EnvironmentModule__EnvironmentModule_closure13, A._EnvironmentModule__EnvironmentModule_closure14, A._EnvironmentModule__EnvironmentModule_closure15, A._EnvironmentModule__EnvironmentModule_closure16, A._EvaluateVisitor_closure25, A._EvaluateVisitor_closure26, A._EvaluateVisitor_closure27, A._EvaluateVisitor_closure28, A._EvaluateVisitor_closure29, A._EvaluateVisitor_closure30, A._EvaluateVisitor_closure31, A._EvaluateVisitor_closure32, A._EvaluateVisitor_closure33, A._EvaluateVisitor_closure34, A._EvaluateVisitor_closure35, A._EvaluateVisitor_closure36, A._EvaluateVisitor_closure37, A._EvaluateVisitor__loadModule__closure3, A._EvaluateVisitor__combineCss_closure3, A._EvaluateVisitor__combineCss_closure4, A._EvaluateVisitor__combineCss_visitModule1, A._EvaluateVisitor__extendModules_closure3, A._EvaluateVisitor__scopeForAtRoot_closure11, A._EvaluateVisitor__scopeForAtRoot_closure12, A._EvaluateVisitor__scopeForAtRoot_closure13, A._EvaluateVisitor__scopeForAtRoot_closure14, A._EvaluateVisitor__scopeForAtRoot_closure15, A._EvaluateVisitor__scopeForAtRoot_closure16, A._EvaluateVisitor_visitEachRule_closure5, A._EvaluateVisitor_visitEachRule_closure6, A._EvaluateVisitor_visitEachRule__closure1, A._EvaluateVisitor_visitEachRule___closure1, A._EvaluateVisitor_visitAtRule_closure5, A._EvaluateVisitor_visitAtRule_closure7, A._EvaluateVisitor_visitForRule__closure1, A._EvaluateVisitor_visitIfRule_closure1, A._EvaluateVisitor_visitIfRule___closure1, A._EvaluateVisitor__visitDynamicImport__closure7, A._EvaluateVisitor__visitDynamicImport__closure8, A._EvaluateVisitor__visitDynamicImport__closure9, A._EvaluateVisitor_visitIncludeRule_closure6, A._EvaluateVisitor_visitMediaRule_closure5, A._EvaluateVisitor_visitMediaRule_closure7, A._EvaluateVisitor_visitStyleRule_closure8, A._EvaluateVisitor_visitStyleRule_closure9, A._EvaluateVisitor__warnForBogusCombinators_closure1, A._EvaluateVisitor_visitSupportsRule_closure4, A._EvaluateVisitor_visitWhileRule__closure1, A._EvaluateVisitor__slash_recommendation1, A._EvaluateVisitor_visitListExpression_closure1, A._EvaluateVisitor_visitFunctionExpression_closure6, A._EvaluateVisitor__visitCalculation_closure1, A._EvaluateVisitor__checkCalculationArguments_check1, A._EvaluateVisitor__visitCalculationExpression__closure1, A._EvaluateVisitor__runUserDefinedCallable____closure1, A._EvaluateVisitor__runBuiltInCallable_closure7, A._EvaluateVisitor__evaluateArguments_closure7, A._EvaluateVisitor__evaluateArguments_closure8, A._EvaluateVisitor__evaluateArguments_closure10, A._EvaluateVisitor__evaluateMacroArguments_closure7, A._EvaluateVisitor__evaluateMacroArguments_closure8, A._EvaluateVisitor__evaluateMacroArguments_closure10, A._EvaluateVisitor_visitCssAtRule_closure4, A._EvaluateVisitor_visitCssKeyframeBlock_closure4, A._EvaluateVisitor_visitCssMediaRule_closure5, A._EvaluateVisitor_visitCssMediaRule_closure7, A._EvaluateVisitor_visitCssStyleRule_closure3, A._EvaluateVisitor_visitCssSupportsRule_closure4, A._EvaluateVisitor__performInterpolationHelper_closure1, A._EvaluateVisitor__withoutSlash_recommendation1, A._EvaluateVisitor__stackFrame_closure1, A._ImportedCssVisitor_visitCssAtRule_closure1, A._ImportedCssVisitor_visitCssMediaRule_closure1, A._ImportedCssVisitor_visitCssStyleRule_closure1, A._ImportedCssVisitor_visitCssSupportsRule_closure1, A.EveryCssVisitor_visitCssAtRule_closure0, A.EveryCssVisitor_visitCssKeyframeBlock_closure0, A.EveryCssVisitor_visitCssMediaRule_closure0, A.EveryCssVisitor_visitCssStyleRule_closure0, A.EveryCssVisitor_visitCssStylesheet_closure0, A.EveryCssVisitor_visitCssSupportsRule_closure0, A.exceptionClass__closure, A.exceptionClass__closure0, A.exceptionClass__closure1, A.ExtensionStore_extensionsWhereTarget_closure0, A.ExtensionStore__extendComplex_closure0, A.ExtensionStore__extendComplex__closure0, A.ExtensionStore__extendCompound_closure2, A.ExtensionStore__extendCompound_closure3, A.ExtensionStore__extendCompound_closure4, A.ExtensionStore__extendSimple_withoutPseudo0, A.ExtensionStore__extendSimple_closure1, A.ExtensionStore__extendSimple_closure2, A.ExtensionStore__extendPseudo_closure4, A.ExtensionStore__extendPseudo_closure5, A.ExtensionStore__extendPseudo_closure6, A.ExtensionStore__extendPseudo_closure7, A.ExtensionStore__extendPseudo_closure8, A.ExtensionStore__trim_closure1, A.ExtensionStore__trim_closure2, A.FilesystemImporter_canonicalize_closure0, A.functionClass__closure, A.functionClass__closure0, A.unifyComplex_closure0, A._weaveParents_closure4, A._weaveParents_closure5, A._weaveParents_closure6, A._mustUnify_closure0, A._mustUnify__closure0, A.paths__closure0, A.paths___closure0, A.listIsSuperselector_closure0, A.listIsSuperselector__closure0, A.complexIsSuperselector_closure1, A.complexIsSuperselector_closure2, A._compatibleWithPreviousCombinator_closure0, A.compoundIsSuperselector_closure0, A._selectorPseudoIsSuperselector_closure6, A._selectorPseudoIsSuperselector_closure7, A._selectorPseudoIsSuperselector_closure8, A._selectorPseudoIsSuperselector_closure9, A._selectorPseudoIsSuperselector_closure10, A._selectorPseudoIsSuperselector__closure0, A._selectorPseudoIsSuperselector___closure1, A._selectorPseudoIsSuperselector___closure2, A._selectorPseudoIsSuperselector_closure11, A._selectorPseudoIsSuperselector_closure12, A._selectorPseudoArgs_closure1, A._selectorPseudoArgs_closure2, A.globalFunctions_closure0, A.HwbColorSpace_convert_toRgb0, A.IDSelector_unify_closure0, A.IfRuleClause$__closure0, A.IfRuleClause$___closure0, A.immutableMapToDartMap_closure, A.NodeImporter__tryPath_closure0, A.ImportCache_humanize_closure3, A.ImportCache_humanize_closure4, A.ImportCache_humanize_closure5, A.ImportCache_humanize_closure6, A.Interpolation_toString_closure0, A.InterpolationMap_mapException_closure0, A._realCasePath_helper0, A._realCasePath_helper__closure0, A.IsCalculationSafeVisitor_visitListExpression_closure0, A.listDir__closure1, A.listDir__closure2, A.listDir_closure_list0, A.listDir__list_closure0, A.render_closure0, A._parseFunctions__closure, A._parseFunctions___closure2, A._parseFunctions__closure0, A._parseFunctions__closure1, A._parseFunctions___closure, A._parseImporter_closure, A._parseImporter__closure, A._parseImporter___closure, A.ListExpression_toString_closure0, A._length_closure2, A._nth_closure0, A._setNth_closure0, A._join_closure0, A._append_closure2, A._zip_closure0, A._zip__closure2, A._zip__closure3, A._zip__closure4, A._index_closure2, A._separator_closure0, A._isBracketed_closure0, A._slash_closure0, A.SelectorList_asSassList_closure0, A.SelectorList_nestWithin_closure0, A.SelectorList_nestWithin__closure1, A.SelectorList_nestWithin__closure2, A.SelectorList__nestWithinCompound_closure2, A.SelectorList__nestWithinCompound_closure3, A.SelectorList__nestWithinCompound_closure4, A.SelectorList_withAdditionalCombinators_closure0, A.listClass__closure, A.legacyListClass_closure, A.legacyListClass__closure, A.legacyListClass_closure1, A.legacyListClass_closure2, A.legacyListClass_closure4, A.SassList_isBlank_closure0, A._get_closure0, A._set_closure1, A._set__closure2, A._set_closure2, A._set__closure1, A._merge_closure1, A._merge_closure2, A._merge__closure0, A._deepMerge_closure0, A._deepRemove_closure0, A._deepRemove__closure0, A._remove_closure1, A._remove_closure2, A._keys_closure0, A._values_closure0, A._hasKey_closure0, A._modify_modifyNestedMap0, A.MapExtensions_get_pairs_closure0, A.mapClass__closure, A.mapClass__closure0, A.legacyMapClass_closure, A.legacyMapClass__closure, A.legacyMapClass__closure0, A.legacyMapClass_closure2, A.legacyMapClass_closure3, A.legacyMapClass_closure4, A.global_closure43, A.module_closure26, A._ceil_closure0, A._clamp_closure0, A._floor_closure0, A._max_closure0, A._min_closure0, A._round_closure0, A._hypot_closure0, A._hypot__closure0, A._log_closure0, A._pow_closure0, A._atan2_closure0, A._compatible_closure0, A._isUnitless_closure0, A._unit_closure0, A._percentage_closure0, A._randomFunction_closure0, A._div_closure0, A._singleArgumentMathFunc_closure0, A._numberFunction_closure0, A._shared_closure3, A._shared_closure4, A._shared_closure5, A._shared_closure6, A.moduleFunctions_closure2, A.moduleFunctions_closure3, A.moduleFunctions__closure0, A.moduleFunctions_closure4, A.mixinClass__closure, A.mixinClass__closure0, A.ModifiableCssNode_hasFollowingSibling_closure0, A.NodePackageImporter__nodePackageExportsResolve_closure3, A.NodePackageImporter__nodePackageExportsResolve_closure4, A.NodePackageImporter__nodePackageExportsResolve_closure5, A.NodePackageImporter__nodePackageExportsResolve_closure6, A.NodePackageImporter__nodePackageExportsResolve__closure1, A.NodePackageImporter__nodePackageExportsResolve__closure2, A.NodePackageImporter__getMainExport_closure0, A.legacyNullClass__closure, A.numberClass__closure, A.numberClass__closure0, A.numberClass__closure1, A.numberClass__closure2, A.numberClass__closure3, A.numberClass__closure4, A.numberClass__closure5, A.numberClass__closure6, A.numberClass__closure7, A.numberClass__closure8, A.numberClass__closure9, A.numberClass__closure12, A.numberClass__closure13, A.numberClass__closure14, A.numberClass__closure15, A.numberClass__closure16, A.numberClass__closure17, A.numberClass__closure18, A.numberClass__closure19, A.legacyNumberClass_closure, A.legacyNumberClass_closure0, A.legacyNumberClass_closure2, A._parseNumber_closure, A._parseNumber_closure0, A.SassNumber__coerceOrConvertValue_closure3, A.SassNumber__coerceOrConvertValue_closure5, A.SassNumber_multiplyUnits_closure3, A.SassNumber_multiplyUnits_closure5, A.SassNumber__areAnyConvertible_closure0, A.SassNumber__canonicalizeUnitList_closure0, A.SassNumber_unitSuggestion_closure1, A.SassNumber_unitSuggestion_closure2, A.ParameterList_verify_closure1, A.ParameterList_verify_closure2, A.ParentStatement_closure0, A.ParentStatement__closure0, A.loadParserExports_closure, A.loadParserExports_closure0, A.loadParserExports_closure1, A._updateAstPrototypes_closure, A._updateAstPrototypes_closure0, A._updateAstPrototypes_closure1, A._updateAstPrototypes_closure4, A._updateAstPrototypes_closure5, A._updateAstPrototypes_closure6, A._updateAstPrototypes_closure7, A._updateAstPrototypes_closure8, A._updateAstPrototypes_closure9, A._addSupportsConditionToInterpolation_closure, A.Parser_escape_closure0, A.Parser_scanIdentChar_matches0, A._PrefixedKeys_iterator_closure0, A.PseudoSelector_specificity__closure1, A.PseudoSelector_specificity__closure2, A.PseudoSelector_unify_closure0, A.JSClassExtension_setCustomInspect_closure, A.ReplaceExpressionVisitor_visitListExpression_closure0, A.ReplaceExpressionVisitor_visitArgumentList_closure0, A.ReplaceExpressionVisitor_visitInterpolation_closure0, A.SassParser_styleRuleSelector_closure0, A.SassParser__peekIndentation_closure1, A.SassParser__peekIndentation_closure2, A.SassParser__tryTrailingSemicolon_closure0, A._wrapMain_closure, A._wrapMain_closure0, A._IsBogusVisitor_visitComplexSelector_closure0, A._IsUselessVisitor_visitComplexSelector_closure0, A._nest_closure0, A._nest__closure1, A._append_closure1, A._append__closure1, A._append___closure0, A._extend_closure0, A._replace_closure0, A._unify_closure0, A._isSuperselector_closure0, A._simpleSelectors_closure0, A._simpleSelectors__closure0, A._parse_closure0, A.SelectorSearchVisitor_visitComplexSelector_closure0, A.SelectorSearchVisitor_visitCompoundSelector_closure0, A.serialize_closure0, A._SerializeVisitor_visitList_closure2, A._SerializeVisitor_visitList_closure3, A._SerializeVisitor_visitList_closure4, A._SerializeVisitor_visitMap_closure0, A._SerializeVisitor_visitSelectorList_closure0, A.SimpleSelector_isSuperselector_closure0, A.SimpleSelector_isSuperselector__closure0, A.SingleUnitSassNumber__coerceToUnit_closure0, A.SingleUnitSassNumber__coerceValueToUnit_closure0, A.SingleUnitSassNumber_multiplyUnits_closure1, A.SourceMapBuffer_buildSourceMap_closure0, A.updateSourceSpanPrototype_closure0, A.updateSourceSpanPrototype_closure1, A.updateSourceSpanPrototype_closure2, A.updateSourceSpanPrototype__closure, A.updateSourceSpanPrototype_closure3, A.updateSourceSpanPrototype_closure4, A.updateSourceSpanPrototype_closure5, A.updateSourceSpanPrototype_closure6, A.StatementSearchVisitor_visitIfRule_closure1, A.StatementSearchVisitor_visitIfRule__closure2, A.StatementSearchVisitor_visitIfRule_closure2, A.StatementSearchVisitor_visitIfRule__closure1, A.StatementSearchVisitor_visitChildren_closure0, A.module_closure25, A.module__closure3, A.module__closure4, A._unquote_closure0, A._quote_closure0, A._length_closure1, A._insert_closure0, A._index_closure1, A._slice_closure0, A._toUpperCase_closure0, A._toLowerCase_closure0, A._uniqueId_closure0, A.StringExtension_toCssIdentifier_writeEscape, A.StringExtension_toCssIdentifier_consumeSurrogatePair, A.stringClass__closure, A.stringClass__closure0, A.stringClass__closure1, A.stringClass__closure2, A.stringClass__closure3, A.legacyStringClass_closure, A.legacyStringClass_closure0, A.StylesheetParser__expression_addSingleExpression0, A.StylesheetParser__expression_addOperator0, A.StylesheetParser__isHexColor_closure0, A.StylesheetParser__unicodeRange_closure1, A.StylesheetParser__unicodeRange_closure2, A.StylesheetParser_trySpecialFunction_closure0, A._UnprefixedKeys_iterator_closure1, A._UnprefixedKeys_iterator_closure2, A._exactlyOne_closure0, A.futureToPromise__closure0, A.indent_closure0, A.flattenVertically_closure1, A.flattenVertically_closure2, A.valueClass__closure, A.valueClass__closure0, A.valueClass__closure1, A.valueClass__closure2, A.valueClass__closure3, A.valueClass__closure4, A.valueClass__closure5, A.valueClass__closure7, A.valueClass__closure8, A.valueClass__closure9, A.valueClass__closure10, A.valueClass__closure11, A.valueClass__closure12, A.valueClass__closure13, A.valueClass__closure14, A.valueClass__closure15, A.valueClass__closure17, A.valueClass__closure18]);
  124765. _inheritMany(A.Closure2Args, [A._CastListBase_sort_closure, A.CastMap_forEach_closure, A.Primitives_functionNoSuchMethod_closure, A.JsLinkedHashMap_addAll_closure, A.initHooks_closure0, A._awaitOnObject_closure0, A._wrapJsFunctionForAsync_closure, A.Future_wait_handleError, A._Future__propagateToListeners_handleWhenCompleteCallback_closure0, A.Stream_Stream$fromFuture_closure0, A._AddStreamState_makeErrorHandler_closure, A._HashMap_addAll_closure, A.HashMap_HashMap$from_closure, A.LinkedHashMap_LinkedHashMap$from_closure, A.MapBase_addAll_closure, A.MapBase_mapToString_closure, A._JsonMap_addAll_closure, A._JsonStringifier_writeMap_closure, A.NoSuchMethodError_toString_closure, A.Uri__parseIPv4Address_error, A.Uri_parseIPv6Address_error, A.Uri_parseIPv6Address_parseHex, A.Parser_parse_closure, A.FutureGroup_add_closure0, A.StreamQueue__ensureListening_closure1, A.futureToPromise_closure, A.PathMap__create_closure, A.IfRule_toString_closure, A.ComplexSelector_specificity_closure, A.CompoundSelector_specificity_closure, A.ExtensionStore_clone_closure, A._weaveParents_closure, A.paths_closure, A._nest__closure0, A._append__closure0, A.watchDir_closure0, A.ParcelWatcher_subscribe_closure, A.StylesheetParser__styleRule_closure, A.StylesheetParser__tryDeclarationChildren_closure, A.StylesheetParser__atRootRule_closure, A.StylesheetParser__atRootRule_closure0, A.StylesheetParser__eachRule_closure, A.StylesheetParser__functionRule_closure, A.StylesheetParser__forRule_closure0, A.StylesheetParser__includeRule_closure, A.StylesheetParser_mediaRule_closure, A.StylesheetParser__mixinRule_closure, A.StylesheetParser_mozDocumentRule_closure0, A.StylesheetParser_supportsRule_closure, A.StylesheetParser__whileRule_closure, A.StylesheetParser_unknownAtRule_closure, A.longestCommonSubsequence_backtrack, A.mapAddAll2_closure, A.SassNumber_plus_closure, A.SassNumber_minus_closure, A.SassNumber__canonicalMultiplier_closure, A._EvaluateVisitor__closure3, A._EvaluateVisitor__closure4, A._EvaluateVisitor_visitForwardRule_closure1, A._EvaluateVisitor_visitForwardRule_closure2, A._EvaluateVisitor_visitUseRule_closure0, A._EvaluateVisitor__evaluateArguments_closure5, A._EvaluateVisitor__evaluateMacroArguments_closure5, A._EvaluateVisitor__addRestMap_closure0, A._EvaluateVisitor__closure, A._EvaluateVisitor__closure0, A._EvaluateVisitor_visitForwardRule_closure, A._EvaluateVisitor_visitForwardRule_closure0, A._EvaluateVisitor_visitUseRule_closure, A._EvaluateVisitor__evaluateArguments_closure1, A._EvaluateVisitor__evaluateMacroArguments_closure1, A._EvaluateVisitor__addRestMap_closure, A.SingleMapping_toJson_closure0, A.Highlighter__collateLines_closure0, A.Frame_Frame$parseV8_closure_parseJsLocation, A.TransformByHandlers_transformByHandlers__closure1, A.RateLimit__debounceAggregate_closure, A._EvaluateVisitor__closure11, A._EvaluateVisitor__closure12, A._EvaluateVisitor_visitForwardRule_closure5, A._EvaluateVisitor_visitForwardRule_closure6, A._EvaluateVisitor_visitUseRule_closure2, A._EvaluateVisitor__evaluateArguments_closure13, A._EvaluateVisitor__evaluateMacroArguments_closure13, A._EvaluateVisitor__addRestMap_closure2, A.calculationOperationClass__closure0, A.calculationInterpolationClass__closure, A.calculationInterpolationClass__closure0, A.colorClass__closure, A.colorClass__closure0, A.colorClass__closure2, A.colorClass__closure4, A.colorClass__closure6, A.colorClass__closure8, A.legacyColorClass_closure4, A.legacyColorClass_closure5, A.legacyColorClass_closure6, A.legacyColorClass_closure7, A._parseFunctions_closure0, A.ComplexSelector_specificity_closure0, A.CompoundSelector_specificity_closure0, A._EvaluateVisitor__closure7, A._EvaluateVisitor__closure8, A._EvaluateVisitor_visitForwardRule_closure3, A._EvaluateVisitor_visitForwardRule_closure4, A._EvaluateVisitor_visitUseRule_closure1, A._EvaluateVisitor__evaluateArguments_closure9, A._EvaluateVisitor__evaluateMacroArguments_closure9, A._EvaluateVisitor__addRestMap_closure1, A.ExtensionStore_clone_closure0, A._weaveParents_closure3, A.paths_closure0, A.IfRule_toString_closure0, A.main_closure, A.main_closure0, A.render_closure1, A._parseFunctions_closure, A.listClass__closure0, A.legacyListClass_closure0, A.legacyListClass_closure3, A.mapClass__closure1, A.legacyMapClass_closure0, A.legacyMapClass_closure1, A.numberClass__closure10, A.numberClass__closure11, A.legacyNumberClass_closure1, A.legacyNumberClass_closure3, A.SassNumber_plus_closure0, A.SassNumber_minus_closure0, A.SassNumber__canonicalMultiplier_closure0, A._updateAstPrototypes_closure2, A._updateAstPrototypes_closure3, A.JSClassExtension_get_defineStaticMethod_closure, A.JSClassExtension_get_defineMethod_closure, A.JSClassExtension_get_defineGetter_closure, A._nest__closure2, A._append__closure2, A.legacyStringClass_closure1, A.StylesheetParser__styleRule_closure0, A.StylesheetParser__tryDeclarationChildren_closure0, A.StylesheetParser__atRootRule_closure1, A.StylesheetParser__atRootRule_closure2, A.StylesheetParser__eachRule_closure0, A.StylesheetParser__functionRule_closure0, A.StylesheetParser__forRule_closure2, A.StylesheetParser__includeRule_closure0, A.StylesheetParser_mediaRule_closure0, A.StylesheetParser__mixinRule_closure0, A.StylesheetParser_mozDocumentRule_closure2, A.StylesheetParser_supportsRule_closure0, A.StylesheetParser__whileRule_closure0, A.StylesheetParser_unknownAtRule_closure0, A.futureToPromise_closure0, A.futureToPromise__closure1, A.objectToMap_closure, A.longestCommonSubsequence_backtrack0, A.mapAddAll2_closure0, A.valueClass__closure6, A.valueClass__closure16]);
  124766. _inherit(A.CastList, A._CastListBase);
  124767. _inheritMany(A.MapBase, [A.CastMap, A.JsLinkedHashMap, A._HashMap, A.UnmodifiableMapBase, A._JsonMap, A.MergedMapView, A.MergedMapView0]);
  124768. _inheritMany(A.Error, [A.LateError, A.TypeError, A.JsNoSuchMethodError, A.UnknownJsTypeError, A.RuntimeError, A._Error, A.JsonUnsupportedObjectError, A.AssertionError, A.ArgumentError, A.NoSuchMethodError, A.UnsupportedError, A.UnimplementedError, A.StateError, A.ConcurrentModificationError]);
  124769. _inherit(A.UnmodifiableListBase, A.ListBase);
  124770. _inheritMany(A.UnmodifiableListBase, [A.CodeUnits, A.UnmodifiableListView]);
  124771. _inheritMany(A.Closure0Args, [A.nullFuture_closure, A._AsyncRun__scheduleImmediateJsOverride_internalCallback, A._AsyncRun__scheduleImmediateWithSetImmediate_internalCallback, A._TimerImpl_internalCallback, A._TimerImpl$periodic_closure, A._Future__addListener_closure, A._Future__prependListeners_closure, A._Future__chainCoreFuture_closure, A._Future__asyncCompleteWithValue_closure, A._Future__asyncCompleteErrorObject_closure, A._Future__propagateToListeners_handleWhenCompleteCallback, A._Future__propagateToListeners_handleValueCallback, A._Future__propagateToListeners_handleError, A.Stream_length_closure0, A._StreamController__subscribe_closure, A._StreamController__recordCancel_complete, A._AddStreamState_cancel_closure, A._BufferingStreamSubscription__sendError_sendError, A._BufferingStreamSubscription__sendDone_sendDone, A._PendingEvents_schedule_closure, A._CustomZone_bindCallback_closure, A._CustomZone_bindCallbackGuarded_closure, A._rootHandleError_closure, A._RootZone_bindCallback_closure, A._RootZone_bindCallbackGuarded_closure, A._Utf8Decoder__decoder_closure, A._Utf8Decoder__decoderNonfatal_closure, A.Parser__setOption_closure, A.StreamGroup_add_closure, A.StreamGroup_add_closure0, A.StreamGroup__listenToStream_closure, A.StreamQueue__ensureListening_closure0, A._isStrictMode_closure, A.ReplAdapter_runAsync_closure, A.ParsedPath__splitExtension_closure0, A.PseudoSelector_specificity_closure, A.AsyncEnvironment_setVariable_closure, A.AsyncEnvironment_setVariable_closure1, A.AsyncImportCache_canonicalize_closure, A.AsyncImportCache__canonicalize_closure, A.AsyncImportCache_importCanonical_closure, A.Environment_setVariable_closure, A.Environment_setVariable_closure1, A.ExecutableOptions__parser_closure, A.ExecutableOptions_interactive_closure, A.ExecutableOptions_fatalDeprecations_closure, A.ExtensionStore__registerSelector_closure, A.ExtensionStore_addExtension_closure, A.ExtensionStore_addExtension_closure0, A.ExtensionStore_addExtension_closure1, A.ExtensionStore__extendExistingExtensions_closure, A.ExtensionStore__extendExistingExtensions_closure0, A.ExtensionStore_addExtensions_closure, A._changeColor_closure, A.ImportCache_canonicalize_closure, A.ImportCache__canonicalize_closure, A.ImportCache_importCanonical_closure, A.resolveImportPath_closure, A.resolveImportPath_closure0, A._tryPathAsDirectory_closure, A._realCasePath_helper_closure, A._readFile_closure, A.writeFile_closure, A.deleteFile_closure, A.fileExists_closure, A.dirExists_closure, A.linkExists_closure, A.ensureDir_closure, A.listDir_closure, A.realpath_closure, A.modificationTime_closure, A.watchDir_closure, A.watchDir_closure5, A.watchDir__closure, A.AtRootQueryParser_parse_closure, A.KeyframeSelectorParser_parse_closure, A.MediaQueryParser_parse_closure, A.Parser__parseIdentifier_closure, A.Parser_spanFrom_closure, A.SassParser_children_closure, A.SelectorParser_parse_closure, A.SelectorParser_parseCompoundSelector_closure, A.StylesheetParser_parse_closure, A.StylesheetParser_parse__closure, A.StylesheetParser_parseParameterList_closure, A.StylesheetParser_parseVariableDeclaration_closure, A.StylesheetParser_parseUseRule_closure, A.StylesheetParser__parseSingleProduction_closure, A.StylesheetParser__statement_closure, A.StylesheetParser_variableDeclarationWithoutNamespace_closure, A.StylesheetParser_variableDeclarationWithoutNamespace_closure0, A.StylesheetParser__declarationOrBuffer_closure, A.StylesheetParser__declarationOrBuffer_closure0, A.StylesheetParser__declarationOrBuffer_closure1, A.StylesheetParser__propertyOrVariableDeclaration_closure, A.StylesheetParser__forRule_closure, A.StylesheetParser__memberList_closure, A.StylesheetParser_mozDocumentRule_closure, A.StylesheetParser__expression_resetState, A.StylesheetParser__expression_resolveOneOperation, A.StylesheetParser__expression_resolveOperations, A.StylesheetParser__expression_resolveSpaceExpressions, A.StylesheetParser_expressionUntilComma_closure, A.StylesheetParser_namespacedExpression_closure, A.StylesheetParser__expressionUntilComparison_closure, A.StylesheetParser__publicIdentifier_closure, A.StylesheetGraph_modifiedSince_transitiveModificationTime_closure, A.StylesheetGraph__add_closure, A.StylesheetGraph_addCanonical_closure, A.StylesheetGraph_reload_closure, A.StylesheetGraph__nodeFor_closure, A.StylesheetGraph__nodeFor_closure0, A.SassNumber__coerceOrConvertValue_compatibilityException, A.SassNumber__coerceOrConvertValue_closure0, A.SassNumber__coerceOrConvertValue_closure2, A.SassNumber_multiplyUnits_closure0, A.SassNumber_multiplyUnits_closure2, A.SingleUnitSassNumber_multiplyUnits_closure0, A._EvaluateVisitor__closure6, A._EvaluateVisitor__closure5, A._EvaluateVisitor_run_closure0, A._EvaluateVisitor_run__closure0, A._EvaluateVisitor__loadModule_closure1, A._EvaluateVisitor__loadModule_closure2, A._EvaluateVisitor__loadModule__closure2, A._EvaluateVisitor__execute_closure0, A._EvaluateVisitor__extendModules_closure2, A._EvaluateVisitor_visitAtRootRule_closure1, A._EvaluateVisitor_visitAtRootRule_closure2, A._EvaluateVisitor__scopeForAtRoot__closure0, A._EvaluateVisitor_visitContentRule_closure0, A._EvaluateVisitor_visitDeclaration_closure0, A._EvaluateVisitor_visitEachRule_closure4, A._EvaluateVisitor_visitAtRule_closure3, A._EvaluateVisitor_visitAtRule__closure0, A._EvaluateVisitor_visitForRule_closure4, A._EvaluateVisitor_visitForRule_closure5, A._EvaluateVisitor_visitForRule_closure6, A._EvaluateVisitor_visitForRule_closure7, A._EvaluateVisitor_visitForRule_closure8, A._EvaluateVisitor__registerCommentsForModule_closure0, A._EvaluateVisitor_visitIfRule__closure0, A._EvaluateVisitor__visitDynamicImport_closure0, A._EvaluateVisitor__visitDynamicImport__closure6, A._EvaluateVisitor__applyMixin_closure1, A._EvaluateVisitor__applyMixin__closure2, A._EvaluateVisitor__applyMixin_closure2, A._EvaluateVisitor__applyMixin__closure1, A._EvaluateVisitor__applyMixin___closure0, A._EvaluateVisitor__applyMixin____closure0, A._EvaluateVisitor_visitIncludeRule_closure2, A._EvaluateVisitor_visitIncludeRule_closure4, A._EvaluateVisitor_visitMediaRule_closure3, A._EvaluateVisitor_visitMediaRule__closure0, A._EvaluateVisitor_visitMediaRule___closure0, A._EvaluateVisitor_visitStyleRule_closure3, A._EvaluateVisitor_visitStyleRule_closure6, A._EvaluateVisitor_visitStyleRule__closure0, A._EvaluateVisitor_visitSupportsRule_closure1, A._EvaluateVisitor_visitSupportsRule__closure0, A._EvaluateVisitor__visitSupportsCondition_closure0, A._EvaluateVisitor_visitVariableDeclaration_closure2, A._EvaluateVisitor_visitVariableDeclaration_closure3, A._EvaluateVisitor_visitVariableDeclaration_closure4, A._EvaluateVisitor_visitWarnRule_closure0, A._EvaluateVisitor_visitWhileRule_closure0, A._EvaluateVisitor_visitBinaryOperationExpression_closure0, A._EvaluateVisitor_visitVariableExpression_closure0, A._EvaluateVisitor_visitUnaryOperationExpression_closure0, A._EvaluateVisitor_visitFunctionExpression_closure2, A._EvaluateVisitor_visitFunctionExpression_closure4, A._EvaluateVisitor__visitCalculationExpression_closure0, A._EvaluateVisitor_visitInterpolatedFunctionExpression_closure0, A._EvaluateVisitor__runUserDefinedCallable_closure0, A._EvaluateVisitor__runUserDefinedCallable__closure0, A._EvaluateVisitor__runUserDefinedCallable___closure0, A._EvaluateVisitor__runFunctionCallable_closure0, A._EvaluateVisitor__runBuiltInCallable_closure2, A._EvaluateVisitor__runBuiltInCallable_closure3, A._EvaluateVisitor__verifyArguments_closure0, A._EvaluateVisitor_visitCssAtRule_closure1, A._EvaluateVisitor_visitCssKeyframeBlock_closure1, A._EvaluateVisitor_visitCssMediaRule_closure3, A._EvaluateVisitor_visitCssMediaRule__closure0, A._EvaluateVisitor_visitCssMediaRule___closure0, A._EvaluateVisitor_visitCssStyleRule_closure2, A._EvaluateVisitor_visitCssStyleRule__closure0, A._EvaluateVisitor_visitCssSupportsRule_closure1, A._EvaluateVisitor_visitCssSupportsRule__closure0, A._EvaluateVisitor__serialize_closure0, A._EvaluateVisitor__expressionNode_closure0, A._EvaluateVisitor__closure2, A._EvaluateVisitor__closure1, A._EvaluateVisitor_run_closure, A._EvaluateVisitor_run__closure, A._EvaluateVisitor_runExpression_closure, A._EvaluateVisitor_runExpression__closure, A._EvaluateVisitor_runExpression___closure, A._EvaluateVisitor_runStatement_closure, A._EvaluateVisitor_runStatement__closure, A._EvaluateVisitor_runStatement___closure, A._EvaluateVisitor__loadModule_closure, A._EvaluateVisitor__loadModule_closure0, A._EvaluateVisitor__loadModule__closure0, A._EvaluateVisitor__execute_closure, A._EvaluateVisitor__extendModules_closure0, A._EvaluateVisitor_visitAtRootRule_closure, A._EvaluateVisitor_visitAtRootRule_closure0, A._EvaluateVisitor__scopeForAtRoot__closure, A._EvaluateVisitor_visitContentRule_closure, A._EvaluateVisitor_visitDeclaration_closure, A._EvaluateVisitor_visitEachRule_closure1, A._EvaluateVisitor_visitAtRule_closure0, A._EvaluateVisitor_visitAtRule__closure, A._EvaluateVisitor_visitForRule_closure, A._EvaluateVisitor_visitForRule_closure0, A._EvaluateVisitor_visitForRule_closure1, A._EvaluateVisitor_visitForRule_closure2, A._EvaluateVisitor_visitForRule_closure3, A._EvaluateVisitor__registerCommentsForModule_closure, A._EvaluateVisitor_visitIfRule__closure, A._EvaluateVisitor__visitDynamicImport_closure, A._EvaluateVisitor__visitDynamicImport__closure2, A._EvaluateVisitor__applyMixin_closure, A._EvaluateVisitor__applyMixin__closure0, A._EvaluateVisitor__applyMixin_closure0, A._EvaluateVisitor__applyMixin__closure, A._EvaluateVisitor__applyMixin___closure, A._EvaluateVisitor__applyMixin____closure, A._EvaluateVisitor_visitIncludeRule_closure, A._EvaluateVisitor_visitIncludeRule_closure1, A._EvaluateVisitor_visitMediaRule_closure0, A._EvaluateVisitor_visitMediaRule__closure, A._EvaluateVisitor_visitMediaRule___closure, A._EvaluateVisitor_visitStyleRule_closure, A._EvaluateVisitor_visitStyleRule_closure2, A._EvaluateVisitor_visitStyleRule__closure, A._EvaluateVisitor_visitSupportsRule_closure, A._EvaluateVisitor_visitSupportsRule__closure, A._EvaluateVisitor__visitSupportsCondition_closure, A._EvaluateVisitor_visitVariableDeclaration_closure, A._EvaluateVisitor_visitVariableDeclaration_closure0, A._EvaluateVisitor_visitVariableDeclaration_closure1, A._EvaluateVisitor_visitWarnRule_closure, A._EvaluateVisitor_visitWhileRule_closure, A._EvaluateVisitor_visitBinaryOperationExpression_closure, A._EvaluateVisitor_visitVariableExpression_closure, A._EvaluateVisitor_visitUnaryOperationExpression_closure, A._EvaluateVisitor_visitFunctionExpression_closure, A._EvaluateVisitor_visitFunctionExpression_closure1, A._EvaluateVisitor__visitCalculationExpression_closure, A._EvaluateVisitor_visitInterpolatedFunctionExpression_closure, A._EvaluateVisitor__runUserDefinedCallable_closure, A._EvaluateVisitor__runUserDefinedCallable__closure, A._EvaluateVisitor__runUserDefinedCallable___closure, A._EvaluateVisitor__runFunctionCallable_closure, A._EvaluateVisitor__runBuiltInCallable_closure, A._EvaluateVisitor__runBuiltInCallable_closure0, A._EvaluateVisitor__verifyArguments_closure, A._EvaluateVisitor_visitCssAtRule_closure, A._EvaluateVisitor_visitCssKeyframeBlock_closure, A._EvaluateVisitor_visitCssMediaRule_closure0, A._EvaluateVisitor_visitCssMediaRule__closure, A._EvaluateVisitor_visitCssMediaRule___closure, A._EvaluateVisitor_visitCssStyleRule_closure0, A._EvaluateVisitor_visitCssStyleRule__closure, A._EvaluateVisitor_visitCssSupportsRule_closure, A._EvaluateVisitor_visitCssSupportsRule__closure, A._EvaluateVisitor__serialize_closure, A._EvaluateVisitor__expressionNode_closure, A._SerializeVisitor_visitCssComment_closure, A._SerializeVisitor_visitCssAtRule_closure, A._SerializeVisitor_visitCssMediaRule_closure, A._SerializeVisitor_visitCssImport_closure, A._SerializeVisitor_visitCssImport__closure, A._SerializeVisitor_visitCssKeyframeBlock_closure, A._SerializeVisitor_visitCssStyleRule_closure, A._SerializeVisitor_visitCssSupportsRule_closure, A._SerializeVisitor_visitCssDeclaration_closure, A._SerializeVisitor_visitCssDeclaration_closure0, A._SerializeVisitor__write_closure, A._SerializeVisitor__visitChildren_closure, A._SerializeVisitor__visitChildren_closure0, A.SingleMapping_SingleMapping$fromEntries_closure, A.SingleMapping_SingleMapping$fromEntries_closure0, A.Highlighter_closure, A.Highlighter__writeFileStart_closure, A.Highlighter__writeMultilineHighlights_closure, A.Highlighter__writeMultilineHighlights_closure0, A.Highlighter__writeMultilineHighlights_closure1, A.Highlighter__writeMultilineHighlights_closure2, A.Highlighter__writeMultilineHighlights__closure, A.Highlighter__writeMultilineHighlights__closure0, A.Highlighter__writeHighlightedText_closure, A.Highlighter__writeIndicator_closure, A.Highlighter__writeIndicator_closure0, A.Highlighter__writeIndicator_closure1, A.Highlighter__writeLabel_closure, A.Highlighter__writeLabel_closure0, A.Highlighter__writeSidebar_closure, A._Highlight_closure, A.Frame_Frame$parseVM_closure, A.Frame_Frame$parseV8_closure, A.Frame_Frame$_parseFirefoxEval_closure, A.Frame_Frame$parseFirefox_closure, A.Frame_Frame$parseFriendly_closure, A.LazyTrace_terse_closure, A.Trace_Trace$from_closure, A.TransformByHandlers_transformByHandlers_closure, A.TransformByHandlers_transformByHandlers__closure0, A.TransformByHandlers_transformByHandlers__closure2, A.RateLimit__debounceAggregate_closure_emit, A.RateLimit__debounceAggregate__closure, A.argumentListClass_closure, A.JSToDartAsyncImporter_canonicalize_closure, A.JSToDartAsyncImporter_load_closure, A.AsyncEnvironment_setVariable_closure2, A.AsyncEnvironment_setVariable_closure4, A._EvaluateVisitor__closure14, A._EvaluateVisitor__closure13, A._EvaluateVisitor_run_closure2, A._EvaluateVisitor_run__closure2, A._EvaluateVisitor__loadModule_closure5, A._EvaluateVisitor__loadModule_closure6, A._EvaluateVisitor__loadModule__closure6, A._EvaluateVisitor__execute_closure2, A._EvaluateVisitor__extendModules_closure6, A._EvaluateVisitor_visitAtRootRule_closure5, A._EvaluateVisitor_visitAtRootRule_closure6, A._EvaluateVisitor__scopeForAtRoot__closure2, A._EvaluateVisitor_visitContentRule_closure2, A._EvaluateVisitor_visitDeclaration_closure2, A._EvaluateVisitor_visitEachRule_closure10, A._EvaluateVisitor_visitAtRule_closure9, A._EvaluateVisitor_visitAtRule__closure2, A._EvaluateVisitor_visitForRule_closure14, A._EvaluateVisitor_visitForRule_closure15, A._EvaluateVisitor_visitForRule_closure16, A._EvaluateVisitor_visitForRule_closure17, A._EvaluateVisitor_visitForRule_closure18, A._EvaluateVisitor__registerCommentsForModule_closure2, A._EvaluateVisitor_visitIfRule__closure2, A._EvaluateVisitor__visitDynamicImport_closure2, A._EvaluateVisitor__visitDynamicImport__closure14, A._EvaluateVisitor__applyMixin_closure5, A._EvaluateVisitor__applyMixin__closure6, A._EvaluateVisitor__applyMixin_closure6, A._EvaluateVisitor__applyMixin__closure5, A._EvaluateVisitor__applyMixin___closure2, A._EvaluateVisitor__applyMixin____closure2, A._EvaluateVisitor_visitIncludeRule_closure8, A._EvaluateVisitor_visitIncludeRule_closure10, A._EvaluateVisitor_visitMediaRule_closure9, A._EvaluateVisitor_visitMediaRule__closure2, A._EvaluateVisitor_visitMediaRule___closure2, A._EvaluateVisitor_visitStyleRule_closure11, A._EvaluateVisitor_visitStyleRule_closure14, A._EvaluateVisitor_visitStyleRule__closure2, A._EvaluateVisitor_visitSupportsRule_closure5, A._EvaluateVisitor_visitSupportsRule__closure2, A._EvaluateVisitor__visitSupportsCondition_closure2, A._EvaluateVisitor_visitVariableDeclaration_closure8, A._EvaluateVisitor_visitVariableDeclaration_closure9, A._EvaluateVisitor_visitVariableDeclaration_closure10, A._EvaluateVisitor_visitWarnRule_closure2, A._EvaluateVisitor_visitWhileRule_closure2, A._EvaluateVisitor_visitBinaryOperationExpression_closure2, A._EvaluateVisitor_visitVariableExpression_closure2, A._EvaluateVisitor_visitUnaryOperationExpression_closure2, A._EvaluateVisitor_visitFunctionExpression_closure8, A._EvaluateVisitor_visitFunctionExpression_closure10, A._EvaluateVisitor__visitCalculationExpression_closure2, A._EvaluateVisitor_visitInterpolatedFunctionExpression_closure2, A._EvaluateVisitor__runUserDefinedCallable_closure2, A._EvaluateVisitor__runUserDefinedCallable__closure2, A._EvaluateVisitor__runUserDefinedCallable___closure2, A._EvaluateVisitor__runFunctionCallable_closure2, A._EvaluateVisitor__runBuiltInCallable_closure8, A._EvaluateVisitor__runBuiltInCallable_closure9, A._EvaluateVisitor__verifyArguments_closure2, A._EvaluateVisitor_visitCssAtRule_closure5, A._EvaluateVisitor_visitCssKeyframeBlock_closure5, A._EvaluateVisitor_visitCssMediaRule_closure9, A._EvaluateVisitor_visitCssMediaRule__closure2, A._EvaluateVisitor_visitCssMediaRule___closure2, A._EvaluateVisitor_visitCssStyleRule_closure6, A._EvaluateVisitor_visitCssStyleRule__closure2, A._EvaluateVisitor_visitCssSupportsRule_closure5, A._EvaluateVisitor_visitCssSupportsRule__closure2, A._EvaluateVisitor__serialize_closure2, A._EvaluateVisitor__expressionNode_closure2, A.JSToDartAsyncFileImporter_canonicalize_closure, A.AsyncImportCache_canonicalize_closure0, A.AsyncImportCache__canonicalize_closure0, A.AsyncImportCache_importCanonical_closure0, A.AtRootQueryParser_parse_closure0, A.booleanClass_closure, A.legacyBooleanClass_closure, A.calculationClass_closure, A.calculationOperationClass_closure, A.calculationInterpolationClass_closure, A._changeColor_closure0, A.colorClass_closure, A.compileAsync_closure, A.compileStringAsync_closure, A._parseFunctions___closure6, A._parseFunctions___closure5, A.nodePackageImporterClass_closure, A.compilerClass_closure, A.asyncCompilerClass_closure, A.asyncCompilerClass___closure, A.initAsyncCompiler_closure, A.deprecations_closure, A.parseDeprecations_closure, A.versionClass_closure, A.Environment_setVariable_closure2, A.Environment_setVariable_closure4, A._EvaluateVisitor__closure10, A._EvaluateVisitor__closure9, A._EvaluateVisitor_run_closure1, A._EvaluateVisitor_run__closure1, A._EvaluateVisitor__loadModule_closure3, A._EvaluateVisitor__loadModule_closure4, A._EvaluateVisitor__loadModule__closure4, A._EvaluateVisitor__execute_closure1, A._EvaluateVisitor__extendModules_closure4, A._EvaluateVisitor_visitAtRootRule_closure3, A._EvaluateVisitor_visitAtRootRule_closure4, A._EvaluateVisitor__scopeForAtRoot__closure1, A._EvaluateVisitor_visitContentRule_closure1, A._EvaluateVisitor_visitDeclaration_closure1, A._EvaluateVisitor_visitEachRule_closure7, A._EvaluateVisitor_visitAtRule_closure6, A._EvaluateVisitor_visitAtRule__closure1, A._EvaluateVisitor_visitForRule_closure9, A._EvaluateVisitor_visitForRule_closure10, A._EvaluateVisitor_visitForRule_closure11, A._EvaluateVisitor_visitForRule_closure12, A._EvaluateVisitor_visitForRule_closure13, A._EvaluateVisitor__registerCommentsForModule_closure1, A._EvaluateVisitor_visitIfRule__closure1, A._EvaluateVisitor__visitDynamicImport_closure1, A._EvaluateVisitor__visitDynamicImport__closure10, A._EvaluateVisitor__applyMixin_closure3, A._EvaluateVisitor__applyMixin__closure4, A._EvaluateVisitor__applyMixin_closure4, A._EvaluateVisitor__applyMixin__closure3, A._EvaluateVisitor__applyMixin___closure1, A._EvaluateVisitor__applyMixin____closure1, A._EvaluateVisitor_visitIncludeRule_closure5, A._EvaluateVisitor_visitIncludeRule_closure7, A._EvaluateVisitor_visitMediaRule_closure6, A._EvaluateVisitor_visitMediaRule__closure1, A._EvaluateVisitor_visitMediaRule___closure1, A._EvaluateVisitor_visitStyleRule_closure7, A._EvaluateVisitor_visitStyleRule_closure10, A._EvaluateVisitor_visitStyleRule__closure1, A._EvaluateVisitor_visitSupportsRule_closure3, A._EvaluateVisitor_visitSupportsRule__closure1, A._EvaluateVisitor__visitSupportsCondition_closure1, A._EvaluateVisitor_visitVariableDeclaration_closure5, A._EvaluateVisitor_visitVariableDeclaration_closure6, A._EvaluateVisitor_visitVariableDeclaration_closure7, A._EvaluateVisitor_visitWarnRule_closure1, A._EvaluateVisitor_visitWhileRule_closure1, A._EvaluateVisitor_visitBinaryOperationExpression_closure1, A._EvaluateVisitor_visitVariableExpression_closure1, A._EvaluateVisitor_visitUnaryOperationExpression_closure1, A._EvaluateVisitor_visitFunctionExpression_closure5, A._EvaluateVisitor_visitFunctionExpression_closure7, A._EvaluateVisitor__visitCalculationExpression_closure1, A._EvaluateVisitor_visitInterpolatedFunctionExpression_closure1, A._EvaluateVisitor__runUserDefinedCallable_closure1, A._EvaluateVisitor__runUserDefinedCallable__closure1, A._EvaluateVisitor__runUserDefinedCallable___closure1, A._EvaluateVisitor__runFunctionCallable_closure1, A._EvaluateVisitor__runBuiltInCallable_closure5, A._EvaluateVisitor__runBuiltInCallable_closure6, A._EvaluateVisitor__verifyArguments_closure1, A._EvaluateVisitor_visitCssAtRule_closure3, A._EvaluateVisitor_visitCssKeyframeBlock_closure3, A._EvaluateVisitor_visitCssMediaRule_closure6, A._EvaluateVisitor_visitCssMediaRule__closure1, A._EvaluateVisitor_visitCssMediaRule___closure1, A._EvaluateVisitor_visitCssStyleRule_closure4, A._EvaluateVisitor_visitCssStyleRule__closure1, A._EvaluateVisitor_visitCssSupportsRule_closure3, A._EvaluateVisitor_visitCssSupportsRule__closure1, A._EvaluateVisitor__serialize_closure1, A._EvaluateVisitor__expressionNode_closure1, A.exceptionClass_closure, A.ExtensionStore__registerSelector_closure0, A.ExtensionStore_addExtension_closure2, A.ExtensionStore_addExtension_closure3, A.ExtensionStore_addExtension_closure4, A.ExtensionStore__extendExistingExtensions_closure1, A.ExtensionStore__extendExistingExtensions_closure2, A.ExtensionStore_addExtensions_closure0, A.JSToDartFileImporter_canonicalize_closure, A.functionClass_closure, A.NodeImporter_load_closure, A.NodeImporter__tryPath_closure, A.NodeImporter__callImporterAsync_closure, A.ImportCache_canonicalize_closure0, A.ImportCache__canonicalize_closure0, A.ImportCache_importCanonical_closure0, A._realCasePath_helper_closure0, A._readFile_closure0, A.fileExists_closure0, A.dirExists_closure0, A.linkExists_closure0, A.listDir_closure0, A.realpath_closure0, A.JSToDartLogger_internalWarn_closure, A.JSToDartLogger_debug_closure, A.KeyframeSelectorParser_parse_closure0, A.render_closure, A._parseFunctions____closure, A._parseFunctions___closure3, A._parseFunctions___closure4, A._parseFunctions___closure1, A._parseFunctions___closure0, A._parseImporter____closure, A._parseImporter___closure0, A.listClass_closure, A.mapClass_closure, A.MediaQueryParser_parse_closure0, A.mixinClass_closure, A.legacyNullClass_closure, A.numberClass_closure, A.SassNumber__coerceOrConvertValue_compatibilityException0, A.SassNumber__coerceOrConvertValue_closure4, A.SassNumber__coerceOrConvertValue_closure6, A.SassNumber_multiplyUnits_closure4, A.SassNumber_multiplyUnits_closure6, A.Parser__parseIdentifier_closure0, A.Parser_spanFrom_closure0, A.PseudoSelector_specificity_closure0, A.SassParser_children_closure0, A.SelectorParser_parse_closure0, A.SelectorParser_parseCompoundSelector_closure0, A._SerializeVisitor_visitCssComment_closure0, A._SerializeVisitor_visitCssAtRule_closure0, A._SerializeVisitor_visitCssMediaRule_closure0, A._SerializeVisitor_visitCssImport_closure0, A._SerializeVisitor_visitCssImport__closure0, A._SerializeVisitor_visitCssKeyframeBlock_closure0, A._SerializeVisitor_visitCssStyleRule_closure0, A._SerializeVisitor_visitCssSupportsRule_closure0, A._SerializeVisitor_visitCssDeclaration_closure1, A._SerializeVisitor_visitCssDeclaration_closure2, A._SerializeVisitor__write_closure0, A._SerializeVisitor__visitChildren_closure1, A._SerializeVisitor__visitChildren_closure2, A.SingleUnitSassNumber_multiplyUnits_closure2, A.updateSourceSpanPrototype_closure, A.stringClass_closure, A.StylesheetParser_parse_closure0, A.StylesheetParser_parse__closure0, A.StylesheetParser_parseParameterList_closure0, A.StylesheetParser__parseSingleProduction_closure0, A.StylesheetParser_parseSignature_closure, A.StylesheetParser__statement_closure0, A.StylesheetParser_variableDeclarationWithoutNamespace_closure1, A.StylesheetParser_variableDeclarationWithoutNamespace_closure2, A.StylesheetParser__declarationOrBuffer_closure2, A.StylesheetParser__declarationOrBuffer_closure3, A.StylesheetParser__declarationOrBuffer_closure4, A.StylesheetParser__propertyOrVariableDeclaration_closure0, A.StylesheetParser__forRule_closure1, A.StylesheetParser__memberList_closure0, A.StylesheetParser_mozDocumentRule_closure1, A.StylesheetParser__expression_resetState0, A.StylesheetParser__expression_resolveOneOperation0, A.StylesheetParser__expression_resolveOperations0, A.StylesheetParser__expression_resolveSpaceExpressions0, A.StylesheetParser_expressionUntilComma_closure0, A.StylesheetParser_namespacedExpression_closure0, A.StylesheetParser__expressionUntilComparison_closure0, A.StylesheetParser__publicIdentifier_closure0, A.JSToDartImporter_canonicalize_closure, A.JSToDartImporter_load_closure, A.resolveImportPath_closure1, A.resolveImportPath_closure2, A._tryPathAsDirectory_closure0, A.valueClass_closure]);
  124772. _inheritMany(A.EfficientLengthIterable, [A.ListIterable, A.EmptyIterable, A.LinkedHashMapKeysIterable, A.LinkedHashMapValuesIterable, A.LinkedHashMapEntriesIterable, A._HashMapKeyIterable, A._MapBaseValueIterable]);
  124773. _inheritMany(A.ListIterable, [A.SubListIterable, A.MappedListIterable, A.ReversedListIterable, A.ListQueue, A._JsonMapKeyIterable, A._GeneratorIterable]);
  124774. _inherit(A.EfficientLengthMappedIterable, A.MappedIterable);
  124775. _inherit(A.EfficientLengthTakeIterable, A.TakeIterable);
  124776. _inherit(A.EfficientLengthSkipIterable, A.SkipIterable);
  124777. _inherit(A.EfficientLengthFollowedByIterable, A.FollowedByIterable);
  124778. _inheritMany(A._Record, [A._Record1, A._Record2, A._Record3, A._RecordN]);
  124779. _inherit(A._Record_1, A._Record1);
  124780. _inheritMany(A._Record2, [A._Record_2, A._Record_2_forImport, A._Record_2_imports_modules, A._Record_2_loadedUrls_stylesheet, A._Record_2_sourceMap]);
  124781. _inheritMany(A._Record3, [A._Record_3, A._Record_3_deprecation_message_span, A._Record_3_forImport, A._Record_3_importer_isDependency, A._Record_3_originalUrl]);
  124782. _inherit(A._Record_5_named_namedNodes_positional_positionalNodes_separator, A._RecordN);
  124783. _inheritMany(A.MapView, [A._UnmodifiableMapView_MapView__UnmodifiableMapMixin, A.PathMap]);
  124784. _inherit(A.UnmodifiableMapView, A._UnmodifiableMapView_MapView__UnmodifiableMapMixin);
  124785. _inherit(A.ConstantMapView, A.UnmodifiableMapView);
  124786. _inherit(A.ConstantStringMap, A.ConstantMap);
  124787. _inheritMany(A.SetBase, [A.ConstantSet, A._SetBase, A._UnmodifiableSetView_SetBase__UnmodifiableSetMixin, A._UnionSet_SetBase_UnmodifiableSetMixin]);
  124788. _inheritMany(A.ConstantSet, [A.ConstantStringSet, A.GeneralConstantSet]);
  124789. _inherit(A.Instantiation1, A.Instantiation);
  124790. _inherit(A.NullError, A.TypeError);
  124791. _inheritMany(A.TearOffClosure, [A.StaticClosure, A.BoundClosure]);
  124792. _inheritMany(A.JsLinkedHashMap, [A.JsIdentityLinkedHashMap, A.JsConstantLinkedHashMap, A._LinkedCustomHashMap]);
  124793. _inheritMany(A.NativeTypedData, [A.NativeByteData, A.NativeTypedArray]);
  124794. _inheritMany(A.NativeTypedArray, [A._NativeTypedArrayOfDouble_NativeTypedArray_ListMixin, A._NativeTypedArrayOfInt_NativeTypedArray_ListMixin]);
  124795. _inherit(A._NativeTypedArrayOfDouble_NativeTypedArray_ListMixin_FixedLengthListMixin, A._NativeTypedArrayOfDouble_NativeTypedArray_ListMixin);
  124796. _inherit(A.NativeTypedArrayOfDouble, A._NativeTypedArrayOfDouble_NativeTypedArray_ListMixin_FixedLengthListMixin);
  124797. _inherit(A._NativeTypedArrayOfInt_NativeTypedArray_ListMixin_FixedLengthListMixin, A._NativeTypedArrayOfInt_NativeTypedArray_ListMixin);
  124798. _inherit(A.NativeTypedArrayOfInt, A._NativeTypedArrayOfInt_NativeTypedArray_ListMixin_FixedLengthListMixin);
  124799. _inheritMany(A.NativeTypedArrayOfDouble, [A.NativeFloat32List, A.NativeFloat64List]);
  124800. _inheritMany(A.NativeTypedArrayOfInt, [A.NativeInt16List, A.NativeInt32List, A.NativeInt8List, A.NativeUint16List, A.NativeUint32List, A.NativeUint8ClampedList, A.NativeUint8List]);
  124801. _inherit(A._TypeError, A._Error);
  124802. _inheritMany(A._Completer, [A._AsyncCompleter, A._SyncCompleter]);
  124803. _inheritMany(A._StreamController, [A._AsyncStreamController, A._SyncStreamController]);
  124804. _inheritMany(A.Stream, [A._StreamImpl, A._ForwardingStream, A._CompleterStream]);
  124805. _inherit(A._ControllerStream, A._StreamImpl);
  124806. _inheritMany(A._BufferingStreamSubscription, [A._ControllerSubscription, A._ForwardingStreamSubscription]);
  124807. _inherit(A._StreamControllerAddStreamState, A._AddStreamState);
  124808. _inheritMany(A._DelayedEvent, [A._DelayedData, A._DelayedError]);
  124809. _inherit(A._MapStream, A._ForwardingStream);
  124810. _inheritMany(A._Zone, [A._CustomZone, A._RootZone]);
  124811. _inherit(A._IdentityHashMap, A._HashMap);
  124812. _inherit(A._LinkedHashSet, A._SetBase);
  124813. _inherit(A._LinkedIdentityHashSet, A._LinkedHashSet);
  124814. _inherit(A.UnmodifiableSetView, A._UnmodifiableSetView_SetBase__UnmodifiableSetMixin);
  124815. _inheritMany(A.Codec, [A.Encoding, A.Base64Codec, A.JsonCodec]);
  124816. _inheritMany(A.Encoding, [A.AsciiCodec, A.Utf8Codec]);
  124817. _inheritMany(A.Converter, [A._UnicodeSubsetEncoder, A.Base64Encoder, A.JsonEncoder, A.JsonDecoder, A.Utf8Encoder, A.Utf8Decoder]);
  124818. _inherit(A.AsciiEncoder, A._UnicodeSubsetEncoder);
  124819. _inheritMany(A.ByteConversionSink, [A._Base64EncoderSink, A._Utf8StringSinkAdapter]);
  124820. _inherit(A._Utf8Base64EncoderSink, A._Base64EncoderSink);
  124821. _inherit(A.JsonCyclicError, A.JsonUnsupportedObjectError);
  124822. _inherit(A._JsonStringStringifier, A._JsonStringifier);
  124823. _inherit(A._StringSinkConversionSink, A.StringConversionSink);
  124824. _inherit(A._StringCallbackSink, A._StringSinkConversionSink);
  124825. _inheritMany(A.ArgumentError, [A.RangeError, A.IndexError]);
  124826. _inherit(A._DataUri, A._Uri);
  124827. _inherit(A.ArgParserException, A.FormatException);
  124828. _inherit(A.EmptyUnmodifiableSet, A._EmptyUnmodifiableSet_IterableBase_UnmodifiableSetMixin);
  124829. _inherit(A.QueueList, A._QueueList_Object_ListMixin);
  124830. _inherit(A._CastQueueList, A.QueueList);
  124831. _inherit(A.UnionSet, A._UnionSet_SetBase_UnmodifiableSetMixin);
  124832. _inheritMany(A._DelegatingIterableBase, [A.DelegatingSet, A._MapKeySet__DelegatingIterableBase_UnmodifiableSetMixin]);
  124833. _inherit(A._UnmodifiableSetView_DelegatingSet_UnmodifiableSetMixin, A.DelegatingSet);
  124834. _inherit(A.UnmodifiableSetView0, A._UnmodifiableSetView_DelegatingSet_UnmodifiableSetMixin);
  124835. _inherit(A.MapKeySet, A._MapKeySet__DelegatingIterableBase_UnmodifiableSetMixin);
  124836. _inheritMany(A.NodeJsError, [A.JsAssertionError, A.JsRangeError, A.JsReferenceError, A.JsSyntaxError, A.JsTypeError, A.JsSystemError]);
  124837. _inheritMany(A.Socket, [A.TTYReadStream, A.TTYWriteStream]);
  124838. _inherit(A.InternalStyle, A.Style);
  124839. _inheritMany(A.InternalStyle, [A.PosixStyle, A.UrlStyle, A.WindowsStyle]);
  124840. _inheritMany(A._Enum, [A._SingletonCssMediaQueryMergeResult, A.BinaryOperator, A.UnaryOperator, A.AttributeOperator, A.Combinator, A.Deprecation, A.ExtendMode, A.Syntax, A.CalculationOperator, A.HueInterpolationMethod, A.ListSeparator, A.OutputStyle, A.LineFeed, A.AttributeOperator0, A.BinaryOperator0, A.CalculationOperator0, A.Combinator0, A.Deprecation0, A.HueInterpolationMethod0, A.ListSeparator0, A._SingletonCssMediaQueryMergeResult0, A.ExtendMode0, A.OutputStyle0, A.LineFeed0, A.Syntax0, A.UnaryOperator0]);
  124841. _inheritMany(A.CssNode, [A.ModifiableCssNode, A.CssParentNode]);
  124842. _inheritMany(A.ModifiableCssNode, [A.ModifiableCssParentNode, A.ModifiableCssComment, A.ModifiableCssDeclaration, A.ModifiableCssImport]);
  124843. _inheritMany(A.ModifiableCssParentNode, [A.ModifiableCssAtRule, A.ModifiableCssKeyframeBlock, A.ModifiableCssMediaRule, A.ModifiableCssStyleRule, A.ModifiableCssStylesheet, A.ModifiableCssSupportsRule]);
  124844. _inherit(A._IsInvisibleVisitor, A.__IsInvisibleVisitor_Object_EveryCssVisitor);
  124845. _inherit(A.CssStylesheet, A.CssParentNode);
  124846. _inheritMany(A.Expression, [A.BinaryOperationExpression, A.BooleanExpression, A.ColorExpression, A.FunctionExpression, A.IfExpression, A.InterpolatedFunctionExpression, A.ListExpression, A.MapExpression, A.NullExpression, A.NumberExpression, A.ParenthesizedExpression, A.SelectorExpression, A.StringExpression, A.SupportsExpression, A.UnaryOperationExpression, A.ValueExpression, A.VariableExpression]);
  124847. _inheritMany(A.Statement, [A.ParentStatement, A.ContentRule, A.DebugRule, A.ErrorRule, A.ExtendRule, A.ForwardRule, A.IfRule, A.ImportRule, A.IncludeRule, A.LoudComment, A.ReturnRule, A.SilentComment, A.UseRule, A.VariableDeclaration, A.WarnRule]);
  124848. _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]);
  124849. _inheritMany(A.CallableDeclaration, [A.ContentBlock, A.FunctionRule, A.MixinRule]);
  124850. _inheritMany(A.IfRuleClause, [A.IfClause, A.ElseClause]);
  124851. _inherit(A._HasContentVisitor, A.__HasContentVisitor_Object_StatementSearchVisitor);
  124852. _inherit(A._IsInvisibleVisitor0, A.__IsInvisibleVisitor_Object_AnySelectorVisitor);
  124853. _inherit(A._IsBogusVisitor, A.__IsBogusVisitor_Object_AnySelectorVisitor);
  124854. _inherit(A._IsUselessVisitor, A.__IsUselessVisitor_Object_AnySelectorVisitor);
  124855. _inherit(A._ContainsParentSelectorVisitor, A.__ContainsParentSelectorVisitor_Object_AnySelectorVisitor);
  124856. _inheritMany(A.Selector, [A.SimpleSelector, A.ComplexSelector, A.CompoundSelector, A.SelectorList]);
  124857. _inheritMany(A.SimpleSelector, [A.AttributeSelector, A.ClassSelector, A.IDSelector, A.ParentSelector, A.PlaceholderSelector, A.PseudoSelector, A.TypeSelector, A.UniversalSelector]);
  124858. _inherit(A._ParentSelectorVisitor, A.__ParentSelectorVisitor_Object_SelectorSearchVisitor);
  124859. _inherit(A.ExplicitConfiguration, A.Configuration);
  124860. _inheritMany(A.SourceSpanException, [A.SassException, A.SourceSpanFormatException, A.MultiSourceSpanException, A.SassException0]);
  124861. _inheritMany(A.SassException, [A.MultiSpanSassException, A.SassRuntimeException, A.SassFormatException]);
  124862. _inheritMany(A.MultiSpanSassException, [A.MultiSpanSassRuntimeException, A.MultiSpanSassFormatException]);
  124863. _inherit(A.MultiSpanSassScriptException, A.SassScriptException);
  124864. _inherit(A.MergedExtension, A.Extension);
  124865. _inherit(A.Importer, A.AsyncImporter);
  124866. _inheritMany(A.Importer, [A.FilesystemImporter, A.NoOpImporter, A.NodePackageImporter]);
  124867. _inheritMany(A.LoggerWithDeprecationType, [A.DeprecationProcessingLogger, A.StderrLogger]);
  124868. _inheritMany(A.Parser, [A.AtRootQueryParser, A.StylesheetParser, A.KeyframeSelectorParser, A.MediaQueryParser, A.SelectorParser]);
  124869. _inheritMany(A.StylesheetParser, [A.ScssParser, A.SassParser]);
  124870. _inherit(A.CssParser, A.ScssParser);
  124871. _inheritMany(A.UnmodifiableMapBase, [A.LimitedMapView, A.PrefixedMapView, A.PublicMemberMapView, A.UnprefixedMapView, A.LimitedMapView0, A.PrefixedMapView0, A.PublicMemberMapView0, A.UnprefixedMapView0]);
  124872. _inheritMany(A.Value, [A.SassList, A.SassBoolean, A.SassCalculation, A.SassColor, A.SassFunction, A.SassMap, A.SassMixin, A._SassNull, A.SassNumber, A.SassString]);
  124873. _inherit(A.SassArgumentList, A.SassList);
  124874. _inherit(A.LinearChannel, A.ColorChannel);
  124875. _inheritMany(A.GamutMapMethod, [A.ClipGamutMap, A.LocalMindeGamutMap]);
  124876. _inheritMany(A.ColorSpace, [A.A98RgbColorSpace, A.DisplayP3ColorSpace, A.HslColorSpace, A.HwbColorSpace, A.LabColorSpace, A.LchColorSpace, A.LmsColorSpace, A.OklabColorSpace, A.OklchColorSpace, A.ProphotoRgbColorSpace, A.Rec2020ColorSpace, A.RgbColorSpace, A.SrgbColorSpace, A.SrgbLinearColorSpace, A.XyzD50ColorSpace, A.XyzD65ColorSpace]);
  124877. _inheritMany(A.SassNumber, [A.ComplexSassNumber, A.SingleUnitSassNumber, A.UnitlessSassNumber]);
  124878. _inherit(A._MakeExpressionCalculationSafe, A.__MakeExpressionCalculationSafe_Object_ReplaceExpressionVisitor);
  124879. _inherit(A._FindDependenciesVisitor, A.__FindDependenciesVisitor_Object_RecursiveStatementVisitor);
  124880. _inherit(A.SingleMapping, A.Mapping);
  124881. _inherit(A.FileLocation, A.SourceLocationMixin);
  124882. _inheritMany(A.SourceSpanMixin, [A._FileSpan, A.SourceSpanBase]);
  124883. _inherit(A.MultiSourceSpanFormatException, A.MultiSourceSpanException);
  124884. _inherit(A.SourceSpanWithContext, A.SourceSpanBase);
  124885. _inherit(A.StringScannerException, A.SourceSpanFormatException);
  124886. _inheritMany(A.StringScanner, [A.LineScanner, A.SpanScanner]);
  124887. _inheritMany(A.ColorSpace0, [A.A98RgbColorSpace0, A.DisplayP3ColorSpace0, A.HslColorSpace0, A.HwbColorSpace0, A.LabColorSpace0, A.LchColorSpace0, A.LmsColorSpace0, A.OklabColorSpace0, A.OklchColorSpace0, A.ProphotoRgbColorSpace0, A.Rec2020ColorSpace0, A.RgbColorSpace0, A.SrgbColorSpace0, A.SrgbLinearColorSpace0, A.XyzD50ColorSpace0, A.XyzD65ColorSpace0]);
  124888. _inheritMany(A.Value0, [A.SassList0, A.SassBoolean0, A.SassCalculation0, A.SassColor0, A.SassNumber0, A.SassFunction0, A.SassMap0, A.SassMixin0, A._SassNull0, A.SassString0]);
  124889. _inherit(A.SassArgumentList0, A.SassList0);
  124890. _inheritMany(A.AsyncImporter0, [A.JSToDartAsyncImporter, A.JSToDartAsyncFileImporter, A.Importer0]);
  124891. _inheritMany(A.Parser1, [A.AtRootQueryParser0, A.StylesheetParser0, A.KeyframeSelectorParser0, A.MediaQueryParser0, A.SelectorParser0]);
  124892. _inheritMany(A.Statement0, [A.ParentStatement0, A.ContentRule0, A.DebugRule0, A.ErrorRule0, A.ExtendRule0, A.ForwardRule0, A.IfRule0, A.ImportRule0, A.IncludeRule0, A.LoudComment0, A.ReturnRule0, A.SilentComment0, A.UseRule0, A.VariableDeclaration0, A.WarnRule0]);
  124893. _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]);
  124894. _inheritMany(A.CssNode0, [A.ModifiableCssNode0, A.CssParentNode0]);
  124895. _inheritMany(A.ModifiableCssNode0, [A.ModifiableCssParentNode0, A.ModifiableCssComment0, A.ModifiableCssDeclaration0, A.ModifiableCssImport0]);
  124896. _inheritMany(A.ModifiableCssParentNode0, [A.ModifiableCssAtRule0, A.ModifiableCssKeyframeBlock0, A.ModifiableCssMediaRule0, A.ModifiableCssStyleRule0, A.ModifiableCssStylesheet0, A.ModifiableCssSupportsRule0]);
  124897. _inheritMany(A.Selector0, [A.SimpleSelector0, A.ComplexSelector0, A.CompoundSelector0, A.SelectorList0]);
  124898. _inheritMany(A.SimpleSelector0, [A.AttributeSelector0, A.ClassSelector0, A.IDSelector0, A.ParentSelector0, A.PlaceholderSelector0, A.PseudoSelector0, A.TypeSelector0, A.UniversalSelector0]);
  124899. _inheritMany(A.Expression0, [A.BinaryOperationExpression0, A.BooleanExpression0, A.ColorExpression0, A.FunctionExpression0, A.IfExpression0, A.InterpolatedFunctionExpression0, A.ListExpression0, A.MapExpression0, A.NullExpression0, A.NumberExpression0, A.ParenthesizedExpression0, A.SelectorExpression0, A.StringExpression0, A.SupportsExpression0, A.UnaryOperationExpression0, A.ValueExpression0, A.VariableExpression0]);
  124900. _inherit(A.LinearChannel0, A.ColorChannel0);
  124901. _inheritMany(A.GamutMapMethod0, [A.ClipGamutMap0, A.LocalMindeGamutMap0]);
  124902. _inherit(A._ConstructionOptions, A._Channels);
  124903. _inherit(A.CompileStringOptions, A.CompileOptions);
  124904. _inherit(A.AsyncCompiler, A.Compiler);
  124905. _inheritMany(A.SassNumber0, [A.ComplexSassNumber0, A.SingleUnitSassNumber0, A.UnitlessSassNumber0]);
  124906. _inherit(A.ExplicitConfiguration0, A.Configuration0);
  124907. _inheritMany(A.CallableDeclaration0, [A.ContentBlock0, A.FunctionRule0, A.MixinRule0]);
  124908. _inheritMany(A.StylesheetParser0, [A.ScssParser0, A.SassParser0]);
  124909. _inherit(A.CssParser0, A.ScssParser0);
  124910. _inheritMany(A.LoggerWithDeprecationType0, [A.DeprecationProcessingLogger0, A.JSToDartLogger, A.StderrLogger0]);
  124911. _inherit(A._NodeException, A.JsError);
  124912. _inheritMany(A.SassException0, [A.MultiSpanSassException0, A.SassRuntimeException0, A.SassFormatException0]);
  124913. _inheritMany(A.MultiSpanSassException0, [A.MultiSpanSassRuntimeException0, A.MultiSpanSassFormatException0]);
  124914. _inherit(A.MultiSpanSassScriptException0, A.SassScriptException0);
  124915. _inherit(A._MakeExpressionCalculationSafe0, A.__MakeExpressionCalculationSafe_Object_ReplaceExpressionVisitor0);
  124916. _inheritMany(A.Importer0, [A.JSToDartFileImporter, A.FilesystemImporter0, A.NoOpImporter0, A.NodePackageImporter0, A.JSToDartImporter]);
  124917. _inheritMany(A.IfRuleClause0, [A.IfClause0, A.ElseClause0]);
  124918. _inherit(A._ParentSelectorVisitor0, A.__ParentSelectorVisitor_Object_SelectorSearchVisitor0);
  124919. _inherit(A.MergedExtension0, A.Extension0);
  124920. _inherit(A._HasContentVisitor0, A.__HasContentVisitor_Object_StatementSearchVisitor0);
  124921. _inherit(A._IsInvisibleVisitor1, A.__IsInvisibleVisitor_Object_EveryCssVisitor0);
  124922. _inherit(A._IsInvisibleVisitor2, A.__IsInvisibleVisitor_Object_AnySelectorVisitor0);
  124923. _inherit(A._IsBogusVisitor0, A.__IsBogusVisitor_Object_AnySelectorVisitor0);
  124924. _inherit(A._IsUselessVisitor0, A.__IsUselessVisitor_Object_AnySelectorVisitor0);
  124925. _inherit(A._ContainsParentSelectorVisitor0, A.__ContainsParentSelectorVisitor_Object_AnySelectorVisitor0);
  124926. _inherit(A.CssStylesheet0, A.CssParentNode0);
  124927. _mixin(A.UnmodifiableListBase, A.UnmodifiableListMixin);
  124928. _mixin(A.__CastListBase__CastIterableBase_ListMixin, A.ListBase);
  124929. _mixin(A._NativeTypedArrayOfDouble_NativeTypedArray_ListMixin, A.ListBase);
  124930. _mixin(A._NativeTypedArrayOfDouble_NativeTypedArray_ListMixin_FixedLengthListMixin, A.FixedLengthListMixin);
  124931. _mixin(A._NativeTypedArrayOfInt_NativeTypedArray_ListMixin, A.ListBase);
  124932. _mixin(A._NativeTypedArrayOfInt_NativeTypedArray_ListMixin_FixedLengthListMixin, A.FixedLengthListMixin);
  124933. _mixin(A._AsyncStreamController, A._AsyncStreamControllerDispatch);
  124934. _mixin(A._SyncStreamController, A._SyncStreamControllerDispatch);
  124935. _mixin(A.UnmodifiableMapBase, A._UnmodifiableMapMixin);
  124936. _mixin(A._UnmodifiableMapView_MapView__UnmodifiableMapMixin, A._UnmodifiableMapMixin);
  124937. _mixin(A._UnmodifiableSetView_SetBase__UnmodifiableSetMixin, A._UnmodifiableSetMixin);
  124938. _mixin(A._EmptyUnmodifiableSet_IterableBase_UnmodifiableSetMixin, A.UnmodifiableSetMixin);
  124939. _mixin(A._QueueList_Object_ListMixin, A.ListBase);
  124940. _mixin(A._UnionSet_SetBase_UnmodifiableSetMixin, A.UnmodifiableSetMixin);
  124941. _mixin(A._UnmodifiableSetView_DelegatingSet_UnmodifiableSetMixin, A.UnmodifiableSetMixin);
  124942. _mixin(A._MapKeySet__DelegatingIterableBase_UnmodifiableSetMixin, A.UnmodifiableSetMixin);
  124943. _mixin(A.__IsInvisibleVisitor_Object_EveryCssVisitor, A.EveryCssVisitor);
  124944. _mixin(A.__HasContentVisitor_Object_StatementSearchVisitor, A.StatementSearchVisitor);
  124945. _mixin(A.__ContainsParentSelectorVisitor_Object_AnySelectorVisitor, A.AnySelectorVisitor);
  124946. _mixin(A.__IsBogusVisitor_Object_AnySelectorVisitor, A.AnySelectorVisitor);
  124947. _mixin(A.__IsInvisibleVisitor_Object_AnySelectorVisitor, A.AnySelectorVisitor);
  124948. _mixin(A.__IsUselessVisitor_Object_AnySelectorVisitor, A.AnySelectorVisitor);
  124949. _mixin(A.__ParentSelectorVisitor_Object_SelectorSearchVisitor, A.SelectorSearchVisitor);
  124950. _mixin(A.__MakeExpressionCalculationSafe_Object_ReplaceExpressionVisitor, A.ReplaceExpressionVisitor);
  124951. _mixin(A.__FindDependenciesVisitor_Object_RecursiveStatementVisitor, A.RecursiveStatementVisitor);
  124952. _mixin(A.__MakeExpressionCalculationSafe_Object_ReplaceExpressionVisitor0, A.ReplaceExpressionVisitor0);
  124953. _mixin(A.__ParentSelectorVisitor_Object_SelectorSearchVisitor0, A.SelectorSearchVisitor0);
  124954. _mixin(A.__HasContentVisitor_Object_StatementSearchVisitor0, A.StatementSearchVisitor0);
  124955. _mixin(A.__IsInvisibleVisitor_Object_EveryCssVisitor0, A.EveryCssVisitor0);
  124956. _mixin(A.__ContainsParentSelectorVisitor_Object_AnySelectorVisitor0, A.AnySelectorVisitor0);
  124957. _mixin(A.__IsBogusVisitor_Object_AnySelectorVisitor0, A.AnySelectorVisitor0);
  124958. _mixin(A.__IsInvisibleVisitor_Object_AnySelectorVisitor0, A.AnySelectorVisitor0);
  124959. _mixin(A.__IsUselessVisitor_Object_AnySelectorVisitor0, A.AnySelectorVisitor0);
  124960. })();
  124961. var init = {
  124962. G: typeof self != "undefined" ? self : globalThis,
  124963. typeUniverse: {eC: new Map(), tR: {}, eT: {}, tPV: {}, sEA: []},
  124964. mangledGlobalNames: {int: "int", double: "double", num: "num", String: "String", bool: "bool", Null: "Null", List: "List", Object: "Object", Map: "Map"},
  124965. mangledNames: {},
  124966. types: ["~()", "Null()", "Future<Null>()", "Value0(List<Value0>)", "Value(List<Value>)", "bool(String)", "String(String)", "bool(CssNode0)", "bool(CssNode)", "bool(Object?)", "int()", "SassBoolean0(List<Value0>)", "SassBoolean(List<Value>)", "bool(SimpleSelector)", "bool(SimpleSelector0)", "JSClass0()", "double(double)", "SassString(List<Value>)", "SassString0(List<Value0>)", "bool()", "bool(ComplexSelector)", "bool(ComplexSelector0)", "SassNumber0(List<Value0>)", "SassColor0(List<Value0>)", "SassNumber(List<Value>)", "SassColor(List<Value>)", "String()", "SassList(List<Value>)", "SassList0(List<Value0>)", "FileSpan()", "bool(int?)", "double(SassColor0)", "Future<~>()", "Value()", "~(Object?)", "Null(~())", "Object?()", "SassMap0(List<Value0>)", "SassMap(List<Value>)", "int(SassColor0)", "Future<Null>(Future<~>())", "Value?()", "Value(Value)", "Value0(Value0)", "Value0?()", "bool(num,num)", "String?()", "bool(int)", "Value0()", "Uri(Uri)", "double(SassColor)", "Null(Object,StackTrace)", "SassNumber(SassNumber)", "bool(ComplexSelectorComponent)", "bool(Value0)", "SassNumber0(SassNumber0)", "bool(ComplexSelectorComponent0)", "ComplexSelector0(ComplexSelector0)", "@()", "ComplexSelector(ComplexSelector)", "double(double,double)", "~(Value)", "Null(@)", "int(SassColor)", "ValueExpression(Value)", "ValueExpression0(Value0)", "~(Value0)", "Future<Value>()", "Future<Value?>()", "Frame()", "bool(ColorChannel0)", "~(@)", "bool(Value)", "bool(SelectorList)", "Future<Value0?>()", "~(Object,StackTrace)", "bool(SelectorList0)", "bool(Object)", "Future<Value0>()", "Object(Object)", "int(Uri)", "Callable0?()", "~(Module0<Callable0>,bool)", "Value?(Statement)", "Object()", "SassRuntimeException(AstNode)", "Future<Value0>(List<Value0>)", "Null(_NodeSassColor,num)", "Future<Value0?>(Statement0)", "double(SassNumber0)", "@(@)", "Null([Object?])", "Frame(String)", "Future<Value?>(Statement)", "Value0?(Statement0)", "~(Object)", "List<CssMediaQuery>?(List<CssMediaQuery>)", "AsyncCallable0?()", "~(Value0,Value0)", "SassRuntimeException0(AstNode0)", "AsyncCallable?()", "~(Value,Value)", "~(Module1<Callable>,bool)", "Callable?()", "List<CssMediaQuery0>?(List<CssMediaQuery0>)", "~(String[Deprecation?])", "~([int?])", "~(String,Value)", "bool(ColorChannel)", "~(String,Value0)", "~(String[Deprecation0?])", "~(String)", "Stylesheet?()", "String(Expression0)", "Null(Module1<AsyncCallable0>,bool)", "SassCalculation0(Object)", "bool(Module1<AsyncCallable0>)", "bool(_Highlight)", "bool(Expression)", "Null(Module0<AsyncCallable>,bool)", "String(String{color:Object?})", "Statement()", "Uri(String)", "+originalUrl(Importer,Uri,Uri)?()", "int(_NodeSassColor)", "double(SassNumber)", "~(String,Object?)", "bool(Module1<Callable>)", "Map<ComplexSelector,Extension>()", "bool(Module0<Callable0>)", "bool(Module0<AsyncCallable>)", "Map<ComplexSelector0,Extension0>()", "String(Object)", "String(Expression)", "String(@)", "~(String,Function)", "Statement0()", "~(~())", "List<String>()", "~(String,@)", "bool(Expression0)", "List<ExtensionStore>()", "AstNode?()", "SelectorList(SelectorList,SelectorList)", "Uri?()", "~(Object[StackTrace?])", "int(String,String)", "String?(String?)", "String?(Object)", "String(String[String?])", "bool(Statement)", "bool(Import)", "Iterable<String>()", "Iterable<String>(String)", "Iterable<String>(@)", "DateTime()", "~(String[~])", "int(int)", "0&(String,FileSpan[StackTrace?])", "Set<0^>()<Object?>", "AtRootRule(List<Statement>,FileSpan)", "AtRule(List<Statement>,FileSpan)", "~(@,@)", "String(String{color:@})", "Entry(Entry)", "double(double,String)", "AstNode(AstNode)", "SassFunction(List<Value>)", "SassMixin(List<Value>)", "Future<~>(List<Value>)", "~(Object?,Object?)", "int(ComplexSelector)", "bool(ModifiableCssParentNode)", "AsyncCallable?(Module0<AsyncCallable>)", "~(int)", "MapKeySet<Module0<AsyncCallable>>(Map<Module0<AsyncCallable>,AstNode>)", "Future<SassNumber>()", "List<CssComment>()", "bool(UseRule)", "bool(ForwardRule)", "Map<String,AsyncCallable>(Module0<AsyncCallable>)", "Future<String>()", "Uri?/()", "Future<Object>()", "InterpolationMap(List<SourceLocation>)", "Trace(String)", "String(SassNumber)", "Future<Value>(List<Value>)", "~(List<Value>)", "SassNumber()", "Expression(Expression)", "~(double?[String?])", "int(Frame)", "String(Frame)", "Callable0?(Module0<Callable0>)", "Trace()", "bool(Frame)", "MapKeySet<Module0<Callable0>>(Map<Module0<Callable0>,AstNode>)", "Map<String,Callable0>(Module0<Callable0>)", "@(String)", "AsyncCallable0?(Module1<AsyncCallable0>)", "MapKeySet<Module1<AsyncCallable0>>(Map<Module1<AsyncCallable0>,AstNode0>)", "Map<String,AsyncCallable0>(Module1<AsyncCallable0>)", "AstNode0(AstNode0)", "SelectorList(Value)", "SassFunction0(List<Value0>)", "SassMixin0(List<Value0>)", "Future<~>(List<Value0>)", "~(Iterable<ExtensionStore>)", "List<ExtensionStore0>()", "bool(ModifiableCssParentNode0)", "bool(Queue<List<ComplexSelectorComponent>>)", "List<Extension>()", "Future<SassNumber0>()", "List<CssComment0>()", "bool(UseRule0)", "bool(ForwardRule0)", "~([Object?])", "InterpolationMap0(List<SourceLocation>)", "AstNode0?()", "String(SassNumber0)", "0&(Object[Object?])", "0&(@[@])", "Object(CalculationOperation0)", "Future<~>?()", "String(Value0)", "double(Value0)", "int(Object?)", "ImmutableList0(SassColor0)", "String(double)", "Future<NodeCompileResult>()", "AsyncImporter0(Object?)", "Set<0&>(Object)", "Version(String)", "~(Iterable<ExtensionStore0>)", "Callable?(Module1<Callable>)", "MapKeySet<Module1<Callable>>(Map<Module1<Callable>,AstNode0>)", "Map<String,Callable>(Module1<Callable>)", "double()", "~(List<Value0>)", "Value0?(Value0)", "SassNumber0()", "String(_NodeException)", "double(Value)", "List<Extension0>()", "bool(Queue<List<ComplexSelectorComponent0>>)", "bool(Statement0)", "bool(Import0)", "Value0?(Value0,num)", "Value0(int)", "Object(_NodeSassMap,int)", "Null(_NodeSassMap,int,Object)", "bool(SassNumber0)", "ImmutableList0(SassNumber0)", "bool(SassNumber0,String)", "SassNumber0(SassNumber0,Object,Object[String?])", "SassNumber0(SassNumber0,SassNumber0[String?,String?])", "double(SassNumber0,Object,Object[String?])", "double(SassNumber0,SassNumber0[String?,String?])", "int(ComplexSelector0)", "Expression0(Expression0)", "SelectorList0(Value0)", "SelectorList0(SelectorList0,SelectorList0)", "FileLocation(FileSpan)", "JSUrl0(Uri)", "String(FileSpan)", "int(SourceLocation)", "AtRootRule0(List<Statement0>,FileSpan)", "AtRule0(List<Statement0>,FileSpan)", "int(@,@)", "bool(Object?,Object?)", "bool(String?)", "~(+deprecation,message,span(Deprecation?,String,FileSpan))", "~(List<Statement>)", "Declaration(List<Statement>,FileSpan)", "Value?(Module0<Callable0>)", "~(CssMediaQuery)", "Set<int>(CssParentNode)", "Uri(+originalUrl(Importer,Uri,Uri))", "~(SelectorList)", "~(MapEntry<Value,Value>)", "SourceFile()", "SourceFile?(int)", "String?(SourceFile?)", "int(_Line)", "Module0<Callable0>?(Module0<Callable0>)", "Object(_Line)", "Object(_Highlight)", "int(_Highlight,_Highlight)", "List<_Line>(MapEntry<Object,List<_Highlight>>)", "SourceSpanWithContext()", "List<Frame>(Trace)", "int(Trace)", "EachRule(List<Statement>,FileSpan)", "String(Trace)", "FunctionRule(List<Statement>,FileSpan)", "ForRule(List<Statement>,FileSpan)", "Frame(String,String)", "ContentBlock(List<Statement>,FileSpan)", "MediaRule(List<Statement>,FileSpan)", "Frame(Frame)", "MixinRule(List<Statement>,FileSpan)", "Map<String,Value>(Module0<Callable0>)", "Map<String,AstNode>(Module0<Callable0>)", "~([Future<~>?])", "SassArgumentList0(Object,Object,Object[String?])", "ImmutableMap0(SassArgumentList0)", "SupportsRule(List<Statement>,FileSpan)", "ArgParser()", "Value0/(List<Value0>)", "Value0?(Module1<AsyncCallable0>)", "Module1<AsyncCallable0>?(Module1<AsyncCallable0>)", "WhileRule(List<Statement>,FileSpan)", "~(Expression)", "Map<String,Value0>(Module1<AsyncCallable0>)", "Map<String,AstNode0>(Module1<AsyncCallable0>)", "~(BinaryOperator)", "Set<Deprecation>()", "Future<CssValue0<String>>(Interpolation0{trim:bool,warnForColor:bool})", "StringExpression(Interpolation)", "DateTime(StylesheetNode)", "Future<~>(String)", "Future<@>()", "List<WatchEvent>(List<WatchEvent>)", "SassString(String)", "bool(ModifiableCssNode)", "SassScriptException()", "~(Module1<AsyncCallable0>,bool)", "Future<+loadedUrls,stylesheet(Set<Uri>,CssStylesheet0)>()", "Future<Module1<AsyncCallable0>>()", "bool(Extension)", "~(Module1<AsyncCallable0>)", "SassList(ComplexSelector)", "SassString(SimpleSelector)", "Set<ModifiableBox<SelectorList>>()", "Object?(Object?)", "Future<Value0?>(Value0)", "SingleUnitSassNumber(double)", "Future<CssValue0<String>>(Interpolation0)", "Future<CssValue<String>>(Interpolation{trim:bool,warnForColor:bool})", "~(Object?,List<JSObject>)", "Iterable<ComplexSelector>(List<ComplexSelector>)", "String(Parameter)", "Future<Value0?>(IfRuleClause0)", "Iterable<ComplexSelector>(ComplexSelector)", "~(@,StackTrace)", "UserDefinedCallable0<AsyncEnvironment0>(ContentBlock0)", "List<SimpleSelector>(Extender)", "List<Extender>?(SimpleSelector)", "List<Extender>(PseudoSelector)", "List<List<Extender>>(List<Extender>)", "List<ComplexSelector>(ComplexSelector)", "Future<Value0>(Expression0)", "PseudoSelector(ComplexSelector)", "~(SimpleSelector,Set<ModifiableBox<SelectorList>>)", "Value0/()", "List<ComplexSelectorComponent>?(List<ComplexSelectorComponent>,List<ComplexSelectorComponent>)", "Null(JSObject?,JSArray<Object?>)", "bool(List<Iterable<ComplexSelectorComponent>>)", "int(int,ComplexSelectorComponent)", "~(Module0<AsyncCallable>,bool)", "Future<+loadedUrls,stylesheet(Set<Uri>,CssStylesheet)>()", "Future<+originalUrl(AsyncImporter0,Uri,Uri)?>()", "Future<Stylesheet0?>()", "bool(+originalUrl(AsyncImporter0,Uri,Uri))", "Uri(+originalUrl(AsyncImporter0,Uri,Uri))", "AtRootQuery0()", "Future<Module0<AsyncCallable>>()", "SimpleSelector(SimpleSelector)", "bool(PseudoSelector)", "SelectorList?(PseudoSelector)", "SassCalculation0(Object[Object?,Object?])", "SassCalculation0(SassCalculation0[String?])", "ImmutableList(SassCalculation0)", "Object(Object,String,Object,Object)", "bool(CalculationOperator0)", "bool(CalculationOperation0,Object)", "int(CalculationOperation0)", "String(CalculationOperation0)", "~(int,@)", "CalculationInterpolation(Object,String)", "bool(CalculationInterpolation,Object)", "int(CalculationInterpolation)", "String(CalculationInterpolation)", "bool(CanonicalizeContext0)", "JSUrl0?(CanonicalizeContext0)", "~(String,Option)", "@(@,String)", "Null(@,@)", "~(Module0<AsyncCallable>)", "Null(@,StackTrace)", "Null(Function,Function)", "String(String?)", "SassColor0(SassColor0)", "SassColor0(ColorSpace0)", "String(int,IfClause)", "0&(List<Value0>)", "Value?(Module0<AsyncCallable>)", "AtRootQuery()", "SassColor0(Object,_ConstructionOptions)", "bool(SassColor0,Object)", "SassColor0(SassColor0,String)", "bool(SassColor0[String?])", "SassColor0(SassColor0,_ToGamutOptions)", "double(SassColor0,String[_ChannelOptions?])", "bool(SassColor0,String)", "bool(SassColor0,String[_ChannelOptions?])", "SassColor0(SassColor0,_ConstructionOptions)", "double?(String)", "SassColor0(SassColor0,SassColor0[_InterpolationOptions?])", "String(SassColor0)", "bool(SassColor0)", "Module0<AsyncCallable>?(Module0<AsyncCallable>)", "Null(_NodeSassColor,num?[num?,num?,num?,SassColor0?])", "double(num)", "SassColor(SassColor)", "double(_NodeSassColor)", "String(BuiltInCallable)", "List<CssMediaQuery>()", "SassString(int)", "AsyncImporter0(JSImporter)", "0&(@)", "SassColor(ColorSpace)", "NodePackageImporter0(Object[String?])", "Future<CssValue<String>>(Interpolation)", "NodeCompileResult(Compiler,String[CompileOptions?])", "NodeCompileResult(Compiler,String[CompileStringOptions?])", "Null(Compiler)", "Promise(AsyncCompiler,String[CompileOptions?])", "Promise(AsyncCompiler,String[CompileStringOptions?])", "Promise(AsyncCompiler)", "Future<AsyncCompiler>()", "int(int,ComplexSelectorComponent0)", "String(CssValue0<Combinator0>)", "int(int,SimpleSelector0)", "String(BuiltInCallable0)", "bool(Deprecation0)", "Iterable<Deprecation0>()", "Version(Object,int,int,int)", "Map<String,Value>(Module0<AsyncCallable>)", "String(CssValue<Combinator>)", "Value0?(Module1<Callable>)", "Module1<Callable>?(Module1<Callable>)", "Map<String,AstNode>(Module0<AsyncCallable>)", "int(int,SimpleSelector)", "Map<String,Value0>(Module1<Callable>)", "Map<String,AstNode0>(Module1<Callable>)", "Future<Value?>(IfRuleClause)", "SelectorList()", "Object(Value0)", "bool(String?,String?)", "CompoundSelector()", "String(Value)", "+loadedUrls,stylesheet(Set<Uri>,CssStylesheet0)()", "Module1<Callable>()", "~(Module1<Callable>)", "UserDefinedCallable<AsyncEnvironment>(ContentBlock)", "0&(List<Value>)", "CssValue0<String>(Interpolation0)", "Statement({root:bool})", "Value0?(IfRuleClause0)", "UserDefinedCallable0<Environment0>(ContentBlock0)", "Value0(Expression0)", "bool(+originalUrl(Importer,Uri,Uri))", "FileSpan(_NodeException)", "bool(Extension0)", "Set<ModifiableBox0<SelectorList0>>()", "~(Symbol0,@)", "Future<+originalUrl(AsyncImporter,Uri,Uri)?>()", "Iterable<ComplexSelector0>(List<ComplexSelector0>)", "int(String?)", "List<SimpleSelector0>(Extender0)", "List<Extender0>?(SimpleSelector0)", "List<Extender0>(PseudoSelector0)", "List<List<Extender0>>(List<Extender0>)", "List<ComplexSelector0>(ComplexSelector0)", "PseudoSelector0(ComplexSelector0)", "~(SimpleSelector0,Set<ModifiableBox0<SelectorList0>>)", "SassFunction0(Object,String,Value0(List<Value0>))", "List<ComplexSelectorComponent0>?(List<ComplexSelectorComponent0>,List<ComplexSelectorComponent0>)", "Expression({bracketList:bool,consumeNewlines:bool,singleEquals:bool,until:bool()?})", "bool(List<Iterable<ComplexSelectorComponent0>>)", "bool(@)", "bool(PseudoSelector0)", "SelectorList0?(PseudoSelector0)", "String(int,IfClause0)", "Future<Value>(Expression)", "Future<Stylesheet?>()", "~(Object?,Object,Object?)", "+(String,String)(String)", "+originalUrl(Importer0,Uri,Uri)?()", "Stylesheet0?()", "bool(+originalUrl(Importer0,Uri,Uri))", "Uri(+originalUrl(Importer0,Uri,Uri))", "~(String,WarnOptions)", "~(String,DebugOptions)", "Future<~>(List<String>)", "JSFunction0(JSFunction0)", "Object?(Object,String,String[Object?])", "Null(Object)", "List<Value>(Value)", "List<Value0>(Value0)", "bool(List<Value0>)", "SassList0(ComplexSelector0)", "Iterable<ComplexSelector0>(ComplexSelector0)", "SimpleSelector0(SimpleSelector0)", "SassList0(Object[Object?,_ConstructorOptions?])", "bool(+originalUrl(AsyncImporter,Uri,Uri))", "Null(_NodeSassList,int?[bool?,SassList0?])", "Uri(+originalUrl(AsyncImporter,Uri,Uri))", "Object(_NodeSassList,int)", "Null(_NodeSassList,int,Object)", "bool(_NodeSassList)", "Null(_NodeSassList,bool)", "int(_NodeSassList)", "SassMap0(Value0)", "SassMap0(SassMap0)", "SassMap0(Object[ImmutableMap0?])", "ImmutableMap0(SassMap0)", "Value0?(SassMap0,Object)", "Null(_NodeSassMap,int?[SassMap0?])", "SassNumber0(int)", "NumberExpression()", "int(_NodeSassMap)", "Value/()", "SassNumber0(Value0)", "List<CssMediaQuery0>()", "Value0(Object)", "0&(Object)", "bool(ModifiableCssNode0)", "SassNumber0(Object,num[Object?])", "~(String,int)", "int?(SassNumber0)", "~(String,int?)", "int(SassNumber0[String?])", "double(SassNumber0,num,num[String?])", "SassNumber0(SassNumber0[String?])", "SassNumber0(SassNumber0,String[String?])", "Stylesheet()", "Statement?()", "ParameterList()", "CssValue<String>(Interpolation{trim:bool,warnForColor:bool})", "VariableDeclaration()", "Null(_NodeSassNumber,num?[String?,SassNumber0?])", "double(_NodeSassNumber)", "Null(_NodeSassNumber,num)", "String(_NodeSassNumber)", "Null(_NodeSassNumber,String)", "SassScriptException0()", "String(Parameter0)", "JSExpressionVisitor(JSExpressionVisitorObject)", "JSStatementVisitor(JSStatementVisitorObject)", "JSSet(Set<Object?>)", "String(SourceFile,int[int?])", "List<int>(SourceFile)", "String?(Interpolation0)", "Object?(Statement0,StatementVisitor<Object?>)", "Object?(Expression0,ExpressionVisitor<Object?>)", "ArgumentList0(IncludeRule0)", "ArgumentList0(ContentRule0)", "ArgumentList0(FunctionExpression0)", "ArgumentList0(IfExpression0)", "ArgumentList0(InterpolatedFunctionExpression0)", "FileSpan(SassNode)", "Interpolation0(SupportsCondition)", "UseRule()", "String(Object,@,@[@])", "bool(List<Value>)", "Value/(List<Value>)", "+loadedUrls,stylesheet(Set<Uri>,CssStylesheet)()", "Module0<Callable0>()", "SassString0(SimpleSelector0)", "SelectorList0()", "CompoundSelector0()", "~(CssMediaQuery0)", "Set<int>(CssParentNode0)", "~(SelectorList0)", "~(MapEntry<Value0,Value0>)", "SingleUnitSassNumber0(double)", "~(Module0<Callable0>)", "JSUrl0?(FileSpan)", "Value?(Value)", "int(int,int)", "CssValue<String>(Interpolation)", "SassString0(int)", "SassString0(String)", "Null(RenderResult)", "SassString0(Object[Object?,_ConstructorOptions1?])", "String(SassString0)", "bool(SassString0)", "int(SassString0)", "int(SassString0,Value0[String?])", "Null(_NodeSassString,String?[SassString0?])", "String(_NodeSassString)", "Null(_NodeSassString,String)", "Statement0({root:bool})", "Object(String)", "NumberExpression0()", "Stylesheet0()", "Statement0?()", "ParameterList0()", "+(String,ParameterList0)()", "StyleRule0(List<Statement0>,FileSpan)", "Declaration0(List<Statement0>,FileSpan)", "StyleRule(List<Statement>,FileSpan)", "EachRule0(List<Statement0>,FileSpan)", "FunctionRule0(List<Statement0>,FileSpan)", "ForRule0(List<Statement0>,FileSpan)", "ContentBlock0(List<Statement0>,FileSpan)", "MediaRule0(List<Statement0>,FileSpan)", "MixinRule0(List<Statement0>,FileSpan)", "Value?(IfRuleClause)", "SupportsRule0(List<Statement0>,FileSpan)", "WhileRule0(List<Statement0>,FileSpan)", "~(Expression0)", "~(BinaryOperator0)", "StringExpression0(Interpolation0)", "Null(~(Object?),~(Object?))", "ImmutableList0(Value0)", "String?(Value0)", "int(Value0,Value0[String?])", "SassBoolean0(Value0[String?])", "SassCalculation0(Value0[String?])", "SassColor0(Value0[String?])", "SassFunction0(Value0[String?])", "SassMap0(Value0[String?])", "SassMixin0(Value0[String?])", "SassNumber0(Value0[String?])", "SassString0(Value0[String?])", "SassMap0?(Value0)", "bool(Value0,Object?)", "int(Value0[Object?])", "UserDefinedCallable<Environment>(ContentBlock)", "bool(Version)", "~(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?>?)", "Value(Expression)", "bool(Deprecation)", "0^(0^,0^)<num>", "SassMap(Value)", "~(ContentBlock)", "~(Object,StackTrace,EventSink<0^>)<Object?>", "List<0^>(0^,List<0^>?)<Object?>", "NodeCompileResult(String[CompileOptions?])", "NodeCompileResult(String[CompileStringOptions?])", "Promise(String[CompileOptions?])", "Promise(String[CompileStringOptions?])", "Importer0(Object?)", "Compiler()", "Promise()", "List<Object?>(Object?)", "~(RenderOptions,~(Object?,RenderResult?))", "RenderResult(RenderOptions)", "ParserExports()", "Stylesheet0(String,String,String?)", "String?(String)", "Uri(JSUrl0)", "Object(Map<String,Object?>)", "String(String[String?,String?,String?,String?,String?,String?,String?,String?,String?,String?,String?,String?,String?,String?])", "String(Object?)", "SassMap(SassMap)", "SassNumber(Value)", "Value(Object)", "Future<Value?>(Value)", "CssValue0<String>(Interpolation0{trim:bool,warnForColor:bool})"],
  124967. interceptorsByTag: null,
  124968. leafTags: null,
  124969. arrayRti: Symbol("$ti"),
  124970. rttc: {
  124971. "1;": t1 => o => o instanceof A._Record_1 && t1._is(o._0),
  124972. "2;": (t1, t2) => o => o instanceof A._Record_2 && t1._is(o._0) && t2._is(o._1),
  124973. "2;forImport": (t1, t2) => o => o instanceof A._Record_2_forImport && t1._is(o._0) && t2._is(o._1),
  124974. "2;sourceMap": (t1, t2) => o => o instanceof A._Record_2_sourceMap && t1._is(o._0) && t2._is(o._1),
  124975. "2;imports,modules": (t1, t2) => o => o instanceof A._Record_2_imports_modules && t1._is(o._0) && t2._is(o._1),
  124976. "2;loadedUrls,stylesheet": (t1, t2) => o => o instanceof A._Record_2_loadedUrls_stylesheet && t1._is(o._0) && t2._is(o._1),
  124977. "3;": (t1, t2, t3) => o => o instanceof A._Record_3 && t1._is(o._0) && t2._is(o._1) && t3._is(o._2),
  124978. "3;forImport": (t1, t2, t3) => o => o instanceof A._Record_3_forImport && t1._is(o._0) && t2._is(o._1) && t3._is(o._2),
  124979. "3;originalUrl": (t1, t2, t3) => o => o instanceof A._Record_3_originalUrl && t1._is(o._0) && t2._is(o._1) && t3._is(o._2),
  124980. "3;importer,isDependency": (t1, t2, t3) => o => o instanceof A._Record_3_importer_isDependency && t1._is(o._0) && t2._is(o._1) && t3._is(o._2),
  124981. "3;deprecation,message,span": (t1, t2, t3) => o => o instanceof A._Record_3_deprecation_message_span && t1._is(o._0) && t2._is(o._1) && t3._is(o._2),
  124982. "5;named,namedNodes,positional,positionalNodes,separator": types => o => o instanceof A._Record_5_named_namedNodes_positional_positionalNodes_separator && A.pairwiseIsTest(types, o._values)
  124983. }
  124984. };
  124985. A._Universe_addRules(init.typeUniverse, JSON.parse('{"PlainJavaScriptObject":"LegacyJavaScriptObject","UnknownJavaScriptObject":"LegacyJavaScriptObject","JavaScriptFunction":"LegacyJavaScriptObject","Stdin":"LegacyJavaScriptObject","Stdout":"LegacyJavaScriptObject","ReadlineModule":"LegacyJavaScriptObject","ReadlineOptions":"LegacyJavaScriptObject","ReadlineInterface":"LegacyJavaScriptObject","BufferModule":"LegacyJavaScriptObject","BufferConstants":"LegacyJavaScriptObject","Buffer":"LegacyJavaScriptObject","ConsoleModule":"LegacyJavaScriptObject","Console":"LegacyJavaScriptObject","EventEmitter":"LegacyJavaScriptObject","FS":"LegacyJavaScriptObject","FSConstants":"LegacyJavaScriptObject","Realpath":"LegacyJavaScriptObject","RealpathSync":"LegacyJavaScriptObject","FSWatcher":"LegacyJavaScriptObject","ReadStream":"LegacyJavaScriptObject","ReadStreamOptions":"LegacyJavaScriptObject","WriteStream":"LegacyJavaScriptObject","WriteStreamOptions":"LegacyJavaScriptObject","FileOptions":"LegacyJavaScriptObject","StatOptions":"LegacyJavaScriptObject","MkdirOptions":"LegacyJavaScriptObject","RmdirOptions":"LegacyJavaScriptObject","WatchOptions":"LegacyJavaScriptObject","WatchFileOptions":"LegacyJavaScriptObject","Stats":"LegacyJavaScriptObject","Promise":"LegacyJavaScriptObject","Date":"LegacyJavaScriptObject","JsError":"LegacyJavaScriptObject","Atomics":"LegacyJavaScriptObject","Modules":"LegacyJavaScriptObject","Module":"LegacyJavaScriptObject","Net":"LegacyJavaScriptObject","Socket":"LegacyJavaScriptObject","NetAddress":"LegacyJavaScriptObject","NetServer":"LegacyJavaScriptObject","NodeJsError":"LegacyJavaScriptObject","JsAssertionError":"LegacyJavaScriptObject","JsRangeError":"LegacyJavaScriptObject","JsReferenceError":"LegacyJavaScriptObject","JsSyntaxError":"LegacyJavaScriptObject","JsTypeError":"LegacyJavaScriptObject","JsSystemError":"LegacyJavaScriptObject","Process":"LegacyJavaScriptObject","CPUUsage":"LegacyJavaScriptObject","Release":"LegacyJavaScriptObject","StreamModule":"LegacyJavaScriptObject","Readable":"LegacyJavaScriptObject","Writable":"LegacyJavaScriptObject","Duplex":"LegacyJavaScriptObject","Transform":"LegacyJavaScriptObject","WritableOptions":"LegacyJavaScriptObject","ReadableOptions":"LegacyJavaScriptObject","Immediate":"LegacyJavaScriptObject","Timeout":"LegacyJavaScriptObject","TTY":"LegacyJavaScriptObject","TTYReadStream":"LegacyJavaScriptObject","TTYWriteStream":"LegacyJavaScriptObject","Util":"LegacyJavaScriptObject","JSArray0":"LegacyJavaScriptObject","Chokidar":"LegacyJavaScriptObject","ChokidarOptions":"LegacyJavaScriptObject","ChokidarWatcher":"LegacyJavaScriptObject","JSFunction":"LegacyJavaScriptObject","ImmutableList":"LegacyJavaScriptObject","ImmutableMap":"LegacyJavaScriptObject","NodeImporterResult":"LegacyJavaScriptObject","RenderContext":"LegacyJavaScriptObject","RenderContextOptions":"LegacyJavaScriptObject","RenderContextResult":"LegacyJavaScriptObject","RenderContextResultStats":"LegacyJavaScriptObject","JSModule":"LegacyJavaScriptObject","JSModuleRequire":"LegacyJavaScriptObject","JSClass":"LegacyJavaScriptObject","JSUrl":"LegacyJavaScriptObject","_PropertyDescriptor":"LegacyJavaScriptObject","_RequireMain":"LegacyJavaScriptObject","JSArray1":"LegacyJavaScriptObject","Chokidar0":"LegacyJavaScriptObject","ChokidarOptions0":"LegacyJavaScriptObject","ChokidarWatcher0":"LegacyJavaScriptObject","_ConstructionOptions":"LegacyJavaScriptObject","_ChannelOptions":"LegacyJavaScriptObject","_ToGamutOptions":"LegacyJavaScriptObject","_InterpolationOptions":"LegacyJavaScriptObject","_Channels":"LegacyJavaScriptObject","_NodeSassColor":"LegacyJavaScriptObject","CompileOptions":"LegacyJavaScriptObject","CompileStringOptions":"LegacyJavaScriptObject","NodeCompileResult":"LegacyJavaScriptObject","Deprecation1":"LegacyJavaScriptObject","_NodeException":"LegacyJavaScriptObject","Exports":"LegacyJavaScriptObject","LoggerNamespace":"LegacyJavaScriptObject","JSExpressionVisitorObject":"LegacyJavaScriptObject","Fiber":"LegacyJavaScriptObject","FiberClass":"LegacyJavaScriptObject","JSFunction0":"LegacyJavaScriptObject","ImmutableList0":"LegacyJavaScriptObject","ImmutableMap0":"LegacyJavaScriptObject","JSImporter":"LegacyJavaScriptObject","JSImporterResult":"LegacyJavaScriptObject","NodeImporterResult0":"LegacyJavaScriptObject","_ConstructorOptions":"LegacyJavaScriptObject","_NodeSassList":"LegacyJavaScriptObject","WarnOptions":"LegacyJavaScriptObject","DebugOptions":"LegacyJavaScriptObject","JSLogger":"LegacyJavaScriptObject","_NodeSassMap":"LegacyJavaScriptObject","JSModule0":"LegacyJavaScriptObject","JSModuleRequire0":"LegacyJavaScriptObject","_ConstructorOptions0":"LegacyJavaScriptObject","_NodeSassNumber":"LegacyJavaScriptObject","ParserExports":"LegacyJavaScriptObject","JSClass0":"LegacyJavaScriptObject","RenderContext0":"LegacyJavaScriptObject","RenderContextOptions0":"LegacyJavaScriptObject","RenderContextResult0":"LegacyJavaScriptObject","RenderContextResultStats0":"LegacyJavaScriptObject","RenderOptions":"LegacyJavaScriptObject","RenderResult":"LegacyJavaScriptObject","RenderResultStats":"LegacyJavaScriptObject","_Exports":"LegacyJavaScriptObject","JSSet":"LegacyJavaScriptObject","JSStatementVisitorObject":"LegacyJavaScriptObject","_ConstructorOptions1":"LegacyJavaScriptObject","_NodeSassString":"LegacyJavaScriptObject","Types":"LegacyJavaScriptObject","JSUrl0":"LegacyJavaScriptObject","_PropertyDescriptor0":"LegacyJavaScriptObject","_RequireMain0":"LegacyJavaScriptObject","JSArray":{"List":["1"],"EfficientLengthIterable":["1"],"JSObject":[],"Iterable":["1"]},"JSBool":{"bool":[],"TrustedGetRuntimeType":[]},"JSNull":{"Null":[],"TrustedGetRuntimeType":[]},"JavaScriptObject":{"JSObject":[]},"LegacyJavaScriptObject":{"JSObject":[],"Promise":[],"JsSystemError":[],"ImmutableList":[],"_ConstructionOptions":[],"_ChannelOptions":[],"_ToGamutOptions":[],"_InterpolationOptions":[],"_NodeSassColor":[],"CompileOptions":[],"CompileStringOptions":[],"NodeCompileResult":[],"Deprecation1":[],"_NodeException":[],"JSExpressionVisitorObject":[],"Fiber":[],"JSFunction0":[],"ImmutableList0":[],"ImmutableMap0":[],"JSImporter":[],"JSImporterResult":[],"NodeImporterResult0":[],"_ConstructorOptions":[],"_NodeSassList":[],"WarnOptions":[],"DebugOptions":[],"_NodeSassMap":[],"_ConstructorOptions0":[],"_NodeSassNumber":[],"ParserExports":[],"JSClass0":[],"RenderContextOptions0":[],"RenderOptions":[],"RenderResult":[],"JSSet":[],"JSStatementVisitorObject":[],"_ConstructorOptions1":[],"_NodeSassString":[],"JSUrl0":[]},"JSUnmodifiableArray":{"JSArray":["1"],"List":["1"],"EfficientLengthIterable":["1"],"JSObject":[],"Iterable":["1"]},"JSNumber":{"double":[],"num":[],"Comparable":["num"]},"JSInt":{"double":[],"int":[],"num":[],"Comparable":["num"],"TrustedGetRuntimeType":[]},"JSNumNotInt":{"double":[],"num":[],"Comparable":["num"],"TrustedGetRuntimeType":[]},"JSString":{"String":[],"Comparable":["String"],"TrustedGetRuntimeType":[]},"_CastIterableBase":{"Iterable":["2"]},"CastIterable":{"_CastIterableBase":["1","2"],"Iterable":["2"],"Iterable.E":"2"},"_EfficientLengthCastIterable":{"CastIterable":["1","2"],"_CastIterableBase":["1","2"],"EfficientLengthIterable":["2"],"Iterable":["2"],"Iterable.E":"2"},"_CastListBase":{"ListBase":["2"],"List":["2"],"_CastIterableBase":["1","2"],"EfficientLengthIterable":["2"],"Iterable":["2"]},"CastList":{"_CastListBase":["1","2"],"ListBase":["2"],"List":["2"],"_CastIterableBase":["1","2"],"EfficientLengthIterable":["2"],"Iterable":["2"],"ListBase.E":"2","Iterable.E":"2"},"CastSet":{"Set":["2"],"_CastIterableBase":["1","2"],"EfficientLengthIterable":["2"],"Iterable":["2"],"Iterable.E":"2"},"CastMap":{"MapBase":["3","4"],"Map":["3","4"],"MapBase.K":"3","MapBase.V":"4"},"LateError":{"Error":[]},"CodeUnits":{"ListBase":["int"],"List":["int"],"EfficientLengthIterable":["int"],"Iterable":["int"],"ListBase.E":"int"},"EfficientLengthIterable":{"Iterable":["1"]},"ListIterable":{"EfficientLengthIterable":["1"],"Iterable":["1"]},"SubListIterable":{"ListIterable":["1"],"EfficientLengthIterable":["1"],"Iterable":["1"],"ListIterable.E":"1","Iterable.E":"1"},"MappedIterable":{"Iterable":["2"],"Iterable.E":"2"},"EfficientLengthMappedIterable":{"MappedIterable":["1","2"],"EfficientLengthIterable":["2"],"Iterable":["2"],"Iterable.E":"2"},"MappedListIterable":{"ListIterable":["2"],"EfficientLengthIterable":["2"],"Iterable":["2"],"ListIterable.E":"2","Iterable.E":"2"},"WhereIterable":{"Iterable":["1"],"Iterable.E":"1"},"ExpandIterable":{"Iterable":["2"],"Iterable.E":"2"},"TakeIterable":{"Iterable":["1"],"Iterable.E":"1"},"EfficientLengthTakeIterable":{"TakeIterable":["1"],"EfficientLengthIterable":["1"],"Iterable":["1"],"Iterable.E":"1"},"SkipIterable":{"Iterable":["1"],"Iterable.E":"1"},"EfficientLengthSkipIterable":{"SkipIterable":["1"],"EfficientLengthIterable":["1"],"Iterable":["1"],"Iterable.E":"1"},"SkipWhileIterable":{"Iterable":["1"],"Iterable.E":"1"},"EmptyIterable":{"EfficientLengthIterable":["1"],"Iterable":["1"],"Iterable.E":"1"},"FollowedByIterable":{"Iterable":["1"],"Iterable.E":"1"},"EfficientLengthFollowedByIterable":{"FollowedByIterable":["1"],"EfficientLengthIterable":["1"],"Iterable":["1"],"Iterable.E":"1"},"WhereTypeIterable":{"Iterable":["1"],"Iterable.E":"1"},"NonNullsIterable":{"Iterable":["1"],"Iterable.E":"1"},"UnmodifiableListBase":{"ListBase":["1"],"List":["1"],"EfficientLengthIterable":["1"],"Iterable":["1"]},"ReversedListIterable":{"ListIterable":["1"],"EfficientLengthIterable":["1"],"Iterable":["1"],"ListIterable.E":"1","Iterable.E":"1"},"Symbol":{"Symbol0":[]},"ConstantMapView":{"UnmodifiableMapView":["1","2"],"Map":["1","2"]},"ConstantMap":{"Map":["1","2"]},"ConstantStringMap":{"ConstantMap":["1","2"],"Map":["1","2"]},"_KeysOrValues":{"Iterable":["1"],"Iterable.E":"1"},"ConstantSet":{"SetBase":["1"],"Set":["1"],"EfficientLengthIterable":["1"],"Iterable":["1"]},"ConstantStringSet":{"SetBase":["1"],"Set":["1"],"EfficientLengthIterable":["1"],"Iterable":["1"]},"GeneralConstantSet":{"SetBase":["1"],"Set":["1"],"EfficientLengthIterable":["1"],"Iterable":["1"]},"Instantiation":{"Function":[]},"Instantiation1":{"Function":[]},"NullError":{"TypeError":[],"Error":[]},"JsNoSuchMethodError":{"Error":[]},"UnknownJsTypeError":{"Error":[]},"NullThrownFromJavaScriptException":{"Exception":[]},"_StackTrace":{"StackTrace":[]},"Closure":{"Function":[]},"Closure0Args":{"Function":[]},"Closure2Args":{"Function":[]},"TearOffClosure":{"Function":[]},"StaticClosure":{"Function":[]},"BoundClosure":{"Function":[]},"RuntimeError":{"Error":[]},"JsLinkedHashMap":{"MapBase":["1","2"],"Map":["1","2"],"MapBase.K":"1","MapBase.V":"2"},"LinkedHashMapKeysIterable":{"EfficientLengthIterable":["1"],"Iterable":["1"],"Iterable.E":"1"},"LinkedHashMapValuesIterable":{"EfficientLengthIterable":["1"],"Iterable":["1"],"Iterable.E":"1"},"LinkedHashMapEntriesIterable":{"EfficientLengthIterable":["MapEntry<1,2>"],"Iterable":["MapEntry<1,2>"],"Iterable.E":"MapEntry<1,2>"},"JsIdentityLinkedHashMap":{"JsLinkedHashMap":["1","2"],"MapBase":["1","2"],"Map":["1","2"],"MapBase.K":"1","MapBase.V":"2"},"JsConstantLinkedHashMap":{"JsLinkedHashMap":["1","2"],"MapBase":["1","2"],"Map":["1","2"],"MapBase.K":"1","MapBase.V":"2"},"_MatchImplementation":{"RegExpMatch":[],"Match":[]},"_AllMatchesIterable":{"Iterable":["RegExpMatch"],"Iterable.E":"RegExpMatch"},"StringMatch":{"Match":[]},"_StringAllMatchesIterable":{"Iterable":["Match"],"Iterable.E":"Match"},"NativeByteBuffer":{"JSObject":[],"ByteBuffer":[],"TrustedGetRuntimeType":[]},"NativeTypedData":{"JSObject":[]},"NativeByteData":{"ByteData":[],"JSObject":[],"TrustedGetRuntimeType":[]},"NativeTypedArray":{"JavaScriptIndexingBehavior":["1"],"JSObject":[]},"NativeTypedArrayOfDouble":{"ListBase":["double"],"List":["double"],"JavaScriptIndexingBehavior":["double"],"EfficientLengthIterable":["double"],"JSObject":[],"Iterable":["double"]},"NativeTypedArrayOfInt":{"ListBase":["int"],"List":["int"],"JavaScriptIndexingBehavior":["int"],"EfficientLengthIterable":["int"],"JSObject":[],"Iterable":["int"]},"NativeFloat32List":{"NativeTypedArrayOfDouble":[],"Float32List":[],"ListBase":["double"],"List":["double"],"JavaScriptIndexingBehavior":["double"],"EfficientLengthIterable":["double"],"JSObject":[],"Iterable":["double"],"TrustedGetRuntimeType":[],"ListBase.E":"double"},"NativeFloat64List":{"NativeTypedArrayOfDouble":[],"Float64List":[],"ListBase":["double"],"List":["double"],"JavaScriptIndexingBehavior":["double"],"EfficientLengthIterable":["double"],"JSObject":[],"Iterable":["double"],"TrustedGetRuntimeType":[],"ListBase.E":"double"},"NativeInt16List":{"NativeTypedArrayOfInt":[],"Int16List":[],"ListBase":["int"],"List":["int"],"JavaScriptIndexingBehavior":["int"],"EfficientLengthIterable":["int"],"JSObject":[],"Iterable":["int"],"TrustedGetRuntimeType":[],"ListBase.E":"int"},"NativeInt32List":{"NativeTypedArrayOfInt":[],"Int32List":[],"ListBase":["int"],"List":["int"],"JavaScriptIndexingBehavior":["int"],"EfficientLengthIterable":["int"],"JSObject":[],"Iterable":["int"],"TrustedGetRuntimeType":[],"ListBase.E":"int"},"NativeInt8List":{"NativeTypedArrayOfInt":[],"Int8List":[],"ListBase":["int"],"List":["int"],"JavaScriptIndexingBehavior":["int"],"EfficientLengthIterable":["int"],"JSObject":[],"Iterable":["int"],"TrustedGetRuntimeType":[],"ListBase.E":"int"},"NativeUint16List":{"NativeTypedArrayOfInt":[],"Uint16List":[],"ListBase":["int"],"List":["int"],"JavaScriptIndexingBehavior":["int"],"EfficientLengthIterable":["int"],"JSObject":[],"Iterable":["int"],"TrustedGetRuntimeType":[],"ListBase.E":"int"},"NativeUint32List":{"NativeTypedArrayOfInt":[],"Uint32List":[],"ListBase":["int"],"List":["int"],"JavaScriptIndexingBehavior":["int"],"EfficientLengthIterable":["int"],"JSObject":[],"Iterable":["int"],"TrustedGetRuntimeType":[],"ListBase.E":"int"},"NativeUint8ClampedList":{"NativeTypedArrayOfInt":[],"Uint8ClampedList":[],"ListBase":["int"],"List":["int"],"JavaScriptIndexingBehavior":["int"],"EfficientLengthIterable":["int"],"JSObject":[],"Iterable":["int"],"TrustedGetRuntimeType":[],"ListBase.E":"int"},"NativeUint8List":{"NativeTypedArrayOfInt":[],"Uint8List":[],"ListBase":["int"],"List":["int"],"JavaScriptIndexingBehavior":["int"],"EfficientLengthIterable":["int"],"JSObject":[],"Iterable":["int"],"TrustedGetRuntimeType":[],"ListBase.E":"int"},"_Error":{"Error":[]},"_TypeError":{"TypeError":[],"Error":[]},"AsyncError":{"Error":[]},"_SyncStarIterable":{"Iterable":["1"],"Iterable.E":"1"},"_AsyncCompleter":{"_Completer":["1"]},"_SyncCompleter":{"_Completer":["1"]},"_Future":{"Future":["1"]},"_StreamController":{"EventSink":["1"]},"_AsyncStreamController":{"_StreamController":["1"],"EventSink":["1"]},"_SyncStreamController":{"_StreamController":["1"],"EventSink":["1"]},"_ControllerStream":{"_StreamImpl":["1"],"Stream":["1"],"Stream.T":"1"},"_ControllerSubscription":{"_BufferingStreamSubscription":["1"],"StreamSubscription":["1"],"_BufferingStreamSubscription.T":"1"},"_BufferingStreamSubscription":{"StreamSubscription":["1"],"_BufferingStreamSubscription.T":"1"},"_StreamImpl":{"Stream":["1"]},"_ForwardingStream":{"Stream":["2"]},"_ForwardingStreamSubscription":{"_BufferingStreamSubscription":["2"],"StreamSubscription":["2"],"_BufferingStreamSubscription.T":"2"},"_MapStream":{"_ForwardingStream":["1","2"],"Stream":["2"],"Stream.T":"2"},"_ZoneSpecification":{"ZoneSpecification":[]},"_ZoneDelegate":{"ZoneDelegate":[]},"_Zone":{"Zone":[]},"_CustomZone":{"Zone":[]},"_RootZone":{"Zone":[]},"Queue":{"EfficientLengthIterable":["1"],"Iterable":["1"]},"_HashMap":{"MapBase":["1","2"],"Map":["1","2"],"MapBase.K":"1","MapBase.V":"2"},"_IdentityHashMap":{"_HashMap":["1","2"],"MapBase":["1","2"],"Map":["1","2"],"MapBase.K":"1","MapBase.V":"2"},"_HashMapKeyIterable":{"EfficientLengthIterable":["1"],"Iterable":["1"],"Iterable.E":"1"},"_LinkedCustomHashMap":{"JsLinkedHashMap":["1","2"],"MapBase":["1","2"],"Map":["1","2"],"MapBase.K":"1","MapBase.V":"2"},"_LinkedHashSet":{"_SetBase":["1"],"SetBase":["1"],"Set":["1"],"EfficientLengthIterable":["1"],"Iterable":["1"]},"_LinkedIdentityHashSet":{"_LinkedHashSet":["1"],"_SetBase":["1"],"SetBase":["1"],"Set":["1"],"EfficientLengthIterable":["1"],"Iterable":["1"]},"UnmodifiableListView":{"ListBase":["1"],"List":["1"],"EfficientLengthIterable":["1"],"Iterable":["1"],"ListBase.E":"1"},"ListBase":{"List":["1"],"EfficientLengthIterable":["1"],"Iterable":["1"]},"MapBase":{"Map":["1","2"]},"UnmodifiableMapBase":{"MapBase":["1","2"],"Map":["1","2"]},"_MapBaseValueIterable":{"EfficientLengthIterable":["2"],"Iterable":["2"],"Iterable.E":"2"},"MapView":{"Map":["1","2"]},"UnmodifiableMapView":{"Map":["1","2"]},"ListQueue":{"Queue":["1"],"ListIterable":["1"],"EfficientLengthIterable":["1"],"Iterable":["1"],"ListIterable.E":"1","Iterable.E":"1"},"SetBase":{"Set":["1"],"EfficientLengthIterable":["1"],"Iterable":["1"]},"_SetBase":{"SetBase":["1"],"Set":["1"],"EfficientLengthIterable":["1"],"Iterable":["1"]},"UnmodifiableSetView":{"SetBase":["1"],"Set":["1"],"EfficientLengthIterable":["1"],"Iterable":["1"]},"_JsonMap":{"MapBase":["String","@"],"Map":["String","@"],"MapBase.K":"String","MapBase.V":"@"},"_JsonMapKeyIterable":{"ListIterable":["String"],"EfficientLengthIterable":["String"],"Iterable":["String"],"ListIterable.E":"String","Iterable.E":"String"},"AsciiCodec":{"Codec":["String","List<int>"]},"_UnicodeSubsetEncoder":{"Converter":["String","List<int>"]},"AsciiEncoder":{"Converter":["String","List<int>"]},"Base64Codec":{"Codec":["List<int>","String"]},"Base64Encoder":{"Converter":["List<int>","String"]},"Encoding":{"Codec":["String","List<int>"]},"JsonUnsupportedObjectError":{"Error":[]},"JsonCyclicError":{"Error":[]},"JsonCodec":{"Codec":["Object?","String"]},"JsonEncoder":{"Converter":["Object?","String"]},"JsonDecoder":{"Converter":["String","Object?"]},"Utf8Codec":{"Codec":["String","List<int>"]},"Utf8Encoder":{"Converter":["String","List<int>"]},"Utf8Decoder":{"Converter":["List<int>","String"]},"DateTime":{"Comparable":["DateTime"]},"double":{"num":[],"Comparable":["num"]},"Duration":{"Comparable":["Duration"]},"int":{"num":[],"Comparable":["num"]},"List":{"EfficientLengthIterable":["1"],"Iterable":["1"]},"num":{"Comparable":["num"]},"RegExpMatch":{"Match":[]},"Set":{"EfficientLengthIterable":["1"],"Iterable":["1"]},"String":{"Comparable":["String"]},"AssertionError":{"Error":[]},"TypeError":{"Error":[]},"ArgumentError":{"Error":[]},"RangeError":{"Error":[]},"IndexError":{"RangeError":[],"Error":[]},"NoSuchMethodError":{"Error":[]},"UnsupportedError":{"Error":[]},"UnimplementedError":{"Error":[]},"StateError":{"Error":[]},"ConcurrentModificationError":{"Error":[]},"OutOfMemoryError":{"Error":[]},"StackOverflowError":{"Error":[]},"_Exception":{"Exception":[]},"FormatException":{"Exception":[]},"_GeneratorIterable":{"ListIterable":["1"],"EfficientLengthIterable":["1"],"Iterable":["1"],"ListIterable.E":"1","Iterable.E":"1"},"_StringStackTrace":{"StackTrace":[]},"Runes":{"Iterable":["int"],"Iterable.E":"int"},"_Uri":{"_PlatformUri":[],"Uri":[]},"_SimpleUri":{"_PlatformUri":[],"Uri":[]},"_DataUri":{"_PlatformUri":[],"Uri":[]},"NullRejectionException":{"Exception":[]},"ArgParserException":{"FormatException":[],"Exception":[]},"ErrorResult":{"Result":["0&"]},"ValueResult":{"Result":["1"]},"_CompleterStream":{"Stream":["1"],"Stream.T":"1"},"_NextRequest":{"_EventRequest":["1"]},"EmptyUnmodifiableSet":{"Set":["1"],"EfficientLengthIterable":["1"],"Iterable":["1"],"Iterable.E":"1"},"QueueList":{"ListBase":["1"],"List":["1"],"Queue":["1"],"EfficientLengthIterable":["1"],"Iterable":["1"],"ListBase.E":"1","QueueList.E":"1"},"_CastQueueList":{"QueueList":["2"],"ListBase":["2"],"List":["2"],"Queue":["2"],"EfficientLengthIterable":["2"],"Iterable":["2"],"ListBase.E":"2","QueueList.E":"2"},"UnionSet":{"SetBase":["1"],"Set":["1"],"EfficientLengthIterable":["1"],"Iterable":["1"]},"UnmodifiableSetView0":{"DelegatingSet":["1"],"Set":["1"],"EfficientLengthIterable":["1"],"Iterable":["1"]},"MapKeySet":{"Set":["1"],"EfficientLengthIterable":["1"],"Iterable":["1"]},"_DelegatingIterableBase":{"Iterable":["1"]},"DelegatingSet":{"Set":["1"],"EfficientLengthIterable":["1"],"Iterable":["1"]},"PathException":{"Exception":[]},"PathMap":{"Map":["String?","1"]},"Version":{"VersionRange":[],"Comparable":["VersionRange"]},"VersionRange":{"Comparable":["VersionRange"]},"ModifiableCssAtRule":{"ModifiableCssParentNode":[],"ModifiableCssNode":[],"CssParentNode":[],"CssNode":[],"AstNode":[]},"ModifiableCssComment":{"ModifiableCssNode":[],"CssComment":[],"CssNode":[],"AstNode":[]},"ModifiableCssDeclaration":{"ModifiableCssNode":[],"CssNode":[],"AstNode":[]},"ModifiableCssImport":{"ModifiableCssNode":[],"CssNode":[],"AstNode":[]},"ModifiableCssKeyframeBlock":{"ModifiableCssParentNode":[],"ModifiableCssNode":[],"CssParentNode":[],"CssNode":[],"AstNode":[]},"ModifiableCssMediaRule":{"ModifiableCssParentNode":[],"ModifiableCssNode":[],"CssParentNode":[],"CssNode":[],"AstNode":[]},"ModifiableCssNode":{"CssNode":[],"AstNode":[]},"ModifiableCssParentNode":{"ModifiableCssNode":[],"CssParentNode":[],"CssNode":[],"AstNode":[]},"ModifiableCssStyleRule":{"ModifiableCssParentNode":[],"CssStyleRule":[],"ModifiableCssNode":[],"CssParentNode":[],"CssNode":[],"AstNode":[]},"ModifiableCssStylesheet":{"ModifiableCssParentNode":[],"CssStylesheet":[],"ModifiableCssNode":[],"CssParentNode":[],"CssNode":[],"AstNode":[]},"ModifiableCssSupportsRule":{"ModifiableCssParentNode":[],"ModifiableCssNode":[],"CssParentNode":[],"CssNode":[],"AstNode":[]},"CssNode":{"AstNode":[]},"CssParentNode":{"CssNode":[],"AstNode":[]},"CssStylesheet":{"CssParentNode":[],"CssNode":[],"AstNode":[]},"CssValue":{"AstNode":[]},"_FakeAstNode":{"AstNode":[]},"ArgumentList":{"AstNode":[]},"ConfiguredVariable":{"AstNode":[]},"Expression":{"AstNode":[]},"BinaryOperationExpression":{"Expression":[],"AstNode":[]},"BooleanExpression":{"Expression":[],"AstNode":[]},"ColorExpression":{"Expression":[],"AstNode":[]},"FunctionExpression":{"Expression":[],"AstNode":[]},"IfExpression":{"Expression":[],"AstNode":[]},"InterpolatedFunctionExpression":{"Expression":[],"AstNode":[]},"ListExpression":{"Expression":[],"AstNode":[]},"MapExpression":{"Expression":[],"AstNode":[]},"NullExpression":{"Expression":[],"AstNode":[]},"NumberExpression":{"Expression":[],"AstNode":[]},"ParenthesizedExpression":{"Expression":[],"AstNode":[]},"SelectorExpression":{"Expression":[],"AstNode":[]},"StringExpression":{"Expression":[],"AstNode":[]},"SupportsExpression":{"Expression":[],"AstNode":[]},"UnaryOperationExpression":{"Expression":[],"AstNode":[]},"ValueExpression":{"Expression":[],"AstNode":[]},"VariableExpression":{"Expression":[],"AstNode":[]},"DynamicImport":{"Import":[],"AstNode":[]},"StaticImport":{"Import":[],"AstNode":[]},"Interpolation":{"AstNode":[]},"Parameter":{"AstNode":[]},"ParameterList":{"AstNode":[]},"Statement":{"AstNode":[]},"AtRootRule":{"Statement":[],"AstNode":[]},"AtRule":{"Statement":[],"AstNode":[]},"CallableDeclaration":{"Statement":[],"AstNode":[]},"ContentBlock":{"Statement":[],"AstNode":[]},"ContentRule":{"Statement":[],"AstNode":[]},"DebugRule":{"Statement":[],"AstNode":[]},"Declaration":{"Statement":[],"AstNode":[]},"EachRule":{"Statement":[],"AstNode":[]},"ErrorRule":{"Statement":[],"AstNode":[]},"ExtendRule":{"Statement":[],"AstNode":[]},"ForRule":{"Statement":[],"AstNode":[]},"ForwardRule":{"Statement":[],"AstNode":[]},"FunctionRule":{"Statement":[],"AstNode":[]},"IfClause":{"IfRuleClause":[]},"ElseClause":{"IfRuleClause":[]},"IfRule":{"Statement":[],"AstNode":[]},"ImportRule":{"Statement":[],"AstNode":[]},"IncludeRule":{"Statement":[],"AstNode":[]},"LoudComment":{"Statement":[],"AstNode":[]},"MediaRule":{"Statement":[],"AstNode":[]},"MixinRule":{"Statement":[],"AstNode":[]},"_HasContentVisitor":{"StatementSearchVisitor":["bool"],"StatementSearchVisitor.T":"bool"},"ParentStatement":{"Statement":[],"AstNode":[]},"ReturnRule":{"Statement":[],"AstNode":[]},"SilentComment":{"Statement":[],"AstNode":[]},"StyleRule":{"Statement":[],"AstNode":[]},"Stylesheet":{"Statement":[],"AstNode":[]},"SupportsRule":{"Statement":[],"AstNode":[]},"UseRule":{"Statement":[],"AstNode":[]},"VariableDeclaration":{"Statement":[],"AstNode":[]},"WarnRule":{"Statement":[],"AstNode":[]},"WhileRule":{"Statement":[],"AstNode":[]},"SupportsAnything":{"AstNode":[]},"SupportsDeclaration":{"AstNode":[]},"SupportsFunction":{"AstNode":[]},"SupportsInterpolation":{"AstNode":[]},"SupportsNegation":{"AstNode":[]},"SupportsOperation":{"AstNode":[]},"Selector":{"AstNode":[]},"AttributeSelector":{"SimpleSelector":[],"AstNode":[]},"ClassSelector":{"SimpleSelector":[],"AstNode":[]},"ComplexSelector":{"AstNode":[]},"CompoundSelector":{"AstNode":[]},"IDSelector":{"SimpleSelector":[],"AstNode":[]},"SelectorList":{"AstNode":[]},"_ParentSelectorVisitor":{"SelectorSearchVisitor":["ParentSelector"],"SelectorSearchVisitor.T":"ParentSelector"},"ParentSelector":{"SimpleSelector":[],"AstNode":[]},"PlaceholderSelector":{"SimpleSelector":[],"AstNode":[]},"PseudoSelector":{"SimpleSelector":[],"AstNode":[]},"SimpleSelector":{"AstNode":[]},"TypeSelector":{"SimpleSelector":[],"AstNode":[]},"UniversalSelector":{"SimpleSelector":[],"AstNode":[]},"_EnvironmentModule0":{"Module0":["AsyncCallable"]},"AsyncBuiltInCallable":{"AsyncCallable":[]},"BuiltInCallable":{"Callable0":[],"AsyncBuiltInCallable":[],"AsyncCallable":[]},"PlainCssCallable":{"Callable0":[],"AsyncCallable":[]},"UserDefinedCallable":{"Callable0":[],"AsyncCallable":[]},"ExplicitConfiguration":{"Configuration":[]},"_EnvironmentModule":{"Module0":["Callable0"]},"SassRuntimeException":{"Exception":[]},"SassException":{"Exception":[]},"MultiSpanSassException":{"Exception":[]},"MultiSpanSassRuntimeException":{"SassRuntimeException":[],"Exception":[]},"SassFormatException":{"SourceSpanFormatException":[],"FormatException":[],"Exception":[]},"MultiSpanSassFormatException":{"MultiSourceSpanFormatException":[],"SassFormatException":[],"SourceSpanFormatException":[],"FormatException":[],"Exception":[]},"UsageException":{"Exception":[]},"EmptyExtensionStore":{"ExtensionStore":[]},"MergedExtension":{"Extension":[]},"Importer":{"AsyncImporter":[]},"FilesystemImporter":{"Importer":[],"AsyncImporter":[]},"NodePackageImporter":{"Importer":[],"AsyncImporter":[]},"BuiltInModule":{"Module0":["1"]},"ForwardedModuleView":{"Module0":["1"]},"ShadowedModuleView":{"Module0":["1"]},"LazyFileSpan":{"FileSpan":[],"SourceSpanWithContext":[],"SourceSpan":[],"Comparable":["SourceSpan"]},"LimitedMapView":{"MapBase":["1","2"],"Map":["1","2"],"MapBase.K":"1","MapBase.V":"2"},"MergedMapView":{"MapBase":["1","2"],"Map":["1","2"],"MapBase.K":"1","MapBase.V":"2"},"MultiSpan":{"FileSpan":[],"SourceSpanWithContext":[],"SourceSpan":[],"Comparable":["SourceSpan"]},"PrefixedMapView":{"MapBase":["String","1"],"Map":["String","1"],"MapBase.K":"String","MapBase.V":"1"},"_PrefixedKeys":{"Iterable":["String"],"Iterable.E":"String"},"PublicMemberMapView":{"MapBase":["String","1"],"Map":["String","1"],"MapBase.K":"String","MapBase.V":"1"},"UnprefixedMapView":{"MapBase":["String","1"],"Map":["String","1"],"MapBase.K":"String","MapBase.V":"1"},"_UnprefixedKeys":{"Iterable":["String"],"Iterable.E":"String"},"SassArgumentList":{"SassList":[],"Value":[]},"SassBoolean":{"Value":[]},"SassCalculation":{"Value":[]},"SassColor":{"Value":[]},"LinearChannel":{"ColorChannel":[]},"A98RgbColorSpace":{"ColorSpace":[]},"DisplayP3ColorSpace":{"ColorSpace":[]},"HslColorSpace":{"ColorSpace":[]},"HwbColorSpace":{"ColorSpace":[]},"LabColorSpace":{"ColorSpace":[]},"LchColorSpace":{"ColorSpace":[]},"LmsColorSpace":{"ColorSpace":[]},"OklabColorSpace":{"ColorSpace":[]},"OklchColorSpace":{"ColorSpace":[]},"ProphotoRgbColorSpace":{"ColorSpace":[]},"Rec2020ColorSpace":{"ColorSpace":[]},"RgbColorSpace":{"ColorSpace":[]},"SrgbColorSpace":{"ColorSpace":[]},"SrgbLinearColorSpace":{"ColorSpace":[]},"XyzD50ColorSpace":{"ColorSpace":[]},"XyzD65ColorSpace":{"ColorSpace":[]},"SassFunction":{"Value":[]},"SassList":{"Value":[]},"SassMap":{"Value":[]},"SassMixin":{"Value":[]},"_SassNull":{"Value":[]},"SassNumber":{"Value":[]},"ComplexSassNumber":{"SassNumber":[],"Value":[]},"SingleUnitSassNumber":{"SassNumber":[],"Value":[]},"UnitlessSassNumber":{"SassNumber":[],"Value":[]},"SassString":{"Value":[]},"_EvaluationContext0":{"EvaluationContext":[]},"_EvaluationContext":{"EvaluationContext":[]},"Entry":{"Comparable":["Entry"]},"FileLocation":{"SourceLocation":[],"Comparable":["SourceLocation"]},"FileSpan":{"SourceSpanWithContext":[],"SourceSpan":[],"Comparable":["SourceSpan"]},"_FileSpan":{"FileSpan":[],"SourceSpanWithContext":[],"SourceSpan":[],"Comparable":["SourceSpan"]},"SourceLocation":{"Comparable":["SourceLocation"]},"SourceLocationMixin":{"SourceLocation":[],"Comparable":["SourceLocation"]},"SourceSpan":{"Comparable":["SourceSpan"]},"SourceSpanBase":{"SourceSpan":[],"Comparable":["SourceSpan"]},"SourceSpanException":{"Exception":[]},"SourceSpanFormatException":{"FormatException":[],"Exception":[]},"MultiSourceSpanException":{"Exception":[]},"MultiSourceSpanFormatException":{"FormatException":[],"Exception":[]},"SourceSpanMixin":{"SourceSpan":[],"Comparable":["SourceSpan"]},"SourceSpanWithContext":{"SourceSpan":[],"Comparable":["SourceSpan"]},"Chain":{"StackTrace":[]},"LazyTrace":{"Trace":[],"StackTrace":[]},"Trace":{"StackTrace":[]},"UnparsedFrame":{"Frame":[]},"StringScannerException":{"SourceSpanFormatException":[],"FormatException":[],"Exception":[]},"A98RgbColorSpace0":{"ColorSpace0":[]},"SupportsAnything0":{"SupportsCondition":[],"SassNode":[],"AstNode0":[]},"ArgumentList0":{"SassNode":[],"AstNode0":[]},"SassArgumentList0":{"SassList0":[],"Value0":[]},"JSToDartAsyncImporter":{"AsyncImporter0":[]},"AsyncBuiltInCallable0":{"AsyncCallable0":[]},"_EnvironmentModule2":{"Module1":["AsyncCallable0"]},"_EvaluateVisitor2":{"StatementVisitor":["Future<Value0?>"],"ExpressionVisitor":["Future<Value0>"]},"_EvaluationContext2":{"EvaluationContext0":[]},"JSToDartAsyncFileImporter":{"AsyncImporter0":[]},"AtRootRule0":{"Statement0":[],"SassNode":[],"AstNode0":[]},"ModifiableCssAtRule0":{"ModifiableCssParentNode0":[],"ModifiableCssNode0":[],"CssParentNode0":[],"CssNode0":[],"AstNode0":[]},"AtRule0":{"Statement0":[],"SassNode":[],"AstNode0":[]},"AttributeSelector0":{"SimpleSelector0":[],"AstNode0":[]},"BinaryOperationExpression0":{"Expression0":[],"SassNode":[],"AstNode0":[]},"BooleanExpression0":{"Expression0":[],"SassNode":[],"AstNode0":[]},"SassBoolean0":{"Value0":[]},"BuiltInCallable0":{"Callable":[],"AsyncBuiltInCallable0":[],"AsyncCallable0":[]},"BuiltInModule0":{"Module1":["1"]},"SassCalculation0":{"Value0":[]},"CallableDeclaration0":{"Statement0":[],"SassNode":[],"AstNode0":[]},"LinearChannel0":{"ColorChannel0":[]},"ClassSelector0":{"SimpleSelector0":[],"AstNode0":[]},"ColorExpression0":{"Expression0":[],"SassNode":[],"AstNode0":[]},"SassColor0":{"Value0":[]},"ModifiableCssComment0":{"ModifiableCssNode0":[],"CssComment0":[],"CssNode0":[],"AstNode0":[]},"AsyncCompiler":{"Compiler":[]},"ComplexSassNumber0":{"SassNumber0":[],"Value0":[]},"ComplexSelector0":{"AstNode0":[]},"CompoundSelector0":{"AstNode0":[]},"ExplicitConfiguration0":{"Configuration0":[]},"ConfiguredVariable0":{"SassNode":[],"AstNode0":[]},"ContentBlock0":{"Statement0":[],"SassNode":[],"AstNode0":[]},"ContentRule0":{"Statement0":[],"SassNode":[],"AstNode0":[]},"DebugRule0":{"Statement0":[],"SassNode":[],"AstNode0":[]},"ModifiableCssDeclaration0":{"ModifiableCssNode0":[],"CssNode0":[],"AstNode0":[]},"Declaration0":{"Statement0":[],"SassNode":[],"AstNode0":[]},"SupportsDeclaration0":{"SupportsCondition":[],"SassNode":[],"AstNode0":[]},"DisplayP3ColorSpace0":{"ColorSpace0":[]},"DynamicImport0":{"Import0":[],"SassNode":[],"AstNode0":[]},"EachRule0":{"Statement0":[],"SassNode":[],"AstNode0":[]},"EmptyExtensionStore0":{"ExtensionStore0":[]},"_EnvironmentModule1":{"Module1":["Callable"]},"ErrorRule0":{"Statement0":[],"SassNode":[],"AstNode0":[]},"_EvaluateVisitor1":{"StatementVisitor":["Value0?"],"ExpressionVisitor":["Value0"]},"_EvaluationContext1":{"EvaluationContext0":[]},"SassRuntimeException0":{"Exception":[]},"SassException0":{"Exception":[]},"MultiSpanSassException0":{"Exception":[]},"MultiSpanSassRuntimeException0":{"SassRuntimeException0":[],"Exception":[]},"SassFormatException0":{"SourceSpanFormatException":[],"FormatException":[],"Exception":[]},"MultiSpanSassFormatException0":{"MultiSourceSpanFormatException":[],"SassFormatException0":[],"SourceSpanFormatException":[],"FormatException":[],"Exception":[]},"Expression0":{"SassNode":[],"AstNode0":[]},"JSExpressionVisitor":{"ExpressionVisitor":["Object?"]},"_MakeExpressionCalculationSafe0":{"ExpressionVisitor":["Expression0"]},"ExtendRule0":{"Statement0":[],"SassNode":[],"AstNode0":[]},"JSToDartFileImporter":{"Importer0":[],"AsyncImporter0":[]},"FilesystemImporter0":{"Importer0":[],"AsyncImporter0":[]},"ForRule0":{"Statement0":[],"SassNode":[],"AstNode0":[]},"ForwardRule0":{"Statement0":[],"SassNode":[],"AstNode0":[]},"ForwardedModuleView0":{"Module1":["1"]},"FunctionExpression0":{"Expression0":[],"SassNode":[],"AstNode0":[]},"SupportsFunction0":{"SupportsCondition":[],"SassNode":[],"AstNode0":[]},"SassFunction0":{"Value0":[]},"FunctionRule0":{"Statement0":[],"SassNode":[],"AstNode0":[]},"HslColorSpace0":{"ColorSpace0":[]},"HwbColorSpace0":{"ColorSpace0":[]},"IDSelector0":{"SimpleSelector0":[],"AstNode0":[]},"IfExpression0":{"Expression0":[],"SassNode":[],"AstNode0":[]},"IfClause0":{"IfRuleClause0":[]},"ElseClause0":{"IfRuleClause0":[]},"IfRule0":{"Statement0":[],"SassNode":[],"AstNode0":[]},"ModifiableCssImport0":{"ModifiableCssNode0":[],"CssNode0":[],"AstNode0":[]},"ImportRule0":{"Statement0":[],"SassNode":[],"AstNode0":[]},"Importer0":{"AsyncImporter0":[]},"IncludeRule0":{"Statement0":[],"SassNode":[],"AstNode0":[]},"InterpolatedFunctionExpression0":{"Expression0":[],"SassNode":[],"AstNode0":[]},"Interpolation0":{"SassNode":[],"AstNode0":[]},"SupportsInterpolation0":{"SupportsCondition":[],"SassNode":[],"AstNode0":[]},"IsCalculationSafeVisitor0":{"ExpressionVisitor":["bool"]},"ModifiableCssKeyframeBlock0":{"ModifiableCssParentNode0":[],"ModifiableCssNode0":[],"CssParentNode0":[],"CssNode0":[],"AstNode0":[]},"LabColorSpace0":{"ColorSpace0":[]},"LazyFileSpan0":{"FileSpan":[],"SourceSpanWithContext":[],"SourceSpan":[],"Comparable":["SourceSpan"]},"LchColorSpace0":{"ColorSpace0":[]},"LimitedMapView0":{"MapBase":["1","2"],"Map":["1","2"],"MapBase.K":"1","MapBase.V":"2"},"ListExpression0":{"Expression0":[],"SassNode":[],"AstNode0":[]},"SelectorList0":{"AstNode0":[]},"_ParentSelectorVisitor0":{"SelectorSearchVisitor0":["ParentSelector0"],"SelectorSearchVisitor0.T":"ParentSelector0"},"SassList0":{"Value0":[]},"LmsColorSpace0":{"ColorSpace0":[]},"LoudComment0":{"Statement0":[],"SassNode":[],"AstNode0":[]},"MapExpression0":{"Expression0":[],"SassNode":[],"AstNode0":[]},"SassMap0":{"Value0":[]},"ModifiableCssMediaRule0":{"ModifiableCssParentNode0":[],"ModifiableCssNode0":[],"CssParentNode0":[],"CssNode0":[],"AstNode0":[]},"MediaRule0":{"Statement0":[],"SassNode":[],"AstNode0":[]},"MergedExtension0":{"Extension0":[]},"MergedMapView0":{"MapBase":["1","2"],"Map":["1","2"],"MapBase.K":"1","MapBase.V":"2"},"SassMixin0":{"Value0":[]},"MixinRule0":{"Statement0":[],"SassNode":[],"AstNode0":[]},"_HasContentVisitor0":{"StatementSearchVisitor0":["bool"],"StatementVisitor":["bool?"],"StatementSearchVisitor0.T":"bool"},"MultiSpan0":{"FileSpan":[],"SourceSpanWithContext":[],"SourceSpan":[],"Comparable":["SourceSpan"]},"SupportsNegation0":{"SupportsCondition":[],"SassNode":[],"AstNode0":[]},"NoOpImporter0":{"Importer0":[],"AsyncImporter0":[]},"_FakeAstNode0":{"AstNode0":[]},"CssNode0":{"AstNode0":[]},"CssParentNode0":{"CssNode0":[],"AstNode0":[]},"ModifiableCssNode0":{"CssNode0":[],"AstNode0":[]},"ModifiableCssParentNode0":{"ModifiableCssNode0":[],"CssParentNode0":[],"CssNode0":[],"AstNode0":[]},"NodePackageImporter0":{"Importer0":[],"AsyncImporter0":[]},"NullExpression0":{"Expression0":[],"SassNode":[],"AstNode0":[]},"_SassNull0":{"Value0":[]},"NumberExpression0":{"Expression0":[],"SassNode":[],"AstNode0":[]},"SassNumber0":{"Value0":[]},"OklabColorSpace0":{"ColorSpace0":[]},"OklchColorSpace0":{"ColorSpace0":[]},"SupportsOperation0":{"SupportsCondition":[],"SassNode":[],"AstNode0":[]},"Parameter0":{"SassNode":[],"AstNode0":[]},"ParameterList0":{"SassNode":[],"AstNode0":[]},"ParentSelector0":{"SimpleSelector0":[],"AstNode0":[]},"ParentStatement0":{"Statement0":[],"SassNode":[],"AstNode0":[]},"ParenthesizedExpression0":{"Expression0":[],"SassNode":[],"AstNode0":[]},"PlaceholderSelector0":{"SimpleSelector0":[],"AstNode0":[]},"PlainCssCallable0":{"Callable":[],"AsyncCallable0":[]},"PrefixedMapView0":{"MapBase":["String","1"],"Map":["String","1"],"MapBase.K":"String","MapBase.V":"1"},"_PrefixedKeys0":{"Iterable":["String"],"Iterable.E":"String"},"ProphotoRgbColorSpace0":{"ColorSpace0":[]},"PseudoSelector0":{"SimpleSelector0":[],"AstNode0":[]},"PublicMemberMapView0":{"MapBase":["String","1"],"Map":["String","1"],"MapBase.K":"String","MapBase.V":"1"},"Rec2020ColorSpace0":{"ColorSpace0":[]},"ReturnRule0":{"Statement0":[],"SassNode":[],"AstNode0":[]},"RgbColorSpace0":{"ColorSpace0":[]},"Selector0":{"AstNode0":[]},"SelectorExpression0":{"Expression0":[],"SassNode":[],"AstNode0":[]},"ShadowedModuleView0":{"Module1":["1"]},"SilentComment0":{"Statement0":[],"SassNode":[],"AstNode0":[]},"SimpleSelector0":{"AstNode0":[]},"SingleUnitSassNumber0":{"SassNumber0":[],"Value0":[]},"SourceInterpolationVisitor":{"ExpressionVisitor":["~"]},"SrgbColorSpace0":{"ColorSpace0":[]},"SrgbLinearColorSpace0":{"ColorSpace0":[]},"Statement0":{"SassNode":[],"AstNode0":[]},"JSStatementVisitor":{"StatementVisitor":["Object?"]},"StaticImport0":{"Import0":[],"SassNode":[],"AstNode0":[]},"StringExpression0":{"Expression0":[],"SassNode":[],"AstNode0":[]},"SassString0":{"Value0":[]},"ModifiableCssStyleRule0":{"ModifiableCssParentNode0":[],"CssStyleRule0":[],"ModifiableCssNode0":[],"CssParentNode0":[],"CssNode0":[],"AstNode0":[]},"StyleRule0":{"Statement0":[],"SassNode":[],"AstNode0":[]},"CssStylesheet0":{"CssParentNode0":[],"CssNode0":[],"AstNode0":[]},"ModifiableCssStylesheet0":{"ModifiableCssParentNode0":[],"CssStylesheet0":[],"ModifiableCssNode0":[],"CssParentNode0":[],"CssNode0":[],"AstNode0":[]},"Stylesheet0":{"Statement0":[],"SassNode":[],"AstNode0":[]},"SupportsExpression0":{"Expression0":[],"SassNode":[],"AstNode0":[]},"ModifiableCssSupportsRule0":{"ModifiableCssParentNode0":[],"ModifiableCssNode0":[],"CssParentNode0":[],"CssNode0":[],"AstNode0":[]},"SupportsRule0":{"Statement0":[],"SassNode":[],"AstNode0":[]},"JSToDartImporter":{"Importer0":[],"AsyncImporter0":[]},"TypeSelector0":{"SimpleSelector0":[],"AstNode0":[]},"UnaryOperationExpression0":{"Expression0":[],"SassNode":[],"AstNode0":[]},"UnitlessSassNumber0":{"SassNumber0":[],"Value0":[]},"UniversalSelector0":{"SimpleSelector0":[],"AstNode0":[]},"UnprefixedMapView0":{"MapBase":["String","1"],"Map":["String","1"],"MapBase.K":"String","MapBase.V":"1"},"_UnprefixedKeys0":{"Iterable":["String"],"Iterable.E":"String"},"UseRule0":{"Statement0":[],"SassNode":[],"AstNode0":[]},"UserDefinedCallable0":{"Callable":[],"AsyncCallable0":[]},"CssValue0":{"AstNode0":[]},"ValueExpression0":{"Expression0":[],"SassNode":[],"AstNode0":[]},"VariableExpression0":{"Expression0":[],"SassNode":[],"AstNode0":[]},"VariableDeclaration0":{"Statement0":[],"SassNode":[],"AstNode0":[]},"WarnRule0":{"Statement0":[],"SassNode":[],"AstNode0":[]},"WhileRule0":{"Statement0":[],"SassNode":[],"AstNode0":[]},"XyzD50ColorSpace0":{"ColorSpace0":[]},"XyzD65ColorSpace0":{"ColorSpace0":[]},"Int8List":{"List":["int"],"EfficientLengthIterable":["int"],"Iterable":["int"]},"Uint8List":{"List":["int"],"EfficientLengthIterable":["int"],"Iterable":["int"]},"Uint8ClampedList":{"List":["int"],"EfficientLengthIterable":["int"],"Iterable":["int"]},"Int16List":{"List":["int"],"EfficientLengthIterable":["int"],"Iterable":["int"]},"Uint16List":{"List":["int"],"EfficientLengthIterable":["int"],"Iterable":["int"]},"Int32List":{"List":["int"],"EfficientLengthIterable":["int"],"Iterable":["int"]},"Uint32List":{"List":["int"],"EfficientLengthIterable":["int"],"Iterable":["int"]},"Float32List":{"List":["double"],"EfficientLengthIterable":["double"],"Iterable":["double"]},"Float64List":{"List":["double"],"EfficientLengthIterable":["double"],"Iterable":["double"]},"CssComment":{"CssNode":[],"AstNode":[]},"CssStyleRule":{"CssParentNode":[],"CssNode":[],"AstNode":[]},"Import":{"AstNode":[]},"Callable0":{"AsyncCallable":[]},"Callable":{"AsyncCallable0":[]},"CssComment0":{"CssNode0":[],"AstNode0":[]},"Import0":{"SassNode":[],"AstNode0":[]},"SassNode":{"AstNode0":[]},"CssStyleRule0":{"CssParentNode0":[],"CssNode0":[],"AstNode0":[]},"SupportsCondition":{"SassNode":[],"AstNode0":[]}}'));
  124986. A._Universe_addErasedTypes(init.typeUniverse, JSON.parse('{"WhereIterator":1,"SkipIterator":1,"SkipWhileIterator":1,"EmptyIterator":1,"FollowedByIterator":1,"NonNullsIterator":1,"FixedLengthListMixin":1,"UnmodifiableListMixin":1,"UnmodifiableListBase":1,"__CastListBase__CastIterableBase_ListMixin":2,"ConstantSet":1,"LinkedHashMapKeyIterator":1,"LinkedHashMapValueIterator":1,"NativeTypedArray":1,"EventSink":1,"_SyncStarIterator":1,"_SyncStreamControllerDispatch":1,"_AsyncStreamControllerDispatch":1,"_AddStreamState":1,"_StreamControllerAddStreamState":1,"_DelayedEvent":1,"_DelayedData":1,"_PendingEvents":1,"_StreamIterator":1,"_ZoneFunction":1,"Queue":1,"UnmodifiableMapBase":2,"_UnmodifiableMapMixin":2,"MapView":2,"_UnmodifiableSetMixin":1,"_UnmodifiableMapView_MapView__UnmodifiableMapMixin":2,"_UnmodifiableSetView_SetBase__UnmodifiableSetMixin":1,"_StringSinkConversionSink":1,"Expando":1,"_EventRequest":1,"_EmptyUnmodifiableSet_IterableBase_UnmodifiableSetMixin":1,"DefaultEquality":1,"IterableEquality":1,"ListEquality":1,"_QueueList_Object_ListMixin":1,"_UnionSet_SetBase_UnmodifiableSetMixin":1,"UnmodifiableSetMixin":1,"_UnmodifiableSetView_DelegatingSet_UnmodifiableSetMixin":1,"_DelegatingIterableBase":1,"_MapKeySet__DelegatingIterableBase_UnmodifiableSetMixin":1,"ParentStatement":1,"ParentStatement0":1,"ExpressionVisitor":1}'));
  124987. var string$ = {
  124988. x00_____: "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\u03f6\x00\u0404\u03f4 \u03f4\u03f6\u01f6\u01f6\u03f6\u03fc\u01f4\u03ff\u03ff\u0584\u03ff\u03ff\u03ff\u03ff\u03ff\u03ff\u03ff\u03ff\u03ff\u03ff\u05d4\u01f4\x00\u01f4\x00\u0504\u05c4\u03ff\u03ff\u03ff\u03ff\u03ff\u03ff\u03ff\u03ff\u03ff\u03ff\u03ff\u03ff\u03ff\u03ff\u03ff\u03ff\u03ff\u03ff\u03ff\u03ff\u03ff\u03ff\u03ff\u03ff\u03ff\u03ff\u0400\x00\u0400\u0200\u03f7\u0200\u03ff\u03ff\u03ff\u03ff\u03ff\u03ff\u03ff\u03ff\u03ff\u03ff\u03ff\u03ff\u03ff\u03ff\u03ff\u03ff\u03ff\u03ff\u03ff\u03ff\u03ff\u03ff\u03ff\u03ff\u03ff\u03ff\u0200\u0200\u0200\u03f7\x00",
  124989. x0a_BUG_: "\n\nBUG: This should include a source span!",
  124990. x0a_Morex20: "\n\nMore info and automated migrator: https://sass-lang.com/d/slash-div",
  124991. x0a_Morex3ac: "\n\nMore info: https://sass-lang.com/d/color-functions",
  124992. x0a_Morex3af: "\n\nMore info: https://sass-lang.com/d/function-units",
  124993. x0a_See_: "\n\nSee https://sass-lang.com/d/function-units",
  124994. x0a_This: "\n\nThis is only an error because you've set the ",
  124995. x0a_To_p: "\n\nTo preserve current behavior: math.random(math.div($limit, 1",
  124996. x0a_but_: "\n\nbut you may have intended it to mean:\n\n ",
  124997. x0aRun_i: "\nRun in verbose mode to see all warnings.",
  124998. x0aThis_: "\nThis will be an error in Dart Sass 2.0.0.\n\nMore info: https://sass-lang.com/d/bogus-combinators",
  124999. x0aYou_m: "\nYou may not @extend the same selector from within different media queries.",
  125000. x20It_wi: " It will be omitted from the generated CSS.",
  125001. 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",
  125002. x20can_n: " can not have both conditions and paths at the same level.\nFound ",
  125003. x20deprex20: " deprecation to be fatal.\nRemove this setting if you need to keep using this feature.",
  125004. x20deprex2c: " deprecation, since it has also been made fatal.",
  125005. x20hue__: ' hue" may not be set for rectangular color space ',
  125006. x20in_in: " in interpolation here.\nIt may end up represented as ",
  125007. x20inste: " instead.\n\nMore info and automated migrator: https://sass-lang.com/d/import",
  125008. x20is_as: " is asynchronous.\nThis is probably caused by a bug in a Sass plugin.",
  125009. x20is_av: " is available from multiple global modules.",
  125010. x20is_de: " is deprecated.\n\nTo preserve current behavior: ",
  125011. x20is_noaf: " is not a future deprecation, so it does not need to be explicitly enabled.",
  125012. x20is_noav: " is not a valid selector: it must be a string,\na list of strings, or a list of lists of strings.",
  125013. 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",
  125014. x20must_b: " must be either nearest, up, down or to-zero.",
  125015. x20must_n: " must not be greater than the number of characters in the file, ",
  125016. x20repet: " repetitive deprecation warnings omitted.",
  125017. x20targe: " targetLocations if the interpolation has ",
  125018. x20to_be: " to be in the legacy RGB, HSL, or HWB color space.",
  125019. x20to_be_: " to be in the legacy RGB, HSL, or HWB color space.\n\nRecommendation: color.change(",
  125020. 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",
  125021. x20to_co: " to color.opacity() is deprecated.\n\nRecommendation: ",
  125022. x20was_a: ' was already loaded, so it can\'t be configured using "with".',
  125023. x20was_n: " was not declared with !default in the @used module.",
  125024. x20was_p: " was passed both by position and by name.",
  125025. x21defau: "!default should only be written once for each variable.\nThis will be an error in Dart Sass 2.0.0.",
  125026. x21globai: "!global isn't allowed for variables in other modules.",
  125027. x21globas: "!global should only be written once for each variable.\nThis will be an error in Dart Sass 2.0.0.",
  125028. x22x20can_: "\" can't be used as a parent in a compound selector.",
  125029. 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',
  125030. 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',
  125031. x22x20is_n: '" is not a valid Sass identifier.\n\nRecommendation: add an "as" clause to define an explicit namespace.',
  125032. x22x20is_o: "\" is only valid for nesting and shouldn't\nhave children other than style rules.",
  125033. x22x26__ma: '"&" may only used at the beginning of a compound selector.',
  125034. x22x29__If: "\").\nIf you really want to use the color value here, use '",
  125035. x22x2b__an: '"+" and "-" must be surrounded by whitespace in calculations.',
  125036. x22packa: '"package:" URLs aren\'t supported on this platform.',
  125037. x24color: "$color1, $color2, $weight: 50%, $method: null",
  125038. x24css_a: "$css and $module may not both be passed at once.",
  125039. x24list1: "$list1, $list2, $separator: auto, $bracketed: auto",
  125040. x24selec: "$selectors: At least one selector must be passed.",
  125041. x24separ: '$separator: Must be "space", "comma", "slash", or "auto".',
  125042. x27x20must: "' must be a path relative to the package root at '",
  125043. x27x2c_whi: "', which is not a '.scss', '.sass', or '.css' file.",
  125044. x28__cal: "() calculation. This doesn't allow unitless numbers to be mixed with numbers with units. If you want to use the Sass function, call math.",
  125045. x28__ins: "() instead.\n\nSee https://sass-lang.com/d/import",
  125046. x28__is_d: '() is deprecated. Suggestion:\n\ncolor.channel($color, "',
  125047. x28__is_oa: "() is only supported for legacy colors. Please use color.adjust() instead with an explicit $space argument.",
  125048. x28__is_oc: "() is only supported for legacy colors. Please use color.channel() instead with an explicit $space argument.",
  125049. x28__isn: "() isn't in the sass:color module.\n\nRecommendation: color.adjust(",
  125050. x29x0a_Mor_: ")\n\nMore info: https://sass-lang.com/d/color-functions",
  125051. x29x0a_Moro: ")\n\nMore info: https://sass-lang.com/documentation/functions/color#",
  125052. x29x20in_a: ") in a future release.\n\nRecommendation: math.random(math.div($limit, 1",
  125053. x29x20is_d: ") is deprecated.\n\nTo preserve current behavior: ",
  125054. x29x20to_clg: ") to color.grayscale() is deprecated.\n\nRecommendation: ",
  125055. x29x20to_cli: ") to color.invert() is deprecated.\n\nRecommendation: ",
  125056. x29x20to_cm: ") to compileString() or related functions is deprecated and will be an error in Dart Sass 2.0.0.",
  125057. x29x29__Mo: "))\n\nMore info: https://sass-lang.com/d/function-units",
  125058. x2c_whicu: ", which uses a scheme declared as non-canonical.",
  125059. x2c_whicw: ', which will likely produce invalid CSS.\nAlways quote color names when using them as strings or map keys (for example, "',
  125060. x2e_Rela: ".\nRelative canonical URLs are deprecated and will eventually be disallowed.",
  125061. x3d_____: "===== asynchronous gap ===========================\n",
  125062. 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.",
  125063. x40conte: "@content is only allowed within mixin declarations.",
  125064. x40elsei: "@elseif is deprecated and will not be supported in future Sass versions.\n\nRecommendation: @else if",
  125065. x40exten: "@extend may only be used within style rules.",
  125066. x40forwa: "@forward rules must be written before any other rules.",
  125067. x40funct: "@function if($condition, $if-true, $if-false) {",
  125068. x40use_r: "@use rules must be written before any other rules.",
  125069. A_list: "A list with more than one element must have an explicit separator.",
  125070. A_pkg_h: "A pkg: URL must not have a host, port, username or password.",
  125071. A_pkg_q: "A pkg: URL must not have a query or fragment.",
  125072. ABCDEF: "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",
  125073. An_impa: "An importer may not have a findFileUrl method as well as canonicalize and load methods.",
  125074. An_impu: "An importer must have either canonicalize and load methods, or a findFileUrl method.",
  125075. As_of_R: "As of Dart Sass 2.0.0, !global assignments won't be able to declare new variables.\n\nRecommendation: add `",
  125076. 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.",
  125077. At_rul: "At-rules may not be used within nested declarations.",
  125078. Becaus: "Because the CSS working group is still deciding on the best behavior, Sass doesn't currently support modifying missing channels (color: ",
  125079. Cannotff: "Cannot extract a file path from a URI with a fragment component",
  125080. Cannotfq: "Cannot extract a file path from a URI with a query component",
  125081. Cannotn: "Cannot extract a non-Windows file path from a file URI with an authority",
  125082. Comple: "ComplexSassNumber.hasPossiblyCompatibleUnits is not implemented.",
  125083. Could_: 'Could not find an option with short name "-',
  125084. CssNod: "CssNodes must have a CssStylesheet transitive parent node.",
  125085. Custom: "Custom importers are required to load stylesheets when compiling in the browser.",
  125086. Declarm: "Declarations may only be used within style rules.",
  125087. Declarw: 'Declarations whose names begin with "--" may not be nested.',
  125088. Either: "Either options.data or options.file must be set.",
  125089. Entrie: "Entries may not be removed from MergedMapView.",
  125090. 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",
  125091. Evalua: "Evaluation handles @include and its content block together.",
  125092. Expecta: "Expected a color interpolation method, got an empty list.",
  125093. Expectu: 'Expected unquoted string "hue" at the end of ',
  125094. Expectv: "Expected variable, mixin, or function name",
  125095. Functi: "Functions may not be declared in control directives.",
  125096. Global: "Global built-in functions are deprecated and will be removed in Dart Sass 3.0.0.\nUse ",
  125097. Globalcad: "Global built-in functions are deprecated and will be removed in Dart Sass 3.0.0.\nUse color.adjust instead.\n\nMore info and automated migrator: https://sass-lang.com/d/import",
  125098. Globalcal: "Global built-in functions are deprecated and will be removed in Dart Sass 3.0.0.\nUse color.alpha instead.\n\nMore info and automated migrator: https://sass-lang.com/d/import",
  125099. Globalcg: "Global built-in functions are deprecated and will be removed in Dart Sass 3.0.0.\nUse color.grayscale instead.\n\nMore info and automated migrator: https://sass-lang.com/d/import",
  125100. Globalci: "Global built-in functions are deprecated and will be removed in Dart Sass 3.0.0.\nUse color.invert instead.\n\nMore info and automated migrator: https://sass-lang.com/d/import",
  125101. Globalco: "Global built-in functions are deprecated and will be removed in Dart Sass 3.0.0.\nUse color.opacity instead.\n\nMore info and automated migrator: https://sass-lang.com/d/import",
  125102. Globalm: "Global built-in functions are deprecated and will be removed in Dart Sass 3.0.0.\nUse math.abs instead.\n\nMore info and automated migrator: https://sass-lang.com/d/import",
  125103. Hue_in: "Hue interpolation method may not be set for rectangular color space ",
  125104. If_con: "If conditions is longer than one element, conjunction may not be null.",
  125105. If_par: "If parsedAsCustomProperty is true, value must contain a SassString (was `",
  125106. If_str: "If strategy is not null, step is required.",
  125107. In_Sas: 'In Sass, "&&" means two copies of the parent selector. You probably want to use "and" instead.',
  125108. In_fut: "In future versions of Sass, round() will be interpreted as a CSS round() calculation. This requires an explicit modulus when rounding numbers with units. If you want to use the Sass function, call math.round() instead.\n\nSee https://sass-lang.com/d/import",
  125109. Indent: "Indenting at the beginning of the document is illegal.",
  125110. Interpn: "Interpolation isn't allowed in namespaces.",
  125111. Interpp: "Interpolation isn't allowed in plain CSS.",
  125112. Invali: 'Invalid return value for custom function "',
  125113. It_s_n: "It's not clear which file to import. Found:\n",
  125114. Keywor: "Keyword arguments can't be used with calculations.",
  125115. May_no: "May not have a value for string elements (at index ",
  125116. Media_: "Media rules may not be used within nested declarations.",
  125117. Mixinsb: "Mixins may not be declared in control directives.",
  125118. Mixinscf: "Mixins may not contain function declarations.",
  125119. Mixinscm: "Mixins may not contain mixin declarations.",
  125120. Modulel: "Module loop: this module is already being loaded.",
  125121. Modulen: "Module namespaces aren't allowed in plain CSS.",
  125122. Must_n: "Must not have a value for expression elements (at index ",
  125123. Nested: "Nested declarations aren't allowed in plain CSS.",
  125124. New_en: "New entries may not be added to MergedMapView.",
  125125. No_Sasc: "No Sass callable is currently being evaluated.",
  125126. No_Sass: "No Sass stylesheet is currently being evaluated.",
  125127. NoSour: "NoSourceMapBuffer.buildSourceMap() is not supported.",
  125128. Number: "Number to round and step arguments are required.",
  125129. Only_2: "Only 2 slash-separated elements allowed, but ",
  125130. Only_oa: "Only one argument may be passed to the plain-CSS invert() function.",
  125131. Only_op: "Only one positional argument is allowed. All other arguments must be passed by name.",
  125132. Other_: "Other modules' members can't be defined with !global.",
  125133. Parent: "Parent selectors can't have suffixes in plain CSS.",
  125134. Passin_: "Passing `alpha: null` without setting `space` is deprecated.\nMore info: https://sass-lang.com/d/null-alpha",
  125135. Passina: "Passing a string to call() is deprecated and will be illegal in Dart Sass 2.0.0.\n\nRecommendation: call(get-function(",
  125136. Passinp: "Passing percentage units to the global abs() function is deprecated.\nIn the future, this will emit a CSS abs() function to be resolved by the browser.\nTo preserve current behavior: math.abs(",
  125137. Placeh: "Placeholder selectors aren't allowed in plain CSS.",
  125138. Plain_: "Plain CSS functions don't support keyword arguments.",
  125139. Positi: "Positional arguments must come before keyword arguments.",
  125140. Privat: "Private members can't be accessed from outside their modules.",
  125141. Rest_a: "Rest arguments can't be used with calculations.",
  125142. Sassx20_f_: "Sass @function names beginning with -- are deprecated for forward-compatibility with plain CSS functions.\n\nFor details, see https://sass-lang.com/d/css-function-mixin",
  125143. Sassx20_fs: 'Sass @functions named "type" are deprecated for forward-compatibility with the plain CSS type() function.\n\nFor details, see https://sass-lang.com/d/type-function',
  125144. Sassx20_i: "Sass @import rules are deprecated and will be removed in Dart Sass 3.0.0.\n\nMore info and automated migrator: https://sass-lang.com/d/import",
  125145. Sassx20_m: "Sass @mixin names beginning with -- are deprecated for forward-compatibility with plain CSS mixins.\n\nFor details, see https://sass-lang.com/d/css-function-mixin",
  125146. Sassx20v: "Sass variables aren't allowed in plain CSS.",
  125147. Sassx27s: "Sass's behavior for declarations that appear after nested\nrules will be changing to match the behavior specified by CSS in an upcoming\nversion. To keep the existing behavior, move the declaration above the nested\nrule. To opt into the new behavior, wrap the declaration in `& {}`.\n\nMore info: https://sass-lang.com/d/mixed-decls",
  125148. Silent: "Silent comments aren't allowed in plain CSS.",
  125149. Style_k: "Style rules may not be used within keyframe blocks.",
  125150. Style_n: "Style rules may not be used within nested declarations.",
  125151. Suppor: "Supports rules may not be used within nested declarations.",
  125152. The_Ex: "The ExtensionStore and CssStylesheet passed to cloneCssStylesheet() must come from the same compilation.",
  125153. The_No: "The Node package importer cannot be used without a filesystem.",
  125154. The_ca: "The canonicalize() method must return a URL.",
  125155. The_co: "The color() function doesn't support the color space ",
  125156. The_fe: "The feature-exists() function is deprecated.\n\nMore info: https://sass-lang.com/d/feature-exists",
  125157. The_fie: "The findFileUrl() method must return a URL.",
  125158. The_fiu: 'The findFileUrl() must return a URL with scheme file://, was "',
  125159. The_gi: "The given LineScannerState was not returned by this LineScanner.",
  125160. The_le: "The legacy JS API is deprecated and will be removed in Dart Sass 2.0.0.\n\nMore info: https://sass-lang.com/d/legacy-js-api",
  125161. The_lo: "The load() function must return an object with contents and syntax fields.",
  125162. The_pa: "The parent selector isn't allowed in plain CSS.",
  125163. The_sa: "The same variable may only be configured once.",
  125164. The_ta: 'The target selector was not found.\nUse "@extend ',
  125165. There_: "There's already a module with namespace \"",
  125166. This_d: 'This declaration has no parameter named "$',
  125167. This_e: "This expression can't be used in a calculation.",
  125168. This_f: "This function isn't allowed in plain CSS.",
  125169. This_ma: 'This module and the new module both define a variable named "$',
  125170. This_mw: 'This module was already loaded, so it can\'t be configured using "with".',
  125171. This_o: "This operation can't be used in a calculation.",
  125172. This_s: "This selector doesn't have any properties and won't be rendered.",
  125173. This_v: "This variable was not declared with !default in the @used module.",
  125174. To_usei: "To use color.invert() with non-legacy color ",
  125175. To_usem: "To use color.mix() with non-legacy color ",
  125176. Top_lel: "Top-level leading combinators aren't allowed in plain CSS.",
  125177. Top_les: 'Top-level selectors may not contain the parent selector "&".',
  125178. Unable: "Unable to determine which of multiple potential resolutions found for ",
  125179. Unexpe: "Unexpected Zone.current[#_canonicalizeContext] value ",
  125180. User_a: "User-authored deprecations should not be silenced.",
  125181. Using__i: "Using / for division is deprecated and will be removed in Dart Sass 2.0.0.\n\nRecommendation: ",
  125182. Using__o: "Using / for division outside of calc() is deprecated and will be removed in Dart Sass 2.0.0.\n\nRecommendation: ",
  125183. Using_c: "Using color.alpha() for a Microsoft filter is deprecated.\n\nRecommendation: ",
  125184. Using_t: "Using the current working directory as an implicit load path is deprecated. Either add it as an explicit load path or importer, or load this stylesheet from a different URL.",
  125185. Variab_: "Variable keyword argument map must have string keys.\n",
  125186. Variabs: "Variable keyword arguments must be a map (was ",
  125187. You_ma: "You may not @extend selectors across media queries.",
  125188. You_pr: "You probably don't mean to use the color value ",
  125189. x60_inst: "` instead.\nSee https://sass-lang.com/d/extend-compound for details.\n",
  125190. addExt: "addExtensions() can't be called for a const ExtensionStore.",
  125191. adjustd: "adjust-hue() is deprecated. Suggestion:\n\ncolor.adjust($color, $hue: ",
  125192. adjusto: "adjust-hue() is only supported for legacy colors. Please use color.adjust() instead with an explicit $space argument.",
  125193. alpha_: "alpha() is only supported for legacy colors. Please use color.channel() instead.",
  125194. canoni: "canonicalizeContext may only be accessed within a call to canonicalize().",
  125195. color_a: "color.alpha() is only supported for legacy colors. Please use color.channel() instead.",
  125196. color_c: "color.changeHsl() is only supported for legacy colors. Please use color.changeChannels() instead with an explicit $space argument.",
  125197. color_t: "color.to-gamut() requires a $method argument for forwards-compatibility with changes in the CSS spec. Suggestion:\n\n$method: local-minde",
  125198. compou: "compound selectors may no longer be extended.\nConsider `@extend ",
  125199. conten: "content-exists() may only be called within a mixin.",
  125200. darken: "darken() is only supported for legacy colors. Please use color.adjust() instead with an explicit $space argument.",
  125201. desatu: "desaturate() is only supported for legacy colors. Please use color.adjust() instead with an explicit $space argument.",
  125202. fileEx: "fileExists() is only supported on Node.js",
  125203. leadin: "leadingCombinators and components may not both be empty.",
  125204. lighte: "lighten() is only supported for legacy colors. Please use color.adjust() instead with an explicit $space argument.",
  125205. linkEx: "linkExists() is only supported on Node.js",
  125206. math_d: "math.div() will only support number arguments in a future release.\nUse list.slash() instead for a slash separator.",
  125207. math_r: "math.random() will no longer ignore $limit units (",
  125208. multip: "multiple statements on one line are not supported in the indented syntax.",
  125209. must_b: "must be a UniversalSelector or a TypeSelector",
  125210. parsed: 'parsedAsCustomProperty must be false if name doesn\'t begin with "--".',
  125211. satura: "saturate() is only supported for legacy colors. Please use color.adjust() instead with an explicit $space argument.",
  125212. throug: "through() must return false for at least one parent of ",
  125213. x7d__Mor: "})\nMore info: https://sass-lang.com/d/abs-percent"
  125214. };
  125215. var type$ = (function rtii() {
  125216. var findType = A.findType;
  125217. return {
  125218. $env_1_1_String: findType("@<String>"),
  125219. ArgParser: findType("ArgParser"),
  125220. AstNode: findType("AstNode"),
  125221. AstNode_2: findType("AstNode0"),
  125222. AsyncBuiltInCallable: findType("AsyncBuiltInCallable"),
  125223. AsyncBuiltInCallable_2: findType("AsyncBuiltInCallable0"),
  125224. AsyncCallable: findType("AsyncCallable"),
  125225. AsyncCallable_2: findType("AsyncCallable0"),
  125226. AsyncCompiler: findType("AsyncCompiler"),
  125227. AsyncImporter: findType("AsyncImporter0"),
  125228. Box_SelectorList: findType("Box<SelectorList>"),
  125229. Box_SelectorList_2: findType("Box0<SelectorList0>"),
  125230. BuiltInCallable: findType("BuiltInCallable"),
  125231. BuiltInCallable_2: findType("BuiltInCallable0"),
  125232. BuiltInModule_AsyncCallable: findType("BuiltInModule<AsyncCallable>"),
  125233. BuiltInModule_AsyncCallable_2: findType("BuiltInModule0<AsyncCallable0>"),
  125234. BuiltInModule_Callable: findType("BuiltInModule<Callable0>"),
  125235. BuiltInModule_Callable_2: findType("BuiltInModule0<Callable>"),
  125236. ByteBuffer: findType("ByteBuffer"),
  125237. ByteData: findType("ByteData"),
  125238. Callable: findType("Callable0"),
  125239. Callable_2: findType("Callable"),
  125240. ChangeType: findType("ChangeType"),
  125241. CodeUnits: findType("CodeUnits"),
  125242. Combinator: findType("Combinator"),
  125243. Combinator_2: findType("Combinator0"),
  125244. Comparable_dynamic: findType("Comparable<@>"),
  125245. Comparable_nullable_Object: findType("Comparable<Object?>"),
  125246. CompileResult: findType("CompileResult"),
  125247. CompileResult_2: findType("CompileResult0"),
  125248. ComplexSelector: findType("ComplexSelector"),
  125249. ComplexSelectorComponent: findType("ComplexSelectorComponent"),
  125250. ComplexSelectorComponent_2: findType("ComplexSelectorComponent0"),
  125251. ComplexSelector_2: findType("ComplexSelector0"),
  125252. Configuration: findType("Configuration"),
  125253. Configuration_2: findType("Configuration0"),
  125254. ConfiguredValue: findType("ConfiguredValue"),
  125255. ConfiguredValue_2: findType("ConfiguredValue0"),
  125256. ConfiguredVariable: findType("ConfiguredVariable"),
  125257. ConfiguredVariable_2: findType("ConfiguredVariable0"),
  125258. ConstantMapView_Symbol_dynamic: findType("ConstantMapView<Symbol0,@>"),
  125259. ConstantStringMap_String_double: findType("ConstantStringMap<String,double>"),
  125260. ConstantStringSet_String: findType("ConstantStringSet<String>"),
  125261. CssComment: findType("CssComment"),
  125262. CssComment_2: findType("CssComment0"),
  125263. CssMediaQuery: findType("CssMediaQuery"),
  125264. CssMediaQuery_2: findType("CssMediaQuery0"),
  125265. CssParentNode: findType("CssParentNode"),
  125266. CssParentNode_2: findType("CssParentNode0"),
  125267. CssStyleRule: findType("CssStyleRule"),
  125268. CssStyleRule_2: findType("CssStyleRule0"),
  125269. CssStylesheet: findType("CssStylesheet"),
  125270. CssStylesheet_2: findType("CssStylesheet0"),
  125271. CssValue_Combinator: findType("CssValue<Combinator>"),
  125272. CssValue_Combinator_2: findType("CssValue0<Combinator0>"),
  125273. CssValue_List_String: findType("CssValue<List<String>>"),
  125274. CssValue_List_String_2: findType("CssValue0<List<String>>"),
  125275. CssValue_String: findType("CssValue<String>"),
  125276. CssValue_String_2: findType("CssValue0<String>"),
  125277. CssValue_Value: findType("CssValue<Value>"),
  125278. CssValue_Value_2: findType("CssValue0<Value0>"),
  125279. DateTime: findType("DateTime"),
  125280. Deprecation: findType("Deprecation"),
  125281. Deprecation_2: findType("Deprecation1"),
  125282. Deprecation_3: findType("Deprecation0"),
  125283. EfficientLengthIterable_dynamic: findType("EfficientLengthIterable<@>"),
  125284. Error: findType("Error"),
  125285. EvaluationContext: findType("EvaluationContext"),
  125286. EvaluationContext_2: findType("EvaluationContext0"),
  125287. Exception: findType("Exception"),
  125288. Expression: findType("Expression"),
  125289. Expression_2: findType("Expression0"),
  125290. Extender: findType("Extender"),
  125291. Extender_2: findType("Extender0"),
  125292. Extension: findType("Extension"),
  125293. Extension_2: findType("Extension0"),
  125294. FileLocation: findType("FileLocation"),
  125295. FileSpan: findType("FileSpan"),
  125296. Float32List: findType("Float32List"),
  125297. Float64List: findType("Float64List"),
  125298. FormatException: findType("FormatException"),
  125299. Frame: findType("Frame"),
  125300. Function: findType("Function"),
  125301. FutureGroup_void: findType("FutureGroup<~>"),
  125302. FutureOr_Record_2_Set_Uri_loadedUrls_and_CssStylesheet_stylesheet: findType("+loadedUrls,stylesheet(Set<Uri>,CssStylesheet)/"),
  125303. FutureOr_Record_2_Set_Uri_loadedUrls_and_CssStylesheet_stylesheet_2: findType("+loadedUrls,stylesheet(Set<Uri>,CssStylesheet0)/"),
  125304. FutureOr_nullable_Uri: findType("Uri?/"),
  125305. Future_Record_2_Set_Uri_loadedUrls_and_CssStylesheet_stylesheet: findType("Future<+loadedUrls,stylesheet(Set<Uri>,CssStylesheet)>"),
  125306. Future_Record_2_Set_Uri_loadedUrls_and_CssStylesheet_stylesheet_2: findType("Future<+loadedUrls,stylesheet(Set<Uri>,CssStylesheet0)>"),
  125307. Future_Value: findType("Future<Value>"),
  125308. Future_Value_2: findType("Future<Value0>"),
  125309. Future_nullable_CssValue_String: findType("Future<CssValue<String>?>"),
  125310. Future_nullable_CssValue_String_2: findType("Future<CssValue0<String>?>"),
  125311. Future_nullable_ImporterResult: findType("Future<ImporterResult0?>"),
  125312. Future_nullable_Uri: findType("Future<Uri?>"),
  125313. Future_nullable_Value: findType("Future<Value?>"),
  125314. Future_nullable_Value_2: findType("Future<Value0?>"),
  125315. IfClause: findType("IfClause"),
  125316. IfClause_2: findType("IfClause0"),
  125317. ImmutableList: findType("ImmutableList0"),
  125318. ImmutableList_2: findType("ImmutableList"),
  125319. ImmutableMap: findType("ImmutableMap0"),
  125320. Import: findType("Import"),
  125321. Import_2: findType("Import0"),
  125322. Importer: findType("Importer0"),
  125323. ImporterResult: findType("ImporterResult"),
  125324. ImporterResult_2: findType("ImporterResult0"),
  125325. Importer_2: findType("Importer"),
  125326. Int16List: findType("Int16List"),
  125327. Int32List: findType("Int32List"),
  125328. Int8List: findType("Int8List"),
  125329. Interpolation: findType("Interpolation"),
  125330. InterpolationBuffer: findType("InterpolationBuffer"),
  125331. InterpolationBuffer_2: findType("InterpolationBuffer0"),
  125332. InterpolationMap: findType("InterpolationMap"),
  125333. InterpolationMap_2: findType("InterpolationMap0"),
  125334. Interpolation_2: findType("Interpolation0"),
  125335. Iterable_ComplexSelectorComponent: findType("Iterable<ComplexSelectorComponent>"),
  125336. Iterable_ComplexSelectorComponent_2: findType("Iterable<ComplexSelectorComponent0>"),
  125337. Iterable_dynamic: findType("Iterable<@>"),
  125338. JSArray_AstNode: findType("JSArray<AstNode>"),
  125339. JSArray_AstNode_2: findType("JSArray<AstNode0>"),
  125340. JSArray_AsyncBuiltInCallable: findType("JSArray<AsyncBuiltInCallable>"),
  125341. JSArray_AsyncBuiltInCallable_2: findType("JSArray<AsyncBuiltInCallable0>"),
  125342. JSArray_AsyncCallable: findType("JSArray<AsyncCallable>"),
  125343. JSArray_AsyncCallable_2: findType("JSArray<AsyncCallable0>"),
  125344. JSArray_AsyncImporter: findType("JSArray<AsyncImporter0>"),
  125345. JSArray_AsyncImporter_2: findType("JSArray<AsyncImporter>"),
  125346. JSArray_BinaryOperator: findType("JSArray<BinaryOperator>"),
  125347. JSArray_BinaryOperator_2: findType("JSArray<BinaryOperator0>"),
  125348. JSArray_BuiltInCallable: findType("JSArray<BuiltInCallable>"),
  125349. JSArray_BuiltInCallable_2: findType("JSArray<BuiltInCallable0>"),
  125350. JSArray_Callable: findType("JSArray<Callable0>"),
  125351. JSArray_Callable_2: findType("JSArray<Callable>"),
  125352. JSArray_ColorChannel: findType("JSArray<ColorChannel>"),
  125353. JSArray_ColorChannel_2: findType("JSArray<ColorChannel0>"),
  125354. JSArray_ComplexSelector: findType("JSArray<ComplexSelector>"),
  125355. JSArray_ComplexSelectorComponent: findType("JSArray<ComplexSelectorComponent>"),
  125356. JSArray_ComplexSelectorComponent_2: findType("JSArray<ComplexSelectorComponent0>"),
  125357. JSArray_ComplexSelector_2: findType("JSArray<ComplexSelector0>"),
  125358. JSArray_ConfiguredVariable: findType("JSArray<ConfiguredVariable>"),
  125359. JSArray_ConfiguredVariable_2: findType("JSArray<ConfiguredVariable0>"),
  125360. JSArray_CssComment: findType("JSArray<CssComment>"),
  125361. JSArray_CssComment_2: findType("JSArray<CssComment0>"),
  125362. JSArray_CssMediaQuery: findType("JSArray<CssMediaQuery>"),
  125363. JSArray_CssMediaQuery_2: findType("JSArray<CssMediaQuery0>"),
  125364. JSArray_CssNode: findType("JSArray<CssNode>"),
  125365. JSArray_CssNode_2: findType("JSArray<CssNode0>"),
  125366. JSArray_CssStyleRule: findType("JSArray<CssStyleRule>"),
  125367. JSArray_CssStyleRule_2: findType("JSArray<CssStyleRule0>"),
  125368. JSArray_CssValue_Combinator: findType("JSArray<CssValue<Combinator>>"),
  125369. JSArray_CssValue_Combinator_2: findType("JSArray<CssValue0<Combinator0>>"),
  125370. JSArray_Entry: findType("JSArray<Entry>"),
  125371. JSArray_Expression: findType("JSArray<Expression>"),
  125372. JSArray_Expression_2: findType("JSArray<Expression0>"),
  125373. JSArray_Extender: findType("JSArray<Extender>"),
  125374. JSArray_Extender_2: findType("JSArray<Extender0>"),
  125375. JSArray_Extension: findType("JSArray<Extension>"),
  125376. JSArray_ExtensionStore: findType("JSArray<ExtensionStore>"),
  125377. JSArray_ExtensionStore_2: findType("JSArray<ExtensionStore0>"),
  125378. JSArray_Extension_2: findType("JSArray<Extension0>"),
  125379. JSArray_ForwardRule: findType("JSArray<ForwardRule>"),
  125380. JSArray_ForwardRule_2: findType("JSArray<ForwardRule0>"),
  125381. JSArray_Frame: findType("JSArray<Frame>"),
  125382. JSArray_Future_nullable_Record_3_int_and_String_and_nullable_String: findType("JSArray<Future<+(int,String,String?)?>>"),
  125383. JSArray_IfClause: findType("JSArray<IfClause>"),
  125384. JSArray_IfClause_2: findType("JSArray<IfClause0>"),
  125385. JSArray_Import: findType("JSArray<Import>"),
  125386. JSArray_Import_2: findType("JSArray<Import0>"),
  125387. JSArray_Importer: findType("JSArray<Importer>"),
  125388. JSArray_Importer_2: findType("JSArray<Importer0>"),
  125389. JSArray_Iterable_ComplexSelectorComponent: findType("JSArray<Iterable<ComplexSelectorComponent>>"),
  125390. JSArray_Iterable_ComplexSelectorComponent_2: findType("JSArray<Iterable<ComplexSelectorComponent0>>"),
  125391. JSArray_JSFunction: findType("JSArray<JSFunction0>"),
  125392. JSArray_LinearChannel: findType("JSArray<LinearChannel>"),
  125393. JSArray_LinearChannel_2: findType("JSArray<LinearChannel0>"),
  125394. JSArray_List_ComplexSelector: findType("JSArray<List<ComplexSelector>>"),
  125395. JSArray_List_ComplexSelectorComponent: findType("JSArray<List<ComplexSelectorComponent>>"),
  125396. JSArray_List_ComplexSelectorComponent_2: findType("JSArray<List<ComplexSelectorComponent0>>"),
  125397. JSArray_List_ComplexSelector_2: findType("JSArray<List<ComplexSelector0>>"),
  125398. JSArray_List_Extender: findType("JSArray<List<Extender>>"),
  125399. JSArray_List_Extender_2: findType("JSArray<List<Extender0>>"),
  125400. JSArray_List_Iterable_ComplexSelectorComponent: findType("JSArray<List<Iterable<ComplexSelectorComponent>>>"),
  125401. JSArray_List_Iterable_ComplexSelectorComponent_2: findType("JSArray<List<Iterable<ComplexSelectorComponent0>>>"),
  125402. JSArray_Map_String_AstNode: findType("JSArray<Map<String,AstNode>>"),
  125403. JSArray_Map_String_AstNode_2: findType("JSArray<Map<String,AstNode0>>"),
  125404. JSArray_Map_String_AsyncCallable: findType("JSArray<Map<String,AsyncCallable>>"),
  125405. JSArray_Map_String_AsyncCallable_2: findType("JSArray<Map<String,AsyncCallable0>>"),
  125406. JSArray_Map_String_Callable: findType("JSArray<Map<String,Callable0>>"),
  125407. JSArray_Map_String_Callable_2: findType("JSArray<Map<String,Callable>>"),
  125408. JSArray_Map_String_Value: findType("JSArray<Map<String,Value>>"),
  125409. JSArray_Map_String_Value_2: findType("JSArray<Map<String,Value0>>"),
  125410. JSArray_ModifiableCssImport: findType("JSArray<ModifiableCssImport>"),
  125411. JSArray_ModifiableCssImport_2: findType("JSArray<ModifiableCssImport0>"),
  125412. JSArray_ModifiableCssNode: findType("JSArray<ModifiableCssNode>"),
  125413. JSArray_ModifiableCssNode_2: findType("JSArray<ModifiableCssNode0>"),
  125414. JSArray_ModifiableCssParentNode: findType("JSArray<ModifiableCssParentNode>"),
  125415. JSArray_ModifiableCssParentNode_2: findType("JSArray<ModifiableCssParentNode0>"),
  125416. JSArray_Module_AsyncCallable: findType("JSArray<Module0<AsyncCallable>>"),
  125417. JSArray_Module_AsyncCallable_2: findType("JSArray<Module1<AsyncCallable0>>"),
  125418. JSArray_Module_Callable: findType("JSArray<Module0<Callable0>>"),
  125419. JSArray_Module_Callable_2: findType("JSArray<Module1<Callable>>"),
  125420. JSArray_Object: findType("JSArray<Object>"),
  125421. JSArray_Parameter: findType("JSArray<Parameter>"),
  125422. JSArray_Parameter_2: findType("JSArray<Parameter0>"),
  125423. JSArray_PseudoSelector: findType("JSArray<PseudoSelector>"),
  125424. JSArray_PseudoSelector_2: findType("JSArray<PseudoSelector0>"),
  125425. JSArray_Record_2_Expression_and_Expression: findType("JSArray<+(Expression,Expression)>"),
  125426. JSArray_Record_2_Expression_and_Expression_2: findType("JSArray<+(Expression0,Expression0)>"),
  125427. JSArray_Record_2_ParameterList_and_Value_Function_List_Value: findType("JSArray<+(ParameterList,Value(List<Value>))>"),
  125428. JSArray_Record_2_ParameterList_and_Value_Function_List_Value_2: findType("JSArray<+(ParameterList0,Value0(List<Value0>))>"),
  125429. JSArray_Record_2_String_and_AstNode: findType("JSArray<+(String,AstNode)>"),
  125430. JSArray_Record_2_String_and_AstNode_2: findType("JSArray<+(String,AstNode0)>"),
  125431. JSArray_Record_3_nullable_Deprecation_deprecation_and_String_message_and_FileSpan_span: findType("JSArray<+deprecation,message,span(Deprecation?,String,FileSpan)>"),
  125432. JSArray_Record_3_nullable_Deprecation_deprecation_and_String_message_and_FileSpan_span_2: findType("JSArray<+deprecation,message,span(Deprecation0?,String,FileSpan)>"),
  125433. JSArray_SassList: findType("JSArray<SassList>"),
  125434. JSArray_SassList_2: findType("JSArray<SassList0>"),
  125435. JSArray_SimpleSelector: findType("JSArray<SimpleSelector>"),
  125436. JSArray_SimpleSelector_2: findType("JSArray<SimpleSelector0>"),
  125437. JSArray_SourceLocation: findType("JSArray<SourceLocation>"),
  125438. JSArray_Statement: findType("JSArray<Statement>"),
  125439. JSArray_Statement_2: findType("JSArray<Statement0>"),
  125440. JSArray_String: findType("JSArray<String>"),
  125441. JSArray_StylesheetNode: findType("JSArray<StylesheetNode>"),
  125442. JSArray_TargetEntry: findType("JSArray<TargetEntry>"),
  125443. JSArray_TargetLineEntry: findType("JSArray<TargetLineEntry>"),
  125444. JSArray_Trace: findType("JSArray<Trace>"),
  125445. JSArray_UseRule: findType("JSArray<UseRule>"),
  125446. JSArray_UseRule_2: findType("JSArray<UseRule0>"),
  125447. JSArray_Value: findType("JSArray<Value>"),
  125448. JSArray_Value_2: findType("JSArray<Value0>"),
  125449. JSArray_WatchEvent: findType("JSArray<WatchEvent>"),
  125450. JSArray__Highlight: findType("JSArray<_Highlight>"),
  125451. JSArray__Line: findType("JSArray<_Line>"),
  125452. JSArray_double: findType("JSArray<double>"),
  125453. JSArray_dynamic: findType("JSArray<@>"),
  125454. JSArray_int: findType("JSArray<int>"),
  125455. JSArray_nullable_FileSpan: findType("JSArray<FileSpan?>"),
  125456. JSArray_nullable_Record_3_int_and_String_and_nullable_String: findType("JSArray<+(int,String,String?)?>"),
  125457. JSArray_nullable_SassNumber: findType("JSArray<SassNumber?>"),
  125458. JSArray_nullable_SassNumber_2: findType("JSArray<SassNumber0?>"),
  125459. JSArray_nullable_String: findType("JSArray<String?>"),
  125460. JSClass: findType("JSClass0"),
  125461. JSFunction: findType("JSFunction0"),
  125462. JSImporter: findType("JSImporter"),
  125463. JSImporterResult: findType("JSImporterResult"),
  125464. JSNull: findType("JSNull"),
  125465. JSObject: findType("JSObject"),
  125466. JSUrl: findType("JSUrl0"),
  125467. JavaScriptFunction: findType("JavaScriptFunction"),
  125468. JavaScriptIndexingBehavior_dynamic: findType("JavaScriptIndexingBehavior<@>"),
  125469. JsIdentityLinkedHashMap_SimpleSelector_int: findType("JsIdentityLinkedHashMap<SimpleSelector,int>"),
  125470. JsIdentityLinkedHashMap_SimpleSelector_int_2: findType("JsIdentityLinkedHashMap<SimpleSelector0,int>"),
  125471. JsIdentityLinkedHashMap_of_SelectorList_and_Box_SelectorList: findType("JsIdentityLinkedHashMap<SelectorList,Box<SelectorList>>"),
  125472. JsIdentityLinkedHashMap_of_SelectorList_and_Box_SelectorList_2: findType("JsIdentityLinkedHashMap<SelectorList0,Box0<SelectorList0>>"),
  125473. JsLinkedHashMap_Symbol_dynamic: findType("JsLinkedHashMap<Symbol0,@>"),
  125474. JsSystemError: findType("JsSystemError"),
  125475. LimitedMapView_String_ConfiguredValue: findType("LimitedMapView<String,ConfiguredValue>"),
  125476. LimitedMapView_String_ConfiguredValue_2: findType("LimitedMapView0<String,ConfiguredValue0>"),
  125477. LinearChannel: findType("LinearChannel"),
  125478. LinearChannel_2: findType("LinearChannel0"),
  125479. List_ComplexSelectorComponent: findType("List<ComplexSelectorComponent>"),
  125480. List_ComplexSelectorComponent_2: findType("List<ComplexSelectorComponent0>"),
  125481. List_CssComment: findType("List<CssComment>"),
  125482. List_CssComment_2: findType("List<CssComment0>"),
  125483. List_CssMediaQuery: findType("List<CssMediaQuery>"),
  125484. List_CssMediaQuery_2: findType("List<CssMediaQuery0>"),
  125485. List_CssValue_Combinator: findType("List<CssValue<Combinator>>"),
  125486. List_CssValue_Combinator_2: findType("List<CssValue0<Combinator0>>"),
  125487. List_Extension: findType("List<Extension>"),
  125488. List_ExtensionStore: findType("List<ExtensionStore>"),
  125489. List_ExtensionStore_2: findType("List<ExtensionStore0>"),
  125490. List_Extension_2: findType("List<Extension0>"),
  125491. List_JSObject: findType("List<JSObject>"),
  125492. List_List_ComplexSelectorComponent: findType("List<List<ComplexSelectorComponent>>"),
  125493. List_List_ComplexSelectorComponent_2: findType("List<List<ComplexSelectorComponent0>>"),
  125494. List_Module_AsyncCallable: findType("List<Module0<AsyncCallable>>"),
  125495. List_Module_AsyncCallable_2: findType("List<Module1<AsyncCallable0>>"),
  125496. List_Module_Callable: findType("List<Module0<Callable0>>"),
  125497. List_Module_Callable_2: findType("List<Module1<Callable>>"),
  125498. List_String: findType("List<String>"),
  125499. List_WatchEvent: findType("List<WatchEvent>"),
  125500. List_dynamic: findType("List<@>"),
  125501. List_int: findType("List<int>"),
  125502. MapKeySet_Module_AsyncCallable: findType("MapKeySet<Module0<AsyncCallable>>"),
  125503. MapKeySet_Module_AsyncCallable_2: findType("MapKeySet<Module1<AsyncCallable0>>"),
  125504. MapKeySet_Module_Callable: findType("MapKeySet<Module0<Callable0>>"),
  125505. MapKeySet_Module_Callable_2: findType("MapKeySet<Module1<Callable>>"),
  125506. MapKeySet_SimpleSelector: findType("MapKeySet<SimpleSelector>"),
  125507. MapKeySet_SimpleSelector_2: findType("MapKeySet<SimpleSelector0>"),
  125508. MapKeySet_String: findType("MapKeySet<String>"),
  125509. MapKeySet_nullable_Object: findType("MapKeySet<Object?>"),
  125510. Map_ComplexSelector_Extension: findType("Map<ComplexSelector,Extension>"),
  125511. Map_ComplexSelector_Extension_2: findType("Map<ComplexSelector0,Extension0>"),
  125512. Map_String_AstNode: findType("Map<String,AstNode>"),
  125513. Map_String_AstNode_2: findType("Map<String,AstNode0>"),
  125514. Map_String_AsyncCallable: findType("Map<String,AsyncCallable>"),
  125515. Map_String_AsyncCallable_2: findType("Map<String,AsyncCallable0>"),
  125516. Map_String_Callable: findType("Map<String,Callable0>"),
  125517. Map_String_Callable_2: findType("Map<String,Callable>"),
  125518. Map_String_Value: findType("Map<String,Value>"),
  125519. Map_String_Value_2: findType("Map<String,Value0>"),
  125520. Map_String_dynamic: findType("Map<String,@>"),
  125521. Map_dynamic_dynamic: findType("Map<@,@>"),
  125522. MappedIterable_String_Frame: findType("MappedIterable<String,Frame>"),
  125523. MappedListIterable_Frame_Frame: findType("MappedListIterable<Frame,Frame>"),
  125524. MappedListIterable_String_Object: findType("MappedListIterable<String,Object>"),
  125525. MappedListIterable_String_String: findType("MappedListIterable<String,String>"),
  125526. MappedListIterable_String_Trace: findType("MappedListIterable<String,Trace>"),
  125527. MappedListIterable_String_Value: findType("MappedListIterable<String,Value>"),
  125528. MappedListIterable_String_Value_2: findType("MappedListIterable<String,Value0>"),
  125529. MappedListIterable_String_dynamic: findType("MappedListIterable<String,@>"),
  125530. MixinRule: findType("MixinRule"),
  125531. MixinRule_2: findType("MixinRule0"),
  125532. ModifiableBox_SelectorList: findType("ModifiableBox<SelectorList>"),
  125533. ModifiableBox_SelectorList_2: findType("ModifiableBox0<SelectorList0>"),
  125534. ModifiableCssAtRule: findType("ModifiableCssAtRule"),
  125535. ModifiableCssAtRule_2: findType("ModifiableCssAtRule0"),
  125536. ModifiableCssKeyframeBlock: findType("ModifiableCssKeyframeBlock"),
  125537. ModifiableCssKeyframeBlock_2: findType("ModifiableCssKeyframeBlock0"),
  125538. ModifiableCssMediaRule: findType("ModifiableCssMediaRule"),
  125539. ModifiableCssMediaRule_2: findType("ModifiableCssMediaRule0"),
  125540. ModifiableCssNode: findType("ModifiableCssNode"),
  125541. ModifiableCssNode_2: findType("ModifiableCssNode0"),
  125542. ModifiableCssParentNode: findType("ModifiableCssParentNode"),
  125543. ModifiableCssParentNode_2: findType("ModifiableCssParentNode0"),
  125544. ModifiableCssStyleRule: findType("ModifiableCssStyleRule"),
  125545. ModifiableCssStyleRule_2: findType("ModifiableCssStyleRule0"),
  125546. ModifiableCssSupportsRule: findType("ModifiableCssSupportsRule"),
  125547. ModifiableCssSupportsRule_2: findType("ModifiableCssSupportsRule0"),
  125548. Module_AsyncCallable: findType("Module0<AsyncCallable>"),
  125549. Module_AsyncCallable_2: findType("Module1<AsyncCallable0>"),
  125550. Module_Callable: findType("Module0<Callable0>"),
  125551. Module_Callable_2: findType("Module1<Callable>"),
  125552. MultiSourceSpanFormatException: findType("MultiSourceSpanFormatException"),
  125553. NativeTypedArrayOfDouble: findType("NativeTypedArrayOfDouble"),
  125554. NativeTypedArrayOfInt: findType("NativeTypedArrayOfInt"),
  125555. NativeUint8List: findType("NativeUint8List"),
  125556. Never: findType("0&"),
  125557. NodeCompileResult: findType("NodeCompileResult"),
  125558. NodeImporterResult: findType("NodeImporterResult0"),
  125559. NonNullsIterable_Future_void: findType("NonNullsIterable<Future<~>>"),
  125560. NonNullsIterable_Object: findType("NonNullsIterable<Object>"),
  125561. NonNullsIterable_Record_3_AsyncImporter_and_Uri_and_Uri_originalUrl: findType("NonNullsIterable<+originalUrl(AsyncImporter,Uri,Uri)>"),
  125562. NonNullsIterable_Record_3_AsyncImporter_and_Uri_and_Uri_originalUrl_2: findType("NonNullsIterable<+originalUrl(AsyncImporter0,Uri,Uri)>"),
  125563. NonNullsIterable_Record_3_Importer_and_Uri_and_Uri_originalUrl: findType("NonNullsIterable<+originalUrl(Importer,Uri,Uri)>"),
  125564. NonNullsIterable_Record_3_Importer_and_Uri_and_Uri_originalUrl_2: findType("NonNullsIterable<+originalUrl(Importer0,Uri,Uri)>"),
  125565. NonNullsIterable_SelectorList: findType("NonNullsIterable<SelectorList>"),
  125566. NonNullsIterable_SelectorList_2: findType("NonNullsIterable<SelectorList0>"),
  125567. NonNullsIterable_String: findType("NonNullsIterable<String>"),
  125568. Null: findType("Null"),
  125569. NumberExpression: findType("NumberExpression"),
  125570. NumberExpression_2: findType("NumberExpression0"),
  125571. Object: findType("Object"),
  125572. Option: findType("Option"),
  125573. Parameter: findType("Parameter"),
  125574. ParameterList: findType("ParameterList"),
  125575. ParameterList_2: findType("ParameterList0"),
  125576. Parameter_2: findType("Parameter0"),
  125577. PathMap_ChangeType: findType("PathMap<ChangeType>"),
  125578. PathMap_Stream_WatchEvent: findType("PathMap<Stream<WatchEvent>>"),
  125579. PathMap_String: findType("PathMap<String>"),
  125580. PathMap_nullable_String: findType("PathMap<String?>"),
  125581. Promise: findType("Promise"),
  125582. PseudoSelector: findType("PseudoSelector"),
  125583. PseudoSelector_2: findType("PseudoSelector0"),
  125584. RangeError: findType("RangeError"),
  125585. Record: findType("Record"),
  125586. Record_0: findType("+()"),
  125587. Record_1_nullable_Object: findType("+(Object?)"),
  125588. Record_2_Expression_and_Expression: findType("+(Expression,Expression)"),
  125589. Record_2_Expression_and_Expression_2: findType("+(Expression0,Expression0)"),
  125590. Record_2_List_Expression_and_Map_String_Expression: findType("+(List<Expression>,Map<String,Expression>)"),
  125591. Record_2_List_Expression_and_Map_String_Expression_2: findType("+(List<Expression0>,Map<String,Expression0>)"),
  125592. Record_2_Set_Uri_loadedUrls_and_CssStylesheet_stylesheet: findType("+loadedUrls,stylesheet(Set<Uri>,CssStylesheet)"),
  125593. Record_2_Set_Uri_loadedUrls_and_CssStylesheet_stylesheet_2: findType("+loadedUrls,stylesheet(Set<Uri>,CssStylesheet0)"),
  125594. Record_2_String_and_InterpolationMap: findType("+(String,InterpolationMap)"),
  125595. Record_2_String_and_InterpolationMap_2: findType("+(String,InterpolationMap0)"),
  125596. Record_2_String_and_SourceSpan: findType("+(String,SourceSpan)"),
  125597. Record_2_String_and_nullable_InterpolationMap: findType("+(String,InterpolationMap?)"),
  125598. Record_2_String_and_nullable_InterpolationMap_2: findType("+(String,InterpolationMap0?)"),
  125599. Record_2_Uri_and_bool_forImport: findType("+forImport(Uri,bool)"),
  125600. Record_2_nullable_Object_and_nullable_Object: findType("+(Object?,Object?)"),
  125601. Record_2_nullable_Record_3_AsyncImporter_and_Uri_and_Uri_originalUrl_and_bool: findType("+(+originalUrl(AsyncImporter,Uri,Uri)?,bool)"),
  125602. Record_2_nullable_Record_3_AsyncImporter_and_Uri_and_Uri_originalUrl_and_bool_2: findType("+(+originalUrl(AsyncImporter0,Uri,Uri)?,bool)"),
  125603. Record_2_nullable_String_and_nullable_String: findType("+(String?,String?)"),
  125604. Record_3_AsyncImporter_and_Uri_and_Uri_originalUrl: findType("+originalUrl(AsyncImporter,Uri,Uri)"),
  125605. Record_3_AsyncImporter_and_Uri_and_Uri_originalUrl_2: findType("+originalUrl(AsyncImporter0,Uri,Uri)"),
  125606. Record_3_AsyncImporter_and_Uri_and_bool_forImport: findType("+forImport(AsyncImporter,Uri,bool)"),
  125607. Record_3_AsyncImporter_and_Uri_and_bool_forImport_2: findType("+forImport(AsyncImporter0,Uri,bool)"),
  125608. Record_3_Importer_and_Uri_and_Uri_originalUrl: findType("+originalUrl(Importer,Uri,Uri)"),
  125609. Record_3_Importer_and_Uri_and_Uri_originalUrl_2: findType("+originalUrl(Importer0,Uri,Uri)"),
  125610. Record_3_Importer_and_Uri_and_bool_forImport: findType("+forImport(Importer,Uri,bool)"),
  125611. Record_3_Importer_and_Uri_and_bool_forImport_2: findType("+forImport(Importer0,Uri,bool)"),
  125612. Record_3_Stylesheet_and_nullable_AsyncImporter_importer_and_bool_isDependency: findType("+importer,isDependency(Stylesheet,AsyncImporter?,bool)"),
  125613. Record_3_Stylesheet_and_nullable_AsyncImporter_importer_and_bool_isDependency_2: findType("+importer,isDependency(Stylesheet0,AsyncImporter0?,bool)"),
  125614. Record_3_nullable_Object_and_nullable_Object_and_nullable_Object_originalUrl: findType("+originalUrl(Object?,Object?,Object?)"),
  125615. Record_5_Map_String_Value_named_and_Map_String_AstNode_namedNodes_and_List_Value_positional_and_List_AstNode_positionalNodes_and_ListSeparator_separator: findType("+named,namedNodes,positional,positionalNodes,separator(Map<String,Value>,Map<String,AstNode>,List<Value>,List<AstNode>,ListSeparator)"),
  125616. Record_5_Map_String_Value_named_and_Map_String_AstNode_namedNodes_and_List_Value_positional_and_List_AstNode_positionalNodes_and_ListSeparator_separator_2: findType("+named,namedNodes,positional,positionalNodes,separator(Map<String,Value0>,Map<String,AstNode0>,List<Value0>,List<AstNode0>,ListSeparator0)"),
  125617. RegExpMatch: findType("RegExpMatch"),
  125618. RenderContextOptions: findType("RenderContextOptions0"),
  125619. RenderResult: findType("RenderResult"),
  125620. Result_String: findType("Result<String>"),
  125621. ReversedListIterable_Frame: findType("ReversedListIterable<Frame>"),
  125622. Runes: findType("Runes"),
  125623. SassArgumentList: findType("SassArgumentList"),
  125624. SassArgumentList_2: findType("SassArgumentList0"),
  125625. SassBoolean: findType("SassBoolean"),
  125626. SassBoolean_2: findType("SassBoolean0"),
  125627. SassColor: findType("SassColor"),
  125628. SassColor_2: findType("SassColor0"),
  125629. SassFormatException: findType("SassFormatException"),
  125630. SassFormatException_2: findType("SassFormatException0"),
  125631. SassList: findType("SassList"),
  125632. SassList_2: findType("SassList0"),
  125633. SassMap: findType("SassMap"),
  125634. SassMap_2: findType("SassMap0"),
  125635. SassNumber: findType("SassNumber"),
  125636. SassNumber_2: findType("SassNumber0"),
  125637. SassRuntimeException: findType("SassRuntimeException"),
  125638. SassRuntimeException_2: findType("SassRuntimeException0"),
  125639. SassString: findType("SassString"),
  125640. SassString_2: findType("SassString0"),
  125641. SelectorList: findType("SelectorList"),
  125642. SelectorList_2: findType("SelectorList0"),
  125643. Set_ModifiableBox_SelectorList: findType("Set<ModifiableBox<SelectorList>>"),
  125644. Set_ModifiableBox_SelectorList_2: findType("Set<ModifiableBox0<SelectorList0>>"),
  125645. Set_Uri: findType("Set<Uri>"),
  125646. SimpleSelector: findType("SimpleSelector"),
  125647. SimpleSelector_2: findType("SimpleSelector0"),
  125648. SourceFile: findType("SourceFile"),
  125649. SourceLocation: findType("SourceLocation"),
  125650. SourceSpan: findType("SourceSpan"),
  125651. SourceSpanFormatException: findType("SourceSpanFormatException"),
  125652. SourceSpanWithContext: findType("SourceSpanWithContext"),
  125653. StackTrace: findType("StackTrace"),
  125654. Statement: findType("Statement"),
  125655. Statement_2: findType("Statement0"),
  125656. StaticImport: findType("StaticImport"),
  125657. StaticImport_2: findType("StaticImport0"),
  125658. StreamCompleter_WatchEvent: findType("StreamCompleter<WatchEvent>"),
  125659. StreamGroup_WatchEvent: findType("StreamGroup<WatchEvent>"),
  125660. StreamQueue_String: findType("StreamQueue<String>"),
  125661. Stream_WatchEvent: findType("Stream<WatchEvent>"),
  125662. String: findType("String"),
  125663. StringExpression: findType("StringExpression"),
  125664. StringExpression_2: findType("StringExpression0"),
  125665. StylesheetNode: findType("StylesheetNode"),
  125666. Timer: findType("Timer"),
  125667. Trace: findType("Trace"),
  125668. TrustedGetRuntimeType: findType("TrustedGetRuntimeType"),
  125669. TypeError: findType("TypeError"),
  125670. TypeSelector: findType("TypeSelector"),
  125671. TypeSelector_2: findType("TypeSelector0"),
  125672. Uint16List: findType("Uint16List"),
  125673. Uint32List: findType("Uint32List"),
  125674. Uint8ClampedList: findType("Uint8ClampedList"),
  125675. Uint8List: findType("Uint8List"),
  125676. UnionSet_Uri: findType("UnionSet<Uri>"),
  125677. UnknownJavaScriptObject: findType("UnknownJavaScriptObject"),
  125678. UnmodifiableListView_CssComment: findType("UnmodifiableListView<CssComment>"),
  125679. UnmodifiableListView_CssComment_2: findType("UnmodifiableListView<CssComment0>"),
  125680. UnmodifiableListView_CssNode: findType("UnmodifiableListView<CssNode>"),
  125681. UnmodifiableListView_CssNode_2: findType("UnmodifiableListView<CssNode0>"),
  125682. UnmodifiableListView_ForwardRule: findType("UnmodifiableListView<ForwardRule>"),
  125683. UnmodifiableListView_ForwardRule_2: findType("UnmodifiableListView<ForwardRule0>"),
  125684. UnmodifiableListView_ModifiableCssNode: findType("UnmodifiableListView<ModifiableCssNode>"),
  125685. UnmodifiableListView_ModifiableCssNode_2: findType("UnmodifiableListView<ModifiableCssNode0>"),
  125686. UnmodifiableListView_Record_3_nullable_Deprecation_deprecation_and_String_message_and_FileSpan_span: findType("UnmodifiableListView<+deprecation,message,span(Deprecation?,String,FileSpan)>"),
  125687. UnmodifiableListView_Record_3_nullable_Deprecation_deprecation_and_String_message_and_FileSpan_span_2: findType("UnmodifiableListView<+deprecation,message,span(Deprecation0?,String,FileSpan)>"),
  125688. UnmodifiableListView_String: findType("UnmodifiableListView<String>"),
  125689. UnmodifiableListView_UseRule: findType("UnmodifiableListView<UseRule>"),
  125690. UnmodifiableListView_UseRule_2: findType("UnmodifiableListView<UseRule0>"),
  125691. UnmodifiableMapView_String_ArgParser: findType("UnmodifiableMapView<String,ArgParser>"),
  125692. UnmodifiableMapView_String_ConfiguredValue: findType("UnmodifiableMapView<String,ConfiguredValue>"),
  125693. UnmodifiableMapView_String_ConfiguredValue_2: findType("UnmodifiableMapView<String,ConfiguredValue0>"),
  125694. UnmodifiableMapView_String_Option: findType("UnmodifiableMapView<String,Option>"),
  125695. UnmodifiableMapView_String_Value: findType("UnmodifiableMapView<String,Value>"),
  125696. UnmodifiableMapView_String_Value_2: findType("UnmodifiableMapView<String,Value0>"),
  125697. UnmodifiableMapView_of_Uri_and_nullable_StylesheetNode: findType("UnmodifiableMapView<Uri,StylesheetNode?>"),
  125698. UnmodifiableMapView_of_nullable_String_and_String: findType("UnmodifiableMapView<String?,String>"),
  125699. UnmodifiableMapView_of_nullable_String_and_nullable_String: findType("UnmodifiableMapView<String?,String?>"),
  125700. UnmodifiableSetView_String: findType("UnmodifiableSetView0<String>"),
  125701. UnmodifiableSetView_StylesheetNode: findType("UnmodifiableSetView0<StylesheetNode>"),
  125702. UnmodifiableSetView_Uri: findType("UnmodifiableSetView0<Uri>"),
  125703. UnprefixedMapView_ConfiguredValue: findType("UnprefixedMapView<ConfiguredValue>"),
  125704. UnprefixedMapView_ConfiguredValue_2: findType("UnprefixedMapView0<ConfiguredValue0>"),
  125705. Uri: findType("Uri"),
  125706. UseRule: findType("UseRule"),
  125707. UserDefinedCallable_AsyncEnvironment: findType("UserDefinedCallable<AsyncEnvironment>"),
  125708. UserDefinedCallable_AsyncEnvironment_2: findType("UserDefinedCallable0<AsyncEnvironment0>"),
  125709. UserDefinedCallable_Environment: findType("UserDefinedCallable<Environment>"),
  125710. UserDefinedCallable_Environment_2: findType("UserDefinedCallable0<Environment0>"),
  125711. Value: findType("Value"),
  125712. Value_2: findType("Value0"),
  125713. Value_Function_List_Value: findType("Value(List<Value>)"),
  125714. Value_Function_List_Value_2: findType("Value0(List<Value0>)"),
  125715. VariableDeclaration: findType("VariableDeclaration"),
  125716. VersionRange: findType("VersionRange"),
  125717. WatchEvent: findType("WatchEvent"),
  125718. WhereIterable_List_Iterable_ComplexSelectorComponent: findType("WhereIterable<List<Iterable<ComplexSelectorComponent>>>"),
  125719. WhereIterable_List_Iterable_ComplexSelectorComponent_2: findType("WhereIterable<List<Iterable<ComplexSelectorComponent0>>>"),
  125720. WhereIterable_String: findType("WhereIterable<String>"),
  125721. WhereTypeIterable_PseudoSelector: findType("WhereTypeIterable<PseudoSelector>"),
  125722. WhereTypeIterable_PseudoSelector_2: findType("WhereTypeIterable<PseudoSelector0>"),
  125723. WhereTypeIterable_String: findType("WhereTypeIterable<String>"),
  125724. _AsyncCompleter_List_void: findType("_AsyncCompleter<List<~>>"),
  125725. _AsyncCompleter_Object: findType("_AsyncCompleter<Object>"),
  125726. _AsyncCompleter_Stream_WatchEvent: findType("_AsyncCompleter<Stream<WatchEvent>>"),
  125727. _AsyncCompleter_String: findType("_AsyncCompleter<String>"),
  125728. _AsyncCompleter_nullable_Object: findType("_AsyncCompleter<Object?>"),
  125729. _CompleterStream_WatchEvent: findType("_CompleterStream<WatchEvent>"),
  125730. _EventRequest_dynamic: findType("_EventRequest<@>"),
  125731. _Future_List_void: findType("_Future<List<~>>"),
  125732. _Future_Object: findType("_Future<Object>"),
  125733. _Future_Stream_WatchEvent: findType("_Future<Stream<WatchEvent>>"),
  125734. _Future_String: findType("_Future<String>"),
  125735. _Future_Value: findType("_Future<Value>"),
  125736. _Future_Value_2: findType("_Future<Value0>"),
  125737. _Future_bool: findType("_Future<bool>"),
  125738. _Future_dynamic: findType("_Future<@>"),
  125739. _Future_int: findType("_Future<int>"),
  125740. _Future_nullable_Object: findType("_Future<Object?>"),
  125741. _Future_void: findType("_Future<~>"),
  125742. _Highlight: findType("_Highlight"),
  125743. _IdentityHashMap_of_nullable_Object_and_nullable_Object: findType("_IdentityHashMap<Object?,Object?>"),
  125744. _LinkedIdentityHashSet_ComplexSelector: findType("_LinkedIdentityHashSet<ComplexSelector>"),
  125745. _LinkedIdentityHashSet_ComplexSelector_2: findType("_LinkedIdentityHashSet<ComplexSelector0>"),
  125746. _LinkedIdentityHashSet_Extension: findType("_LinkedIdentityHashSet<Extension>"),
  125747. _LinkedIdentityHashSet_Extension_2: findType("_LinkedIdentityHashSet<Extension0>"),
  125748. _MapEntry: findType("_MapEntry"),
  125749. _NodeException: findType("_NodeException"),
  125750. _PlatformUri: findType("_PlatformUri"),
  125751. _SyncStarIterable_Deprecation: findType("_SyncStarIterable<Deprecation0>"),
  125752. _SyncStarIterable_Extension: findType("_SyncStarIterable<Extension>"),
  125753. _SyncStarIterable_Extension_2: findType("_SyncStarIterable<Extension0>"),
  125754. _SyncStarIterable_SimpleSelector: findType("_SyncStarIterable<SimpleSelector>"),
  125755. _SyncStarIterable_SimpleSelector_2: findType("_SyncStarIterable<SimpleSelector0>"),
  125756. _SyncStarIterable_String: findType("_SyncStarIterable<String>"),
  125757. bool: findType("bool"),
  125758. double: findType("double"),
  125759. dynamic: findType("@"),
  125760. dynamic_Function: findType("@()"),
  125761. dynamic_Function_Object: findType("@(Object)"),
  125762. dynamic_Function_Object_StackTrace: findType("@(Object,StackTrace)"),
  125763. int: findType("int"),
  125764. nullable_AstNode: findType("AstNode?"),
  125765. nullable_AstNode_2: findType("AstNode0?"),
  125766. nullable_CanonicalizeContext: findType("CanonicalizeContext?"),
  125767. nullable_CanonicalizeContext_2: findType("CanonicalizeContext0?"),
  125768. nullable_CssValue_String: findType("CssValue<String>?"),
  125769. nullable_CssValue_String_2: findType("CssValue0<String>?"),
  125770. nullable_FileSpan: findType("FileSpan?"),
  125771. nullable_Future_Null: findType("Future<Null>?"),
  125772. nullable_Future_void: findType("Future<~>?"),
  125773. nullable_ImporterResult: findType("ImporterResult?"),
  125774. nullable_ImporterResult_2: findType("ImporterResult0?"),
  125775. nullable_Object: findType("Object?"),
  125776. nullable_Record_2_String_and_String: findType("+(String,String)?"),
  125777. nullable_Record_3_AsyncImporter_and_Uri_and_Uri_originalUrl: findType("+originalUrl(AsyncImporter,Uri,Uri)?"),
  125778. nullable_Record_3_AsyncImporter_and_Uri_and_Uri_originalUrl_2: findType("+originalUrl(AsyncImporter0,Uri,Uri)?"),
  125779. nullable_Record_3_Importer_and_Uri_and_Uri_originalUrl: findType("+originalUrl(Importer,Uri,Uri)?"),
  125780. nullable_Record_3_Importer_and_Uri_and_Uri_originalUrl_2: findType("+originalUrl(Importer0,Uri,Uri)?"),
  125781. nullable_Record_3_Stylesheet_and_nullable_AsyncImporter_importer_and_bool_isDependency: findType("+importer,isDependency(Stylesheet0,AsyncImporter0?,bool)?"),
  125782. nullable_Record_3_int_and_String_and_nullable_String: findType("+(int,String,String?)?"),
  125783. nullable_SourceFile: findType("SourceFile?"),
  125784. nullable_StreamSubscription_WatchEvent: findType("StreamSubscription<WatchEvent>?"),
  125785. nullable_String: findType("String?"),
  125786. nullable_Stylesheet: findType("Stylesheet?"),
  125787. nullable_StylesheetNode: findType("StylesheetNode?"),
  125788. nullable_Stylesheet_2: findType("Stylesheet0?"),
  125789. nullable_Uri: findType("Uri?"),
  125790. nullable_Value: findType("Value?"),
  125791. nullable_Value_2: findType("Value0?"),
  125792. nullable__ConstructorOptions: findType("_ConstructorOptions?"),
  125793. nullable__ConstructorOptions_2: findType("_ConstructorOptions0?"),
  125794. nullable__ConstructorOptions_3: findType("_ConstructorOptions1?"),
  125795. nullable__Highlight: findType("_Highlight?"),
  125796. nullable_bool: findType("bool?"),
  125797. nullable_double: findType("double?"),
  125798. nullable_int: findType("int?"),
  125799. nullable_num: findType("num?"),
  125800. num: findType("num"),
  125801. void: findType("~"),
  125802. void_Function_Object: findType("~(Object)"),
  125803. void_Function_Object_StackTrace: findType("~(Object,StackTrace)")
  125804. };
  125805. })();
  125806. (function constants() {
  125807. var makeConstList = hunkHelpers.makeConstList;
  125808. B.Interceptor_methods = J.Interceptor.prototype;
  125809. B.JSArray_methods = J.JSArray.prototype;
  125810. B.JSBool_methods = J.JSBool.prototype;
  125811. B.JSInt_methods = J.JSInt.prototype;
  125812. B.JSNull_methods = J.JSNull.prototype;
  125813. B.JSNumber_methods = J.JSNumber.prototype;
  125814. B.JSString_methods = J.JSString.prototype;
  125815. B.JavaScriptFunction_methods = J.JavaScriptFunction.prototype;
  125816. B.JavaScriptObject_methods = J.JavaScriptObject.prototype;
  125817. B.NativeUint32List_methods = A.NativeUint32List.prototype;
  125818. B.NativeUint8List_methods = A.NativeUint8List.prototype;
  125819. B.PlainJavaScriptObject_methods = J.PlainJavaScriptObject.prototype;
  125820. B.UnknownJavaScriptObject_methods = J.UnknownJavaScriptObject.prototype;
  125821. B.LinearChannel_Y0V = new A.LinearChannel(0, 1, false, false, false, "red", false, null);
  125822. B.LinearChannel_cPl = new A.LinearChannel(0, 1, false, false, false, "green", false, null);
  125823. B.LinearChannel_ABN = new A.LinearChannel(0, 1, false, false, false, "blue", false, null);
  125824. B.List_U47 = A._setArrayType(makeConstList([B.LinearChannel_Y0V, B.LinearChannel_cPl, B.LinearChannel_ABN]), type$.JSArray_LinearChannel);
  125825. B.A98RgbColorSpace_lf2 = new A.A98RgbColorSpace("a98-rgb", B.List_U47);
  125826. B.LinearChannel_Y0V0 = new A.LinearChannel0(0, 1, false, false, false, "red", false, null);
  125827. B.LinearChannel_cPl0 = new A.LinearChannel0(0, 1, false, false, false, "green", false, null);
  125828. B.LinearChannel_ABN0 = new A.LinearChannel0(0, 1, false, false, false, "blue", false, null);
  125829. B.List_U470 = A._setArrayType(makeConstList([B.LinearChannel_Y0V0, B.LinearChannel_cPl0, B.LinearChannel_ABN0]), type$.JSArray_LinearChannel_2);
  125830. B.A98RgbColorSpace_lf20 = new A.A98RgbColorSpace0("a98-rgb", B.List_U470);
  125831. B.AsciiEncoder_127 = new A.AsciiEncoder(127);
  125832. B.C_EmptyUnmodifiableSet1 = new A.EmptyUnmodifiableSet(A.findType("EmptyUnmodifiableSet<String>"));
  125833. B.AtRootQuery_bfj = new A.AtRootQuery(false, B.C_EmptyUnmodifiableSet1, false, true);
  125834. B.AtRootQuery_bfj0 = new A.AtRootQuery0(false, B.C_EmptyUnmodifiableSet1, false, true);
  125835. B.AttributeOperator_GWq = new A.AttributeOperator("*=", "substring");
  125836. B.AttributeOperator_GWq0 = new A.AttributeOperator0("*=", "substring");
  125837. B.AttributeOperator_JzP = new A.AttributeOperator("^=", "prefix");
  125838. B.AttributeOperator_JzP0 = new A.AttributeOperator0("^=", "prefix");
  125839. B.AttributeOperator_Lvy = new A.AttributeOperator("=", "equal");
  125840. B.AttributeOperator_Lvy0 = new A.AttributeOperator0("=", "equal");
  125841. B.AttributeOperator_U1W = new A.AttributeOperator("$=", "suffix");
  125842. B.AttributeOperator_U1W0 = new A.AttributeOperator0("$=", "suffix");
  125843. B.AttributeOperator_fp2 = new A.AttributeOperator("~=", "include");
  125844. B.AttributeOperator_fp20 = new A.AttributeOperator0("~=", "include");
  125845. B.AttributeOperator_iyP = new A.AttributeOperator("|=", "dash");
  125846. B.AttributeOperator_iyP0 = new A.AttributeOperator0("|=", "dash");
  125847. B.BinaryOperator_FPG = new A.BinaryOperator("less than or equals", "<=", 4, false, "lessThanOrEquals");
  125848. B.BinaryOperator_FPG0 = new A.BinaryOperator0("less than or equals", "<=", 4, false, "lessThanOrEquals");
  125849. B.BinaryOperator_JiR = new A.BinaryOperator("greater than or equals", ">=", 4, false, "greaterThanOrEquals");
  125850. B.BinaryOperator_JiR0 = new A.BinaryOperator0("greater than or equals", ">=", 4, false, "greaterThanOrEquals");
  125851. B.BinaryOperator_Kyq = new A.BinaryOperator("single equals", "=", 0, false, "singleEquals");
  125852. B.BinaryOperator_Kyq0 = new A.BinaryOperator0("single equals", "=", 0, false, "singleEquals");
  125853. B.BinaryOperator_Mh5 = new A.BinaryOperator("divided by", "/", 6, false, "dividedBy");
  125854. B.BinaryOperator_Mh50 = new A.BinaryOperator0("divided by", "/", 6, false, "dividedBy");
  125855. B.BinaryOperator_QG1 = new A.BinaryOperator("minus", "-", 5, false, "minus");
  125856. B.BinaryOperator_QG10 = new A.BinaryOperator0("minus", "-", 5, false, "minus");
  125857. B.BinaryOperator_Swh = new A.BinaryOperator("plus", "+", 5, true, "plus");
  125858. B.BinaryOperator_Swh0 = new A.BinaryOperator0("plus", "+", 5, true, "plus");
  125859. B.BinaryOperator_o8O = new A.BinaryOperator("greater than", ">", 4, false, "greaterThan");
  125860. B.BinaryOperator_o8O0 = new A.BinaryOperator0("greater than", ">", 4, false, "greaterThan");
  125861. B.BinaryOperator_qGq = new A.BinaryOperator("not equals", "!=", 3, false, "notEquals");
  125862. B.BinaryOperator_qGq0 = new A.BinaryOperator0("not equals", "!=", 3, false, "notEquals");
  125863. B.BinaryOperator_qHy = new A.BinaryOperator("less than", "<", 4, false, "lessThan");
  125864. B.BinaryOperator_qHy0 = new A.BinaryOperator0("less than", "<", 4, false, "lessThan");
  125865. B.BinaryOperator_r84 = new A.BinaryOperator("equals", "==", 3, false, "equals");
  125866. B.BinaryOperator_r840 = new A.BinaryOperator0("equals", "==", 3, false, "equals");
  125867. B.BinaryOperator_s7T = new A.BinaryOperator("modulo", "%", 6, false, "modulo");
  125868. B.BinaryOperator_s7T0 = new A.BinaryOperator0("modulo", "%", 6, false, "modulo");
  125869. B.BinaryOperator_tKu = new A.BinaryOperator("or", "or", 1, true, "or");
  125870. B.BinaryOperator_tKu0 = new A.BinaryOperator0("or", "or", 1, true, "or");
  125871. B.BinaryOperator_tht = new A.BinaryOperator("times", "*", 6, true, "times");
  125872. B.BinaryOperator_tht0 = new A.BinaryOperator0("times", "*", 6, true, "times");
  125873. B.BinaryOperator_uke = new A.BinaryOperator("and", "and", 2, true, "and");
  125874. B.BinaryOperator_uke0 = new A.BinaryOperator0("and", "and", 2, true, "and");
  125875. B.CONSTANT = new A.Instantiation1(A.math0__max$closure(), A.findType("Instantiation1<int>"));
  125876. B.C_AsciiCodec = new A.AsciiCodec();
  125877. B.C_AsciiGlyphSet = new A.AsciiGlyphSet();
  125878. B.C_Base64Encoder = new A.Base64Encoder();
  125879. B.C_Base64Codec = new A.Base64Codec();
  125880. B.C_DefaultEquality = new A.DefaultEquality();
  125881. B.C_EmptyExtensionStore = new A.EmptyExtensionStore();
  125882. B.C_EmptyExtensionStore0 = new A.EmptyExtensionStore0();
  125883. B.C_EmptyIterator = new A.EmptyIterator();
  125884. B.C_EmptyUnmodifiableSet = new A.EmptyUnmodifiableSet(A.findType("EmptyUnmodifiableSet<SimpleSelector>"));
  125885. B.C_EmptyUnmodifiableSet0 = new A.EmptyUnmodifiableSet(A.findType("EmptyUnmodifiableSet<SimpleSelector0>"));
  125886. B.C_IsCalculationSafeVisitor = new A.IsCalculationSafeVisitor();
  125887. B.C_IsCalculationSafeVisitor0 = new A.IsCalculationSafeVisitor0();
  125888. B.C_IterableEquality = new A.IterableEquality();
  125889. B.C_JS_CONST = function getTagFallback(o) {
  125890. var s = Object.prototype.toString.call(o);
  125891. return s.substring(8, s.length - 1);
  125892. };
  125893. B.C_JS_CONST0 = function() {
  125894. var toStringFunction = Object.prototype.toString;
  125895. function getTag(o) {
  125896. var s = toStringFunction.call(o);
  125897. return s.substring(8, s.length - 1);
  125898. }
  125899. function getUnknownTag(object, tag) {
  125900. if (/^HTML[A-Z].*Element$/.test(tag)) {
  125901. var name = toStringFunction.call(object);
  125902. if (name == "[object Object]") return null;
  125903. return "HTMLElement";
  125904. }
  125905. }
  125906. function getUnknownTagGenericBrowser(object, tag) {
  125907. if (object instanceof HTMLElement) return "HTMLElement";
  125908. return getUnknownTag(object, tag);
  125909. }
  125910. function prototypeForTag(tag) {
  125911. if (typeof window == "undefined") return null;
  125912. if (typeof window[tag] == "undefined") return null;
  125913. var constructor = window[tag];
  125914. if (typeof constructor != "function") return null;
  125915. return constructor.prototype;
  125916. }
  125917. function discriminator(tag) { return null; }
  125918. var isBrowser = typeof HTMLElement == "function";
  125919. return {
  125920. getTag: getTag,
  125921. getUnknownTag: isBrowser ? getUnknownTagGenericBrowser : getUnknownTag,
  125922. prototypeForTag: prototypeForTag,
  125923. discriminator: discriminator };
  125924. };
  125925. B.C_JS_CONST6 = function(getTagFallback) {
  125926. return function(hooks) {
  125927. if (typeof navigator != "object") return hooks;
  125928. var userAgent = navigator.userAgent;
  125929. if (typeof userAgent != "string") return hooks;
  125930. if (userAgent.indexOf("DumpRenderTree") >= 0) return hooks;
  125931. if (userAgent.indexOf("Chrome") >= 0) {
  125932. function confirm(p) {
  125933. return typeof window == "object" && window[p] && window[p].name == p;
  125934. }
  125935. if (confirm("Window") && confirm("HTMLElement")) return hooks;
  125936. }
  125937. hooks.getTag = getTagFallback;
  125938. };
  125939. };
  125940. B.C_JS_CONST1 = function(hooks) {
  125941. if (typeof dartExperimentalFixupGetTag != "function") return hooks;
  125942. hooks.getTag = dartExperimentalFixupGetTag(hooks.getTag);
  125943. };
  125944. B.C_JS_CONST5 = function(hooks) {
  125945. if (typeof navigator != "object") return hooks;
  125946. var userAgent = navigator.userAgent;
  125947. if (typeof userAgent != "string") return hooks;
  125948. if (userAgent.indexOf("Firefox") == -1) return hooks;
  125949. var getTag = hooks.getTag;
  125950. var quickMap = {
  125951. "BeforeUnloadEvent": "Event",
  125952. "DataTransfer": "Clipboard",
  125953. "GeoGeolocation": "Geolocation",
  125954. "Location": "!Location",
  125955. "WorkerMessageEvent": "MessageEvent",
  125956. "XMLDocument": "!Document"};
  125957. function getTagFirefox(o) {
  125958. var tag = getTag(o);
  125959. return quickMap[tag] || tag;
  125960. }
  125961. hooks.getTag = getTagFirefox;
  125962. };
  125963. B.C_JS_CONST4 = function(hooks) {
  125964. if (typeof navigator != "object") return hooks;
  125965. var userAgent = navigator.userAgent;
  125966. if (typeof userAgent != "string") return hooks;
  125967. if (userAgent.indexOf("Trident/") == -1) return hooks;
  125968. var getTag = hooks.getTag;
  125969. var quickMap = {
  125970. "BeforeUnloadEvent": "Event",
  125971. "DataTransfer": "Clipboard",
  125972. "HTMLDDElement": "HTMLElement",
  125973. "HTMLDTElement": "HTMLElement",
  125974. "HTMLPhraseElement": "HTMLElement",
  125975. "Position": "Geoposition"
  125976. };
  125977. function getTagIE(o) {
  125978. var tag = getTag(o);
  125979. var newTag = quickMap[tag];
  125980. if (newTag) return newTag;
  125981. if (tag == "Object") {
  125982. if (window.DataView && (o instanceof window.DataView)) return "DataView";
  125983. }
  125984. return tag;
  125985. }
  125986. function prototypeForTagIE(tag) {
  125987. var constructor = window[tag];
  125988. if (constructor == null) return null;
  125989. return constructor.prototype;
  125990. }
  125991. hooks.getTag = getTagIE;
  125992. hooks.prototypeForTag = prototypeForTagIE;
  125993. };
  125994. B.C_JS_CONST2 = function(hooks) {
  125995. var getTag = hooks.getTag;
  125996. var prototypeForTag = hooks.prototypeForTag;
  125997. function getTagFixed(o) {
  125998. var tag = getTag(o);
  125999. if (tag == "Document") {
  126000. if (!!o.xmlVersion) return "!Document";
  126001. return "!HTMLDocument";
  126002. }
  126003. return tag;
  126004. }
  126005. function prototypeForTagFixed(tag) {
  126006. if (tag == "Document") return null;
  126007. return prototypeForTag(tag);
  126008. }
  126009. hooks.getTag = getTagFixed;
  126010. hooks.prototypeForTag = prototypeForTagFixed;
  126011. };
  126012. B.C_JS_CONST3 = function(hooks) { return hooks; }
  126013. ;
  126014. B.C_JsonCodec = new A.JsonCodec();
  126015. B.C_ListEquality0 = new A.ListEquality();
  126016. B.C_ListEquality = new A.ListEquality();
  126017. B.C_MapEquality = new A.MapEquality(A.findType("MapEquality<Object,Object>"));
  126018. B.C_OutOfMemoryError = new A.OutOfMemoryError();
  126019. B.C_SentinelValue = new A.SentinelValue();
  126020. B.C_UnicodeGlyphSet = new A.UnicodeGlyphSet();
  126021. B.C_Utf8Codec = new A.Utf8Codec();
  126022. B.C_Utf8Encoder = new A.Utf8Encoder();
  126023. B.C__ColorFormatEnum = new A._ColorFormatEnum();
  126024. B.C__ColorFormatEnum0 = new A._ColorFormatEnum0();
  126025. B.C__ContainsParentSelectorVisitor = new A._ContainsParentSelectorVisitor();
  126026. B.C__ContainsParentSelectorVisitor0 = new A._ContainsParentSelectorVisitor0();
  126027. B.C__DelayedDone = new A._DelayedDone();
  126028. B.C__HasContentVisitor = new A._HasContentVisitor();
  126029. B.C__HasContentVisitor0 = new A._HasContentVisitor0();
  126030. B.C__IsUselessVisitor = new A._IsUselessVisitor();
  126031. B.C__IsUselessVisitor0 = new A._IsUselessVisitor0();
  126032. B.C__JSRandom = new A._JSRandom();
  126033. B.C__MakeExpressionCalculationSafe = new A._MakeExpressionCalculationSafe();
  126034. B.C__MakeExpressionCalculationSafe0 = new A._MakeExpressionCalculationSafe0();
  126035. B.C__ParentSelectorVisitor = new A._ParentSelectorVisitor();
  126036. B.C__ParentSelectorVisitor0 = new A._ParentSelectorVisitor0();
  126037. B.C__Required = new A._Required();
  126038. B.C__RootZone = new A._RootZone();
  126039. B.C__SassNull = new A._SassNull();
  126040. B.C__SassNull0 = new A._SassNull0();
  126041. B.CalculationOperator_F7i = new A.CalculationOperator("plus", "+", 1, "plus");
  126042. B.CalculationOperator_F7i0 = new A.CalculationOperator0("plus", "+", 1, "plus");
  126043. B.CalculationOperator_bo5 = new A.CalculationOperator("divided by", "/", 2, "dividedBy");
  126044. B.CalculationOperator_bo50 = new A.CalculationOperator0("divided by", "/", 2, "dividedBy");
  126045. B.CalculationOperator_kkN = new A.CalculationOperator("times", "*", 2, "times");
  126046. B.CalculationOperator_kkN0 = new A.CalculationOperator0("times", "*", 2, "times");
  126047. B.CalculationOperator_oum = new A.CalculationOperator("minus", "-", 1, "minus");
  126048. B.CalculationOperator_oum0 = new A.CalculationOperator0("minus", "-", 1, "minus");
  126049. B.ChangeType_add = new A.ChangeType("add");
  126050. B.ChangeType_modify = new A.ChangeType("modify");
  126051. B.ChangeType_remove = new A.ChangeType("remove");
  126052. B.ClipGamutMap_clip = new A.ClipGamutMap("clip");
  126053. B.ClipGamutMap_clip0 = new A.ClipGamutMap0("clip");
  126054. B.Combinator_0mp = new A.Combinator(">", "child");
  126055. B.Combinator_0mp0 = new A.Combinator0(">", "child");
  126056. B.Combinator_55N = new A.Combinator("~", "followingSibling");
  126057. B.Combinator_55N0 = new A.Combinator0("~", "followingSibling");
  126058. B.Combinator_bOP = new A.Combinator("+", "nextSibling");
  126059. B.Combinator_bOP0 = new A.Combinator0("+", "nextSibling");
  126060. B.Object_empty = {};
  126061. B.Map_empty18 = new A.ConstantStringMap(B.Object_empty, [], A.findType("ConstantStringMap<String,ConfiguredValue>"));
  126062. B.Configuration_Map_empty_null = new A.Configuration(B.Map_empty18, null);
  126063. B.Map_empty19 = new A.ConstantStringMap(B.Object_empty, [], A.findType("ConstantStringMap<String,ConfiguredValue0>"));
  126064. B.Configuration_Map_empty_null0 = new A.Configuration0(B.Map_empty19, null);
  126065. B.Deprecation_0NP = new A.Deprecation("duplicate-var-flags", "1.62.0", "duplicateVarFlags");
  126066. B.Deprecation_1AX = new A.Deprecation("global-builtin", "1.80.0", "globalBuiltin");
  126067. B.Deprecation_2g5 = new A.Deprecation("import", "1.80.0", "import");
  126068. B.Deprecation_39u = new A.Deprecation("mixed-decls", "1.77.7", "mixedDecls");
  126069. B.Deprecation_746 = new A.Deprecation("relative-canonical", "1.14.2", "relativeCanonical");
  126070. B.Deprecation_89v = new A.Deprecation("moz-document", "1.7.2", "mozDocument");
  126071. B.Deprecation_8ki = new A.Deprecation0("elseif", "1.3.2", "@elseif.", "elseif");
  126072. B.Deprecation_9hF = new A.Deprecation("bogus-combinators", "1.54.0", "bogusCombinators");
  126073. B.Deprecation_BvP = new A.Deprecation("slash-div", "1.33.0", "slashDiv");
  126074. B.Deprecation_BzI = new A.Deprecation0("duplicate-var-flags", "1.62.0", "Using !default or !global multiple times for one variable.", "duplicateVarFlags");
  126075. B.Deprecation_CRw = new A.Deprecation0("strict-unary", "1.55.0", "Ambiguous + and - operators.", "strictUnary");
  126076. B.Deprecation_Ds6 = new A.Deprecation0("fs-importer-cwd", "1.73.0", "Using the current working directory as an implicit load path.", "fsImporterCwd");
  126077. B.Deprecation_F8y = new A.Deprecation0("legacy-js-api", "1.79.0", "Legacy JS API.", "legacyJsApi");
  126078. B.Deprecation_FD1 = new A.Deprecation0("color-4-api", "1.79.0", "Certain uses of built-in sass:color functions.", "color4Api");
  126079. B.Deprecation_FyB = new A.Deprecation0("slash-div", "1.33.0", "/ operator for division.", "slashDiv");
  126080. B.Deprecation_HIp = new A.Deprecation0("feature-exists", "1.78.0", "meta.feature-exists", "featureExists");
  126081. B.Deprecation_Kg6 = new A.Deprecation("css-function-mixin", "1.76.0", "cssFunctionMixin");
  126082. B.Deprecation_Kry = new A.Deprecation0("color-module-compat", "1.23.0", "Using color module functions in place of plain CSS functions.", "colorModuleCompat");
  126083. B.Deprecation_KtC = new A.Deprecation("user-authored", null, "userAuthored");
  126084. B.Deprecation_L0R = new A.Deprecation0("moz-document", "1.7.2", "@-moz-document.", "mozDocument");
  126085. B.Deprecation_MSr = new A.Deprecation0("mixed-decls", "1.77.7", "Declarations after or between nested rules.", "mixedDecls");
  126086. B.Deprecation_OHJ = new A.Deprecation0("import", "1.80.0", "@import rules.", "import");
  126087. B.Deprecation_Ord = new A.Deprecation0("relative-canonical", "1.14.2", "Imports using relative canonical URLs.", "relativeCanonical");
  126088. B.Deprecation_Rg0 = new A.Deprecation("new-global", "1.17.2", "newGlobal");
  126089. B.Deprecation_SHb = new A.Deprecation0("bogus-combinators", "1.54.0", "Leading, trailing, and repeated combinators.", "bogusCombinators");
  126090. B.Deprecation_UYp = new A.Deprecation0("abs-percent", "1.65.0", "Passing percentages to the Sass abs() function.", "absPercent");
  126091. B.Deprecation_ZDV = new A.Deprecation0("global-builtin", "1.80.0", "Global built-in functions that are available in sass: modules.", "globalBuiltin");
  126092. B.Deprecation_ZVM = new A.Deprecation0("user-authored", null, null, "userAuthored");
  126093. B.Deprecation_aM0 = new A.Deprecation0("call-string", "0.0.0", "Passing a string directly to meta.call().", "callString");
  126094. B.Deprecation_cyE = new A.Deprecation("color-functions", "1.79.0", "colorFunctions");
  126095. B.Deprecation_d4j = new A.Deprecation0("css-function-mixin", "1.76.0", "Function and mixin names beginning with --.", "cssFunctionMixin");
  126096. B.Deprecation_dAn = new A.Deprecation("call-string", "0.0.0", "callString");
  126097. B.Deprecation_eJq = new A.Deprecation("compile-string-relative-url", "1.88.0", "compileStringRelativeUrl");
  126098. B.Deprecation_f5Y = new A.Deprecation0("calc-interp", null, null, "calcInterp");
  126099. B.Deprecation_fdF = new A.Deprecation0("color-functions", "1.79.0", "Using global color functions instead of sass:color.", "colorFunctions");
  126100. B.Deprecation_hAa = new A.Deprecation("elseif", "1.3.2", "elseif");
  126101. B.Deprecation_hcg = new A.Deprecation("feature-exists", "1.78.0", "featureExists");
  126102. B.Deprecation_jG1 = new A.Deprecation("function-units", "1.56.0", "functionUnits");
  126103. B.Deprecation_kms = new A.Deprecation("type-function", "1.86.0", "typeFunction");
  126104. B.Deprecation_l0m = new A.Deprecation0("null-alpha", "1.62.3", "Passing null as alpha in the JS API.", "nullAlpha");
  126105. B.Deprecation_mSy = new A.Deprecation0("new-global", "1.17.2", "Declaring new variables with !global.", "newGlobal");
  126106. B.Deprecation_pIR = new A.Deprecation0("compile-string-relative-url", "1.88.0", "Passing a relative url to compileString().", "compileStringRelativeUrl");
  126107. B.Deprecation_pLJ = new A.Deprecation("abs-percent", "1.65.0", "absPercent");
  126108. B.Deprecation_t60 = new A.Deprecation("strict-unary", "1.55.0", "strictUnary");
  126109. B.Deprecation_tms = new A.Deprecation("fs-importer-cwd", "1.73.0", "fsImporterCwd");
  126110. B.Deprecation_u0j = new A.Deprecation("color-module-compat", "1.23.0", "colorModuleCompat");
  126111. B.Deprecation_vQt = new A.Deprecation0("type-function", "1.86.0", 'Functions named "type".', "typeFunction");
  126112. B.Deprecation_vn5 = new A.Deprecation0("function-units", "1.56.0", "Passing invalid units to built-in functions.", "functionUnits");
  126113. B.DisplayP3ColorSpace_MmT = new A.DisplayP3ColorSpace("display-p3", B.List_U47);
  126114. B.DisplayP3ColorSpace_MmT0 = new A.DisplayP3ColorSpace0("display-p3", B.List_U470);
  126115. B.Duration_0 = new A.Duration(0);
  126116. B.ExtendMode_allTargets_allTargets = new A.ExtendMode("allTargets", "allTargets");
  126117. B.ExtendMode_allTargets_allTargets0 = new A.ExtendMode0("allTargets", "allTargets");
  126118. B.ExtendMode_normal_normal = new A.ExtendMode("normal", "normal");
  126119. B.ExtendMode_normal_normal0 = new A.ExtendMode0("normal", "normal");
  126120. B.ExtendMode_replace_replace = new A.ExtendMode("replace", "replace");
  126121. B.ExtendMode_replace_replace0 = new A.ExtendMode0("replace", "replace");
  126122. B.ColorChannel_hue_true_deg = new A.ColorChannel("hue", true, "deg");
  126123. B.LinearChannel_Cal = new A.LinearChannel(0, 100, true, true, false, "saturation", false, "%");
  126124. B.LinearChannel_w1m = new A.LinearChannel(0, 100, true, false, false, "lightness", false, "%");
  126125. B.List_oAL = A._setArrayType(makeConstList([B.ColorChannel_hue_true_deg, B.LinearChannel_Cal, B.LinearChannel_w1m]), type$.JSArray_ColorChannel);
  126126. B.HslColorSpace_JQ2 = new A.HslColorSpace("hsl", B.List_oAL);
  126127. B.ColorChannel_hue_true_deg0 = new A.ColorChannel0("hue", true, "deg");
  126128. B.LinearChannel_Cal0 = new A.LinearChannel0(0, 100, true, true, false, "saturation", false, "%");
  126129. B.LinearChannel_w1m0 = new A.LinearChannel0(0, 100, true, false, false, "lightness", false, "%");
  126130. B.List_oAL0 = A._setArrayType(makeConstList([B.ColorChannel_hue_true_deg0, B.LinearChannel_Cal0, B.LinearChannel_w1m0]), type$.JSArray_ColorChannel_2);
  126131. B.HslColorSpace_JQ20 = new A.HslColorSpace0("hsl", B.List_oAL0);
  126132. B.HueInterpolationMethod_0 = new A.HueInterpolationMethod("shorter");
  126133. B.HueInterpolationMethod_00 = new A.HueInterpolationMethod0("shorter");
  126134. B.HueInterpolationMethod_1 = new A.HueInterpolationMethod("longer");
  126135. B.HueInterpolationMethod_10 = new A.HueInterpolationMethod0("longer");
  126136. B.HueInterpolationMethod_2 = new A.HueInterpolationMethod("increasing");
  126137. B.HueInterpolationMethod_20 = new A.HueInterpolationMethod0("increasing");
  126138. B.HueInterpolationMethod_3 = new A.HueInterpolationMethod("decreasing");
  126139. B.HueInterpolationMethod_30 = new A.HueInterpolationMethod0("decreasing");
  126140. B.LinearChannel_mPM = new A.LinearChannel(0, 100, true, false, false, "whiteness", false, "%");
  126141. B.LinearChannel_NBP = new A.LinearChannel(0, 100, true, false, false, "blackness", false, "%");
  126142. B.List_Ar1 = A._setArrayType(makeConstList([B.ColorChannel_hue_true_deg, B.LinearChannel_mPM, B.LinearChannel_NBP]), type$.JSArray_ColorChannel);
  126143. B.HwbColorSpace_guQ = new A.HwbColorSpace("hwb", B.List_Ar1);
  126144. B.LinearChannel_mPM0 = new A.LinearChannel0(0, 100, true, false, false, "whiteness", false, "%");
  126145. B.LinearChannel_NBP0 = new A.LinearChannel0(0, 100, true, false, false, "blackness", false, "%");
  126146. B.List_Ar10 = A._setArrayType(makeConstList([B.ColorChannel_hue_true_deg0, B.LinearChannel_mPM0, B.LinearChannel_NBP0]), type$.JSArray_ColorChannel_2);
  126147. B.HwbColorSpace_guQ0 = new A.HwbColorSpace0("hwb", B.List_Ar10);
  126148. B.JsonDecoder_null = new A.JsonDecoder(null);
  126149. B.JsonEncoder_null = new A.JsonEncoder(null);
  126150. B.LinearChannel_rY5 = new A.LinearChannel(0, 100, false, true, true, "lightness", false, "%");
  126151. B.LinearChannel_vtc = new A.LinearChannel(-125, 125, false, false, false, "a", false, null);
  126152. B.LinearChannel_r83 = new A.LinearChannel(-125, 125, false, false, false, "b", false, null);
  126153. B.List_KEo = A._setArrayType(makeConstList([B.LinearChannel_rY5, B.LinearChannel_vtc, B.LinearChannel_r83]), type$.JSArray_ColorChannel);
  126154. B.LabColorSpace_2nT = new A.LabColorSpace("lab", B.List_KEo);
  126155. B.LinearChannel_rY50 = new A.LinearChannel0(0, 100, false, true, true, "lightness", false, "%");
  126156. B.LinearChannel_vtc0 = new A.LinearChannel0(-125, 125, false, false, false, "a", false, null);
  126157. B.LinearChannel_r830 = new A.LinearChannel0(-125, 125, false, false, false, "b", false, null);
  126158. B.List_KEo0 = A._setArrayType(makeConstList([B.LinearChannel_rY50, B.LinearChannel_vtc0, B.LinearChannel_r830]), type$.JSArray_ColorChannel_2);
  126159. B.LabColorSpace_2nT0 = new A.LabColorSpace0("lab", B.List_KEo0);
  126160. B.LinearChannel_JUs = new A.LinearChannel(0, 150, false, true, false, "chroma", false, null);
  126161. B.List_grF = A._setArrayType(makeConstList([B.LinearChannel_rY5, B.LinearChannel_JUs, B.ColorChannel_hue_true_deg]), type$.JSArray_ColorChannel);
  126162. B.LchColorSpace_Bpv = new A.LchColorSpace("lch", B.List_grF);
  126163. B.LinearChannel_JUs0 = new A.LinearChannel0(0, 150, false, true, false, "chroma", false, null);
  126164. B.List_grF0 = A._setArrayType(makeConstList([B.LinearChannel_rY50, B.LinearChannel_JUs0, B.ColorChannel_hue_true_deg0]), type$.JSArray_ColorChannel_2);
  126165. B.LchColorSpace_Bpv0 = new A.LchColorSpace0("lch", B.List_grF0);
  126166. B.LineFeed_9HY = new A.LineFeed0("lf", "\n", "lf");
  126167. B.LineFeed_G7N = new A.LineFeed0("lfcr", "\n\r", "lfcr");
  126168. B.LineFeed_Pcs = new A.LineFeed0("crlf", "\r\n", "crlf");
  126169. B.LineFeed_lf = new A.LineFeed("lf");
  126170. B.LineFeed_ybQ = new A.LineFeed0("cr", "\r", "cr");
  126171. B.LinearChannel_XL8 = new A.LinearChannel(0, 1, false, false, false, "alpha", false, null);
  126172. B.LinearChannel_XL80 = new A.LinearChannel0(0, 1, false, false, false, "alpha", false, null);
  126173. B.LinearChannel_Z5r = new A.LinearChannel(0, 255, false, true, true, "green", false, null);
  126174. B.LinearChannel_Z5r0 = new A.LinearChannel0(0, 255, false, true, true, "green", false, null);
  126175. B.LinearChannel_qXC = new A.LinearChannel(0, 255, false, true, true, "red", false, null);
  126176. B.LinearChannel_qXC0 = new A.LinearChannel0(0, 255, false, true, true, "red", false, null);
  126177. B.LinearChannel_vJ3 = new A.LinearChannel(0, 255, false, true, true, "blue", false, null);
  126178. B.LinearChannel_vJ30 = new A.LinearChannel0(0, 255, false, true, true, "blue", false, null);
  126179. B.ListSeparator_bRz = new A.ListSeparator("slash", "/", "slash");
  126180. B.ListSeparator_bRz0 = new A.ListSeparator0("slash", "/", "slash");
  126181. B.ListSeparator_qSL = new A.ListSeparator("space", " ", "space");
  126182. B.ListSeparator_qSL0 = new A.ListSeparator0("space", " ", "space");
  126183. B.ListSeparator_qVN = new A.ListSeparator("comma", ",", "comma");
  126184. B.ListSeparator_qVN0 = new A.ListSeparator0("comma", ",", "comma");
  126185. B.ListSeparator_undecided_null_undecided = new A.ListSeparator("undecided", null, "undecided");
  126186. B.ListSeparator_undecided_null_undecided0 = new A.ListSeparator0("undecided", null, "undecided");
  126187. B.Object_84Z = {em: 0, rem: 1, ex: 2, rex: 3, cap: 4, rcap: 5, ch: 6, rch: 7, ic: 8, ric: 9, lh: 10, rlh: 11, vw: 12, lvw: 13, svw: 14, dvw: 15, vh: 16, lvh: 17, svh: 18, dvh: 19, vi: 20, lvi: 21, svi: 22, dvi: 23, vb: 24, lvb: 25, svb: 26, dvb: 27, vmin: 28, lvmin: 29, svmin: 30, dvmin: 31, vmax: 32, lvmax: 33, svmax: 34, dvmax: 35, cqw: 36, cqh: 37, cqi: 38, cqb: 39, cqmin: 40, cqmax: 41, cm: 42, mm: 43, q: 44, in: 45, pt: 46, pc: 47, px: 48};
  126188. B.Set_V30th = new A.ConstantStringSet(B.Object_84Z, 49, type$.ConstantStringSet_String);
  126189. B.Object_a6W = {deg: 0, grad: 1, rad: 2, turn: 3};
  126190. B.Set_5FBBb = new A.ConstantStringSet(B.Object_a6W, 4, type$.ConstantStringSet_String);
  126191. B.Object_s_0_ms_1 = {s: 0, ms: 1};
  126192. B.Set_cXesm = new A.ConstantStringSet(B.Object_s_0_ms_1, 2, type$.ConstantStringSet_String);
  126193. B.Object_hz_0_khz_1 = {hz: 0, khz: 1};
  126194. B.Set_1Tayw = new A.ConstantStringSet(B.Object_hz_0_khz_1, 2, type$.ConstantStringSet_String);
  126195. B.Object_CHz = {dpi: 0, dpcm: 1, dppx: 2};
  126196. B.Set_w2NC6 = new A.ConstantStringSet(B.Object_CHz, 3, type$.ConstantStringSet_String);
  126197. B.List_BFg = A._setArrayType(makeConstList([B.Set_V30th, B.Set_5FBBb, B.Set_cXesm, B.Set_1Tayw, B.Set_w2NC6]), A.findType("JSArray<Set<String>>"));
  126198. B.List_FlM = A._setArrayType(makeConstList([B.Deprecation_aM0, B.Deprecation_8ki, B.Deprecation_L0R, B.Deprecation_Ord, B.Deprecation_mSy, B.Deprecation_Kry, B.Deprecation_FyB, B.Deprecation_SHb, B.Deprecation_CRw, B.Deprecation_vn5, B.Deprecation_BzI, B.Deprecation_l0m, B.Deprecation_UYp, B.Deprecation_Ds6, B.Deprecation_d4j, B.Deprecation_MSr, B.Deprecation_HIp, B.Deprecation_FD1, B.Deprecation_fdF, B.Deprecation_F8y, B.Deprecation_OHJ, B.Deprecation_ZDV, B.Deprecation_vQt, B.Deprecation_pIR, B.Deprecation_ZVM, B.Deprecation_f5Y]), A.findType("JSArray<Deprecation0>"));
  126199. B.List_empty28 = A._setArrayType(makeConstList([]), type$.JSArray_AsyncCallable_2);
  126200. B.List_empty29 = A._setArrayType(makeConstList([]), type$.JSArray_AsyncImporter);
  126201. B.List_empty1 = A._setArrayType(makeConstList([]), type$.JSArray_ComplexSelector);
  126202. B.List_empty17 = A._setArrayType(makeConstList([]), type$.JSArray_ComplexSelector_2);
  126203. B.List_empty2 = A._setArrayType(makeConstList([]), type$.JSArray_ComplexSelectorComponent);
  126204. B.List_empty18 = A._setArrayType(makeConstList([]), type$.JSArray_ComplexSelectorComponent_2);
  126205. B.List_empty10 = A._setArrayType(makeConstList([]), type$.JSArray_ConfiguredVariable);
  126206. B.List_empty24 = A._setArrayType(makeConstList([]), type$.JSArray_ConfiguredVariable_2);
  126207. B.List_empty3 = A._setArrayType(makeConstList([]), type$.JSArray_CssNode);
  126208. B.List_empty19 = A._setArrayType(makeConstList([]), type$.JSArray_CssNode_2);
  126209. B.List_empty13 = A._setArrayType(makeConstList([]), type$.JSArray_CssStyleRule);
  126210. B.List_empty25 = A._setArrayType(makeConstList([]), type$.JSArray_CssStyleRule_2);
  126211. B.List_empty0 = A._setArrayType(makeConstList([]), type$.JSArray_CssValue_Combinator);
  126212. B.List_empty16 = A._setArrayType(makeConstList([]), type$.JSArray_CssValue_Combinator_2);
  126213. B.List_empty9 = A._setArrayType(makeConstList([]), type$.JSArray_Expression);
  126214. B.List_empty23 = A._setArrayType(makeConstList([]), type$.JSArray_Expression_2);
  126215. B.List_empty5 = A._setArrayType(makeConstList([]), type$.JSArray_Extension);
  126216. B.List_empty20 = A._setArrayType(makeConstList([]), type$.JSArray_Extension_2);
  126217. B.List_empty27 = A._setArrayType(makeConstList([]), type$.JSArray_Importer_2);
  126218. B.List_empty7 = A._setArrayType(makeConstList([]), A.findType("JSArray<Module0<0&>>"));
  126219. B.List_empty21 = A._setArrayType(makeConstList([]), A.findType("JSArray<Module1<0&>>"));
  126220. B.List_empty11 = A._setArrayType(makeConstList([]), type$.JSArray_Object);
  126221. B.List_empty14 = A._setArrayType(makeConstList([]), type$.JSArray_Parameter);
  126222. B.List_empty26 = A._setArrayType(makeConstList([]), type$.JSArray_Parameter_2);
  126223. B.List_empty15 = A._setArrayType(makeConstList([]), type$.JSArray_Statement);
  126224. B.List_empty = A._setArrayType(makeConstList([]), type$.JSArray_String);
  126225. B.List_empty8 = A._setArrayType(makeConstList([]), type$.JSArray_Value);
  126226. B.List_empty22 = A._setArrayType(makeConstList([]), type$.JSArray_Value_2);
  126227. B.List_empty4 = A._setArrayType(makeConstList([]), type$.JSArray_int);
  126228. B.List_empty6 = A._setArrayType(makeConstList([]), type$.JSArray_dynamic);
  126229. B.List_empty12 = A._setArrayType(makeConstList([]), type$.JSArray_nullable_FileSpan);
  126230. B.List_g9w = A._setArrayType(makeConstList([B.CalculationOperator_F7i0, B.CalculationOperator_oum0, B.CalculationOperator_kkN0, B.CalculationOperator_bo50]), A.findType("JSArray<CalculationOperator0>"));
  126231. B.List_nm2 = A._setArrayType(makeConstList([B.HueInterpolationMethod_00, B.HueInterpolationMethod_10, B.HueInterpolationMethod_20, B.HueInterpolationMethod_30]), A.findType("JSArray<HueInterpolationMethod0>"));
  126232. B.List_null = A._setArrayType(makeConstList([null]), type$.JSArray_nullable_FileSpan);
  126233. B.Deprecation_MJf = new A.Deprecation("null-alpha", "1.62.3", "nullAlpha");
  126234. B.Deprecation_Nem = new A.Deprecation("color-4-api", "1.79.0", "color4Api");
  126235. B.Deprecation_fsU = new A.Deprecation("legacy-js-api", "1.79.0", "legacyJsApi");
  126236. B.Deprecation_ggp = new A.Deprecation("calc-interp", null, "calcInterp");
  126237. B.List_rYe = A._setArrayType(makeConstList([B.Deprecation_dAn, B.Deprecation_hAa, B.Deprecation_89v, B.Deprecation_746, B.Deprecation_Rg0, B.Deprecation_u0j, B.Deprecation_BvP, B.Deprecation_9hF, B.Deprecation_t60, B.Deprecation_jG1, B.Deprecation_0NP, B.Deprecation_MJf, B.Deprecation_pLJ, B.Deprecation_tms, B.Deprecation_Kg6, B.Deprecation_39u, B.Deprecation_hcg, B.Deprecation_Nem, B.Deprecation_cyE, B.Deprecation_fsU, B.Deprecation_2g5, B.Deprecation_1AX, B.Deprecation_kms, B.Deprecation_eJq, B.Deprecation_KtC, B.Deprecation_ggp]), A.findType("JSArray<Deprecation>"));
  126238. B.LinearChannel_n2W = new A.LinearChannel(0, 1, false, false, false, "long", false, null);
  126239. B.LinearChannel_ZmQ = new A.LinearChannel(0, 1, false, false, false, "medium", false, null);
  126240. B.LinearChannel_yJH = new A.LinearChannel(0, 1, false, false, false, "short", false, null);
  126241. B.List_wOx = A._setArrayType(makeConstList([B.LinearChannel_n2W, B.LinearChannel_ZmQ, B.LinearChannel_yJH]), type$.JSArray_ColorChannel);
  126242. B.LmsColorSpace_Os3 = new A.LmsColorSpace("lms", B.List_wOx);
  126243. B.LinearChannel_n2W0 = new A.LinearChannel0(0, 1, false, false, false, "long", false, null);
  126244. B.LinearChannel_ZmQ0 = new A.LinearChannel0(0, 1, false, false, false, "medium", false, null);
  126245. B.LinearChannel_yJH0 = new A.LinearChannel0(0, 1, false, false, false, "short", false, null);
  126246. B.List_wOx0 = A._setArrayType(makeConstList([B.LinearChannel_n2W0, B.LinearChannel_ZmQ0, B.LinearChannel_yJH0]), type$.JSArray_ColorChannel_2);
  126247. B.LmsColorSpace_Os30 = new A.LmsColorSpace0("lms", B.List_wOx0);
  126248. B.LocalMindeGamutMap_A2x = new A.LocalMindeGamutMap("local-minde");
  126249. B.LocalMindeGamutMap_A2x0 = new A.LocalMindeGamutMap0("local-minde");
  126250. B.Object_CSf = {in: 0, cm: 1, pc: 2, mm: 3, q: 4, pt: 5, px: 6, deg: 7, grad: 8, rad: 9, turn: 10, s: 11, ms: 12, Hz: 13, kHz: 14, dpi: 15, dpcm: 16, dppx: 17};
  126251. B.Object_R4j = {in: 0, cm: 1, pc: 2, mm: 3, q: 4, pt: 5, px: 6};
  126252. B.Map_LdTcR = new A.ConstantStringMap(B.Object_R4j, [1, 0.39370078740157477, 0.16666666666666666, 0.03937007874015748, 0.00984251968503937, 0.013888888888888888, 0.010416666666666666], type$.ConstantStringMap_String_double);
  126253. B.Map_LdCjQ = new A.ConstantStringMap(B.Object_R4j, [2.54, 1, 0.42333333333333334, 0.1, 0.025, 0.035277777777777776, 0.026458333333333334], type$.ConstantStringMap_String_double);
  126254. B.Map_Ldr6M = new A.ConstantStringMap(B.Object_R4j, [6, 2.3622047244094486, 1, 0.2362204724409449, 0.05905511811023623, 0.08333333333333333, 0.0625], type$.ConstantStringMap_String_double);
  126255. B.Map_LdTyG = new A.ConstantStringMap(B.Object_R4j, [25.4, 10, 4.233333333333333, 1, 0.25, 0.35277777777777775, 0.26458333333333334], type$.ConstantStringMap_String_double);
  126256. B.Map_Ld577 = new A.ConstantStringMap(B.Object_R4j, [101.6, 40, 16.933333333333334, 4, 1, 1.411111111111111, 1.0583333333333333], type$.ConstantStringMap_String_double);
  126257. B.Map_LdIVT = new A.ConstantStringMap(B.Object_R4j, [72, 28.346456692913385, 12, 2.834645669291339, 0.7086614173228347, 1, 0.75], type$.ConstantStringMap_String_double);
  126258. B.Map_Ld6L5 = new A.ConstantStringMap(B.Object_R4j, [96, 37.79527559055118, 16, 3.7795275590551185, 0.9448818897637796, 1.3333333333333333, 1], type$.ConstantStringMap_String_double);
  126259. B.Map_LjNxM = new A.ConstantStringMap(B.Object_a6W, [1, 0.9, 57.29577951308232, 360], type$.ConstantStringMap_String_double);
  126260. B.Map_Lj8V1 = new A.ConstantStringMap(B.Object_a6W, [1.1111111111111112, 1, 63.66197723675813, 400], type$.ConstantStringMap_String_double);
  126261. B.Map_LjePw = new A.ConstantStringMap(B.Object_a6W, [0.017453292519943295, 0.015707963267948967, 1, 6.283185307179586], type$.ConstantStringMap_String_double);
  126262. B.Map_LjtMd = new A.ConstantStringMap(B.Object_a6W, [0.002777777777777778, 0.0025, 0.15915494309189535, 1], type$.ConstantStringMap_String_double);
  126263. B.Map_Aezv1 = new A.ConstantStringMap(B.Object_s_0_ms_1, [1, 0.001], type$.ConstantStringMap_String_double);
  126264. B.Map_AeI7g = new A.ConstantStringMap(B.Object_s_0_ms_1, [1000, 1], type$.ConstantStringMap_String_double);
  126265. B.Object_Hz_0_kHz_1 = {Hz: 0, kHz: 1};
  126266. B.Map_kdDCg = new A.ConstantStringMap(B.Object_Hz_0_kHz_1, [1, 1000], type$.ConstantStringMap_String_double);
  126267. B.Map_kdBEM = new A.ConstantStringMap(B.Object_Hz_0_kHz_1, [0.001, 1], type$.ConstantStringMap_String_double);
  126268. B.Map_vIkFS = new A.ConstantStringMap(B.Object_CHz, [1, 2.54, 96], type$.ConstantStringMap_String_double);
  126269. B.Map_vIY7E = new A.ConstantStringMap(B.Object_CHz, [0.39370078740157477, 1, 37.79527559055118], type$.ConstantStringMap_String_double);
  126270. B.Map_vIcSC = new A.ConstantStringMap(B.Object_CHz, [0.010416666666666666, 0.026458333333333334, 1], type$.ConstantStringMap_String_double);
  126271. B.Map_NtHoP = new A.ConstantStringMap(B.Object_CSf, [B.Map_LdTcR, B.Map_LdCjQ, B.Map_Ldr6M, B.Map_LdTyG, B.Map_Ld577, B.Map_LdIVT, B.Map_Ld6L5, B.Map_LjNxM, B.Map_Lj8V1, B.Map_LjePw, B.Map_LjtMd, B.Map_Aezv1, B.Map_AeI7g, B.Map_kdDCg, B.Map_kdBEM, B.Map_vIkFS, B.Map_vIY7E, B.Map_vIcSC], A.findType("ConstantStringMap<String,Map<String,double>>"));
  126272. B.Object_J3y = {length: 0, angle: 1, time: 2, frequency: 3, "pixel density": 4};
  126273. B.List_Ldp = A._setArrayType(makeConstList(["in", "cm", "pc", "mm", "q", "pt", "px"]), type$.JSArray_String);
  126274. B.List_deg_grad_rad_turn = A._setArrayType(makeConstList(["deg", "grad", "rad", "turn"]), type$.JSArray_String);
  126275. B.List_s_ms = A._setArrayType(makeConstList(["s", "ms"]), type$.JSArray_String);
  126276. B.List_Hz_kHz = A._setArrayType(makeConstList(["Hz", "kHz"]), type$.JSArray_String);
  126277. B.List_dpi_dpcm_dppx = A._setArrayType(makeConstList(["dpi", "dpcm", "dppx"]), type$.JSArray_String);
  126278. B.Map_Sr65K = new A.ConstantStringMap(B.Object_J3y, [B.List_Ldp, B.List_deg_grad_rad_turn, B.List_s_ms, B.List_Hz_kHz, B.List_dpi_dpcm_dppx], A.findType("ConstantStringMap<String,List<String>>"));
  126279. B.Map_empty7 = new A.ConstantStringMap(B.Object_empty, [], A.findType("ConstantStringMap<Module0<AsyncCallable>,List<CssComment>>"));
  126280. B.Map_empty = new A.ConstantStringMap(B.Object_empty, [], A.findType("ConstantStringMap<Module0<Callable0>,List<CssComment>>"));
  126281. B.Map_empty1 = new A.ConstantStringMap(B.Object_empty, [], A.findType("ConstantStringMap<Module0<0&>,List<CssComment>>"));
  126282. B.Map_empty16 = new A.ConstantStringMap(B.Object_empty, [], A.findType("ConstantStringMap<Module1<AsyncCallable0>,List<CssComment0>>"));
  126283. B.Map_empty10 = new A.ConstantStringMap(B.Object_empty, [], A.findType("ConstantStringMap<Module1<Callable>,List<CssComment0>>"));
  126284. B.Map_empty12 = new A.ConstantStringMap(B.Object_empty, [], A.findType("ConstantStringMap<Module1<0&>,List<CssComment0>>"));
  126285. B.Map_empty3 = new A.ConstantStringMap(B.Object_empty, [], A.findType("ConstantStringMap<String,AstNode>"));
  126286. B.Map_empty13 = new A.ConstantStringMap(B.Object_empty, [], A.findType("ConstantStringMap<String,AstNode0>"));
  126287. B.Map_empty4 = new A.ConstantStringMap(B.Object_empty, [], A.findType("ConstantStringMap<String,Expression>"));
  126288. B.Map_empty14 = new A.ConstantStringMap(B.Object_empty, [], A.findType("ConstantStringMap<String,Expression0>"));
  126289. B.Map_empty6 = new A.ConstantStringMap(B.Object_empty, [], A.findType("ConstantStringMap<String,FileSpan>"));
  126290. B.Map_empty8 = new A.ConstantStringMap(B.Object_empty, [], A.findType("ConstantStringMap<String,Module0<AsyncCallable>>"));
  126291. B.Map_empty0 = new A.ConstantStringMap(B.Object_empty, [], A.findType("ConstantStringMap<String,Module0<Callable0>>"));
  126292. B.Map_empty17 = new A.ConstantStringMap(B.Object_empty, [], A.findType("ConstantStringMap<String,Module1<AsyncCallable0>>"));
  126293. B.Map_empty11 = new A.ConstantStringMap(B.Object_empty, [], A.findType("ConstantStringMap<String,Module1<Callable>>"));
  126294. B.Map_empty5 = new A.ConstantStringMap(B.Object_empty, [], A.findType("ConstantStringMap<String,Value>"));
  126295. B.Map_empty15 = new A.ConstantStringMap(B.Object_empty, [], A.findType("ConstantStringMap<String,Value0>"));
  126296. B.Map_empty2 = new A.ConstantStringMap(B.Object_empty, [], A.findType("ConstantStringMap<Symbol0,@>"));
  126297. B.Map_empty9 = new A.ConstantStringMap(B.Object_empty, [], A.findType("ConstantStringMap<String?,String>"));
  126298. B.LinearChannel_fS8 = new A.LinearChannel(0, 1, false, true, true, "lightness", false, "%");
  126299. B.LinearChannel_ffI = new A.LinearChannel(-0.4, 0.4, false, false, false, "a", false, null);
  126300. B.LinearChannel_Y6D = new A.LinearChannel(-0.4, 0.4, false, false, false, "b", false, null);
  126301. B.List_ZWr = A._setArrayType(makeConstList([B.LinearChannel_fS8, B.LinearChannel_ffI, B.LinearChannel_Y6D]), type$.JSArray_ColorChannel);
  126302. B.OklabColorSpace_540 = new A.OklabColorSpace("oklab", B.List_ZWr);
  126303. B.LinearChannel_fS80 = new A.LinearChannel0(0, 1, false, true, true, "lightness", false, "%");
  126304. B.LinearChannel_ffI0 = new A.LinearChannel0(-0.4, 0.4, false, false, false, "a", false, null);
  126305. B.LinearChannel_Y6D0 = new A.LinearChannel0(-0.4, 0.4, false, false, false, "b", false, null);
  126306. B.List_ZWr0 = A._setArrayType(makeConstList([B.LinearChannel_fS80, B.LinearChannel_ffI0, B.LinearChannel_Y6D0]), type$.JSArray_ColorChannel_2);
  126307. B.OklabColorSpace_5400 = new A.OklabColorSpace0("oklab", B.List_ZWr0);
  126308. B.LinearChannel_HTj = new A.LinearChannel(0, 0.4, false, true, false, "chroma", false, null);
  126309. B.List_g5j = A._setArrayType(makeConstList([B.LinearChannel_fS8, B.LinearChannel_HTj, B.ColorChannel_hue_true_deg]), type$.JSArray_ColorChannel);
  126310. B.OklchColorSpace_9Gj = new A.OklchColorSpace("oklch", B.List_g5j);
  126311. B.LinearChannel_HTj0 = new A.LinearChannel0(0, 0.4, false, true, false, "chroma", false, null);
  126312. B.List_g5j0 = A._setArrayType(makeConstList([B.LinearChannel_fS80, B.LinearChannel_HTj0, B.ColorChannel_hue_true_deg0]), type$.JSArray_ColorChannel_2);
  126313. B.OklchColorSpace_9Gj0 = new A.OklchColorSpace0("oklch", B.List_g5j0);
  126314. B.OptionType_1Ol = new A.OptionType("OptionType.multiple");
  126315. B.OptionType_tI9 = new A.OptionType("OptionType.flag");
  126316. B.OptionType_zZK = new A.OptionType("OptionType.single");
  126317. B.OutputStyle_0 = new A.OutputStyle("expanded");
  126318. B.OutputStyle_00 = new A.OutputStyle0("expanded");
  126319. B.OutputStyle_1 = new A.OutputStyle("compressed");
  126320. B.OutputStyle_10 = new A.OutputStyle0("compressed");
  126321. B.ProphotoRgbColorSpace_BDz = new A.ProphotoRgbColorSpace("prophoto-rgb", B.List_U47);
  126322. B.ProphotoRgbColorSpace_BDz0 = new A.ProphotoRgbColorSpace0("prophoto-rgb", B.List_U470);
  126323. B.Rec2020ColorSpace_6oo = new A.Rec2020ColorSpace("rec2020", B.List_U47);
  126324. B.Rec2020ColorSpace_6oo0 = new A.Rec2020ColorSpace0("rec2020", B.List_U470);
  126325. B.Map_empty20 = new A.ConstantStringMap(B.Object_empty, [], A.findType("ConstantStringMap<SelectorList,Box<SelectorList>>"));
  126326. B.Record2_EmptyExtensionStore_Map_empty = new A._Record_2(B.C_EmptyExtensionStore, B.Map_empty20);
  126327. B.Map_empty21 = new A.ConstantStringMap(B.Object_empty, [], A.findType("ConstantStringMap<SelectorList0,Box0<SelectorList0>>"));
  126328. B.Record2_EmptyExtensionStore_Map_empty0 = new A._Record_2(B.C_EmptyExtensionStore0, B.Map_empty21);
  126329. B.List_Ds2 = A._setArrayType(makeConstList([B.LinearChannel_qXC, B.LinearChannel_Z5r, B.LinearChannel_vJ3]), type$.JSArray_ColorChannel);
  126330. B.RgbColorSpace_i0P = new A.RgbColorSpace("rgb", B.List_Ds2);
  126331. B.List_Ds20 = A._setArrayType(makeConstList([B.LinearChannel_qXC0, B.LinearChannel_Z5r0, B.LinearChannel_vJ30]), type$.JSArray_ColorChannel_2);
  126332. B.RgbColorSpace_i0P0 = new A.RgbColorSpace0("rgb", B.List_Ds20);
  126333. B.SassBoolean_false = new A.SassBoolean(false);
  126334. B.SassBoolean_false0 = new A.SassBoolean0(false);
  126335. B.SassBoolean_true = new A.SassBoolean(true);
  126336. B.SassBoolean_true0 = new A.SassBoolean0(true);
  126337. B.SassList_BlY = new A.SassList(B.List_empty8, B.ListSeparator_qVN, false);
  126338. B.SassList_BlY0 = new A.SassList0(B.List_empty22, B.ListSeparator_qVN0, false);
  126339. B.SassList_apG = new A.SassList0(B.List_empty22, B.ListSeparator_undecided_null_undecided0, false);
  126340. B.SassList_qAD = new A.SassList(B.List_empty8, B.ListSeparator_qVN, true);
  126341. B.SassList_qAD0 = new A.SassList0(B.List_empty22, B.ListSeparator_qVN0, true);
  126342. B.Map_empty22 = new A.ConstantStringMap(B.Object_empty, [], A.findType("ConstantStringMap<Value,Value>"));
  126343. B.SassMap_Map_empty = new A.SassMap(B.Map_empty22);
  126344. B.Map_empty23 = new A.ConstantStringMap(B.Object_empty, [], A.findType("ConstantStringMap<Value0,Value0>"));
  126345. B.SassMap_Map_empty0 = new A.SassMap0(B.Map_empty23);
  126346. B.Object_Tro = {is: 0, matches: 1, where: 2};
  126347. B.Set_0egh6 = new A.ConstantStringSet(B.Object_Tro, 3, type$.ConstantStringSet_String);
  126348. B.Object_ssn = {sass: 0, style: 1, default: 2};
  126349. B.Set_8229z = new A.ConstantStringSet(B.Object_ssn, 3, type$.ConstantStringSet_String);
  126350. B.Set_9FDyj = new A.GeneralConstantSet([B.RgbColorSpace_i0P, B.HslColorSpace_JQ2], A.findType("GeneralConstantSet<ColorSpace>"));
  126351. B.Set_9FDyj0 = new A.GeneralConstantSet([B.RgbColorSpace_i0P0, B.HslColorSpace_JQ20], A.findType("GeneralConstantSet<ColorSpace0>"));
  126352. B.Object_BKa = {".scss": 0, ".sass": 1, ".css": 2};
  126353. B.Set_FTDN4 = new A.ConstantStringSet(B.Object_BKa, 3, type$.ConstantStringSet_String);
  126354. B.Object_GR4 = {calc: 0, clamp: 1, hypot: 2, sin: 3, cos: 4, tan: 5, asin: 6, acos: 7, atan: 8, sqrt: 9, exp: 10, sign: 11, mod: 12, rem: 13, atan2: 14, pow: 15, log: 16, "calc-size": 17};
  126355. B.Set_Pr3yj = new A.ConstantStringSet(B.Object_GR4, 18, type$.ConstantStringSet_String);
  126356. B.Set_WDSXk = new A.GeneralConstantSet([0], A.findType("GeneralConstantSet<int>"));
  126357. B.Set_empty1 = new A.ConstantStringSet(B.Object_empty, 0, A.findType("ConstantStringSet<CssMediaQuery>"));
  126358. B.Set_empty5 = new A.ConstantStringSet(B.Object_empty, 0, A.findType("ConstantStringSet<CssMediaQuery0>"));
  126359. B.Set_empty2 = new A.ConstantStringSet(B.Object_empty, 0, A.findType("ConstantStringSet<Module0<AsyncCallable>>"));
  126360. B.Set_empty0 = new A.ConstantStringSet(B.Object_empty, 0, A.findType("ConstantStringSet<Module0<Callable0>>"));
  126361. B.Set_empty6 = new A.ConstantStringSet(B.Object_empty, 0, A.findType("ConstantStringSet<Module1<AsyncCallable0>>"));
  126362. B.Set_empty4 = new A.ConstantStringSet(B.Object_empty, 0, A.findType("ConstantStringSet<Module1<Callable>>"));
  126363. B.Set_empty7 = new A.ConstantStringSet(B.Object_empty, 0, type$.ConstantStringSet_String);
  126364. B.Set_empty3 = new A.ConstantStringSet(B.Object_empty, 0, A.findType("ConstantStringSet<StylesheetNode>"));
  126365. B.Set_empty = new A.ConstantStringSet(B.Object_empty, 0, A.findType("ConstantStringSet<Uri>"));
  126366. B.Set_oQTdo = new A.GeneralConstantSet([B.BinaryOperator_tht, B.BinaryOperator_Mh5, B.BinaryOperator_Swh, B.BinaryOperator_QG1], A.findType("GeneralConstantSet<BinaryOperator>"));
  126367. B.Set_oQTdo0 = new A.GeneralConstantSet([B.BinaryOperator_tht0, B.BinaryOperator_Mh50, B.BinaryOperator_Swh0, B.BinaryOperator_QG10], A.findType("GeneralConstantSet<BinaryOperator0>"));
  126368. B.SrgbColorSpace_thf = new A.SrgbColorSpace("srgb", B.List_U47);
  126369. B.SrgbColorSpace_thf0 = new A.SrgbColorSpace0("srgb", B.List_U470);
  126370. B.SrgbLinearColorSpace_kUj = new A.SrgbLinearColorSpace("srgb-linear", B.List_U47);
  126371. B.SrgbLinearColorSpace_kUj0 = new A.SrgbLinearColorSpace0("srgb-linear", B.List_U470);
  126372. B.StderrLogger_false = new A.StderrLogger(false);
  126373. B.StderrLogger_false0 = new A.StderrLogger0(false);
  126374. B.Symbol__canonicalizeContext = new A.Symbol("_canonicalizeContext");
  126375. B.Symbol__evaluationContext = new A.Symbol("_evaluationContext");
  126376. B.Symbol__extensions = new A.Symbol("_extensions");
  126377. B.Symbol__sourceSpecificity = new A.Symbol("_sourceSpecificity");
  126378. B.Symbol_call = new A.Symbol("call");
  126379. B.Syntax_CSS_css = new A.Syntax("CSS", "css");
  126380. B.Syntax_CSS_css0 = new A.Syntax0("CSS", "css");
  126381. B.Syntax_SCSS_scss = new A.Syntax("SCSS", "scss");
  126382. B.Syntax_SCSS_scss0 = new A.Syntax0("SCSS", "scss");
  126383. B.Syntax_Sass_sass = new A.Syntax("Sass", "sass");
  126384. B.Syntax_Sass_sass0 = new A.Syntax0("Sass", "sass");
  126385. B.Type_ByteBuffer_rqD = A.typeLiteral("ByteBuffer");
  126386. B.Type_ByteData_9dB = A.typeLiteral("ByteData");
  126387. B.Type_Float32List_9Kz = A.typeLiteral("Float32List");
  126388. B.Type_Float64List_9Kz = A.typeLiteral("Float64List");
  126389. B.Type_Int16List_s5h = A.typeLiteral("Int16List");
  126390. B.Type_Int32List_O8Z = A.typeLiteral("Int32List");
  126391. B.Type_Int8List_rFV = A.typeLiteral("Int8List");
  126392. B.Type_Object_A4p = A.typeLiteral("Object");
  126393. B.Type_Uint16List_kmP = A.typeLiteral("Uint16List");
  126394. B.Type_Uint32List_kmP = A.typeLiteral("Uint32List");
  126395. B.Type_Uint8ClampedList_04U = A.typeLiteral("Uint8ClampedList");
  126396. B.Type_Uint8List_8Eb = A.typeLiteral("Uint8List");
  126397. B.UnaryOperator_Rbl = new A.UnaryOperator("plus", "+", "plus");
  126398. B.UnaryOperator_Rbl0 = new A.UnaryOperator0("plus", "+", "plus");
  126399. B.UnaryOperator_UCP = new A.UnaryOperator("minus", "-", "minus");
  126400. B.UnaryOperator_UCP0 = new A.UnaryOperator0("minus", "-", "minus");
  126401. B.UnaryOperator_lZV = new A.UnaryOperator("divide", "/", "divide");
  126402. B.UnaryOperator_lZV0 = new A.UnaryOperator0("divide", "/", "divide");
  126403. B.UnaryOperator_not_not_not = new A.UnaryOperator("not", "not", "not");
  126404. B.UnaryOperator_not_not_not0 = new A.UnaryOperator0("not", "not", "not");
  126405. B.Utf8Decoder_false = new A.Utf8Decoder(false);
  126406. B.LinearChannel_LYw = new A.LinearChannel(0, 1, false, false, false, "x", false, null);
  126407. B.LinearChannel_eR7 = new A.LinearChannel(0, 1, false, false, false, "y", false, null);
  126408. B.LinearChannel_gZl = new A.LinearChannel(0, 1, false, false, false, "z", false, null);
  126409. B.List_QRs = A._setArrayType(makeConstList([B.LinearChannel_LYw, B.LinearChannel_eR7, B.LinearChannel_gZl]), type$.JSArray_LinearChannel);
  126410. B.XyzD50ColorSpace_2OB = new A.XyzD50ColorSpace("xyz-d50", B.List_QRs);
  126411. B.LinearChannel_LYw0 = new A.LinearChannel0(0, 1, false, false, false, "x", false, null);
  126412. B.LinearChannel_eR70 = new A.LinearChannel0(0, 1, false, false, false, "y", false, null);
  126413. B.LinearChannel_gZl0 = new A.LinearChannel0(0, 1, false, false, false, "z", false, null);
  126414. B.List_QRs0 = A._setArrayType(makeConstList([B.LinearChannel_LYw0, B.LinearChannel_eR70, B.LinearChannel_gZl0]), type$.JSArray_LinearChannel_2);
  126415. B.XyzD50ColorSpace_2OB0 = new A.XyzD50ColorSpace0("xyz-d50", B.List_QRs0);
  126416. B.XyzD65ColorSpace_WiJ = new A.XyzD65ColorSpace("xyz", B.List_QRs);
  126417. B.XyzD65ColorSpace_WiJ0 = new A.XyzD65ColorSpace0("xyz", B.List_QRs0);
  126418. B._IsBogusVisitor_false = new A._IsBogusVisitor(false);
  126419. B._IsBogusVisitor_false0 = new A._IsBogusVisitor0(false);
  126420. B._IsBogusVisitor_true = new A._IsBogusVisitor(true);
  126421. B._IsBogusVisitor_true0 = new A._IsBogusVisitor0(true);
  126422. B._IsInvisibleVisitor_false = new A._IsInvisibleVisitor0(false);
  126423. B._IsInvisibleVisitor_false0 = new A._IsInvisibleVisitor2(false);
  126424. B._IsInvisibleVisitor_false_false = new A._IsInvisibleVisitor(false, false);
  126425. B._IsInvisibleVisitor_false_false0 = new A._IsInvisibleVisitor1(false, false);
  126426. B._IsInvisibleVisitor_true = new A._IsInvisibleVisitor0(true);
  126427. B._IsInvisibleVisitor_true0 = new A._IsInvisibleVisitor2(true);
  126428. B._IsInvisibleVisitor_true_false = new A._IsInvisibleVisitor(true, false);
  126429. B._IsInvisibleVisitor_true_false0 = new A._IsInvisibleVisitor1(true, false);
  126430. B._IsInvisibleVisitor_true_true = new A._IsInvisibleVisitor(true, true);
  126431. B._IsInvisibleVisitor_true_true0 = new A._IsInvisibleVisitor1(true, true);
  126432. B._PathDirection_6kc = new A._PathDirection("reaches root");
  126433. B._PathDirection_Wme = new A._PathDirection("below root");
  126434. B._PathDirection_dMN = new A._PathDirection("at root");
  126435. B._PathDirection_vgO = new A._PathDirection("above root");
  126436. B._PathRelation_different = new A._PathRelation("different");
  126437. B._PathRelation_equal = new A._PathRelation("equal");
  126438. B._PathRelation_inconclusive = new A._PathRelation("inconclusive");
  126439. B._PathRelation_within = new A._PathRelation("within");
  126440. B._SingletonCssMediaQueryMergeResult_0 = new A._SingletonCssMediaQueryMergeResult("empty");
  126441. B._SingletonCssMediaQueryMergeResult_00 = new A._SingletonCssMediaQueryMergeResult0("empty");
  126442. B._SingletonCssMediaQueryMergeResult_1 = new A._SingletonCssMediaQueryMergeResult("unrepresentable");
  126443. B._SingletonCssMediaQueryMergeResult_10 = new A._SingletonCssMediaQueryMergeResult0("unrepresentable");
  126444. B._StreamGroupState_canceled = new A._StreamGroupState("canceled");
  126445. B._StreamGroupState_dormant = new A._StreamGroupState("dormant");
  126446. B._StreamGroupState_listening = new A._StreamGroupState("listening");
  126447. B._StreamGroupState_paused = new A._StreamGroupState("paused");
  126448. B._StringStackTrace_OdL = new A._StringStackTrace("");
  126449. B._ZoneFunction_KjJ = new A._ZoneFunction(B.C__RootZone, A.async___rootHandleUncaughtError$closure());
  126450. B._ZoneFunction_PAY = new A._ZoneFunction(B.C__RootZone, A.async___rootCreatePeriodicTimer$closure());
  126451. B._ZoneFunction_Xkh = new A._ZoneFunction(B.C__RootZone, A.async___rootRegisterUnaryCallback$closure());
  126452. B._ZoneFunction__RootZone__rootCreateTimer = new A._ZoneFunction(B.C__RootZone, A.async___rootCreateTimer$closure());
  126453. B._ZoneFunction__RootZone__rootErrorCallback = new A._ZoneFunction(B.C__RootZone, A.async___rootErrorCallback$closure());
  126454. B._ZoneFunction__RootZone__rootFork = new A._ZoneFunction(B.C__RootZone, A.async___rootFork$closure());
  126455. B._ZoneFunction__RootZone__rootPrint = new A._ZoneFunction(B.C__RootZone, A.async___rootPrint$closure());
  126456. B._ZoneFunction__RootZone__rootRegisterCallback = new A._ZoneFunction(B.C__RootZone, A.async___rootRegisterCallback$closure());
  126457. B._ZoneFunction__RootZone__rootRun = new A._ZoneFunction(B.C__RootZone, A.async___rootRun$closure());
  126458. B._ZoneFunction__RootZone__rootRunBinary = new A._ZoneFunction(B.C__RootZone, A.async___rootRunBinary$closure());
  126459. B._ZoneFunction__RootZone__rootRunUnary = new A._ZoneFunction(B.C__RootZone, A.async___rootRunUnary$closure());
  126460. B._ZoneFunction__RootZone__rootScheduleMicrotask = new A._ZoneFunction(B.C__RootZone, A.async___rootScheduleMicrotask$closure());
  126461. B._ZoneFunction_e9o = new A._ZoneFunction(B.C__RootZone, A.async___rootRegisterBinaryCallback$closure());
  126462. B._ZoneSpecification_Ipa = new A._ZoneSpecification(null, null, null, null, null, null, null, null, null, null, null, null, null);
  126463. })();
  126464. (function staticFields() {
  126465. $._JS_INTEROP_INTERCEPTOR_TAG = null;
  126466. $.toStringVisiting = A._setArrayType([], type$.JSArray_Object);
  126467. $.printToZone = null;
  126468. $.Primitives__identityHashCodeProperty = null;
  126469. $.BoundClosure__receiverFieldNameCache = null;
  126470. $.BoundClosure__interceptorFieldNameCache = null;
  126471. $.getTagFunction = null;
  126472. $.alternateTagFunction = null;
  126473. $.prototypeForTagFunction = null;
  126474. $.dispatchRecordsForInstanceTags = null;
  126475. $.interceptorsForUncacheableTags = null;
  126476. $.initNativeDispatchFlag = null;
  126477. $._Record__computedFieldKeys = A._setArrayType([], A.findType("JSArray<List<Object>?>"));
  126478. $._nextCallback = null;
  126479. $._lastCallback = null;
  126480. $._lastPriorityCallback = null;
  126481. $._isInCallbackLoop = false;
  126482. $.Zone__current = B.C__RootZone;
  126483. $._RootZone__rootDelegate = null;
  126484. $.Uri__cachedBaseString = "";
  126485. $.Uri__cachedBaseUri = null;
  126486. $._fs = null;
  126487. $._currentUriBase = null;
  126488. $._current = null;
  126489. $._subselectorPseudos = A.LinkedHashSet_LinkedHashSet$_literal(["is", "matches", "where", "any", "nth-child", "nth-last-child"], type$.String);
  126490. $._rootishPseudoClasses = A.LinkedHashSet_LinkedHashSet$_literal(["root", "scope", "host", "host-context"], type$.String);
  126491. $._features = A.LinkedHashSet_LinkedHashSet$_literal(["global-variable-shadowing", "extend-selector-pseudoclass", "units-level-3", "at-error", "custom-property"], type$.String);
  126492. $._realCaseCache = function() {
  126493. var t1 = type$.String;
  126494. return A.LinkedHashMap_LinkedHashMap$_empty(t1, t1);
  126495. }();
  126496. $._selectorPseudoClasses = A.LinkedHashSet_LinkedHashSet$_literal(["not", "is", "matches", "where", "current", "any", "has", "host", "host-context"], type$.String);
  126497. $._selectorPseudoElements = A.LinkedHashSet_LinkedHashSet$_literal(["slotted"], type$.String);
  126498. $._glyphs = B.C_UnicodeGlyphSet;
  126499. $._rootishPseudoClasses0 = A.LinkedHashSet_LinkedHashSet$_literal(["root", "scope", "host", "host-context"], type$.String);
  126500. $._realCaseCache0 = function() {
  126501. var t1 = type$.String;
  126502. return A.LinkedHashMap_LinkedHashMap$_empty(t1, t1);
  126503. }();
  126504. $._features0 = A.LinkedHashSet_LinkedHashSet$_literal(["global-variable-shadowing", "extend-selector-pseudoclass", "units-level-3", "at-error", "custom-property"], type$.String);
  126505. $._selectorPseudoClasses0 = A.LinkedHashSet_LinkedHashSet$_literal(["not", "is", "matches", "where", "current", "any", "has", "host", "host-context"], type$.String);
  126506. $._selectorPseudoElements0 = A.LinkedHashSet_LinkedHashSet$_literal(["slotted"], type$.String);
  126507. $._subselectorPseudos0 = A.LinkedHashSet_LinkedHashSet$_literal(["is", "matches", "where", "any", "nth-child", "nth-last-child"], type$.String);
  126508. })();
  126509. (function lazyInitializers() {
  126510. var _lazyFinal = hunkHelpers.lazyFinal,
  126511. _lazy = hunkHelpers.lazy;
  126512. _lazyFinal($, "DART_CLOSURE_PROPERTY_NAME", "$get$DART_CLOSURE_PROPERTY_NAME", () => A.getIsolateAffinityTag("_$dart_dartClosure"));
  126513. _lazyFinal($, "nullFuture", "$get$nullFuture", () => B.C__RootZone.run$1$1(0, new A.nullFuture_closure(), A.findType("Future<~>")));
  126514. _lazyFinal($, "TypeErrorDecoder_noSuchMethodPattern", "$get$TypeErrorDecoder_noSuchMethodPattern", () => A.TypeErrorDecoder_extractPattern(A.TypeErrorDecoder_provokeCallErrorOn({
  126515. toString: function() {
  126516. return "$receiver$";
  126517. }
  126518. })));
  126519. _lazyFinal($, "TypeErrorDecoder_notClosurePattern", "$get$TypeErrorDecoder_notClosurePattern", () => A.TypeErrorDecoder_extractPattern(A.TypeErrorDecoder_provokeCallErrorOn({$method$: null,
  126520. toString: function() {
  126521. return "$receiver$";
  126522. }
  126523. })));
  126524. _lazyFinal($, "TypeErrorDecoder_nullCallPattern", "$get$TypeErrorDecoder_nullCallPattern", () => A.TypeErrorDecoder_extractPattern(A.TypeErrorDecoder_provokeCallErrorOn(null)));
  126525. _lazyFinal($, "TypeErrorDecoder_nullLiteralCallPattern", "$get$TypeErrorDecoder_nullLiteralCallPattern", () => A.TypeErrorDecoder_extractPattern(function() {
  126526. var $argumentsExpr$ = "$arguments$";
  126527. try {
  126528. null.$method$($argumentsExpr$);
  126529. } catch (e) {
  126530. return e.message;
  126531. }
  126532. }()));
  126533. _lazyFinal($, "TypeErrorDecoder_undefinedCallPattern", "$get$TypeErrorDecoder_undefinedCallPattern", () => A.TypeErrorDecoder_extractPattern(A.TypeErrorDecoder_provokeCallErrorOn(void 0)));
  126534. _lazyFinal($, "TypeErrorDecoder_undefinedLiteralCallPattern", "$get$TypeErrorDecoder_undefinedLiteralCallPattern", () => A.TypeErrorDecoder_extractPattern(function() {
  126535. var $argumentsExpr$ = "$arguments$";
  126536. try {
  126537. (void 0).$method$($argumentsExpr$);
  126538. } catch (e) {
  126539. return e.message;
  126540. }
  126541. }()));
  126542. _lazyFinal($, "TypeErrorDecoder_nullPropertyPattern", "$get$TypeErrorDecoder_nullPropertyPattern", () => A.TypeErrorDecoder_extractPattern(A.TypeErrorDecoder_provokePropertyErrorOn(null)));
  126543. _lazyFinal($, "TypeErrorDecoder_nullLiteralPropertyPattern", "$get$TypeErrorDecoder_nullLiteralPropertyPattern", () => A.TypeErrorDecoder_extractPattern(function() {
  126544. try {
  126545. null.$method$;
  126546. } catch (e) {
  126547. return e.message;
  126548. }
  126549. }()));
  126550. _lazyFinal($, "TypeErrorDecoder_undefinedPropertyPattern", "$get$TypeErrorDecoder_undefinedPropertyPattern", () => A.TypeErrorDecoder_extractPattern(A.TypeErrorDecoder_provokePropertyErrorOn(void 0)));
  126551. _lazyFinal($, "TypeErrorDecoder_undefinedLiteralPropertyPattern", "$get$TypeErrorDecoder_undefinedLiteralPropertyPattern", () => A.TypeErrorDecoder_extractPattern(function() {
  126552. try {
  126553. (void 0).$method$;
  126554. } catch (e) {
  126555. return e.message;
  126556. }
  126557. }()));
  126558. _lazyFinal($, "_AsyncRun__scheduleImmediateClosure", "$get$_AsyncRun__scheduleImmediateClosure", () => A._AsyncRun__initializeScheduleImmediate());
  126559. _lazyFinal($, "Future__nullFuture", "$get$Future__nullFuture", () => $.$get$nullFuture());
  126560. _lazyFinal($, "Future__falseFuture", "$get$Future__falseFuture", () => A._Future$zoneValue(false, B.C__RootZone, type$.bool));
  126561. _lazyFinal($, "_RootZone__rootMap", "$get$_RootZone__rootMap", () => {
  126562. var t1 = type$.dynamic;
  126563. return A.HashMap_HashMap(t1, t1);
  126564. });
  126565. _lazyFinal($, "_Utf8Decoder__reusableBuffer", "$get$_Utf8Decoder__reusableBuffer", () => A.NativeUint8List_NativeUint8List(4096));
  126566. _lazyFinal($, "_Utf8Decoder__decoder", "$get$_Utf8Decoder__decoder", () => new A._Utf8Decoder__decoder_closure().call$0());
  126567. _lazyFinal($, "_Utf8Decoder__decoderNonfatal", "$get$_Utf8Decoder__decoderNonfatal", () => new A._Utf8Decoder__decoderNonfatal_closure().call$0());
  126568. _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))));
  126569. _lazyFinal($, "_Uri__isWindowsCached", "$get$_Uri__isWindowsCached", () => {
  126570. var t1 = typeof process != "undefined" && Object.prototype.toString.call(process) == "[object process]" && process.platform == "win32";
  126571. return t1;
  126572. });
  126573. _lazyFinal($, "_Uri__needsNoEncoding", "$get$_Uri__needsNoEncoding", () => A.RegExp_RegExp("^[\\-\\.0-9A-Z_a-z~]*$", false));
  126574. _lazyFinal($, "_hashSeed", "$get$_hashSeed", () => A.objectHashCode(B.Type_Object_A4p));
  126575. _lazyFinal($, "Option__invalidChars", "$get$Option__invalidChars", () => A.RegExp_RegExp("[ \\t\\r\\n\"'\\\\/]", false));
  126576. _lazyFinal($, "_isStrictMode", "$get$_isStrictMode", () => new A._isStrictMode_closure().call$0());
  126577. _lazyFinal($, "alwaysValid", "$get$alwaysValid", () => new A.alwaysValid_closure());
  126578. _lazyFinal($, "readline", "$get$readline", () => self.readline);
  126579. _lazyFinal($, "windows", "$get$windows", () => A.Context_Context($.$get$Style_windows()));
  126580. _lazyFinal($, "url", "$get$url", () => A.Context_Context($.$get$Style_url()));
  126581. _lazyFinal($, "context", "$get$context", () => new A.Context($.$get$Style_platform(), null));
  126582. _lazyFinal($, "Style_posix", "$get$Style_posix", () => new A.PosixStyle(A.RegExp_RegExp("/", false), A.RegExp_RegExp("[^/]$", false), A.RegExp_RegExp("^/", false)));
  126583. _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)));
  126584. _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)));
  126585. _lazyFinal($, "Style_platform", "$get$Style_platform", () => A.Style__getPlatformStyle());
  126586. _lazyFinal($, "startVersion", "$get$startVersion", () => A.RegExp_RegExp("^(\\d+)\\.(\\d+)\\.(\\d+)(-([0-9A-Za-z-]+(\\.[0-9A-Za-z-]+)*))?(\\+([0-9A-Za-z-]+(\\.[0-9A-Za-z-]+)*))?", false));
  126587. _lazyFinal($, "completeVersion", "$get$completeVersion", () => A.RegExp_RegExp($.$get$startVersion().pattern + "$", false));
  126588. _lazyFinal($, "IfExpression_declaration", "$get$IfExpression_declaration", () => A.ParameterList_ParameterList$parse(string$.x40funct, null));
  126589. _lazyFinal($, "colorsByName", "$get$colorsByName", () => A.LinkedHashMap_LinkedHashMap$_literal(["yellowgreen", A.SassColor_SassColor$rgb(154, 205, 50, 1), "yellow", A.SassColor_SassColor$rgb(255, 255, 0, 1), "whitesmoke", A.SassColor_SassColor$rgb(245, 245, 245, 1), "white", A.SassColor_SassColor$rgb(255, 255, 255, 1), "wheat", A.SassColor_SassColor$rgb(245, 222, 179, 1), "violet", A.SassColor_SassColor$rgb(238, 130, 238, 1), "turquoise", A.SassColor_SassColor$rgb(64, 224, 208, 1), "transparent", A.SassColor_SassColor$rgb(0, 0, 0, 0), "tomato", A.SassColor_SassColor$rgb(255, 99, 71, 1), "thistle", A.SassColor_SassColor$rgb(216, 191, 216, 1), "teal", A.SassColor_SassColor$rgb(0, 128, 128, 1), "tan", A.SassColor_SassColor$rgb(210, 180, 140, 1), "steelblue", A.SassColor_SassColor$rgb(70, 130, 180, 1), "springgreen", A.SassColor_SassColor$rgb(0, 255, 127, 1), "snow", A.SassColor_SassColor$rgb(255, 250, 250, 1), "slategrey", A.SassColor_SassColor$rgb(112, 128, 144, 1), "slategray", A.SassColor_SassColor$rgb(112, 128, 144, 1), "slateblue", A.SassColor_SassColor$rgb(106, 90, 205, 1), "skyblue", A.SassColor_SassColor$rgb(135, 206, 235, 1), "silver", A.SassColor_SassColor$rgb(192, 192, 192, 1), "sienna", A.SassColor_SassColor$rgb(160, 82, 45, 1), "seashell", A.SassColor_SassColor$rgb(255, 245, 238, 1), "seagreen", A.SassColor_SassColor$rgb(46, 139, 87, 1), "sandybrown", A.SassColor_SassColor$rgb(244, 164, 96, 1), "salmon", A.SassColor_SassColor$rgb(250, 128, 114, 1), "saddlebrown", A.SassColor_SassColor$rgb(139, 69, 19, 1), "royalblue", A.SassColor_SassColor$rgb(65, 105, 225, 1), "rosybrown", A.SassColor_SassColor$rgb(188, 143, 143, 1), "red", A.SassColor_SassColor$rgb(255, 0, 0, 1), "rebeccapurple", A.SassColor_SassColor$rgb(102, 51, 153, 1), "purple", A.SassColor_SassColor$rgb(128, 0, 128, 1), "powderblue", A.SassColor_SassColor$rgb(176, 224, 230, 1), "plum", A.SassColor_SassColor$rgb(221, 160, 221, 1), "pink", A.SassColor_SassColor$rgb(255, 192, 203, 1), "peru", A.SassColor_SassColor$rgb(205, 133, 63, 1), "peachpuff", A.SassColor_SassColor$rgb(255, 218, 185, 1), "papayawhip", A.SassColor_SassColor$rgb(255, 239, 213, 1), "palevioletred", A.SassColor_SassColor$rgb(219, 112, 147, 1), "paleturquoise", A.SassColor_SassColor$rgb(175, 238, 238, 1), "palegreen", A.SassColor_SassColor$rgb(152, 251, 152, 1), "palegoldenrod", A.SassColor_SassColor$rgb(238, 232, 170, 1), "orchid", A.SassColor_SassColor$rgb(218, 112, 214, 1), "orangered", A.SassColor_SassColor$rgb(255, 69, 0, 1), "orange", A.SassColor_SassColor$rgb(255, 165, 0, 1), "olivedrab", A.SassColor_SassColor$rgb(107, 142, 35, 1), "olive", A.SassColor_SassColor$rgb(128, 128, 0, 1), "oldlace", A.SassColor_SassColor$rgb(253, 245, 230, 1), "navy", A.SassColor_SassColor$rgb(0, 0, 128, 1), "navajowhite", A.SassColor_SassColor$rgb(255, 222, 173, 1), "moccasin", A.SassColor_SassColor$rgb(255, 228, 181, 1), "mistyrose", A.SassColor_SassColor$rgb(255, 228, 225, 1), "mintcream", A.SassColor_SassColor$rgb(245, 255, 250, 1), "midnightblue", A.SassColor_SassColor$rgb(25, 25, 112, 1), "mediumvioletred", A.SassColor_SassColor$rgb(199, 21, 133, 1), "mediumturquoise", A.SassColor_SassColor$rgb(72, 209, 204, 1), "mediumspringgreen", A.SassColor_SassColor$rgb(0, 250, 154, 1), "mediumslateblue", A.SassColor_SassColor$rgb(123, 104, 238, 1), "mediumseagreen", A.SassColor_SassColor$rgb(60, 179, 113, 1), "mediumpurple", A.SassColor_SassColor$rgb(147, 112, 219, 1), "mediumorchid", A.SassColor_SassColor$rgb(186, 85, 211, 1), "mediumblue", A.SassColor_SassColor$rgb(0, 0, 205, 1), "mediumaquamarine", A.SassColor_SassColor$rgb(102, 205, 170, 1), "maroon", A.SassColor_SassColor$rgb(128, 0, 0, 1), "magenta", A.SassColor_SassColor$rgb(255, 0, 255, 1), "linen", A.SassColor_SassColor$rgb(250, 240, 230, 1), "limegreen", A.SassColor_SassColor$rgb(50, 205, 50, 1), "lime", A.SassColor_SassColor$rgb(0, 255, 0, 1), "lightyellow", A.SassColor_SassColor$rgb(255, 255, 224, 1), "lightsteelblue", A.SassColor_SassColor$rgb(176, 196, 222, 1), "lightslategrey", A.SassColor_SassColor$rgb(119, 136, 153, 1), "lightslategray", A.SassColor_SassColor$rgb(119, 136, 153, 1), "lightskyblue", A.SassColor_SassColor$rgb(135, 206, 250, 1), "lightseagreen", A.SassColor_SassColor$rgb(32, 178, 170, 1), "lightsalmon", A.SassColor_SassColor$rgb(255, 160, 122, 1), "lightpink", A.SassColor_SassColor$rgb(255, 182, 193, 1), "lightgrey", A.SassColor_SassColor$rgb(211, 211, 211, 1), "lightgreen", A.SassColor_SassColor$rgb(144, 238, 144, 1), "lightgray", A.SassColor_SassColor$rgb(211, 211, 211, 1), "lightgoldenrodyellow", A.SassColor_SassColor$rgb(250, 250, 210, 1), "lightcyan", A.SassColor_SassColor$rgb(224, 255, 255, 1), "lightcoral", A.SassColor_SassColor$rgb(240, 128, 128, 1), "lightblue", A.SassColor_SassColor$rgb(173, 216, 230, 1), "lemonchiffon", A.SassColor_SassColor$rgb(255, 250, 205, 1), "lawngreen", A.SassColor_SassColor$rgb(124, 252, 0, 1), "lavenderblush", A.SassColor_SassColor$rgb(255, 240, 245, 1), "lavender", A.SassColor_SassColor$rgb(230, 230, 250, 1), "khaki", A.SassColor_SassColor$rgb(240, 230, 140, 1), "ivory", A.SassColor_SassColor$rgb(255, 255, 240, 1), "indigo", A.SassColor_SassColor$rgb(75, 0, 130, 1), "indianred", A.SassColor_SassColor$rgb(205, 92, 92, 1), "hotpink", A.SassColor_SassColor$rgb(255, 105, 180, 1), "honeydew", A.SassColor_SassColor$rgb(240, 255, 240, 1), "grey", A.SassColor_SassColor$rgb(128, 128, 128, 1), "greenyellow", A.SassColor_SassColor$rgb(173, 255, 47, 1), "green", A.SassColor_SassColor$rgb(0, 128, 0, 1), "gray", A.SassColor_SassColor$rgb(128, 128, 128, 1), "goldenrod", A.SassColor_SassColor$rgb(218, 165, 32, 1), "gold", A.SassColor_SassColor$rgb(255, 215, 0, 1), "ghostwhite", A.SassColor_SassColor$rgb(248, 248, 255, 1), "gainsboro", A.SassColor_SassColor$rgb(220, 220, 220, 1), "fuchsia", A.SassColor_SassColor$rgb(255, 0, 255, 1), "forestgreen", A.SassColor_SassColor$rgb(34, 139, 34, 1), "floralwhite", A.SassColor_SassColor$rgb(255, 250, 240, 1), "firebrick", A.SassColor_SassColor$rgb(178, 34, 34, 1), "dodgerblue", A.SassColor_SassColor$rgb(30, 144, 255, 1), "dimgrey", A.SassColor_SassColor$rgb(105, 105, 105, 1), "dimgray", A.SassColor_SassColor$rgb(105, 105, 105, 1), "deepskyblue", A.SassColor_SassColor$rgb(0, 191, 255, 1), "deeppink", A.SassColor_SassColor$rgb(255, 20, 147, 1), "darkviolet", A.SassColor_SassColor$rgb(148, 0, 211, 1), "darkturquoise", A.SassColor_SassColor$rgb(0, 206, 209, 1), "darkslategrey", A.SassColor_SassColor$rgb(47, 79, 79, 1), "darkslategray", A.SassColor_SassColor$rgb(47, 79, 79, 1), "darkslateblue", A.SassColor_SassColor$rgb(72, 61, 139, 1), "darkseagreen", A.SassColor_SassColor$rgb(143, 188, 143, 1), "darksalmon", A.SassColor_SassColor$rgb(233, 150, 122, 1), "darkred", A.SassColor_SassColor$rgb(139, 0, 0, 1), "darkorchid", A.SassColor_SassColor$rgb(153, 50, 204, 1), "darkorange", A.SassColor_SassColor$rgb(255, 140, 0, 1), "darkolivegreen", A.SassColor_SassColor$rgb(85, 107, 47, 1), "darkmagenta", A.SassColor_SassColor$rgb(139, 0, 139, 1), "darkkhaki", A.SassColor_SassColor$rgb(189, 183, 107, 1), "darkgrey", A.SassColor_SassColor$rgb(169, 169, 169, 1), "darkgreen", A.SassColor_SassColor$rgb(0, 100, 0, 1), "darkgray", A.SassColor_SassColor$rgb(169, 169, 169, 1), "darkgoldenrod", A.SassColor_SassColor$rgb(184, 134, 11, 1), "darkcyan", A.SassColor_SassColor$rgb(0, 139, 139, 1), "darkblue", A.SassColor_SassColor$rgb(0, 0, 139, 1), "cyan", A.SassColor_SassColor$rgb(0, 255, 255, 1), "crimson", A.SassColor_SassColor$rgb(220, 20, 60, 1), "cornsilk", A.SassColor_SassColor$rgb(255, 248, 220, 1), "cornflowerblue", A.SassColor_SassColor$rgb(100, 149, 237, 1), "coral", A.SassColor_SassColor$rgb(255, 127, 80, 1), "chocolate", A.SassColor_SassColor$rgb(210, 105, 30, 1), "chartreuse", A.SassColor_SassColor$rgb(127, 255, 0, 1), "cadetblue", A.SassColor_SassColor$rgb(95, 158, 160, 1), "burlywood", A.SassColor_SassColor$rgb(222, 184, 135, 1), "brown", A.SassColor_SassColor$rgb(165, 42, 42, 1), "blueviolet", A.SassColor_SassColor$rgb(138, 43, 226, 1), "blue", A.SassColor_SassColor$rgb(0, 0, 255, 1), "blanchedalmond", A.SassColor_SassColor$rgb(255, 235, 205, 1), "black", A.SassColor_SassColor$rgb(0, 0, 0, 1), "bisque", A.SassColor_SassColor$rgb(255, 228, 196, 1), "beige", A.SassColor_SassColor$rgb(245, 245, 220, 1), "azure", A.SassColor_SassColor$rgb(240, 255, 255, 1), "aquamarine", A.SassColor_SassColor$rgb(127, 255, 212, 1), "aqua", A.SassColor_SassColor$rgb(0, 255, 255, 1), "antiquewhite", A.SassColor_SassColor$rgb(250, 235, 215, 1), "aliceblue", A.SassColor_SassColor$rgb(240, 248, 255, 1)], type$.String, type$.SassColor));
  126590. _lazyFinal($, "namesByColor", "$get$namesByColor", () => {
  126591. var $name,
  126592. t1 = type$.SassColor,
  126593. t2 = type$.String,
  126594. t3 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t2);
  126595. for (t1 = A.MapExtensions_get_pairs($.$get$colorsByName(), t2, t1), t1 = t1.get$iterator(t1); t1.moveNext$0();) {
  126596. t2 = t1.get$current(t1);
  126597. $name = t2._0;
  126598. t3.$indexSet(0, t2._1, $name);
  126599. }
  126600. return t3;
  126601. });
  126602. _lazyFinal($, "ExecutableOptions__separatorBar", "$get$ExecutableOptions__separatorBar", () => A.isWindows() ? "=" : "\u2501");
  126603. _lazyFinal($, "ExecutableOptions__parser", "$get$ExecutableOptions__parser", () => new A.ExecutableOptions__parser_closure().call$0());
  126604. _lazyFinal($, "globalFunctions", "$get$globalFunctions", () => {
  126605. var t1 = type$.BuiltInCallable,
  126606. t2 = A.List_List$of($.$get$global(), true, t1);
  126607. B.JSArray_methods.addAll$1(t2, $.$get$global0());
  126608. B.JSArray_methods.addAll$1(t2, $.$get$global1());
  126609. B.JSArray_methods.addAll$1(t2, $.$get$global2());
  126610. B.JSArray_methods.addAll$1(t2, $.$get$global3());
  126611. B.JSArray_methods.addAll$1(t2, $.$get$global4());
  126612. B.JSArray_methods.addAll$1(t2, $.$get$global5());
  126613. t2.push(A.BuiltInCallable$function("if", "$condition, $if-true, $if-false", new A.globalFunctions_closure(), null));
  126614. return A.UnmodifiableListView$(t2, t1);
  126615. });
  126616. _lazyFinal($, "coreModules", "$get$coreModules", () => A.UnmodifiableListView$(A._setArrayType([$.$get$module(), $.$get$module0(), $.$get$module1(), $.$get$module2(), $.$get$module3(), $.$get$module4()], A.findType("JSArray<BuiltInModule<Callable0>>")), type$.BuiltInModule_Callable));
  126617. _lazyFinal($, "_microsoftFilterStart", "$get$_microsoftFilterStart", () => A.RegExp_RegExp("^[a-zA-Z]+\\s*=", false));
  126618. _lazyFinal($, "global", "$get$global", () => {
  126619. var _s5_ = "color",
  126620. _s27_ = "$red, $green, $blue, $alpha",
  126621. _s19_ = "$red, $green, $blue",
  126622. _s9_ = "$channels",
  126623. _s37_ = "$hue, $saturation, $lightness, $alpha",
  126624. _s29_ = "$hue, $saturation, $lightness",
  126625. _s17_ = "$hue, $saturation",
  126626. _s6_ = "adjust",
  126627. _s15_ = "$color, $amount",
  126628. t1 = type$.String,
  126629. t2 = type$.Value_Function_List_Value;
  126630. return A.UnmodifiableListView$(A._setArrayType([A._channelFunction("red", B.RgbColorSpace_i0P, new A.global_closure0(), true, null).withDeprecationWarning$1(_s5_), A._channelFunction("green", B.RgbColorSpace_i0P, new A.global_closure1(), true, null).withDeprecationWarning$1(_s5_), A._channelFunction("blue", B.RgbColorSpace_i0P, new A.global_closure2(), true, null).withDeprecationWarning$1(_s5_), $.$get$_mix().withDeprecationWarning$1(_s5_), A.BuiltInCallable$overloadedFunction("rgb", A.LinkedHashMap_LinkedHashMap$_literal([_s27_, new A.global_closure3(), _s19_, new A.global_closure4(), "$color, $alpha", new A.global_closure5(), "$channels", new A.global_closure6()], t1, t2)), A.BuiltInCallable$overloadedFunction("rgba", A.LinkedHashMap_LinkedHashMap$_literal([_s27_, new A.global_closure7(), _s19_, new A.global_closure8(), "$color, $alpha", new A.global_closure9(), "$channels", new A.global_closure10()], t1, t2)), A._function5("invert", "$color, $weight: 100%, $space: null", new A.global_closure11()), A._channelFunction("hue", B.HslColorSpace_JQ2, new A.global_closure12(), true, "deg").withDeprecationWarning$1(_s5_), A._channelFunction("saturation", B.HslColorSpace_JQ2, new A.global_closure13(), true, "%").withDeprecationWarning$1(_s5_), A._channelFunction("lightness", B.HslColorSpace_JQ2, new A.global_closure14(), true, "%").withDeprecationWarning$1(_s5_), A.BuiltInCallable$overloadedFunction("hsl", A.LinkedHashMap_LinkedHashMap$_literal([_s37_, new A.global_closure15(), _s29_, new A.global_closure16(), _s17_, new A.global_closure17(), "$channels", new A.global_closure18()], t1, t2)), A.BuiltInCallable$overloadedFunction("hsla", A.LinkedHashMap_LinkedHashMap$_literal([_s37_, new A.global_closure19(), _s29_, new A.global_closure20(), _s17_, new A.global_closure21(), "$channels", new A.global_closure22()], t1, t2)), A._function5("grayscale", "$color", new A.global_closure23()), A._function5("adjust-hue", "$color, $degrees", new A.global_closure24()).withDeprecationWarning$2(_s5_, _s6_), A._function5("lighten", _s15_, new A.global_closure25()).withDeprecationWarning$2(_s5_, _s6_), A._function5("darken", _s15_, new A.global_closure26()).withDeprecationWarning$2(_s5_, _s6_), A.BuiltInCallable$overloadedFunction("saturate", A.LinkedHashMap_LinkedHashMap$_literal(["$amount", new A.global_closure27(), "$color, $amount", new A.global_closure28()], t1, t2)), A._function5("desaturate", _s15_, new A.global_closure29()).withDeprecationWarning$2(_s5_, _s6_), A._function5("opacify", _s15_, new A.global_closure30()).withDeprecationWarning$2(_s5_, _s6_), A._function5("fade-in", _s15_, new A.global_closure31()).withDeprecationWarning$2(_s5_, _s6_), A._function5("transparentize", _s15_, new A.global_closure32()).withDeprecationWarning$2(_s5_, _s6_), A._function5("fade-out", _s15_, new A.global_closure33()).withDeprecationWarning$2(_s5_, _s6_), A.BuiltInCallable$overloadedFunction("alpha", A.LinkedHashMap_LinkedHashMap$_literal(["$color", new A.global_closure34(), "$args...", new A.global_closure35()], t1, t2)), A._function5("opacity", "$color", new A.global_closure36()), A._function5(_s5_, "$description", new A.global_closure37()), A._function5("hwb", _s9_, new A.global_closure38()), A._function5("lab", _s9_, new A.global_closure39()), A._function5("lch", _s9_, new A.global_closure40()), A._function5("oklab", _s9_, new A.global_closure41()), A._function5("oklch", _s9_, new A.global_closure42()), $.$get$_complement().withDeprecationWarning$1(_s5_), $.$get$_ieHexStr(), $.$get$_adjust().withDeprecationWarning$1(_s5_).withName$1("adjust-color"), $.$get$_scale().withDeprecationWarning$1(_s5_).withName$1("scale-color"), $.$get$_change().withDeprecationWarning$1(_s5_).withName$1("change-color")], type$.JSArray_BuiltInCallable), type$.BuiltInCallable);
  126631. });
  126632. _lazyFinal($, "module", "$get$module", () => {
  126633. var _null = null,
  126634. _s10_ = "saturation",
  126635. _s9_ = "lightness",
  126636. _s6_ = "$color", _s5_ = "alpha",
  126637. _s30_ = "$color, $channel, $space: null",
  126638. t1 = type$.String,
  126639. t2 = type$.Value_Function_List_Value;
  126640. return A.BuiltInModule$("color", A._setArrayType([A._channelFunction("red", B.RgbColorSpace_i0P, new A.module_closure1(), false, _null), A._channelFunction("green", B.RgbColorSpace_i0P, new A.module_closure2(), false, _null), A._channelFunction("blue", B.RgbColorSpace_i0P, new A.module_closure3(), false, _null), $.$get$_mix(), A._function5("invert", "$color, $weight: 100%, $space: null", new A.module_closure4()), A._channelFunction("hue", B.HslColorSpace_JQ2, new A.module_closure5(), false, "deg"), A._channelFunction(_s10_, B.HslColorSpace_JQ2, new A.module_closure6(), false, "%"), A._channelFunction(_s9_, B.HslColorSpace_JQ2, new A.module_closure7(), false, "%"), A._removedColorFunction("adjust-hue", "hue", false), A._removedColorFunction("lighten", _s9_, false), A._removedColorFunction("darken", _s9_, true), A._removedColorFunction("saturate", _s10_, false), A._removedColorFunction("desaturate", _s10_, true), A._function5("grayscale", _s6_, new A.module_closure8()), A.BuiltInCallable$overloadedFunction("hwb", A.LinkedHashMap_LinkedHashMap$_literal(["$hue, $whiteness, $blackness, $alpha: 1", new A.module_closure9(), "$channels", new A.module_closure10()], t1, t2)), A._channelFunction("whiteness", B.HwbColorSpace_guQ, new A.module_closure11(), false, "%"), A._channelFunction("blackness", B.HwbColorSpace_guQ, new A.module_closure12(), false, "%"), A._removedColorFunction("opacify", _s5_, false), A._removedColorFunction("fade-in", _s5_, false), A._removedColorFunction("transparentize", _s5_, true), A._removedColorFunction("fade-out", _s5_, true), A.BuiltInCallable$overloadedFunction(_s5_, A.LinkedHashMap_LinkedHashMap$_literal(["$color", new A.module_closure13(), "$args...", new A.module_closure14()], t1, t2)), A._function5("opacity", _s6_, new A.module_closure15()), A._function5("space", _s6_, new A.module_closure16()), A._function5("to-space", "$color, $space", new A.module_closure17()), A._function5("is-legacy", _s6_, new A.module_closure18()), A._function5("is-missing", "$color, $channel", new A.module_closure19()), A._function5("is-in-gamut", "$color, $space: null", new A.module_closure20()), A._function5("to-gamut", "$color, $space: null, $method: null", new A.module_closure21()), A._function5("channel", _s30_, new A.module_closure22()), A._function5("same", "$color1, $color2", new A.module_closure23()), A._function5("is-powerless", _s30_, new A.module_closure24()), $.$get$_complement(), $.$get$_adjust(), $.$get$_scale(), $.$get$_change(), $.$get$_ieHexStr()], type$.JSArray_Callable), _null, _null, type$.Callable);
  126641. });
  126642. _lazyFinal($, "_mix", "$get$_mix", () => A._function5("mix", string$.x24color, new A._mix_closure()));
  126643. _lazyFinal($, "_complement", "$get$_complement", () => A._function5("complement", "$color, $space: null", new A._complement_closure()));
  126644. _lazyFinal($, "_adjust", "$get$_adjust", () => A._function5("adjust", "$color, $kwargs...", new A._adjust_closure()));
  126645. _lazyFinal($, "_scale", "$get$_scale", () => A._function5("scale", "$color, $kwargs...", new A._scale_closure()));
  126646. _lazyFinal($, "_change", "$get$_change", () => A._function5("change", "$color, $kwargs...", new A._change_closure()));
  126647. _lazyFinal($, "_ieHexStr", "$get$_ieHexStr", () => A._function5("ie-hex-str", "$color", new A._ieHexStr_closure()));
  126648. _lazyFinal($, "global0", "$get$global0", () => {
  126649. var _s4_ = "list";
  126650. return A.UnmodifiableListView$(A._setArrayType([$.$get$_length0().withDeprecationWarning$1(_s4_), $.$get$_nth().withDeprecationWarning$1(_s4_), $.$get$_setNth().withDeprecationWarning$1(_s4_), $.$get$_join().withDeprecationWarning$1(_s4_), $.$get$_append0().withDeprecationWarning$1(_s4_), $.$get$_zip().withDeprecationWarning$1(_s4_), $.$get$_index0().withDeprecationWarning$1(_s4_), $.$get$_isBracketed().withDeprecationWarning$1(_s4_), $.$get$_separator().withDeprecationWarning$1(_s4_).withName$1("list-separator")], type$.JSArray_BuiltInCallable), type$.BuiltInCallable);
  126651. });
  126652. _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));
  126653. _lazyFinal($, "_length", "$get$_length0", () => A._function4("length", "$list", new A._length_closure0()));
  126654. _lazyFinal($, "_nth", "$get$_nth", () => A._function4("nth", "$list, $n", new A._nth_closure()));
  126655. _lazyFinal($, "_setNth", "$get$_setNth", () => A._function4("set-nth", "$list, $n, $value", new A._setNth_closure()));
  126656. _lazyFinal($, "_join", "$get$_join", () => A._function4("join", string$.x24list1, new A._join_closure()));
  126657. _lazyFinal($, "_append", "$get$_append0", () => A._function4("append", "$list, $val, $separator: auto", new A._append_closure0()));
  126658. _lazyFinal($, "_zip", "$get$_zip", () => A._function4("zip", "$lists...", new A._zip_closure()));
  126659. _lazyFinal($, "_index", "$get$_index0", () => A._function4("index", "$list, $value", new A._index_closure0()));
  126660. _lazyFinal($, "_separator", "$get$_separator", () => A._function4("separator", "$list", new A._separator_closure()));
  126661. _lazyFinal($, "_isBracketed", "$get$_isBracketed", () => A._function4("is-bracketed", "$list", new A._isBracketed_closure()));
  126662. _lazyFinal($, "_slash", "$get$_slash", () => A._function4("slash", "$elements...", new A._slash_closure()));
  126663. _lazyFinal($, "global1", "$get$global1", () => {
  126664. var _s3_ = "map";
  126665. return A.UnmodifiableListView$(A._setArrayType([$.$get$_get().withDeprecationWarning$1(_s3_).withName$1("map-get"), $.$get$_merge().withDeprecationWarning$1(_s3_).withName$1("map-merge"), $.$get$_remove().withDeprecationWarning$1(_s3_).withName$1("map-remove"), $.$get$_keys().withDeprecationWarning$1(_s3_).withName$1("map-keys"), $.$get$_values().withDeprecationWarning$1(_s3_).withName$1("map-values"), $.$get$_hasKey().withDeprecationWarning$1(_s3_).withName$1("map-has-key")], type$.JSArray_BuiltInCallable), type$.BuiltInCallable);
  126666. });
  126667. _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));
  126668. _lazyFinal($, "_get", "$get$_get", () => A._function3("get", "$map, $key, $keys...", new A._get_closure()));
  126669. _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)));
  126670. _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)));
  126671. _lazyFinal($, "_deepMerge", "$get$_deepMerge", () => A._function3("deep-merge", "$map1, $map2", new A._deepMerge_closure()));
  126672. _lazyFinal($, "_deepRemove", "$get$_deepRemove", () => A._function3("deep-remove", "$map, $key, $keys...", new A._deepRemove_closure()));
  126673. _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)));
  126674. _lazyFinal($, "_keys", "$get$_keys", () => A._function3("keys", "$map", new A._keys_closure()));
  126675. _lazyFinal($, "_values", "$get$_values", () => A._function3("values", "$map", new A._values_closure()));
  126676. _lazyFinal($, "_hasKey", "$get$_hasKey", () => A._function3("has-key", "$map, $key, $keys...", new A._hasKey_closure()));
  126677. _lazyFinal($, "global2", "$get$global2", () => {
  126678. var _s4_ = "math";
  126679. return A.UnmodifiableListView$(A._setArrayType([A._function2("abs", "$number", new A.global_closure()), $.$get$_ceil().withDeprecationWarning$1(_s4_), $.$get$_floor().withDeprecationWarning$1(_s4_), $.$get$_max().withDeprecationWarning$1(_s4_), $.$get$_min().withDeprecationWarning$1(_s4_), $.$get$_percentage().withDeprecationWarning$1(_s4_), $.$get$_randomFunction().withDeprecationWarning$1(_s4_), $.$get$_round().withDeprecationWarning$1(_s4_), $.$get$_unit().withDeprecationWarning$1(_s4_), $.$get$_compatible().withDeprecationWarning$1(_s4_).withName$1("comparable"), $.$get$_isUnitless().withDeprecationWarning$1(_s4_).withName$1("unitless")], type$.JSArray_BuiltInCallable), type$.BuiltInCallable);
  126680. });
  126681. _lazyFinal($, "module2", "$get$module2", () => {
  126682. var _null = null;
  126683. return A.BuiltInModule$("math", A._setArrayType([A._numberFunction("abs", new A.module_closure0()), $.$get$_acos(), $.$get$_asin(), $.$get$_atan(), $.$get$_atan2(), $.$get$_ceil(), $.$get$_clamp(), $.$get$_cos(), $.$get$_compatible(), $.$get$_floor(), $.$get$_hypot(), $.$get$_isUnitless(), $.$get$_log(), $.$get$_max(), $.$get$_min(), $.$get$_percentage(), $.$get$_pow(), $.$get$_randomFunction(), $.$get$_round(), $.$get$_sin(), $.$get$_sqrt(), $.$get$_tan(), $.$get$_unit(), $.$get$_div()], type$.JSArray_Callable), _null, A.LinkedHashMap_LinkedHashMap$_literal(["e", A.SassNumber_SassNumber(2.718281828459045, _null), "pi", A.SassNumber_SassNumber(3.141592653589793, _null), "epsilon", A.SassNumber_SassNumber(2220446049250313e-31, _null), "max-safe-integer", A.SassNumber_SassNumber(9007199254740991, _null), "min-safe-integer", A.SassNumber_SassNumber(-9007199254740991, _null), "max-number", A.SassNumber_SassNumber(17976931348623157e292, _null), "min-number", A.SassNumber_SassNumber(5e-324, _null)], type$.String, type$.Value), type$.Callable);
  126684. });
  126685. _lazyFinal($, "_ceil", "$get$_ceil", () => A._numberFunction("ceil", new A._ceil_closure()));
  126686. _lazyFinal($, "_clamp", "$get$_clamp", () => A._function2("clamp", "$min, $number, $max", new A._clamp_closure()));
  126687. _lazyFinal($, "_floor", "$get$_floor", () => A._numberFunction("floor", new A._floor_closure()));
  126688. _lazyFinal($, "_max", "$get$_max", () => A._function2("max", "$numbers...", new A._max_closure()));
  126689. _lazyFinal($, "_min", "$get$_min", () => A._function2("min", "$numbers...", new A._min_closure()));
  126690. _lazyFinal($, "_round", "$get$_round", () => A._numberFunction("round", new A._round_closure()));
  126691. _lazyFinal($, "_hypot", "$get$_hypot", () => A._function2("hypot", "$numbers...", new A._hypot_closure()));
  126692. _lazyFinal($, "_log", "$get$_log", () => A._function2("log", "$number, $base: null", new A._log_closure()));
  126693. _lazyFinal($, "_pow", "$get$_pow", () => A._function2("pow", "$base, $exponent", new A._pow_closure()));
  126694. _lazyFinal($, "_sqrt", "$get$_sqrt", () => A._singleArgumentMathFunc("sqrt", A.number0__sqrt$closure()));
  126695. _lazyFinal($, "_acos", "$get$_acos", () => A._singleArgumentMathFunc("acos", A.number0__acos$closure()));
  126696. _lazyFinal($, "_asin", "$get$_asin", () => A._singleArgumentMathFunc("asin", A.number0__asin$closure()));
  126697. _lazyFinal($, "_atan", "$get$_atan", () => A._singleArgumentMathFunc("atan", A.number0__atan$closure()));
  126698. _lazyFinal($, "_atan2", "$get$_atan2", () => A._function2("atan2", "$y, $x", new A._atan2_closure()));
  126699. _lazyFinal($, "_cos", "$get$_cos", () => A._singleArgumentMathFunc("cos", A.number0__cos$closure()));
  126700. _lazyFinal($, "_sin", "$get$_sin", () => A._singleArgumentMathFunc("sin", A.number0__sin$closure()));
  126701. _lazyFinal($, "_tan", "$get$_tan", () => A._singleArgumentMathFunc("tan", A.number0__tan$closure()));
  126702. _lazyFinal($, "_compatible", "$get$_compatible", () => A._function2("compatible", "$number1, $number2", new A._compatible_closure()));
  126703. _lazyFinal($, "_isUnitless", "$get$_isUnitless", () => A._function2("is-unitless", "$number", new A._isUnitless_closure()));
  126704. _lazyFinal($, "_unit", "$get$_unit", () => A._function2("unit", "$number", new A._unit_closure()));
  126705. _lazyFinal($, "_percentage", "$get$_percentage", () => A._function2("percentage", "$number", new A._percentage_closure()));
  126706. _lazyFinal($, "_random", "$get$_random0", () => A.Random_Random());
  126707. _lazyFinal($, "_randomFunction", "$get$_randomFunction", () => A._function2("random", "$limit: null", new A._randomFunction_closure()));
  126708. _lazyFinal($, "_div", "$get$_div", () => A._function2("div", "$number1, $number2", new A._div_closure()));
  126709. _lazyFinal($, "_shared", "$get$_shared", () => A.UnmodifiableListView$(A._setArrayType([A._function("feature-exists", "$feature", new A._shared_closure()), A._function("inspect", "$value", new A._shared_closure0()), A._function("type-of", "$value", new A._shared_closure1()), A._function("keywords", "$args", new A._shared_closure2())], type$.JSArray_BuiltInCallable), type$.BuiltInCallable));
  126710. _lazyFinal($, "global3", "$get$global5", () => {
  126711. var t2,
  126712. t1 = A._setArrayType([], type$.JSArray_BuiltInCallable);
  126713. for (t2 = $.$get$_shared(), t2 = t2.get$iterator(t2); t2.moveNext$0();)
  126714. t1.push(t2.get$current(0).withDeprecationWarning$1("meta"));
  126715. return A.UnmodifiableListView$(t1, type$.BuiltInCallable);
  126716. });
  126717. _lazyFinal($, "moduleFunctions", "$get$moduleFunctions", () => {
  126718. var t1 = type$.BuiltInCallable,
  126719. t2 = A.List_List$of($.$get$_shared(), true, t1);
  126720. t2.push(A._function("calc-name", "$calc", new A.moduleFunctions_closure()));
  126721. t2.push(A._function("calc-args", "$calc", new A.moduleFunctions_closure0()));
  126722. t2.push(A._function("accepts-content", "$mixin", new A.moduleFunctions_closure1()));
  126723. return A.UnmodifiableListView$(t2, t1);
  126724. });
  126725. _lazyFinal($, "global4", "$get$global3", () => {
  126726. var _s8_ = "selector";
  126727. return A.UnmodifiableListView$(A._setArrayType([$.$get$_isSuperselector().withDeprecationWarning$1(_s8_), $.$get$_simpleSelectors().withDeprecationWarning$1(_s8_), $.$get$_parse().withDeprecationWarning$1(_s8_).withName$1("selector-parse"), $.$get$_nest().withDeprecationWarning$1(_s8_).withName$1("selector-nest"), $.$get$_append().withDeprecationWarning$1(_s8_).withName$1("selector-append"), $.$get$_extend().withDeprecationWarning$1(_s8_).withName$1("selector-extend"), $.$get$_replace().withDeprecationWarning$1(_s8_).withName$1("selector-replace"), $.$get$_unify().withDeprecationWarning$1(_s8_).withName$1("selector-unify")], type$.JSArray_BuiltInCallable), type$.BuiltInCallable);
  126728. });
  126729. _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));
  126730. _lazyFinal($, "_nest", "$get$_nest", () => A._function1("nest", "$selectors...", new A._nest_closure()));
  126731. _lazyFinal($, "_append0", "$get$_append", () => A._function1("append", "$selectors...", new A._append_closure()));
  126732. _lazyFinal($, "_extend", "$get$_extend", () => A._function1("extend", "$selector, $extendee, $extender", new A._extend_closure()));
  126733. _lazyFinal($, "_replace", "$get$_replace", () => A._function1("replace", "$selector, $original, $replacement", new A._replace_closure()));
  126734. _lazyFinal($, "_unify", "$get$_unify", () => A._function1("unify", "$selector1, $selector2", new A._unify_closure()));
  126735. _lazyFinal($, "_isSuperselector", "$get$_isSuperselector", () => A._function1("is-superselector", "$super, $sub", new A._isSuperselector_closure()));
  126736. _lazyFinal($, "_simpleSelectors", "$get$_simpleSelectors", () => A._function1("simple-selectors", "$selector", new A._simpleSelectors_closure()));
  126737. _lazyFinal($, "_parse0", "$get$_parse", () => A._function1("parse", "$selector", new A._parse_closure()));
  126738. _lazyFinal($, "_random0", "$get$_random", () => A.Random_Random());
  126739. _lazy($, "_previousUniqueId", "$get$_previousUniqueId", () => $.$get$_random().nextInt$1(A._asInt(A.pow(36, 6))));
  126740. _lazyFinal($, "global5", "$get$global4", () => {
  126741. var _s6_ = "string";
  126742. return A.UnmodifiableListView$(A._setArrayType([$.$get$_unquote().withDeprecationWarning$1(_s6_), $.$get$_quote().withDeprecationWarning$1(_s6_), $.$get$_toUpperCase().withDeprecationWarning$1(_s6_), $.$get$_toLowerCase().withDeprecationWarning$1(_s6_), $.$get$_uniqueId().withDeprecationWarning$1(_s6_), $.$get$_length().withDeprecationWarning$1(_s6_).withName$1("str-length"), $.$get$_insert().withDeprecationWarning$1(_s6_).withName$1("str-insert"), $.$get$_index().withDeprecationWarning$1(_s6_).withName$1("str-index"), $.$get$_slice().withDeprecationWarning$1(_s6_).withName$1("str-slice")], type$.JSArray_BuiltInCallable), type$.BuiltInCallable);
  126743. });
  126744. _lazyFinal($, "module4", "$get$module4", () => A.BuiltInModule$("string", A._setArrayType([$.$get$_unquote(), $.$get$_quote(), $.$get$_toUpperCase(), $.$get$_toLowerCase(), $.$get$_length(), $.$get$_insert(), $.$get$_index(), $.$get$_slice(), $.$get$_uniqueId(), A._function0("split", "$string, $separator, $limit: null", new A.module_closure())], type$.JSArray_Callable), null, null, type$.Callable));
  126745. _lazyFinal($, "_unquote", "$get$_unquote", () => A._function0("unquote", "$string", new A._unquote_closure()));
  126746. _lazyFinal($, "_quote", "$get$_quote", () => A._function0("quote", "$string", new A._quote_closure()));
  126747. _lazyFinal($, "_length0", "$get$_length", () => A._function0("length", "$string", new A._length_closure()));
  126748. _lazyFinal($, "_insert", "$get$_insert", () => A._function0("insert", "$string, $insert, $index", new A._insert_closure()));
  126749. _lazyFinal($, "_index0", "$get$_index", () => A._function0("index", "$string, $substring", new A._index_closure()));
  126750. _lazyFinal($, "_slice", "$get$_slice", () => A._function0("slice", "$string, $start-at, $end-at: -1", new A._slice_closure()));
  126751. _lazyFinal($, "_toUpperCase", "$get$_toUpperCase", () => A._function0("to-upper-case", "$string", new A._toUpperCase_closure()));
  126752. _lazyFinal($, "_toLowerCase", "$get$_toLowerCase", () => A._function0("to-lower-case", "$string", new A._toLowerCase_closure()));
  126753. _lazyFinal($, "_uniqueId", "$get$_uniqueId", () => A._function0("unique-id", "", new A._uniqueId_closure()));
  126754. _lazyFinal($, "FilesystemImporter_cwd", "$get$FilesystemImporter_cwd", () => {
  126755. var _null = null;
  126756. return new A.FilesystemImporter(A.absolute(".", _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null), true);
  126757. });
  126758. _lazyFinal($, "FilesystemImporter_noLoadPath", "$get$FilesystemImporter_noLoadPath", () => new A.FilesystemImporter(null, false));
  126759. _lazyFinal($, "_jsThrow", "$get$_jsThrow0", () => new self.Function("error", "throw error;"));
  126760. _lazyFinal($, "Logger_quiet", "$get$Logger_quiet", () => new A._QuietLogger());
  126761. _lazyFinal($, "_disallowedFunctionNames", "$get$_disallowedFunctionNames", () => {
  126762. var t1 = $.$get$globalFunctions();
  126763. t1 = t1.map$1$1(t1, new A._disallowedFunctionNames_closure(), type$.String).toSet$0(0);
  126764. t1.add$1(0, "if");
  126765. t1.remove$1(0, "abs");
  126766. t1.remove$1(0, "alpha");
  126767. t1.remove$1(0, "color");
  126768. t1.remove$1(0, "grayscale");
  126769. t1.remove$1(0, "hsl");
  126770. t1.remove$1(0, "hsla");
  126771. t1.remove$1(0, "hwb");
  126772. t1.remove$1(0, "invert");
  126773. t1.remove$1(0, "lab");
  126774. t1.remove$1(0, "lch");
  126775. t1.remove$1(0, "max");
  126776. t1.remove$1(0, "min");
  126777. t1.remove$1(0, "oklab");
  126778. t1.remove$1(0, "oklch");
  126779. t1.remove$1(0, "opacity");
  126780. t1.remove$1(0, "rgb");
  126781. t1.remove$1(0, "rgba");
  126782. t1.remove$1(0, "round");
  126783. t1.remove$1(0, "saturate");
  126784. return t1;
  126785. });
  126786. _lazyFinal($, "_epsilon", "$get$_epsilon", () => A.pow(10, -11));
  126787. _lazyFinal($, "_inverseEpsilon", "$get$_inverseEpsilon", () => A.pow(10, 11));
  126788. _lazyFinal($, "bogusSpan", "$get$bogusSpan", () => A.SourceFile$decoded(A._setArrayType([], type$.JSArray_int), null).span$1(0, 0));
  126789. _lazyFinal($, "_noSourceUrl", "$get$_noSourceUrl", () => A.Uri_parse("-"));
  126790. _lazyFinal($, "_traces", "$get$_traces", () => A.Expando$());
  126791. _lazyFinal($, "lmsToOklab", "$get$lmsToOklab", () => A.NativeFloat64List_NativeFloat64List$fromList(A._setArrayType([0.210454268309314, 0.7936177747023054, -0.0040720430116193, 1.9779985324311684, -2.42859224204858, 0.450593709617411, 0.0259040424655478, 0.7827717124575296, -0.8086757549230774], type$.JSArray_double)));
  126792. _lazyFinal($, "oklabToLms", "$get$oklabToLms", () => A.NativeFloat64List_NativeFloat64List$fromList(A._setArrayType([1.0000000000000002, 0.3963377773761749, 0.2158037573099136, 0.9999999999999998, -0.10556134581565854, -0.06385417282581334, 0.9999999999999999, -0.0894841775298118, -1.2914855480194094], type$.JSArray_double)));
  126793. _lazyFinal($, "linearSrgbToLinearDisplayP3", "$get$linearSrgbToLinearDisplayP3", () => A.NativeFloat64List_NativeFloat64List$fromList(A._setArrayType([0.8224619687143623, 0.17753803128563775, 0, 0.03319419885096161, 0.9668058011490384, 0, 0.01708263072112003, 0.07239744066396346, 0.9105199286149165], type$.JSArray_double)));
  126794. _lazyFinal($, "linearDisplayP3ToLinearSrgb", "$get$linearDisplayP3ToLinearSrgb", () => A.NativeFloat64List_NativeFloat64List$fromList(A._setArrayType([1.2249401762805598, -0.22494017628055996, 0, -0.04205695470968816, 1.042056954709688, 0, -0.01963755459033443, -0.07863604555063188, 1.0982736001409663], type$.JSArray_double)));
  126795. _lazyFinal($, "linearSrgbToLinearA98Rgb", "$get$linearSrgbToLinearA98Rgb", () => A.NativeFloat64List_NativeFloat64List$fromList(A._setArrayType([0.7151256068556247, 0.28487439314437535, 0, 0, 1, 0, 0, 0.04116194845011846, 0.9588380515498816], type$.JSArray_double)));
  126796. _lazyFinal($, "linearA98RgbToLinearSrgb", "$get$linearA98RgbToLinearSrgb", () => A.NativeFloat64List_NativeFloat64List$fromList(A._setArrayType([1.3983557439607783, -0.3983557439607783, 0, 0, 1, 0, 0, -0.04292898929447326, 1.0429289892944733], type$.JSArray_double)));
  126797. _lazyFinal($, "linearSrgbToLinearRec2020", "$get$linearSrgbToLinearRec2020", () => A.NativeFloat64List_NativeFloat64List$fromList(A._setArrayType([0.627403895934699, 0.3292830383778837, 0.04331306568741722, 0.06909728935823208, 0.9195403950754587, 0.01136231556630917, 0.01639143887515027, 0.08801330787722575, 0.895595253247624], type$.JSArray_double)));
  126798. _lazyFinal($, "linearRec2020ToLinearSrgb", "$get$linearRec2020ToLinearSrgb", () => A.NativeFloat64List_NativeFloat64List$fromList(A._setArrayType([1.6604910021084345, -0.5876411387885495, -0.07284986331988487, -0.12455047452159074, 1.1328998971259603, -0.00834942260436947, -0.0181507633549053, -0.10057889800800737, 1.1187296613629127], type$.JSArray_double)));
  126799. _lazyFinal($, "linearSrgbToXyzD65", "$get$linearSrgbToXyzD65", () => A.NativeFloat64List_NativeFloat64List$fromList(A._setArrayType([0.4123907992659595, 0.35758433938387796, 0.1804807884018343, 0.21263900587151036, 0.7151686787677559, 0.07219231536073371, 0.01933081871559185, 0.11919477979462598, 0.9505321522496606], type$.JSArray_double)));
  126800. _lazyFinal($, "xyzD65ToLinearSrgb", "$get$xyzD65ToLinearSrgb", () => A.NativeFloat64List_NativeFloat64List$fromList(A._setArrayType([3.2409699419045213, -1.5373831775700935, -0.4986107602930033, -0.9692436362808798, 1.8759675015077206, 0.04155505740717561, 0.0556300796969936, -0.20397695888897657, 1.0569715142428786], type$.JSArray_double)));
  126801. _lazyFinal($, "linearSrgbToLms", "$get$linearSrgbToLms", () => A.NativeFloat64List_NativeFloat64List$fromList(A._setArrayType([0.412221469470763, 0.5363325372617348, 0.0514459932675022, 0.2119034958178252, 0.6806995506452342, 0.1073969535369405, 0.08830245919005641, 0.2817188391361215, 0.6299787016738221], type$.JSArray_double)));
  126802. _lazyFinal($, "lmsToLinearSrgb", "$get$lmsToLinearSrgb", () => A.NativeFloat64List_NativeFloat64List$fromList(A._setArrayType([4.076741636075958, -3.307711539258062, 0.23096990318210417, -1.268437973285032, 2.609757349287689, -0.3413193760026571, -0.00419607613867551, -0.7034186179359363, 1.707614694074612], type$.JSArray_double)));
  126803. _lazyFinal($, "linearSrgbToLinearProphotoRgb", "$get$linearSrgbToLinearProphotoRgb", () => A.NativeFloat64List_NativeFloat64List$fromList(A._setArrayType([0.5292769776226116, 0.33015450197849283, 0.14056852039889556, 0.09836585954044917, 0.8734707129069618, 0.028163427552589, 0.01687534092138684, 0.11765941425612084, 0.8654652448224923], type$.JSArray_double)));
  126804. _lazyFinal($, "linearProphotoRgbToLinearSrgb", "$get$linearProphotoRgbToLinearSrgb", () => A.NativeFloat64List_NativeFloat64List$fromList(A._setArrayType([2.034380849516996, -0.7276357899341342, -0.3067450595828618, -0.22882573163305037, 1.2317425411901048, -0.00291680955705449, -0.00855882878391742, -0.1532667021380372, 1.1618255309219547], type$.JSArray_double)));
  126805. _lazyFinal($, "linearSrgbToXyzD50", "$get$linearSrgbToXyzD50", () => A.NativeFloat64List_NativeFloat64List$fromList(A._setArrayType([0.43606574687426936, 0.3851515095901596, 0.14307841996513868, 0.22249317711056518, 0.7168870130944824, 0.06061980979495235, 0.01392392146316939, 0.09708132423141015, 0.7140993568158807], type$.JSArray_double)));
  126806. _lazyFinal($, "xyzD50ToLinearSrgb", "$get$xyzD50ToLinearSrgb", () => A.NativeFloat64List_NativeFloat64List$fromList(A._setArrayType([3.1341358529001178, -1.617385998018042, -0.49066221791109754, -0.9787954765557777, 1.9162543773959884, 0.03344287339036693, 0.07195539255794733, -0.228976759815182, 1.4053860351131182], type$.JSArray_double)));
  126807. _lazyFinal($, "linearDisplayP3ToLinearA98Rgb", "$get$linearDisplayP3ToLinearA98Rgb", () => A.NativeFloat64List_NativeFloat64List$fromList(A._setArrayType([0.8640051374740484, 0.13599486252595164, 0, -0.04205695470968816, 1.042056954709688, 0, -0.02056038078232985, -0.03250613804550798, 1.0530665188278379], type$.JSArray_double)));
  126808. _lazyFinal($, "linearA98RgbToLinearDisplayP3", "$get$linearA98RgbToLinearDisplayP3", () => A.NativeFloat64List_NativeFloat64List$fromList(A._setArrayType([1.1500944181410184, -0.15009441814101834, 0, 0.04641729862941844, 0.9535827013705815, 0, 0.02388759479083904, 0.02650477632633013, 0.9496076288828308], type$.JSArray_double)));
  126809. _lazyFinal($, "linearDisplayP3ToLinearRec2020", "$get$linearDisplayP3ToLinearRec2020", () => A.NativeFloat64List_NativeFloat64List$fromList(A._setArrayType([0.7538330343617218, 0.1985973690526163, 0.04756959658566187, 0.04574384896535833, 0.9417772198116935, 0.01247893122294812, -0.00121034035451832, 0.01760171730108989, 0.9836086230534284], type$.JSArray_double)));
  126810. _lazyFinal($, "linearRec2020ToLinearDisplayP3", "$get$linearRec2020ToLinearDisplayP3", () => A.NativeFloat64List_NativeFloat64List$fromList(A._setArrayType([1.343578252584332, -0.2821796705261357, -0.06139858205819628, -0.06529745278911953, 1.0757879158485746, -0.01049046305945495, 0.00282178726170095, -0.01959849452449406, 1.0167767072627931], type$.JSArray_double)));
  126811. _lazyFinal($, "linearDisplayP3ToXyzD65", "$get$linearDisplayP3ToXyzD65", () => A.NativeFloat64List_NativeFloat64List$fromList(A._setArrayType([0.48657094864821626, 0.26566769316909294, 0.1982172852343625, 0.22897456406974884, 0.6917385218365062, 0.079286914093745, 0, 0.04511338185890257, 1.0439443689009757], type$.JSArray_double)));
  126812. _lazyFinal($, "xyzD65ToLinearDisplayP3", "$get$xyzD65ToLinearDisplayP3", () => A.NativeFloat64List_NativeFloat64List$fromList(A._setArrayType([2.4934969119414245, -0.9313836179191236, -0.40271078445071684, -0.8294889695615749, 1.7626640603183468, 0.02362468584194359, 0.03584583024378433, -0.0761723892680417, 0.9568845240076873], type$.JSArray_double)));
  126813. _lazyFinal($, "linearDisplayP3ToLms", "$get$linearDisplayP3ToLms", () => A.NativeFloat64List_NativeFloat64List$fromList(A._setArrayType([0.48137985274995443, 0.46211837101131803, 0.05650177623872756, 0.22883194181124472, 0.6532168193835676, 0.11795123880518774, 0.08394575232299319, 0.22416527097756642, 0.6918889766994404], type$.JSArray_double)));
  126814. _lazyFinal($, "lmsToLinearDisplayP3", "$get$lmsToLinearDisplayP3", () => A.NativeFloat64List_NativeFloat64List$fromList(A._setArrayType([3.1277689713618737, -2.2571357625916386, 0.12936679122976494, -1.0910090184377979, 2.4133317103069225, -0.32232269186912466, -0.02601080193857045, -0.508041331704167, 1.5340521336427373], type$.JSArray_double)));
  126815. _lazyFinal($, "linearDisplayP3ToLinearProphotoRgb", "$get$linearDisplayP3ToLinearProphotoRgb", () => A.NativeFloat64List_NativeFloat64List$fromList(A._setArrayType([0.6316869193403589, 0.21393038569465722, 0.1543826949649839, 0.08320371426648458, 0.8858651367630243, 0.03093114897049121, -0.00127273456473881, 0.05075510433665735, 0.9505176302280814], type$.JSArray_double)));
  126816. _lazyFinal($, "linearProphotoRgbToLinearDisplayP3", "$get$linearProphotoRgbToLinearDisplayP3", () => A.NativeFloat64List_NativeFloat64List$fromList(A._setArrayType([1.6325756087069179, -0.3797716184825984, -0.2528039902243195, -0.15370040233755072, 1.1667025472425014, -0.01300214490495082, 0.01039319529676572, -0.0628073126495944, 1.0524141173528287], type$.JSArray_double)));
  126817. _lazyFinal($, "linearDisplayP3ToXyzD50", "$get$linearDisplayP3ToXyzD50", () => A.NativeFloat64List_NativeFloat64List$fromList(A._setArrayType([0.515146442968116, 0.2920099820638577, 0.15713925139759397, 0.2412003221252552, 0.6922225411313818, 0.06657713674336294, -0.00105013914714014, 0.0418782701890746, 0.7842764714685257], type$.JSArray_double)));
  126818. _lazyFinal($, "xyzD50ToLinearDisplayP3", "$get$xyzD50ToLinearDisplayP3", () => A.NativeFloat64List_NativeFloat64List$fromList(A._setArrayType([2.4039341218554973, -0.9900304424955931, -0.39761363181465614, -0.8422700161454688, 1.7989580161067082, 0.01604562477090472, 0.04819381686413303, -0.09738519815446048, 1.2736713693321273], type$.JSArray_double)));
  126819. _lazyFinal($, "linearA98RgbToLinearRec2020", "$get$linearA98RgbToLinearRec2020", () => A.NativeFloat64List_NativeFloat64List$fromList(A._setArrayType([0.8773338416636568, 0.07749370651571998, 0.04517245182062317, 0.09662259146620378, 0.8915273202441805, 0.01185008828961569, 0.02292106270284839, 0.04303668501067932, 0.9340422522864723], type$.JSArray_double)));
  126820. _lazyFinal($, "linearRec2020ToLinearA98Rgb", "$get$linearRec2020ToLinearA98Rgb", () => A.NativeFloat64List_NativeFloat64List$fromList(A._setArrayType([1.1519783947159163, -0.0975030553024086, -0.05447533941350766, -0.12455047452159074, 1.1328998971259603, -0.00834942260436947, -0.0225303827810559, -0.04980650742838876, 1.0723368902094446], type$.JSArray_double)));
  126821. _lazyFinal($, "linearA98RgbToXyzD65", "$get$linearA98RgbToXyzD65", () => A.NativeFloat64List_NativeFloat64List$fromList(A._setArrayType([0.5766690429101308, 0.18555823790654627, 0.18822864623499472, 0.29734497525053616, 0.627363566255466, 0.07529145849399789, 0.02703136138641237, 0.07068885253582714, 0.9913375368376389], type$.JSArray_double)));
  126822. _lazyFinal($, "xyzD65ToLinearA98Rgb", "$get$xyzD65ToLinearA98Rgb", () => A.NativeFloat64List_NativeFloat64List$fromList(A._setArrayType([2.041587903810746, -0.5650069742788596, -0.3447313507783295, -0.9692436362808798, 1.8759675015077206, 0.04155505740717561, 0.01344428063203102, -0.11836239223101823, 1.0151749943912054], type$.JSArray_double)));
  126823. _lazyFinal($, "linearA98RgbToLms", "$get$linearA98RgbToLms", () => A.NativeFloat64List_NativeFloat64List$fromList(A._setArrayType([0.5764322596183941, 0.36991322261987963, 0.05365451776172635, 0.29631647054222465, 0.5916761332521885, 0.11200739620558686, 0.1234782510142776, 0.21949869837199862, 0.6570230506137238], type$.JSArray_double)));
  126824. _lazyFinal($, "lmsToLinearA98Rgb", "$get$lmsToLinearA98Rgb", () => A.NativeFloat64List_NativeFloat64List$fromList(A._setArrayType([2.5540368386115566, -1.6219761806828699, 0.06793934207131327, -1.268437973285032, 2.609757349287689, -0.3413193760026571, -0.05623473593749381, -0.5670418395669061, 1.6232765755043999], type$.JSArray_double)));
  126825. _lazyFinal($, "linearA98RgbToLinearProphotoRgb", "$get$linearA98RgbToLinearProphotoRgb", () => A.NativeFloat64List_NativeFloat64List$fromList(A._setArrayType([0.7401175018047792, 0.11327951328898105, 0.1466029849062397, 0.1375504646980262, 0.833077080269484, 0.02937245503248977, 0.02359772990871766, 0.07378347703906656, 0.9026187930522158], type$.JSArray_double)));
  126826. _lazyFinal($, "linearProphotoRgbToLinearA98Rgb", "$get$linearProphotoRgbToLinearA98Rgb", () => A.NativeFloat64List_NativeFloat64List$fromList(A._setArrayType([1.38965124815152, -0.16945907691487766, -0.22019217123664242, -0.22882573163305037, 1.2317425411901048, -0.00291680955705449, -0.01762544368426068, -0.09625702306122665, 1.1138824667454874], type$.JSArray_double)));
  126827. _lazyFinal($, "linearA98RgbToXyzD50", "$get$linearA98RgbToXyzD50", () => A.NativeFloat64List_NativeFloat64List$fromList(A._setArrayType([0.6097750418861814, 0.20530000261929401, 0.14922063192409227, 0.31112461220464155, 0.6256532308346856, 0.06322215696067286, 0.01947059555648168, 0.06087908649415867, 0.7447549204598198], type$.JSArray_double)));
  126828. _lazyFinal($, "xyzD50ToLinearA98Rgb", "$get$xyzD50ToLinearA98Rgb", () => A.NativeFloat64List_NativeFloat64List$fromList(A._setArrayType([1.9624670363768806, -0.6107423404815073, -0.3413580980827154, -0.9787954765557777, 1.9162543773959884, 0.03344287339036693, 0.02870443944957101, -0.1406748663317068, 1.3489141814137937], type$.JSArray_double)));
  126829. _lazyFinal($, "linearRec2020ToXyzD65", "$get$linearRec2020ToXyzD65", () => A.NativeFloat64List_NativeFloat64List$fromList(A._setArrayType([0.6369580483012913, 0.14461690358620838, 0.16888097516417205, 0.26270021201126703, 0.677998071518871, 0.05930171646986194, 0, 0.0280726930490875, 1.0609850577107909], type$.JSArray_double)));
  126830. _lazyFinal($, "xyzD65ToLinearRec2020", "$get$xyzD65ToLinearRec2020", () => A.NativeFloat64List_NativeFloat64List$fromList(A._setArrayType([1.7166511879712676, -0.3556707837763924, -0.2533662813736598, -0.666684351832489, 1.616481236634939, 0.01576854581391113, 0.01763985744531091, -0.04277061325780865, 0.942103121235474], type$.JSArray_double)));
  126831. _lazyFinal($, "linearRec2020ToLms", "$get$linearRec2020ToLms", () => A.NativeFloat64List_NativeFloat64List$fromList(A._setArrayType([0.6167557848654444, 0.36019840122646335, 0.02304581390809228, 0.2651330593926367, 0.6358393720678491, 0.09902756853951408, 0.10010262952034828, 0.20390652261661452, 0.6959908478630372], type$.JSArray_double)));
  126832. _lazyFinal($, "lmsToLinearRec2020", "$get$lmsToLinearRec2020", () => A.NativeFloat64List_NativeFloat64List$fromList(A._setArrayType([2.1399067304346513, -1.246389493760618, 0.10648276332596668, -0.8847358357577674, 2.1632309383612007, -0.2784951026034334, -0.04857374640044396, -0.4545031497140964, 1.5030768961145404], type$.JSArray_double)));
  126833. _lazyFinal($, "linearRec2020ToLinearProphotoRgb", "$get$linearRec2020ToLinearProphotoRgb", () => A.NativeFloat64List_NativeFloat64List$fromList(A._setArrayType([0.8351873331297235, 0.04886884858605698, 0.11594381828421951, 0.05403324519953363, 0.9289184085692044, 0.01704834623126199, -0.00234203897072539, 0.03633215316169465, 0.9660098858090307], type$.JSArray_double)));
  126834. _lazyFinal($, "linearProphotoRgbToLinearRec2020", "$get$linearProphotoRgbToLinearRec2020", () => A.NativeFloat64List_NativeFloat64List$fromList(A._setArrayType([1.200659329517408, -0.05756805370122346, -0.14309127581618444, -0.06994154955888504, 1.080617897597214, -0.01067634803832895, 0.00554147334294746, -0.04078219298657951, 1.035240719643632], type$.JSArray_double)));
  126835. _lazyFinal($, "linearRec2020ToXyzD50", "$get$linearRec2020ToXyzD50", () => A.NativeFloat64List_NativeFloat64List$fromList(A._setArrayType([0.673515463188276, 0.16569726370390453, 0.12508294953738705, 0.2790590051411206, 0.6753180057491098, 0.04562298910976962, -0.00193242713400438, 0.02997782679282923, 0.7970592028516355], type$.JSArray_double)));
  126836. _lazyFinal($, "xyzD50ToLinearRec2020", "$get$xyzD50ToLinearRec2020", () => A.NativeFloat64List_NativeFloat64List$fromList(A._setArrayType([1.647184904671766, -0.3936818981316471, -0.23595963848828266, -0.6826641074173818, 1.6477146127444076, 0.01281708338512084, 0.02966887665275675, -0.0629258964297003, 1.2535578201865771], type$.JSArray_double)));
  126837. _lazyFinal($, "xyzD65ToLms", "$get$xyzD65ToLms", () => A.NativeFloat64List_NativeFloat64List$fromList(A._setArrayType([0.819022437996703, 0.36190626005289034, -0.12887378152098788, 0.03298365393238846, 0.9292868615863433, 0.03614466635064235, 0.0481771893596242, 0.2642395317527308, 0.6335478284694308], type$.JSArray_double)));
  126838. _lazyFinal($, "lmsToXyzD65", "$get$lmsToXyzD65", () => A.NativeFloat64List_NativeFloat64List$fromList(A._setArrayType([1.2268798758459243, -0.5578149944602171, 0.2813910456659646, -0.04057574521480084, 1.1122868032803173, -0.07171105806551635, -0.07637293667466007, -0.42149333240224324, 1.5869240198367818], type$.JSArray_double)));
  126839. _lazyFinal($, "xyzD65ToLinearProphotoRgb", "$get$xyzD65ToLinearProphotoRgb", () => A.NativeFloat64List_NativeFloat64List$fromList(A._setArrayType([1.4031904633774979, -0.22301514479051668, -0.1016066850741379, -0.5262384021633072, 1.4816319629234644, 0.01701879027252688, -0.0112022652862215, 0.01824640347962099, 0.9112472274915048], type$.JSArray_double)));
  126840. _lazyFinal($, "linearProphotoRgbToXyzD65", "$get$linearProphotoRgbToXyzD65", () => A.NativeFloat64List_NativeFloat64List$fromList(A._setArrayType([0.755590742296921, 0.11271984265940525, 0.0821453420953454, 0.2683218435785719, 0.7151152566617912, 0.01656289975963685, 0.0039159727624258, -0.01293344283684181, 1.0980752208342945], type$.JSArray_double)));
  126841. _lazyFinal($, "xyzD65ToXyzD50", "$get$xyzD65ToXyzD50", () => A.NativeFloat64List_NativeFloat64List$fromList(A._setArrayType([1.0479297925449966, 0.02294687060160952, -0.05019226628920519, 0.02962780877005567, 0.99043442675388, -0.01707379906341879, -0.00924304064620452, 0.01505519149029816, 0.751874281428137], type$.JSArray_double)));
  126842. _lazyFinal($, "xyzD50ToXyzD65", "$get$xyzD50ToXyzD65", () => A.NativeFloat64List_NativeFloat64List$fromList(A._setArrayType([0.9554734214880752, -0.02309845494876452, 0.06325924320057065, -0.02836970933386358, 1.0099953980813041, 0.0210414411919173, 0.01231401486448199, -0.02050764929889898, 1.330365926242124], type$.JSArray_double)));
  126843. _lazyFinal($, "lmsToLinearProphotoRgb", "$get$lmsToLinearProphotoRgb", () => A.NativeFloat64List_NativeFloat64List$fromList(A._setArrayType([1.7383551481157207, -0.9879509427514458, 0.24959579463572504, -0.7070494015329266, 1.9343700444401382, -0.2273206429072115, -0.08407882206239634, -0.35754060521141334, 1.4416194272738097], type$.JSArray_double)));
  126844. _lazyFinal($, "linearProphotoRgbToLms", "$get$linearProphotoRgbToLms", () => A.NativeFloat64List_NativeFloat64List$fromList(A._setArrayType([0.7154484605655534, 0.35279155007721186, -0.0682400106427653, 0.2744116490015671, 0.6677976498412367, 0.05779070115719616, 0.10978443261622942, 0.18619829115002018, 0.7040172762337504], type$.JSArray_double)));
  126845. _lazyFinal($, "lmsToXyzD50", "$get$lmsToXyzD50", () => A.NativeFloat64List_NativeFloat64List$fromList(A._setArrayType([1.288586218172706, -0.5378717444973745, 0.2135812027542364, -0.00253387643187372, 1.0923167988719165, -0.08978292244004273, -0.06937382305734124, -0.29500839894431263, 1.1894868245121142], type$.JSArray_double)));
  126846. _lazyFinal($, "xyzD50ToLms", "$get$xyzD50ToLms", () => A.NativeFloat64List_NativeFloat64List$fromList(A._setArrayType([0.7707000420431172, 0.34924840261939616, -0.11202351884164681, 0.00559649248368848, 0.9370723401136769, 0.06972568836252771, 0.04633714262191069, 0.25277531574310524, 0.851458076746796], type$.JSArray_double)));
  126847. _lazyFinal($, "linearProphotoRgbToXyzD50", "$get$linearProphotoRgbToXyzD50", () => A.NativeFloat64List_NativeFloat64List$fromList(A._setArrayType([0.7977666449006423, 0.13518129740053308, 0.0313477341283922, 0.2880748288194013, 0.711835234241873, 0.00008993693872564, 0, 0, 0.8251046025104602], type$.JSArray_double)));
  126848. _lazyFinal($, "xyzD50ToLinearProphotoRgb", "$get$xyzD50ToLinearProphotoRgb", () => A.NativeFloat64List_NativeFloat64List$fromList(A._setArrayType([1.3457868816471583, -0.25557208737979464, -0.05110186497554526, -0.5446307051249019, 1.5082477428451468, 0.02052744743642139, 0, 0, 1.2119675456389452], type$.JSArray_double)));
  126849. _lazyFinal($, "_typesByUnit", "$get$_typesByUnit", () => {
  126850. var t3, type,
  126851. t1 = type$.String,
  126852. t2 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t1);
  126853. for (t1 = A.MapExtensions_get_pairs(B.Map_Sr65K, t1, type$.List_String), t1 = t1.get$iterator(t1); t1.moveNext$0();) {
  126854. t3 = t1.get$current(t1);
  126855. type = t3._0;
  126856. for (t3 = J.get$iterator$ax(t3._1); t3.moveNext$0();)
  126857. t2.$indexSet(0, t3.get$current(t3), type);
  126858. }
  126859. return t2;
  126860. });
  126861. _lazyFinal($, "_knownCompatibilitiesByUnit", "$get$_knownCompatibilitiesByUnit", () => {
  126862. var _i, set, t2,
  126863. t1 = A.LinkedHashMap_LinkedHashMap$_empty(type$.String, A.findType("Set<String>"));
  126864. for (_i = 0; _i < 5; ++_i) {
  126865. set = B.List_BFg[_i];
  126866. for (t2 = set.get$iterator(set); t2.moveNext$0();)
  126867. t1.$indexSet(0, t2.get$current(0), set);
  126868. }
  126869. return t1;
  126870. });
  126871. _lazyFinal($, "_emptyQuoted", "$get$_emptyQuoted", () => A.SassString$("", true));
  126872. _lazyFinal($, "_emptyUnquoted", "$get$_emptyUnquoted", () => A.SassString$("", false));
  126873. _lazyFinal($, "maxInt32", "$get$maxInt32", () => A._asInt(A.pow(2, 31)) - 1);
  126874. _lazyFinal($, "minInt32", "$get$minInt32", () => -A._asInt(A.pow(2, 31)));
  126875. _lazyFinal($, "_vmFrame", "$get$_vmFrame", () => A.RegExp_RegExp("^#\\d+\\s+(\\S.*) \\((.+?)((?::\\d+){0,2})\\)$", false));
  126876. _lazyFinal($, "_v8JsFrame", "$get$_v8JsFrame", () => A.RegExp_RegExp("^\\s*at (?:(\\S.*?)(?: \\[as [^\\]]+\\])? \\((.*)\\)|(.*))$", false));
  126877. _lazyFinal($, "_v8JsUrlLocation", "$get$_v8JsUrlLocation", () => A.RegExp_RegExp("^(.*?):(\\d+)(?::(\\d+))?$|native$", false));
  126878. _lazyFinal($, "_v8WasmFrame", "$get$_v8WasmFrame", () => A.RegExp_RegExp("^\\s*at (?:(?<member>.+) )?(?:\\(?(?:(?<uri>\\S+):wasm-function\\[(?<index>\\d+)\\]\\:0x(?<offset>[0-9a-fA-F]+))\\)?)$", false));
  126879. _lazyFinal($, "_v8EvalLocation", "$get$_v8EvalLocation", () => A.RegExp_RegExp("^eval at (?:\\S.*?) \\((.*)\\)(?:, .*?:\\d+:\\d+)?$", false));
  126880. _lazyFinal($, "_firefoxEvalLocation", "$get$_firefoxEvalLocation", () => A.RegExp_RegExp("(\\S+)@(\\S+) line (\\d+) >.* (Function|eval):\\d+:\\d+", false));
  126881. _lazyFinal($, "_firefoxSafariJSFrame", "$get$_firefoxSafariJSFrame", () => A.RegExp_RegExp("^(?:([^@(/]*)(?:\\(.*\\))?((?:/[^/]*)*)(?:\\(.*\\))?@)?(.*?):(\\d*)(?::(\\d*))?$", false));
  126882. _lazyFinal($, "_firefoxWasmFrame", "$get$_firefoxWasmFrame", () => A.RegExp_RegExp("^(?<member>.*?)@(?:(?<uri>\\S+).*?:wasm-function\\[(?<index>\\d+)\\]:0x(?<offset>[0-9a-fA-F]+))$", false));
  126883. _lazyFinal($, "_safariWasmFrame", "$get$_safariWasmFrame", () => A.RegExp_RegExp("^.*?wasm-function\\[(?<member>.*)\\]@\\[wasm code\\]$", false));
  126884. _lazyFinal($, "_friendlyFrame", "$get$_friendlyFrame", () => A.RegExp_RegExp("^(\\S+)(?: (\\d+)(?::(\\d+))?)?\\s+([^\\d].*)$", false));
  126885. _lazyFinal($, "_asyncBody", "$get$_asyncBody", () => A.RegExp_RegExp("<(<anonymous closure>|[^>]+)_async_body>", false));
  126886. _lazyFinal($, "_initialDot", "$get$_initialDot", () => A.RegExp_RegExp("^\\.", false));
  126887. _lazyFinal($, "Frame__uriRegExp", "$get$Frame__uriRegExp", () => A.RegExp_RegExp("^[a-zA-Z][-+.a-zA-Z\\d]*://", false));
  126888. _lazyFinal($, "Frame__windowsRegExp", "$get$Frame__windowsRegExp", () => A.RegExp_RegExp("^([a-zA-Z]:[\\\\/]|\\\\\\\\)", false));
  126889. _lazyFinal($, "_terseRegExp", "$get$_terseRegExp", () => A.RegExp_RegExp("(-patch)?([/\\\\].*)?$", false));
  126890. _lazyFinal($, "_v8Trace", "$get$_v8Trace", () => A.RegExp_RegExp("\\n ?at ", false));
  126891. _lazyFinal($, "_v8TraceLine", "$get$_v8TraceLine", () => A.RegExp_RegExp(" ?at ", false));
  126892. _lazyFinal($, "_firefoxEvalTrace", "$get$_firefoxEvalTrace", () => A.RegExp_RegExp("@\\S+ line \\d+ >.* (Function|eval):\\d+:\\d+", false));
  126893. _lazyFinal($, "_firefoxSafariTrace", "$get$_firefoxSafariTrace", () => A.RegExp_RegExp("^(([.0-9A-Za-z_$/<]|\\(.*\\))*@)?[^\\s]*:\\d*$", true));
  126894. _lazyFinal($, "_friendlyTrace", "$get$_friendlyTrace", () => A.RegExp_RegExp("^[^\\s<][^\\s]*( \\d+(:\\d+)?)?[ \\t]+[^\\s]+$", true));
  126895. _lazyFinal($, "vmChainGap", "$get$vmChainGap", () => A.RegExp_RegExp("^<asynchronous suspension>\\n?$", true));
  126896. _lazyFinal($, "_newlineRegExp", "$get$_newlineRegExp", () => A.RegExp_RegExp("\\n|\\r\\n|\\r(?!\\n)", false));
  126897. _lazyFinal($, "argumentListClass", "$get$argumentListClass", () => new A.argumentListClass_closure().call$0());
  126898. _lazyFinal($, "booleanClass", "$get$booleanClass", () => new A.booleanClass_closure().call$0());
  126899. _lazyFinal($, "legacyBooleanClass", "$get$legacyBooleanClass", () => new A.legacyBooleanClass_closure().call$0());
  126900. _lazyFinal($, "calculationClass", "$get$calculationClass", () => new A.calculationClass_closure().call$0());
  126901. _lazyFinal($, "calculationOperationClass", "$get$calculationOperationClass", () => new A.calculationOperationClass_closure().call$0());
  126902. _lazyFinal($, "calculationInterpolationClass", "$get$calculationInterpolationClass", () => new A.calculationInterpolationClass_closure().call$0());
  126903. _lazyFinal($, "_microsoftFilterStart0", "$get$_microsoftFilterStart0", () => A.RegExp_RegExp("^[a-zA-Z]+\\s*=", false));
  126904. _lazyFinal($, "global6", "$get$global6", () => {
  126905. var _s5_ = "color",
  126906. _s27_ = "$red, $green, $blue, $alpha",
  126907. _s19_ = "$red, $green, $blue",
  126908. _s9_ = "$channels",
  126909. _s37_ = "$hue, $saturation, $lightness, $alpha",
  126910. _s29_ = "$hue, $saturation, $lightness",
  126911. _s17_ = "$hue, $saturation",
  126912. _s6_ = "adjust",
  126913. _s15_ = "$color, $amount",
  126914. t1 = type$.String,
  126915. t2 = type$.Value_Function_List_Value_2;
  126916. return A.UnmodifiableListView$(A._setArrayType([A._channelFunction0("red", B.RgbColorSpace_i0P0, new A.global_closure44(), true, null).withDeprecationWarning$1(_s5_), A._channelFunction0("green", B.RgbColorSpace_i0P0, new A.global_closure45(), true, null).withDeprecationWarning$1(_s5_), A._channelFunction0("blue", B.RgbColorSpace_i0P0, new A.global_closure46(), true, null).withDeprecationWarning$1(_s5_), $.$get$_mix0().withDeprecationWarning$1(_s5_), A.BuiltInCallable$overloadedFunction0("rgb", A.LinkedHashMap_LinkedHashMap$_literal([_s27_, new A.global_closure47(), _s19_, new A.global_closure48(), "$color, $alpha", new A.global_closure49(), "$channels", new A.global_closure50()], t1, t2)), A.BuiltInCallable$overloadedFunction0("rgba", A.LinkedHashMap_LinkedHashMap$_literal([_s27_, new A.global_closure51(), _s19_, new A.global_closure52(), "$color, $alpha", new A.global_closure53(), "$channels", new A.global_closure54()], t1, t2)), A._function12("invert", "$color, $weight: 100%, $space: null", new A.global_closure55()), A._channelFunction0("hue", B.HslColorSpace_JQ20, new A.global_closure56(), true, "deg").withDeprecationWarning$1(_s5_), A._channelFunction0("saturation", B.HslColorSpace_JQ20, new A.global_closure57(), true, "%").withDeprecationWarning$1(_s5_), A._channelFunction0("lightness", B.HslColorSpace_JQ20, new A.global_closure58(), true, "%").withDeprecationWarning$1(_s5_), A.BuiltInCallable$overloadedFunction0("hsl", A.LinkedHashMap_LinkedHashMap$_literal([_s37_, new A.global_closure59(), _s29_, new A.global_closure60(), _s17_, new A.global_closure61(), "$channels", new A.global_closure62()], t1, t2)), A.BuiltInCallable$overloadedFunction0("hsla", A.LinkedHashMap_LinkedHashMap$_literal([_s37_, new A.global_closure63(), _s29_, new A.global_closure64(), _s17_, new A.global_closure65(), "$channels", new A.global_closure66()], t1, t2)), A._function12("grayscale", "$color", new A.global_closure67()), A._function12("adjust-hue", "$color, $degrees", new A.global_closure68()).withDeprecationWarning$2(_s5_, _s6_), A._function12("lighten", _s15_, new A.global_closure69()).withDeprecationWarning$2(_s5_, _s6_), A._function12("darken", _s15_, new A.global_closure70()).withDeprecationWarning$2(_s5_, _s6_), A.BuiltInCallable$overloadedFunction0("saturate", A.LinkedHashMap_LinkedHashMap$_literal(["$amount", new A.global_closure71(), "$color, $amount", new A.global_closure72()], t1, t2)), A._function12("desaturate", _s15_, new A.global_closure73()).withDeprecationWarning$2(_s5_, _s6_), A._function12("opacify", _s15_, new A.global_closure74()).withDeprecationWarning$2(_s5_, _s6_), A._function12("fade-in", _s15_, new A.global_closure75()).withDeprecationWarning$2(_s5_, _s6_), A._function12("transparentize", _s15_, new A.global_closure76()).withDeprecationWarning$2(_s5_, _s6_), A._function12("fade-out", _s15_, new A.global_closure77()).withDeprecationWarning$2(_s5_, _s6_), A.BuiltInCallable$overloadedFunction0("alpha", A.LinkedHashMap_LinkedHashMap$_literal(["$color", new A.global_closure78(), "$args...", new A.global_closure79()], t1, t2)), A._function12("opacity", "$color", new A.global_closure80()), A._function12(_s5_, "$description", new A.global_closure81()), A._function12("hwb", _s9_, new A.global_closure82()), A._function12("lab", _s9_, new A.global_closure83()), A._function12("lch", _s9_, new A.global_closure84()), A._function12("oklab", _s9_, new A.global_closure85()), A._function12("oklch", _s9_, new A.global_closure86()), $.$get$_complement0().withDeprecationWarning$1(_s5_), $.$get$_ieHexStr0(), $.$get$_adjust0().withDeprecationWarning$1(_s5_).withName$1("adjust-color"), $.$get$_scale0().withDeprecationWarning$1(_s5_).withName$1("scale-color"), $.$get$_change0().withDeprecationWarning$1(_s5_).withName$1("change-color")], type$.JSArray_BuiltInCallable_2), type$.BuiltInCallable_2);
  126917. });
  126918. _lazyFinal($, "module5", "$get$module5", () => {
  126919. var _null = null,
  126920. _s10_ = "saturation",
  126921. _s9_ = "lightness",
  126922. _s6_ = "$color", _s5_ = "alpha",
  126923. _s30_ = "$color, $channel, $space: null",
  126924. t1 = type$.String,
  126925. t2 = type$.Value_Function_List_Value_2;
  126926. return A.BuiltInModule$0("color", A._setArrayType([A._channelFunction0("red", B.RgbColorSpace_i0P0, new A.module_closure27(), false, _null), A._channelFunction0("green", B.RgbColorSpace_i0P0, new A.module_closure28(), false, _null), A._channelFunction0("blue", B.RgbColorSpace_i0P0, new A.module_closure29(), false, _null), $.$get$_mix0(), A._function12("invert", "$color, $weight: 100%, $space: null", new A.module_closure30()), A._channelFunction0("hue", B.HslColorSpace_JQ20, new A.module_closure31(), false, "deg"), A._channelFunction0(_s10_, B.HslColorSpace_JQ20, new A.module_closure32(), false, "%"), A._channelFunction0(_s9_, B.HslColorSpace_JQ20, new A.module_closure33(), false, "%"), A._removedColorFunction0("adjust-hue", "hue", false), A._removedColorFunction0("lighten", _s9_, false), A._removedColorFunction0("darken", _s9_, true), A._removedColorFunction0("saturate", _s10_, false), A._removedColorFunction0("desaturate", _s10_, true), A._function12("grayscale", _s6_, new A.module_closure34()), A.BuiltInCallable$overloadedFunction0("hwb", A.LinkedHashMap_LinkedHashMap$_literal(["$hue, $whiteness, $blackness, $alpha: 1", new A.module_closure35(), "$channels", new A.module_closure36()], t1, t2)), A._channelFunction0("whiteness", B.HwbColorSpace_guQ0, new A.module_closure37(), false, "%"), A._channelFunction0("blackness", B.HwbColorSpace_guQ0, new A.module_closure38(), false, "%"), A._removedColorFunction0("opacify", _s5_, false), A._removedColorFunction0("fade-in", _s5_, false), A._removedColorFunction0("transparentize", _s5_, true), A._removedColorFunction0("fade-out", _s5_, true), A.BuiltInCallable$overloadedFunction0(_s5_, A.LinkedHashMap_LinkedHashMap$_literal(["$color", new A.module_closure39(), "$args...", new A.module_closure40()], t1, t2)), A._function12("opacity", _s6_, new A.module_closure41()), A._function12("space", _s6_, new A.module_closure42()), A._function12("to-space", "$color, $space", new A.module_closure43()), A._function12("is-legacy", _s6_, new A.module_closure44()), A._function12("is-missing", "$color, $channel", new A.module_closure45()), A._function12("is-in-gamut", "$color, $space: null", new A.module_closure46()), A._function12("to-gamut", "$color, $space: null, $method: null", new A.module_closure47()), A._function12("channel", _s30_, new A.module_closure48()), A._function12("same", "$color1, $color2", new A.module_closure49()), A._function12("is-powerless", _s30_, new A.module_closure50()), $.$get$_complement0(), $.$get$_adjust0(), $.$get$_scale0(), $.$get$_change0(), $.$get$_ieHexStr0()], type$.JSArray_Callable_2), _null, _null, type$.Callable_2);
  126927. });
  126928. _lazyFinal($, "_mix0", "$get$_mix0", () => A._function12("mix", string$.x24color, new A._mix_closure0()));
  126929. _lazyFinal($, "_complement0", "$get$_complement0", () => A._function12("complement", "$color, $space: null", new A._complement_closure0()));
  126930. _lazyFinal($, "_adjust0", "$get$_adjust0", () => A._function12("adjust", "$color, $kwargs...", new A._adjust_closure0()));
  126931. _lazyFinal($, "_scale0", "$get$_scale0", () => A._function12("scale", "$color, $kwargs...", new A._scale_closure0()));
  126932. _lazyFinal($, "_change0", "$get$_change0", () => A._function12("change", "$color, $kwargs...", new A._change_closure0()));
  126933. _lazyFinal($, "_ieHexStr0", "$get$_ieHexStr0", () => A._function12("ie-hex-str", "$color", new A._ieHexStr_closure0()));
  126934. _lazyFinal($, "colorClass", "$get$colorClass", () => new A.colorClass_closure().call$0());
  126935. _lazyFinal($, "legacyColorClass", "$get$legacyColorClass", () => {
  126936. var t1 = A.createJSClass("sass.types.Color", new A.legacyColorClass_closure());
  126937. 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));
  126938. return t1;
  126939. });
  126940. _lazyFinal($, "colorsByName0", "$get$colorsByName0", () => A.LinkedHashMap_LinkedHashMap$_literal(["yellowgreen", A.SassColor_SassColor$rgb0(154, 205, 50, 1), "yellow", A.SassColor_SassColor$rgb0(255, 255, 0, 1), "whitesmoke", A.SassColor_SassColor$rgb0(245, 245, 245, 1), "white", A.SassColor_SassColor$rgb0(255, 255, 255, 1), "wheat", A.SassColor_SassColor$rgb0(245, 222, 179, 1), "violet", A.SassColor_SassColor$rgb0(238, 130, 238, 1), "turquoise", A.SassColor_SassColor$rgb0(64, 224, 208, 1), "transparent", A.SassColor_SassColor$rgb0(0, 0, 0, 0), "tomato", A.SassColor_SassColor$rgb0(255, 99, 71, 1), "thistle", A.SassColor_SassColor$rgb0(216, 191, 216, 1), "teal", A.SassColor_SassColor$rgb0(0, 128, 128, 1), "tan", A.SassColor_SassColor$rgb0(210, 180, 140, 1), "steelblue", A.SassColor_SassColor$rgb0(70, 130, 180, 1), "springgreen", A.SassColor_SassColor$rgb0(0, 255, 127, 1), "snow", A.SassColor_SassColor$rgb0(255, 250, 250, 1), "slategrey", A.SassColor_SassColor$rgb0(112, 128, 144, 1), "slategray", A.SassColor_SassColor$rgb0(112, 128, 144, 1), "slateblue", A.SassColor_SassColor$rgb0(106, 90, 205, 1), "skyblue", A.SassColor_SassColor$rgb0(135, 206, 235, 1), "silver", A.SassColor_SassColor$rgb0(192, 192, 192, 1), "sienna", A.SassColor_SassColor$rgb0(160, 82, 45, 1), "seashell", A.SassColor_SassColor$rgb0(255, 245, 238, 1), "seagreen", A.SassColor_SassColor$rgb0(46, 139, 87, 1), "sandybrown", A.SassColor_SassColor$rgb0(244, 164, 96, 1), "salmon", A.SassColor_SassColor$rgb0(250, 128, 114, 1), "saddlebrown", A.SassColor_SassColor$rgb0(139, 69, 19, 1), "royalblue", A.SassColor_SassColor$rgb0(65, 105, 225, 1), "rosybrown", A.SassColor_SassColor$rgb0(188, 143, 143, 1), "red", A.SassColor_SassColor$rgb0(255, 0, 0, 1), "rebeccapurple", A.SassColor_SassColor$rgb0(102, 51, 153, 1), "purple", A.SassColor_SassColor$rgb0(128, 0, 128, 1), "powderblue", A.SassColor_SassColor$rgb0(176, 224, 230, 1), "plum", A.SassColor_SassColor$rgb0(221, 160, 221, 1), "pink", A.SassColor_SassColor$rgb0(255, 192, 203, 1), "peru", A.SassColor_SassColor$rgb0(205, 133, 63, 1), "peachpuff", A.SassColor_SassColor$rgb0(255, 218, 185, 1), "papayawhip", A.SassColor_SassColor$rgb0(255, 239, 213, 1), "palevioletred", A.SassColor_SassColor$rgb0(219, 112, 147, 1), "paleturquoise", A.SassColor_SassColor$rgb0(175, 238, 238, 1), "palegreen", A.SassColor_SassColor$rgb0(152, 251, 152, 1), "palegoldenrod", A.SassColor_SassColor$rgb0(238, 232, 170, 1), "orchid", A.SassColor_SassColor$rgb0(218, 112, 214, 1), "orangered", A.SassColor_SassColor$rgb0(255, 69, 0, 1), "orange", A.SassColor_SassColor$rgb0(255, 165, 0, 1), "olivedrab", A.SassColor_SassColor$rgb0(107, 142, 35, 1), "olive", A.SassColor_SassColor$rgb0(128, 128, 0, 1), "oldlace", A.SassColor_SassColor$rgb0(253, 245, 230, 1), "navy", A.SassColor_SassColor$rgb0(0, 0, 128, 1), "navajowhite", A.SassColor_SassColor$rgb0(255, 222, 173, 1), "moccasin", A.SassColor_SassColor$rgb0(255, 228, 181, 1), "mistyrose", A.SassColor_SassColor$rgb0(255, 228, 225, 1), "mintcream", A.SassColor_SassColor$rgb0(245, 255, 250, 1), "midnightblue", A.SassColor_SassColor$rgb0(25, 25, 112, 1), "mediumvioletred", A.SassColor_SassColor$rgb0(199, 21, 133, 1), "mediumturquoise", A.SassColor_SassColor$rgb0(72, 209, 204, 1), "mediumspringgreen", A.SassColor_SassColor$rgb0(0, 250, 154, 1), "mediumslateblue", A.SassColor_SassColor$rgb0(123, 104, 238, 1), "mediumseagreen", A.SassColor_SassColor$rgb0(60, 179, 113, 1), "mediumpurple", A.SassColor_SassColor$rgb0(147, 112, 219, 1), "mediumorchid", A.SassColor_SassColor$rgb0(186, 85, 211, 1), "mediumblue", A.SassColor_SassColor$rgb0(0, 0, 205, 1), "mediumaquamarine", A.SassColor_SassColor$rgb0(102, 205, 170, 1), "maroon", A.SassColor_SassColor$rgb0(128, 0, 0, 1), "magenta", A.SassColor_SassColor$rgb0(255, 0, 255, 1), "linen", A.SassColor_SassColor$rgb0(250, 240, 230, 1), "limegreen", A.SassColor_SassColor$rgb0(50, 205, 50, 1), "lime", A.SassColor_SassColor$rgb0(0, 255, 0, 1), "lightyellow", A.SassColor_SassColor$rgb0(255, 255, 224, 1), "lightsteelblue", A.SassColor_SassColor$rgb0(176, 196, 222, 1), "lightslategrey", A.SassColor_SassColor$rgb0(119, 136, 153, 1), "lightslategray", A.SassColor_SassColor$rgb0(119, 136, 153, 1), "lightskyblue", A.SassColor_SassColor$rgb0(135, 206, 250, 1), "lightseagreen", A.SassColor_SassColor$rgb0(32, 178, 170, 1), "lightsalmon", A.SassColor_SassColor$rgb0(255, 160, 122, 1), "lightpink", A.SassColor_SassColor$rgb0(255, 182, 193, 1), "lightgrey", A.SassColor_SassColor$rgb0(211, 211, 211, 1), "lightgreen", A.SassColor_SassColor$rgb0(144, 238, 144, 1), "lightgray", A.SassColor_SassColor$rgb0(211, 211, 211, 1), "lightgoldenrodyellow", A.SassColor_SassColor$rgb0(250, 250, 210, 1), "lightcyan", A.SassColor_SassColor$rgb0(224, 255, 255, 1), "lightcoral", A.SassColor_SassColor$rgb0(240, 128, 128, 1), "lightblue", A.SassColor_SassColor$rgb0(173, 216, 230, 1), "lemonchiffon", A.SassColor_SassColor$rgb0(255, 250, 205, 1), "lawngreen", A.SassColor_SassColor$rgb0(124, 252, 0, 1), "lavenderblush", A.SassColor_SassColor$rgb0(255, 240, 245, 1), "lavender", A.SassColor_SassColor$rgb0(230, 230, 250, 1), "khaki", A.SassColor_SassColor$rgb0(240, 230, 140, 1), "ivory", A.SassColor_SassColor$rgb0(255, 255, 240, 1), "indigo", A.SassColor_SassColor$rgb0(75, 0, 130, 1), "indianred", A.SassColor_SassColor$rgb0(205, 92, 92, 1), "hotpink", A.SassColor_SassColor$rgb0(255, 105, 180, 1), "honeydew", A.SassColor_SassColor$rgb0(240, 255, 240, 1), "grey", A.SassColor_SassColor$rgb0(128, 128, 128, 1), "greenyellow", A.SassColor_SassColor$rgb0(173, 255, 47, 1), "green", A.SassColor_SassColor$rgb0(0, 128, 0, 1), "gray", A.SassColor_SassColor$rgb0(128, 128, 128, 1), "goldenrod", A.SassColor_SassColor$rgb0(218, 165, 32, 1), "gold", A.SassColor_SassColor$rgb0(255, 215, 0, 1), "ghostwhite", A.SassColor_SassColor$rgb0(248, 248, 255, 1), "gainsboro", A.SassColor_SassColor$rgb0(220, 220, 220, 1), "fuchsia", A.SassColor_SassColor$rgb0(255, 0, 255, 1), "forestgreen", A.SassColor_SassColor$rgb0(34, 139, 34, 1), "floralwhite", A.SassColor_SassColor$rgb0(255, 250, 240, 1), "firebrick", A.SassColor_SassColor$rgb0(178, 34, 34, 1), "dodgerblue", A.SassColor_SassColor$rgb0(30, 144, 255, 1), "dimgrey", A.SassColor_SassColor$rgb0(105, 105, 105, 1), "dimgray", A.SassColor_SassColor$rgb0(105, 105, 105, 1), "deepskyblue", A.SassColor_SassColor$rgb0(0, 191, 255, 1), "deeppink", A.SassColor_SassColor$rgb0(255, 20, 147, 1), "darkviolet", A.SassColor_SassColor$rgb0(148, 0, 211, 1), "darkturquoise", A.SassColor_SassColor$rgb0(0, 206, 209, 1), "darkslategrey", A.SassColor_SassColor$rgb0(47, 79, 79, 1), "darkslategray", A.SassColor_SassColor$rgb0(47, 79, 79, 1), "darkslateblue", A.SassColor_SassColor$rgb0(72, 61, 139, 1), "darkseagreen", A.SassColor_SassColor$rgb0(143, 188, 143, 1), "darksalmon", A.SassColor_SassColor$rgb0(233, 150, 122, 1), "darkred", A.SassColor_SassColor$rgb0(139, 0, 0, 1), "darkorchid", A.SassColor_SassColor$rgb0(153, 50, 204, 1), "darkorange", A.SassColor_SassColor$rgb0(255, 140, 0, 1), "darkolivegreen", A.SassColor_SassColor$rgb0(85, 107, 47, 1), "darkmagenta", A.SassColor_SassColor$rgb0(139, 0, 139, 1), "darkkhaki", A.SassColor_SassColor$rgb0(189, 183, 107, 1), "darkgrey", A.SassColor_SassColor$rgb0(169, 169, 169, 1), "darkgreen", A.SassColor_SassColor$rgb0(0, 100, 0, 1), "darkgray", A.SassColor_SassColor$rgb0(169, 169, 169, 1), "darkgoldenrod", A.SassColor_SassColor$rgb0(184, 134, 11, 1), "darkcyan", A.SassColor_SassColor$rgb0(0, 139, 139, 1), "darkblue", A.SassColor_SassColor$rgb0(0, 0, 139, 1), "cyan", A.SassColor_SassColor$rgb0(0, 255, 255, 1), "crimson", A.SassColor_SassColor$rgb0(220, 20, 60, 1), "cornsilk", A.SassColor_SassColor$rgb0(255, 248, 220, 1), "cornflowerblue", A.SassColor_SassColor$rgb0(100, 149, 237, 1), "coral", A.SassColor_SassColor$rgb0(255, 127, 80, 1), "chocolate", A.SassColor_SassColor$rgb0(210, 105, 30, 1), "chartreuse", A.SassColor_SassColor$rgb0(127, 255, 0, 1), "cadetblue", A.SassColor_SassColor$rgb0(95, 158, 160, 1), "burlywood", A.SassColor_SassColor$rgb0(222, 184, 135, 1), "brown", A.SassColor_SassColor$rgb0(165, 42, 42, 1), "blueviolet", A.SassColor_SassColor$rgb0(138, 43, 226, 1), "blue", A.SassColor_SassColor$rgb0(0, 0, 255, 1), "blanchedalmond", A.SassColor_SassColor$rgb0(255, 235, 205, 1), "black", A.SassColor_SassColor$rgb0(0, 0, 0, 1), "bisque", A.SassColor_SassColor$rgb0(255, 228, 196, 1), "beige", A.SassColor_SassColor$rgb0(245, 245, 220, 1), "azure", A.SassColor_SassColor$rgb0(240, 255, 255, 1), "aquamarine", A.SassColor_SassColor$rgb0(127, 255, 212, 1), "aqua", A.SassColor_SassColor$rgb0(0, 255, 255, 1), "antiquewhite", A.SassColor_SassColor$rgb0(250, 235, 215, 1), "aliceblue", A.SassColor_SassColor$rgb0(240, 248, 255, 1)], type$.String, type$.SassColor_2));
  126941. _lazyFinal($, "namesByColor0", "$get$namesByColor0", () => {
  126942. var $name,
  126943. t1 = type$.SassColor_2,
  126944. t2 = type$.String,
  126945. t3 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t2);
  126946. for (t1 = A.MapExtensions_get_pairs0($.$get$colorsByName0(), t2, t1), t1 = t1.get$iterator(t1); t1.moveNext$0();) {
  126947. t2 = t1.get$current(t1);
  126948. $name = t2._0;
  126949. t3.$indexSet(0, t2._1, $name);
  126950. }
  126951. return t3;
  126952. });
  126953. _lazyFinal($, "nodePackageImporterClass", "$get$nodePackageImporterClass", () => new A.nodePackageImporterClass_closure().call$0());
  126954. _lazyFinal($, "compilerClass", "$get$compilerClass", () => new A.compilerClass_closure().call$0());
  126955. _lazyFinal($, "asyncCompilerClass", "$get$asyncCompilerClass", () => new A.asyncCompilerClass_closure().call$0());
  126956. _lazyFinal($, "lmsToOklab0", "$get$lmsToOklab0", () => A.NativeFloat64List_NativeFloat64List$fromList(A._setArrayType([0.210454268309314, 0.7936177747023054, -0.0040720430116193, 1.9779985324311684, -2.42859224204858, 0.450593709617411, 0.0259040424655478, 0.7827717124575296, -0.8086757549230774], type$.JSArray_double)));
  126957. _lazyFinal($, "oklabToLms0", "$get$oklabToLms0", () => A.NativeFloat64List_NativeFloat64List$fromList(A._setArrayType([1.0000000000000002, 0.3963377773761749, 0.2158037573099136, 0.9999999999999998, -0.10556134581565854, -0.06385417282581334, 0.9999999999999999, -0.0894841775298118, -1.2914855480194094], type$.JSArray_double)));
  126958. _lazyFinal($, "linearSrgbToLinearDisplayP30", "$get$linearSrgbToLinearDisplayP30", () => A.NativeFloat64List_NativeFloat64List$fromList(A._setArrayType([0.8224619687143623, 0.17753803128563775, 0, 0.03319419885096161, 0.9668058011490384, 0, 0.01708263072112003, 0.07239744066396346, 0.9105199286149165], type$.JSArray_double)));
  126959. _lazyFinal($, "linearDisplayP3ToLinearSrgb0", "$get$linearDisplayP3ToLinearSrgb0", () => A.NativeFloat64List_NativeFloat64List$fromList(A._setArrayType([1.2249401762805598, -0.22494017628055996, 0, -0.04205695470968816, 1.042056954709688, 0, -0.01963755459033443, -0.07863604555063188, 1.0982736001409663], type$.JSArray_double)));
  126960. _lazyFinal($, "linearSrgbToLinearA98Rgb0", "$get$linearSrgbToLinearA98Rgb0", () => A.NativeFloat64List_NativeFloat64List$fromList(A._setArrayType([0.7151256068556247, 0.28487439314437535, 0, 0, 1, 0, 0, 0.04116194845011846, 0.9588380515498816], type$.JSArray_double)));
  126961. _lazyFinal($, "linearA98RgbToLinearSrgb0", "$get$linearA98RgbToLinearSrgb0", () => A.NativeFloat64List_NativeFloat64List$fromList(A._setArrayType([1.3983557439607783, -0.3983557439607783, 0, 0, 1, 0, 0, -0.04292898929447326, 1.0429289892944733], type$.JSArray_double)));
  126962. _lazyFinal($, "linearSrgbToLinearRec20200", "$get$linearSrgbToLinearRec20200", () => A.NativeFloat64List_NativeFloat64List$fromList(A._setArrayType([0.627403895934699, 0.3292830383778837, 0.04331306568741722, 0.06909728935823208, 0.9195403950754587, 0.01136231556630917, 0.01639143887515027, 0.08801330787722575, 0.895595253247624], type$.JSArray_double)));
  126963. _lazyFinal($, "linearRec2020ToLinearSrgb0", "$get$linearRec2020ToLinearSrgb0", () => A.NativeFloat64List_NativeFloat64List$fromList(A._setArrayType([1.6604910021084345, -0.5876411387885495, -0.07284986331988487, -0.12455047452159074, 1.1328998971259603, -0.00834942260436947, -0.0181507633549053, -0.10057889800800737, 1.1187296613629127], type$.JSArray_double)));
  126964. _lazyFinal($, "linearSrgbToXyzD650", "$get$linearSrgbToXyzD650", () => A.NativeFloat64List_NativeFloat64List$fromList(A._setArrayType([0.4123907992659595, 0.35758433938387796, 0.1804807884018343, 0.21263900587151036, 0.7151686787677559, 0.07219231536073371, 0.01933081871559185, 0.11919477979462598, 0.9505321522496606], type$.JSArray_double)));
  126965. _lazyFinal($, "xyzD65ToLinearSrgb0", "$get$xyzD65ToLinearSrgb0", () => A.NativeFloat64List_NativeFloat64List$fromList(A._setArrayType([3.2409699419045213, -1.5373831775700935, -0.4986107602930033, -0.9692436362808798, 1.8759675015077206, 0.04155505740717561, 0.0556300796969936, -0.20397695888897657, 1.0569715142428786], type$.JSArray_double)));
  126966. _lazyFinal($, "linearSrgbToLms0", "$get$linearSrgbToLms0", () => A.NativeFloat64List_NativeFloat64List$fromList(A._setArrayType([0.412221469470763, 0.5363325372617348, 0.0514459932675022, 0.2119034958178252, 0.6806995506452342, 0.1073969535369405, 0.08830245919005641, 0.2817188391361215, 0.6299787016738221], type$.JSArray_double)));
  126967. _lazyFinal($, "lmsToLinearSrgb0", "$get$lmsToLinearSrgb0", () => A.NativeFloat64List_NativeFloat64List$fromList(A._setArrayType([4.076741636075958, -3.307711539258062, 0.23096990318210417, -1.268437973285032, 2.609757349287689, -0.3413193760026571, -0.00419607613867551, -0.7034186179359363, 1.707614694074612], type$.JSArray_double)));
  126968. _lazyFinal($, "linearSrgbToLinearProphotoRgb0", "$get$linearSrgbToLinearProphotoRgb0", () => A.NativeFloat64List_NativeFloat64List$fromList(A._setArrayType([0.5292769776226116, 0.33015450197849283, 0.14056852039889556, 0.09836585954044917, 0.8734707129069618, 0.028163427552589, 0.01687534092138684, 0.11765941425612084, 0.8654652448224923], type$.JSArray_double)));
  126969. _lazyFinal($, "linearProphotoRgbToLinearSrgb0", "$get$linearProphotoRgbToLinearSrgb0", () => A.NativeFloat64List_NativeFloat64List$fromList(A._setArrayType([2.034380849516996, -0.7276357899341342, -0.3067450595828618, -0.22882573163305037, 1.2317425411901048, -0.00291680955705449, -0.00855882878391742, -0.1532667021380372, 1.1618255309219547], type$.JSArray_double)));
  126970. _lazyFinal($, "linearSrgbToXyzD500", "$get$linearSrgbToXyzD500", () => A.NativeFloat64List_NativeFloat64List$fromList(A._setArrayType([0.43606574687426936, 0.3851515095901596, 0.14307841996513868, 0.22249317711056518, 0.7168870130944824, 0.06061980979495235, 0.01392392146316939, 0.09708132423141015, 0.7140993568158807], type$.JSArray_double)));
  126971. _lazyFinal($, "xyzD50ToLinearSrgb0", "$get$xyzD50ToLinearSrgb0", () => A.NativeFloat64List_NativeFloat64List$fromList(A._setArrayType([3.1341358529001178, -1.617385998018042, -0.49066221791109754, -0.9787954765557777, 1.9162543773959884, 0.03344287339036693, 0.07195539255794733, -0.228976759815182, 1.4053860351131182], type$.JSArray_double)));
  126972. _lazyFinal($, "linearDisplayP3ToLinearA98Rgb0", "$get$linearDisplayP3ToLinearA98Rgb0", () => A.NativeFloat64List_NativeFloat64List$fromList(A._setArrayType([0.8640051374740484, 0.13599486252595164, 0, -0.04205695470968816, 1.042056954709688, 0, -0.02056038078232985, -0.03250613804550798, 1.0530665188278379], type$.JSArray_double)));
  126973. _lazyFinal($, "linearA98RgbToLinearDisplayP30", "$get$linearA98RgbToLinearDisplayP30", () => A.NativeFloat64List_NativeFloat64List$fromList(A._setArrayType([1.1500944181410184, -0.15009441814101834, 0, 0.04641729862941844, 0.9535827013705815, 0, 0.02388759479083904, 0.02650477632633013, 0.9496076288828308], type$.JSArray_double)));
  126974. _lazyFinal($, "linearDisplayP3ToLinearRec20200", "$get$linearDisplayP3ToLinearRec20200", () => A.NativeFloat64List_NativeFloat64List$fromList(A._setArrayType([0.7538330343617218, 0.1985973690526163, 0.04756959658566187, 0.04574384896535833, 0.9417772198116935, 0.01247893122294812, -0.00121034035451832, 0.01760171730108989, 0.9836086230534284], type$.JSArray_double)));
  126975. _lazyFinal($, "linearRec2020ToLinearDisplayP30", "$get$linearRec2020ToLinearDisplayP30", () => A.NativeFloat64List_NativeFloat64List$fromList(A._setArrayType([1.343578252584332, -0.2821796705261357, -0.06139858205819628, -0.06529745278911953, 1.0757879158485746, -0.01049046305945495, 0.00282178726170095, -0.01959849452449406, 1.0167767072627931], type$.JSArray_double)));
  126976. _lazyFinal($, "linearDisplayP3ToXyzD650", "$get$linearDisplayP3ToXyzD650", () => A.NativeFloat64List_NativeFloat64List$fromList(A._setArrayType([0.48657094864821626, 0.26566769316909294, 0.1982172852343625, 0.22897456406974884, 0.6917385218365062, 0.079286914093745, 0, 0.04511338185890257, 1.0439443689009757], type$.JSArray_double)));
  126977. _lazyFinal($, "xyzD65ToLinearDisplayP30", "$get$xyzD65ToLinearDisplayP30", () => A.NativeFloat64List_NativeFloat64List$fromList(A._setArrayType([2.4934969119414245, -0.9313836179191236, -0.40271078445071684, -0.8294889695615749, 1.7626640603183468, 0.02362468584194359, 0.03584583024378433, -0.0761723892680417, 0.9568845240076873], type$.JSArray_double)));
  126978. _lazyFinal($, "linearDisplayP3ToLms0", "$get$linearDisplayP3ToLms0", () => A.NativeFloat64List_NativeFloat64List$fromList(A._setArrayType([0.48137985274995443, 0.46211837101131803, 0.05650177623872756, 0.22883194181124472, 0.6532168193835676, 0.11795123880518774, 0.08394575232299319, 0.22416527097756642, 0.6918889766994404], type$.JSArray_double)));
  126979. _lazyFinal($, "lmsToLinearDisplayP30", "$get$lmsToLinearDisplayP30", () => A.NativeFloat64List_NativeFloat64List$fromList(A._setArrayType([3.1277689713618737, -2.2571357625916386, 0.12936679122976494, -1.0910090184377979, 2.4133317103069225, -0.32232269186912466, -0.02601080193857045, -0.508041331704167, 1.5340521336427373], type$.JSArray_double)));
  126980. _lazyFinal($, "linearDisplayP3ToLinearProphotoRgb0", "$get$linearDisplayP3ToLinearProphotoRgb0", () => A.NativeFloat64List_NativeFloat64List$fromList(A._setArrayType([0.6316869193403589, 0.21393038569465722, 0.1543826949649839, 0.08320371426648458, 0.8858651367630243, 0.03093114897049121, -0.00127273456473881, 0.05075510433665735, 0.9505176302280814], type$.JSArray_double)));
  126981. _lazyFinal($, "linearProphotoRgbToLinearDisplayP30", "$get$linearProphotoRgbToLinearDisplayP30", () => A.NativeFloat64List_NativeFloat64List$fromList(A._setArrayType([1.6325756087069179, -0.3797716184825984, -0.2528039902243195, -0.15370040233755072, 1.1667025472425014, -0.01300214490495082, 0.01039319529676572, -0.0628073126495944, 1.0524141173528287], type$.JSArray_double)));
  126982. _lazyFinal($, "linearDisplayP3ToXyzD500", "$get$linearDisplayP3ToXyzD500", () => A.NativeFloat64List_NativeFloat64List$fromList(A._setArrayType([0.515146442968116, 0.2920099820638577, 0.15713925139759397, 0.2412003221252552, 0.6922225411313818, 0.06657713674336294, -0.00105013914714014, 0.0418782701890746, 0.7842764714685257], type$.JSArray_double)));
  126983. _lazyFinal($, "xyzD50ToLinearDisplayP30", "$get$xyzD50ToLinearDisplayP30", () => A.NativeFloat64List_NativeFloat64List$fromList(A._setArrayType([2.4039341218554973, -0.9900304424955931, -0.39761363181465614, -0.8422700161454688, 1.7989580161067082, 0.01604562477090472, 0.04819381686413303, -0.09738519815446048, 1.2736713693321273], type$.JSArray_double)));
  126984. _lazyFinal($, "linearA98RgbToLinearRec20200", "$get$linearA98RgbToLinearRec20200", () => A.NativeFloat64List_NativeFloat64List$fromList(A._setArrayType([0.8773338416636568, 0.07749370651571998, 0.04517245182062317, 0.09662259146620378, 0.8915273202441805, 0.01185008828961569, 0.02292106270284839, 0.04303668501067932, 0.9340422522864723], type$.JSArray_double)));
  126985. _lazyFinal($, "linearRec2020ToLinearA98Rgb0", "$get$linearRec2020ToLinearA98Rgb0", () => A.NativeFloat64List_NativeFloat64List$fromList(A._setArrayType([1.1519783947159163, -0.0975030553024086, -0.05447533941350766, -0.12455047452159074, 1.1328998971259603, -0.00834942260436947, -0.0225303827810559, -0.04980650742838876, 1.0723368902094446], type$.JSArray_double)));
  126986. _lazyFinal($, "linearA98RgbToXyzD650", "$get$linearA98RgbToXyzD650", () => A.NativeFloat64List_NativeFloat64List$fromList(A._setArrayType([0.5766690429101308, 0.18555823790654627, 0.18822864623499472, 0.29734497525053616, 0.627363566255466, 0.07529145849399789, 0.02703136138641237, 0.07068885253582714, 0.9913375368376389], type$.JSArray_double)));
  126987. _lazyFinal($, "xyzD65ToLinearA98Rgb0", "$get$xyzD65ToLinearA98Rgb0", () => A.NativeFloat64List_NativeFloat64List$fromList(A._setArrayType([2.041587903810746, -0.5650069742788596, -0.3447313507783295, -0.9692436362808798, 1.8759675015077206, 0.04155505740717561, 0.01344428063203102, -0.11836239223101823, 1.0151749943912054], type$.JSArray_double)));
  126988. _lazyFinal($, "linearA98RgbToLms0", "$get$linearA98RgbToLms0", () => A.NativeFloat64List_NativeFloat64List$fromList(A._setArrayType([0.5764322596183941, 0.36991322261987963, 0.05365451776172635, 0.29631647054222465, 0.5916761332521885, 0.11200739620558686, 0.1234782510142776, 0.21949869837199862, 0.6570230506137238], type$.JSArray_double)));
  126989. _lazyFinal($, "lmsToLinearA98Rgb0", "$get$lmsToLinearA98Rgb0", () => A.NativeFloat64List_NativeFloat64List$fromList(A._setArrayType([2.5540368386115566, -1.6219761806828699, 0.06793934207131327, -1.268437973285032, 2.609757349287689, -0.3413193760026571, -0.05623473593749381, -0.5670418395669061, 1.6232765755043999], type$.JSArray_double)));
  126990. _lazyFinal($, "linearA98RgbToLinearProphotoRgb0", "$get$linearA98RgbToLinearProphotoRgb0", () => A.NativeFloat64List_NativeFloat64List$fromList(A._setArrayType([0.7401175018047792, 0.11327951328898105, 0.1466029849062397, 0.1375504646980262, 0.833077080269484, 0.02937245503248977, 0.02359772990871766, 0.07378347703906656, 0.9026187930522158], type$.JSArray_double)));
  126991. _lazyFinal($, "linearProphotoRgbToLinearA98Rgb0", "$get$linearProphotoRgbToLinearA98Rgb0", () => A.NativeFloat64List_NativeFloat64List$fromList(A._setArrayType([1.38965124815152, -0.16945907691487766, -0.22019217123664242, -0.22882573163305037, 1.2317425411901048, -0.00291680955705449, -0.01762544368426068, -0.09625702306122665, 1.1138824667454874], type$.JSArray_double)));
  126992. _lazyFinal($, "linearA98RgbToXyzD500", "$get$linearA98RgbToXyzD500", () => A.NativeFloat64List_NativeFloat64List$fromList(A._setArrayType([0.6097750418861814, 0.20530000261929401, 0.14922063192409227, 0.31112461220464155, 0.6256532308346856, 0.06322215696067286, 0.01947059555648168, 0.06087908649415867, 0.7447549204598198], type$.JSArray_double)));
  126993. _lazyFinal($, "xyzD50ToLinearA98Rgb0", "$get$xyzD50ToLinearA98Rgb0", () => A.NativeFloat64List_NativeFloat64List$fromList(A._setArrayType([1.9624670363768806, -0.6107423404815073, -0.3413580980827154, -0.9787954765557777, 1.9162543773959884, 0.03344287339036693, 0.02870443944957101, -0.1406748663317068, 1.3489141814137937], type$.JSArray_double)));
  126994. _lazyFinal($, "linearRec2020ToXyzD650", "$get$linearRec2020ToXyzD650", () => A.NativeFloat64List_NativeFloat64List$fromList(A._setArrayType([0.6369580483012913, 0.14461690358620838, 0.16888097516417205, 0.26270021201126703, 0.677998071518871, 0.05930171646986194, 0, 0.0280726930490875, 1.0609850577107909], type$.JSArray_double)));
  126995. _lazyFinal($, "xyzD65ToLinearRec20200", "$get$xyzD65ToLinearRec20200", () => A.NativeFloat64List_NativeFloat64List$fromList(A._setArrayType([1.7166511879712676, -0.3556707837763924, -0.2533662813736598, -0.666684351832489, 1.616481236634939, 0.01576854581391113, 0.01763985744531091, -0.04277061325780865, 0.942103121235474], type$.JSArray_double)));
  126996. _lazyFinal($, "linearRec2020ToLms0", "$get$linearRec2020ToLms0", () => A.NativeFloat64List_NativeFloat64List$fromList(A._setArrayType([0.6167557848654444, 0.36019840122646335, 0.02304581390809228, 0.2651330593926367, 0.6358393720678491, 0.09902756853951408, 0.10010262952034828, 0.20390652261661452, 0.6959908478630372], type$.JSArray_double)));
  126997. _lazyFinal($, "lmsToLinearRec20200", "$get$lmsToLinearRec20200", () => A.NativeFloat64List_NativeFloat64List$fromList(A._setArrayType([2.1399067304346513, -1.246389493760618, 0.10648276332596668, -0.8847358357577674, 2.1632309383612007, -0.2784951026034334, -0.04857374640044396, -0.4545031497140964, 1.5030768961145404], type$.JSArray_double)));
  126998. _lazyFinal($, "linearRec2020ToLinearProphotoRgb0", "$get$linearRec2020ToLinearProphotoRgb0", () => A.NativeFloat64List_NativeFloat64List$fromList(A._setArrayType([0.8351873331297235, 0.04886884858605698, 0.11594381828421951, 0.05403324519953363, 0.9289184085692044, 0.01704834623126199, -0.00234203897072539, 0.03633215316169465, 0.9660098858090307], type$.JSArray_double)));
  126999. _lazyFinal($, "linearProphotoRgbToLinearRec20200", "$get$linearProphotoRgbToLinearRec20200", () => A.NativeFloat64List_NativeFloat64List$fromList(A._setArrayType([1.200659329517408, -0.05756805370122346, -0.14309127581618444, -0.06994154955888504, 1.080617897597214, -0.01067634803832895, 0.00554147334294746, -0.04078219298657951, 1.035240719643632], type$.JSArray_double)));
  127000. _lazyFinal($, "linearRec2020ToXyzD500", "$get$linearRec2020ToXyzD500", () => A.NativeFloat64List_NativeFloat64List$fromList(A._setArrayType([0.673515463188276, 0.16569726370390453, 0.12508294953738705, 0.2790590051411206, 0.6753180057491098, 0.04562298910976962, -0.00193242713400438, 0.02997782679282923, 0.7970592028516355], type$.JSArray_double)));
  127001. _lazyFinal($, "xyzD50ToLinearRec20200", "$get$xyzD50ToLinearRec20200", () => A.NativeFloat64List_NativeFloat64List$fromList(A._setArrayType([1.647184904671766, -0.3936818981316471, -0.23595963848828266, -0.6826641074173818, 1.6477146127444076, 0.01281708338512084, 0.02966887665275675, -0.0629258964297003, 1.2535578201865771], type$.JSArray_double)));
  127002. _lazyFinal($, "xyzD65ToLms0", "$get$xyzD65ToLms0", () => A.NativeFloat64List_NativeFloat64List$fromList(A._setArrayType([0.819022437996703, 0.36190626005289034, -0.12887378152098788, 0.03298365393238846, 0.9292868615863433, 0.03614466635064235, 0.0481771893596242, 0.2642395317527308, 0.6335478284694308], type$.JSArray_double)));
  127003. _lazyFinal($, "lmsToXyzD650", "$get$lmsToXyzD650", () => A.NativeFloat64List_NativeFloat64List$fromList(A._setArrayType([1.2268798758459243, -0.5578149944602171, 0.2813910456659646, -0.04057574521480084, 1.1122868032803173, -0.07171105806551635, -0.07637293667466007, -0.42149333240224324, 1.5869240198367818], type$.JSArray_double)));
  127004. _lazyFinal($, "xyzD65ToLinearProphotoRgb0", "$get$xyzD65ToLinearProphotoRgb0", () => A.NativeFloat64List_NativeFloat64List$fromList(A._setArrayType([1.4031904633774979, -0.22301514479051668, -0.1016066850741379, -0.5262384021633072, 1.4816319629234644, 0.01701879027252688, -0.0112022652862215, 0.01824640347962099, 0.9112472274915048], type$.JSArray_double)));
  127005. _lazyFinal($, "linearProphotoRgbToXyzD650", "$get$linearProphotoRgbToXyzD650", () => A.NativeFloat64List_NativeFloat64List$fromList(A._setArrayType([0.755590742296921, 0.11271984265940525, 0.0821453420953454, 0.2683218435785719, 0.7151152566617912, 0.01656289975963685, 0.0039159727624258, -0.01293344283684181, 1.0980752208342945], type$.JSArray_double)));
  127006. _lazyFinal($, "xyzD65ToXyzD500", "$get$xyzD65ToXyzD500", () => A.NativeFloat64List_NativeFloat64List$fromList(A._setArrayType([1.0479297925449966, 0.02294687060160952, -0.05019226628920519, 0.02962780877005567, 0.99043442675388, -0.01707379906341879, -0.00924304064620452, 0.01505519149029816, 0.751874281428137], type$.JSArray_double)));
  127007. _lazyFinal($, "xyzD50ToXyzD650", "$get$xyzD50ToXyzD650", () => A.NativeFloat64List_NativeFloat64List$fromList(A._setArrayType([0.9554734214880752, -0.02309845494876452, 0.06325924320057065, -0.02836970933386358, 1.0099953980813041, 0.0210414411919173, 0.01231401486448199, -0.02050764929889898, 1.330365926242124], type$.JSArray_double)));
  127008. _lazyFinal($, "lmsToLinearProphotoRgb0", "$get$lmsToLinearProphotoRgb0", () => A.NativeFloat64List_NativeFloat64List$fromList(A._setArrayType([1.7383551481157207, -0.9879509427514458, 0.24959579463572504, -0.7070494015329266, 1.9343700444401382, -0.2273206429072115, -0.08407882206239634, -0.35754060521141334, 1.4416194272738097], type$.JSArray_double)));
  127009. _lazyFinal($, "linearProphotoRgbToLms0", "$get$linearProphotoRgbToLms0", () => A.NativeFloat64List_NativeFloat64List$fromList(A._setArrayType([0.7154484605655534, 0.35279155007721186, -0.0682400106427653, 0.2744116490015671, 0.6677976498412367, 0.05779070115719616, 0.10978443261622942, 0.18619829115002018, 0.7040172762337504], type$.JSArray_double)));
  127010. _lazyFinal($, "lmsToXyzD500", "$get$lmsToXyzD500", () => A.NativeFloat64List_NativeFloat64List$fromList(A._setArrayType([1.288586218172706, -0.5378717444973745, 0.2135812027542364, -0.00253387643187372, 1.0923167988719165, -0.08978292244004273, -0.06937382305734124, -0.29500839894431263, 1.1894868245121142], type$.JSArray_double)));
  127011. _lazyFinal($, "xyzD50ToLms0", "$get$xyzD50ToLms0", () => A.NativeFloat64List_NativeFloat64List$fromList(A._setArrayType([0.7707000420431172, 0.34924840261939616, -0.11202351884164681, 0.00559649248368848, 0.9370723401136769, 0.06972568836252771, 0.04633714262191069, 0.25277531574310524, 0.851458076746796], type$.JSArray_double)));
  127012. _lazyFinal($, "linearProphotoRgbToXyzD500", "$get$linearProphotoRgbToXyzD500", () => A.NativeFloat64List_NativeFloat64List$fromList(A._setArrayType([0.7977666449006423, 0.13518129740053308, 0.0313477341283922, 0.2880748288194013, 0.711835234241873, 0.00008993693872564, 0, 0, 0.8251046025104602], type$.JSArray_double)));
  127013. _lazyFinal($, "xyzD50ToLinearProphotoRgb0", "$get$xyzD50ToLinearProphotoRgb0", () => A.NativeFloat64List_NativeFloat64List$fromList(A._setArrayType([1.3457868816471583, -0.25557208737979464, -0.05110186497554526, -0.5446307051249019, 1.5082477428451468, 0.02052744743642139, 0, 0, 1.2119675456389452], type$.JSArray_double)));
  127014. _lazyFinal($, "_disallowedFunctionNames0", "$get$_disallowedFunctionNames0", () => {
  127015. var t1 = $.$get$globalFunctions0();
  127016. t1 = t1.map$1$1(t1, new A._disallowedFunctionNames_closure0(), type$.String).toSet$0(0);
  127017. t1.add$1(0, "if");
  127018. t1.remove$1(0, "abs");
  127019. t1.remove$1(0, "alpha");
  127020. t1.remove$1(0, "color");
  127021. t1.remove$1(0, "grayscale");
  127022. t1.remove$1(0, "hsl");
  127023. t1.remove$1(0, "hsla");
  127024. t1.remove$1(0, "hwb");
  127025. t1.remove$1(0, "invert");
  127026. t1.remove$1(0, "lab");
  127027. t1.remove$1(0, "lch");
  127028. t1.remove$1(0, "max");
  127029. t1.remove$1(0, "min");
  127030. t1.remove$1(0, "oklab");
  127031. t1.remove$1(0, "oklch");
  127032. t1.remove$1(0, "opacity");
  127033. t1.remove$1(0, "rgb");
  127034. t1.remove$1(0, "rgba");
  127035. t1.remove$1(0, "round");
  127036. t1.remove$1(0, "saturate");
  127037. return t1;
  127038. });
  127039. _lazyFinal($, "deprecations", "$get$deprecations", () => {
  127040. var _i, deprecation, t2,
  127041. t1 = A.LinkedHashMap_LinkedHashMap$_empty(type$.String, A.findType("Deprecation1?"));
  127042. for (_i = 0; _i < 26; ++_i) {
  127043. deprecation = B.List_FlM[_i];
  127044. if (deprecation !== B.Deprecation_f5Y) {
  127045. t2 = deprecation.id;
  127046. t1.$indexSet(0, t2, {id: t2, status: new A.deprecations_closure(deprecation).call$0(), description: deprecation.description, deprecatedIn: deprecation.get$deprecatedIn(0), obsoleteIn: deprecation.get$deprecatedIn(0)});
  127047. }
  127048. }
  127049. return t1;
  127050. });
  127051. _lazyFinal($, "versionClass", "$get$versionClass", () => new A.versionClass_closure().call$0());
  127052. _lazyFinal($, "exceptionClass", "$get$exceptionClass", () => new A.exceptionClass_closure().call$0());
  127053. _lazyFinal($, "FilesystemImporter_cwd0", "$get$FilesystemImporter_cwd0", () => {
  127054. var _null = null;
  127055. return new A.FilesystemImporter0(A.absolute(".", _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null), true);
  127056. });
  127057. _lazyFinal($, "functionClass", "$get$functionClass", () => new A.functionClass_closure().call$0());
  127058. _lazyFinal($, "globalFunctions0", "$get$globalFunctions0", () => {
  127059. var t1 = type$.BuiltInCallable_2,
  127060. t2 = A.List_List$of($.$get$global6(), true, t1);
  127061. B.JSArray_methods.addAll$1(t2, $.$get$global7());
  127062. B.JSArray_methods.addAll$1(t2, $.$get$global8());
  127063. B.JSArray_methods.addAll$1(t2, $.$get$global9());
  127064. B.JSArray_methods.addAll$1(t2, $.$get$global10());
  127065. B.JSArray_methods.addAll$1(t2, $.$get$global11());
  127066. B.JSArray_methods.addAll$1(t2, $.$get$global12());
  127067. t2.push(A.BuiltInCallable$function0("if", "$condition, $if-true, $if-false", new A.globalFunctions_closure0(), null));
  127068. return A.UnmodifiableListView$(t2, t1);
  127069. });
  127070. _lazyFinal($, "coreModules0", "$get$coreModules0", () => A.UnmodifiableListView$(A._setArrayType([$.$get$module5(), $.$get$module6(), $.$get$module7(), $.$get$module8(), $.$get$module9(), $.$get$module10()], A.findType("JSArray<BuiltInModule0<Callable>>")), type$.BuiltInModule_Callable_2));
  127071. _lazyFinal($, "IfExpression_declaration0", "$get$IfExpression_declaration0", () => A.ParameterList_ParameterList$parse0(string$.x40funct, null));
  127072. _lazyFinal($, "global7", "$get$global7", () => {
  127073. var _s4_ = "list";
  127074. return A.UnmodifiableListView$(A._setArrayType([$.$get$_length2().withDeprecationWarning$1(_s4_), $.$get$_nth0().withDeprecationWarning$1(_s4_), $.$get$_setNth0().withDeprecationWarning$1(_s4_), $.$get$_join0().withDeprecationWarning$1(_s4_), $.$get$_append2().withDeprecationWarning$1(_s4_), $.$get$_zip0().withDeprecationWarning$1(_s4_), $.$get$_index2().withDeprecationWarning$1(_s4_), $.$get$_isBracketed0().withDeprecationWarning$1(_s4_), $.$get$_separator0().withDeprecationWarning$1(_s4_).withName$1("list-separator")], type$.JSArray_BuiltInCallable_2), type$.BuiltInCallable_2);
  127075. });
  127076. _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));
  127077. _lazyFinal($, "_length1", "$get$_length2", () => A._function11("length", "$list", new A._length_closure2()));
  127078. _lazyFinal($, "_nth0", "$get$_nth0", () => A._function11("nth", "$list, $n", new A._nth_closure0()));
  127079. _lazyFinal($, "_setNth0", "$get$_setNth0", () => A._function11("set-nth", "$list, $n, $value", new A._setNth_closure0()));
  127080. _lazyFinal($, "_join0", "$get$_join0", () => A._function11("join", string$.x24list1, new A._join_closure0()));
  127081. _lazyFinal($, "_append1", "$get$_append2", () => A._function11("append", "$list, $val, $separator: auto", new A._append_closure2()));
  127082. _lazyFinal($, "_zip0", "$get$_zip0", () => A._function11("zip", "$lists...", new A._zip_closure0()));
  127083. _lazyFinal($, "_index1", "$get$_index2", () => A._function11("index", "$list, $value", new A._index_closure2()));
  127084. _lazyFinal($, "_separator0", "$get$_separator0", () => A._function11("separator", "$list", new A._separator_closure0()));
  127085. _lazyFinal($, "_isBracketed0", "$get$_isBracketed0", () => A._function11("is-bracketed", "$list", new A._isBracketed_closure0()));
  127086. _lazyFinal($, "_slash0", "$get$_slash0", () => A._function11("slash", "$elements...", new A._slash_closure0()));
  127087. _lazyFinal($, "listClass", "$get$listClass", () => new A.listClass_closure().call$0());
  127088. _lazyFinal($, "legacyListClass", "$get$legacyListClass", () => {
  127089. var t1 = A.createJSClass("sass.types.List", new A.legacyListClass_closure());
  127090. 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));
  127091. return t1;
  127092. });
  127093. _lazyFinal($, "global8", "$get$global8", () => {
  127094. var _s3_ = "map";
  127095. return A.UnmodifiableListView$(A._setArrayType([$.$get$_get0().withDeprecationWarning$1(_s3_).withName$1("map-get"), $.$get$_merge0().withDeprecationWarning$1(_s3_).withName$1("map-merge"), $.$get$_remove0().withDeprecationWarning$1(_s3_).withName$1("map-remove"), $.$get$_keys0().withDeprecationWarning$1(_s3_).withName$1("map-keys"), $.$get$_values0().withDeprecationWarning$1(_s3_).withName$1("map-values"), $.$get$_hasKey0().withDeprecationWarning$1(_s3_).withName$1("map-has-key")], type$.JSArray_BuiltInCallable_2), type$.BuiltInCallable_2);
  127096. });
  127097. _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));
  127098. _lazyFinal($, "_get0", "$get$_get0", () => A._function10("get", "$map, $key, $keys...", new A._get_closure0()));
  127099. _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)));
  127100. _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)));
  127101. _lazyFinal($, "_deepMerge0", "$get$_deepMerge0", () => A._function10("deep-merge", "$map1, $map2", new A._deepMerge_closure0()));
  127102. _lazyFinal($, "_deepRemove0", "$get$_deepRemove0", () => A._function10("deep-remove", "$map, $key, $keys...", new A._deepRemove_closure0()));
  127103. _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)));
  127104. _lazyFinal($, "_keys0", "$get$_keys0", () => A._function10("keys", "$map", new A._keys_closure0()));
  127105. _lazyFinal($, "_values0", "$get$_values0", () => A._function10("values", "$map", new A._values_closure0()));
  127106. _lazyFinal($, "_hasKey0", "$get$_hasKey0", () => A._function10("has-key", "$map, $key, $keys...", new A._hasKey_closure0()));
  127107. _lazyFinal($, "mapClass", "$get$mapClass", () => new A.mapClass_closure().call$0());
  127108. _lazyFinal($, "legacyMapClass", "$get$legacyMapClass", () => {
  127109. var t1 = A.createJSClass("sass.types.Map", new A.legacyMapClass_closure());
  127110. 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));
  127111. return t1;
  127112. });
  127113. _lazyFinal($, "global9", "$get$global9", () => {
  127114. var _s4_ = "math";
  127115. return A.UnmodifiableListView$(A._setArrayType([A._function9("abs", "$number", new A.global_closure43()), $.$get$_ceil0().withDeprecationWarning$1(_s4_), $.$get$_floor0().withDeprecationWarning$1(_s4_), $.$get$_max0().withDeprecationWarning$1(_s4_), $.$get$_min0().withDeprecationWarning$1(_s4_), $.$get$_percentage0().withDeprecationWarning$1(_s4_), $.$get$_randomFunction0().withDeprecationWarning$1(_s4_), $.$get$_round0().withDeprecationWarning$1(_s4_), $.$get$_unit0().withDeprecationWarning$1(_s4_), $.$get$_compatible0().withDeprecationWarning$1(_s4_).withName$1("comparable"), $.$get$_isUnitless0().withDeprecationWarning$1(_s4_).withName$1("unitless")], type$.JSArray_BuiltInCallable_2), type$.BuiltInCallable_2);
  127116. });
  127117. _lazyFinal($, "module8", "$get$module8", () => {
  127118. var _null = null;
  127119. return A.BuiltInModule$0("math", A._setArrayType([A._numberFunction0("abs", new A.module_closure26()), $.$get$_acos0(), $.$get$_asin0(), $.$get$_atan0(), $.$get$_atan20(), $.$get$_ceil0(), $.$get$_clamp0(), $.$get$_cos0(), $.$get$_compatible0(), $.$get$_floor0(), $.$get$_hypot0(), $.$get$_isUnitless0(), $.$get$_log0(), $.$get$_max0(), $.$get$_min0(), $.$get$_percentage0(), $.$get$_pow0(), $.$get$_randomFunction0(), $.$get$_round0(), $.$get$_sin0(), $.$get$_sqrt0(), $.$get$_tan0(), $.$get$_unit0(), $.$get$_div0()], type$.JSArray_Callable_2), _null, A.LinkedHashMap_LinkedHashMap$_literal(["e", A.SassNumber_SassNumber0(2.718281828459045, _null), "pi", A.SassNumber_SassNumber0(3.141592653589793, _null), "epsilon", A.SassNumber_SassNumber0(2220446049250313e-31, _null), "max-safe-integer", A.SassNumber_SassNumber0(9007199254740991, _null), "min-safe-integer", A.SassNumber_SassNumber0(-9007199254740991, _null), "max-number", A.SassNumber_SassNumber0(17976931348623157e292, _null), "min-number", A.SassNumber_SassNumber0(5e-324, _null)], type$.String, type$.Value_2), type$.Callable_2);
  127120. });
  127121. _lazyFinal($, "_ceil0", "$get$_ceil0", () => A._numberFunction0("ceil", new A._ceil_closure0()));
  127122. _lazyFinal($, "_clamp0", "$get$_clamp0", () => A._function9("clamp", "$min, $number, $max", new A._clamp_closure0()));
  127123. _lazyFinal($, "_floor0", "$get$_floor0", () => A._numberFunction0("floor", new A._floor_closure0()));
  127124. _lazyFinal($, "_max0", "$get$_max0", () => A._function9("max", "$numbers...", new A._max_closure0()));
  127125. _lazyFinal($, "_min0", "$get$_min0", () => A._function9("min", "$numbers...", new A._min_closure0()));
  127126. _lazyFinal($, "_round0", "$get$_round0", () => A._numberFunction0("round", new A._round_closure0()));
  127127. _lazyFinal($, "_hypot0", "$get$_hypot0", () => A._function9("hypot", "$numbers...", new A._hypot_closure0()));
  127128. _lazyFinal($, "_log0", "$get$_log0", () => A._function9("log", "$number, $base: null", new A._log_closure0()));
  127129. _lazyFinal($, "_pow0", "$get$_pow0", () => A._function9("pow", "$base, $exponent", new A._pow_closure0()));
  127130. _lazyFinal($, "_sqrt0", "$get$_sqrt0", () => A._singleArgumentMathFunc0("sqrt", A.number2__sqrt$closure()));
  127131. _lazyFinal($, "_acos0", "$get$_acos0", () => A._singleArgumentMathFunc0("acos", A.number2__acos$closure()));
  127132. _lazyFinal($, "_asin0", "$get$_asin0", () => A._singleArgumentMathFunc0("asin", A.number2__asin$closure()));
  127133. _lazyFinal($, "_atan0", "$get$_atan0", () => A._singleArgumentMathFunc0("atan", A.number2__atan$closure()));
  127134. _lazyFinal($, "_atan20", "$get$_atan20", () => A._function9("atan2", "$y, $x", new A._atan2_closure0()));
  127135. _lazyFinal($, "_cos0", "$get$_cos0", () => A._singleArgumentMathFunc0("cos", A.number2__cos$closure()));
  127136. _lazyFinal($, "_sin0", "$get$_sin0", () => A._singleArgumentMathFunc0("sin", A.number2__sin$closure()));
  127137. _lazyFinal($, "_tan0", "$get$_tan0", () => A._singleArgumentMathFunc0("tan", A.number2__tan$closure()));
  127138. _lazyFinal($, "_compatible0", "$get$_compatible0", () => A._function9("compatible", "$number1, $number2", new A._compatible_closure0()));
  127139. _lazyFinal($, "_isUnitless0", "$get$_isUnitless0", () => A._function9("is-unitless", "$number", new A._isUnitless_closure0()));
  127140. _lazyFinal($, "_unit0", "$get$_unit0", () => A._function9("unit", "$number", new A._unit_closure0()));
  127141. _lazyFinal($, "_percentage0", "$get$_percentage0", () => A._function9("percentage", "$number", new A._percentage_closure0()));
  127142. _lazyFinal($, "_random1", "$get$_random2", () => A.Random_Random());
  127143. _lazyFinal($, "_randomFunction0", "$get$_randomFunction0", () => A._function9("random", "$limit: null", new A._randomFunction_closure0()));
  127144. _lazyFinal($, "_div0", "$get$_div0", () => A._function9("div", "$number1, $number2", new A._div_closure0()));
  127145. _lazyFinal($, "_shared0", "$get$_shared0", () => A.UnmodifiableListView$(A._setArrayType([A._function6("feature-exists", "$feature", new A._shared_closure3()), A._function6("inspect", "$value", new A._shared_closure4()), A._function6("type-of", "$value", new A._shared_closure5()), A._function6("keywords", "$args", new A._shared_closure6())], type$.JSArray_BuiltInCallable_2), type$.BuiltInCallable_2));
  127146. _lazyFinal($, "global10", "$get$global12", () => {
  127147. var t2,
  127148. t1 = A._setArrayType([], type$.JSArray_BuiltInCallable_2);
  127149. for (t2 = $.$get$_shared0(), t2 = t2.get$iterator(t2); t2.moveNext$0();)
  127150. t1.push(t2.get$current(0).withDeprecationWarning$1("meta"));
  127151. return A.UnmodifiableListView$(t1, type$.BuiltInCallable_2);
  127152. });
  127153. _lazyFinal($, "moduleFunctions0", "$get$moduleFunctions0", () => {
  127154. var t1 = type$.BuiltInCallable_2,
  127155. t2 = A.List_List$of($.$get$_shared0(), true, t1);
  127156. t2.push(A._function6("calc-name", "$calc", new A.moduleFunctions_closure2()));
  127157. t2.push(A._function6("calc-args", "$calc", new A.moduleFunctions_closure3()));
  127158. t2.push(A._function6("accepts-content", "$mixin", new A.moduleFunctions_closure4()));
  127159. return A.UnmodifiableListView$(t2, t1);
  127160. });
  127161. _lazyFinal($, "mixinClass", "$get$mixinClass", () => new A.mixinClass_closure().call$0());
  127162. _lazyFinal($, "legacyNullClass", "$get$legacyNullClass", () => new A.legacyNullClass_closure().call$0());
  127163. _lazyFinal($, "_epsilon0", "$get$_epsilon0", () => A.pow(10, -11));
  127164. _lazyFinal($, "_inverseEpsilon0", "$get$_inverseEpsilon0", () => A.pow(10, 11));
  127165. _lazyFinal($, "numberClass", "$get$numberClass", () => new A.numberClass_closure().call$0());
  127166. _lazyFinal($, "legacyNumberClass", "$get$legacyNumberClass", () => {
  127167. var t1 = A.createJSClass("sass.types.Number", new A.legacyNumberClass_closure());
  127168. 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));
  127169. return t1;
  127170. });
  127171. _lazyFinal($, "_typesByUnit0", "$get$_typesByUnit0", () => {
  127172. var t3, type,
  127173. t1 = type$.String,
  127174. t2 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t1);
  127175. for (t1 = A.MapExtensions_get_pairs0(B.Map_Sr65K, t1, type$.List_String), t1 = t1.get$iterator(t1); t1.moveNext$0();) {
  127176. t3 = t1.get$current(t1);
  127177. type = t3._0;
  127178. for (t3 = J.get$iterator$ax(t3._1); t3.moveNext$0();)
  127179. t2.$indexSet(0, t3.get$current(t3), type);
  127180. }
  127181. return t2;
  127182. });
  127183. _lazyFinal($, "_interpolation", "$get$_interpolation", () => A.Interpolation$0(B.List_empty11, B.List_empty12, $.$get$bogusSpan0()));
  127184. _lazyFinal($, "_expression", "$get$_expression", () => A.NullExpression$($.$get$bogusSpan0()));
  127185. _lazyFinal($, "global11", "$get$global10", () => {
  127186. var _s8_ = "selector";
  127187. return A.UnmodifiableListView$(A._setArrayType([$.$get$_isSuperselector0().withDeprecationWarning$1(_s8_), $.$get$_simpleSelectors0().withDeprecationWarning$1(_s8_), $.$get$_parse0().withDeprecationWarning$1(_s8_).withName$1("selector-parse"), $.$get$_nest0().withDeprecationWarning$1(_s8_).withName$1("selector-nest"), $.$get$_append1().withDeprecationWarning$1(_s8_).withName$1("selector-append"), $.$get$_extend0().withDeprecationWarning$1(_s8_).withName$1("selector-extend"), $.$get$_replace0().withDeprecationWarning$1(_s8_).withName$1("selector-replace"), $.$get$_unify0().withDeprecationWarning$1(_s8_).withName$1("selector-unify")], type$.JSArray_BuiltInCallable_2), type$.BuiltInCallable_2);
  127188. });
  127189. _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));
  127190. _lazyFinal($, "_nest0", "$get$_nest0", () => A._function8("nest", "$selectors...", new A._nest_closure0()));
  127191. _lazyFinal($, "_append2", "$get$_append1", () => A._function8("append", "$selectors...", new A._append_closure1()));
  127192. _lazyFinal($, "_extend0", "$get$_extend0", () => A._function8("extend", "$selector, $extendee, $extender", new A._extend_closure0()));
  127193. _lazyFinal($, "_replace0", "$get$_replace0", () => A._function8("replace", "$selector, $original, $replacement", new A._replace_closure0()));
  127194. _lazyFinal($, "_unify0", "$get$_unify0", () => A._function8("unify", "$selector1, $selector2", new A._unify_closure0()));
  127195. _lazyFinal($, "_isSuperselector0", "$get$_isSuperselector0", () => A._function8("is-superselector", "$super, $sub", new A._isSuperselector_closure0()));
  127196. _lazyFinal($, "_simpleSelectors0", "$get$_simpleSelectors0", () => A._function8("simple-selectors", "$selector", new A._simpleSelectors_closure0()));
  127197. _lazyFinal($, "_parse1", "$get$_parse0", () => A._function8("parse", "$selector", new A._parse_closure0()));
  127198. _lazyFinal($, "_knownCompatibilitiesByUnit0", "$get$_knownCompatibilitiesByUnit0", () => {
  127199. var _i, set, t2,
  127200. t1 = A.LinkedHashMap_LinkedHashMap$_empty(type$.String, A.findType("Set<String>"));
  127201. for (_i = 0; _i < 5; ++_i) {
  127202. set = B.List_BFg[_i];
  127203. for (t2 = set.get$iterator(set); t2.moveNext$0();)
  127204. t1.$indexSet(0, t2.get$current(0), set);
  127205. }
  127206. return t1;
  127207. });
  127208. _lazyFinal($, "bogusSpan0", "$get$bogusSpan0", () => A.SourceFile$decoded(A._setArrayType([], type$.JSArray_int), null).span$1(0, 0));
  127209. _lazyFinal($, "_random2", "$get$_random1", () => A.Random_Random());
  127210. _lazy($, "_previousUniqueId0", "$get$_previousUniqueId0", () => $.$get$_random1().nextInt$1(A._asInt(A.pow(36, 6))));
  127211. _lazyFinal($, "global12", "$get$global11", () => {
  127212. var _s6_ = "string";
  127213. return A.UnmodifiableListView$(A._setArrayType([$.$get$_unquote0().withDeprecationWarning$1(_s6_), $.$get$_quote0().withDeprecationWarning$1(_s6_), $.$get$_toUpperCase0().withDeprecationWarning$1(_s6_), $.$get$_toLowerCase0().withDeprecationWarning$1(_s6_), $.$get$_uniqueId0().withDeprecationWarning$1(_s6_), $.$get$_length1().withDeprecationWarning$1(_s6_).withName$1("str-length"), $.$get$_insert0().withDeprecationWarning$1(_s6_).withName$1("str-insert"), $.$get$_index1().withDeprecationWarning$1(_s6_).withName$1("str-index"), $.$get$_slice0().withDeprecationWarning$1(_s6_).withName$1("str-slice")], type$.JSArray_BuiltInCallable_2), type$.BuiltInCallable_2);
  127214. });
  127215. _lazyFinal($, "module10", "$get$module10", () => A.BuiltInModule$0("string", A._setArrayType([$.$get$_unquote0(), $.$get$_quote0(), $.$get$_toUpperCase0(), $.$get$_toLowerCase0(), $.$get$_length1(), $.$get$_insert0(), $.$get$_index1(), $.$get$_slice0(), $.$get$_uniqueId0(), A._function7("split", "$string, $separator, $limit: null", new A.module_closure25())], type$.JSArray_Callable_2), null, null, type$.Callable_2));
  127216. _lazyFinal($, "_unquote0", "$get$_unquote0", () => A._function7("unquote", "$string", new A._unquote_closure0()));
  127217. _lazyFinal($, "_quote0", "$get$_quote0", () => A._function7("quote", "$string", new A._quote_closure0()));
  127218. _lazyFinal($, "_length2", "$get$_length1", () => A._function7("length", "$string", new A._length_closure1()));
  127219. _lazyFinal($, "_insert0", "$get$_insert0", () => A._function7("insert", "$string, $insert, $index", new A._insert_closure0()));
  127220. _lazyFinal($, "_index2", "$get$_index1", () => A._function7("index", "$string, $substring", new A._index_closure1()));
  127221. _lazyFinal($, "_slice0", "$get$_slice0", () => A._function7("slice", "$string, $start-at, $end-at: -1", new A._slice_closure0()));
  127222. _lazyFinal($, "_toUpperCase0", "$get$_toUpperCase0", () => A._function7("to-upper-case", "$string", new A._toUpperCase_closure0()));
  127223. _lazyFinal($, "_toLowerCase0", "$get$_toLowerCase0", () => A._function7("to-lower-case", "$string", new A._toLowerCase_closure0()));
  127224. _lazyFinal($, "_uniqueId0", "$get$_uniqueId0", () => A._function7("unique-id", "", new A._uniqueId_closure0()));
  127225. _lazyFinal($, "stringClass", "$get$stringClass", () => new A.stringClass_closure().call$0());
  127226. _lazyFinal($, "legacyStringClass", "$get$legacyStringClass", () => {
  127227. var t1 = A.createJSClass("sass.types.String", new A.legacyStringClass_closure());
  127228. A.JSClassExtension_defineMethods(t1, A.LinkedHashMap_LinkedHashMap$_literal(["getValue", new A.legacyStringClass_closure0(), "setValue", new A.legacyStringClass_closure1()], type$.String, type$.Function));
  127229. return t1;
  127230. });
  127231. _lazyFinal($, "_emptyQuoted0", "$get$_emptyQuoted0", () => A.SassString$0("", true));
  127232. _lazyFinal($, "_emptyUnquoted0", "$get$_emptyUnquoted0", () => A.SassString$0("", false));
  127233. _lazyFinal($, "_urlSchemeRegExp", "$get$_urlSchemeRegExp", () => A.RegExp_RegExp("^[a-z0-9+.-]+$", false));
  127234. _lazyFinal($, "_jsThrow0", "$get$_jsThrow", () => new self.Function("error", "throw error;"));
  127235. _lazyFinal($, "_isUndefined", "$get$_isUndefined", () => new self.Function("value", "return value === undefined;"));
  127236. _lazyFinal($, "_isNull", "$get$_isNull", () => new self.Function("value", "return value === null;"));
  127237. _lazyFinal($, "_noSourceUrl0", "$get$_noSourceUrl0", () => A.Uri_parse("-"));
  127238. _lazyFinal($, "_traces0", "$get$_traces0", () => A.Expando$());
  127239. _lazyFinal($, "valueClass", "$get$valueClass", () => new A.valueClass_closure().call$0());
  127240. })();
  127241. (function nativeSupport() {
  127242. !function() {
  127243. var intern = function(s) {
  127244. var o = {};
  127245. o[s] = 1;
  127246. return Object.keys(hunkHelpers.convertToFastObject(o))[0];
  127247. };
  127248. init.getIsolateTag = function(name) {
  127249. return intern("___dart_" + name + init.isolateTag);
  127250. };
  127251. var tableProperty = "___dart_isolate_tags_";
  127252. var usedProperties = Object[tableProperty] || (Object[tableProperty] = Object.create(null));
  127253. var rootProperty = "_ZxYxX";
  127254. for (var i = 0;; i++) {
  127255. var property = intern(rootProperty + "_" + i + "_");
  127256. if (!(property in usedProperties)) {
  127257. usedProperties[property] = 1;
  127258. init.isolateTag = property;
  127259. break;
  127260. }
  127261. }
  127262. init.dispatchPropertyName = init.getIsolateTag("dispatch_record");
  127263. }();
  127264. hunkHelpers.setOrUpdateInterceptorsByTag({ArrayBuffer: A.NativeByteBuffer, ArrayBufferView: A.NativeTypedData, DataView: A.NativeByteData, Float32Array: A.NativeFloat32List, Float64Array: A.NativeFloat64List, Int16Array: A.NativeInt16List, Int32Array: A.NativeInt32List, Int8Array: A.NativeInt8List, Uint16Array: A.NativeUint16List, Uint32Array: A.NativeUint32List, Uint8ClampedArray: A.NativeUint8ClampedList, CanvasPixelArray: A.NativeUint8ClampedList, Uint8Array: A.NativeUint8List});
  127265. hunkHelpers.setOrUpdateLeafTags({ArrayBuffer: true, ArrayBufferView: false, DataView: true, Float32Array: true, Float64Array: true, Int16Array: true, Int32Array: true, Int8Array: true, Uint16Array: true, Uint32Array: true, Uint8ClampedArray: true, CanvasPixelArray: true, Uint8Array: false});
  127266. A.NativeTypedArray.$nativeSuperclassTag = "ArrayBufferView";
  127267. A._NativeTypedArrayOfDouble_NativeTypedArray_ListMixin.$nativeSuperclassTag = "ArrayBufferView";
  127268. A._NativeTypedArrayOfDouble_NativeTypedArray_ListMixin_FixedLengthListMixin.$nativeSuperclassTag = "ArrayBufferView";
  127269. A.NativeTypedArrayOfDouble.$nativeSuperclassTag = "ArrayBufferView";
  127270. A._NativeTypedArrayOfInt_NativeTypedArray_ListMixin.$nativeSuperclassTag = "ArrayBufferView";
  127271. A._NativeTypedArrayOfInt_NativeTypedArray_ListMixin_FixedLengthListMixin.$nativeSuperclassTag = "ArrayBufferView";
  127272. A.NativeTypedArrayOfInt.$nativeSuperclassTag = "ArrayBufferView";
  127273. })();
  127274. Function.prototype.call$0 = function() {
  127275. return this();
  127276. };
  127277. Function.prototype.call$1 = function(a) {
  127278. return this(a);
  127279. };
  127280. Function.prototype.call$2 = function(a, b) {
  127281. return this(a, b);
  127282. };
  127283. Function.prototype.call$3$1 = function(a) {
  127284. return this(a);
  127285. };
  127286. Function.prototype.call$2$1 = function(a) {
  127287. return this(a);
  127288. };
  127289. Function.prototype.call$1$1 = function(a) {
  127290. return this(a);
  127291. };
  127292. Function.prototype.call$3 = function(a, b, c) {
  127293. return this(a, b, c);
  127294. };
  127295. Function.prototype.call$4 = function(a, b, c, d) {
  127296. return this(a, b, c, d);
  127297. };
  127298. Function.prototype.call$3$3 = function(a, b, c) {
  127299. return this(a, b, c);
  127300. };
  127301. Function.prototype.call$2$2 = function(a, b) {
  127302. return this(a, b);
  127303. };
  127304. Function.prototype.call$5 = function(a, b, c, d, e) {
  127305. return this(a, b, c, d, e);
  127306. };
  127307. Function.prototype.call$6 = function(a, b, c, d, e, f) {
  127308. return this(a, b, c, d, e, f);
  127309. };
  127310. Function.prototype.call$2$0 = function() {
  127311. return this();
  127312. };
  127313. Function.prototype.call$1$0 = function() {
  127314. return this();
  127315. };
  127316. Function.prototype.call$1$2 = function(a, b) {
  127317. return this(a, b);
  127318. };
  127319. Function.prototype.call$2$3 = function(a, b, c) {
  127320. return this(a, b, c);
  127321. };
  127322. convertAllToFastObject(holders);
  127323. convertToFastObject($);
  127324. (function(callback) {
  127325. if (typeof document === "undefined") {
  127326. callback(null);
  127327. return;
  127328. }
  127329. if (typeof document.currentScript != "undefined") {
  127330. callback(document.currentScript);
  127331. return;
  127332. }
  127333. var scripts = document.scripts;
  127334. function onLoad(event) {
  127335. for (var i = 0; i < scripts.length; ++i) {
  127336. scripts[i].removeEventListener("load", onLoad, false);
  127337. }
  127338. callback(event.target);
  127339. }
  127340. for (var i = 0; i < scripts.length; ++i) {
  127341. scripts[i].addEventListener("load", onLoad, false);
  127342. }
  127343. })(function(currentScript) {
  127344. init.currentScript = currentScript;
  127345. var callMain = A.main2;
  127346. if (typeof dartMainRunner === "function") {
  127347. dartMainRunner(callMain, []);
  127348. } else {
  127349. callMain([]);
  127350. }
  127351. });
  127352. })();
  127353. }